/* ==========================================================
   ZARYA BOX — Equilibrio. Fuerza. Rendimiento.
   Dirección de arte: editorial atlético · blanco y negro, detalles en
   azul mate y botones en amarillo neón
   ========================================================== */

/* Fuentes alojadas en la propia web (OFL). Subconjunto latino. */
@font-face { font-family: 'Big Shoulders Display'; font-style: normal; font-weight: 600 900; font-display: swap; src: url('assets/fonts/big-shoulders-display.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter Tight'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('assets/fonts/inter-tight.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 500; font-display: swap; src: url('assets/fonts/jetbrains-mono.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  /* Paleta fija */
  --black: #0e0e0f;      /* negro */
  --carbon: #1c1c1f;     /* negro carbón */
  --white: #f1eee8;      /* blanco roto */
  --blue: #2e4a7d;       /* azul mate */
  --blue-deep: #1b2b4a;  /* azul oscuro */
  --neon: #e5ff1f;       /* amarillo neón: solo botones y llamadas */

  /* Tokens de superficie (se invierten en las secciones .light) */
  --ink: var(--black);
  --ink-2: #151517;
  --ink-3: var(--carbon);
  --line: rgba(241, 238, 232, .12);
  --line-2: rgba(241, 238, 232, .22);
  --bone: var(--white);
  --bone-2: #c8c5bf;
  --muted: #8a8780;
  --blue-hi: #8aa6d6;    /* azul de detalle legible sobre negro */

  --f-display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --f-body: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1440px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
  --r: 4px;
}

/* Secciones en blanco roto: mismas reglas, tokens invertidos */
.light {
  --ink: var(--white);
  --ink-2: #e7e3db;
  --ink-3: #dbd6cc;
  --line: rgba(14, 14, 15, .12);
  --line-2: rgba(14, 14, 15, .24);
  --bone: var(--black);
  --bone-2: #3c3b39;
  --muted: #6c6963;
  --blue-hi: var(--blue);
  background: var(--ink); color: var(--bone);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, figure, ul, ol, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--neon); color: var(--black); }
:focus-visible { outline: 2px solid var(--blue-hi); outline-offset: 3px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--neon); color: var(--black); padding: 10px 16px; font-weight: 600; }
.skip:focus { top: 16px; }

/* Grano sutil sobre toda la página */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 150; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(96px, 13vw, 180px) 0; position: relative; }
.mono { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }

.eyebrow {
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--bone-2); display: inline-flex; align-items: center; gap: 12px; margin-bottom: 28px;
}
.eyebrow .idx { color: var(--blue-hi); }
.eyebrow .idx::after { content: ""; display: inline-block; width: 28px; height: 1px; background: var(--line-2); vertical-align: middle; margin-left: 12px; }

.h2 {
  font-family: var(--f-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(44px, 7.2vw, 112px); line-height: .9; letter-spacing: -.01em;
}
.dawn { color: var(--bone); }
.lead { font-size: clamp(20px, 2vw, 26px); line-height: 1.45; color: var(--bone); }
.lead em { font-style: normal; color: var(--blue-hi); }

/* ---------- Botones ---------- */
.btn {
  --bx: 0px; --by: 0px;
  display: inline-flex; align-items: center; gap: 12px; justify-content: center;
  font-family: var(--f-body); font-weight: 600; font-size: 15px; letter-spacing: .01em;
  padding: 16px 26px; border-radius: 999px; border: 1px solid transparent;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s, transform .35s var(--ease);
  transform: translate(var(--bx), var(--by)); white-space: nowrap; cursor: pointer;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .35s var(--ease); }

.btn--neon { background: var(--neon); color: var(--black); font-weight: 700; box-shadow: 0 0 0 0 rgba(229, 255, 31, 0); }

.light .btn--neon { border-color: var(--black); }
.btn--ghost { border-color: var(--line-2); color: var(--bone); backdrop-filter: blur(6px); background: rgba(14,14,15,.25); }

.btn--line { border-color: var(--neon); color: var(--bone); background: transparent; }

.light .btn--line { border-color: var(--black); }

.btn--sm { padding: 11px 20px; font-size: 14px; }
.btn--xl { padding: 22px 36px; font-size: 18px; }

/* ---------- Splash (solo con JS) ---------- */
.splash { display: none; }
.js .splash {
  position: fixed; inset: 0; z-index: 300; background: var(--ink);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  transition: clip-path .9s var(--ease-io), visibility 0s .9s;
  clip-path: inset(0 0 0 0);
}
.splash__mark svg { width: 60px; height: 60px; fill: var(--blue-hi); overflow: visible; }
.splash__mark polygon { opacity: 0; animation: shard .8s var(--ease) forwards; }
.splash__mark polygon:nth-child(1) { --sx: -14px; --sy: -14px; }
.splash__mark polygon:nth-child(2) { --sx: 0; --sy: 18px; animation-delay: .12s; }
.splash__mark polygon:nth-child(3) { --sx: 14px; --sy: 14px; animation-delay: .24s; }
@keyframes shard { from { opacity: 0; transform: translate(var(--sx), var(--sy)); } to { opacity: 1; transform: none; } }
.splash__word { font-family: var(--f-display); font-weight: 900; font-size: 22px; letter-spacing: .5em; padding-left: .5em; color: var(--bone); opacity: 0; animation: fadeUp .8s .3s var(--ease) forwards; }
.splash__bar { width: 120px; height: 1px; background: var(--line); overflow: hidden; }
.splash__bar span { display: block; height: 100%; background: var(--neon); transform: scaleX(0); transform-origin: left; animation: bar 1.2s .2s var(--ease) forwards; }
.is-loaded .splash { clip-path: inset(0 0 100% 0); visibility: hidden; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes bar { to { transform: scaleX(1); } }

/* ---------- Navegación ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; gap: 32px;
  padding: 18px var(--gutter);
  transition: background .4s, padding .4s var(--ease), border-color .4s, transform .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(14, 14, 15, .8); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); padding-top: 12px; padding-bottom: 12px; border-color: var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__logo { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.logo-mark { width: 38px; height: 38px; border-radius: 8px; background: var(--white); display: grid; place-items: center; }
.logo-mark svg { width: 22px; height: 22px; fill: var(--black); }
.logo-word { font-family: var(--f-display); font-weight: 900; font-size: 24px; letter-spacing: .12em; line-height: 1; display: flex; align-items: baseline; gap: 6px; }
.logo-word small { font-size: 12px; letter-spacing: .3em; color: var(--blue-hi); font-weight: 800; }
.nav__links { display: flex; gap: 28px; }
.nav__links a { font-size: 14px; color: var(--bone-2); position: relative; padding: 4px 0; transition: color .25s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--blue-hi); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav__links a.is-active { color: var(--bone); }
.nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; position: relative; cursor: pointer; }
.nav__burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--bone); transition: transform .4s var(--ease), top .4s var(--ease); }
.nav__burger span:first-child { top: 17px; }
.nav__burger span:last-child { top: 25px; }
.menu-open .nav__burger span:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .nav__burger span:last-child { top: 21px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 90; background: var(--ink-2);
  padding: 110px var(--gutter) 40px; display: flex; flex-direction: column; justify-content: space-between;
  clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease-io); visibility: hidden;
}
.menu-open .menu { clip-path: inset(0 0 0 0); visibility: visible; }
.menu nav { display: flex; flex-direction: column; }
.menu nav a { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(40px, 11vw, 72px); line-height: 1.05; border-bottom: 1px solid var(--line); padding: 8px 0; display: flex; align-items: baseline; gap: 16px; }
.menu nav a i { font-family: var(--f-mono); font-style: normal; font-size: 12px; color: var(--blue-hi); font-weight: 400; }
.menu-open { overflow: hidden; }

/* ---------- HERO ---------- */
/* Sin JS o con movimiento reducido: hero normal. Con .has-pin: las letras ZARYA
   dejan ver el vídeo, se abren al hacer scroll y aparece el titular. */
.hero { position: relative; isolation: isolate; background: var(--black); }
.hero.has-pin { height: 240vh; height: 240svh; }
.hero__pin { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.has-pin .hero__pin { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 560px; }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); filter: grayscale(.35) contrast(1.08); }
.hero__shade {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 70% at 80% 10%, rgba(46, 74, 125, .38), transparent 60%),
    linear-gradient(180deg, rgba(14,14,15,.55) 0%, rgba(14,14,15,.2) 35%, rgba(14,14,15,.75) 75%, var(--black) 100%);
}

/* Letras caladas: negro encima del vídeo; el blanco de las letras deja verlo */
.hero__knock { display: none; }
.has-pin .hero__knock {
  position: absolute; inset: 0; z-index: 2; display: grid; place-items: center;
  background: var(--black); color: #fff; mix-blend-mode: multiply;
  transform-origin: 50% 46%; will-change: transform, opacity;
}
.hero__knock span {
  display: block; font-family: var(--f-display); font-weight: 900; text-transform: uppercase;
  font-size: 30vw; line-height: .8; letter-spacing: -.02em; white-space: nowrap; transform: translateY(-4%);
}
.hero__top, .hero__intro { display: none; }
.has-pin .hero__top, .has-pin .hero__intro { display: flex; position: absolute; left: var(--gutter); right: var(--gutter); z-index: 3; will-change: transform, opacity; }
.hero__top { top: 86px; justify-content: space-between; gap: 16px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--bone-2); }
.hero__top .mono { font-size: 11px; }
.hero__top b { color: var(--blue-hi); font-weight: 500; }
.hero__intro { bottom: clamp(20px, 4vh, 44px); justify-content: space-between; align-items: flex-end; gap: 28px; flex-wrap: wrap; }
.hero__claim { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(30px, 3.6vw, 52px); line-height: .92; }
.hero__claim span { display: block; }
.hero__intro-aside { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; max-width: 420px; }
.hero__intro-aside p { color: var(--bone-2); font-size: 15px; }
.hero__hint { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); }
.hero__hint::before { content: ""; width: 10px; height: 10px; background: var(--blue-hi); animation: hintDrop 1.8s var(--ease) infinite; }
@keyframes hintDrop { 0%, 100% { transform: translateY(-3px); opacity: .4; } 50% { transform: translateY(3px); opacity: 1; } }

.has-pin .hero__inner, .has-pin .hero__meta { opacity: 0; pointer-events: none; will-change: transform, opacity; }
.has-pin.is-final .hero__inner, .has-pin.is-final .hero__meta { pointer-events: auto; }
.hero__inner { position: relative; z-index: 4; width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 140px var(--gutter) 40px; }
.hero__eyebrow .dot { width: 8px; height: 8px; background: var(--blue-hi); box-shadow: 0 0 0 0 rgba(138, 166, 214, .6); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(138, 166, 214, 0); } 100% { box-shadow: 0 0 0 0 rgba(138, 166, 214, 0); } }
.hero__title {
  font-family: var(--f-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(60px, min(14.5vw, 19vh), 232px); line-height: .84; letter-spacing: -.015em;
}
/* Fijado a una pantalla: el titular no puede crecer más que el alto disponible */
.has-pin .hero__inner { padding-top: 96px; }
.has-pin .hero__title { font-size: clamp(56px, min(14.5vw, 15.5vh), 232px); }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .02em; }
.hero__title .line > span { display: inline-block; }
.js .hero__title .line > span { transform: translateY(105%); transition: transform 1.1s var(--ease); }
.js .hero__title .line:nth-child(2) > span { transition-delay: .08s; }
.js .hero__title .line:nth-child(3) > span { transition-delay: .16s; }
.is-loaded .hero:not(.has-pin) .hero__title .line > span, .hero.is-final .hero__title .line > span { transform: none; }

.hero__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-top: 40px; flex-wrap: wrap; }
.hero__lead { max-width: 520px; color: var(--bone-2); font-size: 18px; }
.hero__lead strong { color: var(--bone); font-weight: 600; }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.hero__meta {
  position: relative; z-index: 4;
  width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 22px var(--gutter) 28px;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 24px; align-items: end;
  border-top: 1px solid var(--line);
}
.hero__meta div { display: flex; flex-direction: column; gap: 2px; }
.hero__meta .mono { color: var(--muted); font-size: 11px; }
.hero__meta strong { font-family: var(--f-display); font-weight: 800; font-size: 28px; line-height: 1.1; letter-spacing: .01em; }
.hero__meta small { color: var(--bone-2); font-size: 13px; }
.status.is-open { color: #7ee08a; }
.status.is-closed { color: var(--neon); }
.hero__scroll { width: 44px; height: 64px; border: 1px solid var(--line-2); border-radius: 999px; position: relative; justify-self: end; }
.hero__scroll span { position: absolute; left: 50%; top: 12px; width: 2px; height: 12px; margin-left: -1px; background: var(--neon); border-radius: 2px; animation: scrollDot 1.8s var(--ease) infinite; }
@keyframes scrollDot { 0% { transform: translateY(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(26px); opacity: 0; } }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 22px 0; background: var(--ink); }
.marquee__track { display: flex; align-items: center; gap: 36px; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(28px, 3.6vw, 52px); line-height: 1; letter-spacing: .02em; }
.marquee span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1.2px var(--bone-2); }
.marquee i { flex: none; width: 12px; height: 12px; background: var(--blue-hi); }

@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- About ---------- */
.about { overflow: hidden; }
.ghost-word {
  position: absolute; top: 40px; right: -2vw; font-family: var(--f-display); font-weight: 900;
  font-size: clamp(140px, 26vw, 420px); line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(241,238,232,.07);
  pointer-events: none; user-select: none; white-space: nowrap;
}
.about__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 110px); position: relative; }
.about__note { margin-top: 28px; color: var(--bone); max-width: 380px; font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.05; letter-spacing: .01em; }
.about__steps { margin-top: 26px; padding-left: 18px; border-left: 2px solid var(--blue-hi); color: var(--bone-2); font-size: clamp(17px, 1.5vw, 20px); max-width: 560px; }
.points { margin-top: 32px; border-top: 1px solid var(--line); }
.points li { position: relative; padding: 18px 0 18px 24px; border-bottom: 1px solid var(--line); font-size: clamp(17px, 1.5vw, 20px); color: var(--bone-2); }
.points li::before { content: ""; position: absolute; left: 0; top: calc(18px + .55em); width: 8px; height: 8px; background: var(--blue-hi); }
.points strong { color: var(--bone); font-weight: 600; }

/* Bloque desplegable para textos largos */
.more { margin-top: 24px; }
.more summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 12px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-hi); padding: 8px 0; }
.more summary::-webkit-details-marker { display: none; }
.more summary::after { content: "+"; font-size: 18px; transition: transform .4s var(--ease); }
.more[open] summary::after { transform: rotate(45deg); }
.more p { color: var(--bone-2); max-width: 560px; padding: 8px 0 4px 16px; border-left: 2px solid var(--blue-hi); }
.about__body strong { color: var(--bone); }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin-top: 56px; border-top: 1px solid var(--line); }
.stat { padding: 26px 20px 26px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.stat:nth-child(odd) { border-right: 1px solid var(--line); }
.stat:nth-child(even) { padding-left: 24px; }
.stat strong { font-family: var(--f-display); font-weight: 900; font-size: clamp(52px, 6vw, 84px); line-height: .9; }
.stat strong sup { font-size: .4em; color: var(--blue-hi); vertical-align: top; margin-left: 4px; }
.stat > span { color: var(--muted); font-size: 14px; max-width: 220px; }
.about__figure { max-width: var(--maxw); margin: clamp(64px, 9vw, 120px) auto 0; padding: 0 var(--gutter); position: relative; }
.about__figure img { width: 100%; height: auto; aspect-ratio: 21 / 9; object-fit: cover; border-radius: var(--r); filter: grayscale(.35) contrast(1.05); }
.about__figure figcaption { position: absolute; left: calc(var(--gutter) + 20px); bottom: 18px; color: var(--white); background: rgba(14,14,15,.6); padding: 8px 12px; backdrop-filter: blur(6px); border-radius: 2px; }

/* ---------- Section heads ---------- */
.section-head { display: grid; grid-template-columns: 1fr; gap: 0; margin-bottom: clamp(48px, 7vw, 96px); position: relative; }
.section-head__aside { color: var(--muted); max-width: 360px; margin-top: 28px; }
@media (min-width: 1000px) {
  .section-head { grid-template-columns: 1fr auto; align-items: end; }
  .section-head .eyebrow { grid-column: 1 / -1; }
  .section-head__aside { margin-top: 0; }
}

/* ---------- Clases: tarjetas con foto ---------- */
.cls { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.cls__card {
  position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r);
  min-height: clamp(360px, 34vw, 480px); display: flex; align-items: flex-end;
  background: var(--black); color: var(--white);
}
.cls__card--wide { grid-column: span 2; }
.cls__card--full { grid-column: 1 / -1; min-height: clamp(320px, 28vw, 420px); }
.cls__card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: grayscale(.3) contrast(1.05); transition: transform 1.2s var(--ease), filter .6s; }
.cls__card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14,14,15,0) 30%, rgba(14,14,15,.9) 100%); }

.cls__body { width: 100%; padding: clamp(20px, 2.4vw, 30px); display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 6px 16px; }
.cls__n { grid-column: 1 / -1; color: #8aa6d6; font-size: 11px; }
.cls__name { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(36px, 4vw, 64px); line-height: .9; }
.cls__name--long { font-size: clamp(28px, 2.6vw, 42px); line-height: .95; }
.cls__short { grid-column: 1; color: rgba(241, 238, 232, .8); font-size: 15px; }
.cls__more {
  grid-column: 2; grid-row: 2 / span 2; align-self: end;
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  font: 700 13px/1 var(--f-body); color: var(--black); background: var(--neon);
  border: 1px solid var(--neon); border-radius: 999px; padding: 11px 16px; white-space: nowrap;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.cls__more span { font-size: 17px; line-height: 0; transition: transform .35s var(--ease); }

/* Ficha ampliada (clases y coaches) */
.sheet {
  padding: 0; border: 0; border-radius: 6px; width: min(960px, calc(100% - 32px)); max-height: calc(100% - 32px);
  background: var(--black); color: var(--white); overflow: auto; overscroll-behavior: contain;
  box-shadow: 0 40px 120px rgba(0, 0, 0, .55);
}
.sheet[open] { display: grid; grid-template-columns: 5fr 6fr; animation: sheetIn .5s var(--ease); }
.sheet--text[open] { grid-template-columns: 1fr; width: min(720px, calc(100% - 32px)); }
.sheet::backdrop { background: rgba(14, 14, 15, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
@keyframes sheetIn { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }
.sheet__media { min-height: 100%; }
.sheet__media img { width: 100%; height: 100%; object-fit: cover; }
.sheet__body { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.sheet__k { color: #8aa6d6; }
.sheet__title--long { font-size: clamp(36px, 3.8vw, 56px) !important; }
.sheet__title { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(44px, 5.4vw, 80px); line-height: .88; padding-right: 48px; }
.sheet__lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--white); line-height: 1.45; }
.sheet__list { align-self: stretch; border-top: 1px solid rgba(241, 238, 232, .14); }
.sheet__list li { position: relative; padding: 11px 0 11px 22px; border-bottom: 1px solid rgba(241, 238, 232, .14); font-size: 15px; color: #c8c5bf; }
.sheet__list li::before { content: ""; position: absolute; left: 0; top: 19px; width: 7px; height: 7px; background: #8aa6d6; }
.sheet__bio p { color: #c8c5bf; font-size: 16px; }
.sheet__bio p + p { margin-top: 14px; }
.sheet .btn { margin-top: 8px; }
/* La X se queda fija arriba aunque la ficha haga scroll */
.sheet__media { grid-area: 1 / 1; }
.sheet__body { grid-area: 1 / 2; }
.sheet--text .sheet__body { grid-area: 1 / 1; }
.sheet--coach .sheet__media img { object-position: center 25%; }
.sheet__close {
  grid-area: 1 / -2; position: sticky; top: 14px; align-self: start; justify-self: end; margin: 14px 14px 0 0; z-index: 2;
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  background: rgba(14, 14, 15, .65); color: var(--white); border: 1px solid rgba(241, 238, 232, .3);
  font-size: 24px; line-height: 1; display: grid; place-items: center; transition: background .3s, color .3s;
}

.sheet-open { overflow: hidden; }

/* ---------- Banda de vídeo ---------- */
.band { position: relative; min-height: 88vh; display: grid; place-items: center; overflow: hidden; isolation: isolate; }
.band__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.band__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--ink) 0%, rgba(14,14,15,.62) 25%, rgba(14,14,15,.62) 75%, var(--ink) 100%); }
.band__quote { text-align: center; padding: 0 var(--gutter); max-width: 1200px; }
.band__quote p { text-shadow: 0 2px 24px rgba(0, 0, 0, .45); font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(40px, 6.4vw, 104px); line-height: .92; }
.band__quote cite { display: block; margin-top: 32px; color: var(--bone); font-style: normal; text-shadow: 0 1px 10px rgba(0, 0, 0, .6); }

/* ---------- Método ---------- */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.pillar { padding: 36px 28px 44px 0; border-right: 1px solid var(--line); }
.pillar + .pillar { padding-left: 28px; }
.pillar:last-child { border-right: 0; }
.pillar__n { color: var(--blue-hi); }
.pillar h3 { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: 30px; line-height: 1; margin: 56px 0 16px; }
.pillar p { color: var(--bone-2); font-size: 15px; }

.audience { margin-top: clamp(80px, 10vw, 140px); }
.audience__title { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(36px, 4vw, 56px); margin-bottom: 36px; }
.audience__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.aud { background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: border-color .4s, transform .5s var(--ease); }

.aud img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(.4); transition: filter .6s, transform 1.2s var(--ease); }

.aud div { padding: 24px 24px 28px; }
.aud .mono { color: var(--blue-hi); }
.aud p { margin-top: 10px; color: var(--bone-2); font-size: 15px; }

/* ---------- Coaches ---------- */
.coaches { padding-top: 0; }
.coaches__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.coach {
  position: relative; overflow: hidden; border-radius: var(--r); display: flex; flex-direction: column;
  background: linear-gradient(150deg, var(--blue) 0%, var(--blue-deep) 70%); color: var(--white);
}
.coach__photo { aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink-3); }
.coach__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; transition: transform 1.2s var(--ease); }
.coach__body {
  position: relative; isolation: isolate; overflow: hidden; flex: 1;
  padding: clamp(24px, 3.4vw, 44px); display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
}
.coach__initial {
  position: absolute; right: -.06em; bottom: -.2em; z-index: -1; font-family: var(--f-display); font-weight: 900;
  font-size: clamp(260px, 30vw, 440px); line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(241, 238, 232, .16);
  transition: transform 1s var(--ease);
}

.coach__role { color: rgba(241, 238, 232, .7); }
.coach__name { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(64px, 8vw, 128px); line-height: .85; }
.coach__quote { font-size: clamp(19px, 1.8vw, 24px); line-height: 1.35; max-width: 420px; }
.coach__facts { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.coach__facts li { border: 1px solid rgba(241, 238, 232, .3); border-radius: 999px; padding: 6px 12px; font-size: 13px; }
.coach__facts strong { color: var(--neon); }
.coach__badges { display: flex; gap: 10px; margin-bottom: 6px; }
.coach__badges img { height: 64px; width: auto; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .35)); }
.coach .btn--line { color: var(--white); }

/* ---------- Instalaciones ---------- */
.facilities { border-block: 1px solid var(--line); }
.bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(180px, 15vw, 230px); gap: 14px; }
.bento figure, .bento__c { position: relative; overflow: hidden; border-radius: var(--r); }
/* La foto no decide la altura: rellena la casilla de la rejilla */
.bento img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }

.bento figcaption { position: absolute; inset: auto 0 0 0; padding: 60px 24px 22px; background: linear-gradient(0deg, rgba(14,14,15,.9), transparent); display: flex; flex-direction: column; gap: 6px; color: var(--white); }
.bento figcaption .mono { color: #8aa6d6; }
.bento figcaption strong { font-weight: 500; font-size: 17px; max-width: 420px; }
.bento__a { grid-column: 1 / 8; grid-row: span 3; }
.bento__b { grid-column: 8 / 13; grid-row: span 2; }
.bento__c { grid-column: 8 / 11; background: var(--blue); color: var(--white); padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.bento__c .mono { opacity: .7; }
.bento__c strong { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: 30px; line-height: .95; }
.bento__c p { font-size: 14px; line-height: 1.45; }
.bento__d { grid-column: 11 / 13; }
.amen { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.amen li { border: 1px solid var(--line-2); border-radius: 999px; padding: 10px 18px; font-size: 14px; color: var(--bone-2); display: flex; align-items: center; gap: 10px; transition: border-color .3s, color .3s; }
.amen li::before { content: ""; width: 6px; height: 6px; background: var(--blue-hi); }

/* ---------- Horario + planes ---------- */
.schedule__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 8vw, 140px); align-items: start; }
.schedule__text { color: var(--bone-2); margin: 28px 0 32px; max-width: 420px; }
.schedule__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hours { width: 100%; border-collapse: collapse; font-size: 18px; }
.hours tr { border-bottom: 1px solid var(--line); transition: background .3s; }
.hours tr:first-child { border-top: 1px solid var(--line); }
.hours th, .hours td { padding: 22px 0; text-align: left; font-weight: 400; }
.hours th { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: 26px; letter-spacing: .02em; }
.hours td { text-align: right; font-family: var(--f-mono); font-size: 16px; color: var(--bone-2); }
.hours tr.is-closed td { color: var(--muted); }
.hours tr.is-today th { color: var(--blue-hi); }
.hours tr.is-today th::after { content: "Hoy"; font-family: var(--f-mono); font-size: 10px; letter-spacing: .12em; vertical-align: middle; margin-left: 12px; padding: 3px 8px; border-radius: 999px; background: var(--neon); color: var(--black); }
.hours tr.is-today td { color: var(--bone); }

.rates { display: grid; grid-template-columns: 5fr 7fr; gap: 20px clamp(40px, 6vw, 110px); align-items: start; margin-top: clamp(80px, 10vw, 140px); padding-top: 28px; border-top: 1px solid var(--line); }
.rates .eyebrow { margin-bottom: 0; }
.rates__text { font-size: clamp(20px, 2vw, 26px); line-height: 1.4; color: var(--bone-2); max-width: 640px; }
.rates__text strong { color: var(--bone); font-weight: 600; box-shadow: inset 0 -.18em 0 var(--blue); }
.rates + .plans { margin-top: 40px; }
@media (max-width: 860px) { .rates { grid-template-columns: 1fr; } }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: clamp(80px, 10vw, 140px); }
.plan { background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r); padding: 30px 26px; display: flex; flex-direction: column; gap: 16px; transition: border-color .4s, transform .5s var(--ease); }

.plan__badge { color: var(--blue-hi); }
.plan h3 { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: 36px; line-height: .95; }
.plan p { color: var(--bone-2); font-size: 15px; }
.plan ul { margin: 4px 0 12px; display: grid; gap: 8px; flex: 1; }
.plan li { font-size: 14px; padding-left: 22px; position: relative; color: var(--bone); }
.plan li::before { content: ""; position: absolute; left: 0; top: .6em; width: 12px; height: 1.5px; background: var(--blue-hi); }
.plan .btn { align-self: stretch; }
.plan--feature { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.plan--feature p, .plan--feature li { color: var(--ink-3); }
.plan--feature .plan__badge { color: var(--blue); }
.plan--feature li::before { background: var(--blue); }

/* ---------- Voces ---------- */
.voices { padding-top: 0; }
.voices__grid { display: block; }
.voices__rating { background: linear-gradient(140deg, var(--blue) 0%, var(--blue-deep) 100%); color: var(--white); border-radius: var(--r); padding: clamp(28px, 4vw, 56px); display: grid; grid-template-columns: 5fr 7fr; gap: 24px clamp(32px, 6vw, 96px); align-items: center; }
.voices__score, .voices__detail { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.voices__detail .voices__src { margin-top: 0; }
.voices__rating .stars { font-size: 22px; letter-spacing: .2em; }
.voices__score > strong { font-family: var(--f-display); font-weight: 900; font-size: clamp(110px, 13vw, 190px); line-height: .8; margin: 12px 0; }
.voices__rating p { max-width: 360px; font-weight: 500; }
.voices__k { opacity: .75; }
.voices__rating p b { font-weight: 700; }
.voices__src { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 18px; max-width: 520px; }
.voices__src li > * { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border: 1px solid rgba(241, 238, 232, .3); border-radius: var(--r); height: 100%; }
.voices__src a { transition: background .3s, border-color .3s; }

.voices__src .mono { opacity: .75; }
.voices__src b { font-family: var(--f-display); font-weight: 800; font-size: 28px; line-height: 1.05; }
.voices__src small { font-size: 13px; opacity: .85; }
.voices__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 14px; max-width: 460px !important; }
.voices__tags .mono { width: 100%; opacity: .75; margin-bottom: 2px; }
.voices__tags span:not(.mono) { border: 1px solid rgba(241, 238, 232, .3); border-radius: 999px; padding: 4px 10px; font-size: 13px; }
.link { font-weight: 600; margin-top: 16px; border-bottom: 1.5px solid currentColor; align-self: flex-start; padding-bottom: 2px; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 110px); }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 26px 50px 26px 0; font-size: clamp(18px, 1.6vw, 22px); font-weight: 500; position: relative; transition: color .25s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-family: var(--f-mono); font-size: 24px; color: var(--blue-hi); transition: transform .4s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }

.faq details p { color: var(--bone-2); padding: 0 50px 28px 0; max-width: 620px; }

/* ---------- Contacto ---------- */
.contact { background: radial-gradient(90% 60% at 50% 0%, rgba(46, 74, 125, .3), transparent 70%), var(--ink); border-top: 1px solid var(--line); }
.contact__cta { text-align: center; display: flex; flex-direction: column; align-items: center; }
.contact__title { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(56px, 11vw, 180px); line-height: .85; margin-bottom: 48px; }
.contact__grid { display: grid; grid-template-columns: 5fr 7fr; gap: 20px; margin-top: clamp(80px, 10vw, 140px); }
.contact__info { display: grid; gap: 0; border-top: 1px solid var(--line); }
.contact__info > div { padding: 22px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.contact__info .mono { color: var(--muted); }
.contact__info a { font-size: clamp(18px, 1.6vw, 22px); transition: color .25s; }

.contact__map { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); min-height: 380px; background: var(--ink-3); }
.contact__map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; filter: grayscale(1) invert(.92) contrast(.9) hue-rotate(180deg); }
.map-gate {
  height: 100%; min-height: 380px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 10px;
  padding: clamp(24px, 4vw, 48px);
  background: var(--ink-2);
}
.map-gate .mono { color: var(--blue-hi); }
.map-gate p:not(.mono) { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(24px, 2.4vw, 34px); line-height: 1; max-width: 360px; }
.map-gate .btn { margin-top: 8px; }
.map-gate small { color: var(--muted); font-size: 12px; }
.map-gate small a { color: var(--bone-2); text-decoration: underline; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding-top: 48px; overflow: hidden; }
.footer__top { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer__claim { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(26px, 3vw, 40px); line-height: .95; letter-spacing: .01em; max-width: 620px; }
.footer__claim small { display: block; margin-top: 10px; font-family: var(--f-mono); font-weight: 400; font-size: 12px; letter-spacing: .14em; color: var(--muted); }
.footer__nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer__nav a { color: var(--bone-2); font-size: 14px; }

.footer__word {
  font-family: var(--f-display); font-weight: 900; font-size: 31vw; line-height: .78; text-align: center;
  letter-spacing: -.02em; margin-top: 40px; background: linear-gradient(180deg, var(--blue-hi) 0%, var(--blue) 70%, var(--blue-deep) 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  user-select: none;
}
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 28px; padding-right: calc(var(--gutter) + 70px); color: var(--muted); border-top: 1px solid var(--line); }

.credit { display: inline-flex; align-items: center; gap: 10px; color: var(--bone-2); transition: color .3s; }
.credit img { height: 18px; width: auto; opacity: .85; transition: opacity .3s; }

/* ---------- Página legal ---------- */
.legal-head { position: sticky; top: 0; z-index: 10; background: rgba(14, 14, 15, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.legal-head__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.legal-head .nav__logo { margin-right: 0; }
.legal { padding-block: clamp(56px, 8vw, 110px); max-width: 860px; }
.legal .h2 { margin-bottom: 28px; }
.legal__toc { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(40px, 6vw, 72px); }
.legal__toc a { border: 1px solid var(--line-2); border-radius: 999px; padding: 8px 14px; font-size: 14px; color: var(--bone-2); transition: border-color .3s, color .3s; }

.legal section { padding-top: 32px; margin-top: 32px; border-top: 1px solid var(--line); scroll-margin-top: 80px; }
.legal h2 { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(32px, 4vw, 48px); line-height: .95; margin-bottom: 18px; }
.legal h3 { font-family: var(--f-mono); font-weight: 500; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-hi); margin: 26px 0 8px; }
.legal p, .legal li { color: var(--bone-2); max-width: 68ch; }
.legal p + p { margin-top: 14px; }
.legal ul { display: grid; gap: 10px; margin-top: 12px; }
.legal li { position: relative; padding-left: 20px; }
.legal li::before { content: ""; position: absolute; left: 0; top: .65em; width: 7px; height: 7px; background: var(--blue-hi); }
.legal b { color: var(--bone); font-weight: 600; }
.legal a:not(.btn) { color: var(--bone); text-decoration: underline; text-underline-offset: 3px; }
.legal__data { display: grid; margin: 18px 0; border-top: 1px solid var(--line); }
.legal__data div { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.legal__data dt { font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.legal__data dd { margin: 0; color: var(--bone); min-width: 0; overflow-wrap: anywhere; }
.legal__updated { margin-top: 48px; color: var(--muted); }
.legal-page .footer { padding-top: 0; }
.legal-page .footer__bottom { padding-right: var(--gutter); }
@media (max-width: 560px) { .legal__data div { grid-template-columns: 1fr; gap: 2px; } }
.footer__legal { color: var(--bone-2); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Pop-up: clase de prueba ---------- */
.trial {
  position: fixed; z-index: 120; left: 20px; bottom: 20px; width: min(400px, calc(100% - 40px));
  background: var(--ink-2); color: var(--white); border: 1px solid var(--line-2); border-radius: 6px;
  padding: 24px 24px 20px; box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
  transform: translateY(24px); opacity: 0; transition: transform .5s var(--ease), opacity .4s var(--ease);
}
.trial.is-on { transform: none; opacity: 1; }
.trial[hidden] { display: none; }
.trial__close {
  position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 50%; cursor: pointer;
  background: transparent; color: var(--white); border: 1px solid var(--line-2); font-size: 20px; line-height: 1;
  display: grid; place-items: center; transition: background .3s, color .3s, border-color .3s;
}

.trial__k { display: flex; align-items: center; gap: 10px; color: var(--blue-hi); margin-bottom: 12px; padding-right: 40px; }
.trial__dot { width: 8px; height: 8px; background: var(--neon); }
.trial__title { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: 32px; line-height: .95; padding-right: 32px; }
.trial__text { color: var(--bone-2); font-size: 15px; margin-top: 10px; }
.trial__text b { color: var(--white); font-weight: 600; word-break: break-all; }
.trial__form { margin-top: 16px; display: grid; gap: 12px; }
.trial__row { display: flex; gap: 8px; }
.trial__input {
  flex: 1; min-width: 0; height: 48px; padding: 0 16px; border-radius: 999px; font: 500 16px/1 var(--f-body);
  color: var(--white); background: var(--black); border: 1px solid var(--line-2); transition: border-color .3s;
}
.trial__input::placeholder { color: var(--muted); }
.trial__input:focus { outline: none; border-color: var(--neon); }
.trial__input[aria-invalid="true"] { border-color: #ff7a6b; }
.trial__send { height: 48px; padding: 0 20px; }
.trial__send[disabled] { opacity: .6; cursor: progress; }
.trial__check { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--bone-2); cursor: pointer; }
.trial__check input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--neon); cursor: pointer; }
.trial__check a { color: var(--white); text-decoration: underline; text-underline-offset: 2px; }
.trial__honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.trial__msg { font-size: 13px; color: #ff9d92; min-height: 0; }
.trial__msg:empty { display: none; }
.trial__msg a { color: var(--white); text-decoration: underline; }
.trial-on .wa-float, .js.trial-on .wa-float.is-on { opacity: 0; pointer-events: none; }
@media (max-width: 560px) {
  .trial { left: 0; right: 0; bottom: 0; width: 100%; border-radius: 14px 14px 0 0; border-width: 1px 0 0; padding: 22px 16px calc(18px + env(safe-area-inset-bottom, 0px)); }
  .trial__title { font-size: 28px; }
  .trial__row { flex-direction: column; }
  .trial__input { flex: none; width: 100%; }
  .trial__send { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .trial { transition: none; } }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 80; width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.35);
  transition: transform .4s var(--ease), opacity .4s;
}
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

.js .wa-float { opacity: 0; transform: translateY(20px); pointer-events: none; }
.js .wa-float.is-on { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- Revelado al hacer scroll (solo con JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in, .reveal-all .reveal { opacity: 1; transform: none; }

/* ---------- Sellos ATHX repartidos por la web ---------- */
.athx-badge {
  display: inline-flex; align-items: center; gap: 12px; padding: 8px 14px 8px 10px;
  border: 1px solid var(--line-2); border-radius: 6px; background: rgba(14, 14, 15, .55);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: border-color .3s;
}
.athx-badge img { height: 22px; width: auto; }
.athx-badge span { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; line-height: 1.35; color: var(--white); padding-left: 12px; border-left: 1px solid var(--line-2); }

.hero__athx { display: flex; flex-direction: column; gap: 6px; }
.hero__athx img { height: 26px; width: auto; align-self: flex-start; }
.hero__athx small { color: var(--bone-2); font-size: 13px; }
.nav__links a.nav__athx { color: var(--neon); }
.cls__flag {
  position: absolute; top: 16px; right: 16px; font: 700 11px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase;
  background: var(--neon); color: var(--black); padding: 7px 10px; border-radius: 3px;
}
.sheet__athx { display: inline-flex; align-items: center; gap: 12px; color: var(--neon); font-size: 14px; font-weight: 600; }
.sheet__athx img { height: 16px; width: auto; }
.sheet__badges { display: flex; gap: 14px; }
.sheet__badges img { height: 84px; width: auto; }

/* ---------- ATHX ---------- */
.athx { position: relative; isolation: isolate; overflow: hidden; background: var(--black); border-top: 1px solid var(--line); }
.athx__bg { position: absolute; inset: 0 0 auto 0; height: 80%; z-index: -1; }
.athx__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .28; filter: grayscale(1) contrast(1.1); }
.athx__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,14,15,.4) 0%, var(--black) 100%); }
.athx__grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.athx__logo { height: clamp(36px, 4vw, 52px); width: auto; margin-bottom: 36px; }
.athx .lead { margin-top: 28px; max-width: 560px; color: var(--bone-2); }
.athx .lead em { color: var(--white); font-weight: 600; }
.athx__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.athx__poster { border-radius: var(--r); overflow: hidden; box-shadow: 0 40px 100px rgba(0, 0, 0, .5); transform: rotate(2deg); transition: transform .8s var(--ease); }

.athx__poster img { width: 100%; height: auto; }
.athx__facts { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(64px, 8vw, 110px); border-top: 1px solid var(--line); }
.athx__facts li { padding: 24px 0; display: flex; flex-direction: column; gap: 4px; }
.athx__facts li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.athx__facts strong { font-family: var(--f-display); font-weight: 900; font-size: clamp(48px, 6vw, 88px); line-height: .9; color: var(--neon); }
.athx__facts span { color: var(--muted); font-size: 14px; }
.athx__zones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.athx__zones li { border: 1px solid var(--line); border-radius: var(--r); padding: 26px; background: var(--ink-2); transition: border-color .4s, transform .5s var(--ease); }

.athx__zones .mono { color: var(--blue-hi); }
.athx__zones h3 { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(36px, 3.6vw, 56px); line-height: .95; margin: 40px 0 10px; }
.athx__zones p { color: var(--bone-2); font-size: 15px; }
.athx__foot { display: grid; grid-template-columns: 7fr 5fr; gap: 24px clamp(32px, 6vw, 96px); align-items: start; margin-top: 40px; }
.athx__foot .more { margin-top: 0; }
.athx__next { display: flex; flex-direction: column; gap: 6px; padding: 22px 24px; border: 1.5px solid var(--neon); border-radius: var(--r); transition: background .3s, color .3s; }
.athx__next .mono { color: var(--neon); }
.athx__next strong { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: 28px; line-height: 1; }
.athx__next span:last-child { color: var(--bone-2); font-size: 14px; }

.athx__events { display: flex; flex-direction: column; gap: 14px; }
.athx__events > .mono { color: var(--neon); }
.athx__posters { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.athx__poster-ev { display: flex; flex-direction: column; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--ink-2); transition: border-color .3s, transform .5s var(--ease); }
.athx__poster-ev img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }
.athx__poster-ev span { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px 14px; font-size: 13px; color: var(--bone-2); }
.athx__poster-ev strong { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: 24px; line-height: 1; color: var(--bone); }

.athx-strip { display: flex; align-items: center; gap: 24px; margin-top: clamp(64px, 8vw, 110px); padding: 10px; padding-right: 28px; border: 1px solid var(--line); border-radius: var(--r); transition: border-color .3s; }
.athx-strip img { height: 96px; width: auto; border-radius: 2px; }
.athx-strip span { color: var(--bone-2); font-size: 16px; }
.athx-strip strong { color: var(--bone); display: block; font-size: 18px; }

.athx-strip + .plans { margin-top: 14px; }

/* ---------- Coaches con foto ---------- */

/* ---------- Galería compacta ---------- */
.gallery { padding: clamp(72px, 9vw, 120px) 0; border-top: 1px solid var(--line); }
.gallery__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.gallery__head .eyebrow { margin-bottom: 14px; }
.gallery__title { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(36px, 4.4vw, 64px); line-height: .9; }
.gallery__strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; padding: 0 var(--gutter); max-width: var(--maxw); margin: 0 auto; }
.gallery__thumb, .gal__item { display: block; padding: 0; border: 0; background: var(--ink-3); cursor: zoom-in; overflow: hidden; border-radius: 3px; }
.gallery__thumb img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(.4); transition: filter .5s, transform .9s var(--ease); }

.gal {
  padding: 0; border: 0; border-radius: 6px; width: min(1240px, calc(100% - 32px)); height: calc(100% - 32px); max-height: none; container-type: inline-size;
  background: var(--black); color: var(--white); overflow: hidden;
}
.gal[open] { display: flex; flex-direction: column; animation: sheetIn .45s var(--ease); }
.gal::backdrop { background: rgba(14, 14, 15, .85); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.gal__bar { display: flex; align-items: center; gap: 16px; padding: 12px 14px 12px 22px; border-bottom: 1px solid rgba(241,238,232,.12); }
.gal__bar p { color: #8aa6d6; margin-right: auto; }
.gal__back { background: none; border: 1px solid rgba(241,238,232,.3); color: var(--white); border-radius: 999px; padding: 9px 14px; font: 600 13px/1 var(--f-body); cursor: pointer; }

.gal__close { position: static; margin: 0; }
/* Rejilla que se recorre de arriba abajo. La primera foto ocupa 2×2: 1 grande + 16 pequeñas
   = 20 casillas, que cuadran exactas en 4 columnas (escritorio) y en 2 (móvil). Sin huecos. */
.gal__grid {
  flex: 1; min-height: 0; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; padding: 10px;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-flow: dense; gap: 6px; align-content: start;
  /* Alto de fila = ancho de columna × 1,25 (4:5), calculado sobre el ancho del diálogo */
  grid-auto-rows: calc((100cqw - 38px) / 4 * 1.25);
}
.gal__grid[hidden] { display: none; }
.gal__item { position: relative; border-radius: 2px; }
.gal__item:first-child { grid-column: span 2; grid-row: span 2; }
.gal__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .3s, transform .8s var(--ease); }

.gal__view { flex: 1; position: relative; display: grid; place-items: center; min-height: 0; padding: 14px 64px; }
.gal__view[hidden] { display: none; }
.gal__view img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 3px; }
.gal__nav {
  position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; cursor: pointer;
  background: rgba(14,14,15,.7); color: var(--white); border: 1px solid rgba(241,238,232,.3); font-size: 28px; line-height: 1;
}

.gal__nav--prev { left: 10px; } .gal__nav--next { right: 10px; }

/* ---------- Partners ---------- */
.partners { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.partners .mono { color: var(--muted); }
.partners ul { display: flex; align-items: center; gap: 12px clamp(24px, 3.4vw, 48px); flex-wrap: wrap; }
.partners li { height: 56px; display: flex; align-items: center; }
.partners img { height: 24px; width: auto; max-width: 150px; object-fit: contain; opacity: .75; transition: opacity .3s; }
.partners img.partners__badge { height: 52px; }
.partners img.partners__mau { height: 40px; }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .pillar:nth-child(2) { border-right: 0; }
  .pillar:nth-child(3) { padding-left: 0; }
  .pillar:nth-child(n+3) { border-top: 1px solid var(--line); }
  .plans { grid-template-columns: repeat(2, 1fr); }
  .cls { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .athx__zones h3 { margin-top: 24px; }
  .cls__card--wide:not(:first-child) { grid-column: auto; }
  .cls__card--full { min-height: clamp(360px, 34vw, 480px); }
  .cls__card--full .cls__name { font-size: clamp(28px, 3.4vw, 42px); line-height: .95; }
}

@media (max-width: 860px) {
  body { font-size: 16px; }
  .nav__cta { display: none; }
  .hero__meta { grid-template-columns: 1fr 1fr; }
  .hero__meta > div:nth-child(3) { grid-column: 1 / -1; }
  .hero__scroll { display: none; }
  .hero__top .hide-sm { display: none; }
  .hero__intro { gap: 20px; }
  .athx-badge img { height: 18px; }
  .hero__knock span { transform: translateY(-34%); }
  .hero__hint { display: none; }
  .hero__intro-aside { gap: 14px; }
  .hero__intro-aside p { font-size: 14px; }
  .hero__foot { flex-direction: column; align-items: flex-start; gap: 28px; }
  .about__grid, .schedule__grid, .faq__grid, .voices__rating, .contact__grid { grid-template-columns: 1fr; }
  .about__figure img { aspect-ratio: 4 / 3; }
  .cls__card { min-height: 320px; }
  .sheet[open] { grid-template-columns: 1fr; }
  .sheet__media { min-height: 0; height: 200px; }
  .sheet__body { grid-area: 2 / 1; }
  .coaches__grid { grid-template-columns: 1fr; }
  .athx__grid, .athx__foot { grid-template-columns: 1fr; }
  .athx__poster { max-width: 420px; transform: none; }
  .athx__zones { grid-template-columns: 1fr; }
  .athx__facts li + li { padding-left: 16px; }
  .athx-strip { flex-direction: column; align-items: flex-start; padding: 10px 10px 18px; gap: 14px; }
  .athx-strip img { height: auto; width: 100%; }
  .athx-strip span { padding: 0 8px; }
  .gallery__strip { grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 0 16px; }
  .gal { width: 100%; height: 100%; border-radius: 0; }
  .gal__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 6px; gap: 4px; grid-auto-rows: calc((100cqw - 16px) / 2 * 1.25); }
  .gal__view { padding: 10px; }
  .gal__nav { top: auto; bottom: 16px; transform: none; }
  .sheet__badges img { height: 64px; }
  .audience__grid { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; }
  .bento__a { grid-column: 1 / -1; min-height: 320px; grid-row: auto; }
  .bento__b { grid-column: 1 / -1; min-height: 260px; grid-row: auto; }
  .bento__c { grid-column: 1 / 2; min-height: 220px; }
  .bento__d { grid-column: 2 / 3; min-height: 220px; }
  .band { min-height: 70vh; }
}

@media (max-width: 560px) {
  .coach__photo { aspect-ratio: 4 / 3; }
  .cls { grid-template-columns: 1fr; }
  .cls__card, .cls__card--wide, .cls__card:last-child { grid-column: auto; min-height: 300px; }
  .pillars, .plans { grid-template-columns: 1fr; }
  .pillar, .pillar + .pillar { padding-left: 0; padding-right: 0; border-right: 0; }
  .pillar + .pillar { border-top: 1px solid var(--line); }
  .pillar h3 { margin-top: 28px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(even) { padding-left: 16px; }
  .stat { padding-right: 12px; }
  .bento__c, .bento__d { grid-column: 1 / -1; }
  .hours th { font-size: 20px; }
  .hours td { font-size: 14px; }
  .btn--xl { padding: 18px 26px; font-size: 16px; }
  .wa-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
}

/* Móviles bajos: el lema ya sale grande al abrirse el hero, aquí sobra */
@media (max-width: 560px) and (max-height: 720px) {
  .hero__claim { display: none; }
}

/* Movimiento reducido: solo desactivamos lo intrusivo (bucles infinitos y desplazamientos grandes) */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee__track { animation-duration: 90s; }
  .hero__video { transform: none; }
  .hero__hint::before { animation: none; }
}

/* ---------- Hover solo con ratón: en móvil no se queda «pegado» tras tocar ---------- */
@media (hover: hover) and (pointer: fine) {
  .btn:hover svg { transform: translateX(4px); }
  .btn--neon:hover { background: var(--black); color: var(--neon); border-color: var(--neon); box-shadow: 0 0 28px rgba(229, 255, 31, .28); }
  .btn--ghost:hover { border-color: var(--bone); }
  .btn--line:hover { background: var(--neon); color: var(--black); border-color: var(--neon); }
  .btn--line:hover svg { transform: translate(3px, -3px); }
  .nav__links a:hover { color: var(--bone); }
  .nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
  .marquee:hover .marquee__track { animation-play-state: paused; }
  .cls__card:hover > img { transform: scale(1.05); filter: none; }
  .cls__more:hover { background: var(--black); color: var(--neon); }
  .cls__more:hover span { transform: rotate(90deg); }
  .sheet__close:hover { background: var(--neon); color: var(--black); border-color: var(--neon); }
  .aud:hover { border-color: var(--blue-hi); transform: translateY(-6px); }
  .aud:hover img { filter: grayscale(0); transform: scale(1.04); }
  .coach:hover .coach__initial { transform: translateY(-12px); }
  .coach:hover .coach__photo img { transform: scale(1.04); }
  .coach .btn--line:hover { color: var(--black); }
  .bento figure:hover img { transform: scale(1.05); }
  .amen li:hover { border-color: var(--bone); color: var(--bone); }
  .plan:hover { border-color: var(--line-2); transform: translateY(-6px); }
  .voices__src a:hover { background: rgba(241, 238, 232, .12); border-color: var(--white); }
  .faq summary:hover { color: var(--blue-hi); }
  .contact__info a:hover { color: var(--blue-hi); }
  .footer__nav a:hover { color: var(--blue-hi); }
  .credit:hover { color: var(--bone); }
  .credit:hover img { opacity: 1; }
  .legal__toc a:hover { border-color: var(--neon); color: var(--bone); }
  .footer__legal:hover { color: var(--bone); }
  .trial__close:hover { background: var(--neon); color: var(--black); border-color: var(--neon); }
  .wa-float:hover { transform: scale(1.08); }
  .athx-badge:hover { border-color: var(--neon); }
  .athx__poster:hover { transform: rotate(0); }
  .athx__zones li:hover { border-color: var(--blue-hi); transform: translateY(-6px); }
  .athx__next:hover { background: var(--neon); color: var(--black); }
  .athx__next:hover .mono, .athx__next:hover span:last-child { color: var(--black); }
  .athx__poster-ev:hover { border-color: var(--neon); transform: translateY(-4px); }
  .athx-strip:hover { border-color: var(--neon); }
  .gallery__thumb:hover img { filter: none; transform: scale(1.05); }
  .gal__back:hover { border-color: var(--neon); color: var(--neon); }
  .gal__item:hover img { transform: scale(1.04); }
  .gal__nav:hover { background: var(--neon); color: var(--black); border-color: var(--neon); }
  .partners img:hover { opacity: 1; }
}

/* ---------- Toque en móvil: sin destello, sin retardo y con respuesta al pulsar ---------- */
html { -webkit-tap-highlight-color: transparent; }
a, button, summary, label[for] { touch-action: manipulation; }
button, .btn, .cls__more, .gallery__thumb, .gal__item { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.btn:active, .cls__more:active, .trial__close:active, .sheet__close:active, .gal__nav:active { transform: scale(.97); }
.gallery__thumb:active, .gal__item:active { opacity: .85; }

/* La foto panorámica de «El box» solo en pantallas grandes: en móvil no aporta */
@media (max-width: 767px) { .about__figure { display: none; } }
