/* ══════════════════════════════════════════════════════════════
   PERSONAL ENDURO — off-road school. Dark racing world.
   Bebas Neue (display) + Archivo (UI). Black / warm white / racing red.
   ══════════════════════════════════════════════════════════════ */

:root {
  --bg:        #0B0B0D;
  --surface:   #141418;
  --surface-2: #1B1B21;
  --line:      #2A2A32;
  --text:      #F5F3EF;
  --muted:     #9A968E;
  --red:       #E4002B;
  --red-bright:#FF1E3C;
  --red-deep:  #9E0020;
  --dust:      #C79A6B;
  --ok:        #4ED07A;
  --warn:      #F5A623;

  --maxw: 1200px;
  --gut: clamp(1.1rem, 4vw, 3rem);
  --r: 4px;
  --r-lg: 8px;

  --ease: cubic-bezier(.16,1,.3,1);
  --font-display: 'Bebas Neue', 'Archivo', system-ui, sans-serif;
  --font-body: 'Archivo', system-ui, -apple-system, sans-serif;

  --sh-1: 0 2px 8px rgba(0,0,0,.4);
  --sh-2: 0 14px 40px rgba(0,0,0,.55);
  --sh-red: 0 12px 34px rgba(228,0,43,.28);
}

*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
input { font: inherit; }
:focus-visible { outline: 2px solid var(--red-bright); outline-offset: 3px; border-radius: 2px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 200;
  background: var(--red); color: #fff; padding: .6rem 1rem; border-radius: var(--r);
  font-weight: 700; transform: translateY(-160%); transition: transform .2s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

.tabnum { font-variant-numeric: tabular-nums; }

/* ── Reveal ── */
[data-reveal] { opacity: 1; }
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1 !important; transform: none !important; transition: none; }
}

/* ══════════════ Buttons ══════════════ */
.btn {
  --btn-bg: var(--surface-2);
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.5rem; border-radius: var(--r);
  font-family: var(--font-display); font-size: 1.15rem; letter-spacing: .04em;
  text-transform: uppercase; line-height: 1; white-space: nowrap;
  background: var(--btn-bg); border: 1px solid var(--line);
  transition: transform .18s var(--ease), background .18s var(--ease), border-color .18s var(--ease), box-shadow .18s var(--ease), color .18s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--lg { padding: 1.05rem 1.9rem; font-size: 1.35rem; }
.btn--sm { padding: .55rem 1rem; font-size: 1rem; }
.btn--red { --btn-bg: var(--red); border-color: var(--red); color: #fff; box-shadow: var(--sh-red); }
.btn--red:hover { --btn-bg: var(--red-bright); border-color: var(--red-bright); }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--text); }
.btn--ghost:hover { border-color: var(--text); background: rgba(245,243,239,.04); }
.btn--wa { background: #128C4A; border-color: #128C4A; color: #fff; }
.btn--wa:hover { background: #16a558; border-color: #16a558; }
.btn--wa .ico { width: 1.25em; height: 1.25em; fill: currentColor; stroke: none; }
.btn--wa .wa-glyph { fill: #128C4A; }
.btn:disabled { opacity: .4; cursor: not-allowed; transform: none; box-shadow: none; }

.ico { width: 1.15em; height: 1.15em; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* ══════════════ Section shells ══════════════ */
section { position: relative; }
.section-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.7rem, 7vw, 5rem); line-height: .92; letter-spacing: .01em;
  text-transform: uppercase;
}
.section-lead { color: var(--muted); font-size: 1.1rem; max-width: 56ch; margin-top: 1rem; }
.section-lead strong { color: var(--text); }

.tag { display: inline-block; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em;
  padding: .25rem .55rem; border-radius: 100px; font-weight: 700; vertical-align: middle; }
.tag--demo { background: rgba(199,154,107,.14); color: var(--dust); border: 1px solid rgba(199,154,107,.3); }

/* ══════════════ NAV ══════════════ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11,11,13,.55); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.nav.is-stuck { background: rgba(11,11,13,.9); border-bottom-color: var(--line); }
.nav__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 1.15rem var(--gut);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  transition: padding .3s var(--ease);
}
.nav.is-stuck .nav__inner { padding-top: .7rem; padding-bottom: .7rem; }

.brand { display: inline-flex; align-items: center; gap: .6rem; }
.brand__mark { width: 34px; height: 34px; flex: none; }
.brand__mark .ring { fill: none; stroke: var(--text); stroke-width: 1.4; opacity: .85; }
.brand__mark .ring--2 { opacity: .55; }
.brand__mark .ring--3 { fill: var(--red); stroke: none; }
.brand__mark .slash { stroke: var(--red); stroke-width: 3; stroke-linecap: round; }
.brand__text { font-family: var(--font-display); font-size: 1.6rem; letter-spacing: .06em; text-transform: uppercase; line-height: 1; }
.brand__text--thin { color: var(--muted); }
.brand__img { height: 32px; width: auto; display: block; }
.brand--footer .brand__img { height: 40px; }

.nav__links { display: flex; gap: 1.6rem; }
.nav__links a { font-weight: 600; font-size: .95rem; color: var(--muted); position: relative; padding: .3rem 0; transition: color .2s var(--ease); }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 100%; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { transform: scaleX(1); }

.nav__actions { display: flex; align-items: center; gap: 1rem; }
.nav__phone { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; font-size: .92rem; color: var(--text); }
.nav__phone .ico { fill: none; stroke: var(--red); }
.nav__phone:hover { color: var(--red-bright); }

.nav__burger { display: none; width: 42px; height: 42px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; border: 1px solid var(--line); border-radius: var(--r); }
.nav__burger span { width: 20px; height: 2px; background: var(--text); transition: transform .25s var(--ease), opacity .25s var(--ease); }
.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); }

.nav__mobile { display: none; flex-direction: column; gap: .3rem; padding: 0 var(--gut) 1.2rem; }
.nav__mobile a { padding: .8rem .2rem; font-weight: 600; border-bottom: 1px solid var(--line); }
.nav__mobile a.btn { justify-content: center; border-bottom: 1px solid var(--red); margin-top: .6rem; }

@media (max-width: 900px) {
  .nav__links, .nav__phone { display: none; }
  .nav__burger { display: flex; }
  .nav__cta { display: none; }
  .nav__mobile:not([hidden]) { display: flex; }
}

/* ══════════════ HERO ══════════════ */
.hero {
  position: relative; min-height: calc(100svh - 84px); display: flex; align-items: center;
  padding: 3rem var(--gut) 2.4rem; overflow: hidden;
}
.hero__photo, .hero__video, .hero__dust, .hero__vignette { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__photo {
  background: url('assets/hero-poster.jpg') center center / cover no-repeat;
  filter: saturate(.6) contrast(1.06) brightness(.55);
}
.hero__video { object-fit: cover; z-index: 0; filter: saturate(.66) contrast(1.08) brightness(.55); }
.hero__dust { z-index: 1; }
.hero__vignette {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(11,11,13,.66) 0%, rgba(11,11,13,.4) 38%, rgba(11,11,13,.5) 66%, rgba(11,11,13,.78) 92%, var(--bg) 100%),
    radial-gradient(120% 95% at 50% 42%, transparent 30%, rgba(11,11,13,.5) 100%);
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 2; max-width: 1120px; margin: 0 auto; width: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }

.hero__loc { display: inline-flex; align-items: center; gap: .55rem; color: var(--muted); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; font-size: .82rem; }
.hero__loc .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(228,0,43,.2); }

.hero__title {
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(3.4rem, 11.5vw, 9rem); line-height: .84; letter-spacing: -.01em;
  margin: 1rem 0 1.6rem;
}
.hero__title .line { display: block; }
.hero__title em { font-style: normal; color: var(--red); position: relative; }
.hero__title em::after { content: ""; position: absolute; left: 0; right: .02em; bottom: .12em; height: .055em; background: var(--red); transform: skewX(-14deg); transform-origin: left; }

.hero__sub { max-width: 60ch; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.18rem); margin-top: 0; }
.hero__sub strong { color: var(--text); }

.hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.8rem; justify-content: center; }

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 4vw, 3rem);
  margin-top: clamp(2rem, 4vh, 3.2rem); padding-top: 1.6rem; border-top: 1px solid rgba(245,243,239,.16);
  width: 100%;
}
.stat__num { font-family: var(--font-display); font-size: clamp(2.4rem, 4.4vw, 3.6rem); line-height: 1; color: var(--text); font-variant-numeric: tabular-nums; }
.stat__label { color: var(--muted); font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; margin-top: .35rem; }

@media (prefers-reduced-motion: reduce) { .hero__video { display: none; } }
@media (max-width: 760px) {
  .hero__video { display: none; }
  .hero__inner { display: block; }
  .stats { margin-top: 2.6rem; }
}
@media (max-width: 560px) { .stats { grid-template-columns: repeat(2, 1fr); gap: 1.4rem 1rem; } }

/* ══════════════ MARQUEE ══════════════ */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); padding: .9rem 0; overflow: hidden; }
.marquee__track { display: flex; align-items: center; gap: 1.5rem; width: max-content; animation: scroll-x 32s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee span { font-family: var(--font-display); font-size: 1.7rem; letter-spacing: .05em; text-transform: uppercase; color: var(--text); }
.marquee i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); display: inline-block; }
@keyframes scroll-x { from { transform: translateX(0);} to { transform: translateX(-50%);} }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* ══════════════ BOOKING ══════════════ */
.booking { max-width: var(--maxw); margin: 0 auto; padding: clamp(4rem, 9vw, 7rem) var(--gut); scroll-margin-top: 80px; }
.booking__head { margin-bottom: 2.6rem; }
.booking__grid { display: grid; grid-template-columns: 1fr 340px; gap: 2rem; align-items: start; }
@media (max-width: 920px) { .booking__grid { grid-template-columns: 1fr; } }

.booking__main {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.4rem, 3vw, 2.2rem); min-height: 460px;
  position: relative; overflow: hidden;
}
.booking__main::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: linear-gradient(90deg, var(--red) 0 40%, transparent 40%); }

/* Stepper */
.stepper { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; padding: 0; margin: 0 0 2rem; counter-reset: none; }
.stepper__item { display: inline-flex; align-items: center; gap: .5rem; padding: .4rem .7rem; border-radius: 100px; color: var(--muted); font-size: .8rem; font-weight: 600; border: 1px solid transparent; transition: color .2s, background .2s, border-color .2s; }
.stepper__item[data-step-tab] { cursor: default; }
.stepper__item.is-done { cursor: pointer; color: var(--text); }
.stepper__item.is-active { color: var(--text); background: var(--surface-2); border-color: var(--line); }
.stepper__n { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--line); font-family: var(--font-display); font-size: .95rem; }
.stepper__item.is-active .stepper__n { background: var(--red); border-color: var(--red); color: #fff; }
.stepper__item.is-done .stepper__n { background: transparent; border-color: var(--ok); color: var(--ok); }
.stepper__t { text-transform: uppercase; letter-spacing: .04em; }
@media (max-width: 520px) { .stepper__t { display: none; } .stepper__item { padding: .35rem; } }

.step__title { font-family: var(--font-display); font-weight: 400; font-size: 1.9rem; letter-spacing: .02em; text-transform: uppercase; margin-bottom: 1.3rem; }
.step__nav { display: flex; justify-content: space-between; align-items: center; margin-top: 1.8rem; gap: 1rem; }
.step__hint { color: var(--muted); font-size: .92rem; margin-top: 1rem; min-height: 1.2em; }

/* Activity pick grid */
.pick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; }
@media (max-width: 560px) { .pick-grid { grid-template-columns: repeat(2, 1fr); } }
.pick {
  position: relative; display: flex; flex-direction: column; gap: .55rem; align-items: flex-start;
  padding: 1rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface-2);
  text-align: left; transition: transform .18s var(--ease), border-color .18s var(--ease), background .18s var(--ease);
}
.pick:hover { transform: translateY(-3px); border-color: var(--muted); }
.pick.is-sel { border-color: var(--red); background: rgba(228,0,43,.08); }
.pick.is-sel::after { content: ""; position: absolute; top: .7rem; right: .7rem; width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 3px rgba(228,0,43,.25); }
.pick__ico { width: 30px; height: 30px; stroke: var(--text); stroke-width: 1.6; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.pick.is-sel .pick__ico { stroke: var(--red-bright); }
.pick__name { font-family: var(--font-display); font-size: 1.2rem; letter-spacing: .03em; text-transform: uppercase; line-height: 1; }
.pick__meta { font-size: .74rem; color: var(--muted); }

/* Segmented control (formato) */
.segment { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.segment.is-solo { grid-template-columns: 1fr; }
.seg {
  padding: 1.1rem 1rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface-2);
  text-align: center; transition: border-color .18s var(--ease), background .18s var(--ease), transform .18s var(--ease);
}
.seg:hover { transform: translateY(-2px); border-color: var(--muted); }
.seg.is-sel { border-color: var(--red); background: rgba(228,0,43,.08); }
.seg__k { display: block; font-family: var(--font-display); font-size: 1.5rem; letter-spacing: .03em; text-transform: uppercase; }
.seg__d { display: block; font-size: .78rem; color: var(--muted); margin-top: .2rem; }

/* Bike choice */
.bike-choice { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
@media (max-width: 560px) { .bike-choice { grid-template-columns: 1fr; } }
.bike-opt {
  position: relative; text-align: left; display: flex; flex-direction: column; gap: .5rem;
  padding: 1.3rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface-2);
  transition: border-color .18s var(--ease), background .18s var(--ease), transform .18s var(--ease);
}
.bike-opt:hover { transform: translateY(-2px); border-color: var(--muted); }
.bike-opt[aria-checked="true"] { border-color: var(--red); background: rgba(228,0,43,.08); }
.bike-opt__k { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: .03em; text-transform: uppercase; }
.bike-opt__d { font-size: .88rem; color: var(--muted); }
.bike-opt__tag { align-self: flex-start; font-size: .68rem; text-transform: uppercase; letter-spacing: .07em; font-weight: 700; padding: .2rem .5rem; border-radius: 100px; background: var(--surface); border: 1px solid var(--line); color: var(--dust); }

/* Calendar */
.cal { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.cal__bar { display: flex; align-items: center; justify-content: space-between; padding: .8rem 1rem; background: var(--surface-2); }
.cal__month { font-family: var(--font-display); font-size: 1.35rem; text-transform: uppercase; letter-spacing: .04em; }
.cal__nav { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: var(--r); }
.cal__nav svg { width: 18px; height: 18px; fill: none; stroke: var(--text); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cal__nav:hover { border-color: var(--red); }
.cal__nav:disabled { opacity: .3; cursor: not-allowed; }
.cal__dow { display: grid; grid-template-columns: repeat(7, 1fr); padding: .6rem 1rem 0; color: var(--muted); font-size: .72rem; font-weight: 700; text-transform: uppercase; text-align: center; }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; padding: .6rem 1rem 1rem; }
.cal__cell { aspect-ratio: 1; border-radius: var(--r); border: 1px solid transparent; background: var(--surface-2); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-variant-numeric: tabular-nums; transition: transform .14s var(--ease), border-color .14s var(--ease); position: relative; }
.cal__cell.is-empty { background: transparent; }
.cal__cell.is-past, .cal__cell.is-full { opacity: .32; cursor: not-allowed; color: var(--muted); }
.cal__cell.is-ok, .cal__cell.is-warn { cursor: pointer; }
.cal__cell.is-ok:hover, .cal__cell.is-warn:hover { transform: translateY(-2px); border-color: var(--text); }
.cal__cell .d { font-size: .98rem; font-weight: 600; }
.cal__cell .p { font-size: .6rem; text-transform: uppercase; letter-spacing: .03em; line-height: 1; }
.cal__cell.is-ok .p { color: var(--ok); }
.cal__cell.is-warn .p { color: var(--warn); }
.cal__cell.is-sel { border-color: var(--red); background: rgba(228,0,43,.14); box-shadow: inset 0 0 0 1px var(--red); }
.cal__cell.is-ok::before, .cal__cell.is-warn::before { content: ""; position: absolute; top: 5px; right: 5px; width: 6px; height: 6px; border-radius: 50%; }
.cal__cell.is-ok::before { background: var(--ok); }
.cal__cell.is-warn::before { background: var(--warn); }
.cal__legend { list-style: none; display: flex; flex-wrap: wrap; gap: 1rem; padding: 0 1rem 1rem; margin: 0; color: var(--muted); font-size: .78rem; }
.cal__legend li { display: inline-flex; align-items: center; gap: .4rem; }
.dotc { width: 9px; height: 9px; border-radius: 50%; }
.dotc--ok { background: var(--ok); } .dotc--warn { background: var(--warn); } .dotc--full { background: var(--line); }

/* Riders */
.riders { display: inline-flex; align-items: center; gap: 1.2rem; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface-2); }
.riders__btn { width: 46px; height: 46px; border-radius: var(--r); border: 1px solid var(--line); font-size: 1.6rem; line-height: 1; display: grid; place-items: center; transition: border-color .15s, background .15s; }
.riders__btn:hover:not(:disabled) { border-color: var(--red); background: rgba(228,0,43,.08); }
.riders__btn:disabled { opacity: .3; cursor: not-allowed; }
.riders__val { text-align: center; min-width: 70px; }
.riders__val span { font-family: var(--font-display); font-size: 2.6rem; line-height: 1; display: block; font-variant-numeric: tabular-nums; }
.riders__val small { color: var(--muted); font-size: .74rem; text-transform: uppercase; letter-spacing: .05em; }
.riders__cap { color: var(--muted); font-size: .88rem; margin-top: .9rem; }
.riders__cap.is-warn { color: var(--warn); }

/* Insurance */
.ins { display: flex; align-items: flex-start; gap: .8rem; padding: 1.1rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface-2); margin-top: 1.2rem; cursor: pointer; }
.ins input { position: absolute; opacity: 0; width: 0; height: 0; }
.ins__box { flex: none; width: 26px; height: 26px; border-radius: 5px; border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; transition: background .15s, border-color .15s; }
.ins__box svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transition: opacity .15s; }
.ins input:checked + .ins__box { background: var(--red); border-color: var(--red); }
.ins input:checked + .ins__box svg { opacity: 1; }
.ins input:focus-visible + .ins__box { outline: 2px solid var(--red-bright); outline-offset: 2px; }
.ins__txt { font-size: .95rem; color: var(--muted); }
.ins__txt strong { color: var(--text); }
.ins__txt em { font-style: normal; color: var(--dust); font-weight: 700; }

/* Recap + lead */
.recap { display: grid; gap: .5rem; padding: 1.2rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface-2); margin-bottom: 1.4rem; }
.recap__row { display: flex; justify-content: space-between; gap: 1rem; font-size: .95rem; }
.recap__row dt, .recap__row .k { color: var(--muted); }
.recap__row dd, .recap__row .v { color: var(--text); font-weight: 600; text-align: right; }
.recap__row--total { border-top: 1px solid var(--line); padding-top: .7rem; margin-top: .3rem; }
.recap__row--total .v { font-family: var(--font-display); font-size: 1.7rem; color: var(--red-bright); font-variant-numeric: tabular-nums; }

.lead { display: grid; gap: 1rem; }
.field { display: grid; gap: .35rem; }
.field label { font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.field .opt { color: var(--line); font-weight: 500; text-transform: none; letter-spacing: 0; }
.field input {
  padding: .85rem 1rem; border-radius: var(--r); border: 1px solid var(--line);
  background: var(--surface-2); color: var(--text); transition: border-color .15s, background .15s;
}
.field input::placeholder { color: #55535a; }
.field input:focus { border-color: var(--red); background: var(--surface); outline: none; }
.field input.is-err { border-color: var(--red-bright); }
.lead__err { color: var(--red-bright); font-size: .9rem; font-weight: 600; }
.lead__legal { color: var(--muted); font-size: .78rem; line-height: 1.5; }
.lead__legal a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }

/* ── Track pass ── */
.pass {
  position: sticky; top: 96px;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 1.4rem; box-shadow: var(--sh-2);
}
.pass::before { content: ""; position: absolute; inset: 0; border-radius: var(--r-lg); padding: 1px; background: linear-gradient(180deg, rgba(228,0,43,.5), transparent 40%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.pass__top { display: flex; align-items: baseline; justify-content: space-between; }
.pass__brand { font-family: var(--font-display); font-size: 1.15rem; letter-spacing: .1em; text-transform: uppercase; color: var(--red-bright); }
.pass__id { font-family: var(--font-display); font-size: 1rem; color: var(--muted); letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.pass__perf { height: 1px; margin: 1rem -.4rem; border-top: 1px dashed var(--line); position: relative; }
.pass__perf::before, .pass__perf::after { content: ""; position: absolute; top: -6px; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line); }
.pass__perf::before { left: -1.9rem; } .pass__perf::after { right: -1.9rem; }
.pass__rows { display: grid; gap: .55rem; margin: 0; }
.pass__row { display: flex; justify-content: space-between; gap: 1rem; font-size: .9rem; }
.pass__row dt { color: var(--muted); }
.pass__row dd { text-align: right; font-weight: 600; }
.pass__row dd.is-set { color: var(--text); }
.pass__total { display: flex; align-items: center; justify-content: space-between; margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.pass__total > span:first-child { font-family: var(--font-display); font-size: 1.3rem; letter-spacing: .06em; text-transform: uppercase; }
.pass__price { font-family: var(--font-display); font-size: 2.8rem; line-height: 1; color: var(--text); font-variant-numeric: tabular-nums; }
.pass__price em { font-style: normal; font-size: 1.6rem; color: var(--muted); margin-left: .1rem; }
.pass__note { color: var(--muted); font-size: .82rem; margin-top: .8rem; }

@media (max-width: 920px) {
  .pass { position: static; }
}

/* Confirmation */
.confirm { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: var(--gut); background: rgba(6,6,8,.82); backdrop-filter: blur(6px); }
.confirm__confetti { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.confirm__card { position: relative; z-index: 2; max-width: 480px; width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.6rem, 4vw, 2.6rem); text-align: center; box-shadow: var(--sh-2); }
.confirm__check { width: 74px; height: 74px; margin: 0 auto 1.2rem; }
.confirm__check svg { width: 100%; height: 100%; fill: none; }
.confirm__check circle { stroke: var(--ok); stroke-width: 3; }
.confirm__check path { stroke: var(--ok); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.confirm__card h3 { font-family: var(--font-display); font-weight: 400; font-size: 2.4rem; text-transform: uppercase; letter-spacing: .02em; }
.confirm__sub { color: var(--muted); margin-top: .4rem; }
.confirm__recap { text-align: left; display: grid; gap: .4rem; margin: 1.4rem 0; padding: 1.1rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface-2); }
.confirm__meet { font-size: .88rem; color: var(--muted); text-align: left; }
.confirm__meet strong { color: var(--text); }
.confirm__actions { display: flex; flex-direction: column; gap: .7rem; margin: 1.4rem 0 1rem; }
.confirm__demo { font-size: .76rem; color: var(--dust); border-top: 1px solid var(--line); padding-top: .9rem; }

/* ══════════════ COURSES ══════════════ */
.courses { max-width: var(--maxw); margin: 0 auto; padding: clamp(3.5rem, 8vw, 6rem) var(--gut); }
.courses__head { margin-bottom: 2.6rem; }
.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 860px) { .course-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .course-grid { grid-template-columns: 1fr; } }
.course {
  position: relative; overflow: hidden; text-align: left; display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: var(--r); background: var(--surface);
  transition: transform .2s var(--ease), border-color .2s var(--ease);
}
.course::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--red); transform: scaleY(0); transform-origin: bottom; transition: transform .28s var(--ease); z-index: 3; }
.course:hover { transform: translateY(-5px); border-color: var(--muted); }
.course:hover::before { transform: scaleY(1); }
.course__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); }
.course__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.course:hover .course__media img { transform: scale(1.06); }
.course__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,11,13,.1) 0%, transparent 34%, transparent 58%, rgba(20,20,24,.88) 100%); }
.course__ico { position: absolute; top: .8rem; left: .8rem; z-index: 2; width: 32px; height: 32px; stroke: #fff; stroke-width: 1.6; fill: none; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 1px 3px rgba(0,0,0,.7)); }
.course__level { position: absolute; top: .8rem; right: .8rem; z-index: 2; font-size: .66rem; text-transform: uppercase; letter-spacing: .07em; font-weight: 700; color: var(--text); padding: .24rem .55rem; border-radius: 100px; background: rgba(11,11,13,.62); backdrop-filter: blur(4px); border: 1px solid rgba(255,255,255,.16); }
.course__body { display: flex; flex-direction: column; gap: .7rem; padding: 1.3rem; }
.course__name { font-family: var(--font-display); font-weight: 400; font-size: 1.9rem; letter-spacing: .02em; text-transform: uppercase; line-height: .95; }
.course__desc { color: var(--muted); font-size: .92rem; flex: 1; }
.course__cta { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--font-display); font-size: 1.05rem; letter-spacing: .04em; text-transform: uppercase; color: var(--red-bright); }
.course__cta svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--ease); }
.course:hover .course__cta svg { transform: translateX(4px); }

/* ══════════════ PRICING ══════════════ */
.pricing { max-width: var(--maxw); margin: 0 auto; padding: clamp(3.5rem, 8vw, 6rem) var(--gut); }
.pricing__head { margin-bottom: 2.6rem; }
.pricing__table { margin-bottom: 2.6rem; }
.rates { width: 100%; border-collapse: collapse; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.rates th, .rates td { padding: 1.05rem 1.2rem; text-align: left; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.rates thead th { background: var(--surface-2); font-family: var(--font-display); font-weight: 400; font-size: 1.15rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.rates thead th.rates__hl { color: var(--text); }
.rates tbody th { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; letter-spacing: .02em; text-transform: uppercase; }
.rates tbody th small { display: block; font-family: var(--font-body); font-size: .74rem; letter-spacing: 0; text-transform: none; color: var(--muted); font-weight: 500; }
.rates td { font-size: 1.4rem; font-weight: 700; }
.rates td.rates__hl { color: var(--red-bright); }
.rates tbody tr:last-child th, .rates tbody tr:last-child td { border-bottom: none; }
.rates tbody tr { transition: background .15s; }
.rates tbody tr:hover { background: var(--surface); }
.rates__foot { color: var(--muted); font-size: .88rem; margin-top: 1rem; }
.rates__foot strong { color: var(--dust); }

.extras__title { font-family: var(--font-display); font-weight: 400; font-size: 1.7rem; text-transform: uppercase; letter-spacing: .03em; margin-bottom: 1.2rem; }
.extras__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; }
@media (max-width: 640px) { .extras__list { grid-template-columns: 1fr; } }
.extras__list li { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.extras__list .x-name { font-weight: 600; }
.extras__list .x-price { font-family: var(--font-display); font-size: 1.3rem; color: var(--text); white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ══════════════ SCHOOL ══════════════ */
.school { max-width: var(--maxw); margin: 0 auto; padding: clamp(3.5rem, 8vw, 6rem) var(--gut); }
.school__head { margin-bottom: 2.6rem; }
.coaches { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
@media (max-width: 720px) { .coaches { grid-template-columns: 1fr; } }
.coach { display: grid; grid-template-columns: 150px 1fr; gap: 1.4rem; padding: 1.6rem; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); align-items: start; }
@media (max-width: 460px) { .coach { grid-template-columns: 1fr; } }
.coach__portrait { width: 150px; aspect-ratio: 3 / 4; border-radius: var(--r); border: 1px solid var(--line); overflow: hidden; background: var(--surface-2); position: relative; }
.coach__portrait::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(228,0,43,.12) 100%); pointer-events: none; }
.coach__portrait img { width: 100%; height: 100%; object-fit: cover; object-position: top center; filter: grayscale(.15) contrast(1.03); transition: filter .3s var(--ease); }
.coach:hover .coach__portrait img { filter: grayscale(0) contrast(1.05); }
.coach__name { font-family: var(--font-display); font-weight: 400; font-size: 2rem; text-transform: uppercase; letter-spacing: .02em; line-height: 1; }
.coach__role { color: var(--red-bright); font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; margin: .4rem 0 .8rem; }
.coach__bio { color: var(--muted); font-size: .95rem; }
.coach__tags { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.coach__tags li { font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; font-weight: 600; padding: .25rem .6rem; border: 1px solid var(--line); border-radius: 100px; color: var(--muted); }

/* ══════════════ LOCATION ══════════════ */
.location { max-width: var(--maxw); margin: 0 auto; padding: clamp(3.5rem, 8vw, 6rem) var(--gut); }
.location__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.4rem; align-items: center; }
@media (max-width: 820px) { .location__grid { grid-template-columns: 1fr; } }
.location__facts { list-style: none; padding: 0; margin: 1.8rem 0; display: grid; gap: .9rem; }
.location__facts li { display: grid; gap: .15rem; padding-bottom: .9rem; border-bottom: 1px solid var(--line); }
.location__facts .k { font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; }
.location__facts .v { color: var(--text); font-weight: 500; }
.location__map { position: relative; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); box-shadow: var(--sh-1); }
.map-embed { display: block; width: 100%; height: 440px; border: 0; filter: grayscale(.25) contrast(1.06) brightness(.92); }
.location__map:hover .map-embed { filter: grayscale(0) contrast(1.03) brightness(1); }
.location__map-tag { position: absolute; left: 1rem; bottom: 1rem; z-index: 2; display: inline-flex; align-items: center; gap: .55rem; padding: .55rem .9rem; background: rgba(11,11,13,.86); backdrop-filter: blur(6px); border: 1px solid var(--line); border-radius: 100px; font-size: .82rem; font-weight: 600; color: var(--text); box-shadow: var(--sh-2); pointer-events: none; }
.location__map-tag .dotc { width: 9px; height: 9px; border-radius: 50%; box-shadow: 0 0 0 3px rgba(228,0,43,.25); }
@media (max-width: 820px) { .map-embed { height: 340px; } }

/* ══════════════ FINALE ══════════════ */
.finale { position: relative; overflow: hidden; padding: clamp(4.5rem, 11vw, 9rem) var(--gut); border-top: 1px solid var(--line); background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%); }
.finale__topo { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .4; }
.finale__topo path { fill: none; stroke: var(--line); stroke-width: 1; }
.finale__topo path.hot { stroke: var(--red); opacity: .4; }
.finale__inner { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; text-align: center; }
.finale__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.8rem, 9vw, 7rem); line-height: .88; text-transform: uppercase; letter-spacing: .01em; }
.finale__sub { color: var(--muted); max-width: 46ch; margin: 1.2rem auto 0; font-size: 1.1rem; }
.finale__cta { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; margin-top: 2.2rem; }

/* ══════════════ FOOTER ══════════════ */
.footer { border-top: 1px solid var(--line); background: var(--surface); }
.footer__inner { max-width: var(--maxw); margin: 0 auto; padding: clamp(3rem, 6vw, 4.5rem) var(--gut) 2rem; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; }
@media (max-width: 780px) { .footer__inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .footer__inner { grid-template-columns: 1fr; } }
.brand--footer { margin-bottom: .9rem; }
.footer__tag { color: var(--muted); font-size: .88rem; max-width: 34ch; }
.footer__col { display: flex; flex-direction: column; gap: .55rem; }
.footer__col h4 { font-family: var(--font-display); font-weight: 400; font-size: 1.1rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: .3rem; }
.footer__col a { color: var(--text); font-size: .92rem; transition: color .15s; }
.footer__col a:hover { color: var(--red-bright); }
.footer__social { display: flex; gap: .6rem; margin-top: .6rem; }
.footer__social a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: var(--r); }
.footer__social svg { width: 20px; height: 20px; fill: none; stroke: var(--text); stroke-width: 1.6; }
.footer__social .yt-play { fill: var(--text); stroke: none; }
.footer__social a:hover { border-color: var(--red); }
.footer__social a:hover svg { stroke: var(--red-bright); }
.footer__legal-note { color: var(--muted); font-size: .74rem; margin-top: .3rem; }
.footer__bar { max-width: var(--maxw); margin: 0 auto; padding: 1.4rem var(--gut); border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: .6rem; justify-content: space-between; color: var(--muted); font-size: .78rem; }
.footer__demo { color: var(--dust); }

/* ══════════════ COOKIES ══════════════ */
.cookies { position: fixed; left: 50%; bottom: 1rem; transform: translateX(-50%); z-index: 250; width: min(680px, calc(100% - 2rem)); background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1rem 1.2rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; box-shadow: var(--sh-2); }
.cookies p { font-size: .86rem; color: var(--muted); flex: 1 1 320px; }
.cookies__btns { display: flex; gap: .6rem; }
.cookies.is-hiding { animation: cookie-out .3s var(--ease) forwards; }
@keyframes cookie-out { to { opacity: 0; transform: translate(-50%, 20px); } }
