/* Carga — gimnasios 24/7. Negro, lima y blanco roto; Big Shoulders Display + Geist. */

:root {
  --bg: #0c0c0c;
  --surface: #151515;
  --surface-2: #222;
  --line: rgba(255, 255, 255, .12);
  --ink: #ffffff;
  --muted: #a6a6a6;
  --accent: #d4ff3f;
  --accent-ink: #0c0c0c;
  --paper: #f3f3ef;
  --paper-2: #e8e8e2;
  --paper-ink: #0c0c0c;
  --paper-soft: #55554f;

  --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --font: "Geist", system-ui, sans-serif;

  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --step-lead: clamp(1.25rem, 1rem + 0.9vw, 1.75rem);
  --step-head: clamp(3rem, 1.2rem + 6vw, 7.5rem);
  --step-display: clamp(4.5rem, 13vw, 16rem);

  --m: clamp(16px, 3vw, 48px);
  --gap: 12px;
  --section: clamp(80px, 9vw, 140px);
  --r: 6px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: var(--step-body); line-height: 1.5;
  -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums; overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--accent-ink); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { padding: 0 var(--m); max-width: 1680px; margin: 0 auto; }

/* Titulares: condensados, en mayúsculas, con peso */
.h-head, .h-cta, .h-stair, .app-a, .app-b, .hero-line, .stat b, .price, .plan h3, .tile h3, .tip h3, .foot-phone, .foot-word, .wordmark, .tt-h {
  font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .005em;
}
.h-head { font-size: var(--step-head); line-height: .88; }
.h-head em, .h-cta em { font-style: normal; color: var(--accent); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: var(--step-small); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.eyebrow::before { content: ""; width: 22px; height: 3px; background: var(--accent); }
.lead { font-size: var(--step-lead); line-height: 1.3; letter-spacing: -.01em; max-width: 34ch; }

/* Fotos en color, con un punto de contraste común */
figure { overflow: hidden; }
figure img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.92) contrast(1.06); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 30px; border-radius: var(--r);
  background: var(--accent); color: var(--accent-ink);
  font-weight: 700; font-size: var(--step-body); text-decoration: none; letter-spacing: -.005em;
  border: 2px solid var(--accent); cursor: pointer;
  transition: background-color .25s ease, color .25s ease, border-color .25s, transform .2s var(--ease-out);
}
.btn:hover { background: var(--ink); border-color: var(--ink); }
.btn:active { transform: scale(.97); }
.btn-sm { min-height: 44px; padding: 0 20px; }
.btn-line { background: transparent; color: inherit; border-color: currentColor; }
.btn-line:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-dark { background: var(--bg); color: var(--accent); border-color: var(--bg); }
.btn-dark:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* ---------- Promo y navegación ---------- */
.promo-bar {
  position: relative; z-index: 21; display: flex; justify-content: center; align-items: center; gap: 12px;
  min-height: 40px; padding: 8px var(--m); background: var(--accent); color: var(--accent-ink);
  font-size: var(--step-small); font-weight: 500; text-align: center;
}
.promo-bar b { font-weight: 800; }
.promo-bar a { font-weight: 700; text-underline-offset: 3px; }
.nav {
  position: absolute; top: 40px; left: 0; right: 0; z-index: 20;
  display: flex; align-items: center; gap: 36px; padding: 22px var(--m);
}
.wordmark { display: inline-flex; align-items: flex-start; gap: 6px; font-size: 2rem; line-height: 1; text-decoration: none; margin-right: auto; text-transform: lowercase; }
.wordmark i { font-style: normal; font-family: var(--font); font-size: .7rem; font-weight: 700; color: var(--accent-ink); background: var(--accent); padding: 3px 5px; border-radius: 3px; letter-spacing: .02em; }
.nav nav { display: flex; gap: 28px; }
.nav nav a { text-decoration: none; color: var(--ink); font-size: .95rem; font-weight: 500; opacity: .85; }
.nav nav a:hover { opacity: 1; color: var(--accent); }

/* ---------- Hero ---------- */
.hero { position: relative; background: radial-gradient(120% 80% at 50% 0%, #1d1f14 0%, var(--bg) 60%); }
.js .hero { height: 220vh; }
.hero-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hero-kicker {
  position: absolute; left: var(--m); top: calc(24% - 2rem); z-index: 2;
  display: inline-flex; align-items: center; gap: 10px; font-size: var(--step-small); font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
}
.hero-kicker i { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(212, 255, 63, .6); animation: live 2s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 10px rgba(212, 255, 63, 0); } 100% { box-shadow: 0 0 0 0 rgba(212, 255, 63, 0); } }
.hero-line {
  position: absolute; left: var(--m); right: var(--m); top: 44%;
  transform: translateY(-50%);
  display: flex; align-items: center; gap: 0.12em;
  font-size: clamp(4.5rem, 12vw, 15rem); line-height: .82;
  z-index: 2; pointer-events: none;
}
.hw { display: block; white-space: nowrap; will-change: transform; }
.hw-b { color: var(--accent); }
.strip { display: block; flex: 1; height: 0.62em; min-width: 2em; border-radius: 10px; }
.hero-foot {
  position: absolute; left: var(--m); right: var(--m); bottom: 44px;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 32px;
  z-index: 2; will-change: transform, opacity;
}
.hero-sub { max-width: 40ch; font-size: var(--step-lead); line-height: 1.28; letter-spacing: -.01em; }
.hero-sub b { color: var(--accent); }
.hero-ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-canvas { position: absolute; inset: 0; z-index: 1; transform-origin: 0 0; will-change: transform, clip-path; }
.hero-canvas canvas { display: block; width: 100%; height: 100%; }
.hero-after {
  position: absolute; left: var(--m); bottom: 44px; z-index: 2;
  font: 800 clamp(2rem, 4vw, 3.5rem)/.95 var(--display); text-transform: uppercase; max-width: 16ch;
  opacity: 0; transform: translateY(24px); visibility: hidden;
  transition: opacity .6s ease, transform .8s var(--ease-out), visibility 0s .8s;
}
.hero-after.on { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
.no-gl .strip, html:not(.js) .strip { background: url("assets/man-lifting-a-heavy-barbell.jpg") center 35% / cover; }

/* ---------- Cifras ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--accent); color: var(--accent-ink); }
.stat { padding: clamp(28px, 3.4vw, 52px) var(--m); border-right: 1px solid rgba(0, 0, 0, .14); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-size: clamp(3.4rem, 6.4vw, 7rem); line-height: .85; }
.stat span { display: block; margin-top: 10px; font-weight: 600; font-size: var(--step-body); max-width: 18ch; }

/* ---------- Planes ---------- */
.pricing { background: var(--bg); padding: var(--section) 0; }
.pricing-head { display: grid; grid-template-columns: 1fr minmax(0, 30rem); gap: 16px 48px; align-items: end; }
.pricing-head .eyebrow { grid-column: 1 / -1; }
.pricing-head .lead { color: #d8d8d8; font-size: var(--step-body); line-height: 1.5; }
.pricing-tools { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 48px; }
.billing { display: inline-flex; padding: 4px; gap: 4px; background: var(--surface-2); border-radius: 999px; }
.billing button {
  min-height: 44px; padding: 0 22px; border: 0; border-radius: 999px; cursor: pointer;
  background: transparent; color: var(--ink); font-weight: 600; transition: background-color .25s, color .25s;
}
.billing button small { font-size: .8em; opacity: .7; margin-left: 4px; }
.billing button[aria-checked="true"] { background: var(--accent); color: var(--accent-ink); }
.billing-note { color: var(--muted); font-size: var(--step-small); max-width: 60ch; }

.pricing-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 28px; }
.loader { position: relative; height: clamp(200px, 24vw, 380px); margin: 0 calc(var(--m) * -1); }
.loader canvas { display: block; width: 100%; height: 100%; }
.kilos { position: absolute; left: var(--m); bottom: 10px; font: 800 clamp(1.6rem, 2.6vw, 2.6rem)/1 var(--display); text-transform: uppercase; }
.kilos span { color: var(--accent); }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.plan {
  position: relative; display: flex; flex-direction: column; padding: 30px;
  border-radius: 10px; background: var(--surface); border: 2px solid var(--line);
  cursor: pointer; outline-offset: 4px;
  transition: transform .45s var(--ease-out), border-color .3s, background-color .3s;
}
.plan:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, .3); }
.plan[aria-checked="true"] { border-color: var(--accent); transform: translateY(-8px); }
.plan::after {
  content: "En la barra"; position: absolute; top: -13px; left: 28px;
  padding: 3px 10px; border-radius: 4px; background: var(--accent); color: var(--accent-ink);
  font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: 0; transition: opacity .3s;
}
.plan[aria-checked="true"]::after { opacity: 1; }
.p-total { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.p-total[aria-checked="true"] { border-color: var(--ink); }
.p-total::after { background: var(--ink); }
.badge { position: absolute; top: 26px; right: 26px; padding: 5px 10px; border-radius: 4px; background: var(--accent-ink); color: var(--accent); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.plan-top { padding-bottom: 24px; border-bottom: 1px solid currentColor; border-color: rgba(127, 127, 127, .35); }
.plan h3 { font-size: clamp(2.4rem, 3.2vw, 3.4rem); line-height: .9; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin-top: 18px; line-height: .85; }
.price s { font-size: clamp(1.4rem, 2vw, 2rem); opacity: .5; text-decoration-thickness: 3px; }
.price s:empty { display: none; }
.price .now { font-size: clamp(3.6rem, 5.4vw, 6rem); }
.price .per { font-family: var(--font); font-size: var(--step-small); text-transform: none; font-weight: 500; letter-spacing: 0; }
.then { margin-top: 14px; font-size: var(--step-small); line-height: 1.45; max-width: 36ch; }
.fee { margin-top: 6px; font-size: var(--step-small); font-weight: 700; }
.plan ul { margin: 24px 0 30px; display: grid; gap: 12px; }
.plan li { position: relative; padding-left: 28px; font-size: .95rem; line-height: 1.4; }
.plan li b { display: block; font-weight: 700; }
.plan li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.5l2.6 2.5L13 6.5' fill='none' stroke='%230c0c0c' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
}
.p-total li::before { background-color: var(--accent-ink); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.5l2.6 2.5L13 6.5' fill='none' stroke='%23d4ff3f' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.plan .btn { margin-top: auto; width: 100%; }
.legal { margin-top: 28px; color: var(--muted); font-size: var(--step-small); max-width: 90ch; }

/* ---------- Dentro: mosaico ---------- */
.inside { background: var(--paper); color: var(--paper-ink); padding: var(--section) 0; }
.inside .eyebrow, .finder .eyebrow, .faq .eyebrow, .tips .eyebrow { color: var(--paper-soft); }
.inside .h-head em, .finder .h-head em, .faq .h-head em, .tips .h-head em { color: var(--paper-ink); background: var(--accent); padding: 0 .08em; }
.inside-intro { display: grid; grid-template-columns: 1fr minmax(0, 30rem); gap: 16px 48px; align-items: end; margin-bottom: 48px; }
.inside-intro .eyebrow { grid-column: 1 / -1; }
.bento {
  display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(220px, 21vw, 340px); gap: var(--gap);
}
.tile { position: relative; grid-column: span 4; border-radius: 10px; overflow: hidden; background: var(--bg); color: #fff; isolation: isolate; }
.tile figure { position: absolute; inset: 0; z-index: -1; }
.tile figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, .78)); }
.tile img { transition: transform 1.2s var(--ease-out); }
.tile:hover img { transform: scale(1.05); }
.t-big { grid-column: span 7; grid-row: span 2; }
.t-tall { grid-column: span 5; grid-row: span 2; }
.t-lime { background: var(--accent); color: var(--accent-ink); }
.tile-text { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(18px, 2vw, 30px); }
.t-lime .tile-text { top: 0; display: flex; flex-direction: column; justify-content: flex-end; }
.tag { display: inline-block; padding: 4px 9px; border-radius: 4px; background: var(--accent); color: var(--accent-ink); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.t-lime .tag { background: var(--accent-ink); color: var(--accent); }
.tile h3 { margin-top: 12px; font-size: clamp(1.8rem, 2.5vw, 2.6rem); line-height: .92; max-width: 16ch; }
.t-big h3 { font-size: clamp(2.4rem, 4.2vw, 4.4rem); }
.tile p { margin-top: 10px; max-width: 42ch; font-size: .98rem; opacity: .9; }

/* ---------- Clases ---------- */
.classes { display: grid; grid-template-columns: 1fr 1fr; background: var(--surface); min-height: 100vh; }
.classes-pic { position: relative; }
.classes-pic img { position: absolute; inset: 0; object-position: 78% 30%; filter: contrast(1.05); }
.classes-body { padding: var(--section) var(--m); align-self: center; min-width: 0; }
.classes .lead { margin-top: 22px; color: #d8d8d8; font-size: var(--step-body); line-height: 1.5; max-width: 46ch; }
.days { display: flex; gap: 6px; margin-top: 34px; overflow-x: auto; scrollbar-width: none; }
.days button { flex: none; min-width: 58px; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: transparent; font-weight: 600; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.days button:hover { border-color: var(--accent); }
.days button[aria-selected="true"] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.timetable { margin-top: 22px; border-top: 1px solid var(--line); }
.timetable li {
  display: grid; grid-template-columns: 74px 1fr 60px 110px; gap: 14px; align-items: center;
  padding: 13px 0; border-bottom: 1px solid var(--line);
  opacity: 0; transform: translateY(8px); animation: rowIn .45s var(--ease-out) forwards;
}
.timetable li.past { color: #6d6d6d; }
.tt-h { font-size: 1.6rem; line-height: 1; }
.tt-n { font-weight: 600; }
.tt-n small { display: block; font-weight: 400; color: var(--muted); font-size: .85rem; }
.tt-l { display: flex; gap: 3px; }
.tt-l i { width: 12px; height: 14px; border-radius: 2px; background: #333; }
.tt-l i.on { background: var(--accent); }
.past .tt-l i.on { background: #555; }
.tt-f { text-align: right; font-size: .9rem; font-weight: 600; }
.tt-note { margin-top: 16px; color: var(--muted); font-size: var(--step-small); }

/* ---------- Buscador ---------- */
.finder { background: var(--paper); color: var(--paper-ink); padding: var(--section) 0; border-top: 1px solid #dcdcd5; }
.finder-head { display: grid; grid-template-columns: 1fr minmax(0, 30rem); gap: 16px 48px; align-items: end; }
.finder-head .eyebrow { grid-column: 1 / -1; }
.finder-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(24px, 4vw, 64px); margin-top: 56px; align-items: start; }
.finder-pic { aspect-ratio: 4 / 5; border-radius: 10px; position: sticky; top: 24px; }
.finder-pic img { object-position: 30% 50%; }
.search { display: grid; gap: 8px; font-size: var(--step-small); font-weight: 600; }
.search input {
  font: inherit; font-size: var(--step-lead); font-weight: 500; padding: 14px 18px; background: #fff; color: var(--paper-ink);
  border: 2px solid var(--paper-ink); border-radius: var(--r); width: 100%;
}
.search input::placeholder { color: #8a8a86; }
.search input:focus { outline: none; box-shadow: 0 0 0 4px var(--accent); }
.cities { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.cities button {
  border: 0; cursor: pointer; min-height: 40px; padding: 0 16px; border-radius: 999px;
  background: var(--paper-2); color: var(--paper-ink); font-size: var(--step-small); font-weight: 600; transition: background-color .2s, color .2s;
}
.cities button:hover { background: #d9d9d2; }
.cities button[aria-pressed="true"] { background: var(--paper-ink); color: var(--accent); }
.aforo-note { margin-top: 26px; font-size: var(--step-small); color: var(--paper-soft); }
.clubs { margin-top: 12px; border-top: 2px solid var(--paper-ink); }
.clubs li { opacity: 0; transform: translateY(10px); animation: rowIn .5s var(--ease-out) forwards; border-bottom: 1px solid #d6d6cf; }
.clubs a { display: grid; grid-template-columns: 28% 1fr auto; gap: 16px; align-items: center; padding: 16px 12px; margin: 0 -12px; text-decoration: none; border-radius: 6px; transition: background-color .2s; }
.clubs a:hover, .clubs a:focus-visible { background: #fff; }
.club-area { color: var(--paper-soft); font-size: .95rem; }
.club-name { font-weight: 700; font-size: 1.05rem; }
.club-addr { display: block; font-weight: 400; color: var(--paper-soft); font-size: var(--step-small); }
.club-state { text-align: right; white-space: nowrap; font-size: .92rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--paper-2); }
.club-state i { display: inline-block; width: .55em; height: .55em; border-radius: 50%; margin-right: .45em; background: #c9a227; vertical-align: .08em; }
.club-state[data-level="0"] i { background: #5f9a00; }
.club-state[data-level="2"] i { background: #d4380d; }
.clubs .empty { padding: 16px 0; color: var(--paper-soft); }
@keyframes rowIn { to { opacity: 1; transform: none; } }

/* ---------- Primera visita ---------- */
.visit { background: var(--accent); color: var(--accent-ink); padding: var(--section) 0; overflow: hidden; }
.visit .wrap { position: relative; }
.visit .eyebrow { color: var(--accent-ink); }
.visit .eyebrow::before { background: var(--accent-ink); }
.visit-head { display: grid; grid-template-columns: 1fr minmax(0, 30rem); gap: 16px 48px; margin-bottom: 56px; }
.stairs { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); counter-reset: s; }
.stairs li { position: relative; padding: 26px 24px 30px; border-top: 3px solid var(--accent-ink); }
.stairs li:nth-child(2) { margin-top: 48px; }
.stairs li:nth-child(3) { margin-top: 96px; }
.stairs li:nth-child(4) { margin-top: 144px; }
.stairs .n { font: 800 1rem/1 var(--display); letter-spacing: .1em; }
.h-stair { margin-top: 16px; font-size: clamp(2.2rem, 3.4vw, 3.8rem); line-height: .9; }
.stairs li > p:not(.h-stair) { margin-top: 14px; max-width: 30ch; font-weight: 500; }
.visit-pic { margin-top: -110px; width: 44%; aspect-ratio: 16 / 9; border-radius: 10px; }

/* ---------- App ---------- */
.app { background: var(--bg); }
.app-track { position: relative; height: 260vh; }
.app-stage { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; place-items: center; align-content: center; padding: 0 var(--m); }
.h-app { display: contents; }
.app-a, .app-b { display: block; font-size: var(--step-head); line-height: .88; text-align: center; position: relative; z-index: 2; }
.app-b { color: var(--accent); }
.app-a { order: 1; margin-bottom: 26px; }
.phone { order: 2; }
.app-cap { order: 4; }
.app-b { order: 3; margin-top: 26px; opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .9s var(--ease-out); }
.app[data-stage="1"] .app-b, .app[data-stage="2"] .app-b { opacity: 1; transform: none; }
.phone { width: min(30vw, 420px); min-width: 280px; aspect-ratio: 4 / 5; overflow: hidden; background: #f4f4f1; color: #111; border-radius: 22px; box-shadow: 0 0 0 8px #1f1f1f, 0 30px 80px rgba(212, 255, 63, .12); }
.screen { height: 100%; padding: 22px; display: grid; gap: 14px; align-content: start; font-size: 15px; line-height: 1.35; transform-origin: 50% 20%; transition: transform .7s var(--ease-io); }
.app[data-stage="1"] .screen { transform: scale(1.8); transform-origin: 22% 22%; }
.app[data-stage="2"] .screen { transform: scale(2.2); transform-origin: 50% 58%; }
.ui-top { display: flex; justify-content: space-between; font-weight: 600; }
.ui-club { font-weight: 400; color: #555; }
.ui-qr { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; background: #fff; padding: 12px; border-radius: 10px; }
.ui-qr svg { width: 96px; height: 96px; }
.ui-qr span { font-size: 14px; color: #333; }
.ui-busy { background: #111; color: #fff; padding: 14px; border-radius: 10px; }
.ui-h { font-size: 13px; opacity: .75; }
.ui-big { font-size: 34px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.ui-big span { color: var(--accent); }
.bars { display: flex; align-items: flex-end; gap: 3px; height: 44px; margin: 8px 0 6px; }
.bars i { flex: 1; background: #3a3a3a; border-radius: 2px 2px 0 0; }
.bars i.now { background: var(--accent); }
.ui-sm { font-size: 13px; opacity: .8; }
.ui-plan ul { margin-top: 6px; display: grid; gap: 6px; }
.ui-plan li { display: flex; justify-content: space-between; background: #fff; padding: 8px 10px; border-radius: 8px; font-size: 14px; }
.app-cap {
  position: absolute; left: calc(50% + min(15vw, 210px) + 56px); top: 50%;
  transform: translateY(-40%); width: min(24ch, calc(50% - min(15vw, 210px) - 56px - var(--m)));
  font-size: var(--step-lead); line-height: 1.25; transition: opacity .3s ease;
}
.app-cap.swap { opacity: 0; }
.app-list { position: absolute; right: calc(50% + min(15vw, 210px) + 56px); top: 50%; transform: translateY(-50%); display: grid; gap: 14px; width: min(26ch, calc(50% - min(15vw, 210px) - 56px - var(--m))); }
.app-list li { padding-top: 14px; border-top: 1px solid var(--line); font-weight: 500; color: #d8d8d8; }
.app-list li::before { content: "→ "; color: var(--accent); }
.mark { position: absolute; left: 0; width: 1px; height: 1px; }
.mark[data-stage="0"] { top: 0; }
.mark[data-stage="1"] { top: 100vh; }
.mark[data-stage="2"] { top: 150vh; }

/* ---------- Consejos ---------- */
.tips { background: var(--paper); color: var(--paper-ink); padding: var(--section) 0; }
.tips-head { margin-bottom: 44px; }
.tips-head .h-head { margin-top: 14px; }
.tips-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.tip { display: block; text-decoration: none; }
.tip figure { aspect-ratio: 4 / 3; border-radius: 10px; margin-bottom: 18px; }
.tip img { transition: transform 1s var(--ease-out); }
.tip:hover img { transform: scale(1.05); }
.tip .tag { background: var(--paper-ink); color: var(--accent); }
.tip h3 { margin-top: 12px; font-size: clamp(1.8rem, 2.4vw, 2.5rem); line-height: .92; }
.tip:hover h3 { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 4px; text-underline-offset: 4px; }
.tip p { margin-top: 10px; color: var(--paper-soft); max-width: 40ch; }

/* ---------- Preguntas ---------- */
.faq { background: var(--paper-2); color: var(--paper-ink); padding: var(--section) 0; }
.faq-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq-side { position: sticky; top: 32px; }
.faq-side .h-head { margin-top: 14px; }
.faq-pic { margin-top: 36px; aspect-ratio: 16 / 10; border-radius: 10px; }
.qs details { background: #fff; border-radius: 10px; padding: 22px 26px; transition: box-shadow .25s; }
.qs details + details { margin-top: 10px; }
.qs details[open] { box-shadow: inset 4px 0 0 var(--accent-ink); }
.qs summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center; font-size: clamp(1.1rem, 1rem + .4vw, 1.35rem); font-weight: 600; line-height: 1.25; }
.qs summary::-webkit-details-marker { display: none; }
.qs summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); font-size: 1.3rem; font-weight: 500; transition: transform .3s var(--ease-out); }
.qs details[open] summary::after { transform: rotate(45deg); }
.qs details p { margin-top: 12px; max-width: 56ch; color: #33332f; }

/* ---------- Cierre ---------- */
.cta { position: relative; background: var(--bg); color: var(--ink); isolation: isolate; overflow: hidden; }
.cta-bg { position: absolute; inset: 0; z-index: -1; }
.cta-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12, 12, 12, .92) 20%, rgba(12, 12, 12, .55)); }
.cta .wrap { min-height: 88vh; display: flex; flex-direction: column; justify-content: space-between; padding-top: clamp(96px, 12vw, 180px); padding-bottom: 56px; }
.h-cta { font-size: var(--step-display); line-height: .84; max-width: 9ch; }
.cta-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-top: 64px; }
.cta-foot p { max-width: 40ch; font-size: var(--step-lead); line-height: 1.3; }

/* ---------- Pie ---------- */
.foot { background: var(--accent); color: var(--accent-ink); overflow: hidden; }
.foot .wrap { padding-top: 64px; padding-bottom: 28px; }
.foot-cols { display: grid; grid-template-columns: 1fr 1fr 1fr 1.6fr; gap: 32px; }
.foot-cols > div { display: flex; flex-direction: column; gap: 8px; }
.foot-cols a { text-decoration: none; font-weight: 500; }
.foot-cols a:hover { text-decoration: underline; }
.foot-h { font-size: var(--step-small); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 6px; }
.foot-phone { font-size: clamp(2.6rem, 4.6vw, 4.6rem); line-height: .9; text-decoration: none !important; }
.foot-word { margin: 40px 0 10px; font-size: 33vw; line-height: .72; letter-spacing: -.01em; text-transform: lowercase; }
.foot-meta { display: grid; grid-template-columns: 1fr 1.6fr auto; gap: 32px; padding-top: 18px; border-top: 1px solid rgba(0, 0, 0, .2); font-size: var(--step-small); }
.foot-meta p:last-child { text-align: right; }

/* ---------- Entradas ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .9s var(--ease-out); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js .bento [data-reveal]:nth-child(2), .js .tips-grid [data-reveal]:nth-child(2), .js .stairs [data-reveal]:nth-child(2) { transition-delay: .08s; }
.js .bento [data-reveal]:nth-child(3), .js .tips-grid [data-reveal]:nth-child(3), .js .stairs [data-reveal]:nth-child(3) { transition-delay: .16s; }
.js .bento [data-reveal]:nth-child(n+4), .js .stairs [data-reveal]:nth-child(4) { transition-delay: .24s; }

@media (max-width: 1100px) {
  .app-cap { position: static; transform: none; margin-top: 24px; text-align: center; max-width: 34ch; font-size: var(--step-body); }
  .app-list { display: none; }
  .classes { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .classes-pic { aspect-ratio: 16 / 9; }
  .stairs { grid-template-columns: 1fr 1fr; }
  .stairs li:nth-child(n) { margin-top: 0; }
  .visit-pic { margin-top: 32px; width: 100%; }
  .foot-cols { grid-template-columns: 1fr 1fr 1fr; }
  .foot-call { grid-column: 1 / -1; }
}

/* ---------- Móvil ---------- */
@media (max-width: 760px) {
  .promo-bar { font-size: .78rem; gap: 8px; }
  .promo-bar a { display: none; }
  .nav { gap: 16px; top: 38px; padding: 16px var(--m); }
  .nav nav { display: none; }
  .hero-kicker { top: 116px; font-size: .72rem; }
  .hero-line { flex-wrap: wrap; justify-content: flex-start; top: 42%; font-size: 30vw; row-gap: 0.08em; }
  .hero-line .hw { flex: 0 0 100%; }
  .hero-line .hw-b { text-align: right; }
  .strip { flex: 0 0 100%; height: auto; aspect-ratio: 2 / 1; order: 0; }
  .hero-foot { flex-direction: column; align-items: stretch; bottom: 24px; gap: 16px; }
  .hero-sub { font-size: 1.05rem; }
  .hero-ctas .btn { flex: 1; padding: 0 12px; }
  .hero-ctas .btn-line { display: none; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid rgba(0, 0, 0, .14); }
  .pricing-head, .inside-intro, .finder-head, .visit-head { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; gap: 22px; }
  .plan[aria-checked="true"] { transform: none; }
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 210px; }
  .tile, .t-big, .t-tall { grid-column: span 2; grid-row: span 1; }
  .t-big { grid-row: span 2; }
  .tile:nth-child(3), .tile:nth-child(4) { grid-column: span 1; }
  .tile:nth-child(3) h3, .tile:nth-child(4) h3 { font-size: 1.45rem; }
  .tile:nth-child(3) .tag, .tile:nth-child(4) .tag { display: none; }
  .tile:nth-child(3) .tile-text, .tile:nth-child(4) .tile-text { padding: 14px; }
  .timetable li { grid-template-columns: 58px 1fr auto; }
  .tt-l { display: none; }
  .tt-h { font-size: 1.35rem; }
  .finder-grid { grid-template-columns: 1fr; margin-top: 36px; }
  .finder-pic { position: static; aspect-ratio: 16 / 10; order: 2; }
  .clubs a { grid-template-columns: 1fr auto; }
  .club-area { grid-column: 1 / -1; font-size: var(--step-small); }
  .stairs { grid-template-columns: 1fr; }
  .stairs li { padding: 20px 0 8px; }
  .phone { width: 74vw; min-width: 0; }
  .tips-grid { grid-template-columns: 1fr; gap: 36px; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-side { position: static; }
  .faq-pic { display: none; }
  .qs details { padding: 18px; }
  .cta .wrap { min-height: 80vh; }
  .h-cta { font-size: 21vw; }
  .cta-foot { flex-direction: column; align-items: stretch; }
  .cta-foot .btn { width: 100%; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .foot-meta { grid-template-columns: 1fr; gap: 10px; }
  .foot-meta p:last-child { text-align: left; }
}

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .hero { height: auto; }
  .hero-stage { position: relative; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .app-track { height: auto; }
  .app-stage { position: relative; padding: var(--section) var(--m); }
  .app-b { opacity: 1; transform: none; }
  .screen { transition: none; }
  .clubs li, .timetable li { animation: none; opacity: 1; transform: none; }
  .hero-kicker i { animation: none; }
}

/* ---------- Vista previa en la tarjeta de Materia ---------- */
html.is-preview { scroll-behavior: auto; scrollbar-width: none; }
html.is-preview::-webkit-scrollbar { display: none; }
html.is-preview body { pointer-events: none; }
