/* KIONOX · Rediseño v2 (estilo producto). Colores originales de kionox.com; titulares en Special Gothic,
   texto en la fuente del sistema y Oxygen Mono solo para cifras y etiquetas. */
@font-face {
  font-family: "Special Gothic Expanded One";
  src: url("../assets/fonts/SpecialGothicExpandedOne-Regular.ttf") format("truetype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Oxygen Mono";
  src: url("../assets/fonts/OxygenMono-Regular.ttf") format("truetype");
  font-weight: 400; font-style: normal; font-display: swap;
}

:root {
  color-scheme: dark;
  /* Marca */
  --black: #141414;
  --cream: #f2f0ea;
  --lime: #b3ff3b;
  --lime-hover: #cbff73;
  --surface: #20211d;
  --line: #45453f;
  /* Derivados para jerarquía */
  --ink-dim: #a3a199;      /* texto secundario sobre negro */
  --paper: #fbfaf6;        /* tarjetas sobre crema */
  --paper-dim: #5c5b55;    /* texto secundario sobre crema */
  --title: "Special Gothic Expanded One", "Arial Black", sans-serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "Oxygen Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --radius: 28px;
  --gutter: clamp(20px, 4vw, 40px);
  --ease: cubic-bezier(.22, .61, .21, 1);
  --nav-h: 56px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--black); color: var(--cream); font: 400 17px/1.47 var(--sans); letter-spacing: -0.01em; -webkit-font-smoothing: antialiased; overflow-x: clip; }
::selection { background: var(--lime); color: var(--black); }
img, video { display: block; max-width: 100%; height: auto; }
figure, p, h1, h2, h3, blockquote, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-weight: 400; text-wrap: balance; }
h1, h2 { font-family: var(--title); letter-spacing: -0.02em; }
h3 { font: 600 clamp(19px, 1.6vw, 24px)/1.22 var(--sans); letter-spacing: -0.015em; }
p { text-wrap: pretty; }
b { font-weight: 600; }
.wrap { width: min(1200px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.narrow { width: min(820px, 100% - 2 * var(--gutter)); }
.lime { color: var(--lime); }
.center { display: flex; justify-content: center; margin-top: 48px; }
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; margin-top: 48px; }
.more-pill > summary { display: inline-flex; align-items: center; gap: 14px; min-height: 50px; padding: 12px 16px 12px 24px; border-radius: 999px; border: 1px solid currentColor; font: 400 15px/1 var(--mono); transition: background-color .25s var(--ease); }
.more-pill > summary::before { display: none; }
.more-pill > summary .arr { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgb(20 20 20 / .08); font: 400 15px/1 var(--sans); transition: transform .35s var(--ease); }
.more.more-pill > summary:hover { background: rgb(20 20 20 / .05); transform: none; }
.more-pill > summary:hover .arr { transform: translateX(3px); }
.more-pill[open] { flex-basis: 100%; }
.more-pill .more-body { max-width: 60ch; margin-inline: auto; text-align: left; }
.checks, .more-body ul.checks, .sheet-body ul.checks { display: grid; gap: 8px; list-style: none; padding-left: 0; }
.checks li { position: relative; padding-left: 28px; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: var(--lime); color: var(--black); font-size: 12px; }
.sheet-links { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 6px; }
.light :focus-visible, .closing :focus-visible, .cta-band :focus-visible { outline-color: var(--black); }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 60; padding: 10px 16px; border-radius: 999px; background: var(--lime); color: var(--black); transform: translateY(-200%); }
.skip-link:focus { transform: none; }

/* ---------- Botones ---------- */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 50px; padding: 12px 16px 12px 24px; border-radius: 999px; border: 1px solid var(--lime); background: var(--lime); color: var(--black); font: 400 15px/1 var(--mono); letter-spacing: 0; transition: background-color .25s var(--ease), transform .25s var(--ease), border-color .25s; cursor: pointer; }
.pill .arr { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgb(20 20 20 / .1); font: 400 15px/1 var(--sans); transition: transform .35s var(--ease); }
.pill:hover .arr { transform: translate(2px, -2px); }
.pill:hover { background: var(--lime-hover); }
.pill:active { transform: scale(.97); }
.pill-sm { min-height: 34px; gap: 8px; padding: 6px 8px 6px 14px; font-size: 12.5px; }
.pill-sm .arr { width: 20px; height: 20px; font-size: 12px; }
.pill-dark { background: var(--black); border-color: var(--black); color: var(--cream); }
.pill-dark .arr { background: rgb(242 240 234 / .14); }
.pill-dark:hover { background: #2b2b28; }
.link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--lime); font: 400 15px/1.2 var(--mono); }
.link:hover { text-decoration: underline; text-underline-offset: 4px; }
.light .link { color: var(--black); }

/* ---------- Navegación ---------- */
.nav { position: sticky; top: 0; z-index: 40; background: rgb(20 20 20 / .72); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgb(242 240 234 / .08); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: var(--nav-h); }
.brand { display: block; width: 96px; flex-shrink: 0; }
.nav-links { display: flex; gap: 28px; margin-left: auto; font-size: 13px; color: rgb(242 240 234 / .82); }
.nav-links a { padding-block: 8px; transition: color .2s; }
.nav-links a:hover { color: var(--cream); }
.menu-btn { display: none; }

/* ---------- Hero: vídeo de fondo ---------- */
.hero { position: relative; isolation: isolate; min-height: calc(100svh - var(--nav-h)); display: grid; grid-template-rows: 1fr auto; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; background: var(--black) url("../assets/competicion-carlos-poster.jpg") center / cover no-repeat; }
.hero-bg video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; filter: grayscale(1) blur(5px) brightness(.85); transform: scale(1.08); }
.hero-bg::after { content: ""; position: absolute; inset: 0; background:
  radial-gradient(ellipse 70% 60% at 50% 45%, rgb(20 20 20 / .55) 0%, rgb(20 20 20 / .25) 70%, rgb(20 20 20 / .1) 100%),
  linear-gradient(180deg, rgb(20 20 20 / .75) 0%, rgb(20 20 20 / 0) 22%, rgb(20 20 20 / 0) 60%, var(--black) 100%); }
.hero-copy { align-self: center; text-align: center; display: grid; justify-items: center; gap: 20px; padding-block: clamp(64px, 10vh, 120px) 40px; }
.eyebrow { font: 400 13px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--lime); }
.hero h1 { font-size: clamp(42px, 7.4vw, 104px); line-height: 1.01; text-shadow: 0 2px 30px rgb(0 0 0 / .35); }
.hero-line { display: inline-block; }
.hero-sub { max-width: 32ch; font-size: clamp(19px, 1.8vw, 24px); line-height: 1.35; color: rgb(242 240 234 / .86); }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 26px; margin-top: 6px; }
.hero-foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 20px; padding-bottom: 28px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, auto)); justify-content: start; gap: clamp(24px, 5vw, 72px); }
.stats li { display: grid; gap: 6px; padding-left: 14px; border-left: 1px solid rgb(242 240 234 / .25); }
.stats b { font: 400 clamp(28px, 3.2vw, 44px)/1 var(--title); color: var(--cream); }
.stats span { font: 400 12px/1.4 var(--mono); color: rgb(242 240 234 / .7); letter-spacing: .04em; text-transform: uppercase; }
.hero-meta { display: flex; align-items: center; gap: 12px; }
.motto { font: 400 14px/1 var(--title); color: var(--cream); }
.video-btn { min-height: 36px; padding: 0 14px; border: 1px solid rgb(242 240 234 / .25); border-radius: 999px; background: rgb(20 20 20 / .45); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: var(--cream); font: 400 12px/1 var(--mono); cursor: pointer; }

/* ---------- Franja ---------- */
.strip { background: var(--lime); color: var(--black); }
.strip-inner { display: flex; justify-content: center; align-items: center; gap: clamp(14px, 3vw, 40px); min-height: 72px; font: 400 clamp(13px, 1.8vw, 22px)/1 var(--title); }
.strip i { font-style: normal; font-family: var(--sans); opacity: .6; }

/* ---------- Secciones ---------- */
.sec { padding-block: clamp(96px, 12vw, 168px); }
.sec.light { background: var(--cream); color: var(--black); }
.sec-head { text-align: center; display: grid; justify-items: center; gap: 16px; margin-bottom: clamp(44px, 6vw, 72px); }
.sec-head h2 { font-size: clamp(34px, 5vw, 68px); line-height: 1.04; max-width: 16ch; }
.sec-head p { max-width: 34ch; font-size: clamp(19px, 1.7vw, 23px); line-height: 1.38; color: var(--ink-dim); }
.light .sec-head p { color: var(--paper-dim); }
.kicker { text-align: center; font: 400 clamp(22px, 2.6vw, 34px)/1.15 var(--title); margin: clamp(72px, 9vw, 120px) auto 36px; max-width: 22ch; text-wrap: balance; }

.kicker-mono { display: inline-flex; align-items: center; gap: 10px; font: 400 13px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--lime); }
.kicker-mono::before { content: ""; width: 8px; height: 8px; background: var(--lime); }
.light .kicker-mono { color: var(--black); }
.light .kicker-mono::before { background: var(--black); box-shadow: 0 0 0 3px var(--lime); }
.race .kicker-mono { color: var(--lime); }

/* ---------- Tarjetas tipo app ---------- */
.tile { position: relative; display: grid; gap: 10px; align-content: start; padding: 30px 28px 32px; border-radius: var(--radius); background: var(--paper); color: var(--black); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.tile.dark { background: var(--surface); color: var(--cream); }
.tile p { font-size: 16px; color: var(--paper-dim); }
.tile.dark p { color: var(--ink-dim); }
.tile .num { font: 400 13px/1 var(--mono); color: var(--paper-dim); letter-spacing: .04em; }
.tile h3 { padding-right: 44px; }
.label { font: 400 12px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-dim); }
.light .label { color: var(--paper-dim); }
@media (hover: hover) { .tile:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgb(0 0 0 / .12); } .tile.dark:hover { box-shadow: 0 18px 40px rgb(0 0 0 / .45); } }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.steps .tile { min-height: 220px; }
.steps .num { font-size: 34px; color: var(--black); font-family: var(--title); margin-bottom: 18px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.icon { width: 44px; height: 44px; fill: none; stroke: var(--lime); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 34px; }
.grid-3 .tile.dark { min-height: 230px; }

.myth { position: relative; display: grid; gap: 12px; align-content: start; padding: 28px 28px 30px; border-radius: var(--radius); border: 1px solid var(--line); }
.belief { font-size: 15px; color: var(--ink-dim); padding-right: 44px; }
.answer { font: 400 clamp(19px, 1.8vw, 24px)/1.2 var(--title); color: var(--lime); }

/* ---------- Botón «+» que abre la ficha ---------- */
.more > summary { list-style: none; cursor: pointer; }
.more > summary::-webkit-details-marker { display: none; }
.tile .more > summary, .myth .more > summary, .card .more > summary, .tool .more > summary {
  position: absolute; top: 22px; right: 22px; width: 36px; height: 36px; border-radius: 50%;
  background: rgb(20 20 20 / .08); display: grid; place-items: center; transition: background-color .2s, transform .3s var(--ease);
}
.tile.dark .more > summary, .myth .more > summary, .card .more > summary, .tile.photo .more > summary, .tool .more > summary, .tile.glass .more > summary { background: rgb(242 240 234 / .14); }
.more > summary::before { content: ""; width: 14px; height: 14px; background:
  linear-gradient(currentColor, currentColor) center / 14px 2px no-repeat,
  linear-gradient(currentColor, currentColor) center / 2px 14px no-repeat; transition: transform .3s var(--ease); }
.more[open] > summary::before { transform: rotate(45deg); }
.more > summary:hover { transform: scale(1.08); }
.more-body { display: grid; gap: 12px; padding-top: 14px; font-size: 16px; line-height: 1.5; }
.more-body ul { display: grid; gap: 6px; padding-left: 18px; list-style: disc; }
.more-body blockquote { padding-left: 14px; border-left: 3px solid var(--lime); }
.more-body .cat { font: 400 12.5px/1.5 var(--mono); opacity: .8; }
/* Variante en línea (texto + signo) */
.more-inline > summary { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 17px; color: var(--lime); }
.light .more-inline > summary { color: var(--black); }
.more-inline > summary::before { order: 2; width: 12px; height: 12px; background:
  linear-gradient(currentColor, currentColor) center / 12px 2px no-repeat,
  linear-gradient(currentColor, currentColor) center / 2px 12px no-repeat; }
.more-inline .more-body { max-width: 64ch; text-align: left; }

/* ---------- Método ---------- */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.b-coach { grid-column: span 2; grid-row: span 3; justify-items: center; text-align: center; align-content: center; padding-block: 44px; }
.b-coach p { max-width: 26ch; }
.b-stat { grid-column: span 4; min-height: 0; }
.b-wide { grid-column: span 3; }
.tile p.big { font: 400 clamp(44px, 5vw, 72px)/1 var(--title); color: var(--lime); margin-block: 4px 0; }
.bars { display: grid; gap: 10px; margin-block: 10px 6px; max-width: 420px; }
.bars span { display: grid; gap: 6px; font: 400 12px/1 var(--mono); color: var(--ink-dim); }
.bars i { display: block; height: 10px; border-radius: 999px; background: var(--lime); order: -1; }
.bars span + span i { background: rgb(179 255 59 / .45); }
.orbit { position: relative; width: min(260px, 80%); aspect-ratio: 1; margin-bottom: 26px; display: grid; place-items: center; }
.orbit::before, .orbit::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px dashed rgb(179 255 59 / .45); }
.orbit::after { inset: 16%; border-style: solid; border-color: rgb(242 240 234 / .12); }
.orbit img { width: 50%; aspect-ratio: 1; border-radius: 50%; object-fit: cover; border: 3px solid var(--lime); position: relative; z-index: 1; }
.orbit span { position: absolute; z-index: 2; padding: 6px 12px; border-radius: 999px; background: var(--black); border: 1px solid var(--line); font: 400 12px/1 var(--mono); white-space: nowrap; color: var(--cream); }
.o1 { top: 0; left: 50%; transform: translate(-50%, -40%); }
.o2 { bottom: 6%; left: 0; transform: translateX(-24%); }
.o3 { bottom: 6%; right: 0; transform: translateX(24%); }
.tile.photo { min-height: 380px; padding: 0; overflow: hidden; background: var(--black); color: var(--cream); align-content: end; isolation: isolate; }
.tile.photo > img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile.photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgb(20 20 20 / .88) 0%, rgb(20 20 20 / .2) 55%, rgb(20 20 20 / 0) 100%); }
@media (hover: hover) { .tile.photo:hover > img { transform: scale(1.04); } }
.photo-copy { display: grid; gap: 6px; padding: 28px; }
.photo-copy h3 { font-size: clamp(21px, 2vw, 28px); max-width: 18ch; padding-right: 0; }
.b-wide > img { object-position: 50% 22%; }

/* ---------- Onboarding: dos semanas ---------- */
.weeks { position: relative; padding: clamp(26px, 4vw, 44px); border-radius: var(--radius); background: var(--black); color: var(--cream); margin-bottom: 16px; }
.weeks-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: clamp(12px, 2.4vw, 28px); align-items: end; }
.week { display: grid; gap: 12px; }
.week-label { font: 400 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-dim); }
.week ol { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.week li { aspect-ratio: 1; max-width: 52px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); font: 400 12px/1 var(--mono); color: var(--ink-dim); }
.week li.start { background: var(--lime); border-color: var(--lime); color: var(--black); box-shadow: 0 0 0 6px rgb(179 255 59 / .18); }
.week-end { display: grid; gap: 12px; justify-items: start; }
.plan { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 16px; border-radius: 999px; background: var(--cream); color: var(--black); font: 400 14px/1 var(--mono); white-space: nowrap; }
.weeks-bar { grid-column: 1 / 3; grid-row: 2; margin-top: 6px; height: 34px; border-radius: 999px; background: linear-gradient(90deg, var(--lime), rgb(179 255 59 / .35)); display: flex; align-items: center; padding-inline: 16px; color: var(--black); font: 400 12.5px/1 var(--mono); letter-spacing: .02em; }
.weeks figcaption { display: flex; align-items: center; gap: 10px; margin-top: 22px; font-size: 16px; color: var(--cream); }
.weeks .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--lime); flex: 0 0 auto; }
.onb-steps .tile { min-height: 260px; }
.onb-steps .label { margin-bottom: 18px; }
.mono-list { display: grid; gap: 8px; margin-top: 6px; }
.mono-list li { display: flex; align-items: center; gap: 10px; font: 400 13.5px/1.3 var(--mono); color: var(--black); }
.mono-list li::before { content: ""; width: 7px; height: 7px; background: var(--black); flex: 0 0 auto; }

/* ---------- Competición ---------- */
.race { position: relative; isolation: isolate; overflow: hidden; }
.race-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.race-bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(.5); }
.race-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(20 20 20 / .7), rgb(20 20 20 / .45) 40%, rgb(20 20 20 / .9)); }
.race .sec-head p { color: rgb(242 240 234 / .82); }
.race .more-inline { margin-top: -4px; }
.phases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tile.glass { background: rgb(32 33 29 / .55); backdrop-filter: blur(20px) saturate(140%); -webkit-backdrop-filter: blur(20px) saturate(140%); color: var(--cream); border: 1px solid rgb(242 240 234 / .1); min-height: 190px; }
.tile.glass .num { color: var(--lime); font-size: 13px; text-transform: uppercase; margin-bottom: 26px; }

/* ---------- Resultados ---------- */
.carousel { position: relative; }
.track { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(260px, 26vw, 330px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(var(--gutter), calc((100vw - 1200px) / 2)); padding-inline: max(var(--gutter), calc((100vw - 1200px) / 2)); padding-bottom: 8px; scrollbar-width: none; overscroll-behavior-x: contain; }
.track::-webkit-scrollbar { display: none; }
.card { position: relative; isolation: isolate; scroll-snap-align: start; aspect-ratio: 3 / 4.2; border-radius: var(--radius); overflow: hidden; background: var(--surface); display: flex; align-items: flex-end; }
.card > img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgb(20 20 20 / .92) 0%, rgb(20 20 20 / .25) 50%, rgb(20 20 20 / 0) 75%); }
@media (hover: hover) { .card:hover > img { transform: scale(1.05); } }
.card-copy { display: grid; gap: 4px; padding: 24px; }
.card-copy h3 { font-size: 22px; padding-right: 0; }
.time { font: 400 clamp(32px, 3vw, 42px)/1.05 var(--mono); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: var(--cream); }
.ach { font-size: 14px; color: var(--lime); font-weight: 500; }
.carousel-nav { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 22px; }
.arrows { display: flex; gap: 10px; }
.arrow { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--surface); color: var(--cream); font: 400 24px/1 var(--sans); cursor: pointer; transition: background-color .2s, opacity .2s; }
.arrow:hover { background: #2e2f2a; }
.arrow[disabled] { opacity: .35; cursor: default; }
.cta-band { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px 32px; margin-top: clamp(56px, 7vw, 88px); padding: clamp(28px, 4vw, 44px); border-radius: var(--radius); background: var(--lime); color: var(--black); }
.cta-band p { font: 400 clamp(20px, 2.2vw, 30px)/1.2 var(--title); max-width: 28ch; text-wrap: balance; }

/* ---------- Equipo ---------- */
.coach { min-height: clamp(460px, 48vw, 620px); }
.coach > img { object-position: 50% 15%; }
.coach .label { color: var(--lime); }
.coach h3 { font: 400 clamp(32px, 3.4vw, 48px)/1 var(--title); }
.community { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 28px; margin-top: 16px; padding: clamp(28px, 4vw, 48px); }
.community h3 { font: 400 clamp(26px, 2.6vw, 36px)/1.1 var(--title); margin-bottom: 8px; padding-right: 48px; }
.community .more > summary { top: 22px; right: 22px; }
.faces { display: flex; padding-left: 14px; padding-right: 40px; }
.faces img { width: clamp(64px, 7vw, 92px); aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 3px solid var(--surface); box-shadow: 0 0 0 2px var(--lime); margin-left: -14px; }

/* ---------- Herramientas ---------- */
.tools { gap: 16px; }
.tool { position: relative; display: grid; justify-items: center; text-align: center; gap: 8px; padding: clamp(40px, 5vw, 60px) 24px 36px; border-radius: var(--radius); background: linear-gradient(180deg, var(--surface), #181916); }
.device { width: min(250px, 70%); padding: 9px; border-radius: 38px; background: #0b0b0b; border: 1px solid #34352f; box-shadow: 0 40px 80px rgb(0 0 0 / .55); margin-bottom: 26px; transition: transform .8s var(--ease); }
.device img { border-radius: 30px; }
@media (hover: hover) { .tool:hover .device { transform: translateY(-6px); } }
.tool h3 { font-size: clamp(20px, 1.8vw, 24px); }
.note { font-size: 13.5px; color: var(--ink-dim); max-width: 34ch; }
.tool .more-body { text-align: left; }

/* ---------- Preguntas ---------- */
.faq { border-radius: var(--radius); background: var(--paper); overflow: hidden; }
.faq details + details { border-top: 1px solid rgb(20 20 20 / .08); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 18px; min-height: 64px; padding: 16px 26px; font-weight: 500; font-size: 17px; list-style: none; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: 0 0 auto; font-size: 24px; line-height: 1; color: var(--paper-dim); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { background: rgb(20 20 20 / .03); }
.faq-a { padding: 0 26px 22px; color: var(--paper-dim); font-size: 16px; max-width: 66ch; }

/* ---------- Cierre ---------- */
.closing { background: var(--lime); color: var(--black); padding-block: clamp(96px, 12vw, 160px); }
.closing-inner { text-align: center; display: grid; justify-items: center; gap: 22px; }
.closing h2 { font-size: clamp(36px, 6vw, 84px); line-height: 1.02; max-width: 14ch; }
.closing p { max-width: 36ch; font-size: clamp(18px, 1.6vw, 21px); }

/* ---------- Pie ---------- */
.footer { padding-block: 48px 36px; font-size: 13px; color: var(--ink-dim); }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 28px; border-bottom: 1px solid rgb(242 240 234 / .1); }
.footer-top .brand { width: 110px; }
.footer-top p { font-family: var(--title); color: var(--cream); }
.footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-block: 28px; border-bottom: 1px solid rgb(242 240 234 / .1); }
.footer-cols nav { display: grid; gap: 8px; align-content: start; }
.footer-cols p { color: var(--cream); font-weight: 600; margin-bottom: 2px; }
.footer-cols a:hover { color: var(--cream); text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 24px; padding-top: 18px; }
.motion-toggle { min-height: 44px; padding: 0; border: 0; background: none; color: var(--ink-dim); font: 400 13px/1 var(--sans); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.motion-toggle:hover { color: var(--cream); }
.motion-toggle[hidden], .video-btn[hidden] { display: none; }
.trademark { margin-top: 14px; max-width: 80ch; font-size: 12px; }

/* ---------- Ficha (diálogo) ---------- */
.sheet { width: min(600px, calc(100% - 32px)); max-height: min(82vh, 760px); padding: 0; border: 0; border-radius: 28px; background: var(--surface); color: var(--cream); box-shadow: 0 40px 120px rgb(0 0 0 / .6); overflow: auto; }
.sheet::backdrop { background: rgb(0 0 0 / .55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.sheet-head { position: sticky; top: 0; display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 26px 26px 10px; background: var(--surface); }
.sheet-head h2 { font: 400 clamp(22px, 2.4vw, 28px)/1.15 var(--title); }
.sheet-close { flex: 0 0 auto; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgb(242 240 234 / .12); color: var(--cream); font: 400 24px/1 var(--sans); cursor: pointer; }
.sheet-body { display: grid; gap: 14px; padding: 6px 26px 8px; font-size: 17px; line-height: 1.55; color: rgb(242 240 234 / .88); }
.sheet-body .more-body { display: grid; padding-top: 0; font-size: 17px; }
.sheet-body .cat { color: var(--ink-dim); }
.sheet-cta { margin: 18px 26px 26px; }
.sheet[open] { animation: sheet-in .45s var(--ease); }
.sheet[open]::backdrop { animation: fade-in .35s ease; }
@keyframes sheet-in { from { opacity: 0; transform: translateY(24px) scale(.98); } }
@keyframes fade-in { from { opacity: 0; } }

/* ---------- Animación ---------- */
.js .load { opacity: 0; transform: translateY(18px); animation: rise 1s var(--ease) forwards; }
.js .eyebrow.load { animation-delay: .05s; }
.js h1.load { animation-delay: .15s; }
.js .hero-sub.load { animation-delay: .3s; }
.js .hero-cta.load { animation-delay: .42s; }
.js .hero-foot.load { animation-delay: .6s; }
.js .hero-bg { animation: bg-in 1.8s var(--ease) both; }
@keyframes bg-in { from { opacity: 0; transform: scale(1.06); } }
@keyframes rise { to { opacity: 1; transform: none; } }
.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .grid-3 > .reveal:nth-child(2), .js .steps > .reveal:nth-child(2), .js .phases > .reveal:nth-child(2), .js .grid-2 > .reveal:nth-child(2) { transition-delay: .08s; }
.js .grid-3 > .reveal:nth-child(3), .js .steps > .reveal:nth-child(3), .js .phases > .reveal:nth-child(3) { transition-delay: .16s; }
.js .steps > .reveal:nth-child(4) { transition-delay: .24s; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    html:not([data-motion="off"]) .race-bg img { animation: drift linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
  }
}
@keyframes drift { from { transform: scale(1.14) translateY(-4%); } to { transform: scale(1.04) translateY(4%); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .load, .js .reveal, .js .hero-bg { opacity: 1; transform: none; animation: none; transition: none; }
  .sheet[open], .sheet[open]::backdrop { animation: none; }
}
html[data-motion="off"] { scroll-behavior: auto; }
html[data-motion="off"] .load, html[data-motion="off"] .reveal { opacity: 1 !important; transform: none !important; }
html[data-motion="off"] *, html[data-motion="off"] *::before, html[data-motion="off"] *::after { animation: none !important; transition: none !important; }

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .b-coach { grid-column: span 2; grid-row: auto; }
  .b-stat { grid-column: span 1; }
  .bento > :nth-child(4) { grid-column: span 2; }
  .b-wide { grid-column: span 1; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-links.is-open { display: grid; position: absolute; top: var(--nav-h); left: 0; right: 0; gap: 0; padding: 8px var(--gutter) 24px; background: rgb(20 20 20 / .96); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); font: 600 24px/1.2 var(--sans); color: var(--cream); border-bottom: 1px solid rgb(242 240 234 / .08); }
  .nav-links.is-open a { padding-block: 14px; border-bottom: 1px solid rgb(242 240 234 / .08); }
  .nav-inner { gap: 12px; }
  .nav .pill-sm { margin-left: auto; }
  .menu-btn { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--cream); cursor: pointer; }
  .menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 18px; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease), background-color .2s; }
  .menu-btn span { position: relative; }
  .menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
  .menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }
  .menu-btn[aria-expanded="true"] span { background: transparent; }
  .menu-btn[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }
  .grid-3, .phases { grid-template-columns: minmax(0, 1fr); }
  .grid-3 .tile.dark { min-height: 0; }
  .icon { margin-bottom: 18px; }
  .community { grid-template-columns: minmax(0, 1fr); }
  .faces { padding-right: 0; }
}

/* ---------- Móvil ---------- */
@media (max-width: 600px) {
  :root { --radius: 22px; }
  body { font-size: 16px; }
  .brand { width: 84px; }
  .hero-copy { padding-block: 56px 28px; }
  .hero-foot { grid-template-columns: minmax(0, 1fr); }
  .stats { gap: 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stats li { padding-left: 10px; }
  .stats span { font-size: 10.5px; }
  .hero-meta { justify-content: space-between; }
  .weeks-grid { grid-template-columns: minmax(0, 1fr); }
  .weeks-bar { grid-column: auto; grid-row: auto; order: 1; }
  .week-end { order: 2; }
  .nav .pill-sm { white-space: nowrap; font-size: 11.5px; padding: 6px 12px; }
  .nav .pill-sm .arr { display: none; }
  .week li { max-width: none; }
  .onb-steps .tile { min-height: 0; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-row .pill, .more-pill > summary { justify-content: space-between; width: 100%; }
  .strip-inner { min-height: 56px; gap: 10px; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .steps .tile { min-height: 0; grid-template-columns: 52px minmax(0, 1fr); column-gap: 14px; row-gap: 2px; padding: 22px 20px; }
  .steps .num { grid-row: span 2; font-size: 26px; margin: 0; }
  .steps .tile h3 { padding-right: 40px; }
  .tile { padding: 24px 22px 26px; }
  .bento { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .b-coach, .b-stat, .bento > :nth-child(4), .b-wide { grid-column: auto; }
  .tile.photo { min-height: 320px; }
  .grid-2 { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .coach { min-height: 440px; }
  .track { grid-auto-columns: 78%; gap: 12px; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .faq summary { padding: 14px 18px; font-size: 16px; }
  .faq-a { padding: 0 18px 18px; }
  .footer-top { flex-direction: column; align-items: flex-start; }
  .footer-cols { grid-template-columns: minmax(0, 1fr); }
  .sheet { width: 100%; max-width: none; max-height: 88vh; margin: auto 0 0; border-radius: 24px 24px 0 0; }
}
@media (max-width: 359px) { .nav .pill-sm { display: none; } }
