/* Portada de FitPilot. Colores y tipografía del kit de marca (02 Colores, 03 Tipografía). */
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("assets/PlusJakartaSans-var.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
:root {
  --bg: #090C09;
  --bg-2: #0E130E;
  --surface: #131913;
  --surface-2: #19211A;
  --surface-3: #212B22;
  --border: #263226;
  --border-strong: #35453A;
  --text: #F3F6F1;
  --muted: #A9B4A5;
  --faint: #7F8A7C;
  --lime: #C6F432;
  --lime-strong: #D6FF4A;
  --lime-dim: rgba(198, 244, 50, 0.12);
  --on-lime: #0B0F05;
  --warn: #FFD166;
  --info: #8FD3FF;
  --radius: 20px;
  --wrap: 1160px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, p, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--lime); color: var(--on-lime); padding: 10px 14px; border-radius: 10px; font-weight: 700; z-index: 100; }
.skip:focus { left: 12px; }

/* ---------- Navegación ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(9, 12, 9, 0.72); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .25s; }
.nav.stuck { border-bottom-color: var(--border); }
.nav-in { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.brand svg { width: 30px; height: 30px; fill: var(--lime); stroke: none; }
.nav-links { display: none; gap: 28px; margin-left: auto; font-size: 15px; font-weight: 600; color: var(--muted); }
.nav-links a:hover { color: var(--text); }
.nav .btn { margin-left: auto; }
@media (min-width: 760px) {
  .nav-links { display: flex; }
  .nav .btn { margin-left: 0; }
}

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 999px; font-weight: 700; font-size: 16px; letter-spacing: -0.01em; border: 1px solid transparent; transition: transform .15s, background-color .2s, border-color .2s, box-shadow .2s; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; stroke-width: 2.2; }
.btn.primary { background: var(--lime); color: var(--on-lime); box-shadow: 0 10px 34px -10px rgba(198, 244, 50, 0.55); }
.btn.primary:hover { background: var(--lime-strong); transform: translateY(-1px); }
.btn.ghost { border-color: var(--border-strong); color: var(--text); background: rgba(255, 255, 255, 0.02); }
.btn.ghost:hover { border-color: var(--lime); }
.btn.sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn.lg { min-height: 60px; padding: 0 32px; font-size: 18px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 56px 0 72px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px); background-size: 56px 56px; opacity: .22; -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 20%, transparent 75%); pointer-events: none; }
.glow { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; }
.glow-a { width: 520px; height: 520px; right: -160px; top: -120px; background: rgba(198, 244, 50, 0.16); }
.glow-b { width: 380px; height: 380px; left: -180px; bottom: -160px; background: rgba(198, 244, 50, 0.07); }
.glow-c { width: 640px; height: 420px; left: 50%; top: 50%; transform: translate(-50%, -50%); background: rgba(198, 244, 50, 0.13); }
.hero-in { position: relative; display: grid; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border: 1px solid var(--border-strong); border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--muted); background: rgba(19, 25, 19, 0.7); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px var(--lime-dim); }
h1 { margin-top: 22px; font-size: clamp(38px, 8.4vw, 68px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 800; text-wrap: balance; }
h1 em { font-style: normal; color: var(--lime); }
.lead { margin-top: 22px; font-size: clamp(17px, 2.2vw, 20px); color: var(--muted); max-width: 56ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.cta-row.center { justify-content: center; }
.fine { margin-top: 16px; font-size: 14px; color: var(--faint); max-width: 52ch; }

.hero-art { position: relative; justify-self: center; width: min(100%, 360px); padding: 26px 0 40px; }
.phone { position: relative; border-radius: 44px; padding: 10px; background: linear-gradient(160deg, #2b352c, #101510 55%, #1c241d); box-shadow: 0 50px 100px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.06) inset, 0 30px 80px -40px rgba(198, 244, 50, 0.35); }
.phone-top { position: absolute; top: 10px; left: 0; right: 0; display: flex; justify-content: center; z-index: 2; }
.notch { width: 96px; height: 24px; background: #050705; border-radius: 0 0 16px 16px; }
.screen { border-radius: 35px; background: var(--bg-2); border: 1px solid var(--border); padding: 44px 14px 0; overflow: hidden; }
.views { display: grid; height: 458px; }
.view { grid-area: 1 / 1; min-width: 0; opacity: 0; visibility: hidden; transform: translateX(14px); transition: opacity .35s ease, transform .35s ease, visibility 0s linear .35s; }
.view.on { opacity: 1; visibility: visible; transform: none; transition: opacity .35s ease, transform .35s ease, visibility 0s; }
.s-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.s-kicker { font-size: 12px; color: var(--faint); font-weight: 600; }
.s-title { font-size: 17px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.25; }
.pill { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; border: 1px solid var(--border-strong); color: var(--muted); white-space: nowrap; }
.pill.lime { background: var(--lime-dim); color: var(--lime); border-color: transparent; }
.ex { display: flex; align-items: center; gap: 11px; padding: 11px; margin-bottom: 8px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; }
.ex-ico { flex: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; background: var(--surface-3); color: var(--lime); }
.ex-ico svg { width: 20px; height: 20px; }
.ex-body { min-width: 0; flex: 1; }
.ex-name { font-size: 13.5px; font-weight: 700; line-height: 1.25; }
.ex-dose { font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.ex-dose b { color: var(--text); font-weight: 700; }
.ex-last { font-size: 11px; color: var(--faint); margin-top: 1px; }
.check { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--border-strong); }
.check.done { background: var(--lime); border-color: var(--lime); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B0F05' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E"); background-size: 15px; background-position: center; background-repeat: no-repeat; }
.check.now { border-color: var(--lime); box-shadow: 0 0 0 4px var(--lime-dim); }
.alt { display: flex; gap: 10px; align-items: flex-start; margin: 12px 0 14px; padding: 11px 12px; border-radius: 14px; background: var(--lime-dim); color: var(--lime); }
.alt svg { flex: none; width: 18px; height: 18px; margin-top: 1px; }
.alt p { font-size: 12px; line-height: 1.4; color: #dfe9c9; }
.alt b { color: var(--lime); }
.demo-progress { height: 2px; margin: 0 -14px; background: var(--border); }
.demo-progress span { display: block; height: 100%; width: 0; background: var(--lime); }
.tabbar { display: grid; grid-template-columns: repeat(5, 1fr); margin: 0 -14px; padding: 6px 6px 12px; background: var(--bg); }
.tab { display: grid; justify-items: center; gap: 3px; padding: 6px 0 4px; border: 0; border-radius: 12px; background: none; font: inherit; font-size: 10px; font-weight: 600; color: var(--faint); cursor: pointer; transition: color .2s, background-color .2s; -webkit-tap-highlight-color: transparent; }
.tab:hover { color: var(--text); }
.tab svg { width: 19px; height: 19px; }
.tab.on { color: var(--lime); background: var(--lime-dim); }

.float { position: absolute; padding: 12px 14px; border-radius: 16px; background: rgba(25, 33, 26, 0.92); border: 1px solid var(--border-strong); box-shadow: 0 24px 50px -18px rgba(0, 0, 0, 0.85); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.f-label { font-size: 11px; font-weight: 700; color: var(--lime); letter-spacing: .02em; }
.f-text { font-size: 12.5px; line-height: 1.4; margin-top: 4px; color: var(--text); }
.float-week { top: 0; left: -64px; display: none; }
.float { pointer-events: none; }
.week { display: flex; gap: 5px; margin-top: 8px; }
.d { width: 24px; height: 30px; display: grid; place-items: center; border-radius: 8px; font-size: 11px; font-weight: 700; color: var(--faint); background: var(--surface-3); }
.d.done { background: var(--lime); color: var(--on-lime); }
.d.today { color: var(--lime); box-shadow: 0 0 0 1.5px var(--lime) inset; }
.d.plan { color: var(--text); box-shadow: 0 0 0 1.5px var(--border-strong) inset; }
.art-note { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 12px; color: var(--muted); }
.tap { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(198, 244, 50, 0.6); animation: tap 1.8s ease-out infinite; }
@keyframes tap { 70%, 100% { box-shadow: 0 0 0 10px rgba(198, 244, 50, 0); } }

@media (max-width: 519px) {
  .hero-art { padding: 0 0 34px; }
}
@media (min-width: 520px) {
  .float-week { display: block; }
}
@media (min-width: 980px) {
  .hero { padding: 84px 0 104px; }
  .hero-in { grid-template-columns: 1.08fr 0.92fr; gap: 40px; }
  .hero-art { justify-self: end; margin-right: 28px; }
}

/* ---------- Pantallas del teléfono ---------- */
.view .stag { opacity: 0; transform: translateY(10px); }
.view.on .stag { animation: rise .5s ease forwards; }
.view.on .stag:nth-of-type(2) { animation-delay: .08s; }
.view.on .stag:nth-of-type(3) { animation-delay: .16s; }
.view.on .stag:nth-of-type(4) { animation-delay: .24s; }
.view.on .stag:nth-of-type(5) { animation-delay: .32s; }
.view.on .stag:nth-of-type(6) { animation-delay: .40s; }
@keyframes rise { to { opacity: 1; transform: none; } }
.view.on .check.done { animation: pop .45s .5s ease backwards; }
@keyframes pop { 0% { transform: scale(.4); } 70% { transform: scale(1.18); } }
.bar { height: 6px; border-radius: 99px; background: var(--surface-3); overflow: hidden; }
.fill { display: block; height: 100%; width: 0; border-radius: 99px; background: var(--lime); }
.tiny { font-size: 11px; line-height: 1.4; color: var(--faint); margin-top: 10px; }

/* Entreno */
.mini-guide { border-radius: 14px; overflow: hidden; border: 1px solid var(--border); background: #121413; aspect-ratio: 4 / 3; }
.sets { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.set { display: grid; grid-template-columns: 1fr auto; gap: 0 8px; align-items: center; padding: 9px 11px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); }
.set span { font-size: 10.5px; color: var(--faint); font-weight: 600; grid-column: 1; }
.set b { font-size: 13px; grid-column: 1; }
.set i { grid-column: 2; grid-row: 1 / 3; width: 20px; height: 20px; }
.set.live { border-color: var(--lime); }
.rest { margin-top: 10px; padding: 10px 12px 12px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); }
.rest-top { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.rest-top b { color: var(--text); font-variant-numeric: tabular-nums; }
.view.on .rest-fill { animation: fillw 6s .6s linear forwards; }
@keyframes fillw { to { width: 100%; } }

/* Comidas */
.meal { padding: 11px 12px; margin-bottom: 8px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); }
.meal-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 3px; }
.meal.photo { display: flex; gap: 12px; align-items: center; border-color: var(--border-strong); }
.meal-body { flex: 1; min-width: 0; }
.plate { position: relative; flex: none; width: 56px; height: 56px; border-radius: 50%; background: #e9e6dc; box-shadow: 0 0 0 4px #2a332b; overflow: hidden; }
.plate span { position: absolute; border-radius: 50%; }
.plate .p1 { width: 34px; height: 34px; left: 4px; top: 5px; background: #f6f1e3; box-shadow: inset -3px -3px 0 #e2dccb; }
.plate .p2 { width: 28px; height: 26px; right: 3px; top: 14px; background: #c98a4b; box-shadow: inset -3px -3px 0 #a86f38; }
.plate .p3 { width: 30px; height: 24px; left: 12px; bottom: 2px; background: #6fae4a; box-shadow: inset -3px -3px 0 #568c37; }
.confirm { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; margin-bottom: 10px; border-radius: 14px; background: var(--lime-dim); }
.confirm p { font-size: 11px; line-height: 1.35; color: #dfe9c9; }
.confirm-row { display: flex; gap: 6px; flex: none; }
.mini-btn { padding: 6px 10px; border-radius: 99px; font-size: 11px; font-weight: 700; border: 1px solid var(--border-strong); color: var(--text); }
.mini-btn.on { background: var(--lime); color: var(--on-lime); border-color: var(--lime); }
.view.on .mini-btn.on { animation: pulse 1.6s 1.2s ease-out 2; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(198, 244, 50, 0.55); } 100% { box-shadow: 0 0 0 12px rgba(198, 244, 50, 0); } }
.macros { display: grid; gap: 8px; padding: 12px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); }
.macro { display: grid; grid-template-columns: 58px 1fr 40px; gap: 8px; align-items: center; font-size: 11px; color: var(--muted); }
.macro b { color: var(--text); text-align: right; font-size: 11.5px; }
.view.on .m1 { animation: w1 .9s .5s ease forwards; }
.view.on .m2 { animation: w2 .9s .6s ease forwards; }
.view.on .m3 { animation: w3 .9s .7s ease forwards; }
@keyframes w1 { to { width: 72%; } }
@keyframes w2 { to { width: 58%; } }
@keyframes w3 { to { width: 44%; } }

/* Progreso */
.ring-card { display: flex; align-items: center; gap: 14px; padding: 12px; margin-bottom: 8px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); }
.ring { width: 72px; height: 72px; flex: none; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 8; }
.ring-bg { stroke: var(--surface-3); }
.ring-fg { stroke: var(--lime); stroke-linecap: round; stroke-dasharray: 201; stroke-dashoffset: 201; }
.view.on .ring-fg { animation: ring 1.1s .4s ease forwards; }
@keyframes ring { to { stroke-dashoffset: 67; } }
.ring-n { font-size: 15px; color: var(--muted); }
.ring-n b { font-size: 26px; color: var(--text); letter-spacing: -0.03em; }
.chart-card { padding: 12px 12px 10px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); }
.chart { width: 100%; height: auto; display: block; margin-top: 6px; }
.chart .grid-l { stroke: var(--border); stroke-width: 1; }
.chart .area { fill: var(--lime-dim); stroke: none; opacity: 0; }
.chart .line { stroke: var(--lime); stroke-width: 3; stroke-dasharray: 320; stroke-dashoffset: 320; }
.chart .pt { fill: var(--lime); stroke: var(--bg-2); stroke-width: 2; opacity: 0; }
.view.on .chart .line { animation: draw 1.4s .5s ease forwards; }
.view.on .chart .area { animation: fade .8s 1.4s ease forwards; }
.view.on .chart .pt { animation: fade .3s 1.8s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
.chart-x { display: flex; justify-content: space-between; font-size: 10px; color: var(--faint); margin-top: 4px; }

/* Marlon */
.chat-head { justify-content: flex-start; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid var(--lime); }
.chat { display: grid; gap: 8px; }
.bub { max-width: 86%; padding: 9px 12px; border-radius: 16px; font-size: 12.5px; line-height: 1.4; }
.bub.me { justify-self: end; background: var(--lime); color: var(--on-lime); border-bottom-right-radius: 5px; font-weight: 600; }
.bub.him { justify-self: start; background: var(--surface-3); border-bottom-left-radius: 5px; }
.bub.typing { justify-self: start; display: flex; gap: 4px; background: var(--surface-3); padding: 12px; }
.bub.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: dots 1s infinite; }
.bub.typing i:nth-child(2) { animation-delay: .15s; }
.bub.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dots { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
.view.on .bub.typing { animation: typing 1.7s .5s ease both; }
@keyframes typing { 0% { opacity: 0; transform: translateY(10px); max-height: 40px; } 15%, 80% { opacity: 1; transform: none; max-height: 40px; } 100% { opacity: 0; max-height: 0; padding-block: 0; margin-top: -8px; } }
.view.on .stag.late { animation-delay: 2.1s; }
.view.on .stag.late2 { animation-delay: 2.8s; }
.rv-mini { margin-top: 12px; padding: 12px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border-strong); }
.rvm { display: flex; gap: 8px; font-size: 12px; margin-top: 6px; }
.rvm span { flex: none; width: 82px; font-weight: 700; font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; padding-top: 1px; }
.k1 { color: var(--lime); } .k2 { color: var(--warn); } .k3 { color: var(--info); }

/* ---------- Pantallas tipo cartel: número grande, título y lista (ronda 27) ---------- */
.poster { position: relative; }
.poster-art { position: absolute; right: -26px; top: -18px; width: 190px; opacity: 0.9; pointer-events: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 38%); mask-image: linear-gradient(90deg, transparent, #000 38%); }
.poster-art .guide-svg > rect { display: none; }
.poster > *:not(.poster-art) { position: relative; }
.p-kicker { font-size: 10.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); }
.p-num { display: flex; align-items: baseline; gap: 6px; margin-top: 2px; line-height: .86; }
.p-num b { font-size: 104px; font-weight: 800; letter-spacing: -0.06em; color: var(--text); }
.p-num span { font-size: 14px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--lime); }
.p-title { margin-top: 10px; font-size: 25px; line-height: 1.05; font-weight: 800; letter-spacing: -0.035em; }
.p-sub { margin-top: 4px; font-size: 12px; color: var(--muted); }
.p-list { margin-top: 12px; border-top: 1px solid var(--border); }
.p-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 13px; font-weight: 700; }
.p-list b { color: var(--lime); font-size: 12.5px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.p-cta { margin-top: 12px; display: grid; place-items: center; height: 44px; border-radius: 999px; background: var(--lime); color: var(--on-lime); font-size: 14px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; box-shadow: 0 10px 28px -10px rgba(198, 244, 50, 0.6); }
.p-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 10px; }
.p-stats div { padding: 8px 9px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); }
.p-stats b { display: block; font-size: 19px; line-height: 1; font-weight: 800; letter-spacing: -0.03em; }
.p-stats span { display: block; margin-top: 3px; font-size: 9.5px; line-height: 1.2; color: var(--faint); }

/* Entreno: avance por ejercicios y carga en grande */
.segs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; margin-bottom: 10px; }
.segs i { height: 4px; border-radius: 99px; background: var(--surface-3); overflow: hidden; }
.segs i.on { background: var(--lime); }
.segs i.half { background: linear-gradient(90deg, var(--lime) 55%, var(--surface-3) 55%); }
.now { display: flex; align-items: center; gap: 14px; margin-top: 10px; }
.now-num { display: flex; align-items: baseline; gap: 4px; line-height: .86; flex: none; }
.now-num b { font-size: 62px; font-weight: 800; letter-spacing: -0.06em; color: var(--lime); }
.now-num span { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.now .s-title { font-size: 16px; }
.p-two { display: grid; grid-template-columns: 1.3fr 1fr; gap: 8px; margin-top: 10px; }
.p-two .mini-btn { display: grid; place-items: center; padding: 10px 8px; font-size: 12px; }

/* Comidas: el cuerpo al centro y lo registrado alrededor */
.orbit { position: relative; height: 222px; margin: 6px 0 8px; }
.orbit::before { content: ""; position: absolute; left: 50%; top: 50%; width: 150px; height: 190px; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(198, 244, 50, 0.22), transparent); }
.orbit-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.orbit-lines ellipse { stroke: var(--border-strong); stroke-width: 1; stroke-dasharray: 2 5; }
.orbit-lines .dot { fill: var(--lime); stroke: none; }
.orbit-fig { position: absolute; left: 50%; top: 4px; width: 214px; transform: translateX(-50%); }
.orbit-fig .guide-svg > rect, .orbit-fig .g-shadow { display: none; }
.node { position: absolute; display: grid; justify-items: center; min-width: 66px; padding: 7px 9px; border-radius: 14px; background: rgba(19, 25, 19, 0.9); border: 1px solid var(--border-strong); line-height: 1.1; }
.node b { font-size: 15px; font-weight: 800; letter-spacing: -0.02em; }
.node span { font-size: 9.5px; color: var(--muted); margin-top: 2px; }
.node.main { border-color: var(--lime); box-shadow: 0 0 0 4px var(--lime-dim); }
.node.main b { color: var(--lime); }
.n1 { left: 0; top: 30px; } .n2 { right: 0; top: 30px; } .n3 { left: 2px; bottom: 26px; } .n4 { right: 2px; bottom: 26px; }
.view.on .node { animation: pop .5s ease backwards; }
.view.on .n1 { animation-delay: .35s; } .view.on .n2 { animation-delay: .5s; } .view.on .n3 { animation-delay: .65s; } .view.on .n4 { animation-delay: .8s; }
.view.on .orbit-lines ellipse { animation: spin 26s linear infinite; transform-origin: 150px 112px; }
@keyframes spin { to { stroke-dashoffset: -140; } }

/* ---------- Reproductor de guías (clases del motor de la app) ---------- */
.guide { margin: 0; }
.guide-stage { margin: 0; background: #121413; }
.guide-stage figcaption, .guide-controls, .guide-phases, .guide-draft, .guide-now, .sr-only, .guide .small { display: none; }
/* El SVG del motor parte de los valores por defecto de SVG, no de los iconos de la portada. */
.guide-svg { width: 100%; height: auto; display: block; fill: #000; stroke: none; stroke-width: 1; }
.guide-svg path { stroke-linejoin: round; stroke-linecap: round; }
/* Figura (ronda 27): mapa muscular plano. Silueta oscura, músculos como paneles lisos separados por una línea
   oscura y la zona que trabaja en lima plena. */
.guide-svg .m-body { stroke: none; }
.guide-svg .m-body-far { stroke: none; }
.guide-svg .m-mus { stroke: #1f2421; stroke-width: 1.15; }
.guide-svg .m-mus-far { stroke: #131614; stroke-width: 1.05; }
.guide-svg .m-ghost { stroke: none; opacity: 0.88; }
.guide-svg .m-shade { stroke: none; opacity: 0.4; }
.guide-svg .m-body-fill { stroke: none; }
.guide-svg .m-edge { fill: none; stroke: none; }
.guide-svg .m-rim { fill: none; stroke: none; }
.guide-svg .m-rim-far { fill: none; stroke: none; }
.guide-svg .m-ten { stroke: #1f2421; stroke-width: 0.9; }
.guide-svg .m-ten-far { stroke: #131614; stroke-width: 0.8; }
.guide-svg .m-ten-line { fill: none; stroke: #1f2421; stroke-width: 0.7; }
.guide-svg .m-fiber { fill: none; stroke: none; }
.guide-svg .m-far { fill: #2f3431; stroke: #131614; stroke-width: 0.8; }
.guide-svg .m-equip { stroke: #2c322e; stroke-width: 0.8; }
.guide-svg .m-pad { stroke: #141714; stroke-width: 0.8; }
.guide-svg .m-rubber { stroke: #0f120f; stroke-width: 0.8; }
.guide-svg .m-band { fill: #8d9a94; stroke: none; }
.guide-svg .m-band-far { fill: #56605b; stroke: none; }
.guide-svg .m-cable { fill: #9aa39d; stroke: none; }
.guide-svg .m-ground { fill: #262b28; stroke: none; }
.guide-svg .m-mat { fill: #1f2421; stroke: #2a2f2c; stroke-width: 0.8; }
.guide-svg .m-accent { stroke: #1f2421; stroke-width: 1.15; }
.guide-svg .m-hair { stroke: none; }
.guide-svg .m-ear { stroke: none; }
.guide-svg .m-jaw { fill: rgba(0, 0, 0, 0.28); stroke: none; }
.guide-svg .g-shadow { stroke: none; }
/* Trayectoria del movimiento: camino punteado, extremos, marcador en la posición actual y flecha de sentido. */
.guide-svg .g-trace-path { fill: none; stroke: rgba(214, 255, 74, 0.75); stroke-width: 1.4; stroke-dasharray: 1 4.5; stroke-linecap: round; }
.guide-svg .g-trace-end { fill: none; stroke: rgba(214, 255, 74, 0.8); stroke-width: 1.1; }
.guide-svg .g-trace-dot { fill: #d6ff4a; stroke: #10130f; stroke-width: 1.2; }
.guide-svg .g-trace-arrow { fill: #d6ff4a; stroke: #10130f; stroke-width: 0.8; stroke-linejoin: round; }
.guide-svg .g-callout polyline { fill: none; stroke: rgba(240, 244, 238, 0.7); stroke-width: 1; }
.guide-svg .g-callout circle { fill: #f0f4ee; stroke: none; }
.guide-svg .g-callout text { fill: #f0f4ee; stroke: none; font-family: inherit; font-weight: 500; letter-spacing: 0.01em; }
.mini-guide .g-callout { display: none; }

/* ---------- Demostraciones ---------- */
.show { display: grid; gap: 36px; align-items: center; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.chip { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--border-strong); background: rgba(255, 255, 255, 0.02); color: var(--text); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; transition: border-color .2s, background-color .2s, color .2s; }
.chip:hover { border-color: var(--lime); }
.chip.on { background: var(--lime); border-color: var(--lime); color: var(--on-lime); }
.show-copy .fine { margin-top: 22px; }
.show-stage { position: relative; }
.big-guide { border-radius: 26px; overflow: hidden; border: 1px solid var(--border-strong); background: #121413; aspect-ratio: 4 / 3; box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.9), 0 30px 80px -50px rgba(198, 244, 50, 0.3); }
.big-guide .guide-stage figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 14px; padding: 12px 18px; font-size: 14px; color: var(--muted); background: #161817; border-top: 1px solid var(--border); }
.big-guide { aspect-ratio: auto; min-height: 240px; }
.guide-focus { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-weight: 600; }
.big-guide .guide-now { display: block; padding: 0 18px 14px; background: #161817; }
.big-guide .guide-step { font-size: 14px; color: var(--muted); }
.big-guide .guide-step strong { color: var(--lime); font-weight: 700; }
.big-guide .guide-cue { display: none; }
.swatch { width: 10px; height: 10px; border-radius: 3px; background: var(--lime); }
@media (min-width: 980px) { .show { grid-template-columns: 0.85fr 1fr; gap: 64px; } }

/* ---------- Franja de objetivos ---------- */
.band { border-block: 1px solid var(--border); background: var(--bg-2); }
.band-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 22px; padding: 20px 0; font-weight: 700; font-size: 15px; letter-spacing: -0.01em; color: var(--muted); }
.band-in i { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); }

/* ---------- Secciones ---------- */
.sec { padding: 84px 0; }
.sec.tight { padding: 28px 0 84px; }
.alt-bg { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-block: 1px solid var(--border); }
.sec-head { max-width: 760px; margin-bottom: 44px; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--lime); }
h2 { margin-top: 12px; font-size: clamp(28px, 4.6vw, 44px); line-height: 1.12; letter-spacing: -0.03em; font-weight: 800; text-wrap: balance; }
.sub { margin-top: 16px; color: var(--muted); font-size: 18px; max-width: 62ch; }
h3 { font-size: 19px; line-height: 1.3; letter-spacing: -0.015em; font-weight: 700; }

.grid { display: grid; gap: 16px; }
@media (min-width: 620px) { .grid.four { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .grid.four { grid-template-columns: repeat(4, 1fr); } }
.card { padding: 26px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); transition: border-color .25s, transform .25s; }
.card:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.card p { margin-top: 10px; color: var(--muted); font-size: 16px; }
.card.flat { background: transparent; }
.ico { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: var(--lime-dim); color: var(--lime); margin-bottom: 18px; flex: none; }
.ico svg { width: 23px; height: 23px; }
.tag { display: inline-block; margin: 0 0 14px !important; padding: 4px 11px; border-radius: 999px; background: var(--lime-dim); color: var(--lime) !important; font-size: 12px !important; font-weight: 700; }

/* ---------- Método ---------- */
.steps { display: grid; gap: 16px; counter-reset: step; }
.step { position: relative; padding: 28px 26px 30px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.step p { margin-top: 10px; color: var(--muted); font-size: 16px; }
.num { display: block; margin-bottom: 18px; font-size: 44px; line-height: 1; font-weight: 800; letter-spacing: -0.04em; color: transparent; -webkit-text-stroke: 1.5px var(--lime); }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
  .step:not(:last-child)::after { content: ""; position: absolute; top: 50px; right: -13px; width: 10px; height: 10px; border-top: 2px solid var(--border-strong); border-right: 2px solid var(--border-strong); transform: rotate(45deg); }
}

/* ---------- La app ---------- */
.split { display: grid; gap: 28px; align-items: start; }
.features { display: grid; gap: 4px; }
.feat { display: flex; gap: 18px; padding: 20px 4px; border-bottom: 1px solid var(--border); }
.feat:last-child { border-bottom: 0; }
.feat .ico { margin-bottom: 0; }
.feat p { margin-top: 6px; color: var(--muted); font-size: 16px; }
.review { padding: 24px; border-radius: 26px; background: linear-gradient(170deg, var(--surface-2), var(--surface)); border: 1px solid var(--border-strong); box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.9), 0 30px 80px -50px rgba(198, 244, 50, 0.3); }
.review-top { margin-bottom: 18px; }
.review-title { margin-top: 12px; font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.review-sub { font-size: 14px; color: var(--faint); margin-top: 2px; }
.rv { padding: 14px 16px 15px; border-radius: 16px; background: var(--bg-2); border: 1px solid var(--border); border-left-width: 4px; margin-top: 10px; }
.rv-k { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.rv-v { font-size: 15.5px; line-height: 1.5; margin-top: 4px; color: var(--text); }
.rv.keep { border-left-color: var(--lime); } .rv.keep .rv-k { color: var(--lime); }
.rv.change { border-left-color: var(--warn); } .rv.change .rv-k { color: var(--warn); }
.rv.why { border-left-color: var(--info); } .rv.why .rv-k { color: var(--info); }
.rv.next { border-left-color: var(--border-strong); } .rv.next .rv-k { color: var(--muted); }
@media (min-width: 980px) {
  .split { grid-template-columns: 1fr 0.9fr; gap: 64px; }
  .review { position: sticky; top: 96px; }
}

/* ---------- Marlon ---------- */
.marlon { display: grid; gap: 36px; align-items: center; }
.portrait { position: relative; border-radius: 28px; overflow: hidden; border: 1px solid var(--border-strong); max-width: 460px; width: 100%; justify-self: center; }
.portrait::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(9, 12, 9, 0.75)); pointer-events: none; }
.portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 12%; }
.marlon-copy .lead { color: var(--text); }
.marlon-copy > p:not(.kicker):not(.lead) { margin-top: 14px; color: var(--muted); }
.ticks { margin-top: 24px; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 34px; color: var(--text); font-size: 16.5px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background-color: var(--lime-dim); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C6F432' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E"); background-size: 13px; background-position: center; background-repeat: no-repeat; }
.link { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; font-weight: 700; color: var(--lime); border-bottom: 1px solid transparent; }
.link:hover { border-bottom-color: var(--lime); }
.link svg { width: 18px; height: 18px; stroke-width: 2.2; }
@media (min-width: 900px) { .marlon { grid-template-columns: 0.8fr 1fr; gap: 72px; } }

/* ---------- 90 días ---------- */
.honest { display: grid; gap: 24px; padding: 34px 28px; border-radius: 28px; background: var(--surface); border: 1px solid var(--border); }
.honest h2 { margin-top: 0; font-size: clamp(24px, 3.4vw, 34px); }
.honest p { margin-top: 14px; color: var(--muted); }
.honest .fine { max-width: none; }
.big { font-size: clamp(84px, 16vw, 148px); line-height: .9; font-weight: 800; letter-spacing: -0.06em; color: var(--lime); display: flex; align-items: baseline; gap: 10px; margin: 0 !important; }
.big span { font-size: .2em; letter-spacing: 0; color: var(--text); font-weight: 700; }
@media (min-width: 860px) { .honest { grid-template-columns: auto 1fr; gap: 56px; align-items: center; padding: 48px 52px; } }

/* ---------- Cierre ---------- */
.final { position: relative; padding: 104px 0; text-align: center; overflow: hidden; border-top: 1px solid var(--border); }
.final-in { position: relative; max-width: 760px; }
.final h2 { font-size: clamp(30px, 5.4vw, 52px); }
.final p { margin: 18px auto 0; color: var(--muted); font-size: 19px; max-width: 48ch; }
.final b { color: var(--lime); }
.foot { border-top: 1px solid var(--border); padding: 30px 0 40px; color: var(--faint); font-size: 14px; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.foot .brand { color: var(--text); font-size: 17px; }
.foot .brand svg { width: 24px; height: 24px; }
.foot nav { display: flex; gap: 22px; margin-left: auto; font-weight: 600; color: var(--muted); }
.foot nav a:hover { color: var(--lime); }

/* ---------- Aparición al desplazar (solo con JavaScript y sin movimiento reducido) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .view, .view.on { transition: none; transform: none; }
  .view .stag { opacity: 1; transform: none; animation: none !important; }
  .view.on * { animation: none !important; }
  .fill.m1 { width: 72%; } .fill.m2 { width: 58%; } .fill.m3 { width: 44%; } .rest-fill { width: 60%; }
  .ring-fg { stroke-dashoffset: 67; } .chart .line { stroke-dashoffset: 0; } .chart .area, .chart .pt { opacity: 1; }
  .bub.typing { display: none; } .tap { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card { transition: none; }
}
