/* Tap Go — web pública. Distribución basada en movai.site, marca Tap Go. */
:root {
  --bg: #0B0F17;
  --bg2: #0F1520;
  --bg3: #141C2B;
  --card: #111827;
  --ink: #F3F6FB;
  --muted: #94A3B8;
  --faint: #64748B;
  --line: rgba(255, 255, 255, 0.07);
  --line2: rgba(255, 255, 255, 0.14);
  --hover: rgba(255, 255, 255, 0.05);
  --accent: #2563FF;
  --accent-h: #3B76FF;
  --accent-ink: #FFFFFF;
  --cyan: #22D3EE;
  --accent-soft: rgba(37, 99, 255, 0.14);
  --cyan-soft: rgba(34, 211, 238, 0.14);
  --ok: #34D399;
  --bad: #F87171;
  --wa: #25D366;
  --star: #FBBC04;
  --g-blue: #4285F4; --g-red: #EA4335; --g-yellow: #FBBC05; --g-green: #34A853;
  --metal-n1: #1B1E24; --metal-n2: #0C0D10;
  --metal-p1: #E9ECF0; --metal-p2: #A9B0BA;
  --phone-bg: #FFFFFF; --phone-ink: #0F172A; --phone-muted: #64748B; --phone-line: #E2E8F0;
  --r: 14px; --r-btn: 10px;
  --display: "Montserrat", system-ui, sans-serif;
  --body: "Montserrat", system-ui, sans-serif;
  --ease: cubic-bezier(.4, 0, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; margin: 0; line-height: 1.1; letter-spacing: -.025em; text-wrap: balance; }
p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { width: min(1160px, calc(100% - 32px)); margin-inline: auto; }
section { padding: clamp(64px, 9vw, 112px) 0; }
section.alt { background: var(--bg2); border-block: 1px solid var(--line); }
h2 { font-size: clamp(30px, 4.4vw, 48px); }
h3 { font-size: 19px; line-height: 1.25; }
.sec-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 52px); }
.sec-head.row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.eyebrow { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: var(--cyan); margin-bottom: 14px; }
.lede { margin-top: 16px; color: var(--muted); font-size: 18px; }
.ex-note { margin-top: 14px; font-size: 13px; color: var(--faint); text-align: center; }
.grad { background: linear-gradient(100deg, var(--accent) 10%, var(--cyan) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 11px 22px; border: 1px solid transparent; border-radius: var(--r-btn); font: 600 15px/1.2 var(--body); text-decoration: none; cursor: pointer; transition: transform .18s var(--ease), background-color .18s, border-color .18s, box-shadow .18s; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(.98); }
.btn-p { background: var(--accent); color: var(--accent-ink); box-shadow: 0 6px 24px -8px rgba(37, 99, 255, .7); }
.btn-p:hover { background: var(--accent-h); box-shadow: 0 10px 30px -8px rgba(37, 99, 255, .85); }
.btn-g { border-color: var(--line2); color: var(--ink); background: transparent; }
.btn-g:hover { background: var(--hover); border-color: rgba(255, 255, 255, .24); }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 40; background: rgba(11, 15, 23, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; min-height: 84px; gap: 20px; }
.logo { display: inline-flex; align-items: center; gap: 2px; text-decoration: none; font: 700 40px/1 var(--display); letter-spacing: -.045em; color: var(--ink); }
.logo span { color: var(--accent); }
.logo-waves { width: 34px; height: 34px; margin-left: 3px; fill: none; stroke: var(--cyan); stroke-width: 2.4; stroke-linecap: round; }
.logo-waves path { animation: wave-blink 2.4s var(--ease) infinite; }
.logo-waves path:nth-child(2) { animation-delay: .2s; }
.logo-waves path:nth-child(3) { animation-delay: .4s; }
@keyframes wave-blink { 0%, 60%, 100% { opacity: 1; } 30% { opacity: .25; } }
.links { display: flex; align-items: center; gap: 28px; }
.links a:not(.btn) { font-size: 15px; text-decoration: none; color: var(--muted); transition: color .18s; }
.links a:not(.btn):hover { color: var(--ink); }
.burger { display: none; width: 44px; height: 44px; padding: 0; background: none; border: 1px solid var(--line2); border-radius: var(--r-btn); cursor: pointer; position: relative; color: var(--ink); }
.burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: currentColor; transition: transform .18s; }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { padding-top: clamp(40px, 6vw, 80px); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; background: radial-gradient(closest-side, rgba(37, 99, 255, .18), transparent 70%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; position: relative; }
h1 { font-size: clamp(42px, 6.4vw, 76px); line-height: 1.02; letter-spacing: -.04em; font-weight: 700; }
.hero-sub { margin-top: 22px; font-size: clamp(17px, 2vw, 19px); color: var(--muted); max-width: 540px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.ctas.center { justify-content: center; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; font-size: 14px; color: var(--muted); }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px var(--cyan-soft); }

.hero-visual { display: grid; grid-template-columns: 120px 1fr; gap: 12px; align-items: center; }
.demo-tabs { display: flex; flex-direction: column; gap: 4px; align-self: center; }
.demo-tab { position: relative; text-align: left; background: none; border: 0; color: var(--faint); font: 500 14px var(--body); padding: 10px 0 12px; cursor: pointer; transition: color .18s; }
.demo-tab:hover { color: var(--ink); }
.demo-tab.is-on { color: var(--ink); }
.demo-tab .bar { position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; background: var(--line2); border-radius: 2px; overflow: hidden; }
.demo-tab .bar::after { content: ""; position: absolute; inset: 0; background: var(--cyan); transform: scaleX(0); transform-origin: left; }
.demo-tab.is-on .bar::after { animation: tab-progress var(--cycle, 4.6s) linear forwards; }
.demo-tab.is-done .bar::after { transform: scaleX(1); background: var(--line2); }
.paused .demo-tab.is-on .bar::after { animation-play-state: paused; }
@keyframes tab-progress { to { transform: scaleX(1); } }
.demo-pause { margin-top: 14px; background: none; border: 0; color: var(--faint); font: 500 13px var(--body); text-align: left; cursor: pointer; padding: 6px 0; }
.demo-pause:hover { color: var(--ink); }
.hero-visual .ex-note { grid-column: 2; }

.stage { position: relative; height: 560px; display: grid; place-items: center; }
.glow { position: absolute; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(closest-side, rgba(34, 211, 238, .22), rgba(37, 99, 255, .1) 55%, transparent 75%); filter: blur(10px); animation: breathe 5s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.08); opacity: .8; } }

.phone { position: relative; width: 268px; height: 540px; border-radius: 44px; background: #05070B; padding: 12px; box-shadow: 0 0 0 1.5px #2A3242, 0 30px 80px -20px rgba(0, 0, 0, .9), inset 0 0 0 2px #10141C; z-index: 2; }
.phone-notch { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; background: #05070B; border-radius: 20px; z-index: 5; }
.phone-bar { position: absolute; top: 22px; left: 30px; right: 28px; display: flex; justify-content: space-between; font: 600 12px var(--body); color: var(--phone-ink); z-index: 4; }
.phone-icons { letter-spacing: 1px; font-size: 9px; }
.screen { position: relative; width: 100%; height: 100%; border-radius: 34px; background: var(--phone-bg); overflow: hidden; color: var(--phone-ink); }
.scr { position: absolute; inset: 0; padding: 54px 18px 18px; display: flex; flex-direction: column; align-items: center; opacity: 0; transform: translateY(24px) scale(.98); transition: opacity .45s var(--ease), transform .55s var(--spring); pointer-events: none; }
.scr.is-on { opacity: 1; transform: none; }
.scr-idle { justify-content: center; gap: 18px; background: linear-gradient(180deg, #F8FAFC, #EEF2F7); }
.scr-idle p { font-size: 14px; color: var(--phone-muted); }
.idle-ring { width: 86px; height: 86px; border-radius: 50%; display: grid; place-items: center; background: #E0E7FF; color: var(--accent); animation: idle-pulse 1.6s ease-in-out infinite; }
.idle-ring svg { width: 42px; height: 42px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
@keyframes idle-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(37, 99, 255, .35); } 50% { box-shadow: 0 0 0 16px rgba(37, 99, 255, 0); } }

/* pantalla contacto */
.scr-contacto { padding-top: 0; }
.sc-cover { width: calc(100% + 36px); height: 120px; background: linear-gradient(135deg, var(--accent), var(--cyan)); flex-shrink: 0; }
.sc-avatar { width: 74px; height: 74px; border-radius: 50%; margin-top: -37px; background: var(--metal-n1); color: #fff; display: grid; place-items: center; font: 700 22px var(--display); border: 4px solid var(--phone-bg); }
.sc-avatar.sm { margin-top: 6px; width: 64px; height: 64px; border: 0; background: linear-gradient(135deg, var(--accent), var(--cyan)); }
.sc-name { margin-top: 10px; font: 700 18px var(--display); letter-spacing: -.02em; }
.sc-role { font-size: 13px; color: var(--phone-muted); }
.sc-btns { display: grid; gap: 8px; width: 100%; margin-top: 18px; }
.sc-btn { display: block; text-align: center; padding: 10px; border-radius: 12px; border: 1px solid var(--phone-line); font: 600 13px var(--body); }
.sc-btn-p { background: var(--accent); color: #fff; border-color: var(--accent); }
.scr.is-on .sc-btns .sc-btn { animation: rise .5s var(--spring) both; }
.scr.is-on .sc-btns .sc-btn:nth-child(2) { animation-delay: .08s; }
.scr.is-on .sc-btns .sc-btn:nth-child(3) { animation-delay: .16s; }
.scr.is-on .sc-btns .sc-btn:nth-child(4) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }

/* pantalla reseña */
.g-logo { font: 700 28px "Montserrat", sans-serif; letter-spacing: -.03em; margin-top: 10px; }
.g-logo.sm { font-size: 20px; margin: 0; }
.rv-biz { margin-top: 4px; font: 600 15px var(--body); }
.rv-q { margin-top: 18px; font-size: 13px; color: var(--phone-muted); }
.stars { display: flex; gap: 6px; margin-top: 10px; }
.stars i { width: 30px; height: 30px; background: #D7DCE3; clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); transition: background .2s; }
.scr.is-on .stars i, .stars.on i { animation: star-fill .35s var(--spring) forwards; }
.scr.is-on .stars i:nth-child(2), .stars.on i:nth-child(2) { animation-delay: .15s; }
.scr.is-on .stars i:nth-child(3), .stars.on i:nth-child(3) { animation-delay: .3s; }
.scr.is-on .stars i:nth-child(4), .stars.on i:nth-child(4) { animation-delay: .45s; }
.scr.is-on .stars i:nth-child(5), .stars.on i:nth-child(5) { animation-delay: .6s; }
@keyframes star-fill { 0% { transform: scale(.6); } 60% { transform: scale(1.25); } 100% { transform: scale(1); background: var(--star); } }
.stars.sm i { width: 16px; height: 16px; }
.rv-box { width: 100%; margin: 20px 0 14px; min-height: 84px; border: 1px solid var(--phone-line); border-radius: 12px; padding: 10px 12px; font-size: 13px; text-align: left; }
.typing { display: inline-block; overflow: hidden; white-space: nowrap; width: 0; border-right: 2px solid var(--accent); vertical-align: bottom; }
.scr.is-on .typing { animation: type 1.6s steps(29) .9s forwards, caret .8s step-end infinite; }
@keyframes type { to { width: 29ch; } }
@keyframes caret { 50% { border-color: transparent; } }
.scr-resena .sc-btn { width: 100%; }

/* pantalla menú */
.scr-menu { align-items: stretch; }
.mn-title { font: 700 24px var(--display); letter-spacing: -.02em; }
.mn-chips { display: flex; gap: 6px; margin: 12px 0 8px; }
.mn-chips span { font: 600 11px var(--body); padding: 6px 10px; border-radius: 99px; background: #F1F5F9; color: var(--phone-muted); }
.mn-chips .on { background: var(--phone-ink); color: #fff; }
.mn-list li { display: flex; justify-content: space-between; padding: 12px 2px; border-bottom: 1px solid var(--phone-line); font-size: 13px; }
.mn-list b { font-weight: 700; }
.scr.is-on .mn-list li { animation: slide-l .45s var(--ease) both; }
.scr.is-on .mn-list li:nth-child(2) { animation-delay: .07s; }
.scr.is-on .mn-list li:nth-child(3) { animation-delay: .14s; }
.scr.is-on .mn-list li:nth-child(4) { animation-delay: .21s; }
.scr.is-on .mn-list li:nth-child(5) { animation-delay: .28s; }
@keyframes slide-l { from { opacity: 0; transform: translateX(-16px); } }

/* pantalla redes */
.lk-list { display: grid; gap: 8px; width: 100%; margin-top: 18px; }
.lk-list span { text-align: center; padding: 11px; border-radius: 99px; background: #F1F5F9; font: 600 13px var(--body); }
.scr.is-on .lk-list span { animation: rise .45s var(--spring) both; }
.scr.is-on .lk-list span:nth-child(2) { animation-delay: .07s; }
.scr.is-on .lk-list span:nth-child(3) { animation-delay: .14s; }
.scr.is-on .lk-list span:nth-child(4) { animation-delay: .21s; }
.scr.is-on .lk-list span:nth-child(5) { animation-delay: .28s; }

/* tarjeta que "toca" el teléfono */
.tapcard { position: absolute; z-index: 3; width: 200px; height: 126px; border-radius: 14px; right: -6%; bottom: 8%; background: linear-gradient(135deg, var(--metal-n1), var(--metal-n2)); box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 24px 50px -12px rgba(0, 0, 0, .85); transform: rotate(-14deg) translate(40px, 30px); overflow: hidden; }
.tapcard.tap { animation: card-tap 1.3s var(--ease) forwards; }
@keyframes card-tap {
  0% { transform: rotate(-14deg) translate(40px, 30px); }
  45% { transform: rotate(-6deg) translate(-70px, -40px); }
  60% { transform: rotate(-6deg) translate(-64px, -36px); }
  100% { transform: rotate(-14deg) translate(40px, 30px); }
}
.tc-brand { position: absolute; left: 16px; bottom: 14px; font: 700 22px var(--display); letter-spacing: -.04em; color: #fff; }
.tc-brand span { color: var(--accent); }
.tc-nfc { position: absolute; right: 14px; top: 14px; width: 22px; height: 22px; fill: none; stroke: var(--cyan); stroke-width: 2.4; stroke-linecap: round; }
.tc-chip { position: absolute; left: 16px; top: 18px; width: 30px; height: 22px; border-radius: 5px; background: linear-gradient(135deg, #3B4250, #1D222B); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.tc-shine, .metal-shine { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .22) 45%, transparent 60%); transform: translateX(-120%); animation: shine 4.5s ease-in-out infinite; }
@keyframes shine { 0%, 55% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }

.waves { position: absolute; z-index: 4; left: 50%; top: 70%; width: 1px; height: 1px; pointer-events: none; }
.waves span { position: absolute; left: -60px; top: -60px; width: 120px; height: 120px; border-radius: 50%; border: 2px solid var(--cyan); opacity: 0; }
.waves.go span { animation: ripple 1.1s ease-out forwards; }
.waves.go span:nth-child(2) { animation-delay: .15s; }
.waves.go span:nth-child(3) { animation-delay: .3s; }
@keyframes ripple { 0% { transform: scale(.2); opacity: .9; } 100% { transform: scale(2.2); opacity: 0; } }
.phone.buzz { animation: buzz .32s linear; }
@keyframes buzz { 20% { transform: translateX(-2px) rotate(-.5deg); } 40% { transform: translateX(2px) rotate(.5deg); } 60% { transform: translateX(-2px); } 80% { transform: translateX(1px); } }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--bg2); padding: 18px 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 46px; width: max-content; animation: marquee 34s linear infinite; }
.marquee-track span { font: 600 15px var(--display); color: var(--muted); white-space: nowrap; display: inline-flex; align-items: center; gap: 46px; }
.marquee-track span::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- personaliza ---------- */
.config { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.config-preview { perspective: 1200px; }
.card3d { transition: transform .25s var(--ease); transform-style: preserve-3d; }
.metal { position: relative; aspect-ratio: 85.6 / 54; border-radius: 22px; overflow: hidden; display: flex; align-items: center; gap: 6%; padding: 0 8%; background: linear-gradient(135deg, var(--metal-n1), var(--metal-n2)); box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 40px 80px -24px rgba(0, 0, 0, .9); color: #E5E7EB; transition: background .5s var(--ease), color .5s; animation: float 6s ease-in-out infinite; }
.metal[data-finish="plateada"] { background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .06) 0 1px, transparent 1px 3px), linear-gradient(135deg, var(--metal-p1), var(--metal-p2)); color: #111827; }
@keyframes float { 50% { translate: 0 -8px; } }
.mc-logo { flex-shrink: 0; width: 22%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; border: 2px solid currentColor; font: 700 clamp(16px, 2.6vw, 28px) var(--display); letter-spacing: -.03em; }
.mc-text { min-width: 0; padding-left: 6%; border-left: 1.5px solid currentColor; }
.mc-name { font: 700 clamp(18px, 2.8vw, 32px)/1.1 var(--display); letter-spacing: -.02em; overflow-wrap: anywhere; text-transform: uppercase; }
.mc-role { margin-top: 8px; font-size: clamp(10px, 1.3vw, 14px); letter-spacing: .22em; text-transform: uppercase; opacity: .85; }
.mc-brand { position: absolute; right: 6%; bottom: 9%; display: flex; align-items: center; gap: 2px; font: 700 italic clamp(12px, 1.5vw, 16px) var(--display); }
.mc-brand svg { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.laser { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.laser::before { content: ""; position: absolute; top: -10%; bottom: -10%; width: 3px; left: -5%; background: var(--cyan); box-shadow: 0 0 12px 3px var(--cyan), 0 0 40px 10px rgba(34, 211, 238, .45); opacity: 0; }
.laser.run::before { animation: laser-sweep .9s var(--ease) forwards; }
.laser.run ~ .mc-text, .laser.run ~ .mc-logo { animation: etch .9s var(--ease); }
@keyframes laser-sweep { 0% { left: -5%; opacity: 1; } 100% { left: 105%; opacity: 1; } }
@keyframes etch { from { clip-path: inset(0 100% 0 0); filter: brightness(2.2); } to { clip-path: inset(0 0 0 0); } }

.config-form { display: grid; gap: 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(20px, 3vw, 28px); }
.field { display: grid; gap: 8px; font-size: 14px; font-weight: 500; color: var(--muted); border: 0; margin: 0; padding: 0; min-width: 0; }
.field legend { padding: 0; margin-bottom: 8px; }
.field input:not([type="radio"]):not([type="checkbox"]):not([type="range"]):not([type="file"]) { width: 100%; min-height: 46px; background: var(--bg); border: 1px solid var(--line2); border-radius: var(--r-btn); padding: 10px 14px; color: var(--ink); font: 500 16px var(--body); transition: border-color .18s, box-shadow .18s; }
.field input:not([type="radio"]):not([type="checkbox"]):not([type="range"]):not([type="file"]):focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(37, 99, 255, .25); }
.seg { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 4px; background: var(--bg); border: 1px solid var(--line2); border-radius: 12px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; padding: 8px 14px; border-radius: 9px; font: 600 14px var(--body); color: var(--muted); cursor: pointer; transition: background .18s, color .18s; }
.seg span:hover { color: var(--ink); }
.seg input:checked + span { background: var(--accent); color: #fff; }
.seg input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 2px; }
.incl { display: grid; gap: 8px; font-size: 14px; color: var(--muted); }
.incl li, .feats li { position: relative; padding-left: 24px; }
.incl li::before, .feats li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 12px; height: 7px; border-left: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan); transform: rotate(-45deg); }

/* ---------- diseñador ---------- */
.metal-canvas { display: block; padding: 0; background: transparent; animation: float 6s ease-in-out infinite; }
.metal-canvas canvas { display: block; width: 100%; height: auto; aspect-ratio: 85.6 / 54; border-radius: 22px; }
.config-preview { position: sticky; top: 104px; align-self: start; }
.config { align-items: start; }
.finish-thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
.thumb { display: grid; gap: 8px; padding: 10px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; color: var(--muted); font: 600 13px var(--body); cursor: pointer; transition: border-color .18s, color .18s, transform .18s var(--ease); }
.thumb:hover { transform: translateY(-2px); color: var(--ink); }
.thumb.is-on { border-color: var(--accent); color: var(--ink); box-shadow: 0 0 0 3px var(--accent-soft); }
.thumb canvas { width: 100%; height: auto; aspect-ratio: 85.6 / 54; border-radius: 8px; }
.step-label { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; font-size: 15px; }
.step-label b { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--accent-soft); color: var(--cyan); font-size: 12px; }
.step-label small { color: var(--faint); font-weight: 500; font-size: 13px; }
.select { width: 100%; min-height: 46px; background: var(--bg); border: 1px solid var(--line2); border-radius: var(--r-btn); padding: 10px 14px; color: var(--ink); font: 500 15px var(--body); }
.select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(37, 99, 255, .25); }
.drop { position: relative; display: block; border: 1.5px dashed var(--line2); border-radius: 12px; padding: 18px; cursor: pointer; transition: border-color .18s, background .18s; }
.drop:hover, .drop:focus-within { border-color: var(--accent); background: var(--accent-soft); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop-empty { display: grid; justify-items: center; gap: 6px; text-align: center; color: var(--ink); font-weight: 600; font-size: 15px; }
.drop-empty svg { width: 28px; height: 28px; fill: none; stroke: var(--cyan); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.drop-empty small { color: var(--faint); font-weight: 500; font-size: 12.5px; }
.drop-full { display: flex; align-items: center; gap: 14px; font-size: 14px; color: var(--muted); }
.drop-full img { width: 72px; height: 48px; object-fit: contain; background: var(--metal-n2); border-radius: 8px; padding: 6px; }
.drop-full .link-btn { margin-left: auto; position: relative; z-index: 2; }
.link-btn { background: none; border: 0; padding: 4px 0; color: var(--cyan); font: 600 14px var(--body); cursor: pointer; text-align: left; justify-self: start; }
.link-btn:hover { text-decoration: underline; }
.logo-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 4px; }
.seg-sm span { padding: 6px 11px; font-size: 13px; }
.check { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); cursor: pointer; }
.check input { width: 17px; height: 17px; accent-color: var(--accent); }
.range { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); white-space: nowrap; }
.range input { accent-color: var(--accent); width: 120px; }
.form-error { color: var(--bad); font-size: 13.5px; }
.form-note { font-size: 13px; color: var(--faint); text-align: center; }
.font-picks, .font-group { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.font-chip { display: grid; gap: 4px; text-align: left; min-height: 66px; padding: 10px 12px; background: var(--bg); border: 1px solid var(--line2); border-radius: 10px; color: var(--ink); cursor: pointer; transition: border-color .18s, background .18s, transform .18s var(--ease); overflow: hidden; }
.font-chip:hover { border-color: rgba(255, 255, 255, .3); transform: translateY(-1px); }
.font-chip.is-on { border-color: var(--accent); background: var(--accent-soft); }
.fc-sample { font-size: 19px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.font-chip small { color: var(--faint); font: 500 11.5px var(--body); }
.font-all { display: grid; gap: 16px; max-height: 420px; overflow-y: auto; padding-right: 4px; }
.font-group-title { grid-column: 1 / -1; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--cyan); font-weight: 600; }
.config-actions { display: grid; gap: 10px; }
.font-picks.is-off { opacity: .45; }
.ai-box { display: grid; gap: 8px; padding: 12px 14px; border-radius: 10px; background: var(--cyan-soft); border: 1px solid rgba(34, 211, 238, .25); font-size: 13.5px; }
.ai-status { color: var(--ink); font-weight: 600; }
.ai-note { color: var(--muted); }
.ai-box.is-busy .ai-status::before { content: ""; display: inline-block; width: 12px; height: 12px; margin-right: 8px; vertical-align: -1px; border: 2px solid var(--cyan); border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
#aiImprove { justify-self: start; }
.ai-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ai-opt { display: grid; gap: 6px; justify-items: center; padding: 8px; background: var(--bg); border: 1px solid var(--line2); border-radius: 10px; color: var(--muted); font: 600 12.5px var(--body); cursor: pointer; transition: border-color .18s, color .18s; }
.ai-opt img { width: 100%; height: 56px; object-fit: contain; background: var(--metal-n2); border-radius: 6px; padding: 6px; }
.ai-opt.is-on { border-color: var(--accent); color: var(--ink); box-shadow: 0 0 0 3px var(--accent-soft); }
.dl-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.btn:disabled { opacity: .6; cursor: progress; transform: none; }

/* ---------- pasos ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; transition: transform .2s var(--ease), border-color .2s; }
.step:hover { transform: translateY(-3px); border-color: var(--line2); }
.step-n { font: 600 13px var(--display); color: var(--cyan); margin: 18px 0 6px; letter-spacing: .1em; }
.step h3 { margin-bottom: 8px; }
.step p:last-child { color: var(--muted); font-size: 15px; }
.step-vis { position: relative; height: 150px; border-radius: 12px; background: var(--bg3); overflow: hidden; }
.mini-card { position: absolute; width: 96px; height: 60px; border-radius: 8px; background: linear-gradient(135deg, var(--metal-n1), var(--metal-n2)); box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 12px 24px -8px #000; }
.mini-card.b { background: linear-gradient(135deg, var(--metal-p1), var(--metal-p2)); }
.v1 .mini-card { left: 18%; top: 34%; transform: rotate(-10deg); animation: deal 4s var(--ease) infinite; }
.v1 .mini-card.b { left: 42%; top: 22%; transform: rotate(8deg); animation-delay: .2s; }
.mini-sticker { position: absolute; right: 12%; bottom: 18%; width: 38px; height: 38px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); animation: bob 3s ease-in-out infinite; }
@keyframes deal { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes bob { 50% { transform: translateY(-6px) scale(1.06); } }
.v2 .plate { left: 50%; top: 50%; transform: translate(-50%, -50%); width: 130px; height: 80px; }
.beam { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--cyan); box-shadow: 0 0 10px 2px var(--cyan); animation: beam 2.4s ease-in-out infinite; }
@keyframes beam { 0% { left: 20%; } 50% { left: 80%; } 100% { left: 20%; } }
.mini-phone { position: absolute; left: 50%; top: 14px; width: 62px; height: 122px; margin-left: -50px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 3px #05070B; }
.v3 .mini-card.tap { left: 50%; top: 70px; width: 80px; height: 50px; margin-left: 4px; animation: mini-tap 2.6s var(--ease) infinite; }
@keyframes mini-tap { 0%, 100% { transform: translate(30px, 20px) rotate(-12deg); } 45%, 60% { transform: translate(-18px, -6px) rotate(-4deg); } }
.mini-waves i { position: absolute; left: calc(50% - 20px); top: 60px; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--cyan); opacity: 0; animation: mini-ripple 2.6s ease-out infinite; }
.mini-waves i:nth-child(2) { animation-delay: .2s; }
@keyframes mini-ripple { 0%, 40% { opacity: 0; transform: scale(.4); } 50% { opacity: 1; } 90%, 100% { opacity: 0; transform: scale(2); } }

/* ---------- productos ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; transition: transform .2s var(--ease), border-color .2s, box-shadow .2s; }
.plan:hover { transform: translateY(-4px); border-color: var(--line2); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .8); }
.plan-rec { border-color: rgba(37, 99, 255, .6); background: linear-gradient(180deg, rgba(37, 99, 255, .12), var(--card) 45%); }
.rec { position: absolute; top: 18px; right: 18px; z-index: 2; background: var(--accent); color: #fff; font: 600 12px var(--body); padding: 4px 11px; border-radius: 99px; }
.plan-art { height: 170px; border-radius: 12px; background: var(--bg3); display: grid; place-items: center; margin-bottom: 20px; overflow: hidden; perspective: 600px; }
.plan h3 { font-size: 21px; }
.plan-tag { color: var(--cyan); font-size: 14px; font-weight: 500; margin-top: 4px; }
.price { font: 700 46px/1 var(--display); letter-spacing: -.03em; margin: 18px 0; }
.price-sm { font-size: 30px; }
.feats { display: grid; gap: 10px; font-size: 15px; color: var(--muted); margin-bottom: 22px; flex: 1; }
.plate { position: absolute; display: grid; place-items: center; align-content: center; gap: 4px; width: 104px; height: 140px; border-radius: 12px; background: #FFFFFF; color: #111827; font: 600 11px var(--body); text-align: center; box-shadow: 0 16px 30px -12px #000; }
.art-plate { position: relative; }
.art-plate .plate { animation: sway 5s ease-in-out infinite; }
@keyframes sway { 50% { transform: rotateY(14deg) translateY(-4px); } }
.flip { position: relative; width: 170px; height: 106px; transform-style: preserve-3d; animation: flip 6s ease-in-out infinite; }
.fc { position: absolute; inset: 0; border-radius: 12px; backface-visibility: hidden; display: flex; align-items: end; padding: 12px 14px; font: 700 20px var(--display); letter-spacing: -.04em; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12); }
.fc b { color: var(--accent); }
.fc-n { background: linear-gradient(135deg, var(--metal-n1), var(--metal-n2)); color: #fff; }
.fc-p { background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .08) 0 1px, transparent 1px 3px), linear-gradient(135deg, var(--metal-p1), var(--metal-p2)); color: #111827; transform: rotateY(180deg); }
@keyframes flip { 0%, 35% { transform: rotateY(0) rotateX(8deg); } 50%, 85% { transform: rotateY(180deg) rotateX(8deg); } 100% { transform: rotateY(360deg) rotateX(8deg); } }
.sticker { width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, #3B76FF, var(--accent) 60%, #1A47C4); box-shadow: 0 16px 30px -10px rgba(37, 99, 255, .7); animation: peel 4.5s ease-in-out infinite; }
.sticker svg { width: 44px; height: 44px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; }
@keyframes peel { 0%, 100% { transform: rotate(-8deg); } 50% { transform: rotate(8deg) scale(1.05); } }
.team { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 22px; border: 1px dashed var(--line2); border-radius: var(--r); color: var(--muted); font-size: 15px; }
.team b { color: var(--ink); font-weight: 600; }

/* ---------- trabajos ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.work { position: relative; margin: 0; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--bg3); transition: transform .25s var(--ease), border-color .25s; }
.work:hover { transform: translateY(-4px); border-color: var(--line2); }
.work-img { position: relative; aspect-ratio: 3 / 2; overflow: hidden; }
.work-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .45s var(--ease), transform .6s var(--ease); }
.work-img img.alt { opacity: 0; }
.gallery[data-finish="plateada"] .work-img img.main { opacity: 0; }
.gallery[data-finish="plateada"] .work-img img.alt { opacity: 1; }
.work:hover .work-img img { transform: scale(1.04); }
.work figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 14px 16px; }
.work b { font-weight: 600; font-size: 15px; }
.work small { color: var(--faint); font-size: 13px; }

/* ---------- comparación ---------- */
.vs { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--card); }
.vs-head, .vs-row { display: grid; grid-template-columns: 1fr 140px 140px; align-items: center; gap: 12px; padding: 16px 22px; }
.vs-head { font: 600 14px var(--body); color: var(--muted); border-bottom: 1px solid var(--line); }
.vs-head span:not(:first-child) { text-align: center; }
.vs-head .tg { color: var(--cyan); }
.vs-row { border-bottom: 1px solid var(--line); font-size: 15px; }
.vs-row:last-child { border-bottom: 0; }
.vs-row i { justify-self: center; position: relative; width: 26px; height: 26px; border-radius: 50%; transform: scale(0); transition: transform .4s var(--spring); }
.vs.in .vs-row i { transform: scale(1); }
.vs.in .vs-row:nth-child(3) i { transition-delay: .1s; }
.vs.in .vs-row:nth-child(4) i { transition-delay: .2s; }
.vs.in .vs-row:nth-child(5) i { transition-delay: .3s; }
.vs.in .vs-row:nth-child(6) i { transition-delay: .4s; }
.vs-row i.yes { background: rgba(52, 211, 153, .15); }
.vs-row i.yes::after { content: ""; position: absolute; left: 8px; top: 7px; width: 10px; height: 6px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }
.vs-row i.no { background: rgba(248, 113, 113, .12); }
.vs-row i.no::before, .vs-row i.no::after { content: ""; position: absolute; left: 7px; top: 12px; width: 12px; height: 2px; background: var(--bad); transform: rotate(45deg); }
.vs-row i.no::after { transform: rotate(-45deg); }

/* ---------- faq ---------- */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 36px 20px 0; position: relative; font: 600 17px var(--display); letter-spacing: -.01em; transition: color .18s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--cyan); }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { color: var(--muted); padding: 0 24px 20px 0; animation: rise .35s var(--ease); }

/* ---------- cta ---------- */
.cta-final { text-align: center; position: relative; overflow: hidden; }
.cta-in { position: relative; max-width: 760px; }
.cta-in .lede { margin-inline: auto; max-width: 520px; }
.cta-waves { position: absolute; left: 50%; top: 40%; width: 1px; height: 1px; z-index: -1; }
.cta-waves span { position: absolute; left: -150px; top: -150px; width: 300px; height: 300px; border-radius: 50%; border: 1px solid rgba(34, 211, 238, .35); animation: ripple-slow 4.5s ease-out infinite; }
.cta-waves span:nth-child(2) { animation-delay: 1.5s; }
.cta-waves span:nth-child(3) { animation-delay: 3s; }
@keyframes ripple-slow { 0% { transform: scale(.3); opacity: 1; } 100% { transform: scale(2.6); opacity: 0; } }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 36px 0; background: var(--bg2); }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; color: var(--faint); font-size: 14px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 20px; }
.foot-links a { text-decoration: none; color: var(--muted); }
.foot-links a:hover { color: var(--ink); }

.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 50; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--wa); box-shadow: 0 10px 30px -8px rgba(37, 211, 102, .7); transition: transform .2s var(--spring); }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ripple 2.4s ease-out infinite; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.steps .reveal:nth-child(2), .plans .reveal:nth-child(2) { transition-delay: .1s; }
.steps .reveal:nth-child(3), .plans .reveal:nth-child(3) { transition-delay: .2s; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .config, .faq-wrap { grid-template-columns: 1fr; }
  .config-preview { position: static; }
  .hero-visual { grid-template-columns: 1fr; }
  .demo-tabs { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 14px; order: -1; }
  .demo-tab { padding: 6px 0 10px; }
  .demo-pause { margin: 0; }
  .demo-pause span { display: none; }
  .hero-visual .ex-note { grid-column: auto; }
  .steps, .plans { grid-template-columns: 1fr; }
  .plans .plan-rec { order: -1; }
}
@media (max-width: 760px) {
  .burger { display: block; }
  .logo { font-size: 32px; }
  .logo-waves { width: 27px; height: 27px; }
  .nav-in { min-height: 72px; }
  .links { position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px; padding: 12px 16px 18px; background: var(--bg); border-bottom: 1px solid var(--line); display: none; }
  .links.open { display: flex; }
  .links a:not(.btn) { padding: 12px 4px; font-size: 16px; }
  .stage { height: 500px; }
  .phone { width: 240px; height: 486px; }
  .tapcard { width: 160px; height: 100px; right: -2%; }
  .vs-head, .vs-row { grid-template-columns: 1fr 64px 64px; padding: 14px 16px; font-size: 14px; }
  .vs-head { font-size: 12px; }
  .gallery { grid-template-columns: 1fr; }
  .metal { border-radius: 14px; }
  .metal-canvas canvas { border-radius: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}
