/* ==========================================================================
   G-O Fitness — hoja de estilos
   Tipografías: Archivo (variable de ancho 62–125 %: titulares condensados,
   texto normal y etiquetas extendidas como «FITNESS» en el logo) y
   Geist Mono (datos, precios y lecturas tipo monitor).
   Colores tomados del logo: verde bosque, rojo del pulso y hueso.
   ========================================================================== */

@font-face {
  font-family: 'Archivo';
  src: url('/assets/fonts/archivo.woff2') format('woff2');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: 'Geist Mono';
  src: url('/assets/fonts/geist-mono.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

/* ── Tokens ──────────────────────────────────────────────────────────────── */
:root {
  --noche: #0a1a15;
  --pino: #10261f;
  --bosque: #183f36;
  --bosque-2: #21503f;
  --musgo: #6f8f82;
  --hueso: #f2eee4;
  --hueso-2: #faf7f0;
  --arena: #e5dfd1;
  --tinta: #0f1a16;
  --gris: #4a5a53;
  --rojo: #c72a2f;
  --rojo-hover: #d93a3f;
  --rojo-vivo: #ef3b40;
  --rojo-texto: #ff6b66;
  --rojo-claro: #b3242a;
  --wa: #25d366;

  --font: 'Archivo', 'Arial Narrow', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'Cascadia Mono', Menlo, Consolas, monospace;

  /* El ancho manda en móvil; en escritorio también la altura, para que la portada quepa completa en pantalla */
  --fs-hero: clamp(3.5rem, min(15.2vw, calc(31.5vh - 110px)), 14.5rem);
  --fs-h2: clamp(2.2rem, 1.15rem + 3.6vw, 4.9rem);
  --fs-h3: clamp(1.3rem, 1.05rem + 0.8vw, 1.75rem);
  --fs-lead: clamp(1.1rem, 1rem + 0.45vw, 1.38rem);
  --fs-body: 1.0625rem;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-in-out: cubic-bezier(0.87, 0, 0.13, 1);

  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1440px;
  --hdr-h: 76px;
  --sec: clamp(88px, 10vw, 168px);
  --r: 4px;
  --r-lg: 8px;

  /* Tema por defecto: oscuro */
  --bg: var(--noche);
  --fg: var(--hueso);
  --fg-2: rgba(242, 238, 228, 0.74);
  --fg-3: rgba(242, 238, 228, 0.5);
  --line: rgba(242, 238, 228, 0.14);
  --accent: var(--rojo-texto);
  --accent-line: var(--rojo-vivo);
  --card: var(--pino);
  --focus: var(--rojo-texto);
}
@media (max-width: 760px) { :root { --hdr-h: 64px; } }

/* Temas por sección */
.sec--noche, .sec--pino, .sec--bosque, .hero, .phero, .cta, .ftr, .menu, .e404, .quiz__res, .bld, .oplan--plus {
  --bg: var(--noche); --fg: var(--hueso); --fg-2: rgba(242, 238, 228, 0.74); --fg-3: rgba(242, 238, 228, 0.5);
  --line: rgba(242, 238, 228, 0.14); --accent: var(--rojo-texto); --accent-line: var(--rojo-vivo); --card: var(--pino); --focus: var(--rojo-texto);
}
.sec--pino { --bg: var(--pino); --card: #15312a; }
.sec--bosque { --bg: var(--bosque); --card: #12352c; --fg-2: rgba(242, 238, 228, 0.8); }
.sec--hueso, .sec--arena, .cplan, .oplan:not(.oplan--plus), .wform {
  --bg: var(--hueso); --fg: var(--tinta); --fg-2: var(--gris); --fg-3: rgba(15, 26, 22, 0.5);
  --line: rgba(15, 26, 22, 0.14); --accent: var(--rojo-claro); --accent-line: var(--rojo); --card: var(--noche); --focus: var(--rojo-claro);
}
.sec--arena { --bg: var(--arena); }
.bld { --bg: var(--card); }

/* ── Base ────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr-h) + 16px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--noche);
  color: var(--hueso);
  font-family: var(--font);
  font-stretch: 100%;
  font-size: var(--fs-body);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; font-stretch: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
table { border-collapse: collapse; width: 100%; }
strong, b { font-weight: 650; }
::selection { background: var(--rojo-vivo); color: var(--hueso); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
main:focus { outline: none; }
[id] { scroll-margin-top: calc(var(--hdr-h) + 24px); }
[hidden] { display: none !important; }

.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 12px; top: 12px; z-index: 100; padding: 12px 18px; background: var(--hueso); color: var(--tinta); border-radius: var(--r); font-weight: 600; transform: translateY(-160%); transition: transform 0.3s var(--ease-out); }
.skip:focus { transform: none; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.sec { position: relative; padding-block: var(--sec); background: var(--bg); color: var(--fg); }

/* ── Tipografía ──────────────────────────────────────────────────────────── */
.mono { font-family: var(--mono); font-size: 0.75rem; line-height: 1.4; letter-spacing: 0.04em; text-transform: uppercase; font-weight: 450; }
.display { font-family: var(--font); font-stretch: 62%; font-weight: 820; text-transform: uppercase; line-height: 0.86; letter-spacing: -0.004em; }
.h2 { font-stretch: 78%; font-weight: 720; font-size: var(--fs-h2); line-height: 0.96; letter-spacing: -0.022em; text-wrap: balance; }
.h3 { font-stretch: 88%; font-weight: 680; font-size: var(--fs-h3); line-height: 1.1; letter-spacing: -0.01em; }
.red { color: var(--accent-line); }

/* Etiqueta: mayúsculas extendidas con tracking ancho, como «FITNESS» en el logo */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-stretch: 125%; font-weight: 620; font-size: 0.72rem; line-height: 1.2;
  letter-spacing: 0.26em; text-transform: uppercase; color: var(--fg-2);
}
.eyebrow::before { content: ''; width: 22px; height: 1.5px; background: var(--accent-line); flex: none; }

.s-head { max-width: 900px; margin-bottom: clamp(40px, 5vw, 76px); }
.s-head__t { margin-top: 18px; }
.s-head__p { margin-top: 22px; max-width: 58ch; color: var(--fg-2); font-size: clamp(1.05rem, 1rem + 0.25vw, 1.2rem); }

.tlink { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--fg); border-bottom: 1px solid var(--line); padding-bottom: 3px; transition: border-color 0.3s, color 0.3s; }
.tlink .i { width: 18px; height: 18px; transition: transform 0.5s var(--ease-out); }
.tlink:hover { border-color: currentColor; }
.tlink:hover .i { transform: translateX(3px); }
.tlink--light { color: var(--hueso); }

/* ── Íconos ──────────────────────────────────────────────────────────────── */
.i { width: 22px; height: 22px; flex: none; }
.i--wa { width: 20px; height: 20px; }

/* ── Botones ─────────────────────────────────────────────────────────────── */
.btn {
  --b-bg: transparent; --b-fg: var(--fg); --b-bd: var(--line);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 0 24px; border-radius: var(--r);
  background: var(--b-bg); color: var(--b-fg); border: 1px solid var(--b-bd);
  font-weight: 620; font-size: 1rem; line-height: 1.1; letter-spacing: 0.005em; white-space: nowrap;
  transition: background-color 0.35s var(--ease-out), border-color 0.35s var(--ease-out), color 0.35s var(--ease-out), transform 0.5s var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.btn__i { display: inline-flex; transition: transform 0.5s var(--ease-out); }
.btn__i .i { width: 20px; height: 20px; }
.btn:hover .btn__i:not(.btn__i--lead) { transform: translateX(4px); }
.btn:active { transform: scale(0.98); }
.btn--red { --b-bg: var(--rojo); --b-fg: var(--hueso); --b-bd: var(--rojo); }
.btn--red:hover { --b-bg: var(--rojo-hover); --b-bd: var(--rojo-hover); }
.btn--line { --b-fg: var(--fg); --b-bd: color-mix(in srgb, var(--fg) 36%, transparent); }
.btn--line:hover { --b-bd: var(--fg); --b-bg: color-mix(in srgb, var(--fg) 8%, transparent); }
.btn--ink { --b-bg: var(--noche); --b-fg: var(--hueso); --b-bd: var(--noche); }
.btn--ink:hover { --b-bg: var(--bosque); --b-bd: var(--bosque); }
.btn--ghost { --b-fg: var(--fg); --b-bd: color-mix(in srgb, var(--fg) 30%, transparent); }
.btn--ghost:hover { --b-bd: var(--fg); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 0.94rem; }
.btn--block { width: 100%; }
.btn--wa .btn__i--lead .i { width: 21px; height: 21px; }

/* Botón de pausa de videos */
.vbtn {
  position: absolute; z-index: 5; right: var(--gutter); bottom: clamp(20px, 3vw, 36px);
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  color: var(--hueso); background: rgba(10, 26, 21, 0.42); border: 1px solid rgba(242, 238, 228, 0.24);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background-color 0.3s;
}
.vbtn:hover { background: rgba(10, 26, 21, 0.7); }
.vbtn .i { width: 18px; height: 18px; }
.vbtn .i--play, .vbtn[aria-pressed='true'] .i--pause { display: none; }
.vbtn[aria-pressed='true'] .i--play { display: block; }

/* ── Medios ──────────────────────────────────────────────────────────────── */
.cover, .cover img { position: absolute; inset: 0; width: 100%; height: 100%; }
.cover img, img.cover, video.cover { object-fit: cover; object-position: var(--focus, 50% 50%); }
picture img { background: var(--bg-img, var(--bg)); }
img[style*='--bg'] { background: var(--bg); }
video.cover { opacity: 0; transition: opacity 1s var(--ease-out); }
video.cover.is-playing { opacity: 1; }

.fig { position: relative; }
.mframe { position: relative; overflow: hidden; border-radius: var(--r); background: var(--card); }
.mframe img { width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, 50% 50%); }
.mframe > picture { position: absolute; inset: 0; }
.mframe > picture img { position: absolute; inset: 0; }
.mframe--4-5 { aspect-ratio: 4 / 5; }
.mframe--3-2 { aspect-ratio: 3 / 2; }
.mframe--4-3 { aspect-ratio: 4 / 3; }
.mframe--3-5 { aspect-ratio: 3 / 5; }
.cap { margin-top: 12px; color: var(--fg-2); display: flex; gap: 10px; align-items: center; }
.cap::before { content: ''; width: 14px; height: 1px; background: currentColor; }

.collage { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: start; }
.collage__a { grid-column: 1 / 11; grid-row: 1; }
.collage__b { grid-column: 7 / 13; grid-row: 1; margin-top: 46%; z-index: 1; }
.collage__b .mframe { box-shadow: 0 0 0 clamp(6px, 0.8vw, 12px) var(--bg); }

/* ── Línea de pulso ──────────────────────────────────────────────────────── */
.prule { display: flex; align-items: center; width: 100%; height: 40px; color: var(--accent-line); }
.prule__l { flex: 1; height: 1.5px; background: currentColor; transform-origin: left center; }
.prule__l:first-child { flex: 0 0 18%; }
.prule__b { width: 120px; height: 40px; flex: none; overflow: visible; }
.prule__b path { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.prule--light { color: var(--rojo-vivo); }

.beats { width: 168px; height: 32px; overflow: visible; }
.beats path { fill: none; stroke: var(--accent-line); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }

/* ── Encabezado ──────────────────────────────────────────────────────────── */
.hdr { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--hdr-h); color: var(--hueso); transition: transform 0.6s var(--ease-out); }
.hdr__bg { position: absolute; inset: 0; background: rgba(10, 26, 21, 0.84); backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2); border-bottom: 1px solid rgba(242, 238, 228, 0.08); opacity: 0; transition: opacity 0.4s var(--ease-out); }
.hdr.is-solid .hdr__bg, .hdr.is-mega .hdr__bg, .menu-open .hdr__bg { opacity: 1; }
.hdr.is-hidden { transform: translateY(-100%); }
.hdr__bar { position: relative; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.hdr__logo { display: block; padding: 6px 0; flex: none; }
.logo { height: 46px; width: auto; overflow: visible; }
.logo__red { fill: var(--rojo-vivo); }
.logo__go, .logo__word { fill: var(--hueso); }
@media (max-width: 760px) { .logo { height: 38px; } }

.nav { display: none; }
.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__link { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; font-weight: 520; font-size: 0.97rem; color: rgba(242, 238, 228, 0.82); transition: color 0.3s; }
.nav__link::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1.5px; background: var(--rojo-vivo); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease-out); }
.nav__link:hover, .nav__link[aria-current='page'], .nav__link.is-current, .nav__link[aria-expanded='true'] { color: var(--hueso); }
.nav__link:hover::after, .nav__link[aria-current='page']::after, .nav__link.is-current::after { transform: scaleX(1); }
.nav__chev { width: 16px; height: 16px; transition: transform 0.4s var(--ease-out); }
.nav__link[aria-expanded='true'] .nav__chev { transform: rotate(180deg); }

.hdr__end { display: flex; align-items: center; gap: 14px; }
.hdr__bpm { display: none; align-items: center; gap: 8px; color: rgba(242, 238, 228, 0.66); white-space: nowrap; }
.hdr__bpm b { font-weight: 500; color: var(--hueso); font-variant-numeric: tabular-nums; min-width: 3ch; text-align: right; }
.hdr__dot, .hero__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--rojo-vivo); box-shadow: 0 0 0 0 rgba(239, 59, 64, 0.5); transition: transform 0.12s ease-out, box-shadow 0.5s ease-out; }
.is-beat { transform: scale(1.7); box-shadow: 0 0 0 6px rgba(239, 59, 64, 0); }
.hdr__cta { display: none; }

.burger { width: 46px; height: 46px; display: grid; place-items: center; margin-right: -8px; border-radius: var(--r); }
.burger__box { position: relative; width: 24px; height: 12px; }
.burger__box span { position: absolute; left: 0; right: 0; height: 1.6px; background: currentColor; transition: transform 0.5s var(--ease-out), top 0.5s var(--ease-out); }
.burger__box span:first-child { top: 0; }
.burger__box span:last-child { top: 10.4px; }
.burger[aria-expanded='true'] .burger__box span:first-child { top: 5.2px; transform: rotate(45deg); }
.burger[aria-expanded='true'] .burger__box span:last-child { top: 5.2px; transform: rotate(-45deg); }

@media (min-width: 560px) { .hdr__cta { display: inline-flex; } }
@media (min-width: 1100px) {
  .nav { display: block; }
  .burger { display: none; }
}
@media (min-width: 1280px) { .hdr__bpm { display: inline-flex; } }

/* Mega menú */
.mega { position: absolute; left: 0; right: 0; top: 100%; background: rgba(10, 26, 21, 0.97); border-bottom: 1px solid rgba(242, 238, 228, 0.1); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 0.35s var(--ease-out), transform 0.5s var(--ease-out), visibility 0s 0.35s; }
.hdr.is-mega .mega { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mega__in { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 32px; padding-block: 28px 36px; }
.mega__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.mega__link { display: flex; gap: 16px; padding: 18px; border-radius: var(--r-lg); transition: background-color 0.3s; }
.mega__link:hover, .mega__link[aria-current='page'] { background: rgba(242, 238, 228, 0.06); }
.mega__ico { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(242, 238, 228, 0.18); color: var(--rojo-texto); }
.mega__txt { display: grid; gap: 3px; }
.mega__t { font-stretch: 85%; font-weight: 720; font-size: 1.2rem; line-height: 1.15; }
.mega__d { color: rgba(242, 238, 228, 0.7); font-size: 0.94rem; line-height: 1.45; }
.mega__p { color: var(--rojo-texto); margin-top: 4px; }
.mega__feat { display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: var(--r-lg); background: var(--bosque); transition: background-color 0.3s; }
.mega__feat:hover { background: var(--bosque-2); }
.mega__feat-k { display: inline-flex; align-items: center; gap: 8px; color: rgba(242, 238, 228, 0.8); }
.mega__feat-k .i { color: var(--rojo-texto); width: 20px; height: 20px; }
.mega__feat-t { font-stretch: 70%; font-weight: 800; font-size: 1.8rem; line-height: 1; text-transform: uppercase; }
.mega__feat-d { color: rgba(242, 238, 228, 0.8); font-size: 0.94rem; line-height: 1.45; }
.mega__feat-go { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 620; }
.mega__feat-go .i { width: 18px; height: 18px; transition: transform 0.5s var(--ease-out); }
.mega__feat:hover .mega__feat-go .i { transform: translateX(4px); }

/* Menú móvil */
.menu { position: fixed; inset: 0; z-index: 45; background: var(--noche); color: var(--hueso); overflow-y: auto; overscroll-behavior: contain; opacity: 0; visibility: hidden; transition: opacity 0.4s var(--ease-out), visibility 0s 0.4s; }
.menu.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.menu__in { min-height: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding-top: calc(var(--hdr-h) + 20px); padding-bottom: calc(28px + env(safe-area-inset-bottom)); }
.menu__k { margin-bottom: 10px; }
.menu__modes a { display: grid; grid-template-columns: 24px 1fr auto; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid rgba(242, 238, 228, 0.1); font-stretch: 85%; font-weight: 680; font-size: 1.25rem; }
.menu__modes a .i { color: var(--rojo-texto); }
.menu__modes .mono { color: rgba(242, 238, 228, 0.6); font-size: 0.68rem; }
.menu__main { margin-top: 28px; display: grid; gap: 2px; }
.menu__main a { display: block; padding: 4px 0; font-stretch: 62%; font-weight: 800; text-transform: uppercase; font-size: clamp(2.3rem, 11vw, 3.4rem); line-height: 1; }
.menu__main a[aria-current='page'], .menu__modes a[aria-current='page'] { color: var(--rojo-texto); }
.menu__foot { display: grid; gap: 18px; }
.menu__social { display: flex; gap: 10px; }
.menu__social a { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid rgba(242, 238, 228, 0.18); border-radius: 50%; }

/* ── Inicio: portada ─────────────────────────────────────────────────────── */
.hero { position: relative; isolation: isolate; min-height: 100svh; display: flex; align-items: flex-end; background: var(--noche); color: var(--hueso); overflow: hidden; }
.hero__media { position: absolute; inset: 0 0 -12%; z-index: 0; }
.hero__shade { position: absolute; inset: 0; z-index: 1; background:
  linear-gradient(180deg, rgba(10, 26, 21, 0.72) 0%, rgba(10, 26, 21, 0.22) 30%, rgba(10, 26, 21, 0.38) 58%, rgba(10, 26, 21, 0.92) 88%, var(--noche) 100%),
  radial-gradient(120% 80% at 15% 60%, rgba(10, 26, 21, 0.55), transparent 70%); }
.hero__ecg { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; pointer-events: none; }
.hero__in { position: relative; z-index: 3; padding-top: calc(var(--hdr-h) + 5vh); padding-bottom: clamp(22px, 3.4vw, 44px); }
.hero__k { margin-bottom: clamp(16px, 3vh, 34px); color: rgba(242, 238, 228, 0.82); }
.hero__t { display: inline-flex; flex-direction: column; font-size: var(--fs-hero); margin-left: -0.035em; }
.hero__row { display: block; overflow: hidden; padding-block: 0.02em; }
.hero__row--r { align-self: flex-end; }
.hero__w { display: block; }
.hero__foot { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; margin-top: clamp(26px, 4.5vh, 54px); }
.hero__lead { max-width: 44ch; font-size: var(--fs-lead); line-height: 1.5; color: rgba(242, 238, 228, 0.86); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__bpm { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding-top: 16px; border-top: 1px solid rgba(242, 238, 228, 0.16); color: rgba(242, 238, 228, 0.7); }
.hero__bpm b { font-weight: 500; color: var(--hueso); font-size: 0.95rem; font-variant-numeric: tabular-nums; min-width: 3ch; text-align: right; }
.hero__zone { color: var(--rojo-texto); }
.hero__hint { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; }
.hero__hint .i { width: 16px; height: 16px; }
.hero__vbtn { bottom: auto; top: calc(var(--hdr-h) + 18px); }
@media (min-width: 900px) {
  .hero__foot { grid-template-columns: minmax(0, 1fr) auto; align-items: end; column-gap: 48px; }
  .hero__bpm { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .hero__hint { display: none; }
  .hero__actions .btn { flex: 1 1 100%; }
}

/* ── Portada de páginas internas ─────────────────────────────────────────── */
.phero { position: relative; isolation: isolate; min-height: clamp(580px, 88svh, 940px); display: flex; align-items: flex-end; background: var(--noche); color: var(--hueso); overflow: hidden; }
.phero__media { position: absolute; inset: 0 0 -12%; z-index: 0; }
.phero__shade { position: absolute; inset: 0; z-index: 1; background:
  linear-gradient(180deg, rgba(10, 26, 21, 0.78) 0%, rgba(10, 26, 21, 0.25) 34%, rgba(10, 26, 21, 0.45) 62%, rgba(10, 26, 21, 0.94) 92%, var(--noche) 100%),
  radial-gradient(100% 70% at 10% 80%, rgba(10, 26, 21, 0.6), transparent 70%); }
.phero__in { position: relative; z-index: 2; padding-top: calc(var(--hdr-h) + 40px); padding-bottom: clamp(36px, 5vw, 64px); }
.crumbs { margin-bottom: clamp(26px, 5vh, 56px); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px 10px; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.04em; text-transform: uppercase; color: rgba(242, 238, 228, 0.66); }
.crumbs li { display: inline-flex; align-items: center; gap: 10px; }
.crumbs li + li::before { content: '/'; color: rgba(242, 238, 228, 0.4); }
.crumbs a:hover { color: var(--hueso); }
.crumbs [aria-current] { color: var(--hueso); }
.phero__k { color: rgba(242, 238, 228, 0.84); }
.phero__t {
  margin-top: clamp(14px, 2vh, 24px); margin-left: -0.035em;
  font-size: min(clamp(3.4rem, 13vw, 12.6rem), calc((100vw - 2 * var(--gutter)) / (var(--lw, 8) * 0.52)));
  text-wrap: balance;
}
.phero__foot { display: grid; gap: 24px; margin-top: clamp(22px, 3.4vh, 40px); }
.phero__lead { max-width: 48ch; font-size: var(--fs-lead); line-height: 1.5; color: rgba(242, 238, 228, 0.86); }
.phero__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.phero__aside { display: inline-grid; gap: 2px; justify-self: start; margin-top: 26px; padding: 14px 18px; border: 1px solid rgba(242, 238, 228, 0.22); border-radius: var(--r); background: rgba(10, 26, 21, 0.4); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: rgba(242, 238, 228, 0.74); }
.phero__aside b { font-family: var(--font); font-stretch: 70%; font-weight: 800; font-size: 2rem; line-height: 1; color: var(--hueso); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
@media (min-width: 900px) {
  .phero__foot { grid-template-columns: minmax(0, 1fr) auto; align-items: end; column-gap: 48px; }
  .phero__aside { position: absolute; right: var(--gutter); top: calc(var(--hdr-h) + 40px); margin: 0; text-align: right; }
}
@media (max-width: 560px) { .phero__actions .btn { flex: 1 1 100%; } }

/* Portada con la foto del entrenador (Planes). En celular en vertical se usa un recorte con la cara arriba;
   la portada crece un poco para que el texto empiece debajo del mentón, y la sombra se aclara sobre la cara
   y se oscurece donde empieza el texto (que queda sobre la camiseta blanca). */
@media (max-aspect-ratio: 2/3) {
  .phero--coach { min-height: max(580px, calc(100svh - 40px)); }
  .phero--coach .phero__shade { background: linear-gradient(180deg, rgba(10, 26, 21, 0.7) 0%, rgba(10, 26, 21, 0.12) 12%, rgba(10, 26, 21, 0.14) 24%, rgba(10, 26, 21, 0.76) 32%, rgba(10, 26, 21, 0.8) 60%, rgba(10, 26, 21, 0.95) 88%, var(--noche) 100%); }
}

/* Portada dividida (Nosotros) */
.phero--split { min-height: 100svh; align-items: stretch; }
.phero--split .phero__shade { display: none; }
.phero--split .phero__media { position: relative; inset: auto; z-index: 1; }
@media (min-width: 1000px) {
  .phero--split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); max-width: none; }
  .phero--split .phero__in { grid-column: 1; grid-row: 1; align-self: end; max-width: calc(var(--maxw) * 0.575); margin-left: max(0px, calc((100vw - var(--maxw)) / 2)); }
  .phero--split .phero__media { grid-column: 2; grid-row: 1; align-self: center; padding: calc(var(--hdr-h) + 32px) var(--gutter) 48px 0; max-width: calc(var(--maxw) * 0.425); }
  .phero--split .phero__t { font-size: clamp(4rem, 8vw, 9rem); }
  .phero--split .phero__foot { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 999px) {
  .phero--split { flex-direction: column-reverse; }
  .phero--split .phero__media { padding: calc(var(--hdr-h) + 16px) var(--gutter) 0; }
  .phero--split .phero__in { padding-top: 28px; }
  .phero--split .phero__media .mframe { aspect-ratio: 4 / 4.4; }
}

/* ── Inicio: introducción ────────────────────────────────────────────────── */
.intro__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px var(--gutter); }
.intro__k { grid-column: 1 / -1; }
.intro__st { grid-column: 1 / -1; font-stretch: 88%; font-weight: 560; font-size: clamp(1.75rem, 1rem + 2.7vw, 3.75rem); line-height: 1.08; letter-spacing: -0.024em; text-wrap: balance; max-width: 24ch; }
.intro__side { grid-column: 1 / -1; display: grid; gap: 40px; margin-top: clamp(8px, 3vw, 48px); }
.intro__p { color: var(--fg-2); max-width: 52ch; font-size: 1.1rem; }
.spec { display: grid; border-top: 1px solid var(--line); }
.spec div { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.spec dt { color: var(--fg-2); padding-top: 3px; }
.spec dd { font-weight: 560; }
@media (min-width: 1000px) {
  .intro__k { grid-column: 1 / 4; padding-top: 1.2rem; }
  .intro__st { grid-column: 4 / -1; }
  .intro__side { grid-column: 4 / -1; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gutter); }
}

/* ── Inicio: índice de modalidades ───────────────────────────────────────── */
.modes__list { border-bottom: 1px solid var(--line); }
.mrow { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr) 36px; grid-template-areas: 'thumb t go' 'thumb d d' 'meta meta meta'; gap: 4px 16px; align-items: center; padding: 22px 0; border-top: 1px solid var(--line); }
.mrow__thumb { grid-area: thumb; width: 64px; height: 64px; border-radius: var(--r); overflow: hidden; align-self: start; }
.mrow__thumb picture, .mrow__thumb img { width: 100%; height: 100%; object-fit: cover; object-position: var(--focus); }
.mrow__t { grid-area: t; font-stretch: 66%; font-weight: 800; text-transform: uppercase; font-size: clamp(1.9rem, 1rem + 3.6vw, 4.8rem); line-height: 0.92; letter-spacing: -0.005em; transition: transform 0.7s var(--ease-out), color 0.4s; }
.mrow__d { grid-area: d; color: var(--fg-2); max-width: 44ch; }
.mrow__meta { grid-area: meta; display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; color: var(--fg-2); }
.mrow__p { color: var(--accent); }
.mrow__go { grid-area: go; justify-self: end; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); transition: background-color 0.4s, border-color 0.4s, transform 0.6s var(--ease-out); }
.mrow__go .i { width: 18px; height: 18px; }
.mrow:hover .mrow__go { background: var(--rojo); border-color: var(--rojo); transform: rotate(45deg); }
.mrow--coach .mrow__t { color: var(--musgo); }
.modes__float { display: none; }
@media (min-width: 1000px) {
  .mrow { grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 2.6fr) 48px; grid-template-areas: 't d meta go'; gap: 32px; padding: 30px 0; }
  .mrow__thumb { display: none; }
  .mrow__meta { flex-direction: column; margin: 0; gap: 4px; }
  .mrow__go { width: 48px; height: 48px; }
  .mrow:hover .mrow__t { transform: translateX(14px); }
  .modes__float { display: block; position: fixed; left: 0; top: 0; z-index: 20; width: 340px; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; pointer-events: none; opacity: 0; }
  .modes__float picture { position: absolute; inset: 0; opacity: 0; transition: opacity 0.4s var(--ease-out); }
  .modes__float picture.is-on { opacity: 1; }
  .modes__float img { width: 100%; height: 100%; object-fit: cover; object-position: var(--focus); }
}

/* ── Inicio: Entrena · Aprende · Evoluciona ──────────────────────────────── */
.pillars { position: relative; background: var(--noche); color: var(--hueso); padding-block: var(--sec); --fg-2: rgba(242, 238, 228, 0.74); --line: rgba(242, 238, 228, 0.14); }
.pillars__head { margin-bottom: 40px; }
.pillars__words { display: none; }
.pillars__list { display: grid; gap: 56px; padding-inline: var(--gutter); max-width: var(--maxw); margin-inline: auto; }
.pillar { display: grid; gap: 22px; }
.pillar__media { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: var(--pino); }
.pillar__n { color: var(--rojo-texto); }
.pillar__t { margin-top: 6px; font-stretch: 62%; font-weight: 820; text-transform: uppercase; font-size: clamp(3rem, 15vw, 5rem); line-height: 0.88; }
.pillar__d { margin-top: 14px; color: var(--fg-2); max-width: 44ch; font-size: 1.08rem; }
.pillars__prog { display: none; }
@media (min-width: 700px) and (max-width: 999px) {
  .pillar { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 32px; }
  .pillar__media { aspect-ratio: 4 / 4.6; }
}
/* Escena fija en escritorio (la activa main.js con html.pin-ok) */
@media (min-width: 1000px) {
  .pin-ok .pillars { height: 330vh; padding: 0; }
  .pin-ok .pillars__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; grid-template-rows: auto 1fr auto; padding-top: calc(var(--hdr-h) + 28px); padding-bottom: 28px; }
  .pin-ok .pillars__head { margin: 0; }
  .pin-ok .pillars__words { position: absolute; left: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter))); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; font-stretch: 62%; font-weight: 820; text-transform: uppercase; font-size: clamp(5rem, 9.6vw, 10.5rem); line-height: 0.88; z-index: 1; }
  .pin-ok .pw { color: transparent; -webkit-text-stroke: 1.2px rgba(242, 238, 228, 0.3); transition: color 0.7s var(--ease-out), -webkit-text-stroke-color 0.7s, transform 0.9s var(--ease-out); }
  .pin-ok .pw.is-on { color: var(--hueso); -webkit-text-stroke-color: transparent; transform: translateX(0.08em); }
  .pin-ok .pillars__list { position: relative; display: block; padding: 0; margin: 0; max-width: none; }
  .pin-ok .pillar { position: absolute; top: 0; bottom: 0; right: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter))); width: min(37vw, 520px); display: flex; flex-direction: column; justify-content: center; gap: 20px; opacity: 0; visibility: hidden; transition: opacity 0.8s var(--ease-out), visibility 0s 0.8s; }
  .pin-ok .pillar.is-on { opacity: 1; visibility: visible; transition-delay: 0s; }
  .pin-ok .pillar__media { aspect-ratio: auto; height: min(52vh, 560px); flex: none; clip-path: inset(6% 0 6% 0); transition: clip-path 1.1s var(--ease-out); }
  .pin-ok .pillar.is-on .pillar__media { clip-path: inset(0 0 0 0); }
  .pin-ok .pillar__t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .pin-ok .pillar__body { transform: translateY(14px); transition: transform 0.9s var(--ease-out); }
  .pin-ok .pillar.is-on .pillar__body { transform: none; }
  .pin-ok .pillars__prog { display: block; }
  .pillars__bar { display: block; height: 1.5px; background: rgba(242, 238, 228, 0.14); overflow: hidden; }
  .pillars__bar i { display: block; height: 100%; background: var(--rojo-vivo); transform: scaleX(0); transform-origin: left; }
}

/* ── Constructor de plan (semana de ejemplo) ─────────────────────────────── */
.bld { display: grid; gap: 32px; padding: clamp(22px, 3.4vw, 44px); border-radius: var(--r-lg); background: var(--card); color: var(--hueso); border: 1px solid rgba(242, 238, 228, 0.08); }
.sec--noche .bld, .sec--pino .bld { --card: var(--pino); }
.bld__lg { margin-bottom: 14px; color: var(--fg-2); }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; }
.seg__o { position: relative; display: block; }
.seg__o input, .opt input, .chipsel__o input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.seg__t { display: grid; place-items: center; grid-auto-flow: column; height: 66px; border-radius: var(--r); border: 1px solid rgba(242, 238, 228, 0.2); font-stretch: 66%; font-weight: 820; font-size: 2rem; line-height: 1; transition: background-color 0.3s, border-color 0.3s, color 0.3s; }
.seg__x { font-size: 0.55em; margin-left: 2px; opacity: 0.6; }
.seg__o:hover .seg__t { border-color: rgba(242, 238, 228, 0.5); }
.seg__o input:checked + .seg__t { background: var(--rojo); border-color: var(--rojo); color: var(--hueso); }
.seg__o input:focus-visible + .seg__t { outline: 2px solid var(--rojo-texto); outline-offset: 3px; }
.week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin-top: 18px; }
.week__d { display: grid; justify-items: center; align-content: space-between; gap: 6px; padding: 10px 0 9px; border-radius: var(--r); border: 1px solid rgba(242, 238, 228, 0.12); color: rgba(242, 238, 228, 0.55); transition: background-color 0.4s, border-color 0.4s, color 0.4s; }
.week__d b { font-family: var(--mono); font-size: 0.75rem; font-weight: 500; }
.week__d svg { width: 22px; height: 15px; overflow: visible; }
.week__d path { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 34; stroke-dashoffset: 34; transition: stroke-dashoffset 0.7s var(--ease-out); }
.week__d.is-on { background: rgba(239, 59, 64, 0.14); border-color: rgba(239, 59, 64, 0.7); color: var(--hueso); }
.week__d.is-on path { stroke: var(--rojo-vivo); stroke-dashoffset: 0; }
.bld__ex { margin-top: 12px; color: rgba(242, 238, 228, 0.5); text-transform: none; letter-spacing: 0.02em; }
.bld__out { display: flex; flex-direction: column; gap: 24px; justify-content: space-between; container-type: inline-size; }
.bld__nums { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; }
.bld__kv { display: grid; gap: 6px; padding-top: 14px; border-top: 1px solid rgba(242, 238, 228, 0.14); }
.bld__kv span { color: rgba(242, 238, 228, 0.6); }
.bld__kv strong { font-stretch: 70%; font-weight: 800; font-size: clamp(2rem, 1.4rem + 1.6vw, 2.8rem); font-size: clamp(1.7rem, 11cqi, 2.8rem); line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.bld__kv--price { grid-column: 1 / -1; }
/* El valor se mide contra su propia columna: «$1.440.000» cabe aunque el constructor esté en una columna angosta */
.bld__kv--price strong { font-size: clamp(3rem, 1.8rem + 3.6vw, 5.2rem); font-size: clamp(2.4rem, 23cqi, 5.2rem); color: var(--hueso); }
.bld__kv strong.is-tick { animation: tick 0.6s var(--ease-out); }
@keyframes tick { from { opacity: 0.2; transform: translateY(0.18em); } to { opacity: 1; transform: none; } }
.bld__note { display: flex; align-items: center; gap: 8px; color: rgba(242, 238, 228, 0.66); text-transform: none; letter-spacing: 0.02em; }
.bld__note .i { width: 18px; height: 18px; color: var(--rojo-texto); }
@media (min-width: 860px) { .bld { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 4vw, 64px); } }

.arma__more { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; color: var(--fg-2); }

/* ── Inicio: coaching ────────────────────────────────────────────────────── */
.chome__grid, .who__grid, .fit__grid, .split__grid, .why__grid, .cintro__grid, .cwhich__grid, .creds__grid, .team__grid, .contact__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.ladder { border-top: 1px solid var(--line); }
.ladder__i { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: 't p' 'b s'; gap: 6px 16px; align-items: center; padding: 18px 4px; border-bottom: 1px solid var(--line); transition: background-color 0.3s, padding 0.5s var(--ease-out); }
.ladder__i:hover { background: rgba(242, 238, 228, 0.05); padding-inline: 14px; }
.ladder__t { grid-area: t; font-stretch: 70%; font-weight: 800; text-transform: uppercase; font-size: clamp(1.45rem, 1.1rem + 1.2vw, 2.3rem); line-height: 1; }
.ladder .beats { grid-area: b; width: 132px; height: 26px; }
.ladder__s { grid-area: s; justify-self: end; color: var(--fg-2); }
.ladder__p { grid-area: p; display: grid; justify-items: end; gap: 2px; }
.ladder__p b { font-stretch: 75%; font-weight: 760; font-size: 1.3rem; font-variant-numeric: tabular-nums; }
.ladder__p .mono { color: var(--fg-2); font-size: 0.66rem; }
.chome__actions { margin-top: 32px; }
@media (min-width: 1000px) {
  .chome__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .ladder__i { grid-template-columns: minmax(min-content, 1fr) 132px auto; grid-template-areas: 't b p' 't s p'; gap: 2px 24px; }
  .ladder__s { justify-self: start; font-size: 0.66rem; }
}

/* ── Quién está detrás ───────────────────────────────────────────────────── */
.who__role { margin-top: 18px; color: var(--fg-2); }
.quote { position: relative; margin-top: 30px; padding-left: 26px; border-left: 2px solid var(--accent-line); }
.quote p { font-stretch: 84%; font-weight: 560; font-size: clamp(1.4rem, 1.1rem + 1.1vw, 2.1rem); line-height: 1.18; letter-spacing: -0.015em; }
.quote p::before { content: '«'; }
.quote p::after { content: '»'; }
.quote footer { margin-top: 14px; color: var(--fg-2); }
.who__p { margin-top: 26px; max-width: 52ch; color: var(--fg-2); }
.who__p strong { color: var(--fg); }
.who__actions { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
@media (min-width: 1000px) { .who__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }

/* ── Pasos ───────────────────────────────────────────────────────────────── */
.steps { counter-reset: s; display: grid; gap: 20px; }
.step { counter-increment: s; position: relative; padding-top: 26px; border-top: 1px solid var(--line); }
.step::before { content: counter(s, decimal-leading-zero); display: block; font-stretch: 62%; font-weight: 820; font-size: clamp(3rem, 2rem + 2.6vw, 4.6rem); line-height: 0.9; color: transparent; -webkit-text-stroke: 1.2px var(--accent-line); margin-bottom: 18px; }
.step::after { content: ''; position: absolute; top: -1px; left: 0; width: 56px; height: 2px; background: var(--accent-line); }
.step__t { font-stretch: 85%; font-weight: 700; font-size: 1.4rem; line-height: 1.15; }
.step__d { margin-top: 10px; color: var(--fg-2); max-width: 38ch; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); } }
.start__cta { margin-top: clamp(36px, 4vw, 56px); }
.start { padding-bottom: 0; }
.band { position: relative; margin-top: var(--sec); height: clamp(320px, 56vw, 640px); overflow: hidden; }
.band__media { position: absolute; inset: -12% 0; }
.band__media picture, .band__media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--focus); }
.band::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, var(--noche) 0%, transparent 26%, transparent 70%, rgba(10, 26, 21, 0.6) 100%); }
.band__cap { position: absolute; z-index: 1; left: var(--gutter); bottom: 22px; display: inline-flex; align-items: center; gap: 8px; color: var(--hueso); }
.band__cap .i { width: 16px; height: 16px; color: var(--rojo-texto); }

/* ── Preguntas frecuentes ────────────────────────────────────────────────── */
.faqwrap { display: grid; gap: 24px; }
.faqwrap__head .s-head { margin-bottom: 24px; }
@media (min-width: 1000px) {
  .faqwrap { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: var(--gutter); align-items: start; }
  .faqwrap__head { position: sticky; top: calc(var(--hdr-h) + 32px); }
}
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; cursor: pointer; list-style: none; font-stretch: 88%; font-weight: 650; font-size: clamp(1.08rem, 1rem + 0.35vw, 1.3rem); line-height: 1.3; }
.faq__q::-webkit-details-marker { display: none; }
.faq__ico { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); transition: transform 0.5s var(--ease-out), background-color 0.3s, border-color 0.3s; }
.faq__ico .i { width: 18px; height: 18px; }
.faq__item[open] .faq__ico { transform: rotate(45deg); background: var(--rojo); border-color: var(--rojo); color: var(--hueso); }
.faq__q:hover .faq__ico { border-color: currentColor; }
.faq__a { padding: 0 56px 24px 0; color: var(--fg-2); max-width: 66ch; }

/* ── Banda final de llamado a la acción ──────────────────────────────────── */
.cta { position: relative; isolation: isolate; min-height: clamp(560px, 84svh, 860px); display: flex; align-items: flex-end; overflow: hidden; background: var(--noche); color: var(--hueso); }
.cta__media { position: absolute; inset: 0; z-index: 0; }
.cta__shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, var(--noche) 0%, rgba(10, 26, 21, 0.45) 26%, rgba(10, 26, 21, 0.55) 60%, rgba(10, 26, 21, 0.92) 100%); }
.cta__in { position: relative; z-index: 2; padding-block: clamp(72px, 10vw, 140px) clamp(40px, 6vw, 80px); }
.cta__in .prule { margin-bottom: clamp(26px, 4vw, 48px); }
.cta__t { max-width: 15ch; font-size: clamp(2.7rem, 1rem + 6.4vw, 7.6rem); text-wrap: balance; }
.cta__row { display: grid; gap: 26px; margin-top: clamp(24px, 4vw, 48px); }
.cta__p { max-width: 46ch; font-size: var(--fs-lead); color: rgba(242, 238, 228, 0.86); line-height: 1.5; }
.cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.cta__num { color: rgba(242, 238, 228, 0.8); font-size: 0.85rem; border-bottom: 1px solid rgba(242, 238, 228, 0.3); padding-bottom: 2px; }
.cta__num:hover { color: var(--hueso); border-color: var(--hueso); }
.cta__vbtn { top: 24px; bottom: auto; }
@media (min-width: 900px) { .cta__row { grid-template-columns: minmax(0, 1fr) auto; align-items: end; } }

/* ── Secciones de servicio ───────────────────────────────────────────────── */
@media (min-width: 1000px) {
  .split__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: start; }
  .split__media { position: sticky; top: calc(var(--hdr-h) + 40px); }
  .fit__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
  .fit__grid--rev { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
  .fit__grid--rev .fit__media { order: 2; }
  .why__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
}
.feats { display: grid; gap: 28px 40px; }
.feat { display: grid; gap: 10px; padding-top: 22px; border-top: 1px solid var(--line); }
.feat > .i { width: 30px; height: 30px; color: var(--accent-line); }
.feat__t { font-stretch: 86%; font-weight: 700; font-size: 1.28rem; line-height: 1.2; margin-top: 6px; }
.feat__d { color: var(--fg-2); }
@media (min-width: 640px) { .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.why__body .feats { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) and (max-width: 999px) { .why__body .feats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.prices__grid { display: grid; gap: 40px; }
.prices__table .eyebrow { margin-bottom: 18px; }
@media (min-width: 1100px) { .prices__grid { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(40px, 4vw, 72px); align-items: start; } }

.ptable table { font-variant-numeric: tabular-nums; }
.ptable caption { text-align: left; }
.ptable th, .ptable td { padding: 14px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: baseline; }
.ptable thead th { font-family: var(--mono); font-size: 0.7rem; font-weight: 450; letter-spacing: 0.04em; text-transform: uppercase; color: var(--fg-2); padding-top: 0; }
.ptable tbody th { font-weight: 560; padding-right: 12px; }
.ptable td { color: var(--fg-2); padding-right: 12px; }
.ptable td:last-child, .ptable th:last-child { text-align: right; padding-right: 0; }
.ptable td:last-child { color: var(--fg); font-stretch: 75%; font-weight: 760; font-size: 1.22rem; }
.ptable__note { display: flex; align-items: center; gap: 8px; margin-top: 14px; color: var(--fg-2); text-transform: none; letter-spacing: 0.02em; }
.ptable__note .i { width: 18px; height: 18px; color: var(--accent-line); }
.ptable--coach td:nth-child(3) { color: var(--fg); font-weight: 600; }
/* Si la letra del teléfono es muy grande, la tabla se desplaza dentro de su caja y no ensancha la página */
.ptable { position: relative; overflow-x: auto; }
/* En pantallas angostas la columna de sesiones pasa debajo del nombre del plan */
.ptable__sub { display: none; }
@media (max-width: 520px) {
  .ptable--coach .ptable__c2 { display: none; }
  .ptable__sub { display: block; margin-top: 4px; font-size: 0.68rem; color: var(--fg-2); }
}

.checks { border-top: 1px solid var(--line); }
.checks li { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 1.08rem; }
.checks .i { width: 28px; height: 28px; padding: 5px; flex: none; border-radius: 50%; background: var(--rojo); color: var(--hueso); stroke-width: 2.2; margin-top: -1px; }
.fit__cta { margin-top: 32px; }

/* Otras modalidades */
.others__head { display: flex; flex-direction: column; gap: 16px; margin-bottom: clamp(32px, 4vw, 56px); }
.others__grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .others__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .others__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.other { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 340px; padding: 22px; border-radius: var(--r-lg); overflow: hidden; isolation: isolate; color: var(--hueso); }
.other__media { position: absolute; inset: 0; z-index: -2; }
.other__media picture, .other__media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--focus); transition: transform 1.2s var(--ease-out); }
.other::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 26, 21, 0.1) 30%, rgba(10, 26, 21, 0.88) 100%); }
.other:hover .other__media img { transform: scale(1.06); }
.other__body { display: grid; gap: 6px; padding-right: 48px; }
.other__t { font-stretch: 70%; font-weight: 800; text-transform: uppercase; font-size: 2rem; line-height: 0.95; }
.other__p { color: rgba(242, 238, 228, 0.82); }
.other__i { position: absolute; right: 18px; bottom: 22px; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: rgba(242, 238, 228, 0.14); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background-color 0.4s, transform 0.6s var(--ease-out); }
.other__i .i { width: 18px; height: 18px; }
.other:hover .other__i { background: var(--rojo); transform: rotate(45deg); }

/* ── En compañía: selector de grupo ──────────────────────────────────────── */
.gsel__tabs { display: none; }
.js .gsel__tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 28px; }
.gsel__tab { display: grid; justify-items: start; gap: 4px; padding: 16px 18px; border-radius: var(--r-lg); border: 1px solid var(--line); text-align: left; transition: background-color 0.3s, border-color 0.3s, color 0.3s; }
.gsel__tab .i { width: 24px; height: 24px; color: var(--accent-line); margin-bottom: 6px; }
.gsel__n { font-stretch: 70%; font-weight: 800; text-transform: uppercase; font-size: clamp(1.3rem, 1rem + 1vw, 1.9rem); line-height: 1; }
.gsel__k { color: var(--fg-2); }
.gsel__tab:hover { border-color: var(--fg); }
.gsel__tab[aria-selected='true'] { background: var(--noche); border-color: var(--noche); color: var(--hueso); }
.gsel__tab[aria-selected='true'] .gsel__k { color: rgba(242, 238, 228, 0.7); }
.gsel__tab[aria-selected='true'] .i { color: var(--rojo-texto); }
.gpanel { display: grid; gap: 32px; }
.gpanel + .gpanel { margin-top: 72px; }
.js .gpanel + .gpanel { margin-top: 0; }
.gpanel:focus-visible { outline-offset: 8px; }
.gpanel__people { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); }
.gpanel__people .i { width: 18px; height: 18px; }
.gpanel__t { margin-top: 12px; font-stretch: 70%; font-weight: 800; text-transform: uppercase; font-size: clamp(2.2rem, 1.4rem + 2.6vw, 3.8rem); line-height: 0.92; }
.gpanel__d { margin-top: 14px; color: var(--fg-2); max-width: 52ch; }
.gpanel__clase { display: inline-flex; align-items: baseline; gap: 14px; margin-top: 18px; padding: 10px 16px; border: 1px solid var(--line); border-radius: var(--r); }
.gpanel__clase b { font-stretch: 75%; font-weight: 780; font-size: 1.4rem; }
.gpanel .bld { margin-top: 26px; }
.gpanel .bld { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1000px) {
  .gpanel { grid-template-columns: minmax(0, 4.4fr) minmax(0, 7fr); gap: clamp(32px, 4vw, 64px); align-items: start; }
  .gpanel__media { position: sticky; top: calc(var(--hdr-h) + 32px); }
}
@media (min-width: 1200px) { .gpanel .bld { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } }
@media (max-width: 560px) {
  .js .gsel__tabs { grid-template-columns: minmax(0, 1fr); }
  .gsel__tab { grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 14px; }
  .gsel__tab .i { grid-row: span 2; margin: 0; }
}

/* ── Online ──────────────────────────────────────────────────────────────── */
.oplans { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 800px) { .oplans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.oplan { display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 3vw, 40px); border-radius: var(--r-lg); background: var(--hueso-2); color: var(--fg); border: 1px solid var(--line); }
.oplan--plus { background: var(--noche); color: var(--hueso); border-color: var(--noche); }
.oplan__k { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); }
.oplan__k .i { width: 18px; height: 18px; }
.oplan__t { font-stretch: 66%; font-weight: 820; text-transform: uppercase; font-size: clamp(2.3rem, 1.6rem + 2vw, 3.4rem); line-height: 0.92; }
.oplan__price b { font-stretch: 70%; font-weight: 800; font-size: clamp(2.6rem, 1.8rem + 2.4vw, 4rem); line-height: 1; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.oplan__d { color: var(--fg-2); }
.oplan__list { display: grid; gap: 10px; margin: 6px 0 14px; }
.oplan__list li { display: flex; gap: 10px; align-items: flex-start; }
.oplan__list .i { width: 20px; height: 20px; color: var(--accent-line); margin-top: 3px; }
.oplan .btn { margin-top: auto; }

/* position: relative contiene los textos .sr de las celdas; sin esto ensanchan la página en móvil */
.ctable { position: relative; margin-top: clamp(40px, 5vw, 72px); overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ctable table { min-width: 520px; }
.ctable--4 table { min-width: 760px; }
.ctable th, .ctable td { padding: 16px 12px; border-bottom: 1px solid var(--line); text-align: center; }
.ctable thead th { font-stretch: 75%; font-weight: 780; text-transform: uppercase; font-size: 1.05rem; letter-spacing: 0.01em; padding-top: 0; }
.ctable tbody th { text-align: left; font-weight: 520; padding-left: 0; }
.ctable td .i { display: inline-block; width: 22px; height: 22px; color: var(--accent-line); stroke-width: 2; }
.ctable td .i:only-of-type { vertical-align: middle; }
.ctable b.mono { font-size: 0.95rem; font-weight: 600; }
.ctable__price th, .ctable__price td { font-variant-numeric: tabular-nums; }
.ctable__price b { font-stretch: 75%; font-weight: 780; font-size: 1.15rem; }

/* ── Coaching ────────────────────────────────────────────────────────────── */
.cintro__st { margin-top: 22px; font-stretch: 88%; font-weight: 560; font-size: clamp(1.7rem, 1rem + 2.4vw, 3.3rem); line-height: 1.1; letter-spacing: -0.022em; text-wrap: balance; }
.cintro__p { margin-top: 26px; color: var(--fg-2); max-width: 56ch; font-size: 1.1rem; }
@media (min-width: 1000px) { .cintro__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); } }

.incl__grid { display: grid; gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.incl__i { display: grid; align-content: start; gap: 10px; padding: clamp(24px, 3vw, 40px) clamp(4px, 2vw, 32px) clamp(24px, 3vw, 40px) 0; background: var(--bg); }
.incl__i > .i { width: 32px; height: 32px; color: var(--rojo-texto); }
.incl__t { margin-top: 10px; font-stretch: 86%; font-weight: 700; font-size: 1.3rem; line-height: 1.18; }
.incl__d { color: var(--fg-2); }
@media (min-width: 700px) { .incl__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .incl__i { padding-inline: 0 32px; } .incl__i:nth-child(2n) { padding-left: 32px; } }
@media (min-width: 1100px) { .incl__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .incl__i, .incl__i:nth-child(2n) { padding-left: 32px; } .incl__i:nth-child(3n + 1) { padding-left: 0; } }

.cplans__grid { display: grid; gap: 16px; }
@media (min-width: 700px) { .cplans__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1240px) { .cplans__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .cplans__grid .cplan__t { font-size: clamp(1.8rem, 0.35rem + 1.9vw, 2.15rem); } }
.cplan { display: flex; flex-direction: column; gap: 14px; padding: clamp(22px, 2.4vw, 32px); border-radius: var(--r-lg); background: var(--hueso-2); color: var(--fg); border: 1px solid var(--line); scroll-margin-top: calc(var(--hdr-h) + 80px); transition: border-color 0.4s, transform 0.6s var(--ease-out); }
.cplan:hover { border-color: rgba(15, 26, 22, 0.4); }
.cplan:target { border-color: var(--rojo); box-shadow: 0 0 0 1px var(--rojo); }
.cplan__tag { color: var(--accent); }
.cplan__t { font-stretch: 66%; font-weight: 820; text-transform: uppercase; font-size: clamp(2rem, 1.6rem + 1.4vw, 2.9rem); line-height: 0.92; }
.cplan__beats { display: grid; gap: 6px; padding: 12px 0; border-block: 1px solid var(--line); }
.cplan__beats .beats { width: 100%; height: 30px; }
.cplan__beats .mono { color: var(--fg-2); }
.cplan__price { display: grid; gap: 4px; }
.cplan__price .mono { color: var(--fg-2); }
.cplan__price strong { font-stretch: 70%; font-weight: 800; font-size: clamp(2.4rem, 1.8rem + 1.4vw, 3.1rem); line-height: 1; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.cplan__cont { color: var(--fg-2); text-transform: none; letter-spacing: 0.02em; }
.cplan__d { color: var(--fg-2); font-size: 0.98rem; }
.cplan__x { display: flex; gap: 10px; align-items: flex-start; font-size: 0.95rem; font-weight: 520; }
.cplan__x .i { width: 20px; height: 20px; color: var(--accent-line); margin-top: 2px; }
.cplan .btn { margin-top: auto; }

.which { border-top: 1px solid var(--line); }
.which__i a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 20px; padding: 20px 0; border-bottom: 1px solid var(--line); transition: padding 0.5s var(--ease-out), background-color 0.3s; }
.which__i a:hover { padding-inline: 12px; background: rgba(242, 238, 228, 0.04); }
.which__t { font-stretch: 70%; font-weight: 800; text-transform: uppercase; font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.3rem); line-height: 1; }
.which__s { color: var(--accent); align-self: center; grid-row: 1; grid-column: 2; }
.which__d { grid-column: 1 / -1; color: var(--fg-2); max-width: 60ch; }
@media (min-width: 1000px) { .cwhich__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); } }

/* ── Planes: asistente ───────────────────────────────────────────────────── */
.quiz__grid { display: grid; gap: 32px; align-items: start; }
@media (min-width: 1000px) {
  .quiz__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 4vw, 64px); }
  .quiz__res { position: sticky; top: calc(var(--hdr-h) + 24px); }
}
.quiz__form { counter-reset: q; display: grid; gap: 34px; }
.q { counter-increment: q; }
.q__l { display: flex; align-items: baseline; gap: 14px; margin-bottom: 16px; font-stretch: 86%; font-weight: 700; font-size: clamp(1.2rem, 1rem + 0.6vw, 1.5rem); line-height: 1.2; }
.q__l::before { content: counter(q, decimal-leading-zero); font-family: var(--mono); font-size: 0.78rem; font-weight: 500; color: var(--accent); }
.q__opts { display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.q__opts--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.q__opts--2 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.opt { position: relative; display: block; }
.opt__b { display: grid; align-content: start; gap: 4px; height: 100%; padding: 16px 18px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--hueso-2); transition: background-color 0.3s, border-color 0.3s, color 0.3s, opacity 0.3s; }
.opt__b .i { width: 24px; height: 24px; color: var(--accent-line); margin-bottom: 8px; }
.opt__t { font-weight: 650; font-size: 1.05rem; line-height: 1.25; }
.opt__s { color: var(--fg-2); font-size: 0.9rem; line-height: 1.4; }
.opt:hover .opt__b { border-color: var(--fg); }
.opt input:checked + .opt__b { background: var(--noche); border-color: var(--noche); color: var(--hueso); }
.opt input:checked + .opt__b .opt__s { color: rgba(242, 238, 228, 0.72); }
.opt input:checked + .opt__b .i { color: var(--rojo-texto); }
.opt input:focus-visible + .opt__b { outline: 2px solid var(--focus); outline-offset: 3px; }
.opt input:disabled { cursor: not-allowed; }
.opt input:disabled + .opt__b { opacity: 0.32; }
.q__opts--5 .opt__b { justify-items: center; text-align: center; padding: 14px 6px; }
.q__opts--5 .opt__t { font-stretch: 66%; font-weight: 820; font-size: 2rem; line-height: 1; }
.q__hint { margin-top: 12px; color: var(--fg-2); text-transform: none; letter-spacing: 0.02em; }
.quiz__res { display: grid; gap: 22px; padding: clamp(24px, 3vw, 40px); border-radius: var(--r-lg); background: var(--noche); color: var(--hueso); }
.quiz__k { display: inline-flex; align-items: center; gap: 8px; color: var(--rojo-texto); }
.quiz__k .i { width: 18px; height: 18px; }
.quiz__t { margin-top: 14px; font-stretch: 66%; font-weight: 820; text-transform: uppercase; font-size: clamp(2.3rem, 1.5rem + 2.2vw, 3.6rem); line-height: 0.92; }
.quiz__d { margin-top: 12px; color: var(--fg-2); }
.quiz__price { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }
.quiz__price b { font-stretch: 70%; font-weight: 800; font-size: clamp(2.8rem, 2rem + 2.6vw, 4.4rem); line-height: 1; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.quiz__price .mono { color: var(--fg-2); }
.quiz__note { margin-top: 10px; color: var(--fg-2); text-transform: none; letter-spacing: 0.02em; }
.quiz__actions { display: grid; gap: 16px; justify-items: start; padding-top: 22px; border-top: 1px solid var(--line); }
.quiz__extra { color: var(--fg-2); font-size: 0.95rem; }
.quiz__extra a { color: var(--hueso); border-bottom: 1px solid rgba(242, 238, 228, 0.4); }
.quiz__res.is-tick .quiz__t, .quiz__res.is-tick .quiz__price b { animation: tick 0.6s var(--ease-out); }

/* Barra de saltos entre tablas */
.chips { position: sticky; top: var(--chips-top, var(--hdr-h)); z-index: 30; background: rgba(229, 223, 209, 0.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(15, 26, 22, 0.1); color: var(--tinta); transition: top 0.6s var(--ease-out); }
.hdr-hidden { --chips-top: 0px; }
.chips__in { display: flex; gap: 8px; padding-block: 12px; overflow-x: auto; scrollbar-width: none; }
.chips__in::-webkit-scrollbar { display: none; }
.chips a { flex: none; padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(15, 26, 22, 0.2); font-weight: 600; font-size: 0.94rem; transition: background-color 0.3s, color 0.3s, border-color 0.3s; }
.chips a:hover { border-color: var(--tinta); }
.chips a.is-on { background: var(--noche); color: var(--hueso); border-color: var(--noche); }
.chips :focus-visible { --focus: var(--rojo-claro); }

.ptables { padding-top: clamp(48px, 6vw, 96px); }
.pt { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; padding-block: clamp(40px, 5vw, 72px); border-top: 1px solid var(--line); }
.pt:first-of-type { border-top: 0; padding-top: 0; }
.pt__t { margin-top: 14px; font-stretch: 66%; font-weight: 820; text-transform: uppercase; font-size: clamp(2.4rem, 1.4rem + 3.4vw, 4.8rem); line-height: 0.9; }
.pt__p { margin-top: 16px; color: var(--fg-2); max-width: 46ch; }
.pt__head .tlink { margin-top: 18px; }
.pt__body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; }
.pt__st { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin-bottom: 12px; font-stretch: 86%; font-weight: 700; font-size: 1.3rem; }
.pt__st .mono { color: var(--accent); }
@media (min-width: 1000px) {
  .pt { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: var(--gutter); }
  .pt__head { position: sticky; top: calc(var(--hdr-h) + 90px); align-self: start; }
  .pt__t { font-size: min(4.6vw, 4.2rem); }
}
.pnotes { margin-top: 24px; padding: clamp(24px, 3vw, 40px); border-radius: var(--r-lg); background: var(--hueso-2); border: 1px solid var(--line); }
.pnotes ul { display: grid; gap: 14px; margin-top: 18px; }
.pnotes li { display: flex; gap: 14px; align-items: flex-start; }
.pnotes .i { width: 22px; height: 22px; color: var(--accent-line); margin-top: 2px; }
@media (min-width: 900px) { .pnotes ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 40px; } }

/* ── Nosotros ────────────────────────────────────────────────────────────── */
.purpose__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px var(--gutter); }
.purpose__k, .purpose__st, .purpose__side { grid-column: 1 / -1; }
.purpose__st { font-stretch: 88%; font-weight: 560; font-size: clamp(1.75rem, 1rem + 2.7vw, 3.75rem); line-height: 1.08; letter-spacing: -0.024em; text-wrap: balance; max-width: 22ch; }
.purpose__side { display: grid; gap: 40px; color: var(--fg-2); }
.purpose__side .quote { margin: 0; color: var(--fg); }
@media (min-width: 1000px) {
  .purpose__k { grid-column: 1 / 4; padding-top: 1.2rem; }
  .purpose__st, .purpose__side { grid-column: 4 / -1; }
  .purpose__side { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gutter); align-items: start; }
}
.creds__list { border-top: 1px solid var(--line); }
.creds__list li { display: flex; gap: 18px; align-items: flex-start; padding: 20px 0; border-bottom: 1px solid var(--line); }
.creds__ico { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); color: var(--rojo-texto); }
.creds__list b { display: block; font-stretch: 86%; font-weight: 700; font-size: 1.3rem; line-height: 1.2; }
.creds__list small { display: block; margin-top: 4px; color: var(--fg-2); font-size: 0.98rem; }
.creds__media { max-width: 420px; justify-self: center; width: 100%; }
@media (min-width: 1000px) { .creds__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); } }

.method__rule { margin-bottom: clamp(28px, 4vw, 48px); }
.method__list { display: grid; gap: 36px; }
.method__n { color: var(--accent); }
.method__t { margin-top: 10px; font-stretch: 62%; font-weight: 820; text-transform: uppercase; font-size: clamp(3rem, 2rem + 3.4vw, 5.6rem); line-height: 0.88; }
.method__d { margin-top: 14px; color: var(--fg-2); max-width: 38ch; }
@media (min-width: 900px) { .method__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); } .method__t { font-size: min(5.4rem, 5.6vw); } }

@media (min-width: 1000px) { .team__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 4fr); } }
.team__media { max-width: 460px; width: 100%; justify-self: center; }

.social__list { border-top: 1px solid var(--line); }
.social__a { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; grid-template-areas: 'ico n go' 'ico h go'; gap: 2px 18px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); transition: padding 0.5s var(--ease-out); }
.social__ico { grid-area: ico; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); }
.social__n { grid-area: n; font-stretch: 66%; font-weight: 820; text-transform: uppercase; font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.8rem); line-height: 0.95; }
.social__h { grid-area: h; color: var(--fg-2); }
.social__go { grid-area: go; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); transition: background-color 0.4s, border-color 0.4s, transform 0.6s var(--ease-out); }
.social__go .i { width: 18px; height: 18px; }
.social__a:hover { padding-inline: 10px; }
.social__a:hover .social__go { background: var(--rojo); border-color: var(--rojo); transform: rotate(45deg); }
@media (min-width: 900px) { .social__a { grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1fr) 48px; grid-template-areas: 'ico n h go'; } .social__ico { width: 56px; height: 56px; } }

/* ── Preguntas ───────────────────────────────────────────────────────────── */
.faqs__grid { display: grid; gap: 40px; }
.faqs__nav ul { display: grid; margin-top: 16px; border-top: 1px solid var(--line); }
.faqs__nav a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 600; transition: color 0.3s, padding 0.5s var(--ease-out); }
.faqs__nav a .mono { color: var(--fg-3); }
.faqs__nav a:hover, .faqs__nav a.is-on { color: var(--accent); padding-left: 8px; }
.faqs__groups { display: grid; gap: clamp(56px, 6vw, 96px); }
.faqs__t { font-stretch: 66%; font-weight: 820; text-transform: uppercase; font-size: clamp(2.2rem, 1.5rem + 2.4vw, 3.8rem); line-height: 0.92; margin-bottom: 22px; }
@media (min-width: 1000px) {
  .faqs__grid { grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: var(--gutter); align-items: start; }
  .faqs__nav { position: sticky; top: calc(var(--hdr-h) + 32px); }
}

/* ── Contacto ────────────────────────────────────────────────────────────── */
@media (min-width: 1000px) { .contact__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: start; } }
.contact__wa { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 16px; align-items: center; margin-top: 22px; padding: 22px 0; border-block: 1px solid var(--line); }
.contact__wa > .i { width: 42px; height: 42px; color: var(--wa); grid-row: span 2; }
.contact__num { font-stretch: 66%; font-weight: 820; font-size: clamp(2.6rem, 1.6rem + 3.6vw, 4.8rem); line-height: 0.95; letter-spacing: -0.005em; font-variant-numeric: tabular-nums; }
.contact__go { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); }
.contact__go .i { width: 16px; height: 16px; }
.contact__wa:hover .contact__num { color: var(--bosque); }
.contact__tel { margin-top: 18px; }
.contact__block { margin-top: 40px; }
.contact__h { color: var(--fg-2); margin-bottom: 12px; }
.contact__social { border-top: 1px solid var(--line); }
.contact__social a { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 600; transition: padding 0.5s var(--ease-out); }
.contact__social a:hover { padding-left: 8px; }
.contact__social .mono { color: var(--fg-2); }
.contact__where { display: flex; gap: 14px; align-items: flex-start; color: var(--fg-2); }
.contact__where .i { color: var(--accent-line); margin-top: 3px; }
.contact__where b { display: block; color: var(--fg); font-size: 1.1rem; margin-bottom: 4px; }

.wform { display: grid; gap: 22px; padding: clamp(24px, 3.4vw, 48px); border-radius: var(--r-lg); background: var(--hueso-2); border: 1px solid var(--line); color: var(--fg); }
.wform__t { font-stretch: 66%; font-weight: 820; text-transform: uppercase; font-size: clamp(2.2rem, 1.6rem + 1.8vw, 3.2rem); line-height: 0.92; }
.wform__p { color: var(--fg-2); margin-top: -8px; }
.field { display: grid; gap: 8px; }
.field label, .field legend { font-weight: 620; font-size: 0.98rem; }
.field legend { margin-bottom: 10px; }
.field__opt { font-weight: 400; color: var(--fg-2); }
.field input, .field select, .field textarea { width: 100%; min-height: 54px; padding: 14px 16px; border-radius: var(--r); border: 1px solid rgba(15, 26, 22, 0.26); background: #fffdf8; color: var(--tinta); font-size: 1rem; line-height: 1.4; transition: border-color 0.3s, box-shadow 0.3s; }
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 48px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f1a16' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 18px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(15, 26, 22, 0.5); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--noche); box-shadow: 0 0 0 3px rgba(199, 42, 47, 0.25); }
.field input[aria-invalid='true'] { border-color: var(--rojo-claro); }
.field__err { min-height: 1.2em; color: var(--rojo-claro); font-size: 0.9rem; font-weight: 560; }
.field__err:empty { min-height: 0; }
select { min-width: 0; max-width: 100%; }
.chipsel { display: flex; flex-wrap: wrap; gap: 8px; }
.chipsel__o { position: relative; }
.chipsel__o span { display: inline-grid; place-items: center; min-width: 52px; min-height: 46px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(15, 26, 22, 0.26); font-weight: 620; transition: background-color 0.3s, color 0.3s, border-color 0.3s; }
.chipsel__o:hover span { border-color: var(--tinta); }
.chipsel__o input:checked + span { background: var(--noche); color: var(--hueso); border-color: var(--noche); }
.chipsel__o input:focus-visible + span { outline: 2px solid var(--rojo-claro); outline-offset: 3px; }
.wform__legal { color: var(--fg-2); text-transform: none; letter-spacing: 0.02em; text-align: center; }

.cmodes .eyebrow { margin-bottom: 22px; }
.cmodes__list { display: flex; flex-wrap: wrap; gap: 10px; }
.cmodes__list a { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line); font-weight: 600; transition: background-color 0.3s, border-color 0.3s; }
.cmodes__list a .i { color: var(--rojo-texto); width: 20px; height: 20px; }
.cmodes__list a:hover { background: rgba(242, 238, 228, 0.06); border-color: rgba(242, 238, 228, 0.4); }

/* ── Pie ─────────────────────────────────────────────────────────────────── */
.ftr { position: relative; background: var(--noche); color: var(--hueso); padding-top: clamp(80px, 9vw, 140px); border-top: 1px solid rgba(242, 238, 228, 0.08); }
.ftr__top { display: grid; gap: 56px; }
.ftr__cta { display: grid; gap: 22px; justify-items: start; }
.ftr__big { max-width: 13ch; font-size: clamp(2.6rem, 1.4rem + 4.4vw, 6rem); text-wrap: balance; }
.ftr__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; }
.ftr__h { color: rgba(242, 238, 228, 0.55); margin-bottom: 14px; }
.ftr__col ul { display: grid; gap: 10px; }
.ftr__col a { color: rgba(242, 238, 228, 0.86); transition: color 0.3s; }
.ftr__col a:hover { color: var(--hueso); }
.ftr__social a, .ftr__place { display: inline-flex; align-items: center; gap: 10px; }
.ftr__social .i { width: 18px; height: 18px; color: var(--rojo-texto); }
.ftr__place { color: rgba(242, 238, 228, 0.7); }
.ftr__sign { margin-top: clamp(64px, 8vw, 120px); }
.ftr__sign img { width: 100%; max-width: 980px; margin-inline: auto; opacity: 0.96; }
.ftr__bot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: clamp(40px, 5vw, 72px); padding-block: 24px calc(24px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(242, 238, 228, 0.1); color: rgba(242, 238, 228, 0.6); font-size: 0.9rem; }
.ftr__bot .mono { font-size: 0.7rem; }
.ftr__up { display: inline-flex; align-items: center; gap: 8px; color: rgba(242, 238, 228, 0.8); }
.ftr__up .i { width: 16px; height: 16px; }
.ftr__up:hover { color: var(--hueso); }
@media (min-width: 900px) { .ftr__cols { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .ftr__top { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gutter); } }

/* ── Botón flotante de WhatsApp ──────────────────────────────────────────── */
.wa-float { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 40; display: flex; align-items: center; gap: 10px; transition: transform 0.6s var(--ease-out), opacity 0.4s; }
.wa-float__ico { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: var(--wa); color: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); transition: transform 0.5s var(--ease-out); }
.wa-float__ico .i { width: 28px; height: 28px; }
.wa-float__label { padding: 10px 14px; border-radius: 999px; background: var(--hueso); color: var(--tinta); font-weight: 620; font-size: 0.92rem; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2); opacity: 0; transform: translateX(10px); pointer-events: none; transition: opacity 0.4s var(--ease-out), transform 0.5s var(--ease-out); }
.wa-float:hover .wa-float__label, .wa-float:focus-visible .wa-float__label, .wa-float.is-hint .wa-float__label { opacity: 1; transform: none; }
.wa-float:hover .wa-float__ico { transform: scale(1.06); }
.wa-float.is-away { transform: translateY(150%); opacity: 0; pointer-events: none; }

/* ── 404 ─────────────────────────────────────────────────────────────────── */
.e404 { position: relative; isolation: isolate; min-height: 100svh; display: flex; align-items: center; overflow: hidden; background: var(--noche); color: var(--hueso); }
.e404__ecg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: 0.9; }
.e404__in { position: relative; z-index: 1; padding-block: calc(var(--hdr-h) + 40px) 60px; }
.e404__t { margin-top: 22px; font-size: clamp(4.5rem, 1rem + 15vw, 15rem); }
.e404__p { margin-top: 22px; max-width: 40ch; font-size: var(--fs-lead); color: rgba(242, 238, 228, 0.86); }
.e404__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* ── Revelados (main.js) ─────────────────────────────────────────────────── */
.js:not(.reveal-fallback) [data-reveal], .js:not(.reveal-fallback) [data-hero-in] { opacity: 0; }
.js:not(.reveal-fallback) [data-hero-title], .js:not(.reveal-fallback) [data-split], .js:not(.reveal-fallback) [data-hero-rows] { visibility: hidden; }
.js.motion-ready [data-hero-title], .js.motion-ready [data-split], .js.motion-ready [data-hero-rows] { visibility: visible; }
.reveal-fallback [data-reveal], .reveal-fallback [data-hero-in] { opacity: 1 !important; transform: none !important; }
.reveal-fallback [data-hero-title], .reveal-fallback [data-split], .reveal-fallback [data-hero-rows] { visibility: visible !important; }
.ln { padding-block: 0.08em; margin-block: -0.08em; }
.js:not(.reveal-fallback) .hdr__logo .logo__red { clip-path: inset(0 100% 0 0); animation: wipe 1.6s var(--ease-in-out) 0.25s forwards; }
@keyframes wipe { to { clip-path: inset(0 0 0 0); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js [data-hero-in] { opacity: 1 !important; transform: none !important; }
  .js [data-hero-title], .js [data-split], .js [data-hero-rows] { visibility: visible !important; }
  .hdr__logo .logo__red { clip-path: none !important; }
}

@media print {
  .hdr, .menu, .wa-float, .vbtn, video, canvas { display: none !important; }
  .sec, .hero, .phero, .cta { background: #fff !important; color: #000 !important; }
}

/* ── Teléfonos pequeños (≤ 420 px): que los nombres largos quepan sin cortarse ── */
@media (max-width: 420px) {
  .mrow { grid-template-columns: 48px minmax(0, 1fr) 32px; gap: 4px 14px; }
  .mrow__thumb { width: 48px; height: 48px; }
  .mrow__go { width: 32px; height: 32px; }
  .mrow__t { font-size: calc(14vw - 20px); }
  .ladder__i { grid-template-areas: 't t' 'b p' 's p'; }
  .ladder__s { justify-self: start; }
  .which__i a { grid-template-columns: minmax(0, 1fr); }
  .which__s { grid-row: auto; grid-column: auto; align-self: start; }
  .btn { white-space: normal; text-align: center; }
  .ptable tbody th, .ptable td { padding-right: 8px; font-size: 0.94rem; }
  .ptable td:last-child { font-size: 1.1rem; }
}
