/* KRAFT — main.css
   Estética: oscuro, brutal, tipográfico. Sin gradientes, sin sombras decorativas.
   Inspirado en el lenguaje de next.youngcapital.nl y thegrind.nl:
   tipografía enorme que ocupa el ancho, bloques planos, acentos cromáticos puntuales.
*/

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-2, #333); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--muted-2, #555); }
* { scrollbar-width: thin; scrollbar-color: var(--border-2, #333) transparent; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }

/* ─── TOKENS ───
   Paleta: cancha (negro profundo) + paredes (gris claro) + acento del logo.
   Negros y grises neutros, sin tintes verdes.
*/
:root {
  /* Near-black — fondo oscuro dramático (secciones dark, nav, footer) */
  --bg: #111210;
  --surface: #1b1e1a;
  --surface-2: #252823;
  --surface-3: #2f332c;
  /* Blanco limpio — secciones claras al estilo Fenriz */
  --wall: #f5f4f0;
  --wall-2: #eae8e1;
  --wall-3: #d4d0c7;
  /* Tinta oscura para texto sobre secciones claras */
  --ink: #0d0f0c;
  --ink-soft: #3a3d38;
  /* Acento principal — lima KRAFT */
  --accent: #a8e63d;
  --accent-2: #c1f060;
  --accent-ink: #0c1409;
  /* Acento decorativo coral */
  --accent-coral: #e8483b;
  /* Cream para texto sobre secciones oscuras */
  --text: #f0ede4;
  --muted: #6b7267;
  --muted-2: #9ba294;
  --danger: #e8483b;
  --border: #272a25;
  --border-2: #363c33;
}

/* ─── TYPOGRAPHY ─── */
.display, h1.display {
  font-family: 'Big Shoulders Display', 'Space Grotesk', sans-serif;
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 0.92;
  text-transform: uppercase;
}
h1, h2, h3, h4 {
  font-family: 'Big Shoulders Display', 'Space Grotesk', sans-serif;
  font-weight: 900;
  letter-spacing: -0.005em;
  line-height: 0.95;
  text-transform: uppercase;
}
h1 { font-size: clamp(48px, 10vw, 140px); }
h2 { font-size: clamp(32px, 5vw, 64px); }
h3 { font-size: clamp(22px, 3vw, 32px); }
.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before {
  content: '';
  width: 24px; height: 1px;
  background: var(--accent);
  display: inline-block;
  flex-shrink: 0;
}
.section-light .eyebrow { color: var(--ink); }
.section-light .eyebrow::before { background: var(--ink); }
.mono { font-family: 'JetBrains Mono', ui-monospace, monospace; }

/* ─── LAYOUT ─── */
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.wrap-wide { max-width: 1380px; margin: 0 auto; padding: 0 24px; }
@media (min-width: 900px) { .wrap, .wrap-wide { padding: 0 72px; } }
@media (min-width: 1400px) { .wrap, .wrap-wide { padding: 0 120px; } }

/* ─── NAV — Twice style: transparente sobre hero, sólido al scrollear ─── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 40px;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.45s ease, border-color 0.45s ease, padding 0.3s ease;
}
.nav.scrolled {
  background: rgba(17,18,16,0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(240,237,228,0.08);
  padding-top: 16px;
  padding-bottom: 16px;
}
/* Logo — centrado absoluto */
.nav-logo {
  position: absolute;
  left: 50%; transform: translateX(-50%);
  font-family: 'Big Shoulders Display', 'Space Grotesk', sans-serif;
  font-weight: 900; font-size: 26px;
  letter-spacing: -0.04em; text-transform: uppercase;
  display: flex; align-items: center; gap: 8px;
  color: #fff; line-height: 1;
  transition: opacity 0.2s;
}
.nav-logo:hover { opacity: 0.8; }
/* Links izq / der */
.nav-split {
  display: flex; align-items: center; gap: 0;
}
.nav-split--right { margin-left: auto; }
.nav-link {
  font-family: 'Inter', sans-serif;
  font-size: 11px; font-weight: 600;
  padding: 8px 16px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  transition: color 0.18s;
  position: relative;
}
.nav-link:hover { color: #fff; }
.nav-link::after {
  content: ''; position: absolute;
  left: 16px; right: 16px; bottom: 2px;
  height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.25s ease;
}
.nav-link:hover::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 8px; margin-left: 8px; }
/* Mobile: ocultar links, mostrar hamburger */
.nav-split { display: none; }
@media (min-width: 900px) { .nav-split { display: flex; } }
.nav-hamburger {
  display: flex; flex-direction: column; gap: 5px;
  padding: 8px; cursor: pointer; background: none; border: 0;
}
.nav-hamburger span { display: block; width: 22px; height: 2px; background: #fff; }
.desktop-only-hide { display: flex; }
@media (min-width: 900px) { .desktop-only-hide { display: none; } }

/* ─── HERO VIDEO ─── */
.hv {
  position: relative;
  width: 100%; height: 100vh;
  min-height: 560px;
  overflow: hidden;
  background: #000;
}

/* Poster borroso — se ve mientras carga */
.hv-poster {
  position: absolute; inset: 0; z-index: 1;
  background-size: cover; background-position: center;
}
.hv-poster.gone { opacity: 0; pointer-events: none; }

/* Overlay */
.hv-overlay {
  position: absolute; inset: 0; z-index: 3;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.28) 0%,
    rgba(0,0,0,0.10) 35%,
    rgba(0,0,0,0.10) 60%,
    rgba(0,0,0,0.55) 100%
  );
}

/* Contenido central */
.hv-content {
  position: absolute; inset: 0; z-index: 5;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 40px;
}

/* Título */
.hv-title {
  text-align: center;
  font-family: 'Big Shoulders Display', 'Space Grotesk', sans-serif;
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: #fff;
  display: flex; flex-direction: column; align-items: center;
  gap: 0;
}
/* "KRAFT." — tamaño desktop original (controlado sólo por CSS, sin JS) */
.hv-line--brand {
  font-size: clamp(48px, 8vw, 130px);
  color: rgba(255,255,255,0.9);
  letter-spacing: -0.02em;
}
/* Línea 1 — slide-up reveal */
.hv-line-wrap {
  display: block; overflow: hidden;
  padding-bottom: 0.07em;
}
.hv-line {
  display: block;
  transform: translateY(105%);
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.hv-line.revealed { transform: translateY(0); }

/* Línea 2 — switch word (palabra rotante enorme) */
.hv-switch-wrap {
  font-size: clamp(90px, 17vw, 260px);
  display: block;
  overflow: hidden;
  clip-path: inset(0);          /* clip duro para que no se filtre nada */
  height: 0.85em;               /* cap-height de Big Shoulders Display */
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.hv-switch-wrap.revealed { opacity: 1; transform: translateY(0); }
.hv-switch-track {
  display: flex; flex-direction: column;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
.hv-word {
  flex-shrink: 0; display: block;
  height: 0.85em;               /* debe coincidir con .hv-switch-wrap height */
  line-height: 0.85;
  color: var(--accent);         /* verde KRAFT */
}

/* CTA */
.hv-cta {
  display: flex; gap: 16px; flex-wrap: wrap; justify-content: center;
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.hv-cta.revealed { opacity: 1; transform: translateY(0); }

/* Esquinas info */
.hv-corner {
  position: absolute; z-index: 6;
  display: flex; flex-direction: column; gap: 3px;
  opacity: 0; transition: opacity 0.8s ease;
}
.hv-corner.revealed { opacity: 1; }
.hv-corner--bl { bottom: 36px; left: 40px; }
.hv-corner--br { bottom: 36px; right: 40px; text-align: right; }
.hv-corner--bc {
  bottom: 36px; left: 50%; transform: translateX(-50%);
  text-align: center; align-items: center;
}
.hv-corner-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px; letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(255,255,255,0.45);
}
.hv-corner-val {
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 700; font-size: 16px;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: rgba(255,255,255,0.9);
}

/* Scroll indicator */
.hv-scroll {
  position: absolute; bottom: 36px; left: 50%;
  transform: translateX(-50%);
  z-index: 6; display: flex; flex-direction: column;
  align-items: center; gap: 8px;
  opacity: 0; transition: opacity 0.8s ease;
}
.hv-scroll.revealed { opacity: 1; }
.hv-scroll-line {
  width: 1px; height: 48px; background: rgba(255,255,255,0.35);
  animation: scrollPulse 2s ease-in-out infinite;
}
.hv-scroll-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px; letter-spacing: 0.22em;
  text-transform: uppercase; color: rgba(255,255,255,0.4);
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.35; transform: scaleY(1); }
  50%       { opacity: 0.8;  transform: scaleY(1.3); }
}

/* Stats strip debajo del hero */
.hero-stats-strip {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.hero-stats-strip .hero-stat-grid {
  margin-top: 0;
  padding: 24px 0;
}

/* Mobile */
@media (max-width: 899px) {
  .nav { padding: 18px 20px; }
  .hv-title { font-size: clamp(64px, 18vw, 130px); }
  .hv-corner--bl { left: 20px; bottom: 24px; }
  .hv-corner--br { right: 20px; bottom: 24px; }
  .hv-scroll { display: none; }
  .hv-cta { flex-direction: row; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; }
}

.avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent); color: var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Big Shoulders Display', 'Space Grotesk'; font-weight: 900;
  font-size: 14px;
  letter-spacing: -0.02em;
}

/* Mobile sheet */
.mobile-sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 100;
  background: var(--surface);
  border-top: 1px solid var(--border);
  transform: translateY(100%);
  transition: transform 0.25s ease;
  padding: 24px;
  max-height: 80vh;
  overflow-y: auto;
}
.mobile-sheet.open { transform: translateY(0); }
.mobile-sheet-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.6);
  z-index: 99; opacity: 0; pointer-events: none;
  transition: opacity 0.2s;
}
.mobile-sheet-overlay.open { opacity: 1; pointer-events: auto; }
.mobile-sheet a {
  display: block; padding: 16px 0;
  font-family: 'Big Shoulders Display', 'Space Grotesk'; font-size: 22px; font-weight: 700;
  letter-spacing: -0.03em;
  border-bottom: 1px solid var(--border);
}
.mobile-sheet a:last-child { border-bottom: 0; }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  background: transparent;
  border: 2px solid var(--text);
  color: var(--text);
  font-family: 'Big Shoulders Display', 'Space Grotesk', sans-serif;
  font-weight: 800;
  letter-spacing: 0.02em;
  font-size: 16px;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s cubic-bezier(0.16,1,0.3,1);
  cursor: pointer;
  border-radius: 999px;
}
.btn:hover { background: var(--text); color: var(--bg); border-color: var(--text); }
.btn-primary {
  background: var(--accent); color: var(--accent-ink); border-color: var(--accent);
}
.btn-primary:hover { background: var(--accent-2); border-color: rgba(0,0,0,0.7); color: var(--accent-ink); transform: translateY(-2px); }
.btn-ghost { border-color: transparent; }
.btn-ghost:hover { border-color: rgba(255,255,255,0.4); background: rgba(255,255,255,0.08); color: #fff; }
.btn-danger { border-color: var(--danger); color: var(--danger); }
.btn-danger:hover { background: var(--danger); color: var(--text); }
/* Botón outline blanco — para usar sobre fondos oscuros/video */
.btn-outline-white {
  border-color: rgba(255,255,255,0.5); color: #fff; background: transparent;
}
.btn-outline-white:hover {
  background: #fff; color: #000; border-color: #fff; transform: translateY(-2px);
}
.btn-lg { padding: 22px 36px; font-size: 19px; letter-spacing: 0.03em; }
.btn-block { width: 100%; }
.btn-sm { padding: 8px 12px; font-size: 12px; }
.btn-icon { padding: 10px; }

/* ─── CARDS ─── */
.card {
  background: var(--surface);
  border: 1px solid var(--border-2);
  padding: 32px;
  border-radius: 16px;
}
.card-padded-lg { padding: 48px; border-radius: 16px; }
.card-clickable { cursor: pointer; transition: border-color 0.1s, background 0.1s; }
.card-clickable:hover { border-color: var(--accent); }
.card-accent { border-left: 3px solid var(--accent); }

/* ─── FORMS ─── */
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 11px; letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--muted-2);
}
.input, .select, .textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 14px 16px;
  font-family: 'Inter';
  font-size: 15px;
  transition: border-color 0.1s;
  border-radius: 0;
}
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.textarea { resize: vertical; min-height: 100px; }
.checkbox-row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color 0.1s;
}
.checkbox-row:hover { border-color: var(--border-2); }
.checkbox-row input { accent-color: var(--accent); }

/* ─── BADGES ─── */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 8px;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  background: var(--bg);
  border: 1px solid var(--border-2);
  color: var(--muted-2);
}
.badge-accent { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.badge-win { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.badge-loss { background: var(--danger); color: var(--text); border-color: var(--danger); }
.badge-tie { background: var(--surface-2); color: var(--muted-2); border-color: var(--border); }

/* ─── PASSPORT (pelotitas) ─── */
.passport-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 300px;
}
.passport-ball {
  aspect-ratio: 1;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.passport-ball.filled {
  background: var(--accent);
  border: 2px solid var(--accent);
}
.passport-ball.filled::before,
.passport-ball.filled::after {
  content: '';
  position: absolute;
  width: 80%; height: 80%;
  border: 1.5px solid rgba(255,255,255,0.7);
  border-radius: 50%;
  clip-path: inset(45% 0 45% 0);
}
.passport-ball.filled::after { transform: rotate(90deg); }
.passport-ball.empty {
  border: 2px dashed var(--border-2);
  background: transparent;
}
.passport-ball.just-filled { animation: ballPop 0.3s ease-out; }
@keyframes ballPop {
  0% { transform: scale(0); }
  70% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

/* ─── UTILITIES ─── */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-4 { gap: 4px; } .gap-8 { gap: 8px; } .gap-12 { gap: 12px; }
.gap-16 { gap: 16px; } .gap-24 { gap: 24px; } .gap-32 { gap: 32px; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; } .mt-48 { margin-top: 48px; } .mt-64 { margin-top: 64px; }
.mb-8 { margin-bottom: 8px; } .mb-16 { margin-bottom: 16px; } .mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; } .mb-48 { margin-bottom: 48px; }
.text-muted { color: var(--muted-2); }
.text-accent { color: var(--accent); }
.text-danger { color: var(--danger); }
.text-center { text-align: center; }
.text-right { text-align: right; }
.w-full { width: 100%; }
.hidden { display: none !important; }
.divider { height: 1px; background: var(--border); margin: 24px 0; }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: 1fr 1fr; } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

/* ─── TOAST ─── */
.toast-container {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  z-index: 200;
  display: flex; flex-direction: column; gap: 8px;
  pointer-events: none;
}
.toast {
  background: var(--surface);
  border: 1px solid var(--border-2);
  padding: 14px 20px;
  font-size: 14px;
  max-width: 420px;
  animation: toastIn 0.2s ease-out;
  pointer-events: auto;
  border-left: 3px solid var(--accent);
}
.toast.toast-error { border-left-color: var(--danger); }
@keyframes toastIn {
  from { transform: translateY(10px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ─── MODAL ─── */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.7);
  display: flex; align-items: center; justify-content: center;
  z-index: 150;
  padding: 24px;
}
.modal {
  background: var(--surface);
  border: 1px solid var(--border-2);
  padding: 32px;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
}
.modal-close {
  position: absolute; top: 16px; right: 16px;
  font-size: 24px; padding: 8px; line-height: 1;
}

/* ─── HERO (landing) ─── */
.hero {
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.hero-eyebrow {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 32px;
}
.hero-eyebrow-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

.hero-title {
  font-family: 'Big Shoulders Display', 'Space Grotesk'; font-weight: 900;
  font-size: clamp(72px, 22vw, 320px);
  line-height: 0.82;
  letter-spacing: -0.07em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-subtitle {
  font-family: 'Big Shoulders Display', 'Space Grotesk'; font-weight: 900;
  font-size: clamp(24px, 3.5vw, 44px);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 24px;
}
.hero-desc {
  max-width: 560px; color: var(--text);
  font-size: 17px;
  margin-bottom: 40px;
}
.hero-ctas {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-bottom: 40px;
}
.hero-indicator {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--muted-2);
  padding: 8px 14px;
  border: 1px solid var(--border);
}
.hero-indicator-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
}

/* Horizontal marquee — accent strip */
.marquee {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  overflow: hidden;
  padding: 20px 0;
}
.marquee-inner {
  display: flex; gap: 48px;
  animation: marquee 30s linear infinite;
  white-space: nowrap;
  font-family: 'Big Shoulders Display', 'Space Grotesk'; font-weight: 900;
  font-size: 28px; letter-spacing: -0.03em;
  text-transform: uppercase;
}
.marquee-inner span.accent { color: var(--accent); }
.marquee-inner .dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--muted); align-self: center;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ─── SECTION ─── */
.section { padding: 140px 0; border-bottom: 1px solid var(--border); position: relative; }
@media (max-width: 900px) { .section { padding: 80px 0; } }
.section-header {
  display: flex; flex-direction: column; gap: 16px;
  margin-bottom: 72px;
}
@media (min-width: 900px) {
  .section-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 48px;
  }
}
.section-title {
  font-family: 'Big Shoulders Display', 'Space Grotesk'; font-weight: 900;
  font-size: clamp(48px, 8vw, 124px);
  letter-spacing: -0.005em;
  line-height: 0.92;
  text-transform: uppercase;
}

/* ─── BRUTAL: número de capítulo GIGANTE outline al fondo ─── */
.chapter {
  position: relative;
  padding: 140px 0;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
@media (max-width: 900px) { .chapter { padding: 90px 0; } }
.chapter-num {
  position: absolute;
  top: 40px;
  right: -20px;
  font-family: 'Big Shoulders Display', 'Space Grotesk', sans-serif;
  font-weight: 900;
  font-size: clamp(180px, 28vw, 480px);
  line-height: 0.78;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 2px var(--border-2);
  text-stroke: 2px var(--border-2);
  pointer-events: none;
  z-index: 0;
  user-select: none;
}
.section-light .chapter-num { -webkit-text-stroke-color: var(--wall-3); text-stroke-color: var(--wall-3); }
.chapter-inner { position: relative; z-index: 1; }

/* Edge label — etiqueta brutal en borde superior de sección */
.edge-label {
  position: absolute;
  top: 24px; left: 0; right: 0;
  display: flex; justify-content: space-between;
  padding: 0 72px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted-2);
  z-index: 2;
  pointer-events: none;
}
.section-light .edge-label { color: var(--ink-soft); }

/* Hero brutal — applied across pages */
/* Hero brand label */
.hero-brand-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(240,237,228,0.45);
  margin-bottom: 20px;
  display: none; /* se oculta: el nav ya tiene el logo */
}

/* Hero stat grid — datos secundarios, discretos */
.hero-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-top: 24px;
  border-top: 1px solid rgba(240,237,228,0.12);
}
@media (min-width: 700px) { .hero-stat-grid { grid-template-columns: repeat(4, 1fr); } }
.hero-stat-grid > div {
  padding: 16px 16px 16px 0;
  border-right: 1px solid rgba(240,237,228,0.07);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(240,237,228,0.35);
  line-height: 1.5;
}
.hero-stat-grid > div:last-child { border-right: 0; }
.hero-stat-grid strong {
  display: block;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 17px;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: rgba(240,237,228,0.7);
  margin-bottom: 5px;
  text-transform: none;
}
.section-meta {
  color: var(--muted-2); font-size: 14px;
  max-width: 360px;
}

/* Big service cards (pádel / gym) */
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 40px;
  display: flex; flex-direction: column;
  min-height: 480px;
  transition: border-color 0.1s;
}
.service-card:hover { border-color: var(--accent); }
.service-card-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}
.service-card-title {
  font-family: 'Big Shoulders Display', 'Space Grotesk'; font-weight: 900;
  font-size: clamp(40px, 5vw, 72px);
  letter-spacing: -0.04em;
  line-height: 0.9;
  text-transform: uppercase;
  margin: 16px 0 24px;
}
.service-card-body { color: var(--muted-2); margin-bottom: 32px; font-size: 15px; }
.service-card-prices {
  display: flex; flex-direction: column; gap: 8px;
  padding: 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  margin-bottom: 24px;
}
.service-card-price-row {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 14px;
}
.service-card-price-row strong {
  font-family: 'Big Shoulders Display', 'Space Grotesk'; font-size: 20px; letter-spacing: -0.02em;
}
.service-card-foot { margin-top: auto; }

/* ─── FOOTER ─── */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
@media (min-width: 800px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}
.footer-big {
  font-family: 'Big Shoulders Display', 'Space Grotesk'; font-weight: 900;
  font-size: clamp(64px, 12vw, 160px);
  letter-spacing: -0.06em;
  line-height: 0.85;
  text-transform: uppercase;
}
.footer h4 {
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted-2); margin-bottom: 16px;
  font-family: 'Inter'; font-weight: 500;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex; justify-content: space-between; gap: 16px;
  flex-wrap: wrap;
  font-size: 12px; color: var(--muted-2);
}

/* ─── AUTH MODAL ─── */
.auth-card {
  max-width: 420px; width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 40px;
}
.auth-tabs { display: flex; gap: 0; margin-bottom: 32px; border-bottom: 1px solid var(--border); }
.auth-tab {
  padding: 12px 0; flex: 1;
  font-family: 'Big Shoulders Display', 'Space Grotesk'; font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  font-size: 14px;
  color: var(--muted-2);
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: color 0.1s, border-color 0.1s;
  margin-bottom: -1px;
}
.auth-tab.active { color: var(--accent); border-bottom-color: var(--accent); }

/* ─────────────────────────────────────────────────────────────
   PROMO / IMPACT — estilo fenriz / thegrind
   Tipografía masiva, bloques cancha-negros, paredes blanco-gris.
   ───────────────────────────────────────────────────────────── */

/* Hero editorial — oscuro dramático estilo Fenriz */
.hero-impact {
  position: relative;
  z-index: 55;
  border-bottom: 1px solid var(--border);
  overflow: visible;
  background: var(--bg);
  color: var(--text);
  height: 100vh;
  min-height: 600px;
  margin-top: -76px; /* sube detrás del nav — imagen integrada como en Fenriz */
  display: flex; align-items: flex-end;
}
/* Rail vertical — coordinates editorial mark */
.hero-coords {
  position: absolute;
  top: 50%; left: 24px;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: left center;
  display: flex; align-items: center; gap: 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted-2);
  z-index: 3;
  pointer-events: none;
  white-space: nowrap;
}
.hero-coords-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent-coral);
  display: inline-block;
}
@media (max-width: 1000px) { .hero-coords { display: none; } }

/* Live indicator pill — pulsing dot */
.hero-live {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 14px;
  background: rgba(232,72,59,0.12);
  border: 1px solid rgba(232,72,59,0.4);
  border-radius: 4px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-coral);
  margin-bottom: 32px;
}
.hero-live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent-coral);
  display: inline-block;
  animation: livePulse 1.4s ease-out infinite;
}
@keyframes livePulse {
  0%   { box-shadow: 0 0 0 0 rgba(232,72,59,0.7); }
  70%  { box-shadow: 0 0 0 10px rgba(232,72,59,0); }
  100% { box-shadow: 0 0 0 0 rgba(232,72,59,0); }
}
.hero-impact .hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: 60% center; /* Centra en Tapia */
  z-index: 0;
}
.hero-impact .hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  /* Oscuro a la izquierda (texto legible) → transparente a la derecha (foto visible) */
  background:
    linear-gradient(100deg, rgba(10,13,9,0.92) 0%, rgba(10,13,9,0.75) 38%, rgba(10,13,9,0.25) 62%, transparent 80%),
    linear-gradient(180deg, rgba(10,13,9,0.3) 0%, rgba(10,13,9,0.1) 50%, rgba(10,13,9,0.5) 100%);
}

/* ── Jugador sticky: absolute dentro del hero, scrollea con él ── */
.hero-sticky-player {
  position: absolute;
  top: -8vh;        /* sube por encima del borde del hero, sobre el nav */
  right: 0%;
  height: 118vh;
  width: auto;
  object-fit: contain;
  object-position: top center;
  pointer-events: none;
  user-select: none;
  z-index: 10;      /* dentro del stacking context del hero (z-index: 55) */
}
@media (max-width: 900px) {
  .hero-sticky-player {
    height: 80vh;
    top: 0;
    right: 0;
    opacity: 0.85;
  }
}

/* ── Panel vertical de luz verde estilo Fenriz (~30% width sobre el jugador) ── */
.hero-light-stripe {
  position: absolute;
  top: 0; bottom: 0;
  left: calc(63% + 65px); right: calc(21% - 45px);
  z-index: 1; pointer-events: none;
  animation: heroFlicker 4s linear infinite;
}
/* Haz central — núcleo brillante con bordes que se desvanecen */
.hero-light-stripe::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(193,240,96,0.70) 20%,
    rgba(210,250,80,0.85) 50%,
    rgba(193,240,96,0.70) 80%,
    transparent 100%
  );
  filter: blur(4px);
}
/* Corona exterior — halo de luz derramada */
.hero-light-stripe::after {
  content: '';
  position: absolute;
  inset: 0 -28px; /* se extiende más allá del haz */
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(168,230,61,0.18) 25%,
    rgba(193,240,96,0.28) 50%,
    rgba(168,230,61,0.18) 75%,
    transparent 100%
  );
  filter: blur(14px);
}
/* 3 parpadeos rápidos → encendido sostenido → apagado → pausa */
@keyframes heroFlicker {
  0%   { opacity: 0;    }
  2%   { opacity: 1;    }   /* blink 1 — encendido */
  6%   { opacity: 0.05; }   /* blink 1 — apagado   */
  9%   { opacity: 1;    }   /* blink 2 — encendido */
  13%  { opacity: 0.05; }   /* blink 2 — apagado   */
  16%  { opacity: 1;    }   /* blink 3 — encendido */
  48%  { opacity: 1;    }   /* sostenido           */
  62%  { opacity: 0;    }   /* fade out            */
  100% { opacity: 0;    }   /* pausa hasta próximo ciclo */
}
.hero-impact .hero-inner { position: relative; z-index: 2; width: 100%; padding-top: 96px; padding-bottom: 56px; }
@media (max-width: 899px) {
  .hero-impact .hero-inner { padding-top: 0; padding-bottom: 40px; }
  /* En mobile la imagen debe cubrir centrada en el jugador */
  .hero-impact .hero-bg { background-position: 70% center; }
  /* Ocultar coordenadas laterales en mobile */
  .hero-coords { display: none; }
  /* Jugador sticky — oculto en mobile, el bg ya tiene al jugador */
  .hero-sticky-player { display: none; }
  /* Luz verde en mobile — franja fina sobre el jugador */
  .hero-light-stripe {
    left: 62%; right: 18%;
  }
  .hero-light-stripe::before {
    background: linear-gradient(90deg,
      transparent 0%,
      rgba(193,240,96,0.65) 25%,
      rgba(210,250,80,0.78) 55%,
      rgba(193,240,96,0.65) 85%,
      transparent 100%
    );
  }
  .hero-light-stripe::after {
    inset: 0 -16px;
    background: linear-gradient(90deg,
      transparent 0%,
      rgba(168,230,61,0.18) 25%,
      rgba(193,240,96,0.28) 50%,
      rgba(168,230,61,0.18) 80%,
      transparent 100%
    );
  }
  /* Tagline más corta en mobile */
  .hero-tagline { max-width: 100%; font-size: 14px; }
  /* Meta row compacto */
  .hero-meta-row { gap: 24px; margin-top: 28px; }
}
.hero-oversize {
  font-family: 'Big Shoulders Display', 'Space Grotesk', sans-serif;
  font-weight: 900;
  font-size: clamp(72px, 13.5vw, 210px);
  line-height: 0.85;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--text);
  margin: 0;
  max-width: none;
}
.hero-oversize .accent-word { color: var(--accent); }
.hero-tagline {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: clamp(14px, 1.2vw, 16px);
  letter-spacing: 0;
  line-height: 1.7;
  text-transform: none;
  max-width: 480px;
  margin-top: 20px;
  color: var(--muted-2);
}
.hero-tagline .accent-word {
  color: var(--accent);
  font-weight: 600;
}
.hero-meta-row {
  display: flex; flex-wrap: wrap; gap: 48px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--muted-2);
  line-height: 1.4;
}
.hero-meta-row strong {
  display: block;
  color: var(--text);
  font-family: 'Big Shoulders Display', 'Space Grotesk';
  font-weight: 700;
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}

/* Marquee BRUTAL — banda gigante tipográfica que cruza la página */
.marquee-xl {
  background: var(--ink);
  border-top: 1px solid var(--accent);
  border-bottom: 1px solid var(--accent);
  overflow: hidden;
  padding: 22px 0;
}
.marquee-xl-inner {
  display: flex; gap: 64px;
  animation: marquee 14s linear infinite;
  white-space: nowrap;
  font-family: 'Big Shoulders Display', 'Space Grotesk', sans-serif;
  font-weight: 900;
  font-size: clamp(28px, 3.5vw, 52px);
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--text);
}
.marquee-xl-inner span { display: inline-flex; align-items: center; gap: 48px; }
.marquee-xl-inner .slash {
  font-size: 0.55em; color: var(--accent); display: inline-flex; align-items: center;
}
.marquee-xl-inner .outline {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--accent);
  text-stroke: 1.5px var(--accent);
}

/* Programas — tiles estilo Fenriz: foto en gris arriba, pasa a color en hover.
   Tarjeta con fondo claro, título sólido abajo, link "Conocer más →". */
.program-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 700px) { .program-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .program-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; } }

.program-tile {
  display: flex; flex-direction: column;
  background: transparent;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.program-tile-img {
  aspect-ratio: 4/5;
  background-size: cover; background-position: center;
  background-color: var(--surface);
  border-radius: 20px;
  overflow: hidden;
  filter: grayscale(1) contrast(1.05);
  transition: filter 0.5s ease, transform 0.4s ease;
  position: relative;
}
.program-tile:hover .program-tile-img { transform: translateY(-6px); }
/* Tag superior izquierdo de la foto */
.program-tile-img::before {
  content: attr(data-tag);
  position: absolute;
  top: 16px; left: 16px;
  z-index: 2;
  padding: 6px 10px;
  background: var(--bg);
  color: var(--text);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: 0.2em;
  text-transform: uppercase;
  border-radius: 3px;
  display: none;
}
.program-tile-img[data-tag]::before { display: inline-flex; }
.program-tile-img::after {
  content: '';
  position: absolute; top: 16px; right: 16px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent-coral);
  z-index: 2;
  box-shadow: 0 0 0 0 rgba(232,72,59,0.6);
  animation: livePulse 1.6s ease-out infinite;
}
.program-tile-img.placeholder {
  background-image: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
  filter: none;
}
.program-tile-img.placeholder::before {
  content: 'KRAFT';
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Big Shoulders Display', 'Space Grotesk'; font-weight: 900;
  font-size: clamp(48px, 5vw, 80px);
  color: rgba(255,255,255,0.06);
  letter-spacing: -0.04em;
}
.program-tile:hover .program-tile-img { filter: grayscale(0) contrast(1.05); }
.program-tile-body {
  padding: 24px 4px 0;
}
.program-tile-num {
  font-family: 'Inter', monospace;
  font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 12px;
  display: block;
}
.program-tile-title {
  font-family: 'Big Shoulders Display', 'Space Grotesk'; font-weight: 900;
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.03em;
  line-height: 1;
  text-transform: none;
  color: inherit;
}
.program-tile-desc {
  font-size: 14px;
  color: var(--muted-2);
  margin-top: 12px;
  line-height: 1.5;
  max-width: 360px;
}
.program-tile-cta {
  margin-top: 20px;
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  border-bottom: 1.5px solid var(--accent);
  padding-bottom: 2px;
  align-self: flex-start;
}
.program-tile-cta::after {
  content: '→';
  font-size: 14px;
  transition: transform 0.2s;
}
.program-tile:hover .program-tile-cta::after { transform: translateX(6px); }
/* Variante en sección clara */
.section-light .program-tile-num,
.section-light .program-tile-desc { color: var(--ink-soft); }
.section-light .program-tile-cta { color: var(--ink); border-bottom-color: var(--ink); }
.section-light .program-tile:hover .program-tile-cta { color: var(--accent); border-bottom-color: var(--accent); }

/* Pathway numerado — 01 → 02 → 03 → 04 estilo Young Capital */
.pathway {
  display: grid; gap: 32px;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .pathway { grid-template-columns: repeat(4, 1fr); gap: 48px; } }
.pathway-step {
  padding: 8px 0 0;
  border-top: 2px solid var(--ink);
  display: flex; flex-direction: column; gap: 20px;
  position: relative;
  transition: border-color 0.25s;
}
.pathway-step:hover { border-top-color: var(--accent); }
.pathway-step-num {
  font-family: 'Big Shoulders Display', 'Space Grotesk'; font-weight: 900;
  font-size: 14px;
  color: var(--accent);
  letter-spacing: 0.05em;
}
.pathway-step-title {
  font-family: 'Big Shoulders Display', 'Space Grotesk'; font-weight: 900;
  font-size: clamp(28px, 2.5vw, 36px);
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
  margin-top: 4px;
}
.pathway-step-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* Split CTA — mitad cancha (negra) / mitad pared (gris) */
.split-cta {
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .split-cta { grid-template-columns: 1fr 1fr; } }
.split-cta-side {
  padding: 120px 72px;
  display: flex; flex-direction: column; justify-content: space-between;
  gap: 56px; min-height: 540px;
}
@media (max-width: 900px) { .split-cta-side { padding: 72px 32px; min-height: 360px; } }
.split-cta-dark { background: var(--bg); color: var(--text); }
.split-cta-light { background: var(--wall); color: var(--ink); }
.split-cta-light .eyebrow { color: var(--ink-soft); }
.split-cta-light .text-muted { color: var(--ink-soft); }
.split-cta-light .btn { border-color: var(--ink); color: var(--ink); }
.split-cta-light .btn:hover { background: var(--ink); color: var(--wall); border-color: var(--ink); }
.split-cta-light .btn-primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.split-cta-light .btn-primary:hover { background: var(--accent-2); color: var(--accent-ink); border-color: rgba(0,0,0,0.7); }
.split-cta-title {
  font-family: 'Big Shoulders Display', 'Space Grotesk'; font-weight: 900;
  font-size: clamp(44px, 6vw, 88px);
  letter-spacing: -0.04em;
  line-height: 0.95;
  text-transform: none;
}
.split-cta-title .accent-word {
  color: var(--accent);
}

/* Stat big — números gigantes editoriales (Grind style) */
.stat-big-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
@media (min-width: 900px) { .stat-big-row { grid-template-columns: repeat(4, 1fr); } }
.stat-big {
  padding: 56px 32px;
  border-right: 1px solid var(--border-2);
  border-bottom: 1px solid var(--border-2);
}
.stat-big:last-child { border-right: 0; }
@media (min-width: 900px) {
  .stat-big { border-bottom: 0; }
}
.stat-big-num {
  font-family: 'Big Shoulders Display', 'Space Grotesk'; font-weight: 900;
  font-size: clamp(56px, 6vw, 96px);
  letter-spacing: -0.05em;
  line-height: 0.9;
  color: var(--text);
}
.stat-big-num .accent { color: var(--accent); }
.stat-big-label {
  margin-top: 14px;
  font-family: 'Inter';
  font-size: 13px;
  color: var(--muted-2);
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.4;
}
.section-light .stat-big { border-color: var(--wall-2); }
.section-light .stat-big-num { color: var(--ink); }
.section-light .stat-big-label { color: var(--ink-soft); }

/* Equipment grid — catálogo de máquinas del gym */
.equipment-intro {
  display: grid; gap: 24px;
  grid-template-columns: 1fr;
  margin-bottom: 48px;
  align-items: end;
}
@media (min-width: 900px) { .equipment-intro { grid-template-columns: 1.4fr 1fr; } }
.equipment-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
@media (min-width: 700px) { .equipment-grid { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
@media (min-width: 1100px) { .equipment-grid { grid-template-columns: repeat(4, 1fr); gap: 48px; } }
.equipment-card {
  background: transparent;
  display: flex; flex-direction: column;
  transition: transform 0.3s ease;
  cursor: pointer;
}
.equipment-card:hover { transform: translateY(-4px); }
.equipment-card-img {
  aspect-ratio: 4/5;
  background-size: cover; background-position: center;
  background-color: var(--surface-2);
  background-image: repeating-linear-gradient(45deg, var(--surface) 0 12px, var(--surface-2) 12px 24px);
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  filter: grayscale(1);
  transition: filter 0.4s ease;
}
.equipment-card:hover .equipment-card-img { filter: grayscale(0); }
.section-light .equipment-card-img {
  background-color: var(--wall-2);
  background-image: repeating-linear-gradient(45deg, var(--wall-2) 0 12px, var(--wall-3) 12px 24px);
}
.equipment-card-img.placeholder::before {
  content: 'FOTO PRÓXIMAMENTE';
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: 0.2em;
  color: var(--muted);
}
.equipment-card-body {
  padding: 20px 0 0;
}
.section-light .equipment-card-body {}
.equipment-card-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: 0.25em;
  color: var(--accent);
}
.equipment-card-title {
  font-family: 'Big Shoulders Display', 'Space Grotesk'; font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 1;
  margin: 10px 0 8px;
}
.equipment-card-desc {
  font-size: 13px;
  color: var(--muted-2);
  line-height: 1.45;
}

/* Big diagonal section divider */
.section-dark {
  background: var(--bg);
  padding: 120px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-light {
  background: #ffffff;
  color: var(--ink);
  padding: 120px 0;
}
.section-light .eyebrow { color: var(--ink); }
.section-light .eyebrow::before { background: var(--ink); }
.section-light .text-muted { color: var(--ink-soft); }
.section-light .section-title { color: var(--ink); }
.section-light .btn { border-color: var(--ink); color: var(--ink); }
.section-light .btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.section-light .btn-primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.section-light .btn-primary:hover { background: var(--accent-2); color: var(--accent-ink); border-color: rgba(0,0,0,0.7); }
.section-light .section-meta { color: var(--ink-soft); }
/* Cards dentro de section-light mantienen texto claro (card bg es oscuro) */
.section-light .card { color: var(--text); }
.section-light .card .eyebrow { color: var(--muted-2); }
.section-light .card .text-muted { color: var(--muted-2); }
.section-light .card .btn { border-color: var(--text); color: var(--text); }
.section-light .card .btn:hover { background: var(--text); color: var(--bg); }
.section-light .card .btn-primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.section-light .card .divider { background: var(--border-2); }
/* Equipment cards en fondo claro */
.section-light .equipment-grid { background: transparent; }
.section-light .equipment-card { background: transparent; }
.section-light .equipment-card:hover { transform: translateY(-4px); }
.section-light .equipment-card-title { color: var(--ink); }
.section-light .equipment-card-desc { color: var(--ink-soft); }
.section-light .equipment-card-num { color: var(--ink-soft); }
.section-light .equipment-card-img { background-color: var(--wall-2); }
.section-light .equipment-card-img.placeholder {
  background-image: repeating-linear-gradient(45deg, var(--wall-2) 0 12px, var(--wall-3) 12px 24px);
}
.section-light .equipment-card-img.placeholder::before { color: var(--ink-soft); }
.section-light .feature-row { border-color: var(--wall-2); }
.section-light .feature-row-num { color: var(--ink-soft); }
.section-light .feature-row-title { color: var(--ink); }
.section-light .feature-row-detail { color: var(--ink-soft); }

/* Feature row — item grande + detalle a la derecha, estilo clase */
.feature-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
  padding: 48px 0;
  border-top: 1px solid var(--border);
}
@media (min-width: 900px) {
  .feature-row { grid-template-columns: 60px 1fr 320px; gap: 48px; }
}
.feature-row-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--muted);
}
.feature-row-title {
  font-family: 'Big Shoulders Display', 'Space Grotesk'; font-weight: 900;
  font-size: clamp(32px, 4.5vw, 64px);
  letter-spacing: -0.04em;
  line-height: 0.92;
  text-transform: uppercase;
}
.feature-row-title .accent-word { color: var(--accent); }
.feature-row-detail {
  font-size: 14px;
  color: var(--muted-2);
  line-height: 1.6;
}

/* ─────────────────────────────────────────────────────────────
   v8 — EDITORIAL BRUTAL REDESIGN
   Refs: thegrind.nl, onsidescholarships.com, fenriz-gym.com
   ───────────────────────────────────────────────────────────── */

/* LIVE TICKER */
.live-ticker {
  background: var(--ink);
  color: var(--wall);
  border-bottom: 1px solid #000;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 9px 0;
  overflow: hidden;
  position: relative;
}
.live-ticker-track {
  display: flex; gap: 56px;
  animation: tickerScroll 38s linear infinite;
  white-space: nowrap;
  width: max-content;
}
.live-ticker-track > span { display: inline-flex; align-items: center; gap: 12px; }
.live-ticker-track .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}
.live-ticker-track .dot.coral { background: var(--accent-coral); animation: livePulse 1.4s ease-out infinite; }
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* SCROLL REVEAL */
[data-reveal] {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s cubic-bezier(0.2,0.8,0.2,1), transform 0.9s cubic-bezier(0.2,0.8,0.2,1);
  will-change: opacity, transform;
}
[data-reveal].in-view { opacity: 1; transform: translateY(0); }
[data-reveal="left"]  { transform: translateX(-44px); }
[data-reveal="right"] { transform: translateX(44px); }
[data-reveal="left"].in-view, [data-reveal="right"].in-view { transform: translateX(0); }
[data-reveal="zoom"]  { transform: scale(0.94); }
[data-reveal="zoom"].in-view { transform: scale(1); }
[data-reveal-delay="1"] { transition-delay: 0.08s; }
[data-reveal-delay="2"] { transition-delay: 0.16s; }
[data-reveal-delay="3"] { transition-delay: 0.24s; }
[data-reveal-delay="4"] { transition-delay: 0.32s; }
[data-reveal-delay="5"] { transition-delay: 0.40s; }
[data-reveal-delay="6"] { transition-delay: 0.48s; }

/* TYPE-SPLIT */
.split-line { overflow: hidden; display: block; }
.split-line > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1s cubic-bezier(0.2,0.85,0.2,1);
}
.in-view .split-line > span,
[data-reveal].in-view .split-line > span { transform: translateY(0); }
.in-view .split-line:nth-child(2) > span { transition-delay: 0.08s; }
.in-view .split-line:nth-child(3) > span { transition-delay: 0.16s; }
.in-view .split-line:nth-child(4) > span { transition-delay: 0.24s; }

/* MANIFESTO */
.manifesto {
  position: relative;
  background: var(--ink);
  color: var(--wall);
  overflow: hidden;
}
.manifesto-grid {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 48vh;
}
@media (min-width: 1000px) {
  .manifesto-grid { grid-template-columns: 1fr 1fr; }
}
.manifesto-img {
  position: relative;
  background-size: cover; background-position: center;
  min-height: 0;
  filter: grayscale(0.15) contrast(1.05);
  order: 2;
}
@media (max-width: 999px) { .manifesto-img { order: 0; min-height: 60vw; } }
.manifesto-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to left, rgba(0,0,0,0) 55%, rgba(13,15,12,0.6) 100%);
}
.manifesto-text {
  order: 1;
  padding: 80px 40px;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  gap: 24px;
  max-width: 640px;
  margin: 0 auto;
}
@media (max-width: 999px) { .manifesto-text { order: 0; padding: 64px 24px; margin: 0; } }
.manifesto-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex; align-items: center; gap: 12px;
}
.manifesto-eyebrow::before {
  content: ''; width: 24px; height: 1px;
  background: var(--accent); display: inline-block;
}
.manifesto-headline {
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 900;
  font-size: clamp(36px, 4vw, 68px);
  line-height: 1;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  color: var(--wall);
}
.manifesto-headline em { font-style: normal; color: var(--accent); }
.manifesto-body {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(240,237,228,0.7);
  max-width: 520px;
}
.manifesto-meta {
  display: flex; flex-wrap: wrap; gap: 32px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(240,237,228,0.5);
  border-top: 1px solid rgba(240,237,228,0.15);
  padding-top: 24px;
}

/* WORD BAND (giant marquee) */
.word-band {
  background: var(--accent);
  color: var(--ink);
  padding: 32px 0;
  overflow: hidden;
  border-top: 4px solid var(--ink);
  border-bottom: 4px solid var(--ink);
}
.word-band-track {
  display: flex; gap: 60px;
  animation: tickerScroll 28s linear infinite;
  width: max-content;
  white-space: nowrap;
}
.word-band-track .word {
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 900;
  font-size: clamp(56px, 9vw, 132px);
  line-height: 1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.word-band-track .word.outline {
  color: transparent;
  -webkit-text-stroke: 2.5px var(--ink);
}

/* ATHLETE GRID */
.athlete-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 100px;
  gap: 16px;
}
@media (max-width: 900px) {
  .athlete-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; gap: 10px; }
}
.athlete-tile {
  position: relative;
  background-size: cover; background-position: center;
  border-radius: 16px;
  overflow: hidden;
  filter: grayscale(0.5) contrast(1.05);
  transition: filter 0.6s, transform 0.5s;
}
.athlete-tile:hover { filter: grayscale(0); transform: scale(1.015); }
.athlete-tile::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.55) 100%);
}
.athlete-tile-tag {
  position: absolute; left: 14px; bottom: 14px; z-index: 2;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--wall);
}
.athlete-tile.t-1 { grid-column: span 5; grid-row: span 4; }
.athlete-tile.t-2 { grid-column: span 4; grid-row: span 3; }
.athlete-tile.t-3 { grid-column: span 3; grid-row: span 3; }
.athlete-tile.t-4 { grid-column: span 4; grid-row: span 3; }
.athlete-tile.t-5 { grid-column: span 3; grid-row: span 4; }
.athlete-tile.t-6 { grid-column: span 5; grid-row: span 3; }
@media (max-width: 900px) {
  .athlete-tile.t-1, .athlete-tile.t-2, .athlete-tile.t-3,
  .athlete-tile.t-4, .athlete-tile.t-5, .athlete-tile.t-6 {
    grid-column: span 1; grid-row: span 1;
  }
}

/* STAT BIG on emerald */
.stat-big-row { border-top: 2px solid var(--accent); padding-top: 56px; }

/* ─── CÓMO FUNCIONA — dos columnas ─── */
.como-funciona-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 900px) {
  .como-funciona-grid { grid-template-columns: 1fr 1fr; gap: 80px; }
}
.como-funciona-content { display: flex; flex-direction: column; }
.como-funciona-img {
  border-radius: 20px;
  background-size: cover; background-position: center;
  min-height: 540px;
  filter: grayscale(0.1) contrast(1.05);
}
@media (max-width: 899px) { .como-funciona-img { min-height: 280px; } }

.pathway-compact { display: flex; flex-direction: column; }
.pathway-compact-step {
  display: flex; flex-direction: column; gap: 6px;
  padding: 20px 0;
  border-bottom: 1px solid var(--wall-2);
}
.pathway-compact-step:first-child { border-top: 1px solid var(--wall-2); }
.pathway-compact-top {
  display: flex; align-items: center; gap: 20px;
}
.pathway-compact-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.18em;
  color: var(--accent); font-weight: 600;
  min-width: 28px;
}
.pathway-compact-label {
  font-family: 'Big Shoulders Display', sans-serif; font-weight: 700;
  font-size: clamp(22px, 2.5vw, 30px);
  letter-spacing: -0.02em; color: var(--ink);
  text-transform: uppercase; line-height: 1;
}
.pathway-compact-desc {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
  padding-left: 48px; /* alinea con el label */
  margin: 0;
}

/* ─── PASSPORT PROMO BANNER ─── */
.passport-promo {
  background: var(--accent);
  border-top: 4px solid var(--ink);
  border-bottom: 4px solid var(--ink);
  padding: 80px 0;
}
.passport-promo-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 64px;
  align-items: center;
}
@media (max-width: 900px) {
  .passport-promo-inner { grid-template-columns: 1fr; gap: 40px; }
}
.passport-promo .passport-grid {
  max-width: 200px;
  gap: 10px;
}
.passport-promo .passport-ball.filled {
  background: var(--ink); border-color: var(--ink);
}
.passport-promo .passport-ball.filled::before,
.passport-promo .passport-ball.filled::after { border-color: rgba(240,237,228,0.5); }
.passport-promo .passport-ball.empty { border-color: rgba(13,15,12,0.3); }
.passport-promo-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--ink); opacity: 0.55;
  margin-bottom: 14px;
}
.passport-promo-headline {
  font-family: 'Big Shoulders Display', sans-serif; font-weight: 900;
  font-size: clamp(48px, 6vw, 88px);
  letter-spacing: -0.03em; line-height: 0.9;
  text-transform: uppercase; color: var(--ink);
}
.passport-promo-body {
  font-size: 14px; line-height: 1.65; color: var(--ink);
  opacity: 0.68; max-width: 460px; margin-top: 16px;
}
.passport-promo-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 20px 40px;
  background: var(--ink); color: var(--accent);
  border: 2px solid var(--ink);
  font-family: 'Big Shoulders Display', sans-serif; font-weight: 800;
  font-size: 18px; letter-spacing: 0.02em; text-transform: uppercase;
  border-radius: 999px; cursor: pointer; white-space: nowrap;
  transition: background 0.18s, color 0.18s, transform 0.15s;
}
.passport-promo-btn:hover { background: transparent; color: var(--ink); transform: translateY(-2px); }

/* ─── CTA CARDS (reemplaza split-cta) ─── */
.cta-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 700px) { .cta-cards { grid-template-columns: 1fr; } }
.cta-card-item {
  background: var(--surface);
  border-radius: 20px;
  padding: 56px;
  display: flex; flex-direction: column;
  color: var(--text); text-decoration: none;
  transition: transform 0.25s ease;
  min-height: 460px;
}
.cta-card-item:hover { transform: translateY(-4px); }
.cta-card-item--lime { background: var(--accent); }
.cta-card-title {
  font-family: 'Big Shoulders Display', sans-serif; font-weight: 900;
  font-size: clamp(44px, 5.5vw, 76px);
  letter-spacing: -0.035em; line-height: 0.9;
  text-transform: none; margin-top: 10px;
}
.cta-card-desc {
  color: var(--muted-2); font-size: 14px; line-height: 1.65;
  max-width: 360px; margin-top: 20px;
}
@media (max-width: 900px) { .cta-card-item { padding: 40px; min-height: 360px; } }

/* ─── PASSPORT BANNER (imagen) ─── */
.passport-banner-section {
  padding: 72px 0;
  background: transparent;
}
.passport-banner-wrap {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 40px;
}
@media (max-width: 900px) { .passport-banner-wrap { padding: 0 16px; } }
.passport-banner-link {
  display: block;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.35);
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), box-shadow 0.35s ease;
}
.passport-banner-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 56px rgba(0,0,0,0.5);
}
.passport-banner-img {
  display: block;
  width: 100%;
  height: auto;
}
/* Botón real superpuesto al botón falso del banner */
.passport-banner-btn {
  position: absolute;
  bottom: 8%;
  left: 4.7%;
  background: #0d0f0c;
  color: var(--accent);
  border: none;
  border-radius: 999px;
  padding: 10px 58px;
  font-family: 'Big Shoulders Display', 'Space Grotesk', sans-serif;
  font-weight: 800;
  font-size: clamp(13px, 1.1vw, 18px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, transform 0.18s, box-shadow 0.18s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.passport-banner-btn:hover {
  background: #fff;
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.5);
}
/* Gym banner — posición del botón según layout del banner */
.gym-banner-btn {
  bottom: 11%;
  left: auto;
  right: 3%;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  padding: 10px 28px;
}

/* ─── PAGE HEADER — páginas internas ─── */
.page-head {
  background: var(--bg);
  padding: 148px 0 80px;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
@media (max-width: 900px) { .page-head { padding: 120px 0 56px; } }
.page-title {
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 900;
  font-size: clamp(56px, 10vw, 140px);
  letter-spacing: -0.04em;
  line-height: 0.9;
  text-transform: uppercase;
  color: var(--text);
  margin: 0;
}

/* SCROLL PROGRESS BAR */
.scroll-progress {
  position: fixed; top: 0; left: 0;
  height: 2px;
  background: var(--accent);
  z-index: 100;
  width: 0%;
  transition: width 0.05s linear;
  box-shadow: 0 0 8px rgba(168,230,61,0.5);
}

/* ─── SALA DE ESTAR / LOUNGE ─── */
.lounge {
  background: var(--bg);
  border-top: 1px solid var(--border);
  overflow: hidden;
}
.lounge-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 48vh;
}
@media (max-width: 900px) {
  .lounge-grid { grid-template-columns: 1fr; }
}
.lounge-img {
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 0;
  filter: grayscale(0.15);
  transition: filter 0.6s ease;
}
@media (max-width: 900px) { .lounge-img { min-height: 60vw; } }
.lounge-img:hover { filter: grayscale(0); }
.lounge-img-tag {
  position: absolute; bottom: 20px; left: 20px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(0,0,0,0.55);
  padding: 8px 12px;
  backdrop-filter: blur(8px);
}
.lounge-content {
  color: var(--text);
  padding: 0 56px 0 72px;
  display: flex; flex-direction: column; justify-content: center;
  gap: 24px;
}
@media (max-width: 900px) { .lounge-content { padding: 64px 24px; } }
.lounge-body {
  font-size: 16px; line-height: 1.7;
  color: rgba(240,237,228,0.7);
  max-width: 88%;
}
.lounge-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  border-top: 1px solid var(--border-2);
  padding-top: 32px;
}
@media (max-width: 700px) { .lounge-features { grid-template-columns: 1fr; gap: 20px; } }
.lounge-feature-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 6px;
}
.lounge-feature-label {
  font-family: 'Big Shoulders Display', 'Space Grotesk', sans-serif;
  font-weight: 800; font-size: 22px;
  letter-spacing: -0.01em; text-transform: uppercase;
  color: var(--text);
  margin-bottom: 4px;
}
.lounge-feature-desc {
  font-size: 13px; line-height: 1.5;
  color: var(--muted-2);
}

/* ─── TIENDA / SHOP GRID ─── */
.shop-section { padding: 96px 0; }
.shop-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 1100px) { .shop-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .shop-grid { grid-template-columns: 1fr; } }
.shop-tile {
  display: block;
  background: var(--wall-2);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
}
.shop-tile:hover { transform: translateY(-4px); }
.shop-tile-img {
  aspect-ratio: 1/1.1;
  background-size: cover;
  background-position: center;
  background-color: var(--wall-3);
  filter: grayscale(0.25);
  transition: filter 0.5s ease, transform 0.7s ease;
}
.shop-tile:hover .shop-tile-img { filter: grayscale(0); transform: scale(1.04); }
/* Para fotos de producto (PNGs con fondo transparente o blanco) */
.shop-tile-img--product {
  background-size: contain;
  background-repeat: no-repeat;
  background-color: #ebe8e0;
  filter: none;
}
.shop-tile:hover .shop-tile-img--product {
  filter: none;
  transform: scale(1.06);
  background-color: #e2dfd5;
}
.shop-tile-body {
  padding: 20px;
  display: flex; flex-direction: column; gap: 4px;
  background: var(--wall);
  border-top: 1px solid var(--wall-3);
}
.shop-tile-cat {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.shop-tile-name {
  font-family: 'Big Shoulders Display', 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-top: 4px;
}
.shop-tile-price {
  font-family: 'Inter', sans-serif;
  font-weight: 600; font-size: 14px;
  color: var(--ink-soft);
  margin-top: 2px;
}

/* ═══════════════════════════════════════════════════════════════
   MOBILE — max-width: 899px
   Solo ajusta celular. PC no se toca.
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 899px) {

  /* ── Secciones: reducir padding vertical ── */
  .section-light  { padding: 64px 0; }
  .section-dark   { padding: 72px 0; }
  .shop-section   { padding: 60px 0; }
  /* ── Section header: fila en mobile para los que tienen botón ── */
  .section-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 40px;
    gap: 12px;
  }
  .section-header .btn {
    flex-shrink: 0;
    padding: 10px 16px;
    font-size: 13px;
    align-self: flex-end;
    margin-bottom: 6px;
  }
  /* Section header con párrafo a la derecha: apila en columna */
  .section-header--col {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .section-header--col .section-meta,
  .section-header--col .text-muted {
    max-width: 100%;
    font-size: 14px;
  }

  /* ── Títulos de páginas internas: centrados, una línea ── */
  .page-intro-grid {
    grid-template-columns: 1fr !important;
    text-align: center;
  }
  .page-intro-grid .eyebrow { justify-content: center; }
  .page-intro-grid h2 {
    white-space: nowrap;
    font-size: clamp(28px, 8vw, 72px) !important;
  }

  /* Reservas: centrar título y quitar offset */
  .reservas-page-title {
    text-align: center;
    white-space: nowrap;
    font-size: clamp(28px, 10vw, 96px) !important;
    line-height: 1 !important;
  }
  .reservas-page-title br { display: none; }
  .reservas-page-title span { display: inline !important; margin-left: 0 !important; }

  /* Pasaporte: centrado */
  #sidebar { width: 100%; }
  .sidebar-card { margin: 0 auto; }

  /* ── Todos los heroes: overlay más oscuro en mobile para legibilidad ── */
  .hv-overlay {
    background: linear-gradient(
      to bottom,
      rgba(0,0,0,0.45) 0%,
      rgba(0,0,0,0.50) 35%,
      rgba(0,0,0,0.50) 60%,
      rgba(0,0,0,0.65) 100%
    );
  }

  /* ── Hero mobile: switch grande, brand más visible (+15% sobre la versión anterior) ── */
  .hv-switch-wrap { font-size: 22vw; }
  .hv-line--brand { font-size: clamp(46px, 11.5vw, 82px); }
  .hv-cta .btn-lg { padding: 16px 22px; font-size: 16px; }

  /* Corners en mobile: --bl izquierda, --bc pasa a la derecha, --br oculto */
  .hv-corner--br { display: none; }
  .hv-corner--bc {
    bottom: 20px;
    left: auto;
    right: 16px;
    transform: none;
    text-align: right;
    align-items: flex-end;
  }
  .hv-corner--bl { bottom: 20px; left: 16px; }

  /* ── Perfil: bajar padding superior (nav fijo) ── */
  #perfil-root { padding-top: 88px !important; }
  /* Perfil: header apila en mobile */
  #perfil-root .grid.grid-2 { grid-template-columns: 1fr !important; }
  #perfil-root [style*="clamp(36px,6vw"] { font-size: clamp(32px, 9vw, 56px) !important; }

  /* ── Reservas intro: padding compacto ── */
  .reservas-light { padding: 40px 24px !important; }

  /* ── CTA cards: menos padding, sin min-height rígida ── */
  .cta-card-item { padding: 32px; min-height: 260px; }

  /* ── Passport banner section ── */
  .passport-banner-section { padding: 40px 0; }

  /* ── Botón superpuesto sobre banner passport (index) ── */
  .passport-banner-btn {
    bottom: 4.7%;
    left: 50%;
    transform: translateX(-50%);
    padding: 14px 66px !important;
    font-size: 16px !important;
    white-space: nowrap;
    border-radius: 999px;
  }

  /* ── Botón superpuesto sobre banner gym ── */
  .passport-banner-btn.gym-banner-btn {
    bottom: 4.5%;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    padding: 18px 54px;
    font-size: 17px;
    border-radius: 999px;
  }

  /* ── Shop: 2 columnas en mobile ── */
  .shop-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  /* ── Galería: tiles con altura adecuada ── */
  .athlete-grid { grid-auto-rows: 130px; }

  /* ── Footer ── */
  .footer { padding: 48px 0 24px; }
  .footer-big { font-size: clamp(56px, 18vw, 100px); }

  /* ── Lounge: imagen mobile más compacta ── */
  .lounge-img { min-height: 55vw; }

  /* ── Manifesto ── */
  .manifesto-img { min-height: 55vw; }
  .manifesto-text { padding: 56px 24px; }

  /* ── Ranking: ocultar columna eficiencia ── */
  .rank-stat { display: none; }

  /* ── Tabs: padding compacto ── */
  .wrap-wide + .wrap-wide, .tabs-bar { overflow-x: auto; }
}

/* ── Pantallas muy chicas (< 479px) ── */
@media (max-width: 479px) {
  .hv-switch-wrap { font-size: 22vw; }
  .hv-line--brand { font-size: clamp(39px, 10.4vw, 64px); }
  .hv-corner-label { font-size: 9px; letter-spacing: 0.12em; }
  .hv-corner-val   { font-size: 13px; }
  .cta-card-item { padding: 24px; min-height: 220px; }
  .passport-banner-btn { font-size: 14px; padding: 14px 28px; }
  .gym-banner-btn      { font-size: 14px; padding: 14px 28px; }
  .shop-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
}

/* ── Mobile nav avatar circle ── */
.nav-mobile-avatar { display: none; }

@media (max-width: 899px) {
  .nav-mobile-avatar {
    display: flex;
    align-items: center;
    position: relative;
    margin-right: 4px;
  }
  .nav-mobile-avatar .nma-btn {
    width: 34px; height: 34px;
    border-radius: 50%;
    background: var(--surface-2);
    border: 1.5px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 13px; letter-spacing: 0.02em;
    cursor: pointer; overflow: hidden; padding: 0; flex-shrink: 0;
    color: var(--text);
  }
  .nav-mobile-avatar .nma-btn img {
    width: 100%; height: 100%; object-fit: cover; border-radius: 50%;
  }
  .nma-dropdown {
    display: none;
    position: fixed;
    background: var(--surface);
    border: 1px solid var(--border);
    min-width: 170px;
    z-index: 9999;
    box-shadow: 0 8px 24px rgba(0,0,0,0.6);
  }
  .nma-dropdown.open { display: block; }
  .nma-dropdown a,
  .nma-dropdown button {
    display: block; width: 100%; text-align: left;
    padding: 14px 18px; font-size: 14px; font-weight: 600;
    background: none; border: none; cursor: pointer;
    color: var(--text); text-decoration: none;
    border-bottom: 1px solid var(--border);
  }
  .nma-dropdown a:last-child,
  .nma-dropdown button:last-child { border-bottom: none; }
  .nma-dropdown .nma-signout { color: var(--muted-2); font-weight: 400; }

  /* Círculo guest (mismo tamaño que el avatar) */
  .nma-guest-trigger {
    color: var(--muted-2);
  }
  .nma-guest-trigger:hover { color: var(--text); }
}

/* ══════════════════════════════════════════════════════
   SCROLL REVEAL — Animaciones de entrada profesionales
   Aplicadas automáticamente vía JS (initAutoReveal)
══════════════════════════════════════════════════════ */
[data-reveal] {
  opacity: 0;
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
/* Default: subir desde abajo */
[data-reveal="up"]    { transform: translate3d(0, 32px, 0); }
[data-reveal="down"]  { transform: translate3d(0, -32px, 0); }
[data-reveal="left"]  { transform: translate3d(-40px, 0, 0); }
[data-reveal="right"] { transform: translate3d(40px, 0, 0); }
[data-reveal="fade"]  { transform: none; }
[data-reveal="scale"] { transform: scale(0.94); transform-origin: center; }
[data-reveal="zoom-in"] {
  transform: scale(0.92);
  filter: blur(4px);
}
[data-reveal="rise"]  {
  transform: translate3d(0, 50px, 0);
  filter: blur(2px);
}
[data-reveal].in-view {
  opacity: 1;
  transform: none;
  filter: none;
}

/* Para títulos grandes — slide más pronunciado */
[data-reveal="title"] {
  opacity: 0;
  transform: translate3d(0, 60px, 0);
  filter: blur(3px);
  transition:
    opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.1s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal="title"].in-view {
  opacity: 1;
  transform: none;
  filter: none;
}

/* Reduce motion: instantáneo, sin animación */
@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    transition: none !important;
    transform: none !important;
    filter: none !important;
    opacity: 1 !important;
  }
}

