﻿/* ═══════════════════════════════════════════════════════════════
   IronBase — Web pública (ironbase.fit)
   Oscuro, metálico y con brillos de color de cada gimnasio. Capturas
   reales de la app (web/assets/shots, dev/capture-web-shots.mjs).
═══════════════════════════════════════════════════════════════ */
:root {
  --bg: #050507; --bg2: #0b0b10; --card: rgba(255,255,255,.035); --line: rgba(255,255,255,.08); --line2: rgba(255,255,255,.14);
  --txt: #f4f4f6; --txt2: rgba(244,244,246,.66); --txt3: rgba(244,244,246,.44);
  --silver: linear-gradient(180deg, #ffffff 0%, #d8d9e0 45%, #8e8f99 100%);
  --orange: #ff5a1f; --blue: #3b82f6; --gold: #d4a843; --green: #34d399;
  --brand: var(--orange);
  --r: 28px; --max: 1240px;
  --ease: cubic-bezier(.2,.8,.2,1);
  --display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; overflow-x: clip; }
body { overflow-x: clip; margin: 0; background: var(--bg); color: var(--txt); font-family: 'Inter', system-ui, -apple-system, sans-serif; font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: rgba(255,90,31,.35); }
.skip { position: absolute; left: -9999px; top: 12px; z-index: 100; padding: 10px 14px; border-radius: 10px; background: #fff; color: #000; }
.skip:focus { left: 12px; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 8px; }
.grain { position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ── Botones ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 24px; border-radius: 99px; text-decoration: none; font-weight: 700; font-size: 15.5px; letter-spacing: -.01em; border: 1px solid transparent; cursor: pointer; transition: transform .2s var(--ease), box-shadow .3s, background .2s, border-color .2s; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(.98); }
.btn-light { color: #0a0a0d; background: linear-gradient(180deg, #ffffff, #d9dae2); box-shadow: 0 18px 50px rgba(255,255,255,.12), inset 0 -2px 0 rgba(0,0,0,.12); }
.btn-light:hover { box-shadow: 0 22px 60px rgba(255,255,255,.2), inset 0 -2px 0 rgba(0,0,0,.12); }
.btn-ghost { color: var(--txt); background: rgba(255,255,255,.05); border-color: var(--line2); backdrop-filter: blur(12px); }
.btn-ghost:hover { background: rgba(255,255,255,.09); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 13.5px; }
.btn-wide { width: 100%; }

/* ── Navegación ── */
.nav { position: fixed; top: 14px; left: 50%; z-index: 50; width: min(calc(100% - 28px), 1180px); transform: translateX(-50%); display: flex; align-items: center; gap: 20px;
  padding: 10px 10px 10px 16px; border-radius: 99px; background: rgba(12,12,16,.55); border: 1px solid var(--line); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); transition: background .3s, border-color .3s; }
.nav.is-scrolled { background: rgba(10,10,14,.82); border-color: var(--line2); }
.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; letter-spacing: -.02em; font-size: 17px; }
.nav-brand img { width: 34px; height: 34px; border-radius: 10px; }
.nav-links { display: flex; gap: 4px; margin: 0 auto; }
.nav-links a { padding: 8px 13px; border-radius: 99px; text-decoration: none; font-size: 14px; font-weight: 550; color: var(--txt2); transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--txt); background: rgba(255,255,255,.06); }
.nav-cta { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav-login { padding: 8px 12px; font-size: 14px; font-weight: 600; text-decoration: none; color: var(--txt2); }
.nav-login:hover { color: var(--txt); }
.nav-menu { display: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line2); background: rgba(255,255,255,.05); cursor: pointer; position: relative; }
.nav-menu i { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--txt); transition: transform .25s var(--ease), top .25s; }
.nav-menu i:first-child { top: 15px; } .nav-menu i:last-child { top: 22px; }
.nav.is-open .nav-menu i:first-child { top: 19px; transform: rotate(45deg); } .nav.is-open .nav-menu i:last-child { top: 19px; transform: rotate(-45deg); }

/* ── Tipografía común ── */
.kicker { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 18px; font-size: 12.5px; font-weight: 750; letter-spacing: .18em; text-transform: uppercase; color: var(--txt2); }
.kicker .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(52,211,153,.16); animation: pulse 2.4s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(52,211,153,0); } }
h1, h2, h3 { font-family: var(--display); margin: 0; letter-spacing: -.035em; }
h2 { font-size: clamp(36px, 5.2vw, 68px); line-height: 1.02; font-weight: 600; }
h2 .dim { color: var(--txt3); }
h3 { font-size: 21px; font-weight: 600; letter-spacing: -.02em; }
.lede { margin: 22px 0 0; max-width: 600px; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.6; color: var(--txt2); }
.shine { font-style: normal; background: linear-gradient(100deg, #8e8f99 0%, #ffffff 30%, #c9cad3 50%, #ffffff 70%, #8e8f99 100%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: shine 6s linear infinite; }
@keyframes shine { to { background-position: -220% 0; } }
.sec { position: relative; width: min(calc(100% - 40px), var(--max)); margin: 0 auto; padding: clamp(90px, 12vw, 160px) 0; }
.sec-head { max-width: 760px; }
.sec-head.center { margin: 0 auto; text-align: center; }
.sec-head.center .lede { margin-left: auto; margin-right: auto; }

/* ── Marcos: teléfono y navegador ── */
.phone { position: relative; width: 300px; aspect-ratio: 1170 / 2532; padding: 11px; border-radius: 54px;
  background: linear-gradient(145deg, #3a3b44, #121217 40%, #2a2b33 70%, #0c0c10); box-shadow: 0 0 0 1px rgba(255,255,255,.14), 0 50px 120px rgba(0,0,0,.65), 0 10px 30px rgba(0,0,0,.5), inset 0 0 0 2px rgba(0,0,0,.6); }
.phone::before { content: ''; position: absolute; top: 22px; left: 50%; z-index: 3; width: 31%; height: 26px; margin-left: -15.5%; border-radius: 20px; background: #000; }
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 43px; overflow: hidden; background: #000; }
.phone-screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transition: opacity .6s var(--ease), transform .8s var(--ease); transform: scale(1.02); }
.phone-screen img.is-on, .phone-screen img:only-child { opacity: 1; transform: none; }
.browser { position: relative; border-radius: 18px; overflow: hidden; background: #0d0d11; border: 1px solid var(--line2); box-shadow: 0 60px 140px rgba(0,0,0,.6), 0 0 0 1px rgba(0,0,0,.5); }
.browser-bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; background: linear-gradient(180deg, #1b1b22, #131318); border-bottom: 1px solid var(--line); }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: #3a3a44; }
.browser-bar i:nth-child(1) { background: #ff5f57; } .browser-bar i:nth-child(2) { background: #febc2e; } .browser-bar i:nth-child(3) { background: #28c840; }
.browser-bar span { margin: 0 auto; padding: 4px 14px; border-radius: 8px; font-size: 12px; color: var(--txt3); background: rgba(255,255,255,.05); transform: translateX(-24px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 60%; }

/* ── Hero ── */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: 40px; width: min(calc(100% - 40px), 1320px); margin: 0 auto; padding: 140px 0 90px; }
.aurora { position: absolute; inset: -10% -20%; z-index: -2; pointer-events: none; overflow: hidden; filter: blur(70px); }
.aurora i { position: absolute; border-radius: 50%; opacity: .5; animation: drift 18s var(--ease) infinite alternate; }
.aurora .a1 { width: 46vw; height: 46vw; left: 48%; top: 4%; background: radial-gradient(circle, rgba(255,90,31,.55), transparent 65%); }
.aurora .a2 { width: 40vw; height: 40vw; left: 70%; top: 38%; background: radial-gradient(circle, rgba(59,130,246,.45), transparent 65%); animation-delay: -6s; }
.aurora .a3 { width: 36vw; height: 36vw; left: 10%; top: 50%; background: radial-gradient(circle, rgba(212,168,67,.3), transparent 65%); animation-delay: -12s; }
.aurora.soft i { opacity: .28; }
@keyframes drift { to { transform: translate3d(-8%, 6%, 0) scale(1.15); } }
.hero-grid { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 72px 72px;
  -webkit-mask: radial-gradient(70% 60% at 50% 40%, #000, transparent 75%); mask: radial-gradient(70% 60% at 50% 40%, #000, transparent 75%); }
.hero-title { font-size: clamp(52px, 7.6vw, 112px); line-height: .94; font-weight: 700; letter-spacing: -.055em; }
.hero-title .line { display: block; }
.hero-title .line:first-child { background: var(--silver); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-lede { margin: 28px 0 0; max-width: 540px; font-size: clamp(17px, 1.45vw, 20px); line-height: 1.6; color: var(--txt2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 40px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--txt3); }
.hero-proof b { margin-right: 6px; font-family: var(--display); font-size: 22px; font-weight: 700; color: var(--txt); letter-spacing: -.03em; }
.hero-stage { position: relative; height: min(76vh, 720px); perspective: 1600px; }
.hero-desk { position: absolute; right: -2%; top: 6%; width: 100%; transform: rotateY(-14deg) rotateX(6deg) translateZ(-60px); transform-origin: right center; }
.hero-desk img { width: 100%; }
.hero-phone { position: absolute; left: -6%; bottom: -2%; width: clamp(220px, 20vw, 290px); transform: rotateY(10deg) rotateZ(-3deg); }
.hero-stage[data-tilt] > * { transition: transform .5s var(--ease); }
.chip { position: absolute; z-index: 4; display: flex; align-items: center; gap: 12px; padding: 11px 16px 11px 11px; border-radius: 18px; background: rgba(18,18,24,.72); border: 1px solid var(--line2);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 20px 50px rgba(0,0,0,.45); animation: float 6s ease-in-out infinite; }
.chip b { display: block; font-size: 13.5px; font-weight: 700; }
.chip small { display: block; font-size: 12px; color: var(--txt3); }
.chip-ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; font-weight: 800; font-size: 14px; }
.c-green { color: #062b1c; background: var(--green); } .c-orange { color: #2a0c00; background: var(--orange); } .c-blue { color: #04122e; background: #7cb4ff; }
.chip-a { left: 30%; top: -2%; } .chip-b { left: 46%; bottom: 20%; animation-delay: -2s; } .chip-c { right: 0; bottom: 4%; animation-delay: -4s; }
@keyframes float { 50% { transform: translateY(-10px); } }
.demo-note { position: absolute; left: 0; bottom: 26px; margin: 0; font-size: 12px; color: var(--txt3); }

/* ── Marquee ── */
.marquee { overflow: hidden; padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: linear-gradient(90deg, var(--bg), rgba(255,255,255,.02), var(--bg));
  -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; width: max-content; gap: 56px; animation: marquee 42s linear infinite; }
.marquee span { font-family: var(--display); font-size: clamp(20px, 2.2vw, 28px); font-weight: 600; letter-spacing: -.02em; color: var(--txt3); white-space: nowrap; }
.marquee span::before { content: '✦'; margin-right: 56px; font-size: .6em; color: rgba(255,255,255,.25); vertical-align: middle; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── Tu marca ── */
.brand { --brand: var(--orange); }
.brand[data-brand=vertice] { --brand: var(--blue); } .brand[data-brand=nordica] { --brand: var(--gold); }
.brand-switch { display: inline-flex; gap: 6px; margin-top: 40px; padding: 6px; border-radius: 99px; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.brand-switch button { display: inline-flex; align-items: center; gap: 9px; min-height: 42px; padding: 0 18px; border: 0; border-radius: 99px; background: none; color: var(--txt2); font-size: 14px; font-weight: 650; cursor: pointer; transition: background .25s, color .25s; }
.brand-switch button i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: 0 0 12px var(--c); }
.brand-switch button[aria-selected=true] { background: rgba(255,255,255,.1); color: var(--txt); }
.brand-stage { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(30px, 5vw, 80px); margin-top: 60px; }
.brand-glow { position: absolute; left: 0; top: 50%; width: min(520px, 100vw); height: 520px; margin-top: -260px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--brand) 40%, transparent), transparent 65%); filter: blur(40px); transition: background .6s; pointer-events: none; }
.brand-phone { width: min(300px, 24vw, calc((100vh - 120px) * .462)); }
.brand-url { position: absolute; left: 50%; bottom: -46px; transform: translateX(-50%); padding: 7px 14px; border-radius: 99px; font-size: 13px; font-weight: 650; white-space: nowrap; color: var(--txt); background: color-mix(in srgb, var(--brand) 16%, rgba(255,255,255,.04)); border: 1px solid color-mix(in srgb, var(--brand) 40%, var(--line)); transition: background .6s, border-color .6s; }
.brand-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0; padding: 0; list-style: none; }
.brand-facts li { padding: 24px; border-radius: 24px; background: var(--card); border: 1px solid var(--line); }
.brand-facts b { display: block; margin-bottom: 8px; font-family: var(--display); font-size: 22px; font-weight: 650; letter-spacing: -.02em; }
.brand-facts b[data-count] { font-size: 48px; line-height: 1; color: var(--brand); transition: color .6s; }
.brand-facts span { font-size: 14.5px; color: var(--txt2); }
.brand-splash { width: clamp(170px, 15vw, 210px); transform: rotate(4deg); opacity: .92; }

/* ── El socio: scroll narrativo ── */
.story-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; margin-top: 70px; }
.story-sticky { align-self: start; position: sticky; top: 96px; height: calc(100vh - 116px); max-height: 820px; display: grid; place-items: center; align-content: center; gap: 22px; }
.story-phone { width: min(320px, 25vw, calc((100vh - 190px) * .462)); }
.story-dots { display: flex; gap: 8px; }
.story-dots i { width: 8px; height: 8px; border-radius: 99px; background: rgba(255,255,255,.2); transition: width .3s var(--ease), background .3s; }
.story-dots i.is-on { width: 26px; background: #fff; }
.story-steps { margin: 0; padding: 0; list-style: none; }
.story-steps li { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; padding: 30px 0; opacity: .28; transition: opacity .5s var(--ease); }
.story-steps li.is-on { opacity: 1; }
.story-steps .n { font-family: var(--display); font-size: 15px; font-weight: 700; letter-spacing: .1em; color: var(--txt3); }
.story-steps h3 { margin: 12px 0 14px; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.05; letter-spacing: -.035em; }
.story-steps p { margin: 0; max-width: 460px; font-size: 18px; color: var(--txt2); }
.story-mobile { display: none; }

/* ── Compartir ── */
.share { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.share-card { position: relative; justify-self: center; width: min(100%, 380px); border-radius: 30px; overflow: hidden; box-shadow: 0 60px 140px rgba(255,90,31,.18), 0 30px 80px rgba(0,0,0,.6); border: 1px solid var(--line2); transform: rotate(-3deg); }
.share-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 40%, rgba(255,255,255,.14) 50%, transparent 60%) -100% 0 / 250% 100% no-repeat; animation: sheen 5s ease-in-out infinite; }
@keyframes sheen { 60%, 100% { background-position: 200% 0; } }
.ticks { margin: 28px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 32px; color: var(--txt2); }
.ticks li::before { content: ''; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: rgba(52,211,153,.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2334d399' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* ── Recepción ── */
.desk-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 44px auto 30px; width: max-content; max-width: 100%; padding: 6px; border-radius: 99px; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.desk-tabs button { min-height: 40px; padding: 0 16px; border: 0; border-radius: 99px; background: none; color: var(--txt2); font-size: 14px; font-weight: 650; cursor: pointer; transition: background .25s, color .25s; }
.desk-tabs button[aria-selected=true] { background: #fff; color: #0a0a0d; }
.desk-browser { max-width: 1120px; margin: 0 auto; }
.desk-screens { position: relative; aspect-ratio: 1440 / 900; }
.desk-screens img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transition: opacity .55s var(--ease); }
.desk-screens img.is-on { opacity: 1; }
.desk-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; max-width: 1120px; margin: 40px auto 0; }
.card { padding: 26px 24px; border-radius: 24px; background: var(--card); border: 1px solid var(--line); transition: border-color .3s, transform .3s var(--ease); }
.card:hover { border-color: var(--line2); transform: translateY(-3px); }
.card-ic { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px; border-radius: 14px; color: var(--orange); background: rgba(255,90,31,.1); border: 1px solid rgba(255,90,31,.22); }
.card-ic svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 18px; }
.card p { margin: 8px 0 0; font-size: 14.5px; color: var(--txt2); }

/* ── Cobros ── */
.pay-panel { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 50px 70px; padding: clamp(32px, 5vw, 70px); border-radius: 40px; overflow: hidden;
  background: radial-gradient(80% 90% at 100% 0%, rgba(52,211,153,.14), transparent 60%), radial-gradient(70% 80% at 0% 100%, rgba(59,130,246,.12), transparent 60%), linear-gradient(160deg, #101016, #09090d); border: 1px solid var(--line2); }
.pay-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-content: center; }
.pm { padding: 22px; border-radius: 22px; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.pm b { display: block; font-family: var(--display); font-size: 22px; font-weight: 650; letter-spacing: -.02em; }
.pm small { color: var(--txt3); font-size: 13px; }
.pay-list { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 26px 0 0; list-style: none; border-top: 1px solid var(--line); }
.pay-list li { font-size: 14.5px; color: var(--txt2); }
.pay-list b { display: block; color: var(--txt); font-size: 15.5px; }

/* ── Pasos ── */
.steps-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 56px 0 0; padding: 0; list-style: none; counter-reset: s; }
.steps-row li { position: relative; padding: 34px 30px; border-radius: 28px; background: var(--card); border: 1px solid var(--line); overflow: hidden; }
.steps-row span { display: block; font-family: var(--display); font-size: 76px; font-weight: 700; line-height: 1; letter-spacing: -.06em; background: var(--silver); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; opacity: .9; }
.steps-row h3 { margin: 22px 0 10px; }
.steps-row p { margin: 0; color: var(--txt2); }

/* ── FAQ ── */
.faq-list { max-width: 820px; margin: 50px auto 0; display: grid; gap: 10px; }
.faq-list details { border-radius: 20px; background: var(--card); border: 1px solid var(--line); transition: border-color .25s; }
.faq-list details[open] { border-color: var(--line2); }
.faq-list summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 24px; font-size: 17px; font-weight: 650; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-size: 20px; font-weight: 400; background: rgba(255,255,255,.06); transition: transform .3s var(--ease); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { margin: 0; padding: 0 24px 22px; color: var(--txt2); }

/* ── Demo ── */
.demo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; align-items: center; }
.demo .aurora { inset: 0 -30%; }
.demo-mail { margin-top: 26px; color: var(--txt3); }
.demo-mail a { color: var(--txt); }
.demo-form { display: grid; gap: 14px; padding: clamp(24px, 3vw, 36px); border-radius: 32px; background: rgba(14,14,19,.75); border: 1px solid var(--line2); backdrop-filter: blur(20px); box-shadow: 0 40px 100px rgba(0,0,0,.45); }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.demo-form label { display: grid; gap: 7px; }
.demo-form label > span { font-size: 13px; font-weight: 650; color: var(--txt2); }
.demo-form input, .demo-form select, .demo-form textarea { width: 100%; min-height: 52px; padding: 13px 15px; border-radius: 14px; border: 1px solid var(--line2); background: rgba(255,255,255,.04); color: var(--txt); font: inherit; font-size: 16px; outline: none; transition: border-color .2s, box-shadow .2s; color-scheme: dark; }
.demo-form textarea { resize: vertical; min-height: 96px; }
.demo-form input:focus, .demo-form select:focus, .demo-form textarea:focus { border-color: rgba(255,255,255,.5); box-shadow: 0 0 0 4px rgba(255,255,255,.08); }
.demo-form .btn { margin-top: 6px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-note { margin: 0; font-size: 12.5px; color: var(--txt3); text-align: center; }
.form-status { margin: 0; min-height: 0; font-size: 14px; text-align: center; color: var(--green); }
.form-status.is-error { color: #fca5a5; }


/* ── Aparición al desplazarse ── */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.rv.is-in { opacity: 1; transform: none; }
.hero .rv.is-in.hero-desk { transform: rotateY(-14deg) rotateX(6deg) translateZ(-60px); }
.hero .rv.is-in.hero-phone { transform: rotateY(10deg) rotateZ(-3deg); }
.hero .rv.hero-desk { transform: rotateY(-14deg) rotateX(6deg) translate3d(40px, 30px, -60px); }
.hero .rv.hero-phone { transform: rotateY(10deg) rotateZ(-3deg) translateY(60px); }
.share-card.rv.is-in { transform: rotate(-3deg); }
.brand-splash.rv.is-in { transform: rotate(4deg); }

/* ── Responsive ── */
@media (max-width: 1080px) {
  .nav-links { display: none; position: absolute; top: calc(100% + 10px); left: 0; right: 0; flex-direction: column; gap: 2px; padding: 10px; border-radius: 24px; background: rgba(12,12,16,.96); border: 1px solid var(--line2); }
  .nav.is-open .nav-links { display: flex; }
  .nav-links a { padding: 13px 14px; font-size: 16px; }
  .nav-menu { display: block; }
  .hero { grid-template-columns: 1fr; padding-top: 130px; text-align: left; }
  .hero-stage { height: auto; min-height: 520px; margin-top: 10px; }
  .hero-desk { position: relative; right: auto; top: auto; width: 100%; }
  .hero-phone { left: auto; right: 4%; bottom: -40px; }
  .demo-note { position: static; grid-row: 3; }
  .brand-stage { grid-template-columns: auto minmax(0, 1fr); }
  .brand-splash { display: none; }
  .desk-grid { grid-template-columns: 1fr 1fr; }
  .pay-panel { grid-template-columns: minmax(0, 1fr); }
  .pay-list { grid-template-columns: 1fr 1fr; }
  .demo { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 15.5px; }
  .nav { top: 10px; padding: 8px 8px 8px 12px; }
  .nav-login { display: none; }
  .nav .btn-sm { display: none; }
  .sec { width: calc(100% - 36px); padding: 60px 0; }
  h2 { font-size: clamp(32px, 9.4vw, 44px); line-height: 1.05; }
  .lede { margin-top: 16px; font-size: 16px; }
  .kicker { margin-bottom: 14px; font-size: 11.5px; }

  /* Hero: un teléfono protagonista con su brillo; el escritorio se ve más abajo, en Recepción */
  .hero { width: calc(100% - 36px); min-height: 0; gap: 0; padding: 112px 0 40px; }
  .hero-title { font-size: clamp(46px, 13.4vw, 60px); line-height: .98; }
  .hero-lede { margin-top: 20px; font-size: 16.5px; }
  .hero-actions { margin-top: 28px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 30px; }
  .hero-proof li { display: grid; gap: 4px; padding: 14px 10px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); font-size: 11.5px; line-height: 1.3; text-align: center; }
  .hero-proof b { margin: 0; font-size: 24px; }
  .hero-stage { height: auto; min-height: 0; margin: 46px auto 0; width: 100%; display: grid; justify-items: center; perspective: none; }
  .hero-stage::before { content: ''; position: absolute; left: 50%; top: 46%; width: 120%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(255,90,31,.38), rgba(59,130,246,.12) 45%, transparent 70%); filter: blur(30px); pointer-events: none; }
  .hero-desk { display: none; }
  .hero-phone, .hero .rv.hero-phone, .hero .rv.is-in.hero-phone { position: relative; left: auto; bottom: auto; width: min(72vw, 290px); margin: 0; transform: none; }
  .chip { padding: 9px 13px 9px 9px; border-radius: 16px; }
  .chip-ic { width: 32px; height: 32px; border-radius: 10px; font-size: 12.5px; }
  .chip b { font-size: 12.5px; } .chip small { font-size: 11px; }
  .chip-a { left: -4px; right: auto; top: 12%; }
  .chip-b { display: flex; left: auto; right: -4px; top: 44%; bottom: auto; }
  .chip-c { left: 2px; right: auto; bottom: 10%; }
  .demo-note { position: static; margin-top: 26px; text-align: center; }

  .marquee { padding: 18px 0; }
  .marquee-track { gap: 34px; }
  .marquee span::before { margin-right: 34px; }

  /* Tu marca */
  .brand-switch { display: flex; overflow-x: auto; max-width: 100%; margin-top: 28px; scrollbar-width: none; }
  .brand-switch button { flex: none; padding: 0 14px; font-size: 13.5px; }
  .brand-stage { grid-template-columns: 1fr; justify-items: center; gap: 70px; margin-top: 40px; }
  .brand-glow { left: 50%; top: 220px; width: 130%; height: auto; aspect-ratio: 1; margin: 0; transform: translateX(-50%); }
  .brand-phone { width: min(70vw, 290px); }
  .brand-facts { grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; }
  .brand-facts li { padding: 18px 16px; border-radius: 20px; }
  .brand-facts li:first-child, .brand-facts li:last-child { grid-column: 1 / -1; }
  .brand-facts b { font-size: 18px; }
  .brand-facts b[data-count] { font-size: 40px; }
  .brand-facts span { font-size: 13.5px; }

  /* El socio: cada paso con su teléfono */
  .story-wrap { grid-template-columns: 1fr; gap: 0; margin-top: 30px; }
  .story-sticky { display: none; }
  .story-steps li { min-height: 0; opacity: 1; padding: 34px 0; border-bottom: 1px solid var(--line); }
  .story-steps li:last-child { border-bottom: 0; }
  .story-steps h3 { margin: 8px 0 10px; font-size: 28px; }
  .story-steps p { font-size: 15.5px; }
  .story-mobile { display: block; width: min(66vw, 260px); margin: 28px auto 0; padding: 7px; border-radius: 40px; background: linear-gradient(145deg, #3a3b44, #121217 40%, #2a2b33 70%, #0c0c10);
    box-shadow: 0 0 0 1px rgba(255,255,255,.14), 0 34px 80px rgba(0,0,0,.6); }

  .share { grid-template-columns: 1fr; gap: 44px; }
  .share-card { width: min(78vw, 320px); }
  .ticks { margin-top: 22px; }

  /* Recepción: recorte legible del panel (la zona de trabajo, sin la barra lateral) */
  .desk-tabs { width: 100%; flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin: 30px 0 18px; border-radius: 20px; scrollbar-width: none; }
  .desk-tabs button { flex: none; }
  .browser { border-radius: 16px; }
  .browser-bar { height: 32px; }
  .browser-bar span { font-size: 11px; transform: none; }
  .desk-screens { aspect-ratio: 4 / 5; }
  .desk-screens img { object-position: 34% 0; }
  .desk-grid { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
  .card { padding: 18px 16px; border-radius: 20px; }
  .card-ic { width: 38px; height: 38px; margin-bottom: 12px; font-size: 17px; }
  .card h3 { font-size: 15.5px; }
  .card p { font-size: 13px; }

  .pay-methods { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
  .pm { padding: 16px; min-width: 0; }
  .pm b { font-size: 17px; }
  .pay-panel { padding: 28px 22px; border-radius: 30px; gap: 30px; }
  .pay-list { grid-template-columns: 1fr 1fr; gap: 16px 12px; }

  .steps-row { grid-template-columns: 1fr; gap: 10px; margin-top: 32px; }
  .steps-row li { display: grid; grid-template-columns: auto 1fr; column-gap: 18px; align-items: start; padding: 22px 20px; border-radius: 22px; }
  .steps-row span { grid-row: 1 / 3; font-size: 52px; }
  .steps-row h3 { margin: 4px 0 6px; font-size: 18px; }
  .steps-row p { font-size: 14px; }

  .faq-list { margin-top: 30px; }
  .faq-list summary { padding: 18px; font-size: 15.5px; }
  .faq-list details p { padding: 0 18px 18px; font-size: 14.5px; }

  .demo { gap: 34px; }
  .demo-form { padding: 20px; border-radius: 26px; }
  .f2 { grid-template-columns: 1fr; }
}
/* ── Hero: etiqueta, título que entra por líneas y señal de desplazamiento ── */
.hero-badge { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; margin: 0 0 26px; padding: 7px 14px 7px 10px; border-radius: 99px; font-size: 13px; font-weight: 650; color: var(--txt);
  background: linear-gradient(90deg, rgba(255,255,255,.07), rgba(255,255,255,.02)); border: 1px solid var(--line2); backdrop-filter: blur(10px); }
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(52,211,153,.16); animation: pulse 2.4s infinite; }
.hero-badge i { width: 1px; height: 14px; background: var(--line2); }
.hero-badge b { font-weight: 550; color: var(--txt2); }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .2em; margin-bottom: -.2em; }
.hero-title .line > span { padding-bottom: .2em; margin-bottom: -.2em; }
.hero-title .line > span { display: block; transform: translateY(105%); transition: transform 1.1s cubic-bezier(.16,1,.3,1); }
.hero-title .line:nth-child(2) > span { transition-delay: .12s; }
.is-ready .hero-title .line > span { transform: none; }
.hero-title .line:first-child { background: none; -webkit-text-fill-color: initial; }
.hero-title .line:first-child > span { background: var(--silver); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.scroll-cue { position: absolute; left: 50%; bottom: 22px; width: 26px; height: 42px; margin-left: -13px; border-radius: 99px; border: 1.5px solid var(--line2); }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: var(--txt2); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }
.nav-demo .sm { display: none; }
.nav-sheet-foot { display: none; }

/* ── Pie ── */
.foot { position: relative; width: min(calc(100% - 40px), var(--max)); margin: 0 auto; padding: 20px 0 34px; overflow: hidden; }
.foot-cta { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px 50px; flex-wrap: wrap; padding: clamp(32px, 5vw, 60px); border-radius: 36px; overflow: hidden;
  background: radial-gradient(70% 120% at 100% 0%, rgba(255,90,31,.22), transparent 60%), radial-gradient(60% 120% at 0% 100%, rgba(59,130,246,.16), transparent 60%), linear-gradient(160deg, #121218, #09090d); border: 1px solid var(--line2); }
.foot-cta h2 { font-size: clamp(32px, 4.2vw, 56px); }
.foot-cta p { margin: 14px 0 0; color: var(--txt2); font-size: 16.5px; }
.foot-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.foot-main { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 36px; padding: 70px 4px 40px; }
.foot-brand img { width: 160px; height: auto; opacity: .95; }
.foot-brand p { margin: 16px 0 0; max-width: 340px; font-size: 14.5px; color: var(--txt3); }
.foot-mail { display: inline-flex; align-items: center; gap: 9px; margin-top: 18px; padding: 9px 14px; border-radius: 99px; font-size: 14px; font-weight: 600; text-decoration: none; color: var(--txt); background: rgba(255,255,255,.05); border: 1px solid var(--line); transition: background .2s; }
.foot-mail:hover { background: rgba(255,255,255,.09); }
.foot-mail svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.foot-col { display: grid; align-content: start; gap: 12px; }
.foot-col b { margin-bottom: 4px; font-size: 12px; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; color: var(--txt3); }
.foot-col a { width: max-content; font-size: 15px; text-decoration: none; color: var(--txt2); transition: color .2s; }
.foot-col a:hover { color: var(--txt); }
.foot-word { margin: 0 -2%; font-family: var(--display); font-weight: 700; font-size: clamp(64px, 17.5vw, 250px); line-height: .8; letter-spacing: -.06em; text-align: center; user-select: none; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,.11), rgba(255,255,255,0) 85%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.foot-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 24px; border-top: 1px solid var(--line); }
.foot-bottom p { margin: 0; font-size: 13px; color: var(--txt3); }
.foot-top { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; text-decoration: none; color: var(--txt2); }
.foot-top:hover { color: var(--txt); }
.foot-top svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 1080px) {
  .foot-main { grid-template-columns: 1fr 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  /* Menú del teléfono: hoja completa con accesos */
  .nav.is-open { border-radius: 26px; }
  .nav-links { gap: 0; padding: 14px; background: #0c0c10 !important; box-shadow: 0 30px 80px rgba(0,0,0,.7); }
  .nav-links a { padding: 15px 12px; font-family: var(--display); font-size: 22px; font-weight: 600; color: var(--txt); border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-links a:hover { background: none; }
  .nav-sheet-foot { display: grid; gap: 10px; padding-top: 16px; }
  .nav-links .nav-sheet-foot .btn { border-bottom: 0; font-family: inherit; font-size: 15px; color: #0a0a0d; border-radius: 99px; padding: 0 20px; }
  .nav-links .nav-sheet-foot .btn-ghost { color: var(--txt); }
  .nav-links .nav-sheet-login { padding: 10px; border: 0; text-align: center; font-family: inherit; font-size: 14px; color: var(--txt2); }
}
@media (max-width: 760px) {
  .nav .btn-sm.nav-demo { display: inline-flex; min-height: 38px; padding: 0 15px; }
  .nav-demo .lg { display: none; } .nav-demo .sm { display: inline; }
  .hero { text-align: center; padding-top: 108px; }
  .hero-badge { justify-content: center; margin-bottom: 22px; font-size: 12px; }
  .hero-badge i, .hero-badge b { display: none; }
  .hero-lede { margin-left: auto; margin-right: auto; }
  .hero-stage { margin-top: 54px; }
  .hero-phone, .hero .rv.hero-phone, .hero .rv.is-in.hero-phone { width: min(62vw, 260px); }
  .chip { z-index: 4; }
  .chip-a { left: 0; top: 4%; }
  .chip-b { right: 0; top: 34%; }
  .chip-c { left: 0; top: 64%; bottom: auto; }
  .chip small { display: none; }
  .scroll-cue { display: none; }
  .foot { width: calc(100% - 36px); padding-top: 10px; }
  .foot-cta { padding: 30px 22px; border-radius: 28px; text-align: center; justify-content: center; }
  .foot-cta-actions { width: 100%; }
  .foot-cta-actions .btn { flex: 1 1 100%; }
  .foot-main { grid-template-columns: 1fr 1fr; gap: 30px 20px; padding: 48px 2px 30px; }
  .foot-brand { text-align: center; }
  .foot-brand img { margin: 0 auto; }
  .foot-brand p { margin-left: auto; margin-right: auto; }
  .foot-col:last-child { grid-column: 1 / -1; }
  .foot-bottom { flex-direction: column-reverse; gap: 14px; text-align: center; }
}



/* ── Avisos: pantalla de bloqueo con notificaciones que entran ── */
.push { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(40px, 7vw, 100px); align-items: center; }
.lock { justify-self: center; width: min(100%, 380px); aspect-ratio: 9 / 16.5; padding: 12px; border-radius: 56px;
  background: linear-gradient(145deg, #3a3b44, #121217 40%, #2a2b33 70%, #0c0c10); box-shadow: 0 0 0 1px rgba(255,255,255,.14), 0 60px 140px rgba(0,0,0,.65); }
.lock-screen { position: relative; height: 100%; border-radius: 45px; overflow: hidden; padding: 64px 14px 20px; text-align: center;
  background: radial-gradient(90% 60% at 30% 10%, rgba(255,90,31,.55), transparent 60%), radial-gradient(80% 60% at 90% 90%, rgba(59,130,246,.45), transparent 60%), linear-gradient(170deg, #1b0f0a, #07070b 70%); }
.lock-screen::before { content: ''; position: absolute; top: 14px; left: 50%; width: 32%; height: 28px; margin-left: -16%; border-radius: 20px; background: #000; }
.lock-date { margin: 0; font-size: 15px; font-weight: 600; color: rgba(255,255,255,.82); }
.lock-time { margin: 2px 0 30px; font-family: var(--display); font-size: 84px; font-weight: 600; line-height: 1; letter-spacing: -.04em; color: rgba(255,255,255,.95); }
.lock-stack { display: grid; gap: 9px; text-align: left; }
.note { display: flex; gap: 11px; padding: 12px 13px; border-radius: 22px; background: rgba(40,40,48,.55); border: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(22px) saturate(1.4); -webkit-backdrop-filter: blur(22px) saturate(1.4); opacity: 0; transform: translateY(-18px) scale(.96); transition: opacity .6s var(--ease), transform .7s var(--ease); }
.note img { flex: none; width: 38px; height: 38px; border-radius: 10px; }
.note div { min-width: 0; display: grid; gap: 1px; }
.note b { display: flex; justify-content: space-between; gap: 8px; font-size: 12.5px; font-weight: 650; color: rgba(255,255,255,.7); }
.note b small { font-weight: 500; color: rgba(255,255,255,.5); }
.note strong { font-size: 14.5px; font-weight: 700; color: #fff; }
.note span { font-size: 13px; line-height: 1.35; color: rgba(255,255,255,.78); }
.lock.is-in .note { opacity: 1; transform: none; }
.lock.is-in .note:nth-child(2) { transition-delay: .35s; } .lock.is-in .note:nth-child(3) { transition-delay: .7s; }

/* ── El dueño: dos teléfonos en abanico ── */
.owner { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 100px); align-items: center; }
.owner-phones { position: relative; height: clamp(520px, 52vw, 660px); }
.owner-phones .phone { position: absolute; width: clamp(220px, 21vw, 280px); }
.owner-a { left: 4%; top: 0; transform: rotate(-6deg); z-index: 2; }
.owner-b { right: 4%; bottom: 0; transform: rotate(5deg); opacity: .95; }
.owner-a.rv.is-in { transform: rotate(-6deg); } .owner-b.rv.is-in { transform: rotate(5deg); }

/* ── Brillo que sigue al cursor en las tarjetas ── */
@media (hover: hover) {
  .card, .brand-facts li, .steps-row li, .pm { position: relative; overflow: hidden; }
  .card::after, .brand-facts li::after, .steps-row li::after, .pm::after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
    background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.08), transparent 60%); }
  .card:hover::after, .brand-facts li:hover::after, .steps-row li:hover::after, .pm:hover::after { opacity: 1; }
}

/* ── Progreso de la historia del socio ── */
@media (min-width: 761px) {
  .story-steps { position: relative; padding-left: 34px; }
  .story-steps::before, .story-steps::after { content: ''; position: absolute; left: 0; top: 8vh; bottom: 8vh; width: 2px; border-radius: 2px; background: rgba(255,255,255,.08); }
  .story-steps::after { bottom: auto; height: calc((100% - 16vh) * var(--p, 0)); background: linear-gradient(180deg, var(--orange), #ffffff); box-shadow: 0 0 14px rgba(255,90,31,.5); }
}

@media (max-width: 1080px) {
  .push, .owner { grid-template-columns: 1fr; }
  .owner-phones { order: 2; width: min(100%, 520px); margin: 0 auto; }
}
@media (max-width: 760px) {
  .push { gap: 44px; }
  .lock { width: min(84vw, 330px); border-radius: 48px; padding: 9px; }
  .lock-screen { border-radius: 40px; padding-top: 56px; }
  .lock-time { font-size: 68px; margin-bottom: 22px; }
  .note { padding: 10px 11px; border-radius: 18px; }
  .note strong { font-size: 13.5px; } .note span { font-size: 12px; }
  .owner { gap: 34px; }
  .owner-phones { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; height: auto; width: 100%; padding: 6px 4px 10px; }
  .owner-phones::before { content: ''; position: absolute; left: 50%; top: 50%; width: 120%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(255,90,31,.3), transparent 62%); filter: blur(30px); pointer-events: none; }
  .owner-phones .phone { position: relative; width: 100%; padding: 6px; border-radius: 34px; }
  .owner-phones .phone::before { top: 13px; height: 16px; border-radius: 12px; }
  .owner-phones .phone-screen { border-radius: 28px; }
  .owner-a, .owner-a.rv.is-in { left: auto; top: auto; transform: rotate(-3deg); }
  .owner-b, .owner-b.rv.is-in { right: auto; bottom: auto; margin-top: 64px; transform: rotate(3deg); }
}


/* ── Barra de estado en los marcos: la app empieza bajo la isla, como en un iPhone real ── */
.phone .phone-screen { --sb: 7.2%; }
.phone .phone-screen img { top: var(--sb); bottom: auto; height: calc(100% - var(--sb)); }
.phone .phone-screen::before { content: '18:02'; position: absolute; z-index: 2; left: 9%; top: 0; height: var(--sb); display: flex; align-items: center; font: 650 clamp(9px, .95vw, 14px)/1 'Inter', sans-serif; color: #fff; letter-spacing: -.01em; }
.phone .phone-screen::after { content: ''; position: absolute; z-index: 2; right: 8%; top: 0; width: 22%; height: var(--sb); opacity: .95;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 66 14'%3E%3Cg fill='%23fff'%3E%3Crect x='0' y='8' width='3' height='5' rx='1'/%3E%3Crect x='5' y='6' width='3' height='7' rx='1'/%3E%3Crect x='10' y='3.5' width='3' height='9.5' rx='1'/%3E%3Crect x='15' y='1' width='3' height='12' rx='1'/%3E%3Cpath d='M30 4.6a9 9 0 0 1 12 0l-1.4 1.5a7 7 0 0 0-9.2 0zM32.6 7.4a5.3 5.3 0 0 1 6.8 0L38 8.9a3.3 3.3 0 0 0-4 0zM36 12.6l-1.8-1.9a2.5 2.5 0 0 1 3.6 0z'/%3E%3Crect x='46.5' y='1.5' width='17' height='11' rx='3.2' fill='none' stroke='%23fff' stroke-opacity='.55'/%3E%3Crect x='48.5' y='3.5' width='11' height='7' rx='1.8'/%3E%3Crect x='64.5' y='5' width='1.5' height='4' rx='.75' fill-opacity='.55'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat; }
.brand-splash .phone-screen::before, .brand-splash .phone-screen::after { display: none; }
.brand-splash .phone-screen { --sb: 0%; }
.owner-phones .phone-screen::before { font-size: 8.5px; }


/* Sección activa en el menú */
.nav-links a.is-active { color: var(--txt); background: rgba(255,255,255,.07); }
@media (max-width: 1080px) { .nav-links a.is-active { background: none; color: var(--orange); } }
@media (max-width: 760px) { .story-mobile { aspect-ratio: 1170 / 2532; object-fit: cover; object-position: top; } }


/* Etiqueta del clip en vivo y enlaces del formulario */
.live-tag { align-self: flex-start; width: max-content; display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 6px 12px; border-radius: 99px; font-size: 12px; font-weight: 700; letter-spacing: .04em; color: #ffb38f; background: rgba(255,90,31,.12); border: 1px solid rgba(255,90,31,.3); }
.live-tag::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #ff5a1f; animation: pulse 1.6s infinite; box-shadow: 0 0 0 4px rgba(255,90,31,.2); }
.form-note a { color: var(--txt2); }
.story-phone img[data-step="2"] { object-fit: cover; object-position: top; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .rv { opacity: 1; transform: none; }
  .note { opacity: 1; transform: none; }
}

/* ── Página legal (web/privacidad.html) ── */
.legal { width: min(calc(100% - 40px), 760px); margin: 0 auto; padding: 140px 0 60px; }
.legal h1 { font-size: clamp(40px, 6vw, 64px); line-height: 1.02; letter-spacing: -.045em; }
.legal-date { margin: 14px 0 0; color: var(--txt3); font-size: 14px; }
.legal-toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0 10px; }
.legal-toc a { padding: 8px 14px; border-radius: 99px; font-size: 13.5px; font-weight: 600; text-decoration: none; color: var(--txt2); background: var(--card); border: 1px solid var(--line); }
.legal-toc a:hover { color: var(--txt); border-color: var(--line2); }
.legal section { padding-top: 44px; scroll-margin-top: 90px; }
.legal h2 { font-size: 24px; letter-spacing: -.02em; font-weight: 600; }
.legal p, .legal li { color: var(--txt2); font-size: 16px; line-height: 1.7; }
.legal p { margin: 14px 0 0; }
.legal ul { margin: 14px 0 0; padding-left: 20px; display: grid; gap: 8px; }
.legal b { color: var(--txt); font-weight: 650; }
.legal a { color: var(--txt); }
.legal-foot { padding-top: 0; }
@media (max-width: 760px) { .legal { width: calc(100% - 36px); padding-top: 112px; } .legal h2 { font-size: 21px; } .legal p, .legal li { font-size: 15px; } }

/* ══ Tu marca: la app genérica se convierte en la del gimnasio, paso a paso ══
   Teléfono hecho en HTML (no captura): cada paso pinta una guía punteada sobre
   lo que cambia, lo cambia y enciende su tarjeta de la derecha. */
.bx { --ac: #8b8f99; --bc: var(--orange); --bf: 'Bebas Neue'; --bfw: 400; --bfs: 1.18;
  container-type: inline-size; background: linear-gradient(180deg, #121217, #0a0a0e 60%); color: #f4f4f6; font-family: Arial, Helvetica, sans-serif; }
.bx.p-color { --ac: var(--bc); }
.phone .phone-screen.bx img { position: static; inset: auto; width: 100%; height: 100%; opacity: 1; transform: none; object-fit: contain; }
.bx > * { position: absolute; left: 5cqw; right: 5cqw; }
.bx-head { top: 15cqw; display: flex; align-items: center; gap: 3.4cqw; }
.bx-logo { position: relative; flex: none; width: 13cqw; height: 13cqw; border-radius: 3cqw; display: grid; place-items: center; background: rgba(255,255,255,.05); border: .5cqw dashed rgba(255,255,255,.28); overflow: hidden; transition: border-color .5s, background .5s; }
.bx-logo em { font: 700 2.6cqw/1 Arial, sans-serif; font-style: normal; letter-spacing: .1em; color: rgba(255,255,255,.45); transition: opacity .35s; }
.phone .phone-screen.bx .bx-logo img { position: absolute; inset: 0; opacity: 0; transform: scale(.6) rotate(-8deg); transition: opacity .5s var(--ease), transform .7s cubic-bezier(.3,1.5,.5,1); }
.bx.p-logo .bx-logo { border-color: transparent; background: #0d0d10; }
.bx.p-logo .bx-logo em { opacity: 0; }
.phone .phone-screen.bx.p-logo .bx-logo img { opacity: 1; transform: none; }
.bx-id { flex: 1; min-width: 0; display: grid; gap: .6cqw; }
.bx-name { font: 700 5.4cqw/1.05 Arial, sans-serif; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bx-id small { font-size: 3.3cqw; color: rgba(244,244,246,.6); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bx.p-font .bx-name { font-family: var(--bf), sans-serif; font-weight: var(--bfw); font-size: calc(5.4cqw * var(--bfs)); letter-spacing: .01em; }
.bx.p-font .bx-id { animation: bxSwap .7s var(--ease); }
@keyframes bxSwap { 0% { filter: blur(0); opacity: 1; } 35% { filter: blur(6px); opacity: .2; transform: translateY(1.5cqw); } 100% { filter: blur(0); opacity: 1; transform: none; } }
.bx-bell { flex: none; width: 9cqw; height: 9cqw; border-radius: 50%; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.bx-hero { top: 36cqw; height: 52cqw; padding: 5cqw; border-radius: 6cqw; overflow: hidden;
  background: linear-gradient(150deg, color-mix(in srgb, var(--ac) 22%, #17171c), #111115 70%); border: 1px solid color-mix(in srgb, var(--ac) 34%, transparent); transition: background .8s, border-color .8s; }
.bx-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.22) 50%, transparent 65%); transform: translateX(-120%); }
.bx.p-color .bx-hero::after { animation: bxSheen 1.1s .1s var(--ease); }
@keyframes bxSheen { to { transform: translateX(120%); } }
.bx-kicker { display: block; font-size: 2.7cqw; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ac); transition: color .8s; }
.bx-greet { display: block; margin-top: 4cqw; font-size: 4cqw; color: rgba(244,244,246,.66); }
.bx-who { display: block; font-size: 6.6cqw; letter-spacing: -.02em; }
.bx-av { position: absolute; right: 5cqw; top: 9cqw; width: 15cqw; height: 15cqw; border-radius: 4.2cqw; display: grid; place-items: center; font-size: 5cqw; font-weight: 800; color: #fff;
  background: linear-gradient(150deg, color-mix(in srgb, var(--ac) 80%, #fff), var(--ac)); box-shadow: 0 2cqw 6cqw color-mix(in srgb, var(--ac) 45%, transparent); transition: background .8s, box-shadow .8s; }
.bx-chips { position: absolute; left: 5cqw; bottom: 5cqw; display: flex; gap: 2cqw; }
.bx-chips i { font-style: normal; font-size: 2.9cqw; font-weight: 700; padding: 1.6cqw 3cqw; border-radius: 9cqw; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.bx-chips i.ok { color: #34d399; }
.bx-rest { top: 93cqw; height: 40cqw; display: flex; align-items: center; gap: 5cqw; padding: 0 5cqw; border-radius: 6cqw; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.08); }
.bx-rest svg { flex: none; width: 27cqw; height: 27cqw; transform: rotate(-90deg); }
.bx-rest circle { fill: none; stroke: rgba(255,255,255,.08); stroke-width: 8; }
.bx-rest .bx-ring { stroke: var(--ac); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 0; transition: stroke .8s; }
.bx-rest-t, .bx-grit { display: grid; gap: 1cqw; }
.bx-rest small, .bx-grit small { font-size: 2.8cqw; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(244,244,246,.5); }
.bx-rest-t b { font: 600 9cqw/1 'Space Grotesk', sans-serif; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.bx-grit { margin-left: auto; text-align: right; }
.bx-grit b { font: 700 7cqw/1 'Space Grotesk', sans-serif; color: var(--ac); transition: color .8s; font-variant-numeric: tabular-nums; }
.bx-tabs { top: auto; bottom: 5cqw; height: 15cqw; display: flex; align-items: center; justify-content: space-around; border-radius: 8cqw; background: rgba(28,28,34,.92); border: 1px solid rgba(255,255,255,.08); }
.bx-tabs i { width: 6cqw; height: 6cqw; border-radius: 1.8cqw; border: .55cqw solid rgba(255,255,255,.4); }
.bx-tabs i.on { border-color: var(--ac); background: color-mix(in srgb, var(--ac) 25%, transparent); box-shadow: 0 0 0 3.2cqw color-mix(in srgb, var(--ac) 16%, transparent); transition: border-color .8s, background .8s, box-shadow .8s; }
.bx-splash { inset: 0; left: 0; right: 0; z-index: 4; display: grid; place-items: center; background: radial-gradient(circle at 50% 45%, color-mix(in srgb, var(--bc) 30%, #0d0d10), #050507 70%); opacity: 0; pointer-events: none; transition: opacity .45s; }
.bx-splash img { width: 40cqw !important; height: 40cqw !important; }
.bx.is-splash .bx-splash { opacity: 1; }
.bx.is-splash .bx-splash img { animation: bxSplash 1.3s var(--ease) both; }
@keyframes bxSplash { 0% { transform: scale(.4); opacity: 0; filter: blur(8px); } 45% { transform: scale(1.06); opacity: 1; filter: none; } 100% { transform: scale(1); } }
/* Guía punteada y etiqueta del paso */
.bx-guide { left: 0; right: auto; z-index: 5; border: 1.5px dashed #ff3b6b; border-radius: 4cqw; opacity: 0; pointer-events: none; transition: opacity .3s, left .55s var(--ease), top .55s var(--ease), width .55s var(--ease), height .55s var(--ease); }
.bx-guide::before, .bx-guide::after { content: ''; position: absolute; width: 2.4cqw; height: 2.4cqw; background: #ff3b6b; border-radius: 1px; }
.bx-guide::before { left: -1.4cqw; top: -1.4cqw; } .bx-guide::after { right: -1.4cqw; bottom: -1.4cqw; }
.bx-guide em { position: absolute; left: -1px; bottom: calc(100% + 1.6cqw); padding: 1cqw 2.2cqw; border-radius: 1.6cqw; background: #ff3b6b; color: #fff; font: 700 2.7cqw/1.2 'Inter', sans-serif; font-style: normal; letter-spacing: .04em; white-space: nowrap; }
.bx.is-guide .bx-guide { opacity: 1; }
/* Dirección: de genérica a la del gimnasio */
.brand-url s { text-decoration: none; display: none; color: var(--txt3); }
.brand-url [data-bx-host] { display: inline; }
.brand-phone.is-generic .brand-url { background: rgba(255,255,255,.04); border-color: var(--line); }
.brand-phone.is-generic .brand-url s { display: inline; }
.brand-phone.is-generic .brand-url [data-bx-host] { display: none; }
.brand-phone.is-url .brand-url { outline: 1.5px dashed #ff3b6b; outline-offset: 5px; animation: bxSwap .7s var(--ease); }
/* La tarjeta del paso se enciende */
.brand-facts li { transition: border-color .4s, background .4s, transform .4s var(--ease); }
.brand-facts li.is-live { border-color: color-mix(in srgb, var(--brand) 55%, transparent); background: color-mix(in srgb, var(--brand) 9%, var(--card)); transform: translateY(-3px); }
.brand-facts li.is-live b { color: var(--brand); }
@media (min-width: 761px) { .brand-stage { grid-template-columns: auto minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .bx *, .bx { animation: none !important; transition: none !important; } }
.bx-note { top: 93cqw; height: 34cqw; display: flex; gap: 4cqw; padding: 5cqw; border-radius: 6cqw; background: linear-gradient(150deg, color-mix(in srgb, var(--ac) 14%, #141418), #101014); border: 1px solid color-mix(in srgb, var(--ac) 26%, transparent); transition: background .8s, border-color .8s; }
.bx-note > i { flex: none; width: 10cqw; height: 10cqw; border-radius: 3cqw; background: color-mix(in srgb, var(--ac) 30%, transparent); transition: background .8s; }
.bx-note span { display: grid; align-content: start; gap: 1.4cqw; min-width: 0; }
.bx-note small { font-size: 2.7cqw; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ac); transition: color .8s; }
.bx-note b { font-size: 4.2cqw; line-height: 1.2; }
.bx-note em { font-style: normal; font-size: 3.4cqw; line-height: 1.35; color: rgba(244,244,246,.55); }
.bx-rest { top: 132cqw; }
.bx-guide em { font-size: 3.3cqw; padding: 1.2cqw 2.6cqw; }
.bx-today { top: 177cqw; height: 15cqw; display: grid; align-content: center; gap: 2cqw; padding: 0 5cqw; border-radius: 5cqw; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.08); }
.bx-today > span:first-child { display: flex; justify-content: space-between; gap: 2cqw; }
.bx-today b { font-size: 3.3cqw; } .bx-today small { font-size: 3cqw; color: rgba(244,244,246,.55); white-space: nowrap; }
.bx-bar { height: 1.6cqw; border-radius: 2cqw; background: rgba(255,255,255,.08); overflow: hidden; }
.bx-bar i { display: block; width: 50%; height: 100%; border-radius: inherit; background: var(--ac); transition: background .8s; }
.bx-tabs { bottom: 4cqw; }
.bx-step { position: absolute; top: 16cqw; left: 50%; transform: translateX(-50%); padding: 1.2cqw 2.6cqw; border-radius: 1.6cqw; background: #ff3b6b; color: #fff; font: 700 3.3cqw/1.2 'Inter', sans-serif; font-style: normal; letter-spacing: .04em; white-space: nowrap; }
.brand-phone.is-url .brand-url::before { content: '05 · Dirección'; position: absolute; left: 50%; bottom: calc(100% + 10px); transform: translateX(-50%); padding: 3px 8px; border-radius: 6px; background: #ff3b6b; color: #fff; font: 700 11px/1.2 'Inter', sans-serif; letter-spacing: .04em; white-space: nowrap; }
.bx-splash img { border-radius: 9cqw; box-shadow: 0 6cqw 18cqw color-mix(in srgb, var(--bc) 35%, transparent); }

/* ══ Recepción: recorrido de cámara por el panel real ══
   La captura vive en un plano 3D; la cámara se acerca a cada zona con
   profundidad de campo (copia desenfocada debajo, nítida enmascarada en el foco). */
@property --fx { syntax: '<percentage>'; inherits: true; initial-value: 50%; }
@property --fy { syntax: '<percentage>'; inherits: true; initial-value: 50%; }
@property --fr { syntax: '<percentage>'; inherits: true; initial-value: 140%; }
.desk-screens { overflow: hidden; perspective: 1400px; background: #07070a; }
.desk-screens::after { content: ''; position: absolute; inset: 0; z-index: 3; pointer-events: none; background: radial-gradient(ellipse at 50% 50%, transparent 55%, rgba(0,0,0,.55)); opacity: 0; transition: opacity .8s; }
.desk-screens.is-touring::after { opacity: 1; }
.cam { position: absolute; left: 50%; top: 50%; width: 100%; aspect-ratio: 1440 / 900; opacity: 0; transition: opacity .55s var(--ease), transform 1.5s cubic-bezier(.65,0,.25,1), --fx 1.5s cubic-bezier(.65,0,.25,1), --fy 1.5s cubic-bezier(.65,0,.25,1), --fr 1.2s var(--ease);
  transform-origin: var(--fx) var(--fy); transform: translate(-50%, -50%); will-change: transform; }
.cam.is-on { opacity: 1; }
.desk-screens .cam img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; opacity: 1; }
.cam-blur { filter: blur(5px) brightness(.72) saturate(.9); transform: scale(1.01); }
.cam-sharp { -webkit-mask-image: radial-gradient(circle at var(--fx) var(--fy), #000 calc(var(--fr) * .45), transparent var(--fr)); mask-image: radial-gradient(circle at var(--fx) var(--fy), #000 calc(var(--fr) * .45), transparent var(--fr)); }
.cam-note { position: absolute; z-index: 4; left: 3.2%; bottom: 5%; display: grid; gap: 4px; min-width: 210px; max-width: 70%; padding: 16px 20px; border-radius: 20px; background: rgba(16,16,20,.62); border: 1px solid rgba(255,255,255,.14); box-shadow: 0 20px 50px rgba(0,0,0,.45); -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3);
  opacity: 0; transform: translateY(14px); transition: opacity .45s var(--ease), transform .55s var(--ease); pointer-events: none; }
.cam-note.is-on { opacity: 1; transform: none; }
.cam-note small { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
.cam-note b { font: 600 clamp(30px, 3.6vw, 46px)/1.05 var(--display); letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.cam-note span { font-size: 13.5px; color: var(--txt2); }
@media (max-width: 760px) {
  .cam { width: auto; height: 100%; }
  .cam-note { left: 12px; right: 12px; bottom: 12px; max-width: none; min-width: 0; padding: 13px 16px; border-radius: 16px; }
  .cam-note b { font-size: 30px; }
}
@media (prefers-reduced-motion: reduce) { .cam, .cam-note { transition: opacity .3s; } }
.cam-note { min-width: 260px; padding: 20px 24px; gap: 6px; border-radius: 22px; background: linear-gradient(150deg, rgba(30,30,36,.82), rgba(12,12,16,.82)); border-color: rgba(255,255,255,.18); box-shadow: 0 24px 60px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.08); }
.cam-note small { font-size: 12px; }
.cam-note b { font-size: clamp(36px, 4.2vw, 56px); }
.cam-note span { font-size: 14.5px; }
@media (max-width: 760px) { .cam-note { min-width: 0; padding: 14px 16px; } .cam-note b { font-size: 32px; } .cam-note span { font-size: 13px; } }
@media (max-width: 760px) {
  .cam { transition: opacity .55s var(--ease), transform 1.5s cubic-bezier(.65,0,.25,1), top 1.5s cubic-bezier(.65,0,.25,1), --fx 1.5s cubic-bezier(.65,0,.25,1), --fy 1.5s cubic-bezier(.65,0,.25,1), --fr 1.2s var(--ease); }
  .desk-screens.is-touring .cam { top: 34%; }
}

/* ══ Cobros: un cursor de demostración registra un pago de principio a fin ══ */
.pd { position: relative; display: grid; gap: 10px; align-content: start; padding: 22px; border-radius: 28px; background: linear-gradient(160deg, rgba(26,26,32,.92), rgba(12,12,16,.94)); border: 1px solid var(--line2); box-shadow: 0 40px 90px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.06); overflow: hidden; }
.pd-head { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.pd-head small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green); }
.pd-head b { font: 650 22px/1.15 var(--display); letter-spacing: -.02em; }
.pd-ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: rgba(52,211,153,.12); border: 1px solid rgba(52,211,153,.28); }
.pd svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pd-ic svg { width: 21px; height: 21px; color: var(--green); }
.pd-label { margin-top: 4px; font-size: 12px; font-weight: 650; color: var(--txt3); }
.pd-search { position: relative; display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 15px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid var(--line); font-size: 15.5px; transition: border-color .3s, box-shadow .3s; }
.pd-search > svg { width: 18px; height: 18px; color: var(--txt3); flex: none; }
.pd-search em { position: absolute; left: 43px; font-style: normal; color: var(--txt3); pointer-events: none; }
.pd-search.has-q em { display: none; }
.pd-caret { width: 1.5px; height: 19px; margin-left: -8px; background: var(--green); opacity: 0; }
.pd-search.is-focus { border-color: rgba(52,211,153,.55); box-shadow: 0 0 0 4px rgba(52,211,153,.1); }
.pd-search.is-focus .pd-caret { opacity: 1; animation: pdBlink 1s steps(1) infinite; }
@keyframes pdBlink { 50% { opacity: 0; } }
.pd-result { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: rgba(255,255,255,.03); border: 1px solid var(--line); opacity: 0; transform: translateY(-6px); transition: opacity .35s var(--ease), transform .35s var(--ease), border-color .3s, background .3s; }
.pd-result.is-on { opacity: 1; transform: none; }
.pd-result.is-picked { border-color: rgba(52,211,153,.5); background: rgba(52,211,153,.08); }
.pd-av { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 12px; background: rgba(255,255,255,.07); font-size: 13px; font-weight: 750; }
.pd-result > span:nth-child(2) { flex: 1; min-width: 0; display: grid; }
.pd-result b { font-size: 15px; } .pd-result small { font-size: 12.5px; color: var(--txt3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pd-check { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line2); transition: background .3s, border-color .3s, box-shadow .3s; }
.pd-result.is-picked .pd-check { background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23062b1d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; border-color: var(--green); box-shadow: 0 0 14px rgba(52,211,153,.5); }
.pd-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pd-methods .pm { padding: 13px 14px; border-radius: 16px; transition: border-color .3s, background .3s, box-shadow .3s, transform .2s; }
.pd-methods .pm b { font-size: 16.5px; } .pd-methods .pm small { font-size: 12px; }
.pd-methods .pm.is-on { border-color: rgba(52,211,153,.6); background: rgba(52,211,153,.09); box-shadow: 0 0 0 1px rgba(52,211,153,.25), 0 10px 30px rgba(52,211,153,.12); }
.pd-methods .pm.is-on b { color: #8ff0c9; }
.pd-row { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 10px; margin-top: 6px; }
.pd-amount { padding: 10px 14px; border-radius: 16px; background: rgba(255,255,255,.04); border: 1px solid var(--line); transition: border-color .3s, box-shadow .3s; }
.pd-amount.is-focus { border-color: rgba(52,211,153,.55); box-shadow: 0 0 0 4px rgba(52,211,153,.1); }
.pd-amount small { display: block; font-size: 11.5px; color: var(--txt3); }
.pd-amount b { font: 600 26px/1.15 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.pd-slide { position: relative; display: grid; place-items: center; min-height: 62px; border-radius: 99px; background: rgba(255,255,255,.05); border: 1px solid var(--line); overflow: hidden; transition: background .4s, border-color .4s; }
.pd-slide::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: var(--p, 0px); background: linear-gradient(90deg, rgba(52,211,153,.12), rgba(52,211,153,.32)); }
.pd-slide em { position: relative; font-style: normal; font-size: 13.5px; font-weight: 650; color: var(--txt2); padding-left: 44px; }
.pd-knob { position: absolute; z-index: 1; left: 5px; top: 50%; display: grid; place-items: center; width: 50px; height: 50px; margin-top: -25px; border-radius: 50%; background: #fff; color: #0a0a0d; box-shadow: 0 6px 18px rgba(0,0,0,.4); transform: translateX(var(--k, 0px)); }
.pd-knob svg { width: 20px; height: 20px; stroke-width: 2.4; }
.pd-slide.is-done { background: rgba(52,211,153,.2); border-color: rgba(52,211,153,.6); }
.pd-slide.is-done em { color: #8ff0c9; padding-left: 0; padding-right: 44px; }
.pd-slide.is-done .pd-knob { background: var(--green); }
.pd-toast { position: absolute; left: 22px; right: 22px; bottom: 22px; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 18px; background: rgba(10,30,22,.92); border: 1px solid rgba(52,211,153,.45); box-shadow: 0 20px 50px rgba(0,0,0,.5); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); opacity: 0; transform: translateY(16px) scale(.98); transition: opacity .4s var(--ease), transform .5s var(--ease); }
.pd-toast.is-on { opacity: 1; transform: none; }
.pd-toast i { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 50%; background: var(--green); color: #062b1d; }
.pd-toast i svg { width: 20px; height: 20px; stroke-width: 2.6; }
.pd-toast b { display: block; font-size: 15px; } .pd-toast small { font-size: 12.5px; color: rgba(220,255,240,.7); }
.pd-cursor { position: absolute; z-index: 4; left: 0; top: 0; width: 26px; height: 26px; fill: #fff; stroke: #0a0a0d; stroke-width: 1.4; filter: drop-shadow(0 4px 8px rgba(0,0,0,.5)); transform: translate(var(--cx, 80%), var(--cy, 110%)); transition: transform .75s cubic-bezier(.6,0,.25,1); pointer-events: none; }
.pd-cursor.is-press { animation: pdPress .28s ease; }
@keyframes pdPress { 50% { scale: .82; } }
.pd-cursor.is-drag { transition: transform 1s cubic-bezier(.5,0,.3,1); }
@media (max-width: 760px) {
  .pd { padding: 16px; border-radius: 24px; gap: 9px; }
  .pd-methods .pm { padding: 11px 12px; } .pd-methods .pm b { font-size: 15px; }
  .pd-row { grid-template-columns: 1fr; }
  .pd-toast { left: 14px; right: 14px; bottom: 14px; }
}

/* ══ Factura electrónica ══ */
.inv { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: clamp(40px, 7vw, 100px); align-items: center; }
.inv-stage { position: relative; display: grid; gap: 18px; justify-items: center; }
.inv-flow { display: flex; gap: 6px; margin: 0; padding: 6px; list-style: none; border-radius: 99px; background: rgba(255,255,255,.04); border: 1px solid var(--line); font-size: 12.5px; font-weight: 650; color: var(--txt2); }
.inv-flow li { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px 7px 7px; border-radius: 99px; animation: invstep 6s var(--ease) infinite; animation-delay: calc(var(--i) * 1.2s); }
.inv-flow li:nth-child(1) { --i: 0; } .inv-flow li:nth-child(2) { --i: 1; } .inv-flow li:nth-child(3) { --i: 2; } .inv-flow li:nth-child(4) { --i: 3; }
.inv-flow i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-style: normal; font-size: 11px; font-weight: 800; background: rgba(255,255,255,.08); color: var(--txt); }
@keyframes invstep { 0%, 100% { background: transparent; color: var(--txt2); } 8%, 22% { background: rgba(52,211,153,.14); color: var(--txt); } }
.inv-doc { width: min(100%, 440px); padding: 22px; border-radius: 26px; background: linear-gradient(180deg, #16171d, #0f1015); border: 1px solid var(--line2); box-shadow: 0 50px 120px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.02) inset; display: grid; gap: 14px; }
.inv-doc header { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px dashed var(--line2); }
.inv-logo img { display: block; width: 40px; height: 40px; border-radius: 12px; }
.inv-doc header b { display: block; font-size: 15px; } .inv-doc header small, .inv-doc small { display: block; font-size: 11.5px; color: var(--txt3); letter-spacing: .02em; }
.inv-ok { display: inline-flex; align-items: center; gap: 5px; padding: 6px 10px; border-radius: 99px; background: rgba(52,211,153,.13); color: var(--green); font-size: 12px; font-weight: 750; }
.inv-ok svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.inv-num b { font-family: var(--display); font-size: 22px; letter-spacing: -.01em; } .inv-to b { font-size: 14.5px; font-weight: 600; }
.inv-lines { display: grid; gap: 8px; padding: 14px; border-radius: 16px; background: rgba(255,255,255,.03); border: 1px solid var(--line); }
.inv-lines p { display: flex; justify-content: space-between; margin: 0; font-size: 14px; color: var(--txt2); }
.inv-lines b { color: var(--txt); font-variant-numeric: tabular-nums; }
.inv-total { padding-top: 8px; border-top: 1px solid var(--line); } .inv-total span, .inv-total b { font-size: 17px; font-weight: 800; color: var(--txt); }
.inv-key code { display: block; margin-top: 4px; font: 600 11px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--txt2); word-break: break-all; }
.inv-doc footer { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.inv-doc footer span { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; border-radius: 12px; background: rgba(255,255,255,.05); border: 1px solid var(--line); font-size: 12.5px; font-weight: 650; color: var(--txt2); }
.inv-doc footer svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* ══ Crecimiento ══ */
.grow-flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; max-width: 1120px; margin: 48px auto 0; padding: 0; list-style: none; counter-reset: none; }
.grow-flow li { position: relative; padding: 24px 22px; border-radius: 24px; background: var(--card); border: 1px solid var(--line); }
.grow-flow li:not(:last-child)::after { content: ''; position: absolute; top: 46px; right: -12px; width: 10px; height: 10px; border-top: 2px solid var(--line2); border-right: 2px solid var(--line2); transform: rotate(45deg); }
.grow-ic { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px; border-radius: 14px; color: var(--green); background: rgba(52,211,153,.1); border: 1px solid rgba(52,211,153,.24); }
.grow-ic svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.grow-flow small { display: block; margin-bottom: 6px; font-size: 11.5px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; color: var(--txt3); }
.grow-flow h3 { font-size: 18px; } .grow-flow p { margin: 8px 0 0; font-size: 14.5px; color: var(--txt2); }
.grow-panel { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr) minmax(0, 1fr); gap: 18px; align-items: center; max-width: 1120px; margin: 18px auto 0; padding: 26px; border-radius: 28px; background: linear-gradient(135deg, rgba(52,211,153,.07), rgba(255,255,255,.02) 55%); border: 1px solid var(--line); }
.grow-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.grow-k { grid-column: 1 / -1; margin: 0 0 2px; font-size: 12px; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; color: var(--green); }
.grow-stats > div { padding: 14px; border-radius: 16px; background: rgba(0,0,0,.25); border: 1px solid var(--line); }
.grow-stats b { display: block; font-family: var(--display); font-size: 28px; letter-spacing: -.03em; } .grow-stats small { font-size: 12.5px; color: var(--txt3); }
.grow-note { grid-column: 1 / -1; margin: 2px 0 0; font-size: 11.5px; color: var(--txt3); }
.grow-coupon { display: grid; justify-items: center; gap: 6px; padding: 26px 18px; border-radius: 22px; text-align: center; background: radial-gradient(120% 90% at 50% 0%, rgba(212,168,67,.28), #0f1015 70%); border: 1px dashed rgba(212,168,67,.6); }
.grow-coupon small { font-size: 11px; font-weight: 750; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.grow-coupon b { font-family: var(--display); font-size: 40px; letter-spacing: -.03em; } .grow-coupon span { font-size: 12.5px; color: var(--txt2); }
.grow-coupon code { margin-top: 6px; padding: 8px 14px; border-radius: 10px; border: 1px dashed rgba(212,168,67,.6); font: 700 15px/1 ui-monospace, Menlo, monospace; letter-spacing: .14em; }
.grow-ticks { margin-top: 0; }

/* ══ Plataforma ══ */
.platform-grid { margin-top: 48px; }

@media (max-width: 1080px) {
  .inv { grid-template-columns: 1fr; }
  .grow-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grow-flow li:nth-child(2)::after { display: none; }
  .grow-panel { grid-template-columns: 1fr 1fr; }
  .grow-ticks { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .inv-flow { font-size: 11.5px; gap: 2px; } .inv-flow li { padding: 6px 8px 6px 6px; }
  .inv-doc { padding: 18px; } .inv-num b { font-size: 19px; }
  .grow-flow { grid-template-columns: 1fr; margin-top: 32px; } .grow-flow li::after { display: none; }
  .grow-panel { grid-template-columns: 1fr; padding: 18px; }
}
h1, h2 { text-wrap: balance; }
.inv-flow li { white-space: nowrap; } @media (max-width: 760px) { .inv-flow { font-size: 11px; } .inv-flow i { width: 19px; height: 19px; font-size: 10px; } }

/* ══ Antes / con IronBase ══ */
.vs-table { display: grid; gap: 10px; max-width: 1040px; margin: 48px auto 0; }
.vs-head, .vs-row { display: grid; grid-template-columns: 200px minmax(0, 1fr) minmax(0, 1fr); gap: 12px; align-items: stretch; }
.vs-head span { padding: 0 18px 4px; font-size: 12px; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; color: var(--txt3); }
.vs-head span:last-child { color: var(--green); }
.vs-row > b { display: flex; align-items: center; padding: 18px; font-family: var(--display); font-size: 17px; letter-spacing: -.02em; }
.vs-row p { display: flex; align-items: flex-start; gap: 10px; margin: 0; padding: 18px; border-radius: 18px; font-size: 14.5px; line-height: 1.5; }
.vs-old { color: var(--txt3); background: rgba(255,255,255,.02); border: 1px solid var(--line); }
.vs-new { color: var(--txt); background: linear-gradient(135deg, rgba(52,211,153,.09), rgba(255,255,255,.025)); border: 1px solid rgba(52,211,153,.22); }
.vs-row i { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-style: normal; font-size: 12px; font-weight: 800; }
.vs-old i { background: rgba(255,255,255,.06); color: var(--txt3); }
.vs-new i { background: rgba(52,211,153,.18); color: var(--green); }
.hero-proof li:last-child b { color: var(--green); }
@media (max-width: 760px) {
  .vs-head { display: none; }
  .vs-row { grid-template-columns: 1fr; gap: 6px; padding: 14px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); }
  .vs-row > b { padding: 2px 4px 4px; }
  .vs-row p { padding: 12px 14px; font-size: 14px; }
}
@media (max-width: 760px) { .hero-proof { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } .hero-proof li { padding: 14px 12px; } }

/* ══ Entrada inteligente: rostro, QR e ID ══ */
.acc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 90px); align-items: center; }
.acc-modes { display: grid; gap: 10px; margin: 36px 0 0; }
.acc-modes button { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 14px; padding: 14px 16px; border-radius: 20px; border: 1px solid var(--line); background: rgba(255,255,255,.025); color: var(--txt); text-align: left; cursor: pointer; overflow: hidden; transition: background .3s, border-color .3s, transform .3s var(--ease); }
.acc-modes button:hover { background: rgba(255,255,255,.05); }
.acc-modes button[aria-selected=true] { border-color: rgba(52,211,153,.4); background: linear-gradient(135deg, rgba(52,211,153,.12), rgba(255,255,255,.03)); transform: translateX(4px); }
.acc-mi { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: rgba(255,255,255,.06); color: var(--txt2); transition: background .3s, color .3s; }
.acc-modes button[aria-selected=true] .acc-mi { background: rgba(52,211,153,.18); color: var(--green); }
.acc-mi svg, .acc-points svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.acc-modes b { display: block; font-family: var(--display); font-size: 17px; letter-spacing: -.02em; }
.acc-modes small { display: block; margin-top: 2px; font-size: 13.5px; color: var(--txt2); }
.acc-prog { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--green); transform: scaleX(0); transform-origin: left; opacity: 0; }
.acc-modes button.is-run .acc-prog { opacity: .9; animation: acc-prog var(--acc-t, 7s) linear forwards; }
@keyframes acc-prog { to { transform: scaleX(1); } }
.acc-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 22px; margin: 34px 0 0; padding: 0; list-style: none; }
.acc-points li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: start; }
.acc-points li > span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; color: var(--green); background: rgba(52,211,153,.1); }
.acc-points svg { width: 18px; height: 18px; }
.acc-points p { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--txt2); }
.acc-points b { color: var(--txt); font-weight: 650; }
/* Escenario y tablet */
.acc-stage { position: relative; display: grid; place-items: center; perspective: 1400px; padding: 30px 0; }
.acc-glow { position: absolute; inset: 8% 10%; border-radius: 50%; background: radial-gradient(circle, rgba(52,211,153,.28), transparent 65%); filter: blur(50px); animation: acc-breathe 6s ease-in-out infinite; }
@keyframes acc-breathe { 50% { transform: scale(1.12); opacity: .7; } }
.acc-device { position: relative; width: min(100%, 410px); padding: 18px 18px 22px; border-radius: 38px; background: linear-gradient(180deg, #121319, #08090c); border: 1px solid var(--line2);
  box-shadow: 0 0 0 8px rgba(255,255,255,.025), 0 60px 120px -30px rgba(0,0,0,.85), inset 0 1px 0 rgba(255,255,255,.08); transform: rotateY(-9deg) rotateX(4deg); transition: transform .8s var(--ease); }
.acc-stage:hover .acc-device { transform: rotateY(-3deg) rotateX(2deg); }
.acc-top { display: flex; justify-content: space-between; align-items: center; padding: 2px 6px 14px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--txt3); }
.acc-top span { display: inline-flex; align-items: center; gap: 8px; }
.acc-top i { width: 14px; height: 2px; border-radius: 2px; background: var(--green); }
.acc-top time { font-size: 15px; font-weight: 600; letter-spacing: 0; color: var(--txt); font-variant-numeric: tabular-nums; }
.acc-screen { position: relative; aspect-ratio: 1 / 1.08; border-radius: 26px; overflow: hidden; background: radial-gradient(circle at 50% 40%, #15161d, #07080a 75%); }
.acc-view { position: absolute; inset: 0 0 13% 0; display: grid; place-items: center; opacity: 0; transform: scale(.96); transition: opacity .5s var(--ease), transform .6s var(--ease); pointer-events: none; }
.acc-screen[data-m=face] .acc-face, .acc-screen[data-m=qr] .acc-qr, .acc-screen[data-m=id] .acc-id { opacity: 1; transform: none; }
.acc-screen[data-s=welcome] .acc-view { opacity: 0 !important; transform: scale(1.04) !important; }
.acc-hint { position: absolute; left: 0; right: 0; bottom: 5%; margin: 0; text-align: center; font-size: 15px; font-weight: 600; color: var(--txt); transition: opacity .3s, color .3s; }
.acc-screen[data-s=match] .acc-hint { color: var(--green); }
.acc-screen[data-s=welcome] .acc-hint { opacity: 0; }
/* Rostro */
.acc-face { inset: 4% 4% 15% 4%; }
.acc-ticks { position: absolute; inset: 0; width: 100%; height: 100%; animation: acc-spin 16s linear infinite; }
.acc-ticks line { stroke: rgba(255,255,255,.16); stroke-width: 3.4; stroke-linecap: round; animation: acc-wave 2.4s linear infinite; animation-delay: calc(var(--i) * -33ms); }
@keyframes acc-spin { to { transform: rotate(360deg); } }
@keyframes acc-wave { 0% { stroke: rgba(255,255,255,.55); } 14%, 100% { stroke: rgba(255,255,255,.16); } }
.acc-screen[data-s=seen] .acc-ticks line { animation: acc-seen 1s ease-in-out infinite; animation-delay: calc(var(--i) * -14ms); }
@keyframes acc-seen { 0%, 100% { stroke: rgba(255,255,255,.3); } 50% { stroke: rgba(255,255,255,.9); } }
.acc-screen[data-s=match] .acc-ticks { animation: none; }
.acc-screen[data-s=match] .acc-ticks line { animation: acc-green .45s both; animation-delay: calc(var(--i) * 5ms); }
@keyframes acc-green { to { stroke: #34d399; } }
.acc-lens { position: absolute; inset: 11%; border-radius: 50%; overflow: hidden; background: radial-gradient(circle at 50% 35%, #20222b, #0b0c10); box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.acc-person { width: 100%; height: 100%; transition: filter .5s; }
.acc-mesh circle { fill: #6ee7b7; opacity: 0; transition: opacity .3s; transition-delay: calc(var(--k) * 6ms); }
.acc-screen[data-s=seen] .acc-mesh circle { opacity: var(--o, .9); }
.acc-screen[data-s=match] .acc-mesh circle { opacity: .35; }
.acc-beam { position: absolute; left: 0; right: 0; top: -30%; height: 30%; background: linear-gradient(180deg, transparent, rgba(110,231,183,.1) 60%, rgba(160,255,215,.5) 98%, transparent); mix-blend-mode: screen; opacity: 0; }
.acc-screen[data-s=seen] .acc-beam { opacity: 1; animation: acc-beam 1.6s cubic-bezier(.45,0,.55,1) infinite; }
@keyframes acc-beam { to { top: 100%; } }
.acc-screen[data-s=match] .acc-person { filter: blur(6px) brightness(.55); }
.acc-check { position: absolute; inset: 33%; width: 34%; height: 34%; opacity: 0; overflow: visible; }
.acc-check circle { fill: rgba(6,30,20,.6); stroke: #34d399; stroke-width: 4; stroke-dasharray: 277; stroke-dashoffset: 277; transform: rotate(-90deg); transform-origin: center; }
.acc-check path { fill: none; stroke: #34d399; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 70; stroke-dashoffset: 70; }
.acc-screen[data-s=match] .acc-check { opacity: 1; }
.acc-screen[data-s=match] .acc-check circle { animation: acc-draw .5s .1s forwards; }
.acc-screen[data-s=match] .acc-check path { animation: acc-draw .35s .45s forwards; }
@keyframes acc-draw { to { stroke-dashoffset: 0; } }
/* QR */
.acc-phone { display: grid; justify-items: center; gap: 10px; width: 46%; padding: 16px 14px 12px; border-radius: 22px; background: linear-gradient(180deg, #1b1c23, #0f1015); border: 1px solid var(--line2); box-shadow: 0 30px 60px -20px rgba(0,0,0,.8); transform: rotate(-4deg); transition: transform .5s var(--ease); }
.acc-phone small { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--txt3); }
.acc-code { display: grid; grid-template-columns: repeat(21, 1fr); width: 100%; aspect-ratio: 1; padding: 7px; border-radius: 10px; background: #fff; }
.acc-code i { background: #0a0a0d; border-radius: 1px; }
.acc-code i.o { background: transparent; }
.acc-corner { position: absolute; width: 34px; height: 34px; border: solid rgba(255,255,255,.75); transition: border-color .3s, transform .4s var(--ease); }
.acc-corner.tl { top: 14%; left: 22%; border-width: 3px 0 0 3px; border-radius: 12px 0 0 0; }
.acc-corner.tr { top: 14%; right: 22%; border-width: 3px 3px 0 0; border-radius: 0 12px 0 0; }
.acc-corner.bl { bottom: 6%; left: 22%; border-width: 0 0 3px 3px; border-radius: 0 0 0 12px; }
.acc-corner.br { bottom: 6%; right: 22%; border-width: 0 3px 3px 0; border-radius: 0 0 12px 0; }
.acc-laser { position: absolute; left: 24%; right: 24%; top: 20%; height: 2px; border-radius: 2px; background: #34d399; box-shadow: 0 0 14px #34d399; opacity: 0; }
.acc-screen[data-s=seen] .acc-laser { opacity: 1; animation: acc-laser 1.3s ease-in-out infinite alternate; }
@keyframes acc-laser { to { top: 84%; } }
.acc-screen[data-s=match] .acc-corner { border-color: #34d399; }
.acc-screen[data-s=match] .acc-corner.tl { transform: translate(6px, 6px); } .acc-screen[data-s=match] .acc-corner.tr { transform: translate(-6px, 6px); }
.acc-screen[data-s=match] .acc-corner.bl { transform: translate(6px, -6px); } .acc-screen[data-s=match] .acc-corner.br { transform: translate(-6px, -6px); }
.acc-screen[data-s=match] .acc-phone { transform: rotate(0) scale(.96); }
/* ID */
.acc-id { align-content: center; gap: 14px; padding: 0 9%; }
.acc-who { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 12px; width: 100%; padding: 10px 12px; border-radius: 16px; background: rgba(255,255,255,.05); border: 1px solid var(--line); }
.acc-av { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(212,168,67,.18); color: var(--gold); font-weight: 800; font-size: 14px; }
.acc-who b { display: block; font-size: 15px; } .acc-who small { font-size: 12px; color: var(--txt3); }
.acc-pin { width: 100%; display: grid; gap: 10px; padding: 12px; border-radius: 16px; background: rgba(255,255,255,.03); border: 1px solid var(--line); transition: border-color .3s; }
.acc-pin em { font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--txt2); }
.acc-pin div { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.acc-pin i { position: relative; aspect-ratio: 1 / 1.1; border-radius: 12px; border: 1px solid var(--line2); background: rgba(0,0,0,.3); transition: border-color .2s, background .2s; }
.acc-pin i::after { content: ""; position: absolute; inset: 0; margin: auto; width: 10px; height: 10px; border-radius: 50%; background: #fff; transform: scale(0); transition: transform .2s cubic-bezier(.2,1.6,.4,1); }
.acc-pin i.on { border-color: rgba(212,168,67,.6); background: rgba(212,168,67,.1); }
.acc-pin i.on::after { transform: scale(1); }
.acc-screen[data-s=match] .acc-pin { border-color: rgba(52,211,153,.5); }
.acc-screen[data-s=match] .acc-pin i { border-color: rgba(52,211,153,.6); background: rgba(52,211,153,.12); }
.acc-keys { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.acc-keys i { display: grid; place-items: center; height: 30px; border-radius: 9px; background: rgba(255,255,255,.055); font-style: normal; font-size: 13px; font-weight: 650; color: var(--txt2); transition: background .15s, color .15s; }
.acc-keys i.hit { background: rgba(255,255,255,.22); color: #fff; }
/* Bienvenida */
.acc-welcome { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 6px; text-align: center; opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .6s var(--ease); background: radial-gradient(60% 45% at 50% 32%, rgba(52,211,153,.22), transparent 70%); }
.acc-screen[data-s=welcome] .acc-welcome { opacity: 1; transform: none; }
.acc-wav { position: relative; display: grid; place-items: center; width: 96px; height: 96px; margin-bottom: 8px; border-radius: 50%; background: linear-gradient(145deg, #2c2f38, #15161b); box-shadow: 0 0 0 3px #34d399, 0 0 0 10px rgba(52,211,153,.12), 0 24px 50px -10px rgba(52,211,153,.5); }
.acc-wav b { font-size: 30px; font-weight: 700; color: #fff; }
.acc-wav i { position: absolute; right: -2px; bottom: 2px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #34d399; color: #062b14; box-shadow: 0 0 0 4px #0b0c10; }
.acc-wav i svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.acc-welcome small { font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: #6ee7b7; }
.acc-welcome strong { font-family: var(--display); font-size: 28px; letter-spacing: -.03em; }
.acc-tags { display: flex; gap: 8px; margin-top: 6px; }
.acc-tags span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 99px; background: rgba(255,255,255,.06); border: 1px solid var(--line); font-size: 12px; font-weight: 650; }
.acc-tags i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
/* Etiquetas flotantes */
.acc-float { position: absolute; display: grid; gap: 1px; padding: 12px 16px; border-radius: 18px; background: rgba(14,15,20,.72); border: 1px solid var(--line2); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 20px 50px -20px rgba(0,0,0,.8); animation: acc-float 6s ease-in-out infinite; }
.acc-float b { font-family: var(--display); font-size: 20px; letter-spacing: -.02em; color: var(--green); }
.acc-float span { font-size: 12.5px; color: var(--txt2); }
.acc-f1 { top: 12%; left: -2%; } .acc-f2 { bottom: 14%; right: -3%; animation-delay: -3s; }
.acc-f2 b { color: var(--txt); }
@keyframes acc-float { 50% { transform: translateY(-10px); } }
@media (max-width: 960px) {
  .acc-grid { grid-template-columns: 1fr; }
  .acc-copy { display: contents; }
  .acc-copy .sec-head { order: 1; } .acc-stage { order: 2; max-width: 460px; width: 100%; margin: 0 auto; } .acc-modes { order: 3; margin-top: 0; } .acc-points { order: 4; margin-top: 0; }
  .acc-device { transform: none; }
  .acc-copy .sec-head { text-align: left; }
}
@media (max-width: 560px) {
  .acc-points { grid-template-columns: 1fr; }
  .acc-f1 { left: -4px; top: 0; } .acc-f2 { display: none; }
  .acc-modes button[aria-selected=true] { transform: none; }
  .acc-float { padding: 9px 12px; } .acc-float b { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .acc-ticks, .acc-ticks line, .acc-beam, .acc-laser, .acc-glow, .acc-float, .acc-prog { animation: none !important; }
}

/* Descanso y Grit en vivo (demo de marca) */
.bx-rest { overflow: visible; }
.bx-rest-t b { transition: color .3s, transform .3s; }
.bx-rest.is-low .bx-rest-t b { color: #ff8a7a; animation: bx-beat .52s ease-in-out infinite; }
.bx-rest.is-low .bx-ring { stroke: #ff8a7a; }
@keyframes bx-beat { 50% { transform: scale(1.06); } }
.bx-rest.is-done { animation: bx-flash .9s ease-out; }
@keyframes bx-flash { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--ac) 60%, transparent); border-color: var(--ac); } 100% { box-shadow: 0 0 0 4cqw transparent; } }
.bx-rest.is-done .bx-grit b { animation: bx-grit .7s cubic-bezier(.2,1.6,.4,1); }
@keyframes bx-grit { 40% { transform: scale(1.25); } }
.bx-grit b { display: inline-block; transform-origin: right center; }
.bx-pop { position: absolute; right: 5cqw; top: 6cqw; font: 800 6cqw/1 'Space Grotesk', sans-serif; font-style: normal; color: var(--ac); text-shadow: 0 0 3cqw color-mix(in srgb, var(--ac) 70%, transparent); pointer-events: none; animation: bx-pop 1.3s cubic-bezier(.2,.8,.2,1) forwards; }
@keyframes bx-pop { 0% { opacity: 0; transform: translateY(2cqw) scale(.7); } 20% { opacity: 1; transform: translateY(-2cqw) scale(1.1); } 100% { opacity: 0; transform: translateY(-14cqw) scale(1); } }
@media (prefers-reduced-motion: reduce) { .bx-rest.is-low .bx-rest-t b, .bx-rest.is-done, .bx-pop { animation: none; } }

/* ══ Correos con tu marca ══ */
.mail-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 90px); align-items: center; }
.mail-types { display: grid; gap: 8px; margin: 34px 0 0; }
.mail-types button { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 14px; padding: 12px 14px; border-radius: 18px; border: 1px solid var(--line); background: rgba(255,255,255,.025); color: var(--txt); text-align: left; cursor: pointer; overflow: hidden; transition: background .3s, border-color .3s, transform .3s var(--ease); }
.mail-types button:hover { background: rgba(255,255,255,.05); }
.mail-types button[aria-selected=true] { border-color: rgba(255,90,31,.45); background: linear-gradient(135deg, rgba(255,90,31,.13), rgba(255,255,255,.03)); transform: translateX(4px); }
.mail-ti { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; background: rgba(255,255,255,.06); color: var(--txt2); transition: background .3s, color .3s; }
.mail-types button[aria-selected=true] .mail-ti { background: rgba(255,90,31,.18); color: var(--orange); }
.mail-ti svg, .mail-points svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.mail-types b { display: block; font-family: var(--display); font-size: 16px; letter-spacing: -.02em; }
.mail-types small { display: block; margin-top: 1px; font-size: 13px; color: var(--txt2); }
.mail-prog { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--orange); transform: scaleX(0); transform-origin: left; opacity: 0; }
.mail-types button.is-run .mail-prog { opacity: .9; animation: mail-prog 9.3s linear forwards; }
@keyframes mail-prog { to { transform: scaleX(1); } }
.mail-points { display: grid; gap: 16px; margin: 30px 0 0; padding: 0; list-style: none; }
.mail-points li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: start; }
.mail-points li > span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; color: var(--orange); background: rgba(255,90,31,.1); }
.mail-points svg { width: 17px; height: 17px; }
.mail-points p { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--txt2); } .mail-points b { color: var(--txt); font-weight: 650; }
/* Escenario */
.mail-stage { position: relative; display: grid; justify-items: center; gap: 18px; padding: 20px 0; }
.mail-glow { position: absolute; inset: 6% 12% 16%; border-radius: 50%; background: radial-gradient(circle, rgba(255,90,31,.26), transparent 65%); filter: blur(50px); animation: acc-breathe 7s ease-in-out infinite; }
.mail-phone { width: 320px; transform: rotate(-2deg); transition: transform .8s var(--ease); }
.mail-stage:hover .mail-phone { transform: none; }
.ml-screen { --ml: #ff5a1f; --ml-on: #fff; position: relative; width: 100%; height: 100%; border-radius: 43px; overflow: hidden; background: #f2f2f7; color: #111114; font-family: 'Inter', -apple-system, sans-serif; }
.ml-status { position: absolute; z-index: 6; inset: 0 0 auto; height: 7.2%; display: flex; align-items: center; justify-content: space-between; padding: 0 9% 0 10%; font: 650 13px/1 'Inter', sans-serif; color: #111114; transition: color .3s; }
.ml-status i { width: 24px; height: 11px; border-radius: 3px; border: 1.5px solid currentColor; opacity: .8; }
/* Buzón */
.ml-inbox { position: absolute; inset: 7.2% 0 0; padding: 14px 0 0; transition: transform .55s var(--ease), filter .55s; }
.ml-inbox header { padding: 0 18px 10px; } .ml-inbox header small { font-size: 12px; font-weight: 600; color: #007aff; }
.ml-inbox header b { display: block; margin-top: 4px; font: 800 26px/1.1 'Inter', sans-serif; letter-spacing: -.03em; }
.ml-list { margin: 0; padding: 0; list-style: none; background: #fff; }
.ml-list li { position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; padding: 11px 16px 11px 14px; border-bottom: 1px solid #ececf0; }
.ml-list li img { width: 34px; height: 34px; border-radius: 10px; background: #111; }
.ml-r1 { display: flex; justify-content: space-between; gap: 6px; } .ml-r1 b { font-size: 13px; } .ml-r1 time { font-size: 11px; color: #8a8a94; }
.ml-list .ml-sub { display: block; margin-top: 1px; font-size: 12.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ml-list em { display: block; margin-top: 1px; font-size: 12px; font-style: normal; color: #8a8a94; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.35; }
.ml-list li.is-new { animation: ml-row .6s var(--ease) both; background: linear-gradient(90deg, color-mix(in srgb, var(--ml) 9%, #fff), #fff); }
@keyframes ml-row { from { opacity: 0; transform: translateY(-14px); max-height: 0; } to { opacity: 1; transform: none; max-height: 90px; } }
.ml-dot { position: absolute; left: 4px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: #007aff; }
/* Notificación */
.ml-banner { position: absolute; z-index: 7; left: 8px; right: 8px; top: 8.5%; display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 10px; padding: 11px 12px; border-radius: 20px; background: rgba(250,250,252,.88); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 14px 40px rgba(0,0,0,.18); transform: translateY(-160%); transition: transform .55s cubic-bezier(.2,1.2,.3,1); }
.ml-screen.is-banner .ml-banner { transform: none; }
.ml-banner img { width: 36px; height: 36px; border-radius: 10px; background: #111; }
.ml-banner small { display: block; font-size: 11px; color: #6a6a74; } .ml-banner small b { color: #111114; }
.ml-banner > span > b { display: block; margin-top: 1px; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ml-banner em { display: block; font-size: 12px; font-style: normal; color: #4a4a54; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ml-tap { position: absolute; z-index: 8; left: 50%; top: 31%; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; background: rgba(0,0,0,.18); opacity: 0; transform: scale(.4); pointer-events: none; }
.ml-screen.is-tap .ml-tap { animation: ml-tap .42s ease-out; }
@keyframes ml-tap { 30% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.6); } }
/* Correo abierto */
.ml-mail { position: absolute; z-index: 5; inset: 0; padding-top: 7.2%; background: #eeeef1; transform: translateX(100%); transition: transform .5s var(--ease); overflow: hidden; }
.ml-mail.is-open { transform: none; }
.ml-mail.is-open ~ .ml-status, .ml-screen:has(.ml-mail.is-open) .ml-inbox { filter: brightness(.9); transform: translateX(-24%); }
.ml-mail-top { display: flex; align-items: center; justify-content: space-between; height: 34px; padding: 0 14px; font-size: 13px; color: #007aff; background: rgba(238,238,241,.95); position: relative; z-index: 1; }
.ml-scroll { padding: 10px 10px 26px; transition: transform 2.2s cubic-bezier(.45,0,.2,1); }
.mlm { border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 10px 30px rgba(17,17,20,.08); }
.mlm-hero { display: grid; justify-items: center; gap: 3px; padding: 22px 14px 18px; background: #0f1015; background-image: radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--ml) 30%, transparent), #0f1015 70%); color: #fff; text-align: center; }
.mlm-hero img { width: 54px; height: 54px; border-radius: 15px; margin-bottom: 8px; animation: mlm-in .5s .1s var(--ease) both; }
.mlm-hero b { font-size: 10px; font-weight: 700; letter-spacing: 2.6px; text-transform: uppercase; } .mlm-hero small { font-size: 10px; color: #a2a2ad; }
.mlm-hero i { width: 26px; height: 2.5px; margin-top: 9px; border-radius: 3px; background: var(--ml); }
.mlm-body { padding: 18px 18px 16px; text-align: center; }
.mlm-body > * { animation: mlm-in .5s var(--ease) both; }
.mlm-body > :nth-child(2) { animation-delay: .08s; } .mlm-body > :nth-child(3) { animation-delay: .16s; } .mlm-body > :nth-child(4) { animation-delay: .24s; } .mlm-body > :nth-child(5) { animation-delay: .32s; } .mlm-body > :nth-child(n+6) { animation-delay: .4s; }
@keyframes mlm-in { from { opacity: 0; transform: translateY(8px); } }
.mlm-eye { display: block; font-size: 9.5px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase; color: var(--ml); }
.mlm h4 { margin: 6px 0 8px; font: 800 19px/1.18 'Inter', sans-serif; letter-spacing: -.02em; color: #111114; }
.mlm p { margin: 0 0 14px; font-size: 12px; line-height: 1.55; color: #4a4a54; }
.mlm-cred { border: 1px solid #e8e8ec; border-radius: 14px; background: #fafafb; margin-bottom: 12px; }
.mlm-cred div { padding: 10px; } .mlm-cred div + div { border-top: 1px dashed #e3e3e8; }
.mlm-cred small, .mlm-coupon small, .mlm-plan small { display: block; font-size: 8.5px; font-weight: 700; letter-spacing: 1.3px; text-transform: uppercase; color: #8a8a94; }
.mlm-cred b { display: block; margin-top: 3px; font: 700 14px 'SF Mono', Menlo, monospace; color: #111114; }
.mlm-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 14px; } .mlm-steps div { padding: 8px 6px; border-radius: 10px; background: #f6f6f8; }
.mlm-steps b { display: block; font-size: 10.5px; } .mlm-steps span { display: block; margin-top: 2px; font-size: 9px; line-height: 1.35; color: #6a6a74; }
.mlm-coupon { position: relative; display: grid; justify-items: center; gap: 4px; margin-bottom: 14px; padding: 14px 10px; border-radius: 14px; border: 1.5px dashed var(--c); background: color-mix(in srgb, var(--c) 7%, #fff); }
.mlm-coupon::before, .mlm-coupon::after { content: ''; position: absolute; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: #fff; border: 1.5px dashed var(--c); }
.mlm-coupon::before { left: -8px; clip-path: inset(0 0 0 50%); } .mlm-coupon::after { right: -8px; clip-path: inset(0 50% 0 0); }
.mlm-coupon b { font: 900 28px/1 'Inter', sans-serif; letter-spacing: -.03em; color: var(--c); }
.mlm-coupon.is-mini b { font-size: 15px; }
.mlm-code { padding: 4px 10px; border-radius: 7px; background: #111114; color: #fff; font: 700 11px 'SF Mono', Menlo, monospace; letter-spacing: 1.5px; }
.mlm-coupon em { font-size: 9.5px; font-style: normal; color: #6a6a74; }
.mlm-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 10px; } .mlm-stats div { padding: 10px 6px; border-radius: 12px; background: #f6f6f8; }
.mlm-stats b { display: block; font: 900 22px/1 'Inter', sans-serif; } .mlm-stats small { display: block; margin-top: 3px; font-size: 9px; color: #6a6a74; }
.mlm-plan { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; margin-bottom: 10px; padding: 12px; border-radius: 14px; background: #f6f6f8; text-align: left; }
.mlm-plan span b { display: block; margin-top: 2px; font-size: 14px; } .mlm-plan em { font-size: 10px; font-style: normal; color: #6a6a74; }
.mlm-plan i { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; font-style: normal; background: color-mix(in srgb, var(--c) 14%, #fff); box-shadow: inset 0 0 0 3px var(--c); }
.mlm-plan i b { font: 900 18px/1 'Inter', sans-serif; color: var(--c); margin-top: 6px; } .mlm-plan i small { font-size: 7px; margin-top: -10px; }
.mlm-pay { display: flex; justify-content: center; gap: 5px; margin-bottom: 14px; } .mlm-pay span { padding: 4px 8px; border-radius: 99px; background: #f0f0f4; font-size: 9px; font-weight: 700; color: #4a4a54; }
.mlm-inv { margin-bottom: 14px; padding: 10px 12px; border-radius: 14px; border: 1px solid #e8e8ec; text-align: left; }
.mlm-inv-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; } .mlm-inv-h small { font: 600 9px 'SF Mono', Menlo, monospace; color: #6a6a74; }
.mlm-inv-h em { display: inline-flex; align-items: center; gap: 4px; padding: 3px 7px; border-radius: 99px; background: #e8f8ef; color: #17864a; font: 700 8.5px 'Inter', sans-serif; font-style: normal; }
.mlm-inv-h em i { width: 5px; height: 5px; border-radius: 50%; background: #17864a; }
.mlm-row { display: flex; justify-content: space-between; padding: 6px 0; border-top: 1px solid #f0f0f3; font-size: 11px; color: #4a4a54; } .mlm-row b { color: #111114; }
.mlm-row.is-total { font-size: 13px; font-weight: 800; color: #111114; } .mlm-row.is-total b { color: var(--c); }
.mlm-btn { display: inline-block; padding: 11px 24px; border-radius: 12px; background: var(--ml); color: var(--ml-on); font-size: 12.5px; font-weight: 700; transition: transform .3s, box-shadow .3s; }
.ml-screen.is-cta .mlm-btn { animation: ml-cta 1.2s ease-in-out; }
@keyframes ml-cta { 0%, 100% { transform: none; box-shadow: none; } 35% { transform: scale(1.08); box-shadow: 0 0 0 8px color-mix(in srgb, var(--ml) 22%, transparent); } }
.mlm-sign { margin: 16px 0 0 !important; padding-top: 12px; border-top: 1px solid #ececf0; font-size: 10.5px !important; } .mlm-sign b { color: #111114; }
/* Marcas y etiquetas */
.mail-brands { position: relative; z-index: 1; display: flex; gap: 6px; padding: 5px; border-radius: 99px; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.mail-brands button { display: inline-flex; align-items: center; gap: 7px; min-height: 34px; padding: 0 13px; border: 0; border-radius: 99px; background: none; color: var(--txt2); font: 650 13px 'Inter', sans-serif; cursor: pointer; }
.mail-brands button i { width: 9px; height: 9px; border-radius: 50%; }
.mail-brands button[aria-pressed=true] { background: #fff; color: #0a0a0d; }
.mail-float { position: absolute; display: grid; gap: 1px; padding: 12px 16px; border-radius: 18px; background: rgba(14,15,20,.72); border: 1px solid var(--line2); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 20px 50px -20px rgba(0,0,0,.8); animation: acc-float 6s ease-in-out infinite; }
.mail-float b { font-family: var(--display); font-size: 19px; letter-spacing: -.02em; color: var(--orange); } .mail-float span { font-size: 12.5px; color: var(--txt2); }
.mail-f1 { top: 14%; left: 0; } .mail-f2 { bottom: 22%; right: 0; animation-delay: -3s; } .mail-f2 b { color: var(--txt); }
@media (max-width: 960px) {
  .mail-grid { grid-template-columns: 1fr; }
  .mail-copy { display: contents; }
  .mail-copy .sec-head { order: 1; } .mail-stage { order: 2; } .mail-types { order: 3; margin-top: 0; } .mail-points { order: 4; margin-top: 0; }
}
@media (max-width: 560px) {
  .mail-phone { width: min(300px, 80vw); transform: none; }
  .mail-f1, .mail-f2 { display: none; }
  .mail-types button[aria-selected=true] { transform: none; }
}
@media (prefers-reduced-motion: reduce) { .mail-glow, .mail-float, .mail-prog, .mlm-body > *, .ml-list li.is-new { animation: none !important; } }

/* Menú de escritorio: nunca en dos líneas; en pantallas medianas, más compacto */
@media (min-width: 1081px) {
  .nav-links a { white-space: nowrap; }
}
@media (min-width: 1081px) and (max-width: 1380px) {
  .nav-links { gap: 0; }
  .nav-links a { padding: 8px 9px; font-size: 13.5px; }
}

/* ── Correos · mockup pulido: barra de estado real, barra de Mail y área recortada ── */
.ml-status { height: 48px; padding: 2px 22px 0 30px; color: #111114; }
.ml-time { font: 650 15px/1 'Inter', -apple-system, sans-serif; letter-spacing: -.02em; }
.ml-sys { display: flex; align-items: center; gap: 5px; }
.ml-status .ml-sig { width: 17px; height: 11px; fill: currentColor; }
.ml-status .ml-wifi { width: 15px; height: 11px; fill: currentColor; }
.ml-status .ml-bat { position: relative; display: block; width: 24px; height: 12px; padding: 1.5px; border: 1px solid rgba(17,17,20,.38); border-radius: 4px; }
.ml-status .ml-bat::after { content: ''; position: absolute; right: -3.5px; top: 3.5px; width: 2px; height: 4px; border-radius: 0 2px 2px 0; background: rgba(17,17,20,.45); }
.ml-status .ml-bat i { display: block; width: 80%; height: 100%; border: 0; border-radius: 2px; background: #111114; opacity: 1; }
.ml-inbox { inset: 48px 0 0; padding-top: 6px; }
.ml-banner { top: 50px; }
.ml-mail { padding-top: 48px; }
.ml-mail-top { height: 40px; padding: 0 12px 0 8px; border-bottom: 1px solid rgba(17,17,20,.06); }
.ml-back { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 500; color: #007aff; }
.ml-back svg { width: 9px; height: 15px; fill: none; stroke: #007aff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ml-nav { display: inline-flex; gap: 12px; }
.ml-nav svg { width: 16px; height: 16px; fill: none; stroke: #007aff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ml-nav svg + svg { opacity: .35; }
/* El correo se recorre solo dentro de esta ventana: nunca pasa por debajo de la barra de estado */
.ml-view { position: absolute; top: 88px; left: 0; right: 0; bottom: 0; overflow: hidden; }
.ml-view::after { content: ''; position: absolute; right: 3px; top: 8px; width: 3px; height: 34%; border-radius: 3px; background: rgba(17,17,20,.28); opacity: 0; transition: opacity .3s, transform 3s cubic-bezier(.45,0,.2,1); }
.ml-screen.is-scroll .ml-view::after { opacity: 1; transform: translateY(170%); }
.ml-scroll { padding: 12px 10px 24px; transition: transform 3s cubic-bezier(.45,0,.2,1); will-change: transform; }
/* Cabecera del correo como en Mail */
.mlm-from { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 9px; padding: 2px 4px 10px; }
.mlm-from img { width: 34px; height: 34px; border-radius: 50%; background: #111; }
.mlm-from b { display: block; font-size: 13px; color: #111114; }
.mlm-from small { display: block; font-size: 11px; color: #8a8a94; }
.mlm-from time { font-size: 11px; color: #8a8a94; align-self: start; padding-top: 3px; }
.mlm-subj { margin: 0 4px 12px; font: 750 16px/1.25 'Inter', sans-serif; letter-spacing: -.02em; color: #111114; }

/* ── Tu marca · barra de estado del iPhone (clara sobre la app oscura) ── */
.bx > .bx-status { left: 0; right: 0; top: 0; z-index: 4; height: 13cqw; display: flex; align-items: center; justify-content: space-between; padding: 2.6cqw 7.4cqw 0 10.2cqw; color: #f4f4f6; pointer-events: none; }
.bx-status .ml-time { font: 650 5.2cqw/1 'Inter', -apple-system, sans-serif; letter-spacing: -.02em; }
.bx-status .ml-sys { display: flex; align-items: center; gap: 1.7cqw; }
.bx-status .ml-sig { width: 5.8cqw; height: 3.8cqw; fill: currentColor; }
.bx-status .ml-wifi { width: 5.2cqw; height: 3.8cqw; fill: currentColor; }
.bx-status .ml-bat { position: relative; display: block; width: 8.4cqw; height: 4.1cqw; padding: .5cqw; border: .35cqw solid rgba(255,255,255,.42); border-radius: 1.4cqw; }
.bx-status .ml-bat::after { content: ''; position: absolute; right: -1.3cqw; top: 1.2cqw; width: .7cqw; height: 1.4cqw; border-radius: 0 .7cqw .7cqw 0; background: rgba(255,255,255,.5); }
.bx-status .ml-bat i { display: block; width: 80%; height: 100%; border-radius: .7cqw; background: #f4f4f6; }
.bx-guide.is-tag-below em { bottom: auto; top: calc(100% + 1.6cqw); }
/* La barra de estado siempre encima (también durante la bienvenida), como en el iPhone */
.bx > .bx-status { z-index: 8; }
.bx.is-splash > .bx-status { color: #fff; }
/* La demo de «Tu marca» trae su propia barra de estado: sin la genérica de los marcos (no se duplica) */
.phone .phone-screen.bx::before, .phone .phone-screen.bx::after { display: none; }

/* ── Pantalla de bloqueo: barra de estado del iPhone (operadora a la izquierda, como en iOS) ── */
.lock-status { position: absolute; z-index: 3; left: 0; right: 0; top: 14px; height: 28px; display: flex; align-items: center; justify-content: space-between; padding: 0 24px 0 30px; color: #fff; pointer-events: none; }
.lock-status .ml-time { font: 600 14px/1 'Inter', -apple-system, sans-serif; letter-spacing: -.01em; }
.lock-status .ml-sys { display: flex; align-items: center; gap: 5px; }
.lock-status .ml-sig { width: 17px; height: 11px; fill: currentColor; }
.lock-status .ml-wifi { width: 15px; height: 11px; fill: currentColor; }
.lock-status .ml-bat { position: relative; display: block; width: 24px; height: 12px; padding: 1.5px; border: 1px solid rgba(255,255,255,.45); border-radius: 4px; }
.lock-status .ml-bat::after { content: ''; position: absolute; right: -3.5px; top: 3.5px; width: 2px; height: 4px; border-radius: 0 2px 2px 0; background: rgba(255,255,255,.5); }
.lock-status .ml-bat i { display: block; width: 80%; height: 100%; border-radius: 2px; background: #fff; }
@media (max-width: 560px) { .lock-status { padding: 0 20px 0 26px; } .lock-status .ml-time { font-size: 13px; } }

/* ── Barra superior · versión pulida ──
   Marca a la izquierda, secciones en una cápsula centrada y acciones a la derecha.
   «Agendar demo» nunca se parte en dos líneas y queda centrado con su flecha. */
.nav { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; padding: 7px 7px 7px 12px; min-height: 60px;
  background: linear-gradient(180deg, rgba(22,22,28,.62), rgba(12,12,16,.58)); border-color: rgba(255,255,255,.08);
  box-shadow: 0 12px 40px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.06); }
.nav.is-scrolled { background: linear-gradient(180deg, rgba(20,20,26,.9), rgba(10,10,14,.88)); box-shadow: 0 18px 50px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.07); }
.nav-brand { justify-self: start; gap: 9px; padding-right: 6px; font-size: 16.5px; white-space: nowrap; }
.nav-brand img { width: 32px; height: 32px; border-radius: 9px; box-shadow: 0 0 0 1px rgba(255,255,255,.08); }
.nav-cta { grid-column: 3; justify-self: end; flex-shrink: 0; gap: 4px; margin: 0; }
.nav-login { position: relative; padding: 8px 14px 8px 12px; font-size: 13.5px; white-space: nowrap; }
.nav-login::after { content: ''; position: absolute; right: 0; top: 50%; width: 1px; height: 18px; transform: translateY(-50%); background: rgba(255,255,255,.12); }
.nav-demo { gap: 10px; min-height: 44px; padding: 0 6px 0 18px; margin-left: 8px; white-space: nowrap; font-size: 13.5px; line-height: 1; box-shadow: 0 10px 30px rgba(255,255,255,.1), inset 0 -2px 0 rgba(0,0,0,.12); }
.nav-demo > span { display: inline-flex; align-items: center; }
.nav-demo-go { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #0c0c10; color: #fff; flex-shrink: 0; transition: transform .25s var(--ease); }
.nav-demo .nav-demo-go svg { width: 15px; height: 15px; stroke-width: 2.4; }
.nav-demo:hover .nav-demo-go { transform: translateX(2px); }
.nav-demo:hover .nav-demo-go svg { transform: none; }
@media (min-width: 1081px) {
  .nav-links { grid-column: 2; justify-self: center; margin: 0; gap: 2px; padding: 4px; border-radius: 99px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.06); }
  .nav-links a { padding: 7px 13px; font-size: 13.5px; font-weight: 560; line-height: 1.2; white-space: nowrap; }
  .nav-links a.is-active { color: var(--txt); background: rgba(255,255,255,.09); box-shadow: inset 0 1px 0 rgba(255,255,255,.08); }
}
/* Pantallas medianas: cápsula más compacta y sin las dos secciones de menor prioridad */
@media (min-width: 1400px) { .nav { width: min(calc(100% - 40px), 1340px); } }
@media (min-width: 1081px) and (max-width: 1399px) {
  .nav-links a { padding: 7px 10px; font-size: 13px; }
  .nav-links a[href="#socio"], .nav-links a[href="#correos"] { display: none; }
}
@media (min-width: 1081px) and (max-width: 1199px) {
  .nav-links a[href="#crecimiento"], .nav-links a[href="#automatico"] { display: none; }
  .nav-login { display: none; }
}
/* Teléfono y tableta: marca y acciones; las secciones viven en el menú */
@media (max-width: 1080px) {
  .nav { grid-template-columns: minmax(0, 1fr) auto; }
  .nav-cta { grid-column: 2; }
}
@media (max-width: 760px) {
  .nav { min-height: 56px; padding: 6px 6px 6px 10px; }
  .nav .btn-sm.nav-demo { min-height: 42px; padding: 0 5px 0 15px; margin-left: 0; }
  .nav-demo-go { width: 30px; height: 30px; }
}

/* Cierre de la prueba: condiciones legibles junto a una única acción. */
.trial-next { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 20px; padding: 26px 30px; border: 1px solid var(--line); border-radius: 24px; background: var(--card); }
.trial-next p { display: grid; gap: 8px; margin: 0; max-width: 680px; }
.trial-next b { color: var(--txt); }
.trial-next span { color: var(--txt2); font-size: 14px; line-height: 1.65; }
.trial-next .btn { flex-shrink: 0; }
@media (max-width: 700px) { .trial-next { align-items: stretch; flex-direction: column; gap: 20px; padding: 22px 20px; } }

/* Compartir: la versión con foto adelante y la tarjeta detrás (los dos estilos de la app) */
.share-stack { position: relative; justify-self: center; width: min(100%, 420px); aspect-ratio: 720 / 1280; margin-right: clamp(0px, 4vw, 60px); }
.share-stack .share-card { position: absolute; width: 86%; margin: 0; }
.share-stack .share-card img { display: block; width: 100%; height: auto; }
.share-card-back { top: 4%; left: 30%; transform: rotate(6deg); opacity: .78; filter: saturate(.9); box-shadow: 0 30px 80px rgba(0,0,0,.6) !important; }
.share-card-back::after { display: none; }
.share-card-front { top: 0; left: 0; transform: rotate(-4deg); z-index: 1; }
.share-stack.rv.is-in .share-card-front { transform: rotate(-4deg); }
.share-tag { position: absolute; z-index: 2; padding: 8px 14px; border-radius: 99px; font-size: 13px; font-weight: 700; color: #fff; background: rgba(12,12,16,.82); border: 1px solid var(--line2); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); white-space: nowrap; }
.share-tag-a { left: -6px; bottom: 16%; }
.share-tag-b { right: -10px; top: 10%; }
@media (max-width: 900px) { .share-stack { width: min(86vw, 360px); margin: 0 auto 0 0; } .share-tag-b { right: -2px; } }
.share-stack { width: min(100%, 370px); margin: 0 auto; }
.share-stack .share-card { width: 84%; }
.share-card-front { left: 3%; }
.share-card-back { left: 27%; }
.share-tag-a { left: 0; }
@media (max-width: 900px) { .share-stack { width: min(72vw, 330px); margin: 0 auto 0 4px; } .share-tag-b { right: -6%; } }
.share-card-back { opacity: .9; filter: none; }
/* Dos socios, dos gyms: tarjetas más separadas para que se vean ambas fotos */
.share-stack { width: min(100%, 470px); aspect-ratio: 470 / 700; }
.share-stack .share-card { width: 68%; }
.share-card-front { left: 0; top: 2%; }
.share-card-back { left: 34%; top: 9%; transform: rotate(5deg); }
.share-tag-b { right: -2%; top: auto; bottom: 9%; }
.share-tag-a { left: -2%; bottom: 20%; }
@media (max-width: 900px) { .share-stack { width: min(88vw, 400px); margin: 0 auto; } .share-tag-b { right: 0; } }
/* Casi lado a lado: se ve cada foto completa (las caras no quedan tapadas) */
.share-stack { width: min(100%, 520px); aspect-ratio: 520 / 560; }
.share-stack .share-card { width: 53%; }
.share-card-front { left: 0; top: 0; transform: rotate(-4deg); }
.share-stack.rv.is-in .share-card-front { transform: rotate(-4deg); }
.share-card-back { left: 47%; top: 7%; transform: rotate(4deg); opacity: 1; }
.share-tag-a { left: 2%; bottom: 4%; }
.share-tag-b { right: 0; bottom: -3%; }
@media (max-width: 900px) { .share-stack { width: min(94vw, 440px); margin: 0 auto; } }

/* ── Mazo de historias (sustituye a la pareja fija) ── */
.share-deck { position: relative; justify-self: center; width: min(100%, 420px); display: grid; gap: 22px; outline: none; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.share-deck:focus-visible .deck-card.is-front { box-shadow: 0 0 0 3px var(--accent, #ff5a1f), 0 40px 90px rgba(0,0,0,.6); }
.share-deck-cards { position: relative; width: 74%; aspect-ratio: 720 / 1280; margin: 0 auto 0 4%; }
.deck-card { --pos: 0; --dx: 0px; --rot: 0deg; position: absolute; inset: 0; margin: 0; border-radius: 26px; overflow: hidden; cursor: grab; border: 1px solid var(--line2);
  box-shadow: 0 40px 90px rgba(0,0,0,.6), 0 20px 60px rgba(255,90,31,.08); background: #0b0b0e;
  transform: translateX(calc(var(--pos) * 15% + var(--dx))) translateY(calc(var(--pos) * 2.5%)) rotate(calc(-4deg + var(--pos) * 6deg + var(--rot))) scale(calc(1 - var(--pos) * .07));
  filter: brightness(calc(1 - var(--pos) * .18));
  transition: transform .5s cubic-bezier(.2,.8,.2,1), filter .5s ease, box-shadow .3s; will-change: transform; }
.deck-card img { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.deck-card.is-drag { transition: none; cursor: grabbing; }
.deck-card.is-flying { transition: transform .34s cubic-bezier(.4,0,.6,1), opacity .34s ease; transform: translateX(calc(var(--fly) * 120%)) translateY(-4%) rotate(calc(var(--fly) * 18deg)); opacity: 0; }
.deck-card:not(.is-front) { pointer-events: none; }
.deck-card.is-front::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(120deg, transparent 40%, rgba(255,255,255,.12) 50%, transparent 60%) -100% 0 / 250% 100% no-repeat; animation: sheen 5s ease-in-out infinite; }
.share-deck-bar { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.share-deck-label { padding: 8px 14px; border-radius: 99px; font-size: 13.5px; font-weight: 700; color: #fff; background: rgba(255,255,255,.06); border: 1px solid var(--line2); }
.share-deck-dots { display: inline-flex; gap: 6px; }
.share-deck-dots i { width: 7px; height: 7px; border-radius: 99px; background: rgba(255,255,255,.25); transition: width .3s, background .3s; }
.share-deck-dots i.on { width: 20px; background: var(--accent, #ff5a1f); }
.share-deck-hint { font-size: 12.5px; color: var(--muted, #8a8a94); }
@media (max-width: 900px) { .share-deck { width: min(92vw, 400px); } .share-deck-cards { width: 70%; margin-left: 6%; } }
@media (prefers-reduced-motion: reduce) { .deck-card, .deck-card.is-flying { transition: none; } .deck-card.is-front::after { animation: none; } }

/* ══ Marketing automático (servicio adicional) ══ */
.auto-tag { margin-left: 4px; padding: 4px 10px; border-radius: 99px; font-style: normal; font-size: 10.5px; letter-spacing: .12em; color: var(--gold); background: rgba(212,168,67,.12); border: 1px solid rgba(212,168,67,.32); }
/* Calendario */
.auto-cal { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; max-width: 1120px; margin: 48px auto 0; padding: 0; list-style: none; }
.auto-cal::before { content: ''; position: absolute; left: 6%; right: 6%; top: 21px; height: 2px; background: linear-gradient(90deg, rgba(212,168,67,.15), rgba(212,168,67,.6), rgba(212,168,67,.15)); }
.auto-cal li { position: relative; display: grid; justify-items: center; align-content: start; gap: 4px; text-align: center; }
.auto-cal b { position: relative; z-index: 1; display: grid; place-items: center; min-width: 86px; height: 44px; padding: 0 14px; border-radius: 99px; font-family: var(--display); font-size: 17px; letter-spacing: -.01em; color: #0b0b10; background: linear-gradient(180deg, #f1d77a, #c99a2e); box-shadow: 0 10px 30px rgba(212,168,67,.25); }
.auto-cal span { margin-top: 8px; font-size: 15px; font-weight: 700; }
.auto-cal small { font-size: 13px; line-height: 1.4; color: var(--txt3); }
/* Tarjetas: cabecera compacta, el beneficio en grande y opciones en cápsulas */
.auto-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; max-width: 1120px; margin: 40px auto 0; }
.auto-card { --tone: var(--gold); position: relative; display: flex; flex-direction: column; gap: 14px; padding: 20px; border-radius: 24px; overflow: hidden;
  background: radial-gradient(120% 70% at 0 0, color-mix(in srgb, var(--tone) 12%, transparent), transparent 60%), var(--card); border: 1px solid var(--line); }
.auto-card::before { content: ''; position: absolute; left: 20px; right: 20px; top: 0; height: 2px; border-radius: 0 0 2px 2px; background: linear-gradient(90deg, var(--tone), transparent); opacity: .8; }
.auto-card header { display: flex; align-items: center; gap: 12px; }
.auto-ic { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 13px; color: var(--tone); background: color-mix(in srgb, var(--tone) 12%, transparent); border: 1px solid color-mix(in srgb, var(--tone) 30%, transparent); }
.auto-ic svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.auto-card header small { display: block; font-size: 10.5px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; color: var(--tone); }
.auto-card h3 { margin: 2px 0 0; font-size: 17px; line-height: 1.2; }
.auto-big { display: grid; gap: 3px; margin: 0; padding: 14px 14px 13px; border-radius: 16px; background: rgba(0,0,0,.28); border: 1px solid var(--line); }
.auto-big b { font-family: var(--display); font-size: 26px; line-height: 1.05; letter-spacing: -.02em; }
.auto-big span { font-size: 12.5px; line-height: 1.35; color: var(--txt3); }
.auto-txt { margin: 0; font-size: 14px; line-height: 1.5; color: var(--txt2); }
.auto-card ul { display: flex; flex-wrap: wrap; gap: 6px; margin: auto 0 0; padding: 0; list-style: none; }
.auto-card li { padding: 4px 10px; border-radius: 99px; font-size: 11.5px; font-weight: 600; color: var(--txt2); background: rgba(255,255,255,.045); border: 1px solid var(--line); }
/* Panel: teléfono con el correo, piezas flotantes del panel y reglas */
.auto-panel { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px; align-items: center; max-width: 1120px; margin: 18px auto 0; padding: 40px 44px; border-radius: 28px; background: linear-gradient(135deg, rgba(212,168,67,.08), rgba(255,255,255,.02) 55%); border: 1px solid var(--line); overflow: hidden; }
.auto-stage { position: relative; display: grid; place-items: center; min-height: 560px; }
.auto-stage::before { content: ''; position: absolute; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(255,90,31,.22), transparent 65%); filter: blur(10px); }
.auto-phone { position: relative; width: 272px; height: 548px; padding: 10px; border-radius: 44px; background: linear-gradient(160deg, #2a2b31, #0d0e12); border: 1px solid rgba(255,255,255,.14); box-shadow: 0 40px 90px rgba(0,0,0,.6), inset 0 0 0 2px rgba(0,0,0,.6); overflow: hidden; }
.auto-phone > * { position: relative; }
.ap-status { display: flex; justify-content: space-between; align-items: center; padding: 8px 18px 4px; font-size: 11.5px; font-weight: 700; color: #111; background: #f3f3f6; border-radius: 34px 34px 0 0; }
.ap-status i { width: 22px; height: 10px; border-radius: 3px; border: 1.5px solid #111; position: relative; }
.ap-status i::after { content: ''; position: absolute; inset: 1px 5px 1px 1px; border-radius: 1px; background: #111; }
.ap-top { display: grid; gap: 8px; padding: 6px 12px 10px; background: #f3f3f6; border-bottom: 1px solid #e3e3e8; }
.ap-back { font-size: 12px; font-weight: 600; color: #ff5a1f; }
.ap-back::before { content: '‹ '; font-size: 15px; }
.ap-from { display: flex; align-items: center; gap: 8px; }
.ap-from > i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; font-style: normal; font-weight: 800; font-size: 13px; color: #fff; background: #ff5a1f; }
.ap-from b { display: block; font-size: 12.5px; color: #111; } .ap-from small { font-size: 10.5px; color: #8a8a93; }
.ap-mail { height: 100%; padding: 10px; background: #ececf0; }
.ap-hero { display: grid; justify-items: center; gap: 4px; padding: 16px 10px 12px; border-radius: 14px 14px 0 0; background: radial-gradient(circle at 50% 0%, rgba(255,90,31,.35), #0f1015 70%); }
.ap-logo { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; font-weight: 800; color: #fff; background: #ff5a1f; }
.ap-hero b { font-size: 8.5px; letter-spacing: .26em; color: #fff; } .ap-hero i { width: 22px; height: 2px; border-radius: 2px; background: #ff5a1f; }
.ap-body { display: grid; justify-items: center; gap: 8px; padding: 14px 13px 16px; border-radius: 0 0 14px 14px; background: #fff; text-align: center; }
.ap-eye { font-size: 8.5px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: #ff5a1f; }
.ap-body h4 { margin: 0; font-size: 16px; line-height: 1.2; font-weight: 800; color: #111114; }
.ap-hi { margin: 0; font-size: 10.5px; color: #55555f; }
.ap-offer { display: grid; gap: 3px; width: 100%; padding: 12px 8px; border-radius: 11px; background: radial-gradient(circle at 50% 0%, rgba(255,90,31,.32), #0f1015 72%); border: 1px solid rgba(255,90,31,.45); }
.ap-offer b { font-family: var(--display); font-size: 15px; color: #fff; letter-spacing: -.01em; }
.ap-offer span { font-size: 9.5px; color: #c9c9d2; }
.ap-offer code { justify-self: center; margin-top: 4px; padding: 4px 9px; border-radius: 7px; border: 1px dashed rgba(255,255,255,.5); font: 700 10.5px/1 ui-monospace, Menlo, monospace; letter-spacing: .12em; color: #fff; }
.ap-msg { margin: 0; font-size: 10.5px; line-height: 1.55; color: #3a3a43; text-align: left; }
.ap-btn { padding: 8px 12px; border-radius: 9px; font-size: 10px; font-weight: 800; color: #fff; background: #ff5a1f; }
.auto-float { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 11px 13px; border-radius: 16px; background: rgba(18,19,24,.86); border: 1px solid rgba(255,255,255,.12); box-shadow: 0 18px 40px rgba(0,0,0,.45); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.auto-float b { display: block; font-size: 13px; } .auto-float small { display: block; font-size: 11px; color: var(--txt3); }
.af-ic { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; color: var(--gold); background: rgba(212,168,67,.12); }
.af-ic svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.af-plan { left: -6px; bottom: 26px; }
.af-on { right: -6px; top: 58px; }
.af-sw { position: relative; flex: none; width: 38px; height: 22px; border-radius: 99px; background: #b5d335; }
.af-sw::after { content: ''; position: absolute; top: 3px; right: 3px; width: 16px; height: 16px; border-radius: 50%; background: #0b0b10; }
.af-redeem { right: -6px; bottom: 112px; flex-direction: column; align-items: flex-start; gap: 2px; }
.af-redeem small { font-size: 9.5px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.af-redeem b { font: 700 13px/1.2 ui-monospace, Menlo, monospace; letter-spacing: .1em; }
.af-redeem span { font-size: 11.5px; font-weight: 700; color: var(--green); }
.auto-rules .grow-k { color: var(--gold); margin-bottom: 14px; }
@media (max-width: 1080px) {
  .auto-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .auto-panel { grid-template-columns: 1fr; gap: 28px; padding: 32px 24px; }
}
/* Teléfono: calendario compacto y tarjetas en carrusel deslizable */
@media (max-width: 760px) {
  .auto-cal { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 30px; }
  .auto-cal::before { display: none; }
  .auto-cal li { justify-items: start; text-align: left; padding: 12px 12px 13px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
  .auto-cal b { min-width: 0; height: 30px; padding: 0 12px; font-size: 14px; box-shadow: none; }
  .auto-cal span { margin-top: 6px; font-size: 14px; } .auto-cal small { font-size: 12px; }
  .auto-grid { grid-template-columns: 1fr; margin-top: 26px; }
  .auto-panel { padding: 22px 16px; }
  .auto-stage { min-height: 520px; }
  .auto-phone { width: 248px; height: 500px; }
  .af-plan { left: -4px; bottom: 6px; } .af-on { right: -4px; top: 26px; } .af-redeem { display: none; }
  .auto-tag { display: inline-block; margin: 6px 0 0; }
}

/* Promociones en el teléfono: mazo apilado (web/script.js · deckify), avanza solo */
.auto-grid.is-deck { position: relative; display: block; width: 86%; margin: 28px 0 0 2%; outline: none; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.auto-grid.is-deck .auto-card { --pos: 0; --dx: 0px; --rot: 0deg; position: absolute; inset: 0; cursor: grab; opacity: 1;
  background: radial-gradient(120% 70% at 0 0, color-mix(in srgb, var(--tone) 14%, transparent), transparent 60%), #111217;
  box-shadow: 0 30px 70px rgba(0,0,0,.55);
  transform: translateX(calc(var(--pos) * 7% + var(--dx))) translateY(calc(var(--pos) * 3%)) rotate(calc(-2deg + var(--pos) * 3deg + var(--rot))) scale(calc(1 - var(--pos) * .05));
  filter: brightness(calc(1 - var(--pos) * .22));
  transition: transform .5s cubic-bezier(.2,.8,.2,1), filter .5s ease; will-change: transform; }
.auto-grid.is-deck .auto-card.rv { opacity: 1; }
.auto-grid.is-deck .auto-card.is-drag { transition: none; cursor: grabbing; }
.auto-grid.is-deck .auto-card.is-flying { transition: transform .34s cubic-bezier(.4,0,.6,1), opacity .34s ease; transform: translateX(calc(var(--fly) * 120%)) translateY(-4%) rotate(calc(var(--fly) * 16deg)); opacity: 0; }
.auto-grid.is-deck .auto-card:not(.is-front) { pointer-events: none; }
.auto-grid.is-deck:focus-visible .auto-card.is-front { box-shadow: 0 0 0 3px var(--gold), 0 30px 70px rgba(0,0,0,.55); }
.auto-deck-bar { margin-top: 26px; }
.auto-deck-bar[hidden] { display: none; }
.auto-deck-bar .share-deck-dots i.on { background: var(--gold); }
@media (prefers-reduced-motion: reduce) { .auto-grid.is-deck .auto-card, .auto-grid.is-deck .auto-card.is-flying { transition: none; } }

/* Mazos: la tarjeta que vuelve atrás parte desde fuera sin animar y luego entra */
.deck-card.is-instant, .auto-grid.is-deck .auto-card.is-instant { transition: none !important; }
