/* ============================================================
   Aventúrate con Jeep — "La libertad no espera"
   Sistema visual: jeep.com — blanco, negro, líneas finas,
   rojo Jeep (#C8102E) solo en acciones.
   ============================================================ */

:root {
  --red: #C8102E;
  --red-dark: #A00D25;
  --black: #0B0B0C;
  --ink: #16171A;
  --gray-700: #4A4D55;
  --gray-500: #7C8089;
  --gray-300: #C9CCD2;
  --gray-200: #E2E4E8;
  --gray-100: #F2F3F5;
  --white: #FFFFFF;

  --font-display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;

  --maxw: 1320px;
  --gutter: clamp(20px, 4vw, 64px);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }

img, svg { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.95;
  margin: 0;
  text-transform: uppercase;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

.eyebrow {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin: 0;
}
.eyebrow--light { color: rgba(255,255,255,.66); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  font-family: var(--font-display);
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  padding: 19px 38px;
  border: 1px solid transparent; border-radius: 0;
  cursor: pointer; text-decoration: none;
  transition: background .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease), transform .25s var(--ease);
}
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-dark); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--black); border-color: var(--gray-300); }
.btn--ghost:hover { border-color: var(--black); background: var(--black); color: #fff; }
.btn--light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn--light:hover { background: #fff; color: var(--black); border-color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 80;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--gutter);
  background: transparent;
  transition: background .35s var(--ease), border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-solid {
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom-color: var(--gray-200);
}
/* Sobre el tramo oscuro de la secuencia, la marca se invierte */
.site-header.over-dark:not(.is-solid) .site-header__logo { color: #fff; }
.site-header.over-dark:not(.is-solid) .site-header__tag { color: rgba(255,255,255,.7); }
.site-header__logo {
  display: block; color: #fff; text-decoration: none;
  transition: color .35s var(--ease);
}
.site-header__logo:visited { color: inherit; }
.site-header.is-solid .site-header__logo { color: var(--black); }
.site-header__logo svg { height: 22px; width: auto; }
.site-header__tag {
  font-family: var(--font-display);
  font-size: 10px; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(255,255,255,.75);
  transition: color .35s var(--ease);
}
.site-header.is-solid .site-header__tag { color: var(--gray-500); }

/* ============================================================
   HERO — fotografía a sangre + tipografía editorial
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  overflow: hidden;
  background: var(--black);
}
.hero__media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.08);
  will-change: transform;
}
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to top, rgba(8,9,11,.92) 0%, rgba(8,9,11,.35) 45%, rgba(8,9,11,.55) 100%);
}
.hero__inner {
  position: relative; z-index: 2;
  width: 100%; max-width: var(--maxw);
  margin: 0 auto; padding: 0 var(--gutter) clamp(56px, 9vh, 110px);
}
.hero h1 {
  color: #fff;
  font-size: clamp(46px, 9.2vw, 148px);
  margin: 20px 0 0;
  max-width: 15ch;
}
.hero__lede {
  color: rgba(255,255,255,.82);
  font-size: clamp(16px, 1.7vw, 21px);
  max-width: 52ch; margin: 26px 0 0;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

.hero__scroll {
  position: absolute; z-index: 2;
  bottom: 22px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.hero__scroll span {
  font-family: var(--font-display); font-size: 9px;
  letter-spacing: .24em; text-transform: uppercase; color: rgba(255,255,255,.6);
}
.hero__scroll i {
  width: 1px; height: 46px; display: block;
  background: linear-gradient(to bottom, rgba(255,255,255,.7), transparent);
  animation: dropLine 2.2s var(--ease) infinite;
}
@keyframes dropLine { 0%,100% { opacity:.3; transform:scaleY(.5); transform-origin:top } 50% { opacity:1; transform:scaleY(1) } }

/* ============================================================
   SCRUB — secuencia de frames (solo si existen los WebP reales)
   ============================================================ */
#scrub.scrub--top { padding-top: 0; }
#scrub { position: relative; height: 820vh; background: #fff; }
body.no-frames #scrub { display: none; }

.scrub__stage {
  position: sticky; top: 0; height: 100svh; width: 100%;
  overflow: hidden; background: #fff;
}
#sequence { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
/* La secuencia ocupa el viewport completo: el header flota encima */
.scrub__stage { height: 100svh; }

.scrub__caption {
  position: absolute; left: var(--gutter); bottom: 14vh; max-width: 560px;
  opacity: 0; transform: translateY(16px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
  pointer-events: none; z-index: 3; color: var(--black);
  isolation: isolate;
}
/* Velo blanco degradado: el copy queda siempre legible en negro,
   pase el carro por donde pase. Mantiene la página blanca. */
.scrub__caption::before {
  content: ''; position: absolute; z-index: -1;
  left: calc(var(--gutter) * -2.2);
  top: -32vh; bottom: -34vh; width: 230%;
  /* Elipse: se desvanece en todas las direcciones, sin bordes visibles */
  background: radial-gradient(58% 50% at 22% 50%,
    rgba(255,255,255,.97) 0%,
    rgba(255,255,255,.93) 30%,
    rgba(255,255,255,.72) 52%,
    rgba(255,255,255,.34) 70%,
    rgba(255,255,255,0) 88%);
  pointer-events: none;
}
.scrub__caption.is-active { opacity: 1; transform: none; }
.scrub__caption h2 { font-size: clamp(30px, 5.4vw, 68px); }
.scrub__caption p {
  margin: 14px 0 0; font-size: clamp(15px,1.5vw,19px);
  color: var(--gray-700); max-width: 44ch;
}

.loader {
  position: absolute; inset: 0; z-index: 8;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  background: #fff; transition: opacity .5s var(--ease), visibility .5s var(--ease);
}
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__bar { width: min(260px,55vw); height: 2px; background: var(--gray-200); overflow: hidden; }
.loader__fill { height: 100%; width: 0%; background: var(--red); transition: width .25s linear; }
.loader__label { font-family: var(--font-display); font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--gray-500); }

/* ============================================================
   INFOTAINMENT — el módulo del formulario
   Modo A: montado sobre la pantalla del tablero (#screen)
   Modo B: sección propia a pantalla completa (sin frames)
   ============================================================ */
#screen {
  position: absolute; z-index: 5;
  opacity: 0; visibility: hidden;
  transition: opacity .25s linear;
}
#screen.is-visible { visibility: visible; }
#screen:not(.is-interactive) { pointer-events: none; }
body.no-frames #screen { display: none; }

/* Sección independiente (modo B) */
.quiz-section {
  display: none;
  position: relative;
  min-height: 100svh;
  background:
    radial-gradient(120% 90% at 50% 0%, #1C2028 0%, #0A0B0D 60%),
    #0A0B0D;
  padding: clamp(70px, 12vh, 130px) 0 clamp(70px, 12vh, 130px);
  align-items: center;
  overflow: hidden;
}
body.no-frames .quiz-section { display: flex; }
.quiz-section::before {
  content: ''; position: absolute; inset: 0;
  background: url('../assets/photos/hero-road.jpg') center/cover no-repeat;
  opacity: .10; filter: grayscale(1) contrast(1.1);
}
.quiz-section__head { text-align: center; margin-bottom: clamp(34px, 5vh, 56px); position: relative; }
.quiz-section__head h2 { color: #fff; font-size: clamp(28px, 4.6vw, 56px); margin-top: 14px; }
.quiz-section__head p { color: rgba(255,255,255,.6); margin: 16px auto 0; max-width: 46ch; }

/* --- El "aparato": bisel + pantalla --- */
.device {
  position: relative;
  margin: 0 auto;
  width: 100%;
  max-width: 1080px;
  padding: 14px;
  border-radius: 22px;
  background: linear-gradient(160deg, #2A2E36 0%, #14161A 40%, #0C0E11 100%);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.07),
    0 40px 90px -20px rgba(0,0,0,.9),
    inset 0 1px 0 rgba(255,255,255,.10);
}
.device::after {
  content: ''; position: absolute; left: 50%; bottom: -26px; transform: translateX(-50%);
  width: 62%; height: 26px;
  background: radial-gradient(50% 100% at 50% 0%, rgba(0,0,0,.55), transparent 70%);
  pointer-events: none;
}
/* En modo A el bisel desaparece: la pantalla ES la del carro */
#screen .device { padding: 0; border-radius: 10px; max-width: none; box-shadow: none; background: none; height: 100%; }
#screen .device::after { display: none; }

.screen {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(170deg, #0E1116 0%, #070809 100%);
  aspect-ratio: 16 / 9;
  display: flex; flex-direction: column;
  color: #EEF1F5;
}
#screen .screen { aspect-ratio: auto; height: 100%; border-radius: 10px; }
/* Brillo sutil de cristal */
.screen::before {
  content: ''; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: linear-gradient(115deg, rgba(255,255,255,.055) 0%, transparent 34%);
}

.screen__inner {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  padding: clamp(20px, 3.2%, 40px) clamp(22px, 3.6%, 46px);
  container-type: inline-size;
}
#screen .screen__inner { transition: opacity .3s var(--ease); }
#screen:not(.is-interactive) .screen__inner { opacity: 0; }

.screen__topbar {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-display);
  font-size: clamp(9px, 1.15cqw, 12px);
  letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.42);
  padding-bottom: 3%;
  border-bottom: 1px solid rgba(255,255,255,.09);
  flex: 0 0 auto;
}
.screen__brandmark { color: #fff; display: flex; align-items: center; gap: 9px; }
.screen__brandmark svg { height: clamp(9px, 1.15cqw, 13px); width: auto; color: #fff; }

.screen__body { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: center; min-height: 0; }

.quiz__progress { display: flex; gap: 7px; margin-bottom: 4%; }
.quiz__dot { flex: 1; height: 2px; background: rgba(255,255,255,.14); transition: background .3s var(--ease); }
.quiz__dot.is-done { background: var(--red); }

.quiz__step { display: none; }
.quiz__step.is-active { display: block; animation: stepIn .4s var(--ease) both; }
@keyframes stepIn { from { opacity:0; transform: translateY(12px);} to { opacity:1; transform:none;} }

.quiz__q {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(19px, 4.4cqw, 46px);
  line-height: 1; letter-spacing: -0.03em;
  text-transform: uppercase; color: #fff;
  margin: 0 0 4%;
}
.quiz__options { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(8px, 1.2cqw, 14px); }
.quiz__opt {
  appearance: none; text-align: left; cursor: pointer;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.13);
  color: #EDF0F4;
  font-family: var(--font-body);
  font-size: clamp(12px, 1.7cqw, 19px);
  font-weight: 500;
  padding: clamp(11px, 1.9cqw, 22px) clamp(13px, 2.1cqw, 24px);
  border-radius: 4px;
  transition: background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.quiz__opt:hover { background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.34); transform: translateY(-2px); }
.quiz__opt.is-selected { border-color: var(--red); background: rgba(200,16,46,.20); }
.quiz__opt small {
  display: block; margin-top: 4px;
  color: rgba(255,255,255,.45);
  font-size: clamp(10px, 1.25cqw, 14px);
}

.quiz__nav { display: flex; align-items: center; justify-content: space-between; margin-top: 4%; flex: 0 0 auto; }
.quiz__back {
  background: none; border: 0; cursor: pointer; padding: 0;
  color: rgba(255,255,255,.45);
  font-family: var(--font-display);
  font-size: clamp(9px, 1.1cqw, 12px); letter-spacing: .18em; text-transform: uppercase;
}
.quiz__back:hover { color: #fff; }
.quiz__back[hidden] { visibility: hidden; display: block; }
.quiz__count {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(11px, 1.4cqw, 16px); color: rgba(255,255,255,.75);
}

.screen__idle {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  background: #07090C;
  font-family: var(--font-display);
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(255,255,255,.35);
  transition: opacity .3s var(--ease);
}
body.no-frames .screen__idle { display: none; }
/* Al volverse interactiva, la capa se aparta: con opacity 0 seguía
   capturando los clics y el formulario no respondía. */
#screen.is-interactive .screen__idle { visibility: hidden; pointer-events: none; }

/* ============================================================
   VISTA DE RESULTADO
   ============================================================ */
#result {
  position: fixed; inset: 0; z-index: 100;
  background: var(--white); overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  opacity: 0; visibility: hidden;
  transition: opacity .45s var(--ease), visibility .45s var(--ease);
}
#result.is-open { opacity: 1; visibility: visible; }

.result__head {
  position: sticky; top: 0; z-index: 3;
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h); padding: 0 var(--gutter);
  background: rgba(255,255,255,.93); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
}
.result__head svg { height: 20px; width: auto; color: var(--black); }
.result__close {
  background: none; border: 0; cursor: pointer; padding: 0;
  font-family: var(--font-display); font-size: 11px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--gray-500);
}
.result__close:hover { color: var(--black); }

/* Portada del plan */
.result__cover { position: relative; min-height: 62svh; display: flex; align-items: flex-end; overflow: hidden; background: var(--ink); }
.result__cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.result__cover::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,9,11,.94), rgba(8,9,11,.25) 60%, rgba(8,9,11,.5));
}
.result__cover-inner {
  position: relative; z-index: 2; width: 100%;
  max-width: var(--maxw); margin: 0 auto;
  padding: 0 var(--gutter) clamp(36px, 6vh, 68px);
}
.result__cover h1 { color: #fff; font-size: clamp(34px, 7vw, 92px); margin: 16px 0 0; }
.result__claim { color: rgba(255,255,255,.82); font-size: clamp(16px,1.8vw,22px); max-width: 46ch; margin: 20px 0 0; }

.result__meta { display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--gray-200); }
.result__meta div { flex: 1 1 190px; padding: 26px 0 26px 26px; border-left: 1px solid var(--gray-200); }
.result__meta div:first-child { border-left: 0; padding-left: 0; }
.result__meta dt { font-family: var(--font-display); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--gray-500); margin: 0 0 8px; }
.result__meta dd { margin: 0; font-family: var(--font-display); font-size: clamp(18px,2.1vw,26px); font-weight: 800; text-transform: uppercase; letter-spacing: -.02em; }

/* Paradas */
.stops { padding: clamp(48px, 7vw, 96px) 0 clamp(20px,3vw,40px); }
.stops__title { font-size: clamp(26px, 3.8vw, 46px); margin-bottom: 8px; }
.stops__sub { color: var(--gray-500); margin: 0 0 40px; }

.stop {
  display: grid; grid-template-columns: 132px 1fr 1.15fr;
  gap: clamp(20px, 3vw, 44px); align-items: start;
  padding: clamp(26px,3.4vw,42px) 0;
  border-top: 1px solid var(--gray-200);
}
.stop:last-of-type { border-bottom: 1px solid var(--gray-200); }
.stop__time { font-family: var(--font-display); font-size: 18px; font-weight: 800; white-space: nowrap; letter-spacing: -.01em; }
.stop__num { display: block; font-size: 10px; font-weight: 700; letter-spacing: .2em; color: var(--red); margin-bottom: 6px; }
.stop__name { font-size: clamp(20px, 2.4vw, 30px); margin: 0 0 10px; }
.stop__desc { margin: 0; color: var(--gray-700); }
.stop__ally { margin-top: 14px; font-family: var(--font-display); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--gray-500); }
.stop__ally strong { color: var(--black); }
.stop__media { position: relative; aspect-ratio: 16/10; background: var(--gray-100); overflow: hidden; }
.stop__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.stop:hover .stop__media img { transform: scale(1.04); }
.stop__tag {
  position: absolute; left: 0; bottom: 0; z-index: 2;
  background: rgba(11,11,12,.82); color: #fff;
  font-family: var(--font-display); font-size: 9px; letter-spacing: .18em;
  text-transform: uppercase; padding: 8px 12px;
}

/* Mapa */
.routemap { padding: clamp(30px,5vw,60px) 0; }
.routemap__title { font-size: clamp(26px,3.8vw,46px); margin: 12px 0 10px; }
.routemap__lede { color: var(--gray-500); margin: 0 0 28px; max-width: 46ch; }
.routemap__frame {
  position: relative; aspect-ratio: 21/9;
  background: var(--gray-100); border: 1px solid var(--gray-200);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.routemap__frame img { width: 100%; height: 100%; object-fit: cover; }
.routemap__frame iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.3) contrast(1.03); }
.routemap__foot { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-top: 14px; }
.btn--sm { padding: 13px 22px; font-size: 10px; }
.placeholder {
  font-family: var(--font-display); font-size: 10px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--gray-500); text-align: center; padding: 20px;
}
.routemap__note { margin: 0; font-size: 14px; color: var(--gray-500); }

.result__cta {
  border-top: 1px solid var(--gray-200);
  padding: clamp(48px,7vw,90px) 0 clamp(70px,10vw,120px);
  display: flex; flex-wrap: wrap; gap: 18px; align-items: center;
}
.result__cta h3 { font-size: clamp(24px,3.4vw,44px); flex: 1 1 340px; }

/* ============================================================
   Secciones de cierre
   ============================================================ */
.section { padding: clamp(64px, 9vw, 140px) 0; }
.section--dark { background: var(--black); color: #fff; }
.section__title { font-size: clamp(30px, 5vw, 68px); max-width: 16ch; }
.section--dark .section__title { color: #fff; }
.section__lede { color: var(--gray-700); max-width: 54ch; margin-top: 22px; font-size: clamp(16px,1.6vw,19px); }
.section--dark .section__lede { color: rgba(255,255,255,.68); }

.specs { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 60px; border-top: 1px solid rgba(255,255,255,.16); }
.specs > div { padding: 30px 24px 30px 0; border-right: 1px solid rgba(255,255,255,.16); }
.specs > div:last-child { border-right: 0; }
.specs dt { font-family: var(--font-display); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.specs dd { margin: 10px 0 0; font-family: var(--font-display); font-size: clamp(20px,2.4vw,34px); font-weight: 800; letter-spacing: -.02em; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.gallery figure { position: relative; margin: 0; aspect-ratio: 4/5; overflow: hidden; background: var(--gray-100); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption {
  position: absolute; left: 0; bottom: 0; z-index: 2; padding: 16px 18px;
  font-family: var(--font-display); font-size: 11px; letter-spacing: .18em;
  text-transform: uppercase; color: #fff;
  background: linear-gradient(to top, rgba(8,9,11,.85), transparent);
  width: 100%;
}

.site-footer {
  border-top: 1px solid var(--gray-200);
  padding: 44px var(--gutter);
  display: flex; flex-wrap: wrap; gap: 16px;
  align-items: center; justify-content: space-between;
  font-size: 13px; color: var(--gray-500);
}

/* ============================================================
   MOBILE
   ============================================================ */
@media (max-width: 900px) {
  body { font-size: 16px; }
  #scrub { height: 900vh; }
  .scrub__caption { right: var(--gutter); max-width: none; }
  .quiz__options { grid-template-columns: 1fr; }
  .stop { grid-template-columns: 1fr; gap: 16px; }
  .stop__media { order: -1; aspect-ratio: 16/9; }
  .stop__time { font-size: 15px; color: var(--gray-700); }
  .specs { grid-template-columns: repeat(2, 1fr); }
  .specs > div:nth-child(2n) { border-right: 0; }
  .specs > div { border-bottom: 1px solid rgba(255,255,255,.16); }
  .result__meta div { flex-basis: 50%; padding-left: 20px; }
  .result__meta div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .gallery { grid-template-columns: 1fr; }
  .gallery figure { aspect-ratio: 16/10; }
  .device { padding: 9px; border-radius: 16px; }
  .screen { aspect-ratio: 3 / 4; }
  .hero__actions .btn { flex: 1 1 100%; }
}

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

.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;
}



/* ============================================================
   INDICADOR DE SCROLL — sin recuadro, directo sobre la imagen
   ============================================================ */
.scrub__hint {
  position: absolute; z-index: 6;
  bottom: clamp(20px, 4.5vh, 46px); left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 11px;
  transition: opacity .45s var(--ease), transform .45s var(--ease);
  /* Halo suave para no perder contraste sobre el carro negro */
  filter: drop-shadow(0 0 6px rgba(255,255,255,.95))
          drop-shadow(0 0 16px rgba(255,255,255,.9))
          drop-shadow(0 0 34px rgba(255,255,255,.75));
}
.scrub__hint__label {
  font-family: var(--font-display);
  font-size: 10px; font-weight: 700;
  letter-spacing: .3em; text-transform: uppercase;
  color: var(--black); white-space: nowrap;
}
.scrub__hint__rail {
  position: relative; display: block;
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(11,11,12,.28), rgba(11,11,12,0));
}
.scrub__hint__dot {
  position: absolute; left: 50%; top: 0;
  width: 5px; height: 5px; margin-left: -2.5px;
  background: var(--red); border-radius: 50%;
  animation: hintDrop 1.9s var(--ease) infinite;
}
@keyframes hintDrop {
  0%   { transform: translateY(0);  opacity: 0; }
  18%  { opacity: 1; }
  75%  { opacity: 1; }
  100% { transform: translateY(38px); opacity: 0; }
}
.scrub__hint__chevron {
  width: 19px; height: 24px;
  fill: none; stroke: var(--black);
  stroke-width: 2.4; stroke-linecap: square;
}
.scrub__hint__chevron polyline { opacity: .25; animation: hintChev 1.9s var(--ease) infinite; }
.scrub__hint__chevron polyline:nth-child(2) { animation-delay: .22s; }
@keyframes hintChev { 0%, 60%, 100% { opacity: .22; } 30% { opacity: 1; } }
.scrub__hint.is-hidden { opacity: 0; transform: translateX(-50%) translateY(14px); pointer-events: none; }

/* ============================================================
   VARIANTE CLARA DEL INFOTAINMENT (por defecto)
   Para ver la versión oscura: ?pantalla=negra
   ============================================================ */
body.screen-light .screen {
  background: linear-gradient(170deg, #FFFFFF 0%, #F3F4F6 100%);
  color: var(--black);
}
body.screen-light .screen::before {
  background: linear-gradient(115deg, rgba(255,255,255,.55) 0%, transparent 34%);
}
body.screen-light .screen__topbar {
  color: var(--gray-500);
  border-bottom-color: var(--gray-200);
}
body.screen-light .screen__brandmark,
body.screen-light .screen__brandmark svg { color: var(--black); }
body.screen-light .quiz__dot { background: var(--gray-200); }
body.screen-light .quiz__dot.is-done { background: var(--red); }
body.screen-light .quiz__q { color: var(--black); }
body.screen-light .quiz__opt {
  background: #FFFFFF; border-color: var(--gray-300); color: var(--black);
}
body.screen-light .quiz__opt:hover {
  border-color: var(--black);
  box-shadow: 0 8px 20px -10px rgba(0,0,0,.3);
}
body.screen-light .quiz__opt.is-selected {
  border-color: var(--red); background: rgba(200,16,46,.06);
}
body.screen-light .quiz__opt small { color: var(--gray-500); }
body.screen-light .quiz__back { color: var(--gray-500); }
body.screen-light .quiz__back:hover { color: var(--black); }
body.screen-light .quiz__count { color: var(--black); }
body.screen-light .screen__idle { background: #FFFFFF; color: var(--gray-500); }
body.screen-light .quiz-section .device {
  background: linear-gradient(160deg, #E8EAEE 0%, #D3D7DE 45%, #BFC4CC 100%);
  box-shadow: 0 0 0 1px rgba(0,0,0,.06), 0 40px 90px -20px rgba(0,0,0,.35),
              inset 0 1px 0 rgba(255,255,255,.9);
}

/* ============================================================
   HEADER — transparente sobre la secuencia, para que el video
   se vea a pantalla completa. Se vuelve sólido al salir de ella.
   ============================================================ */
.site-header { background: transparent; border-bottom-color: transparent; }
.site-header .site-header__logo { color: var(--black); }
.site-header .site-header__tag { color: var(--gray-500); }
.site-header.is-solid {
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom-color: var(--gray-200);
}
/* Sobre el tramo oscuro de la secuencia, la marca se invierte */
.site-header.over-dark:not(.is-solid) .site-header__logo { color: #fff; }
.site-header.over-dark:not(.is-solid) .site-header__tag { color: rgba(255,255,255,.7); }
