/* ============================================================
   ASES INTEGRAL: Design system
   Marca: navy #0B1278 / teal-azul #0082A9 / cyan #12CBDD (del isotipo,
   assets/mercedes-icon.webp) + verde #1E9E6E (panel del isotipo impreso,
   calendario de la productora) como tercer color. Los tres se usan de
   forma sistemática (no al azar): ver comentarios "acento" más abajo.
   Tipos: Sora (display) + Inter (cuerpo)
   Tema claro corporativo. Mantiene todas las animaciones.
   ============================================================ */

:root {
  --blue: #0082a9;          /* teal-azul del isotipo (acento principal) */
  --blue-bright: #12cbdd;   /* cyan del isotipo, para glows/realces */
  --blue-dark: #00647f;     /* hover */
  --navy: #0b1278;          /* navy/índigo del isotipo (títulos / bandas oscuras) */
  --navy-deep: #070d54;
  --green: #1e9e6e;         /* verde del panel del isotipo (tercer acento) */
  --green-bright: #4fd9a0;
  --green-dark: #157a55;    /* hover */

  --bg: #f6fafd;            /* blanco con un toque azulado, no blanco puro */
  --bg-alt: #eef5fa;        /* alterna de secciones (celeste claro) */
  --card: #ffffff;          /* las tarjetas sí quedan blancas puras: resaltan sobre el fondo */
  --border: rgba(11, 18, 120, 0.10);
  --border-hover: rgba(0, 130, 169, 0.35);

  --text: #0e2233;          /* casi navy-negro */
  --text-dim: #52627a;
  --text-mute: #8a97a8;

  --font-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  --radius: 18px;
  --radius-sm: 12px;
  --radius-pill: 999px;
  --shadow: 0 12px 34px -16px rgba(11, 18, 120, 0.22);
  --shadow-lg: 0 30px 70px -28px rgba(11, 18, 120, 0.30);
  --shadow-blue: 0 10px 30px -8px rgba(0, 130, 169, 0.45);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 80px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
  max-width: 100%;
  overflow-x: clip;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow-x: hidden;
}
main, .hero, .section { min-width: 0; max-width: 100%; }

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

::selection { background: var(--blue); color: #fff; }

/* ---------- Utilidades ---------- */
.container { width: min(1160px, 92%); margin-inline: auto; }
.container--narrow { width: min(820px, 92%); }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--blue);
}
.kicker::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
}
/* Kickers alternados azul/verde sección por sección (ver Sistema de diseño) */
.kicker--green { color: var(--green); }
.kicker--green::before { background: var(--green); }

.section {
  padding: clamp(66px, 9vw, 120px) 0;
  position: relative;
  /* Aurora sutil: los 3 colores de marca en manchas grandes y difusas que
     derivan muy despacio. Solo en secciones "blancas", .section--alt las
     tapa de nuevo con el shorthand `background` de abajo, sin CSS extra. */
  background-color: var(--bg);
  background-repeat: no-repeat;
  background-image:
    radial-gradient(circle, rgba(0, 130, 169, 0.15), transparent 68%),
    radial-gradient(circle, rgba(30, 158, 110, 0.09), transparent 68%),
    radial-gradient(circle, rgba(18, 203, 221, 0.13), transparent 68%),
    radial-gradient(circle, rgba(11, 18, 120, 0.06), transparent 70%);
  background-size: 70vmax 70vmax, 55vmax 55vmax, 60vmax 60vmax, 50vmax 50vmax;
  background-position: -10% 0%, 110% 40%, 40% 120%, 95% 95%;
  animation: sectionAura 55s ease-in-out infinite alternate;
}
.section--alt { background: var(--bg-alt); }

@keyframes sectionAura {
  0%   { background-position: -10% 0%, 110% 40%, 40% 120%, 95% 95%; }
  100% { background-position: 3% 14%, 96% 28%, 54% 104%, 88% 86%; }
}

.section__head { text-align: center; max-width: 660px; margin: 0 auto clamp(38px, 6vw, 66px); }
.section__head--left { text-align: left; margin-inline: 0; }
.section__head .kicker { justify-content: center; }
.section__head--left .kicker { justify-content: flex-start; }

.section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.6vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.08;
  margin-top: 14px;
  color: var(--navy);
}
.section__sub { color: var(--text-dim); margin-top: 14px; font-size: 15.5px; }

.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

.accent { color: var(--blue); }

/* ---------- Accesibilidad ---------- */
.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 200;
  background: var(--blue);
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 700;
  transition: top 0.25s;
}
.skip-link:focus { top: 12px; }

/* Oculto visualmente pero legible por lectores de pantalla (ej. el <h1> real
   de la página, que ya no se muestra a la vista porque el hero es el carrusel). */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ============================================================
   PANTALLA DE BIENVENIDA (splash breve con el logo al entrar al sitio)
   100% CSS: se muestra y se oculta sola con `animation` + `forwards`, así
   funciona igual aunque main.js tarde en cargar. main.js solo la remueve
   del DOM al terminar (ver bloque "SPLASH DE ENTRADA").
   ============================================================ */
/* Bloquea el scroll (mouse wheel / touch) mientras el splash tapa la
   pantalla, para que nadie quede "scrolleado" sin darse cuenta al
   terminar (ver bloque "Siempre arrancar arriba del todo" en main.js). */
html.intro-lock, html.intro-lock body { overflow: hidden; height: 100%; }

.intro-splash {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 28px;
  background:
    radial-gradient(ellipse at 50% 38%, #122b72 0%, #090e43 50%, #050925 100%);
  animation: introSplashOut .65s cubic-bezier(.65, 0, .35, 1) 2.15s forwards;
}
.intro-splash__aura {
  position: absolute;
  width: min(620px, 120vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(18, 203, 221, .2), rgba(0, 130, 169, .06) 45%, transparent 70%);
  animation: introAura 2.8s ease-out both;
  pointer-events: none;
}
.intro-splash__content { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.intro-splash__symbol { position: relative; width: clamp(128px, 15vw, 160px); aspect-ratio: 1; margin-bottom: 28px; }
.intro-splash__ring {
  position: absolute;
  inset: -14px;
  border: 1px solid rgba(18, 203, 221, .55);
  border-radius: 35%;
  opacity: 0;
  animation: introRing 1.45s ease-out .45s both;
}
.intro-splash__emblem {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 28%;
  opacity: 0;
  box-shadow: 0 22px 70px rgba(0, 0, 0, .35), 0 0 45px rgba(18, 203, 221, .15);
  animation: introLogoIn .85s var(--ease-out) both;
}
.intro-splash__emblem::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, .5) 50%, transparent 75%);
  transform: translateX(-140%);
  animation: introGlint .85s ease-in-out .75s both;
}
.intro-splash__logo { width: 100%; height: auto; display: block; }
.intro-splash__name { font-family: var(--font-display); font-size: clamp(34px, 7vw, 64px); font-weight: 800; letter-spacing: -.045em; line-height: 1.15; color: #fff; white-space: nowrap; }
.intro-splash__name span { display: inline-block; opacity: 0; animation: introWordIn .85s var(--ease-out) .3s both; }
.intro-splash__name span + span {
  color: #72e8f0;
  background: linear-gradient(105deg, #72e8f0 10%, #fff 40%, #12cbdd 70%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: introWordIn .85s var(--ease-out) .48s both, introNameLight 1.4s ease-in-out .65s both;
}
.intro-splash__tagline { margin-top: 14px; font-size: clamp(12px, 2.8vw, 15px); letter-spacing: .08em; color: #b9cbe2; opacity: 0; animation: introWordIn .7s var(--ease-out) .75s both; }
.intro-splash__line { width: 64px; height: 2px; margin-top: 25px; border-radius: 2px; background: linear-gradient(90deg, transparent, #12cbdd, transparent); animation: introLine 1s var(--ease-out) .7s both; }
@keyframes introLogoIn {
  from { opacity: 0; transform: translateY(24px) scale(.72) rotate(-8deg); }
  to { opacity: 1; transform: translateY(0) scale(1) rotate(0); }
}
@keyframes introRing {
  from { opacity: .65; transform: scale(.85) rotate(-8deg); }
  to { opacity: 0; transform: scale(1.6) rotate(8deg); }
}
@keyframes introWordIn { from { opacity: 0; transform: translateY(22px); filter: blur(8px); } to { opacity: 1; transform: translateY(0); filter: blur(0); } }
@keyframes introGlint { to { transform: translateX(140%); } }
@keyframes introNameLight { from { background-position: 100% 50%; } to { background-position: 0% 50%; } }
@keyframes introAura { from { opacity: 0; transform: scale(.65); } 40% { opacity: 1; } to { opacity: .6; transform: scale(1.25); } }
@keyframes introLine { from { opacity: 0; transform: scaleX(0); } to { opacity: 1; transform: scaleX(1); } }
@keyframes introSplashOut {
  from { opacity: 1; transform: scale(1); }
  to { opacity: 0; transform: scale(1.035); visibility: hidden; pointer-events: none; }
}

/* ---------- Barra de progreso de scroll ---------- */
.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  z-index: 150;
  background: transparent;
}
.scroll-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--blue), var(--blue-bright));
  box-shadow: 0 0 12px rgba(18, 203, 221, 0.6);
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border: none;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s, background 0.3s, border-color 0.3s, color 0.3s;
  position: relative;
  overflow: hidden;
  will-change: transform;
}
.btn--sm { padding: 11px 22px; font-size: 11px; }
.btn--lg { padding: 18px 38px; font-size: 13px; }

.btn--primary {
  background: var(--blue);
  color: #fff;
  box-shadow: var(--shadow-blue);
}
.btn--primary:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -8px rgba(0, 130, 169, 0.6);
}
/* brillo que cruza el botón */
.btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
  transform: translateX(-110%);
}
.btn--primary:hover::after { animation: shine 0.9s var(--ease-out); }
@keyframes shine { to { transform: translateX(110%); } }

.btn--ghost {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border-hover);
  color: var(--blue);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { border-color: var(--blue); background: #fff; transform: translateY(-2px); }

.btn--outline {
  background: transparent;
  border: 1px solid var(--border-hover);
  color: var(--navy);
}
.btn--outline:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }

.btn--white {
  background: #fff;
  color: var(--navy);
  box-shadow: var(--shadow);
}
.btn--white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.4s, border-color 0.4s, box-shadow 0.4s, backdrop-filter 0.4s;
  --nav-text: #fff;
  --nav-text-dim: rgba(255, 255, 255, .9);
  --nav-accent: var(--blue-bright);
  --nav-hover: rgba(255, 255, 255, .12);
  --nav-button: var(--blue);
}
.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(7, 13, 54, .65), rgba(7, 13, 54, 0));
  transition: opacity .4s;
}
.nav.is-scrolled {
  background: rgba(255, 255, 255, .94);
  border-bottom-color: var(--border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 6px 24px -16px rgba(11, 18, 120, 0.22);
  --nav-text: var(--navy);
  --nav-text-dim: var(--text-dim);
  --nav-accent: var(--blue);
  --nav-hover: #f5fafc;
  --nav-button: var(--navy);
}
.nav.is-scrolled::before { opacity: 0; }
.nav__inner {
  position: relative;
  width: min(1280px, calc(100% - 48px));
  height: var(--nav-h);
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.nav .nav__logo { flex-shrink: 0; }
.nav .nav__logo .wordmark { gap: 5px; }
.nav .nav__logo .wordmark span { font-size: 10.5px; font-weight: 500; letter-spacing: .15px; text-transform: none; white-space: nowrap; color: var(--nav-text-dim); }

/* Logo lockup (marca + texto) */
.nav__logo { display: inline-flex; align-items: center; gap: 11px; }
.nav__logo .mark { width: 38px; height: 38px; flex: none; border-radius: 9px; object-fit: cover; }
.nav__logo .wordmark { display: flex; flex-direction: column; line-height: 1.05; }
.nav__logo .wordmark b {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.3px;
  color: var(--nav-text, var(--navy));
  transition: color 0.4s;
}
.nav__logo .wordmark span {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--nav-accent, var(--blue));
  transition: color 0.4s;
}

.nav__links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav__link {
  padding: 11px 10px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
  line-height: 1.4;
  color: var(--nav-text-dim, var(--text-dim));
  border-radius: 6px;
  transition: color 0.25s, background 0.25s;
  position: relative;
}
.nav__link:hover { color: var(--nav-text); background: var(--nav-hover); }
.nav__link.is-active { color: var(--nav-accent); background: transparent; }
.nav__link::after {
  content: "";
  position: absolute;
  height: 3px;
  bottom: 2px;
  left: 10px;
  right: 10px;
  border-radius: 2px;
  background: var(--nav-accent);
  transform: scaleX(0);
  opacity: 0;
  transition: transform .2s ease, opacity .2s ease;
}
.nav__link.is-active::after { transform: scaleX(1); opacity: 1; }
.nav .nav__cta, .nav .nav__cta-mobile { white-space: nowrap; text-transform: none; letter-spacing: 0; font-size: 15px; font-weight: 600; border-radius: 8px; min-height: 44px; padding: 11px 20px; background: var(--nav-button); box-shadow: none; flex-shrink: 0; }
.nav .nav__cta:hover, .nav .nav__cta-mobile:hover { background: var(--blue-dark); transform: none; }
.nav__link:focus-visible, .nav__burger:focus-visible, .nav .nav__logo:focus-visible { outline: 3px solid var(--nav-accent); outline-offset: 3px; }
.nav__cta-mobile { display: none; }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--nav-hover);
  border: 1px solid var(--nav-accent);
  border-radius: 12px;
  padding: 10px;
}
.nav__burger span {
  width: 24px;
  height: 2px;
  background: var(--nav-text, var(--navy));
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.3s, background 0.4s;
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
}

.open-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-dim);
}
.open-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--dot, #16a34a);
  box-shadow: 0 0 10px var(--dot, #16a34a);
}
.open-badge.is-closed { --dot: #ef4444; }
.open-badge:empty { display: none; }

/* ============================================================
   CARRUSEL DEL HERO: 1 slide por ramo (misma lista que #seguros).
   La foto es un img absoluto para poder controlar prioridad y carga
   diferida; el degradé queda como respaldo mientras cada foto carga.
   ============================================================ */
.hero-carousel {
  position: relative;
  width: 100%;
  height: clamp(360px, 46vw, 560px);
  overflow: hidden;
}
.hero-carousel__track {
  display: flex;
  height: 100%;
  width: 100%;
  will-change: transform;
  transition: transform 0.6s var(--ease-out);
  /* Deja el gesto horizontal para el swipe manejado por JS (ver main.js);
     sin esto el navegador lo toma como intento de scroll ambiguo y cancela
     el puntero (pointercancel) antes de que llegue el pointerup, y el
     swipe queda muerto en mobile. pan-y sigue permitiendo scrollear la
     página verticalmente con el dedo encima del carrusel. */
  touch-action: pan-y;
}
.hero-slide {
  position: relative;
  flex: 0 0 100%;
  height: 100%;
  display: flex;
  align-items: center;
  background: var(--fallback-gradient);
}
.hero-slide__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Favorece el lado derecho/superior: en desktop el texto tapa la izquierda. */
  object-position: 72% 35%;
  pointer-events: none;
}
.hero-slide--c1 { --fallback-gradient: linear-gradient(120deg, var(--navy), var(--blue)); }
.hero-slide--c2 { --fallback-gradient: linear-gradient(120deg, var(--navy), var(--green)); }
.hero-slide--c3 { --fallback-gradient: linear-gradient(120deg, var(--navy-deep), var(--blue-bright)); }
.hero-slide__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(6, 9, 60, 0.82) 0%, rgba(6, 9, 60, 0.55) 38%, rgba(6, 9, 60, 0.15) 68%, transparent 85%);
}
.hero-slide__content {
  position: relative;
  z-index: 1;
  max-width: 540px;
  padding-inline: clamp(20px, 6vw, 80px);
  color: #fff;
}
.hero-slide__tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(6px);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.hero-slide__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}
.hero-slide__sub {
  font-size: clamp(14px, 1.6vw, 16px);
  color: rgba(255, 255, 255, 0.85);
  max-width: 440px;
  margin-bottom: 24px;
}
.hero-slide__cta { box-shadow: 0 14px 34px -10px rgba(0, 0, 0, 0.5); }

.hero-carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(11, 18, 120, 0.35);
  backdrop-filter: blur(6px);
  color: #fff;
  z-index: 2;
  transition: background 0.25s, transform 0.25s var(--ease-out);
}
.hero-carousel__arrow svg { width: 20px; height: 20px; }
.hero-carousel__arrow:hover { background: rgba(11, 18, 120, 0.6); transform: translateY(-50%) scale(1.08); }
.hero-carousel__arrow--prev { left: 16px; }
.hero-carousel__arrow--next { right: 16px; }

.hero-carousel__dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}
.hero-carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  transition: background 0.25s, transform 0.25s var(--ease-out), width 0.25s var(--ease-out);
}
.hero-carousel__dot.is-active { background: #fff; width: 22px; border-radius: 4px; }

@media (max-width: 640px) {
  .hero, .hero-carousel, .hero-carousel__track, .hero-slide { min-width: 0; max-width: 100%; }
  .nav__inner { width: auto; min-width: 0; margin-inline: 16px; }
  .hero-slide__content, .hero-slide__title, .hero-slide__sub, .section__title { max-width: 100%; overflow-wrap: anywhere; }
  .hero-carousel { height: clamp(460px, 140vw, 600px); }
  /* padding-bottom generoso: deja lugar al botón "Quiero cotizar" y a los
     puntos sin que se pisen con el FAB fijo de WhatsApp (abajo a la derecha). */
  .hero-slide { align-items: flex-end; padding-bottom: 88px; }
  .hero-slide__photo { object-position: center 20%; }
  .hero-slide__scrim { background: linear-gradient(0deg, rgba(6, 9, 60, 0.88) 0%, rgba(6, 9, 60, 0.55) 45%, transparent 80%); }
  .hero-slide__content { max-width: 100%; }
  .hero-slide__sub { max-width: 100%; }
  /* En mobile no hay flechas (tapaban el título al quedar el texto abajo):
     queda el swipe táctil + los puntos, patrón más común en celular. */
  .hero-carousel__arrow { display: none; }
  .hero-carousel__dots { bottom: 12px; }
}


/* ---------- Cards genéricas ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: transform 0.45s var(--ease-out), border-color 0.35s, box-shadow 0.45s;
}

/* ---------- Servicios / Seguros ---------- */
.service { position: relative; overflow: hidden; }
.service::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(18, 203, 221, 0.12), transparent 45%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.service:hover::before { opacity: 1; }
.service:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-lg);
}
.service__icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(150deg, rgba(18, 203, 221, 0.16), rgba(0, 130, 169, 0.10));
  border: 1px solid rgba(0, 130, 169, 0.18);
  color: var(--blue);
  margin-bottom: 20px;
  transition: transform 0.4s var(--ease-out), background 0.3s;
}
.service:hover .service__icon { transform: scale(1.08) rotate(-4deg); }
.service__icon svg { width: 27px; height: 27px; }
/* Rotación pareja de los 3 colores de marca en la grilla de 3 columnas:
   cada fila pasa por azul → verde → navy, para que no se vea "todo azul". */
.services .service:nth-child(3n+2) .service__icon {
  background: linear-gradient(150deg, rgba(79, 217, 160, 0.22), rgba(30, 158, 110, 0.12));
  border-color: rgba(30, 158, 110, 0.2);
  color: var(--green);
}
.services .service:nth-child(3n+2)::before {
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(79, 217, 160, 0.14), transparent 45%);
}
.services .service:nth-child(3n) .service__icon {
  background: linear-gradient(150deg, rgba(11, 18, 120, 0.14), rgba(11, 18, 120, 0.06));
  border-color: rgba(11, 18, 120, 0.18);
  color: var(--navy);
}
.services .service:nth-child(3n)::before {
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(11, 18, 120, 0.10), transparent 45%);
}
.service h3 {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--navy);
  margin-bottom: 8px;
}
.service p { color: var(--text-dim); font-size: 14.5px; margin-bottom: 16px; }
.service__link {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.3s;
}
.service:hover .service__link { gap: 10px; }
.service--featured {
  border-color: var(--border-hover);
  background:
    linear-gradient(var(--card), var(--card)) padding-box,
    linear-gradient(160deg, var(--blue-bright), rgba(0, 130, 169, 0.15)) border-box;
  border: 1.5px solid transparent;
}
.service__tag {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(18, 203, 221, 0.12);
  padding: 5px 11px;
  border-radius: var(--radius-pill);
}

/* ---------- Coberturas (feature grid) ---------- */
.covers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}
.cover {
  padding: 0;
  overflow: hidden;
}
.cover summary { display: flex; align-items: center; gap: 14px; padding: 16px 20px; cursor: pointer; list-style: none; }
.cover summary::-webkit-details-marker { display: none; }
.cover summary:focus-visible { outline: 2px solid var(--blue); outline-offset: -4px; border-radius: var(--radius); }
.cover__title { flex: 1; color: var(--navy); font-weight: 700; font-size: 14px; }
.cover__toggle { color: var(--blue); font-size: 24px; transition: transform 0.32s var(--ease-out); }
.cover[open] .cover__toggle { transform: rotate(45deg); }
.cover__body { padding: 0 24px 18px 78px; }
#coberturas { padding-block: clamp(40px, 5vw, 64px); }
#coberturas .section__head { margin-bottom: 28px; }
@media (min-width: 1025px) {
  #coberturas > .container { display: grid; grid-template-columns: 0.85fr 1.4fr; align-items: center; gap: 40px; }
  #coberturas .section__head { margin: 0; text-align: left; }
  #coberturas .kicker { justify-content: flex-start; }
  #coberturas .section__title { font-size: clamp(1.8rem, 2.6vw, 2.5rem); }
}
@media (max-width: 640px) {
  .covers { grid-template-columns: 1fr; gap: 8px; }
  .cover summary { padding: 10px 14px; gap: 10px; }
  .covers .cover__ic { width: 32px; height: 32px; border-radius: 9px; }
  .cover__body { padding: 0 18px 16px 56px; }
  #coberturas .section__title { font-size: 1.8rem; }
}
.cover__ic {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(18, 203, 221, 0.12);
  color: var(--blue);
}
/* Alterna azul/verde para que la grilla de coberturas no se lea "todo azul" */
.covers .cover:nth-child(even) .cover__ic {
  background: rgba(30, 158, 110, 0.12);
  color: var(--green);
}
.cover__ic svg { width: 22px; height: 22px; }
.cover h3 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 3px; }
.cover p { font-size: 13.5px; color: var(--text-dim); line-height: 1.55; }

/* ---------- Sobre nosotras (dos fundadoras) ---------- */
.founders {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 28px;
}
.founder { text-align: center; }
.founder__portrait {
  width: clamp(180px, 20vw, 240px);
  height: clamp(180px, 20vw, 240px);
  margin: 0 auto 22px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background:
    radial-gradient(70% 60% at 50% 15%, rgba(18, 203, 221, 0.18), transparent 60%),
    linear-gradient(160deg, #eaf4fd, #dcebfa);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.founder__portrait img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 24%;
}
/* Cada fundadora con su propio acento (Mercedes = azul, Romina = verde) */
.founder--blue .founder__portrait { color: var(--blue); }
.founder--green .founder__portrait {
  color: var(--green);
  background:
    radial-gradient(70% 60% at 50% 15%, rgba(79, 217, 160, 0.22), transparent 60%),
    linear-gradient(160deg, #eafdf4, #dcf5e8);
}
.founder--green .founder__matricula em, .founder--green .founder__meta em { color: var(--green); }
.founder__name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 6px;
}
.founder__meta { color: var(--text-dim); font-size: 13.5px; margin-bottom: 8px; }
.founder__matricula {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-mute);
  letter-spacing: 0.3px;
}
.founder__matricula em, .founder__meta em { font-style: normal; color: var(--blue); }

.historia {
  margin-bottom: 28px;
  border-style: dashed;
  border-color: var(--border-hover);
}
.historia .kicker { margin-bottom: 10px; }
.historia__placeholder { color: var(--text-dim); font-size: 14.5px; font-style: italic; }

.checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin: 20px 0; max-width: 620px; }
.checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dim);
}
.checklist li::before {
  content: "";
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(30, 158, 110, 0.12) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%231e9e6e" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6 9 17l-5-5"/></svg>') center / 11px no-repeat;
  border: 1px solid rgba(30, 158, 110, 0.25);
}

/* ---------- Beneficios (tarjetas tipo "promos") ---------- */
.plans--promos {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  align-items: stretch;
}
.plan { display: flex; flex-direction: column; position: relative; }
.plan__tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue);
}
.plan--green .plan__tag { color: var(--green); }
.plan--green:hover { border-color: rgba(30, 158, 110, 0.35); }
.plan__name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--navy);
  margin: 6px 0 12px;
  line-height: 1.1;
}
.plan__desc { color: var(--text-dim); font-size: 14px; margin: 0 0 22px; }
.plan__cta { margin-top: auto; width: 100%; }
.plan:hover { transform: translateY(-6px); border-color: var(--border-hover); box-shadow: var(--shadow-lg); }
.plan--featured {
  border-color: var(--border-hover);
  background:
    linear-gradient(var(--card), var(--card)) padding-box,
    linear-gradient(160deg, var(--blue-bright), rgba(0, 130, 169, 0.12) 60%) border-box;
  border: 1.5px solid transparent;
}
.plan__badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: #fff;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  box-shadow: 0 10px 24px -8px rgba(30, 158, 110, 0.5);
  white-space: nowrap;
}

/* ============================================================
   COTIZADOR (wizard adaptado)
   ============================================================ */
.cotizar {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 5vw, 66px);
  align-items: center;
}
.cotizar__intro .section__head { margin-bottom: 24px; }
.cotizar__points { display: grid; gap: 14px; margin-top: 8px; }
.cotizar__point {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 14.5px;
  color: var(--text-dim);
}
.cotizar__point svg { width: 22px; height: 22px; color: var(--blue); flex: none; }

.cot {
  position: relative;
  min-height: 320px;
  overflow: hidden;
}
.cot__toolbar { display: flex; align-items: center; gap: 24px; padding-bottom: 20px; margin-bottom: 24px; border-bottom: 1px solid var(--border); }
.cot__progress-meta { flex: 1; min-width: 0; }
.cot__step-label { display: block; margin-bottom: 9px; font-size: 12px; font-weight: 600; color: var(--text-dim); }
.cot__progress { display: flex; gap: 6px; }
.cot__dot {
  flex: 1;
  height: 5px;
  border-radius: 5px;
  background: rgba(11, 18, 120, 0.10);
  transition: background 0.35s;
}
.cot__dot.is-active { background: var(--blue); }

.cot__step { display: none; animation: stepIn 0.45s var(--ease-out); }
.cot__step.is-active { display: block; }
@keyframes stepIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
.cot__q {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--navy);
  margin-bottom: 6px;
}
.cot__hint { color: var(--text-mute); font-size: 13px; margin-bottom: 20px; }
.cot__notice {
  margin: -4px 0 18px;
  padding: 11px 13px;
  border: 1px solid rgba(0, 130, 169, 0.2);
  border-left: 3px solid var(--blue);
  border-radius: 0 10px 10px 0;
  background: rgba(18, 203, 221, 0.07);
  color: var(--text-mute);
  font-size: 13px;
  line-height: 1.45;
}
.cot__notice strong { color: var(--navy); }
.cot__notice[hidden] { display: none; }
.cot__options { display: flex; flex-wrap: wrap; gap: 10px; }

.chip {
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-hover);
  background: rgba(18, 203, 221, 0.05);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  transition: border-color 0.25s, background 0.25s, transform 0.25s var(--ease-out), box-shadow 0.25s, color 0.25s;
}
.chip:hover {
  border-color: var(--blue);
  background: rgba(0, 130, 169, 0.12);
  color: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -12px rgba(0, 130, 169, 0.5);
}
.chip--wide { flex: 1 1 100%; text-align: left; }
.chip--multi.is-selected {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}
.chip--multi.is-selected:hover { background: var(--blue-dark); color: #fff; }

/* Chips grandes con icono (tipo de vehículo) */
.cot__types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.cot__types--vehicle { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.type-chip {
  --chip-accent: var(--blue);
  --chip-surface: rgba(18, 203, 221, 0.05);
  --chip-hover-surface: rgba(0, 130, 169, 0.1);
  --chip-shadow: rgba(0, 130, 169, 0.55);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 22px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid color-mix(in srgb, var(--chip-accent) 35%, transparent);
  background: var(--chip-surface);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  transition: border-color 0.25s, background 0.25s, transform 0.25s var(--ease-out), box-shadow 0.25s;
}
.type-chip svg { width: 40px; height: 40px; color: var(--chip-accent); }
.type-chip:hover {
  border-color: var(--chip-accent);
  background: var(--chip-hover-surface);
  transform: translateY(-3px);
  box-shadow: 0 14px 30px -16px var(--chip-shadow);
}
/* Agrupadas por familia: vehículos = azul, comercio/hogar = verde, otro = navy */
.type-chip[data-value="comercio"] {
  --chip-accent: #c97114;
  --chip-surface: rgba(201, 113, 20, 0.06);
  --chip-hover-surface: rgba(201, 113, 20, 0.12);
  --chip-shadow: rgba(201, 113, 20, 0.45);
}
.type-chip[data-value="hogar"] {
  --chip-accent: var(--green);
  --chip-surface: rgba(30, 158, 110, 0.06);
  --chip-hover-surface: rgba(30, 158, 110, 0.12);
  --chip-shadow: rgba(30, 158, 110, 0.45);
}
.type-chip[data-value="otro"] {
  --chip-accent: var(--navy);
  --chip-surface: rgba(11, 18, 120, 0.05);
  --chip-hover-surface: rgba(11, 18, 120, 0.09);
  --chip-shadow: rgba(11, 18, 120, 0.38);
}
.type-chip[data-other="Seguro de Uber"] {
  --chip-accent: #6752ad;
  --chip-surface: rgba(103, 82, 173, 0.06);
  --chip-hover-surface: rgba(103, 82, 173, 0.12);
  --chip-shadow: rgba(103, 82, 173, 0.42);
}
.type-chip[data-other="Eco Movilidad"] {
  --chip-accent: #15966c;
  --chip-surface: rgba(21, 150, 108, 0.06);
  --chip-hover-surface: rgba(21, 150, 108, 0.12);
  --chip-shadow: rgba(21, 150, 108, 0.42);
}

.cot__field { margin-bottom: 18px; }
.cot__select {
  width: 100%;
  background: #fff;
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-sm);
  padding: 15px 16px;
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%230082a9" stroke-width="2"><path d="m6 9 6 6 6-6"/></svg>');
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 16px;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.cot__select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 130, 169, 0.15);
}

/* ============================================================
   COMBOS: reemplazo del <select> nativo (el <select> real queda oculto
   pero funcional; ver bloque "COMBOS PERSONALIZADOS" en main.js).
   Desktop: panel que aparece debajo con fade + escala.
   Mobile: tarjeta flotante que sube desde abajo, con backdrop.
   ============================================================ */
.combo { position: relative; }
.combo__native {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.combo__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-sm);
  padding: 15px 16px;
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  text-align: left;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.combo__trigger[data-empty="true"] .combo__label { color: var(--text-mute); }
.combo__trigger:focus-visible,
.combo__trigger.is-open {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 130, 169, 0.15);
}
.combo__label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.combo__chevron {
  width: 16px;
  height: 16px;
  flex: none;
  color: var(--blue);
  transition: transform 0.3s var(--ease-out);
}
.combo__trigger.is-open .combo__chevron { transform: rotate(180deg); }

.combo__panel {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 106;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  max-height: 280px;
  overflow-y: auto;
  padding: 8px;
  opacity: 0;
  transform: translateY(-8px) scale(0.98);
  transform-origin: top center;
  visibility: hidden;
  pointer-events: none;
  /* "visibility" queda fuera de la transición a propósito: si se anima, el
     cambio a "visible" se aplica recién en el frame siguiente y el foco
     automático (ver main.js) todavía encuentra el panel no-focuseable. */
  transition: opacity 0.22s var(--ease-out), transform 0.22s var(--ease-out);
}
.combo__panel.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  visibility: visible;
  pointer-events: auto;
}
.combo__search { display: block; position: sticky; top: -8px; z-index: 1; padding: 4px 0 8px; background: #fff; }
.combo__search input { width: 100%; min-height: 40px; padding: 9px 12px; border: 1px solid var(--border-hover); border-radius: 9px; color: var(--text); font: inherit; font-size: 14px; }
.combo__search input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 130, 169, .12); }
.combo__empty { padding: 18px 14px; color: var(--text-mute); font-size: 14px; text-align: center; }
.combo__option {
  display: block;
  width: 100%;
  text-align: left;
  padding: 12px 14px;
  border-radius: 10px;
  border: none;
  background: none;
  font-family: inherit;
  font-size: 14.5px;
  color: var(--text);
  transition: background 0.18s, color 0.18s;
}
.combo__option:hover,
.combo__option:focus-visible { background: rgba(0, 130, 169, 0.08); color: var(--blue); }
.combo__option:focus-visible { outline: none; box-shadow: inset 0 0 0 2px rgba(0, 130, 169, 0.35); }
.combo__option.is-selected { color: var(--blue); font-weight: 700; }
.combo__option.is-selected::after { content: "✓"; float: right; }

.combo__backdrop {
  position: fixed;
  inset: 0;
  z-index: 105;
  background: transparent;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s, background 0.25s, visibility 0.25s;
}
.combo__backdrop.is-open { opacity: 1; visibility: visible; pointer-events: auto; }

/* Mobile: combo flotante (tarjeta que sube desde abajo, con backdrop oscuro) */
@media (max-width: 640px) {
  .combo__backdrop.is-open { background: rgba(11, 18, 120, 0.35); }
  .combo__panel {
    position: fixed;
    left: 12px;
    right: 12px;
    top: auto;
    bottom: 12px;
    max-height: 62vh;
    border-radius: 20px;
    padding: 10px 10px calc(10px + env(safe-area-inset-bottom, 0px));
    transform: translateY(24px);
    transform-origin: bottom center;
    box-shadow: 0 -10px 40px -8px rgba(11, 18, 120, 0.35), var(--shadow-lg);
  }
  .combo__panel.is-open { transform: translateY(0); }
  .combo__panel::before {
    content: "";
    display: block;
    width: 40px;
    height: 4px;
    margin: 2px auto 10px;
    background: var(--border-hover);
    border-radius: 2px;
  }
  .combo__option { padding: 15px 16px; font-size: 15.5px; }
}

/* Input de texto libre (aparece al elegir "Otra marca" / "Otro modelo") */
.cot__input {
  width: 100%;
  margin-top: 10px;
  background: #fff;
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-sm);
  padding: 15px 16px;
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.cot__input::placeholder { color: var(--text-mute); }
.cot__input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 130, 169, 0.15);
}
.cot__input[hidden] { display: none; }
.cot__nav { display: flex; gap: 10px; margin-top: 6px; }
.cot__next { flex: 1; }

.cot__result { text-align: left; }
.cot__result .kicker { justify-content: flex-start; }
.cot__result-title {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--navy);
  margin: 8px 0 16px;
}
.cot__summary {
  display: grid;
  gap: 8px;
  margin-bottom: 22px;
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
  border: 1px solid var(--border);
}
.cot__summary li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
}
.cot__summary li span:first-child { color: var(--text-mute); font-weight: 600; }
.cot__summary li span:last-child { color: var(--navy); font-weight: 700; text-align: right; overflow-wrap: anywhere; min-width: 0; }
.cot__result .btn { width: 100%; }
.cot__restart {
  display: block;
  margin: 14px auto 0;
  background: none;
  border: none;
  color: var(--text-mute);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.cot__restart:hover { color: var(--navy); }
.cot__back {
  position: relative;
  margin: 0;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 12px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
}
.cot__back:hover { color: var(--blue); }

/* ---------- Opiniones (marquee) ---------- */
.marquee {
  overflow: hidden;
  padding: 10px 0 26px;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; gap: 22px; width: max-content; animation: marquee 42s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

.review { width: 330px; flex: none; padding: 26px 28px; }
.review__stars { color: #f5a623; letter-spacing: 3px; margin-bottom: 12px; font-size: 15px; }
.review p { font-size: 14.5px; color: var(--text); }
.review footer { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.review__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--blue), var(--blue-bright));
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 15px;
  color: #fff;
}
.review footer strong { display: block; font-size: 13.5px; color: var(--navy); }
.review footer div span {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-mute);
}

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: clamp(38px, 6vw, 64px);
  padding: clamp(28px, 4vw, 46px);
  border-radius: var(--radius);
  color: #fff;
  text-align: center;
  background:
    radial-gradient(70% 140% at 10% 110%, rgba(30, 158, 110, 0.4), transparent 62%),
    radial-gradient(80% 140% at 85% 0%, rgba(18, 203, 221, 0.4), transparent 60%),
    linear-gradient(150deg, var(--navy), var(--navy-deep));
  box-shadow: var(--shadow-lg);
}
.stat__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  font-weight: 800;
  line-height: 1;
  color: #fff;
}
.stat__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  margin-top: 8px;
  display: block;
}

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 14px; }
.faq__item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: border-color 0.3s;
}
.faq__item[open] { border-color: var(--border-hover); }
.faq__item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 26px;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(0, 130, 169, 0.08);
  border: 1px solid var(--border-hover);
  position: relative;
  transition: transform 0.35s var(--ease-out), background 0.3s;
}
.faq__icon::before, .faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 1.8px;
  background: var(--blue);
  transform: translate(-50%, -50%);
}
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform 0.35s var(--ease-out); }
.faq__item[open] .faq__icon { transform: rotate(45deg); background: rgba(0, 130, 169, 0.16); }
.faq__body { padding: 0 26px 22px; }
.faq__body p { color: var(--text-dim); font-size: 14.5px; }

/* ---------- CTA final ---------- */
.cta-final {
  position: relative;
  text-align: center;
  padding: clamp(80px, 12vw, 140px) 0;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(60% 90% at 50% -10%, rgba(18, 203, 221, 0.45), transparent 60%),
    linear-gradient(150deg, var(--navy), var(--navy-deep));
}
.cta-final .kicker { color: var(--blue-bright); justify-content: center; }
.cta-final .kicker::before { background: var(--blue-bright); }
.cta-final h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -1px;
  margin: 16px 0 18px;
}
.cta-final h2 {
  color: transparent;
  background: linear-gradient(100deg, #fff, var(--blue-bright));
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: ctaTextColor 2s ease-in-out infinite alternate;
}
.cta-final h2 em { font-style: normal; }
@keyframes ctaTextColor {
  from { background-position: 0% 50%; }
  to { background-position: 100% 50%; }
}
.cta-final p { color: rgba(255, 255, 255, 0.8); max-width: 500px; margin: 0 auto 34px; }

/* ---------- Contacto ---------- */
.contact {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(34px, 6vw, 70px);
  align-items: start;
}
.contact__form { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--text-dim);
}
.field input, .field select, .field textarea {
  background: #fff;
  border: 1px solid var(--border-hover);
  border-radius: 12px;
  padding: 15px 18px;
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  transition: border-color 0.25s, box-shadow 0.25s;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 110px; }
.field select {
  appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%230082a9" stroke-width="2"><path d="m6 9 6 6 6-6"/></svg>');
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
}
.field :is(input, select, textarea):focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 130, 169, 0.15);
}
.field :is(input, textarea)::placeholder { color: var(--text-mute); }
.contact__form .btn { align-self: flex-start; margin-top: 6px; }
.contact__alt { font-size: 13px; color: var(--text-mute); }
.contact__alt a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.contact__alt a:hover { color: var(--blue-dark); }

.contact__info {
  display: grid;
  align-self: center;
  gap: 18px;
  padding: 14px 0;
  position: relative;
}
.contact__info::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 150px;
  height: 150px;
  top: -34px;
  right: -42px;
  border-radius: 50%;
  background: rgba(18, 203, 221, 0.18);
  filter: blur(8px);
}
.info-card {
  position: relative;
  overflow: hidden;
  padding: 28px 30px;
  border-color: rgba(0, 130, 169, 0.16);
  background: linear-gradient(135deg, #fff 0%, #f5fcfd 100%);
  box-shadow: 0 18px 34px -24px rgba(11, 18, 120, 0.36);
}
.info-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--blue-bright));
}
.info-card:nth-child(2) { background: linear-gradient(135deg, #fff 0%, #f3fbf7 100%); }
.info-card:nth-child(2)::before { background: linear-gradient(90deg, var(--green), var(--blue-bright)); }
.info-card::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -42px;
  width: 112px;
  height: 112px;
  border: 18px solid rgba(18, 203, 221, 0.08);
  border-radius: 50%;
}
.info-card:nth-child(2)::after { border-color: rgba(30, 158, 110, 0.09); }
.info-card > * { position: relative; z-index: 1; }
.info-card[data-reveal].is-visible:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 130, 169, 0.32);
  box-shadow: 0 24px 42px -26px rgba(11, 18, 120, 0.45);
}
.info-card h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 8px;
}
.info-card p { color: var(--text); font-size: 15px; }
.info-card p strong { font-size: 16px; color: var(--navy); }
.info-card__phone { display: block; color: var(--text); font-size: 15px; text-decoration: none; }
.info-card__phone:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.pending-note { font-size: 10px; font-weight: 500; color: var(--text-mute); text-transform: none; letter-spacing: 0; }
.info-card__link {
  display: inline-block;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
}
.info-card__link:hover { text-decoration: underline; text-underline-offset: 3px; }
.open-badge--inline { margin-top: 10px; }

.socials { display: flex; gap: 12px; }
.socials a {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border-hover);
  display: grid;
  place-items: center;
  color: var(--text-dim);
  transition: border-color 0.3s, color 0.3s, transform 0.3s var(--ease-out), box-shadow 0.3s, background 0.3s;
}
.socials a:hover {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px -10px rgba(0, 130, 169, 0.6);
}
.socials svg { width: 20px; height: 20px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 40px 0 30px; background: var(--bg-alt); }
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer .nav__logo .wordmark b { font-size: 16px; }
.footer__legal { font-size: 12px; color: var(--text-mute); max-width: 520px; text-align: right; }
.footer__legal p { margin-bottom: 4px; }
.footer__disclaimer { font-size: 11px; line-height: 1.5; }

/* ---------- WhatsApp FAB ---------- */
.wa-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px -6px rgba(37, 211, 102, 0.55);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
  animation: fabIn 0.6s var(--ease-out) 1.2s backwards;
}
.wa-fab:hover { transform: scale(1.1); box-shadow: 0 14px 36px -6px rgba(37, 211, 102, 0.7); }
@keyframes fabIn { from { opacity: 0; transform: translateY(20px) scale(0.8); } }

/* ---------- Animaciones de aparición ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .cotizar { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1240px) {
  .nav__links {
    /* El panel desplegado siempre tiene fondo blanco, así que los links van
       siempre en oscuro acá adentro, esté el nav scrolleado o no. */
    --nav-text: var(--navy);
    --nav-text-dim: var(--text-dim);
    --nav-accent: var(--blue);
    --nav-hover: #f5fafc;
    --nav-button: var(--navy);
    position: absolute;
    inset: calc(100% + 10px) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: #fff;
    backdrop-filter: blur(20px);
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 18px;
    max-height: calc(100dvh - 112px);
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.45s var(--ease-out), opacity 0.35s, visibility 0.45s;
  }
  .nav__links.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__link { padding: 13px 16px; font-size: 16px; border-radius: 10px; }
  .nav__link.is-active::after { display: none; }
  .nav__link.is-active { background: #e8f6fa; color: var(--blue-dark); }
  .nav__cta { display: none; }
  .nav__cta-mobile { display: inline-flex; margin-top: 14px; justify-content: center; }
  .nav__burger { display: flex; }
}
@media (max-width: 560px) {
  :root { --nav-h: 72px; }
  .nav__inner { width: calc(100% - 32px); gap: 10px; }
  .nav .nav__logo { gap: 9px; }
  .nav .nav__logo .wordmark b { font-size: 16px; }
  .nav .nav__logo .wordmark span { font-size: 9px; }
}
@media (max-width: 860px) {
  .founders { grid-template-columns: 1fr; max-width: 320px; margin-inline: auto; }
  .founders__cta { display: flex; width: fit-content; margin-inline: auto; }
  .contact { grid-template-columns: 1fr; }
  .contact__info { align-self: stretch; padding: 0; }
  .footer__inner { justify-content: center; text-align: center; }
  .footer__legal { text-align: center; }
}

@media (max-width: 560px) {
  .grid--3 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 26px 12px; }
  .checklist { grid-template-columns: 1fr; }
  .review { width: 280px; }
  .wa-fab { right: 16px; bottom: 16px; width: 54px; height: 54px; }
  .cot__types { grid-template-columns: 1fr; }
  .type-chip { flex-direction: row; justify-content: center; padding: 16px; }
  .type-chip svg { width: 28px; height: 28px; }
  .founder__portrait { width: 190px; height: 190px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
}
/* Product cards and shared quotation dialog */
.services-title { max-width: 780px; margin-inline: auto; line-height: 1.12; }
.services-title span { display: block; margin-block: .14em; color: var(--blue); letter-spacing: .035em; }
.service { display: flex; flex-direction: column; border-top: 3px solid #d8e7fb; }
.service:focus-within { outline: 3px solid var(--blue); outline-offset: 4px; }
.service__link { margin-top: auto; align-self: flex-start; background: transparent; border: 0; font: inherit; font-weight: 700; cursor: pointer; }
.service__link::after { content: ""; position: absolute; inset: 0; }
.quote-modal { width: min(1120px, calc(100% - 32px)); max-height: calc(100dvh - 32px); margin: auto; padding: 24px; border: 1px solid #d8e7fb; border-radius: 24px; background: #f5f8ff; color: var(--navy); overflow: auto; }
.quote-modal::backdrop { background: rgb(8 19 53 / 65%); backdrop-filter: blur(5px); }
.quote-modal__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.quote-modal__bar h2 { font-size: 20px; }
.quote-modal__close { min-height: 44px; padding: 8px 14px; border: 1px solid #bdcde8; border-radius: 12px; background: white; color: var(--navy); font: inherit; cursor: pointer; flex-shrink: 0; }
.quote-modal__layout { display: grid; gap: 24px; }
.quote-modal .cot { width: 100%; max-width: 620px; margin-inline: auto; opacity: 1; transform: none; }
.quote-coverage { min-width: 0; animation: coverageIn .4s ease-out; }
.quote-coverage[hidden] { display: none; }
.quote-coverage h3 { font-family: Sora, sans-serif; font-size: clamp(22px, 2vw, 27px); line-height: 1.25; margin: 8px 0; }
.quote-coverage > p { color: var(--text-dim); font-size: 13px; line-height: 1.5; margin-bottom: 16px; }
.quote-coverage__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.quote-coverage__card { padding: 14px; background: rgb(255 255 255 / 86%); border: 1px solid var(--border); border-radius: 14px; }
.quote-coverage__card h4 { display: flex; align-items: center; gap: 9px; margin-bottom: 8px; font-size: 13px; line-height: 1.35; color: var(--navy); }
.quote-coverage__card .cover__ic { width: 30px; height: 30px; border-radius: 9px; }
.quote-coverage__card .cover__ic svg { width: 18px; height: 18px; }
.quote-coverage__card:nth-child(even) .cover__ic { background: rgb(30 158 110 / 10%); color: var(--green); }
.quote-coverage__text { font-size: 12.5px; line-height: 1.5; color: var(--text-dim); }
.quote-coverage__text p + p { margin-top: 6px; }
.quote-coverage__text strong { color: var(--navy); font-weight: 600; }
.cot__back[hidden] { display: none; }
.cot__back:focus-visible, .quote-modal__close:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@keyframes coverageIn { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: translateX(0); } }
@media (min-width: 1025px) {
  .cotizar.has-vehicle { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: center; }
  .cotizar.has-vehicle .cotizar__intro { display: none; }
  .quote-modal__layout.has-vehicle { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: center; }
  .has-vehicle > .quote-coverage { grid-column: 1; grid-row: 1; }
  .has-vehicle > .cot { grid-column: 2; grid-row: 1; }
}
@media (max-width: 640px) {
  .quote-modal { width: calc(100% - 16px); max-height: calc(100dvh - 16px); padding: 14px; border-radius: 18px; }
  .quote-modal .cot { padding: 20px; }
  .quote-coverage__grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .quote-coverage { animation: none; } }
