/* ==========================================================================
   MiAsegurador.mx — Sistema de diseño
   Fase 1 · v2.0 · Azul marino profundo con acento turquesa

   Ritmo de la página: superficies OSCURAS para impacto (hero, siniestros,
   cierre, pie) y CLARAS para lectura (todo el contenido explicativo).

   Todos los pares de color de este archivo cumplen contraste WCAG 2.1 AA.
   Los ratios verificados están anotados junto a cada token crítico.
   ========================================================================== */

/* --- Tipografía -----------------------------------------------------------
   ANTES DE PUBLICAR: autoalojar Sora e Inter en WOFF2 y retirar el <link> a
   Google Fonts del <head>. Instrucciones completas en assets/fonts/LEEME.txt
   -------------------------------------------------------------------------- */

/* ==========================================================================
   1. Tokens
   ========================================================================== */
:root {
  /* --- Azul marino: superficies oscuras --- */
  --navy-950: #071726;   /* hero, cierre */
  --navy-900: #0C2338;   /* pie de página, banda de siniestros */
  --navy-800: #12324D;
  --navy-700: #17405F;
  --navy-600: #21567C;

  /* --- Turquesa: acento y acción --- */
  --turq-400: #10C7EE;
  --turq-500: #10C7EE;
  --turq-600: #10C7EE;
  --turq-700: #10C7EE;
  --turq-050: #E6FAF7;

  /* --- Texto sobre oscuro --- */
  --on-dark-900: #FFFFFF;   /* 18.1:1 */
  --on-dark-700: #C8D6E4;   /* 12.2:1 · cuerpo */
  --on-dark-500: #93A9BE;   /*  7.5:1 · auxiliar */
  --on-dark-line: rgba(255, 255, 255, .12);
  --on-dark-line-strong: rgba(255, 255, 255, .28);
  --glass: rgba(255, 255, 255, .05);
  --glass-hover: rgba(255, 255, 255, .08);

  /* --- Texto sobre claro --- */
  --ink-900: #0C2338;   /* 16.0:1 · titulares */
  --ink-700: #23364A;
  --ink-600: #33465A;   /*  9.7:1 · cuerpo */
  --ink-400: #5D6874;   /*  5.7:1 · auxiliar */
  --ink-200: #C4D0DC;

  /* --- Superficies claras --- */
  --surface: #FFFFFF;
  --surface-alt: #F4F8FB;
  --border: #DCE5EE;
  --border-strong: #C4D0DC;

  /* --- Sistema --- */
  --success: #17794C;
  --success-bg: #E9F6EF;
  --warning: #C2410C;
  --warning-bg: #FDF1EA;
  --pending: #F2A93B;      /* SOLO marcadores de contenido pendiente */
  --pending-ink: #8A5200;
  --pending-bg: #FFF9EF;

  /* --- Espaciado, base 4px --- */
  --s1: 4px;  --s2: 8px;  --s3: 12px; --s4: 16px;
  --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px; --s10: 128px;

  /* --- Radios --- */
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-pill: 999px;

  /* --- Sombras --- */
  --shadow-sm: 0 1px 2px rgba(12, 35, 56, .06);
  --shadow-md: 0 6px 20px rgba(12, 35, 56, .09);
  --shadow-lg: 0 18px 44px rgba(12, 35, 56, .16);
  --shadow-dark: 0 20px 50px rgba(0, 0, 0, .45);

  /* --- Layout --- */
  --container: 1220px;
  --measure: 68ch;

  /* --- Tipografía --- */
  --font-head: 'Sora', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-900);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink-900);
  line-height: 1.14;
  margin: 0 0 var(--s4);
  text-wrap: balance;
  letter-spacing: -.025em;
}
h1 { font-size: clamp(2.25rem, 5.4vw, 3.75rem); font-weight: 700; letter-spacing: -.035em; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.5rem);  font-weight: 700; letter-spacing: -.03em; }
h3 { font-size: clamp(1.1875rem, 2vw, 1.375rem); font-weight: 600; letter-spacing: -.015em; }
h4 { font-size: 1.0625rem; font-weight: 600; letter-spacing: -.01em; }

p { margin: 0 0 var(--s4); max-width: var(--measure); }
p:last-child { margin-bottom: 0; }

a { color: var(--turq-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink-900); }

img, svg { max-width: 100%; height: auto; }
strong, b { font-weight: 600; color: var(--ink-900); }
ul, ol { padding-left: 1.25em; }
li { margin-bottom: var(--s2); }

::selection { background: var(--turq-400); color: var(--navy-950); }

/* Foco visible */
:focus-visible {
  outline: 2px solid var(--turq-500);
  outline-offset: 3px;
  border-radius: 4px;
}

.visually-hidden, .sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: var(--s4); top: -100px; z-index: 999;
  background: var(--turq-400); color: var(--navy-950);
  padding: var(--s3) var(--s5); border-radius: var(--r-sm);
  font-weight: 600; text-decoration: none; transition: top .15s;
}
.skip-link:focus { top: var(--s4); color: var(--navy-950); }

/* ==========================================================================
   3. Layout
   ========================================================================== */
.container {
  width: 100%; max-width: var(--container);
  margin-inline: auto; padding-inline: var(--s5);
}
@media (max-width: 640px) { .container { padding-inline: var(--s4); } }

.section { padding-block: clamp(36px, 4.5vw, 48px); background: var(--surface); }
@media (min-width: 768px) { .section { padding-block: 60px; } }
.section--tight { padding-block: var(--s7); }

/* Superficie clara alterna */
.section--brand { background: var(--surface-alt); }

/* Superficie oscura */
.section--dark {
  background: var(--navy-900);
  color: var(--on-dark-700);
  position: relative;
  overflow: hidden;
}
.section--dark::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(760px 380px at 12% -10%, rgba(58, 224, 208, .10), transparent 62%),
    radial-gradient(680px 340px at 92% 108%, rgba(33, 86, 124, .40), transparent 66%);
}
.section--dark > * { position: relative; }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark p { color: var(--on-dark-700); }
.section--dark a { color: var(--turq-400); }
.section--dark a:hover { color: #fff; }
.section--dark .section-label { color: var(--turq-400); }

.stack > * + * { margin-top: var(--s4); }
.prose { max-width: var(--measure); }

.grid { display: grid; gap: var(--s5); }
@media (min-width: 640px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 640px) and (max-width: 899px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}

.section-label {
  display: block;
  font-family: var(--font-body);
  font-size: .75rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--turq-700);              /* 5.2:1 sobre claro */
  margin-bottom: var(--s3);
}
.section-head { margin-bottom: var(--s7); max-width: var(--measure); }
.section-head p { font-size: 1.0625rem; color: var(--ink-600); }
.section-head--center { text-align: center; margin-inline: auto; }
.section-head--center .section-label { display: inline-block; }
.section-head--center .prose { margin-inline: auto; }

/* ==========================================================================
   4. Botones — el turquesa es el ÚNICO color de acción
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--s2);
  min-height: 50px; padding: var(--s3) var(--s6);
  font-family: var(--font-body); font-size: .9375rem; font-weight: 600;
  letter-spacing: .01em;
  border: 1px solid transparent; border-radius: var(--r-sm);
  cursor: pointer; text-decoration: none;
  transition: background-color .16s, border-color .16s, color .16s,
              transform .12s, box-shadow .16s;
}
.btn:active { transform: translateY(1px); }

/* Primario — turquesa con texto azul marino · 11.0:1 */
.btn--primary {
  background: var(--turq-400); color: var(--navy-950);
  box-shadow: 0 6px 20px rgba(58, 224, 208, .22);
}
.btn--primary:hover {
  background: #56E8DA; color: var(--navy-950);
  box-shadow: 0 10px 28px rgba(58, 224, 208, .30);
}

/* Secundario — azul marino sólido */
.btn--secondary { background: var(--navy-900); color: #fff; }
.btn--secondary:hover { background: var(--navy-800); color: #fff; }

/* Contorno — se adapta a la superficie */
.btn--outline {
  background: transparent; color: var(--ink-900);
  border-color: var(--border-strong);
}
.btn--outline:hover {
  border-color: var(--navy-900); background: var(--surface-alt); color: var(--ink-900);
}
.section--dark .btn--outline, .hero .btn--outline {
  color: #fff; border-color: var(--on-dark-line-strong);
}
.section--dark .btn--outline:hover, .hero .btn--outline:hover {
  background: var(--glass-hover); border-color: rgba(255,255,255,.5); color: #fff;
}

.btn--ghost { background: transparent; color: var(--turq-700); padding-inline: var(--s3); }
.btn--ghost:hover { color: var(--ink-900); }
.section--dark .btn--ghost, .hero .btn--ghost { color: var(--turq-400); }
.section--dark .btn--ghost:hover, .hero .btn--ghost:hover { color: #fff; }

/* WhatsApp — se conserva el verde por reconocimiento de marca · 7.0:1 */
.btn--wa { background: #25D366; color: #06341A; }
.btn--wa:hover { background: #33DE73; color: #06341A; }

.btn--lg { min-height: 58px; padding: var(--s4) var(--s7); font-size: 1rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s3); }

/* ==========================================================================
   5. Encabezado — reproducción de las capturas de referencia
   Glassmorphism: fondo oscuro semitransparente, desenfoque, borde sutil.
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(7, 23, 38, .72);
  backdrop-filter: saturate(150%) blur(18px);
  -webkit-backdrop-filter: saturate(150%) blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  transition: background-color .25s, border-color .25s, box-shadow .25s;
}
.site-header.is-stuck {
  background: rgba(7, 23, 38, .93);
  border-bottom-color: rgba(58, 224, 208, .16);
  box-shadow: 0 10px 34px rgba(0, 0, 0, .38);
}

.header__inner {
  width: 100%; max-width: 1400px; margin-inline: auto;
  padding-inline: var(--s7);
  display: flex; align-items: center; gap: var(--s6);
  min-height: 88px;
}
@media (max-width: 1100px) { .header__inner { padding-inline: var(--s5); min-height: 76px; } }
@media (max-width: 640px)  { .header__inner { padding-inline: var(--s4); } }

/* Logotipo tipográfico, como en la referencia */
.brand { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.brand__mark {
  font-family: var(--font-body);
  font-size: 1.375rem; font-weight: 700; letter-spacing: -.02em;
  color: #fff; white-space: nowrap;
}
.brand__dot { color: #10C7EE; }
@media (max-width: 400px) { .brand__mark { font-size: 1.1875rem; } }

/* Navegación */
.nav {
  display: flex; align-items: center; gap: var(--s2);
  margin-left: auto;
}
@media (max-width: 1100px) { .nav { display: none; } }
.nav.is-open { display: flex; }

.nav__link {
  display: inline-flex; align-items: center; gap: var(--s2);
  padding: var(--s3) var(--s4);
  font-family: var(--font-body);
  font-size: 1rem; font-weight: 500; color: var(--on-dark-700);
  text-decoration: none; border-radius: var(--r-sm);
  background: none; border: 0; cursor: pointer; white-space: nowrap;
  transition: color .16s, background-color .16s;
}
.nav__link:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.nav__link[aria-current="page"],
.nav__link[data-en-seccion="true"] { color: var(--turq-400); }
.nav__caret { width: 26px; height: 26px; opacity: 1; transition: transform .22s ease; flex: none; }
.nav__item[data-open="true"] .nav__caret { transform: rotate(180deg); }
.nav__item[data-open="true"] > .nav__link { color: var(--turq-400); }

/* Teléfono del encabezado */
.nav__tel {
  display: inline-flex; align-items: center; gap: var(--s2);
  margin-left: var(--s4); padding: var(--s3) var(--s2);
  font-size: 1rem; font-weight: 500; color: var(--on-dark-700);
  text-decoration: none; white-space: nowrap; transition: color .16s;
}
.nav__tel:hover { color: var(--turq-400); }
.nav__tel-icon { display: inline-flex; width: 26px; height: 26px; align-items: center; justify-content: center; flex: none; }
.nav__tel-icon svg { width: 26px; height: 26px; }

/* Botón del encabezado — turquesa, mayúsculas, como en la referencia */
.btn--header {
  margin-left: var(--s4); min-height: 56px;
  padding-inline: var(--s6);
  font-size: .875rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  border-radius: var(--r-md);
}
.btn__icon { display: inline-flex; }
.btn__icon svg { width: 19px; height: 19px; }

/* --------------------------------------------------------------------------
   Panel desplegable con efecto glass
   -------------------------------------------------------------------------- */
.nav__item { position: relative; }
.nav__menu {
  position: absolute; top: calc(100% + 14px); left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 336px; padding: var(--s3);
  list-style: none; margin: 0;
  background: rgba(9, 27, 44, .82);
  backdrop-filter: saturate(160%) blur(22px);
  -webkit-backdrop-filter: saturate(160%) blur(22px);
  border: 1px solid rgba(58, 224, 208, .22);
  border-radius: var(--r-lg);
  box-shadow: 0 26px 60px rgba(0, 0, 0, .5),
              inset 0 1px 0 rgba(255, 255, 255, .07);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.nav__item[data-open="true"] .nav__menu {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav__menu::before {   /* puente invisible: evita que el menú se cierre al bajar el cursor */
  content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px;
}
.nav__menu li { margin: 0; }
.nav__menu a {
  display: block; padding: var(--s4) var(--s5);
  color: var(--on-dark-700); text-decoration: none;
  border-radius: var(--r-sm); font-size: 1rem; font-weight: 500;
  line-height: 1.35;
  transition: background-color .15s, color .15s;
}
.nav__menu a:hover { background: rgba(16, 199, 238, .12); color: #10C7EE; }
.nav__menu a[aria-current="page"] { color: var(--turq-400); }

/* Botón hamburguesa */
.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 48px; height: 48px; margin-left: auto;
  background: rgba(255, 255, 255, .05); color: #fff;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--r-sm); cursor: pointer;
}
@media (max-width: 1100px) { .nav-toggle { display: inline-flex; } }
.nav-toggle__bars { display: block; width: 20px; }
.nav-toggle__bars i {
  display: block; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform .22s, opacity .18s;
}
.nav-toggle__bars i + i { margin-top: 5px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Navegación en móvil */
@media (max-width: 1100px) {
  .nav.is-open {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch;
    padding: var(--s4) var(--s5) var(--s6);
    gap: var(--s1);
    background: rgba(7, 23, 38, .97);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(58, 224, 208, .16);
    box-shadow: 0 24px 50px rgba(0, 0, 0, .5);
    max-height: calc(100vh - 76px); overflow-y: auto;
  }
  .nav.is-open .nav__link { width: 100%; justify-content: space-between; padding-block: var(--s4); }
  .nav.is-open .nav__menu {
    position: static; transform: none; opacity: 1; visibility: visible;
    pointer-events: auto; min-width: 0;
    background: rgba(255, 255, 255, .03); box-shadow: none;
    border-color: rgba(255, 255, 255, .08);
    margin: var(--s2) 0 var(--s3);
    display: none;
  }
  .nav.is-open .nav__item[data-open="true"] .nav__menu { display: block; }
  .nav.is-open .nav__tel { margin-left: 0; padding: var(--s4) var(--s4); }
  .nav.is-open .btn--header { margin-left: 0; margin-top: var(--s3); width: 100%; }
}

/* ==========================================================================
   6. Hero oscuro
   ========================================================================== */
.hero {
  position: relative;
  padding-block: var(--s9) var(--s8);
  background: var(--navy-950);
  color: var(--on-dark-700);
  overflow: hidden;
}
/* Fondo abstracto: malla de degradados + retícula sutil.
   Deliberadamente sin fotografía de banco de imágenes. */
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(900px 520px at 78% -12%, rgba(58, 224, 208, .16), transparent 60%),
    radial-gradient(760px 480px at 8% 8%,   rgba(33, 86, 124, .55),  transparent 62%),
    radial-gradient(900px 600px at 50% 118%, rgba(20, 200, 184, .10), transparent 64%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(720px 480px at 70% 0%, #000, transparent 72%);
  -webkit-mask-image: radial-gradient(720px 480px at 70% 0%, #000, transparent 72%);
}
.hero > * { position: relative; z-index: 1; }

.hero h1 { color: #fff; margin-bottom: var(--s5); }
.hero h1 em, .hero h1 .accent { color: var(--turq-400); font-style: normal; }
.hero__lead { font-size: 1.125rem; color: var(--on-dark-700); max-width: 54ch; }
.hero .btn-row { margin-top: var(--s7); }
.hero__grid { display: grid; gap: var(--s8); align-items: center; }
@media (min-width: 980px) { .hero__grid { grid-template-columns: 1.1fr .9fr; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: var(--s2);
  font-family: var(--font-body);
  font-size: .75rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--turq-400);                 /* 11.0:1 */
  margin-bottom: var(--s5);
}
.eyebrow svg { width: 14px; height: 14px; }

/* Chips de producto */
.chips { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s6); }
.chip {
  display: inline-flex; align-items: center;
  padding: var(--s2) var(--s4);
  border-radius: var(--r-pill);
  border: 1px solid var(--on-dark-line);
  background: var(--glass);
  color: var(--on-dark-700); font-size: .875rem; font-weight: 500;
  text-decoration: none;
  transition: border-color .15s, background-color .15s, color .15s;
}
a.chip:hover {
  border-color: var(--turq-400); background: var(--glass-hover); color: #fff;
}

/* Tarjeta de vidrio (credenciales dentro del hero) */
.credential-card {
  background: var(--glass);
  border: 1px solid var(--on-dark-line);
  border-radius: var(--r-lg); padding: var(--s6);
  box-shadow: var(--shadow-dark);
  backdrop-filter: blur(10px);
}
.credential-card__name {
  font-family: var(--font-head); font-weight: 600; font-size: 1.125rem;
  color: #fff; margin: 0 0 var(--s1); letter-spacing: -.015em;
}
.credential-card__role {
  color: var(--turq-400); font-size: .8125rem; margin: 0 0 var(--s5);
  font-weight: 500; letter-spacing: .02em;
}
.credential-list { list-style: none; margin: 0; padding: 0; }
.credential-list li {
  display: flex; gap: var(--s3); align-items: flex-start;
  padding-block: var(--s4);
  border-top: 1px solid var(--on-dark-line);
  font-size: .9375rem; color: var(--on-dark-700); line-height: 1.5;
}
.credential-list li:first-child { border-top: 0; padding-top: 0; }
.credential-list strong { color: #fff; }
.credential-list svg {
  flex: none; width: 18px; height: 18px; color: var(--turq-400); margin-top: 3px;
}

/* Barra de cifras */
.trust-strip {
  display: grid; gap: var(--s5);
  grid-template-columns: repeat(2, 1fr);
  margin-top: var(--s9); padding-top: var(--s7);
  border-top: 1px solid var(--on-dark-line);
}
@media (min-width: 768px) { .trust-strip { grid-template-columns: repeat(4, 1fr); } }
.trust-strip__num {
  font-family: var(--font-head); font-size: 2.125rem; font-weight: 700;
  color: #fff; line-height: 1; display: block; margin-bottom: var(--s2);
  letter-spacing: -.03em;
}
.trust-strip__label { font-size: .875rem; color: var(--on-dark-500); line-height: 1.4; }

/* ==========================================================================
   7. Tarjetas
   ========================================================================== */
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: var(--s6);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .18s, border-color .18s, transform .18s;
}
.card--link { text-decoration: none; color: inherit; display: block; }
.card--link:hover {
  box-shadow: var(--shadow-md); border-color: var(--turq-500);
  transform: translateY(-3px); color: inherit;
}
.card h3 { margin-bottom: var(--s3); }
.card p { color: var(--ink-600); font-size: .9375rem; margin-bottom: 0; }

.section--dark .card {
  background: var(--glass); border-color: var(--on-dark-line); box-shadow: none;
}
.section--dark .card h3 { color: #fff; }
.section--dark .card p { color: var(--on-dark-700); }

.card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; margin-bottom: var(--s5);
  background: var(--turq-050); color: var(--turq-700);
  border-radius: var(--r-sm);
}
.card__icon svg { width: 22px; height: 22px; }
.card__more {
  display: inline-flex; align-items: center; gap: var(--s2);
  margin-top: var(--s5); font-weight: 600; font-size: .9375rem;
  color: var(--turq-700); transition: gap .15s, color .15s;
}
.card--link:hover .card__more { gap: var(--s3); color: var(--ink-900); }

/* Pilares */
.pillar {
  padding: var(--s6); border-radius: var(--r-md);
  background: var(--surface); border: 1px solid var(--border);
}
.pillar__n {
  font-family: var(--font-head); font-size: .75rem; font-weight: 700;
  color: var(--turq-700); letter-spacing: .16em;
  display: block; margin-bottom: var(--s4);
}
.pillar p { font-size: .9375rem; color: var(--ink-600); }
.pillar__proof {
  margin-top: var(--s5); padding-top: var(--s4);
  border-top: 1px solid var(--border);
  font-size: .8125rem; color: var(--ink-400); line-height: 1.55;
}

/* ==========================================================================
   8. Coberturas y bloques destacados
   ========================================================================== */
.coverage {
  display: flex; gap: var(--s4); align-items: flex-start;
  padding: var(--s5); border-radius: var(--r-md);
  border: 1px solid var(--border); background: var(--surface);
}
.coverage svg { flex: none; width: 22px; height: 22px; margin-top: 2px; }
.coverage h3 { margin-bottom: var(--s2); font-size: 1rem; font-weight: 600; }
.coverage p { font-size: .9063rem; color: var(--ink-600); margin: 0; }

.coverage--yes { background: var(--success-bg); border-color: #C3E6D3; }
.coverage--yes svg { color: var(--success); }
.coverage--no  { background: var(--warning-bg); border-color: #F3D2BC; }
.coverage--no  svg { color: var(--warning); }
.coverage--no h3 { color: #8F2F09; }

.callout {
  padding: var(--s6); border-radius: var(--r-md);
  border: 1px solid var(--border);
  border-left: 3px solid var(--turq-500);
  background: var(--surface);
}
.callout--warn { border-left-color: var(--warning); background: var(--warning-bg); }
.callout h3 { font-size: 1.0625rem; margin-bottom: var(--s3); }
.callout p { color: var(--ink-600); margin-bottom: 0; }
.section--brand .callout { background: var(--surface); }

/* ==========================================================================
   9. Compañías
   ========================================================================== */
.insurers { display: flex; flex-wrap: wrap; gap: var(--s5); }
.insurer {
  display: flex; flex-direction: column; gap: var(--s3);
  flex: 1 1 260px; padding: var(--s6);
  border: 1px solid var(--border); border-radius: var(--r-md);
  background: var(--surface);
}
.insurer__name {
  font-family: var(--font-head); font-size: 1.375rem; font-weight: 700;
  color: var(--ink-900); letter-spacing: -.025em;
}
.insurer__role { font-size: .9063rem; color: var(--ink-600); margin: 0; }
/* MARCADOR: sustituir .insurer__name por el logotipo autorizado de cada
   compañía. La sección 12.5 del documento exige autorización de uso y
   prohíbe sugerir patrocinio o respaldo hacia MiAsegurador. */

/* ==========================================================================
   10. Preguntas frecuentes
   ========================================================================== */
.faq { border-top: 1px solid var(--border); }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__q {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: var(--s4); width: 100%;
  padding: var(--s5) 0; min-height: 44px;
  background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--font-head); font-size: 1.0625rem; font-weight: 600;
  color: var(--ink-900); line-height: 1.4; letter-spacing: -.015em;
  transition: color .15s;
}
.faq__q:hover { color: var(--turq-700); }
.faq__icon {
  flex: none; width: 20px; height: 20px; color: var(--turq-600);
  transition: transform .22s; margin-top: 3px;
}
.faq__q[aria-expanded="true"] .faq__icon { transform: rotate(45deg); }
.faq__a { padding: 0 0 var(--s5); }
.faq__a[hidden] { display: none; }
.faq__a p { color: var(--ink-600); font-size: .9688rem; }

/* ==========================================================================
   11. Formularios
   ========================================================================== */
.form-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: var(--s6);
  box-shadow: var(--shadow-md);
}
@media (min-width: 768px) { .form-card { padding: var(--s7); } }

.field { margin-bottom: var(--s5); }
.field > label {
  display: block; margin-bottom: var(--s2);
  font-weight: 600; font-size: .9375rem; color: var(--ink-900);
}
.field__hint {
  display: block; font-weight: 400; color: var(--ink-400);
  font-size: .8438rem; margin-top: 3px; line-height: 1.45;
}

.input, .select, .textarea {
  width: 100%; min-height: 50px;
  padding: var(--s3) var(--s4);
  font-family: var(--font-body); font-size: 1rem; color: var(--ink-900);
  background: var(--surface); border: 1px solid var(--border-strong);
  border-radius: var(--r-sm);
  transition: border-color .15s, box-shadow .15s;
}
.input:hover, .select:hover, .textarea:hover { border-color: var(--ink-400); }
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--turq-500);
  box-shadow: 0 0 0 3px rgba(20, 200, 184, .16);
}
.textarea { min-height: 112px; resize: vertical; }
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2333465A' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
  padding-right: 46px;
}
.input[aria-invalid="true"], .select[aria-invalid="true"] { border-color: var(--warning); }
.field__error {
  display: block; margin-top: var(--s2); color: var(--warning);
  font-size: .8438rem; font-weight: 500;
}
.field__error:empty { display: none; }

.choice-row { display: flex; flex-wrap: wrap; gap: var(--s3); }
.choice { position: relative; flex: 1 1 140px; }
.choice input { position: absolute; opacity: 0; width: 0; height: 0; }
.choice span {
  display: flex; align-items: center; justify-content: center;
  min-height: 50px; padding: var(--s3) var(--s4);
  border: 1px solid var(--border-strong); border-radius: var(--r-sm);
  font-size: .9375rem; font-weight: 500; color: var(--ink-700);
  cursor: pointer; text-align: center; transition: all .15s;
}
.choice input:hover + span { border-color: var(--ink-400); }
.choice input:checked + span {
  border-color: var(--turq-500); background: var(--turq-050);
  color: var(--turq-700); font-weight: 600;
}
.choice input:focus-visible + span { outline: 2px solid var(--turq-500); outline-offset: 2px; }

.consent { display: flex; gap: var(--s3); align-items: flex-start; margin-bottom: var(--s4); }
.consent input[type="checkbox"] {
  flex: none; width: 20px; height: 20px; margin-top: 2px;
  accent-color: var(--turq-600); cursor: pointer;
}
.consent label { font-size: .875rem; color: var(--ink-600); line-height: 1.55; cursor: pointer; }

.steps { display: flex; gap: var(--s2); margin-bottom: var(--s6); }
.steps__item { flex: 1; height: 4px; border-radius: var(--r-pill); background: var(--border); }
.steps__item.is-done { background: var(--turq-500); }
.steps__label {
  font-size: .75rem; color: var(--ink-400); margin-bottom: var(--s3);
  letter-spacing: .08em; text-transform: uppercase; font-weight: 600;
}
.form-step[hidden] { display: none; }

/* Honeypot anti-spam */
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.form-note {
  margin-top: var(--s5); padding-top: var(--s5);
  border-top: 1px solid var(--border);
  font-size: .8125rem; color: var(--ink-400); line-height: 1.55;
}

/* ==========================================================================
   12. Testimonios
   ========================================================================== */
.quote-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: var(--s6);
}
.quote-card blockquote {
  margin: 0 0 var(--s5); font-size: 1.0625rem; color: var(--ink-700);
  line-height: 1.6;
}
.quote-card figcaption { font-size: .875rem; color: var(--ink-400); }
.quote-card strong { display: block; color: var(--ink-900); font-size: .9375rem; }

/* ==========================================================================
   13. Pasos numerados
   ========================================================================== */
.steplist { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steplist li {
  position: relative; padding-left: 60px; margin-bottom: var(--s6);
  counter-increment: step;
}
.steplist li::before {
  content: counter(step);
  position: absolute; left: 0; top: 0;
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: var(--turq-050); color: var(--turq-700);
  font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  border-radius: var(--r-pill);
}
.steplist h3 { margin-bottom: var(--s2); font-size: 1.0625rem; }
.steplist p { font-size: .9375rem; color: var(--ink-600); margin: 0; }
.section--dark .steplist p { color: var(--on-dark-700); }
.section--dark .steplist li::before {
  background: #10C7EE; color: #03101A;
}

/* ==========================================================================
   14. Migas de pan
   ========================================================================== */
.breadcrumb { padding-block: var(--s4); font-size: .8125rem; background: var(--navy-950); }
.breadcrumb ol {
  display: flex; flex-wrap: wrap; gap: var(--s2);
  list-style: none; margin: 0; padding: 0;
}
.breadcrumb li {
  margin: 0; color: var(--on-dark-500); display: flex; gap: var(--s2); align-items: center;
}
.breadcrumb a { color: var(--on-dark-700); text-decoration: none; }
.breadcrumb a:hover { color: var(--turq-400); text-decoration: underline; }
.breadcrumb li + li::before { content: "/"; color: rgba(255,255,255,.22); }

/* ==========================================================================
   15. WhatsApp flotante
   ========================================================================== */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  display: inline-flex; align-items: center; gap: var(--s3);
  min-height: 58px; padding: var(--s3) var(--s5);
  background: #25D366; color: #06341A;
  border-radius: var(--r-pill); box-shadow: 0 12px 30px rgba(0, 0, 0, .28);
  font-weight: 600; font-size: .9375rem; text-decoration: none;
  transition: transform .16s, box-shadow .16s;
}
.wa-float:hover {
  transform: translateY(-2px); color: #06341A;
  box-shadow: 0 16px 38px rgba(0, 0, 0, .34);
}
.wa-float svg { width: 24px; height: 24px; flex: none; }
@media (max-width: 480px) {
  .wa-float { padding: var(--s3); right: 14px; bottom: 14px; }
  .wa-float span { display: none; }
}

/* ==========================================================================
   16. Pie de página
   ========================================================================== */
.site-footer {
  background: #050817; color: var(--on-dark-700);
  padding-block: var(--s9) var(--s6); font-size: .9063rem;
  border-top: 1px solid rgba(255, 255, 255, .07);
}
.footer__actions { display: none; }
.site-footer h2 {
  color: #fff; font-size: .75rem; letter-spacing: .12em;
  text-transform: uppercase; margin-bottom: var(--s5);
  font-family: var(--font-body); font-weight: 600;
}
.site-footer a { color: var(--on-dark-700); text-decoration: none; }
.site-footer a:hover { color: var(--turq-400); text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: var(--s3); }
.footer__grid { display: grid; gap: var(--s7); }
@media (min-width: 768px) { .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; } }
.footer__brand svg, .footer__brand img { height: 36px; width: auto; margin-bottom: var(--s5); }

.disclosure {
  margin-top: var(--s9); padding-top: var(--s6);
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .8125rem; color: var(--on-dark-500); line-height: 1.65;
}
.disclosure p { max-width: none; margin-bottom: var(--s3); }
.disclosure strong { color: var(--on-dark-700); font-weight: 600; }

.legal-note {
  margin-top: var(--s6); padding: var(--s5) var(--s6);
  background: var(--surface-alt); border: 1px solid var(--border);
  border-radius: var(--r-md);
  font-size: .8125rem; color: var(--ink-600); line-height: 1.65;
}
.legal-note p { max-width: none; margin: 0; }
.section--dark .legal-note {
  background: var(--glass); border-color: var(--on-dark-line); color: var(--on-dark-500);
}

.footer__bottom {
  margin-top: var(--s6); padding-top: var(--s5);
  border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex; flex-wrap: wrap; gap: var(--s4) var(--s5);
  align-items: center; justify-content: space-between;
  font-size: .8125rem; color: var(--on-dark-500);
}

/* ==========================================================================
   17. Banner de consentimiento
   ========================================================================== */
.consent-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80;
  max-width: 560px;
  padding: var(--s6);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
}
.consent-banner[hidden] { display: none; }
.consent-banner h2 { font-size: 1.0625rem; margin-bottom: var(--s2); }
.consent-banner p { font-size: .875rem; color: var(--ink-600); margin-bottom: var(--s5); }
.consent-banner .btn-row .btn { flex: 1 1 auto; min-height: 46px; font-size: .9375rem; }
@media (min-width: 640px) { .consent-banner { left: 24px; right: auto; bottom: 24px; } }

/* ==========================================================================
   18. Marcador de contenido pendiente
   El ámbar quedó reservado exclusivamente para esto: nunca es un color de
   acción, para que un bloque sin terminar no pueda confundirse con un botón.
   ========================================================================== */
.placeholder {
  padding: var(--s5) var(--s6); border: 2px dashed var(--pending);
  border-radius: var(--r-md); background: var(--pending-bg);
  font-size: .875rem; color: var(--pending-ink); line-height: 1.6;
}
.placeholder strong { color: var(--pending-ink); }
.placeholder p { margin-bottom: var(--s2); max-width: none; }
.placeholder p:last-child { margin-bottom: 0; }

/* ==========================================================================
   19. Impresión
   ========================================================================== */
@media print {
  .site-header, .topbar, .wa-float, .consent-banner, .site-footer { display: none; }
  .hero, .section--dark { background: #fff !important; color: #000 !important; }
  .hero::before, .hero::after, .section--dark::before { display: none; }
  .hero h1, .section--dark h2, .section--dark h3 { color: #000 !important; }
  .hero__lead, .section--dark p { color: #333 !important; }
  body { font-size: 11pt; }
}

/* ==========================================================================
   20. Barra de acción fija — móvil
   Llamar y WhatsApp siempre a un dedo de distancia. Son las dos acciones
   principales del sitio, así que en móvil no dependen del scroll.
   ========================================================================== */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  display: none; gap: 1px;
  background: rgba(255, 255, 255, .1);
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-bottom: env(safe-area-inset-bottom, 0);
}
@media (max-width: 900px) { .action-bar { display: flex; } }

.action-bar__btn {
  flex: 1; display: inline-flex; align-items: center; justify-content: center;
  gap: var(--s2); min-height: 62px;
  font-family: var(--font-body); font-size: .9375rem; font-weight: 700;
  text-decoration: none; letter-spacing: .01em;
}
.action-bar__btn svg { width: 21px; height: 21px; }
.action-bar__btn--call { background: var(--navy-950); color: #fff; }
.action-bar__btn--call:hover { background: var(--navy-900); color: #fff; }
.action-bar__btn--wa   { background: #25D366; color: #06341A; }
.action-bar__btn--wa:hover { background: #33DE73; color: #06341A; }

/* El WhatsApp flotante se oculta donde ya existe la barra fija */
@media (max-width: 900px) {
  .wa-float { display: none; }
  body { padding-bottom: 62px; }
  .consent-banner { bottom: 74px; }
}

/* ==========================================================================
   21. Selector "¿Qué seguro necesitas?"
   Cambia el mensaje precargado de WhatsApp sin recargar ni abrir ventanas.
   ========================================================================== */
.selector {
  border-radius: var(--r-lg);
  padding: var(--s6);
  background: var(--glass);
  border: 1px solid rgba(58, 224, 208, .2);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.selector__title {
  font-family: var(--font-head); font-size: 1.0625rem; font-weight: 600;
  color: #fff; margin: 0 0 var(--s4); letter-spacing: -.015em;
}
.selector__opciones { display: flex; flex-wrap: wrap; gap: var(--s2); margin-bottom: var(--s5); }
.selector__op {
  padding: var(--s2) var(--s4); border-radius: var(--r-pill);
  border: 1px solid rgba(255, 255, 255, .16);
  background: transparent; color: var(--on-dark-700);
  font-family: var(--font-body); font-size: .875rem; font-weight: 500;
  cursor: pointer; transition: all .15s;
}
.selector__op:hover { border-color: rgba(58, 224, 208, .55); color: #fff; }
.selector__op[aria-pressed="true"] {
  background: var(--turq-400); border-color: var(--turq-400);
  color: var(--navy-950); font-weight: 600;
}
.selector__mensaje {
  font-size: .875rem; color: var(--on-dark-500); margin: 0 0 var(--s5);
  font-style: italic; line-height: 1.5; min-height: 2.6em;
}
.selector .btn-row .btn { flex: 1 1 200px; }

/* En superficie clara */
.section:not(.section--dark) .selector {
  background: var(--surface); border-color: var(--border);
  box-shadow: var(--shadow-md); backdrop-filter: none;
}
.section:not(.section--dark) .selector__title { color: var(--ink-900); }
.section:not(.section--dark) .selector__op { color: var(--ink-600); border-color: var(--border-strong); }
.section:not(.section--dark) .selector__op[aria-pressed="true"] { color: var(--navy-950); }
.section:not(.section--dark) .selector__mensaje { color: var(--ink-400); }

/* ==========================================================================
   22. Hero de campaña — primera pantalla sin scroll
   ========================================================================== */
.hero--sem { padding-block: var(--s8) var(--s8); }
.hero--sem h1 { margin-bottom: var(--s4); }
.hero__beneficio {
  font-size: 1.25rem; color: #fff; font-weight: 500;
  margin-bottom: var(--s3); max-width: 30ch; line-height: 1.4;
}
.hero__asesoria { font-size: 1.0625rem; color: var(--on-dark-700); max-width: 46ch; }

.hero__tel {
  display: inline-flex; align-items: center; gap: var(--s3);
  margin-top: var(--s5); color: #fff; text-decoration: none;
  font-family: var(--font-head); font-size: 1.375rem; font-weight: 700;
  letter-spacing: -.02em;
}
.hero__tel svg { width: 20px; height: 20px; color: var(--turq-400); }
.hero__tel:hover { color: var(--turq-400); }
.hero__tel-nota {
  display: block; font-family: var(--font-body); font-size: .8125rem;
  font-weight: 400; color: var(--on-dark-500); letter-spacing: 0; margin-top: 2px;
}

/* Señal de confianza compacta */
.confianza {
  display: flex; flex-wrap: wrap; gap: var(--s3) var(--s5);
  margin-top: var(--s6); padding-top: var(--s5);
  border-top: 1px solid var(--on-dark-line);
}
.confianza__item {
  display: inline-flex; align-items: center; gap: var(--s2);
  font-size: .875rem; color: var(--on-dark-700);
}
.confianza__item svg { width: 16px; height: 16px; color: var(--turq-400); flex: none; }

/* ==========================================================================
   23. Aviso del formulario sin backend conectado
   ========================================================================== */
.form-aviso {
  margin-bottom: var(--s5); padding: var(--s4) var(--s5);
  border: 1px solid var(--pending); border-left-width: 3px;
  border-radius: var(--r-sm); background: var(--pending-bg);
  font-size: .8125rem; color: var(--pending-ink); line-height: 1.55;
}
.form-aviso strong { color: var(--pending-ink); }
.form-estado {
  margin-top: var(--s4); padding: var(--s4) var(--s5);
  border-radius: var(--r-sm); font-size: .875rem; line-height: 1.55;
}
.form-estado[hidden] { display: none; }
.form-estado--info { background: var(--pending-bg); border: 1px solid var(--pending); color: var(--pending-ink); }
.form-estado--ok   { background: var(--success-bg); border: 1px solid var(--success); color: #10603A; }
.form-estado--err  { background: var(--warning-bg); border: 1px solid var(--warning); color: #8F2F09; }

/* ==========================================================================
   PILOTO BASE44 — SEGURO DE AUTO (v4)
   --------------------------------------------------------------------------
   Fuente visual: valores EXACTOS de la referencia Base44 (tokens HSL).
   Alcance: EXCLUSIVAMENTE /seguro-auto/, aislado con body[data-producto="auto"].
   Ninguna otra página tiene ese atributo, así que el resto del sitio no cambia.

   Reversión: eliminar este bloque completo (desde este comentario hasta el
   final del archivo) devuelve la página a su estado previo. No hay cambios en
   ningún otro archivo. No modifica las variables globales de :root.
   CSS puro, sin JavaScript, sin frameworks, sin fuentes ni imágenes nuevas.
   ========================================================================== */

body[data-producto="auto"] {
  /* Tokens exactos de Base44 (traducción directa de los valores HSL) */
  --base44-background: hsl(230 60% 7%);
  --base44-foreground: hsl(210 36% 97%);
  --base44-card:       hsl(228 53% 12%);
  --base44-primary:    #10C7EE;
  --base44-secondary:  hsl(228 53% 15%);
  --base44-muted:      hsl(215 15% 69%);
  --base44-border:     hsl(228 30% 20%);

  background: var(--base44-background);
  color: var(--base44-foreground);

  /* Tipografía del sistema, como en la referencia */
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
               "Segoe UI", sans-serif;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
}

/* La página entera hereda la fuente del sistema (también los encabezados) */
body[data-producto="auto"] h1,
body[data-producto="auto"] h2,
body[data-producto="auto"] h3,
body[data-producto="auto"] h4,
body[data-producto="auto"] .input,
body[data-producto="auto"] .select,
body[data-producto="auto"] .textarea,
body[data-producto="auto"] .btn,
body[data-producto="auto"] .brand__mark {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
               "Segoe UI", sans-serif;
}

/* --------------------------------------------------------------------------
   Escala tipográfica de la referencia
   -------------------------------------------------------------------------- */
body[data-producto="auto"] .hero h1 {
  font-size: 36px; font-weight: 700; line-height: 1.08; letter-spacing: -0.02em;
  color: var(--base44-foreground);
}
body[data-producto="auto"] h2 {
  font-size: 24px; font-weight: 600; line-height: 1.2;
  color: var(--base44-foreground);
}
body[data-producto="auto"] h3,
body[data-producto="auto"] h4 { color: var(--base44-foreground); }

/* Cuerpo: 16 px móvil, color muted (según referencia) */
body[data-producto="auto"] .section p,
body[data-producto="auto"] .prose,
body[data-producto="auto"] .section li,
body[data-producto="auto"] .hero__asesoria,
body[data-producto="auto"] .section-head p {
  font-size: 16px; line-height: 1.65; color: var(--base44-muted);
}
body[data-producto="auto"] .hero h1 em { color: var(--base44-primary); }
body[data-producto="auto"] .hero__beneficio { color: var(--base44-foreground); }

@media (min-width: 768px) {
  body[data-producto="auto"] .hero h1 { font-size: 48px; }
  body[data-producto="auto"] h2 { font-size: 30px; }
}
@media (min-width: 1024px) {
  body[data-producto="auto"] .hero h1 { font-size: 60px; }
  body[data-producto="auto"] h2 { font-size: 36px; }
  body[data-producto="auto"] .section p,
  body[data-producto="auto"] .prose,
  body[data-producto="auto"] .hero__asesoria { font-size: 18px; }
}

/* --------------------------------------------------------------------------
   Superficies
   -------------------------------------------------------------------------- */
body[data-producto="auto"] .section        { background: var(--base44-background); }
body[data-producto="auto"] .section--brand  { background: var(--base44-secondary); }
body[data-producto="auto"] .section--dark    { background: var(--base44-card); }
body[data-producto="auto"] .hero             { background: var(--base44-background); }
/* Resplandor del hero: cian muy tenue, discreto (sin apariencia técnica) */
body[data-producto="auto"] .hero::before {
  background:
    radial-gradient(760px 420px at 82% -12%, hsl(190 100% 50% / .10), transparent 62%),
    radial-gradient(680px 420px at 6% 6%, hsl(228 53% 15% / .55), transparent 64%);
}
body[data-producto="auto"] .hero::after { opacity: .30; }

body[data-producto="auto"] .section h1,
body[data-producto="auto"] .section h2,
body[data-producto="auto"] .section h3,
body[data-producto="auto"] .hero h1,
body[data-producto="auto"] .hero h2 { color: var(--base44-foreground); }
body[data-producto="auto"] .section-label { color: var(--base44-primary); }
body[data-producto="auto"] .section a { color: var(--base44-primary); }
body[data-producto="auto"] .section a:hover { color: var(--base44-foreground); }
body[data-producto="auto"] .eyebrow { color: var(--base44-primary); }

/* --------------------------------------------------------------------------
   Encabezado y navegación visibles en la página (solo en Auto)
   -------------------------------------------------------------------------- */
body[data-producto="auto"] .site-header {
  background: hsl(230 60% 7% / .78);
  border-bottom-color: var(--base44-border);
}
body[data-producto="auto"] .site-header.is-stuck {
  background: hsl(230 60% 7% / .94);
  border-bottom-color: hsl(190 100% 50% / .18);
}
body[data-producto="auto"] .nav__link { color: var(--base44-muted); }
body[data-producto="auto"] .nav__link:hover { color: var(--base44-foreground); }
body[data-producto="auto"] .nav__link[aria-current="page"],
body[data-producto="auto"] .nav__item[data-open="true"] > .nav__link { color: var(--base44-primary); }
body[data-producto="auto"] .nav__menu {
  background: hsl(228 53% 12% / .92);
  border-color: var(--base44-border);
}
body[data-producto="auto"] .nav__tel { color: var(--base44-muted); }
body[data-producto="auto"] .nav__tel:hover { color: var(--base44-primary); }
body[data-producto="auto"] .breadcrumb { background: var(--base44-background); }
body[data-producto="auto"] .breadcrumb a:hover { color: var(--base44-primary); }

/* --------------------------------------------------------------------------
   Paneles: glass discreto (tarjetas, coberturas, callouts, compañías, form…)
   Fondo semitransparente sobre --base44-card, borde de baja opacidad,
   backdrop-filter moderado y sombra profunda pero suave.
   -------------------------------------------------------------------------- */
body[data-producto="auto"] .card,
body[data-producto="auto"] .coverage,
body[data-producto="auto"] .callout,
body[data-producto="auto"] .insurer,
body[data-producto="auto"] .form-card,
body[data-producto="auto"] .credential-card,
body[data-producto="auto"] .selector {
  background: var(--base44-card);                                   /* respaldo */
  background: color-mix(in srgb, var(--base44-card) 86%, transparent);
  border: 1px solid var(--base44-border);
  box-shadow: 0 16px 40px hsl(230 60% 3% / .55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
body[data-producto="auto"] .card h3,
body[data-producto="auto"] .coverage h3,
body[data-producto="auto"] .callout h3,
body[data-producto="auto"] .insurer__name { color: var(--base44-foreground); }
body[data-producto="auto"] .card p,
body[data-producto="auto"] .coverage p,
body[data-producto="auto"] .callout p,
body[data-producto="auto"] .insurer__role { color: var(--base44-muted); }
body[data-producto="auto"] .card--link:hover {
  border-color: hsl(190 100% 50% / .45);
  box-shadow: 0 22px 52px hsl(230 60% 3% / .6);
}
body[data-producto="auto"] .card__icon {
  background: hsl(190 100% 50% / .14); color: var(--base44-primary);
}
body[data-producto="auto"] .card__more { color: var(--base44-primary); }
body[data-producto="auto"] .card--link:hover .card__more { color: var(--base44-foreground); }

/* Coberturas: sí/no por ícono y filo, sin bloque de color claro */
body[data-producto="auto"] .coverage--yes { border-left: 3px solid hsl(190 100% 50% / .5); }
body[data-producto="auto"] .coverage--no  { border-left: 3px solid hsl(18 80% 62% / .55); }
body[data-producto="auto"] .coverage--yes svg { color: var(--base44-primary); }
body[data-producto="auto"] .coverage--no  svg { color: hsl(18 80% 72%); }
body[data-producto="auto"] .coverage--no h3 { color: hsl(18 60% 82%); }

/* Bloques informativos */
body[data-producto="auto"] .callout { border-left: 3px solid var(--base44-primary); }
body[data-producto="auto"] .callout--warn { border-left-color: hsl(18 80% 62%); }

/* Nota legal como bloque secundario */
body[data-producto="auto"] .legal-note {
  background: var(--base44-secondary); border-color: var(--base44-border); color: var(--base44-muted);
}

/* --------------------------------------------------------------------------
   Selector "¿Qué seguro necesitas?"
   -------------------------------------------------------------------------- */
body[data-producto="auto"] .selector { border-color: var(--base44-border); }
body[data-producto="auto"] .selector__title { color: var(--base44-foreground); }
body[data-producto="auto"] .selector__op {
  color: var(--base44-muted); border-color: var(--base44-border);
}
body[data-producto="auto"] .selector__op:hover {
  border-color: hsl(190 100% 50% / .55); color: var(--base44-foreground);
}
body[data-producto="auto"] .selector__op[aria-pressed="true"] {
  background: var(--base44-primary); border-color: var(--base44-primary);
  color: var(--base44-background); font-weight: 600;
}
body[data-producto="auto"] .selector__mensaje { color: var(--base44-muted); }

/* --------------------------------------------------------------------------
   Confianza, teléfono del hero
   -------------------------------------------------------------------------- */
body[data-producto="auto"] .confianza { border-top-color: var(--base44-border); }
body[data-producto="auto"] .confianza__item { color: var(--base44-muted); }
body[data-producto="auto"] .confianza__item svg { color: var(--base44-primary); }
body[data-producto="auto"] .hero__tel { color: var(--base44-foreground); }
body[data-producto="auto"] .hero__tel svg { color: var(--base44-primary); }
body[data-producto="auto"] .hero__tel-nota { color: var(--base44-muted); }

/* --------------------------------------------------------------------------
   Preguntas frecuentes
   -------------------------------------------------------------------------- */
body[data-producto="auto"] .faq { border-top-color: var(--base44-border); }
body[data-producto="auto"] .faq__item { border-bottom-color: var(--base44-border); }
body[data-producto="auto"] .faq__q { color: var(--base44-foreground); }
body[data-producto="auto"] .faq__q:hover { color: var(--base44-primary); }
body[data-producto="auto"] .faq__icon { color: var(--base44-primary); }
body[data-producto="auto"] .faq__a p { color: var(--base44-muted); }

/* --------------------------------------------------------------------------
   Credenciales
   -------------------------------------------------------------------------- */
body[data-producto="auto"] .credential-card { border-color: var(--base44-border); }
body[data-producto="auto"] .credential-card__name { color: var(--base44-foreground); }
body[data-producto="auto"] .credential-card__role { color: var(--base44-primary); }
body[data-producto="auto"] .credential-list li {
  border-top-color: var(--base44-border); color: var(--base44-muted);
}
body[data-producto="auto"] .credential-list strong { color: var(--base44-foreground); }
body[data-producto="auto"] .credential-list svg { color: var(--base44-primary); }

/* Proceso en pasos */
body[data-producto="auto"] .steplist p { color: var(--base44-muted); }
body[data-producto="auto"] .steplist li::before {
  background: var(--base44-primary); color: var(--base44-background);
}

/* --------------------------------------------------------------------------
   Formulario
   -------------------------------------------------------------------------- */
body[data-producto="auto"] .form-card { border-color: var(--base44-border); }
body[data-producto="auto"] .form-card .steps__label { color: var(--base44-foreground); }
/* Etiquetas legibles y a 16 px en móvil (no reducir por debajo de 16 px) */
body[data-producto="auto"] .field > label { color: var(--base44-foreground); font-size: 16px; }
body[data-producto="auto"] .field__hint { color: var(--base44-muted); }
body[data-producto="auto"] .consent label { color: var(--base44-muted); }
body[data-producto="auto"] .input,
body[data-producto="auto"] .select,
body[data-producto="auto"] .textarea {
  background: var(--base44-secondary);
  border-color: var(--base44-border);
  color: var(--base44-foreground);
  font-size: 16px;                       /* evita el zoom de iOS y cumple el mínimo */
}
body[data-producto="auto"] .input::placeholder,
body[data-producto="auto"] .textarea::placeholder { color: var(--base44-muted); }
body[data-producto="auto"] .input:focus,
body[data-producto="auto"] .select:focus,
body[data-producto="auto"] .textarea:focus {
  border-color: var(--base44-primary);
  box-shadow: 0 0 0 3px hsl(190 100% 50% / .25);
}
/* Chevron del select en claro, visible sobre fondo oscuro */
body[data-producto="auto"] .select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A4AEBC' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}
body[data-producto="auto"] .steps__item { background: var(--base44-border); }
body[data-producto="auto"] .steps__item.is-done { background: var(--base44-primary); }
body[data-producto="auto"] .form-note { color: var(--base44-muted); border-top-color: var(--base44-border); }
/* Estados de error conservados, adaptados al fondo oscuro */
body[data-producto="auto"] .field__error { color: hsl(18 90% 74%); }
body[data-producto="auto"] .form-aviso {
  background: hsl(38 90% 55% / .12); border-color: hsl(38 90% 55% / .5); color: hsl(38 80% 80%);
}
body[data-producto="auto"] .form-estado--info {
  background: hsl(38 90% 55% / .12); border-color: hsl(38 90% 55% / .5); color: hsl(38 80% 80%);
}
body[data-producto="auto"] .form-estado--ok {
  background: hsl(160 60% 45% / .14); border-color: hsl(160 60% 45% / .5); color: hsl(160 55% 78%);
}
body[data-producto="auto"] .form-estado--err {
  background: hsl(8 75% 55% / .14); border-color: hsl(8 75% 55% / .55); color: hsl(8 80% 82%);
}

/* --------------------------------------------------------------------------
   Botones — el cian primary es color de acción; WhatsApp conserva su verde
   -------------------------------------------------------------------------- */
body[data-producto="auto"] .btn--primary {
  background: var(--base44-primary); color: var(--base44-background);
  box-shadow: 0 6px 20px hsl(190 100% 50% / .22);
}
body[data-producto="auto"] .btn--primary:hover {
  background: hsl(190 100% 60%); color: var(--base44-background);
}
body[data-producto="auto"] .btn--secondary {
  background: var(--base44-secondary); border: 1px solid var(--base44-border);
  color: var(--base44-foreground);
}
body[data-producto="auto"] .btn--secondary:hover { background: var(--base44-card); }
body[data-producto="auto"] .btn--outline {
  color: var(--base44-foreground); border-color: var(--base44-border);
}
body[data-producto="auto"] .btn--outline:hover {
  border-color: var(--base44-primary); background: hsl(190 100% 50% / .08);
  color: var(--base44-foreground);
}
/* WhatsApp se conserva verde (no se convierte a cian) */

/* Foco de teclado en cian de marca (accesibilidad) */
body[data-producto="auto"] :focus-visible { outline-color: var(--base44-primary); }

/* --------------------------------------------------------------------------
   Ajustes de formulario y barra (v4)
   -------------------------------------------------------------------------- */

/* Selectores: una sola flecha (evita la nativa + SVG duplicada en iOS/Safari) */
body[data-producto="auto"] .select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  padding-right: 46px;          /* espacio para la flecha, sin superponer texto */
  font-size: 16px;              /* mínimo en móvil, evita el zoom de iOS */
  min-height: 50px;             /* alineación y área táctil consistentes */
}
body[data-producto="auto"] .select::-ms-expand { display: none; }  /* Edge/IE antiguos */

/* CTA único y compacto del selector (secundario, no ocupa todo el ancho) */
body[data-producto="auto"] .selector__cta { margin-top: var(--s2); }
body[data-producto="auto"] .selector__cta .btn {
  width: auto;
  min-height: 44px;             /* área táctil mínima */
  padding: 10px 18px;
  font-size: 0.9375rem;
}

/* La barra fija móvil nunca tapa tarjetas, formulario, legales ni el pie */
@media (max-width: 900px) {
  body[data-producto="auto"] { padding-bottom: calc(74px + env(safe-area-inset-bottom, 0px)); }
}

/* Fin del bloque piloto v4 — parte tokens/base */

/* ==========================================================================
   PILOTO BASE44 — SEGURO DE AUTO (v4) — composición completa
   Todo aislado bajo body[data-producto="auto"]. Reutiliza los tokens
   --base44-* definidos arriba en este mismo bloque. Reversible eliminándolo.
   ========================================================================== */

/* Contenedor y ritmo amplios (1280 / 24·32·48 / 80·128) */
body[data-producto="auto"] .container { max-width: 1280px; padding-inline: 24px; }
@media (min-width: 768px)  { body[data-producto="auto"] .container { padding-inline: 32px; } }
@media (min-width: 1024px) { body[data-producto="auto"] .container { padding-inline: 48px; } }
body[data-producto="auto"] .section { padding-block: 48px; }
@media (min-width: 768px)  { body[data-producto="auto"] .section { padding-block: 60px; } }
body[data-producto="auto"] .section--b44alt { background: #0A0E22; }
body[data-producto="auto"] .section-head--center { text-align: center; margin-inline: auto; }
body[data-producto="auto"] .section-head--center .section-label { display: inline-block; }

/* -------------------------------------------------------------- Encabezado */
body[data-producto="auto"] .site-header {
  position: fixed; left: 0; right: 0; top: 0; z-index: 70;
  background: transparent; border-bottom: 1px solid transparent;
  backdrop-filter: none; -webkit-backdrop-filter: none;
  transition: transform 500ms cubic-bezier(.16,1,.3,1),
              background-color 400ms ease, border-color 400ms ease;
}
body[data-producto="auto"] .header__inner { min-height: 80px; }
/* main.js añade is-stuck; auto-pilot.js añade hdr-scrolled/hdr-hidden */
body[data-producto="auto"] .site-header.is-stuck { background: transparent; box-shadow: none; }
body[data-producto="auto"] .site-header.hdr-scrolled {
  background: hsl(230 60% 7% / .80);
  -webkit-backdrop-filter: saturate(160%) blur(20px);
  backdrop-filter: saturate(160%) blur(20px);
  border-bottom-color: rgba(255,255,255,.05);
}
body[data-producto="auto"] .site-header.hdr-hidden { transform: translateY(-100%); }
body[data-producto="auto"] #cotizar { scroll-margin-top: 92px; }

/* Tres controles cuadrados en móvil (llamada · WhatsApp · menú) */
body[data-producto="auto"] .header__mobile { display: none; gap: 8px; margin-left: auto; }
body[data-producto="auto"] .hdr-sq {
  width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.16); border-radius: 10px;
  color: #fff; background: rgba(255,255,255,.05); text-decoration: none;
}
body[data-producto="auto"] .hdr-sq svg { width: 18px; height: 18px; }
body[data-producto="auto"] .hdr-sq--wa { background: #25D366; color: #06341A; border-color: transparent; }
@media (max-width: 1100px) {
  body[data-producto="auto"] .header__mobile { display: inline-flex; }
  body[data-producto="auto"] .nav-toggle { margin-left: 8px; width: 40px; height: 40px; }
}
/* Menú móvil a pantalla, fondo #070A1A al 95% con blur */
@media (max-width: 1100px) {
  body[data-producto="auto"] .nav.is-open {
    background: hsl(230 60% 7% / .95);
    -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px);
  }
}

/* ------------------------------------------------------------------- Hero */
body[data-producto="auto"] .hero-b44 {
  position: relative; min-height: 78vh; display: flex; align-items: center;
  overflow: hidden; background: var(--base44-background);
  padding-block: 96px 64px;
}
body[data-producto="auto"] .hero-b44__bg { position: absolute; inset: 0; z-index: 0; }
body[data-producto="auto"] .hero-b44__bg img {
  width: 100%; height: 100%; object-fit: cover; opacity: .20; display: block;
}
body[data-producto="auto"] .hero-b44__overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, hsl(190 100% 50% / .12), transparent 60%),
    radial-gradient(ellipse 60% 50% at 100% 50%, hsl(220 80% 30% / .15), transparent 60%),
    linear-gradient(90deg, #070A1A 0%, hsl(230 60% 7% / .90) 45%, hsl(230 60% 7% / .50) 100%);
}
body[data-producto="auto"] .hero-b44__inner {
  position: relative; z-index: 2; max-width: 900px;
  margin-inline: auto; text-align: center;
}
body[data-producto="auto"] .hero-b44 h1 {
  color: var(--base44-foreground);
  font-size: 36px; font-weight: 700; line-height: 1.08; letter-spacing: -.02em;
  margin: 0 0 var(--s5);
}
body[data-producto="auto"] .hero-b44 h1 .accent { color: var(--base44-primary); }
@media (min-width: 768px)  { body[data-producto="auto"] .hero-b44 h1 { font-size: 48px; } }
@media (min-width: 1024px) { body[data-producto="auto"] .hero-b44 h1 { font-size: 60px; } }
body[data-producto="auto"] .hero-b44__sub {
  font-size: 18px; line-height: 1.65; color: var(--base44-muted); max-width: 60ch;
  margin-inline: auto;
}
body[data-producto="auto"] .hero-b44__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: var(--s7); }
body[data-producto="auto"] .hero-b44__cta .btn svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

/* ---------------------------------------------------------------- Botones */
body[data-producto="auto"] .btn {
  text-transform: uppercase; letter-spacing: .08em; font-weight: 600;
  border-radius: 12px; transition: transform 300ms cubic-bezier(.16,1,.3,1),
              background-color 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}
body[data-producto="auto"] .btn--primary {
  background: var(--base44-primary); color: var(--base44-background);
}
body[data-producto="auto"] .btn--primary:hover {
  background: #00B8E6; color: var(--base44-background);
  transform: translateY(-2px); box-shadow: 0 10px 30px hsl(190 100% 50% / .28);
}
body[data-producto="auto"] .btn--glass {
  border: 1px solid hsl(190 100% 50% / .40); background: hsl(190 100% 50% / .05);
  color: var(--base44-foreground);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
body[data-producto="auto"] .btn--glass:hover {
  border-color: var(--base44-primary); background: hsl(190 100% 50% / .10);
  color: var(--base44-foreground); transform: translateY(-2px);
}

/* -------------------------------------------------- Tarjetas glass Base44 */
body[data-producto="auto"] .b44-grid { gap: var(--s5); }
body[data-producto="auto"] .b44-card,
body[data-producto="auto"] .b44-num,
body[data-producto="auto"] .b44-tipo {
  border-radius: 16px; border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  padding: var(--s6); transition: transform 500ms cubic-bezier(.16,1,.3,1),
              border-color 500ms ease, background-color 500ms ease;
}
body[data-producto="auto"] .b44-card:hover,
body[data-producto="auto"] .b44-num:hover,
body[data-producto="auto"] .b44-tipo:hover {
  border-color: hsl(190 100% 50% / .40); background: rgba(255,255,255,.05);
  transform: translateY(-4px);
}
body[data-producto="auto"] .b44-card h3,
body[data-producto="auto"] .b44-num h3,
body[data-producto="auto"] .b44-tipo h3 { color: var(--base44-foreground); margin: 0 0 var(--s3); font-size: 1.125rem; }
body[data-producto="auto"] .b44-card p,
body[data-producto="auto"] .b44-num p,
body[data-producto="auto"] .b44-tipo p { color: var(--base44-muted); margin: 0; font-size: .9688rem; }
body[data-producto="auto"] .b44-card__ic {
  display: inline-flex; margin-bottom: var(--s4); color: var(--base44-primary);
}
body[data-producto="auto"] .b44-card__ic svg { width: 24px; height: 24px; stroke-width: 2; }

/* Tarjetas numeradas */
body[data-producto="auto"] .b44-num__n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 999px;
  background: #10C7EE; color: #03101A;
  font-weight: 700; font-size: 1.0625rem;
}
body[data-producto="auto"] .b44-num__head {
  display: flex; align-items: center; gap: var(--s3); margin-bottom: var(--s4);
}
body[data-producto="auto"] .b44-num__head h3 { margin: 0; }

body[data-producto="auto"] .card--center-title h3 { text-align: center; }

/* Tipos de cobertura: primera destacada */
body[data-producto="auto"] .b44-tipo--dest {
  border-color: hsl(190 100% 50% / .20); background: hsl(190 100% 50% / .04);
}

/* -------------------------------------------- Más allá del precio (split) */
body[data-producto="auto"] .b44-split { display: grid; gap: var(--s7); align-items: start; }
@media (min-width: 768px) {
  body[data-producto="auto"] .b44-split { grid-template-columns: 1fr 1.05fr; gap: var(--s8); }
}
body[data-producto="auto"] .b44-points { list-style: none; padding: 0; margin: var(--s5) 0 0; }
body[data-producto="auto"] .b44-points li {
  position: relative; padding-left: 30px; margin-bottom: var(--s3); color: var(--base44-muted);
}
body[data-producto="auto"] .b44-points li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 9px;
  border-left: 2px solid var(--base44-primary); border-bottom: 2px solid var(--base44-primary);
  transform: rotate(-45deg);
}

/* --------------------------------------------------- Formulario Base44 */
body[data-producto="auto"] .form-card--b44 {
  border: 1px solid hsl(190 100% 50% / .20); background: hsl(190 100% 50% / .04);
  border-radius: 16px; padding: 32px;
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
@media (min-width: 768px) { body[data-producto="auto"] .form-card--b44 { padding: 40px; } }
body[data-producto="auto"] .form-grid { display: grid; gap: 20px; }
@media (min-width: 768px) {
  body[data-producto="auto"] .form-grid { grid-template-columns: 1fr 1fr; }
  body[data-producto="auto"] .form-grid .field--full { grid-column: 1 / -1; }
}
body[data-producto="auto"] .form-card--b44 .field { margin-bottom: 0; }
body[data-producto="auto"] .form-card--b44 .field > label { font-size: 14px; }
body[data-producto="auto"] .form-card--b44 .input,
body[data-producto="auto"] .form-card--b44 .select,
body[data-producto="auto"] .form-card--b44 .textarea {
  border-radius: 12px; border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03); color: var(--base44-foreground);
  padding: 12px 16px; font-size: 16px;
}
body[data-producto="auto"] .form-card--b44 .input::placeholder,
body[data-producto="auto"] .form-card--b44 .textarea::placeholder { color: hsl(215 15% 69% / .5); }
body[data-producto="auto"] .form-card--b44 .input:focus,
body[data-producto="auto"] .form-card--b44 .select:focus,
body[data-producto="auto"] .form-card--b44 .textarea:focus {
  border-color: hsl(190 100% 50% / .50);
  box-shadow: 0 0 0 3px hsl(190 100% 50% / .15);
}

/* Control segmentado (contacto preferido) */
body[data-producto="auto"] .segmented { display: flex; gap: 8px; }
body[data-producto="auto"] .segmented .seg { position: relative; flex: 1; }
body[data-producto="auto"] .segmented .seg input { position: absolute; opacity: 0; width: 0; height: 0; }
body[data-producto="auto"] .segmented .seg span {
  display: flex; align-items: center; justify-content: center; min-height: 46px;
  border: 1px solid rgba(255,255,255,.14); border-radius: 12px;
  color: var(--base44-muted); font-size: .9375rem; font-weight: 500; cursor: pointer;
  transition: all .15s;
}
body[data-producto="auto"] .segmented .seg input:hover + span { border-color: rgba(255,255,255,.3); }
body[data-producto="auto"] .segmented .seg input:checked + span {
  border-color: var(--base44-primary); background: hsl(190 100% 50% / .10); color: var(--base44-primary); font-weight: 600;
}
body[data-producto="auto"] .segmented .seg input:focus-visible + span { outline: 2px solid var(--base44-primary); outline-offset: 2px; }

/* ------------------------------------------------------ Reveal (entrada) */
.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity 550ms cubic-bezier(.16,1,.3,1), transform 550ms cubic-bezier(.16,1,.3,1);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* --------------------------------------------------------------------------
   Control de calidad v4.1 — todo aislado en Auto
   -------------------------------------------------------------------------- */

/* 1) Footer: 1 / 2 / 4 columnas (corrige el desbordamiento en tablet) */
body[data-producto="auto"] .footer__grid { grid-template-columns: 1fr; }
@media (min-width: 640px) {
  body[data-producto="auto"] .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  body[data-producto="auto"] .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; }
}
body[data-producto="auto"] .footer__grid > div { min-width: 0; }
body[data-producto="auto"] .site-footer a { overflow-wrap: anywhere; }

/* Auto: el pie conserva la escala compacta y los enlaces de acento del sistema. */
body[data-producto="auto"] .site-footer h2 {
  color: #fff;
  font-size: .75rem;
  line-height: 1.2;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: var(--s5);
  font-weight: 600;
}
body[data-producto="auto"] .site-footer a { color: var(--base44-primary); }
body[data-producto="auto"] .site-footer a:hover { color: var(--base44-foreground); }

/* Errores comunes: dos tarjetas por fila; una quinta queda a la izquierda. */
.errors-grid { align-items: stretch; }
.errors-grid .callout { height: 100%; }

/* Inicio: contenido de aseguradoras centrado, sin alterar la escala tipográfica. */
body[data-producto="general"] [data-track-view="aseguradoras"] { text-align: center; }
body[data-producto="general"] [data-track-view="aseguradoras"] .insurer {
  margin-inline: auto;
}
body[data-producto="general"] [data-track-view="aseguradoras"] .legal-note {
  max-width: 880px; margin-inline: auto;
}

/* Auto: carrusel compacto de errores comunes. */
body[data-producto="auto"] .errors-carousel { max-width: 860px; margin-inline: auto; }
body[data-producto="auto"] .errors-carousel__track { position: relative; }
body[data-producto="auto"] .errors-carousel__slide {
  display: none; min-height: 260px; padding: clamp(28px, 5vw, 48px);
  border-left-width: 1px; text-align: left;
}
body[data-producto="auto"] .errors-carousel__slide.is-active {
  display: flex; flex-direction: column; justify-content: center;
  animation: error-card-in 360ms ease both;
}
body[data-producto="auto"] .errors-carousel__slide h3 {
  text-align: center; font-size: clamp(1.2rem, 2.2vw, 1.55rem);
}
body[data-producto="auto"] .errors-carousel__number {
  display: block; margin-bottom: var(--s3); text-align: center;
  color: var(--base44-primary); font-weight: 700; letter-spacing: .12em;
}
body[data-producto="auto"] .errors-carousel__controls {
  display: flex; align-items: center; justify-content: center;
  gap: var(--s3); margin-top: var(--s5);
}
body[data-producto="auto"] .errors-carousel__arrow,
body[data-producto="auto"] .errors-carousel__toggle,
body[data-producto="auto"] .errors-carousel__dot {
  border: 1px solid var(--base44-border); color: var(--base44-foreground);
  background: rgba(255,255,255,.04); cursor: pointer;
}
body[data-producto="auto"] .errors-carousel__arrow {
  width: 44px; height: 44px; border-radius: 999px; font-size: 1.6rem;
}
body[data-producto="auto"] .errors-carousel__toggle {
  min-height: 40px; padding-inline: var(--s4); border-radius: 999px;
  font: inherit; font-size: .875rem;
}
body[data-producto="auto"] .errors-carousel__dots { display: flex; gap: 8px; }
body[data-producto="auto"] .errors-carousel__dot {
  width: 10px; height: 10px; padding: 0; border-radius: 999px;
}
body[data-producto="auto"] .errors-carousel__dot[aria-current="true"] {
  width: 28px; background: var(--base44-primary); border-color: var(--base44-primary);
}
body[data-producto="auto"] .errors-carousel button:focus-visible {
  outline: 2px solid var(--base44-primary); outline-offset: 3px;
}
@keyframes error-card-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 640px) {
  body[data-producto="auto"] .errors-carousel__slide { min-height: 330px; }
  body[data-producto="auto"] .errors-carousel__controls { gap: 8px; }
  body[data-producto="auto"] .errors-carousel__toggle { padding-inline: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  body[data-producto="auto"] .errors-carousel__slide.is-active { animation: none; }
}

/* Auto: modalidades de protección y cierre de conversión. */
body[data-producto="auto"] .coverage-types .b44-tipo {
  display: flex; flex-direction: column; gap: var(--s4);
}
body[data-producto="auto"] .coverage-types .b44-tipo h3,
body[data-producto="auto"] .coverage-types .b44-tipo p { margin: 0; }
body[data-producto="auto"] .b44-tipo__badge {
  align-self: flex-start; padding: 6px 10px; border-radius: 999px;
  color: #03101A; background: var(--base44-primary);
  font-size: .75rem; font-weight: 700; letter-spacing: .03em;
}
body[data-producto="auto"] .b44-tipo__fit {
  padding-top: var(--s4); border-top: 1px solid var(--base44-border);
}
body[data-producto="auto"] .b44-tipo__fit strong { color: var(--base44-foreground); }
body[data-producto="auto"] .coverage-advice {
  max-width: 900px; margin: var(--s7) auto 0; padding: clamp(28px, 5vw, 48px);
  text-align: center; border: 1px solid hsl(190 100% 50% / .28);
  border-radius: 18px; background: hsl(190 100% 50% / .055);
}
body[data-producto="auto"] .coverage-advice h3 {
  font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: var(--s4);
}
body[data-producto="auto"] .coverage-advice p {
  max-width: 70ch; margin: 0 auto var(--s5); text-align: left;
}
body[data-producto="auto"] .coverage-advice small {
  display: block; margin-top: var(--s3); color: var(--base44-muted);
}

/* Un único turquesa para marca e indicadores numerados en todo el sitio. */
body .brand__dot { color: #10C7EE; }
.steplist li::before { background: #10C7EE; color: #03101A; }

/* El énfasis dentro de coberturas de Auto debe conservar contraste blanco. */
body[data-producto="auto"] .coverage strong { color: #F8FAFC; }

/* 2) Banner de cookies legible sobre su superficie clara */
body[data-producto="auto"] .consent-banner { background: var(--surface); }
body[data-producto="auto"] .consent-banner h2 { color: var(--navy-900); }
body[data-producto="auto"] .consent-banner p  { color: var(--ink-600); }
body[data-producto="auto"] .consent-banner a  { color: var(--turq-700); text-decoration: underline; }
body[data-producto="auto"] .consent-banner .btn { text-transform: none; letter-spacing: normal; }
body[data-producto="auto"] .consent-banner .btn--primary { background: var(--turq-500); color: var(--navy-950); }
body[data-producto="auto"] .consent-banner .btn--primary:hover { background: var(--turq-400); color: var(--navy-950); }
body[data-producto="auto"] .consent-banner .btn--outline {
  color: var(--navy-900); border-color: var(--border-strong); background: transparent;
}
body[data-producto="auto"] .consent-banner .btn--outline:hover {
  border-color: var(--navy-900); background: var(--surface-alt); color: var(--navy-900);
}
body[data-producto="auto"] .consent-banner .btn:focus-visible {
  outline: 2px solid var(--turq-600); outline-offset: 2px;
}
@media (max-width: 640px) {
  body[data-producto="auto"] .consent-banner { padding: var(--s4) var(--s5); }
  body[data-producto="auto"] .consent-banner h2 { font-size: 1rem; margin-bottom: 4px; }
  body[data-producto="auto"] .consent-banner p  { font-size: .8125rem; margin-bottom: var(--s3); }
  body[data-producto="auto"] .consent-banner .btn { min-height: 42px; font-size: .875rem; }
}

/* 3) Breakpoint del encabezado: escritorio desde 1024 px */
@media (min-width: 1024px) {
  body[data-producto="auto"] .nav { display: flex; }
  body[data-producto="auto"] .nav-toggle,
  body[data-producto="auto"] .header__mobile { display: none; }
}
@media (min-width: 1024px) and (max-width: 1200px) {
  body[data-producto="auto"] .nav { gap: 2px; }
  body[data-producto="auto"] .nav__link { padding-inline: 10px; font-size: .9375rem; }
  body[data-producto="auto"] .nav__tel { margin-left: var(--s2); }
  body[data-producto="auto"] .btn--header { padding-inline: 16px; letter-spacing: .03em; }
}

/* 4/5) Formulario de una tarjeta + la barra móvil no tapa nada */
body[data-producto="auto"] .form-rest { margin-top: 20px; }
body[data-producto="auto"] .form-card--b44 .consent { margin-top: var(--s4); }
@media (max-width: 900px) {
  body[data-producto="auto"] .form-card--b44 .input,
  body[data-producto="auto"] .form-card--b44 .select,
  body[data-producto="auto"] .form-card--b44 .textarea,
  body[data-producto="auto"] .form-card--b44 .consent,
  body[data-producto="auto"] .form-card--b44 .segmented,
  body[data-producto="auto"] .form-card--b44 [type="submit"],
  body[data-producto="auto"] .form-estado { scroll-margin-bottom: 92px; }
}

/* ==========================================================================
   Inicio — refinamiento visual Base44
   Fondo atmosférico, glass moderado y jerarquía de conversión.
   Aislado en la portada para conservar las landings ya validadas.
   ========================================================================== */
body[data-producto="general"] .hero {
  min-height: auto;
  display: flex;
  align-items: center;
  padding-block: clamp(64px, 6vw, 92px) 64px;
  isolation: isolate;
  background:
    linear-gradient(125deg, rgba(4, 14, 29, .98) 0%, rgba(7, 23, 38, .97) 43%, rgba(7, 26, 45, .96) 100%);
}

body[data-producto="general"] .hero::before {
  inset: -16%;
  opacity: .96;
  filter: blur(24px) saturate(120%);
  transform: translate3d(0, 0, 0);
  background:
    radial-gradient(46% 42% at 82% 22%, rgba(47, 225, 211, .31) 0%, rgba(24, 156, 171, .13) 34%, transparent 70%),
    radial-gradient(42% 38% at 14% 8%, rgba(44, 107, 166, .48) 0%, rgba(22, 59, 98, .18) 46%, transparent 74%),
    radial-gradient(44% 42% at 64% 92%, rgba(16, 159, 171, .20) 0%, rgba(9, 67, 91, .12) 46%, transparent 74%);
  animation: home-aurora 15s ease-in-out infinite alternate;
}

body[data-producto="general"] .hero::after {
  opacity: .42;
  background-image:
    linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px),
    radial-gradient(circle at 76% 30%, rgba(255,255,255,.08) 0 1px, transparent 1.5px);
  background-size: 72px 72px, 72px 72px, 22px 22px;
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.72) 58%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.72) 58%, transparent 100%);
}

@keyframes home-aurora {
  from { transform: translate3d(-1.5%, -1%, 0) scale(1.01); }
  to   { transform: translate3d(1.5%, 1%, 0) scale(1.05); }
}

body[data-producto="general"] .hero__grid {
  gap: clamp(36px, 4vw, 64px);
  align-items: start;
}

body[data-producto="general"] .hero h1 {
  max-width: none;
  font-size: clamp(2.45rem, 3.5vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -.04em;
  text-shadow: 0 12px 44px rgba(0, 0, 0, .28);
}

body[data-producto="general"] .hero h1 em {
  background: linear-gradient(90deg, #8FF8EE 0%, var(--turq-400) 46%, #64BFEA 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

body[data-producto="general"] .eyebrow {
  width: fit-content;
  padding: 8px 13px;
  border: 1px solid rgba(125, 242, 231, .20);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .045);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

body[data-producto="general"] .hero__lead {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.75;
  color: #D5E1EC;
}

body[data-producto="general"] .chip {
  border-color: rgba(255, 255, 255, .13);
  background: rgba(255, 255, 255, .055);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.045);
}

body[data-producto="general"] a.chip:hover {
  border-color: rgba(58, 224, 208, .55);
  background: rgba(58, 224, 208, .10);
  transform: translateY(-1px);
}

body[data-producto="general"] .credential-card {
  position: relative;
  align-self: start;
  justify-self: end;
  width: 100%;
  max-width: 440px;
  margin-top: 56px;
  overflow: hidden;
  padding: clamp(24px, 3vw, 38px);
  border-color: rgba(255, 255, 255, .16);
  background:
    linear-gradient(145deg, rgba(255,255,255,.10), rgba(255,255,255,.035) 52%, rgba(17,90,107,.07));
  box-shadow:
    0 34px 80px rgba(0, 0, 0, .42),
    inset 0 1px 0 rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(26px) saturate(145%);
  backdrop-filter: blur(26px) saturate(145%);
}

body[data-producto="general"] .credential-card::before {
  content: "";
  position: absolute;
  width: 210px;
  height: 210px;
  top: -135px;
  right: -95px;
  border-radius: 50%;
  background: rgba(58, 224, 208, .18);
  filter: blur(36px);
  pointer-events: none;
}

body[data-producto="general"] .credential-card > * { position: relative; }

body[data-producto="general"] .trust-strip {
  margin-top: clamp(56px, 7vw, 88px);
  padding: 24px clamp(20px, 3vw, 36px);
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .035);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

body[data-producto="general"] .trust-strip > div {
  padding-left: clamp(0px, 2vw, 22px);
  border-left: 1px solid rgba(255, 255, 255, .08);
}
body[data-producto="general"] .trust-strip > div:first-child { border-left: 0; padding-left: 0; }

@media (max-width: 767px) {
  body[data-producto="general"] .hero { min-height: auto; padding-top: 58px; }
  body[data-producto="general"] .hero h1 { max-width: none; font-size: clamp(2.35rem, 12vw, 3.35rem); }
  body[data-producto="general"] .credential-card { margin-top: 0; justify-self: stretch; max-width: none; }
  body[data-producto="general"] .hero .btn-row .btn { width: 100%; }
  body[data-producto="general"] .trust-strip > div:nth-child(3) { border-left: 0; padding-left: 0; }
}

@media (min-width: 980px) and (max-width: 1119px) {
  body[data-producto="general"] .hero__grid { grid-template-columns: 1fr; }
  body[data-producto="general"] .credential-card {
    margin-top: 0;
    justify-self: stretch;
    max-width: 760px;
  }
}

@media (min-width: 1120px) {
  body[data-producto="general"] .hero__grid {
    grid-template-columns: minmax(560px, 1.2fr) minmax(400px, .8fr);
  }
  body[data-producto="general"] .hero h1 > em { white-space: normal; }
}

body[data-producto="general"] .site-header {
  background: rgba(7, 23, 38, .96);
  border-bottom-color: rgba(58, 224, 208, .12);
}

/* ==========================================================================
   Inicio — paridad visual con el hero de Seguro de Auto
   ========================================================================== */
body[data-producto="general"] .site-header {
  background: rgba(4, 8, 22, .96);
  border-bottom-color: rgba(255, 255, 255, .045);
}
body[data-producto="general"] .brand__dot,
body[data-producto="general"] .nav__link[aria-current="page"] {
  color: #10C7EE;
}
body[data-producto="general"] .btn--header {
  background: #10C7EE;
  color: #03101A;
  box-shadow: 0 10px 30px rgba(16, 199, 238, .22);
}
body[data-producto="general"] .btn--header:hover {
  background: #32D5F3;
  color: #03101A;
}

body[data-producto="general"] .hero {
  display: block;
  min-height: 0;
  padding: 0;
  background: #050817;
}
body[data-producto="general"] .hero::before {
  inset: 0;
  opacity: 1;
  filter: none;
  transform: none;
  animation: none;
  background:
    radial-gradient(ellipse 72% 54% at 50% -12%, rgba(0, 199, 238, .105), transparent 62%),
    radial-gradient(ellipse 42% 45% at 100% 52%, rgba(15, 70, 120, .12), transparent 66%),
    linear-gradient(180deg, rgba(5, 8, 23, .96), #050817 70%);
}
body[data-producto="general"] .hero::after { display: none; }

body[data-producto="general"] .hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: stretch;
}

body[data-producto="general"] .hero__grid > div:first-child {
  width: 100%;
  max-width: 880px;
  min-height: calc(100svh - 88px);
  margin-inline: auto;
  padding-block: clamp(86px, 12vh, 132px) clamp(76px, 10vh, 112px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

body[data-producto="general"] .eyebrow {
  margin-bottom: 34px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  color: #10C7EE;
  font-size: .75rem;
  letter-spacing: .18em;
}

body[data-producto="general"] .hero h1 {
  max-width: 900px;
  margin-bottom: 30px;
  color: #F8FAFC;
  font-size: clamp(2.75rem, 4.3vw, 3.75rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.045em;
  text-shadow: none;
}
body[data-producto="general"] .hero h1 em {
  display: inline;
  color: #10C7EE;
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  white-space: normal;
}

body[data-producto="general"] .hero__lead {
  max-width: 60ch;
  color: #AAB5C5;
  font-size: 1.125rem;
  line-height: 1.72;
}
body[data-producto="general"] .hero__lead strong { color: #F8FAFC !important; }

body[data-producto="general"] .chips,
body[data-producto="general"] .hero__tel { display: none; }

body[data-producto="general"] .hero .btn-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  max-width: 880px;
  margin-top: 58px;
}
body[data-producto="general"] .hero .btn-row .btn {
  width: 100%;
  min-height: 58px;
  border-radius: 12px;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}
body[data-producto="general"] .hero .btn-row .btn > svg {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
}
body[data-producto="general"] .hero .btn--wa {
  background: #10C7EE;
  color: #03101A;
  box-shadow: 0 12px 30px rgba(16, 199, 238, .19);
}
body[data-producto="general"] .hero .btn--wa:hover {
  background: #32D5F3;
  color: #03101A;
  transform: translateY(-2px);
}
body[data-producto="general"] .hero .btn--outline {
  border-color: #10C7EE;
  background: rgba(16, 199, 238, .045);
  color: #F8FAFC;
}
body[data-producto="general"] .hero .btn--outline:hover {
  border-color: #32D5F3;
  background: rgba(16, 199, 238, .10);
  color: #F8FAFC;
  transform: translateY(-2px);
}

/* La prueba profesional continúa después del primer viewport. */
body[data-producto="general"] .credential-card {
  justify-self: center;
  width: 100%;
  max-width: 880px;
  margin: 0 auto 48px;
}
body[data-producto="general"] .trust-strip {
  width: 100%;
  max-width: 880px;
  margin: 0 auto 80px;
}

@media (max-width: 767px) {
  body[data-producto="general"] .hero__grid > div:first-child {
    min-height: auto;
    padding-block: 72px 80px;
  }
  body[data-producto="general"] .hero h1 {
    font-size: clamp(2.35rem, 11vw, 3.25rem);
  }
  body[data-producto="general"] .hero .btn-row {
    grid-template-columns: 1fr;
    margin-top: 42px;
  }
  body[data-producto="general"] .credential-card { margin-bottom: 32px; }
  body[data-producto="general"] .trust-strip { margin-bottom: 56px; }
}

/* ==========================================================================
   Inicio — bloque de confianza posterior al hero
   ========================================================================== */
body[data-producto="general"] .trust-proof {
  position: relative;
  overflow: hidden;
  background: #080C1D;
  color: #AAB5C5;
  border-top: 1px solid rgba(255, 255, 255, .055);
}
body[data-producto="general"] .trust-proof::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 42% 48% at 86% 0%, rgba(16, 199, 238, .08), transparent 68%),
    radial-gradient(ellipse 36% 40% at 8% 100%, rgba(25, 78, 130, .10), transparent 72%);
}
body[data-producto="general"] .trust-proof > * { position: relative; }
body[data-producto="general"] .trust-proof__head {
  max-width: 760px;
  margin: 0 auto 52px;
  text-align: center;
}
body[data-producto="general"] .trust-proof__head .section-label { color: #10C7EE; }
body[data-producto="general"] .trust-proof__head h2 { color: #F8FAFC; }
body[data-producto="general"] .trust-proof__head p {
  margin-inline: auto;
  color: #AAB5C5;
  font-size: 1.0625rem;
}
body[data-producto="general"] .trust-proof__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, .88fr);
  gap: 24px;
  align-items: stretch;
}
body[data-producto="general"] .trust-proof .credential-card {
  align-self: stretch;
  justify-self: stretch;
  max-width: none;
  margin: 0;
  padding: 32px;
  border-radius: 16px;
  border-color: rgba(255, 255, 255, .10);
  background: rgba(255, 255, 255, .035);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.045);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
body[data-producto="general"] .trust-proof .trust-strip {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .10);
  background: rgba(255, 255, 255, .028);
  overflow: hidden;
}
body[data-producto="general"] .trust-proof .trust-strip > div {
  min-height: 160px;
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 0;
  border-right: 1px solid rgba(255, 255, 255, .08);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
body[data-producto="general"] .trust-proof .trust-strip > div:nth-child(2n) { border-right: 0; }
body[data-producto="general"] .trust-proof .trust-strip > div:nth-last-child(-n+2) { border-bottom: 0; }
body[data-producto="general"] .trust-proof .trust-strip__num {
  color: #F8FAFC;
  font-size: 2.55rem;
}
body[data-producto="general"] .trust-proof .trust-strip__label { color: #94A6BA; }

@media (max-width: 900px) {
  body[data-producto="general"] .trust-proof__grid { grid-template-columns: 1fr; }
  body[data-producto="general"] .trust-proof .credential-card { margin: 0; }
}

@media (max-width: 520px) {
  body[data-producto="general"] .trust-proof__head { text-align: left; }
  body[data-producto="general"] .trust-proof__head p { margin-inline: 0; }
  body[data-producto="general"] .trust-proof .trust-strip { grid-template-columns: 1fr; }
  body[data-producto="general"] .trust-proof .trust-strip > div,
  body[data-producto="general"] .trust-proof .trust-strip > div:nth-child(2n),
  body[data-producto="general"] .trust-proof .trust-strip > div:nth-last-child(-n+2) {
    min-height: 126px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
  }
  body[data-producto="general"] .trust-proof .trust-strip > div:last-child { border-bottom: 0; }
}

/* ==========================================================================
   Sistema visual unificado — páginas pendientes
   Auto permanece como patrón; el resto adopta sus tokens y componentes.
   ========================================================================== */
body:not([data-producto="auto"]) {
  --surface: #080C1D;
  --surface-alt: #050817;
  --ink-900: #F8FAFC;
  --ink-700: #D7DFEA;
  --ink-600: #AAB5C5;
  --ink-400: #8796AA;
  --ink-200: #334155;
  --border: rgba(255, 255, 255, .10);
  --border-strong: rgba(255, 255, 255, .17);
  --success-bg: rgba(23, 121, 76, .13);
  --warning-bg: rgba(194, 65, 12, .12);
  background: #050817;
  color: #D7DFEA;
}
body:not([data-producto="auto"]) .section { background: #080C1D; }
body:not([data-producto="auto"]) .section--brand { background: #050817; }
body:not([data-producto="auto"]) .section--dark { background: #080C1D; }
body:not([data-producto="auto"]) .section h1,
body:not([data-producto="auto"]) .section h2,
body:not([data-producto="auto"]) .section h3,
body:not([data-producto="auto"]) .section h4 { color: #F8FAFC; }
body:not([data-producto="auto"]) .section p { color: #AAB5C5; }
body:not([data-producto="auto"]) .section-label { color: #10C7EE; }
body:not([data-producto="auto"]) a { color: #10C7EE; }
body:not([data-producto="auto"]) a:hover { color: #7BE8FA; }

body:not([data-producto="auto"]) .site-header {
  background: rgba(4, 8, 22, .96);
  border-bottom-color: rgba(255, 255, 255, .055);
}
body:not([data-producto="auto"]) .brand__dot,
body:not([data-producto="auto"]) .nav__link[aria-current="page"],
body:not([data-producto="auto"]) .nav__link[data-en-seccion="true"] { color: #10C7EE; }
body:not([data-producto="auto"]) .btn--header {
  background: #10C7EE;
  color: #03101A;
  box-shadow: 0 10px 30px rgba(16, 199, 238, .20);
}
body:not([data-producto="auto"]) .btn--header:hover { background: #32D5F3; color: #03101A; }

/* Heroes comerciales reutilizables */
body:not([data-producto="auto"]):not([data-producto="general"]) .hero {
  padding: 0;
  background: #050817;
  isolation: isolate;
}
body:not([data-producto="auto"]):not([data-producto="general"]) .hero::before {
  inset: 0;
  background:
    radial-gradient(ellipse 72% 54% at 50% -12%, rgba(0, 199, 238, .10), transparent 62%),
    radial-gradient(ellipse 42% 45% at 100% 52%, rgba(15, 70, 120, .12), transparent 66%),
    linear-gradient(180deg, rgba(5, 8, 23, .97), #050817 72%);
}
body:not([data-producto="auto"]):not([data-producto="general"]) .hero::after { display: none; }
body:not([data-producto="auto"]):not([data-producto="general"]) .hero--sem .hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
body:not([data-producto="auto"]):not([data-producto="general"]) .hero--sem .hero__grid > div:first-child {
  width: 100%;
  max-width: 880px;
  min-height: calc(100svh - 88px);
  margin-inline: auto;
  padding-block: clamp(84px, 11vh, 126px) clamp(72px, 9vh, 104px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
body:not([data-producto="auto"]):not([data-producto="general"]) .hero .eyebrow {
  margin-bottom: 30px;
  color: #10C7EE;
  letter-spacing: .18em;
}
body:not([data-producto="auto"]):not([data-producto="general"]) .hero h1 {
  margin-bottom: 14px;
  color: #F8FAFC;
  font-size: clamp(2.75rem, 4.3vw, 3.75rem);
  line-height: 1.08;
  letter-spacing: -.045em;
}
body:not([data-producto="auto"]):not([data-producto="general"]) .hero__beneficio {
  max-width: 25ch;
  margin: 0 0 28px;
  color: #10C7EE;
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 3vw, 2.65rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.035em;
}
body:not([data-producto="auto"]):not([data-producto="general"]) .hero__asesoria {
  max-width: 62ch;
  color: #AAB5C5;
  font-size: 1.125rem;
  line-height: 1.72;
}
body:not([data-producto="auto"]):not([data-producto="general"]) .hero .btn-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  max-width: 880px;
  margin-top: 52px;
}
/* Las páginas de producto concentran la acción en el selector comercial. */
body:not([data-producto="auto"]):not([data-producto="general"]) .hero--sem .hero__grid > div:first-child .btn-row {
  display: none;
}
body:not([data-producto="auto"]):not([data-producto="general"]) .hero .btn-row .btn {
  width: 100%;
  min-height: 58px;
  border-radius: 12px;
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .075em;
  text-transform: uppercase;
}
body:not([data-producto="auto"]) .btn > svg {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
}
body:not([data-producto="auto"]):not([data-producto="general"]) .hero .btn--wa {
  background: #10C7EE;
  color: #03101A;
  box-shadow: 0 12px 30px rgba(16, 199, 238, .18);
}
body:not([data-producto="auto"]):not([data-producto="general"]) .hero .btn--outline {
  border-color: #10C7EE;
  background: rgba(16, 199, 238, .04);
  color: #F8FAFC;
}
body:not([data-producto="auto"]):not([data-producto="general"]) .hero__tel,
body:not([data-producto="auto"]):not([data-producto="general"]) .confianza { display: none; }

/* Selector comercial después del primer viewport */
body:not([data-producto="auto"]):not([data-producto="general"]) .hero--sem .hero__grid > div:nth-child(2) {
  width: 100%;
  max-width: 880px;
  margin: 0 auto 88px;
}
body:not([data-producto="auto"]) .selector {
  padding: 30px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.035);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.045);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
body:not([data-producto="auto"]) .selector__title { color: #F8FAFC; }
body:not([data-producto="auto"]) .selector__op {
  border-color: rgba(255,255,255,.12);
  background: rgba(255,255,255,.035);
  color: #AAB5C5;
}
body:not([data-producto="auto"]) .selector__op:hover,
body:not([data-producto="auto"]) .selector__op[aria-pressed="true"] {
  border-color: #10C7EE;
  background: rgba(16,199,238,.10);
  color: #F8FAFC;
}

body[data-producto="general"] .selector .btn--wa,
body[data-producto="general"] .selector .btn--outline {
  border-color: #10C7EE;
  background: #10C7EE;
  color: #03101A;
}
body[data-producto="general"] .selector .btn--wa:hover,
body[data-producto="general"] .selector .btn--outline:hover {
  background: #32D5F3;
  color: #03101A;
}

.insurers--single { grid-template-columns: 1fr; }
.insurers--single .insurer {
  max-width: 880px;
  margin-inline: auto;
  text-align: center;
}

/* El primer bloque debe presentar el producto sin repetir el selector. La
   solicitud se concentra en el formulario de cierre de cada página. */
body:not([data-producto="auto"]):not([data-producto="general"]) .hero--sem .hero__grid > div:nth-child(2) {
  display: none;
}
body:not([data-producto="auto"]):not([data-producto="general"]) .hero--sem .hero__grid > div:first-child {
  min-height: min(760px, calc(100svh - 88px));
}

/* Tarjetas, coberturas, aseguradoras y formularios */
body:not([data-producto="auto"]) .card,
body:not([data-producto="auto"]) .pillar,
body:not([data-producto="auto"]) .coverage,
body:not([data-producto="auto"]) .insurer,
body:not([data-producto="auto"]) .callout,
body:not([data-producto="auto"]) .form-card {
  border-color: rgba(255,255,255,.10);
  background: rgba(255,255,255,.035);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
body:not([data-producto="auto"]) .card,
body:not([data-producto="auto"]) .pillar,
body:not([data-producto="auto"]) .coverage,
body:not([data-producto="auto"]) .insurer {
  border-radius: 16px;
}
body:not([data-producto="auto"]) .card:hover,
body:not([data-producto="auto"]) .card--link:hover {
  border-color: rgba(16,199,238,.42);
  background: rgba(255,255,255,.055);
  box-shadow: 0 18px 44px rgba(0,0,0,.20);
}
body:not([data-producto="auto"]) .card h3,
body:not([data-producto="auto"]) .pillar h3,
body:not([data-producto="auto"]) .coverage h3,
body:not([data-producto="auto"]) .insurer__name,
body:not([data-producto="auto"]) .callout h3 { color: #F8FAFC; }
body:not([data-producto="auto"]) .card p,
body:not([data-producto="auto"]) .pillar p,
body:not([data-producto="auto"]) .coverage p,
body:not([data-producto="auto"]) .insurer__role,
body:not([data-producto="auto"]) .callout p { color: #AAB5C5; }
body:not([data-producto="auto"]) .coverage--yes { background: rgba(23,121,76,.10); }
body:not([data-producto="auto"]) .coverage--no { background: rgba(194,65,12,.09); }
body:not([data-producto="auto"]) .coverage--no h3 { color: #FDBA9A; }
body:not([data-producto="auto"]) .input,
body:not([data-producto="auto"]) .select,
body:not([data-producto="auto"]) .textarea {
  border-color: rgba(255,255,255,.13);
  background-color: rgba(255,255,255,.045);
  color: #F8FAFC;
}
body:not([data-producto="auto"]) .input::placeholder,
body:not([data-producto="auto"]) .textarea::placeholder { color: #718198; }
body:not([data-producto="auto"]) .field > label { color: #F8FAFC; }
body:not([data-producto="auto"]) .field__hint { color: #8796AA; }

/* FAQ y contenido institucional */
body:not([data-producto="auto"]) .faq { border-top-color: rgba(255,255,255,.10); }
body:not([data-producto="auto"]) .faq__item { border-bottom-color: rgba(255,255,255,.10); }
body:not([data-producto="auto"]) .faq__q { color: #F8FAFC; }
body:not([data-producto="auto"]) .faq__a p { color: #AAB5C5; }
body:not([data-producto="auto"]) .prose,
body:not([data-producto="auto"]) .legal p,
body:not([data-producto="auto"]) .legal li { color: #AAB5C5; }

/* Banner de consentimiento: contraste estable en todas las páginas */
body:not([data-producto="auto"]) .consent-banner {
  background: #F8FAFC;
  color: #0C2338;
}
body:not([data-producto="auto"]) .consent-banner h2 { color: #0C2338; }
body:not([data-producto="auto"]) .consent-banner p { color: #33465A; }
body:not([data-producto="auto"]) .consent-banner .btn--outline { color: #0C2338; border-color: #C4D0DC; }

/* Acciones del selector: mismo botón turquesa en todas las páginas. */
body .selector .btn--wa,
body .selector .btn--outline {
  border-color: #10C7EE;
  background: #10C7EE;
  color: #03101A;
  box-shadow: 0 10px 28px rgba(16, 199, 238, .18);
}
body .selector .btn--wa:hover,
body .selector .btn--outline:hover {
  border-color: #32D5F3;
  background: #32D5F3;
  color: #03101A;
}

/* Contacto y atención a clientes: un solo lenguaje de acción turquesa. */
.page-contacto .btn--wa,
.page-contacto .btn--outline,
.page-contacto .btn--primary,
.page-cliente .btn--wa,
.page-cliente .btn--outline,
.page-cliente .btn--primary,
.page-contacto .action-bar__btn,
.page-cliente .action-bar__btn {
  border-color: #10C7EE;
  background: #10C7EE;
  color: #03101A;
}
.page-contacto .btn--wa:hover,
.page-contacto .btn--outline:hover,
.page-contacto .btn--primary:hover,
.page-cliente .btn--wa:hover,
.page-cliente .btn--outline:hover,
.page-cliente .btn--primary:hover,
.page-contacto .action-bar__btn:hover,
.page-cliente .action-bar__btn:hover {
  border-color: #32D5F3;
  background: #32D5F3;
  color: #03101A;
}
.page-contacto .action-bar__btn + .action-bar__btn,
.page-cliente .action-bar__btn + .action-bar__btn {
  border-left: 1px solid rgba(3, 16, 26, .22);
}

/* Perfil profesional del asesor. */
.advisor-profile {
  display: grid;
  grid-template-columns: minmax(240px, 360px) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
  max-width: 980px;
  margin-inline: auto;
}
.advisor-profile__photo {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: center top;
  border: 1px solid rgba(16, 199, 238, .32);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .34);
}
.advisor-profile__details h2 { margin-bottom: var(--s5); }
.advisor-profile__details p + p { margin-top: var(--s3); }
@media (max-width: 720px) {
  .advisor-profile { grid-template-columns: 1fr; }
  .advisor-profile__photo { max-width: 320px; margin-inline: auto; }
}

@media (max-width: 767px) {
  body:not([data-producto="auto"]):not([data-producto="general"]) .hero--sem .hero__grid > div:first-child {
    min-height: auto;
    padding-block: 72px 80px;
  }
  body:not([data-producto="auto"]):not([data-producto="general"]) .hero .btn-row {
    grid-template-columns: 1fr;
    margin-top: 40px;
  }
  body:not([data-producto="auto"]):not([data-producto="general"]) .hero--sem .hero__grid > div:nth-child(2) {
    margin-bottom: 64px;
  }
  body:not([data-producto="auto"]) .selector { padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  body[data-producto="general"] .hero::before { animation: none; }
}

/* Fin del bloque PILOTO BASE44 — SEGURO DE AUTO (v4) */

/* ==========================================================================
   Normalización final de marca y contenido
   ========================================================================== */

/* Fotografías licenciadas de cada producto, con una capa oscura para lectura. */
body:not([data-producto="auto"]) .hero.hero--with-image::before {
  inset: 0;
  opacity: 0;
  background: none;
}

/* Un solo lenguaje visual para todas las acciones. */
body .btn--primary,
body .btn--secondary,
body .btn--wa,
body .btn--header,
body .action-bar__btn,
body[data-producto="auto"] .hdr-sq--wa {
  border-color: #10C7EE;
  background: #10C7EE;
  color: #03101A !important;
  box-shadow: 0 10px 28px rgba(16, 199, 238, .18);
}

body .wa-float {
  background: #10C7EE;
  color: #03101A !important;
}
body .wa-float:hover {
  background: #32D5F3;
  color: #03101A !important;
}
body .btn--primary:hover,
body .btn--secondary:hover,
body .btn--wa:hover,
body .btn--header:hover,
body .action-bar__btn:hover,
body[data-producto="auto"] .hdr-sq--wa:hover {
  border-color: #32D5F3;
  background: #32D5F3;
  color: #03101A !important;
}

/* Acciones secundarias sobre fondos oscuros: contorno turquesa y texto blanco. */
body .btn--outline,
body .btn--glass {
  border-color: #10C7EE;
  background: rgba(16, 199, 238, .045);
  color: #F8FAFC !important;
  box-shadow: none;
}
body .btn--outline:hover,
body .btn--glass:hover {
  border-color: #32D5F3;
  background: rgba(16, 199, 238, .11);
  color: #FFFFFF !important;
}
body .btn--ghost {
  border-color: transparent;
  background: transparent;
  color: #10C7EE !important;
  box-shadow: none;
}
body .btn--ghost:hover {
  background: rgba(16, 199, 238, .08);
  color: #F8FAFC !important;
}

/* En formularios y tarjetas de contacto, los botones son sólidos. */
body .selector .btn--wa,
body.page-contacto .btn--outline,
body.page-contacto .btn--primary,
body.page-contacto .btn--wa,
body.page-cliente .btn--outline,
body.page-cliente .btn--primary,
body.page-cliente .btn--wa {
  border-color: #10C7EE;
  background: #10C7EE;
  color: #03101A !important;
  box-shadow: 0 10px 28px rgba(16, 199, 238, .18);
}
body .selector .btn--wa:hover,
body.page-contacto .btn--outline:hover,
body.page-contacto .btn--primary:hover,
body.page-contacto .btn--wa:hover,
body.page-cliente .btn--outline:hover,
body.page-cliente .btn--primary:hover,
body.page-cliente .btn--wa:hover {
  border-color: #32D5F3;
  background: #32D5F3;
  color: #03101A !important;
}

/* Botón secundario del selector de cada seguro: nunca usa texto oscuro. */
html body .selector a.btn.btn--outline,
html body .selector button.btn.btn--outline {
  border-color: #10C7EE !important;
  background: rgba(5, 8, 23, .72) !important;
  color: #F8FAFC !important;
  box-shadow: none !important;
}
html body .selector a.btn.btn--outline:hover,
html body .selector button.btn.btn--outline:hover {
  border-color: #32D5F3 !important;
  background: rgba(16, 199, 238, .11) !important;
  color: #FFFFFF !important;
}

/* El banner claro conserva el tratamiento propio de superficie clara. */
body .consent-banner .btn--outline {
  border-color: #C4D0DC;
  background: transparent;
  color: #0C2338 !important;
}
body .consent-banner .btn--outline:hover {
  border-color: #0C2338;
  background: #F4F8FB;
  color: #0C2338 !important;
}

/* La fotografía se renderiza como una capa real, igual que en Seguro de Auto. */
.hero > .hero-product-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-product-bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: .30;
}
.hero > .hero-product-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 78% 56% at 52% -8%, rgba(16, 199, 238, .10), transparent 62%),
    linear-gradient(90deg, rgba(5, 8, 23, .97) 0%, rgba(5, 8, 23, .88) 47%, rgba(5, 8, 23, .55) 100%);
}
.hero.hero--with-image > .container {
  position: relative;
  z-index: 2;
}

/* Enlaces, indicadores y palomas usan el turquesa oficial. */
.card__more,
.section-label,
.nav__menu a:hover,
.nav__link[aria-current="page"],
.nav__link[data-en-seccion="true"],
.credential-list svg,
.confianza__item svg,
body[data-producto="auto"] .b44-card__ic,
body[data-producto="auto"] .credential-list svg,
body[data-producto="auto"] .confianza__item svg {
  color: #10C7EE;
}

/* Reseñas reales. */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}
.testimonial-card {
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid rgba(16, 199, 238, .28);
  border-radius: 20px;
  background: rgba(255, 255, 255, .045);
  box-shadow: 0 20px 52px rgba(0, 0, 0, .22);
}
.testimonial-card blockquote {
  margin: 0;
  color: #F8FAFC;
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  line-height: 1.75;
}
.testimonial-card__author {
  margin: 24px 0 0;
  color: #10C7EE !important;
  font-weight: 800;
  letter-spacing: .01em;
}
@media (max-width: 840px) {
  .testimonials-grid { grid-template-columns: 1fr; }
}

body[data-producto="auto"] .coverage__text--white {
  color: #F8FAFC;
  font-weight: 400;
}

/* ==========================================================================
   Dirección visual final — encabezado corporativo global
   El menú se integra al primer bloque y adquiere fondo únicamente al desplazar.
   ========================================================================== */
.site-header,
body:not([data-producto="auto"]) .site-header,
body[data-producto="auto"] .site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 70;
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.site-header.is-stuck,
body:not([data-producto="auto"]) .site-header.is-stuck,
body[data-producto="auto"] .site-header.is-stuck,
body[data-producto="auto"] .site-header.hdr-scrolled {
  background: rgba(5, 8, 23, .88);
  border-bottom-color: rgba(255, 255, 255, .07);
  box-shadow: 0 12px 36px rgba(0, 0, 0, .22);
  backdrop-filter: saturate(150%) blur(18px);
  -webkit-backdrop-filter: saturate(150%) blur(18px);
}
.nav__link,
body:not([data-producto="auto"]) .nav__link,
body[data-producto="auto"] .nav__link,
.nav__tel,
body:not([data-producto="auto"]) .nav__tel,
body[data-producto="auto"] .nav__tel {
  color: #AAB5C5;
}
.nav__link[aria-current="page"],
.nav__link[data-en-seccion="true"],
body:not([data-producto="auto"]) .nav__link[aria-current="page"],
body:not([data-producto="auto"]) .nav__link[data-en-seccion="true"],
body[data-producto="auto"] .nav__link[aria-current="page"] {
  color: #D7DFEA;
}
.nav__link:hover,
.nav__tel:hover,
body:not([data-producto="auto"]) .nav__link:hover,
body:not([data-producto="auto"]) .nav__tel:hover,
body[data-producto="auto"] .nav__link:hover,
body[data-producto="auto"] .nav__tel:hover,
.nav__item[data-open="true"] > .nav__link {
  color: #10C7EE;
  background: rgba(16, 199, 238, .06);
}
.nav__caret,
.nav__tel-icon,
.nav__tel-icon svg { width: 24px; height: 24px; }

/* El quinto error conserva media pantalla y queda alineado a la izquierda. */
.common-errors-grid { align-items: stretch; }
.common-errors-grid .callout { height: 100%; }
@media (max-width: 720px) {
  .common-errors-grid { grid-template-columns: 1fr; }
}

/* Contacto y clientes: botón turquesa con contraste de texto consistente. */
body[data-producto="contacto"] .btn--outline,
body[data-producto="contacto"] .btn--primary,
body[data-producto="contacto"] .btn--wa,
body[data-producto="soy-cliente"] .btn--outline,
body[data-producto="soy-cliente"] .btn--primary,
body[data-producto="soy-cliente"] .btn--wa {
  border-color: #10C7EE;
  background: #10C7EE;
  color: #03101A !important;
  box-shadow: 0 10px 28px rgba(16, 199, 238, .18);
}
body[data-producto="contacto"] .btn:hover,
body[data-producto="soy-cliente"] .btn:hover {
  border-color: #32D5F3;
  background: #32D5F3;
  color: #03101A !important;
}

/* Hero de Nosotros: bloque central, institucional y de lectura inmediata. */
.hero--nosotros { min-height: 600px; display: flex; align-items: center; }
.hero--nosotros__content { max-width: 1000px; text-align: center; margin-inline: auto; }
.hero--nosotros__content h1 { max-width: 18ch; margin-inline: auto; }
.hero--nosotros__content .hero__lead { max-width: 62ch; margin-inline: auto; }

/* El teléfono personal deja de mostrarse como canal público. */
a[href^="tel:"] { display: none !important; }

/* Carrusel de reseñas: una historia a la vez, con ritmo tipo social. */
.testimonials-carousel { max-width: 900px; margin-inline: auto; }
.testimonials-track { display: grid; overflow: hidden; transition: height .45s cubic-bezier(.16,1,.3,1); }
.testimonials-track .testimonial-card {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  opacity: 0;
  visibility: hidden;
  transform: translateX(36px) scale(.985);
  transition: opacity .55s ease, transform .55s cubic-bezier(.16,1,.3,1), visibility .55s;
}
.testimonials-track .testimonial-card.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0) scale(1);
}
.testimonials-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 24px;
}
.testimonial-arrow,
.testimonial-dot {
  border: 1px solid rgba(16,199,238,.38);
  background: rgba(16,199,238,.06);
  color: #F8FAFC;
  cursor: pointer;
}
.testimonial-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.2rem;
}
.testimonial-dots { display: flex; gap: 9px; }
.testimonial-dot { width: 10px; height: 10px; padding: 0; border-radius: 50%; }
.testimonial-dot[aria-current="true"] { width: 28px; border-radius: 999px; background: #10C7EE; }
.testimonial-arrow:hover,
.testimonial-arrow:focus-visible { background: #10C7EE; color: #03101A; }
@media (max-width: 640px) {
  .hero--nosotros { min-height: 540px; }
  .testimonials-track .testimonial-card { padding: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .testimonials-track .testimonial-card { transition: none; transform: none; }
}

/* Navegación móvil estable y con el fondo bloqueado mientras está abierta. */
body.nav-open { overflow: hidden; }
@media (max-width: 1100px) {
  .nav.is-open {
    position: fixed;
    inset: 76px 0 0;
    max-height: none;
    height: calc(100dvh - 76px);
    z-index: 69;
    overscroll-behavior: contain;
  }
}

/* WhatsApp móvil: botón circular, discreto y siempre accesible. */
@media (max-width: 900px) {
  body { padding-bottom: 0; }
  .action-bar {
    display: block;
    left: max(18px, env(safe-area-inset-left, 0px));
    right: auto;
    bottom: max(18px, env(safe-area-inset-bottom, 0px));
    width: 58px;
    height: 58px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }
  body .action-bar .action-bar__btn--wa {
    width: 58px;
    height: 58px;
    min-height: 58px;
    display: inline-flex;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #25D366 !important;
    color: #06341A !important;
    font-size: 0;
    box-shadow: 0 14px 32px rgba(0,0,0,.34);
  }
  body .action-bar .action-bar__btn--wa:hover,
  body .action-bar .action-bar__btn--wa:focus-visible {
    background: #33DE73 !important;
    color: #06341A !important;
    transform: translateY(-2px);
  }
  .action-bar__btn--wa svg { width: 29px; height: 29px; }
  .consent-banner { bottom: 88px; }
}

/* ==========================================================================
   Dirección editorial v29 — jerarquía centrada y proyecto familiar
   ========================================================================== */

/* Estructura centrada; los textos extensos dentro de tarjetas conservan
   alineación izquierda para mantener una lectura cómoda. */
.section-head {
  width: 100%;
  margin-inline: auto;
  text-align: center;
}
.section-head > p,
.section-head > .prose { margin-inline: auto; }
.section-head .section-label { display: inline-block; }

.hero:not(.hero--sem):not(.hero--with-image) > .container {
  text-align: center;
}
.hero:not(.hero--sem):not(.hero--with-image) .hero__lead,
.hero:not(.hero--sem):not(.hero--with-image) .hero__tel { margin-inline: auto; }
.hero:not(.hero--sem):not(.hero--with-image) .btn-row { justify-content: center; }

.hero--sem .hero__grid > div:first-child { text-align: center; }
.hero--sem .hero__beneficio,
.hero--sem .hero__asesoria { margin-inline: auto; }
.hero--sem .confianza { justify-content: center; }
.hero--sem .confianza__item { text-align: left; }

/* Inicio: propuesta de valor y evidencia social en una sola primera impresión. */
body[data-producto="general"] .hero__grid > div:first-child {
  max-width: 980px;
  min-height: auto;
  padding-block: clamp(118px, 13vh, 150px) clamp(72px, 9vh, 104px);
  align-items: center;
  text-align: center;
}
body[data-producto="general"] .hero h1,
body[data-producto="general"] .hero__lead { margin-inline: auto; }
body[data-producto="general"] .hero .eyebrow { justify-content: center; }

.hero-testimonials {
  width: 100%;
  max-width: 820px;
  margin-top: clamp(46px, 6vw, 68px);
  padding-top: 34px;
  border-top: 1px solid rgba(255,255,255,.10);
}
.hero-testimonials > .section-label {
  display: block;
  margin-bottom: 10px;
  color: #10C7EE;
}
.hero-testimonials > h2 {
  margin: 0 auto 28px;
  color: #F8FAFC;
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
}
.testimonials-carousel--compact { max-width: 760px; }
.testimonials-carousel--compact .testimonial-card {
  min-height: 0;
  padding: clamp(24px, 4vw, 34px);
  border-color: rgba(16,199,238,.24);
  background: rgba(255,255,255,.035);
  text-align: center;
}
.testimonials-carousel--compact .testimonial-card blockquote {
  max-width: 62ch;
  margin-inline: auto;
  font-size: clamp(.98rem, 1.5vw, 1.12rem);
  line-height: 1.65;
}
.testimonials-carousel--compact .testimonial-card__author {
  margin-top: 18px;
  font-size: .92rem;
}
.testimonials-carousel--compact .testimonials-controls { margin-top: 18px; }

/* Nosotros: dos perfiles, una historia y una dirección compartida. */
body[data-producto="nosotros"] .hero--nosotros {
  min-height: 660px;
  padding-block: 132px 84px;
  background:
    radial-gradient(ellipse 58% 46% at 50% 4%, rgba(16,199,238,.13), transparent 68%),
    linear-gradient(180deg, #050817, #080C1D);
}
body[data-producto="nosotros"] .hero--nosotros .eyebrow {
  justify-content: center;
  margin-bottom: 30px;
}
body[data-producto="nosotros"] .hero--nosotros .btn-row { margin-top: 34px; }

.profile-layout {
  display: grid;
  grid-template-columns: minmax(280px, 390px) minmax(0, 1fr);
  gap: clamp(38px, 7vw, 86px);
  align-items: center;
  max-width: 1080px;
  margin-inline: auto;
}
.profile-layout--reverse { grid-template-columns: minmax(0, 1fr) minmax(280px, 390px); }
.profile-layout--reverse .profile-photo { order: 2; }
.profile-layout--reverse .profile-copy { order: 1; }
.profile-photo {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: center top;
  border-radius: 22px;
  border: 1px solid rgba(16,199,238,.26);
  box-shadow: 0 28px 70px rgba(0,0,0,.32);
}
.profile-photo--ricardo { aspect-ratio: 3 / 4; }
.profile-copy {
  max-width: 68ch;
  text-align: left;
}
.profile-copy h3 { margin-top: 28px; }
.profile-copy h3:first-child { margin-top: 0; }
.profile-copy em { color: #F8FAFC; }
.profile-credentials { margin-top: 28px; padding-left: 0; }

.generations__lead {
  max-width: 76ch;
  margin: 0 auto clamp(40px, 6vw, 62px);
  text-align: center;
  font-size: 1.08rem;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin-inline: auto;
}
.value-card {
  padding: clamp(28px, 5vw, 46px);
  border: 1px solid rgba(16,199,238,.22);
  border-radius: 20px;
  background: rgba(255,255,255,.035);
  text-align: left;
}
.value-card .section-label,
.value-card h3 { text-align: center; }
.about-contact .section-head { max-width: 820px; }

@media (max-width: 760px) {
  body[data-producto="general"] .hero__grid > div:first-child {
    padding-block: 108px 72px;
  }
  .hero-testimonials { margin-top: 42px; padding-top: 28px; }
  .testimonials-carousel--compact .testimonial-card { padding: 24px 20px; }
  .testimonials-controls { gap: 10px; }
  .testimonial-arrow { width: 40px; height: 40px; }
  .testimonial-dots { gap: 6px; }
  .testimonial-dot { width: 8px; height: 8px; }
  .testimonial-dot[aria-current="true"] { width: 20px; }

  body[data-producto="nosotros"] .hero--nosotros {
    min-height: 590px;
    padding-block: 116px 72px;
  }
  .profile-layout,
  .profile-layout--reverse { grid-template-columns: 1fr; gap: 34px; }
  .profile-layout--reverse .profile-photo,
  .profile-layout--reverse .profile-copy { order: initial; }
  .profile-photo { max-width: 360px; margin-inline: auto; }
  .values-grid { grid-template-columns: 1fr; }
}
