/* ==========================================================================
   Dr. Rubén Alejandro Meza Díaz — Cirujano Oncólogo
   Hoja de estilos completa (CSS3 vanilla)
   Paleta oficial: Pantone 533 C · Pantone 7457 C · Blanco
   Tipografía: Poppins (texto) · Montserrat 800 como sustituto libre de Gotham Bold
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Montserrat:wght@700;800;900&display=swap');

/* -------------------------------------------------------------------------
   1. TOKENS
------------------------------------------------------------------------- */
:root{
  /* Marca oficial */
  --navy:      #262E52;   /* Pantone 533 C */
  --navy-800:  #1B2140;
  --navy-900:  #10142A;
  --ice:       #BFE1F2;   /* Pantone 7457 C */
  --ice-100:   #E4F3FA;
  --ice-050:   #F4FAFD;
  --white:     #FFFFFF;

  /* Derivados exclusivamente de los tonos de marca (para hover/sombra/degradado) */
  --navy-tint-1: #333C68;
  --navy-tint-2: #414B7E;
  --ice-tint-1:  #9BCEE8;
  --ice-tint-2:  #DCEFF7;

  /* Neutros de texto (tinte navy, no negro puro) */
  --ink-900: var(--navy-900);
  --ink-700: #454B6B;
  --ink-500: #6B7093;
  --ink-300: #A7ABC4;
  --ink-150: #E3E5EF;
  --ink-100: #EEF0F7;
  --ink-050: #F8F9FC;

  /* Utilitario (verde de confirmación, fuera de marca pero necesario para WhatsApp) */
  --wa-green: #25D366;
  --wa-green-dark: #1EBE5A;

  /* Tipografía */
  --f-display: 'Montserrat', 'Segoe UI', sans-serif;
  --f-body: 'Poppins', 'Segoe UI', sans-serif;

  /* Forma / sombra */
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 32px;
  --r-pill: 999px;
  --shadow-sm: 0 2px 14px rgba(16,20,42,.06);
  --shadow-md: 0 18px 44px -14px rgba(16,20,42,.20);
  --shadow-lg: 0 34px 80px -24px rgba(16,20,42,.32);

  --container: 1200px;
  --ease: cubic-bezier(.22,.68,0,1);
}

/* -------------------------------------------------------------------------
   2. RESET
------------------------------------------------------------------------- */
*,*::before,*::after{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; }
body{
  font-family:var(--f-body);
  color:var(--ink-700);
  background:var(--white);
  line-height:1.65;
  font-weight:300;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{ max-width:100%; display:block; }
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(--f-display); color:var(--navy-900); line-height:1.18; font-weight:800; letter-spacing:-.01em; }
:focus-visible{ outline:3px solid var(--ice-tint-1); outline-offset:3px; border-radius:4px; }

.wrap{ max-width:var(--container); margin:0 auto; padding:0 24px; }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
}

/* -------------------------------------------------------------------------
   3. ONDAS — separador de marca (tomado del manual de identidad)
------------------------------------------------------------------------- */
.wave-sep{ position:relative; line-height:0; }
.wave-sep svg{ display:block; width:100%; height:auto; }

/* -------------------------------------------------------------------------
   4. UTILIDADES
------------------------------------------------------------------------- */
.eyebrow{
  display:inline-flex; align-items:center; gap:9px;
  font-family:var(--f-body); font-size:12.5px; font-weight:600; letter-spacing:.14em; text-transform:uppercase;
  color:var(--navy); margin-bottom:16px;
}
.eyebrow::before{ content:""; width:8px; height:8px; border-radius:50%; background:var(--ice-tint-1); box-shadow:0 0 0 4px var(--ice-100); }
.section{ padding:110px 0; position:relative; }
.section-tight{ padding:68px 0; }
.section-soft{ background:var(--ice-050); }
.section-navy{ background:linear-gradient(165deg, var(--navy-900), var(--navy) 130%); color:#fff; }
.section-navy h2, .section-navy h3, .section-navy h4{ color:#fff; }
.section-head{ max-width:620px; margin-bottom:56px; }
.section-head.center{ margin-inline:auto; text-align:center; }
.section-head h2{ font-size:clamp(28px,3.4vw,40px); }
.section-head p{ margin-top:18px; color:var(--ink-500); font-size:16.5px; font-weight:300; }
.section-navy .section-head p{ color:rgba(255,255,255,.68); }

.reveal{ opacity:0; transform:translateY(30px); transition:opacity .75s var(--ease), transform .75s var(--ease); }
.reveal.is-visible{ opacity:1; transform:translateY(0); }
.reveal-delay-1{ transition-delay:.1s; }
.reveal-delay-2{ transition-delay:.2s; }
.reveal-delay-3{ transition-delay:.3s; }

/* Botones */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  font-family:var(--f-body); font-weight:600; font-size:15px;
  padding:16px 30px; border-radius:var(--r-pill); border:1.5px solid transparent;
  transition:transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease);
  white-space:nowrap;
}
.btn:hover{ transform:translateY(-2px); }
.btn-whatsapp{ background:var(--wa-green); color:#fff; box-shadow:0 16px 34px -12px rgba(37,211,102,.55); }
.btn-whatsapp:hover{ background:var(--wa-green-dark); box-shadow:0 20px 40px -12px rgba(37,211,102,.65); }
.btn-navy{ background:var(--navy); color:#fff; }
.btn-navy:hover{ background:var(--navy-tint-1); }
.btn-outline{ background:rgba(255,255,255,.04); border-color:rgba(255,255,255,.5); color:#fff; backdrop-filter:blur(6px); }
.btn-outline:hover{ border-color:#fff; background:rgba(255,255,255,.1); }
.btn-outline-navy{ background:transparent; border-color:var(--ink-150); color:var(--navy); }
.btn-outline-navy:hover{ border-color:var(--navy); }
.btn-sm{ padding:11px 20px; font-size:13.5px; }
.btn-block{ width:100%; }

/* -------------------------------------------------------------------------
   5. NAV
------------------------------------------------------------------------- */
.nav{
  position:fixed; top:0; left:0; right:0; z-index:100; padding:24px 0;
  /* Se aplica el fondo blanco y la sombra por defecto desde el inicio */
  background:rgba(255,255,255,.9);
  backdrop-filter:blur(16px);
  box-shadow:0 6px 28px rgba(16,20,42,.07);
  transition:padding .35s var(--ease);
}

/* La clase scrolled ahora solo sirve para reducir el margen (padding) al bajar */

.nav .wrap{ display:flex; align-items:center; justify-content:space-between; }
.nav-logo{ display:flex; align-items:center; gap:10px; }
.nav-logo img{ height:44px; transition:height .3s var(--ease); }

/* Textos oscuros por defecto para contrastar con el fondo blanco */
.nav-logo .name{ font-family:var(--f-display); font-weight:800; font-size:14.5px; color:var(--navy-900); line-height:1.25; }
.nav-logo .name small{ display:block; font-family:var(--f-body); font-weight:400; font-size:10.5px; letter-spacing:.04em; color:var(--navy); }

.nav-links{ display:flex; align-items:center; gap:34px; }
.nav-links a{ font-size:14px; font-weight:500; color:var(--ink-700); position:relative; padding:4px 0; transition:opacity .2s; }
.nav-links a::after{ content:""; position:absolute; left:0; bottom:-3px; width:0; height:2px; background:var(--ice-tint-1); transition:width .25s var(--ease); }
.nav-links a:hover::after{ width:100%; }

.nav-cta{ display:flex; align-items:center; gap:14px; }
.nav-phone{ font-size:13px; font-weight:600; color:var(--navy); display:flex; align-items:center; gap:6px; }

.nav-burger{ display:none; width:42px; height:42px; border-radius:10px; align-items:center; justify-content:center; color:var(--navy); }
.nav-burger span, .nav-burger span::before, .nav-burger span::after{ content:""; display:block; width:22px; height:2px; background:currentColor; position:relative; transition:.25s; }
.nav-burger span::before{ position:absolute; top:-7px; } .nav-burger span::after{ position:absolute; top:7px; }
@media (max-width:980px){
  .nav-links{
    position:fixed; inset:0 0 0 auto; width:min(320px,80vw); height:100vh; background:var(--navy-900);
    flex-direction:column; align-items:flex-start; padding:110px 32px 40px; gap:28px;
    transform:translateX(100%); transition:transform .35s var(--ease); z-index:99;
  }
  .nav-links.open{ transform:translateX(0); }
  .nav-links a{ color:#fff !important; font-size:17px; }
  .nav-phone{ display:none; }
  .nav-burger{ display:flex; }
}

/* -------------------------------------------------------------------------
   6. HERO
------------------------------------------------------------------------- */
.hero{
  position:relative; min-height:100vh; display:flex; align-items:center;
  padding:160px 0 90px; overflow:hidden;
  background:linear-gradient(175deg, var(--navy-900) 0%, var(--navy) 55%, var(--navy-tint-1) 130%);
  color:#fff;
}
.hero::before{
  content:""; position:absolute; inset:0; pointer-events:none;
  background:
    radial-gradient(760px 520px at 90% 6%, rgba(191,225,242,.16), transparent 60%),
    radial-gradient(640px 460px at 4% 100%, rgba(191,225,242,.08), transparent 55%);
}
.hero-wave-decor{ position:absolute; top:60px; left:-60px; width:280px; opacity:.5; pointer-events:none; }
.hero-grid{ position:relative; display:grid; grid-template-columns:1.02fr .98fr; gap:64px; align-items:center; }
.hero-eyebrow{
  display:inline-flex; align-items:center; gap:10px; font-size:12.5px; font-weight:600; letter-spacing:.14em; text-transform:uppercase;
  color:var(--ice); background:rgba(191,225,242,.1); border:1px solid rgba(191,225,242,.3);
  padding:9px 18px; border-radius:var(--r-pill); margin-bottom:28px;
}
.hero h1{ color:#fff; font-size:clamp(32px,4.4vw,54px); }
.hero h1 .accent{ color:var(--ice); }
.hero p.lede{ margin-top:26px; font-size:18px; font-weight:300; color:rgba(255,255,255,.72); max-width:520px; }
.hero-actions{ display:flex; gap:14px; margin-top:38px; flex-wrap:wrap; }
.hero-meta{ display:flex; gap:34px; margin-top:56px; flex-wrap:wrap; }
.hero-meta div strong{ display:block; font-family:var(--f-display); font-size:14px; color:#fff; font-weight:700; }
.hero-meta div span{ font-size:12px; color:rgba(255,255,255,.5); }

.hero-media{ position:relative; }
.hero-media-frame{ position:relative; border-radius:var(--r-lg); overflow:hidden; box-shadow:var(--shadow-lg); border:1px solid rgba(255,255,255,.12); }
.hero-media-frame img{ width:100%; height:580px; object-fit:cover; object-position:top center; display:block; }
.hero-media-frame::after{ content:""; position:absolute; inset:0; background:linear-gradient(180deg, transparent 60%, rgba(16,20,42,.5) 100%); }
.hero-card-float{
  position:absolute; left:-30px; bottom:38px; background:rgba(255,255,255,.9); backdrop-filter:blur(14px);
  border:1px solid rgba(255,255,255,.6); border-radius:var(--r-md); padding:18px 22px; display:flex; gap:14px; align-items:center;
  box-shadow:var(--shadow-md); animation:float-y 5.5s ease-in-out infinite; max-width:250px;
}
.hero-card-float .ic{ width:40px; height:40px; border-radius:11px; background:var(--navy); color:var(--ice); display:flex; align-items:center; justify-content:center; flex:none; }
.hero-card-float strong{ display:block; color:var(--navy-900); font-size:13px; font-family:var(--f-display); font-weight:700; }
.hero-card-float span{ font-size:11px; color:var(--ink-500); }
@keyframes float-y{ 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(-12px); } }

@media (max-width:980px){
  .hero-grid{ grid-template-columns:1fr; }
  .hero-media-frame img{ height:440px; }
  .hero-card-float{ left:16px; }
}

/* -------------------------------------------------------------------------
   7. BARRA DE CONFIANZA
------------------------------------------------------------------------- */
.trustbar{ background:var(--white); padding:34px 0; }
.trustbar-row{ display:flex; align-items:center; justify-content:space-between; gap:22px; flex-wrap:wrap; }
.trust-item{ display:flex; align-items:center; gap:13px; }
.trust-item .ic{ width:42px; height:42px; border-radius:12px; background:var(--ice-100); color:var(--navy); display:flex; align-items:center; justify-content:center; flex:none; }
.trust-item strong{ display:block; font-size:13.5px; color:var(--navy-900); font-family:var(--f-display); font-weight:700; }
.trust-item span{ font-size:11.5px; color:var(--ink-500); }

/* -------------------------------------------------------------------------
   8. POR QUÉ ELEGIRLO (comparativa)
------------------------------------------------------------------------- */
.compare-wrap{ display:grid; grid-template-columns:1fr 1fr; gap:22px; }
.compare-card{ border-radius:var(--r-lg); padding:40px 36px; }
.compare-card.no{ background:var(--ink-050); border:1px solid var(--ink-150); }
.compare-card.yes{ background:linear-gradient(165deg, var(--navy-900), var(--navy) 130%); color:#fff; position:relative; overflow:hidden; box-shadow:var(--shadow-lg); }
.compare-card.yes::before{ content:""; position:absolute; top:-60px; right:-60px; width:220px; height:220px; border-radius:50%; background:radial-gradient(circle, rgba(191,225,242,.18), transparent 70%); }
.compare-card h3{ font-size:19px; margin-bottom:24px; position:relative; }
.compare-card.no h3{ color:var(--ink-500); }
.compare-list{ position:relative; }
.compare-list li{ display:flex; gap:13px; align-items:flex-start; font-size:14.5px; margin-bottom:17px; font-weight:300; }
.compare-card.no .compare-list li{ color:var(--ink-500); }
.compare-card.yes .compare-list li{ color:rgba(255,255,255,.88); }
.compare-list svg{ flex:none; margin-top:2px; }
.compare-card.no svg{ color:var(--ink-300); }
.compare-card.yes svg{ color:var(--ice); }

@media (max-width:860px){ .compare-wrap{ grid-template-columns:1fr; } }

/* -------------------------------------------------------------------------
   9. EXPERIENCIA (timeline)
------------------------------------------------------------------------- */
.timeline-grid{ display:grid; grid-template-columns:.85fr 1.15fr; gap:64px; align-items:center; }
.timeline-media{ position:relative; }
.timeline-media img{ border-radius:var(--r-lg); width:100%; height:560px; object-fit:cover; box-shadow:var(--shadow-lg); }
.timeline-media-badge{
  position:absolute; bottom:-26px; right:-26px; background:var(--white); border-radius:var(--r-md);
  padding:20px 24px; box-shadow:var(--shadow-md); text-align:center; min-width:150px; border:1px solid var(--ink-100);
}
.timeline-media-badge strong{ display:block; font-family:var(--f-display); font-size:26px; color:var(--navy); }
.timeline-media-badge span{ font-size:11px; color:var(--ink-500); }
.timeline{ position:relative; padding-left:36px; }
.timeline::before{ content:""; position:absolute; left:9px; top:6px; bottom:6px; width:2px; background:var(--ink-150); }
.tl-item{ position:relative; padding-bottom:32px; }
.tl-item:last-child{ padding-bottom:0; }
.tl-item::before{ content:""; position:absolute; left:-36px; top:2px; width:20px; height:20px; border-radius:50%; background:var(--white); border:3px solid var(--navy); }
.tl-item.highlight::before{ background:var(--navy); border-color:var(--ice-tint-1); }
.tl-item h4{ font-size:16px; color:var(--navy-900); margin-bottom:5px; font-weight:700; }
.tl-item p{ font-size:14px; color:var(--ink-500); font-weight:300; }
.tl-item .tl-tag{ font-size:11px; font-weight:600; color:var(--navy); letter-spacing:.08em; text-transform:uppercase; }

/* -------------------------------------------------------------------------
   10. ESPECIALIDADES (3 pilares)
------------------------------------------------------------------------- */
.pillar-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.pillar-card{
  background:#fff; border:1px solid var(--ink-150); border-radius:var(--r-lg); padding:38px 32px; text-align:center;
  transition:transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.pillar-card:hover{ transform:translateY(-8px); box-shadow:var(--shadow-md); border-color:var(--ice-tint-1); }
.pillar-ic{ width:64px; height:64px; margin:0 auto 22px; border-radius:18px; background:linear-gradient(155deg, var(--navy), var(--navy-tint-1)); color:var(--ice); display:flex; align-items:center; justify-content:center; font-size:26px; }
.pillar-card h3{ font-size:18px; margin-bottom:12px; }
.pillar-card p{ font-size:14.5px; color:var(--ink-500); font-weight:300; }

/* -------------------------------------------------------------------------
   11. SERVICIOS
------------------------------------------------------------------------- */
.service-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.service-card{
  position:relative; background:var(--ice-050); border-radius:var(--r-lg); padding:30px; overflow:hidden;
  transition:transform .3s var(--ease), box-shadow .3s var(--ease);
}
.service-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-md); }
.service-card .ic{ width:48px; height:48px; border-radius:13px; background:#fff; color:var(--navy); display:flex; align-items:center; justify-content:center; margin-bottom:18px; box-shadow:var(--shadow-sm); }
.service-card h3{ font-size:16.5px; margin-bottom:10px; }
.service-card p{ font-size:13.5px; color:var(--ink-500); font-weight:300; margin-bottom:16px; }
.service-card .link{ font-size:13px; font-weight:600; color:var(--navy); display:inline-flex; align-items:center; gap:6px; }
.service-card.priority{ background:linear-gradient(165deg, var(--navy), var(--navy-tint-1)); color:#fff; }
.service-card.priority .ic{ background:rgba(255,255,255,.14); color:var(--ice); box-shadow:none; }
.service-card.priority h3{ color:#fff; }
.service-card.priority p{ color:rgba(255,255,255,.72); }
.service-card.priority .link{ color:var(--ice); }

/* -------------------------------------------------------------------------
   12. PROCESO
------------------------------------------------------------------------- */
.process-track{ display:grid; grid-template-columns:repeat(5,1fr); gap:20px; position:relative; }
.process-track::before{ content:""; position:absolute; top:29px; left:8%; width:84%; height:2px; background:var(--ink-150); }
.p-step{ position:relative; text-align:center; }
.p-num{
  width:58px; height:58px; margin:0 auto 20px; border-radius:50%; background:#fff; border:2px solid var(--navy);
  color:var(--navy); display:flex; align-items:center; justify-content:center; font-family:var(--f-display); font-weight:800; font-size:18px;
  position:relative; z-index:1;
}
.p-step h4{ font-size:14.5px; margin-bottom:8px; }
.p-step p{ font-size:12.5px; color:var(--ink-500); font-weight:300; }

/* -------------------------------------------------------------------------
   13. BENEFICIOS (mínimamente invasiva) — contadores
------------------------------------------------------------------------- */
.benefit-wrap{ display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center; }
.benefit-list{ display:flex; flex-direction:column; gap:20px; }
.benefit-item{ display:flex; gap:18px; align-items:flex-start; }
.benefit-item .ic{ width:44px; height:44px; border-radius:12px; background:rgba(191,225,242,.14); color:var(--ice); display:flex; align-items:center; justify-content:center; flex:none; }
.benefit-item strong{ display:block; font-size:15.5px; color:#fff; margin-bottom:4px; }
.benefit-item span{ font-size:13.5px; color:rgba(255,255,255,.62); font-weight:300; }
.counter-grid{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.counter-card{ background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.14); border-radius:var(--r-md); padding:28px; text-align:center; backdrop-filter:blur(8px); }
.counter-num{ font-family:var(--f-display); font-size:38px; font-weight:800; color:var(--ice); display:flex; align-items:baseline; justify-content:center; gap:2px; }
.counter-num .suffix{ font-size:20px; }
.counter-label{ margin-top:8px; font-size:12.5px; color:rgba(255,255,255,.6); }

@media (max-width:900px){ .benefit-wrap{ grid-template-columns:1fr; } }

/* -------------------------------------------------------------------------
   14. CASOS FRECUENTES / FAQ (acordeones)
------------------------------------------------------------------------- */
.case-list, .faq-list{ display:flex; flex-direction:column; gap:14px; }
.faq-list{ max-width:800px; margin:0 auto; }
.case-item{ border:1px solid var(--ink-150); border-radius:var(--r-md); overflow:hidden; background:#fff; }
.case-head{ width:100%; display:flex; align-items:center; gap:18px; padding:24px 26px; text-align:left; }
.case-num{ font-family:var(--f-display); font-size:19px; font-weight:800; color:var(--ice-tint-1); flex:none; width:32px; }
.case-head h3{ font-size:16px; font-weight:600; color:var(--navy-900); flex:1; }
.case-head .chevron{ flex:none; transition:transform .3s var(--ease); color:var(--ink-300); }
.case-item.open .chevron{ transform:rotate(180deg); color:var(--navy); }
.case-body{ max-height:0; overflow:hidden; transition:max-height .35s var(--ease); }
.case-body-inner{ padding:0 26px 26px 76px; }
.case-body-inner .q{ font-size:12.5px; font-weight:700; color:var(--navy); margin-bottom:6px; text-transform:uppercase; letter-spacing:.05em; }
.case-body-inner p{ font-size:14.5px; color:var(--ink-500); font-weight:300; margin-bottom:14px; }

.faq-item{ border-bottom:1px solid var(--ink-150); }
.faq-head{ width:100%; display:flex; justify-content:space-between; align-items:center; gap:20px; padding:22px 4px; text-align:left; }
.faq-head h3{ font-size:16px; font-weight:600; color:var(--navy-900); }
.faq-head .plus{ position:relative; width:20px; height:20px; flex:none; }
.faq-head .plus::before, .faq-head .plus::after{ content:""; position:absolute; background:var(--navy); border-radius:2px; transition:transform .3s var(--ease); }
.faq-head .plus::before{ left:0; top:9px; width:20px; height:2px; }
.faq-head .plus::after{ left:9px; top:0; width:2px; height:20px; }
.faq-item.open .plus::after{ transform:rotate(90deg); }
.faq-body{ max-height:0; overflow:hidden; transition:max-height .35s var(--ease); }
.faq-body-inner{ padding:0 4px 22px; font-size:14.5px; color:var(--ink-500); font-weight:300; }

/* -------------------------------------------------------------------------
   15. UBICACIÓN
------------------------------------------------------------------------- */
.location-grid{ display:grid; grid-template-columns:1fr 1fr; gap:24px; align-items:stretch; }
.location-card{ background:#fff; border:1px solid var(--ink-150); border-radius:var(--r-lg); padding:38px; box-shadow:var(--shadow-sm); }
.location-card h3{ font-size:20px; margin-bottom:20px; }
.location-detail{ display:flex; gap:12px; font-size:14.5px; color:var(--ink-500); margin-bottom:14px; align-items:flex-start; font-weight:300; }
.location-detail svg{ flex:none; color:var(--navy); margin-top:2px; }
.location-actions{ display:flex; gap:10px; margin-top:24px; flex-wrap:wrap; }
.location-map{ border-radius:var(--r-lg); overflow:hidden; box-shadow:var(--shadow-sm); border:1px solid var(--ink-150); }
.location-map iframe{ width:100%; height:100%; min-height:340px; border:none; filter:grayscale(.1) contrast(1.05); }

@media (max-width:900px){ .location-grid{ grid-template-columns:1fr; } }

/* -------------------------------------------------------------------------
   16. CTA FINAL GIGANTE
------------------------------------------------------------------------- */
.mega-cta{ position:relative; overflow:hidden; background:linear-gradient(120deg, var(--navy-900) 20%, var(--navy) 100%); }
.mega-cta-grid{ display:grid; grid-template-columns:1fr .8fr; gap:50px; align-items:center; padding:90px 0; }
.mega-cta-content h2{ color:#fff; font-size:clamp(30px,3.8vw,42px); margin-bottom:20px; }
.mega-cta-content p{ font-size:17px; color:rgba(255,255,255,.72); font-weight:300; margin-bottom:32px; max-width:480px; }
.mega-cta-actions{ display:flex; gap:14px; flex-wrap:wrap; }
.mega-cta-trust{ display:flex; gap:26px; margin-top:36px; flex-wrap:wrap; font-size:12.5px; color:rgba(255,255,255,.6); }
.mega-cta-trust span{ display:flex; align-items:center; gap:7px; }
.mega-cta-media{ position:relative; border-radius:var(--r-lg); overflow:hidden; box-shadow:var(--shadow-lg); }
.mega-cta-media img{ width:100%; height:460px; object-fit:cover; object-position:top center; }
.mega-cta-media::after{ content:""; position:absolute; inset:0; background:linear-gradient(0deg, rgba(16,20,42,.35), transparent 45%); }

@media (max-width:980px){ .mega-cta-grid{ grid-template-columns:1fr; } .mega-cta-media img{ height:340px; } }

/* -------------------------------------------------------------------------
   17. FOOTER
------------------------------------------------------------------------- */
.footer{ background:var(--navy-900); color:rgba(255,255,255,.58); padding:60px 0 26px; }
.footer-grid{ display:grid; grid-template-columns:1.3fr 1fr 1fr 1.1fr; gap:44px; padding-bottom:40px; border-bottom:1px solid rgba(255,255,255,.1); }
.footer-logo{ display:flex; align-items:center; gap:10px; margin-bottom:16px; }
.footer-logo img{ height:40px; filter:brightness(0) invert(1); }
.footer-logo span{ font-family:var(--f-display); font-weight:800; font-size:14px; color:#fff; }
.footer p.desc{ font-size:13px; max-width:270px; line-height:1.75; font-weight:300; }
.footer h4{ color:#fff; font-size:12px; letter-spacing:.08em; text-transform:uppercase; margin-bottom:18px; font-weight:700; }
.footer ul li{ margin-bottom:11px; font-size:13px; font-weight:300; }
.footer ul li a:hover{ color:#fff; }
.footer-social{ display:flex; gap:10px; margin-top:18px; }
.footer-social a{ width:36px; height:36px; border-radius:50%; border:1px solid rgba(255,255,255,.2); display:flex; align-items:center; justify-content:center; transition:.2s; }
.footer-social a:hover{ background:var(--ice-tint-1); border-color:var(--ice-tint-1); color:var(--navy-900); }
.footer-bottom{ display:flex; justify-content:space-between; padding-top:22px; font-size:11.5px; flex-wrap:wrap; gap:10px; }

/* -------------------------------------------------------------------------
   18. WHATSAPP FLOTANTE
------------------------------------------------------------------------- */
.wa-float{
  position:fixed; right:24px; bottom:24px; z-index:200; display:flex; align-items:center; gap:10px;
  background:var(--wa-green); color:#fff; padding:16px 22px; border-radius:var(--r-pill);
  box-shadow:0 16px 36px -10px rgba(37,211,102,.6); font-weight:600; font-size:14px;
  animation:wa-pulse 2.8s ease-in-out infinite;
}
.wa-float .wa-text{ max-width:0; overflow:hidden; white-space:nowrap; transition:max-width .3s var(--ease); }
.wa-float:hover .wa-text{ max-width:170px; }
@keyframes wa-pulse{ 0%,100%{ box-shadow:0 16px 36px -10px rgba(37,211,102,.6),0 0 0 0 rgba(37,211,102,.5); } 50%{ box-shadow:0 16px 36px -10px rgba(37,211,102,.6),0 0 0 14px rgba(37,211,102,0); } }
@media (max-width:640px){ .wa-float{ padding:16px; border-radius:50%; } .wa-float .wa-text{ display:none; } }

/* -------------------------------------------------------------------------
   19. RESPONSIVE GENERAL
------------------------------------------------------------------------- */
@media (max-width:1080px){
  .pillar-grid, .service-grid{ grid-template-columns:1fr 1fr; }
  .process-track{ grid-template-columns:repeat(3,1fr); row-gap:36px; }
  .process-track::before{ display:none; }
}
@media (max-width:900px){
  .timeline-grid{ grid-template-columns:1fr; }
  .timeline-media img{ height:380px; }
}
@media (max-width:640px){
  .section{ padding:76px 0; }
  .pillar-grid, .service-grid{ grid-template-columns:1fr; }
  .process-track{ grid-template-columns:1fr 1fr; }
  .counter-grid{ grid-template-columns:1fr 1fr; }
  .footer-grid{ grid-template-columns:1fr; }
  .trustbar-row{ justify-content:center; text-align:center; }
}
