/* Runni web v2 (propuesta). Se apoya en ./site.css de la v1 y solo agrega o ajusta. */
:root { --heart: #ff3b6b; --mint: #76d8ba; --lilac: #dacafa; --cream: #f3eee5; --run: 0; }
html { scroll-padding-top: 90px; }
.fx-confetti { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 1000; }
mark { background: none; color: inherit; }
.text-cta { border: 0; background: none; font: inherit; font-size: 14px; font-weight: 600; color: var(--green); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1.5px; padding: 12px 4px; cursor: pointer; }
.text-cta.light { color: var(--paper); }
.link-btn { border: 0; background: none; font: inherit; color: inherit; text-decoration: underline; padding: 0; cursor: pointer; }
.button { font-family: var(--body); cursor: pointer; }
.button.lime { background: var(--lime); color: #000; }
.button.lime:hover { box-shadow: 0 8px 0 #b8ff2c33; }
.button.pink { background: var(--heart); color: #fff; }
.button.pink:hover { box-shadow: 0 8px 0 #ff3b6b33; }
.button.ghost { background: transparent; color: var(--paper); box-shadow: inset 0 0 0 1.5px #ffffff55; }
.button:disabled { opacity: .35; cursor: not-allowed; transform: none; box-shadow: none; }

/* ─── Encabezado ─── */
.site-header { position: sticky; top: 0; z-index: 50; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.sound-toggle { display: inline-flex; align-items: center; gap: 9px; border: 1px solid #073d3240; background: transparent; border-radius: 100px; height: 45px; padding: 0 16px; font: 600 12px var(--body); color: var(--green); cursor: pointer; transition: background .2s; }
.sound-toggle:hover { background: #073d320d; }
.sound-icon { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.sound-icon i { width: 3px; background: currentColor; border-radius: 2px; height: 4px; transition: height .2s; }
.sound-toggle.on .sound-icon i { animation: eq 0.9s ease-in-out infinite; }
.sound-toggle.on .sound-icon i:nth-child(2) { animation-delay: -.3s; }
.sound-toggle.on .sound-icon i:nth-child(3) { animation-delay: -.6s; }
@keyframes eq { 0%, 100% { height: 4px; } 50% { height: 14px; } }

/* ─── La página es una carrera: el borde del encabezado es la pista ─── */
.site-header { position: sticky; }
.page-track { position: absolute; left: 0; right: 0; bottom: -1px; height: 0; pointer-events: none; color: var(--green); }
.track-line { position: absolute; left: 0; bottom: 0; height: 3px; width: calc(var(--run) * 100%); background: var(--purple); border-radius: 0 3px 3px 0; }
.track-runner { opacity: 0; transition: opacity .4s; position: absolute; bottom: -2px; left: 8px; transform: translateX(calc(var(--run) * (100vw - 190px))); will-change: transform; display: flex; align-items: flex-end; gap: 2px; }
.track-runner canvas { width: 44px; height: 40px; display: block; }
.track-km { font: 600 10px var(--body); background: var(--paper); border-radius: 20px; padding: 3px 8px; margin-bottom: 6px; white-space: nowrap; box-shadow: 0 2px 0 #073d3214; font-variant-numeric: tabular-nums; }
.track-km b { font-family: var(--display); font-size: 12px; }
.track-goal { position: absolute; right: 14px; bottom: 6px; font: 700 10px var(--display); opacity: .4; letter-spacing: .5px; }
.page-track.out .track-runner { opacity: 1; }
.page-track.finished .track-goal { opacity: 1; color: var(--purple); }
.page-track.finished .track-km { background: var(--purple); color: #fff; }

/* ─── Hero ─── */
.v2-hero .hero-intro { max-width: 480px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 28px; }
.hero-actions .hero-cta { margin: 0; }
.hero-note b { font-weight: 700; }
.hero-actor.cubi-poke { border: 0; background: none; padding: 0; cursor: pointer; border-radius: 40px; -webkit-tap-highlight-color: transparent; }
.hero-actor.cubi-poke:focus-visible { outline: 3px dashed var(--purple); outline-offset: -20px; }
.hero-actor.cubi-poke:active canvas { transform: scale(.97); }
.hero-actor canvas { transition: transform .15s; }
.poke-hearts { position: absolute; inset: 0; pointer-events: none; overflow: visible; }
.poke-hearts i { position: absolute; font-style: normal; font-size: 26px; color: var(--c); animation: heart 1.2s cubic-bezier(.2,.7,.3,1) forwards; }
@keyframes heart { 0% { transform: translate(-50%, 0) scale(.3); opacity: 0; } 15% { opacity: 1; transform: translate(-50%, -20px) scale(1.15); } 100% { transform: translate(calc(-50% + var(--dx)), -150px) scale(.8) rotate(20deg); opacity: 0; } }
.sofa-caption.pop { animation: bubble .45s cubic-bezier(.3,1.6,.5,1); }
@keyframes bubble { 0% { transform: rotate(-5deg) scale(.85); } 100% { transform: rotate(-5deg) scale(1); } }
.poke-hint { position: absolute; left: 4%; top: 46%; z-index: 4; font-family: var(--display); font-size: 19px; transform: rotate(-8deg); opacity: 0; transition: opacity .5s; pointer-events: none; letter-spacing: -.3px; }
.poke-hint svg { display: block; width: 52px; height: 36px; margin: 2px 0 0 60px; fill: none; stroke: var(--green); stroke-width: 1.8; stroke-linecap: round; }
.poke-hint.show { opacity: 1; animation: nudge 2.4s ease-in-out infinite; }
@keyframes nudge { 0%, 100% { translate: 0 0; } 50% { translate: 4px -3px; } }

/* ─── Para los 73 ─── */
.quit-section { background: var(--paper); padding: 120px 8% 110px; display: grid; grid-template-columns: 1.05fr 1fr; gap: 50px 8%; align-items: center; position: relative; overflow: clip; }
.quit-copy h2 { font-family: var(--display); font-size: clamp(46px, 5vw, 76px); line-height: 1.02; letter-spacing: -.05em; margin: 26px 0 30px; font-weight: 700; }
.quit-copy h2 em { font-style: normal; color: var(--purple); }
.quit-copy p { font-size: 17px; line-height: 1.75; max-width: 470px; }
.quit-punch { font-family: var(--display); font-size: 32px !important; line-height: 1.15 !important; letter-spacing: -.03em; font-weight: 600; margin-bottom: 18px; }
.quit-punch mark { background-image: linear-gradient(var(--yellow), var(--yellow)); background-repeat: no-repeat; background-position: 0 88%; background-size: 0% 38%; transition: background-size .9s cubic-bezier(.2,.7,.2,1); padding: 0 4px; }
.quit-punch mark.drawn { background-size: 100% 38%; }
.quit-visual { position: relative; justify-self: center; width: 100%; max-width: 470px; }
.dots { display: grid; grid-template-columns: repeat(10, 1fr); gap: 10px; }
.dots i { aspect-ratio: 1; border-radius: 50%; background: #073d3214; transition: background .35s, box-shadow .35s, transform .35s cubic-bezier(.3,1.7,.5,1); }
.dots i.stay { background: var(--mint); }
.dots i.left { background: transparent; box-shadow: inset 0 0 0 2px #073d3233; transform: scale(.82); }
.dots i.runni { background: var(--purple); transform: scale(1); }
.dots-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 22px; font-size: 12px; font-weight: 600; }
.dots-legend span { display: inline-flex; align-items: center; gap: 7px; }
.dots-legend i { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.legend-stay i { background: var(--mint); } .legend-left i { box-shadow: inset 0 0 0 2px #073d3244; } .legend-runni i { background: var(--purple); }
.quit-cubi { position: absolute; right: -40px; bottom: 10px; width: 150px; height: 135px; pointer-events: none; }
.quit-fixes { grid-column: 1 / -1; list-style: none; padding: 0; margin: 10px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #073d3225; counter-reset: fix; }
.quit-fixes li { padding: 26px 26px 6px 0; font-size: 15px; line-height: 1.65; counter-increment: fix; }
.quit-fixes li::before { content: '0' counter(fix); display: block; font-size: 11px; font-weight: 700; letter-spacing: 1px; color: var(--purple); margin-bottom: 10px; }
.quit-fixes b { display: block; font-family: var(--display); font-size: 23px; letter-spacing: -.03em; font-weight: 600; margin-bottom: 4px; }
.source-note { grid-column: 1 / -1; font-size: 11px; opacity: .65; margin: 0; }

/* ─── Primer minuto (interactivo; sin scroll pegajoso) ─── */
.trial-section { height: auto !important; min-height: 0 !important; }
.trial-section .training-sticky { position: relative; height: auto; min-height: 860px; }
.trial-section .training-text h2 { margin: 26px 0 22px; }
.trial-actions { margin-top: 28px; }
.trial-note { font-size: 13px; color: #9a9aa5; margin-top: 14px !important; max-width: 340px; line-height: 1.6; }
.trial-section.running .trial-note { opacity: .4; }
.trial-section .session-device { cursor: pointer; transition: transform .5s cubic-bezier(.3,1.4,.5,1), filter .5s; }
.trial-section.running .session-device { cursor: default; }
.session-screen[data-state="ready"], .session-screen[data-state="count"] { background: #17171f; color: #fff; }
.session-screen[data-state="ready"] .session-top > span, .session-screen[data-state="count"] .session-top > span { background: var(--lime); color: #000; }
.session-screen[data-state="ready"] .ring-track { stroke: #ffffff18; }
.session-screen[data-state="ready"] .ring-progress { stroke: var(--lime); }
.session-screen[data-state="count"] #phase-word { color: var(--lime); animation: countPop .9s cubic-bezier(.3,1.6,.5,1); }
@keyframes countPop { 0% { transform: scale(1.8); opacity: 0; } 30% { opacity: 1; } 100% { transform: scale(1); } }
.session-screen[data-state="ready"] .session-ui-controls > b, .session-screen[data-state="count"] .session-ui-controls > b { background: var(--lime); color: #000; }
.session-screen[data-state="ready"] .session-ring { animation: breathe 2.6s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.025); } }
.ring-progress { transition: stroke-dashoffset .12s linear; }
.trial-section.flash .session-device { animation: thump .5s cubic-bezier(.3,1.5,.5,1); }
@keyframes thump { 0% { scale: 1; } 30% { scale: 1.035; } 100% { scale: 1; } }
.trial-section.finished .session-screen { background: var(--gold); }
.trial-segments { grid-template-columns: repeat(3, 1fr) !important; }
.trial-done { position: absolute; inset: 0; border-radius: inherit; background: var(--gold); color: #000; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px; z-index: 6; animation: doneIn .6s cubic-bezier(.3,1.4,.5,1); }
.trial-done[hidden] { display: none; }
.trial-done canvas { width: 230px; height: 207px; }
.trial-done strong { font-family: var(--native); font-size: 31px; line-height: 1.05; font-weight: 800; letter-spacing: -.5px; }
.trial-done span { font: 700 12px var(--native); background: #0000001a; padding: 7px 12px; border-radius: 20px; margin-top: 6px; }
@keyframes doneIn { 0% { opacity: 0; transform: scale(.9); } 100% { opacity: 1; transform: none; } }
.voice-bars { display: inline-flex !important; gap: 3px; align-items: center; height: 18px; }
.voice-bars b { width: 3px; height: 5px; border-radius: 3px; background: currentColor; }
.trial-section.running .voice-bars b { animation: eq .8s ease-in-out infinite; }
.trial-section.running .voice-bars b:nth-child(2n) { animation-delay: -.25s; } .trial-section.running .voice-bars b:nth-child(3n) { animation-delay: -.5s; }
.trial-after { position: relative; z-index: 3; margin: -40px 7% 0; padding: 0 0 70px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 30px; border-top: 1px solid #ffffff1c; padding-top: 30px; animation: doneIn .6s; }
.trial-after[hidden] { display: none; }
.trial-after p { color: #c1c1c8; font-size: 17px; line-height: 1.6; max-width: 560px; }
.trial-after p b { color: var(--paper); }
.trial-after > div { display: flex; align-items: center; gap: 18px; }

/* ─── Edad física ─── */
.age-section { background: #ffe3ea; padding: 115px 7% 120px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 7%; align-items: center; position: relative; overflow: clip; }
.age-section::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 120px; transform: translateY(-50%); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='120' viewBox='0 0 600 120'%3E%3Cpath d='M0 60H250l18-34 24 76 20-62 12 20H600' fill='none' stroke='%23ff3b6b' stroke-width='2' stroke-linejoin='round' stroke-linecap='round'/%3E%3C/svg%3E") repeat-x center / 600px 120px; opacity: .22; pointer-events: none; }
.age-section > * { position: relative; }
.age-copy .eyebrow { color: #c51f4b; }
.age-copy h2 { font-family: var(--display); font-size: clamp(50px, 5.4vw, 82px); line-height: 1.02; letter-spacing: -.05em; margin: 26px 0 28px; font-weight: 700; }
.age-copy h2 em { font-style: normal; color: #e0204f; }
.age-echo { display: inline-block; min-width: 1.15em; text-align: center; font-variant-numeric: tabular-nums; }
.age-echo.bump { animation: bump .35s cubic-bezier(.3,1.8,.5,1); }
@keyframes bump { 0% { transform: translateY(-8px) scale(1.12); color: #e0204f; } 100% { transform: none; } }
.age-copy > p { font-size: 17px; line-height: 1.75; max-width: 470px; }
.age-why { list-style: none; padding: 0; margin: 28px 0 0; font-size: 14px; display: grid; gap: 0; max-width: 420px; }
.age-why li { padding: 12px 0; border-bottom: 1px solid #073d321f; }
.age-why li::before { content: '♥'; color: #e0204f; margin-right: 12px; }
.challenge { display: flex; gap: 14px; align-items: center; background: var(--green); color: var(--paper); padding: 14px 20px; border-radius: 18px; margin: 22px 0 0; max-width: 470px; transform: rotate(-1.5deg); animation: doneIn .6s; }
.challenge[hidden] { display: none; }
.challenge > span { font-size: 22px; color: var(--yellow); }
.challenge p { font-size: 14px; line-height: 1.5; }

.quiz { position: relative; background: var(--ink); color: #fff; border-radius: 38px; padding: 34px 36px 36px; min-height: 600px; box-shadow: 0 40px 80px #7a1a3330; font-family: var(--body); }
.quiz-cubi { display: flex; align-items: flex-end; gap: 4px; margin: -10px 0 4px -14px; min-height: 120px; }
.quiz-cubi canvas { width: 150px; height: 135px; flex: none; }
.quiz-bubble { background: #fff; color: var(--ink); font: 600 14px var(--body); padding: 12px 17px; border-radius: 18px 18px 18px 4px; margin-bottom: 70px; max-width: 290px; line-height: 1.4; }
.quiz-bubble.pop { animation: bubble2 .45s cubic-bezier(.3,1.6,.5,1); }
@keyframes bubble2 { 0% { transform: scale(.8); transform-origin: 0 100%; } 100% { transform: none; } }
.quiz-progress { position: absolute; top: 34px; right: 36px; display: flex; gap: 6px; }
.quiz-progress i { width: 26px; height: 5px; border-radius: 4px; background: #ffffff22; transition: background .3s; }
.quiz-progress i.on { background: var(--heart); }
.q-step { border: 0; padding: 0; margin: 0; min-width: 0; display: none; }
.q-step.active { display: block; animation: stepIn .45s cubic-bezier(.2,.8,.2,1); }
@keyframes stepIn { 0% { opacity: 0; transform: translateX(26px); } 100% { opacity: 1; transform: none; } }
.q-step legend { font-family: var(--display); font-size: 31px; line-height: 1.12; letter-spacing: -.035em; font-weight: 600; padding: 0; margin-bottom: 24px; outline: none; }
.q-step legend span { display: block; font: 700 11px var(--body); letter-spacing: 1.3px; color: var(--heart); text-transform: uppercase; margin-bottom: 10px; }
.age-picker { display: flex; align-items: center; justify-content: center; gap: 22px; margin: 6px 0 8px; }
.age-picker output { font-family: var(--display); font-size: 92px; font-weight: 700; letter-spacing: -.05em; min-width: 140px; text-align: center; font-variant-numeric: tabular-nums; line-height: 1; }
.stepper { width: 56px; height: 56px; border-radius: 50%; border: 0; background: #ffffff14; color: #fff; font-size: 28px; cursor: pointer; transition: background .2s, transform .15s; }
.stepper:hover { background: #ffffff26; } .stepper:active { transform: scale(.92); }
input[type=range] { width: 100%; accent-color: var(--heart); height: 30px; margin: 4px 0 18px; }
.chips { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.chips.wrap { display: flex; flex-wrap: wrap; }
.chip { position: relative; cursor: pointer; }
.chip input, .choice input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 20px; border-radius: 16px; background: #ffffff10; border: 1.5px solid #ffffff1f; font-weight: 600; font-size: 15px; transition: all .2s; text-align: center; }
.chip:hover span { background: #ffffff1a; }
.chip input:checked + span { background: var(--heart); border-color: var(--heart); transform: scale(1.03); }
.chip input:focus-visible + span, .choice input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 3px; }
.q-hint { font-size: 12px; color: #9a9aa5; margin: 12px 0 0; }
.q-sub { font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #9a9aa5; margin: 18px 0 10px; }
.choice-list { display: grid; gap: 10px; }
.choice { cursor: pointer; display: block; position: relative; }
.choice span { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 20px; border-radius: 18px; background: #ffffff0d; border: 1.5px solid #ffffff1a; transition: all .2s; }
.choice b { font-size: 17px; }
.choice small { font-size: 13px; color: #9a9aa5; text-align: right; transition: color .2s; }
.choice:hover span { background: #ffffff17; }
.choice input:checked + span { background: var(--heart); border-color: var(--heart); }
.choice input:checked + span small { color: #fff; }
.q-next { margin-top: 26px; width: 100%; background: var(--paper) !important; color: var(--ink) !important; }
.q-next.pink { background: var(--heart) !important; color: #fff !important; }
.q-nav { display: flex; align-items: center; gap: 14px; }
.q-nav .q-next { flex: 1; }
.q-back { border: 0; background: none; color: #9a9aa5; font: 600 14px var(--body); margin-top: 26px; cursor: pointer; padding: 10px 6px; }
.fine-tune { margin-top: 18px; border-top: 1px solid #ffffff1a; padding-top: 6px; }
.fine-tune summary { list-style: none; font-size: 14px; font-weight: 600; padding: 12px 0; display: flex; justify-content: space-between; gap: 10px; }
.fine-tune summary span { font-weight: 400; color: #9a9aa5; font-size: 12px; }
.fine-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fine-fields label { font-size: 12px; display: grid; gap: 6px; color: #c1c1c8; }
.fine-fields input { font: 600 16px var(--body); background: #ffffff10; border: 1.5px solid #ffffff22; color: #fff; border-radius: 12px; height: 46px; padding: 0 12px; }
.fine-tune p { font-size: 12px; color: #9a9aa5; line-height: 1.6; margin-top: 10px; }
#quiz-form.thinking { opacity: .3; pointer-events: none; transition: opacity .3s; }

.reveal-card { text-align: center; padding: 4px 0 0; }
.reveal-card[hidden] { display: none; }
.reveal-card.in { animation: stepIn .5s; }
.reveal-label { font: 700 12px var(--body); letter-spacing: 2px; color: #9a9aa5; }
.reveal-number { display: flex; align-items: baseline; justify-content: center; gap: 10px; margin: 2px 0 0; }
.reveal-number strong { font-family: var(--display); font-size: 170px; line-height: .9; letter-spacing: -.06em; font-weight: 800; color: var(--heart); font-variant-numeric: tabular-nums; display: inline-block; }
.reveal-number strong.tickle { animation: tickle .12s; }
@keyframes tickle { 50% { transform: translateY(-4px) scale(1.02); } }
.reveal-card[data-mood="young"] .reveal-number strong { color: var(--lime); }
.reveal-number small { font: 700 22px var(--display); color: #c1c1c8; }
.reveal-real { font: 600 18px var(--body); color: #c1c1c8; margin-top: 6px; }
.reveal-line { font-size: 16px; line-height: 1.6; max-width: 420px; margin: 14px auto 0; min-height: 52px; }
.projection { background: #ffffff0b; border-radius: 22px; padding: 18px 20px 16px; margin: 22px 0 0; text-align: left; }
.proj-label { font: 700 10px var(--body); letter-spacing: 1.2px; color: #9a9aa5; }
.proj-track { position: relative; height: 54px; margin: 10px 54px 6px 0; --p: 0; }
.proj-from { position: absolute; left: 0; top: 34px; width: 10px; height: 10px; border-radius: 50%; background: var(--heart); }
.proj-bar { position: absolute; left: 5px; top: 37px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--heart), var(--lime)); width: calc((100% - 5px) * var(--p)); }
.proj-track.go .proj-bar { transition: width 1.6s cubic-bezier(.4,.1,.2,1); }
.proj-track canvas { position: absolute; top: -12px; left: calc((100% - 50px) * var(--p)); width: 64px; height: 58px; }
.proj-track.go canvas { transition: left 1.6s cubic-bezier(.4,.1,.2,1); }
.proj-to { position: absolute; right: -54px; top: 18px; font: 800 28px var(--display); color: var(--lime); letter-spacing: -.04em; }
.projection p { font-size: 14px; color: #c1c1c8; line-height: 1.5; }
.share-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.share-row .button { gap: 14px; padding: 16px 18px; min-height: 56px; font-size: 14px; }
#quiz-cta { margin-top: 8px; color: var(--yellow); }
.reveal-fine { font-size: 11px; color: #85858f; margin-top: 6px; line-height: 1.6; }

/* ─── Fuerza ─── */
.exercise-scene { background: none; border: 0; border-right: 1px solid #ffffff22; color: inherit; text-align: left; font: inherit; cursor: pointer; transition: background .25s; }
.exercise-scene:hover { background: #ffffff07; }
.exercise-scene:active > div { transform: scale(.96); }
.exercise-scene > div { transition: transform .15s; }
.exercise-scene .exercise-num { font-size: 11px; color: var(--pink); }
.rep-goal { font-size: 13px; color: #8a8a93; margin-top: 6px; font-variant-numeric: tabular-nums; }
.rep-goal b { color: var(--pink); font: 700 20px var(--display); }
.rep-plus { position: absolute; top: 60px; left: 50%; font: 800 26px var(--display); color: var(--pink); pointer-events: none; animation: plus .9s cubic-bezier(.2,.7,.3,1) forwards; }
@keyframes plus { 0% { transform: translate(-50%, 10px) scale(.6); opacity: 0; } 25% { opacity: 1; transform: translate(-50%, -10px) scale(1.15); } 100% { transform: translate(-50%, -60px); opacity: 0; } }

/* ─── Racha: asegura tu semana ─── */
.week-play { margin: 30px 0 6px; background: #fff; border-radius: 24px; padding: 20px 22px; max-width: 470px; box-shadow: 0 2px 0 #e7dfd2, 0 18px 40px #7a4b3212; --lvl: 0; }
.week-play-title { font-size: 14px; margin-bottom: 14px !important; }
.week-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 7px; }
.week-days button { aspect-ratio: 1; border-radius: 50%; border: 2px solid #e2d8c9; background: #fbf8f2; font: 700 15px var(--native); color: #8b7b68; cursor: pointer; transition: all .25s cubic-bezier(.3,1.6,.5,1); }
.week-days button:hover { border-color: #ffc93c; }
.week-days button[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: #3b2a05; transform: scale(1.08); }
.week-days button.from-trial[aria-pressed="true"] { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--lime); }
.week-meter { display: flex; align-items: center; gap: 14px; margin-top: 16px; }
.mini-flame { width: 34px; height: 44px; flex: none; transform-origin: 50% 100%; transform: scale(calc(.45 + var(--lvl) * .2)); opacity: calc(.3 + var(--lvl) * .23); transition: transform .5s cubic-bezier(.3,1.7,.5,1), opacity .4s; }
.week-play.secured .mini-flame { animation: flame 1.4s ease-in-out infinite alternate; }
@keyframes flame { 0% { transform: scale(1.05) rotate(-2deg); } 100% { transform: scale(1.15) rotate(2deg); } }
#week-status { font-size: 14px !important; font-weight: 600; }
.week-play.secured #week-status { color: #c2410c; }

/* ─── Vuelta al mundo ─── */
.journey { margin: 56px 5.5% 0; background: #0b4a3d; border: 1px solid #ffffff14; border-radius: 34px; padding: 30px 34px 28px; display: grid; grid-template-columns: 1fr 330px; gap: 22px 34px; position: relative; }
.journey-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.journey-label { font: 700 10px var(--body); letter-spacing: 1.4px; color: #9ec4b5; display: block; margin-bottom: 4px; }
.journey-km { font: 700 52px var(--display); letter-spacing: -.04em; color: var(--yellow); font-variant-numeric: tabular-nums; }
.journey-where { text-align: right; }
.journey-where strong { font: 600 20px var(--display); letter-spacing: -.02em; }
.journey-track { grid-column: 1; position: relative; padding: 70px 0 34px; align-self: center; }
.journey-zones { position: absolute; left: 0; right: 0; top: 70px; height: 12px; display: grid; gap: 4px; }
.journey-zones i { border-radius: 8px; background: #ffffff1a; }
.journey-zones .z-nyc { background: repeating-linear-gradient(-45deg, #ffffff12 0 6px, #ffffff06 6px 12px); }
.journey-fill { position: absolute; left: 0; top: 70px; height: 12px; border-radius: 8px; background: var(--yellow); width: 0; pointer-events: none; }
.journey-stops { position: absolute; left: 0; right: 0; top: 70px; height: 12px; pointer-events: none; }
.journey-stops i { position: absolute; top: 50%; width: 8px; height: 8px; border-radius: 50%; background: #0b4a3d; box-shadow: 0 0 0 2px #ffffff40; transform: translate(-50%, -50%); transition: all .3s cubic-bezier(.3,1.7,.5,1); }
.journey-stops i.done { background: var(--green); box-shadow: 0 0 0 2px var(--green); }
.journey-stops i.goal { width: 16px; height: 16px; background: #0b4a3d; box-shadow: 0 0 0 2.5px #ffffff80; }
.journey-stops i.goal.done { background: #fff; box-shadow: 0 0 0 3px var(--yellow); }
.journey-runner { position: absolute; top: 4px; left: 0; width: 84px; height: 76px; transform: translateX(-50%); pointer-events: none; z-index: 2; }
.journey-runner canvas { width: 100%; height: 100%; }
.journey-track input[type=range] { position: absolute; left: -10px; right: -10px; width: calc(100% + 20px); top: 56px; height: 40px; margin: 0; opacity: 0; cursor: grab; z-index: 3; }
.journey-track input[type=range]:active { cursor: grabbing; }
.journey-track input[type=range]:focus-visible ~ .journey-zones, .journey-track:focus-within .journey-zones { outline: 3px solid var(--yellow); outline-offset: 6px; border-radius: 10px; }
.journey-names { display: grid; gap: 4px; margin-top: 26px; font-size: 11px; font-weight: 600; color: #9ec4b5; }
.journey-names span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.journey-names .nyc-name::after { content: ' · suscripción'; opacity: .7; font-weight: 400; }
.journey.hint .journey-runner::after { content: 'arrástrame →'; position: absolute; left: 70px; top: -4px; font: 600 15px var(--display); color: var(--yellow); white-space: nowrap; transform: rotate(-6deg); animation: nudge 1.6s ease-in-out infinite; }
.journey-card { grid-column: 2; grid-row: 1 / span 3; display: grid; grid-template-rows: 1fr auto; background: var(--paper); color: var(--green); border-radius: 18px; padding: 10px 10px 18px; transform: rotate(2.5deg); box-shadow: 0 25px 50px #0005; position: relative; align-self: start; }
.pc-stack { position: relative; height: 300px; }
.pc-stack img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 10px; transform: rotate(var(--tilt, 0deg)); box-shadow: 0 3px 10px #0003; transition: filter .4s; }
.pc-stack img.under { filter: brightness(.85) saturate(.9); }
.pc-stack img.pc-in { animation: pcIn .55s cubic-bezier(.2,.9,.3,1.12); }
@keyframes pcIn { 0% { transform: translate(55%, -14%) rotate(16deg) scale(.88); opacity: 0; } 45% { opacity: 1; } 100% { transform: rotate(var(--tilt, 0deg)); } }
.pc-text { transition: opacity .14s ease; }
.pc-text.fading { opacity: 0; }
.journey-card > .pc-text { padding: 14px 8px 0; }
.journey-card h3 { font: 600 24px var(--display); letter-spacing: -.03em; margin: 2px 0 8px; line-height: 1.1; height: 2.2em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.journey-card .journey-label { color: #6a8a7e; }
.journey-card p { font-size: 13px; line-height: 1.6; color: #42605a; height: 8em; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.stamp { position: absolute; top: 26px; right: -14px; background: var(--purple); color: #fff; font: 800 12px var(--display); letter-spacing: .5px; padding: 9px 14px; border-radius: 6px; transform: rotate(9deg) scale(0); opacity: 0; max-width: 200px; text-align: center; line-height: 1.25; }
.journey-card.stamped .stamp { animation: stamp 1.9s cubic-bezier(.3,1.7,.5,1) forwards; }
@keyframes stamp { 0% { transform: rotate(18deg) scale(2.2); opacity: 0; } 18% { transform: rotate(9deg) scale(1); opacity: 1; } 80% { opacity: 1; } 100% { opacity: 0; transform: rotate(9deg) scale(1); } }
.journey-free { grid-column: 1; font-size: 14px; color: #c4d6ce; line-height: 1.6; border-top: 1px solid #ffffff1a; padding-top: 16px; transition: color .3s; }
.journey-free b { color: var(--paper); }
.journey-free.flash { animation: freeFlash 1.6s; }
@keyframes freeFlash { 0%, 100% { background: transparent; } 20% { background: #ffe52c2a; } }
.journey.paid .journey-km { color: #fff; }
.journey.paid .journey-fill { background: linear-gradient(90deg, var(--yellow) 0, var(--yellow) calc(var(--free, 41.6%)), #fff calc(var(--free, 41.6%))); }

/* ─── Precio ─── */
.price-section { background: var(--yellow); padding: 115px 8% 120px; display: grid; grid-template-columns: 1fr 1fr; gap: 7%; align-items: center; position: relative; overflow: clip; }
.price-copy h2 { font-family: var(--display); font-size: clamp(54px, 6vw, 92px); line-height: .98; letter-spacing: -.055em; margin: 26px 0 28px; font-weight: 700; }
.price-copy h2 em { font-style: normal; color: var(--purple); }
.price-copy p { font-size: 17px; line-height: 1.75; max-width: 450px; }
.price-card { background: var(--paper); border-radius: 34px; padding: 34px; position: relative; box-shadow: 0 2px 0 #e3cf2a, 0 30px 60px #6b5c0022; }
.price-cubi { position: absolute; width: 160px; height: 144px; right: 10px; top: -112px; }
.price-tiers { display: grid; grid-template-columns: 1fr 1.25fr; gap: 12px; }
.tier { border-radius: 22px; padding: 18px 18px 20px; }
.tier > span { font: 700 10px var(--body); letter-spacing: 1.4px; opacity: .7; }
.tier strong { display: block; font: 800 46px var(--display); letter-spacing: -.05em; margin: 6px 0 8px; line-height: 1; }
.tier strong small { font: 600 13px var(--body); letter-spacing: 0; opacity: .7; }
.tier p { font-size: 13px; line-height: 1.55; }
.tier.free { background: var(--mint); }
.tier.then { background: #fff; box-shadow: inset 0 0 0 1.5px #073d321c; }
.promises { list-style: none; padding: 0; margin: 22px 0; display: grid; gap: 0; }
.promises li { padding: 12px 0 12px 32px; position: relative; font-size: 14px; line-height: 1.55; border-bottom: 1px solid #073d3215; }
.promises li::before { content: '✓'; position: absolute; left: 0; top: 11px; width: 21px; height: 21px; border-radius: 50%; background: var(--green); color: var(--yellow); font-size: 12px; display: grid; place-items: center; font-weight: 700; }
.founder { display: flex; gap: 14px; align-items: flex-start; background: var(--green); color: var(--paper); border-radius: 20px; padding: 16px 18px; margin-bottom: 18px; }
.founder-badge { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--yellow); color: var(--green); display: grid; place-items: center; font-size: 17px; animation: spin 9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.founder p { font-size: 13px; line-height: 1.6; }
.price-card > .button { width: 100%; }

/* ─── Pandilla: lugares vacíos ─── */
.squad-slots { display: flex; gap: 8px; margin-top: 28px; flex-wrap: nowrap; }
.slot { width: 80px; flex: none; display: flex; flex-direction: column; align-items: center; gap: 2px; border: 0; background: none; padding: 0; font: 600 12px var(--body); color: var(--green); cursor: pointer; }
.slot canvas { width: 80px; height: 72px; border-radius: 20px; background: #ffffff55; transition: background .2s, transform .2s cubic-bezier(.3,1.7,.5,1); }
.slot.empty canvas { background: #ffffff38; box-shadow: inset 0 0 0 2px #7442ea33; opacity: .75; }
.slot.empty:hover canvas { transform: translateY(-4px); opacity: 1; background: #ffffff70; }
.slot.empty span { color: var(--purple); }
.slot.sent canvas { opacity: 1; box-shadow: inset 0 0 0 2px var(--purple); }
.slot.me canvas { background: #fff; }
.squad-hint { font-size: 13px !important; margin-top: 12px !important; opacity: .75; }

/* ─── Final con Cubi asomándose ─── */
.v2-final { padding-bottom: 0; }
.final-top { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: end; }
.final-cta p { font-size: 16px; line-height: 1.6; margin-bottom: 20px; max-width: 360px; }
.logo-peek { display: block; width: 100%; border: 0; background: none; padding: 0; margin: 70px 0 -2%; cursor: pointer; position: relative; aspect-ratio: 400 / 260; }
.logo-peek canvas { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: calc(100% * 360 / 260); }
.peek-fallback { width: 100%; height: auto; position: absolute; bottom: 8%; }
.logo-peek::after { content: attr(data-say); position: absolute; left: 30%; top: 2%; font: 700 clamp(14px, 1.8vw, 24px) var(--display); background: var(--paper); padding: 12px 18px; border-radius: 18px 18px 18px 4px; transform: scale(0) rotate(-6deg); transform-origin: 0 100%; transition: transform .5s cubic-bezier(.3,1.7,.5,1); pointer-events: none; }
.logo-peek.hello::after { transform: scale(1) rotate(-6deg); }

/* ─── Diálogo ─── */
#success-canvas { width: 230px; height: 207px; display: block; margin: -10px auto 0; }
.success-invite { background: var(--yellow); border-radius: 20px; padding: 16px 18px; margin: 18px 0 6px; text-align: left; }
.success-invite p { font-size: 14px !important; margin-bottom: 12px; }
.success-invite .button { width: 100%; }
#signup-success .text-cta { display: block; margin: 8px auto 0; }

/* ─── Barra móvil ─── */
.mobile-join canvas, .mj-km { display: none; }

/* ─── Responsivo ─── */
@media (max-width: 1000px) and (min-width: 761px) {
  .age-section, .price-section { grid-template-columns: 1fr; }
  .journey { grid-template-columns: 1fr; } .journey-card { grid-column: 1; grid-row: auto; max-width: 340px; justify-self: center; }
  .header-actions .sound-label { display: none; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 76px; }
  .page-track { display: none; }
  .header-actions { gap: 8px; }
  .sound-toggle { height: 42px; width: 42px; padding: 0; justify-content: center; }
  .sound-toggle .sound-label { display: none; }
  .header-actions > .button { display: none; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 4px; }
  .hero-actions .hero-cta { justify-content: space-between; }
  .poke-hint { font-size: 15px; top: 30%; left: 0; }
  .v2-hero .hero-scene { height: 330px; min-height: 330px; margin-top: 0; }
  .v2-hero .hero-actor { top: -6px; height: 320px; left: 4%; right: 4%; }
  .v2-hero .handnote { top: -6px; }
  .quit-section { grid-template-columns: 1fr; padding: 70px 23px 60px; gap: 30px; }
  .quit-copy h2 { font-size: 42px; margin: 16px 0 20px; }
  .quit-punch { font-size: 26px !important; }
  .quit-copy p { font-size: 15px; }
  .dots { gap: 7px; }
  .quit-cubi { width: 110px; height: 99px; right: -10px; bottom: 30px; }
  .quit-fixes { grid-template-columns: 1fr; }
  .quit-fixes li { padding: 18px 0 4px; }
  .trial-section .training-sticky { min-height: 0; height: auto; }
  .trial-section .training-text .phase-story { display: none; }
  .trial-actions .button { width: 100%; justify-content: space-between; }
  .trial-after { margin: 10px 23px 0; padding-bottom: 50px; }
  .trial-after p { font-size: 15px; }
  .trial-done canvas { width: 150px; height: 135px; }
  .trial-done strong { font-size: 22px; }
  .age-section { grid-template-columns: 1fr; padding: 70px 18px 70px; gap: 34px; }
  .age-copy { padding: 0 5px; }
  .age-copy h2 { font-size: 46px; margin: 16px 0 18px; }
  .age-copy > p { font-size: 15px; }
  .quiz { border-radius: 30px; padding: 24px 18px 24px; min-height: 0; }
  .quiz-progress { top: 24px; right: 20px; }
  .quiz-cubi canvas { width: 120px; height: 108px; }
  .quiz-bubble { margin-bottom: 52px; font-size: 13px; }
  .q-step legend { font-size: 25px; }
  .age-picker output { font-size: 76px; min-width: 110px; }
  .choice span { padding: 14px 16px; }
  .choice b { font-size: 15px; } .choice small { font-size: 12px; }
  .chip span { font-size: 14px; min-height: 48px; padding: 0 14px; }
  .reveal-number strong { font-size: 128px; }
  .share-row { grid-template-columns: 1fr; }
  .exercise-scene:nth-child(2) { border-right: 0; }
  .week-play { padding: 16px; }
  .week-days { gap: 5px; }
  .journey { margin: 34px 14px 0; padding: 22px 18px; grid-template-columns: 1fr; border-radius: 26px; }
  .journey-head { align-items: flex-start; flex-direction: column; gap: 8px; }
  .journey-where { text-align: left; }
  .journey-km { font-size: 42px; }
  .journey-card { grid-column: 1; grid-row: auto; transform: rotate(1.5deg); }
  .pc-stack { height: 220px; }
  .journey-names { font-size: 9px; }
  .journey-names .nyc-name::after { content: ''; }
  .journey-free { grid-column: 1; }
  .price-section { grid-template-columns: 1fr; padding: 70px 18px 80px; gap: 120px; }
  .price-copy { padding: 0 5px; }
  .price-copy h2 { font-size: 56px; margin: 16px 0 18px; }
  .price-copy p { font-size: 15px; }
  .price-card { padding: 22px 18px; border-radius: 28px; }
  .price-cubi { width: 130px; height: 117px; top: -96px; }
  .price-tiers { grid-template-columns: 1fr; }
  .tier strong { font-size: 40px; }
  .slot, .slot canvas { width: 58px; } .slot canvas { height: 52px; border-radius: 14px; }
  .squad-slots { gap: 7px; flex-wrap: nowrap; }
  .final-top { grid-template-columns: 1fr; gap: 20px; }
  .final-cta .button { width: 100%; justify-content: space-between; }
  .logo-peek::after { left: 22%; }
  .mobile-join { transform: translateY(150%); transition: transform .4s cubic-bezier(.2,.8,.2,1); padding-left: 6px; }
  .mobile-join canvas { display: block; width: 52px; height: 47px; margin: -12px -6px -6px 0; }
  .mj-km { display: block; font: 600 12px var(--body); color: var(--green); margin-right: auto; font-variant-numeric: tabular-nums; }
  .mj-km b { font: 700 16px var(--display); }
}
@media (prefers-reduced-motion: reduce) {
  .sound-toggle.on .sound-icon i, .poke-hint.show, .founder-badge, .journey.hint .journey-runner::after { animation: none; }
}
.motion-paused .poke-hint.show, .motion-paused .founder-badge { animation: none; }

/* La v1 usa overflow:hidden; con clip, scrollIntoView no puede desplazar secciones de lado. */
.hero, .streak-section, .squad-section, .world-section, .final-section, .training-sticky { overflow: clip; }

.price-cubi { cursor: pointer; }

/* ═══ Revelación de la edad física: pantalla completa ═══ */
body.stage-open { overflow: hidden; }
.age-stage { position: fixed; inset: 0; z-index: 900; display: grid; place-items: center; color: #fff; overflow: hidden; text-align: center; padding: 24px; font-family: var(--body); --accent: var(--heart); --ink-on: #fff; }
.age-stage[hidden] { display: none; }
.stage-bg { position: absolute; inset: 0; background: #07070b; transition: background .9s ease; }
.age-stage.build .stage-bg { background: radial-gradient(circle at 50% 46%, #3a0b1a 0, #120509 45%, #07070b 75%); }
.age-stage.beat .stage-bg { animation: beatBg .55s ease-out; }
@keyframes beatBg { 0% { transform: scale(1); filter: brightness(1); } 12% { transform: scale(1.04); filter: brightness(1.9); } 100% { transform: scale(1); filter: brightness(1); } }
.stage-ecg { position: absolute; left: 0; width: 100%; top: 50%; height: 160px; transform: translateY(-50%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.stage-ecg path { fill: none; stroke: var(--heart); stroke-width: 3; stroke-linejoin: round; stroke-dasharray: 520 1900; stroke-dashoffset: 2420; filter: drop-shadow(0 0 10px #ff3b6b); }
.age-stage.build .stage-ecg { opacity: .7; }
.age-stage.build .stage-ecg path { animation: ecg 1.1s linear infinite; }
@keyframes ecg { to { stroke-dashoffset: 0; } }
.stage-rays { position: absolute; inset: -60%; background: repeating-conic-gradient(from 0deg, #ffffff26 0 9deg, transparent 9deg 18deg); -webkit-mask: radial-gradient(circle, #000 0, transparent 55%); mask: radial-gradient(circle, #000 0, transparent 55%); opacity: 0; transition: opacity .8s; animation: spin 24s linear infinite; pointer-events: none; }
.stage-wave { position: absolute; left: 50%; top: 46%; width: 240px; height: 240px; margin: -120px 0 0 -120px; border-radius: 50%; border: 10px solid #fff; opacity: 0; pointer-events: none; }
.stage-inner { position: relative; z-index: 2; max-width: 620px; width: 100%; }
.stage-label { font: 700 13px var(--body); letter-spacing: 3px; opacity: .85; min-height: 20px; }
.age-stage.build .stage-label { animation: blink 1.1s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .35; } }
.stage-num { margin: 6px 0 0; line-height: .82; }
.stage-num strong { display: inline-block; font: 800 clamp(150px, 26vw, 330px)/.82 var(--display); letter-spacing: -.07em; font-variant-numeric: tabular-nums; color: var(--ink-on); transition: color .7s; }
.age-stage.build .stage-num strong { opacity: .5; transform: scale(.92); }
.age-stage.hit .stage-num strong { animation: slam .62s cubic-bezier(.2,.9,.25,1.15); }
@keyframes slam { 0% { transform: scale(3.4); opacity: 0; filter: blur(16px); } 55% { transform: scale(.9); opacity: 1; filter: blur(0); } 78% { transform: scale(1.05); } 100% { transform: scale(1); } }
.stage-num strong.tickle { animation: tickle .12s; }
.stage-num strong.glow { animation: glowPop .8s cubic-bezier(.3,1.6,.5,1); }
@keyframes glowPop { 0% { transform: scale(1); } 35% { transform: scale(1.14); text-shadow: 0 0 60px currentColor; } 100% { transform: scale(1); } }
.stage-sub { font: 600 20px var(--body); opacity: .9; margin-top: 10px; min-height: 26px; }
.stage-chip { display: inline-block; margin-top: 16px; min-height: 0; font: 800 17px var(--display); letter-spacing: -.01em; padding: 9px 18px; border-radius: 100px; background: var(--accent); color: #fff; transform: scale(0); transition: transform .45s cubic-bezier(.3,1.7,.5,1) .25s, background .6s; }
.stage-chip:empty { padding: 0; }
.age-stage.hit .stage-chip:not(:empty) { transform: scale(1) rotate(-3deg); }
.stage-line { font-size: 18px; line-height: 1.55; max-width: 500px; margin: 18px auto 0; min-height: 56px; opacity: 0; transform: translateY(12px); transition: opacity .5s .35s, transform .5s .35s; }
.age-stage.hit .stage-line { opacity: 1; transform: none; }
.stage-actions { display: grid; gap: 10px; max-width: 420px; margin: 26px auto 0; opacity: 0; transform: translateY(24px); pointer-events: none; transition: opacity .5s, transform .5s cubic-bezier(.2,.8,.2,1); }
.age-stage.done .stage-actions { opacity: 1; transform: none; pointer-events: auto; }
.stage-primary { background: var(--accent); color: var(--primary-ink, #fff); width: 100%; justify-content: space-between; }
.stage-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stage-row .button { min-height: 52px; padding: 14px; font-size: 13px; gap: 8px; }
.age-stage .button.ghost { color: var(--ink-on); box-shadow: inset 0 0 0 1.5px currentColor; opacity: .9; }
.age-stage .text-cta { color: var(--ink-on); }
.stage-close { position: absolute; top: max(16px, env(safe-area-inset-top)); right: 16px; z-index: 3; width: 46px; height: 46px; border-radius: 50%; border: 0; background: #ffffff22; color: inherit; font-size: 26px; cursor: pointer; }
.age-stage.even .stage-close, .age-stage.even.turn .stage-close { background: #0000001a; }

/* Mayor que tu edad: golpe en rojo… */
.age-stage.old .stage-bg { background: radial-gradient(circle at 50% 46%, #ff3b5c 0, #c8102e 38%, #4d0012 100%); animation: redFlash .7s ease-out; }
@keyframes redFlash { 0% { filter: brightness(3) saturate(0); } 100% { filter: none; } }
.age-stage.old .stage-inner { animation: shake .55s cubic-bezier(.36,.07,.19,.97); }
@keyframes shake { 10%, 90% { transform: translate(-2px, 1px); } 20%, 80% { transform: translate(5px, -3px); } 30%, 50%, 70% { transform: translate(-9px, 4px) rotate(-.6deg); } 40%, 60% { transform: translate(9px, -4px) rotate(.6deg); } }
.age-stage.old .stage-wave { animation: wave 1s cubic-bezier(.1,.7,.2,1) forwards; }
@keyframes wave { 0% { transform: scale(.2); opacity: .9; } 100% { transform: scale(7); opacity: 0; border-width: 1px; } }
.age-stage.old { --accent: #fff; --primary-ink: #c8102e; }
.age-stage.old .stage-chip { color: #c8102e; }
/* …y luego el giro: el número baja y todo se vuelve verde esperanza. */
.age-stage.old.turn .stage-bg { background: radial-gradient(circle at 50% 46%, #1f8f6c 0, #0b5a46 40%, #052a21 100%); animation: none; }
.age-stage.turn { --accent: var(--lime); --primary-ink: #07070b; }
.age-stage.old.turn .stage-num strong, .age-stage.young.turn .stage-num strong { color: var(--lime); }
.age-stage.turn .stage-chip { color: #07070b; }
.age-stage.turn .stage-rays { opacity: .8; }

/* Cerca de tu edad: felicitación dorada. */
.age-stage.even { color: #2a1a00; --ink-on: #2a1a00; --accent: #2a1a00; --primary-ink: #ffc93c; }
.age-stage.even .stage-bg { background: radial-gradient(circle at 50% 46%, #fff3b0 0, #ffc93c 45%, #f08a00 100%); }
.age-stage.even .stage-rays { opacity: 1; }
.age-stage.even .stage-chip { color: #ffe9a6; }
.age-stage.even.turn .stage-bg { background: radial-gradient(circle at 50% 46%, #c9f7e6 0, #76d8ba 45%, #2d9b7c 100%); }
.age-stage.even.turn { color: #073d32; --ink-on: #073d32; --accent: #073d32; --primary-ink: var(--lime); }
.age-stage.even.turn .stage-chip { color: var(--lime); }

/* Más joven: fiesta. */
.age-stage.young .stage-bg { background: radial-gradient(circle at 50% 46%, #a678ff 0, #7442ea 45%, #2c0f7a 100%); }
.age-stage.young .stage-rays { opacity: 1; }
.age-stage.young .stage-num strong { color: var(--lime); }
.age-stage.young { --accent: var(--lime); --primary-ink: #07070b; }
.age-stage.young .stage-chip { color: #07070b; }

.reveal-card[data-mood="even"] .reveal-number strong { color: var(--gold); }

/* ═══ Ana te mandó una porra: el aplauso ═══ */
button.cheer-float { font: inherit; text-align: left; cursor: pointer; }
.cheer-float .clap { display: inline-block; transform-origin: 50% 70%; position: relative; z-index: 2; }
.cheer-float.clapping .clap { animation: clapBig 2.1s cubic-bezier(.3,1.4,.5,1); }
@keyframes clapBig {
  0% { transform: scale(1); }
  14% { transform: scale(3.4) rotate(-8deg); }
  22% { transform: scale(2.9, 3.2) rotate(6deg); } 30% { transform: scale(3.4) rotate(-8deg); }
  38% { transform: scale(2.9, 3.2) rotate(6deg); } 46% { transform: scale(3.4) rotate(-8deg); }
  54% { transform: scale(2.9, 3.2) rotate(6deg); } 62% { transform: scale(3.3) rotate(-4deg); }
  100% { transform: scale(1); }
}
.clap-bit { position: fixed; z-index: 60; pointer-events: none; font-size: 22px; font-style: normal; animation: clapBit 1s cubic-bezier(.2,.7,.3,1) forwards; }
@keyframes clapBit { 0% { transform: translate(-50%, -50%) scale(.4); opacity: 0; } 20% { opacity: 1; } 100% { transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(1) rotate(var(--r)); opacity: 0; } }

/* ═══ Recorrido (escritorio: secciones normales) ═══ */
.tour, .tour-track { display: contents; }
.tour-head, .tour-next { display: none; }

/* ═══════════════════════════════════════════════════════════════
   CELULAR: pensado para el pulgar, una idea por pantalla.
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 760px) {
  .quiz-note-m { display: block; }
  /* Hero: título → Cubi → botón. Todo en la primera pantalla. */
  .v2-hero { padding: 18px 20px 14px; min-height: calc(100svh - 70px); }
  .v2-hero .hero-copy { display: contents; }
  .v2-hero .eyebrow { order: 1; }
  .v2-hero h1 { order: 2; font-size: clamp(44px, 12.4vw, 60px); margin: 12px 0 0; }
  .v2-hero .hero-scene { order: 3; height: 290px; min-height: 290px; margin: 0 -10px; max-width: none; width: auto; }
  .v2-hero .hero-actor { top: -14px; left: 6%; right: 6%; height: 300px; }
  .v2-hero .hero-intro { order: 4; font-size: 14px; line-height: 1.6; margin-top: 4px; }
  .v2-hero .hero-actions { order: 5; margin-top: 14px; }
  .v2-hero .hero-note { order: 6; text-align: center; }
  .v2-hero .hero-bottom, .v2-hero .orbit-word { display: none; }
  .v2-hero .handnote { top: 4px; right: 2px; font-size: 14px; }
  .v2-hero .sofa-caption { bottom: 4px; right: 4px; }
  .poke-hint { top: 18%; left: 4px; }

  /* Los 73: una pantalla y media, al grano. */
  .quit-section { padding: 52px 20px 44px; gap: 22px; }
  .quit-copy h2 { font-size: 38px; }
  .quit-copy > p:not(.quit-punch) { display: none; }
  .quit-visual { max-width: 300px; }
  .dots { gap: 6px; }
  .quit-cubi { right: -34px; bottom: 26px; width: 96px; height: 86px; }
  .dots-legend { font-size: 11px; gap: 6px 14px; }
  .quit-fixes { border: 0; gap: 8px; margin: 0; }
  .quit-fixes li { background: #fff; border-radius: 16px; padding: 14px 16px; font-size: 13px; line-height: 1.5; }
  .quit-fixes li::before { display: none; }
  .quit-fixes b { font-size: 17px; display: inline; margin-right: 4px; }

  /* Edad física: la tarjeta es la protagonista. */
  .age-section { padding: 46px 12px 46px; gap: 18px; }
  .age-copy > p, .age-why { display: none; }
  .age-copy h2 { font-size: 42px; margin: 12px 0 0; }
  .quiz-note-m { font-size: 11px; color: #85858f; margin: 0 0 6px; text-align: right; padding-right: 70px; }

  /* Primer minuto: el teléfono manda; al correr, modo enfoque. */
  .trial-section .training-sticky { padding: 40px 20px 22px; }
  .trial-section .training-text h2 { font-size: 36px; margin: 10px 0; }
  .trial-section .training-text > p { font-size: 13px; }
  .trial-section .trial-note { display: none; }
  .trial-section .trial-actions { margin-top: 14px; }
  .trial-section .session-theater { margin-top: 18px; min-height: 470px; height: 470px; max-height: none; }
  .trial-section .session-device { transform: rotate(-3deg); }
  .trial-section .floating-voice { left: 0; bottom: 6%; font-size: 12px; padding: 12px 16px; }
  .trial-section.running .training-text > :not(.trial-actions):not(.eyebrow) { display: none; }
  .trial-section.running .session-theater { height: 560px; min-height: 560px; }
  .trial-section.running .session-device { width: 286px; height: 560px; transform: none; }
  .trial-section.running .kinetic-word { font-size: 120px; }
  body:has(.trial-section.running) .mobile-join { transform: translateY(150%); }

  /* Recorrido: Fuerza, Racha, Mundo y Pandilla como historias que deslizas. */
  .tour { display: block; position: relative; background: var(--ink); }
  .tour-head { display: block; position: sticky; top: 70px; z-index: 20; background: var(--ink); color: #fff; padding: 22px 20px 12px; }
  .tour-head .eyebrow { font-size: 10px; color: #9a9aa5; }
  .tour-progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin: 12px 0 10px; }
  .tour-progress i { height: 3px; border-radius: 3px; background: #ffffff26; overflow: hidden; position: relative; }
  .tour-progress i::after { content: ''; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; transition: transform .35s; }
  .tour-progress i.on::after, .tour-progress i.past::after { transform: scaleX(1); }
  .tour-tabs { display: flex; gap: 6px; }
  .tour-tabs button { flex: 1; border: 0; border-radius: 100px; background: #ffffff12; color: #c1c1c8; font: 600 12px var(--body); height: 34px; cursor: pointer; transition: background .2s, color .2s; }
  .tour-tabs button[aria-current="true"] { background: #fff; color: var(--ink); }
  .tour-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; align-items: stretch; }
  .tour-track::-webkit-scrollbar { display: none; }
  .tour-track > section { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; scroll-snap-stop: always; display: flex !important; flex-direction: column; gap: 18px !important; padding: 26px 20px 30px !important; margin: 0; }
  .tour-next { display: flex; position: absolute; right: 14px; bottom: 16px; z-index: 5; align-items: center; gap: 8px; border: 0; border-radius: 100px; background: #fff; color: var(--ink); font: 700 12px var(--body); padding: 10px 14px; box-shadow: 0 6px 20px #0005; cursor: pointer; animation: nudge 1.8s ease-in-out infinite; }
  .tour-next[hidden] { display: none; }
  .tour .eyebrow { font-size: 9px; }
  .tour h2 { font-size: 38px !important; letter-spacing: -1.8px !important; margin: 10px 0 8px !important; }
  .tour section p { font-size: 14px !important; line-height: 1.6 !important; }

  .tour .strength-section { border: 0; }
  .tour .exercise-strip { margin-top: 4px; }
  .tour .exercise-scene { padding: 10px 10px 12px; }
  .tour .exercise-scene > div { height: 92px; margin: 4px -8px 0; }
  .tour .rep-goal { margin-top: 2px; }
  .tour .exercise-scene h3 { font-size: 17px; }
  .tour .strength-aside { display: none; }

  .tour .streak-section .streak-product, .tour .streak-note { display: none; }
  .tour .week-play { margin: 0; padding: 16px; }
  .tour .week-days button { font-size: 14px; }
  .tour .mini-flame { width: 46px; height: 58px; }

  .tour .world-section { padding-left: 0 !important; padding-right: 0 !important; }
  .tour .world-intro { padding: 0 20px; }
  .tour .world-copy span, .tour .world-strip-label, .tour .route-rail, .tour .world-catalog, .tour .all-stops { display: none; }
  .tour .journey { margin: 0 12px; padding: 16px 16px 14px; gap: 10px; }
  .tour .journey-head { flex-direction: row; align-items: flex-end; }
  .tour .journey-where { text-align: right; } .tour .journey-where strong { font-size: 14px; }
  .tour .journey-km { font-size: 34px; }
  .tour .journey-track { padding: 56px 0 18px; }
  .tour .journey-zones, .tour .journey-fill, .tour .journey-stops { top: 56px; }
  .tour .journey-track input[type=range] { top: 40px; }
  .tour .journey-card { grid-template-columns: 96px 1fr; grid-template-rows: auto; gap: 12px; padding: 8px; transform: rotate(1deg); }
  .tour .pc-stack { height: 128px; }
  .tour .journey-card > .pc-text { padding: 4px 4px 0 0; }
  .tour .journey-card h3 { font-size: 17px; margin-bottom: 4px; }
  .tour .journey-card .journey-label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .tour .journey-card p { font-size: 11.5px !important; line-height: 1.45 !important; height: 5.8em; -webkit-line-clamp: 4; }
  .tour .stamp { top: 6px; right: -8px; font-size: 10px; padding: 6px 9px; }
  .tour .journey-free { font-size: 12px !important; padding-top: 10px; }

  .tour .squad-section .squad-device, .tour .squad-product > .screen-caption { display: none; }
  .tour .squad-product { width: 100%; height: auto; margin: 0; }
  .tour .cheer-float { position: relative; right: auto; bottom: auto; transform: rotate(-2deg); max-width: none; width: 100%; padding: 18px 20px; gap: 16px; background: #24242c; }
  .tour .cheer-float > span { font-size: 34px; }
  .tour .cheer-float strong { font-size: 15px; } .tour .cheer-float p { font-size: 13px !important; }
  .tour .squad-slots { margin-top: 4px; justify-content: space-between; }
  .tour .slot, .tour .slot canvas { width: 60px; } .tour .slot canvas { height: 54px; }
  .tour .squad-hint { margin-top: 0 !important; }

  /* Precio: compacto, en dos columnas. */
  .price-section { padding: 50px 14px 56px; gap: 118px; }
  .price-copy > p { display: none; }
  .price-copy h2 { font-size: 46px; margin: 10px 0 0; }
  .price-tiers { grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
  .tier { padding: 14px 12px; border-radius: 18px; }
  .tier strong { font-size: 32px; }
  .tier p { font-size: 11.5px; }
  .promises li { font-size: 13px; padding: 10px 0 10px 30px; }
  .founder p { font-size: 12px; }

  /* Preguntas: todas cerradas, para hojearlas. */
  .faq-section { padding: 46px 20px; }
  .faq-section h2 { font-size: 40px; }

  .v2-final { padding-top: 40px; }
  .final-section h2 { font-size: 50px; }

  /* Barra inferior: siempre a la mano del pulgar. */
  .mobile-join { backdrop-filter: none; -webkit-backdrop-filter: none; background: #f8f7ee; }

  /* La revelación en celular. */
  .stage-num strong { font-size: 44vw; }
  .stage-sub { font-size: 17px; }
  .stage-line { font-size: 16px; }
  .stage-row .button { font-size: 12px; }
}
.quiz-note-m { display: none; }
@media (max-width: 760px) { .quiz-note-m { display: block; } }
@media (prefers-reduced-motion: reduce) { .age-stage .stage-inner, .age-stage .stage-bg, .stage-rays, .stage-wave, .tour-next, .cheer-float.clapping .clap { animation: none !important; } }
.motion-paused .age-stage .stage-inner, .motion-paused .stage-rays, .motion-paused .stage-wave, .motion-paused .tour-next { animation: none !important; }
.logo-peek.say2::after { animation: bubble3 .45s cubic-bezier(.3,1.6,.5,1); }
@keyframes bubble3 { 0% { transform: scale(.75) rotate(-6deg); } 100% { transform: scale(1) rotate(-6deg); } }
.hero-actor canvas, .hero-actor img { inset: 0; }

/* Dramatismo escalado: --k va de 0 (poca diferencia) a 1 (muchísima). */
.age-stage { --k: 0; }
.stage-vignette { position: absolute; inset: 0; pointer-events: none; opacity: 0; background: radial-gradient(circle at 50% 46%, transparent 30%, #1a0006 100%); transition: opacity .8s; }
.age-stage.old .stage-vignette { opacity: calc(.15 + var(--k) * .85); animation: vignettePulse 1.2s ease-in-out infinite; }
.age-stage.old.turn .stage-vignette { opacity: 0; animation: none; }
@keyframes vignettePulse { 50% { filter: brightness(.8); } }
.age-stage.old .stage-inner { animation: shake calc(.55s + var(--k) * .45s) cubic-bezier(.36,.07,.19,.97); }
@keyframes shake {
  10%, 90% { transform: translate(calc(-2px - var(--k) * 3px), 1px); }
  20%, 80% { transform: translate(calc(5px + var(--k) * 6px), calc(-3px - var(--k) * 3px)); }
  30%, 50%, 70% { transform: translate(calc(-9px - var(--k) * 12px), calc(4px + var(--k) * 6px)) rotate(calc(-.6deg - var(--k) * 1.2deg)); }
  40%, 60% { transform: translate(calc(9px + var(--k) * 12px), calc(-4px - var(--k) * 6px)) rotate(calc(.6deg + var(--k) * 1.2deg)); }
}
.age-stage.old .stage-num strong { animation: slamHard .7s cubic-bezier(.2,.9,.25,1.15); }
@keyframes slamHard { 0% { transform: scale(calc(3.4 + var(--k) * 2.6)); opacity: 0; filter: blur(18px); } 55% { transform: scale(calc(.9 - var(--k) * .08)); opacity: 1; filter: blur(0); } 78% { transform: scale(1.05); } 100% { transform: scale(1); } }
.age-stage.old .stage-chip:not(:empty) { animation: chipThrob .9s ease-in-out infinite; }
@keyframes chipThrob { 50% { transform: scale(calc(1.06 + var(--k) * .1)) rotate(-3deg); } }
.age-stage.old.turn .stage-chip { animation: none; }
.stage-cracks { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; transition: opacity 1s; }
.stage-cracks path { fill: none; stroke: #ffffffe6; stroke-width: 3; stroke-linejoin: bevel; filter: drop-shadow(0 0 1px #4d0012) drop-shadow(0 2px 0 #00000044); stroke-dasharray: 1; stroke-dashoffset: 1; animation: crack .28s cubic-bezier(.2,.8,.2,1) forwards; }
@keyframes crack { to { stroke-dashoffset: 0; } }
.age-stage.turn .stage-cracks { opacity: 0; }
.age-stage.young .stage-rays { animation-duration: calc(24s - var(--k) * 14s); }
.stage-cracks path.thin { stroke-width: 1.5; stroke: #ffffffa8; }

/* Los 73: letrero que narra lo que pasa con los puntos. */
.dots-caption { font: 600 18px var(--body); margin: 0 0 14px; min-height: 28px; }
.dots-caption b { font: 800 28px var(--display); letter-spacing: -.03em; color: var(--purple); margin-right: 4px; font-variant-numeric: tabular-nums; }
.dots-caption.pop { animation: bubble2 .4s cubic-bezier(.3,1.6,.5,1); }
.dots { cursor: pointer; }
.dots i { background: #073d320d; }
@media (max-width: 760px) { .dots-caption { font-size: 15px; } .dots-caption b { font-size: 22px; } }

/* Semana: Cubi chiquito al lado y la semana perfecta en dorado. */
.week-meter { position: relative; }
.week-cubi { width: 74px; height: 66px; margin: -18px -6px -10px auto; flex: none; }
#week-status b { color: #b7791f; }
.week-play { transition: box-shadow .5s, background .5s; }
.week-play.perfect { background: linear-gradient(135deg, #fffbea, #fff1c2 45%, #fffbea); box-shadow: 0 0 0 3px #ffc93c, 0 18px 50px #f4ba5966; position: relative; overflow: hidden; }
.week-play.perfect::after { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, #ffffffb0 50%, transparent 65%); transform: translateX(-120%); animation: shimmer 2.6s ease-in-out infinite; pointer-events: none; }
@keyframes shimmer { 0% { transform: translateX(-120%); } 55%, 100% { transform: translateX(120%); } }
.week-play.perfect .week-days button[aria-pressed="true"] { background: linear-gradient(160deg, #ffe58a, #ffc93c 60%, #f4a23c); border-color: #e9a52a; box-shadow: 0 3px 0 #c98a1e; animation: medalPop .5s cubic-bezier(.3,1.7,.5,1) both; }
.week-play.perfect .week-days button[aria-pressed="true"]::after { content: '★'; display: block; font-size: 9px; line-height: 0; margin-top: 2px; color: #7a4a00; }
@keyframes medalPop { 0% { transform: scale(1.08); } 40% { transform: scale(1.25) rotate(-6deg); } 100% { transform: scale(1.08); } }
.week-play.perfect .mini-flame { filter: drop-shadow(0 0 10px #ffc93c); }
@media (prefers-reduced-motion: reduce) { .week-play.perfect::after, .week-play.perfect .week-days button { animation: none !important; } }
.motion-paused .week-play.perfect::after { animation: none; }

/* Quiz en celular: cada paso cabe en una pantalla, con el botón a la vista. */
@media (max-width: 760px) {
  .age-section { padding: 30px 12px 36px; gap: 14px; }
  .age-copy h2 { font-size: 34px; letter-spacing: -1.5px; margin: 8px 0 0; }
  .age-copy .eyebrow { font-size: 9px; }
  .quiz { padding: 14px 16px 18px; border-radius: 26px; scroll-margin-top: 84px; }
  .quiz-note-m { display: none !important; }
  .quiz-progress { top: 18px; right: 18px; }
  .quiz-progress i { width: 20px; }
  .quiz-cubi { min-height: 70px; margin: -4px 0 2px -10px; }
  .quiz-cubi canvas { width: 82px; height: 74px; }
  .quiz-bubble { margin-bottom: 34px; padding: 9px 13px; font-size: 12.5px; max-width: 200px; }
  .q-step legend { font-size: 21px; margin-bottom: 14px; }
  .q-step legend span { margin-bottom: 6px; font-size: 10px; }
  .age-picker { gap: 16px; margin: 0; }
  .age-picker output { font-size: 60px; min-width: 96px; }
  .stepper { width: 46px; height: 46px; font-size: 24px; }
  input[type=range] { margin: 0 0 12px; height: 26px; }
  .chip span { min-height: 44px; font-size: 14px; border-radius: 14px; }
  .chips.wrap { gap: 7px; }
  .chips.wrap .chip span { min-height: 40px; padding: 0 12px; font-size: 13px; }
  .q-hint { display: none; }
  .q-sub { margin: 10px 0 7px; font-size: 10px; }
  .choice-list { gap: 7px; }
  .choice span { padding: 12px 14px; border-radius: 15px; }
  .q-next { margin-top: 16px; min-height: 52px; }
  .q-back { margin-top: 16px; }
  .fine-tune { margin-top: 10px; }
  .fine-tune summary { padding: 8px 0; font-size: 13px; }
  .reveal-label { font-size: 10px; }
  .reveal-number strong { font-size: 104px; }
  .reveal-real { font-size: 15px; margin-top: 2px; }
  .reveal-line { font-size: 14px; margin-top: 8px; min-height: 0; }
  .projection { margin-top: 12px; padding: 12px 14px; }
  .share-row { grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
  .share-row .button { font-size: 12px; padding: 12px; min-height: 48px; gap: 6px; }
  #quiz-cta { margin-top: 2px; }
  body.quiz-focus .mobile-join { transform: translateY(150%); }
}
