/* Grow · estilos compartidos de las páginas (sacados de la portada para que todas hablen igual).
   Necesita assets/scrollcraft.css antes. */
@font-face { font-family: "Bricolage"; src: url("fonts/bricolage.woff2") format("woff2-variations"); font-weight: 200 800; font-stretch: 75% 100%; font-display: swap; }
@font-face { font-family: "Geist"; src: url("fonts/geist.woff2") format("woff2-variations"); font-weight: 100 900; font-display: swap; }
:root {
  --sc-canvas: #0F1E1A;  --sc-surface: #16332C;
  --sc-ink: #F4F1E8;     --sc-ink-soft: #A9C4B8;
  --sc-accent: #C7EA46;  --sc-accent-ink: #0F1E1A;
  --sc-font-display: "Bricolage", "Arial Narrow", system-ui, sans-serif;
  --sc-font-text: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sc-shadow-color: 160 45% 3%;
  --mint: #A8DDC4; --deep: #234A3D; --cream: #F4F1E8; --forest: #0F1E1A;
  --bar-h: 64px;
  color-scheme: dark;
}
html { background: var(--cream); }

/* ---------- type ---------- */
.d { font-family: var(--sc-font-display); font-weight: 800; font-stretch: 78%; letter-spacing: -0.03em; line-height: 0.92; text-wrap: balance; margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
p { margin: 0; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: .5em; min-height: 48px; padding: 0 1.4rem; border-radius: var(--sc-r-pill); font-weight: 650; font-size: 1rem; text-decoration: none; white-space: nowrap; background: var(--sc-accent); color: var(--sc-accent-ink); border: 0; cursor: pointer; transition: transform var(--sc-d-fast) var(--sc-ease-out), background-color var(--sc-d-fast) var(--sc-ease-out); }
.btn:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .btn:hover { background: #D6F26A; } }
.btn--ink { background: #0F1E1A; color: #F4F1E8; }
@media (hover: hover) and (pointer: fine) { .btn--ink:hover { background: var(--deep); } }
.btn--line { background: transparent; color: #0F1E1A; box-shadow: inset 0 0 0 1.5px rgba(15,30,26,.35); }
@media (hover: hover) and (pointer: fine) { .btn--line:hover { background: rgba(15,30,26,.06); } }
.pick { display: inline-flex; align-items: center; gap: .55em; min-height: 48px; padding: 0 1.2rem 0 .9rem; border-radius: var(--sc-r-pill); background: transparent; color: inherit; border: 0; box-shadow: inset 0 0 0 1.5px var(--pick, var(--sc-accent)); font-weight: 650; cursor: pointer; transition: background-color var(--sc-d-fast) var(--sc-ease-out), color var(--sc-d-fast) var(--sc-ease-out), transform var(--sc-d-fast) var(--sc-ease-out); }
.pick::before { content: ""; width: 18px; height: 18px; border-radius: 5px; box-shadow: inset 0 0 0 1.5px currentColor; background: no-repeat center / 0 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.3l2.6 2.5L10 3.4' fill='none' stroke='%230F1E1A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); transition: background-size var(--sc-d-fast) var(--sc-ease-out); }
.pick[aria-pressed="true"] { background: var(--sc-accent); color: var(--sc-accent-ink); box-shadow: none; }
.pick[aria-pressed="true"]::before { background-size: 12px; background-color: #F4F1E8; box-shadow: none; }
.pick:active { transform: scale(.97); }
.pick .on { display: none; } .pick[aria-pressed="true"] .on { display: inline; } .pick[aria-pressed="true"] .off { display: none; }
@media (hover: hover) and (pointer: fine) { .pick:hover { background: color-mix(in oklab, var(--sc-accent) 16%, transparent); } .pick[aria-pressed="true"]:hover { background: #D6F26A; } }
.textlink { color: inherit; font-weight: 600; text-decoration: underline; text-decoration-color: var(--sc-accent); text-decoration-thickness: 2px; text-underline-offset: .28em; min-height: 48px; display: inline-flex; align-items: center; }

/* ---------- the bar + the staircase (signature) ---------- */
.bar { position: fixed; inset: 0 0 auto 0; z-index: var(--sc-z-chrome); height: calc(var(--bar-h) + env(safe-area-inset-top, 0px)); padding: env(safe-area-inset-top, 0px) var(--sc-gutter) 0; display: flex; align-items: center; gap: var(--sc-4); color: var(--sc-ink); transition: color 240ms var(--sc-ease-out); }
.bar::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(var(--forest) 30%, transparent); transition: opacity 240ms var(--sc-ease-out); }
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; font-family: var(--sc-font-display); font-weight: 800; font-size: 1.45rem; letter-spacing: -0.02em; min-height: 44px; min-width: 44px; }
.brand svg { width: 22px; height: 31px; flex: none; }
.stair { margin-inline: auto; display: flex; align-items: flex-end; gap: var(--sc-4); }
.stair ol { list-style: none; margin: 0; padding: 0; display: flex; align-items: flex-end; height: 44px; }
.stair a { position: relative; display: flex; align-items: flex-end; justify-content: center; width: 30px; height: 44px; text-decoration: none; }
.stair .tread { display: block; width: 24px; height: calc(7px + var(--i) * 5px); border-radius: 3px 3px 0 0; box-shadow: inset 0 0 0 1.5px color-mix(in oklab, currentColor 40%, transparent); transition: background-color 240ms var(--sc-ease-out), box-shadow 240ms var(--sc-ease-out); }
.stair a.is-past .tread { background: color-mix(in oklab, var(--sc-accent) 55%, var(--forest)); box-shadow: none; }
.stair a.is-here .tread { background: var(--sc-accent); box-shadow: none; }
.stair a::after { content: ""; position: absolute; left: 50%; bottom: calc(12px + var(--i) * 5px); width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: currentColor; opacity: 0; transform: translateY(4px); transition: opacity 200ms var(--sc-ease-out), transform 200ms var(--sc-ease-out); }
.stair a.is-here::after { opacity: 1; transform: none; }
.stair a.is-picked .tread { background-image: linear-gradient(currentColor, currentColor); background-size: 10px 3px; background-repeat: no-repeat; background-position: center 4px; }
.stair a:focus-visible { outline-offset: 0; }
.stair__now { font-size: var(--sc-t-sm); opacity: .78; white-space: nowrap; min-width: 17ch; padding-bottom: 6px; }
.stair__now b { opacity: 1; font-weight: 600; }
.bar .btn { min-height: 44px; padding: 0 1.15rem; }
body.light .bar { color: #0F1E1A; }
body.light .bar::before { opacity: 0; }
body.light .stair a.is-past .tread, body.light .stair a.is-here .tread { background-color: #0F1E1A; }
body.light .bar .btn { background: #0F1E1A; color: #F4F1E8; }
body.light .brand svg path { stroke: #0F1E1A; }
@media (max-width: 899px) { .stair__now { display: none; } }
@media (max-width: 520px) {
  .bar { gap: var(--sc-2); padding-inline: 14px; }
  .brand span { display: none; }
  .stair a { width: 28px; }
  .stair .tread { width: 21px; }
  .bar .btn { padding: 0 1rem; font-size: .95rem; }
}

/* ---------- shared step label schema ---------- */
.step { position: relative; }
.step__num { font-family: var(--sc-font-display); font-weight: 700; font-stretch: 90%; font-size: var(--sc-t-sm); letter-spacing: .1em; text-transform: uppercase; color: var(--mint); }
.step__title { margin-top: var(--sc-3); font-size: clamp(2.3rem, 1.1rem + 3.6vw, 4.6rem); max-width: 12ch; }
.facts { margin: var(--sc-6) 0 0; display: grid; gap: var(--sc-4); max-width: 46ch; }
.facts div { display: grid; grid-template-columns: 8.5rem 1fr; gap: var(--sc-4); padding-top: var(--sc-4); border-top: 1px solid var(--sc-hairline); }
.facts dt { font-size: var(--sc-t-sm); color: var(--mint); font-weight: 600; padding-top: .15em; }
.facts dd { margin: 0; line-height: 1.5; text-wrap: pretty; }
.facts .price dd { font-family: var(--sc-font-display); font-weight: 800; font-stretch: 85%; font-size: clamp(2rem, 1.4rem + 2vw, 3rem); line-height: 1; color: var(--sc-accent); letter-spacing: -.02em; }
.facts .price dd small { display: block; margin-top: .45rem; font-family: var(--sc-font-text); font-weight: 400; font-size: var(--sc-t-sm); letter-spacing: 0; color: var(--sc-ink-soft); line-height: 1.4; }
.step__actions { margin-top: var(--sc-6); display: flex; flex-wrap: wrap; align-items: center; gap: var(--sc-3) var(--sc-5); }
@media (max-width: 520px) { .facts div { grid-template-columns: 1fr; gap: var(--sc-1); } }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.soporte__media { position: relative; margin: 0; border-radius: var(--sc-r-lg); overflow: hidden; background: #0A1512; box-shadow: var(--sc-edge), var(--sc-e3); aspect-ratio: 4 / 5; }
.soporte__media :is(img, video) { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.soporte__clip { opacity: 0; transition: opacity 300ms var(--sc-ease-out); }
.soporte__clip.is-ready { opacity: 1; }
.paperwrap { margin: 0; perspective: 1400px; }
.paper { background: #F4F1E8; color: #142620; border-radius: 6px; padding: clamp(1.6rem, 3.5vw, 3rem); transform: rotate(-2.5deg); box-shadow: 0 2px 4px rgba(2,10,7,.3), 0 18px 36px rgba(2,10,7,.45), 0 50px 90px rgba(2,10,7,.35); max-width: 460px; margin-inline: auto; }
.paper__k { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: #3E6B57; font-weight: 600; }
.paper__h { margin-top: .6rem; font-family: var(--sc-font-display); font-weight: 800; font-stretch: 80%; font-size: clamp(1.9rem, 1.2rem + 2vw, 2.7rem); line-height: .95; letter-spacing: -.02em; }
.paper ol { margin: 1.4rem 0 0; padding: 0; list-style: none; counter-reset: s; border-top: 1px solid rgba(20,38,32,.16); }
.paper li { counter-increment: s; display: flex; gap: .9rem; padding: .62rem 0; border-bottom: 1px solid rgba(20,38,32,.12); font-size: .98rem; }
.paper li::before { content: counter(s); font-family: var(--sc-font-display); font-weight: 700; color: #3E6B57; width: 1.2em; }
.paper__f { margin-top: 1.2rem; font-size: .8rem; color: #4A5E55; }
.figcap { margin-top: var(--sc-5); font-size: var(--sc-t-sm); color: var(--sc-ink-soft); text-align: center; text-wrap: balance; }
@media (max-width: 860px) { .informe .split { grid-template-columns: 1fr; } }

.phone { position: absolute; left: 0; top: 0; z-index: 1; border-radius: 44px; background: #050807; padding: 12px; box-shadow: 0 40px 80px rgba(0,0,0,.55), 0 0 0 1.5px #2A3A33, inset 0 0 0 2px #121C18; transform-origin: 50% 50%; opacity: 0; will-change: transform, opacity; }
.phone .scr { position: relative; width: 100%; height: 100%; border-radius: 34px; overflow: hidden; background: #0B1512; }
.phone .scr img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transform: scale(1.04); }
.phone .island { position: absolute; top: 4%; left: 50%; width: 30%; height: 3%; margin-left: -15%; border-radius: 20px; background: #000; z-index: 2; }
.phone .lock { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: #9FB2A9; font-size: 13px; letter-spacing: .06em; }
.phone .lock b { font-family: var(--sc-font-display); font-size: 44px; color: #E6EEE8; letter-spacing: -.03em; font-weight: 500; }
.ring { position: absolute; left: 0; top: 0; z-index: 3; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; border: 2px solid var(--sc-accent); opacity: 0; pointer-events: none; }
/* ---------- 9 · rellano (close) ---------- */
.rellano { --sc-ink: #0F1E1A; --sc-ink-soft: #2F4A3F; --sc-hairline: rgba(15,30,26,.18); color: var(--sc-ink); background: radial-gradient(ellipse 60% 50% at 85% 20%, #FFFFFF, transparent 70%), #F4F1E8; padding: calc(var(--bar-h) + clamp(3rem, 8vw, 7rem)) 0 0; }
.rellano ::selection { background: var(--forest); color: var(--sc-accent); }
.rellano :focus-visible { outline-color: #0F1E1A; }
.rellano__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.rellano__title { font-size: clamp(3rem, 1rem + 7.6vw, 8.6rem); max-width: 8ch; color: #0F1E1A; }
.rellano__title mark { background: linear-gradient(transparent 58%, #C7EA46 58%, #C7EA46 92%, transparent 92%); color: inherit; padding: 0 .04em; }
.rellano__lead { margin-top: var(--sc-5); font-size: var(--sc-t-lg); line-height: 1.45; max-width: 34ch; color: #1E3A31; }
.big { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); align-items: end; gap: 6px; height: clamp(240px, 30vw, 330px); }
.big li { height: calc(30% + var(--i) * 14%); }
.big button { width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start; gap: .3rem; text-align: left; padding: .7rem .55rem; border: 0; border-radius: 10px 10px 0 0; background: #FFFFFF; box-shadow: inset 0 0 0 1px rgba(15,30,26,.12), 0 10px 24px rgba(15,30,26,.06); color: #0F1E1A; cursor: pointer; font-size: .78rem; line-height: 1.2; font-weight: 600; transition: background-color 180ms var(--sc-ease-out), color 180ms var(--sc-ease-out), transform 140ms var(--sc-ease-out); }
.big button b { font-family: var(--sc-font-display); font-weight: 800; font-stretch: 85%; font-size: 1.2rem; letter-spacing: -.01em; white-space: nowrap; }
.big button[aria-pressed="true"] { background: #0F1E1A; color: #F4F1E8; box-shadow: inset 0 4px 0 #C7EA46; }
.big button[aria-pressed="true"] b { color: #C7EA46; }
.big button:active { transform: translateY(1px); }
@media (hover: hover) and (pointer: fine) { .big button:hover { background: #EEF5D2; } .big button[aria-pressed="true"]:hover { background: #1A3A31; } }
.big__hint { margin-top: var(--sc-3); font-size: var(--sc-t-sm); color: #2F4A3F; }
.msgbox { margin-top: var(--sc-6); }
.msgbox__l { font-size: var(--sc-t-sm); font-weight: 600; color: #1E3A31; }
.msgbox output { display: block; margin-top: var(--sc-2); padding: 1rem 1.15rem; border-radius: 18px 18px 18px 6px; background: #F4F1E8; color: #0F1E1A; line-height: 1.5; min-height: 5.5em; box-shadow: inset 0 0 0 1px rgba(15,30,26,.1), 0 2px 4px rgba(15,30,26,.08), 0 12px 28px rgba(15,30,26,.1); white-space: pre-line; background: #FFFFFF; }
.msgbox .btn { margin-top: var(--sc-4); }
.msgbox small { display: block; margin-top: var(--sc-3); font-size: var(--sc-t-sm); color: #2F4A3F; }
.foot { margin-top: clamp(4rem, 10vw, 8rem); padding: var(--sc-6) 0 calc(var(--sc-6) + env(safe-area-inset-bottom, 0px)); border-top: 1px solid rgba(15,30,26,.2); display: flex; flex-wrap: wrap; gap: var(--sc-4) var(--sc-6); justify-content: space-between; align-items: center; font-size: var(--sc-t-sm); color: #1E3A31; }
.foot nav { display: flex; flex-wrap: wrap; gap: 0 var(--sc-5); }
.foot a { color: #0F1E1A; min-height: 44px; display: inline-flex; align-items: center; min-width: 44px; }
@media (max-width: 860px) { .rellano__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .big { grid-template-columns: 1fr; height: auto; gap: 6px; }
  .big li { height: auto; width: calc(50% + var(--i) * 10%); margin-left: auto; }
  .big button { flex-direction: row; align-items: baseline; gap: .6rem; min-height: 52px; padding: .8rem .9rem; border-radius: 10px 0 0 10px; font-size: .9rem; }
  .big button b { font-size: 1.12rem; }
}

/* ---------- barra de las subpáginas ---------- */
.bar__nav { margin-inline: auto; display: flex; gap: var(--sc-2); }
.bar__nav a { color: inherit; text-decoration: none; font-size: var(--sc-t-sm); font-weight: 600; padding: .55rem .8rem; border-radius: var(--sc-r-pill); opacity: .82; min-height: 44px; display: inline-flex; align-items: center; }
@media (hover: hover) and (pointer: fine) { .bar__nav a:hover { opacity: 1; background: color-mix(in oklab, currentColor 10%, transparent); } }
@media (max-width: 760px) { .bar__nav { display: none; } .bar .btn { margin-left: auto; } }
/* ---------- preguntas frecuentes ---------- */
.faq { margin-top: var(--sc-6); border-top: 1px solid var(--sc-hairline); max-width: 52rem; }
.faq details { border-bottom: 1px solid var(--sc-hairline); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--sc-4); padding: var(--sc-5) 0; font-weight: 600; font-size: var(--sc-t-lg); min-height: 48px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 1.6rem; line-height: 1; color: var(--sc-accent); transition: transform var(--sc-d-fast) var(--sc-ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 0 var(--sc-5); color: var(--sc-ink-soft); max-width: 62ch; line-height: 1.55; }

/* ---------- barra fija de compra en el móvil ---------- */
.mcta { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 60; display: none; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 18px; border-radius: 999px; background: #0F1E1A; color: #F4F1E8; box-shadow: 0 12px 32px rgba(0,0,0,.35), inset 0 0 0 1px rgba(199,234,70,.25); transform: translateY(160%); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.mcta.on { transform: none; }
.mcta span { font-size: .9rem; line-height: 1.2; min-width: 0; }
.mcta span b { display: block; font-size: 1rem; }
.mcta .btn { min-height: 44px; padding: 0 1.1rem; flex: none; }
@media (max-width: 860px) { .mcta { display: flex; } }
@media (prefers-reduced-motion: reduce) { .mcta { transition: none; } }

/* ---------- Quién soy ---------- */
.yo { background: #10231D; padding-block: var(--sc-section); }
.yo__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.yo__foto { margin: 0; border-radius: 28px; overflow: hidden; max-width: 440px; width: 100%; box-shadow: 0 30px 60px -30px rgba(0,0,0,.7), inset 0 0 0 1px rgba(199,234,70,.2); }
.yo__foto img { width: 100%; height: auto; display: block; }
.yo__txt h2 span { color: var(--sc-accent); }
.yo__txt p.yo__p { margin-top: var(--sc-4); font-size: var(--sc-t-lg); line-height: 1.55; color: var(--sc-ink-soft); max-width: 44ch; }
@media (max-width: 860px) { .yo__grid { grid-template-columns: 1fr; } .yo__foto { max-width: 360px; } }
