/* QRave · página principal. Concepto: un solo objeto por sección; el QR se revela al deslizar. */
:root {
  --ink: #0B0A13;
  --ink-2: #161423;
  --ink-line: rgba(255, 255, 255, .12);
  --paper: #F4F3F8;
  --white: #FFFFFF;
  --paper-line: #DAD7E4;
  --text: #15131F;
  --muted: #565365;
  --on-ink: #F6F5FA;
  --on-ink-2: #B7B4C7;
  --violet: #7730EF;
  --violet-deep: #4B18B8;
  --aqua: #7DD3F4;
  --magenta: #D44CF0;
  --frame: #E3DDF4;
  --ok: #4BE0A0;
  --ok-deep: #127A52;
  --warn: #FFC95C;
  --bad: #C4264B;
  --spectrum: linear-gradient(95deg, var(--aqua), #A98BF8 52%, var(--magenta));
  --display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --body: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(72px, 10vw, 136px);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; interpolate-size: allow-keywords; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 1rem/1.65 var(--body); overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; text-wrap: balance; }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); line-height: 1.06; letter-spacing: -.025em; }
h3 { font-size: 1.22rem; line-height: 1.25; letter-spacing: -.012em; }
:focus-visible { outline: 3px solid var(--aqua); outline-offset: 3px; border-radius: 6px; }
.paper :focus-visible { outline-color: var(--violet); }
.wrap { width: min(100%, 1180px); margin-inline: auto; padding-inline: var(--gutter); }
.ic { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ic--fill { fill: currentColor; stroke: none; }
.ink { background: var(--ink); color: var(--on-ink); }
.paper { background: var(--paper); color: var(--text); }
.lead { font-size: clamp(1.02rem, 1.35vw, 1.14rem); max-width: 58ch; }
.ink .lead { color: var(--on-ink-2); }
.paper .lead { color: var(--muted); }
.section { padding-block: var(--section); }
.head { display: grid; gap: 14px; margin-bottom: clamp(32px, 4.5vw, 56px); max-width: 720px; }
.logo { width: 38px; height: auto; }
.progress { position: fixed; z-index: 50; inset: 0 0 auto; height: 3px; background: var(--spectrum); transform: scaleX(0); transform-origin: left; pointer-events: none; }

/* Aparición al deslizar: solo se oculta si el script ya está activo */
.js [data-r] { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js [data-r].is-in { opacity: 1; transform: none; }

/* Cuadritos entre secciones */
.dissolve { display: block; width: 100%; height: clamp(84px, 13vw, 190px); }

/* Navegación */
.nav { position: sticky; top: 0; z-index: 30; background: rgba(11, 10, 19, .84); color: var(--on-ink); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--ink-line); }
.nav__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 1.28rem/1 var(--display); letter-spacing: -.02em; }
.nav__links { display: flex; gap: clamp(16px, 2.2vw, 32px); }
.nav__links a { position: relative; text-decoration: none; font-size: .92rem; font-weight: 500; color: var(--on-ink-2); transition: color .16s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--spectrum); transform: scaleX(0); transform-origin: left; transition: transform .28s var(--ease); }
.nav__links a:hover { color: var(--on-ink); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__end { display: flex; align-items: center; gap: 10px; }
.burger { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; padding: 0; background: none; border: 1px solid var(--ink-line); border-radius: 10px; color: inherit; cursor: pointer; }
.sheet { display: none; position: sticky; top: 69px; z-index: 29; padding: 10px var(--gutter) 22px; background: var(--ink); color: var(--on-ink); border-bottom: 1px solid var(--ink-line); }
.sheet.is-open { display: grid; }
.sheet a { padding: 13px 0; text-decoration: none; font: 500 1.1rem var(--display); border-bottom: 1px solid var(--ink-line); }

/* Botones */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border: 1px solid transparent; border-radius: 12px; font: 600 .97rem var(--body); text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), border-color .16s; }
.btn::before, .store::before { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent); transform: skewX(-18deg); transition: left .6s var(--ease); }
.btn:hover::before, .store:hover::before { left: 120%; }
.btn:hover { transform: translateY(-2px); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: .9rem; }
.btn--violet { background: var(--violet); color: #fff; }
.btn--light { background: var(--on-ink); color: var(--ink); }
.btn--line { border-color: var(--ink-line); color: var(--on-ink); }
.btn--line:hover { border-color: var(--on-ink-2); }
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 12px; min-height: 60px; padding: 8px 22px 8px 18px; border-radius: 14px; background: var(--on-ink); color: var(--ink); text-decoration: none; transition: transform .22s var(--ease), box-shadow .22s; }
.store:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(125, 211, 244, .28); }
.store .ic { width: 28px; height: 28px; }
.store span { display: grid; line-height: 1.15; }
.store small { font-size: .72rem; font-weight: 500; }
.store b { font: 600 1.14rem var(--display); letter-spacing: -.01em; }
.is-android .store--play { order: -1; }
.textlink { font-weight: 600; text-underline-offset: 4px; text-decoration-thickness: 1px; }

/* Portada */
.hero { position: relative; overflow: hidden; padding-block: clamp(48px, 7vw, 104px) clamp(40px, 5vw, 72px); --mx: 72%; --my: 30%; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.075) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.075) 1px, transparent 1px); background-size: 38px 38px; mask-image: radial-gradient(420px circle at var(--mx) var(--my), #000, transparent 72%); -webkit-mask-image: radial-gradient(420px circle at var(--mx) var(--my), #000, transparent 72%); }
.hero::after { content: ""; position: absolute; width: 760px; height: 760px; left: calc(var(--mx) - 380px); top: calc(var(--my) - 380px); background: radial-gradient(circle, rgba(119,48,239,.2), rgba(125,211,244,.05) 46%, transparent 68%); pointer-events: none; }
.hero__in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.hero__copy { display: grid; gap: clamp(22px, 2.6vw, 32px); min-width: 0; }
h1 { font-size: clamp(2.6rem, 5.7vw, 5.15rem); line-height: 1; letter-spacing: -.04em; text-wrap: initial; }
h1 span { display: block; }
.grad { background: var(--spectrum); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: flow 7s ease-in-out infinite alternate; }
@keyframes flow { to { background-position: 100% 0; } }
.js h1 span { animation: rise .9s var(--ease) both; }
.js h1 .grad { animation: rise .9s var(--ease) .14s both, flow 7s ease-in-out .9s infinite alternate; }
@keyframes rise { from { opacity: 0; transform: translateY(.42em); } }
.hero__more { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }

/* Tarjeta del QR */
.qr-stage { position: relative; perspective: 1000px; width: min(100%, 390px); margin-inline: auto; }
.qr-card { display: grid; gap: 14px; padding: 18px; border-radius: 28px; background: var(--ink-2); border: 1px solid var(--ink-line); box-shadow: 0 40px 90px rgba(0,0,0,.55), 0 0 90px rgba(119,48,239,.22); transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .35s var(--ease); }
.qrbox { position: relative; overflow: hidden; padding: 16px; border-radius: 18px; background: var(--frame); color: var(--violet-deep); }
.qrbox svg { width: 100%; height: auto; }
.js .qr-draw { animation: draw 1.5s var(--ease) .25s both; }
@keyframes draw { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
.scan { position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--magenta); box-shadow: 0 0 24px 6px rgba(212,76,240,.55); animation: scan 4.8s ease-in-out infinite; }
@keyframes scan { 0%, 100% { top: 4%; } 50% { top: 95%; } }
.timer { display: grid; gap: 8px; font-size: .84rem; color: var(--on-ink-2); }
.timer div { display: flex; justify-content: space-between; }
.timer b { color: var(--on-ink); font-variant-numeric: tabular-nums; }
.bar { display: block; height: 4px; border-radius: 4px; background: rgba(255,255,255,.12); overflow: hidden; }
.bar i { display: block; height: 100%; transform-origin: left; background: var(--spectrum); transition: transform 1s linear; }
.chip { position: absolute; left: 50%; bottom: -22px; display: flex; align-items: center; gap: 10px; width: max-content; max-width: 92%; padding: 10px 16px 10px 10px; border-radius: 14px; background: var(--white); color: var(--text); font: 600 .9rem var(--display); box-shadow: 0 18px 44px rgba(0,0,0,.42); transform: translate(-50%, 0); animation: chip 9.6s var(--ease) infinite; }
.chip .ic { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--ok-deep); color: #fff; stroke-width: 2.6; }
@keyframes chip { 0%, 42% { opacity: 0; transform: translate(-50%, 14px) scale(.94); } 50%, 88% { opacity: 1; transform: translate(-50%, 0) scale(1); } 96%, 100% { opacity: 0; transform: translate(-50%, 8px) scale(.97); } }

/* Producto: lista + una sola pantalla */
.feats { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.feat { position: relative; border-top: 1px solid var(--paper-line); cursor: pointer; }
.feat:last-child { border-bottom: 1px solid var(--paper-line); }
.feat::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--violet); transform: scaleX(0); transform-origin: left; }
.feat.is-on::before { transform: scaleX(1); transition: transform var(--dwell, 6s) linear; }
.feat h3 { display: flex; align-items: center; gap: 12px; }
.feat h3 button { all: unset; flex: 1; display: flex; align-items: center; gap: 12px; padding-block: 18px; cursor: pointer; color: var(--muted); transition: color .2s; }
.feat h3 button:focus-visible { outline: 3px solid var(--violet); outline-offset: 2px; border-radius: 6px; }
.feat h3 .ic { width: 22px; height: 22px; transition: color .2s, transform .3s var(--ease); }
.feat.is-on h3 button, .feat:hover h3 button { color: var(--text); }
.feat.is-on h3 .ic { color: var(--violet); transform: scale(1.14); }
.feat__body { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .4s var(--ease); }
.feat__body p { overflow: hidden; color: var(--muted); padding-bottom: 18px; padding-left: 34px; }
.js .feat:not(.is-on) .feat__body { grid-template-rows: 0fr; }
.js .feat:not(.is-on) .feat__body p { padding-bottom: 0; }

.stage { position: relative; height: 440px; border-radius: 28px; overflow: hidden; background: var(--ink); color: var(--on-ink); isolation: isolate; }
.stage::before { content: ""; position: absolute; inset: 0; z-index: -1; 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: 38px 38px; }
.scene { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; padding: 24px; opacity: 0; transform: scale(.96) translateY(10px); transition: opacity .4s, transform .5s var(--ease); pointer-events: none; }
.scene.is-on { opacity: 1; transform: none; }
.scene .qrbox { width: 224px; padding: 12px; }
.pill { display: inline-flex; align-items: center; gap: 7px; padding: 5px 13px; border-radius: 20px; font-size: .84rem; font-weight: 600; background: rgba(75,224,160,.14); color: var(--ok); }
.pill--warn { background: rgba(255,201,92,.14); color: var(--warn); }
.pill .ic { width: 16px; height: 16px; }
.scene small { color: var(--on-ink-2); font-size: .86rem; }
.scene--rot.is-on .qrbox { animation: flip 1s var(--ease) both; }
@keyframes flip { from { transform: perspective(700px) rotateY(180deg); } }
.scene--sig.is-on .pill--warn { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .55; } }
.pay { display: grid; justify-items: center; gap: 4px; }
.pay b { font: 600 2.3rem/1.1 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.dots { display: flex; gap: 16px; margin-block: 16px 8px; }
.dots i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--on-ink-2); }
.scene--pin.is-on .dots i { animation: dot .3s var(--ease) both; animation-delay: calc(var(--n) * 360ms + 300ms); }
@keyframes dot { to { background: var(--aqua); border-color: var(--aqua); transform: scale(1.1); } }
.scene--pin.is-on .pill { animation: pop .5s var(--ease) 1.9s both; }
@keyframes pop { from { opacity: 0; transform: scale(.7); } }
.gauge { width: 230px; }
.gauge path { fill: none; stroke-width: 14; stroke-linecap: round; }
.gauge__bg { stroke: rgba(255,255,255,.12); }
.gauge__on { stroke: url(#spec); stroke-dasharray: 100; stroke-dashoffset: 100; }
.scene--lim.is-on .gauge__on { animation: gauge 1.4s var(--ease) .15s forwards; }
@keyframes gauge { to { stroke-dashoffset: 34; } }
.gauge-val { margin-top: -64px; text-align: center; }
.gauge-val b { display: block; font: 600 1.8rem/1.1 var(--display); letter-spacing: -.02em; }
.moves { display: grid; gap: 10px; width: min(100%, 310px); }
.moves li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 15px; border-radius: 14px; background: var(--ink-2); border: 1px solid var(--ink-line); font-size: .9rem; }
.moves b { font: 600 .98rem var(--display); }
.moves small { display: block; color: var(--ok); font-size: .76rem; }
.scene--neq.is-on .moves li { animation: slide .55s var(--ease) both; animation-delay: calc(var(--n) * 130ms + 80ms); }
@keyframes slide { from { opacity: 0; transform: translateX(26px); } }

/* Pasos */
.steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3.4vw, 48px); counter-reset: paso; padding-top: 46px; }
.steps::before, .steps::after { content: ""; position: absolute; left: 0; right: 0; top: 20px; height: 2px; background: var(--paper-line); }
.steps::after { background: var(--spectrum); transform: scaleX(var(--p, 1)); transform-origin: left; }
.step { position: relative; display: grid; align-content: start; gap: 8px; counter-increment: paso; }
.step::before { content: counter(paso); position: absolute; top: -46px; left: 0; z-index: 1; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--violet); color: #fff; font: 600 1.05rem var(--display); box-shadow: 0 0 0 6px var(--paper); }
.step h3 { margin-top: 10px; }
.step p { color: var(--muted); }
.step small { font-size: .84rem; font-weight: 600; color: var(--violet-deep); }

/* Sin señal */
.offline { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding: clamp(26px, 5vw, 64px); border-radius: 30px; background: var(--ink); color: var(--on-ink); }
.offline__copy { display: grid; gap: 18px; min-width: 0; }
.offline .lead { color: var(--on-ink-2); }
.demo { display: grid; gap: 18px; justify-items: center; min-width: 0; }
.switch { display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; max-width: 330px; min-height: 54px; padding: 8px 12px 8px 16px; border: 1px solid var(--ink-line); border-radius: 14px; background: var(--ink-2); color: inherit; font: 600 .95rem var(--body); cursor: pointer; }
.switch i { position: relative; flex: none; width: 50px; height: 28px; border-radius: 28px; background: rgba(255,255,255,.2); transition: background .25s; }
.switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .28s var(--ease); }
.switch[aria-checked="true"] i { background: var(--ok-deep); }
.switch[aria-checked="true"] i::after { transform: translateX(22px); }
.radar { position: relative; display: grid; place-items: center; width: 190px; height: 190px; margin-block: 16px; }
.radar .qrbox { width: 100%; padding: 12px; }
.radar::before, .radar::after { content: ""; position: absolute; inset: 0; border-radius: 26px; border: 2px dashed rgba(255,201,92,.6); animation: breathe 2.4s ease-in-out infinite; }
.radar::after { display: none; }
@keyframes breathe { 50% { transform: scale(1.07); opacity: .4; } }
.demo[data-online="true"] .radar::before, .demo[data-online="true"] .radar::after { display: block; border: 2px solid var(--ok); animation: ripple 2.2s var(--ease) infinite; }
.demo[data-online="true"] .radar::after { animation-delay: 1.1s; }
@keyframes ripple { from { transform: scale(1); opacity: .8; } to { transform: scale(1.32); opacity: 0; } }
.status { text-align: center; font-size: .9rem; color: var(--on-ink-2); min-height: 3.2em; }
.status b { display: block; font: 600 1.08rem var(--display); color: var(--warn); }
.demo[data-online="true"] .status b { color: var(--ok); }

/* Comercios */
.biz { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.biz__copy { display: grid; gap: 22px; min-width: 0; }
.biz__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px clamp(18px, 3vw, 36px); }
.biz__list li { display: grid; gap: 4px; align-content: start; }
.biz__list .ic { width: 24px; height: 24px; color: var(--aqua); margin-bottom: 4px; transition: transform .3s var(--ease); }
.biz__list li:hover .ic { transform: translateY(-3px) scale(1.12); }
.biz__list b { font: 600 1.05rem var(--display); }
.biz__list p { color: var(--on-ink-2); font-size: .92rem; line-height: 1.5; }
.soonline { font-size: .9rem; color: var(--on-ink-2); padding-top: 16px; border-top: 1px solid var(--ink-line); }
.soonline b { color: var(--on-ink); font-weight: 600; }
.biz__cta { display: flex; flex-wrap: wrap; gap: 10px; }
.shot-wrap { position: relative; width: min(100%, 300px); margin-inline: auto; transform: translateY(var(--py, 0)); }
.shot { padding: 9px; border-radius: 38px; background: #1C1A2B; border: 1px solid rgba(255,255,255,.16); box-shadow: 0 30px 80px rgba(119,48,239,.28); }
.shot img { border-radius: 29px; }

/* Seguridad: capas alrededor del logo */
.guard { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.vault { position: relative; display: grid; place-items: center; aspect-ratio: 1; max-width: 100%; padding: 6%; border-radius: 30px; background: var(--ink); overflow: hidden; }
.vault::before { content: ""; position: absolute; inset: 0; 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: 38px 38px; }
.vault svg { position: relative; width: 100%; height: auto; overflow: visible; }
.ring__bg, .ring__on { fill: none; stroke-width: 3; }
.ring__bg { stroke: rgba(255,255,255,.13); }
.ring__on { stroke: url(#spec); stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.1s var(--ease), stroke-width .25s; }
.ring.is-lit .ring__on { stroke-dashoffset: 0; }
.ring.is-hot .ring__on { stroke-width: 7; }
.ring__dot { fill: var(--aqua); opacity: 0; transition: opacity .5s .5s; filter: drop-shadow(0 0 7px var(--aqua)); }
.ring.is-lit .ring__dot { opacity: 1; }
.orbit { transform-origin: 200px 200px; animation: orbit var(--t) linear infinite; }
@keyframes orbit { to { transform: rotate(360deg); } }
.vault__core { position: absolute; left: 50%; top: 50%; width: 21%; transform: translate(-50%, -50%); }
.vault__core img { position: relative; width: 100%; height: auto; filter: drop-shadow(0 0 22px rgba(119,48,239,.85)); }
.vault__wave { position: absolute; inset: 0; border-radius: 26%; border: 2px solid var(--violet); animation: wave 3.4s var(--ease) infinite; }
.vault__wave--b { animation-delay: 1.7s; }
@keyframes wave { from { transform: scale(1); opacity: .9; } to { transform: scale(3.9); opacity: 0; } }
.vault__count { position: absolute; left: 50%; bottom: 4%; transform: translateX(-50%); padding: 5px 14px; border-radius: 20px; background: rgba(255,255,255,.1); color: var(--on-ink); font-size: .82rem; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; transition: background .3s, color .3s; }
.vault__count.is-full { background: rgba(75,224,160,.16); color: var(--ok); }
.guard__list { display: grid; }
.layer { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 16px; padding-block: 20px; border-top: 1px solid var(--paper-line); }
.layer:last-child { border-bottom: 1px solid var(--paper-line); }
.layer > .ic { width: 46px; height: 46px; padding: 11px; border-radius: 14px; background: var(--white); border: 1px solid var(--paper-line); color: var(--muted); transition: background .4s, color .4s, border-color .4s, transform .4s var(--ease); }
.layer.is-lit > .ic { background: var(--violet); border-color: var(--violet); color: #fff; transform: scale(1.04); }
.layer:hover > .ic { transform: scale(1.12) rotate(-4deg); }
.layer p { margin-top: 4px; color: var(--muted); font-size: .95rem; line-height: 1.55; }
.guard__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 28px; margin-top: 28px; color: var(--muted); }
.guard__foot a { color: var(--violet-deep); }

/* Preguntas: chat sobre el morado oficial */
.faq-sec { position: relative; overflow: hidden; background: var(--violet); color: #fff; }
.finder { position: absolute; display: block; width: 240px; height: 240px; border: 34px solid rgba(255,255,255,.07); border-radius: 44px; animation: drift 13s ease-in-out infinite alternate; }
.finder::after { content: ""; position: absolute; inset: 44px; border-radius: 16px; background: rgba(255,255,255,.07); }
.finder--a { left: -70px; bottom: 6%; }
.finder--b { right: -90px; top: 8%; width: 300px; height: 300px; animation-duration: 17s; animation-direction: alternate-reverse; }
.finder--c { left: 34%; top: -130px; width: 200px; height: 200px; animation-duration: 21s; }
@keyframes drift { to { transform: translate(26px, -34px) rotate(9deg); } }
.faq-grid { position: relative; display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: clamp(28px, 6vw, 88px); align-items: start; }
.faq-side { display: grid; gap: 24px; justify-items: start; position: sticky; top: 104px; }
.faq { display: grid; gap: 12px; }
.faq details { display: grid; }
.faq summary { width: fit-content; max-width: 88%; margin-left: auto; padding: 13px 20px; border-radius: 20px 20px 5px 20px; background: rgba(255,255,255,.16); color: #fff; font: 600 1.04rem/1.35 var(--display); cursor: pointer; list-style: none; transition: background .2s, color .2s, transform .25s var(--ease); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { background: rgba(255,255,255,.27); transform: translateX(-5px); }
.faq details[open] summary { background: var(--ink); }
.faq summary:focus-visible { outline-color: #fff; }
.faq details::details-content { height: 0; overflow: hidden; transition: height .36s var(--ease), content-visibility .36s allow-discrete; }
.faq details[open]::details-content { height: auto; }
.bot { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 10px; align-items: end; padding: 12px 0 3px 3px; }
.bot__ava { width: 36px; height: 36px; padding: 6px; border-radius: 22.5%; background: var(--ink); object-fit: contain; }
.bubble { width: fit-content; max-width: 62ch; padding: 14px 18px; border-radius: 20px 20px 20px 5px; background: var(--white); color: var(--text); }
.faq details p { margin: 0; animation: rise .4s var(--ease) both; }
.faq details a { color: var(--violet-deep); font-weight: 600; }
.typing { display: none; gap: 5px; padding-block: 7px; }
.typing i { width: 8px; height: 8px; border-radius: 50%; background: var(--violet); animation: type 1s ease-in-out infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes type { 30% { transform: translateY(-6px); opacity: .5; } }
.faq details.is-typing .typing { display: flex; }
.faq details.is-typing p { display: none; }

/* Únete */
.join { display: grid; gap: 22px; padding: clamp(24px, 4vw, 44px); border-radius: 24px; background: var(--white); border: 1px solid var(--paper-line); }
.join__top { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px 40px; }
.join__side { display: grid; gap: 12px; flex: 1 1 420px; min-width: 0; }
.join h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.form { display: grid; gap: 16px; min-width: 0; animation: rise .5s var(--ease) both; }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .86rem; font-weight: 600; }
.field small { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid var(--paper-line); border-radius: 11px; background: var(--paper); color: var(--text); font: 400 1rem var(--body); }
.field textarea { min-height: 112px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--violet); outline-offset: 1px; }
.field__err { display: none; font-size: .8rem; color: var(--bad); }
.field.is-bad .field__err { display: block; }
.field.is-bad input, .field.is-bad textarea { border-color: var(--bad); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.form__note { font-size: .84rem; color: var(--muted); }
.form__msg { display: none; font-size: .9rem; color: var(--bad); }
.form__msg.bad { display: block; }
.form.is-sent .form__grid, .form.is-sent .form__foot, .form.is-sent .form__msg { display: none; }

/* Descarga */
.dl { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.dl__copy { display: grid; gap: 22px; min-width: 0; }
.dl h2 { font-size: clamp(2.4rem, 5.4vw, 4.6rem); line-height: 1; letter-spacing: -.04em; }
.dl__qr { display: grid; gap: 12px; justify-items: center; width: min(100%, 270px); margin-inline: auto; text-align: center; font-size: .9rem; color: var(--on-ink-2); }
.dl__qr .qrbox { width: 100%; }

/* Pie */
.foot { padding-block: clamp(40px, 6vw, 72px) 28px; border-top: 1px solid var(--ink-line); font-size: .92rem; }
.foot__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 30px; }
.foot__brand { display: grid; gap: 14px; align-content: start; color: var(--on-ink-2); }
.foot__brand .brand { color: var(--on-ink); }
.foot h3 { margin-bottom: 12px; font: 600 .92rem var(--body); letter-spacing: 0; color: var(--on-ink); }
.foot ul { display: grid; gap: 9px; }
.foot li a, .foot__social a { color: var(--on-ink-2); text-decoration: none; overflow-wrap: anywhere; transition: color .16s; }
.foot li a:hover, .foot__social a:hover { color: var(--on-ink); }
.foot__social { display: flex; gap: 14px; }
.foot__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--ink-line); color: var(--on-ink-2); font-size: .82rem; }

/* Cookies */
.cookie { position: fixed; z-index: 40; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); display: none; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 20px; max-width: 620px; margin-inline: auto; padding: 14px 16px; border-radius: 16px; background: var(--white); color: var(--text); border: 1px solid var(--paper-line); box-shadow: 0 16px 50px rgba(0,0,0,.28); font-size: .88rem; }
.cookie.is-on { display: flex; }
.cookie p { flex: 1 1 280px; min-width: 0; }
.cookie__btns { display: flex; gap: 8px; }
.cookie .btn--line { color: var(--text); border-color: var(--paper-line); }

@media (max-width: 1020px) {
  .nav__links { display: none; }
  .burger { display: inline-flex; }
  .hero__in, .biz, .faq-grid, .guard, .dl, .offline, .feats { grid-template-columns: minmax(0, 1fr); }
  .vault { width: min(100%, 460px); margin-inline: auto; }
  .faq-side { position: static; }
  .foot__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot__brand { grid-column: 1 / -1; }
  .dl__qr { display: none; }
  .stage { order: -1; height: 340px; }
  .scene .qrbox { width: 180px; }
  .shot-wrap { transform: none; }
}
@media (max-width: 680px) {
  h1 { font-size: 10vw; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 34px; padding-top: 0; padding-left: 58px; }
  .steps::before, .steps::after { left: 20px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .steps::after { transform: scaleY(var(--p, 1)); transform-origin: top; }
  .step::before { top: 0; left: -58px; }
  .step h3 { margin-top: 8px; }
  .biz__list, .form__grid { grid-template-columns: minmax(0, 1fr); }
  .finder { opacity: .6; }
  .field--full { grid-column: auto; }
  .store { flex: 1 1 200px; }
  .foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav__end .btn { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-r] { opacity: 1; transform: none; }
  .scan { display: none; }
  .chip { display: none; }
  .scene--pin .dots i { background: var(--aqua); border-color: var(--aqua); }
  .gauge__on { stroke-dashoffset: 34; }
  .ring__on { stroke-dashoffset: 0; }
  .ring__dot, .vault__wave { display: none; }
}
