/* =========================================================
   Fitness Studio · Sube de nivel
   Gym profesional negro y dorado sobre un gimnasio pixel vivo.
   Mobile first. Tema oscuro único.
   ========================================================= */

@font-face {
  font-family: "Press Start 2P";
  src: url("../assets/fonts/press-start-2p-latin.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Pixelify Sans";
  src: url("../assets/fonts/pixelify-sans-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --negro: #0B0B0C;
  --carbon: #17171A;
  --grafito: #2A2A2F;
  --oro: #D4A537;
  --oro-brillo: #F2C94C;
  --hueso: #F3EFE6;
  --gris-texto: #A8A39A;

  --f-text: "Pixelify Sans", system-ui, sans-serif;
  --f-pixel: "Press Start 2P", ui-monospace, monospace;
  --r: 6px;
  --gutter: 16px;
  --max: 1240px;
  --nav-h: 64px;
  --sec: clamp(4.5rem, 10vw, 8rem);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --z-bg: 0;
  --z-main: 1;
  --z-nav: 50;
  --z-float: 60;
  --z-bot: 70;
  --z-skip: 80;

  color-scheme: dark;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); }
body {
  background: var(--negro);
  color: var(--hueso);
  font-family: var(--f-text);
  font-size: 1.125rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, iframe, canvas { display: block; max-width: 100%; }
img { height: auto; }
ul, ol { list-style: none; padding: 0; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: .2em; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
::selection { background: var(--oro); color: var(--negro); }
:focus-visible { outline: 3px solid var(--oro-brillo); outline-offset: 3px; }
html { scrollbar-color: var(--grafito) var(--negro); }
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--negro); }
::-webkit-scrollbar-thumb { background: var(--grafito); border: 3px solid var(--negro); border-radius: 12px; }
[hidden] { display: none !important; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: 8px; top: 8px; z-index: var(--z-skip);
  background: var(--oro); color: var(--negro); padding: .6rem 1rem; font-weight: 700; border-radius: var(--r);
  transform: translateY(-200%);
}
.skip:focus { transform: none; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Fondo vivo ---------- */
.gym-bg {
  position: fixed; inset: 0; z-index: var(--z-bg);
  width: 100vw; height: 100vh; height: 100dvh;
  image-rendering: pixelated; image-rendering: crisp-edges;
  pointer-events: none;
}
main, .footer { position: relative; z-index: var(--z-main); }

/* ---------- Tipografía ---------- */
.display {
  font-weight: 900;
  font-stretch: 78%;
  line-height: .95;
  letter-spacing: -.01em;
  text-wrap: balance;
}
.h2 { font-size: clamp(2.5rem, 7vw + .5rem, 4.75rem); margin-bottom: 1.5rem; }
.h3 { font-size: 1.375rem; font-weight: 800; font-stretch: 85%; line-height: 1.15; margin-bottom: .75rem; }
.h3--xl { font-size: clamp(1.75rem, 3vw + .75rem, 2.5rem); margin-bottom: .5rem; }
.label { font-size: .8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; line-height: 1.3; }
.lead { font-size: 1.25rem; color: var(--gris-texto); max-width: 46ch; margin-bottom: 2.5rem; }
.muted { color: var(--gris-texto); }
.prose p { max-width: 66ch; }
[data-stagger] > p + p, .coach__philo-text p + p { margin-top: 1.1em; }
strong { font-weight: 700; }

/* Palabras divididas para animar títulos */
.w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .1em; margin-bottom: -.1em; }
.w__in { display: inline-block; will-change: transform; }

/* ---------- Iconos ---------- */
.i { width: 1.25em; height: 1.25em; flex: none; }
.i--lg { width: 2.5rem; height: 2.5rem; }

/* ---------- Botones ---------- */
/* Botón arcade: relieve real, se hunde al presionar */
.btn {
  --edge: #8a6a22;
  display: inline-flex; align-items: center; justify-content: center; gap: .65rem;
  min-height: 52px; padding: .85rem 1.6rem; border-radius: 999px;
  background: linear-gradient(180deg, var(--oro-brillo), var(--oro) 55%);
  color: var(--negro);
  font-size: 1rem; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; line-height: 1.15; text-align: center;
  text-decoration: none;
  box-shadow: inset 0 2px 0 rgb(255 255 255 / .45), 0 6px 0 var(--edge), 0 12px 22px -6px rgb(0 0 0 / .7);
  transform: translateY(0);
  transition: transform .12s var(--ease-out), box-shadow .12s var(--ease-out), filter .2s var(--ease-out);
}
.btn:hover { filter: brightness(1.08); transform: translateY(-1px); box-shadow: inset 0 2px 0 rgb(255 255 255 / .45), 0 7px 0 var(--edge), 0 14px 24px -6px rgb(0 0 0 / .7); }
.btn:active { transform: translateY(6px); box-shadow: inset 0 2px 0 rgb(255 255 255 / .3), 0 0 0 var(--edge), 0 4px 10px -4px rgb(0 0 0 / .7); }
.btn:focus-visible { outline: 3px solid var(--hueso); outline-offset: 3px; }
.btn .i { transition: transform .2s var(--ease-out); }
.btn:hover .i:last-child { transform: translateX(3px); }
.btn--sm { min-height: 44px; padding: .6rem 1.1rem; font-size: .9375rem; }
.btn--lg { min-height: 58px; padding: 1rem 1.6rem; font-size: 1.0625rem; }
.btn--wide { width: 100%; }
.btn--ghost { --edge: #111114; background: linear-gradient(180deg, #3a3a41, var(--grafito) 60%); color: var(--hueso); }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 44px;
  font-weight: 700; color: var(--oro); text-decoration: none;
}
.link-arrow:hover { color: var(--oro-brillo); text-decoration: underline; }
.link-arrow .i { transition: transform .2s var(--ease-out); }
.link-arrow:hover .i { transform: translateX(4px); }

/* ---------- Barra de progreso ---------- */
.xp { display: block; height: 8px; background: var(--grafito); border-radius: 8px; overflow: hidden; }
.xp__fill {
  display: block; height: 100%; width: 100%; border-radius: inherit;
  background: linear-gradient(90deg, var(--oro), var(--oro-brillo));
  transform-origin: left center;
  transform: scaleX(var(--v, 1));
}

/* =========================================================
   MENÚ
   ========================================================= */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-nav);
  background: rgb(11 11 12 / .86);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgb(255 255 255 / .06);
}
.nav__bar { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.nav__logo img { width: 96px; }
.nav__toggle { width: 48px; height: 48px; display: grid; place-items: center; color: var(--hueso); }
.nav__toggle .i { width: 24px; height: 24px; }
.nav__menu {
  position: fixed; inset: var(--nav-h) 0 0 0; height: calc(100dvh - var(--nav-h));
  background: var(--negro);
  padding: 2rem var(--gutter);
  display: flex; flex-direction: column; gap: 2rem;
  transform: translateX(100%); visibility: hidden;
  transition: transform .35s var(--ease-out), visibility 0s linear .35s;
}
.nav.is-open .nav__menu { transform: none; visibility: visible; transition: transform .35s var(--ease-out); }
.nav__menu ul { display: flex; flex-direction: column; gap: .25rem; }
.nav__menu ul a { display: block; padding: .6rem 0; font-size: 2rem; font-weight: 900; font-stretch: 78%; text-decoration: none; }
.nav__menu ul a[aria-current="true"] { color: var(--oro); }
.nav__menu ul a:hover { color: var(--oro-brillo); }
.nav__cta { align-self: flex-start; }
.nav__progress { height: 2px; }
.nav__progress span {
  display: block; height: 100%; background: var(--oro);
  transform-origin: left; transform: scaleX(var(--p, 0));
}
@media (min-width: 1024px) {
  .nav__toggle { display: none; }
  .nav__logo img { width: 108px; }
  .nav__menu {
    position: static; height: auto; transform: none; visibility: visible; padding: 0; background: none;
    flex-direction: row; align-items: center; gap: 1.75rem; transition: none;
  }
  .nav__menu ul { flex-direction: row; gap: 1.6rem; }
  .nav__menu ul a { font-size: 1rem; font-weight: 600; font-stretch: 100%; padding: .5rem 0; position: relative; }
  .nav__menu ul a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--oro);
    transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease-out);
  }
  .nav__menu ul a:hover::after, .nav__menu ul a[aria-current="true"]::after { transform: scaleX(1); }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  min-height: 100dvh;
  padding-top: calc(var(--nav-h) + 1.5rem);
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative; isolation: isolate; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgb(11 11 12 / .2), rgb(11 11 12 / 0) 35%, rgb(11 11 12 / 0) 70%, rgb(11 11 12 / .85) 100%),
    linear-gradient(90deg, rgb(11 11 12 / .72), rgb(11 11 12 / 0) 55%);
}
.hero__grid { display: grid; gap: 1rem; align-items: center; flex: 1; }
.hero__copy { position: relative; z-index: 1; }
.hero__logo { width: min(78%, 380px); margin-bottom: 1.25rem; }
.hero__title { font-size: clamp(3.25rem, 12vw, 6rem); margin-bottom: 1rem; }
.hero__sub { font-size: 1.125rem; color: #d6d1c7; max-width: 40ch; margin-bottom: 1.75rem; }
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; }
.hero__ctas .btn { width: 100%; }
.hero__stage { width: min(72vw, 320px); margin-inline: auto; margin-top: 1.5rem; }
.lift { width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 30px 40px rgb(0 0 0 / .6)); }
.stage__disc { fill: var(--oro); transform-box: fill-box; transform-origin: center; }
.stage__ring { transform-box: fill-box; transform-origin: center; }
.stage__ring { fill: none; stroke: var(--negro); stroke-width: 2; opacity: .3; }
.stage__ring--in { stroke-dasharray: 4 6; }
.stage__floor { fill: var(--negro); opacity: .5; }
.lift .ath__near path, .lift .ath__near circle, .lift .ath__near rect { fill: var(--negro); }
.lift .ath__far path, .lift .ath__far circle { fill: rgb(11 11 12 / .5); }
.ath__plate-disc { fill: var(--negro); }
.ath__plate-ring { fill: none; stroke: var(--oro-brillo); stroke-width: 2; }
.ath__plate-hub { fill: var(--oro); }

.stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem;
  margin-top: 2rem; margin-bottom: 1.5rem;
}
.stats li {
  background: rgb(23 23 26 / .85); border: 1px solid rgb(255 255 255 / .06); border-radius: var(--r);
  padding: .9rem .75rem; display: flex; flex-direction: column; gap: .3rem;
}
.stats__n { font-size: 2rem; font-weight: 900; font-stretch: 78%; color: var(--oro); line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stats__n small { font-size: .5em; font-weight: 700; color: var(--gris-texto); text-transform: uppercase; letter-spacing: .06em; }
.stats__l { font-size: .8125rem; color: var(--hueso); line-height: 1.3; }

/* Estado inicial de la intro (solo si JS + movimiento permitido) */
.intro [data-intro] { opacity: 0; }

@media (min-width: 768px) {
  .hero__ctas .btn { width: auto; }
  .stats li { padding: 1.1rem 1.25rem; flex-direction: row; align-items: center; gap: 1rem; }
  .stats__n { font-size: 2.75rem; }
  .stats__l { font-size: .9375rem; }
}
@media (min-width: 1024px) {
  :root { --gutter: 32px; }
  .hero__grid { grid-template-columns: 6fr 5fr; gap: 2rem; }
  .hero__stage { order: 0; width: 100%; max-width: 480px; justify-self: end; margin: 0; }
  .hero__logo { width: min(100%, 400px); }
  .hero__title { font-size: clamp(4rem, 6.4vw, 6rem); }
}

/* =========================================================
   SECCIONES
   ========================================================= */
.section { padding-block: var(--sec); background: rgb(11 11 12 / .84); }
.section--alt { background: rgb(23 23 26 / .88); }
.section--clear { background: transparent; }

/* ---------- Historia ---------- */
.historia__grid { display: grid; gap: 2.5rem; }
.historia__years { display: none; }
.photo-slot {
  margin-top: 3.5rem; aspect-ratio: 21 / 9; max-width: calc(var(--max) - 2 * var(--gutter));
  background: var(--carbon); border: 1px dashed var(--grafito); border-radius: var(--r);
  display: grid; place-items: center; padding: 1rem;
}
.photo-slot .label, .coach__portrait .label { color: var(--gris-texto); text-align: center; }
.big-quote { margin-top: 4rem; }
.big-quote::before { content: ""; display: block; width: 56px; height: 4px; border-radius: 4px; background: var(--oro); margin-bottom: 1.5rem; }
.big-quote p {
  font-size: clamp(1.75rem, 4.5vw + .5rem, 3.25rem);
  font-weight: 800; font-stretch: 85%; line-height: 1.12; max-width: 24ch; text-wrap: balance;
}
.big-quote--sm p { font-size: clamp(1.5rem, 3vw + .5rem, 2.5rem); max-width: 30ch; }

@media (min-width: 1024px) {
  .historia__grid { grid-template-columns: 4fr 8fr; gap: 4rem; }
  .historia__years {
    display: flex; flex-direction: column; align-items: flex-start; gap: 1rem;
    position: sticky; top: calc(var(--nav-h) + 3rem); align-self: start;
    color: var(--oro); font-size: clamp(4rem, 7vw, 6rem);
  }
  .historia__line { width: 3px; height: 9rem; background: var(--grafito); margin-left: .4em; border-radius: 3px; overflow: hidden; }
  .historia__line span { display: block; width: 100%; height: 100%; background: var(--oro); transform-origin: top; }
  .historia__years > span:last-child { color: var(--hueso); }
}

/* ---------- Coach ---------- */
.coach__select { display: grid; gap: 1.5rem; margin-bottom: 3.5rem; }
.coach__portrait {
  aspect-ratio: 4 / 5; max-width: 420px; width: 100%;
  background: var(--grafito); border-radius: var(--r); display: grid; place-items: center; padding: 1rem;
  border: 1px solid rgb(212 165 55 / .4);
}
.coach__name { font-size: clamp(2rem, 5vw + .5rem, 3.25rem); margin-bottom: 1.5rem; }
.stats-list { display: grid; gap: 1rem; }
.stats-list div { display: grid; gap: .15rem; padding-bottom: 1rem; border-bottom: 1px solid var(--grafito); }
.stats-list div:last-child { border-bottom: 0; }
.stats-list dt { color: var(--oro); }
.stats-list dd { font-size: 1.1875rem; font-weight: 600; }
.coach__philo { margin-bottom: 4rem; }
.quote p {
  font-size: clamp(1.5rem, 3vw + .75rem, 2.25rem); font-weight: 700; font-stretch: 90%;
  line-height: 1.2; max-width: 30ch; margin-bottom: 2rem; text-wrap: balance;
}

.badges { display: grid; gap: .75rem; margin-top: 1.25rem; }
.badge {
  display: grid; grid-template-columns: auto 1fr; gap: .25rem 1rem; align-items: start;
  background: var(--negro); padding: 1.1rem 1.1rem 1.1rem 1rem; border-radius: var(--r);
  border: 1px solid rgb(255 255 255 / .05);
  transition: border-color .25s var(--ease-out);
}
.badge:hover { border-color: rgb(212 165 55 / .5); }
.badge__icon { width: 30px; height: 30px; color: var(--oro); grid-row: span 2; }
.badge__t { font-weight: 700; line-height: 1.3; }
.badge__d { color: var(--gris-texto); font-size: 1rem; line-height: 1.45; margin-top: .25rem; }
.badge__o { color: var(--gris-texto); font-size: .9375rem; margin-top: .35rem; }
.badge__y { grid-column: 2; color: var(--oro); margin-top: .25rem; }
.badges:not(.is-open) [data-extra] { display: none; }
.badges__more { margin-top: 1.25rem; }
.badges__more[aria-expanded="true"] .i { transform: rotate(180deg); }

@media (min-width: 768px) {
  .coach__select { grid-template-columns: minmax(260px, 5fr) 7fr; gap: 3rem; align-items: end; }
  .badges { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .badges { grid-template-columns: repeat(3, 1fr); }
  .coach__philo { display: grid; grid-template-columns: 5fr 7fr; gap: 3rem; }
}

/* ---------- Cómo entrenamos ---------- */
.stages-wrap { position: relative; }
.stages__track { display: none; }
.stages { display: grid; gap: .75rem; }
.stage {
  background: var(--carbon); padding: 1.5rem; border-radius: var(--r); position: relative;
  border: 1px solid rgb(255 255 255 / .05);
}
.stage__dot { display: block; width: 14px; height: 14px; border-radius: 50%; background: var(--oro); box-shadow: 0 0 0 5px rgb(212 165 55 / .18); margin-bottom: 1rem; position: relative; z-index: 2; }
.stage__t { font-size: 1.5rem; font-weight: 800; font-stretch: 85%; line-height: 1.1; margin-bottom: .5rem; }
.stage p { color: var(--gris-texto); }
.stage--guide { margin-top: .75rem; background: var(--grafito); }
.stage--guide .label { color: var(--oro); display: block; margin-bottom: .5rem; }
.partida__facts { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; margin-top: 3rem; }
.fact { display: flex; flex-direction: column; }
.fact__n { font-size: clamp(3rem, 7vw, 4.5rem); font-weight: 900; font-stretch: 78%; color: var(--oro); line-height: 1; font-variant-numeric: tabular-nums; }
.fact__l { color: var(--gris-texto); margin-top: .35rem; }
.closing { margin-top: 2.5rem; font-size: clamp(1.375rem, 2vw + .75rem, 1.875rem); font-weight: 700; font-stretch: 90%; line-height: 1.25; max-width: 34ch; }

@media (min-width: 768px) {
  .stages { grid-template-columns: 1fr 2fr 1fr; }
  .stages__track {
    display: block; position: absolute; left: 1.5rem; right: 3rem; top: calc(1.5rem + 6px); height: 2px;
    background: var(--grafito); z-index: 1; pointer-events: none;
  }
  .stages__track span { display: block; height: 100%; background: var(--oro); transform-origin: left; }
  .stage--guide { display: grid; grid-template-columns: auto auto 1fr; gap: 1.5rem; align-items: center; }
  .stage--guide .label, .stage--guide .stage__t { margin: 0; }
}

/* ---------- Progreso ---------- */
.progreso__grid { display: grid; gap: 3rem; align-items: center; }
.checklist { display: grid; gap: 1.75rem; }
.checklist li { display: grid; grid-template-columns: auto 1fr; gap: 1rem; }
.checklist .i { width: 32px; height: 32px; color: var(--oro); margin-top: .15rem; }
.checklist h3 { font-size: 1.25rem; font-weight: 800; font-stretch: 90%; margin-bottom: .2rem; }
.checklist p { color: var(--gris-texto); max-width: 46ch; }
.stat-panel {
  max-width: 520px; width: 100%; justify-self: center;
  background: var(--negro); border: 1px solid rgb(212 165 55 / .35); border-radius: calc(var(--r) * 2);
  padding: 1.75rem 1.5rem; box-shadow: 0 30px 60px -30px rgb(0 0 0 / .8);
}
.stat-panel__tag { display: inline-block; background: var(--grafito); padding: .3rem .6rem; border-radius: 4px; margin-bottom: 1.25rem; }
.stat-panel__who { font-size: 1.375rem; font-weight: 800; font-stretch: 85%; margin-bottom: 1.5rem; }
.stat-bars { display: grid; gap: 1.25rem; }
.stat-bars li { display: grid; gap: .5rem; }
.stat-bars .xp { height: 12px; }
.stat-panel__note { margin-top: 1.5rem; color: var(--gris-texto); font-size: .9375rem; }
@media (min-width: 1024px) { .progreso__grid { grid-template-columns: 7fr 5fr; gap: 5rem; } }

/* ---------- Programa Híbrido (bento) ---------- */
.bento { display: grid; gap: .75rem; }
.bento__cell { background: var(--carbon); padding: 1.75rem 1.5rem; border-radius: var(--r); border: 1px solid rgb(255 255 255 / .05); }
.bento__cell p + p { margin-top: .9rem; }
.bento__what { background: var(--grafito); }
.bento__what p:first-of-type { font-size: 1.25rem; line-height: 1.5; }
.bento__inc { color: var(--oro); font-weight: 600; }
.bento__freq { background: var(--oro); color: var(--negro); border: 0; }
.bento__big { font-weight: 700; font-size: 1.125rem; }
.bento__num { display: block; font-size: 3rem; font-weight: 900; font-stretch: 78%; line-height: 1; margin-bottom: .15rem; }
.bento__diff .i { color: var(--oro); margin-bottom: 1rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.25rem; }
.chips li { background: var(--grafito); padding: .4rem .8rem; font-size: 1rem; font-weight: 600; border-radius: 999px; }
@media (min-width: 768px) {
  .bento { grid-template-columns: repeat(6, 1fr); }
  .bento__what { grid-column: span 4; }
  .bento__freq { grid-column: span 2; }
  .bento__who { grid-column: span 2; }
  .bento__skills { grid-column: span 4; }
  .bento__diff { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr 1fr; gap: 0 2rem; align-items: start; }
  .bento__diff .h3 { grid-column: 2 / -1; }
  .bento__diff .i { grid-row: span 2; }
  .bento__diff p + p { margin-top: 0; }
}

/* ---------- Salón de la fama ---------- */
.fama.is-empty { display: none; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; }
.gallery__item { display: block; width: 100%; padding: 0; border-radius: var(--r); overflow: hidden; }
.gallery__item img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .4s var(--ease-out); }
.gallery__item:hover img { transform: scale(1.05); }
@media (min-width: 768px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.lightbox { padding: 0; border: 2px solid var(--oro); border-radius: var(--r); background: var(--negro); max-width: min(92vw, 1100px); }
.lightbox::backdrop { background: rgb(11 11 12 / .9); }
.lightbox img { max-height: 85vh; width: auto; }
.lightbox__close { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; display: grid; place-items: center; background: var(--oro); color: var(--negro); border-radius: 50%; }

/* ---------- Planes ---------- */
.first-time {
  display: flex; align-items: center; gap: .75rem;
  background: var(--negro); padding: 1rem 1.25rem; margin-bottom: 2rem; border-radius: var(--r);
  border: 1px solid rgb(212 165 55 / .35);
  text-decoration: none; font-size: 1.0625rem;
  transition: border-color .2s var(--ease-out);
}
.first-time .i { color: var(--oro); }
.first-time .i:last-child { margin-left: auto; transition: transform .2s var(--ease-out); }
.first-time:hover { border-color: var(--oro); }
.first-time:hover .i:last-child { transform: translateX(4px); }
.plans { display: grid; gap: .75rem; }
.plan {
  background: var(--negro); padding: 1.75rem 1.5rem; display: flex; flex-direction: column;
  border-radius: calc(var(--r) * 1.5); border: 1px solid rgb(255 255 255 / .06);
  transition: border-color .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.plan:hover { border-color: rgb(212 165 55 / .55); box-shadow: 0 24px 40px -24px rgb(212 165 55 / .35); }
.plan__lvl { color: var(--oro); margin-bottom: .75rem; }
.plan__name { font-size: 2.5rem; margin-bottom: .75rem; }
.plan__freq { font-weight: 700; }
.plan__inc { color: var(--gris-texto); margin-bottom: 1.25rem; }
.plan .xp { margin-bottom: 1.5rem; }
.plan__price { margin-bottom: 1.5rem; margin-top: auto; }
.plan__num { font-size: 2rem; font-weight: 900; font-stretch: 80%; color: var(--hueso); font-variant-numeric: tabular-nums; }
.plan__per { color: var(--gris-texto); font-size: 1rem; }
.single {
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; align-items: center; justify-content: space-between;
  margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--grafito);
}
.single__tag { color: var(--oro); margin-right: .5rem; }
@media (min-width: 768px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .plans { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Clase de cortesía (deja ver el gym) ---------- */
.panel {
  background: rgb(11 11 12 / .94); border: 1px solid rgb(212 165 55 / .5); border-radius: calc(var(--r) * 2);
  box-shadow: 0 40px 80px -40px rgb(0 0 0 / .9);
}
.cortesia { padding-block: clamp(6rem, 14vw, 10rem); }
.cortesia__grid { display: grid; gap: 2.5rem; padding: 2rem 1.25rem; }
.cortesia__facts { display: grid; gap: 1rem; margin-bottom: 1.5rem; }
.cortesia__facts dt { color: var(--oro); }
.cortesia__facts dd { font-size: 1.1875rem; font-weight: 600; }
.warn { background: rgb(212 165 55 / .1); padding: .9rem 1rem; border-radius: var(--r); color: var(--hueso); max-width: 48ch; }
.inventory { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; }
.inventory li {
  background: var(--carbon); padding: 1.1rem .75rem; border-radius: var(--r);
  display: flex; flex-direction: column; align-items: center; gap: .6rem;
  text-align: center; font-weight: 600; font-size: 1rem; line-height: 1.3;
}
.inventory .i { color: var(--oro); }
@media (min-width: 768px) {
  .cortesia__grid { grid-template-columns: 1fr 1fr; padding: 3rem; gap: 3rem; }
  .cortesia__grid .btn--wide { grid-column: 1 / -1; }
}

/* ---------- Ubicación ---------- */
.ubicacion__grid { display: grid; gap: 3rem; }
.ubicacion__info .h3 { margin-top: 2.5rem; }
.addr { display: flex; gap: .75rem; font-size: 1.25rem; font-weight: 700; margin-bottom: 1.5rem; }
.addr .i, .park .i { color: var(--oro); width: 28px; height: 28px; margin-top: .1rem; }
.hours { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 1rem; }
.hours__t { color: var(--oro); margin-bottom: .5rem; }
.hours__list { display: grid; grid-template-columns: repeat(2, auto); justify-content: start; gap: .35rem; }
.hours__list li { font-weight: 700; font-variant-numeric: tabular-nums; background: var(--grafito); padding: .3rem .6rem; border-radius: 4px; }
.hours__suf { color: var(--gris-texto); font-size: .9375rem; margin-top: .35rem; }
@media (min-width: 480px) { .hours__list { grid-template-columns: repeat(4, auto); } .hours { grid-template-columns: 1fr; } }
@media (min-width: 1024px) { .hours { grid-template-columns: 1fr 1fr; } .hours__list { grid-template-columns: repeat(2, auto); } }
@media (min-width: 1280px) { .hours__list { grid-template-columns: repeat(4, auto); } }
.park { display: flex; gap: .75rem; max-width: 46ch; }
.park + .park { margin-top: .75rem; }
.ubicacion__info > .link-arrow { margin-top: 2rem; }
.map { aspect-ratio: 1; width: 100%; border-radius: calc(var(--r) * 2); overflow: hidden; border: 1px solid rgb(212 165 55 / .4); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) contrast(.9); }
@media (min-width: 1024px) {
  .ubicacion__grid { grid-template-columns: 5fr 7fr; gap: 4rem; align-items: start; }
  .map { aspect-ratio: auto; height: 100%; min-height: 560px; position: sticky; top: calc(var(--nav-h) + 2rem); }
}

/* ---------- Testimonios ---------- */
.testis { display: grid; gap: 1rem; }
.testi blockquote p { font-size: 1.25rem; max-width: 50ch; }
.testi__who { color: var(--gris-texto); margin-top: .75rem; }

/* ---------- Cierre (deja ver el gym) ---------- */
.closing-sec { padding-block: clamp(7rem, 18vw, 12rem); text-align: center; position: relative; isolation: isolate; }
.closing-sec::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse at center, rgb(11 11 12 / .55), rgb(11 11 12 / .7) 75%);
}
.closing-sec__in { display: flex; flex-direction: column; align-items: center; }
.closing-sec__t { font-size: clamp(2.75rem, 8vw, 5.5rem); max-width: 14ch; margin-bottom: 1rem; }
.closing-sec__sub { color: #d6d1c7; font-size: 1.25rem; margin-bottom: 2.25rem; }

/* ---------- Footer ---------- */
.footer { background: var(--carbon); padding-block: 4rem 10rem; border-top: 1px solid var(--grafito); }
.footer__grid { display: grid; gap: 2rem; }
.footer__logo { width: 160px; }
.footer__t { color: var(--oro); margin-bottom: .5rem; }
.footer p { color: var(--gris-texto); font-size: 1rem; }
.footer a { color: var(--hueso); }
.footer a:hover { color: var(--oro-brillo); }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--grafito); }
@media (min-width: 768px) { .footer__grid { grid-template-columns: 1.3fr 1fr 1fr 1.2fr; } }

/* =========================================================
   GUÍA: atleta que acompaña el scroll
   ========================================================= */
.guide {
  position: fixed; left: 8px; bottom: 8px; z-index: var(--z-float);
  display: flex; align-items: flex-end; gap: .25rem;
  pointer-events: none; visibility: hidden;
}
.guide.is-on { pointer-events: auto; visibility: visible; }
.guide__figure { width: 74px; height: 126px; padding: 0; flex: none; }
.guide__figure svg { width: 100%; height: 100%; overflow: visible; }
.guide .ath__near path, .guide .ath__near circle, .guide .ath__near rect { fill: var(--hueso); }
.guide .ath__far path, .guide .ath__far circle { fill: #8d887f; }
.guide__shadow { fill: rgb(0 0 0 / .5); }
.guide__bubble {
  position: relative; margin-bottom: 4.75rem;
  max-width: min(300px, calc(100vw - 74px - 96px));
  background: var(--hueso); color: var(--negro);
  border-radius: 14px; padding: .8rem .9rem .7rem;
  box-shadow: 0 18px 40px -18px rgb(0 0 0 / .8);
  transform-origin: 0% 100%;
}
.guide__bubble::before {
  content: ""; position: absolute; left: -6px; bottom: 16px; width: 14px; height: 14px;
  background: var(--hueso); transform: rotate(45deg); border-radius: 2px;
}
.guide.is-min .guide__bubble { display: none; }
.guide__text { font-size: .9375rem; line-height: 1.4; font-weight: 600; min-height: 2.8em; }
.guide__actions { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: .5rem; }
.guide__ask {
  min-height: 36px; padding: .35rem .9rem; border-radius: 999px;
  background: var(--negro); color: var(--oro-brillo); font-size: .875rem; font-weight: 700;
}
.guide__ask:hover { background: var(--grafito); }
.guide__hide { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; color: var(--negro); }
.guide__hide:hover { background: rgb(0 0 0 / .08); }
.guide__hide .i { width: 16px; height: 16px; }
.guide__ask:focus-visible, .guide__hide:focus-visible { outline: 3px solid var(--negro); outline-offset: 2px; }
@media (min-width: 768px) {
  .guide { left: 16px; bottom: 12px; }
  .guide__figure { width: 96px; height: 164px; }
  .guide__bubble { margin-bottom: 6.5rem; max-width: 320px; }
  .guide__text { font-size: 1rem; }
}

/* ---------- WhatsApp flotante ---------- */
.float {
  position: fixed; right: 16px; bottom: 16px; z-index: var(--z-float);
  transition: transform .35s var(--ease-out), opacity .35s var(--ease-out);
}
@media (max-width: 767px) { .float.is-tucked { transform: translateY(140%); opacity: 0; pointer-events: none; } }
.wa-float {
  position: relative;
  width: 62px; height: 62px; display: grid; place-items: center; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff3c4 0 8%, var(--oro-brillo) 22%, var(--oro) 60%, #a8801f 100%);
  color: var(--negro);
  box-shadow: 0 6px 0 #6b5219, 0 0 0 5px #1a1a1e, 0 0 0 6px #333, 0 14px 24px -6px rgb(0 0 0 / .8);
  transition: transform .12s var(--ease-out), box-shadow .12s var(--ease-out);
}
.wa-float:active { transform: translateY(5px); box-shadow: 0 1px 0 #6b5219, 0 0 0 5px #1a1a1e, 0 0 0 6px #333; }
.wa-float .i { width: 30px; height: 30px; }
.wa-float:hover { background: var(--oro-brillo); transform: translateY(-2px) scale(1.04); }
.wa-float:focus-visible { outline: 3px solid var(--hueso); outline-offset: 3px; }
@media (prefers-reduced-motion: no-preference) {
  .wa-float::after {
    content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--oro);
    animation: pulse 2.4s var(--ease-out) infinite; pointer-events: none;
  }
  @keyframes pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }
}

/* =========================================================
   CHAT DE PREGUNTAS
   ========================================================= */
.bot { position: fixed; z-index: var(--z-bot); inset: 0; display: flex; }
.bot__in {
  background: var(--negro); flex: 1; display: flex; flex-direction: column; min-height: 0;
  border: 1px solid rgb(212 165 55 / .5);
}
.bot__head { display: flex; align-items: center; gap: .75rem; padding: .75rem 1rem; border-bottom: 1px solid var(--grafito); }
.bot__title { font-weight: 800; color: var(--oro); margin-right: auto; }
.bot__close { width: 44px; height: 44px; display: grid; place-items: center; color: var(--hueso); border-radius: 50%; }
.bot__close:hover { background: var(--grafito); }
.bot__body { flex: 1; overflow-y: auto; padding: 1.25rem 1rem; }
.bot__msg { font-size: 1.125rem; line-height: 1.55; min-height: 3.2em; margin-bottom: 1.25rem; cursor: pointer; }
.bot__msg.is-typing::after {
  content: ""; display: inline-block; width: 2px; height: 1em; margin-left: .15em; vertical-align: -.12em;
  background: var(--oro); animation: blink .8s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.bot__opts { display: flex; flex-direction: column; gap: .5rem; }
.bot__opt {
  text-align: left; padding: .7rem .9rem; min-height: 44px; border-radius: var(--r);
  background: var(--carbon); color: var(--hueso); font-weight: 600; font-size: 1rem;
  transition: background-color .15s var(--ease-out);
}
.bot__opt:hover, .bot__opt:focus-visible { background: var(--grafito); }
.bot__opt--back { background: transparent; color: var(--gris-texto); }
.bot__opt--wa { text-decoration: none; background: var(--oro); color: var(--negro); font-weight: 800; }
.bot__opt--wa:hover, .bot__opt--wa:focus-visible { background: var(--oro-brillo); }
.bot__search { display: flex; gap: .5rem; padding: .75rem 1rem 1rem; border-top: 1px solid var(--grafito); }
.bot__search input {
  flex: 1; min-width: 0; min-height: 44px; padding: .5rem .75rem; border-radius: var(--r);
  background: var(--carbon); border: 1px solid var(--grafito); color: var(--hueso); font-size: 1rem;
}
.bot__search input::placeholder { color: var(--gris-texto); }
.bot__search input:focus-visible { outline: 2px solid var(--oro-brillo); outline-offset: 0; border-color: var(--oro); }
@media (min-width: 480px) {
  .bot { inset: auto auto 190px 16px; width: 380px; height: min(540px, calc(100dvh - 220px)); }
  .bot__in { border-radius: calc(var(--r) * 2); overflow: hidden; box-shadow: 0 30px 60px -20px rgb(0 0 0 / .9); }
}

/* =========================================================
   Movimiento reducido
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* =========================================================
   PANEL ARCADE (palanca + botones)
   ========================================================= */
.deck {
  position: relative;
  display: grid; grid-template-columns: auto 1fr; grid-template-areas: "score score" "who who" "joy btns";
  align-items: center; gap: .75rem 1.25rem;
  margin-top: -1.25rem; padding: 1rem 1.25rem 1.1rem;
  border-radius: 18px 18px 26px 26px;
  background:
    linear-gradient(180deg, rgb(255 255 255 / .06), transparent 30%),
    linear-gradient(180deg, #232328, #141417);
  border: 1px solid #34343b;
  box-shadow: inset 0 -6px 0 #0c0c0e, 0 0 0 3px #0b0b0c, 0 0 0 4px rgb(212 165 55 / .55), 0 30px 50px -20px rgb(0 0 0 / .9);
}
.deck::before, .deck::after {
  content: ""; position: absolute; top: 10px; width: 7px; height: 7px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #8b8b94, #3a3a41);
}
.deck::before { left: 10px; }
.deck::after { right: 10px; }
.deck__score {
  grid-area: score; justify-self: center;
  display: flex; align-items: baseline; gap: .6rem;
  padding: .3rem .9rem; border-radius: 6px; background: #050506; border: 1px solid #2a2a2f;
  box-shadow: inset 0 0 12px rgb(212 165 55 / .15);
}
.deck__score-l { font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gris-texto); }
.deck__score-n { font-size: 1.375rem; font-weight: 900; font-stretch: 78%; color: var(--oro-brillo); font-variant-numeric: tabular-nums; letter-spacing: .08em; text-shadow: 0 0 10px rgb(242 201 76 / .45); }

/* Palanca */
.joy { grid-area: joy; position: relative; width: 92px; height: 92px; touch-action: none; }
.joy__base {
  position: absolute; left: 50%; top: 50%; width: 74px; height: 74px; margin: -37px 0 0 -37px; border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, #2c2c32, #0d0d0f 70%);
  box-shadow: inset 0 3px 6px rgb(0 0 0 / .8), 0 0 0 4px #1b1b1f, 0 0 0 5px #3a3a41;
}
.joy__base::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%;
  background: #050506; box-shadow: inset 0 2px 4px rgb(0 0 0 / .9);
}
.joy__shaft {
  position: absolute; left: 50%; top: 50%; width: 10px; height: 0; margin-left: -5px;
  background: linear-gradient(90deg, #6c6c76, #c9c9d1 45%, #55555e);
  border-radius: 5px; transform-origin: 50% 0;
}
.joy__ball {
  position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #ffffff 0 7%, #ff8a7a 14%, #e0402c 45%, #8c1d12 100%);
  box-shadow: 0 8px 10px -2px rgb(0 0 0 / .7), inset 0 -4px 8px rgb(0 0 0 / .35);
  cursor: grab; touch-action: none;
}
.joy__ball:active { cursor: grabbing; }
.joy__ball:focus-visible { outline: 3px solid var(--oro-brillo); outline-offset: 4px; }

/* Botones redondos de arcade */
.deck__btns { grid-area: btns; display: flex; justify-content: flex-end; gap: 1.1rem; }
.arcade {
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  text-decoration: none; color: var(--hueso); padding: 0;
  -webkit-tap-highlight-color: transparent;
}
.arcade__cap {
  --c1: var(--oro-brillo); --c2: var(--oro); --c3: #8a6a22; --edge: #5c4515;
  position: relative; display: grid; place-items: center;
  width: 62px; height: 62px; border-radius: 50%;
  font-size: 1.25rem; font-weight: 900; color: rgb(0 0 0 / .45);
  background: radial-gradient(circle at 36% 30%, #fff 0 6%, var(--c1) 18%, var(--c2) 55%, var(--c3) 100%);
  box-shadow: 0 7px 0 var(--edge), 0 0 0 6px #121215, 0 0 0 7px #3a3a41, 0 14px 20px -6px rgb(0 0 0 / .8);
  transition: transform .09s var(--ease-out), box-shadow .09s var(--ease-out);
}
.arcade--b .arcade__cap { --c1: #ffffff; --c2: var(--hueso); --c3: #a8a39a; --edge: #6d6a63; }
.arcade:hover .arcade__cap { filter: brightness(1.08); }
.arcade:active .arcade__cap, .arcade.is-pressed .arcade__cap {
  transform: translateY(6px);
  box-shadow: 0 1px 0 var(--edge), 0 0 0 6px #121215, 0 0 0 7px #3a3a41, 0 4px 8px -4px rgb(0 0 0 / .8);
}
.arcade__label { white-space: nowrap; font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.arcade:focus-visible { outline: none; }
.arcade:focus-visible .arcade__cap { outline: 3px solid var(--oro-brillo); outline-offset: 9px; }

@media (max-width: 1023px) {
  .hero__stage { width: min(88vw, 360px); }
  .lift { width: 82%; margin-inline: auto; }
}
@media (max-width: 380px) {
  .arcade__label { font-size: .6875rem; letter-spacing: .06em; }
  .deck { gap: .6rem .75rem; padding: .9rem .9rem 1rem; }
  .joy { width: 80px; height: 80px; }
  .arcade__cap { width: 54px; height: 54px; }
  .deck__btns { gap: .8rem; }
}

/* =========================================================
   CAPA PIXEL (NES.css + Press Start 2P + Pixelify Sans)
   Va al final: sobrescribe la tipografía y los componentes de arriba.
   ========================================================= */
html, body { font-family: var(--f-text); }
body { font-size: 1.25rem; line-height: 1.5; }
.lead { font-size: 1.35rem; }

.display, .h3, .label, .btn, .stats__n, .fact__n, .bento__num, .plan__num,
.deck__score-n, .deck__score-l, .arcade__label, .nav__score, .hero__coin,
.stage__t, .checklist h3, .stat-panel__who, .hours__list li, .historia__years {
  font-family: var(--f-pixel); font-weight: 400; font-stretch: normal; letter-spacing: 0;
}
.display { line-height: 1.3; }
.h2 { font-size: clamp(1.35rem, 3.4vw + .5rem, 2.4rem); line-height: 1.35; margin-bottom: 1.75rem; }
.h2::after {
  content: ""; display: block; width: 54px; height: 6px; margin-top: 1rem;
  background: repeating-linear-gradient(90deg, var(--oro) 0 6px, transparent 6px 9px);
}
.hero__title { font-size: clamp(1.9rem, 7.5vw, 3.4rem); line-height: 1.25; }
@media (min-width: 1024px) { .hero__title { font-size: clamp(2.4rem, 3.8vw, 3.4rem); } }
.h3 { font-size: .9rem; line-height: 1.6; }
.h3--xl { font-size: clamp(1rem, 1.6vw + .5rem, 1.4rem); line-height: 1.5; }
.label { font-size: .625rem; line-height: 1.7; text-transform: uppercase; }
.stage__t, .checklist h3, .stat-panel__who { font-size: .85rem; line-height: 1.6; }
.stats__n { font-size: 1.35rem; }
.stats__n small { font-family: var(--f-pixel); font-size: .45em; letter-spacing: 0; }
@media (min-width: 768px) { .stats__n { font-size: 1.9rem; } }
.fact__n { font-size: clamp(1.75rem, 4.5vw, 2.75rem); }
.bento__num { font-size: 1.75rem; margin-bottom: .6rem; }
.plan__name { font-size: 1.35rem; }
.plan__num { font-size: 1.05rem; }
.coach__name { font-size: clamp(1.2rem, 2.6vw + .5rem, 1.9rem); line-height: 1.45; }
.closing-sec__t { font-size: clamp(1.5rem, 4.6vw, 2.9rem); line-height: 1.35; max-width: 18ch; }
.historia__years { font-size: clamp(2.2rem, 4vw, 3.2rem); }
.big-quote p, .quote p, .closing { font-family: var(--f-text); font-weight: 700; font-stretch: normal; line-height: 1.25; }
.hours__list li { font-size: .7rem; padding: .45rem .55rem; }
.nav__menu ul a { font-family: var(--f-pixel); font-weight: 400; font-stretch: normal; font-size: 1rem; line-height: 1.6; }
@media (min-width: 1024px) { .nav__menu ul a { font-size: .625rem; } .nav__menu ul { gap: 1.25rem; } }

/* Marcador en el menú */
.nav__score { display: flex; gap: .5rem; align-items: baseline; margin-left: auto; margin-right: .25rem; font-size: .55rem; color: var(--oro-brillo); white-space: nowrap; }
.nav__score span:first-child { color: var(--gris-texto); }
@media (min-width: 1024px) { .nav__score { margin-left: 1.25rem; font-size: .625rem; } }

/* INSERT COIN */
.hero__coin { font-size: .75rem; color: var(--oro-brillo); margin-bottom: 1.1rem; }
@media (prefers-reduced-motion: no-preference) { .hero__coin { animation: blink 1.1s steps(1) infinite; } }

/* ---------- Botones NES en dorado ---------- */
.btn {
  font-size: .75rem; line-height: 1.5; text-transform: none;
  padding: .85rem 1.1rem; min-height: 0; border-radius: 0; gap: .75rem;
  background: var(--oro); box-shadow: none; transform: none; filter: none;
}
.btn:hover, .btn:active { transform: none; box-shadow: none; filter: none; }
.btn .i { width: 1.1rem; height: 1.1rem; }
.btn--lg { font-size: .8125rem; padding: 1rem 1.3rem; }
.btn--sm { font-size: .625rem; padding: .55rem .8rem; }
.nes-btn.is-warning { color: var(--negro); background-color: var(--oro); }
.nes-btn.is-warning::after { box-shadow: inset -4px -4px #8a6a22; }
.nes-btn.is-warning:hover { color: var(--negro); background-color: var(--oro-brillo); }
.nes-btn.is-warning:hover::after { box-shadow: inset -6px -6px #8a6a22; }
.nes-btn.is-warning:focus { box-shadow: 0 0 0 6px rgb(212 165 55 / .35); }
.nes-btn.is-warning:active:not(.is-disabled)::after { box-shadow: inset 4px 4px #8a6a22; }
.nes-btn.btn--ghost { background: var(--hueso); color: var(--negro); }
.link-arrow { font-family: var(--f-pixel); font-size: .7rem; }

/* ---------- Contenedores NES ---------- */
.nes-container.is-dark {
  background-color: var(--carbon); border-color: #3a3a41; color: var(--hueso);
  border-radius: 0; margin: 4px; padding: 1.4rem 1.2rem;
}
.nes-container.is-dark::after { background-color: var(--carbon); }
.nes-container.is-dark.with-title > .title { background-color: var(--carbon); color: var(--oro); font-family: var(--f-pixel); font-size: .625rem; }
.section--alt .nes-container.is-dark, .section--alt .nes-container.is-dark::after,
.section--alt .nes-container.is-dark.with-title > .title { background-color: var(--negro); }
.bento__what.nes-container.is-dark, .bento__what.nes-container.is-dark::after,
.stage--guide.nes-container.is-dark, .stage--guide.nes-container.is-dark::after { background-color: var(--grafito); }
.bento__freq.nes-container.is-dark, .bento__freq.nes-container.is-dark::after { background-color: var(--oro); color: var(--negro); }
.bento__freq.nes-container.is-dark { border-color: #8a6a22; }
.plan.nes-container.is-dark:hover, .badge.nes-container.is-dark:hover { border-color: var(--oro); box-shadow: none; }
.panel.nes-container.is-dark { border-color: var(--oro); }
.panel.nes-container.is-dark, .panel.nes-container.is-dark::after { background-color: var(--negro); }
.stat-panel.nes-container { box-shadow: none; padding-top: 2rem; }
.chips li { border-radius: 0; box-shadow: inset -3px -3px 0 rgb(0 0 0 / .35); }
.inventory li, .hours__list li, .first-time, .stats li, .warn, .coach__portrait, .photo-slot, .map { border-radius: 0; }

/* ---------- Barras de progreso NES ---------- */
.nes-progress { width: 100%; height: 26px; margin: 0 0 1.25rem; }
.stat-bars .nes-progress { margin: 0; }
.nes-progress.is-warning::-webkit-progress-bar { background-color: var(--grafito); }
.nes-progress.is-warning::-webkit-progress-value { background-color: var(--oro); }
.nes-progress.is-warning::-moz-progress-bar { background-color: var(--oro); }

/* ---------- Atleta pixel + globo ---------- */
.lift-wrap { position: relative; }
.lift { width: 100%; height: auto; aspect-ratio: 132 / 124; image-rendering: pixelated; filter: none; }
.lift__balloon {
  position: absolute; top: 2%; right: -2%; margin: 0;
  font-family: var(--f-pixel); font-size: .625rem; color: var(--negro);
  padding: .6rem .8rem; opacity: 0; transform-origin: 0% 100%; pointer-events: none;
}
.deck__score-n { font-size: 1rem; }
.deck__score-l { font-size: .55rem; }
.arcade__label { font-size: .5rem; letter-spacing: 0; }

/* ---------- Monedas al presionar botones ---------- */
.coin {
  position: fixed; z-index: 90; width: 14px; height: 14px; pointer-events: none;
  border: 2px solid var(--negro);
  background: linear-gradient(90deg, var(--oro-brillo) 0 40%, var(--oro) 40% 70%, #8a6a22 70%);
}
.coin-pts {
  position: fixed; z-index: 90; pointer-events: none;
  font-family: var(--f-pixel); font-size: .7rem; color: var(--oro-brillo);
  text-shadow: 2px 2px 0 var(--negro);
}

/* ---------- Panel arcade en pixel art ---------- */
:root {
  --px-circle: polygon(30% 0, 70% 0, 70% 8%, 84% 8%, 84% 16%, 92% 16%, 92% 30%, 100% 30%, 100% 70%, 92% 70%, 92% 84%, 84% 84%, 84% 92%, 70% 92%, 70% 100%, 30% 100%, 30% 92%, 16% 92%, 16% 84%, 8% 84%, 8% 70%, 0 70%, 0 30%, 8% 30%, 8% 16%, 16% 16%, 16% 8%, 30% 8%);
}
.nes-container.is-dark { border-color: #4a4a52; }
.deck {
  border-radius: 0; border: 4px solid var(--negro);
  background: linear-gradient(180deg, #26262c 0 18%, #1c1c21 18% 85%, #121215 85%);
  box-shadow: 0 0 0 4px var(--oro), 0 0 0 8px var(--negro), 0 24px 40px -18px rgb(0 0 0 / .9);
  margin-top: 0;
}
.deck::before, .deck::after { border-radius: 0; width: 6px; height: 6px; background: #6c6c76; box-shadow: inset -2px -2px 0 #2a2a2f; }
.deck__score { border-radius: 0; border: 3px solid var(--negro); box-shadow: inset 0 0 0 2px #2a2a2f; }
.deck__score-n { text-shadow: none; }

.joy__base, .joy__base::after, .joy__ball, .arcade__cap { border-radius: 0; clip-path: var(--px-circle); }
.joy__base { background: linear-gradient(180deg, #34343b 0 30%, #1a1a1e 30% 75%, #0d0d0f 75%); box-shadow: none; }
.joy__base::after { background: #050506; box-shadow: none; }
.joy { filter: drop-shadow(0 0 0 #000); }
.joy__shaft { border-radius: 0; width: 8px; margin-left: -4px; background: linear-gradient(90deg, #6c6c76 0 35%, #c9c9d1 35% 65%, #55555e 65%); }
.joy__ball {
  background:
    linear-gradient(135deg, transparent 0 22%, #ffffff 22% 34%, transparent 34%) no-repeat,
    linear-gradient(180deg, #ff7a66 0 35%, #e0402c 35% 72%, #9c2416 72%);
  box-shadow: none;
}
.joy__ball-wrap { filter: drop-shadow(0 4px 0 #3a0c06); }

.arcade__btn { display: block; filter: drop-shadow(0 6px 0 var(--edge-c, #5c4515)); transition: filter .08s steps(2); }
.arcade--b { --edge-c: #6d6a63; }
.arcade__cap {
  box-shadow: none;
  background: linear-gradient(180deg, var(--c1) 0 32%, var(--c2) 32% 74%, var(--c3) 74%);
  transition: transform .08s steps(2);
}
.arcade__cap::before {
  content: ""; position: absolute; left: 24%; top: 16%; width: 18%; height: 12%; background: #fff; opacity: .85;
}
.arcade:active .arcade__btn, .arcade.is-pressed .arcade__btn { filter: drop-shadow(0 1px 0 var(--edge-c, #5c4515)); }
.arcade:focus-visible .arcade__cap { outline: none; }
.arcade:focus-visible .arcade__btn { outline: 3px solid var(--oro-brillo); outline-offset: 6px; }
.joy__ball-wrap { position: absolute; inset: 0; }
.arcade:active .arcade__cap, .arcade.is-pressed .arcade__cap { transform: translateY(5px); box-shadow: none; }
.arcade__label { font-family: var(--f-pixel); }

.wa-float { border-radius: 0; clip-path: var(--px-circle); box-shadow: none;
  background: linear-gradient(180deg, var(--oro-brillo) 0 34%, var(--oro) 34% 74%, #8a6a22 74%); }
.wa-float::after { display: none; }
.float { filter: drop-shadow(0 5px 0 #5c4515) drop-shadow(0 0 0 #000); }
.wa-float:active { transform: translateY(4px); box-shadow: none; }

.stage__dot { border-radius: 0; width: 12px; height: 12px; box-shadow: 4px 4px 0 rgb(212 165 55 / .25); }
.big-quote::before { border-radius: 0; height: 6px; background: repeating-linear-gradient(90deg, var(--oro) 0 6px, transparent 6px 9px); }
.nav__menu ul { align-items: center; }
.nav__menu ul a { padding: .75rem 0; }
.nav { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgb(11 11 12 / .95); border-bottom: 4px solid var(--negro); box-shadow: 0 4px 0 #1f1f24; }

/* ---------- Selector Hombre / Mujer ---------- */
.deck__who { grid-area: who; display: flex; justify-content: center; gap: .5rem; }
.who {
  font-family: var(--f-pixel); font-size: .55rem; line-height: 1;
  padding: .55rem .7rem; color: var(--gris-texto);
  background: #0d0d0f; border: 3px solid var(--negro);
  box-shadow: inset -3px -3px 0 #26262c;
}
.who:hover { color: var(--hueso); }
.who.is-on { color: var(--negro); background: var(--hueso); box-shadow: inset -3px -3px 0 #a8a39a; }
.who.is-on::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: .45rem; background: var(--oro); vertical-align: 1px; }
.who:focus-visible { outline: 3px solid var(--oro-brillo); outline-offset: 2px; }

/* ---------- Entrenador que entra a felicitar ---------- */
.coach-sprite {
  position: absolute; top: 0; left: -30.303%; width: 160.606%; height: auto;
  aspect-ratio: 212 / 124; max-width: none; image-rendering: pixelated; pointer-events: none;
}
.coach__balloon {
  position: absolute; top: 6%; left: 60%; margin: 0;
  font-family: var(--f-pixel); font-size: .625rem; color: var(--negro);
  padding: .6rem .8rem; opacity: 0; transform-origin: 100% 100%; pointer-events: none; white-space: nowrap;
}
/* La ficha del coach ocupa todo el ancho (sin foto) */
.coach__select { grid-template-columns: 1fr !important; }
.coach__card { max-width: 760px; }

/* ---------- WhatsApp verde original ---------- */
.wa-float {
  color: #ffffff;
  background: linear-gradient(180deg, #5fe08e 0 34%, #25D366 34% 74%, #128C4A 74%);
}
.wa-float:hover { background: linear-gradient(180deg, #7aeaa2 0 34%, #2fe073 34% 74%, #15a055 74%); }
.float { filter: drop-shadow(0 5px 0 #0b5a2e) drop-shadow(0 0 0 #000); }
.wa-float:focus-visible { outline-color: #ffffff; }

/* ---------- Así es una clase: pantalla paso a paso ---------- */
.clase { display: grid; gap: 1.5rem; }
.clase__screen.nes-container.is-dark { padding: 1rem 1rem 1.1rem; background-color: #0d0d10; border-color: var(--oro); }
.clase__screen.nes-container.is-dark::after { background-color: #0d0d10; }
.clase__stage {
  position: relative; overflow: hidden; aspect-ratio: 132 / 124; max-width: 420px; margin: 0 auto;
  background:
    linear-gradient(180deg, #1c1c22 0 70%, #2a2a31 70% 72%, #141418 72%);
  image-rendering: pixelated;
}
.clase__athlete { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; }
.clase__balloon {
  position: absolute; top: 4%; right: 2%; margin: 0;
  font-family: var(--f-pixel); font-size: .6rem; color: var(--negro);
  padding: .55rem .7rem; opacity: 0; pointer-events: none; white-space: nowrap;
}
.clase__hud { display: grid; gap: .6rem; margin-top: .9rem; }
.clase__hud .label { color: var(--oro); }
.clase__hud .nes-progress { margin: 0; height: 20px; }
.clase__steps { display: grid; gap: .6rem; }
.clase__step {
  width: 100%; display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; text-align: left;
  padding: 1rem 1.1rem; background: var(--carbon); color: var(--hueso);
  border: 4px solid #3a3a41; box-shadow: inset -4px -4px 0 #111114;
  transition: border-color .15s steps(2), background-color .15s steps(2);
}
.clase__step:hover { border-color: #6a6a75; }
.clase__step.is-on { border-color: var(--oro); background: #1d1a12; }
.clase__step:focus-visible { outline: 3px solid var(--oro-brillo); outline-offset: 2px; }
.clase__n {
  display: grid; place-items: center; width: 2.2rem; height: 2.2rem;
  font-family: var(--f-pixel); font-size: .8rem; color: var(--negro); background: #6a6a75;
  box-shadow: inset -3px -3px 0 rgb(0 0 0 / .35);
}
.clase__step.is-on .clase__n { background: var(--oro); }
.clase__t { display: block; font-family: var(--f-pixel); font-size: .8rem; line-height: 1.6; margin-bottom: .35rem; }
.clase__d { display: block; color: var(--gris-texto); font-size: 1.05rem; line-height: 1.45; }
.clase__step.is-on .clase__d { color: var(--hueso); }
@media (min-width: 900px) {
  .clase { grid-template-columns: minmax(320px, 5fr) 6fr; align-items: center; gap: 2.5rem; }
}

/* ---------- Coach en la esquina (explica la página) ---------- */
.cguide {
  position: fixed; left: 6px; bottom: 4px; z-index: var(--z-float);
  display: flex; align-items: flex-end; gap: .15rem;
  visibility: hidden; pointer-events: none;
}
.cguide.is-on { visibility: visible; pointer-events: auto; }
.cguide__fig { width: 62px; height: 120px; padding: 0; background: none; border: 0; flex: none; cursor: pointer; }
.cguide__fig canvas { width: 100%; height: 100%; max-width: none; image-rendering: pixelated; }
.cguide__fig:focus-visible { outline: 3px solid var(--oro-brillo); outline-offset: 2px; }
.cguide__balloon {
  margin: 0 0 4.2rem .3rem; padding: .7rem 2.2rem .75rem .85rem;
  max-width: min(320px, calc(100vw - 62px - 100px));
  font-family: var(--f-text); font-size: 1rem; line-height: 1.35; color: var(--negro);
  transform-origin: 0% 100%;
}
.cguide__balloon p { min-height: 2.7em; }
.cguide.is-min .cguide__balloon { display: none; }
.cguide__x {
  position: absolute; top: 4px; right: 4px; width: 30px; height: 30px; padding: 0;
  display: grid; place-items: center; background: none; border: 0; color: var(--negro); cursor: pointer;
}
.cguide__x .i { width: 14px; height: 14px; }
.cguide__x:focus-visible { outline: 3px solid var(--negro); outline-offset: 1px; }
@media (min-width: 768px) {
  .cguide { left: 14px; bottom: 8px; }
  .cguide__fig { width: 80px; height: 155px; }
  .cguide__balloon { margin-bottom: 5.5rem; font-size: 1.0625rem; max-width: 340px; }
}

/* ---------- Chat del coach (pixel / NES) ---------- */
.cguide__ask { margin-top: .6rem; font-size: .55rem; padding: .5rem .7rem; }
.bot__in {
  border-radius: 0 !important; border: 4px solid var(--oro); background: #0d0d10;
  box-shadow: 0 0 0 4px var(--negro), 0 24px 50px -20px rgb(0 0 0 / .9);
}
.bot__head { background: #15151a; border-bottom: 4px solid var(--negro); }
.bot__avatar {
  position: relative; flex: none; width: 44px; height: 44px; overflow: hidden;
  background: var(--oro); box-shadow: inset -3px -3px 0 #8a6a22, 0 0 0 3px var(--negro);
}
.bot__avatar canvas { position: absolute; width: 96px; height: 186px; left: -26px; top: -42px; max-width: none; image-rendering: pixelated; }
.bot__title { font-family: var(--f-pixel); font-size: .75rem; color: var(--oro-brillo); }
.bot__close { border-radius: 0; }
.bot__msg { font-family: var(--f-text); font-size: 1.15rem; }
.bot__opt {
  border-radius: 0; font-family: var(--f-text); font-size: 1.05rem; font-weight: 600;
  background: var(--carbon); border: 3px solid #3a3a41; box-shadow: inset -3px -3px 0 #111114;
}
.bot__opt:hover, .bot__opt:focus-visible { background: #24242a; border-color: #6a6a75; }
.bot__opt--back { background: transparent; border-color: transparent; box-shadow: none; color: var(--gris-texto); }
.bot__opt--wa { background: #25D366; color: #06210f; border-color: #128C4A; box-shadow: inset -3px -3px 0 #128C4A; font-family: var(--f-pixel); font-size: .65rem; }
.bot__opt--wa:hover, .bot__opt--wa:focus-visible { background: #2fe073; }
.bot__search { border-top: 4px solid var(--negro); align-items: center; }
.bot__search .nes-input { border-radius: 0; font-family: var(--f-text); font-size: 1rem; min-height: 44px; padding: .4rem .6rem; }
@media (min-width: 480px) {
  .bot { inset: auto auto 200px 16px; }
  .bot__in { border-radius: 0; }
}

.cguide.is-chat .cguide__balloon { display: none; }

/* =========================================================
   ADAPTACIÓN A TODO DISPOSITIVO
   ========================================================= */
/* Teléfonos muy pequeños (≤ 359 px) */
@media (max-width: 359px) {
  :root { --gutter: 12px; }
  body { font-size: 1.125rem; }
  .hero__logo { width: 64%; margin-bottom: .75rem; }
  .hero__title { font-size: 1.6rem; }
  .hero__sub { font-size: 1rem; margin-bottom: 1.25rem; }
  .btn--lg { font-size: .68rem; padding: .85rem .9rem; }
  .stats { grid-template-columns: 1fr; }
  .stats li { flex-direction: row; align-items: center; gap: .75rem; }
  .nav__score span:first-child { display: none; }
  .h2 { font-size: 1.25rem; }
  .deck { padding: .8rem .7rem 1rem; }
  .clase__t { font-size: .7rem; }
}
/* Teléfonos acostados y pantallas bajas */
@media (orientation: landscape) and (max-height: 520px) {
  .hero { min-height: auto; padding-top: calc(var(--nav-h) + 1rem); }
  .hero__grid { grid-template-columns: 1.1fr 1fr; gap: 1.25rem; align-items: start; }
  .hero__stage { width: 100%; max-width: 340px; margin: 0; justify-self: end; }
  .hero__logo { width: min(48%, 220px); margin-bottom: .6rem; }
  .hero__title { font-size: clamp(1.5rem, 4vw, 2.2rem); margin-bottom: .6rem; }
  .hero__sub { font-size: 1rem; margin-bottom: 1rem; }
  .hero__ctas .btn { width: auto; }
  .deck { gap: .5rem .9rem; padding: .7rem .9rem .8rem; }
  .joy { width: 74px; height: 74px; }
  .arcade__cap { width: 50px; height: 50px; }
  .stats { margin-top: 1rem; }
  .section { padding-block: 3.5rem; }
  .cguide__fig { width: 52px; height: 100px; }
  .cguide__balloon { margin-bottom: 3.2rem; font-size: .9375rem; }
}
/* Tablets en vertical: hero en dos columnas desde 900 px */
@media (min-width: 900px) and (max-width: 1023px) {
  .hero__grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .hero__stage { width: 100%; margin: 0; }
}
/* Laptops con poca altura */
@media (min-width: 1024px) and (max-height: 760px) {
  .hero__logo { width: min(100%, 320px); margin-bottom: .75rem; }
  .hero__title { font-size: clamp(2.2rem, 3.4vw, 3rem); }
  .hero__stage { max-width: 400px; }
}
/* Pantallas grandes y 2K: todo escala */
@media (min-width: 1800px) {
  html { font-size: 18px; }
  :root { --max: 1480px; }
  .hero__stage { max-width: 32rem; }
  .hero__logo { width: min(100%, 28rem); }
  .nav__logo img { width: 7rem; }
}
@media (min-width: 2400px) {
  html { font-size: 21px; }
  :root { --max: 1760px; }
  .cguide__fig { width: 100px; height: 194px; }
}
/* Teléfonos acostados muy bajos: el logo ya está en el menú, se prioriza el botón */
@media (orientation: landscape) and (max-height: 420px) {
  .hero__logo { display: none; }
  .hero__coin { margin-bottom: .5rem; }
  .hero__sub { font-size: .9375rem; line-height: 1.4; }
}

/* ---------- Hero en teléfono: animación arriba, más pequeña y completa ---------- */
@media (max-width: 767px) and (orientation: portrait), (max-width: 559px) {
  .hero { padding-top: calc(var(--nav-h) + .75rem); }
  .hero__grid { display: flex; flex-direction: column; gap: 1rem; }
  .hero__stage { display: contents; }               /* sus hijos se ordenan dentro del hero */
  .lift-wrap { order: 1; width: 60vw; max-width: 280px; margin: 0 auto; }
  .hero__copy { order: 2; }
  .deck { order: 3; width: 100%; margin: .25rem 0 0; }
  .hero__logo { display: none; }                    /* el logo ya está en el menú */
  .hero__coin { margin-bottom: .5rem; }
  .hero__title { margin-bottom: .6rem; }
  .hero__sub { margin-bottom: 1.1rem; }
  .stats { margin-top: 1.25rem; }
}
@media (max-width: 767px) and (orientation: portrait), (max-width: 559px) {
  .lift-wrap { margin-top: 1rem; }
}
@media (max-width: 359px) {
  .lift-wrap { width: 52vw; margin-top: .75rem; }
  .hero__sub { font-size: .9375rem; line-height: 1.4; }
}
