/* ═══════════════════════════════════════════════════════════════
   Rewalk web-v2 — sistema de diseño (claro, profundo, con movimiento)
   Tokens, tipografía, componentes y animaciones. Código propio.
   ═══════════════════════════════════════════════════════════════ */
:root {
  --bg: #f5f5f5; --surface: #fff; --border: #e5e5e5; --ink: #0a0a0a; --muted: #666; --nav-muted: #4d4d4d;
  --accent: #E8472A; --accent-2: #ff8b5e; --accent-soft: #ffd9c7; --dark: #111;
  --positive: #1a8f4c;
  --r-panel: 15px; --r-card: 23px; --r-pill: 999px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --shadow-sm: 0 1px 2px rgba(0,0,0,.04), 0 4px 12px -4px rgba(0,0,0,.06);
  --shadow-md: 0 1px 2px rgba(0,0,0,.04), 0 12px 32px -8px rgba(0,0,0,.10), 0 28px 60px -28px rgba(0,0,0,.14);
  --shadow-lg: 0 2px 4px rgba(0,0,0,.05), 0 24px 48px -12px rgba(0,0,0,.16), 0 60px 120px -40px rgba(232,71,42,.28);
  --f-display: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  --f-ui: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --f-body: 'Inter', system-ui, -apple-system, sans-serif;
  --f-mono: 'IBM Plex Mono', ui-monospace, monospace;
  --gutter: clamp(16px, 4vw, 56px);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scrollbar-gutter: stable; overflow-x: clip; }
body { font-family: var(--f-body); background: var(--bg); color: var(--ink); -webkit-font-smoothing: antialiased; overflow-x: clip; line-height: 1.6; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 800; letter-spacing: -.035em; line-height: 1.04; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 300; border-radius: var(--r-pill); font-weight: 600; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 var(--gutter); }
.container.narrow { max-width: 820px; }
.grad { background: linear-gradient(100deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ───── Tipografía de sección ───── */
.eyebrow { font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ''; width: 18px; height: 2px; background: var(--accent); border-radius: 2px; }
.h-xl { font-size: clamp(38px, 6.4vw, 76px); letter-spacing: -.045em; line-height: .98; }
.h-lg { font-size: clamp(30px, 4.4vw, 52px); letter-spacing: -.04em; }
.h-md { font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -.03em; }
.lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); line-height: 1.65; max-width: 620px; }
.center { text-align: center; } .center .lead { margin-inline: auto; } .center .eyebrow { justify-content: center; }
.sec-head { margin-bottom: clamp(32px, 5vw, 64px); display: grid; gap: 16px; }
.sec-head.center { justify-items: center; }
.fine { font-size: 12px; color: #8a8a8a; line-height: 1.6; }
section { position: relative; }
.sec { padding: clamp(72px, 10vw, 140px) 0; }

/* ───── Botones ───── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--f-ui); font-weight: 600; font-size: 15px; padding: 14px 26px; border-radius: var(--r-pill); border: 1px solid transparent; text-decoration: none; cursor: pointer; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .2s, color .2s; white-space: nowrap; }
.btn-dark { background: var(--ink); color: #fff; box-shadow: 0 8px 20px -8px rgba(0,0,0,.5); }
.btn-dark:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(0,0,0,.55); }
.btn-accent { background: linear-gradient(100deg, var(--accent), var(--accent-2)); color: #fff; box-shadow: 0 10px 26px -8px rgba(232,71,42,.6); }
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -10px rgba(232,71,42,.7); }
.btn-ghost { background: rgba(255,255,255,.7); color: var(--ink); border-color: var(--border); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: #fff; transform: translateY(-2px); }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-lg { padding: 18px 34px; font-size: 16px; }
.btn .arr { transition: transform .35s var(--ease); } .btn:hover .arr { transform: translateX(4px); }

/* ───── Nav flotante de cristal ───── */
.nav { position: fixed; z-index: 100; top: 12px; left: 50%; transform: translateX(-50%); width: min(1200px, calc(100% - 24px)); display: flex; align-items: center; justify-content: space-between; padding: 8px 8px 8px 24px; border-radius: var(--r-pill); background: rgba(255,255,255,.72); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border: 1px solid rgba(255,255,255,.7); box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 8px 30px -10px rgba(0,0,0,.12); transition: box-shadow .4s, background .4s; }
.nav.scrolled { background: rgba(255,255,255,.86); box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 14px 40px -12px rgba(0,0,0,.2); }
.nav-logo { display: flex; align-items: center; text-decoration: none; }
.logo-text { fill: var(--ink); } .logo-cut { stroke: #fff; }
.nav-links { display: flex; align-items: center; gap: 36px; position: absolute; left: 50%; transform: translateX(-50%); }
.nav-links a { font-family: var(--f-ui); font-weight: 500; font-size: 16px; color: var(--nav-muted); text-decoration: none; transition: color .2s; }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--ink); }
.nav-right { display: flex; align-items: center; gap: 8px; }
.nav-burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border); background: #fff; cursor: pointer; align-items: center; justify-content: center; }
.nav-mobile { display: none; position: fixed; top: 76px; left: 12px; right: 12px; z-index: 99; background: rgba(255,255,255,.95); backdrop-filter: blur(18px); border-radius: var(--r-card); padding: 12px; box-shadow: var(--shadow-md); flex-direction: column; }
.nav-mobile.open { display: flex; animation: pop .4s var(--ease); }
.nav-mobile a { font-family: var(--f-ui); font-weight: 500; font-size: 18px; padding: 16px; text-decoration: none; border-bottom: 1px solid var(--border); }
.nav-mobile a:last-child { border: 0; }
@keyframes pop { from { opacity: 0; transform: translateY(-8px) scale(.98); } to { opacity: 1; transform: none; } }

/* ───── Revelado al hacer scroll ───── */
[data-reveal] { opacity: 0; transform: translateY(28px); filter: blur(6px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
[data-reveal].in { opacity: 1; transform: none; filter: none; }
[data-reveal="scale"] { transform: scale(.94) translateY(20px); }
[data-reveal="left"] { transform: translateX(-32px); } [data-reveal="right"] { transform: translateX(32px); }

/* ───── Hero ───── */
.hero { padding: 132px 0 0; text-align: center; overflow-x: clip; overflow-y: visible; }
.hero-glow { position: absolute; inset: 0 0 -40px; z-index: 0; pointer-events: none; overflow: hidden; }
.hero-glow i { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; animation: drift 16s ease-in-out infinite alternate; }
.hero-glow i:nth-child(1) { width: 640px; height: 640px; background: var(--accent-soft); left: 50%; top: 260px; translate: -50% 0; }
.hero-glow i:nth-child(2) { width: 380px; height: 380px; background: #ffc9a8; left: 8%; top: 120px; animation-delay: -4s; opacity: .4; }
.hero-glow i:nth-child(3) { width: 340px; height: 340px; background: #ffd0c4; right: 6%; top: 360px; animation-delay: -9s; opacity: .45; }
@keyframes drift { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(40px,-30px,0) scale(1.12); } }
.hero .container { position: relative; z-index: 1; }
.hero h1 { margin: 0 auto 20px; max-width: 980px; }
.hero-sub { font-size: clamp(16px, 1.7vw, 20px); color: var(--muted); max-width: 640px; margin: 0 auto 28px; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 32px; }
.proof { display: grid; justify-items: center; gap: 10px; margin-bottom: 40px; }
.avatars { display: flex; }
.avatars span { width: 44px; height: 44px; border-radius: 50%; border: 3px solid var(--bg); margin-left: -12px; background: linear-gradient(135deg, #e9e6e1, #d4cfc8); display: grid; place-items: center; color: #a39e96; font-weight: 700; font-family: var(--f-ui); box-shadow: var(--shadow-sm); }
.avatars span:first-child { margin-left: 0; }
.ph-inline { font-family: var(--f-mono); font-size: 12px; color: #9a948b; border: 1px dashed #cfc9c0; border-radius: var(--r-pill); padding: 6px 14px; background: rgba(255,255,255,.6); }




.float-chip { position: absolute; z-index: 2; background: rgba(255,255,255,.9); backdrop-filter: blur(14px); border-radius: var(--r-panel); padding: 12px 16px; box-shadow: var(--shadow-md); text-align: left; font-family: var(--f-ui); animation: floaty 6s ease-in-out infinite; }
.float-chip b { display: block; font-size: 22px; font-family: var(--f-display); letter-spacing: -.03em; }
.float-chip small { color: var(--muted); font-size: 12px; }
@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

/* ───── Stats ───── */
.stats { padding: 56px 0 24px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { background: var(--surface); border-radius: var(--r-card); padding: 28px 24px; box-shadow: var(--shadow-sm); border: 1px solid rgba(0,0,0,.04); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.stat:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.stat-num { word-spacing: .14em; font-family: var(--f-display); font-weight: 800; font-size: clamp(36px, 4vw, 52px); letter-spacing: -.05em; line-height: 1; }
.stat-num em { font-style: normal; color: var(--accent); }
.stat p { margin-top: 12px; font-size: 14px; color: var(--muted); line-height: 1.5; }
.stat small { display: block; margin-top: 8px; font-family: var(--f-mono); font-size: 11px; color: #9a9a9a; }

/* ───── Integraciones ───── */
.integ { padding: 56px 0 24px; text-align: center; }
.integ .eyebrow { margin-bottom: 28px; }
.integ-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 20px 56px; }
.integ-row li { font-family: var(--f-display); font-weight: 800; font-size: clamp(20px, 2.4vw, 28px); letter-spacing: -.03em; color: #a8a8a8; transition: color .3s; }
.integ-row li:hover { color: var(--ink); }
.integ-row .ph-inline { font-size: 11px; }

/* ───── Storytelling con móvil fijo ───── */
.story { height: 340vh; position: relative; }
.story-pin { position: sticky; top: 84px; height: calc(100vh - 100px); height: calc(100svh - 100px); min-height: 560px; }
.story-card { height: 100%; background: var(--surface); border-radius: 32px; box-shadow: var(--shadow-md); border: 1px solid rgba(0,0,0,.04); display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 24px; padding: clamp(24px, 4vw, 56px); overflow: hidden; position: relative; }
.story-card::before { content: ''; position: absolute; width: 520px; height: 520px; left: -140px; top: 50%; translate: 0 -50%; border-radius: 50%; background: radial-gradient(circle, var(--accent-soft), transparent 68%); opacity: .8; filter: blur(30px); }
.story-phone { display: grid; place-items: center; position: relative; z-index: 1; }
.story-steps { display: grid; gap: 4px; position: relative; z-index: 1; max-width: 460px; }
.step-item { display: grid; grid-template-columns: 34px 1fr; gap: 6px 14px; padding: 18px 0; border-bottom: 1px solid var(--border); opacity: .32; transition: opacity .5s var(--ease), transform .5s var(--ease); }
.step-item .n { font-family: var(--f-mono); font-size: 12px; padding-top: 7px; color: var(--muted); }
.step-item h3 { font-size: clamp(20px, 2.2vw, 26px); letter-spacing: -.03em; }
.step-item p { grid-column: 2; font-size: 15px; color: var(--muted); max-height: 0; overflow: hidden; opacity: 0; transition: max-height .6s var(--ease), opacity .5s; }
.story[data-step="0"] .step-item:nth-child(1), .story[data-step="1"] .step-item:nth-child(2), .story[data-step="2"] .step-item:nth-child(3) { opacity: 1; transform: translateX(6px); }
.story[data-step="0"] .step-item:nth-child(1) p, .story[data-step="1"] .step-item:nth-child(2) p, .story[data-step="2"] .step-item:nth-child(3) p { max-height: 120px; opacity: 1; }
.story-bar { position: absolute; left: 0; bottom: 0; height: 3px; width: calc(var(--p, 0) * 100%); background: linear-gradient(90deg, var(--accent), var(--accent-2)); z-index: 2; }

/* ───── Móvil (maqueta) ───── */
.phone { width: 290px; height: 590px; border-radius: 48px; background: #0a0a0a; padding: 10px; box-shadow: 0 0 0 2px #2b2b2b, 0 30px 60px -16px rgba(0,0,0,.4), 0 70px 110px -40px rgba(232,71,42,.45); position: relative; transform: rotate(calc((var(--p, .5) - .5) * -4deg)); transition: transform .2s linear; }
.phone::before { content: ''; position: absolute; top: 20px; left: 50%; translate: -50% 0; width: 88px; height: 26px; background: #0a0a0a; border-radius: 20px; z-index: 5; }
.phone-screen { width: 100%; height: 100%; border-radius: 38px; background: #fafafa; overflow: hidden; position: relative; }
.scr { position: absolute; inset: 0; padding: 58px 18px 18px; display: flex; flex-direction: column; gap: 12px; opacity: 0; transform: translateY(24px) scale(.98); filter: blur(4px); transition: opacity .6s var(--ease), transform .6s var(--ease), filter .6s var(--ease); pointer-events: none; }
.story[data-step="0"] .scr[data-i="0"], .story[data-step="1"] .scr[data-i="1"], .story[data-step="2"] .scr[data-i="2"] { opacity: 1; transform: none; filter: none; }
.scr-h { font-family: var(--f-display); font-weight: 800; font-size: 22px; letter-spacing: -.04em; line-height: 1.05; }
.scr .sub { font-size: 12px; color: var(--muted); line-height: 1.4; }
.ui-label { font-family: var(--f-mono); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: #9a9a9a; }
.ui-field { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 10px 12px; display: grid; gap: 2px; font-size: 13px; font-weight: 600; }
.ui-field small { font-weight: 500; color: #9a9a9a; font-size: 10px; }
.ui-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ui-chip { font-size: 11px; font-weight: 600; padding: 6px 10px; border-radius: var(--r-pill); background: #fff; border: 1px solid var(--border); }
.ui-chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.ui-btn { margin-top: auto; background: var(--ink); color: #fff; text-align: center; font-family: var(--f-ui); font-weight: 600; font-size: 13px; padding: 13px; border-radius: var(--r-pill); }
.ui-row { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 10px 12px; font-size: 12px; font-weight: 600; }
.ui-row .dot { width: 30px; height: 30px; border-radius: 50%; background: var(--accent-soft); display: grid; place-items: center; color: var(--accent); font-size: 11px; font-weight: 800; flex-shrink: 0; }
.ui-row .pts { margin-left: auto; color: var(--accent); font-family: var(--f-mono); font-size: 12px; }
.ui-ring { width: 120px; height: 120px; margin: 4px auto; position: relative; }
.ui-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ui-ring b { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--f-mono); font-size: 22px; font-weight: 500; }
.ring-fg { stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--p, 0) * .78); transition: stroke-dashoffset .2s linear; }
.ui-progress { height: 8px; background: #ececec; border-radius: 8px; overflow: hidden; } .ui-progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); border-radius: 8px; }
.ui-avatars { display: flex; } .ui-avatars i { width: 28px; height: 28px; border-radius: 50%; border: 2px solid #fafafa; margin-left: -8px; background: linear-gradient(135deg, #f1d9cf, #e8b9a6); } .ui-avatars i:first-child { margin-left: 0; }
.caption { text-align: center; margin-top: 14px; font-family: var(--f-mono); font-size: 11px; color: #9a9a9a; }

/* ───── Panel RRHH (escritorio) ───── */
.panel-wrap { position: relative; }
.panel-wrap::before { content: ''; position: absolute; inset: 8% 6% -6%; background: radial-gradient(60% 60% at 50% 50%, var(--accent-soft), transparent 70%); filter: blur(40px); opacity: .9; z-index: 0; }
.window { position: relative; z-index: 1; background: #fff; border-radius: 22px; box-shadow: var(--shadow-lg); border: 1px solid rgba(0,0,0,.05); overflow: hidden; transform: perspective(1600px) rotateX(calc((1 - var(--wp, 1)) * 10deg)) scale(calc(.94 + var(--wp, 1) * .06)); transform-origin: 50% 0; will-change: transform; }
.window-bar { display: flex; align-items: center; gap: 7px; padding: 14px 18px; background: #f7f7f7; border-bottom: 1px solid var(--border); }
.window-bar i { width: 11px; height: 11px; border-radius: 50%; } .window-bar span { font-size: 12px; color: #999; margin-left: 10px; font-family: var(--f-ui); }
.window-body { padding: clamp(18px, 3vw, 32px); display: grid; gap: 16px; }
.win-top { display: flex; justify-content: space-between; align-items: center; font-family: var(--f-ui); font-weight: 600; }
.badge { font-family: var(--f-mono); font-size: 11px; background: var(--ink); color: #fff; padding: 4px 10px; border-radius: var(--r-pill); }
.hero-metric { background: linear-gradient(110deg, var(--accent), var(--accent-2)); color: #fff; border-radius: var(--r-panel); padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero-metric b { font-family: var(--f-display); font-size: clamp(40px, 6vw, 64px); letter-spacing: -.05em; line-height: 1; }
.hero-metric span { font-size: 14px; opacity: .92; text-align: right; line-height: 1.5; }
.metric-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.metric { background: #f8f8f8; border: 1px solid var(--border); border-radius: var(--r-panel); padding: 16px; }
.metric b { font-family: var(--f-display); font-size: clamp(20px, 2.6vw, 28px); letter-spacing: -.04em; display: block; }
.metric b small { font-size: 13px; color: #999; font-weight: 600; letter-spacing: 0; }
.metric span { font-size: 12px; color: var(--muted); }
.metric.hl { background: #fff4ef; border-color: #ffd3c4; } .metric.hl b { color: var(--accent); }

/* ───── Tarjeta cálida (app) ───── */
.warm { position: relative; border-radius: 32px; overflow: hidden; background: linear-gradient(135deg, #ff9a62, #e8472a 90%); box-shadow: var(--shadow-lg); }
.warm i { position: absolute; border-radius: 50%; filter: blur(70px); animation: drift 14s ease-in-out infinite alternate; }
.warm i:nth-child(1) { width: 420px; height: 420px; background: #ffd9a8; left: -80px; top: -80px; opacity: .8; }
.warm i:nth-child(2) { width: 360px; height: 360px; background: #ff5a3a; right: -60px; bottom: -60px; opacity: .7; animation-delay: -6s; }
.warm i:nth-child(3) { width: 260px; height: 260px; background: #fff0dc; right: 24%; top: 10%; opacity: .55; animation-delay: -10s; }
.app-story { height: 280vh; position: relative; }
.app-pin { position: sticky; top: 84px; height: calc(100vh - 100px); height: calc(100svh - 100px); min-height: 560px; }
.app-pin .warm { height: 100%; display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 32px; padding: clamp(24px, 4vw, 56px); }
.app-copy { position: relative; z-index: 1; color: #fff; display: grid; gap: 20px; max-width: 460px; }
.app-copy .eyebrow { color: rgba(255,255,255,.85); } .app-copy .eyebrow::before { background: #fff; }
.app-copy .lead { color: rgba(255,255,255,.92); }
.checks { display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: center; font-weight: 500; opacity: 0; transform: translateX(-12px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--i) * 120ms); }
.checks li::before { content: '✓'; width: 24px; height: 24px; border-radius: 50%; background: rgba(255,255,255,.22); display: grid; place-items: center; font-size: 13px; font-weight: 800; flex-shrink: 0; }
.app-story.go .checks li { opacity: 1; transform: none; }
.app-phone-wrap { position: relative; z-index: 1; display: grid; place-items: center; }
.chart { flex: 1; position: relative; min-height: 0; }
.chart svg { width: 100%; height: 100%; overflow: visible; }
.draw { stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--p, 0)); fill: none; stroke-linecap: round; stroke-linejoin: round; }
.chart-tip { position: absolute; background: #fff; font-size: 10px; font-weight: 700; padding: 5px 9px; border-radius: var(--r-pill); box-shadow: var(--shadow-md); white-space: nowrap; opacity: 0; transform: scale(.8) translateY(6px); transition: opacity .5s var(--ease), transform .5s var(--ease); font-family: var(--f-ui); }
.chart-tip.show { opacity: 1; transform: none; }
.chart-grid line { stroke: #ececec; stroke-width: 1; }

/* ───── Tarjetas generales ───── */
.card { background: var(--surface); border-radius: var(--r-card); padding: 28px; box-shadow: var(--shadow-sm); border: 1px solid rgba(0,0,0,.04); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card h3, .card h2 { font-size: 20px; letter-spacing: -.03em; margin-bottom: 8px; line-height: 1.15; }
.card p { font-size: 15px; color: var(--muted); }
.ico { width: 48px; height: 48px; border-radius: 14px; background: #fff4ef; color: var(--accent); display: grid; place-items: center; margin-bottom: 18px; }
.ico svg, .icon { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.reward { text-align: left; }
.reward .ex { font-family: var(--f-mono); font-size: 11px; color: var(--accent); margin-top: 14px; }
.callout { margin-top: 28px; background: var(--ink); color: #fff; border-radius: var(--r-card); padding: clamp(24px, 4vw, 40px); display: flex; gap: 28px; align-items: center; flex-wrap: wrap; position: relative; overflow: hidden; }
.callout::after { content: ''; position: absolute; width: 360px; height: 360px; right: -80px; top: -140px; background: radial-gradient(circle, rgba(232,71,42,.5), transparent 70%); }
.callout > * { position: relative; z-index: 1; }
.callout .ico { background: rgba(255,255,255,.1); color: var(--accent-2); margin: 0; }
.callout .tag { font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-2); }
.callout h3 { font-size: 24px; margin: 6px 0; } .callout p { color: #b5b5b5; font-size: 15px; max-width: 640px; }
.callout .btn-ghost { background: transparent; color: #fff; border-color: #444; margin-left: auto; }
.callout .btn-ghost:hover { background: #fff; color: var(--ink); }

/* ───── Formulario lista de espera ───── */
.waitlist { padding: clamp(72px, 10vw, 140px) 0; position: relative; overflow: clip; }
.waitlist .glow { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.waitlist .glow i { position: absolute; border-radius: 50%; filter: blur(90px); animation: drift 15s ease-in-out infinite alternate; }
.waitlist .glow i:nth-child(1) { width: 520px; height: 520px; left: 10%; top: 10%; background: var(--accent-soft); opacity: .7; }
.waitlist .glow i:nth-child(2) { width: 460px; height: 460px; right: 8%; bottom: 0; background: #ffc9a8; opacity: .55; animation-delay: -7s; }
.wl-card { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; background: rgba(255,255,255,.86); backdrop-filter: blur(20px); border-radius: 32px; padding: clamp(28px, 5vw, 56px); box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.9); text-align: center; }
.wl-card .eyebrow { margin-bottom: 14px; } .wl-card .lead { margin: 14px auto 28px; }
.form-card { display: grid; gap: 14px; text-align: left; }
.form-card.boxed { background: var(--surface); border-radius: var(--r-card); padding: clamp(22px, 3vw, 32px); box-shadow: var(--shadow-md); border: 1px solid rgba(0,0,0,.04); }
.field { display: grid; gap: 6px; } .field label { font-size: 13px; font-weight: 600; font-family: var(--f-ui); } .field .opt { font-weight: 400; color: #999; }
.field input, .field select, .field textarea { font: inherit; font-size: 16px; padding: 14px 18px; border: 1px solid var(--border); border-radius: 14px; background: #fff; color: var(--ink); width: 100%; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(232,71,42,.12); outline: none; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); line-height: 1.5; }
.consent input { margin-top: 3px; accent-color: var(--accent); flex-shrink: 0; } .consent a { color: var(--ink); text-decoration-thickness: 1px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { font-size: 14px; font-weight: 600; min-height: 1.2em; } .form-status.ok { color: var(--positive); } .form-status.err { color: #c23b3b; }
.form-note { font-size: 12px; color: #999; }
.form-card .btn { width: 100%; }

/* ───── Partículas (datos → puntos) ───── */
.dots-sec { padding: clamp(72px, 10vw, 140px) 0 0; }
.dots-canvas { width: 100%; height: clamp(320px, 46vw, 460px); display: block; }
.benefit { text-align: left; }

/* ───── Contexto / por qué funciona ───── */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.pills { display: grid; gap: 14px; margin-top: 32px; }
.pill { display: flex; gap: 16px; background: var(--surface); border-radius: var(--r-panel); padding: 20px; box-shadow: var(--shadow-sm); border: 1px solid rgba(0,0,0,.04); transition: transform .4s var(--ease); }
.pill:hover { transform: translateX(6px); } .pill .ico { margin: 0; flex-shrink: 0; width: 44px; height: 44px; }
.pill h3 { font-size: 16px; margin-bottom: 4px; letter-spacing: -.02em; } .pill p { font-size: 14px; color: var(--muted); }
.dark-card { background: var(--ink); color: #fff; border-radius: 32px; padding: clamp(28px, 4vw, 48px); position: relative; overflow: hidden; box-shadow: var(--shadow-lg); }
.dark-card::before { content: ''; position: absolute; width: 420px; height: 420px; right: -120px; top: -160px; background: radial-gradient(circle, rgba(232,71,42,.55), transparent 70%); }
.dark-card > * { position: relative; }
.dark-card .tag { font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-2); }
.dark-card h3 { font-size: clamp(26px, 3vw, 36px); margin: 12px 0; } .dark-card > p { color: #aaa; font-size: 15px; }
.mini-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 28px 0 14px; }
.mini-stats div { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); border-radius: var(--r-panel); padding: 16px; }
.mini-stats b { font-family: var(--f-display); font-size: 30px; letter-spacing: -.04em; color: var(--accent-2); display: block; }
.mini-stats span { font-size: 12px; color: #999; line-height: 1.4; display: block; margin-top: 4px; }
.dark-card .fine { color: #777; }

/* ───── ROI ───── */
.roi { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.roi .stat-num.big { font-size: clamp(44px, 6vw, 72px); }
.roi .lab { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; display: block; }
.roi-text { max-width: 640px; margin: 36px auto 0; text-align: center; font-size: 18px; color: var(--muted); } .roi-text strong { color: var(--ink); }

/* ───── Co-creación ───── */
.cocreate .card-big { background: var(--surface); border-radius: 32px; box-shadow: var(--shadow-md); padding: clamp(28px, 5vw, 64px); display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; overflow: hidden; position: relative; border: 1px solid rgba(0,0,0,.04); }
.cocreate .art { position: relative; height: 260px; display: grid; place-items: center; }
.cocreate .art .orb { position: absolute; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #ffd9c7, var(--accent-2) 55%, var(--accent)); filter: blur(2px); box-shadow: 0 40px 80px -20px rgba(232,71,42,.5); animation: floaty 7s ease-in-out infinite; }
.cocreate .art .ring { position: absolute; width: 330px; height: 330px; border-radius: 50%; border: 1px solid rgba(232,71,42,.3); animation: spin 28s linear infinite; }
.cocreate .art .ring::after { content: ''; position: absolute; top: -6px; left: 50%; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }
@keyframes spin { to { transform: rotate(360deg); } }
.cocreate .btn { margin-top: 24px; }

/* ───── Timeline "Un mes con Rewalk" ───── */
.tl { position: relative; }
.tl-svg { width: 100%; height: 190px; overflow: visible; }
.tl-svg .rail { fill: none; stroke: #e0ddd8; stroke-width: 2; stroke-dasharray: 2 7; stroke-linecap: round; }
.tl-svg .draw { stroke: url(#tlg); stroke-width: 3; }
.tl-node { fill: #fff; stroke: #cfcac3; stroke-width: 2; transition: fill .4s, stroke .4s, r .4s var(--ease); }
.tl-node.on { fill: var(--accent); stroke: #fff; r: 11; }
.tl-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin-top: -8px; }
.tl-item { opacity: .35; transform: translateY(10px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.tl-item.on { opacity: 1; transform: none; }
.tl-item .when { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.tl-item h3 { font-size: 18px; margin: 8px 0; line-height: 1.15; } .tl-item p { font-size: 14px; color: var(--muted); }

/* ───── Cierre ───── */
.closing { text-align: center; padding: clamp(72px, 10vw, 120px) 0 clamp(48px, 6vw, 80px); }
.closing h2 { margin-bottom: 32px; }

/* ───── Footer degradado ───── */
.site-footer { margin: 0 12px 12px; border-radius: 32px; padding: clamp(32px, 5vw, 64px); position: relative; overflow: hidden; background: linear-gradient(120deg, #ffe3d6 0%, #ffc9a8 45%, #ffb594 100%); }
.site-footer::before { content: ''; position: absolute; width: 520px; height: 520px; left: 30%; top: -260px; background: radial-gradient(circle, rgba(255,255,255,.7), transparent 68%); animation: drift 14s ease-in-out infinite alternate; }
.footer-top { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-bottom: 32px; border-bottom: 1px solid rgba(0,0,0,.1); }
.footer-cols { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding: 40px 0; }
.footer-h { font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.footer-cols ul { display: grid; gap: 14px; } .footer-cols a { font-family: var(--f-ui); font-weight: 600; font-size: 15px; text-decoration: none; } .footer-cols a:hover { text-decoration: underline; }
.footer-bottom { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid rgba(0,0,0,.1); font-family: var(--f-ui); font-size: 14px; font-weight: 500; }
.social-ph { font-family: var(--f-mono); font-size: 11px; opacity: .6; }

/* ───── Páginas interiores ───── */
.page-hero { padding: 150px 0 40px; text-align: center; position: relative; overflow: clip; }
.page-hero .glow { position: absolute; width: 560px; height: 560px; left: 50%; top: 40px; translate: -50% 0; border-radius: 50%; background: radial-gradient(circle, var(--accent-soft), transparent 70%); filter: blur(40px); opacity: .8; pointer-events: none; }
.page-hero .container { position: relative; }
.page-hero h1 { font-size: clamp(36px, 5.4vw, 64px); margin: 16px auto; max-width: 820px; } .page-hero .lead { margin-inline: auto; }
.prose-sec { padding: clamp(32px, 5vw, 64px) 0 clamp(56px, 8vw, 100px); }
.faq-list { display: grid; gap: 12px; }
.faq-item { background: var(--surface); border-radius: var(--r-card); padding: 28px 32px; box-shadow: var(--shadow-sm); border: 1px solid rgba(0,0,0,.04); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.faq-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.faq-item h2, .faq-item h3 { font-size: 20px; letter-spacing: -.03em; margin-bottom: 10px; line-height: 1.2; } .faq-item p { color: var(--muted); }
.cta-strip { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 32px; font-family: var(--f-display); font-weight: 800; font-size: 24px; letter-spacing: -.03em; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact-grid p { color: var(--muted); margin-bottom: 14px; } .h2-sm { font-size: clamp(24px, 3vw, 32px); margin-bottom: 14px; }
.contact-list, .check-list { display: grid; gap: 12px; margin-top: 20px; color: var(--muted); font-size: 15px; }
.contact-list a { color: var(--ink); } .check-list li { padding-left: 28px; position: relative; } .check-list li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 40px; }
.ph { border: 1.5px dashed #cfc9c0; border-radius: var(--r-panel); padding: 28px; text-align: center; color: #8a847b; font-family: var(--f-mono); font-size: 13px; background: rgba(255,255,255,.5); }
.ph-list { list-style: none; text-align: left; display: grid; gap: 10px; }
.legal { padding: 150px 0 80px; }
.legal .container { background: var(--surface); border-radius: var(--r-card); padding: clamp(24px, 5vw, 56px); box-shadow: var(--shadow-sm); }
.legal h1, .legal-h1 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 8px; }
.legal h2 { font-size: 20px; letter-spacing: -.02em; margin: 36px 0 10px; }
.legal p, .legal li { font-size: 15px; color: #333; line-height: 1.75; margin-bottom: 10px; } .legal ul { padding-left: 20px; list-style: disc; margin-bottom: 10px; }
.legal a { color: var(--accent); } .legal .updated { font-size: 13px; color: #888; margin-bottom: 28px; }
.legal .highlight { background: #fff4ef; border-left: 4px solid var(--accent); padding: 16px 20px; border-radius: 0 12px 12px 0; margin: 24px 0; }
.legal table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 16px 0 24px; display: block; overflow-x: auto; }
.legal th { background: var(--ink); color: #fff; text-align: left; padding: 10px 14px; } .legal td { border-bottom: 1px solid #eee; padding: 10px 14px; vertical-align: top; }

/* ───── Responsive ───── */
@media (max-width: 1000px) {
  .nav-links { display: none; } .nav-burger { display: inline-flex; } .nav-right .btn { display: none; }
  .stat-grid { grid-template-columns: 1fr 1fr; } .grid-4 { grid-template-columns: 1fr 1fr; } .grid-3, .card-grid, .roi { grid-template-columns: 1fr; }
  .why, .contact-grid, .cocreate .card-big { grid-template-columns: 1fr; }
  .tl-grid { grid-template-columns: 1fr 1fr; } .tl-svg { display: none; } .tl-item { opacity: 1; transform: none; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .float-chip { display: none; }
}
@media (max-width: 860px) {
  .story, .app-story { height: 260vh; }
  .story-pin, .app-pin { top: 76px; height: calc(100vh - 88px); height: calc(100svh - 88px); min-height: 0; }
  .story-card, .app-pin .warm { grid-template-columns: 1fr; grid-template-rows: auto 1fr; align-content: start; padding: 18px; gap: 4px; }
  .story-phone, .app-phone-wrap { zoom: .62; }
  .app-copy { padding-bottom: 14px; }
  .app-pin .warm { grid-template-rows: auto auto; } .app-copy { order: -1; gap: 10px; } .app-copy .lead, .checks { display: none; }
  .step-item { padding: 10px 0; } .step-item h3 { font-size: 18px; }
}
@media (max-width: 560px) {
  .stat-grid, .grid-4, .tl-grid, .footer-cols, .metric-grid { grid-template-columns: 1fr; } .metric-grid { grid-template-columns: 1fr 1fr 1fr; gap: 8px; } .metric { padding: 10px; }
  .callout .btn-ghost { margin-left: 0; } .hero-cta .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; filter: none; }
}

.ui-hero { background: linear-gradient(110deg, var(--accent), var(--accent-2)); color: #fff; border-radius: 16px; padding: 14px 16px; display: grid; gap: 2px; }
.ui-hero small { font-size: 11px; opacity: .9; } .ui-hero b { font-family: var(--f-display); font-size: 40px; letter-spacing: -.05em; line-height: 1; }

.rules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 20px; }
.rule { background: #fff4ef; border: 1px solid #ffd3c4; border-radius: var(--r-panel); padding: 20px 22px; display: grid; gap: 6px; }
.rule b { font-family: var(--f-display); font-size: 17px; letter-spacing: -.02em; }
.rule span { font-size: 14px; color: var(--muted); }
@media (max-width: 1000px) { .rules { grid-template-columns: 1fr; } }

/* ───── Hero: composición con profundidad ───── */
.hero-stage { position: relative; z-index: 1; max-width: 1120px; margin: 0 auto 90px; perspective: 1600px; }
.hero-card { position: relative; height: clamp(440px, 49vw, 580px); border-radius: 32px; background: radial-gradient(90% 120% at 18% 55%, #3a1b10 0%, #140d0b 55%, #0a0a0a 100%); box-shadow: var(--shadow-lg); transform: rotateX(calc((1 - var(--hp, 0)) * 7deg)) translateY(calc(var(--hp, 0) * -20px)); transform-origin: 50% 100%; will-change: transform; --mx: 0; --my: 0; }
.hero-bg { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; }
.hero-bg::before { content: ''; position: absolute; width: 70%; aspect-ratio: 1; left: -12%; top: 50%; translate: 0 -50%; border-radius: 50%; background: radial-gradient(circle, rgba(232,71,42,.55), transparent 65%); filter: blur(30px); animation: glowpulse 5s ease-in-out infinite alternate; }
.hero-bg::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); background: linear-gradient(90deg, transparent 55%, rgba(10,10,10,.65)); }
.hero-bg img { position: absolute; left: 0; top: 50%; translate: 0 -50%; height: 104%; width: auto; max-width: none; transform: scaleX(-1) translate(calc(var(--mx) * 14px), calc(var(--my) * -10px)); filter: drop-shadow(0 0 40px rgba(232,71,42,.55)); transition: transform .3s ease-out; }
@keyframes glowpulse { from { opacity: .7; scale: 1; } to { opacity: 1; scale: 1.12; } }
.pf { position: absolute; z-index: 3; transform: translate(calc(var(--mx) * var(--k) * 1px), calc(var(--my) * var(--k) * 1px)); transition: transform .25s ease-out; }
.pf-phone { right: 9%; bottom: -78px; }
.pf-r1 { right: 3%; top: 10%; } .pf-r2 { right: 26%; bottom: 8%; }
.hero-phone { zoom: .92; box-shadow: 0 0 0 2px #2b2b2b, 0 40px 80px -16px rgba(0,0,0,.6), 0 80px 120px -40px rgba(232,71,42,.6); }
.hero-ring { width: 128px; height: 128px; } .hero-ring b { flex-direction: column; font-size: 22px; line-height: 1; } .hero-ring small { font-size: 10px; color: #9a9a9a; margin-top: 2px; }
.hero-ring .ring-fg { stroke-dashoffset: 1; animation: ringfill 2.2s .8s var(--ease) forwards; }
@keyframes ringfill { to { stroke-dashoffset: .2; } }
.hero-phone { transform: none; }
.float-chip { position: static; background: rgba(255,255,255,.92); }
.float-chip.toast { display: flex; gap: 12px; align-items: center; background: #fff; }
.float-chip .dot { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; display: grid; place-items: center; font-weight: 800; flex-shrink: 0; }
.float-chip.toast b { font-size: 15px; }
@media (max-width: 860px) {
  .hero-stage { margin-bottom: 90px; }
  .hero-card { height: 460px; }
  .hero-bg img { height: 70%; left: -14%; top: 32%; }
  .pf-phone { right: 50%; translate: 50% 0; bottom: -60px; }
  .hero-phone { zoom: .7; }
  .pf { display: none; } .pf.pf-phone { display: block; }
}
@media (prefers-reduced-motion: reduce) { .hero-ring .ring-fg { animation: none; stroke-dashoffset: .2; } }
.hero-ring b { display: flex; align-items: center; justify-content: center; }

/* ───── Hero v3: escena de producto (sin recuadro oscuro) ───── */
.hero-card { background: none; box-shadow: none; height: clamp(500px, 52vw, 600px); }
.hero-card .hero-bg, .hero-bg { display: none; }
.pf-win { left: 0; top: 36px; width: 66%; }
.hero-win { transform: perspective(1600px) rotateY(7deg) rotateX(3deg); transform-origin: 0 50%; will-change: auto; text-align: left; }
.hero-win .window-body { gap: 12px; padding: 20px; }
.hero-win .hero-metric b { font-size: 44px; }
.hero-win .metric b { font-size: 22px; }
.pf-phone { right: 7%; bottom: -70px; }
.hero-phone { box-shadow: 0 0 0 2px #2b2b2b, 0 40px 80px -16px rgba(0,0,0,.45), 0 80px 120px -40px rgba(232,71,42,.55); }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 70px; padding-top: 6px; }
.bars i { flex: 1; height: var(--h); background: linear-gradient(#ff8b5e, #E8472A); border-radius: 6px 6px 2px 2px; transform-origin: bottom; animation: grow 1.1s var(--ease) both; animation-delay: calc(.7s + var(--i) * 70ms); }
@keyframes grow { from { transform: scaleY(0); } }
@media (max-width: 860px) { .pf-win { display: none; } }

/* ───── Lo que ofrece: tarjetas apiladas ───── */
.offers { padding: clamp(72px, 10vw, 130px) 0 clamp(72px, 10vw, 130px); }
.offer-stack { display: grid; gap: 28px; }
.offer { position: sticky; top: calc(96px + var(--i) * 22px); min-height: 460px; border-radius: 36px; padding: clamp(28px, 5vw, 64px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; box-shadow: var(--shadow-md); overflow: hidden; transform: scale(var(--sc, 1)); transform-origin: 50% 0; transition: transform .15s linear; border: 1px solid rgba(0,0,0,.04); }
.c-white { background: #fff; }
.c-peach { background: linear-gradient(135deg, #fff3ec, #ffd9c7); }
.c-coral { background: linear-gradient(135deg, #ff9a62, #E8472A 95%); color: #fff; box-shadow: var(--shadow-lg); }
.offer::after { content: ''; position: absolute; width: 380px; height: 380px; right: -100px; bottom: -140px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.55), transparent 70%); pointer-events: none; }
.c-white::after { background: radial-gradient(circle, var(--accent-soft), transparent 70%); }
.offer-n { font-family: var(--f-mono); font-size: 13px; letter-spacing: .14em; color: var(--accent); }
.c-coral .offer-n { color: rgba(255,255,255,.85); }
.offer h3 { font-size: clamp(30px, 4vw, 52px); letter-spacing: -.04em; margin: 14px 0 16px; line-height: 1; }
.offer p { font-size: clamp(15px, 1.5vw, 18px); color: var(--muted); max-width: 460px; }
.c-coral p { color: rgba(255,255,255,.92); }
.offer-vis { position: relative; z-index: 1; }
.sports { display: flex; flex-wrap: wrap; gap: 10px; }
.sport { display: inline-flex; align-items: center; gap: 8px; background: #f7f5f2; border: 1px solid var(--border); border-radius: var(--r-pill); padding: 12px 18px; font-family: var(--f-ui); font-weight: 600; font-size: 15px; transition: transform .4s var(--ease), background .3s; }
.sport .icon { color: var(--accent); }
.sport:hover { transform: translateY(-4px) rotate(-2deg); background: #fff4ef; }
.sport.more { background: var(--ink); color: #fff; border-color: var(--ink); }
.board { display: grid; gap: 12px; }
.lb { display: grid; grid-template-columns: 34px 1fr 54px; grid-template-areas: "rk n p" "rk bar p"; gap: 4px 12px; align-items: center; background: rgba(255,255,255,.8); backdrop-filter: blur(8px); border-radius: 18px; padding: 16px 18px; box-shadow: var(--shadow-sm); }
.lb .rk { grid-area: rk; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-family: var(--f-mono); font-size: 13px; }
.lb b { grid-area: n; font-family: var(--f-ui); font-size: 15px; } .lb em { grid-area: p; font-style: normal; font-family: var(--f-mono); font-size: 13px; text-align: right; color: var(--accent); }
.lb-bar { grid-area: bar; height: 8px; border-radius: 8px; background: #f0e6e0; overflow: hidden; }
.lb-bar i { display: block; height: 100%; width: var(--w); background: linear-gradient(90deg, var(--accent), var(--accent-2)); border-radius: 8px; transform-origin: left; transform: scaleX(var(--g, 0)); transition: transform 1.2s var(--ease); }
.offer.live .lb-bar i { --g: 1; }
.tickets { display: grid; gap: 12px; }
.ticket { display: flex; justify-content: space-between; align-items: center; gap: 16px; background: #fff; color: var(--ink); border-radius: 18px; padding: 18px 22px; box-shadow: 0 14px 30px -14px rgba(120,20,0,.5); position: relative; transition: transform .5s var(--ease); }
.ticket:nth-child(2) { margin-left: 24px; } .ticket:nth-child(3) { margin-left: 8px; }
.ticket:hover { transform: translateX(8px) rotate(-1deg); }
.ticket::before, .ticket::after { content: ''; position: absolute; top: 50%; width: 16px; height: 16px; border-radius: 50%; background: #f3733f; translate: 0 -50%; }
.ticket::before { left: -8px; } .ticket::after { right: -8px; }
.ticket b { font-family: var(--f-display); font-size: 18px; letter-spacing: -.02em; display: block; } .ticket small { color: var(--muted); font-size: 13px; }
.ticket span { font-family: var(--f-mono); font-weight: 500; color: var(--accent); white-space: nowrap; }
@media (max-width: 860px) {
  .offer { grid-template-columns: 1fr; min-height: 0; top: calc(84px + var(--i) * 14px); }
  .ticket:nth-child(n) { margin-left: 0; }
}

@media (max-width: 860px) {
  .hero-card { height: 380px; }
  .pf-phone { right: 50%; translate: 50% 0; bottom: -60px; }
  .hero-phone { zoom: .7; }
}

/* ───── Hero v4: foto + app (más limpio) ───── */
.hero-card { height: clamp(420px, 44vw, 520px); }
.hero-photo { position: absolute; inset: 0; border-radius: 32px; overflow: hidden; box-shadow: var(--shadow-lg); background: linear-gradient(135deg, #ffb48a 0%, #ff7a4a 45%, #E8472A 100%); }
.hero-photo::before { content: ''; position: absolute; width: 60%; aspect-ratio: 1; left: -10%; top: -30%; border-radius: 50%; background: radial-gradient(circle, rgba(255,240,220,.85), transparent 65%); filter: blur(30px); animation: drift 12s ease-in-out infinite alternate; }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.04 + var(--hp, 0) * .06)) translate(calc(var(--mx) * -8px), calc(var(--my) * -6px)); transition: transform .3s ease-out; }
.hero-photo::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.15); background: linear-gradient(90deg, rgba(0,0,0,0) 50%, rgba(0,0,0,.18)); pointer-events: none; }
.photo-ph { position: absolute; left: 24px; bottom: 20px; font-family: var(--f-mono); font-size: 11px; color: rgba(255,255,255,.85); max-width: 40%; text-align: left; z-index: 1; }
.hero-photo img + .photo-ph { display: none; }
.pf-phone { right: 8%; bottom: -70px; }
@media (max-width: 860px) { .hero-card { height: 340px; } .photo-ph { display: none; } .hero-photo { border-radius: 26px; } }

/* ───── ROI con datos ───── */
.roi-divider { display: flex; align-items: center; gap: 20px; margin: clamp(40px, 6vw, 72px) 0 28px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.roi-divider::before, .roi-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }

/* ───── Fiscalidad: bloque oscuro que rompe el ritmo ───── */
.fiscal { margin: clamp(40px, 6vw, 80px) 12px 0; border-radius: 36px; background: var(--ink); color: #fff; padding: clamp(56px, 8vw, 110px) 0; position: relative; overflow: hidden; }
.fiscal::before { content: ''; position: absolute; width: 700px; height: 700px; left: 50%; top: -360px; translate: -50% 0; border-radius: 50%; background: radial-gradient(circle, rgba(232,71,42,.35), transparent 65%); filter: blur(20px); pointer-events: none; }
.fiscal .container { position: relative; }
.fiscal .h-lg { color: #fff; } .fiscal .lead { color: #a9a39c; } .fiscal .eyebrow { color: #b5afa8; }
.fiscal .card { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.1); box-shadow: none; backdrop-filter: blur(8px); }
.fiscal .card h3 { color: #fff; } .fiscal .card p { color: #a9a39c; }
.fiscal .ico { background: rgba(232,71,42,.18); color: #ff8b5e; }
.fiscal .rule { background: rgba(232,71,42,.12); border-color: rgba(232,71,42,.35); }
.fiscal .rule b { color: #fff; } .fiscal .rule span { color: #c9c2bb; }
.fiscal + .dots-sec { padding-top: clamp(72px, 10vw, 130px); }

/* ───── Hero: variantes limpias ───── */
.hero.hv-a .hero-glow i:nth-child(n+2), .hero.hv-b .hero-glow i:nth-child(n+2), .hero.hv-c .hero-glow i:nth-child(n+2) { display: none; }
.hero.hv-a .hero-glow i:nth-child(1), .hero.hv-b .hero-glow i:nth-child(1), .hero.hv-c .hero-glow i:nth-child(1) { opacity: .28; }
.hv-a .hero-card, .hv-b .hero-card, .hv-c .hero-card { transform: none; will-change: auto; background: none; box-shadow: none; }

/* A · móvil centrado sobre fondo limpio */
.hs-a { margin-bottom: 0; max-width: 980px; }
.hs-a .hero-card { height: 470px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 78%, transparent); mask-image: linear-gradient(#000 78%, transparent); }
.a-glow { position: absolute; left: 50%; top: 46%; width: 620px; height: 620px; translate: -50% -50%; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.95), rgba(255,255,255,0) 66%); }
.pf-a { left: 50%; top: 6px; translate: -50% 0; }
.hv-a .hero-phone { zoom: 1.04; box-shadow: 0 0 0 2px #2b2b2b, 0 30px 70px -20px rgba(0,0,0,.35); }
.hv-a { padding-bottom: 0; }

.stat-num small { display: inline; margin: 0; font-family: inherit; font-weight: 700; }
@media (max-width: 860px) { .pf.pf-a, .pf.pf-b, .pf.pf-c { display: block; } }

/* ───── Hero: móvil con 3 pantallas ───── */
.hv-a .hero-phone { zoom: 1.04; }
.seg { position: absolute; top: 46px; left: 14px; right: 14px; z-index: 4; display: flex; gap: 4px; background: #efece8; border-radius: 12px; padding: 3px; }
.seg button { flex: 1; font-family: var(--f-ui); font-weight: 600; font-size: 11px; padding: 8px 4px; border: 0; border-radius: 9px; background: transparent; color: #8a847b; cursor: pointer; transition: background .3s, color .3s, box-shadow .3s; }
.seg button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.hscr { position: absolute; inset: 0; padding: 96px 16px 16px; display: flex; flex-direction: column; gap: 10px; opacity: 0; transform: translateY(14px) scale(.985); filter: blur(3px); transition: opacity .55s var(--ease), transform .55s var(--ease), filter .55s var(--ease); pointer-events: none; }
.hero-card[data-s="0"] .hscr[data-i="0"], .hero-card[data-s="1"] .hscr[data-i="1"], .hero-card[data-s="2"] .hscr[data-i="2"] { opacity: 1; transform: none; filter: none; }
.sports-row { display: flex; justify-content: space-between; gap: 6px; }
.sp { width: 44px; height: 44px; border-radius: 14px; background: #fff; border: 1px solid var(--border); display: grid; place-items: center; color: var(--accent); }
.sp:first-child { background: var(--ink); color: #fff; border-color: var(--ink); }
.hscr .board { gap: 8px; } .hscr .lb { padding: 11px 12px; grid-template-columns: 28px 1fr 44px; border: 1px solid var(--border); box-shadow: none; background: #fff; }
.hscr .lb .rk { width: 28px; height: 28px; font-size: 11px; } .hscr .lb b { font-size: 12px; } .hscr .lb em { font-size: 11px; }
.bal { font-family: var(--f-display); font-weight: 800; font-size: 40px; letter-spacing: -.05em; line-height: 1; } .bal small { font-size: 14px; color: var(--muted); letter-spacing: 0; }
.htickets { display: grid; gap: 8px; }
.hticket { display: flex; justify-content: space-between; align-items: center; background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 11px 12px; }
.hticket b { font-family: var(--f-display); font-size: 13px; letter-spacing: -.02em; display: block; } .hticket small { font-size: 10px; color: var(--muted); }
.hticket span { font-family: var(--f-mono); font-size: 11px; color: var(--accent); }
.sc { opacity: 0; transition: opacity .5s var(--ease), transform .25s ease-out; }
.hero-card[data-s="0"] .sc[data-for="0"], .hero-card[data-s="1"] .sc[data-for="1"], .hero-card[data-s="2"] .sc[data-for="2"] { opacity: 1; }
@media (max-width: 860px) { .hs-a .pf.sc { display: none; } .hv-a .hero-phone { zoom: .85; } }

/* ───── Integraciones con logo ───── */
.integ-row li { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); background: #fff; border: 1px solid var(--border); border-radius: var(--r-pill); padding: 10px 22px 10px 12px; box-shadow: var(--shadow-sm); font-size: 18px; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.integ-row li:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); color: var(--ink); }
.integ-row .lg { width: 38px; height: 38px; flex-shrink: 0; }

/* ───── ROI: tarjetas de cálculo diferenciadas ───── */
.roi.calc { margin-top: 20px; }
.roi.calc .stat { background: linear-gradient(135deg, #fff3ec, #ffd9c7); border-color: #ffd0bb; }
.roi.calc .stat:last-child { background: linear-gradient(135deg, #ff9a62, #E8472A); border-color: transparent; color: #fff; box-shadow: var(--shadow-lg); }
.roi.calc .stat:last-child .lab, .roi.calc .stat:last-child p { color: rgba(255,255,255,.9); } .roi.calc .stat:last-child .stat-num small { color: rgba(255,255,255,.8) !important; }

@media (max-width: 860px) { .fiscal { margin-left: 8px; margin-right: 8px; border-radius: 28px; } }

/* ───── Footer mínimo (como el real de rewalk.es) ───── */
.site-footer.min { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: clamp(28px, 4vw, 44px) clamp(24px, 5vw, 56px); }
.site-footer.min > * { position: relative; }
.footer-links { display: flex; gap: 28px; }
.footer-links a { font-family: var(--f-ui); font-weight: 600; font-size: 15px; text-decoration: none; color: var(--ink); }
.footer-links a:hover { text-decoration: underline; }
@media (max-width: 560px) { .site-footer.min { flex-direction: column; align-items: flex-start; } }


/* ═══════════ Rendimiento de scroll ═══════════ */
/* 1) Sin desenfoque en las animaciones de entrada: solo opacidad + transform (compositor) */
[data-reveal] { filter: none; transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 80ms); }
.scr, .hscr { filter: none; }
.cocreate .art .orb { filter: none; }

/* 2) Resplandores: degradado radial en lugar de filter: blur() (mismo aspecto, sin coste por fotograma) */
.hero-glow i, .waitlist .glow i, .warm i, .hero-bg::before, .hero-photo::before, .story-card::before, .panel-wrap::before, .fiscal::before, .page-hero .glow { filter: none; }
.hero-glow i:nth-child(1) { background: radial-gradient(circle, rgba(255,217,199,.9), rgba(255,217,199,0) 68%); }
.hero-glow i:nth-child(2) { background: radial-gradient(circle, rgba(255,201,168,.8), rgba(255,201,168,0) 68%); }
.hero-glow i:nth-child(3) { background: radial-gradient(circle, rgba(255,208,196,.8), rgba(255,208,196,0) 68%); }
.waitlist .glow i:nth-child(1) { background: radial-gradient(circle, rgba(255,217,199,.9), rgba(255,217,199,0) 68%); }
.waitlist .glow i:nth-child(2) { background: radial-gradient(circle, rgba(255,201,168,.8), rgba(255,201,168,0) 68%); }
.warm i:nth-child(1) { background: radial-gradient(circle, rgba(255,217,168,.95), rgba(255,217,168,0) 68%); }
.warm i:nth-child(2) { background: radial-gradient(circle, rgba(255,90,58,.85), rgba(255,90,58,0) 68%); }
.warm i:nth-child(3) { background: radial-gradient(circle, rgba(255,240,220,.8), rgba(255,240,220,0) 68%); }

/* 3) Menos cristal: solo la barra de navegación lo conserva */
.nav { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); background: rgba(255,255,255,.86); }
.btn-ghost, .float-chip, .lb, .fiscal .card, .wl-card { backdrop-filter: none; -webkit-backdrop-filter: none; }
.float-chip { background: rgba(255,255,255,.96); }
.wl-card { background: rgba(255,255,255,.94); }
.lb { background: rgba(255,255,255,.92); }
.btn-ghost { background: rgba(255,255,255,.85); }

/* 4) Movimiento controlado por JS: sin variables CSS ni transiciones que compitan */
.phone { transform: none; transition: none; }
.ring-fg { transition: none; }
.story-bar { width: 100%; transform-origin: left center; transform: scaleX(0); }
.offer { transition: none; will-change: transform; }
.window { will-change: transform; }
.pf { transform: none; transition: none; }

/* 5) Pausar animaciones infinitas cuando la sección no se ve */
.off *, .off *::before, .off *::after, .off::before, .off::after { animation-play-state: paused !important; }

/* 6) Aislar repintados */
.story-card, .app-pin .warm { contain: layout paint; }
.story-card, .app-pin .warm, .offer, .hero-card, .window { isolation: isolate; }

/* Cierre: titular más contenido para que respire en dos líneas */
.closing h2.h-xl { font-size: clamp(30px, 4.4vw, 56px); line-height: 1.06; text-wrap: balance; max-width: 980px; margin-left: auto; margin-right: auto; }


/* ───── Selector de idioma ───── */
.lang-sw { display: flex; gap: 2px; background: #efece8; border-radius: var(--r-pill); padding: 3px; margin-right: 4px; }
.lang-sw a { display: grid; place-items: center; padding: 6px 9px; opacity: .55; filter: saturate(.7); border-radius: var(--r-pill); color: #8a847b; text-decoration: none; transition: background .25s, color .25s; }
.lang-sw a:hover { opacity: 1; filter: none; }
.lang-sw .flag { width: 20px; height: 20px; display: block; border-radius: 50%; box-shadow: 0 0 0 1px rgba(0,0,0,.12); }
.lang-sw a[aria-current] { opacity: 1; filter: none; background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
@media (max-width: 1000px) { .nav-right .btn { display: none; } .lang-sw { margin-right: 0; } }


/* ───── 404 bilingüe ───── */
.page-hero.nf { padding-bottom: clamp(64px, 9vw, 120px); }
.nf .eyebrow { margin-bottom: 28px; }
.nf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 72px); text-align: left; max-width: 980px; margin: 0 auto; }
.nf-col { background: var(--surface); border-radius: var(--r-card); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-md); border: 1px solid rgba(0,0,0,.04); }
.nf-col h1, .nf-col h2 { font-size: clamp(28px, 3.4vw, 40px); margin: 0 0 12px; }
.nf-col .lead { margin: 0 0 24px; }
.nf-cta { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 860px) { .nf-grid { grid-template-columns: 1fr; } }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
