/* ==========================================================
   FITTRIBE · "La ruta de la van"
   Naranja van como superficie, negro llanta, blanco gis
   y amarillo neón de pintura de carril (solo acciones y cupos).
   ========================================================== */
:root {
  --van: #FF5A1F;
  --van-deep: #E04812;
  --tire: #222224;
  --graphite: #2C2C2F;
  --asphalt: #38383C;
  --asphalt-2: #46464B;
  --chalk: #F4F3EF;
  --chalk-2: #E7E5DF;
  --neon: #E6FF2B;
  --muted: #A9A7A1;
  --line: rgba(255, 255, 255, .14);

  --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --sans: "Overpass", system-ui, sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --nav-h: 68px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
body {
  margin: 0; background: var(--graphite); color: var(--chalk);
  font: 400 17px/1.55 var(--sans); font-feature-settings: "tnum" 1;
  -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--neon); outline-offset: 3px; border-radius: 4px; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 300; background: var(--neon); color: var(--tire); padding: 10px 14px; font-weight: 800; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Tipos ---------- */
.h-xl, .h-lg, .hero__title, .final__title, .foot__giant, .logo__word {
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  line-height: .86; letter-spacing: -.005em; margin: 0;
}
.h-xl { font-size: clamp(3.2rem, 9vw, 8.6rem); padding-top: .06em; }
.h-lg { font-size: clamp(2.6rem, 6vw, 5rem); }
.slant { display: inline-block; transform: skewX(-9deg); }
.js-split .ln { display: block; overflow: hidden; padding-top: .08em; margin-top: -.08em; }
.js-split .ln > span { display: inline-block; }

/* ---------- Botones ---------- */
.btn {
  --bg: transparent; --fg: currentColor;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .7em 1.3em; border-radius: 999px; border: 2px solid transparent;
  background: var(--bg); color: var(--fg); font-weight: 800; font-size: 1rem; text-decoration: none;
  letter-spacing: .01em; transition: transform .25s var(--ease), background-color .25s, color .25s;
}
.btn--lg { min-height: 58px; padding: .8em 1.6em; font-size: 1.08rem; }
.btn--neon { --bg: var(--neon); --fg: var(--tire); }
.btn--dark { --bg: var(--tire); --fg: var(--chalk); }
.btn--ghost { border-color: currentColor; }
.btn--line { border-color: currentColor; }
@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); }
  .btn--neon:hover { --bg: #fff; }
  .btn--ghost:hover, .btn--line:hover { --bg: var(--chalk); --fg: var(--tire); border-color: var(--chalk); }
}
.btn[disabled] { opacity: .45; pointer-events: none; }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 400; background: var(--graphite);
  display: grid; place-content: center; justify-items: center; gap: 22px;
}
.loader__van { position: relative; width: min(64vw, 340px); aspect-ratio: 260/120; }
.loader__van svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.van.van--outline { --paint: transparent; --glass: transparent; --word: #2c2b28; --dark: #2c2b28; --seam: #2c2b28; --stroke: #3a3936; }
.loader__fill { position: absolute; inset: 0; clip-path: inset(0 100% 0 0); }
.loader__txt { margin: 0; font-weight: 600; color: var(--muted); }
.loader__txt b { color: var(--neon); font-weight: 800; }
.no-js .loader, .is-static .loader { display: none; }

/* Van SVG (colores por variables para reutilizarla) */
.van { --paint: var(--van); --glass: #121212; --word: var(--tire); overflow: visible; }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 100; transition: transform .45s var(--ease), background-color .3s; }
.nav.is-solid { background: rgba(44, 44, 47, .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.nav.is-hidden { transform: translateY(-110%); }
.nav__inner { height: var(--nav-h); display: flex; align-items: center; gap: 28px; padding-inline: var(--gutter); max-width: 1600px; margin-inline: auto; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--chalk); }
.logo__flag { width: 38px; height: auto; color: var(--chalk); }
.logo__word { font-size: 1.7rem; transform: skewX(-10deg); letter-spacing: -.01em; }
.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__links a { text-decoration: none; font-weight: 600; font-size: .95rem; padding: 8px 12px; border-radius: 999px; color: rgba(244, 243, 239, .78); transition: color .2s, background-color .2s; }
.nav__links a.is-current { color: var(--tire); background: var(--chalk); }
@media (hover: hover) { .nav__links a:hover { color: var(--chalk); } .nav__links a.is-current:hover { color: var(--tire); } }
.burger { display: none; width: 46px; height: 46px; border: 0; background: transparent; position: relative; margin-left: auto; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--chalk); transition: transform .3s var(--ease); }
.burger span:first-child { top: 18px; } .burger span:last-child { top: 26px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 90; background: var(--van); color: var(--tire); padding: calc(var(--nav-h) + 24px) var(--gutter) 32px; display: flex; flex-direction: column; justify-content: space-between; }
.menu[hidden] { display: none; }
.menu__links { display: flex; flex-direction: column; }
.menu__links a { font: 900 clamp(2.8rem, 13vw, 4.4rem)/1 var(--display); text-transform: uppercase; text-decoration: none; padding: 6px 0; display: block; overflow: hidden; }
.menu .btn { align-self: flex-start; }
body.menu-open .nav .logo, body.menu-open .burger span { color: var(--tire); }
body.menu-open .burger span { background: var(--tire); }
body.menu-open .nav { background: transparent; backdrop-filter: none; }
body.menu-open .logo__flag { color: var(--tire); }

/* Progreso: carril con la van */
.road-progress { position: absolute; left: 0; right: 0; bottom: -9px; height: 18px; pointer-events: none; }
.road-progress__line { position: absolute; left: 0; right: 0; top: 8px; height: 2px; transform-origin: 0 50%; transform: scaleX(var(--p, 0));
  background: repeating-linear-gradient(90deg, var(--neon) 0 14px, transparent 14px 24px); }
.road-progress__van { position: absolute; top: 0; left: calc(var(--p, 0) * (100% - 40px)); width: 40px; height: 18px; opacity: 0; transition: opacity .3s; }
.nav.is-solid .road-progress__van { opacity: 1; }

/* ---------- Carril entre secciones (divisor temático) ---------- */
.lane { position: relative; height: clamp(84px, 11vw, 132px); margin-bottom: clamp(8px, 2vw, 24px); }
.lane svg.lane__svg { position: absolute; left: 0; top: 50%; width: 100%; height: 4px; transform: translateY(-50%); overflow: visible; }
.lane__ghost { stroke: currentColor; opacity: .12; stroke-width: 4; stroke-dasharray: 28 18; }
.lane__paint { stroke: var(--lane, var(--neon)); stroke-width: 4; stroke-dasharray: 28 18; }
.lane__van { position: absolute; top: 50%; left: 0; width: clamp(64px, 7vw, 96px); transform: translate(-100%, -86%); }
.lane__van .van { width: 100%; height: auto; }
.lane__label { position: absolute; left: var(--gutter); top: 50%; transform: translateY(10px); margin: 14px 0 0; display: flex; gap: 10px; align-items: baseline; font-weight: 600; font-size: .92rem; }
.lane__label b { font: 900 1.25rem/1 var(--display); }
.lane__label span { opacity: .7; }

/* ---------- Secciones: colores ---------- */
main > section { position: relative; overflow: clip; }
.manifesto, .planes, .final { background: var(--van); color: var(--tire); --lane: var(--tire); }
.manifesto .van, .planes .van, .final .van { --paint: var(--chalk); --word: var(--van); }
.ruta, .reserva { background: var(--asphalt); color: var(--chalk); }
.box, .tribu, .faq { background: var(--chalk); color: var(--tire); --lane: var(--van); }
.stage-dim { position: absolute; inset: 0; background: #000; opacity: 0; pointer-events: none; z-index: 50; }

/* ---------- 1 · HERO ---------- */
.hero { height: 340vh; background: var(--graphite); }
.hero__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hero__copy { position: absolute; left: 0; right: 0; top: calc(var(--nav-h) + 3vh); padding-inline: var(--gutter); z-index: 3; max-width: 1600px; margin-inline: auto; }
.hero__kicker { margin: 0 0 12px; font-weight: 600; color: var(--muted); }
.hero__title { font-size: clamp(3.6rem, 10.5vw, 10.5rem); }
.hero__title .ln { display: block; overflow: hidden; padding-top: .16em; margin-top: -.09em; }
.hero__title .ln > span { display: inline-block; transform: skewX(-9deg); transform-origin: 0 100%; }
.hero__title .ln:last-child > span { color: var(--van); }

.scene { position: absolute; inset: 0; z-index: 1; overflow: hidden; background: var(--graphite); }
.scene__still, .scene__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.scene__still { object-fit: cover; object-position: 50% 50%; }
.scene__canvas { opacity: 0; transition: opacity .4s; }
.scene.is-ready .scene__canvas { opacity: 1; }
.scene__class { position: absolute; inset: 0; opacity: 0; }
.scene__video, .scene__class img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scene__shade { position: absolute; inset: 0; opacity: 0; background: linear-gradient(180deg, rgba(20,20,22,.35), rgba(20,20,22,.1) 40%, rgba(20,20,22,.82)); }
.scene::after { content: ""; position: absolute; inset: 0 0 auto; height: 62%; pointer-events: none;
  background: linear-gradient(180deg, rgba(34,34,36,.78), rgba(34,34,36,.35) 55%, transparent); }
.hero__copy { text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.hero__kicker { color: rgba(244,243,239,.8) !important; }
.hero__inside { position: absolute; z-index: 4; left: 0; right: 0; bottom: 8vh; padding-inline: var(--gutter); max-width: 1600px; margin-inline: auto; opacity: 0; visibility: hidden; }
.hero__lead { max-width: 34ch; font-size: clamp(1.1rem, 1.6vw, 1.4rem); line-height: 1.45; margin: 0 0 24px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__hint { position: absolute; z-index: 3; left: var(--gutter); bottom: 5vh; margin: 0; display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--muted); }
.hero__hint i { width: 2px; height: 40px; background: linear-gradient(var(--neon) 50%, transparent 0) 0 0 / 2px 12px; animation: hint 1.2s linear infinite; }
@keyframes hint { to { background-position: 0 12px; } }

/* ---------- 2 · MANIFIESTO ---------- */
.manifesto { padding-block: 0 clamp(80px, 10vw, 140px); }
.manifesto__text { font: 800 clamp(1.9rem, 4.4vw, 4rem)/1.08 var(--display); text-transform: uppercase; margin: 0; max-width: 22ch; letter-spacing: .005em; }
.manifesto__text .w { transition: none; }
.facts { list-style: none; margin: clamp(56px, 8vw, 110px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--tire); }
.facts li { padding: 22px 18px 0 0; }
.facts b { display: block; font: 900 clamp(2.8rem, 6vw, 5.4rem)/.9 var(--display); }
.facts span { display: block; margin-top: 8px; font-weight: 600; max-width: 18ch; }

/* ---------- 3 · LA RUTA ---------- */
.ruta { padding-top: 0; }
.ruta__pin { position: relative; height: 100vh; height: 100svh; display: flex; flex-direction: column; overflow: hidden; }
.ruta__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding-top: calc(var(--nav-h) + 12px); }
.ruta__head .h-xl { font-size: clamp(3rem, 7vw, 6.6rem); }
.ruta__intro { color: var(--muted); max-width: 22ch; margin: 0 0 6px; font-weight: 600; }
.ruta__track { flex: 1; display: flex; align-items: center; gap: clamp(28px, 5vw, 80px); padding-inline: var(--gutter) 30vw; will-change: transform; min-height: 0; }
.stop { flex: 0 0 auto; width: clamp(420px, 46vw, 760px); display: grid; grid-template-columns: 1.15fr 1fr; gap: 26px; align-items: end; }
.stop__media { position: relative; aspect-ratio: 4/5; max-height: 54vh; overflow: hidden; border-radius: 6px; background: var(--asphalt-2); }
.stop__media img, .stop__media video { width: 100%; height: 100%; object-fit: cover; }
.stop__sign { display: inline-flex; align-items: baseline; gap: 8px; background: var(--chalk); color: var(--tire); padding: 6px 12px 4px; border-radius: 4px; font-weight: 800; font-size: .85rem; }
.stop__sign b { font: 900 1.5rem/1 var(--display); }
.stop__when { display: block; margin: 16px 0 6px; color: var(--neon); font-weight: 800; }
.stop__title { font: 900 clamp(2rem, 3.4vw, 3.2rem)/.92 var(--display); text-transform: uppercase; margin: 0 0 12px; }
.stop__text { margin: 0; color: rgba(244, 243, 239, .78); max-width: 32ch; }
.ruta__road { position: relative; height: 92px; flex: 0 0 auto; background: var(--graphite); }
.ruta__lane { position: absolute; left: 0; right: 0; top: 50%; height: 4px; transform: translateY(-50%);
  background: repeating-linear-gradient(90deg, var(--neon) 0 34px, transparent 34px 60px); background-position-x: var(--lane-x, 0); }
.ruta__van { position: absolute; bottom: 30px; left: 0; width: clamp(130px, 12vw, 180px); }
.ruta__van .van, .final__van .van { width: 100%; height: auto; }
.wheel { position: absolute; width: 15.4%; height: auto; bottom: -2%; }
.wheel--a { left: 14.6%; } .wheel--b { left: 69.2%; }

/* ---------- 4 · EL BOX ---------- */
.box { padding-bottom: clamp(80px, 10vw, 140px); }
.box__head { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.box__text { margin: 0; font-size: 1.15rem; max-width: 36ch; }
.box__grid { display: grid; grid-auto-flow: dense; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(180px, 20vw, 290px); gap: 10px; }
.tile { position: relative; overflow: hidden; border-radius: 6px; background: var(--chalk-2); margin: 0; }
.tile--tall { grid-row: span 2; }
.tile--wide { grid-column: span 2; }
.tile img, .tile video { width: 100%; height: 100%; object-fit: cover; }
.box__info { display: grid; grid-template-columns: 1.6fr 1fr; gap: 10px; margin-top: 10px; }
.classinfo { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.classinfo li { background: var(--graphite); color: var(--chalk); border-radius: 6px; padding: 22px; }
.classinfo b { display: block; font: 900 clamp(1.8rem, 2.6vw, 2.4rem)/1 var(--display); text-transform: uppercase; color: var(--van); }
.classinfo span { display: block; margin-top: 6px; }
.perk { background: var(--van); color: var(--tire); border-radius: 6px; padding: 26px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.perk b { font: 900 clamp(2.4rem, 4vw, 3.6rem)/.9 var(--display); text-transform: uppercase; }
.perk p { margin: 0; font-weight: 600; }

/* ---------- 5 · RESERVA ---------- */
.reserva { padding-bottom: clamp(80px, 10vw, 140px); }
.reserva__head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; margin-bottom: 40px; }
.reserva__lead { margin: 0 0 18px; font-size: 1.12rem; max-width: 42ch; color: rgba(244, 243, 239, .84); }
.live { display: inline-flex; align-items: center; gap: 10px; margin: 0; font-weight: 600; font-size: .95rem; padding: 8px 14px; border-radius: 999px; background: var(--asphalt-2); }
.live__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--muted); }
.live.is-live .live__dot { background: var(--neon); box-shadow: 0 0 0 0 rgba(230, 255, 43, .6); animation: ping 1.8s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(230, 255, 43, 0); } 100% { box-shadow: 0 0 0 0 rgba(230, 255, 43, 0); } }

.booker { background: var(--graphite); border-radius: 10px; padding: clamp(16px, 3vw, 32px); border: 1px solid var(--line); }
.booker__steps { list-style: none; display: flex; gap: 8px; margin: 0 0 22px; padding: 0; font-weight: 600; font-size: .92rem; color: var(--muted); }
.booker__steps li { display: flex; align-items: center; gap: 8px; padding-right: 14px; }
.booker__steps b { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 2px solid currentColor; font-size: .8rem; }
.booker__steps li.is-on { color: var(--chalk); }
.booker__steps li.is-on b { background: var(--neon); border-color: var(--neon); color: var(--tire); }
.days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.day { border: 2px solid var(--line); background: transparent; border-radius: 8px; padding: 12px 8px; text-align: left; display: flex; flex-direction: column; gap: 2px; min-height: 92px; transition: border-color .2s, background-color .2s; }
.day__dow { font-weight: 600; font-size: .85rem; color: var(--muted); }
.day__num { font: 900 2rem/1 var(--display); }
.day__meta { font-size: .78rem; font-weight: 600; color: var(--muted); margin-top: auto; }
.day.is-full .day__meta { color: #ff8a65; }
.day[aria-selected="true"] { background: var(--chalk); color: var(--tire); border-color: var(--chalk); }
.day[aria-selected="true"] .day__dow, .day[aria-selected="true"] .day__meta { color: #55524c; }
.day:disabled { opacity: .4; cursor: default; }
@media (hover: hover) { .day:not(:disabled):not([aria-selected="true"]):hover { border-color: var(--chalk); } }
.slots { margin-top: 18px; display: grid; gap: 8px; min-height: 120px; }
.slot { display: grid; grid-template-columns: 116px 1fr auto; align-items: center; gap: 22px; padding: 14px 16px; border-radius: 8px; background: var(--asphalt); }
.slot__time b { display: block; font: 900 2.2rem/1 var(--display); }
.slot__time span { font-size: .82rem; color: var(--muted); font-weight: 600; }
.slot__name { margin: 0 0 8px; font-weight: 800; }
.seats { display: grid; grid-template-columns: repeat(var(--cap, 21), 1fr); gap: 3px; max-width: 420px; }
.seats i { height: 10px; border-radius: 2px; background: rgba(255, 255, 255, .14); }
.seats i.on { background: var(--van); }
.seats i.me { background: var(--neon); }
.slot__status { margin: 8px 0 0; font-size: .86rem; font-weight: 600; color: var(--muted); }
.slot.is-full .slot__status { color: #ff8a65; }
.slot.is-few .slot__status { color: var(--neon); }
.slot.is-past { opacity: .45; }
.slot .btn { min-width: 150px; }
.slot.is-booked { box-shadow: inset 0 0 0 2px var(--neon); }
.slots__empty { padding: 30px; text-align: center; color: var(--muted); border: 2px dashed var(--line); border-radius: 8px; }
.booker__note { margin: 18px 0 0; font-size: .86rem; color: var(--muted); max-width: 70ch; }
.mine { margin-top: 28px; }
.mine__title { font: 900 2rem/1 var(--display); text-transform: uppercase; margin: 0 0 12px; }
.mine__list { display: grid; gap: 8px; }
.mine__item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 8px; border: 2px solid var(--neon); }
.mine__item b { font: 900 1.4rem/1 var(--display); text-transform: uppercase; }
.mine__item button { background: none; border: 0; text-decoration: underline; font-weight: 600; color: var(--muted); }

/* Hoja (bottom sheet en celular, panel centrado en escritorio) */
.sheet { position: fixed; inset: 0; z-index: 250; display: grid; place-items: center; }
.sheet[hidden] { display: none; }
.sheet__scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, .66); }
.sheet__panel { position: relative; width: min(520px, calc(100vw - 32px)); max-height: calc(100svh - 32px); overflow: auto; background: var(--chalk); color: var(--tire); border-radius: 14px; padding: 28px; overscroll-behavior: contain; }
.sheet__x { position: absolute; top: 10px; right: 12px; width: 44px; height: 44px; border: 0; background: transparent; font-size: 1.8rem; line-height: 1; }
.sheet h3 { font: 900 2.4rem/.95 var(--display); text-transform: uppercase; margin: 0 0 6px; padding-right: 40px; }
.sheet p { margin: 0 0 14px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; font-weight: 600; font-size: .92rem; }
.field input { font: inherit; font-weight: 400; font-size: 1rem; padding: 12px 14px; border-radius: 8px; border: 2px solid #c9c6bf; background: #fff; color: var(--tire); }
.field input:focus { outline: none; border-color: var(--tire); }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 18px; font-size: .95rem; }
.check input { width: 20px; height: 20px; accent-color: var(--van); margin-top: 2px; }
.sheet .btn--dark { width: 100%; }
.sheet__fine { font-size: .82rem; color: #6b6861; margin-top: 12px !important; }
.sheet__err { color: #b3261e; font-weight: 600; font-size: .9rem; min-height: 1.2em; }

/* Boleto (pase de abordar de la van) */
.ticket { background: var(--van); color: var(--tire); border-radius: 12px; overflow: hidden; margin: 6px 0 16px; }
.ticket__top { padding: 18px 20px 14px; display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.ticket__top small { display: block; font-weight: 600; font-size: .78rem; opacity: .8; }
.ticket__top b { font: 900 2.6rem/.9 var(--display); text-transform: uppercase; }
.ticket__cut { height: 0; border-top: 3px dashed rgba(0, 0, 0, .35); margin: 0 14px; position: relative; }
.ticket__cut::before, .ticket__cut::after { content: ""; position: absolute; top: -12px; width: 22px; height: 22px; border-radius: 50%; background: var(--chalk); }
.ticket__cut::before { left: -26px; } .ticket__cut::after { right: -26px; }
.ticket__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 14px 20px 18px; }
.ticket__row small { display: block; font-size: .74rem; font-weight: 600; opacity: .75; }
.ticket__row b { font-weight: 800; }
.ticket__code { display: flex; gap: 3px; height: 54px; margin: 0 20px 18px; }
.ticket__code i { flex: 1 1 0; background: var(--tire); }
.ticket__code i:nth-child(3n) { background: transparent; }
.sheet__actions { display: grid; gap: 8px; }

/* ---------- 6 · PRECIOS ---------- */
.planes { padding-bottom: clamp(80px, 10vw, 140px); }
.plans { display: grid; grid-template-columns: 1.25fr 1fr; gap: 12px; margin-top: clamp(36px, 5vw, 60px); }
.plan { border-radius: 10px; padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 14px; background: rgba(0, 0, 0, .1); }
.plan--featured { background: var(--graphite); color: var(--chalk); }
.plan__name { font-weight: 800; font-size: 1.15rem; margin: 0; }
.plan__price { font: 900 clamp(4.4rem, 9vw, 8rem)/.85 var(--display); margin: 0; }
.plan__price small { font: 600 1rem var(--sans); margin-left: 8px; }
.plan__price--tbd { font-size: clamp(2.4rem, 4vw, 3.4rem); }
.plan__text { margin: 0; max-width: 40ch; }
.plan .btn { align-self: flex-start; margin-top: auto; }
.plan__tbd { display: inline-block; align-self: flex-start; font-size: .8rem; font-weight: 800; padding: 4px 10px; border-radius: 99px; border: 2px dashed currentColor; }
.rules { margin-top: clamp(48px, 6vw, 80px); display: grid; grid-template-columns: 1fr 2fr; gap: 30px; border-top: 2px solid var(--tire); padding-top: 26px; }
.rules__title { margin: 0; font: 900 2.2rem/1 var(--display); text-transform: uppercase; }
.rules__list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: r; }
.rules__list li { counter-increment: r; }
.rules__list li::before { content: counter(r); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--tire); color: var(--van); font: 900 1.1rem/1 var(--display); margin-bottom: 12px; }
.rules__list b { display: block; font-weight: 800; margin-bottom: 4px; }

/* ---------- 7 · LA TRIBU ---------- */
.tribu { padding-bottom: clamp(60px, 8vw, 120px); }
.tribu__head { display: grid; gap: 22px; margin-bottom: clamp(36px, 5vw, 70px); }
.tribu__quote { margin: 0; max-width: 40ch; font-size: 1.2rem; font-style: italic; color: #4c4a45; }
.tribu__quote cite { display: block; font-style: normal; font-weight: 800; margin-top: 6px; color: var(--tire); font-size: .95rem; }
.tribu__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding-inline: var(--gutter); max-width: 1600px; margin-inline: auto; }
.tribu__col { display: grid; gap: 10px; align-content: start; }
.tribu__col:nth-child(2) { margin-top: 12vh; }
.tribu__col figure { margin: 0; border-radius: 6px; overflow: hidden; aspect-ratio: 4/5; background: var(--chalk-2); }
.tribu__col img, .tribu__col video { width: 100%; height: 100%; object-fit: cover; }
.tribu__col figure.is-video { aspect-ratio: 9/10; }

/* ---------- 8 · FAQ ---------- */
.faq { padding-bottom: clamp(80px, 10vw, 140px); }
.faq__grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: start; }
.faq__list { margin-top: 28px; border-top: 2px solid var(--tire); }
.qa { border-bottom: 2px solid var(--tire); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-weight: 800; font-size: 1.12rem; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; font: 900 2rem/1 var(--display); transition: transform .3s var(--ease); }
.qa[open] summary::after { transform: rotate(45deg); }
.qa p { margin: 0 0 22px; max-width: 60ch; }
.where { background: var(--van); border-radius: 10px; padding: 26px; display: grid; gap: 10px; }
.where__title { margin: 0; font: 900 2.6rem/1 var(--display); text-transform: uppercase; }
.where__addr { margin: 0 0 8px; font-weight: 600; }
.where__addr small { display: block; font-weight: 400; opacity: .8; margin-top: 4px; }
.where__img { margin: 8px 0 0; border-radius: 6px; overflow: hidden; aspect-ratio: 4/3; }
.where__img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 9 · FINAL ---------- */
.final { padding: clamp(60px, 8vw, 110px) 0 clamp(80px, 10vw, 140px); }
.final__road { position: relative; height: 120px; margin-bottom: 30px; }
.final__lane { position: absolute; left: 0; right: 0; top: 70%; height: 4px; background: repeating-linear-gradient(90deg, var(--tire) 0 34px, transparent 34px 60px); }
.final__van { position: absolute; left: 0; bottom: 34%; width: clamp(140px, 14vw, 200px); }
.final__title { font-size: clamp(4.4rem, 15vw, 15rem); transform: skewX(-8deg); transform-origin: 0 100%; }
.final__lead { font-size: clamp(1.15rem, 1.8vw, 1.5rem); margin: 26px 0 28px; max-width: 30ch; }
.final__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.final .btn--neon { --bg: var(--tire); --fg: var(--neon); }
@media (hover: hover) { .final .btn--neon:hover { --bg: #fff; --fg: var(--tire); } .final .btn--ghost:hover { --bg: var(--tire); --fg: var(--chalk); border-color: var(--tire); } }

/* ---------- Footer ---------- */
.foot { background: var(--graphite); color: var(--chalk); padding-top: 50px; overflow: hidden; position: relative; }
.foot__row { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot__tag { margin: 0; font-weight: 800; font-size: 1.2rem; }
.foot__links { display: flex; gap: 18px; flex-wrap: wrap; }
.foot__links a { font-weight: 600; text-decoration: none; color: rgba(244, 243, 239, .78); }
@media (hover: hover) { .foot__links a:hover { color: var(--neon); } }
.foot__giant { font-size: 25vw; line-height: .78; color: var(--van); white-space: nowrap; text-align: center; margin: 30px 0 0; transform: skewX(-8deg); }
.foot__legal { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-block: 22px 28px; font-size: .82rem; color: var(--muted); }

/* ---------- Cortina: costado de la van ---------- */
.curtain { position: fixed; inset: 0; z-index: 200; pointer-events: none; visibility: hidden; }
.curtain__van { position: absolute; inset: 0; background: var(--van); color: var(--tire); }
.curtain__van::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 9vh; background: var(--graphite); z-index: 1; }
.curtain__window { position: absolute; left: 8vw; top: 12vh; width: min(34vw, 380px); height: 30vh; background: #121212; border-radius: 12px; display: grid; place-items: center; }
.curtain__count { font: 900 clamp(5rem, 14vw, 11rem)/1 var(--display); color: var(--neon); text-transform: uppercase; }
.curtain__word { position: absolute; left: 8vw; bottom: 34vh; margin: 0; font: 900 clamp(4rem, 15vw, 14rem)/.8 var(--display); transform: skewX(-10deg); }
.curtain__label { position: absolute; right: 8vw; top: 14vh; margin: 0; font-weight: 800; font-size: clamp(1rem, 2vw, 1.4rem); }
.curtain__wheel { position: absolute; bottom: 3vh; width: 24vh; height: 24vh; border-radius: 50%; background: radial-gradient(circle, #d9d6cf 0 34%, #2b2a27 35% 40%, var(--tire) 41%); z-index: 3; box-shadow: 0 0 0 1.4vh var(--van-deep); }
.curtain__wheel::before, .curtain__wheel::after { content: ""; position: absolute; left: 47%; right: 47%; top: 34%; bottom: 34%; background: var(--tire); border-radius: 2px; }
.curtain__wheel::after { transform: rotate(90deg); }
.curtain__wheel--a { left: 12vw; } .curtain__wheel--b { right: 12vw; }

/* ---------- Respaldo de autoplay ---------- */
video::-webkit-media-controls-start-playback-button { display: none !important; -webkit-appearance: none; }

/* ==========================================================
   CELULAR / TABLET
   ========================================================== */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .burger { display: block; margin-left: 0; }
  .nav__cta { margin-left: auto; }
}
@media (max-width: 860px) {
  :root { --nav-h: 60px; }
  body { font-size: 16px; }
  .nav__cta { min-height: 40px; padding: .5em 1em; font-size: .92rem; }
  .logo__word { font-size: 1.45rem; }
  .logo__flag { width: 30px; }

  .hero { height: 260vh; }
  .hero__copy { top: calc(var(--nav-h) + 2vh); }
  .hero__title { font-size: clamp(3.2rem, 16vw, 6rem); }
  .hero__hint { left: 50%; transform: translateX(-50%); bottom: 3vh; font-size: .9rem; }
  .hero__inside { bottom: 6vh; }
  .hero__ctas .btn { flex: 1 1 100%; }

  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts li { padding-bottom: 22px; }

  .ruta__pin { height: auto; display: block; overflow: visible; }
  .ruta__head { display: block; padding-top: 0; }
  .ruta__intro { margin-top: 12px; }
  .ruta__track { display: grid; gap: 54px; padding: 40px var(--gutter) 70px calc(var(--gutter) + 26px); position: relative; }
  .ruta__track::before { content: ""; position: absolute; left: calc(var(--gutter) + 4px); top: 40px; bottom: 70px; width: 4px; background: repeating-linear-gradient(180deg, var(--neon) 0 26px, transparent 26px 44px); }
  .stop { width: auto; grid-template-columns: 1fr; gap: 16px; }
  .stop__media { max-height: none; aspect-ratio: 4/5; }
  .ruta__road { display: none; }

  .box__head, .reserva__head, .faq__grid, .rules { grid-template-columns: 1fr; gap: 18px; }
  .box__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 46vw; }
  .tile--wide { grid-column: span 2; }
  .box__info { grid-template-columns: 1fr; }
  .classinfo li { padding: 18px; }

  .days { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .days::-webkit-scrollbar { display: none; }
  .day { scroll-snap-align: start; min-height: 86px; }
  .booker { padding: 16px; margin-inline: calc(var(--gutter) * -1 + 8px); }
  .slot { grid-template-columns: 76px 1fr; gap: 12px 14px; padding: 14px; }
  .slot__time b { font-size: 1.8rem; }
  .slot .btn { grid-column: 1 / -1; width: 100%; }
  .booker__steps { flex-wrap: wrap; }

  .sheet { place-items: end center; }
  .sheet__panel { width: 100%; border-radius: 16px 16px 0 0; max-height: 92svh; padding: 24px 20px calc(24px + env(safe-area-inset-bottom)); }

  .plans { grid-template-columns: 1fr; }
  .rules__list { grid-template-columns: 1fr; }

  .tribu__cols { grid-template-columns: repeat(2, 1fr); }
  .tribu__col:nth-child(2) { margin-top: 8vh; }
  .tribu__col:nth-child(3) { display: none; }

  .curtain__window { width: 70vw; left: 15vw; height: 26vh; }
  .curtain__label { left: 8vw; right: auto; top: calc(12vh + 26vh + 18px); bottom: auto; }
  .curtain__wheel { width: 12vh; height: 12vh; box-shadow: 0 0 0 1vh var(--van-deep); }
  .curtain__wheel--a { left: 10vw; } .curtain__wheel--b { right: 10vw; }
}

/* ==========================================================
   Sin animación (prefers-reduced-motion o sin JS)
   ========================================================== */
.is-static .hero { height: auto; }
.is-static .hero__pin { position: relative; height: auto; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 8vh; }
.is-static .hero__copy { position: relative; top: auto; padding-top: calc(var(--nav-h) + 4vh); z-index: 3; }
.is-static .scene__canvas, .is-static .scene__class { display: none; }
.is-static .scene__shade { opacity: 1; background: linear-gradient(180deg, rgba(20,20,22,.7), rgba(20,20,22,.25) 45%, rgba(20,20,22,.85)); }
.is-static .hero__inside { position: relative; bottom: auto; opacity: 1; visibility: visible; margin-top: 24px; }
.is-static .hero__hint { display: none; }
.is-static .ruta__pin { height: auto; overflow: visible; }
.is-static .ruta__track { flex-wrap: wrap; padding-block: 40px; }
@media (min-width: 861px) { .is-static .stop { width: calc(50% - 40px); } }
.is-static .ruta__road { display: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
.hero__tag { font: 900 clamp(3rem, 8vw, 8rem)/.86 var(--display); text-transform: uppercase; margin: 0 0 22px; transform: skewX(-9deg); transform-origin: 0 100%; }
.is-static .hero__tag { font-size: clamp(2.4rem, 6vw, 5rem); }
.is-static .hero__copy, .is-static .hero__inside { width: 100%; margin-inline: 0; }
.is-static .stop__media { max-height: none; }
@media (min-width: 600px) and (max-width: 860px) {
  .stop { grid-template-columns: 1fr 1fr; align-items: center; gap: 24px; }
  .box__grid { grid-auto-rows: 34vw; }
}

html.sheet-open, body.menu-open { overflow: hidden; }
/* 5) La ruta en laptops bajas */
@media (min-width: 861px) and (max-height: 760px) {
  .ruta__head .h-xl { font-size: clamp(2.4rem, 5vw, 4.2rem); }
  .ruta__head { padding-top: calc(var(--nav-h) + 4px); }
  .stop__media { max-height: max(220px, calc(100svh - 380px)); }
  .stop__title { font-size: clamp(1.6rem, 2.6vw, 2.4rem); }
  .ruta__road { height: 72px; }
}

/* Hoja de reserva: caminos a BoxMagic */
.choices { display: grid; gap: 10px; margin: 6px 0 4px; }
.choice { display: grid; gap: 4px; padding: 16px 18px; border-radius: 10px; border: 2px solid #cfccc5; background: #fff; text-decoration: none; color: var(--tire); transition: border-color .2s, transform .2s var(--ease); }
.choice b { font: 900 1.6rem/1 var(--display); text-transform: uppercase; }
.choice span { font-size: .94rem; color: #55524c; }
.choice:first-child { border-color: var(--tire); }
@media (hover: hover) { .choice:hover { border-color: var(--van); transform: translateY(-2px); } }
