/* ═══════════════════════════════════════════════════════════════════
   PROMOX — Hoja de estilos única
   Sistema de tokens: color, tipografía, espaciado, sombras.
   Mobile-first (min-width). Contraste verificado WCAG 2.1 AA.
   ═══════════════════════════════════════════════════════════════════ */

/* ─── 1. TOKENS ──────────────────────────────────────────────────── */
:root {
  /* Marca */
  --crimson: #C1272D;
  --crimson-dark: #8F1D23;
  --crimson-light: #E23B41;
  /* Acento accesible sobre fondos oscuros (6.8:1 sobre #1A2435) */
  --crimson-on-dark: #FF7478;
  --crimson-faint: rgba(193, 39, 45, 0.09);
  --crimson-faint-dark: rgba(255, 116, 120, 0.14);

  /* Neutros */
  --black: #111A28;
  --dark: #1A2435;
  --darker: #0D1420;
  --white: #FFFFFF;
  --off-white: #F3F6F9;
  --grey-light: #E1E7EE;
  --grey: #5B6879;          /* 5.8:1 sobre blanco */
  --grey-dark: #465466;
  --text: #172233;

  /* Texto sobre oscuro — alfas con contraste garantizado */
  --on-dark-strong: #FFFFFF;
  --on-dark: rgba(255, 255, 255, 0.78);   /* 11.0:1 */
  --on-dark-soft: rgba(255, 255, 255, 0.62); /*  7.6:1 */
  --on-dark-mute: rgba(255, 255, 255, 0.55); /*  6.2:1 */
  --on-dark-line: rgba(255, 255, 255, 0.10);
  --on-dark-line-strong: rgba(255, 255, 255, 0.16);
  --on-dark-fill: rgba(255, 255, 255, 0.045);
  --on-dark-fill-hover: rgba(255, 255, 255, 0.075);

  /* Tipografía */
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --fs-label: 0.75rem;      /* 12px — versalitas, badges, tags */
  --fs-micro: 0.8125rem;    /* 13px — notas legales, copyright, contadores */
  --fs-sm: 0.9375rem;       /* 15px — cuerpos de tarjeta, listas, links */
  --fs-base: 1rem;          /* 16px — párrafos */
  --fs-md: 1.0625rem;       /* 17px — párrafo destacado, h3 chico */
  --fs-lg: 1.125rem;        /* 18px — h3, título de formulario */
  --fs-quote: clamp(1.125rem, 0.85rem + 1.1vw, 1.5rem);
  --fs-plan: clamp(1.25rem, 1.1rem + 0.6vw, 1.4rem);
  --fs-h2: clamp(1.75rem, 1.1rem + 2.6vw, 2.5rem);
  --fs-h1: clamp(2.125rem, 1.2rem + 4.6vw, 4rem);

  --lh-tight: 1.12;
  --lh-snug: 1.35;
  --lh-normal: 1.6;
  --lh-relaxed: 1.78;

  --ls-display: -0.025em;
  --ls-label: 0.12em;

  /* Espaciado */
  --gutter: clamp(20px, 4.5vw, 32px);
  --section-y: clamp(64px, 9vw, 100px);
  --card-p: clamp(24px, 3.2vw, 34px);
  --nav-h: 64px;

  /* Formas y sombras */
  --radius: 6px;
  --radius-lg: 14px;
  --radius-pill: 99px;
  --shadow: 0 4px 24px rgba(15, 23, 42, 0.10);
  --shadow-lg: 0 12px 48px rgba(15, 23, 42, 0.18);
  --shadow-crimson: 0 6px 24px rgba(193, 39, 45, 0.34);

  --gradient-crimson: linear-gradient(135deg, var(--crimson-light) 0%, var(--crimson-dark) 100%);
  --gradient-hairline: linear-gradient(90deg, var(--crimson) 0%, rgba(193, 39, 45, 0) 100%);
  --gradient-hairline-dark: linear-gradient(90deg, var(--crimson-on-dark) 0%, rgba(255, 116, 120, 0) 100%);

  --t: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  /* Zonas de cobertura */
  --steel: #3B82D6;               /* acento frío: brillos y detalles en fondos oscuros */
  --steel-faint: rgba(59, 130, 214, 0.16);
  --surface-dark: linear-gradient(160deg, #1D2939 0%, #151E2D 100%);
  --surface-deep: linear-gradient(165deg, #172234 0%, #0F1726 100%);
  --zone-norte: #C1272D;
  --zone-oeste: #2563A8;
  --zone-sur: #0F7F7C;
}

/* ─── 2. RESET Y BASE ────────────────────────────────────────────── */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  /* Evita que los anclajes queden tapados por la barra fija */
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: var(--fs-base);
  font-weight: 400;
  color: var(--text);
  background: var(--white);
  line-height: var(--lh-normal);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
ul { list-style: none; }
strong, b { font-weight: 700; }

/* Palabras largas (topónimos, compuestos) no rompen el layout */
h1, h2, h3, p, li, a, span, td { overflow-wrap: break-word; }

/* Foco visible y consistente para navegación por teclado */
:focus-visible {
  outline: 3px solid var(--crimson-light);
  outline-offset: 3px;
  border-radius: 3px;
}
.hero :focus-visible,
.beneficios :focus-visible,
.contacto :focus-visible,
.footer :focus-visible,
.nav__mobile-menu :focus-visible,
.como-funciona__quote :focus-visible,
.plan-card--featured :focus-visible,
.reporte__callout :focus-visible {
  outline-color: var(--crimson-on-dark);
}

/* Enlace de salto: sólo visible al tabular */
.skip-link {
  position: absolute;
  left: 50%;
  top: 8px;
  transform: translate(-50%, -160%);
  z-index: 200;
  background: var(--white);
  color: var(--text);
  font-size: var(--fs-sm);
  font-weight: 700;
  padding: 10px 18px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  transition: transform var(--t);
}
.skip-link:focus { transform: translate(-50%, 0); }

.container {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Offset de anclaje por sección */
main > section { scroll-margin-top: var(--nav-h); }

/* ─── 3. TIPOGRAFÍA DE SECCIÓN ───────────────────────────────────── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: var(--ls-label);
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--crimson);
  margin-bottom: 14px;
}
.section-label::before {
  content: '';
  flex: none;
  width: 24px;
  height: 2px;
  background: var(--gradient-hairline);
}

.section-title {
  font-size: var(--fs-h2);
  font-weight: 800;
  letter-spacing: var(--ls-display);
  line-height: var(--lh-tight);
  color: var(--text);
  margin-bottom: 18px;
  text-wrap: balance;
}

.section-body {
  font-size: var(--fs-base);
  color: var(--grey-dark);
  line-height: var(--lh-relaxed);
}
/* Utilidades que reemplazan los style="" en línea del HTML original */
.section-body--center { margin-inline: auto; text-align: left; }
.u-measure-sm { max-width: 560px; }
.u-measure-md { max-width: 620px; }
.u-measure-lg { max-width: 660px; }
.u-center { text-align: center; }

/* Cabeceras centradas reutilizables */
.sec-head { text-align: center; margin-bottom: clamp(40px, 5.5vw, 60px); }
.sec-head .section-label { justify-content: center; }

/* Variante sobre fondo oscuro */
.sec-head--invert .section-label { color: var(--crimson-on-dark); }
.sec-head--invert .section-label::before { background: var(--gradient-hairline-dark); }
.sec-head--invert .section-title { color: var(--on-dark-strong); }
.sec-head--invert .section-body { color: var(--on-dark-soft); }

/* ─── 4. REVEAL (scroll) ─────────────────────────────────────────── */
/* Sin JS el contenido debe ser visible: sólo se oculta si html.js existe */
.reveal { opacity: 1; }
html.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--t), transform 0.6s var(--t);
  will-change: opacity, transform;
}
html.js .reveal.visible {
  opacity: 1;
  transform: none;
  will-change: auto;
  /* NOTA: aquí había un background-color: #fffefe que pintaba de blanco
     TODAS las tarjetas al entrar en pantalla. Era la causa de que no se
     vieran hasta pasar el cursor. No debe volver a declararse fondo acá. */
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* ─── 5. NAVEGACIÓN ──────────────────────────────────────────────── */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--grey-light);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--nav-h);
}
.nav__logo { display: flex; align-items: center; flex: none; }
.nav__logo img { height: 44px; width: auto; }

.nav__links {
  display: none;
  align-items: center;
  gap: 22px;
}
.nav__links a {
  position: relative;
  display: block;
  padding: 6px 0;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--grey-dark);
  letter-spacing: 0.01em;
  transition: color var(--t);
}
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--crimson);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t);
}
.nav__links a:hover { color: var(--text); }
.nav__links a[aria-current] { color: var(--text); font-weight: 600; }
.nav__links a[aria-current]::after { transform: scaleX(1); }

.nav__links .nav__cta {
  padding: 9px 20px;
  border-radius: var(--radius);
  background: var(--gradient-crimson);
  color: var(--white);
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(193, 39, 45, 0.28);
  transition: filter var(--t), box-shadow var(--t);
}
.nav__links .nav__cta::after { display: none; }
.nav__links .nav__cta[aria-current] { color: var(--white); }
.nav__links .nav__cta:hover {
  color: var(--white);
  filter: brightness(1.08);
  box-shadow: 0 4px 16px rgba(193, 39, 45, 0.4);
}

.nav__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  /* Objetivo táctil de 44x44 según pautas de accesibilidad móvil */
  width: 44px;
  height: 44px;
  align-items: center;
  margin-right: -8px;
}
.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--t), opacity var(--t);
}
.nav__hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile-menu {
  display: none;
  position: fixed;
  inset: var(--nav-h) 0 auto 0;
  max-height: calc(100dvh - var(--nav-h));
  overflow-y: auto;
  z-index: 99;
  flex-direction: column;
  background: var(--dark);
  background: var(--surface-dark);
  border-bottom: 1px solid rgba(193, 39, 45, 0.25);
  padding: 12px var(--gutter) 24px;
}
.nav__mobile-menu.open { display: flex; }
.nav__mobile-menu a {
  display: block;
  padding: 14px 0;
  font-size: var(--fs-base);
  font-weight: 500;
  color: var(--on-dark);
  border-bottom: 1px solid var(--on-dark-line);
}
.nav__mobile-menu a:hover,
.nav__mobile-menu a[aria-current] { color: var(--on-dark-strong); }
.nav__mobile-menu .nav__mobile-cta {
  margin-top: 16px;
  text-align: center;
  background: var(--gradient-crimson);
  color: var(--white);
  padding: 14px;
  border-radius: var(--radius);
  font-weight: 700;
  border: none;
  box-shadow: 0 2px 12px rgba(193, 39, 45, 0.3);
}

/* Bloqueo de scroll con el menú abierto */
body.menu-open { overflow: hidden; }

/* ─── 6. BOTONES ─────────────────────────────────────────────────── */
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.01em;
  border-radius: var(--radius);
  min-height: 48px;
  padding: 13px 26px;
  transition: filter var(--t), transform var(--t), box-shadow var(--t),
              border-color var(--t), color var(--t), background var(--t);
}
.btn-primary {
  background: var(--gradient-crimson);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(193, 39, 45, 0.4);
}
.btn-primary:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(193, 39, 45, 0.52);
}
.btn-secondary {
  background: transparent;
  color: var(--on-dark);
  font-weight: 500;
  border: 1px solid var(--on-dark-line-strong);
}
.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--on-dark-strong);
  background: rgba(255, 255, 255, 0.06);
}

/* ─── 7. HERO ────────────────────────────────────────────────────── */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* Antes: min-height:100vh. Con el bloque de estadísticas retirado
     eso dejaba un vacío enorme; ahora la altura se ajusta al contenido. */
  min-height: clamp(520px, 78svh, 720px);
  overflow: hidden;
  background:
    radial-gradient(ellipse 55% 65% at 0% 100%, rgba(59, 130, 214, 0.16) 0%, transparent 100%),
    var(--surface-deep);
  padding: calc(var(--nav-h) + clamp(40px, 7vw, 72px)) 0 clamp(56px, 8vw, 88px);
}
.hero::before,
.hero::after { content: ''; position: absolute; pointer-events: none; }
.hero::before {
  inset: 0;
  background-image: radial-gradient(rgba(193, 39, 45, 0.18) 1px, transparent 1px);
  background-size: 36px 36px;
  opacity: 0.55;
}
.hero::after {
  top: -10%;
  right: -5%;
  width: 55%;
  height: 110%;
  background: radial-gradient(closest-side, rgba(193, 39, 45, 0.20) 0%, transparent 100%);
}
.hero__inner { position: relative; z-index: 2; max-width: 820px; }

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: var(--ls-label);
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--crimson-on-dark);
  margin-bottom: 22px;
  opacity: 0;
  animation: fadeUp 0.8s 0.2s forwards;
}
.hero__eyebrow-line {
  flex: none;
  width: 32px;
  height: 1px;
  background: var(--gradient-hairline-dark);
}
.hero__title {
  font-size: var(--fs-h1);
  font-weight: 800;
  line-height: var(--lh-tight);
  letter-spacing: -0.03em;
  color: var(--on-dark-strong);
  margin-bottom: 24px;
  max-width: 20ch;
  text-wrap: balance;
  opacity: 0;
  animation: fadeUp 0.8s 0.35s forwards;
}
.hero__title-accent { color: var(--crimson-light); }
.hero__subtitle {
  font-size: clamp(1rem, 0.94rem + 0.3vw, 1.125rem);
  font-weight: 300;
  color: var(--on-dark-soft);
  max-width: 56ch;
  line-height: var(--lh-relaxed);
  margin-bottom: 36px;
  opacity: 0;
  animation: fadeUp 0.8s 0.5s forwards;
}
.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s 0.65s forwards;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

/* ─── 8. PROPUESTA / MISIÓN ──────────────────────────────────────── */
.problema {
  background: var(--off-white);
  padding: var(--section-y) 0;
}
.problema__problem {
  position: relative;
  overflow: hidden;
  background: var(--dark);
  background: var(--surface-dark);
  border-radius: var(--radius-lg);
  padding: var(--card-p);
  color: var(--on-dark);
}
.problema__problem::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(193, 39, 45, 0.15) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.problema__problem-inner { position: relative; z-index: 1; max-width: 76ch; }
.problema__problem-label {
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: var(--ls-label);
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--crimson-on-dark);
  margin-bottom: 16px;
}
.problema__problem-text {
  /* Antes: color rgba(0,0,0,0.92) sobre fondo oscuro → contraste 1.1:1, ilegible. */
  font-size: var(--fs-md);
  line-height: var(--lh-relaxed);
  color: var(--on-dark);
}
.problema__problem-text + .problema__problem-text { margin-top: 18px; }
.problema__problem-text strong { color: var(--on-dark-strong); font-weight: 700; }

/* ─── 9. BENEFICIOS ──────────────────────────────────────────────── */
.beneficios {
  position: relative;
  overflow: hidden;
  background: var(--dark);
  background: var(--surface-dark);
  padding: var(--section-y) 0;
}
.beneficios::before {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 60%;
  height: 100%;
  background: radial-gradient(ellipse, rgba(59, 130, 214, 0.12) 0%, transparent 65%);
  pointer-events: none;
}
.beneficios .container { position: relative; z-index: 1; }
.beneficios__grid { display: grid; grid-template-columns: 1fr; gap: 18px; }

.benefit-card {
  position: relative;
  overflow: hidden;
  background: var(--on-dark-fill);
  border: 1px solid var(--on-dark-line);
  border-radius: var(--radius-lg);
  padding: var(--card-p);
  transition: background var(--t), border-color var(--t), transform var(--t);
}
.benefit-card::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background: var(--crimson);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.benefit-card:hover {
  background: var(--on-dark-fill-hover);
  border-color: rgba(255, 116, 120, 0.38);
  transform: translateY(-4px);
}
.benefit-card:hover::after { transform: scaleX(1); }
.benefit-card__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
  background: var(--crimson-faint-dark);
  border-radius: var(--radius);
  color: var(--crimson-on-dark);
  margin-bottom: 18px;
}
.benefit-card__title {
  font-size: var(--fs-md);
  font-weight: 700;
  line-height: var(--lh-snug);
  color: var(--on-dark-strong);
  margin-bottom: 10px;
  text-wrap: balance;
}
.benefit-card__body {
  font-size: var(--fs-sm);
  font-weight: 300;
  line-height: var(--lh-relaxed);
  color: var(--on-dark-soft);
}

/* ─── 10. METODOLOGÍA ────────────────────────────────────────────── */
.como-funciona {
  background: var(--white);
  padding: var(--section-y) 0;
}
.como-funciona__steps {
  display: grid;
  grid-template-columns: 1fr;
  /* Antes gap:0 → en móvil las tarjetas quedaban pegadas una a otra */
  gap: 40px;
  position: relative;
}
.como-funciona__steps::before {
  /* Línea conectora: sólo tiene sentido cuando hay 3 columnas */
  content: '';
  display: none;
  position: absolute;
  top: 22px;
  left: calc(16.66% + 24px);
  right: calc(16.66% + 24px);
  height: 1px;
  background: linear-gradient(90deg, var(--crimson), rgba(193, 39, 45, 0.2));
}
.step-card { text-align: center; }
.step-card__number {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin: 0 auto 22px;
  font-size: var(--fs-label);
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--crimson);
  border: 2px solid var(--crimson);
  border-radius: 50%;
  background: var(--white);
  position: relative;
  z-index: 1;
}
.step-card__title {
  font-size: var(--fs-lg);
  font-weight: 700;
  line-height: var(--lh-snug);
  color: var(--text);
  margin-bottom: 10px;
}
.step-card__body {
  font-size: var(--fs-sm);
  line-height: var(--lh-relaxed);
  color: var(--grey-dark);
  max-width: 38ch;
  margin-inline: auto;
}
.step-card__tag {
  display: inline-block;
  margin-top: 14px;
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--crimson);
  background: var(--crimson-faint);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

.como-funciona__quote {
  position: relative;
  overflow: hidden;
  margin-top: clamp(48px, 7vw, 72px);
  background: var(--dark);
  background: var(--surface-dark);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 48px) clamp(24px, 4.5vw, 56px);
}
.como-funciona__quote::before {
  content: '"';
  position: absolute;
  top: -24px;
  left: 24px;
  font-size: 12rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(255, 116, 120, 0.14);
  pointer-events: none;
}
.como-funciona__quote-text {
  position: relative;
  font-size: var(--fs-quote);
  font-weight: 600;
  line-height: 1.5;
  color: var(--on-dark-strong);
  max-width: 44ch;
  text-wrap: pretty;
}
.como-funciona__quote-text em { font-style: normal; color: var(--crimson-on-dark); }

/* ─── 10.5 EL REPORTE ────────────────────────────────────────────── */
.reporte {
  background: var(--white);
  padding: var(--section-y) 0;
}
.reporte__niveles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-bottom: clamp(40px, 5.5vw, 56px);
}
.nivel-card {
  background: var(--off-white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius-lg);
  padding: var(--card-p);
  transition: box-shadow var(--t), transform var(--t), border-color var(--t);
}
.nivel-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(193, 39, 45, 0.25);
  transform: translateY(-4px);
}
.nivel-card__tag {
  display: inline-block;
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--text);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}
.nivel-card__title {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}
.nivel-card__body {
  font-size: var(--fs-sm);
  line-height: var(--lh-relaxed);
  color: var(--grey-dark);
}

.reporte__preguntas {
  margin-bottom: clamp(40px, 5.5vw, 56px);
}
.reporte__preguntas-title {
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--text);
  text-align: center;
  margin-bottom: 28px;
}
.preguntas-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.pregunta-item { text-align: center; }
.pregunta-item__number {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin: 0 auto 14px;
  font-size: var(--fs-label);
  font-weight: 800;
  color: var(--crimson);
  border: 2px solid var(--crimson);
  border-radius: 50%;
  background: var(--white);
}
.pregunta-item p {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text);
  line-height: var(--lh-snug);
  max-width: 26ch;
  margin-inline: auto;
}

.reporte__callout {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  background: var(--dark);
  background: var(--surface-dark);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 48px) clamp(24px, 4.5vw, 56px);
}
.reporte__callout::before {
  content: '"';
  position: absolute;
  top: -24px;
  left: 24px;
  font-size: 9rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(255, 116, 120, 0.14);
  pointer-events: none;
}
.reporte__callout-text { position: relative; max-width: 560px; }
.reporte__callout-lead {
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--on-dark-strong);
  line-height: var(--lh-snug);
  margin-bottom: 8px;
}
.reporte__callout-lead em { font-style: normal; color: var(--crimson-on-dark); }
.reporte__callout-body {
  font-size: var(--fs-sm);
  color: var(--on-dark-soft);
  line-height: var(--lh-relaxed);
}
.reporte__callout-cta {
  position: relative;
  flex-shrink: 0;
  width: 100%;
  text-align: center;
}

/* ─── 11. PLANES ─────────────────────────────────────────────────── */
.planes {
  background: var(--off-white);
  padding: var(--section-y) 0;
}
.planes__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: stretch;
}
.plan-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius-lg);
  padding: var(--card-p);
  transition: box-shadow var(--t), transform var(--t), border-color var(--t);
}
.plan-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(193, 39, 45, 0.25);
  transform: translateY(-4px);
}
/* Reserva de altura para que los nombres queden alineados aunque
   una tarjeta no lleve badge */
.plan-card__badge-slot { min-height: 26px; margin-bottom: 16px; }
.plan-card__badge {
  display: inline-block;
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
  background: var(--gradient-crimson);
  color: var(--white);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 10px rgba(193, 39, 45, 0.3);
}
.plan-card__badge--soft {
  background: var(--crimson-faint);
  color: var(--crimson);
  border: 1px solid rgba(193, 39, 45, 0.22);
  box-shadow: none;
}
.plan-card__name {
  font-size: var(--fs-plan);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: var(--lh-snug);
  color: var(--text);
  margin-bottom: 8px;
}
.plan-card__tagline {
  font-size: var(--fs-sm);
  line-height: var(--lh-normal);
  color: var(--grey-dark);
  margin-bottom: 24px;
}
.plan-card__divider {
  height: 1px;
  background: var(--grey-light);
  margin-bottom: 22px;
}
.plan-card__features { margin-bottom: 28px; }
.plan-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: var(--fs-sm);
  line-height: var(--lh-normal);
  color: var(--grey-dark);
}
.plan-card__features li + li { margin-top: 11px; }
.plan-card__features li svg { flex: none; color: var(--crimson); margin-top: 5px; }

.plan-card__cta {
  display: block;
  text-align: center;
  margin-top: auto;
  padding: 13px 18px;
  min-height: 48px;
  border-radius: var(--radius);
  font-size: var(--fs-sm);
  font-weight: 700;
  line-height: 1.4;
  transition: background var(--t), color var(--t), filter var(--t), box-shadow var(--t);
}
.plan-card__cta--outline {
  border: 1.5px solid var(--text);
  color: var(--text);
}
.plan-card__cta--outline:hover { background: var(--text); color: var(--white); }
.plan-card__cta--solid {
  background: var(--gradient-crimson);
  color: var(--white);
  box-shadow: 0 3px 14px rgba(193, 39, 45, 0.3);
}
.plan-card__cta--solid:hover {
  filter: brightness(1.08);
  box-shadow: 0 5px 20px rgba(193, 39, 45, 0.42);
}

/* Tarjeta destacada (oscura) */
.plan-card--featured {
  position: relative;
  background: var(--dark);
  background: var(--surface-dark);
  border-color: transparent;
  box-shadow: 0 8px 40px rgba(15, 23, 42, 0.25);
}
.plan-card--featured:hover {
  border-color: transparent;
  box-shadow: 0 16px 56px rgba(15, 23, 42, 0.4);
}
.plan-card--featured .plan-card__name { color: var(--on-dark-strong); }
.plan-card--featured .plan-card__tagline { color: var(--on-dark-mute); }
.plan-card--featured .plan-card__divider { background: var(--on-dark-line); }
.plan-card--featured .plan-card__features li { color: var(--on-dark); }
.plan-card--featured .plan-card__features li svg { color: var(--crimson-on-dark); }

/* ─── 12. PARA QUIÉN TRABAJAMOS ──────────────────────────────────── */
.verticales {
  background: var(--white);
  padding: var(--section-y) 0;
}
.verticales__grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.vertical-card {
  background: var(--off-white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius-lg);
  padding: var(--card-p);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.vertical-card:hover {
  transform: translateY(-4px);
  border-color: rgba(193, 39, 45, 0.32);
  box-shadow: var(--shadow);
}
.vertical-card__rule {
  width: 28px;
  height: 2px;
  background: var(--gradient-crimson);
  border-radius: 2px;
  margin-bottom: 14px;
}
.vertical-card__title {
  font-size: var(--fs-md);
  font-weight: 700;
  line-height: var(--lh-snug);
  color: var(--text);
  margin-bottom: 8px;
  text-wrap: balance;
}
.vertical-card__body {
  font-size: var(--fs-sm);
  line-height: var(--lh-relaxed);
  color: var(--grey-dark);
}

/* ─── 13. QUIÉNES SOMOS ──────────────────────────────────────────── */
.nosotros {
  background: var(--off-white);
  padding: var(--section-y) 0;
}
.nosotros__story {
  max-width: 72ch;
  margin: 0 auto clamp(32px, 5vw, 44px);
}
.nosotros__story p {
  font-size: var(--fs-base);
  line-height: var(--lh-relaxed);
  color: var(--grey-dark);
}
.nosotros__story p + p { margin-top: 18px; }
.nosotros__story strong { color: var(--text); font-weight: 700; }

.nosotros__grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.socio-card {
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius-lg);
  padding: var(--card-p);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.socio-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(193, 39, 45, 0.28);
}
.socio-card__avatar {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--gradient-crimson);
  color: var(--white);
  font-size: var(--fs-base);
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
  box-shadow: 0 4px 14px rgba(193, 39, 45, 0.28);
}
.socio-card__name {
  font-size: var(--fs-lg);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: var(--lh-snug);
  color: var(--text);
}
.socio-card__role {
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.5;
  color: var(--crimson);
  margin: 7px 0 12px;
}
.socio-card__body {
  font-size: var(--fs-sm);
  line-height: var(--lh-relaxed);
  color: var(--grey-dark);
}
.nosotros__note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  text-align: center;
  margin-top: clamp(32px, 5vw, 40px);
  font-size: var(--fs-sm);
  color: var(--grey-dark);
}
.nosotros__note strong { color: var(--text); font-weight: 700; }
.flag-ar {
  display: inline-block;
  flex: none;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.12);
}

/* ─── 14. COBERTURA ──────────────────────────────────────────────── */
.cobertura {
  background: var(--off-white);
  padding: var(--section-y) 0;
}
.cobertura__tabs {
  display: inline-flex;
  flex-direction: column;
  width: 100%;
  background: var(--grey-light);
  border-radius: var(--radius);
  padding: 4px;
  gap: 3px;
  margin-bottom: 26px;
  text-align: left;
}
.cobertura__tab {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: 4px;
  font-family: inherit;
  font-size: var(--fs-sm);
  font-weight: 600;
  background: transparent;
  color: var(--grey-dark);
  white-space: nowrap;
  transition: background var(--t), color var(--t), box-shadow var(--t);
}
.cobertura__tab-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; }
/* Colores de zona: los usan pestañas, mapas SVG y etiquetas */
.zone-dot--norte { background: var(--zone-norte); }
.zone-dot--oeste { background: var(--zone-oeste); }
.zone-dot--sur { background: var(--zone-sur); }
.cobertura__tab.active {
  background: var(--white);
  color: var(--text);
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.12);
}
.cobertura__tab:hover:not(.active) { background: rgba(255, 255, 255, 0.6); color: var(--text); }

.cobertura__panel { display: none; }
.cobertura__panel.active { display: block; }
.cobertura__map-card {
  max-width: 880px;
  margin-inline: auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(15, 23, 42, 0.07), 0 0 0 1px var(--grey-light);
}
.cobertura__map-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 18px var(--card-p);
  border-bottom: 1px solid var(--grey-light);
}
.cobertura__map-header-left { display: flex; align-items: center; gap: 10px; }
.cobertura__zone-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; }
.cobertura__zone-name { font-size: var(--fs-md); font-weight: 700; color: var(--text); }
.cobertura__count { font-size: var(--fs-micro); color: var(--grey); }
.cobertura__map-wrap { position: relative; }
.cobertura__map {
  position: relative;
  width: 100%;
  aspect-ratio: 800 / 620;
  background: #F5F8FA;
  overflow: hidden;
}
.cobertura__svg { display: block; width: 100%; height: 100%; }
.cobertura__map-fallback {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  padding: var(--card-p);
  font-size: var(--fs-sm);
  color: var(--grey-dark);
  text-align: center;
}
/* Partidos recorridos: subdivisiones estilo "mapa político" */
.cobertura__partido { stroke: #fff; stroke-width: 1.5; }
.cobertura__outline { fill: none; stroke-linejoin: round; }
/* Recorrido: trazo animado que "dibuja" la gira ciudad por ciudad */
.cobertura__route {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke-dashoffset 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.cobertura__stop { cursor: pointer; outline: none; }
.cobertura__stop-dot { transition: filter var(--t), transform var(--t); transform-box: fill-box; transform-origin: center; }
.cobertura__stop:hover .cobertura__stop-dot,
.cobertura__stop:focus-visible .cobertura__stop-dot,
.cobertura__stop.is-active .cobertura__stop-dot {
  filter: drop-shadow(0 3px 6px rgba(15, 23, 42, 0.4));
  transform: scale(1.16);
}
.cobertura__stop:focus-visible .cobertura__stop-dot { stroke: var(--text); }
.cobertura__stop-num {
  font-family: var(--font); font-weight: 800; font-size: 11px; fill: #fff; pointer-events: none;
}
.cobertura__stop-label {
  font-family: var(--font); font-weight: 700; font-size: 12px; fill: var(--text); pointer-events: none;
  paint-order: stroke; stroke: rgba(255, 255, 255, 0.92); stroke-width: 3px; stroke-linejoin: round;
}
.cobertura__stop--ref .cobertura__stop-label { fill: var(--grey-dark); font-weight: 600; }
.cobertura__compass circle { fill: var(--white); stroke: var(--grey-light); stroke-width: 1.5; }
.cobertura__compass text { text-anchor: middle; }
.cobertura__scale line { stroke: var(--grey); stroke-width: 1.5; }
.cobertura__scale text { text-anchor: middle; }
.cobertura__compass text, .cobertura__scale text {
  font-family: var(--font); fill: var(--grey); font-size: 11px; font-weight: 700;
}
.cobertura__replay {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  display: flex; align-items: center; gap: 6px;
  padding: 8px 13px; border: 0; border-radius: var(--radius-pill);
  background: var(--white); color: var(--text);
  font-family: inherit; font-size: var(--fs-micro); font-weight: 700;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.18);
  cursor: pointer; transition: background var(--t);
}
.cobertura__replay svg { width: 14px; height: 14px; flex: none; }
.cobertura__replay:hover { background: var(--off-white); }
.cobertura__km { color: var(--grey); }
.cobertura__count-sep { margin: 0 6px; color: var(--grey-light); }
.cobertura__detail {
  display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px;
  min-height: 46px;
  padding: 10px var(--card-p);
  border-top: 1px solid var(--grey-light);
  font-size: var(--fs-sm);
  background: #F7F9FC;
}
.cobertura__detail-empty { color: var(--grey); }
.cobertura__detail-name { font-weight: 800; color: var(--text); }
.cobertura__detail-step { color: var(--grey); font-size: var(--fs-micro); }
.cobertura__detail-link { margin-left: auto; font-weight: 700; color: var(--crimson); white-space: nowrap; }
.cobertura__detail-link:hover { text-decoration: underline; }
.cobertura__itinerary {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  list-style: none;
  margin: 0;
  padding: 14px var(--card-p);
  border-top: 1px solid var(--grey-light);
}
.cobertura__stop-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: inherit;
  font-size: var(--fs-micro);
  font-weight: 600;
  padding: 4px 11px 4px 5px;
  border-radius: var(--radius-pill);
  border: 0;
  background: var(--grey-light);
  color: var(--grey-dark);
  letter-spacing: 0.01em;
  transition: background var(--t), color var(--t), box-shadow var(--t);
}
button.cobertura__stop-chip { cursor: pointer; }
button.cobertura__stop-chip:hover { box-shadow: inset 0 0 0 1.5px currentColor; }
button.cobertura__stop-chip.is-active { background: var(--text) !important; color: var(--white) !important; }
button.cobertura__stop-chip.is-active .cobertura__stop-badge { background: var(--white); color: var(--text); }
.cobertura__stop-badge {
  display: inline-grid; place-items: center;
  width: 18px; height: 18px; flex: none; border-radius: 50%;
  font-size: 10.5px; font-weight: 800; color: var(--white);
}
.cobertura__stop-chip--start {
  font-style: italic;
  background: transparent !important;
  color: var(--grey) !important;
  box-shadow: inset 0 0 0 1.5px var(--grey-light);
}
.cobertura__stop-chip--start .cobertura__stop-badge { background: var(--grey); }
.cobertura__itinerary--norte .cobertura__stop-chip:not(.cobertura__stop-chip--start) { background: #FCEEEF; color: #9E1F25; }
.cobertura__itinerary--norte .cobertura__stop-badge { background: var(--zone-norte); }
.cobertura__itinerary--oeste .cobertura__stop-chip:not(.cobertura__stop-chip--start) { background: #EBF2FB; color: #1E5391; }
.cobertura__itinerary--oeste .cobertura__stop-badge { background: var(--zone-oeste); }
.cobertura__itinerary--sur .cobertura__stop-chip:not(.cobertura__stop-chip--start) { background: #E7F5F4; color: #0B6664; }
.cobertura__itinerary--sur .cobertura__stop-badge { background: var(--zone-sur); }
@media (max-width: 599px) {
  .cobertura__stop-label { font-size: 10.5px; }
  .cobertura__replay span { display: none; }
  .cobertura__detail-link { margin-left: 0; }
}

/* ─── 15. CONTACTO ───────────────────────────────────────────────── */
.contacto {
  position: relative;
  overflow: hidden;
  background: var(--dark);
  background: var(--surface-dark);
  padding: var(--section-y) 0;
}
.contacto::before {
  content: '';
  position: absolute;
  inset: 0 0 0 auto;
  width: 55%;
  background: radial-gradient(ellipse at 80% 50%, rgba(193, 39, 45, 0.1) 0%, transparent 65%);
  pointer-events: none;
}
.contacto__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(36px, 5vw, 48px);
  align-items: start;
}
.contacto__intro .section-label { color: var(--crimson-on-dark); }
.contacto__intro .section-label::before { background: var(--gradient-hairline-dark); }
.contacto__intro .section-title { color: var(--on-dark-strong); }
.contacto__intro .section-body { color: var(--on-dark-soft); max-width: 46ch; }

.contacto__info { margin-top: 32px; }
.contacto__info-item { display: flex; align-items: center; gap: 14px; }
.contacto__info-item + .contacto__info-item { margin-top: 16px; }
.contacto__info-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  background: var(--crimson-faint-dark);
  border-radius: var(--radius);
  color: var(--crimson-on-dark);
}
.contacto__info-text { font-size: var(--fs-sm); color: var(--on-dark); }
.contacto__info-text strong {
  display: block;
  color: var(--on-dark-strong);
  font-size: var(--fs-sm);
  font-weight: 700;
  margin-bottom: 2px;
}
.contacto__info-text a { color: var(--on-dark); transition: color var(--t); }
.contacto__info-text a:hover { color: var(--on-dark-strong); text-decoration: underline; }

/* Formulario */
.form {
  background: var(--on-dark-fill);
  border: 1px solid var(--on-dark-line);
  border-radius: var(--radius-lg);
  padding: var(--card-p);
}
.form__title {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--on-dark-strong);
  margin-bottom: 24px;
}
.form__row { display: grid; grid-template-columns: 1fr; gap: 16px; }
.form__field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form__row .form__field { margin-bottom: 0; }
.form__row { margin-bottom: 16px; }
.form__label {
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-dark-mute);
}
.form__input,
.form__select,
.form__textarea {
  width: 100%;
  min-height: 48px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--on-dark-line-strong);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-family: inherit;
  font-size: var(--fs-base); /* 16px evita el zoom automático en iOS */
  color: var(--on-dark-strong);
  transition: border-color var(--t), background var(--t), box-shadow var(--t);
}
.form__input::placeholder,
.form__textarea::placeholder { color: rgba(255, 255, 255, 0.5); }
.form__select { appearance: none; cursor: pointer; padding-right: 42px;
  background-image: linear-gradient(45deg, transparent 50%, rgba(255,255,255,0.6) 50%),
                    linear-gradient(135deg, rgba(255,255,255,0.6) 50%, transparent 50%);
  background-position: calc(100% - 20px) center, calc(100% - 14px) center;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
.form__select option { background: var(--dark); color: var(--white); }
.form__input:focus-visible,
.form__select:focus-visible,
.form__textarea:focus-visible {
  outline: none;
  border-color: var(--crimson-on-dark);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 3px rgba(255, 116, 120, 0.3);
}
.form__input[aria-invalid="true"],
.form__select[aria-invalid="true"],
.form__textarea[aria-invalid="true"] { border-color: #FF8A8A; }
.form__textarea { resize: vertical; min-height: 120px; }
.form__error-msg {
  display: none;
  font-size: var(--fs-micro);
  font-weight: 600;
  color: #FF9A9A;
}
.form__error-msg.visible { display: block; }
.form__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 50px;
  background: var(--gradient-crimson);
  color: var(--white);
  font-family: inherit;
  font-size: var(--fs-sm);
  font-weight: 700;
  padding: 14px 28px;
  border-radius: var(--radius);
  margin-top: 8px;
  box-shadow: 0 4px 16px rgba(193, 39, 45, 0.4);
  transition: filter var(--t), box-shadow var(--t);
}
.form__submit:hover { filter: brightness(1.08); box-shadow: 0 6px 24px rgba(193, 39, 45, 0.55); }
.form__submit:disabled { opacity: 0.65; cursor: not-allowed; filter: none; }
.form__notice {
  font-size: var(--fs-micro);
  color: var(--on-dark-mute);
  text-align: center;
  margin-top: 12px;
  line-height: var(--lh-normal);
}
.form__alert {
  display: none;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: var(--radius);
  background: rgba(255, 138, 138, 0.12);
  border: 1px solid rgba(255, 138, 138, 0.4);
  font-size: var(--fs-micro);
  line-height: var(--lh-normal);
  color: #FFC9C9;
}
.form__alert.visible { display: block; }
.form__success { display: none; text-align: center; padding: 28px 0; }
.form__success.visible { display: block; }
.form__success-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  background: var(--crimson-faint-dark);
  border-radius: 50%;
  margin: 0 auto 16px;
  color: var(--crimson-on-dark);
}
.form__success-title {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--on-dark-strong);
  margin-bottom: 8px;
}
.form__success-body { font-size: var(--fs-sm); color: var(--on-dark-soft); }
/* Trampa antispam de Formspree: fuera de pantalla, nunca visible ni tabulable */
.form__gotcha {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}


/* ─── 15b. REDES SOCIALES ────────────────────────────────────────── */
.social { display: flex; gap: 10px; margin-top: 22px; }
.social__link {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--on-dark-line-strong);
  color: var(--white);
  transition: background var(--t), border-color var(--t), transform var(--t), box-shadow var(--t);
}
.social__link svg { width: 20px; height: 20px; }
.social__link:hover {
  background: var(--gradient-crimson);
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: var(--shadow-crimson);
}

/* ─── 15c. SUMÁ TU AGENCIA ───────────────────────────────────────── */
.agencias {
  background: var(--white);
  padding: var(--section-y) 0;
}
.agencias__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(36px, 5vw, 48px);
  align-items: start;
}
.agencias__intro .section-body { max-width: 50ch; }
.agencias__intro .section-body + .section-body { margin-top: 14px; }
.agencias__points { margin-top: 26px; }
.agencias__points li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: var(--fs-sm);
  line-height: var(--lh-normal);
  color: var(--text);
}
.agencias__points li + li { margin-top: 14px; }
.agencias__points svg { flex: none; color: var(--crimson); margin-top: 4px; }
.agencias__note {
  margin-top: 26px;
  padding-left: 14px;
  border-left: 2px solid var(--crimson);
  font-size: var(--fs-micro);
  line-height: var(--lh-normal);
  color: var(--grey-dark);
  max-width: 50ch;
}

/* Variante clara del formulario (se apoya en las clases .form__*) */
.form--light {
  background: var(--white);
  border: 1px solid var(--grey-light);
  box-shadow: var(--shadow);
}
.form--light .form__title { color: var(--text); }
.form--light .form__label { color: var(--grey-dark); }
.form--light .form__input,
.form--light .form__textarea {
  background: var(--off-white);
  border: 1px solid #D3CDCD;
  color: var(--text);
}
.form--light .form__input::placeholder,
.form--light .form__textarea::placeholder { color: var(--grey); }
.form--light .form__input:focus-visible,
.form--light .form__textarea:focus-visible {
  outline: none;
  background: var(--white);
  border-color: var(--crimson);
  box-shadow: 0 0 0 3px rgba(193, 39, 45, 0.2);
}
.form--light .form__input[aria-invalid="true"],
.form--light .form__textarea[aria-invalid="true"] { border-color: #B3261E; }
#ag-redes { min-height: 84px; }
.form--light .form__error-msg { color: #B3261E; }
.form--light .form__notice { color: var(--grey); }
.form--light .form__alert {
  background: rgba(179, 38, 30, 0.08);
  border-color: rgba(179, 38, 30, 0.35);
  color: #8C1D18;
}
.form--light .form__success-icon { background: var(--crimson-faint); color: var(--crimson); }
.form--light .form__success-title { color: var(--text); }
.form--light .form__success-body { color: var(--grey-dark); }


/* ─── 15d. AVISO "MAIL COPIADO" ──────────────────────────────────── */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 200;
  max-width: calc(100vw - 32px);
  padding: 12px 20px;
  border-radius: var(--radius);
  background: var(--text);
  color: var(--white);
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 12px);
  transition: opacity var(--t), transform var(--t), visibility var(--t);
}
.toast.visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ─── 16. FOOTER ─────────────────────────────────────────────────── */
.footer {
  /* Pizarra profunda: separa el pie del bloque de contacto (--dark) inmediatamente superior.
     Se redefinen los alfas de texto dentro del footer para mantener contraste AA sobre este fondo. */
  --taupe: #0F1726;
  --on-dark-soft: rgba(255, 255, 255, 0.86);
  --on-dark-mute: rgba(255, 255, 255, 0.74);
  --on-dark-line: rgba(255, 255, 255, 0.16);
  --on-dark-line-strong: rgba(255, 255, 255, 0.26);
  background: var(--taupe);
  border-top: 3px solid var(--crimson);
  padding: clamp(52px, 7vw, 76px) 0 clamp(32px, 4vw, 36px);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: clamp(40px, 6vw, 56px);
}
.footer__logo {
  height: 38px;
  width: auto;
  background: var(--white);
  padding: 7px 10px;
  border-radius: 8px;
  box-sizing: content-box;
  margin-bottom: 18px;
}
.footer__brand-desc {
  font-size: var(--fs-sm);
  color: var(--on-dark-soft);
  line-height: var(--lh-relaxed);
  max-width: 40ch;
}
.footer__col-title {
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--on-dark-mute);
  margin-bottom: 16px;
}
.footer__links { display: flex; flex-direction: column; gap: 4px; }
.footer__links a {
  display: inline-block;
  padding: 6px 0;
  font-size: var(--fs-sm);
  color: var(--on-dark-soft);
  transition: color var(--t);
}
.footer__links a:hover { color: var(--on-dark-strong); text-decoration: underline; }
.footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--on-dark-line);
  padding-top: 24px;
  text-align: center;
}
.footer__copy { font-size: var(--fs-micro); color: var(--on-dark-mute); }

/* ─── 17. FLOTANTES ──────────────────────────────────────────────── */
.wa-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(145deg, #25D366 0%, #12A150 100%);
  box-shadow: 0 6px 22px rgba(18, 161, 80, 0.45), 0 2px 6px rgba(15, 23, 42, 0.2);
  transition: transform var(--t), box-shadow var(--t);
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.5);
  animation: waPulse 2.4s ease-out infinite;
}
.wa-float:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 10px 28px rgba(18, 161, 80, 0.55); }
@keyframes waPulse {
  0% { transform: scale(1); opacity: 0.7; }
  70%, 100% { transform: scale(1.5); opacity: 0; }
}
.back-to-top {
  position: fixed;
  right: 16px;
  bottom: 82px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--gradient-crimson);
  color: var(--white);
  box-shadow: var(--shadow-crimson);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity var(--t), transform var(--t), visibility var(--t), filter var(--t);
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { filter: brightness(1.1); transform: translateY(-3px); }
.back-to-top svg { width: 20px; height: 20px; }

/* ─── 18. BREAKPOINTS ────────────────────────────────────────────── */
/* Escala unificada: 600 / 900 / 1200 */
@media (min-width: 600px) {
  .beneficios__grid,
  .verticales__grid,
  .planes__grid,
  .nosotros__grid,
  .reporte__niveles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form__row { grid-template-columns: 1fr 1fr; }
  .reporte__callout { flex-direction: row; align-items: center; justify-content: space-between; }
  .reporte__callout-cta { width: auto; max-width: 300px; }
  .preguntas-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cobertura__tabs { flex-direction: row; width: auto; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer__bottom { flex-direction: row; justify-content: space-between; text-align: left; }
  .wa-float { right: 24px; bottom: 24px; }
  .back-to-top { right: 24px; bottom: 92px; }
}

@media (min-width: 900px) {
  .nav__links { display: flex; }
  .nav__hamburger { display: none; }
  .como-funciona__steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
  .como-funciona__steps::before { display: block; }
  .step-card { padding-inline: clamp(12px, 2.4vw, 32px); }
  .step-card:first-child { padding-left: 0; }
  .step-card:last-child { padding-right: 0; }
  .beneficios__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .verticales__grid,
  .nosotros__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .contacto__grid { grid-template-columns: 1fr 1.15fr; gap: clamp(48px, 6vw, 72px); }
  .agencias__grid { grid-template-columns: 1fr 1.1fr; gap: clamp(48px, 6vw, 72px); }
  .footer__grid { grid-template-columns: 1.8fr 1fr 1fr; gap: 40px; }
}

@media (min-width: 1024px) {
  /* Cuatro planes sólo cuando hay ancho real: antes se apretaban desde 901px */
  .planes__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .planes .plan-card { padding: 30px 24px; }
}

@media (min-width: 900px) and (max-width: 1120px) {
  .nav__links { gap: 16px; }
  .nav__links a { font-size: 0.8125rem; }
}

/* ─── 19. MOVIMIENTO REDUCIDO ────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  html.js .reveal { opacity: 1; transform: none; }
  .hero__eyebrow,
  .hero__title,
  .hero__subtitle,
  .hero__actions { opacity: 1; animation: none; }
}

/* ─── 20. IMPRESIÓN ──────────────────────────────────────────────── */
@media print {
  .nav, .nav__mobile-menu, .wa-float, .back-to-top, .skip-link,
  .cobertura__map, .form { display: none !important; }
  body { background: #fff; color: #000; }
  .hero, .beneficios, .contacto, .footer,
  .problema__problem, .como-funciona__quote, .plan-card--featured {
    background: #fff !important;
    color: #000 !important;
  }
  .hero__title, .section-title, .benefit-card__title, .benefit-card__body,
  .problema__problem-text, .como-funciona__quote-text,
  .plan-card--featured .plan-card__name,
  .plan-card--featured .plan-card__features li { color: #000 !important; }
  html.js .reveal { opacity: 1 !important; transform: none !important; }
  main > section { break-inside: avoid; padding: 24px 0; }
}


/* ─── 19. SITIO MULTIPÁGINA ─────────────────────────────────────────
   Agregado al pasar de landing a sitio: cabecera de páginas interiores
   y banda de cierre con enlaces internos. Reutiliza los tokens del
   sistema; no modifica ningún componente existente. */
.hero--page {
  min-height: 0;
  padding: calc(var(--nav-h) + clamp(48px, 7vw, 80px)) 0 clamp(48px, 6vw, 72px);
}
.hero--page .hero__title {
  font-size: clamp(1.875rem, 1.1rem + 3.2vw, 3rem);
  max-width: 24ch;
  margin-bottom: 18px;
}
.hero--page .hero__subtitle { margin-bottom: 0; }

.page-cta {
  background: var(--white);
  padding: var(--section-y) 0;
  text-align: center;
  border-top: 1px solid var(--grey-light);
}
.page-cta--alt { background: var(--off-white); }
.page-cta__title {
  font-size: var(--fs-h2);
  font-weight: 800;
  letter-spacing: var(--ls-display);
  line-height: var(--lh-tight);
  color: var(--text);
  max-width: 24ch;
  margin: 0 auto 28px;
  text-wrap: balance;
}
.page-cta__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 28px;
}
.page-cta__link {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--crimson);
  border-bottom: 2px solid var(--crimson-faint);
  padding-bottom: 2px;
  transition: border-color var(--t);
}
.page-cta__link:hover { border-bottom-color: var(--crimson); }
@media print {
  .page-cta { display: none; }
}
