/* =========================================================================
   CONSECAM — Consultoría y Servicios Ambientales
   Sistema de diseño / hoja de estilos principal
   Colores de marca (convertidos de CMYK):
     Celeste  C70 M15 Y0 K0   -> #4CD8FF
     Verde    C51 M6  Y60 K6  -> #75E15F
     Negro    C73 M63 Y59 K74 -> #11181B
   ========================================================================= */

:root {
  /* Marca */
  --celeste:        #4cd8ff;
  --celeste-600:    #1E93C7;
  --celeste-700:    #12729e;
  --celeste-050:    #e9f6fc;
  --verde:          #75e15f;
  --verde-600:      #5cb63a;
  --verde-700:      #47922c;
  --verde-050:      #eefae7;
  --ink:            #11181b;
  --ink-800:        #1b2529;
  --ink-700:        #2a373d;

  /* Neutrales */
  --text:           #24323a;
  --muted:          #5c6b73;
  --line:           #e2ecf1;
  --bg:             #ffffff;
  --bg-alt:         #ffffff;
  --bg-soft:        #ffffff;
  --white:          #ffffff;

  /* Sistema */
  --brand-grad: var(--celeste);
  --shadow-sm: 0 2px 8px rgba(18,25,27,.06);
  --shadow:    0 10px 30px rgba(18,25,27,.10);
  --shadow-lg: 0 24px 60px rgba(18,25,27,.16);
  --radius:    16px;
  --radius-sm: 10px;
  --radius-lg: 26px;
  --container:  1660px;
  --ease: cubic-bezier(.22,.61,.36,1);

  --font-head: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 19px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
h1,h2,h3,h4 { font-family: var(--font-head); line-height: 1.15; color: var(--ink); font-weight: 700; }

/* ---------- Layout ---------- */
/* Contenedor fluido: se adapta al ancho de cada pantalla (móvil→4K) con
   márgenes proporcionales; se limita solo en pantallas muy grandes. */
.container { width: 100%; max-width: 1400px; margin-inline: auto; padding-inline: clamp(16px, 3.5vw, 60px); }
.section { padding: clamp(30px, 3.5vw, 50px) 0; }
.section--alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--soft { background: var(--bg-soft); border-top: 1px solid var(--line); }
.section--dark { background: radial-gradient(circle at 10% 20%, rgba(47, 174, 224, 0.15) 0%, rgba(126, 217, 87, 0.08) 50%, #11181B 100%); color: #dfe8ec; }
.section--dark h1,.section--dark h2,.section--dark h3 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: .82rem;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--celeste-600);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--verde); border-radius: 2px; }
.section--dark .eyebrow { color: var(--verde); }

.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 3.4rem); margin: 14px 0 16px; letter-spacing: -.02em; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section--dark .section-head p { color: #b9c7cd; }

/* Premium Header Card (Banner Full Width) */
.premium-header-card {
  background: linear-gradient(135deg, rgba(18,25,27,0.7), rgba(30,42,45,0.5)), url('../img/fotos_a_usar/LABORATORIO_4.png') center/cover no-repeat;
  padding: 6rem 2rem;
  margin: 0 0 4rem 0;
  width: 100%;
  max-width: 100% !important;
  position: relative;
  overflow: hidden;
}
.premium-header-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--verde), var(--celeste));
}
.premium-header-card h2 {
  color: #ffffff;
  max-width: 900px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.premium-header-card p {
  color: rgba(255, 255, 255, 0.95);
  max-width: 800px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
  font-weight: 500;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem; text-decoration: none;
  padding: 14px 30px; border-radius: 999px; transition: transform .3s, box-shadow .3s, background .3s;
}
.btn-primary { background: linear-gradient(90deg, var(--celeste), #46b85d); color: #000000 !important; font-weight: 900 !important; border: none; padding: 16px 32px; box-shadow: 0 4px 15px rgba(47,174,224,.2); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(126,217,87,.3); background: linear-gradient(90deg, var(--celeste-600), var(--verde-700)); color: #000000 !important; font-weight: 900 !important; }
.btn-green { background: var(--verde); color: var(--ink); border: 2px solid var(--verde); }
.btn-green:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(126,217,87,.3); background: var(--verde-600); border-color: var(--verde-600); color: var(--ink); }
.btn-outline { background: transparent; color: var(--celeste-700); border: 2px solid var(--celeste-700); }
.btn-outline:hover { background: var(--celeste-700); color: #fff; }
.btn-ghost { background: rgba(255,255,255,.1); color: #fff; border: 2px solid rgba(255,255,255,.2); }
.btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.5); }
.btn-outline-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-wa { background: #25D366; color: #fff; box-shadow: 0 10px 24px rgba(37,211,102,.32); }
.btn-wa:hover { background: #1db855; transform: translateY(-2px); }

/* =========================================================================
   HEADER
   ========================================================================= */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .3s, box-shadow .3s;
  padding: 0;
}
.header::before { content:""; position:absolute; inset:0; background: rgba(18,25,27,.28); backdrop-filter: blur(2px); opacity:1; transition:opacity .3s; z-index:-1;}
.header.scrolled { background: #fff; box-shadow: var(--shadow-sm); }
.header.scrolled::before { opacity: 0; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 0; transition: padding .3s; }
.header.scrolled .header-inner { padding: 8px 0; }
 
/* Barra superior (ubicación, contacto y redes oficiales) */
.topbar { max-height: 44px; overflow: hidden; background: var(--ink); position: relative; z-index: 1; transition: max-height .3s var(--ease), opacity .25s; }
.header.scrolled .topbar { max-height: 0; opacity: 0; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 44px; }
.topbar-contact { display: flex; align-items: center; gap: 22px; min-width: 0; }
.topbar-contact .tb-item { display: inline-flex; align-items: center; gap: 7px; color: #c4d0d6; font-size: .83rem; white-space: nowrap; transition: color .2s; }
a.tb-item:hover { color: #fff; }
.topbar-contact svg { width: 15px; height: 15px; color: var(--verde); flex: none; }
.topbar-social { display: flex; align-items: center; gap: 8px; }
.topbar-social a { width: 28px; height: 28px; border-radius: 7px; display: grid; place-items: center; color: #fff; transition: transform .2s, filter .2s; }
.topbar-social a:hover { transform: translateY(-2px); filter: brightness(1.12); }
.topbar-social svg { width: 15px; height: 15px; }
.tb-fb { background: #1877F2; } .tb-in { background: #0A66C2; } .tb-tt { background: #010101; }
.tb-ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }

/* Iconos sociales (footer y contacto) con color oficial al pasar el mouse */
.soc-fb:hover { background: #1877F2 !important; border-color: #1877F2 !important; color: #fff !important; }
.soc-ig:hover { background: #E4405F !important; border-color: #E4405F !important; color: #fff !important; }
.soc-tt:hover { background: #010101 !important; border-color: #010101 !important; color: #fff !important; }
.soc-in:hover { background: #0A66C2 !important; border-color: #0A66C2 !important; color: #fff !important; }

@media (max-width: 680px) {
  .topbar-contact .tb-loc, .topbar-contact .tb-mail { display: none; }
  .topbar-contact { gap: 14px; }
  .topbar-social > div:not(.topbar-lang) { display: none !important; }
  .topbar-social { gap: 0 !important; }
  .topbar-inner { padding-inline: 12px; }
}
@media (max-width: 360px) {
  .topbar-contact .tb-phone { font-size: 0.76rem !important; }
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 46px; width: auto; transition: height .3s; }
.header.scrolled .brand img { height: 42px; }
.brand-fallback { font-family: var(--font-head); font-weight: 800; color: #fff; font-size: 1.35rem; letter-spacing: .5px; }

.mobile-nav-top, .nav-chevron, .mobile-nav-bottom-ctas, .mobile-bottom-bar { display: none !important; }
.nav-ico-wrap { display: inline-flex; align-items: center; justify-content: center; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a, .nav-dropdown-toggle {
  display: inline-flex; flex-direction: row; align-items: center; justify-content: flex-start;
  gap: 6px;
  font-family: var(--font-head); font-weight: 500; font-size: .88rem;
  color: #fff; padding: 8px 12px; border-radius: 8px; transition: color .2s, background .2s;
  position: relative; cursor: pointer; text-decoration: none;
}
.nav a svg, .nav-dropdown-toggle svg {
  margin-right: 2px !important; width: 18px !important; height: 18px !important; vertical-align: text-bottom !important; flex-shrink: 0;
}
.header.scrolled .nav a, .header.scrolled .nav-dropdown-toggle { color: var(--ink-700); }
.nav a:hover, .nav-dropdown-toggle:hover { color: var(--celeste); }
.header.scrolled .nav a:hover, .header.scrolled .nav-dropdown-toggle:hover { background: var(--celeste-050); color: var(--celeste-700); }

/* Navigation item dropdown / megamenu styling */
.nav-item-dropdown {
  position: relative;
  display: inline-block;
}
.megamenu-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  width: 780px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s var(--ease);
  z-index: 1000;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.nav-item-dropdown:hover .megamenu-panel {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.megamenu-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.megamenu-column {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px;
  border-radius: 12px;
  transition: background 0.2s;
  text-align: left;
}
.megamenu-column:hover {
  background: var(--bg-alt);
}
.megamenu-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--brand-grad);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.megamenu-icon svg {
  width: 20px;
  height: 20px;
  color: #fff;
}
.megamenu-column h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}
.megamenu-column p {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.4;
  margin-bottom: 8px;
}
.megamenu-link {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--celeste-700) !important;
  text-decoration: none;
  padding: 0 !important;
  display: inline-block !important;
}
.megamenu-link:hover {
  color: var(--celeste) !important;
  background: transparent !important;
}

.header-actions { display: flex; align-items: center; gap: 10px; }
.topbar-lang { display: flex; align-items: center; gap: 4px; font-size: 0.8rem; font-weight: 600; color: rgba(255,255,255,0.4); }
.topbar-lang button { background: none; border: 1px solid transparent; border-radius: 4px; color: rgba(255,255,255,0.7); cursor: pointer; padding: 2px 7px; font-family: var(--font-head); font-weight: 700; font-size: 0.78rem; transition: all 0.2s; }
.topbar-lang button:hover { color: #fff; }
.topbar-lang button.active { color: #fff; background: var(--celeste); border-color: var(--celeste); }
.header-cta { padding: 10px 18px; font-size: .88rem; }
.nav > .btn { display: none; } /* botones del menú solo visibles en móvil */

.burger { display: none; width: 44px; height: 44px; border-radius: 10px; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2.5px; background: #fff; border-radius: 3px; transition: transform .3s, opacity .3s, top .3s, background .3s; }
.header.scrolled .burger span, body.menu-open .burger span { background: var(--ink) !important; }
.burger span:nth-child(1){ top: 15px; } .burger span:nth-child(2){ top: 21px; } .burger span:nth-child(3){ top: 27px; }
body.menu-open .burger span:nth-child(1){ top: 21px; transform: rotate(45deg); }
body.menu-open .burger span:nth-child(2){ opacity: 0; }
body.menu-open .burger span:nth-child(3){ top: 21px; transform: rotate(-45deg); }

/* =========================================================================
   HERO
   ========================================================================= */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; background: var(--ink); color: #fff; overflow: hidden; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(18,25,27, 0.55); /* dark overlay to read text over banners */
  z-index: 1;
}
.hero-slides { position: absolute; inset: 0; z-index: 0; }
.hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transform: scale(1.08); transition: opacity 1.4s ease, transform 7s linear; }
.hero-slide.active { opacity: 1; transform: scale(1); }
.hero-inner { position: relative; z-index: 2; padding-top: 120px; padding-bottom: 70px; max-width: 1550px; width: 96%; margin: 0 auto; }
.hero-content-wrapper { display: flex; align-items: center; justify-content: space-between; gap: clamp(30px, 8vw, 150px); width: 100%; }
.hero-text-right { flex: 1; max-width: 1050px; }
.hero-gota-left { flex: 0 0 clamp(180px, 25vw, 340px); max-width: 340px; }
.hero-gota-left img { width: 100%; height: auto; display: block; animation: float-gota 6s ease-in-out infinite; }
@keyframes float-gota {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@media (max-width: 900px) {
  .hero-content-wrapper { flex-direction: column; text-align: center; gap: 30px; }
  .hero-gota-left { flex: 0 0 160px; max-width: 160px; margin: 0 auto; }
  .hero-text-right { width: 100%; }
}
.hero-tag { display:inline-flex; align-items:center; gap:10px; background: rgba(126,217,87,.16); border:1px solid rgba(126,217,87,.5); color:#dff7d0; padding:7px 16px; border-radius:999px; font-family:var(--font-head); font-weight:500; font-size:.82rem; letter-spacing:.04em; margin-bottom:24px;}
.hero h1 { font-size: clamp(2.2rem, 5.2vw, 4.1rem); color: #fff; font-weight: 800; letter-spacing: -.025em; margin-bottom: 22px; }
.hero h1 .grad { color: var(--verde); }
.hero p.lead { font-size: clamp(1.05rem, 2vw, 1.28rem); color: #d6e2e7; max-width: 100%; margin-bottom: 34px; text-align: justify; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-slogan { position: absolute; z-index: 2; bottom: 28px; left: clamp(20px,4vw,60px); right: auto; font-family: var(--font-head); font-style: italic; color: rgba(255,255,255,.75); font-size: .95rem; }
.hero-dots { position: absolute; z-index: 3; bottom: 30px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; }
.hero-dots button { width: 32px; height: 4px; border-radius: 3px; background: rgba(255,255,255,.35); transition: background .3s; border: none; cursor: pointer; }
.hero-dots button.active { background: var(--verde); }

/* Color utilities */
.text-celeste { color: var(--celeste) !important; }
.text-verde { color: var(--verde) !important; }

/* Intro strip */
.intro-strip { background: var(--ink); color: #cdd8dd; }
.intro-strip .container { padding-block: 40px; display: flex; align-items: center; gap: 26px; }
.intro-strip .ico { flex: none; width: 58px; height: 58px; border-radius: 14px; background: var(--brand-grad); display: grid; place-items: center; }
.intro-strip .ico svg { width: 30px; height: 30px; color: #fff; }
.intro-strip p { font-size: 1.08rem; }
.intro-strip strong { color: #fff; }

/* =========================================================================
   INDEPENDENCIA (feature split)
   ========================================================================= */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.split-media { position: relative; }
.split-media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 4/3.2; object-fit: cover; }
.split-media .badge {
  position: absolute; left: -22px; bottom: -22px; background: #fff; border-radius: var(--radius);
  padding: 20px 24px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 14px; max-width: 260px;
}
.split-media .badge .n { font-family: var(--font-head); font-weight: 800; font-size: 2.1rem; color: var(--celeste); line-height: 1; }
.split-media .badge span { font-size: .86rem; color: var(--muted); }
.split-body h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); letter-spacing: -.02em; margin-bottom: 20px; }
.split-body p { color: var(--muted); margin-bottom: 16px; }

.split--reversed { grid-template-columns: .95fr 1.05fr; }
.split--reversed .split-media { order: 2; }
.split--reversed .split-body { order: 1; }

/* Presentacion Single HD Image */
.single-image-container {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}
.single-hd-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.15), -20px 20px 60px rgba(0, 100, 255, 0.08);
  filter: contrast(1.15) saturate(1.15) brightness(1.05); /* HD Retouch */
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s;
}
.single-image-container:hover .single-hd-img {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 40px 80px rgba(0,0,0,0.2), -20px 20px 60px rgba(0, 100, 255, 0.12);
}
@media (max-width: 480px) {
  .single-hd-img { height: 280px; }
}

.pullquote {
  border-left: 4px solid transparent; border-image: var(--brand-grad) 1;
  padding: 6px 0 6px 22px; margin: 26px 0 10px;
  font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; color: var(--ink);
}
.mini-facts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.mini-facts span { display:inline-flex; align-items:center; gap:8px; background: var(--celeste-050); color: var(--celeste-700); font-weight: 600; font-family: var(--font-head); font-size: .85rem; padding: 8px 15px; border-radius: 999px; }
.mini-facts span::before { content:""; width:7px; height:7px; border-radius:50%; background: var(--verde-600); }

/* =========================================================================
   SERVICIOS
   ========================================================================= */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service-card { border-radius: 20px; overflow: hidden; background: #fff; box-shadow: 0 8px 30px rgba(0,0,0,0.06); transition: all .4s ease; border: 1px solid rgba(0,0,0,0.04); display: flex; flex-direction: column; } 

.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.service-card__header { padding: 0 0 20px; }
.service-card .thumb { aspect-ratio: 16/10; overflow: hidden; }
.service-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.service-card:hover .thumb img { transform: scale(1.04); }
.service-card h3 { font-size: 1.32rem; margin-bottom: 8px; padding: 0 26px; }
.service-desc { padding: 0 26px; color: var(--text); font-size: 0.95rem; }
.service-ico { width: 52px; height: 52px; border-radius: 14px; background: var(--celeste); display: grid; place-items: center; margin: -26px 0 16px 26px; position: relative; box-shadow: var(--shadow); z-index: 2; transition: background 0.3s; }
.service-ico svg { width: 26px; height: 26px; color: #fff; }
.service-card:hover .service-ico { background: var(--verde); }
.service-toggle { color: var(--celeste-700); font-weight: 600; font-size: 0.9rem; display: block; margin-top: 15px; padding: 0 26px; transition: color 0.3s; }
.service-card:hover .service-toggle { color: var(--celeste); }

.service-card__detail { padding: 0 26px 30px; transition: padding 0.4s var(--ease); flex: 1; display: flex; flex-direction: column; }
.service-card__detail .btn { margin-top: auto; align-self: flex-start; }



.service-list { margin-top: 10px; margin-bottom: 20px; }
.service-list li { position: relative; padding-left: 26px; margin-bottom: 9px; color: var(--muted); font-size: .96rem; }
.service-list li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 14px; height: 9px;
  border-left: 2.5px solid var(--verde-600); border-bottom: 2.5px solid var(--verde-600); transform: rotate(-45deg);
}

/* =========================================================================
   ¿POR QUÉ CONSECAM?  (features + stats)
   ========================================================================= */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 16px; }
.why-card { 
  background: linear-gradient(145deg, rgba(35, 45, 50, 0.7) 0%, rgba(20, 25, 28, 0.9) 100%); 
  border: 1px solid rgba(255, 255, 255, 0.05); 
  border-radius: 24px; 
  padding: 36px 30px; 
  transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1); 
  position: relative; 
  overflow: hidden; 
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.why-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 24px;
  background: radial-gradient(circle at top right, rgba(47, 174, 224, 0.15), transparent 60%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.why-card:hover { 
  transform: translateY(-10px) scale(1.02); 
  border-color: rgba(47, 174, 224, 0.4); 
  box-shadow: 0 25px 50px rgba(0,0,0,0.5), 0 0 30px rgba(47, 174, 224, 0.15); 
}
.why-card:hover::before {
  opacity: 1;
}
.why-ico { 
  width: 58px; height: 58px; border-radius: 16px; 
  background: linear-gradient(135deg, rgba(47,174,224,0.2) 0%, rgba(47,174,224,0.05) 100%); 
  display: grid; place-items: center; 
  margin-bottom: 24px; 
  box-shadow: inset 0 2px 5px rgba(255,255,255,0.1), 0 5px 15px rgba(0,0,0,0.2); 
  border: 1px solid rgba(47,174,224,0.4); 
  position: relative;
  z-index: 1;
  transition: transform 0.4s ease;
}
.why-card:hover .why-ico {
  transform: scale(1.1) rotate(5deg);
  border-color: rgba(126, 217, 87, 0.5);
  background: linear-gradient(135deg, rgba(126, 217, 87, 0.2) 0%, rgba(126, 217, 87, 0.05) 100%); 
}
.why-card:hover .why-ico svg {
  color: var(--verde);
}
.why-ico svg { width: 28px; height: 28px; color: var(--celeste); transition: color 0.4s ease; }
.why-card h3 { color: #fff; font-size: 1.25rem; font-weight: 700; line-height: 1.4; position: relative; z-index: 1; text-shadow: 0 2px 4px rgba(0,0,0,0.3); }

.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 32px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.12); }
.stat { text-align: center; }
.stat .num { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.2rem, 4.5vw, 3.2rem); color: var(--celeste); line-height: 1; }
.stat .lbl { color: #a9b8bf; font-size: .92rem; margin-top: 8px; }

/* =========================================================================
   RESPALDO / CREDENCIALES
   ========================================================================= */
.creds-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.cred { background: #fff; padding: 40px; border-radius: 20px; box-shadow: 0 6px 25px rgba(0,0,0,0.05); display: flex; flex-direction: row; align-items: center; gap: 36px; border: 1px solid rgba(0,0,0,0.03); transition: transform 0.4s ease, box-shadow 0.4s ease; text-align: left; }
.cred-logo { flex-shrink: 0; min-height: 180px; width: 250px; display: flex; align-items: center; justify-content: center; margin-bottom: 0; }
.cred-logo img { width: 100%; height: 100%; max-height: 180px; object-fit: contain; }
.cred-text { flex: 1; }
.cred-title { font-size: 1.35rem; color: var(--celeste-700); font-weight: 800; letter-spacing: 0.5px; margin-bottom: 8px; line-height: 1.3; }
.cred .code { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--text-dark); margin-bottom: 6px; }
.cred .auth { font-size: 1.05rem; color: var(--muted); line-height: 1.4; }

/* =========================================================================
   CARRUSEL EXPERIENCIA
   ========================================================================= */
.carousel { position: relative; }
.carousel-track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 22px; scroll-behavior: smooth; -ms-overflow-style: none; scrollbar-width: none; }
.carousel-track::-webkit-scrollbar { display: none; }
.exp-item { scroll-snap-align: start; flex: 0 0 auto; width: 280px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); position: relative; background:#eee; }
.exp-item img { width: 100%; height: 360px; object-fit: cover; transition: transform .6s var(--ease); }
.exp-item::after { content:""; position:absolute; inset:0; background: rgba(18,25,27, 0.55); opacity:0; transition:opacity .3s;}
.exp-item:hover img { transform: scale(1.06); }
.exp-item:hover::after { opacity:1; }
.carousel-nav { display: flex; gap: 12px; justify-content: flex-end; margin-top: 6px; }
.carousel-nav button { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--line); background:#fff; color: var(--ink); display: grid; place-items: center; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.carousel-nav button:hover { background: var(--celeste); color:var(--ink); border-color: var(--celeste); transform: translateY(-2px); }
.carousel-nav button svg { width: 22px; height: 22px; }

/* =========================================================================
   INTERNACIONAL + MAPA
   ========================================================================= */
.intl { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px,5vw,80px); align-items: center; }
.intl-title { font-size: 2.2rem; font-weight: 800; color: #fff; line-height: 1.15; margin-bottom: 15px; }
.intl-desc { font-size: 1.15rem; color: #cbd5e1; line-height: 1.6; margin-bottom: 25px; }
.intl-stats { display: flex; flex-direction: column; gap: 16px; margin-bottom: 30px; }
.intl-stat { background: #161b22; border: 1px solid rgba(255,255,255,.06); border-radius: 12px; padding: 22px 26px; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.intl-stat .num { font-family: var(--font-head); font-weight: 800; font-size: 2.4rem; color: #388e3c; line-height: 1; margin-bottom: 8px; }
.intl-stat .lbl { color: #94a3b8; font-size: 1.05rem; font-weight: 500; }
.intl-map-img { width: 100%; height: auto; display: block; border-radius: 12px; filter: contrast(1.1) brightness(1.1); margin-bottom: 30px; }
.intl-note { font-size: .84rem; color: #8a99a0; border-left: 3px solid var(--celeste-600); padding-left: 14px; margin-top: 22px; }
.intl-tags { display:flex; gap:8px; flex-wrap:wrap; margin-top:8px;}
.intl-tags span{ background: rgba(47,174,224,.14); color:#bfe6f6; font-size:.8rem; padding:6px 13px; border-radius:999px; font-family:var(--font-head); font-weight:500;}
.map-wrap { position: relative; }
.map-wrap svg { width: 100%; height: auto; }
.map-dot { fill: #388e3c; opacity: .85; transform-origin: center; }
.map-dot.pulse { animation: dotpulse 2.4s ease-out infinite; }
@keyframes dotpulse { 0%{ transform: scale(1); opacity:.9;} 50%{ transform: scale(1.5); opacity:.4;} 100%{ transform: scale(1); opacity:.9;} }
.map-base { fill: rgba(255,255,255,.09); }

/* =========================================================================
   MURO DE LOGOS
   ========================================================================= */
.logos-wall { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.logo-tile { aspect-ratio: 3/2; background:#fff; border:1px solid var(--line); border-radius: 12px; display: grid; place-items: center; padding: 16px; transition: transform .25s, box-shadow .25s; }
.logo-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.logo-tile img { max-height: 100%; max-width: 100%; object-fit: contain; transition: transform .3s var(--ease); }
.logo-tile:hover img { transform: scale(1.06); }
.logos-placeholder { grid-column: 1/-1; text-align: center; padding: 50px 20px; border: 2px dashed var(--line); border-radius: var(--radius); color: var(--muted); }
.logos-placeholder strong { color: var(--ink); display:block; font-family:var(--font-head); margin-bottom:6px; }

/* =========================================================================
   NOTICIAS
   ========================================================================= */
.news-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.news-card { background:#fff; border:1px solid var(--line); border-radius: var(--radius-lg); overflow:hidden; display:flex; flex-direction:column; transition: transform .3s, box-shadow .3s; }
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--celeste); }
.news-card .thumb { aspect-ratio: 16/10; background: #ffffff; position: relative; overflow:hidden; border-bottom: 1px solid var(--line); transition: border-color .3s; }
.news-card:hover .thumb { border-color: var(--celeste); }
.news-card .news-icon { margin-bottom: 12px; color: var(--muted); transition: color .3s; }
.news-card:hover .news-icon { color: var(--celeste); }
.news-card .thumb img { width:100%; height:100%; object-fit: contain; background: #ffffff; }
.news-card .thumb video { width:100%; height:100%; object-fit: cover; background: var(--ink); }
.news-card .tag { position:absolute; top:14px; left:14px; background: rgba(18,25,27,.8); color:#fff; font-family:var(--font-head); font-weight:600; font-size:.72rem; letter-spacing:.05em; padding:6px 12px; border-radius:999px; z-index: 2; }
.news-card .body { padding: 22px 24px 26px; display:flex; flex-direction:column; flex:1; }
.news-card .date { font-size:.8rem; color: var(--celeste-600); font-weight:600; font-family:var(--font-head); margin-bottom:8px; }
.news-card h3 { font-size:1.12rem; margin-bottom:10px; line-height: 1.4; transition: color .3s; }
.news-card:hover h3 { color: var(--celeste); }
.news-card p { color: var(--muted); font-size:.94rem; flex:1; margin-bottom:16px; line-height: 1.5; text-align: justify; }
.news-card a.more { color: var(--celeste-700); font-family:var(--font-head); font-weight:600; font-size:.9rem; display:inline-flex; align-items:center; gap:6px; }
.news-card a.more svg { width:16px; height:16px; transition: transform .2s; }
.news-card a.more:hover svg { transform: translateX(4px); }

/* Marquesina de países */
.countries-marquee {
  overflow: hidden;
  white-space: nowrap;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding-block: 15px;
  background: var(--ink-700);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 40px;
}
@keyframes scroll-countries {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.countries-track {
  display: inline-block;
  animation: scroll-countries 35s linear infinite;
}
.countries-track span {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  margin-right: 45px;
}

/* =========================================================================
   CONTACTO
   ========================================================================= */
.contact { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(34px,5vw,60px); align-items: start; }
.contact-info h2 { font-size: clamp(1.9rem,3.6vw,2.7rem); letter-spacing:-.02em; margin-bottom: 18px; }
.contact-info > p { color: var(--muted); margin-bottom: 30px; max-width: 460px; }
.contact-lines { display:flex; flex-direction:column; gap:16px; margin-bottom: 28px; }
.contact-line { display:flex; align-items:center; gap:16px; }
.contact-line .ic { width:48px; height:48px; border-radius:12px; background: var(--celeste-050); display:grid; place-items:center; flex:none; }
.contact-line .ic svg { width:22px; height:22px; color: var(--celeste-600); }
.contact-line .t small { display:block; color: var(--muted); font-size:.8rem; }
.contact-line .t b { font-family: var(--font-head); font-size:1.05rem; color: var(--ink); }
.socials { display:flex; gap:12px; }
.socials a { width:46px; height:46px; border-radius:12px; background:#fff; border:1px solid var(--line); display:grid; place-items:center; color: var(--ink-700); transition: transform .2s, background .2s, color .2s; }
.socials a:hover { transform: translateY(-3px); background: var(--celeste); color:var(--ink); border-color: var(--celeste); }
.socials a svg { width:22px; height:22px; }

.contact-form { background:#fff; border:1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(26px,4vw,40px); box-shadow: var(--shadow); }
.form-row { display:grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display:block; font-family: var(--font-head); font-weight:500; font-size:.86rem; color: var(--ink-700); margin-bottom:7px; }
.field input, .field textarea, .field select {
  width:100%; padding: 13px 16px; border:1.5px solid var(--line); border-radius: 12px;
  font-family: var(--font-body); font-size: .98rem; color: var(--text); background: #fbfdfe; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus, .field select:focus { outline:none; border-color: var(--celeste); box-shadow: 0 0 0 4px rgba(47,174,224,.14); }
.form-actions { display:flex; flex-direction:column; gap: 12px; margin-top: 8px; }
.form-note { font-size:.8rem; color: var(--muted); text-align:center; }

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer {
  position: relative;
  background: radial-gradient(circle at top right, rgba(76, 216, 255, 0.15), transparent 40%), radial-gradient(circle at bottom left, rgba(117, 225, 95, 0.15), transparent 40%), var(--ink);
  border-top: 4px solid var(--celeste);
  border-image: linear-gradient(90deg, var(--celeste), var(--verde)) 1;
  color: #ffffff;
  padding: 70px 0 30px;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  z-index: 1;
}
.footer-grid { display:grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; }
.footer-brand img { height: 70px; margin-bottom: 18px; filter: brightness(0) invert(1); }
.footer-brand p { font-size:.95rem; max-width: 300px; color: rgba(255, 255, 255, 0.9); }
.footer h4 { color:#fff; font-size:1.05rem; font-weight:700; margin-bottom: 18px; letter-spacing: 0.5px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size:.94rem; color: rgba(255, 255, 255, 0.88); transition: color .2s, transform .2s; }
.footer-links a:hover { color: #ffffff; text-decoration: underline; }
.footer-contact li { display:flex; gap:10px; margin-bottom: 12px; font-size:.94rem; align-items:flex-start; color: rgba(255, 255, 255, 0.92); }
.footer-contact a { color: #ffffff; font-weight: 500; }
.footer-contact svg { width:18px; height:18px; color: #ffffff; flex:none; margin-top:3px; }
.footer-bottom { border-top:1px solid rgba(255,255,255,.2); margin-top: 50px; padding-top: 26px; display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; font-size:.86rem; color: rgba(255, 255, 255, 0.85); }
.footer-social { display:flex; gap:10px; }
.footer-social a { width:40px; height:40px; border-radius:10px; background: rgba(255,255,255,.18); display:grid; place-items:center; color:#ffffff; transition: background .2s,color .2s,transform .2s; }
.footer-social a:hover { background: #ffffff; color: var(--celeste); transform: translateY(-3px); }
.footer-social svg { width:20px; height:20px; }

/* WhatsApp flotante */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 60px; height: 60px; border-radius: 50%; background:#25D366; display:grid; place-items:center; box-shadow: 0 12px 30px rgba(37,211,102,.4); transition: transform .25s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; color:#fff; }

/* =========================================================================
   REVEAL ANIMATION
   ========================================================================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity:1; transform:none; } .hero-slide { transition: opacity .8s; transform:none; } }

/* i18n visibility */
[data-lang-en] { display: none; }
html[lang="en"] [data-lang-es] { display: none; }
html[lang="en"] [data-lang-en] { display: inline; }
html[lang="en"] li[data-lang-en], html[lang="en"] p[data-lang-en], html[lang="en"] div[data-lang-en] { display: block; }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1080px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .logos-wall { grid-template-columns: repeat(4,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1024px) {
  html { scroll-padding-top: 70px; }
  .header-cta { display: none; }
  .burger { display: none !important; }

  /* Barra de Navegación Flotante Inferior Móvil (iPhone Dock Style) */
  .mobile-bottom-bar {
    display: flex !important;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 62px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-top: 1px solid rgba(226, 232, 240, 0.85);
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.12);
    z-index: 99999;
    align-items: center;
    justify-content: space-around;
    padding: 0 4px;
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .tab-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    flex: 1;
    height: 100%;
    color: #64748b;
    text-decoration: none;
    font-family: var(--font-head);
    font-size: 0.72rem;
    font-weight: 600;
    transition: color 0.2s, transform 0.15s;
    -webkit-tap-highlight-color: transparent;
  }
  .tab-item svg {
    width: 22px;
    height: 22px;
    transition: transform 0.2s, color 0.2s;
  }
  .tab-item.active, .tab-item:hover {
    color: var(--celeste-600);
  }
  .tab-item.active svg {
    color: var(--celeste-600);
    transform: translateY(-2px);
  }
  body {
    padding-bottom: 68px !important;
  }
  .wa-float, .chat-launcher {
    bottom: 76px !important;
  }
  
  /* Backdrop overlay when menu is open */
  body.menu-open::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 998;
  }

  .mobile-nav-top {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 0 0 16px;
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }
  .mobile-nav-logo {
    height: 36px;
    width: auto;
  }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(88vw, 340px);
    background: rgba(255, 255, 255, 0.97) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-top-left-radius: 28px;
    border-bottom-left-radius: 28px;
    flex-direction: column;
    align-items: stretch;
    padding: 20px 18px 24px;
    gap: 6px;
    transform: translateX(105%);
    transition: transform 0.38s cubic-bezier(0.32, 0.72, 0, 1);
    box-shadow: -15px 0 50px rgba(0, 0, 0, 0.25);
    z-index: 999;
    overflow-y: auto;
  }
  body.menu-open .nav { transform: translateX(0); }

  .nav-item-dropdown {
    width: 100%;
    display: block;
  }

  .nav a, .nav-dropdown-toggle {
    color: #1e293b;
    display: flex !important;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    margin-bottom: 2px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    background: rgba(248, 250, 252, 0.7);
    border-radius: 14px;
    font-size: 0.95rem;
    font-weight: 600;
    width: 100%;
    box-sizing: border-box;
    text-align: left;
    transition: all 0.2s ease;
  }
  .nav a:active, .nav-dropdown-toggle:active {
    background: rgba(226, 232, 240, 0.9);
    transform: scale(0.98);
  }
  .nav-ico-wrap {
    display: inline-flex !important;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(0, 166, 214, 0.1);
    color: var(--celeste-700);
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    flex-shrink: 0;
  }
  .nav-ico-wrap svg {
    width: 18px !important;
    height: 18px !important;
    margin-right: 0 !important;
    color: var(--celeste-600);
    flex-shrink: 0;
  }
  .nav-text {
    flex: 1;
    text-align: left;
  }
  .nav-chevron {
    display: block !important;
    width: 16px;
    height: 16px;
    color: #94a3b8;
    flex-shrink: 0;
    transition: transform 0.25s ease;
  }
  .nav-item-dropdown.open .nav-chevron-toggle {
    transform: rotate(180deg);
  }

  .header.scrolled .nav a, .header.scrolled .nav-dropdown-toggle { color: #1e293b; }

  .megamenu-panel {
    position: static;
    transform: none;
    width: 100%;
    box-shadow: none;
    border: 1px solid rgba(226, 232, 240, 0.8);
    background: #ffffff;
    border-radius: 14px;
    margin: 4px 0 8px;
    padding: 12px 14px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: none;
  }
  .nav-item-dropdown.open .megamenu-panel {
    display: block;
  }
  .megamenu-inner {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .megamenu-column {
    gap: 10px;
    padding: 6px 0;
  }

  .mobile-nav-bottom-ctas {
    display: flex !important;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid rgba(0,0,0,0.08);
  }
  .mobile-nav-bottom-ctas .btn {
    width: 100%;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 700;
  }
  .split { grid-template-columns: 1fr; }
  .split-media { order: -1; }
  .intl { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .stats-band { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .services-grid, .news-grid, .creds-grid, .why-grid { grid-template-columns: 1fr; }
  .cred { flex-direction: column; text-align: center; gap: 18px; padding: 24px; }
  .cred-logo { margin-bottom: 12px; }
  .logos-wall { grid-template-columns: repeat(3,1fr); }
  .form-row { grid-template-columns: 1fr; }
  .intro-strip .container { flex-direction: column; align-items: flex-start; gap: 16px; }
  .split-media .badge {
    position: relative !important;
    left: 0 !important;
    bottom: 0 !important;
    transform: none !important;
    margin: 16px 0 0 0 !important;
    max-width: 100% !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05) !important;
    border: 1px solid rgba(47, 174, 224, 0.25) !important;
    border-radius: 16px !important;
    padding: 14px 18px !important;
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    background: #ffffff !important;
  }
  .split-media .badge .n {
    font-size: 2rem !important;
    color: var(--celeste) !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    flex-shrink: 0 !important;
  }
  .split-media .badge span {
    font-size: 0.88rem !important;
    color: var(--ink) !important;
    font-weight: 500 !important;
    line-height: 1.35 !important;
  }
  .hero-slogan { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; }
}
@media (max-width: 400px) {
  .logos-wall { grid-template-columns: repeat(2,1fr); }
}

/* =========================================================================
   MULTIPÁGINA — banners, migas, galería, laboratorio, bandas, lightbox
   ========================================================================= */

/* Banner superior de subpágina (con foto de fondo) */
.page-banner { position: relative; min-height: 46vh; display: flex; align-items: flex-end; color:#fff; overflow: hidden; }
.page-banner .bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.03); }
.page-banner::after { content:""; position:absolute; inset:0; background: rgba(18,25,27, 0.75); }
.page-banner .container { position: relative; z-index: 2; padding: 150px 0 clamp(40px,6vw,66px); }
.page-banner h1 { color:#fff; font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; letter-spacing:-.02em; margin: 12px 0 12px; }
.page-banner p { color:#d3dfe4; max-width: 620px; font-size: 1.08rem; }
.breadcrumb { display:flex; gap:8px; align-items:center; font-family: var(--font-head); font-size:.85rem; color:#bfe6f6; }
.breadcrumb a { color:#bfe6f6; opacity:.9; } .breadcrumb a:hover { color:#fff; }
.breadcrumb span { opacity:.6; }

/* Nav: estado activo */
.nav a.active { color: var(--celeste); }
.header.scrolled .nav a.active { color: var(--celeste-700); }
.nav a.active::after { content:""; position:absolute; left:13px; right:13px; bottom:2px; height:2px; background: var(--brand-grad); border-radius:2px; }
@media (max-width:1024px){ .nav a.active::after{ display:none; } .nav a.active{ background: var(--celeste-050); } }

/* Banda con foto de fondo (CTA / compromiso) */
.band { position: relative; color:#fff; overflow:hidden; }
.band .bg { position:absolute; inset:0; background-size:cover; background-position:center; }
.band::after { content:""; position:absolute; inset:0; background: rgba(18,25,27, 0.85); }
.band .container { position: relative; z-index:2; }
.band h2 { color:#fff; font-size: clamp(1.8rem,3.6vw,2.7rem); letter-spacing:-.02em; }
.band .lead { color:#d3dfe4; max-width: 620px; margin: 14px 0 26px; font-size:1.1rem; }
.band .pullquote { color:#fff; border-image: var(--brand-grad) 1; }
.cta-band { text-align:center; }
.cta-band .container { display:flex; flex-direction:column; align-items:center; gap: 8px; }
.cta-band .lead { margin-inline:auto; }

/* Bloque de servicio detallado (alterna imagen/texto) */
.svc-block { display:grid; grid-template-columns: 1fr 1fr; gap: clamp(30px,5vw,64px); align-items:center; }
.svc-block + .svc-block { margin-top: clamp(48px,7vw,96px); }
.svc-block:nth-child(even) .svc-media { order: 2; }
.svc-media img { width:100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 4/3.1; object-fit: cover; }
.svc-block h2 { font-size: clamp(1.6rem,3.2vw,2.3rem); letter-spacing:-.02em; margin: 12px 0 16px; }
.svc-block .service-list li { font-size: 1rem; margin-bottom: 11px; }

/* Laboratorio */
.lab-grid { display:grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 10px; }
.lab-grid img { width:100%; height: 260px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-sm); }

/* Galería con lightbox */
.gallery { columns: 4; column-gap: 14px; }
.gallery-item { display:block; break-inside: avoid; margin-bottom: 14px; border-radius: 14px; overflow: hidden; position: relative; cursor: zoom-in; box-shadow: var(--shadow-sm); }
.gallery-item img { width:100%; display:block; transition: transform .5s var(--ease); }
.gallery-item::after { content:""; position:absolute; inset:0; background: rgba(18,25,27, 0.5); opacity:0; transition:opacity .3s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item:hover::after { opacity:1; }
.gallery-cat { font-family:var(--font-head); font-weight:700; color: var(--ink); font-size:1.3rem; margin: 40px 0 18px; display:flex; align-items:center; gap:12px; }
.gallery-cat::before { content:""; width:26px; height:3px; background: var(--brand-grad); border-radius:3px; }

.lightbox { position: fixed; inset:0; z-index: 20000; background: rgba(9,14,16,.94); display:flex; flex-direction: column; align-items:center; justify-content:center; opacity:0; pointer-events:none; transition: opacity .3s; }
.lightbox.open { opacity:1; pointer-events:auto; }
.lightbox img {
  max-width: 94vw; max-height: 86vh; object-fit: contain; border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0,0,0,.6); cursor: zoom-in;
  transition: transform .35s var(--ease), opacity .3s;
}
.lightbox img.zoomed-in {
  transform: scale(1.75) !important;
  cursor: zoom-out;
  max-width: 150vw !important;
  max-height: none !important;
}
.lightbox button { position:absolute; width:54px; height:54px; border-radius:50%; background: rgba(255,255,255,.18); color:#fff; display:grid; place-items:center; transition: background .2s; z-index: 20002; }
.lightbox button:hover { background: rgba(255,255,255,.32); }
.lightbox .lb-close { top: 22px; right: 22px; }
.lightbox .lb-prev { left: 22px; top:50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 22px; top:50%; transform: translateY(-50%); }
.lightbox button svg { width: 26px; height:26px; }
.lb-counter { position:absolute; bottom: 22px; left:50%; transform: translateX(-50%); color:#cdd8dd; font-family:var(--font-head); font-size:.9rem; z-index: 20001; }
.lb-hint {
  position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  color: #ffffff; font-family: var(--font-head); font-size: 0.82rem; font-weight: 600;
  background: rgba(0, 166, 214, 0.85); padding: 6px 16px; border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3); pointer-events: none; z-index: 20001;
}

/* Indicador visual de imagen ampliable en tarjetas de curso */
.course-card-v2 .thumb, .news-card .thumb, #promoImg, .single-hd-img, .why-collage-item, .cap-gallery-item {
  cursor: pointer !important;
}
.course-card-v2 .thumb::after {
  content: "🔍 Toca para ampliar";
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(18, 25, 27, 0.85);
  color: #ffffff;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
  pointer-events: none;
  z-index: 3;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  transition: transform 0.2s, background 0.2s;
}
.course-card-v2 .thumb:hover::after {
  transform: scale(1.05);
  background: rgba(0, 166, 214, 0.9);
}

/* Teasers de home */
.home-teaser-actions { margin-top: 36px; text-align:center; }
.marquee-container {
  overflow: hidden;
  white-space: nowrap;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding-block: 20px;
}
@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-25%); }
}
.marquee-track {
  display: inline-block;
  animation: scroll-left 35s linear infinite;
}
.marquee-track .exp-zoom-wrap {
  display: inline-block;
  height: clamp(240px, 30vw, 360px);
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  margin-right: 18px;
  vertical-align: middle;
}
.marquee-track img {
  height: 100%;
  width: auto;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
  display: block;
}
.marquee-track .exp-zoom-wrap:hover img {
  transform: scale(1.15);
}

@media (max-width: 1080px){ .gallery { columns: 3; } .lab-grid{ grid-template-columns: repeat(3,1fr);} }
@media (max-width: 900px){ .svc-block{ grid-template-columns:1fr; } .svc-block:nth-child(even) .svc-media{ order:-1; } .page-banner{ min-height: 40vh; } }
@media (max-width: 700px){ .gallery { columns: 2; } .lab-grid{ grid-template-columns:1fr 1fr; } .lab-grid img{ height:180px; } }
@media (max-width: 460px){ .gallery { columns: 1; } .marquee-track img { height: 240px; } }

/* =========================================================================
   CHATBOT
   ========================================================================= */
.wa-float { bottom: 96px; }  /* apilado encima del chat */

.chat-launcher {
  position: fixed; right: 22px; bottom: 22px; z-index: 120;
  height: 60px; padding: 0 22px 0 18px; border-radius: 999px;
  background: linear-gradient(135deg, var(--celeste) 0%, var(--verde) 100%); color: var(--ink); display:flex; align-items:center; gap:10px;
  box-shadow: 0 14px 34px rgba(47,174,224,.42); font-family: var(--font-head); font-weight:700; font-size:.98rem;
  transition: transform .25s var(--ease), box-shadow .25s;
}
.chat-launcher:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(47,174,224,.5); }
.chat-launcher svg { width: 26px; height: 26px; }
.chat-launcher .pulse-dot { position:absolute; top:10px; right:14px; width:11px; height:11px; background:var(--verde); border:2px solid #fff; border-radius:50%; }
body.chat-open .chat-launcher { transform: scale(0); opacity:0; pointer-events:none; }
body.chat-open .wa-float { opacity:0; pointer-events:none; }

.chat-panel {
  position: fixed; right: 22px; bottom: 22px; z-index: 130;
  width: min(390px, calc(100vw - 32px)); height: min(600px, calc(100vh - 44px));
  background:#fff; border-radius: 22px; box-shadow: 0 30px 70px rgba(9,14,16,.35);
  display:flex; flex-direction:column; overflow:hidden; opacity:0; transform: translateY(20px) scale(.96);
  pointer-events:none; transition: opacity .3s var(--ease), transform .3s var(--ease);
}
body.chat-open .chat-panel { opacity:1; transform:none; pointer-events:auto; }

.chat-head { background: linear-gradient(135deg, var(--celeste) 0%, var(--verde) 100%); color: var(--ink); padding: 16px 18px; display:flex; align-items:center; gap:12px; }
.chat-head .avatar { width:44px; height:44px; border-radius:50%; background:rgba(17,24,27,.1); display:grid; place-items:center; flex:none; }
.chat-head .avatar svg { width:26px; height:26px; color: var(--ink); }
.chat-head .who { flex:1; min-width:0; }
.chat-head .who b { font-family:var(--font-head); font-size:1.02rem; display:block; }
.chat-head .who small { font-size:.78rem; opacity:.9; display:flex; align-items:center; gap:6px; font-weight:600; }
.chat-head .who small::before { content:""; width:8px; height:8px; border-radius:50%; background:var(--ink); opacity: .7; }
.chat-close { width:34px; height:34px; border-radius:50%; color: var(--ink); display:grid; place-items:center; transition: background .2s; }
.chat-close:hover { background: rgba(17,24,27,.15); }
.chat-close svg { width:20px; height:20px; }

.chat-body { flex:1; overflow-y:auto; padding: 18px; background:#f4f8fb; display:flex; flex-direction:column; gap:12px; }
.chat-body::-webkit-scrollbar { width:7px; } .chat-body::-webkit-scrollbar-thumb { background:#cfdbe2; border-radius:8px; }
.chat-msg { max-width: 82%; padding: 11px 15px; border-radius: 16px; font-size:.95rem; line-height:1.5; white-space:pre-line; }
.chat-msg.bot { background:#fff; color: var(--text); border:1px solid var(--line); border-bottom-left-radius:5px; align-self:flex-start; box-shadow: var(--shadow-sm); }
.chat-msg.user { background: linear-gradient(135deg, var(--celeste) 0%, var(--verde) 100%); color:var(--ink); border-bottom-right-radius:5px; align-self:flex-end; font-weight: 500; }
.chat-msg a { color: var(--celeste-700); font-weight:600; text-decoration:underline; }
.chat-msg.user a { color: var(--ink); }
.chat-msg b { font-weight:600; }

.chat-quick { display:flex; flex-wrap:wrap; gap:8px; align-self:flex-start; }
.chat-chip { background:#fff; border:1.5px solid var(--celeste); color: var(--ink); font-family:var(--font-head); font-weight:600; font-size:.84rem; padding:8px 14px; border-radius:999px; transition: background .2s, color .2s, border-color .2s; }
.chat-chip:hover { background: var(--celeste); border-color: var(--celeste); color:var(--ink); }
.chat-chip.wa { border-color:#25D366; color:#128C4B; }
.chat-chip.wa:hover { background:#25D366; border-color:#25D366; color:#fff; }
.chat-chip svg { width:15px; height:15px; vertical-align:-2px; margin-right:4px; }

.chat-typing { align-self:flex-start; background:#fff; border:1px solid var(--line); border-radius:16px; border-bottom-left-radius:5px; padding:13px 16px; display:flex; gap:5px; }
.chat-typing span { width:6px; height:6px; background:var(--muted); border-radius:50%; animation: ctype 1.4s infinite ease-in-out; }
.chat-typing span:nth-child(1) { animation-delay:-.32s; }
.chat-typing span:nth-child(2) { animation-delay:-.16s; }
@keyframes ctype { 0%,80%,100% { transform:scale(0); opacity:.4; } 40% { transform:scale(1); opacity:1; } }

.chat-foot { padding:14px 18px 18px; border-top:1px solid var(--line); background:#fff; border-radius:0 0 16px 16px; }
.chat-inputrow { display:flex; gap:10px; align-items:flex-end; }
.chat-inputrow textarea { flex:1; border:1.5px solid var(--line); border-radius:14px; padding:11px 14px; font-family:var(--font-body); font-size:.94rem; resize:none; max-height:90px; height:44px; background:#fbfdfe; }
.chat-inputrow textarea:focus { outline:none; border-color:var(--celeste); box-shadow:0 0 0 3px rgba(47,174,224,.14); }
.chat-send { width:44px; height:44px; flex:none; border-radius:12px; background: linear-gradient(135deg, var(--celeste) 0%, var(--verde) 100%); color:var(--ink); display:grid; place-items:center; transition: opacity .2s, transform .2s; }
.chat-send:hover { opacity: 0.9; transform: translateY(-1px); }
.chat-send svg { width:20px; height:20px; }
.chat-disclaimer { text-align:center; font-size:.72rem; color:var(--muted); margin-top:8px; }

@media (max-width:460px){
  .chat-panel { right:8px; bottom:8px; width: calc(100vw - 16px); height: calc(100vh - 16px); border-radius:16px; }
  .chat-launcher { right:14px; bottom:14px; }
  .chat-launcher .label { display:none; }
  .chat-launcher { padding:0; width:58px; justify-content:center; }
  .wa-float { right:14px; bottom:84px; }
}

/* =========================================================================
   CONSECAM — Capa inmersiva (Fusionada)
   Animaciones, transiciones y rediseño de Experiencia / Galería / Contacto
   ========================================================================= */

/* ---------------- Barra de progreso ---------------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 200;
  background: var(--brand-grad); transform: scaleX(0); transform-origin: 0 50%;
  will-change: transform; pointer-events: none;
}



/* ---------------- Transición entre páginas ---------------- */
.page-veil {
  position: fixed; inset: 0; z-index: 9000; pointer-events: none;
  background: linear-gradient(120deg, var(--ink) 0%, #0d3f56 100%);
  transform: translateY(0); transition: transform .6s cubic-bezier(.76,0,.24,1);
  display: grid; place-items: center;
}
.page-veil .pv-logo {
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--brand-grad); opacity: .95;
  animation: pvpulse 1.1s ease-in-out infinite;
}
@keyframes pvpulse { 0%,100% { transform: scale(.75); opacity:.5; } 50% { transform: scale(1); opacity:1; } }
body.page-ready .page-veil { transform: translateY(-101%); }
body.page-leave .page-veil { transform: translateY(0); transition-duration: .5s; }

/* ---------------- Header que se oculta ---------------- */
.header { transform: translateY(0); transition: background .3s, box-shadow .3s, transform .45s var(--ease); }
.header.hide { transform: translateY(-100%); }

/* ---------------- Reveals ---------------- */
.reveal { opacity: 0; transform: translateY(38px); transition: opacity .85s var(--ease), transform .85s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

[data-anim] { transition: opacity .9s var(--ease), transform .9s var(--ease), clip-path 1s var(--ease); }
[data-anim="up"]     { opacity: 0; transform: translateY(50px); }
[data-anim="left"]   { opacity: 0; transform: translateX(-56px); }
[data-anim="right"]  { opacity: 0; transform: translateX(56px); }
[data-anim="zoom"]   { opacity: 0; transform: scale(.9); }
[data-anim="curtain"]{ clip-path: inset(0 0 100% 0); }
[data-anim].in { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }

/* texto por palabras */
[data-anim="words"] .w { display: inline-block; overflow: hidden; vertical-align: bottom; }
[data-anim="words"] .w > i {
  display: inline-block; font-style: inherit; transform: translateY(105%);
  transition: transform .85s cubic-bezier(.22,.61,.36,1);
}
[data-anim="words"].in .w > i { transform: none; }

/* parallax */
[data-parallax] { transform: translate3d(0, var(--py, 0px), 0); will-change: transform; }

/* botones magnéticos + tilt */
.btn { transform: translate3d(var(--mx,0), var(--my,0), 0); }
.btn:hover { transform: translate3d(var(--mx,0), calc(var(--my,0px) - 2px), 0); }
[data-tilt] { transform: perspective(900px) rotateX(var(--rx,0)) rotateY(var(--ry,0)); transition: transform .4s var(--ease); transform-style: preserve-3d; }

@media (prefers-reduced-motion: reduce) {
  .reveal, [data-anim] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  [data-anim="words"] .w > i { transform: none !important; }
  .page-veil { display: none; }
}

/* ---------------- HERO inmersivo ---------------- */
.hero-inner { transform: translate3d(0, var(--py,0px), 0); }
@media (max-width: 640px) { .scroll-hint { display: none; } }

/* ---------------- Separadores de ola ---------------- */
.wave-sep { position: relative; line-height: 0; }
.wave-sep svg { width: 100%; height: clamp(46px, 6vw, 92px); display: block; }
.wave-top { margin-bottom: -1px; } .wave-bottom { margin-top: -1px; }

/* ---------------- Marquee de logos ---------------- */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee + .marquee { margin-top: 16px; }
.marquee-track { display: flex; gap: 16px; width: max-content; animation: marquee var(--dur, 52s) linear infinite; }
.marquee.rev .marquee-track { animation-direction: reverse; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee .logo-tile { width: 176px; aspect-ratio: 3/2; flex: none; background: #fff; border: 1px solid var(--line); border-radius: 14px; display: grid; place-items: center; padding: 16px; }
.marquee .logo-tile img { max-width: 100%; max-height: 100%; object-fit: contain; }
@media (max-width: 640px) { .marquee .logo-tile { width: 132px; padding: 12px; } }

/* ---------------- EXPERIENCIA (showcase inmersivo) ---------------- */
.exp-hero { position: relative; }
.exp-rail { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px 4px 30px; scrollbar-width: none; cursor: grab; }
.exp-rail::-webkit-scrollbar { display: none; }
.exp-rail.dragging { cursor: grabbing; scroll-snap-type: none; }
.exp-card {
  position: relative; flex: 0 0 auto; width: clamp(240px, 27vw, 340px); aspect-ratio: 3/4.4;
  border-radius: 22px; overflow: hidden; scroll-snap-align: center;
  box-shadow: 0 18px 44px rgba(18,25,27,.18); background: #dfe8ec;
}
.exp-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.exp-card::after { content:""; position: absolute; inset: 0; background: rgba(9,14,16, 0.6); opacity: .75; transition: opacity .4s; }
.exp-card:hover img { transform: scale(1.09); }
.exp-card:hover::after { opacity: 1; }
.exp-card .num {
  position: absolute; top: 16px; left: 18px; z-index: 2; color: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: .82rem; letter-spacing: .1em;
  background: rgba(255,255,255,.16); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.28);
  padding: 5px 12px; border-radius: 999px;
}
.exp-card .cap {
  position: absolute; left: 20px; right: 20px; bottom: 20px; z-index: 2; color: #fff;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  transform: translateY(12px); opacity: 0; transition: transform .45s var(--ease), opacity .45s;
}
.exp-card:hover .cap { transform: none; opacity: 1; }
.rail-ui { display: flex; align-items: center; gap: 18px; margin-top: 6px; }
.rail-progress { flex: 1; height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; }
.rail-progress i { display: block; height: 100%; width: 18%; background: var(--brand-grad); border-radius: 3px; transition: transform .12s linear; transform-origin: left; }
.rail-hint { font-size: .8rem; color: var(--muted); font-family: var(--font-head); white-space: nowrap; }
@media (max-width: 640px) { .exp-card { width: 74vw; } .rail-hint { display: none; } }

/* ---------------- GALERÍA (mosaico irregular + filtros) ---------------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 36px; }
.filter-btn {
  font-family: var(--font-head); font-weight: 500; font-size: .9rem; padding: 10px 20px; border-radius: 999px;
  border: 1.5px solid var(--line); color: var(--muted); background: #fff; transition: all .28s var(--ease);
}
.filter-btn:hover { border-color: var(--celeste); color: var(--celeste-700); transform: translateY(-2px); }
.filter-btn.active { background: var(--brand-grad); color: #fff; border-color: transparent; box-shadow: 0 8px 20px rgba(47,174,224,.3); }

.gal-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 190px; gap: 16px; grid-auto-flow: dense; }
.gal-item {
  position: relative; overflow: hidden; border-radius: 18px; cursor: pointer; background: #e6eef2;
  box-shadow: 0 6px 20px rgba(18,25,27,.08);
  opacity: 0; transform: scale(.92) translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease), box-shadow .35s;
}
.gal-item.in { opacity: 1; transform: none; }
.gal-item:hover { box-shadow: 0 20px 46px rgba(18,25,27,.22); }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gal-item:hover img { transform: scale(1.1); }
.gal-item::after { content:""; position: absolute; inset: 0; background: rgba(9,14,16, 0.6); opacity: 0; transition: opacity .35s; }
.gal-item:hover::after { opacity: 1; }
.gal-item .gi-cap {
  position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 2; color: #fff;
  font-family: var(--font-head); font-weight: 600; font-size: .96rem;
  transform: translateY(14px); opacity: 0; transition: transform .4s var(--ease), opacity .4s;
}
.gal-item .gi-zoom {
  position: absolute; top: 14px; right: 14px; z-index: 2; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.9); display: grid; place-items: center; color: var(--ink);
  transform: scale(.5); opacity: 0; transition: transform .4s var(--ease), opacity .4s;
}
.gal-item .gi-zoom svg { width: 18px; height: 18px; }
.gal-item:hover .gi-cap, .gal-item:hover .gi-zoom { transform: none; opacity: 1; }
.gal-item.hidden { display: none; }
.gal-item.w2 { grid-column: span 2; } .gal-item.h2 { grid-row: span 2; }
@media (max-width: 1080px) { .gal-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px)  { .gal-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; gap: 12px; } }
@media (max-width: 420px)  { .gal-item.w2 { grid-column: span 2; } }

/* Lightbox mejorado */
.lightbox { background: rgba(6,10,12,.94); backdrop-filter: blur(8px); }
.lightbox img { transform: scale(.92); opacity: 0; transition: transform .5s var(--ease), opacity .4s; box-shadow: 0 40px 90px rgba(0,0,0,.6); }
.lightbox.open img { transform: none; opacity: 1; }

/* ---------------- CONTACTO rediseñado ---------------- */
.contact-hero { position: relative; overflow: hidden; background: var(--ink); }
.contact-hero .blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; }
.contact-hero .b1 { width: 480px; height: 480px; background: rgba(47,174,224,.5); top: -160px; left: -120px; animation: blobA 16s ease-in-out infinite; }
.contact-hero .b2 { width: 400px; height: 400px; background: rgba(126,217,87,.42); bottom: -150px; right: -90px; animation: blobB 19s ease-in-out infinite; }
@keyframes blobA { 0%,100%{ transform: translate(0,0) scale(1); } 50%{ transform: translate(70px,50px) scale(1.16); } }
@keyframes blobB { 0%,100%{ transform: translate(0,0) scale(1); } 50%{ transform: translate(-60px,-45px) scale(1.12); } }

.ct-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 42px; }
.ct-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 20px;
  padding: 28px 24px; text-align: center; backdrop-filter: blur(10px);
  transition: transform .35s var(--ease), background .35s, border-color .35s;
}
.ct-card:hover { transform: translateY(-8px); background: rgba(255,255,255,.1); border-color: rgba(126,217,87,.5); }
.ct-card .ci { width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 16px; background: var(--brand-grad); display: grid; place-items: center; }
.ct-card .ci svg { width: 26px; height: 26px; color: #fff; }
.ct-card small { display: block; color: #9fb0b7; font-size: .82rem; margin-bottom: 5px; }
.ct-card b { font-family: var(--font-head); color: #fff; font-size: 1.04rem; word-break: break-word; }

.form-card {
  background: rgba(255,255,255,.97); border-radius: 26px; padding: clamp(28px, 4vw, 46px);
  box-shadow: 0 40px 90px rgba(0,0,0,.35);
}
.form-card h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 8px; }
.form-card > p { color: var(--muted); margin-bottom: 26px; font-size: .98rem; }
/* etiqueta flotante */
.ffield { position: relative; margin-bottom: 20px; }
.ffield input, .ffield textarea, .ffield select {
  width: 100%; padding: 20px 16px 9px; border: 1.5px solid var(--line); border-radius: 14px;
  font-family: var(--font-body); font-size: .98rem; color: var(--text); background: #fbfdfe;
  transition: border-color .25s, box-shadow .25s;
}
.ffield textarea { min-height: 124px; resize: vertical; }
.ffield label {
  position: absolute; left: 16px; top: 15px; font-size: .97rem; color: var(--muted);
  pointer-events: none; transition: all .22s var(--ease); font-family: var(--font-body);
}
.ffield input:focus, .ffield textarea:focus, .ffield select:focus { outline: none; border-color: var(--celeste); box-shadow: 0 0 0 4px rgba(47,174,224,.14); }
.ffield input:focus + label, .ffield input:not(:placeholder-shown) + label,
.ffield textarea:focus + label, .ffield textarea:not(:placeholder-shown) + label,
.ffield select:focus + label, .ffield select.filled + label {
  top: 6px; font-size: .72rem; color: var(--celeste-700); font-weight: 600; font-family: var(--font-head);
}
.ffield select + label { top: 6px; font-size: .72rem; color: var(--celeste-700); font-weight: 600; font-family: var(--font-head); }
.ffield select { padding-top: 22px; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 620px) { .frow { grid-template-columns: 1fr; } .ct-cards { grid-template-columns: 1fr; } }

/* redes grandes en contacto */
.soc-big { display: flex; gap: 12px; flex-wrap: wrap; }
.soc-big a {
  display: inline-flex; align-items: center; gap: 9px; padding: 11px 18px; border-radius: 999px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); color: #dbe6ea;
  font-family: var(--font-head); font-weight: 500; font-size: .88rem; transition: all .3s var(--ease);
}
.soc-big a svg { width: 18px; height: 18px; }
.soc-big a:hover { transform: translateY(-3px); color: #fff; }
.soc-big .sb-fb:hover { background: #1877F2; border-color: #1877F2; }
.soc-big .sb-ig:hover { background: linear-gradient(45deg,#F58529,#DD2A7B,#8134AF); border-color: transparent; }
.soc-big .sb-tt:hover { background: #010101; border-color: #333; }
.soc-big .sb-in:hover { background: #0A66C2; border-color: #0A66C2; }

/* ---------------- Realces varios ---------------- */
.service-card, .cred, .news-card { transition: transform .45s var(--ease), box-shadow .45s, border-color .35s; }
.service-card:hover { transform: translateY(-12px); }

.stat .num { display: inline-block; }
.section-head h2 { position: relative; }


/* Experiencia Filters & Overlay */
.exp-filters { display: flex; justify-content: center; gap: 10px; margin-bottom: 30px; flex-wrap: wrap; }
.exp-filter-btn { background: var(--bg-soft); border: none; padding: 8px 16px; border-radius: var(--radius-sm); font-weight: 500; cursor: pointer; transition: all 0.3s var(--ease); }
.exp-filter-btn:hover { background: var(--celeste-050); color: var(--celeste); }
.exp-filter-btn.active { background: var(--brand-grad); color: white; }
.gal-item { position: relative; overflow: hidden; border-radius: var(--radius-sm); }
.gal-item img { transition: transform 0.5s var(--ease); }
.gal-item:hover img { transform: scale(1.05); }
.gal-overlay { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(18,25,27, 0.95); padding: 40px 20px 20px; color: white; transform: translateY(100%); transition: transform 0.4s var(--ease); opacity: 0; display: flex; flex-direction: column; justify-content: flex-end; }
.gal-item:hover .gal-overlay { transform: translateY(0); opacity: 1; }
.gal-overlay h4 { font-size: 1.1rem; margin-bottom: 5px; color: white; }
.gal-desc { font-size: 0.9rem; margin-bottom: 10px; opacity: 0.9; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.gal-meta { font-size: 0.8rem; font-weight: 600; color: var(--verde); text-transform: uppercase; letter-spacing: 1px; }
.gal-item.hidden { display: none !important; }


/* Client Logos Grayscale */
.logo-tile img { filter: none; opacity: 1; transition: all 0.4s var(--ease); }
.logo-tile:hover img { transform: scale(1.05); }


.cred:hover { transform: translateY(-6px); box-shadow: 0 15px 35px rgba(0,0,0,0.1); }/* =========================================================================
   POR QUE ELEGIR CONSECAM - SPLIT LAYOUT REDESIGN
   ========================================================================= */
.why-split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: stretch;
  margin-top: 40px;
}

.why-image-col {
  position: relative;
}

.why-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 100%;
}

.why-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease);
}

.why-image-wrapper:hover img {
  transform: scale(1.05);
}

.why-badge {
  position: absolute;
  bottom: 24px;
  right: 24px;
  padding: 16px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-left: 3px solid var(--verde);
  z-index: 2;
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

.why-badge-num {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--verde);
  line-height: 1;
}

.why-badge-text {
  font-size: 0.85rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

.why-list-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
}

.why-list-item {
  display: flex;
  align-items: center;
  gap: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 12px 20px;
  border-radius: var(--radius);
  transition: all 0.3s ease;
  flex: 1;
}

.why-list-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateX(5px);
}

.why-list-ico {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(126, 217, 87, 0.1);
  display: grid;
  place-items: center;
  color: var(--verde);
  transition: all 0.3s ease;
}

.why-list-item:hover .why-list-ico {
  background: var(--verde);
  color: #fff;
}

.why-list-ico svg {
  width: 22px;
  height: 22px;
}

.why-list-item h3 {
  font-size: 1.05rem;
  font-weight: 500;
  color: #fff;
  line-height: 1.4;
  margin: 0;
}

@media (max-width: 900px) {
  .why-split-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .why-image-wrapper img {
    aspect-ratio: 16/9;
  }
  .why-badge {
    right: 20px;
    bottom: -20px;
  }
}


/* --- MEJORAS DEL PLAN DE ACCIÓN --- */

/* Collage 2x2 - Sección ¿Por qué? */
.why-collage-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  height: 100%;
  min-height: 480px;
}

.why-collage-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.4s var(--ease);
}

.why-collage-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease);
}

.why-collage-item:hover {
  transform: translateY(-5px);
  z-index: 1;
}

.why-collage-item:hover img {
  transform: scale(1.08);
}

/* Posición del Badge en el centro del collage */
.why-collage-grid .why-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  bottom: auto;
  right: auto;
  padding: 16px 24px;
  background: rgba(18, 25, 27, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-left: 3px solid var(--verde);
  border-radius: var(--radius-sm);
  z-index: 10;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  text-align: center;
}

/* Nueva Sección Capacitaciones (2 Columnas) */
.cap-split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-top: 40px;
  align-items: start;
}

.cap-col {
  display: flex;
  flex-direction: column;
  min-width: 0; /* Prevents grid column from expanding due to wide marquee content */
}

.cap-col-title {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: #000000 !important; font-weight: 900 !important;
  background: linear-gradient(90deg, var(--celeste), var(--verde));
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
  border-radius: 8px;
  padding: 14px 24px;
  box-shadow: 0 4px 15px rgba(0, 166, 214, 0.2);
  display: inline-block;
  width: 100%;
}

.cap-col-desc {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #334155;
  margin-bottom: 16px;
  text-align: justify;
}

.cap-note {
  font-size: 0.85rem;
  line-height: 1.5;
  color: #64748b;
  margin-bottom: 20px;
  border-left: 3px solid var(--celeste);
  padding-left: 12px;
}

/* Contenedor estático de grilla de logos de clientes */
.cap-logos-grid-wrapper {
  margin-top: 24px;
  width: 100%;
}

.cap-logos-grid-wrapper .logos-wall {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 10px !important;
}

/* Estilo unificado para los recuadros de logos */
.cap-logos-grid-wrapper .logo-tile {
  width: calc((100% - 40px) / 5) !important;
  aspect-ratio: 3/2;
  border-radius: 12px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  cursor: pointer;
}

.cap-logos-grid-wrapper .logo-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.cap-logos-grid-wrapper .logo-tile img {
  max-width: 95%;
  max-height: 95%;
  object-fit: contain;
}

@media (max-width: 1080px) {
  .cap-logos-grid-wrapper .logo-tile {
    width: calc((100% - 30px) / 4) !important;
  }
}
@media (max-width: 640px) {
  .cap-logos-grid-wrapper .logo-tile {
    width: calc((100% - 20px) / 3) !important;
  }
}
@media (max-width: 400px) {
  .cap-logos-grid-wrapper .logo-tile {
    width: calc((100% - 10px) / 2) !important;
  }
}

/* Tooltip Float Modal para Logos HD */
.logo-tooltip-modal {
  position: fixed;
  z-index: 10000;
  pointer-events: none;
  background: #ffffff;
  border-radius: 16px;
  padding: 18px 24px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -100%) scale(0.85);
  opacity: 0;
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  width: 260px;
}

.logo-tooltip-modal.is-active {
  opacity: 1;
  transform: translate(-50%, -115%) scale(1);
}

.logo-tooltip-modal img {
  max-width: 100%;
  max-height: 140px;
  object-fit: contain;
  filter: contrast(1.05);
  image-rendering: -webkit-optimize-contrast;
}

/* Marquesina de países en columna de capacitaciones (Doble Fila) */
.cap-countries-marquee {
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-block: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  margin-top: 20px;
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.cap-countries-marquee .cap-countries-row {
  display: flex;
  overflow: hidden;
  width: 100%;
}
.cap-countries-marquee .cap-countries-track {
  display: inline-block;
  white-space: nowrap;
  animation: scroll-countries 38s linear infinite;
}
.cap-countries-marquee .cap-countries-track.marquee-reverse {
  animation-direction: reverse;
}
.cap-countries-marquee .cap-countries-track span {
  display: inline-block;
  padding-right: 32px;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.88rem;
  color: #cbd5e1;
}

/* Stats en columna internacional */
.cap-stats-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 24px;
}
.cap-stats-row .intl-stat {
  flex: 1 1 120px;
  max-width: 160px;
}

.cap-stats-row .intl-stat {
  padding: 12px 8px;
  text-align: center;
}

.cap-stats-row .intl-stat .num {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.cap-stats-row .intl-stat .lbl {
  font-size: 0.72rem;
  font-weight: 500;
}

/* Wrapper de Mapa de países */
.cap-map-wrapper {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.cap-map-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

/* Galería de capacitación */
.cap-gallery-section {
  margin-top: 70px;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 40px;
}

.cap-gallery-title {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--ink);
  text-align: center;
  margin-bottom: 30px;
}

.cap-gallery-track {
  display: flex;
  gap: 16px;
  padding: 10px 4px 20px 4px;
  width: max-content;
  animation: marquee 35s linear infinite;
}
.cap-gallery-track:hover {
  animation-play-state: paused;
}

.cap-gallery-item {
  flex: 0 0 280px;
  height: 180px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow);
  scroll-snap-align: start;
  transition: transform 0.3s;
}

.cap-gallery-item:hover {
  transform: scale(1.03);
}

.cap-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Responsividad para tablet y móvil */
@media (max-width: 992px) {
  .cap-split-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 600px) {
  .why-collage-grid {
    min-height: 320px;
    gap: 10px;
  }
  /* cap-stats-row mobile fix removed */
  .cap-gallery-item {
    flex: 0 0 240px;
    height: 150px;
  }
}


/* --- SECTION BACKGROUND & OVERLAY IMPROVEMENTS --- */
.section-with-bg {
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
}

.section-with-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(18, 25, 27, 0.78) 0%, rgba(30, 42, 45, 0.70) 100%);
  z-index: 0;
}

.section-with-bg > * {
  position: relative;
  z-index: 2; /* Ensure all content is above the overlay */
}

/* Ensure background decoration SVGs are below overlay or hidden if needed */
.section-with-bg .bg-icon {
  z-index: 1 !important;
  opacity: 0.08 !important;
}

/* Ensure glass cards and lists are highly legible */
.section-with-bg .why-list-item {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 16px !important;
  padding: 18px 24px !important;
  transition: all 0.3s var(--ease) !important;
}

.section-with-bg .why-list-item:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: var(--celeste) !important;
  transform: translateY(-2px) !important;
}

.section-with-bg .why-list-item h3 {
  color: #fff !important;
  font-weight: 500 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
}

.section-with-bg .why-list-ico {
  background: rgba(47, 174, 224, 0.15) !important;
  border: 1px solid rgba(47, 174, 224, 0.3) !important;
  color: var(--verde) !important;
}

.section-with-bg .glass-card {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
}

.section-with-bg .why-collage-grid .why-badge {
  background: rgba(12, 22, 27, 0.92) !important;
  border-left: 4px solid var(--verde) !important;
  box-shadow: 0 15px 35px rgba(0,0,0,0.6) !important;
  backdrop-filter: blur(15px) !important;
  -webkit-backdrop-filter: blur(15px) !important;
}

/* Cap Micro Banner */
.cap-micro-banner {
  background: linear-gradient(135deg, var(--celeste) 0%, #008fcc 100%);
  color: #fff;
  box-shadow: inset 0 -4px 0 rgba(0,0,0,0.1), 0 10px 20px rgba(0,0,0,0.05);
  padding: 30px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cap-micro-banner h2 {
  font-size: 2.2rem;
  font-weight: 800;
  text-shadow: 0 2px 4px rgba(0,0,0,0.15);
  letter-spacing: 1px;
  margin: 0;
  color: #fff;
}

/* =========================================================================
   NUEVAS TARJETAS DE CURSOS Y NOVEDADES (V2 PREMIUM)
   ========================================================================= */
.course-card-v2 {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
  position: relative;
}

.course-card-v2:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(47, 174, 224, 0.16);
  border-color: var(--celeste);
}

.course-card-v2 .thumb {
  aspect-ratio: 16/10;
  position: relative;
  overflow: hidden;
  background: #f8fafc;
}

.course-card-v2 .thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #f8f9fa;
  transition: transform 0.5s var(--ease);
}

.course-card-v2:hover .thumb img {
  transform: scale(1.08);
}

.course-card-v2 .course-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: linear-gradient(135deg, var(--verde-700), #2e7d32);
  color: #ffffff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
  padding: 6px 14px;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 2;
  text-transform: uppercase;
}

.course-card-v2 .body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.course-card-v2 .header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.course-card-v2 .ico-box {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(47, 174, 224, 0.1);
  color: var(--celeste-700);
  display: grid;
  place-items: center;
  transition: all 0.3s var(--ease);
}

.course-card-v2:hover .ico-box {
  background: var(--celeste);
  color: #ffffff;
  transform: scale(1.06) rotate(4deg);
}

.course-card-v2 .date-badge {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--celeste);
  background: rgba(126, 217, 87, 0.15);
  padding: 5px 12px;
  border-radius: 8px;
  font-family: var(--font-head);
}

.course-card-v2 h3 {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 12px;
  transition: color 0.3s;
}

.course-card-v2:hover h3 {
  color: var(--celeste-700);
}

.course-card-v2 p {
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.6;
  flex: 1;
  margin-bottom: 20px;
  text-align: justify;
}

.course-card-v2 .btn-card-wa {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  background: linear-gradient(90deg, var(--celeste), var(--verde));
  color: #000000 !important; font-weight: 900 !important;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.25);
  transition: all 0.3s var(--ease);
}

.course-card-v2 .btn-card-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.4);
  background: linear-gradient(90deg, var(--verde), var(--celeste));
  color: #000000 !important; font-weight: 900 !important;
}

.course-card-v2 .btn-card-wa svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* =========================================================================
   NUEVA SECCIÓN CONTÁCTANOS (INSPIRADA EN REFERENCIA ENTERPRISE V2)
   ========================================================================= */
.contact-section-wrapper {
  background: #ffffff;
  padding: 60px 0 80px;
}

/* 1. Banner Hero de Contacto */
.contact-hero-banner {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  padding: 65px 45px;
  background: linear-gradient(135deg, rgba(18, 25, 27, 0.88) 0%, rgba(30, 42, 45, 0.82) 100%), url('../img/fotos_a_usar/LABORATORIO_3.png') center/cover no-repeat;
  color: #ffffff;
  box-shadow: 0 15px 40px rgba(18, 25, 27, 0.15);
  margin-bottom: 50px;
}

.contact-hero-banner .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(126, 217, 87, 0.18);
  border: 1px solid rgba(126, 217, 87, 0.4);
  color: var(--verde);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 1px;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.contact-hero-banner h2 {
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 16px;
  max-width: 780px;
}

.contact-hero-banner h2 .grad-text {
  background: linear-gradient(90deg, var(--verde), var(--celeste));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.contact-hero-banner p {
  color: #cbd5e1;
  font-size: 1.08rem;
  max-width: 680px;
  line-height: 1.65;
  margin-bottom: 28px;
}

.contact-hero-banner .btn-contact-hero {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: linear-gradient(90deg, var(--celeste), var(--verde));
  color: #ffffff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 50px;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.35);
  transition: all 0.3s var(--ease);
}

.contact-hero-banner .btn-contact-hero:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
  background: linear-gradient(90deg, var(--verde), var(--celeste));
}

/* 2. Módulo de Atención Directa (Asesor + Departamentos) */
.contact-direct-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 50px;
}

.advisor-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (min-width: 901px) {
  .advisor-card {
    flex-direction: row;
    align-items: stretch;
  }
}

.advisor-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.advisor-card .online-status {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  color: #16a34a;
  border: 1px solid rgba(37, 211, 102, 0.3);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  z-index: 2;
}

.advisor-card .online-status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #25D366;
  box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.3);
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
  70% { box-shadow: 0 0 0 6px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.advisor-card .advisor-img-box {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #f1f5f9;
  position: relative;
}

@media (min-width: 901px) {
  .advisor-card .advisor-img-box {
    width: 45%;
    aspect-ratio: auto;
    flex-shrink: 0;
  }
}

.advisor-card .advisor-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.advisor-card:hover .advisor-img-box img {
  transform: scale(1.03);
}

.advisor-content {
  padding: 40px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: center;
}

.advisor-card h3 {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 12px;
  text-align: center;
}

.advisor-card p {
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 24px;
  flex: 1;
  text-align: center;
}

.advisor-card .btn-advisor-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  background: linear-gradient(90deg, var(--celeste), var(--verde));
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 12px;
  transition: all 0.3s;
  text-decoration: none;
}

.advisor-card .btn-advisor-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

/* Departamentos */
.dept-cards-column {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 901px) {
  .dept-cards-column {
    grid-template-columns: repeat(3, 1fr);
  }
}

.dept-item-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.dept-item-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(47, 174, 224, 0.12);
  border-color: var(--celeste);
}

.dept-item-card .dept-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.dept-item-card .dept-ico {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--celeste);
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(47,174,224,0.3);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.dept-item-card .dept-details h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}

.dept-item-card .dept-details p {
  font-size: 0.85rem;
  color: #64748b;
  margin: 0;
}

.dept-item-card .dept-actions {
  display: flex;
  gap: 10px;
  width: 100%;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-dept-wa {
  padding: 9px 16px;
  background: #25D366;
  color: #ffffff;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.25s;
}

.btn-dept-wa:hover {
  background: #128C7E;
  color: #ffffff;
}

.btn-dept-call {
  padding: 9px 16px;
  background: #ffffff;
  color: var(--celeste);
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1.5px solid var(--celeste);
  transition: all 0.25s ease;
  box-shadow: 0 2px 6px rgba(0, 166, 214, 0.1);
}

.btn-dept-call:hover {
  background: var(--celeste);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 166, 214, 0.25);
}

/* 3. Bloque "Estamos cerca de ti" */
.location-section-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 50px;
  align-items: center;
}

.location-info-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.location-info-card h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 12px;
}

.location-info-card .loc-sub {
  color: #64748b;
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.loc-item-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}

.loc-item-row .loc-ico {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(47, 174, 224, 0.12);
  color: var(--celeste-700);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.loc-item-row .loc-txt strong {
  display: block;
  font-size: 0.95rem;
  color: var(--ink);
  margin-bottom: 2px;
}

.loc-item-row .loc-txt span {
  font-size: 0.88rem;
  color: #475569;
}

.location-map-wrap {
  height: 340px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.location-map-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* 4. Banner Final Destacado (Cierre) */
.contact-closing-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.05);
}

.contact-closing-card .closing-img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.contact-closing-card .closing-content {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-closing-card .closing-ico {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--verde-700), var(--verde-600));
  color: #ffffff;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.contact-closing-card h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 12px;
}

.contact-closing-card p {
  color: #475569;
  font-size: 0.96rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.contact-closing-card .btn-closing-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  padding: 13px 28px;
  background: var(--celeste);
  color: #000000 !important; font-weight: 900 !important;
  font-family: var(--font-head);
  font-weight: 700;
  border-radius: 50px;
  box-shadow: 0 6px 20px rgba(71, 146, 44, 0.3);
  transition: all 0.3s;
}

.contact-closing-card .btn-closing-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(71, 146, 44, 0.45);
  background: linear-gradient(90deg, var(--verde-600), var(--verde-700));
  color: #000000 !important; font-weight: 900 !important;
}

@media (max-width: 900px) {
  .contact-direct-grid, .location-section-block, .contact-closing-card {
    grid-template-columns: 1fr;
  }
  .contact-hero-banner {
    padding: 40px 24px;
  }
  .dept-item-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}

/* Static Gallery Grid for #experiencia */
.static-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  width: 100%;
  padding: 20px 0;
}
.static-gallery-grid .exp-zoom-wrap {
  width: 100%;
  height: 100%;
  aspect-ratio: 16/9;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.static-gallery-grid .exp-zoom-wrap:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}
.static-gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 900px) {
  .static-gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 600px) {
  .static-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 400px) {
  .static-gallery-grid {
    grid-template-columns: 1fr;
  }
}

@keyframes dashAnim {
  0% { stroke-dashoffset: 800; opacity: 0; }
  20% { opacity: 0.6; }
  80% { opacity: 0.6; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}
@keyframes pulseNode {
  0% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(1); opacity: 0; }
}

/* =========================================================================
   BLOG SOCIAL UI
   ========================================================================= */
.blog-social-bar {
  display: flex;
  justify-content: space-around;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 10px 0;
  margin-top: 15px;
}

.social-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: var(--muted);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 20px;
  transition: background 0.2s, color 0.2s;
}

.social-btn:hover {
  background: var(--line);
  color: var(--ink);
}

.social-btn svg {
  transition: transform 0.2s;
}

.social-btn:active svg {
  transform: scale(0.8);
}

.liked-anim {
  animation: heartBurst 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes heartBurst {
  0% { transform: scale(1); }
  50% { transform: scale(1.4); }
  100% { transform: scale(1); }
}

.pop-anim {
  animation: popNum 0.3s forwards;
}

@keyframes popNum {
  0% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(-5px); opacity: 0; }
  51% { transform: translateY(5px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

.blog-comments-section {
  background: #f8fbfc;
  border-radius: 8px;
  padding: 12px;
  margin-top: 10px;
  border: 1px solid var(--line);
}

.comments-list {
  max-height: 150px;
  overflow-y: auto;
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text);
}

.blog-comment {
  background: #fff;
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid var(--line);
}

.blog-comment strong {
  color: var(--ink);
  margin-right: 5px;
}

.comment-input-area {
  display: flex;
  gap: 8px;
}

.blog-comment-input {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 6px 12px;
  font-size: 0.85rem;
  outline: none;
  transition: border-color 0.2s;
}

.blog-comment-input:focus {
  border-color: var(--celeste);
}

.comment-submit-btn {
  background: var(--celeste);
  color: #fff;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s;
}

.comment-submit-btn:hover {
  transform: scale(1.1);
}

.synergy-subfooter {
  background-color: #032b43;
  color: #a0b2c1;
  font-family: var(--font-body);
  padding: 20px;
  text-align: center;
}
.synergy-subfooter-msg {
  font-size: 0.95rem;
  color: #ffffff;
  margin-bottom: 12px;
  font-weight: 500;
}
.synergy-subfooter-bar {
  font-size: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 15px;
}
.synergy-subfooter-bar a {
  text-decoration: none;
  transition: opacity 0.2s;
}
.synergy-subfooter-bar a:hover {
  opacity: 0.8;
}
.synergy-divider {
  color: #4a6b7c;
}
.synergy-brand {
  color: #e53935 !important;
  font-weight: 800;
  letter-spacing: 0.5px;
}
.synergy-wa {
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.synergy-icons {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.synergy-icons a {
  color: #ffffff;
  display: inline-flex;
}
.synergy-icons svg {
  width: 18px;
  height: 18px;
}
@media (max-width: 900px) {
  .synergy-subfooter-bar {
    flex-direction: column;
    gap: 10px;
  }
  .synergy-divider {
    display: none;
  }
}

/* =========================================================================
   MOBILE PERFECTION (MAX-WIDTH: 480PX)
   ========================================================================= */
@media (max-width: 480px) {
  /* Layout general */
  .container {
    padding-inline: 16px !important;
  }
  .section {
    padding-block: 45px 55px !important;
  }
  
  /* Hero Mobile */
  .hero-inner {
    padding-top: 85px !important;
    padding-bottom: 50px !important;
  }
  .hero-content-wrapper {
    gap: 20px !important;
  }
  .hero-gota-left {
    flex: 0 0 90px !important;
    max-width: 90px !important;
    margin: 0 auto 10px auto !important;
  }
  .hero-text-right {
    text-align: center !important;
  }
  .hero-text-right h1 {
    font-size: clamp(1.5rem, 6.8vw, 2.3rem) !important;
    text-align: center !important;
    line-height: 1.2 !important;
  }
  .hero-text-right h2 {
    font-size: 1.1rem !important;
    text-align: center !important;
    border-left: none !important;
    border-top: 3px solid var(--verde) !important;
    padding-left: 0 !important;
    padding-top: 10px !important;
    margin-bottom: 20px !important;
  }
  .hero-text-right .lead {
    text-align: center !important;
    font-size: 0.92rem !important;
    line-height: 1.5 !important;
  }
  .hero-divider {
    margin: 0 auto 16px auto !important;
  }
  .hero-actions {
    flex-direction: column !important;
    width: 100% !important;
    gap: 10px !important;
  }
  .hero-actions .btn {
    width: 100% !important;
    justify-content: center !important;
    min-height: 44px !important;
    box-sizing: border-box !important;
  }

  /* Cards Departamentos */
  .dept-item-card {
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 16px !important;
    text-align: center !important;
  }
  .dept-item-card .dept-info {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 10px !important;
  }
  .dept-item-card .dept-details h4 {
    font-size: 1rem !important;
  }
  .dept-item-card .dept-details p {
    font-size: 0.85rem !important;
  }
  .dept-actions {
    flex-direction: column !important;
    width: 100% !important;
    gap: 8px !important;
    margin-top: 12px !important;
  }
  .btn-dept-wa, .btn-dept-call {
    width: 100% !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    min-height: 42px !important;
  }

  /* Location & Closing Card */
  .location-info-card {
    padding: 20px 16px !important;
    border-radius: 16px !important;
  }
  .location-map-wrap {
    height: 230px !important;
    border-radius: 14px !important;
  }
  .contact-closing-card {
    grid-template-columns: 1fr !important;
  }
  .contact-closing-card .closing-img {
    min-height: 160px !important;
    max-height: 200px !important;
  }
  .contact-closing-card .closing-content {
    padding: 22px 16px !important;
    text-align: center !important;
    align-items: center !important;
  }
  .contact-closing-card .closing-ico {
    margin: 0 auto 12px auto !important;
  }
  .contact-closing-card h3 {
    font-size: 1.3rem !important;
  }
  .contact-closing-card p {
    font-size: 0.88rem !important;
  }
  .contact-closing-card .btn-closing-cta {
    width: 100% !important;
    justify-content: center !important;
    min-height: 44px !important;
    box-sizing: border-box !important;
  }

  /* Sub-footer SynergyPower */
  .synergy-subfooter {
    padding: 16px 12px !important;
    text-align: center !important;
  }
  .synergy-subfooter-msg {
    font-size: 0.82rem !important;
    line-height: 1.4 !important;
  }
  .synergy-subfooter-bar {
    align-items: center !important;
    text-align: center !important;
    gap: 8px !important;
    font-size: 0.78rem !important;
  }
  .synergy-icons {
    justify-content: center !important;
    gap: 8px !important;
    margin-top: 4px !important;
  }
  .synergy-wa {
    justify-content: center !important;
    flex-wrap: wrap !important;
  }

  /* Stats Band */
  .stats-band {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    text-align: center !important;
  }

  /* Capacitaciones / Internacional */
  .cap-col-title {
    font-size: 1rem !important;
    line-height: 1.35 !important;
    word-break: break-word !important;
  }
  .cap-micro-banner h2 {
    font-size: 1.25rem !important;
    letter-spacing: 1px !important;
  }

  /* Blog & Interacciones */
  .blog-social-bar {
    flex-wrap: wrap !important;
    gap: 6px !important;
    justify-content: center !important;
  }
  .social-btn {
    font-size: 0.8rem !important;
    padding: 5px 10px !important;
  }
  .single-hd-img {
    height: 240px !important;
    border-radius: 18px !important;
  }
}

