/* =========================================================
   CENTRO VIVO — Sistema de diseño
   Mobile-first · Plus Jakarta Sans (títulos y texto) · íconos Lucide
   ========================================================= */
:root {
  --navy-950: #0A1433;
  --navy-900: #0F1C47;
  --navy: #13235A;
  --navy-600: #2A3C7A;
  --navy-100: #E6E9F4;
  --orange: #FF7A2F;
  --orange-600: #E4521B;
  --orange-100: #FFE9DB;
  --cream: #FBF6EF;
  --cream-2: #F4ECE1;
  --paper: #FFFFFF;
  --ink: #13235A;
  --ink-2: #4A5578;
  --ink-3: #8A92AE;
  --line: #E8E1D6;
  --pine: #1F6F5C;
  --berry: #D7263D;
  --ok: #12855B;
  --err: #C52E3D;
  --gold-1: #F7DE9B; --gold-2: #D6A53D; --gold-3: #9C6E17;
  --silver-1: #F1F3F8; --silver-2: #BCC4D3; --silver-3: #7D879C;
  --r-sm: 12px; --r: 18px; --r-lg: 26px; --r-xl: 34px;
  --sh-1: 0 1px 2px rgba(19,35,90,.06), 0 2px 8px rgba(19,35,90,.05);
  --sh-2: 0 4px 14px rgba(19,35,90,.08), 0 18px 40px -12px rgba(19,35,90,.18);
  --sh-3: 0 30px 80px -20px rgba(10,20,51,.45);
  --ff-d: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ff: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.2,.8,.2,1);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --wrap: 1180px;
}
*,*::before,*::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font-family: var(--ff); color: var(--ink); background: var(--cream); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; }
body.no-scroll { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1,h2,h3,h4 { font-family: var(--ff-d); letter-spacing: -.025em; line-height: 1.05; margin: 0; font-weight: 800; }
p { margin: 0; }
.muted { color: var(--ink-2); }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 6px; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo svg { flex: none; }
.logo-word { font-family: var(--ff-d); font-weight: 800; font-size: 1.45rem; letter-spacing: -.045em; line-height: 1; display: inline-flex; gap: .22em; }
.logo-word b { color: var(--navy); font-weight: 800; }
.logo-word i { color: var(--orange); font-style: normal; }
.logo.on-dark .logo-word b { color: #fff; }
.logo.on-dark { --logo-body: #fff; }
.logo.on-dark svg rect:nth-of-type(2) { fill: #13235A; }

/* ---------- Botones ---------- */
.btn { --bg: var(--paper); --fg: var(--ink); display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0; background: var(--bg); color: var(--fg); font-weight: 800; font-size: .98rem; text-decoration: none; letter-spacing: -.01em; transition: transform .2s var(--ease), box-shadow .2s, background .2s, opacity .2s; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .45; pointer-events: none; }
.btn-primary { --bg: var(--orange); --fg: var(--navy-950); box-shadow: 0 8px 24px -8px rgba(255,122,47,.7), inset 0 -2px 0 rgba(0,0,0,.08); }
.btn-primary:hover { --bg: #FF8A45; }
.btn-dark { --bg: var(--navy); --fg: #fff; }
.btn-dark:hover { --bg: var(--navy-600); }
.btn-ghost { --bg: transparent; box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink-3); }
.btn-light { --bg: rgba(255,255,255,.12); --fg: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); backdrop-filter: blur(8px); }
.btn-wa { --bg: #1FAF5A; --fg: #fff; }
.btn-ig { --bg: linear-gradient(45deg,#F58529,#DD2A7B,#8134AF); --fg: #fff; background: linear-gradient(45deg,#F58529,#DD2A7B,#8134AF); }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: .88rem; }
.link { color: var(--orange-600); font-weight: 700; text-decoration: none; }
.link:hover { text-decoration: underline; }

/* ---------- Chips ---------- */
.chip { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px; font-size: .82rem; font-weight: 700; background: var(--paper); border: 1px solid var(--line); white-space: nowrap; }
.chip-soft { background: var(--orange-100); border-color: transparent; color: var(--orange-600); }
.chip-dark { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.18); color: #fff; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-600); }
.eyebrow::before { content: ''; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }

/* ---------- Header ---------- */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(251,246,239,.82); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); transition: box-shadow .25s, background .25s; }
.hdr.scrolled { box-shadow: 0 1px 0 var(--line), 0 8px 30px -18px rgba(19,35,90,.3); }
.hdr-in { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 16px; }
.hdr nav { display: none; gap: 4px; }
.hdr nav a { padding: 8px 14px; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: .93rem; color: var(--ink-2); }
.hdr nav a:hover { background: var(--cream-2); color: var(--ink); }
.hdr-cta { display: flex; gap: 8px; align-items: center; }
.hdr-cta .btn { min-height: 42px; padding: 0 16px; font-size: .9rem; }
.hdr .hide-m { display: none; }
@media (min-width: 900px) { .hdr nav { display: flex; } .hdr .hide-m { display: inline-flex; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(120% 80% at 85% 10%, #26398A 0%, transparent 55%), radial-gradient(80% 60% at 0% 100%, rgba(255,122,47,.28) 0%, transparent 60%), var(--navy-950); color: #fff; padding: 28px 0 0; border-radius: 0 0 var(--r-xl) var(--r-xl); isolation: isolate; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255,255,255,.55) 1px, transparent 1.4px); background-size: 34px 34px; mask-image: radial-gradient(70% 60% at 70% 30%, #000 0%, transparent 75%); opacity: .35; }
.hero-grid { display: grid; gap: 34px; }
.hero-copy { padding-top: 10px; }
.hero h1 { font-size: clamp(2.6rem, 10.5vw, 5.1rem); margin: 16px 0 16px; letter-spacing: -.045em; }
.hero h1 em { font-style: normal; color: var(--orange); position: relative; white-space: nowrap; }
.hero h1 em svg { position: absolute; left: -2%; bottom: -.18em; width: 104%; height: .32em; }
.hero-lead { font-size: 1.08rem; color: rgba(255,255,255,.78); max-width: 34ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 22px; }
.hero-ctas .btn { flex: 1 1 auto; }
.edition-tag { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); font-size: .85rem; font-weight: 700; }
.edition-tag .et-ic { width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, var(--berry), #8E1022); display: grid; place-items: center; font-size: .9rem; }
.countdown { display: flex; gap: 8px; margin-top: 4px; }
.cd-u { display: grid; place-items: center; min-width: 62px; padding: 10px 6px 8px; border-radius: 16px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); }
.cd-u b { font-family: var(--ff-d); font-size: 1.6rem; line-height: 1; font-variant-numeric: tabular-nums; }
.cd-u small { font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; opacity: .65; margin-top: 4px; }
.cd-label { font-size: .8rem; color: rgba(255,255,255,.6); margin-bottom: 8px; font-weight: 600; }

/* Mock de teléfono en hero */
.hero-visual { position: relative; display: flex; justify-content: center; padding-bottom: 0; }
.phone { position: relative; width: min(310px, 82vw); aspect-ratio: 9/18.5; border-radius: 46px; background: #0b0f1f; padding: 10px; box-shadow: var(--sh-3), inset 0 0 0 2px rgba(255,255,255,.08); margin-bottom: -90px; transform: rotate(-3deg); }
.phone-scr { height: 100%; border-radius: 37px; background: var(--cream); overflow: hidden; color: var(--ink); padding: 44px 14px 14px; position: relative; }
.phone-scr::before { content: ''; position: absolute; top: 10px; left: 50%; translate: -50% 0; width: 92px; height: 26px; border-radius: 20px; background: #0b0f1f; }
.float-badge { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 18px; background: #fff; color: var(--ink); box-shadow: var(--sh-2); font-weight: 800; font-size: .85rem; animation: floaty 6s ease-in-out infinite; }
.float-badge small { display: block; font-weight: 600; color: var(--ink-3); font-size: .72rem; }
.float-badge .fb-ic { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; font-size: 1.1rem; }
.fb-1 { left: 0; top: 22%; }
.fb-2 { right: 0; top: 52%; animation-delay: -3s; }
@keyframes floaty { 50% { transform: translateY(-10px); } }

/* ---------- Tarjeta de sellos (usada en hero y en cuenta) ---------- */
.stampcard { position: relative; border-radius: 24px; padding: 18px; color: #fff; background: radial-gradient(120% 120% at 100% 0%, #2B3F95 0%, transparent 50%), linear-gradient(160deg, var(--navy) 0%, var(--navy-950) 100%); box-shadow: 0 18px 40px -16px rgba(10,20,51,.6); overflow: hidden; isolation: isolate; }
.stampcard::after { content: ''; position: absolute; right: -40px; bottom: -60px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(255,122,47,.35), transparent 65%); z-index: -1; }
.sc-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.sc-top .logo-word { font-size: 1.05rem; }
.sc-top .logo-word b { color: #fff; }
.sc-ed { font-size: .66rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; background: rgba(255,255,255,.12); }
.sc-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 7px; margin: 18px 0 12px; }
.stamp { aspect-ratio: 1; border-radius: 50%; border: 1.5px dashed rgba(255,255,255,.28); display: grid; place-items: center; position: relative; font-size: .7rem; font-weight: 800; color: rgba(255,255,255,.35); }
.stamp.t3::after, .stamp.t6::after { content: attr(data-t); position: absolute; bottom: -16px; font-size: .55rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.stamp.on { border: 0; background: radial-gradient(circle at 35% 30%, #FFB27D, var(--orange) 55%, var(--orange-600)); color: var(--navy-950); box-shadow: 0 4px 12px -2px rgba(255,122,47,.6), inset 0 -2px 0 rgba(0,0,0,.12); }
.stamp.on svg { width: 62%; height: 62%; }
.stamp.on.pop { animation: stampPop .7s var(--ease); }
@keyframes stampPop { 0% { transform: scale(2.2) rotate(-18deg); opacity: 0; } 55% { transform: scale(.9) rotate(4deg); opacity: 1; } 100% { transform: none; } }
.sc-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; margin-top: 18px; }
.sc-foot small { display: block; font-size: .68rem; opacity: .6; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.sc-foot b { font-family: var(--ff-d); font-size: 1rem; letter-spacing: .02em; }
.sc-bar { height: 6px; border-radius: 6px; background: rgba(255,255,255,.14); overflow: hidden; margin-top: 4px; }
.sc-bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--orange), #FFC27A); transition: width .8s var(--ease); }

/* ---------- Tickets de beneficio Plata/Oro ---------- */
.tier { position: relative; border-radius: 22px; padding: 20px; overflow: hidden; isolation: isolate; color: var(--navy-950); }
.tier::before { content: ''; position: absolute; inset: 0; z-index: -1; }
.tier-plata::before { background: linear-gradient(135deg, var(--silver-1) 0%, var(--silver-2) 48%, #E9EDF4 60%, var(--silver-3) 100%); }
.tier-oro::before { background: linear-gradient(135deg, var(--gold-1) 0%, var(--gold-2) 45%, #F3D58A 60%, var(--gold-3) 100%); }
.tier::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.55) 45%, transparent 60%); background-size: 250% 100%; animation: sheen 5s ease-in-out infinite; }
@keyframes sheen { 0% { background-position: 120% 0; } 60%,100% { background-position: -60% 0; } }
.tier-name { font-family: var(--ff-d); font-weight: 800; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; opacity: .75; }
.tier-pct { font-family: var(--ff-d); font-size: 3.6rem; font-weight: 800; line-height: .9; letter-spacing: -.05em; margin: 8px 0 4px; }
.tier-pct small { font-size: 1.1rem; letter-spacing: 0; margin-left: 4px; }
.tier-cap { font-weight: 700; font-size: .92rem; opacity: .8; }
.tier-req { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(10,20,51,.1); font-weight: 800; font-size: .82rem; }
.tier-seal { position: absolute; right: 16px; top: 16px; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.35); box-shadow: inset 0 0 0 2px rgba(10,20,51,.12); }
.tier-seal svg { width: 32px; height: 32px; }
.tier.is-used { filter: grayscale(.9); opacity: .65; }
.tier.is-used::after { animation: none; }

/* ---------- Secciones ---------- */
section { position: relative; }
.sec { padding: 72px 0; }
.sec-head { max-width: 640px; margin-bottom: 32px; }
.sec-head h2 { font-size: clamp(2rem, 6.5vw, 3.2rem); margin: 12px 0 12px; }
.sec-head p { color: var(--ink-2); font-size: 1.05rem; }
.sec-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.rv { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; } *,*::before,*::after { animation-duration: .001s !important; transition-duration: .001s !important; } }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 24px; }
.stat { background: var(--paper); border-radius: var(--r); padding: 16px 12px; text-align: center; box-shadow: var(--sh-1); }
.stat b { display: block; font-family: var(--ff-d); font-size: clamp(1.4rem, 5vw, 2.2rem); letter-spacing: -.04em; line-height: 1; color: var(--navy); }
.stat-4 { display: none; }
.stat span { font-size: .78rem; color: var(--ink-2); font-weight: 600; line-height: 1.25; display: block; margin-top: 6px; }

/* Cómo funciona */
.steps { display: grid; gap: 14px; counter-reset: st; }
.step { position: relative; background: var(--paper); border-radius: var(--r-lg); padding: 22px 22px 22px 84px; box-shadow: var(--sh-1); min-height: 104px; }
.step-n { position: absolute; left: 20px; top: 22px; width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; font-family: var(--ff-d); font-weight: 800; font-size: 1.3rem; background: var(--orange-100); color: var(--orange-600); }
.step:nth-child(2) .step-n { background: var(--navy-100); color: var(--navy); }
.step:nth-child(3) .step-n { background: #FFF3D6; color: var(--gold-3); }
.step h3 { font-size: 1.25rem; margin-bottom: 6px; }
.step p { color: var(--ink-2); font-size: .95rem; }

/* Beneficios */
.tiers { display: grid; gap: 14px; }
.tiers .tier { padding: 26px; min-height: 220px; }
.rule-list { display: grid; gap: 10px; margin-top: 18px; }
.rule { display: flex; gap: 12px; align-items: flex-start; background: var(--paper); border-radius: var(--r); padding: 14px 16px; box-shadow: var(--sh-1); font-size: .94rem; }
.rule-ic { flex: none; width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: var(--cream-2); font-size: 1rem; }

/* Calendario */
.timeline { display: grid; gap: 12px; }
.tl { display: flex; gap: 16px; align-items: center; background: var(--paper); border-radius: var(--r-lg); padding: 18px; box-shadow: var(--sh-1); position: relative; overflow: hidden; }
.tl.is-now { box-shadow: 0 0 0 2px var(--orange), var(--sh-2); }
.tl.is-now::after { content: 'AHORA'; position: absolute; top: 12px; right: 12px; font-size: .62rem; font-weight: 800; letter-spacing: .14em; background: var(--orange); color: var(--navy-950); padding: 3px 8px; border-radius: 999px; }
.tl-date { flex: none; width: 76px; height: 76px; border-radius: 20px; display: grid; place-items: center; text-align: center; background: var(--navy); color: #fff; line-height: 1; }
.tl-date b { font-family: var(--ff-d); font-size: 1.5rem; display: block; }
.tl-date small { font-size: .66rem; text-transform: uppercase; letter-spacing: .1em; opacity: .7; }
.tl:nth-child(2) .tl-date { background: linear-gradient(135deg, var(--gold-2), var(--gold-3)); }
.tl h3 { font-size: 1.15rem; margin-bottom: 4px; }
.tl p { color: var(--ink-2); font-size: .9rem; }

/* ---------- Catálogo ---------- */
.cat-bar { position: sticky; top: 66px; z-index: 20; background: var(--cream); padding: 12px 0; margin: 0 -20px; padding-left: 20px; padding-right: 20px; }
.search { position: relative; }
.search input { width: 100%; height: 52px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--paper); padding: 0 16px 0 46px; font: inherit; font-size: 16px; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.search input:focus { outline: 0; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(19,35,90,.08); }
.search svg { position: absolute; left: 15px; top: 50%; translate: 0 -50%; width: 20px; color: var(--ink-3); }
.filters { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 12px 20px 2px; margin: 0 -20px; scroll-snap-type: x proximity; }
.filters::-webkit-scrollbar { display: none; }
.filters, .map-top { -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent); mask-image: linear-gradient(90deg, #000 82%, transparent); }
.cat-meta .chip { cursor: pointer; height: 34px; }
.cat-meta .chip[aria-pressed="true"] { background: var(--ok); color: #fff; border-color: var(--ok); }
.filters .chip { cursor: pointer; height: 38px; padding: 0 14px; font-size: .86rem; scroll-snap-align: start; transition: all .2s; }
.filters .chip[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.cat-meta { display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; align-items: center; margin: 16px 0 12px; font-size: .9rem; color: var(--ink-2); font-weight: 600; }
.cat-meta select { font: inherit; font-weight: 700; color: var(--ink); background: transparent; border: 0; padding: 4px; }
.grid-m { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.mcard { position: relative; background: var(--paper); border-radius: var(--r-lg); padding: 16px 14px 14px; box-shadow: var(--sh-1); text-align: left; border: 0; display: flex; flex-direction: column; gap: 10px; transition: transform .25s var(--ease), box-shadow .25s; min-width: 0; }
.mcard:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.mcard:active { transform: scale(.98); }
.mcard h3 { font-size: 1.05rem; letter-spacing: -.02em; line-height: 1.15; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: anywhere; }
.mcard .mc-rubro { font-size: .78rem; color: var(--ink-3); font-weight: 700; }
.mcard .mc-addr { font-size: .8rem; color: var(--ink-2); display: flex; gap: 4px; align-items: center; }
.mcard .mc-promo { font-size: .74rem; font-weight: 800; line-height: 1.3; color: var(--orange-600); background: var(--orange-100); padding: 5px 8px; border-radius: 8px; align-self: flex-start; max-width: 100%; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mcard .open-dot { position: absolute; top: 16px; right: 14px; }
.m-av { --s: 48px; --c: var(--navy); width: var(--s); height: var(--s); flex: none; border-radius: calc(var(--s) * .3); display: grid; place-items: center; background: var(--c); color: #fff; font-family: var(--ff-d); font-weight: 800; font-size: calc(var(--s) * .36); letter-spacing: -.03em; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); }
.m-av img { width: 100%; height: 100%; object-fit: cover; background: #fff; }
.open-dot { display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 800; color: var(--ink-3); }
.open-dot::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); }
.open-dot.is-open { color: var(--ok); }
.open-dot.is-open::before { background: var(--ok); box-shadow: 0 0 0 3px rgba(18,133,91,.18); }
.mcard .open-dot { font-size: 0; gap: 0; }
.empty { text-align: center; padding: 40px 20px; color: var(--ink-2); grid-column: 1 / -1; }
.empty b { display: block; font-family: var(--ff-d); font-size: 1.3rem; color: var(--ink); margin-bottom: 6px; }

/* ---------- Mapa ---------- */
.map-shell { position: relative; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-2); background: var(--cream-2); height: 72vh; min-height: 460px; max-height: 720px; isolation: isolate; }
#map { position: absolute; inset: 0; }
.map-top { position: absolute; top: 12px; left: 12px; right: 12px; z-index: 500; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.map-top::-webkit-scrollbar { display: none; }
.map-top .chip { box-shadow: var(--sh-1); cursor: pointer; height: 36px; }
.map-top .chip[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.map-locate { position: absolute; right: 12px; bottom: 16px; z-index: 500; width: 48px; height: 48px; border-radius: 16px; background: #fff; border: 0; box-shadow: var(--sh-2); display: grid; place-items: center; }
.pin { position: relative; width: 46px; height: 56px; }
.pin-in { position: absolute; left: 0; top: 0; width: 46px; height: 46px; border-radius: 50% 50% 50% 6px; transform: rotate(-45deg); background: #fff; box-shadow: 0 6px 16px -4px rgba(10,20,51,.45); display: grid; place-items: center; transition: transform .2s var(--ease); }
.pin-in > * { transform: rotate(45deg); }
.pin .m-av { --s: 36px; border-radius: 50%; font-size: 13px; }
@media (max-width: 640px) { .pin { width: 36px; height: 44px; } .pin-in { width: 36px; height: 36px; } .pin .m-av { --s: 28px; font-size: 10px; } }
.pin.active .pin-in, .pin:hover .pin-in { transform: rotate(-45deg) scale(1.15); }
.pin.active .pin-in { background: var(--orange); }
.leaflet-container { font-family: var(--ff); background: #EDE6DA; }
.leaflet-tile-pane { filter: saturate(.55) sepia(.12) contrast(.96) brightness(1.03); }
.leaflet-popup-content-wrapper { border-radius: 20px; padding: 0; box-shadow: var(--sh-2); }
.leaflet-popup-content { margin: 0; width: 250px !important; }
.leaflet-popup-tip { box-shadow: none; }
.leaflet-container a.leaflet-popup-close-button { top: 8px; right: 8px; width: 28px; height: 28px; border-radius: 50%; background: var(--cream-2); color: var(--ink); font-size: 18px; line-height: 26px; }
.pop { padding: 14px; display: grid; gap: 10px; cursor: pointer; }
.pop-h { display: flex; gap: 10px; align-items: center; padding-right: 26px; }
.pop-h h4 { font-size: 1.02rem; margin-bottom: 2px; }
.pop-h small { color: var(--ink-3); font-weight: 700; font-size: .76rem; }
.pop p { font-size: .82rem; color: var(--ink-2); margin: 0; }
.pop .btn { min-height: 40px; font-size: .86rem; width: 100%; }
.leaflet-control-attribution { font-size: 10px; border-radius: 8px 0 0 0; }
.leaflet-control-zoom { border: 0 !important; box-shadow: var(--sh-1) !important; border-radius: 14px !important; overflow: hidden; margin-top: 62px !important; }
.leaflet-control-zoom a { width: 40px !important; height: 40px !important; line-height: 40px !important; color: var(--ink) !important; }

/* ---------- Comercios (CTA) ---------- */
.biz { background: var(--navy-950); color: #fff; border-radius: var(--r-xl); padding: 36px 22px; position: relative; overflow: hidden; isolation: isolate; }
.biz::before { content: ''; position: absolute; width: 420px; height: 420px; right: -160px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(255,122,47,.45), transparent 65%); z-index: -1; }
.biz h2 { font-size: clamp(2rem, 7vw, 3.2rem); margin: 12px 0 14px; }
.biz p { color: rgba(255,255,255,.75); }
.biz-list { display: grid; gap: 10px; margin: 24px 0 28px; padding: 0; list-style: none; }
.biz-list li { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); font-weight: 600; font-size: .95rem; }
.biz-list li span { flex: none; width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: rgba(255,122,47,.18); }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--paper); border-radius: var(--r); box-shadow: var(--sh-1); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 54px 18px 20px; font-weight: 800; position: relative; font-size: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 18px; top: 50%; translate: 0 -50%; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--cream-2); font-size: 1.2rem; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--orange); }
.faq details p { padding: 0 20px 18px; color: var(--ink-2); font-size: .95rem; }

/* Footer */
.ftr { padding: 48px 0 calc(110px + var(--safe-b)); border-top: 1px solid var(--line); margin-top: 40px; }
.ftr-grid { display: grid; gap: 28px; }
.ftr h4 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; font-family: var(--ff); }
.ftr a { display: block; text-decoration: none; color: var(--ink-2); font-weight: 600; padding: 4px 0; }
.ftr a:hover { color: var(--ink); }
.ftr-cuc { display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: var(--paper); box-shadow: var(--sh-1); font-size: .8rem; color: var(--ink-2); font-weight: 600; margin-top: 16px; }
.ftr-cuc b { font-family: var(--ff-d); font-size: 1.15rem; color: var(--ink); letter-spacing: -.02em; }
.ftr-legal { margin-top: 32px; font-size: .8rem; color: var(--ink-3); }

/* Barra CTA fija mobile */
.mcta { position: fixed; left: 12px; right: 12px; bottom: calc(12px + var(--safe-b)); z-index: 60; display: flex; gap: 8px; padding: 8px; border-radius: 22px; background: rgba(15,28,71,.92); backdrop-filter: blur(14px); box-shadow: var(--sh-3); transform: translateY(150%); transition: transform .4s var(--ease); }
.mcta.show { transform: none; }
.mcta .btn { flex: 1; min-height: 48px; }
@media (min-width: 900px) { .mcta { display: none; } }

/* ---------- Sheets ---------- */
.sheet-wrap { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: flex-end; justify-content: center; }
.sheet-bg { position: absolute; inset: 0; background: rgba(10,20,51,.5); backdrop-filter: blur(3px); opacity: 0; transition: opacity .3s; }
.sheet { position: relative; width: 100%; max-height: 92vh; overflow-y: auto; overscroll-behavior: contain; background: var(--cream); border-radius: 28px 28px 0 0; padding: 10px 20px calc(24px + var(--safe-b)); transform: translateY(100%); transition: transform .38s var(--ease); }
.sheet-wrap.open .sheet-bg { opacity: 1; }
.sheet-wrap.open .sheet { transform: none; }
.sheet-grip { width: 44px; height: 5px; border-radius: 5px; background: var(--line); margin: 2px auto 10px; }
.sheet-x { position: absolute; top: 12px; right: 14px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--cream-2); font-size: .9rem; z-index: 2; }
@media (min-width: 720px) {
  .sheet-wrap { align-items: center; padding: 24px; }
  .sheet { max-width: 520px; border-radius: 28px; transform: translateY(30px) scale(.97); opacity: 0; transition: transform .35s var(--ease), opacity .25s; padding-top: 18px; }
  .sheet-wrap.open .sheet { opacity: 1; }
  .sheet-grip { display: none; }
}
.sheet-merchant { padding-top: 0; }
.ms-cover { height: 110px; margin: 0 -20px; background: radial-gradient(100% 140% at 0% 0%, rgba(255,255,255,.25), transparent 50%), var(--c); position: relative; border-radius: 28px 28px 0 0; }
.ms-cover .m-av { position: absolute; left: 20px; bottom: -36px; border: 4px solid var(--cream); border-radius: 26px; box-shadow: var(--sh-2); }
.sheet-merchant .sheet-grip { position: absolute; left: 50%; translate: -50% 0; top: 8px; background: rgba(255,255,255,.6); z-index: 2; }
.sheet-merchant .sheet-x { background: rgba(255,255,255,.85); }
.ms-head { padding-top: 48px; display: grid; gap: 8px; justify-items: start; }
.ms-head h3 { font-size: 1.9rem; }
.ms-promo { display: flex; gap: 12px; align-items: center; margin-top: 16px; padding: 14px; border-radius: 18px; background: var(--orange-100); }
.ms-promo span { font-size: 1.5rem; }
.ms-promo small { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-600); }
.ms-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 8px; margin: 18px 0; }
.ms-actions .btn { padding: 0 12px; font-size: .9rem; }
.ms-info { margin: 0; display: grid; gap: 2px; background: var(--paper); border-radius: 20px; padding: 6px 16px; box-shadow: var(--sh-1); }
.ms-info > div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.ms-info > div:last-child { border: 0; }
.ms-info dt { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; }
.ms-info dd { margin: 0; font-weight: 600; }
.hrow { display: flex; justify-content: space-between; gap: 10px; font-size: .92rem; padding: 2px 0; }
.hrow span { color: var(--ink-2); font-weight: 600; }
.ms-rules { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.ms-rules div { background: var(--navy); color: #fff; border-radius: 16px; padding: 12px 14px; }
.ms-rules b { display: block; font-family: var(--ff-d); font-size: 1.1rem; }
.ms-rules span { font-size: .76rem; opacity: .7; line-height: 1.3; display: block; }

/* ---------- Toasts ---------- */
.toasts { position: fixed; top: calc(12px + env(safe-area-inset-top, 0px)); left: 12px; right: 12px; z-index: 2000; display: grid; gap: 8px; justify-items: center; pointer-events: none; }
.toast { display: flex; gap: 10px; align-items: center; max-width: 440px; width: 100%; padding: 12px 16px 12px 12px; border-radius: 18px; background: var(--navy-950); color: #fff; font-weight: 600; font-size: .92rem; box-shadow: var(--sh-3); transform: translateY(-20px); opacity: 0; transition: all .3s var(--ease); }
.toast.in { transform: none; opacity: 1; }
.toast-ic { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: var(--ok); }
.toast-err .toast-ic { background: var(--err); }
.toast-info .toast-ic { background: var(--navy-600); }
.toast-gold .toast-ic { background: var(--gold-2); color: var(--navy-950); }

/* ---------- Demo bar ---------- */
.demo-bar { position: fixed; left: 8px; bottom: calc(92px + var(--safe-b)); z-index: 900; }
.demo-bar.open .demo-toggle { opacity: 1; }
.demo-toggle { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; opacity: .8; border-radius: 999px; border: 1px dashed var(--ink-3); background: rgba(255,255,255,.92); backdrop-filter: blur(8px); font-weight: 800; font-size: .78rem; box-shadow: var(--sh-1); }
.demo-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); }
.tone-ok { background: var(--ok); } .tone-gold { background: var(--gold-2); } .tone-info { background: #2C6BED; }
.demo-panel { display: none; position: absolute; bottom: 44px; left: 0; width: 230px; padding: 10px; border-radius: 18px; background: #fff; box-shadow: var(--sh-3); }
.demo-bar.open .demo-panel { display: grid; gap: 4px; }
.demo-t { font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); padding: 4px 8px 6px; }
.demo-opt { text-align: left; border: 0; background: transparent; padding: 10px; border-radius: 12px; font-weight: 700; font-size: .88rem; }
.demo-opt:hover { background: var(--cream); }
.demo-opt.on { background: var(--navy); color: #fff; }
.demo-reset { color: var(--err); border-top: 1px solid var(--line); border-radius: 0 0 12px 12px; margin-top: 4px; }
@media (min-width: 900px) { .demo-bar { bottom: 20px; left: 20px; } }

/* ---------- Formularios ---------- */
.field { display: grid; gap: 6px; }
.field > span, .label { font-size: .82rem; font-weight: 800; color: var(--ink-2); }
.field small { font-size: .78rem; color: var(--ink-3); }
.input, .field input, .field select, .field textarea { width: 100%; min-height: 52px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--paper); padding: 12px 14px; font: inherit; font-size: 16px; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 96px; resize: vertical; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(19,35,90,.08); }
.field input[aria-invalid="true"] { border-color: var(--err); }
.prefix { position: relative; }
.prefix > b { position: absolute; left: 14px; top: 50%; translate: 0 -50%; font-weight: 700; color: var(--ink-3); pointer-events: none; }
.prefix input { padding-left: var(--pl, 54px); }
.form-grid { display: grid; gap: 14px; }
.form-2 { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--ink-2); cursor: pointer; }
.check input { width: 22px; height: 22px; accent-color: var(--navy); flex: none; margin-top: 1px; }
.card { background: var(--paper); border-radius: var(--r-lg); padding: 20px; box-shadow: var(--sh-1); }
.otp { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.otp input { text-align: center; font-family: var(--ff-d); font-size: 1.5rem; font-weight: 800; padding: 0; min-height: 58px; }

/* Evitar desbordes horizontales en pantallas angostas */
.app-main > *, .wiz-page > *, .form-2 > *, .form-grid > *, .hr-f > *, .field > * { min-width: 0; }
.field input, .field select, .field textarea, .hours-row input { min-width: 0; max-width: 100%; }
.wiz-page input, .wiz-page select, .wiz-page textarea { scroll-margin: 90px 0 130px; }
.hdr-link { white-space: nowrap; font-size: .9rem; }

/* Segmented tabs */
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 4px; border-radius: 16px; background: var(--cream-2); gap: 4px; }
.seg button { border: 0; background: transparent; min-height: 44px; border-radius: 12px; font-weight: 800; font-size: .92rem; color: var(--ink-2); transition: all .2s; }
.seg button[aria-selected="true"] { background: var(--paper); color: var(--ink); box-shadow: var(--sh-1); }

/* ---------- Layout de app (cuenta / panel) ---------- */
.app { min-height: 100vh; min-height: 100dvh; padding-bottom: calc(100px + var(--safe-b)); }
.app-hdr { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; position: sticky; top: 0; z-index: 40; background: rgba(251,246,239,.86); backdrop-filter: blur(14px); }
.app-main { max-width: 560px; margin: 0 auto; padding: 4px 20px 20px; display: grid; gap: 22px; }
.app-wide { max-width: 980px; }
.hello h1 { font-size: 2rem; }
.hello p { color: var(--ink-2); font-weight: 600; }
.icon-btn { width: 44px; height: 44px; border-radius: 14px; border: 0; background: var(--paper); box-shadow: var(--sh-1); display: grid; place-items: center; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font-weight: 800; font-family: var(--ff-d); border: 0; }
.phase-banner { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 20px; background: var(--paper); box-shadow: var(--sh-1); font-size: .9rem; }
.phase-banner .pb-ic { flex: none; width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; font-size: 1.2rem; background: var(--orange-100); }
.phase-banner b { display: block; font-size: .98rem; }
.phase-banner span { color: var(--ink-2); }
.block-t { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.block-t h2 { font-size: 1.35rem; }
.block-t a, .block-t small { font-size: .85rem; font-weight: 700; color: var(--ink-3); text-decoration: none; }
.vlist { display: grid; gap: 12px; }
.vticket { display: flex; justify-content: space-between; gap: 12px; align-items: center; min-height: 130px; }
.vticket .tier-pct { font-size: 2.8rem; margin: 4px 0; }
.vstatus { display: inline-flex; padding: 5px 10px; border-radius: 999px; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: rgba(10,20,51,.85); color: #fff; }
.vstatus.st-disponible { background: var(--ok); }
.hist { display: grid; background: var(--paper); border-radius: var(--r-lg); box-shadow: var(--sh-1); overflow: hidden; }
.hist-row { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.hist-row:last-child { border: 0; }
.hist-row .hr-main { flex: 1; min-width: 0; }
.hist-row b { display: block; font-size: .95rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hist-row small { color: var(--ink-3); font-weight: 600; font-size: .8rem; }
.hist-row .hr-amt { text-align: right; font-weight: 800; font-size: .92rem; }
.hist-row .hr-amt small { display: block; }
.tag-stamp { color: var(--orange-600); } .tag-redeem { color: var(--ok); }

/* Bottom nav */
.bnav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: grid; grid-template-columns: repeat(5, 1fr); align-items: end; padding: 8px 8px calc(8px + var(--safe-b)); background: rgba(255,255,255,.94); backdrop-filter: blur(16px); box-shadow: 0 -1px 0 var(--line), 0 -10px 30px -20px rgba(19,35,90,.3); }
.bnav a, .bnav button { display: grid; justify-items: center; gap: 3px; padding: 6px 0; font-size: .7rem; font-weight: 800; color: var(--ink-3); text-decoration: none; border: 0; background: none; }
.bnav svg { width: 24px; height: 24px; }
.bnav .on { color: var(--navy); }
.bnav .bn-qr { margin-top: -30px; }
.bnav .bn-qr span { width: 64px; height: 64px; border-radius: 22px; display: grid; place-items: center; background: var(--orange); color: var(--navy-950); box-shadow: 0 10px 24px -8px rgba(255,122,47,.8), 0 0 0 5px #fff; }
.bnav .bn-qr svg { width: 30px; height: 30px; }
@media (min-width: 720px) { .bnav { left: 50%; right: auto; translate: -50% 0; width: 520px; bottom: 16px; border-radius: 26px; padding-bottom: 8px; } }

/* QR sheet */
.qr-sheet { text-align: center; display: grid; gap: 16px; justify-items: center; }
.qr-sheet h3 { font-size: 1.5rem; }
.qr-box { position: relative; width: min(290px, 78vw); aspect-ratio: 1; padding: 22px; background: #fff; border-radius: 28px; box-shadow: var(--sh-2); }
.qr-box svg { width: 100%; height: 100%; }
.qr-box svg path, .qr-box svg rect[fill="#000000"] { fill: var(--navy-950); }
.qr-box .qr-logo { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 60px; height: 60px; border-radius: 16px; background: #fff; display: grid; place-items: center; box-shadow: 0 0 0 4px #fff; }
.qr-ring { display: flex; align-items: center; gap: 10px; font-size: .86rem; font-weight: 700; color: var(--ink-2); }
.qr-ring svg { width: 28px; height: 28px; transform: rotate(-90deg); }
.qr-ring circle { fill: none; stroke-width: 4; }
.qr-ring .bg { stroke: var(--line); }
.qr-ring .fg { stroke: var(--orange); stroke-linecap: round; transition: stroke-dashoffset 1s linear; }
.card-num { font-family: var(--ff-d); font-size: 1.3rem; letter-spacing: .08em; font-weight: 800; }
.qr-fallback { word-break: break-all; font-size: .7rem; }

/* ---------- Panel comercio ---------- */
.pn-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pn-act { position: relative; display: grid; gap: 10px; align-content: space-between; min-height: 150px; padding: 18px; border-radius: 24px; border: 0; text-align: left; color: #fff; background: linear-gradient(150deg, var(--navy) 0%, var(--navy-950) 100%); box-shadow: var(--sh-2); overflow: hidden; transition: transform .2s var(--ease); }
.pn-act:active { transform: scale(.97); }
.pn-act.alt { background: linear-gradient(150deg, var(--gold-2), var(--gold-3)); color: var(--navy-950); }
.pn-act .pa-ic { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; background: rgba(255,255,255,.14); }
.pn-act b { font-family: var(--ff-d); font-size: 1.3rem; line-height: 1.05; }
.pn-act small { display: block; font-size: .78rem; opacity: .75; font-weight: 600; margin-top: 4px; }
.pn-act[disabled] { opacity: .45; filter: grayscale(.7); }
.kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kpi { background: var(--paper); border-radius: 20px; padding: 16px; box-shadow: var(--sh-1); }
.kpi small { font-size: .76rem; font-weight: 700; color: var(--ink-3); display: block; }
.kpi { min-width: 0; }
.kpi b { overflow-wrap: anywhere; font-family: var(--ff-d); font-size: clamp(1.2rem, 5.5vw, 1.7rem); letter-spacing: -.04em; display: block; margin-top: 4px; line-height: 1.1; }
.scanner { position: relative; width: 100%; aspect-ratio: 1; border-radius: 26px; overflow: hidden; background: var(--navy-950); }
.scanner #reader { width: 100%; height: 100%; }
.scanner #reader video { object-fit: cover; width: 100% !important; height: 100% !important; }
.scanner-frame { position: absolute; inset: 16%; border-radius: 22px; pointer-events: none; box-shadow: 0 0 0 999px rgba(10,20,51,.45); }
.scanner-frame::before { content: ''; position: absolute; inset: 0; border-radius: inherit; border: 3px solid var(--orange); clip-path: polygon(0 0, 30% 0, 30% 4%, 4% 4%, 4% 30%, 0 30%, 0 70%, 4% 70%, 4% 96%, 30% 96%, 30% 100%, 70% 100%, 70% 96%, 96% 96%, 96% 70%, 100% 70%, 100% 30%, 96% 30%, 96% 4%, 70% 4%, 70% 0, 100% 0, 100% 100%, 0 100%); }
.scanner-line { position: absolute; left: 18%; right: 18%; height: 2px; background: var(--orange); box-shadow: 0 0 16px var(--orange); top: 20%; animation: scan 2.2s ease-in-out infinite; }
@keyframes scan { 50% { top: 78%; } }
.scanner-msg { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; color: rgba(255,255,255,.75); padding: 30px; font-size: .9rem; }
.cust-card { display: flex; gap: 14px; align-items: center; padding: 16px; border-radius: 20px; background: var(--paper); box-shadow: var(--sh-1); }
.cust-card .avatar { width: 52px; height: 52px; font-size: 1.1rem; }
.cust-card b { font-size: 1.1rem; display: block; }
.cust-card small { color: var(--ink-3); font-weight: 700; }
.calc { display: grid; gap: 8px; padding: 16px; border-radius: 20px; background: var(--navy); color: #fff; }
.calc-row { display: flex; justify-content: space-between; font-weight: 600; font-size: .95rem; }
.calc-row.total { border-top: 1px solid rgba(255,255,255,.18); padding-top: 10px; margin-top: 4px; font-family: var(--ff-d); font-size: 1.4rem; font-weight: 800; }
.calc-row .disc { color: #FFC27A; }
.big-amount input { font-family: var(--ff-d); font-size: 1.8rem; font-weight: 800; min-height: 64px; --pl: 40px; }
.big-amount .prefix > b { font-size: 1.6rem; font-family: var(--ff-d); color: var(--ink); }
.hint { font-size: .82rem; font-weight: 700; padding: 8px 12px; border-radius: 12px; }
.hint-ok { background: rgba(18,133,91,.1); color: var(--ok); }
.hint-warn { background: var(--orange-100); color: var(--orange-600); }
.vpick { display: grid; gap: 10px; }
.vpick label { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 18px; background: var(--paper); box-shadow: inset 0 0 0 2px var(--line); cursor: pointer; font-weight: 700; }
.vpick input { accent-color: var(--navy); width: 20px; height: 20px; }
.vpick label:has(input:checked) { box-shadow: inset 0 0 0 2px var(--navy); }
.vpick .vp-badge { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-family: var(--ff-d); font-weight: 800; font-size: .9rem; }
.vp-plata { background: linear-gradient(135deg, var(--silver-1), var(--silver-3)); }
.vp-oro { background: linear-gradient(135deg, var(--gold-1), var(--gold-3)); }
.success { text-align: center; display: grid; justify-items: center; gap: 12px; padding: 10px 0; }
.success-ic { width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, #FFB27D, var(--orange) 55%, var(--orange-600)); box-shadow: 0 16px 40px -10px rgba(255,122,47,.8); animation: stampPop .7s var(--ease); }
.success-ic svg { width: 54px; height: 54px; }
.success h3 { font-size: 1.8rem; }
.success .code { font-family: var(--ff-d); font-size: 2rem; letter-spacing: .2em; font-weight: 800; padding: 8px 18px; border-radius: 14px; background: var(--paper); box-shadow: var(--sh-1); }
.list-sim { display: grid; gap: 8px; max-height: 260px; overflow: auto; }
.list-sim button { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-radius: 14px; border: 0; background: var(--paper); box-shadow: var(--sh-1); font-weight: 700; text-align: left; }

/* ---------- Registro comercio (wizard) ---------- */
.wiz-steps { display: flex; gap: 6px; margin: 6px 0 22px; }
.wiz-steps span { flex: 1; height: 5px; border-radius: 5px; background: var(--line); transition: background .3s; }
.wiz-steps span.on { background: var(--orange); }
.wiz-page { display: none; }
.wiz-page.on { display: grid; gap: 16px; animation: fadeUp .4s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } }
.wiz-nav { position: sticky; bottom: 0; display: flex; gap: 10px; padding: 14px 0 calc(14px + var(--safe-b)); background: linear-gradient(to top, var(--cream) 70%, transparent); margin-top: 8px; }
.wiz-nav .btn { flex: 1; }
.drop { display: grid; place-items: center; gap: 8px; text-align: center; padding: 22px; border-radius: 20px; border: 2px dashed var(--line); background: var(--paper); cursor: pointer; transition: border-color .2s; }
.drop:hover { border-color: var(--orange); }
.drop img { width: 96px; height: 96px; object-fit: cover; border-radius: 24px; box-shadow: var(--sh-1); }
.drop .drop-ic { width: 56px; height: 56px; border-radius: 18px; background: var(--orange-100); display: grid; place-items: center; font-size: 1.5rem; }
.hours { display: grid; gap: 10px; }
.hours-row { display: grid; grid-template-columns: 1fr; gap: 8px; padding: 14px; background: var(--paper); border-radius: 18px; box-shadow: var(--sh-1); }
.hours-row .hr-t { display: flex; justify-content: space-between; align-items: center; font-weight: 800; }
.hours-row .hr-f { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 8px; }
.hours-row input[type="time"] { padding: 10px 8px; }
.hours-row input[type="time"] { min-height: 46px; }
.pickmap { height: 260px; border-radius: 20px; overflow: hidden; box-shadow: var(--sh-1); position: relative; z-index: 0; }
.pay-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pay-chips label { cursor: pointer; }
.pay-chips input { position: absolute; opacity: 0; }
.pay-chips input:checked + .chip { background: var(--navy); color: #fff; border-color: var(--navy); }
.preview-card { pointer-events: none; }
.summary-list { display: grid; gap: 8px; font-size: .92rem; }
.summary-list div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.summary-list span { color: var(--ink-3); font-weight: 700; }
.summary-list b { text-align: right; }

/* Admin */
.tbl { width: 100%; border-collapse: collapse; font-size: .9rem; }
.tbl th { text-align: left; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); padding: 10px 12px; }
.tbl td { padding: 12px; border-top: 1px solid var(--line); vertical-align: middle; }
.tbl-wrap { overflow-x: auto; background: var(--paper); border-radius: var(--r-lg); box-shadow: var(--sh-1); }
.badge { display: inline-flex; padding: 4px 10px; border-radius: 999px; font-size: .74rem; font-weight: 800; }
.b-ok { background: rgba(18,133,91,.12); color: var(--ok); }
.b-pend { background: var(--orange-100); color: var(--orange-600); }
.b-rej { background: rgba(197,46,61,.1); color: var(--err); }
@media (max-width: 640px) {
  .tbl-cards thead { display: none; }
  .tbl-cards, .tbl-cards tbody { display: block; }
  .tbl-cards tr { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 10px; padding: 14px; border-top: 1px solid var(--line); }
  .tbl-cards tr:first-child { border-top: 0; }
  .tbl-cards td { padding: 0; border: 0; }
  .tbl-cards td:nth-child(3) { grid-column: 1 / -1; white-space: normal !important; display: flex; flex-wrap: wrap; gap: 6px; }
  .tbl-cards td:nth-child(4), .tbl-cards td:nth-child(5) { font-size: .8rem; color: var(--ink-3); }
}
@media (max-width: 360px) {
  .hdr .logo-word, .app-hdr .logo-word { font-size: 1.2rem; }
  .hdr .logo svg, .app-hdr .logo svg { width: 28px; height: 28px; }
  .hdr-cta .btn, .hdr-in > .btn { padding: 0 12px; font-size: .85rem; }
}
.bar-h { height: 8px; border-radius: 8px; background: var(--cream-2); overflow: hidden; min-width: 80px; }
.bar-h span { display: block; height: 100%; background: var(--orange); border-radius: inherit; }

/* ---------- Brand page ---------- */
.swatches { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.sw { border-radius: 20px; overflow: hidden; background: var(--paper); box-shadow: var(--sh-1); }
.sw div { height: 96px; }
.sw p { padding: 12px 14px; font-size: .82rem; }
.sw b { display: block; font-size: .95rem; }
.logo-stage { overflow: hidden; min-width: 0; display: grid; place-items: center; padding: 40px 20px; border-radius: var(--r-xl); background: var(--paper); box-shadow: var(--sh-1); min-height: 220px; }
.logo-stage.dark { background: var(--navy-950); }
.logo-stage.orange { background: var(--orange); }

/* ---------- Desktop ---------- */
@media (min-width: 640px) {
  .grid-m { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .tiers { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .step { padding: 84px 24px 26px; }
  .step-n { top: 24px; left: 24px; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .swatches { grid-template-columns: repeat(4, 1fr); }
  .hours-row { grid-template-columns: 140px 1fr; align-items: center; }
  .kpis { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 900px) {
  .hero { padding: 40px 0 0; }
  .hero-grid { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 40px; }
  .hero-copy { padding: 40px 0 80px; }
  .hero-ctas .btn { flex: 0 0 auto; }
  .phone { margin-bottom: -60px; }
  .stats { grid-template-columns: repeat(4, 1fr); margin-top: 40px; }
  .stat-4 { display: block; }
  .sec { padding: 100px 0; }
  .grid-m { grid-template-columns: repeat(4, 1fr); }
  .biz { padding: 64px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
  .biz-list { margin: 0; }
  .ftr { padding-bottom: 48px; }
  .ftr-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .cat-bar { margin: 0; padding-left: 0; padding-right: 0; display: grid; grid-template-columns: 360px 1fr; gap: 16px; align-items: center; }
  .filters { margin: 0; padding: 0; }
  .two-col { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
  .two-col .sec-head { position: sticky; top: 100px; }
  .faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; }
}
@media (max-width: 380px) {
  .cd-u { min-width: 54px; }
  .grid-m { gap: 10px; }
  .mcard { padding: 14px 12px 12px; }
  .stats .stat span { font-size: .7rem; }
}

/* ---------- Versión con servidor ---------- */
.spin { width: 22px; height: 22px; border-radius: 50%; border: 3px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.demo-toggle { cursor: default; }
.ts-box { min-height: 65px; }
.loading-screen { min-height: 70vh; display: grid; place-items: center; }

/* =========================================================
   MOTION · efectos sobrios
   ========================================================= */
.rv { transition-delay: var(--d, 0ms); }
@keyframes riseIn { from { opacity: 0; transform: translateY(18px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes drawLine { from { stroke-dashoffset: 220; } to { stroke-dashoffset: 0; } }
@keyframes popIn { from { opacity: 0; transform: translateY(10px) scale(.98); } }
@keyframes pinDrop { 0% { opacity: 0; transform: translateY(-18px); } 60% { opacity: 1; transform: translateY(3px); } 100% { transform: none; } }
@keyframes digitIn { from { transform: translateY(-40%); opacity: 0; } }
@keyframes drift { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-6%, 4%) scale(1.08); } }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Entrada del hero */
.js-motion .hero-copy > * { animation: riseIn .9s var(--ease) both; }
.js-motion .hero-copy > :nth-child(1) { animation-delay: .05s; }
.js-motion .hero-copy > :nth-child(2) { animation-delay: .15s; }
.js-motion .hero-copy > :nth-child(3) { animation-delay: .3s; }
.js-motion .hero-copy > :nth-child(4) { animation-delay: .42s; }
.js-motion .hero-copy > :nth-child(n+5) { animation-delay: .54s; }
.js-motion .hero-visual { animation: riseIn 1.1s var(--ease) .35s both; }
.hero h1 em svg path { stroke-dasharray: 220; animation: drawLine 1.1s var(--ease) .9s both; }
.js-motion .hero .stamp.on { animation: stampPop .7s var(--ease) both; }
.js-motion .hero .stamp.on:nth-child(1) { animation-delay: 1.1s; }
.js-motion .hero .stamp.on:nth-child(2) { animation-delay: 1.3s; }
.js-motion .hero .stamp.on:nth-child(3) { animation-delay: 1.5s; }
.js-motion .hero .stamp.on:nth-child(4) { animation-delay: 1.7s; }
/* Luces de fondo que se mueven lento */
.hero::after { content: ''; position: absolute; z-index: -1; width: 60vmax; height: 60vmax; right: -20vmax; top: -25vmax; border-radius: 50%; background: radial-gradient(circle, rgba(64,92,210,.35), transparent 60%); animation: drift 22s ease-in-out infinite; pointer-events: none; }

/* Cuenta regresiva: el dígito que cambia entra desde arriba */
.cd-u b { display: inline-flex; overflow: hidden; }
.cd-u b span { display: inline-block; }
.cd-u b span.tick { animation: digitIn .45s var(--ease); }

/* Barra de progreso */
.scroll-progress { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 80; background: linear-gradient(90deg, var(--orange), #FFC27A); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; }

/* Header que se esconde al bajar (mobile) */
.hdr { transition: box-shadow .25s, background .25s, transform .35s var(--ease); }
.hdr.hdr-hide { transform: translateY(-100%); }
.cat-bar { transition: top .35s var(--ease); }
.hdr.hdr-hide ~ main .cat-bar { top: 0; }

/* Luz que sigue al puntero */
.tier, .mcard, .biz, .pn-act, .stampcard, .step { background-clip: padding-box; }
.mcard::after, .step::after, .pn-act::after, .tier > .spot, .biz::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(255,122,47,.10), transparent 60%); }
.biz::after, .pn-act::after { background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.10), transparent 60%); }
.mcard:hover::after, .step:hover::after, .pn-act:hover::after, .biz:hover::after { opacity: 1; }
.step { position: relative; overflow: hidden; }
.tier:hover { transform: translateY(-3px); }
.tier { transition: transform .35s var(--ease), box-shadow .35s; }
.tier:hover { box-shadow: 0 24px 50px -24px rgba(10,20,51,.45); }

/* Listas que entran escalonadas */
.pop-in { animation: popIn .5s var(--ease) both; animation-delay: calc(var(--i, 0) * 40ms); }

/* Pines del mapa caen al cargar */
.leaflet-marker-pane .pin { animation: pinDrop .6s var(--ease) both; }
.leaflet-marker-pane > :nth-child(3n+1) .pin { animation-delay: .05s; }
.leaflet-marker-pane > :nth-child(3n+2) .pin { animation-delay: .15s; }
.leaflet-marker-pane > :nth-child(3n) .pin { animation-delay: .25s; }

/* Eyebrow: la línea se extiende al aparecer */
.rv .eyebrow::before, .sec-head.rv .eyebrow::before { transition: width .8s var(--ease) .2s; width: 0; }
.rv.in .eyebrow::before { width: 18px; }

/* Botones: brillo sutil al pasar */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::before { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease); }
.btn-primary:hover::before { transform: translateX(120%); }

/* Cinta de comercios adheridos */
.marquee { margin-top: 28px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-t { font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); text-align: center; margin-bottom: 12px; }
.mq-track { display: flex; gap: 12px; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .mq-track { animation-play-state: paused; }
.mq-item { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px; background: var(--paper); box-shadow: var(--sh-1); font-weight: 800; font-size: .9rem; white-space: nowrap; text-decoration: none; border: 0; }
.mq-item .m-av { border-radius: 50%; }

/* App: transición entre vistas */
.js-motion .app-main > .pop-in { animation-duration: .45s; }

/* Movimiento reducido: todo estático */
.reduce .hero::after, .reduce .mq-track { animation: none !important; }
.reduce .mq-track { flex-wrap: wrap; width: auto; justify-content: center; }
@media (prefers-reduced-motion: reduce) { .js-motion .hero-copy > *, .js-motion .hero-visual, .pop-in, .leaflet-marker-pane .pin { animation: none !important; } }

/* ---------- Admin: comercios ---------- */
.seg button { white-space: nowrap; padding: 0 10px; font-size: .88rem; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.seg-n { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--orange); color: var(--navy-950); font-size: .72rem; font-weight: 800; }
@media (max-width: 420px) { .seg button { font-size: .8rem; padding: 0 6px; } }
.adm-tools { display: grid; gap: 4px; }
.adm-filters { padding-top: 10px; }
.chip-n { font-size: .74rem; opacity: .7; margin-left: 2px; }
.adm-list { display: grid; gap: 12px; }
.adm-card { background: var(--paper); border-radius: 22px; padding: 16px; box-shadow: var(--sh-1); display: grid; gap: 14px; }
.adm-top { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.adm-name { min-width: 0; display: grid; gap: 2px; }
.adm-name b { font-size: 1.05rem; line-height: 1.2; overflow-wrap: anywhere; }
.adm-name small { color: var(--ink-3); font-weight: 700; font-size: .8rem; }
.adm-demo { display: inline-flex; padding: 1px 7px; border-radius: 6px; background: var(--cream-2); color: var(--ink-2); font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; vertical-align: middle; }
.adm-meta { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; padding: 12px 14px; border-radius: 16px; background: var(--cream); }
.adm-meta div { min-width: 0; }
.adm-meta div:nth-child(n+3) { grid-column: 1 / -1; }
.adm-meta dt { font-size: .66rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.adm-meta dd { margin: 2px 0 0; font-size: .88rem; font-weight: 600; overflow-wrap: anywhere; }
.adm-actions { display: flex; gap: 8px; }
.adm-actions .btn { flex: 1; min-height: 44px; padding: 0 10px; }
.adm-actions .btn-dark { flex: 1.4; }
.adm-table { display: none; }
.adm-row-actions { display: flex; gap: 6px; justify-content: flex-end; flex-wrap: wrap; }
@media (min-width: 900px) { .adm-list { display: none; } .adm-table { display: block; } }
.adm-filters { margin: 0; padding: 10px 0 2px; }

/* Ranking admin */
.rank-head { flex-wrap: wrap; gap: 4px 12px; }
.rank { list-style: none; margin: 0; padding: 6px 16px; background: var(--paper); border-radius: var(--r-lg); box-shadow: var(--sh-1); display: grid; }
.rank-row { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.rank-row:last-child { border: 0; }
.rank-n { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; font-family: var(--ff-d); font-weight: 800; font-size: .9rem; background: var(--cream-2); color: var(--ink-2); }
.rank-n.top { background: var(--orange-100); color: var(--orange-600); }
.rank-main { display: grid; gap: 6px; min-width: 0; }
.rank-line { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.rank-line b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank-sales { font-family: var(--ff-d); font-weight: 800; white-space: nowrap; }
.rank-main small { color: var(--ink-3); font-weight: 700; font-size: .78rem; }
.rank .bar-h { min-width: 0; height: 6px; }
@media (min-width: 900px) { .rank { grid-template-columns: 1fr 1fr; column-gap: 32px; } .rank-row:nth-last-child(2):nth-child(odd) { border: 0; } }

/* ---------- Íconos de línea ---------- */
svg.ic { width: 1em; height: 1em; display: inline-block; vertical-align: -.14em; flex: none; }
.rule-ic, .pb-ic, .fb-ic, .biz-list li span, .drop-ic, .et-ic { color: var(--navy); }
.rule-ic .ic, .pb-ic .ic, .fb-ic .ic, .biz-list li span .ic { width: 20px; height: 20px; }
.pb-ic { color: var(--orange-600); }
.biz-list li span { color: #FFB27D; }
.et-ic { color: #fff; }
.et-ic .ic { width: 15px; height: 15px; }
.drop-ic { color: var(--orange-600); }
.drop-ic .ic { width: 26px; height: 26px; }
.chip .ic { width: 15px; height: 15px; opacity: .8; }
.ms-promo > span { color: var(--orange-600); display: grid; }
.ms-promo > span .ic { width: 26px; height: 26px; }
.mc-promo .ic { width: 13px; height: 13px; vertical-align: -.18em; }
.draft .ic { width: 18px; height: 18px; }

/* Fondo festivo del hero */
.hero-fx { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }

/* Header de escritorio sin cortes de línea */
.hdr nav a { white-space: nowrap; }
@media (min-width: 900px) and (max-width: 1239px) { .hdr nav { gap: 0; } .hdr nav a { padding: 8px 9px; font-size: .88rem; } .hdr nav .nav-xl { display: none; } }
/* Cinta: pausa con hover, foco o toque */
.marquee:hover .mq-track, .marquee:focus-within .mq-track, .marquee.paused .mq-track { animation-play-state: paused; }
/* Estado suspendido */
.b-susp { background: #EEF0F5; color: var(--ink-2); }

/* ---------- Desarrollado por LGNEX ---------- */
.lgnex-foot { display: flex; justify-content: center; padding: 22px 16px calc(26px + var(--safe-b)); }
.ftr .lgnex-foot { padding: 28px 0 0; margin-top: 24px; border-top: 1px solid var(--line); }
body:has(.bnav) .lgnex-foot { padding-bottom: calc(104px + var(--safe-b)); }
/* selector reforzado: el pie de página tiene una regla general ".ftr a { display: block }" */
a.lgnex-badge, .ftr a.lgnex-badge { display: inline-flex; flex-wrap: nowrap; align-items: center; gap: 12px; padding: 7px 16px 7px 7px; border-radius: 14px;
  background: #fff; border: 1px solid rgba(19,35,90,.1); box-shadow: 0 2px 10px rgba(19,35,90,.06); color: var(--navy);
  font-size: .82rem; font-weight: 600; letter-spacing: -.005em; line-height: 1; text-decoration: none; white-space: nowrap;
  transition: border-color .25s, box-shadow .25s, transform .25s var(--ease); }
.lgnex-mark { display: inline-flex; align-items: center; height: 30px; padding: 0 11px; border-radius: 9px; background: #0B1324; color: #fff;
  font-family: var(--ff-d); font-weight: 800; font-size: .84rem; letter-spacing: .07em; line-height: 1; box-shadow: inset 0 0 0 1px rgba(46,211,152,.5); }
.lgnex-mark b { display: inline; font-weight: 800; color: #7CF0C5; }
.lgnex-by strong { font-weight: 800; }
.lgnex-arrow { flex: none; width: 0; opacity: 0; margin-left: -12px; color: var(--ink-3); transition: width .25s var(--ease), opacity .25s, margin .25s; }
a.lgnex-badge:hover, a.lgnex-badge:focus-visible { border-color: rgba(19,35,90,.2); box-shadow: 0 8px 22px -10px rgba(10,20,51,.3); transform: translateY(-1px); }
a.lgnex-badge:hover .lgnex-arrow, a.lgnex-badge:focus-visible .lgnex-arrow { width: 14px; opacity: 1; margin-left: -4px; }

/* Aviso de modo prueba: mínimo y discreto */
.demo-pill { position: fixed; right: 10px; bottom: calc(10px + var(--safe-b)); z-index: 900; pointer-events: none; }
.demo-pill > span { display: inline-flex; align-items: center; gap: 5px; height: 20px; padding: 0 8px; border-radius: 999px; background: rgba(10,20,51,.55); color: rgba(255,255,255,.85); font-size: .62rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; backdrop-filter: blur(6px); }
.demo-pill .demo-dot { width: 6px; height: 6px; }
.app .demo-pill, body:has(.bnav) .demo-pill { bottom: calc(86px + var(--safe-b)); }
body:has(.mcta.show) .demo-pill { bottom: calc(84px + var(--safe-b)); }

/* ---------- Tipografía Plus Jakarta Sans: ajustes de interletrado ---------- */
h1, h2, h3, h4 { letter-spacing: -.03em; }
.hero h1 { letter-spacing: -.035em; }
.logo-word { letter-spacing: -.035em; }
.tier-pct { letter-spacing: -.04em; }
.pa-ic .ic { width: 26px; height: 26px; }
.pn-act .pa-ic { color: #fff; } .pn-act.alt .pa-ic { color: var(--navy-950); }
.stamp.on svg { stroke: var(--navy-950); }
.hero h1 .h-dot { margin-left: -.06em; }
