/* ==========================================================================
   Sistema de diseño · Club de Fidelidad
   Base crema + café (marca), acentos pastel con caritas dibujadas (referencia
   "Point Balance") y tarjetas de panel limpias (referencia "Dashboard").
   ========================================================================== */
:root {
  --bg: #F5EFE6;
  --bg-deep: #EDE4D6;
  --surface: #FFFFFF;
  --surface-2: #FBF7F1;
  --peach: #FDF1DC;
  --ink: #1D1915;
  --ink-2: #4A423B;
  --muted: #8E857B;
  --line: #ECE3D6;
  --mocha: #6B3A1F;
  --mocha-ink: #2A1A10;
  --latte: #D9A27A;
  --accent: #F2884B;
  --accent-ink: #FFFFFF;
  --ok: #18A058;
  --ok-bg: #DDF8C9;
  --warn: #C2410C;
  --warn-bg: #FDE0E9;

  --p-blue: #A9CDF7;
  --p-yellow: #FBEC6A;
  --p-lilac: #E4B8F5;
  --p-green: #BDF7A6;
  --p-pink: #F8C6E4;
  --p-peach: #FFD7B5;

  --radius-s: 10px;
  --radius: 16px;
  --radius-l: 24px;
  --radius-xl: 32px;
  --shadow-s: 0 1px 2px rgba(40, 25, 10, .06);
  --shadow: 0 10px 30px -12px rgba(60, 35, 15, .18);
  --shadow-l: 0 30px 60px -20px rgba(40, 20, 5, .35);

  --font: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0; letter-spacing: -.02em; line-height: 1.1; }
p { margin: 0; }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

/* ---------- Primitivos ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before { content: '// '; }
.cursor::after { content: '_'; color: var(--latte); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); }
.row { display: flex; align-items: center; gap: 10px; }
.between { justify-content: space-between; }
.wrap { flex-wrap: wrap; }
.grow { flex: 1; }
.stack { display: grid; gap: 12px; }
.hide { display: none !important; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px;
  border-radius: 999px; border: 1px solid transparent;
  background: var(--ink); color: #fff;
  font-weight: 600; font-size: 14.5px; cursor: pointer; text-decoration: none;
  transition: transform .12s ease, background .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { background: var(--surface); }
.btn.light { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-s); }
.btn.latte { background: var(--latte); color: var(--mocha-ink); }
.btn.accent { background: var(--accent); color: var(--accent-ink); }
.btn.sm { height: 34px; padding: 0 14px; font-size: 13px; }
.btn.lg { height: 56px; padding: 0 28px; font-size: 16px; border-radius: 18px; }
.btn.block { width: 100%; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); display: grid; place-items: center; cursor: pointer;
}
.plus-btn {
  width: 40px; height: 40px; border-radius: 999px; border: 0;
  background: var(--accent); color: #fff; display: grid; place-items: center; cursor: pointer;
  box-shadow: 0 6px 14px -6px rgba(242, 136, 75, .8); flex-shrink: 0;
}

.card {
  background: var(--surface);
  border-radius: var(--radius-l);
  padding: 22px;
  box-shadow: var(--shadow-s);
  border: 1px solid rgba(0,0,0,.02);
}
.card h3 { font-size: 20px; font-weight: 600; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.dots { color: var(--muted); letter-spacing: 2px; font-weight: 800; }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  height: 26px; padding: 0 10px; border-radius: 999px;
  font-size: 12.5px; font-weight: 600; background: var(--surface-2); color: var(--ink-2);
}
.chip.up { background: var(--ok-bg); color: #126B3B; }
.chip.down { background: var(--warn-bg); color: #9D174D; }

.field { display: grid; gap: 6px; }
.field > span { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.input {
  height: 46px; padding: 0 14px; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--surface); outline: none; width: 100%;
  transition: border-color .15s, box-shadow .15s;
}
.input:focus { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(29,25,21,.06); }
textarea.input { height: auto; padding: 12px 14px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--ink-2); }
.check input { width: 18px; height: 18px; accent-color: var(--ink); margin-top: 1px; }

.seg {
  display: inline-flex; padding: 4px; gap: 2px; border-radius: 999px; background: var(--bg-deep);
}
.seg button {
  border: 0; background: transparent; height: 30px; padding: 0 14px; border-radius: 999px;
  font-size: 13px; font-weight: 600; color: var(--muted); cursor: pointer;
}
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-s); }

.tabs { display: flex; gap: 22px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tabs button {
  border: 0; background: none; padding: 10px 2px 12px; font-weight: 500; color: var(--muted);
  cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap;
}
.tabs button { display: inline-flex; gap: 6px; }
.tabs button[aria-selected="true"] { color: var(--ink); font-weight: 700; border-color: var(--ink); }

/* ---------- Toast y modal ---------- */
#toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 140%);
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 14px;
  font-weight: 500; box-shadow: var(--shadow-l); transition: transform .35s cubic-bezier(.2,.9,.3,1.2);
  z-index: 100; max-width: calc(100vw - 32px); opacity: 0;
}
#toast.show { transform: translate(-50%, 0); opacity: 1; }
#toast.error { background: #9D1E1E; }

.modal-back {
  position: fixed; inset: 0; background: rgba(29, 25, 21, .55); backdrop-filter: blur(6px);
  display: grid; place-items: center; z-index: 90; padding: 16px; animation: fade .2s ease;
}
.modal {
  background: var(--surface); border-radius: var(--radius-xl); padding: 26px; width: min(460px, 100%);
  max-height: calc(100vh - 32px); overflow: auto; box-shadow: var(--shadow-l); animation: pop .3s cubic-bezier(.2,.9,.3,1.2);
}
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.97); } }

/* ---------- Tarjeta de lealtad (Apple · Google · Web) ---------- */
.lcard {
  --c: #7A3B1E; --fg: #fff; --fg-2: rgba(255,255,255,.72); --slot: rgba(255,255,255,.12); --slot-line: rgba(255,255,255,.35);
  background: var(--c); color: var(--fg);
  border-radius: 18px; width: 100%; max-width: 360px; overflow: hidden;
  box-shadow: 0 24px 40px -22px rgba(30,10,0,.65), inset 0 0 0 1px rgba(255,255,255,.06);
  position: relative; font-family: var(--font);
  transition: background .35s ease;
}
.lcard.light { --fg: #1D1915; --fg-2: rgba(29,25,21,.62); --slot: rgba(0,0,0,.06); --slot-line: rgba(0,0,0,.25); }
.lcard-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 10px; gap: 10px; }
.lcard-brand { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: 15px; min-width: 0; }
.lcard-brand span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lcard-logo { width: 28px; height: 28px; border-radius: 8px; object-fit: contain; flex-shrink: 0; display: grid; place-items: center; }
.lcard-count { text-align: right; line-height: 1.05; }
.lcard-label { font-size: 9.5px; letter-spacing: .08em; font-weight: 600; color: var(--fg-2); text-transform: uppercase; }
.lcard-count b { font-size: 17px; font-weight: 600; }
.lcard-strip {
  display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); gap: 10px 8px;
  padding: 14px 18px 16px; background: rgba(0,0,0,.08);
}
.lcard.light .lcard-strip { background: rgba(255,255,255,.25); }
.slot {
  aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; max-width: 52px; width: 100%; justify-self: center;
  border: 1.5px solid var(--slot-line); background: var(--slot); color: var(--fg-2); transition: transform .3s;
}
.slot svg { width: 56%; height: 56%; opacity: .55; }
.slot.on { background: var(--fg); border-color: var(--fg); color: var(--c); }
.slot.on svg { opacity: 1; }
.slot.goal { border-style: solid; border-width: 2px; border-color: var(--fg); }
.slot.goal svg { opacity: .9; }
.slot .stamp-img { width: 66%; height: 66%; object-fit: contain; opacity: .38; filter: grayscale(1); pointer-events: none; }
.slot .stamp-img.cover { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.slot.on .stamp-img { opacity: 1; filter: none; }
.slot.custom.on { background: #fff; border-color: #fff; }
.slot.new { animation: stampIn .7s cubic-bezier(.2,.9,.3,1.4); }
@keyframes stampIn { 0% { transform: scale(2.2) rotate(-20deg); opacity: 0; } 60% { transform: scale(.9) rotate(4deg); opacity: 1; } }
.lcard-fields { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 8px; padding: 12px 16px 6px; }
.lcard-fields div:last-child { text-align: right; }
.lcard-fields b { display: block; font-size: 13px; font-weight: 500; line-height: 1.2; margin-top: 2px; }
.lcard-qr { display: grid; place-items: center; padding: 10px 0 18px; }
.lcard-qr .qr { background: #fff; border-radius: 10px; padding: 7px 7px 3px; text-align: center; }
.lcard-qr img { width: 92px; height: 92px; }
.qrbox { position: relative; display: inline-block; line-height: 0; }
.qrbox > img { display: block; }
.qr-logo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); aspect-ratio: 1; border-radius: 22%; display: grid; place-items: center; padding: 3%; }
.qr-logo img, .qr-logo svg { width: 100%; height: 100%; object-fit: contain; }
.lcard-qr small { display: block; font-size: 9px; color: #333; font-family: var(--mono); padding: 2px 0 1px; }

/* Variante Google Wallet: esquinas amplias, título grande, código abajo */
.lcard.google { border-radius: 26px; }
.lcard.google .lcard-head { padding: 18px 18px 4px; }
.lcard.google .lcard-logo { border-radius: 50%; width: 34px; height: 34px; background: rgba(255,255,255,.14); }
.lcard.google .g-title { padding: 2px 18px 12px; font-size: 22px; font-weight: 500; }
.lcard.google .g-points { display: flex; gap: 26px; padding: 0 18px 14px; }
.lcard.google .g-points b { display: block; font-size: 20px; font-weight: 500; }
.lcard.google .lcard-strip { margin: 0 14px; border-radius: 14px; }
.lcard.google .lcard-qr { padding: 18px 0 22px; }
.lcard.google .lcard-qr .qr { border-radius: 16px; padding: 10px 10px 4px; }
.lcard.google .lcard-qr img { width: 120px; height: 120px; }

/* Teléfono para vistas previas */
.phone {
  width: 300px; max-width: 100%; aspect-ratio: 9 / 19; border-radius: 46px; background: #0C0B0A;
  padding: 12px; box-shadow: var(--shadow-l), inset 0 0 0 2px #2b2622; position: relative; margin: 0 auto;
}
.phone-screen { height: 100%; border-radius: 36px; overflow: hidden; background: #000; color: #fff; position: relative; display: flex; flex-direction: column; }
.phone-island { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 90px; height: 26px; border-radius: 20px; background: #000; z-index: 3; }
.phone-status { display: flex; justify-content: space-between; padding: 14px 26px 0; font-size: 13px; font-weight: 600; }
.wallet-top { display: flex; justify-content: space-between; align-items: center; padding: 18px 18px 12px; }
.wallet-top h4 { font-size: 26px; font-weight: 700; }
.wallet-stack { padding: 0 12px; position: relative; }
.wallet-stack .ghost-card { height: 16px; border-radius: 14px 14px 0 0; margin: 0 4px -6px; }
.wallet-stack .lcard { max-width: none; border-radius: 14px; }
.phone.light .phone-screen { background: #F4F2EF; color: var(--ink); }

/* ---------- Doodles ---------- */
.doodle { display: block; }
.tile {
  border-radius: 20px; padding: 16px; min-height: 172px; display: flex; flex-direction: column; justify-content: space-between;
  text-decoration: none; color: var(--ink); position: relative; overflow: hidden; transition: transform .2s;
  border: 0; cursor: pointer; text-align: left;
}
.tile:hover { transform: translateY(-3px) rotate(-.5deg); }
.tile b { font-weight: 600; font-size: 15px; line-height: 1.25; display: block; }
.tile .row { align-items: flex-end; }

/* ==========================================================================
   Sitio público
   ========================================================================== */
.site-nav { position: absolute; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; padding: 20px clamp(16px, 4vw, 48px); z-index: 2; color: #fff; }
.brand-mark { font-weight: 800; font-size: 22px; letter-spacing: -.03em; display: flex; align-items: center; gap: 8px; text-decoration: none; }
.brand-mark i { font-style: normal; color: var(--latte); }
.hero {
  min-height: 100vh; background: radial-gradient(120% 80% at 70% 20%, #3B2416 0%, #1A110B 55%, #0E0906 100%);
  color: #fff; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 40px;
  padding: 100px clamp(16px, 6vw, 96px) 60px; overflow: hidden;
}
.hero h1 { font-size: clamp(42px, 6.4vw, 84px); font-weight: 700; letter-spacing: -.035em; line-height: .98; }
.hero p.lead { color: rgba(255,255,255,.72); font-size: 18px; max-width: 520px; margin: 22px 0 30px; }
.hero .eyebrow { color: var(--latte); margin-bottom: 18px; display: block; }
.hero .phone { transform: rotate(4deg); width: 290px; }
.hero-visual { position: relative; display: grid; place-items: center; }
.hero-visual::before { content: ''; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(217,162,122,.35), transparent 65%); }

.section { padding: 90px clamp(16px, 6vw, 96px); }
.section h2 { font-size: clamp(32px, 4.4vw, 54px); font-weight: 700; letter-spacing: -.03em; margin: 14px 0 12px; }
.section .sub { color: var(--muted); font-size: 17px; max-width: 560px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.step { background: var(--surface); border-radius: var(--radius-l); padding: 22px; display: grid; gap: 14px; align-content: start; text-decoration: none; transition: transform .2s; }
.step:hover { transform: translateY(-4px); }
.step .num { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.step h4 { font-size: 22px; font-weight: 700; }
.step p { color: var(--muted); font-size: 14px; }
.step .art { height: 120px; border-radius: 16px; display: grid; place-items: center; }

.demo-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 36px; }
.site-foot { padding: 40px clamp(16px, 6vw, 96px); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; color: var(--muted); font-size: 13px; font-family: var(--mono); }
.site-foot a { color: inherit; }

/* ==========================================================================
   Panel del negocio (referencia "Dashboard")
   ========================================================================== */
.panel { display: grid; grid-template-columns: 84px 1fr; min-height: 100vh; }
.side {
  position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 22px 0; border-right: 1px solid var(--line); background: var(--surface-2);
}
.side .logo-dot { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--ink); display: grid; place-items: center; font-weight: 700; font-size: 22px; margin-bottom: 18px; text-decoration: none; }
.side a.nav {
  width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; color: var(--ink-2); position: relative; text-decoration: none;
}
.side a.nav:hover { background: var(--bg-deep); }
.side a.nav[aria-current="page"] { background: var(--ink); color: var(--p-green); }
.side a.nav .tip {
  position: absolute; left: 60px; background: var(--ink); color: #fff; font-size: 12px; padding: 5px 9px; border-radius: 8px;
  white-space: nowrap; opacity: 0; pointer-events: none; transform: translateX(-4px); transition: .15s; z-index: 5;
}
.side a.nav:hover .tip { opacity: 1; transform: none; }
.side .spacer { flex: 1; }

.main { padding: 22px clamp(16px, 3vw, 40px) 60px; min-width: 0; }
.topbar { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.topbar h1 { font-size: 32px; font-weight: 600; }
.search {
  flex: 1; max-width: 380px; margin-left: auto; height: 46px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface);
  display: flex; align-items: center; gap: 8px; padding: 0 16px; color: var(--muted);
}
.search input { border: 0; outline: none; background: none; flex: 1; min-width: 0; }
.avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; flex-shrink: 0; overflow: hidden; }

.subnav { display: flex; gap: 22px; align-items: center; margin-bottom: 24px; flex-wrap: wrap; }
.subnav a { display: flex; align-items: center; gap: 8px; color: var(--muted); text-decoration: none; font-size: 15px; }
.subnav a .n { width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid currentColor; display: grid; place-items: center; font-size: 11px; font-family: var(--mono); }
.subnav a[aria-current="page"] { color: var(--ink); font-weight: 600; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 20px 0; }
.kpi { background: var(--surface); border-radius: 22px; padding: 18px 20px; border: 1px solid var(--line); display: grid; gap: 4px; position: relative; }
.kpi.dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.kpi.dark .muted { color: rgba(255,255,255,.6); }
.kpi .k-title { font-weight: 600; font-size: 16px; }
.kpi .k-val { font-size: 30px; font-weight: 600; letter-spacing: -.02em; margin-top: 8px; }
.kpi .chip { position: absolute; right: 16px; bottom: 18px; }
.kpi .k-ico { position: absolute; right: 16px; top: 16px; }

.pill-list { display: grid; gap: 10px; }
.pill-row { display: flex; align-items: center; gap: 10px; padding: 0 14px; height: 52px; border-radius: 14px; font-weight: 500; }
.pill-row .num { margin-left: auto; background: rgba(255,255,255,.65); border-radius: 10px; padding: 3px 10px; font-weight: 500; font-size: 14px; }
.pill-row .ring { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid currentColor; opacity: .6; }

.chart { width: 100%; height: auto; display: block; }
.chart text { font-family: var(--font); font-size: 11px; fill: var(--muted); }
.legend { display: flex; gap: 14px; font-size: 13px; color: var(--ink-2); }
.legend i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; }

.heat { display: grid; grid-template-columns: 34px repeat(17, minmax(0, 1fr)); gap: 4px; font-size: 11px; color: var(--muted); }
.heat .cell { aspect-ratio: 1; border-radius: 5px; background: var(--bg-deep); }
.heat .lbl { display: grid; place-items: center start; }
.heat .hl { text-align: center; }

.list-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.list-row:last-child { border-bottom: 0; }
.ini { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 13px; flex-shrink: 0; }
.progress { height: 6px; border-radius: 6px; background: var(--bg-deep); overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--ink); border-radius: 6px; }

.feed-item { display: flex; gap: 10px; align-items: center; padding: 8px 0; font-size: 14px; animation: pop .4s ease; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(24,160,88,.6); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(24,160,88,0); } 100% { box-shadow: 0 0 0 0 rgba(24,160,88,0); } }

table.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; color: var(--muted); font-weight: 500; font-size: 12.5px; padding: 0 10px 10px; }
.tbl td { padding: 12px 10px; border-top: 1px solid var(--line); vertical-align: middle; }
.tbl tr:hover td { background: var(--surface-2); }

/* Diseñador de tarjeta */
.designer { display: grid; grid-template-columns: minmax(320px, 420px) 1fr; gap: 24px; align-items: start; }
.preview-pane { position: sticky; top: 20px; background: linear-gradient(160deg, #EFE7DB, #E6DACA); border-radius: var(--radius-xl); padding: 22px; display: grid; gap: 18px; justify-items: center; }
.preview-pane .row { width: 100%; }
.swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.swatch { width: 34px; height: 34px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); cursor: pointer; }
.swatch[aria-pressed="true"] { box-shadow: 0 0 0 2.5px var(--ink); }
.icon-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(56px, 1fr)); gap: 8px; }
.icon-pick button { aspect-ratio: 1; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface); cursor: pointer; display: grid; place-items: center; }
.icon-pick button svg { width: 26px; height: 26px; }
.icon-pick button[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }
.icon-pick .stamp-img { width: 70%; height: 70%; object-fit: contain; }
.icon-pick .stamp-img.cover { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.icon-pick button[aria-pressed="true"] .stamp-img { background: #fff; border-radius: 8px; padding: 2px; }
.custom-stamp { position: relative; }
.custom-stamp > button[data-icon] { width: 100%; }
.custom-stamp .rm {
  position: absolute; top: -6px; right: -6px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: var(--ink); color: #fff;
  display: grid; place-items: center; cursor: pointer; padding: 0; opacity: 0; transition: opacity .15s;
}
.custom-stamp:hover .rm, .custom-stamp .rm:focus-visible { opacity: 1; }
@media (hover: none) { .custom-stamp .rm { opacity: 1; } }
.stamp-upload {
  aspect-ratio: 1; border-radius: 14px; border: 1.5px dashed #cfc3b2; background: var(--surface-2); cursor: pointer;
  display: grid; place-items: center; align-content: center; gap: 2px; color: var(--ink-2); font-size: 10.5px; font-weight: 600; text-align: center;
}
.stamp-upload:hover, .stamp-upload.drag { border-color: var(--ink); background: #fff; }
.stamp-upload svg { width: 20px; height: 20px; }
.goal-row { display: grid; grid-template-columns: 120px 1fr 40px; gap: 10px; align-items: end; }
.stepper { display: flex; align-items: center; justify-content: space-between; height: 46px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); padding: 0 4px; }
.stepper button { width: 34px; height: 34px; border-radius: 10px; border: 0; background: var(--surface-2); cursor: pointer; font-size: 18px; }
.stepper b { font-size: 17px; }
.upload { display: flex; align-items: center; gap: 14px; border: 1.5px dashed var(--line); border-radius: 16px; padding: 14px; cursor: pointer; background: var(--surface-2); }
.upload .thumb { width: 52px; height: 52px; border-radius: 12px; background: var(--bg-deep); display: grid; place-items: center; overflow: hidden; }
.sticky-actions { position: sticky; bottom: 12px; display: flex; gap: 10px; justify-content: flex-end; padding: 12px; background: rgba(255,255,255,.86); backdrop-filter: blur(10px); border-radius: 20px; box-shadow: var(--shadow); margin-top: 16px; align-items: center; }

/* Personaliza tu QR */
.qr-studio { display: grid; grid-template-columns: 220px 1fr; gap: 22px; align-items: start; }
.qr-stage { position: sticky; top: 16px; display: grid; gap: 12px; }
.qr-big { border-radius: 20px; padding: 14px; border: 1px solid var(--line); display: grid; place-items: center; }
.qr-big .qrbox, .qr-big .qrbox > img { width: 100%; }
.qr-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(58px, 1fr)); gap: 8px; }
.qr-pick button {
  aspect-ratio: 1; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface); cursor: pointer;
  display: grid; place-items: center; padding: 10px; color: var(--ink); transition: border-color .15s, transform .15s;
}
.qr-pick button:hover { transform: translateY(-1px); border-color: #cfc3b2; }
.qr-pick button svg { width: 100%; height: 100%; }
.qr-pick button[aria-pressed="true"] { border-color: #3B82F6; box-shadow: 0 0 0 2px rgba(59,130,246,.25); }
.qr-colors { display: flex; flex-wrap: wrap; gap: 10px; }
.qr-color { display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border: 1.5px solid var(--line); border-radius: 999px; font-size: 13px; cursor: pointer; background: var(--surface); }
.qr-color input { width: 26px; height: 26px; border: 0; padding: 0; border-radius: 50%; background: none; cursor: pointer; }
.qr-color input::-webkit-color-swatch-wrapper { padding: 0; }
.qr-color input::-webkit-color-swatch { border: 1px solid rgba(0,0,0,.12); border-radius: 50%; }
.qr-color.off { opacity: .4; pointer-events: none; }
.qr-warn { background: var(--warn-bg); color: #8A1538; border-radius: 12px; padding: 10px 12px; font-size: 12.5px; }
.qr-ok { color: #126B3B; font-size: 12.5px; font-weight: 600; display: flex; gap: 6px; align-items: center; }
.poster .pqr, .poster .pqr > img { width: 190px; height: 190px; margin: 8px 0; }

/* Póster para el mostrador */
.poster {
  background: #FFFDF9; border-radius: 6px; width: 360px; max-width: 100%; padding: 34px 30px 26px; text-align: center; color: var(--ink);
  box-shadow: 0 30px 50px -25px rgba(40,20,5,.45); display: grid; gap: 10px; justify-items: center;
}
.poster .club-of { font-family: var(--mono); font-size: 11px; letter-spacing: .25em; color: var(--muted); }
.poster h2 { font-size: 30px; font-weight: 800; }
.poster .pchip { background: var(--peach); border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 600; }
.poster img.pqr { width: 190px; height: 190px; margin: 8px 0; }

/* Mostrador */
.kiosk { display: grid; grid-template-columns: 380px 1fr; gap: 20px; align-items: start; }
.scanner { background: var(--ink); color: #fff; border-radius: var(--radius-xl); padding: 20px; display: grid; gap: 14px; }
.scanner video { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 20px; background: #000; }
.scan-frame { position: relative; aspect-ratio: 1; border-radius: 20px; background: #0f0d0b; display: grid; place-items: center; overflow: hidden; }
.scan-frame::after { content: ''; position: absolute; inset: 18%; border: 2px solid rgba(255,255,255,.7); border-radius: 18px; }
.scan-frame .beam { position: absolute; left: 18%; right: 18%; height: 2px; background: var(--latte); box-shadow: 0 0 16px var(--latte); animation: beam 2s ease-in-out infinite; }
@keyframes beam { 0%,100% { top: 22%; } 50% { top: 78%; } }
.scanner .input { background: #2a2520; border-color: #3a332d; color: #fff; text-transform: uppercase; font-family: var(--mono); letter-spacing: .1em; }
.give {
  height: 120px; border-radius: 26px; border: 0; background: var(--ink); color: #fff; cursor: pointer; display: grid; place-items: center; align-content: center; gap: 2px;
  font-size: 26px; font-weight: 600; width: 100%; transition: transform .15s;
}
.give small { font-size: 13px; opacity: .6; font-weight: 400; }
.give:active { transform: scale(.98); }
.celebrate {
  background: var(--p-yellow); border-radius: var(--radius-xl); padding: 34px 24px; text-align: center; display: grid; gap: 10px; justify-items: center;
  animation: pop .5s cubic-bezier(.2,.9,.3,1.4);
}
.celebrate h2 { font-size: 34px; font-weight: 800; color: var(--mocha-ink); }

/* ==========================================================================
   Cliente (móvil · referencia "Point Balance")
   ========================================================================== */
.m-wrap { max-width: 460px; margin: 0 auto; padding: 18px 16px 60px; min-height: 100vh; }
.m-title { text-align: center; font-size: 22px; font-weight: 600; margin: 18px 0 22px; }
.balance { border-radius: 22px; padding: 20px 22px; position: relative; overflow: hidden; }
.balance .big { font-size: 46px; font-weight: 700; letter-spacing: -.03em; margin: 4px 0; }
.balance .big small { font-size: 18px; font-weight: 600; margin-left: 4px; }
.balance .doodle { position: absolute; right: 10px; top: 16px; }
.reward-row { display: flex; align-items: center; gap: 14px; background: var(--peach); border-radius: 18px; padding: 14px 16px; }
.reward-row b { font-weight: 600; font-size: 16px; display: block; }
.reward-row .muted { font-size: 14px; }
.reward-row .pts { margin-left: auto; color: var(--ok); font-weight: 700; font-size: 14px; white-space: nowrap; }
.wallet-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.wbtn {
  height: 52px; border-radius: 14px; border: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px;
  background: #000; color: #fff; font-weight: 600; font-size: 13.5px; text-decoration: none; padding: 0 10px; line-height: 1.05;
}
.wbtn small { display: block; font-size: 10px; font-weight: 400; opacity: .8; }
.wbtn.g { background: #1F1F1F; }
.join-card { background: var(--surface); border-radius: var(--radius-l); padding: 22px; display: grid; gap: 14px; box-shadow: var(--shadow); }
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 95; overflow: hidden; }
.confetti i { position: absolute; top: -20px; width: 10px; height: 14px; border-radius: 3px; animation: fall 1.8s ease-in forwards; }
@keyframes fall { to { transform: translateY(110vh) rotate(720deg); } }

.pin-wrap { min-height: 100vh; display: grid; place-items: center; padding: 16px; background: radial-gradient(100% 70% at 50% 0%, #fff 0%, var(--bg) 70%); }
.pin-card { width: min(380px, 100%); display: grid; gap: 16px; text-align: center; }
.pin-input { text-align: center; font-size: 28px; letter-spacing: .5em; font-family: var(--mono); height: 64px; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-3 > :nth-child(3) { grid-column: span 2; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; text-align: left; padding-top: 110px; }
  .designer, .kiosk, .grid-2 { grid-template-columns: 1fr; }
  .preview-pane { position: static; }
  .demo-links { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .panel { grid-template-columns: 1fr; }
  .side {
    position: fixed; top: auto; bottom: 0; left: 0; right: 0; height: 68px; flex-direction: row; justify-content: space-around;
    padding: 0 8px; border-right: 0; border-top: 1px solid var(--line); z-index: 20; background: rgba(251,247,241,.96); backdrop-filter: blur(10px);
  }
  .side .logo-dot, .side .spacer, .side .tip, .side .side-extra { display: none; }
  .side a.nav { width: 44px; height: 44px; flex-shrink: 0; }
  .side { justify-content: flex-start; gap: 4px; overflow-x: auto; scrollbar-width: none; padding: 0 10px; }
  .side::-webkit-scrollbar { display: none; }
  .kiosk .scanner { border-radius: 24px; padding: 16px; }
  .kiosk .give { height: 96px; }
  .main { padding-bottom: 100px; }
  .grid-3, .steps { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: 1fr 1fr; gap: 10px; }
  .kpi { padding: 14px; border-radius: 18px; }
  .kpi .k-val { font-size: 26px; }
  .kpi .chip { position: static; justify-self: start; margin-top: 4px; }
  .grid-3 > :nth-child(3) { grid-column: auto; }
  .topbar h1 { font-size: 26px; }
  .topbar .search { display: none; }
  .goal-row { grid-template-columns: 1fr 1fr 40px; }
  .qr-studio { grid-template-columns: 1fr; }
  .qr-stage { position: static; max-width: 260px; }
  .tbl .hide-sm { display: none; }
}

@media print {
  body * { visibility: hidden; }
  .poster, .poster * { visibility: visible; }
  .poster { position: fixed; inset: 0; margin: auto; box-shadow: none; width: 100%; height: auto; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

.hist-stamp svg, .hist-stamp img { width: 20px; height: 20px; object-fit: contain; }

/* ---------- Grupos por ritmo · Piloto automático ---------- */
.slot.on.gifted { background: var(--latte); border-color: var(--latte); color: var(--mocha-ink); box-shadow: 0 0 0 3px rgba(217,162,122,.35); }
.slot.on.gifted .stamp-img { opacity: .9; }
.seg-list { display: grid; gap: 4px; }
.seg-row { display: grid; grid-template-columns: 12px 1fr auto; gap: 2px 10px; align-items: center; padding: 8px 10px; border-radius: 12px; text-decoration: none; color: var(--ink); border: 1.5px solid transparent; }
.seg-row:hover { background: var(--surface-2); }
.seg-row.hot { background: #FDF3E6; border-color: #E9C9A0; }
.seg-row .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--g); }
.seg-row b { font-weight: 600; font-size: 14.5px; display: block; }
.seg-row small { color: var(--muted); font-size: 12px; }
.seg-row .n { font-weight: 600; font-size: 17px; }
.seg-row .bar { grid-column: 2 / 4; height: 5px; border-radius: 4px; background: var(--bg-deep); overflow: hidden; }
.seg-row .bar i { display: block; height: 100%; background: var(--g); border-radius: 4px; }
.gchip { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 999px; font-size: 11.5px; font-weight: 600; color: var(--g); background: color-mix(in srgb, var(--g) 14%, white); }
.fchip { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); cursor: pointer; font-size: 13.5px; color: var(--ink-2); }
.fchip i { width: 8px; height: 8px; border-radius: 50%; background: var(--g); }
.fchip b { font-weight: 600; color: var(--muted); }
.fchip[aria-pressed="true"] { border-color: var(--g); color: var(--ink); font-weight: 600; background: color-mix(in srgb, var(--g) 8%, white); }
.toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); cursor: pointer; }
.toggle-row b { display: block; font-weight: 600; }
.toggle-row small { font-size: 12.5px; }
.switch { appearance: none; width: 48px; height: 28px; border-radius: 999px; background: var(--bg-deep); position: relative; cursor: pointer; transition: background .2s; flex-shrink: 0; margin: 0; }
.switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-s); transition: transform .2s; }
.switch:checked { background: var(--ok); }
.switch:checked::after { transform: translateX(20px); }
.mail-stage { background: radial-gradient(120% 90% at 50% 0%, #3B2416, #1A110B); border-radius: var(--radius-xl); padding: 22px; display: grid; gap: 14px; }
.outbox-row { width: 100%; background: none; border: 0; border-bottom: 1px solid var(--line); cursor: pointer; font: inherit; color: inherit; }
.outbox-row:hover { background: var(--surface-2); }
.mail-frame { width: 100%; height: 520px; border: 0; border-radius: 14px; background: #f5efe6; }
.modal:has(.mail-frame) { width: min(560px, 100%); }
@media (max-width: 720px) { .kpis[style*="repeat(3"] { grid-template-columns: 1fr 1fr !important; } }
.cand-list { max-height: 330px; overflow-y: auto; margin: 0 -6px; padding: 0 6px; }

/* Tarjeta «Te extrañamos» (igual a la referencia) */
.mail { background: #FFFBF4; border-radius: 24px; overflow: hidden; border: 1px solid #EBE4DA; box-shadow: 0 14px 34px -18px rgba(60,35,15,.35); color: #2B2420; }
.mail-head { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: #F1EDE7; }
.mail-logo { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; padding: 9px; flex-shrink: 0; }
.mail-logo img, .mail-logo svg { width: 100%; height: 100%; object-fit: contain; }
.mail-from { flex: 1; min-width: 0; display: grid; gap: 2px; }
.mail-from b { font-size: 17px; font-weight: 600; color: var(--ink); }
.mail-from span { font-size: 14px; color: #8E857B; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mail-head time { align-self: flex-start; font-size: 13px; color: #A39A90; padding-top: 2px; }
.mail-body { padding: 22px 22px 24px; display: grid; gap: 16px; justify-items: start; }
.mail-body h3 { font-size: 30px; line-height: 1.1; font-weight: 800; letter-spacing: -.025em; color: #6B2C12; margin-bottom: -6px; }
.mail-body p { font-size: 16.5px; line-height: 1.5; color: #2B2420; }
.mail-body p b { font-weight: 700; color: var(--ink); }
.mail-gift { display: flex; gap: 12px; align-items: center; width: 100%; padding: 13px 16px; border-radius: 12px; background: #FBF1CC; border: 1.5px solid #EBD58A; font-size: 16px; color: #2B2420; }
.mail-gift svg { width: 24px; height: 24px; color: #8A5A2B; flex-shrink: 0; }
.mail-gift b { font-weight: 700; color: var(--ink); }
.mail-won { font-weight: 700 !important; color: #6B2C12 !important; font-size: 15px !important; }
.mail-btn { display: inline-flex; align-items: center; height: 50px; padding: 0 26px; border-radius: 999px; background: #6B2C12; color: #fff; font-weight: 600; font-size: 16.5px; text-decoration: none; margin-top: 2px; }
@media (max-width: 480px) { .mail-body h3 { font-size: 26px; } .mail-body p, .mail-gift { font-size: 15px; } }

/* Wallet · diagnóstico */
.wchecks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.wcheck { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); }
.wcheck b { display: block; font-weight: 600; font-size: 14px; }
.wcheck small { color: var(--muted); font-size: 12.5px; word-break: break-word; }
.wmark { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; flex-shrink: 0; margin-top: 1px; }
.wcheck.ok .wmark { background: var(--ok-bg); color: #126B3B; }
.wcheck.no .wmark { background: #FDEBD3; color: #8A4B0F; }
.wsteps summary { cursor: pointer; font-weight: 600; font-size: 14px; }
.wsteps ol { padding-left: 20px; margin: 10px 0 0; display: grid; gap: 8px; font-size: 13.5px; color: var(--ink-2); }
.wsteps code { font-size: 12px; background: var(--bg-deep); padding: 1px 5px; border-radius: 5px; word-break: break-all; }

/* Regalos: cumpleaños y tarjetas de regalo */
.celebrate.bday { background: #F8C6E4; }
.celebrate.bday h2 { color: #6B1F4F; }
.bday-ask { display: flex; gap: 12px; align-items: flex-start; margin-top: 16px; padding: 16px; border-radius: 18px; background: #FCE4F1; }
.bday-ask .input { height: 40px; background: #fff; }
.bday-hero { background: #F8C6E4; padding: 26px; text-align: center; font-size: 44px; }
.linkish { border: 0; background: none; padding: 0; color: var(--accent); font-weight: 600; font-size: 12px; cursor: pointer; }
.gcard { background: var(--gbg); color: var(--gink); border-radius: 22px; padding: 20px 22px; display: grid; gap: 18px; width: 100%; max-width: 380px; aspect-ratio: 1.6; align-content: space-between; box-shadow: 0 22px 40px -22px rgba(30,10,0,.55), inset 0 0 0 1px rgba(255,255,255,.15); position: relative; overflow: hidden; }
.gcard::after { content: ''; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; background: rgba(255,255,255,.18); }
.gcard-brand { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.gcard-brand img, .gcard-brand svg { width: 26px; height: 26px; object-fit: contain; }
.gcard-emoji { font-size: 30px; position: relative; z-index: 1; }
.gcard-label { display: block; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; opacity: .75; font-weight: 600; }
.gcard-amount { font-size: 44px; font-weight: 800; letter-spacing: -.03em; line-height: 1; margin-top: 4px; }
.gcard b { font-weight: 600; font-size: 16px; }
.gdesigns { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.gdesigns button { border: 2px solid transparent; border-radius: 14px; background: var(--gbg); color: var(--gink); padding: 10px 6px; cursor: pointer; font-weight: 600; font-size: 12.5px; display: grid; gap: 4px; justify-items: center; }
.gdesigns button span { font-size: 22px; }
.gdesigns button[aria-pressed="true"] { border-color: var(--ink); box-shadow: 0 0 0 2px #fff inset; }
.gdot { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; font-size: 14px; vertical-align: middle; }
.gqr, .gqr > img { width: 170px; height: 170px; }
.gmsg { margin: 16px 4px 0; font-size: 18px; font-style: italic; line-height: 1.4; color: var(--ink-2); }
.gmsg span { display: block; font-style: normal; font-size: 14px; color: var(--muted); margin-top: 6px; }
@media (max-width: 720px) { .gdesigns { grid-template-columns: repeat(2, 1fr); } }
@media print { body.print-gift * { visibility: hidden; } body.print-gift #g-print, body.print-gift #g-print * { visibility: visible; } body.print-gift #g-print { position: fixed; inset: 0; margin: auto; } }

.gtag { width: 100%; max-width: 460px; filter: drop-shadow(0 18px 30px rgba(60,35,15,.22)); }
.gtag svg { display: block; width: 100%; height: auto; }

.btn.wa { background: #25D366; color: #fff; }
.btn.wa:hover { background: #1EBE5A; }
@media (min-width: 721px) { .gdesigns { grid-template-columns: repeat(5, 1fr); } }

/* ==========================================================================
   Plataforma SaaS: acceso, planes, administración, tienda en línea
   ========================================================================== */
.hero-note { color: rgba(255,255,255,.5); font-size: 13px; margin-top: 16px; font-family: var(--mono); }
.light-on-dark { color: #fff !important; border-color: rgba(255,255,255,.25) !important; }
.brand-mark.dark { color: var(--ink); justify-self: center; }
.biz-chip { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; font-weight: 500; }
.biz-chip span { width: 12px; height: 12px; border-radius: 4px; }

/* Acceso */
.auth-card { width: min(440px, 100%); display: grid; gap: 16px; background: var(--surface); padding: 30px 26px; border-radius: var(--radius-xl); box-shadow: var(--shadow); }
.auth-card h1 { font-size: 32px; text-align: center; }
.demo-hint { font-size: 12.5px; text-align: center; background: var(--surface-2); padding: 10px; border-radius: 12px; }
.install-steps { padding-left: 20px; display: grid; gap: 10px; margin: 6px 0 12px; }
.ios-share { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: var(--bg-deep); font-size: 13px; }

/* Planes */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; margin-top: 22px; }
.plan-card { position: relative; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius-l); padding: 22px; display: grid; gap: 12px; align-content: start; text-align: left; }
.plan-card.hl { border-color: var(--ink); box-shadow: var(--shadow); }
.plan-card.current { border-color: var(--ok); background: #F4FBF1; }
.plan-card h3 { font-size: 24px; }
.plan-card ul { list-style: none; padding: 0; margin: 4px 0 8px; display: grid; gap: 8px; font-size: 14px; }
.plan-card li { padding-left: 24px; position: relative; }
.plan-card li::before { content: '✓'; position: absolute; left: 0; color: var(--ok); font-weight: 800; }
.plan-price { font-size: 38px; font-weight: 700; letter-spacing: -.03em; }
.plan-price small { font-size: 15px; color: var(--muted); font-weight: 500; }
.plan-flag { position: absolute; top: -12px; left: 20px; background: var(--ink); color: #fff; font-size: 11.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.plan-card.current .plan-flag { background: var(--ok); }
.plan-new { place-items: center; align-content: center; min-height: 240px; border-style: dashed; cursor: pointer; color: var(--muted); gap: 8px; }
.admin-plans .plan-card { gap: 10px; }
.plan-name { font-size: 20px; font-weight: 700; height: 42px; }

/* Aviso de plan y bloqueos */
.planbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 10px 14px 10px 18px; border-radius: 16px; background: #EEF5FF; color: #123A6B; margin-bottom: 16px; font-size: 14px; }
.planbar.warn { background: #FDEBD3; color: #7A3E0B; }
.locked-view { text-align: center; padding: 50px 24px; display: grid; gap: 12px; justify-items: center; }
.locked-view h2 { font-size: 30px; }
.locked-view p { max-width: 480px; }
.side a.nav.is-locked { opacity: .45; }
.mini-lock { background: var(--surface-2); border-radius: 14px; padding: 26px; text-align: center; color: var(--muted); font-size: 14px; }
.paywall { display: flex; gap: 20px; align-items: center; margin-bottom: 20px; background: #FFF4F4; border: 1.5px solid #F4C7C7; }
.paywall h2 { font-size: 26px; margin-bottom: 6px; }
.sub-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.sub-facts > div { background: var(--surface-2); border-radius: 14px; padding: 12px 14px; display: grid; gap: 2px; }
.sub-facts span { font-size: 12.5px; }
.sub-facts b { font-size: 17px; font-weight: 600; }
.chip.trial { background: #E4EEFF; color: #1E4FA8; }

/* Administración */
.panel.admin .side a.nav[aria-current="page"] { color: var(--latte); }
.tenant-head { display: flex; align-items: center; gap: 16px; margin: 12px 0 4px; }
.tenant-head h2 { font-size: 30px; }
.cred { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 10px; background: var(--surface-2); margin-bottom: 6px; font-size: 13.5px; flex-wrap: wrap; }
.cred span { color: var(--muted); }
.pin-show { font-family: var(--mono); font-size: 42px; letter-spacing: .3em; text-align: center; margin: 10px 0; }
.danger-zone { border: 1.5px dashed #E7B9B9; }

/* Tienda en línea (cliente) */
.shop { max-width: 480px; margin: 0 auto; min-height: 100vh; background: #FFFBF4; padding-bottom: 150px; position: relative; }
.shop-head { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: rgba(255,251,244,.92); backdrop-filter: blur(10px); }
.shop-head b { font-size: 18px; font-weight: 700; }
.shop-logo { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; padding: 6px; flex-shrink: 0; }
.shop-logo img, .shop-logo svg { width: 100%; height: 100%; object-fit: contain; }
.cart-btn { position: relative; }
.badge { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; border-radius: 999px; background: #D9534F; color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; padding: 0 5px; }
.install-mini { width: auto; padding: 0 10px; font-size: 12px; font-weight: 600; gap: 4px; display: inline-flex; }
.shop-hero { margin: 4px 16px 0; border-radius: 22px; padding: 22px 20px; color: #fff; position: relative; overflow: hidden; min-height: 150px; }
.shop-hero h1 { font-size: 27px; font-weight: 800; max-width: 230px; margin-top: 8px; line-height: 1.08; }
.hero-emoji { position: absolute; right: 14px; bottom: -6px; font-size: 92px; filter: drop-shadow(0 10px 14px rgba(0,0,0,.25)); }
.shop-club { margin: 14px 16px 0; display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 16px; background: var(--peach); font-size: 13.5px; }
.shop-club svg, .shop-club img { width: 26px; height: 26px; flex-shrink: 0; object-fit: contain; }
.shop-cat { font-size: 19px; margin: 22px 16px 10px; }
.shop-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0 16px; }
.shop-item { background: #fff; border-radius: 18px; padding: 10px; display: grid; gap: 6px; box-shadow: var(--shadow-s); border: 1px solid #F1E8DA; }
.shop-img { aspect-ratio: 1.25; border-radius: 12px; background: var(--peach); display: grid; place-items: center; overflow: hidden; }
.shop-img span { font-size: 52px; }
.shop-img img { width: 100%; height: 100%; object-fit: cover; }
.shop-item .btn.add { height: 30px; padding: 0 12px; font-size: 12.5px; color: #fff; }
.qty { display: flex; align-items: center; gap: 6px; background: var(--ok); color: #fff; border-radius: 999px; padding: 2px; }
.qty button { width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(255,255,255,.2); color: #fff; font-size: 16px; cursor: pointer; }
.qty b { min-width: 16px; text-align: center; font-size: 13px; }
.shop-bar { position: fixed; left: 50%; transform: translateX(-50%); bottom: 82px; width: min(448px, calc(100% - 32px)); height: 56px; border-radius: 18px; border: 0; color: #fff; display: flex; justify-content: space-between; align-items: center; padding: 0 20px; font-size: 15px; cursor: pointer; box-shadow: var(--shadow-l); z-index: 11; }
.shop-nav { position: fixed; left: 50%; transform: translateX(-50%); bottom: 0; width: min(480px, 100%); display: grid; grid-template-columns: 1fr 1fr; background: rgba(255,251,244,.96); backdrop-filter: blur(10px); border-top: 1px solid var(--line); padding: 8px 0 calc(8px + env(safe-area-inset-bottom)); z-index: 12; }
.shop-nav button { border: 0; background: none; display: grid; justify-items: center; gap: 2px; font-size: 11.5px; color: var(--muted); cursor: pointer; }
.shop-nav button[aria-pressed="true"] { color: var(--ink); font-weight: 600; }
.shop-pad { padding: 4px 16px; }
.shop-title { font-size: 30px; font-weight: 800; margin-top: 8px; }
.order-row { width: 100%; background: none; border: 0; border-bottom: 1px solid var(--line); cursor: pointer; font: inherit; color: inherit; }
.club-join { margin-top: 18px; border: 1.5px solid #E9C9A0; background: #FFF8EC; border-radius: 20px; padding: 18px; display: grid; gap: 8px; }
.club-join h3 { font-size: 20px; }
.order-card { display: grid; gap: 12px; }
.order-card.big { border: 1.5px solid var(--line); box-shadow: var(--shadow); }
.track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; font-size: 11.5px; color: var(--muted); text-align: center; }
.track span { display: grid; gap: 6px; justify-items: center; }
.track i { width: 100%; height: 6px; border-radius: 6px; background: var(--bg-deep); }
.track .on { color: var(--ink); font-weight: 600; }
.track .on i { background: var(--ok); }
.paid-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 12px; background: #E9F8E3; color: #155C33; font-size: 13px; font-weight: 600; }
.paid-chip.pending { background: #FFF4DB; color: #7A5A0B; }

/* Tienda en línea (panel) */
.orders { display: grid; gap: 12px; }
.order-admin { display: grid; gap: 10px; padding: 16px 18px; border-left: 5px solid var(--line); }
.order-admin.st-nuevo { border-left-color: var(--accent); }
.order-admin.st-pagado, .order-admin.st-en_camino, .order-admin.st-listo { border-left-color: #3B6FD8; }
.order-admin.st-entregado { border-left-color: var(--ok); opacity: .8; }
.order-admin.st-cancelado { opacity: .55; }
.chip.ord-nuevo { background: #FDE6D6; color: #8A3A0B; }
.chip.ord-entregado { background: var(--ok-bg); color: #126B3B; }
.shop-admin-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.prod-card { display: grid; gap: 6px; padding: 12px; align-content: start; }
.prod-card.off { opacity: .55; }
.prod-new { place-items: center; align-content: center; min-height: 200px; border: 1.5px dashed var(--line); cursor: pointer; color: var(--muted); }

@media (max-width: 720px) {
  .paywall { flex-direction: column; text-align: center; }
  .tenant-head h2 { font-size: 24px; }
  .planbar { font-size: 13px; }
}
.shop-hero.light { color: var(--ink); }
.shop-hero.light .eyebrow { color: rgba(29,25,21,.55) !important; }

/* Zonas */
.zone-hint { font-size: 12.5px; color: var(--ink-2); line-height: 1.4; }
.tu-club { display: grid; gap: 10px; margin-top: 16px; }
.tu-club .big-num { font-size: 26px; font-weight: 700; margin-right: 4px; }
.zmap { width: 100%; height: auto; display: block; border-radius: 16px; touch-action: manipulation; }
.zmap.placing { cursor: crosshair; outline: 2.5px dashed var(--accent); outline-offset: 2px; }
.zmap .ring { fill: none; stroke: #1D1915; stroke-width: 0.03; stroke-dasharray: 0.14 0.12; opacity: .55; }
.zmap .ring-l { font: 600 0.26px var(--mono); fill: #1D1915; opacity: .7; }
.zmap .biz-l { font: 700 0.3px var(--font); fill: #1D1915; text-anchor: middle; paint-order: stroke; stroke: #EFE6D6; stroke-width: 0.1px; }
.zone-sug { display: flex; gap: 12px; align-items: flex-start; border: 1.5px solid #D7D2FA; background: #F4F2FF; }
.privacy-note { background: var(--surface-2); }
.zone-list { display: grid; gap: 8px; }
.zone-row { display: grid; grid-template-columns: 1fr auto auto auto auto; gap: 8px; align-items: center; }
.zone-row .zname { height: 38px; }
.zone-row .zcount { font-size: 12px; white-space: nowrap; }
.zone-row.off .zname { opacity: .5; text-decoration: line-through; }
.zone-row.sel .zname { border-color: var(--accent); }
#azones .zone-row { grid-template-columns: 1fr auto auto; }
.lock-preview { border-radius: 30px; padding: 26px 18px 30px; background: radial-gradient(120% 90% at 50% 0%, #C9875A, #6B3A1F 60%, #2A160B); color: #fff; display: grid; justify-items: center; gap: 2px; min-height: 300px; align-content: start; }
.lp-date { font-size: 14px; opacity: .85; }
.lp-date::first-letter { text-transform: uppercase; }
.lp-time { font-size: 64px; font-weight: 700; letter-spacing: -.03em; margin-bottom: 70px; }
.lp-note { width: 100%; display: flex; gap: 10px; align-items: center; background: rgba(255,255,255,.88); color: var(--ink); border-radius: 18px; padding: 10px 12px; }
.lp-note b { display: block; font-size: 14px; }
.lp-note span { font-size: 13px; }
@media (max-width: 720px) { .zone-row { grid-template-columns: 1fr auto auto; } .zone-row .zcount, .zone-row [data-toggle] { display: none; } }
.zmap .ring-tag rect { fill: #FFFBF4; stroke: rgba(29,25,21,.25); stroke-width: 0.02; }
.zmap .ring-tag .ring-l { text-anchor: middle; opacity: 1; }

/* Mapa de zonas interactivo */
.zmap-wrap { position: relative; border-radius: 16px; overflow: hidden; }
.zmap { cursor: grab; user-select: none; -webkit-user-select: none; touch-action: none; }
.zmap.panning { cursor: grabbing; }
.zmap.editing, .zmap.placing { touch-action: manipulation; cursor: default; }
.zmap.placing { cursor: crosshair; }
.zmap .ring { animation: ringIn .9s cubic-bezier(.2,.8,.2,1) both; animation-delay: var(--d); transform-origin: 0 0; transition: stroke-width .25s, opacity .25s; }
.zmap .ring.hot, .zmap .ring.pulse { stroke-width: 0.07; opacity: 1; stroke: var(--accent); stroke-dasharray: none; }
.zmap .ring.pulse { animation: ringPulse .9s ease; }
@keyframes ringIn { from { opacity: 0; transform: scale(.6); } }
@keyframes ringPulse { 50% { stroke-width: 0.16; } }
.zmap .ring-tag { cursor: pointer; }
.zmap .ring-tag:hover rect, .zmap .ring-tag:focus rect { fill: var(--ink); }
.zmap .ring-tag:hover text, .zmap .ring-tag:focus text { fill: #fff; }
.zmap .zb { cursor: pointer; outline: none; transition: opacity .35s; }
.zmap .zb-in { transform-origin: 0 0; transition: transform .7s cubic-bezier(.2,.9,.3,1.25); }
.zmap .zb-lab, .zmap .zb-sug { transition: transform .7s cubic-bezier(.2,.9,.3,1.25), opacity .35s; }
.zmap .zb-c { fill: rgba(124,116,232,.30); stroke: #7C74E8; stroke-width: 0.06; vector-effect: non-scaling-stroke; stroke-width: 2px; transition: fill .25s, stroke .25s; }
.zmap .zb:hover .zb-c, .zmap .zb.focus .zb-c { fill: rgba(124,116,232,.55); }
.zmap .zb.sel .zb-c { fill: rgba(242,136,75,.5); stroke: var(--accent); }
.zmap .zb.sel .zb-in { animation: zbPop .5s cubic-bezier(.2,.9,.3,1.6); }
@keyframes zbPop { 40% { filter: brightness(1.1); } }
.zmap.has-focus .zb:not(.focus):not(.sel) { opacity: .35; }
/* Zonas con menos del mínimo: nunca se ven, ni al resaltar otra */
.zmap .zb.empty { opacity: 0 !important; pointer-events: none; visibility: hidden; }
.zmap .zb-n { font: 700 0.34px var(--font); fill: #3A31B8; text-anchor: middle; dominant-baseline: middle; pointer-events: none; }
.zmap .zb.sel .zb-n { fill: #8A3A0B; }
.zmap .zb-l { font: 600 0.22px var(--font); fill: #3D3A55; text-anchor: middle; paint-order: stroke; stroke: #EFE6D6; stroke-width: 0.08px; pointer-events: none; }
.zmap .zb-sug { animation: bob 2.2s ease-in-out infinite; }
.zmap .zb-sug rect { fill: #1D1915; }
.zmap .zb-sug text { font: 700 0.22px var(--font); fill: #fff; text-anchor: middle; }
@keyframes bob { 50% { translate: 0 -0.12px; } }
.zmap .biz-pulse { fill: #1D1915; transform-origin: 0 0; animation: bizPulse 2.4s ease-out infinite; }
@keyframes bizPulse { from { transform: scale(1); opacity: .35; } to { transform: scale(3.2); opacity: 0; } }
.zmap .zb.edit { cursor: grab; }
.zmap .zb.edit.dragging { cursor: grabbing; }
.zmap .zb.edit.dragging .zb-c { fill: rgba(242,136,75,.6); stroke: var(--accent); }
.ztip { position: absolute; z-index: 3; width: 180px; padding: 8px 12px; border-radius: 12px; background: var(--ink); color: #fff; font-size: 12.5px; pointer-events: none; opacity: 0; transform: translateY(-100%) translateY(6px); transition: opacity .2s, transform .2s; box-shadow: var(--shadow); }
.ztip.show { opacity: 1; transform: translateY(-100%); }
.ztip b { display: block; font-size: 13.5px; }
.ztip span { opacity: .8; }
.zctl { position: absolute; right: 10px; top: 10px; display: grid; gap: 6px; z-index: 2; }
.zctl .icon-btn { width: 34px; height: 34px; box-shadow: var(--shadow-s); }
.zmap-note { position: absolute; right: 10px; bottom: 8px; font: 11px var(--mono); color: var(--muted); pointer-events: none; }
.zmap-card { transition: opacity .2s; }
.zmap-card.loading { opacity: .7; }
.fade-in { animation: fadeUp .35s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } }
.zdetail { display: grid; gap: 6px; border: 1.5px solid #F4C9A8; }
.zd-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 8px 0; }
.zd-stats > div { background: var(--surface-2); border-radius: 14px; padding: 12px; display: grid; }
.zd-big { font-size: 30px; font-weight: 700; letter-spacing: -.02em; }
.zd-stats .muted { font-size: 12.5px; }
.zd-groups { display: grid; gap: 7px; margin-top: 4px; }
.zd-g { display: grid; grid-template-columns: 120px 1fr 44px; gap: 10px; align-items: center; font-size: 13px; }
.zd-g b { text-align: right; font-weight: 600; }
.zd-gl { display: flex; align-items: center; gap: 6px; }
.zd-gl i { width: 8px; height: 8px; border-radius: 50%; }
.zd-gb { height: 8px; border-radius: 8px; background: var(--bg-deep); overflow: hidden; }
.zd-gb i { display: block; height: 100%; width: var(--w); border-radius: 8px; animation: growW .8s cubic-bezier(.2,.8,.2,1) both; }
@keyframes growW { from { width: 0; } }
.zd-sug { font-size: 13px; background: #F4F2FF; border-radius: 12px; padding: 8px 12px; margin-top: 6px; }
.sug-pin { font-size: 26px; display: inline-block; animation: bob2 2s ease-in-out infinite; }
@keyframes bob2 { 50% { transform: translateY(-4px); } }
.ztable tbody tr { cursor: pointer; transition: background .2s; animation: fadeUp .4s ease both; animation-delay: var(--d); }
.ztable tbody tr.hl td { background: #F4F2FF; }
.ztable tbody tr.sel td { background: #FDEBD9; }
.ztable td { position: relative; }
.zrank { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--bg-deep); font-size: 11px; font-weight: 700; margin-right: 8px; }
.ztable tr.sel .zrank { background: var(--accent); color: #fff; }
.zbar { display: inline-block; width: 60px; height: 6px; border-radius: 6px; background: var(--bg-deep); margin-right: 10px; vertical-align: middle; position: relative; overflow: hidden; }
.zbar::after { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--w); background: #7C74E8; border-radius: 6px; animation: growW .8s cubic-bezier(.2,.8,.2,1) both; }
.zone-hint-card { border: 1.5px dashed var(--line); }
.zchips .fchip { transition: background .2s, border-color .2s, transform .15s; }
.zchips .fchip:active { transform: scale(.96); }
@media (max-width: 720px) { .zd-g { grid-template-columns: 96px 1fr 40px; } .zbar { width: 36px; } }
@media (prefers-reduced-motion: reduce) { .zmap .biz-pulse, .zmap .zb-sug, .sug-pin { animation: none; } }

/* Gráficas animadas y en vivo */
.chart.weekly .wbar rect { transform-box: fill-box; transform-origin: 50% 100%; animation: barUp .8s cubic-bezier(.2,.9,.3,1.15) both; animation-delay: calc(var(--i) * 55ms); transition: opacity .2s, filter .2s; }
.chart.weekly .wbar .wf { animation-delay: calc(var(--i) * 55ms + 180ms); }
.chart.weekly .wbar:hover rect { filter: brightness(1.12); }
.chart.weekly:hover .wbar:not(:hover) rect { opacity: .55; }
.chart.weekly.live .wbar rect { animation: none; }
.chart.weekly.live .wbar.now rect { animation: barBump .55s cubic-bezier(.2,.9,.3,1.6); }
.chart.weekly .wnum { font: 700 12px var(--font); fill: var(--ink); }
.chart.weekly.live .wnum { animation: numPop .5s ease; }
@keyframes barUp { from { transform: scaleY(0); } }
@keyframes barBump { 40% { transform: scaleY(1.08); filter: brightness(1.2); } }
@keyframes numPop { 40% { transform: translateY(-4px); } }
.heat .cell { animation: cellIn .5s ease both; animation-delay: calc(var(--i) * 18ms); transition: background .4s, transform .2s; }
.heat .cell:hover { transform: scale(1.25); box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--mocha); position: relative; z-index: 1; }
.heat.live .cell { animation: none; }
.heat .cell.ping { animation: cellPing 1.1s ease-out; position: relative; z-index: 1; }
@keyframes cellIn { from { opacity: 0; transform: scale(.4); } }
@keyframes cellPing { 0% { transform: scale(1.7); box-shadow: 0 0 0 0 rgba(242,136,75,.8); background: var(--accent) !important; } 100% { transform: scale(1); box-shadow: 0 0 0 10px rgba(242,136,75,0); } }
.garc { stroke-dasharray: 100; stroke-dashoffset: 100; animation: drawArc 1s cubic-bezier(.3,.8,.2,1) forwards; animation-delay: calc(var(--i) * 220ms + 150ms); }
@keyframes drawArc { to { stroke-dashoffset: 0; } }
.seg-row .bar i, .progress i { animation: growW 1s cubic-bezier(.2,.8,.2,1) both; }
.kpi { transition: transform .2s; }
.kpi .k-val.bump { animation: valBump .5s cubic-bezier(.2,.9,.3,1.6); }
@keyframes valBump { 40% { transform: scale(1.18); color: var(--accent); } }
.kpi.ping::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(242,136,75,.55); animation: kpiPing .9s ease-out; pointer-events: none; }
@keyframes kpiPing { to { box-shadow: 0 0 0 14px rgba(242,136,75,0); } }
.feed-item.fresh { animation: feedIn .5s cubic-bezier(.2,.9,.3,1.2); background: linear-gradient(90deg, rgba(242,136,75,.12), transparent 70%); border-radius: 12px; }
.feed-item.sim .ini { outline: 2px dashed rgba(0,0,0,.2); outline-offset: 1px; }
@keyframes feedIn { from { opacity: 0; transform: translateX(-16px) scale(.98); } }
.sim-btn[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.sim-banner { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 14px; padding: 10px 14px; border-radius: 14px; background: #FFF4E8; border: 1.5px dashed #F2B98B; font-size: 13.5px; animation: fadeUp .3s ease; }
.sim-banner b#simcount { margin-left: auto; font-family: var(--mono); font-size: 12.5px; }
@media (prefers-reduced-motion: reduce) { .chart.weekly .wbar rect, .heat .cell, .garc { animation: none !important; stroke-dashoffset: 0; } }

/* ==========================================================================
   Responsive: las columnas de grid pueden encogerse (si no, su contenido las ensancha
   y aparece desplazamiento horizontal en el celular)
   ========================================================================== */
.grid-2 > *, .grid-3 > *, .kpis > *, .designer > *, .kiosk > *, .plans > *, .steps > *, .demo-links > *, .qr-studio > *, .zones-grid > *, .shop-grid > *, .sub-facts > *, .zd-stats > * { min-width: 0; }
img, svg, video, canvas { max-width: 100%; }
.input, select, textarea { max-width: 100%; }
.card, .kpi { min-width: 0; }
.tbl { min-width: 0; }
.mono, .cred b { overflow-wrap: anywhere; }
.preview-pane { grid-template-columns: minmax(0, 1fr); }
.poster { width: min(360px, 100%); }
.sticky-actions { flex-wrap: wrap; }
@media (max-width: 640px) {
  .heat { grid-template-columns: 26px repeat(17, minmax(0, 1fr)); gap: 2px; font-size: 9px; }
  .card-head.wrap > details { flex-basis: 100%; }
  .sticky-actions { justify-content: stretch; }
  .sticky-actions > .btn { flex: 1 1 auto; }
  .poster { padding: 26px 18px 20px; }
  .poster .pqr, .poster .pqr > img, .poster img.pqr { width: min(190px, 60vw); height: auto; aspect-ratio: 1; }
}
@media (max-width: 900px) { .card-head.wrap > details { flex-basis: 100%; } }

/* ==========================================================================
   Bienvenida en el celular (alta del cliente y registro del negocio)
   ========================================================================== */
.ob { --ob-bg: #fff; background: var(--ob-bg); min-height: 100dvh; color: var(--ink); }
.ob-stage { max-width: 480px; margin: 0 auto; min-height: 100dvh; overflow-x: hidden; }
.ob-step { min-height: 100dvh; display: grid; grid-template-rows: auto 1fr auto; padding: max(14px, env(safe-area-inset-top)) 22px calc(16px + env(safe-area-inset-bottom)); animation: obIn .45s cubic-bezier(.2,.8,.2,1) both; }
.ob-step.from-l { animation-name: obInL; }
@keyframes obIn { from { opacity: 0; transform: translateX(28px); } }
@keyframes obInL { from { opacity: 0; transform: translateX(-28px); } }
.ob-top { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; min-height: 44px; }
.ob-top-r { justify-self: end; }
.ob-back { width: 40px; height: 40px; border: 0; background: none; border-radius: 50%; display: grid; place-items: center; color: var(--ink); cursor: pointer; margin-left: -8px; }
.ob-back:active { background: #F1EFEC; }
.ob-brand { justify-self: center; display: inline-flex; gap: 8px; align-items: center; font-weight: 700; font-size: 19px; letter-spacing: -.01em; }
.ob-logo { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; padding: 4px; color: #fff; }
.ob-logo img, .ob-logo svg { width: 100%; height: 100%; object-fit: contain; }
.ob-body { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 14px 0 18px; min-width: 0; }
.ob-h { font-size: clamp(30px, 8.6vw, 36px); font-weight: 900; line-height: 1.02; letter-spacing: -.035em; text-align: center; margin: 8px 0 0; }
.ob-h2 { font-size: 22px; font-weight: 800; letter-spacing: -.02em; text-align: center; margin: 6px 0 0; }
.ob-sub { color: #77706A; font-size: 14px; text-align: center; margin: -4px 0 4px; line-height: 1.5; }
.ob-foot { display: grid; gap: 10px; justify-items: center; }
.ob-cta { width: 100%; height: 56px; border-radius: 999px; border: 0; background: #1F1F1F; color: #fff; font: 600 16px var(--font); cursor: pointer; transition: transform .15s, background .25s, color .25s; }
.ob-cta:active { transform: scale(.98); }
.ob-cta:disabled { background: #F0EFED; color: #9B958F; cursor: default; }
.ob-cta.busy { opacity: .7; }
.ob-fnote { font-size: 12.5px; color: #8A847E; text-align: center; margin: 0; }
.ob-fnote a, .ob-skip { color: #5F5852; text-decoration: underline; font: inherit; background: none; border: 0; cursor: pointer; padding: 4px; }

/* Bienvenida con notas pegadas */
.ob-step.welcome .ob-body { position: relative; justify-content: center; }
.ob-welcome { position: relative; width: 100%; flex: 1; display: grid; place-items: center; align-content: center; gap: 6px; min-height: 460px; }
.ob-welcome::before { content: ''; position: absolute; inset: 20% 10%; background: radial-gradient(closest-side, #FFF6D9, transparent); z-index: 0; }
.ob-hero { position: relative; z-index: 1; font-size: clamp(25px, 7vw, 30px); font-weight: 500; line-height: 1.18; letter-spacing: -.02em; text-align: center; margin: 0; }
.ob-arrow { position: relative; z-index: 1; width: 92px; height: 116px; }
.ob-arrow path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: obDraw 1.6s .5s ease forwards; }
@keyframes obDraw { to { stroke-dashoffset: 0; } }
.ob-pnote { position: absolute; z-index: 2; width: 116px; min-height: 88px; padding: 18px 12px 12px; font: 600 18px/1.15 'Caveat', cursive; color: #3A332D; box-shadow: 0 10px 20px -10px rgba(30,20,10,.3); transform: rotate(var(--r)); animation: noteIn .6s cubic-bezier(.3,1.5,.5,1) both; }
.ob-pnote .nd { position: absolute; }
.ob-pnote .pin { width: 22px; top: -14px; left: 44%; }
.ob-pnote .clip { width: 16px; top: -18px; left: 22px; }
.ob-pnote .heart { width: 22px; top: -10px; left: 8px; }
.ob-pnote .nstar { position: absolute; right: 12px; bottom: 8px; color: #F7C948; font-style: normal; }
.ob-pnote .nheart { display: block; font-style: normal; color: #7B6CF6; font-size: 20px; margin-top: 2px; }
@keyframes noteIn { from { opacity: 0; transform: rotate(var(--r)) translateY(-14px) scale(.9); } }

/* Personajes */
.mascot { display: block; overflow: visible; }
.mascot .mc-eyes { transform-box: fill-box; transform-origin: center; animation: mcBlink 5.5s infinite; }
@keyframes mcBlink { 0%, 93%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
.mascot.bob .mc-body { animation: mcBob 3.2s ease-in-out infinite; }
@keyframes mcBob { 50% { transform: translateY(-4px); } }
.mascot .mc-arm { transform-box: fill-box; }
.mascot .mc-arm.l { transform-origin: 100% 100%; }
.mascot .mc-arm.r { transform-origin: 0% 100%; }
.mascot.wave .mc-arm.r { animation: mcWave 1.6s ease-in-out infinite; }
.mascot.wave .mc-arm.l { animation: mcWaveL 1.6s .3s ease-in-out infinite; }
@keyframes mcWave { 50% { transform: rotate(14deg); } }
@keyframes mcWaveL { 50% { transform: rotate(-12deg); } }
.mascot.hop { animation: mcHop .45s ease; }
@keyframes mcHop { 40% { transform: translateY(-10px) rotate(-4deg); } }

/* Lista de opciones */
.ob-list { display: grid; gap: 12px; width: 100%; margin-top: 10px; }
.ob-opt { position: relative; height: 68px; border-radius: 20px; border: 2px solid transparent; background: #F4F3F1; display: flex; align-items: center; padding: 0 18px; font: 500 16.5px var(--font); color: var(--ink); text-align: left; cursor: pointer; overflow: hidden; transition: background .2s, border-color .2s, transform .15s; animation: obIn .45s both; animation-delay: var(--d); }
.ob-opt:active { transform: scale(.985); }
.ob-opt[aria-pressed="true"] { background: #fff; border-color: #1F1F1F; }
.ob-opt .mascot { position: absolute; right: 14px; bottom: -26px; transition: transform .25s; }
.ob-opt[aria-pressed="true"] .mascot { transform: translateY(-6px); }
.ob-opt[aria-pressed="true"]::after { content: '✓'; position: absolute; right: 94px; width: 22px; height: 22px; border-radius: 50%; background: #1F1F1F; color: #fff; font-size: 12px; display: grid; place-items: center; }

/* Carrusel */
.ob-car { display: flex; gap: 14px; width: calc(100% + 44px); margin: 8px -22px 0; padding: 30px 13% 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; outline: none; }
.ob-car::-webkit-scrollbar { display: none; }
.ob-slide { flex: 0 0 74%; scroll-snap-align: center; transition: transform .35s, opacity .35s; transform: scale(.9); opacity: .55; }
.ob-slide.on { transform: none; opacity: 1; }
.ob-pcard { border-radius: 30px; min-height: 270px; display: grid; justify-items: center; align-content: end; gap: 12px; padding: 0 20px 26px; text-align: center; position: relative; }
.ob-pcard .mascot { margin-top: -54px; margin-bottom: 4px; }
.ob-pcard p { font-size: 17px; line-height: 1.32; margin: 0; }
.ob-chip { background: #fff; border-radius: 999px; padding: 4px 10px; font: 600 9.5px var(--mono); letter-spacing: .06em; white-space: nowrap; }
.ob-pick { display: grid; justify-items: center; gap: 4px; text-align: center; margin-top: 4px; }
.ob-pick b { font-size: 24px; font-weight: 900; letter-spacing: -.02em; }
.ob-pick small { color: #8A847E; font-size: 12.5px; }
.ob-dots { display: flex; gap: 8px; justify-content: center; }
.ob-dots i { width: 6px; height: 6px; border-radius: 999px; background: #DCD8D3; transition: width .3s, background .3s; cursor: pointer; }
.ob-dots i.on { width: 22px; background: #F26B5B; }
.ob-ccard { border-radius: 22px; aspect-ratio: 1.45; padding: 18px; display: grid; align-content: space-between; text-align: left; box-shadow: 0 18px 30px -18px rgba(0,0,0,.5); margin-top: -10px; }
.ob-ccard small { font: 600 9px var(--mono); letter-spacing: .2em; opacity: .75; }
.ob-ccard b { font-size: 21px; font-weight: 800; line-height: 1.1; margin-top: -24px; }
.ob-cdots { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; }
.ob-cdots i { aspect-ratio: 1; border-radius: 50%; border: 1.5px solid currentColor; opacity: .55; }
.ob-cdots i.f { background: currentColor; opacity: 1; }
.ob-ccard span { font-size: 12px; opacity: .85; }

/* Reloj */
.ob-dial { position: relative; width: min(250px, 72vw); margin: 4px auto 0; }
.ob-dial-c { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ob-dial-c b { font-size: 62px; font-weight: 900; line-height: 1; letter-spacing: -.04em; }
.ob-dial-c small { font: 600 7.5px var(--mono); letter-spacing: .08em; white-space: nowrap; color: #8A847E; margin-top: 4px; }
.ob-pill { background: #EAF4FA; border-radius: 16px; padding: 10px 20px; text-align: center; display: grid; gap: 2px; }
.ob-pill b { font-weight: 500; font-size: 16px; }
.ob-pill small { font-size: 11px; color: #77706A; }
.ob-row { width: 100%; display: flex; align-items: center; gap: 12px; background: #F4F3F1; border-radius: 18px; padding: 12px 14px; cursor: pointer; }
.ob-row > span { flex: 1; display: grid; gap: 1px; min-width: 0; }
.ob-row b { font-weight: 500; font-size: 15px; }
.ob-row small { font-size: 11.5px; color: #8A847E; }
.ob-bday { display: flex; gap: 6px; }
.ob-bday select { border: 0; background: #fff; border-radius: 10px; padding: 8px 6px; font: 500 13px var(--font); color: var(--ink); max-width: 84px; }

/* Formulario */
.ob-arch { width: 100%; display: grid; place-items: center; padding-top: 18px; background: radial-gradient(70% 100% at 50% 100%, #F2F1EF 70%, transparent 71%); margin-bottom: -6px; }
.ob-arch .mascot { margin-bottom: -6px; }
.ob-form { width: 100%; display: grid; gap: 10px; background: #F7F6F4; border-radius: 22px; padding: 12px; }
.ob-form label { display: grid; gap: 4px; background: #fff; border-radius: 16px; padding: 12px 14px; position: relative; }
.ob-form small { font: 600 9px var(--mono); letter-spacing: .14em; color: #9B958F; }
.ob-form input, .ob-form select { border: 0; outline: 0; background: none; font: 500 16px var(--font); color: var(--ink); padding: 2px 0; width: 100%; min-width: 0; }
.ob-form input::placeholder { color: #B8B2AC; }
.ob-form label:focus-within { box-shadow: 0 0 0 2px #1F1F1F; }
.ob-form em { font-style: normal; font-size: 11.5px; color: #2F7A55; line-height: 1.4; }
.ob-form .ob-check { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; color: #5F5852; line-height: 1.4; }
.ob-form .ob-check input { width: 20px; height: 20px; flex: 0 0 20px; accent-color: #1F1F1F; margin-top: 1px; }
.ob-form .ob-check:focus-within { box-shadow: none; }
.ob-count { justify-self: end; font-size: 11px; color: #B8B2AC; }

/* Timbre del final */
.ob-stamp { position: relative; width: min(220px, 62vw); margin: 10px auto 4px; filter: drop-shadow(0 18px 24px rgba(120,60,30,.18)); animation: stampIn .7s cubic-bezier(.3,1.4,.5,1) both; }
.ob-stamp svg { display: block; }
.ob-stamp-art { position: absolute; left: 10%; right: 10%; top: 8.5%; height: 70.7%; display: grid; place-items: center; padding: 22%; }
.ob-stamp-art svg, .ob-stamp-art img { width: 100%; height: 100%; object-fit: contain; }
@keyframes stampIn { from { opacity: 0; transform: rotate(-8deg) scale(.6); } 70% { transform: rotate(2deg) scale(1.03); } }
@media (prefers-reduced-motion: reduce) { .ob *, .ob-step { animation: none !important; } .ob-arrow path { stroke-dashoffset: 0; } }

/* ==========================================================================
   Movimiento: pasos 01–04, panel, bienvenida del Club y registro
   ========================================================================== */
/* Pasos con línea de avance */
.flowsteps { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.st { position: relative; flex: 0 0 auto; display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--muted); font-size: 15px; border-radius: 999px; padding: 4px 10px 4px 4px; transition: color .25s, background .25s; animation: stIn .5s cubic-bezier(.2,.8,.2,1) backwards; animation-delay: calc(var(--k) * 60ms); }
.st:hover { color: var(--ink); background: rgba(29,25,21,.05); }
.st-n { position: relative; flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid currentColor; display: grid; place-items: center; font: 500 11px var(--mono); transition: transform .35s cubic-bezier(.3,1.6,.5,1), background .3s, color .3s, border-color .3s; }
.st-n b { font-weight: 500; transition: transform .3s, opacity .3s; }
.st-n svg { position: absolute; opacity: 0; transform: scale(.3) rotate(-40deg); transition: transform .4s cubic-bezier(.3,1.7,.5,1), opacity .2s; }
.st:hover .st-n { transform: translateY(-2px) rotate(-10deg); }
.st.done { color: var(--ink-2); }
.st.done .st-n { background: var(--p-green); border-color: var(--ink); color: var(--ink); }
.st.done .st-n b { opacity: 0; transform: scale(.3); }
.st.done .st-n svg { opacity: 1; transform: none; }
.st.just .st-n { animation: stPop .55s cubic-bezier(.3,1.6,.5,1); }
.st.on { color: var(--ink); font-weight: 600; }
.st.on .st-n { background: var(--ink); color: var(--latte, #fff); border-color: var(--ink); animation: stPop .6s cubic-bezier(.3,1.6,.5,1); }
.st.on .st-n::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--ink); opacity: 0; animation: stRing 2.6s 0.6s ease-out infinite; }
.st-l { position: relative; white-space: nowrap; }
.st-l::after { content: ''; position: absolute; left: 0; right: 0; bottom: -3px; height: 2px; border-radius: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.st:hover .st-l::after, .st.on .st-l::after { transform: scaleX(1); }
.st-line { flex: 0 1 44px; min-width: 12px; height: 2px; border-radius: 2px; background: var(--line); position: relative; overflow: hidden; }
.st-line::after { content: ''; position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: left; }
.st-line.fill::after { transform: scaleX(1); }
.st-line.grow::after { animation: lineGrow .5s cubic-bezier(.6,0,.2,1) backwards; animation-delay: calc(var(--k) * 140ms - 140ms); }
@keyframes lineGrow { from { transform: scaleX(0); } }
@keyframes stPop { 0% { transform: scale(.6); } 60% { transform: scale(1.18); } }
@keyframes stRing { 0% { opacity: .5; transform: scale(.85); } 70%, 100% { opacity: 0; transform: scale(1.35); } }
@keyframes stIn { from { opacity: 0; transform: translateY(8px); } }
@media (max-width: 720px) {
  .flowsteps { gap: 0; align-items: flex-start; justify-content: space-between; background: var(--surface); border-radius: 22px; padding: 12px 6px 10px; margin-bottom: 18px; box-shadow: 0 8px 20px -14px rgba(40,20,5,.35); }
  .st { flex-direction: column; gap: 6px; padding: 2px; flex: 0 0 auto; width: 70px; font-size: 11.5px; text-align: center; border-radius: 14px; }
  .st:hover { background: none; }
  .st-l { white-space: normal; line-height: 1.15; }
  .st-line { flex: 1 1 0; margin-top: 19px; min-width: 6px; }
}
@media (max-width: 360px) { .st { width: 62px; font-size: 10.5px; } }

/* Onda de los botones */
.btn, .ob-cta, .wbtn, .ob-opt, .st { position: relative; isolation: isolate; }
.btn, .ob-cta, .wbtn { overflow: hidden; }
.ripple { position: absolute; border-radius: 50%; background: currentColor; opacity: .22; transform: scale(0); pointer-events: none; z-index: -1; animation: ripple .65s ease-out forwards; }
@keyframes ripple { to { transform: scale(1); opacity: 0; } }
.spark { position: fixed; z-index: 9999; width: 8px; height: 8px; border-radius: 50%; pointer-events: none; }

/* Brillo bajo el cursor e inclinación en tarjetas chicas */
.card, .kpi, .step, .plan { background-image: radial-gradient(420px circle at var(--mx, -999px) var(--my, -999px), rgba(255, 196, 140, .16), transparent 45%); }
.kpi, .step, .plan { transition: transform .25s ease, box-shadow .25s; }
.kpi.lit, .plan.lit { transform: perspective(700px) rotateX(var(--tx, 0)) rotateY(var(--ty, 0)) translateY(-2px); box-shadow: 0 18px 30px -22px rgba(40,20,5,.45); }

/* Entrada escalonada de cada sección */
.rise { animation: riseIn .6s cubic-bezier(.2,.8,.2,1) backwards; animation-delay: calc(var(--i, 0) * 55ms); }
@keyframes riseIn { from { opacity: 0; transform: translateY(16px) scale(.985); filter: blur(4px); } }

/* Títulos palabra por palabra */
.w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; margin-bottom: -.08em; }
.w > span { display: inline-block; animation: wordUp .7s cubic-bezier(.2,.9,.2,1) backwards; }
@keyframes wordUp { from { transform: translateY(105%) rotate(6deg); opacity: 0; } }

/* Indicador que se desliza en el menú */
.side.has-ind a.nav[aria-current="page"] { background: transparent; }
.side-ind { position: absolute; left: 0; top: 0; border-radius: 50%; background: var(--ink); z-index: 0; pointer-events: none; box-shadow: 0 8px 18px -8px rgba(29,25,21,.6); }
.panel.admin .side-ind { background: var(--ink); }
.side a.nav { z-index: 1; transition: color .25s, transform .2s; }
.side a.nav:active { transform: scale(.9); }
.side a.nav[aria-current="page"] svg { animation: navPop .5s cubic-bezier(.3,1.6,.5,1); }
@keyframes navPop { 0% { transform: scale(.7) rotate(-12deg); } }
@media (max-width: 720px) { .side { position: fixed; } }

/* Bienvenida al Club recién creado */
.splash { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; background: radial-gradient(120% 80% at 50% 0%, rgba(255,247,233,.92), rgba(245,239,230,.96)); backdrop-filter: blur(6px); animation: splashIn .5s ease both; }
.splash.out { animation: splashOut .5s ease forwards; }
@keyframes splashIn { from { opacity: 0; } }
@keyframes splashOut { to { opacity: 0; transform: scale(1.04); } }
.splash-in { width: min(420px, 100%); display: grid; gap: 14px; justify-items: center; text-align: center; background: #fff; border-radius: 32px; padding: 26px 22px 22px; box-shadow: 0 40px 80px -40px rgba(40,20,5,.45); animation: popUp .7s .1s cubic-bezier(.3,1.4,.5,1) both; }
@keyframes popUp { from { opacity: 0; transform: translateY(40px) scale(.9); } }
.splash-in h2 { font-size: 34px; font-weight: 900; line-height: 1.02; letter-spacing: -.035em; color: var(--c); }
.splash-parade { display: flex; align-items: flex-end; justify-content: center; gap: 2px; height: 104px; margin-top: -60px; }
.splash-parade > span { animation: parade .8s cubic-bezier(.3,1.6,.5,1) backwards; animation-delay: calc(.25s + var(--i) * .09s); }
@keyframes parade { from { transform: translateY(70px) scale(.4); opacity: 0; } }
.splash-steps { list-style: none; padding: 0; margin: 0; width: 100%; display: grid; gap: 8px; text-align: left; }
.splash-steps li { display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; align-items: center; background: #F6F4F1; border-radius: 16px; padding: 10px 12px; font-weight: 600; animation: stIn .5s backwards; animation-delay: calc(.5s + var(--i) * .08s); }
.splash-steps li small { grid-column: 2; font-weight: 400; color: var(--muted); font-size: 12.5px; }
.splash-steps .st-n { grid-row: span 2; color: var(--muted); }
.splash-steps li.ok .st-n { background: var(--p-green); border-color: var(--ink); color: var(--ink); animation: stPop .55s cubic-bezier(.3,1.6,.5,1); }
.splash-steps li.ok .st-n b { opacity: 0; transform: scale(.3); }
.splash-steps li.ok .st-n svg { opacity: 1; transform: none; }

/* Registro: barra de avance, botón con brillo, notas con profundidad, timbre que se sella */
.ob-prog { justify-self: center; width: min(160px, 46vw); height: 6px; border-radius: 99px; background: #EFEDEA; overflow: hidden; }
.ob-prog i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #7B6CF6, #F26B5B, #F7C948); transition: width .7s cubic-bezier(.5,0,.2,1); }
.ob-cta { overflow: hidden; }
.ob-cta:not(:disabled)::before { content: ''; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.28), transparent); transform: skewX(-18deg); animation: shine 3.6s 1.2s ease-in-out infinite; }
@keyframes shine { 0%, 60% { left: -60%; } 100% { left: 130%; } }
.ob-cta.lit { animation: ctaLit .6s cubic-bezier(.3,1.6,.5,1); }
@keyframes ctaLit { 40% { transform: scale(1.04); } }
.ob-pnote { translate: calc(var(--px, 0) * var(--z, 10) * 2px) calc(var(--py, 0) * var(--z, 10) * 2px); transition: translate .25s ease-out; }
.ob-pnote:nth-child(odd) { animation: noteIn .6s cubic-bezier(.3,1.5,.5,1) both, noteFloat 6s 1s ease-in-out infinite; }
.ob-pnote:nth-child(even) { animation: noteIn .6s cubic-bezier(.3,1.5,.5,1) both, noteFloat 7s 1.4s ease-in-out infinite reverse; }
@keyframes noteFloat { 50% { transform: rotate(calc(var(--r) * -0.4)) translateY(-6px); } }
.ob-body > :not(.ob-h):not(.ob-sub) { animation: obRise .6s cubic-bezier(.2,.8,.2,1) backwards; }
.ob-body > :nth-child(2) { animation-delay: .12s; } .ob-body > :nth-child(3) { animation-delay: .2s; } .ob-body > :nth-child(4) { animation-delay: .28s; } .ob-body > :nth-child(5) { animation-delay: .36s; } .ob-body > :nth-child(6) { animation-delay: .44s; }
@keyframes obRise { from { opacity: 0; transform: translateY(18px); } }
.ob-sub { animation: obRise .6s .25s backwards; }
.ob-slide { transition: transform .12s linear, opacity .12s linear; transform-style: preserve-3d; }
.mc-pupil { transition: transform .22s cubic-bezier(.3,1.4,.5,1); }
.ob-opt .mascot { transition: transform .35s cubic-bezier(.3,1.6,.5,1); }
.ob-opt:hover .mascot { transform: translateY(-4px) rotate(-6deg); }
.ob-opt[aria-pressed="true"] .mascot { transform: translateY(-10px); }
.ob-dial .ob-arc { filter: drop-shadow(0 0 6px rgba(140,200,232,.6)); }
.ob-postmark { position: absolute; width: 58%; right: -14%; bottom: 6%; color: #2B3A8C; opacity: 0; mix-blend-mode: multiply; transform: rotate(-16deg); animation: postmark .45s .95s cubic-bezier(.2,1.4,.4,1) forwards; pointer-events: none; }
@keyframes postmark { 0% { opacity: 0; transform: rotate(-30deg) scale(2.4); } 100% { opacity: .78; transform: rotate(-16deg) scale(1); } }
.ob-step.final .ob-body { animation: thump .35s .98s ease; }
@keyframes thump { 30% { transform: translateY(3px) scale(.995); } 60% { transform: translateY(-1px); } }
.ob-stamp { animation: stampDrop .9s cubic-bezier(.3,1.3,.5,1) both; }
@keyframes stampDrop { 0% { opacity: 0; transform: translateY(-120px) rotate(-14deg) scale(1.15); } 60% { opacity: 1; transform: translateY(6px) rotate(3deg); } 100% { transform: rotate(-2deg); } }
@media (prefers-reduced-motion: reduce) {
  .rise, .w > span, .st, .st-n, .st-line::after, .splash *, .ob-pnote, .ob-stamp, .ob-postmark, .ob-cta::before { animation: none !important; }
  .ob-postmark { opacity: .78; }
}

/* Pasos del registro en computadora: tarjeta centrada del tamaño de un teléfono */
@media (min-width: 721px) {
  .ob { --ob-bg: #fff; background: radial-gradient(90% 70% at 50% 0%, #FFF6E6, var(--bg)); padding: 28px 16px; display: grid; place-items: center; }
  .ob-stage { width: 100%; max-width: 430px; min-height: min(860px, calc(100dvh - 56px)); background: var(--ob-bg); border-radius: 40px; box-shadow: 0 40px 80px -40px rgba(40,20,5,.35), 0 0 0 1px rgba(29,25,21,.05); overflow: hidden; }
  .ob-step { min-height: min(860px, calc(100dvh - 56px)); padding: 22px 26px 22px; }
  .ob-pnote { width: 112px; }
}

/* ==========================================================================
   Registro en computadora (≥ 1024 px): pasos a la izquierda, tarjeta en vivo a la derecha
   ========================================================================== */
.ob-show { display: none; }
.ob-cta kbd { display: none; }
@media (min-width: 1024px) {
  .ob.desk { padding: 32px; min-height: 100dvh; display: grid; place-items: center; background: radial-gradient(70% 60% at 15% 10%, #FFF3DD, transparent), radial-gradient(60% 60% at 90% 90%, #EEE6FF, transparent), var(--bg); }
  .ob-desk { width: min(1240px, 100%); display: grid; grid-template-columns: minmax(400px, 450px) minmax(0, 1fr); gap: 26px; align-items: stretch; animation: deskIn .8s cubic-bezier(.2,.8,.2,1) both; }
  @keyframes deskIn { from { opacity: 0; transform: translateY(24px) scale(.98); } }
  .ob.desk .ob-stage { max-width: none; width: 100%; min-height: min(840px, calc(100dvh - 64px)); }
  .ob.desk .ob-step { min-height: min(840px, calc(100dvh - 64px)); }
  .ob.desk .ob-cta { display: flex; align-items: center; justify-content: center; gap: 10px; }
  .ob.desk .ob-cta kbd { display: inline-grid; place-items: center; min-width: 26px; height: 22px; padding: 0 6px; border-radius: 6px; background: rgba(255,255,255,.16); font: 500 12px var(--mono); }
  .ob.desk .ob-cta:disabled kbd { background: rgba(0,0,0,.06); }

  .ob-show { display: grid; grid-template-rows: auto 1fr auto; position: relative; overflow: hidden; border-radius: 40px; padding: 26px 30px 24px; min-height: min(840px, calc(100dvh - 64px));
    background: radial-gradient(55% 55% at 60% 45%, color-mix(in srgb, var(--c, #7A3B1E) 22%, transparent), transparent 70%), linear-gradient(160deg, #FFFDF9, #F6EFE4);
    box-shadow: inset 0 0 0 1px rgba(29,25,21,.06); transition: background .6s; }
  .ob-show::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(29,25,21,.07) 1px, transparent 1.4px); background-size: 22px 22px; mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent); pointer-events: none; }

  /* Pasos de arriba */
  .sh-rail { position: relative; z-index: 3; display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
  .sh-r { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px 6px 6px; border-radius: 999px; background: rgba(255,255,255,.7); color: #8A847E; font-size: 13px; font-weight: 500; backdrop-filter: blur(6px); transition: background .3s, color .3s, transform .3s; }
  .sh-r i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font: 600 10px var(--mono); font-style: normal; background: #EFEAE3; transition: background .3s, color .3s; }
  .sh-r.done { color: var(--ink); }
  .sh-r.done i { background: var(--p-green); color: transparent; position: relative; }
  .sh-r.done i::after { content: '✓'; position: absolute; inset: 0; display: grid; place-items: center; color: var(--ink); font-size: 12px; animation: stPop .5s cubic-bezier(.3,1.6,.5,1); }
  .sh-r.on { background: #1F1F1F; color: #fff; transform: translateY(-1px); box-shadow: 0 8px 16px -10px rgba(0,0,0,.6); }
  .sh-r.on i { background: #fff; color: #1F1F1F; }

  /* Centro: tarjeta, personajes, notas y aviso */
  .sh-center { position: relative; display: grid; place-items: center; align-content: center; gap: 18px; perspective: 1200px; }
  .sh-card { width: min(440px, 82%); aspect-ratio: 1.6; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transform-style: preserve-3d; transition: transform .25s ease-out; position: relative; z-index: 2; animation: cardFloat 6s ease-in-out infinite; }
  @keyframes cardFloat { 50% { translate: 0 -8px; } }
  .sh-card.bump .sh-card-in { animation: cardBump .7s cubic-bezier(.3,1.5,.5,1); }
  @keyframes cardBump { 30% { transform: scale(1.04) rotate(-1.2deg); } }
  .sh-card-in { position: absolute; inset: 0; border-radius: 26px; padding: 22px 24px; display: grid; grid-template-rows: auto 1fr auto auto; gap: 8px; overflow: hidden; color: var(--ink, #fff);
    background: linear-gradient(135deg, color-mix(in srgb, var(--c) 100%, #fff 0%), color-mix(in srgb, var(--c) 78%, #000)); box-shadow: 0 40px 60px -30px color-mix(in srgb, var(--c) 70%, #000), 0 0 0 1px rgba(255,255,255,.08) inset; transition: background .6s, box-shadow .6s; }
  .sh-shine { position: absolute; inset: -40%; background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.22) 50%, transparent 60%); transform: translateX(calc(var(--gx, 50%) - 50%)); transition: transform .3s; pointer-events: none; }
  .sh-top { display: flex; align-items: center; gap: 10px; }
  .sh-logo { width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.18); display: grid; place-items: center; overflow: hidden; padding: 4px; }
  .sh-logo img, .sh-logo svg { width: 100%; height: 100%; object-fit: contain; }
  .sh-eyebrow { font: 600 10px var(--mono); letter-spacing: .22em; opacity: .8; }
  .sh-chip { margin-left: auto; background: rgba(255,255,255,.2); border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 600; max-width: 50%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .sh-title { font-size: clamp(24px, 2.6vw, 34px); font-weight: 900; letter-spacing: -.03em; line-height: 1.02; align-self: end; overflow-wrap: anywhere; }
  .sh-title.typing { animation: titleIn .35s ease; }
  @keyframes titleIn { from { filter: blur(6px); opacity: .4; transform: translateY(4px); } }
  .sh-dots { display: flex; flex-wrap: wrap; gap: 8px; }
  .sh-dots i { width: 26px; height: 26px; border-radius: 50%; border: 2px solid currentColor; opacity: .5; transition: background .3s, opacity .3s; }
  .sh-dots i.f { background: currentColor; opacity: 1; }
  .sh-dots i.pop { animation: dotPop .6s cubic-bezier(.3,1.8,.5,1); }
  @keyframes dotPop { 0% { transform: scale(.2); } 60% { transform: scale(1.35); } }
  .sh-foot { display: flex; justify-content: space-between; font-size: 13px; opacity: .9; }
  .sh-holder { font-weight: 600; }
  .sh-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; min-height: 32px; position: relative; z-index: 2; }
  .sh-chips span { background: #fff; border-radius: 999px; padding: 6px 12px; font-size: 13px; box-shadow: 0 6px 14px -10px rgba(0,0,0,.4); animation: chipIn .45s cubic-bezier(.3,1.6,.5,1) both; }
  @keyframes chipIn { from { opacity: 0; transform: translateY(8px) scale(.8); } }

  .sh-notif-wrap { position: absolute; top: 4px; left: 50%; transform: translateX(-50%); width: min(360px, 80%); z-index: 4; }
  .sh-notif { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 20px; background: rgba(255,255,255,.82); backdrop-filter: blur(14px); box-shadow: 0 20px 40px -24px rgba(0,0,0,.45); animation: notifIn .7s cubic-bezier(.3,1.4,.4,1) both; }
  @keyframes notifIn { 0% { opacity: 0; transform: translateY(-40px) scale(.92); } 100% { opacity: 1; transform: none; } }
  .sh-notif b { display: block; font-size: 14px; }
  .sh-notif small { display: block; font-size: 13px; color: #5F5852; line-height: 1.3; }
  .sh-notif em { margin-left: auto; align-self: flex-start; font-style: normal; font-size: 11px; color: #9B958F; }
  .sh-nlogo { flex: 0 0 38px; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; padding: 4px; color: #fff; overflow: hidden; }
  .sh-nlogo img, .sh-nlogo svg { width: 100%; height: 100%; object-fit: contain; }

  .sh-m { position: absolute; z-index: 1; animation: mFloat 7s ease-in-out infinite; }
  .sh-m0 { left: 4%; top: 18%; } .sh-m1 { right: 6%; top: 24%; animation-delay: -2s; } .sh-m2 { left: 9%; bottom: 10%; animation-delay: -4s; } .sh-m3 { right: 8%; bottom: 8%; animation-delay: -1s; }
  @keyframes mFloat { 50% { translate: 0 -14px; rotate: 4deg; } }
  .sh-note { position: absolute; z-index: 1; padding: 12px 12px 14px; width: 112px; font: 600 17px/1.1 'Caveat', cursive; color: #3A332D; background: #FFF1A8; box-shadow: 0 12px 22px -14px rgba(30,20,10,.45); translate: calc(var(--px, 0) * 24px) calc(var(--py, 0) * 24px); transition: translate .3s ease-out; }
  .sh-note0 { left: 20%; top: 6%; rotate: -7deg; } .sh-note1 { right: 18%; bottom: 20%; rotate: 6deg; background: #FFE1D2; } .sh-note2 { left: 16%; bottom: 28%; rotate: 4deg; background: #E5DEFF; }

  .sh-bottom { position: relative; z-index: 3; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; align-items: center; text-align: center; }
  .sh-bottom p { flex-basis: 100%; margin: 6px 0 0; color: #77706A; font-size: 13.5px; }
  .sh-wallet { display: inline-flex; align-items: center; gap: 6px; background: #1F1F1F; color: #fff; border-radius: 12px; padding: 8px 12px; font-size: 13px; font-weight: 600; }

  .ob-show.done-all .sh-card-in { animation: cardGlow 2.4s ease-in-out infinite; }
  @keyframes cardGlow { 50% { box-shadow: 0 40px 70px -24px color-mix(in srgb, var(--c) 80%, #000), 0 0 0 6px color-mix(in srgb, var(--c) 25%, transparent); } }
  .ob-show.done-all .sh-m { animation: mParty 1s ease-in-out infinite; }
  @keyframes mParty { 50% { translate: 0 -22px; rotate: -8deg; } }
}
@media (min-width: 1024px) and (max-height: 760px) { .sh-note, .sh-m2, .sh-m3 { display: none; } }
@media (min-width: 1024px) and (prefers-reduced-motion: reduce) { .ob-desk, .sh-card, .sh-m, .sh-notif, .sh-card-in { animation: none !important; } }

/* ==========================================================================
   Sitio (/): rediseño con movimiento, mismo estilo que el registro
   ========================================================================== */
.lp { --lp-bg: #FBF7F1; background: var(--lp-bg); color: var(--ink); overflow-x: clip; }
.lp em { font-style: normal; background: linear-gradient(90deg, #7B6CF6, #F26B5B 55%, #F7A23B); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 60; }
.lp-progress i { display: block; height: 100%; background: linear-gradient(90deg, #7B6CF6, #F26B5B, #F7C948); transform-origin: left; transform: scaleX(0); }

/* Menú */
.lp-nav { position: fixed; top: 12px; left: 50%; translate: -50% 0; z-index: 50; width: min(1180px, calc(100% - 24px)); display: flex; align-items: center; gap: 18px; padding: 10px 12px 10px 20px; border-radius: 999px; transition: background .35s, box-shadow .35s, padding .35s; animation: navIn .8s cubic-bezier(.2,.8,.2,1) both; }
@keyframes navIn { from { opacity: 0; transform: translateY(-20px); } }
.lp-nav.solid { background: rgba(255,255,255,.78); backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 10px 30px -18px rgba(40,20,5,.35), 0 0 0 1px rgba(29,25,21,.05); }
.lp-brand { font-weight: 800; font-size: 22px; letter-spacing: -.03em; text-decoration: none; color: var(--ink); }
.lp-brand i { font-style: normal; color: #F26B5B; display: inline-block; animation: dotBounce 2.4s ease-in-out infinite; }
@keyframes dotBounce { 0%, 60%, 100% { transform: none; } 70% { transform: translateY(-6px); } 80% { transform: translateY(0) scaleX(1.3); } }
.lp-links { display: flex; gap: 4px; margin: 0 auto; }
.lp-links a { position: relative; padding: 8px 14px; border-radius: 999px; color: #5F5852; text-decoration: none; font-size: 15px; transition: color .2s, background .2s; }
.lp-links a:hover { color: var(--ink); background: rgba(29,25,21,.06); }
.lp-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.lp-login { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 12px; }
.lp-cta { background: #1F1F1F; color: #fff; }

/* Hero */
.lp-hero { position: relative; min-height: 100dvh; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: 40px; padding: 120px clamp(16px, 6vw, 96px) 60px; max-width: 1400px; margin: 0 auto; }
.lp-hero::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(29,25,21,.08) 1px, transparent 1.4px); background-size: 24px 24px; mask-image: radial-gradient(60% 60% at 50% 45%, #000, transparent); pointer-events: none; }
.lp-blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; pointer-events: none; animation: blob 16s ease-in-out infinite; }
.lp-blob.b1 { width: 420px; height: 420px; background: #E5DEFF; left: -80px; top: 10%; }
.lp-blob.b2 { width: 380px; height: 380px; background: #FFE1D2; right: 5%; top: 20%; animation-delay: -5s; }
.lp-blob.b3 { width: 300px; height: 300px; background: #FFF1A8; left: 40%; bottom: 0; animation-delay: -10s; }
@keyframes blob { 33% { transform: translate(40px, -30px) scale(1.1); } 66% { transform: translate(-30px, 30px) scale(.92); } }
.lp-copy { position: relative; z-index: 2; }
.lp-pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: #fff; font-size: 14px; font-weight: 500; box-shadow: 0 8px 20px -14px rgba(40,20,5,.4); animation: obRise .7s .1s backwards; }
.lp-pill i { width: 8px; height: 8px; border-radius: 50%; background: #3BB58A; box-shadow: 0 0 0 0 rgba(59,181,138,.6); animation: livePing 1.8s infinite; }
@keyframes livePing { 70% { box-shadow: 0 0 0 10px rgba(59,181,138,0); } 100% { box-shadow: 0 0 0 0 rgba(59,181,138,0); } }
.lp-h1 { font-size: clamp(46px, 7.4vw, 104px); font-weight: 900; letter-spacing: -.05em; line-height: .94; margin: 22px 0 0; }
.lp-line { display: block; animation: lineUp .9s cubic-bezier(.2,.9,.2,1) backwards; }
.lp-line:nth-child(2) { animation-delay: .12s; }
@keyframes lineUp { from { opacity: 0; transform: translateY(60%) rotate(3deg); filter: blur(8px); } }
.lp-rot { position: relative; display: inline-grid; vertical-align: bottom; overflow: hidden; padding-bottom: .08em; }
.lp-rot b { grid-area: 1 / 1; font-weight: 900; background: linear-gradient(90deg, #7B6CF6, #F26B5B 60%, #F7A23B); -webkit-background-clip: text; background-clip: text; color: transparent; transform: translateY(110%); opacity: 0; transition: transform .6s cubic-bezier(.3,1.3,.5,1), opacity .4s; white-space: nowrap; }
.lp-rot b.on { transform: none; opacity: 1; }
.lp-rot b.off { transform: translateY(-110%); opacity: 0; }
.lp-lead { font-size: clamp(16px, 1.4vw, 19px); color: #5F5852; max-width: 540px; margin: 24px 0 30px; line-height: 1.55; }
.lp-btns { display: flex; flex-wrap: wrap; gap: 12px; animation: obRise .7s .7s backwards; }
.lp-main { background: #1F1F1F; color: #fff; padding-inline: 26px; }
.lp-main svg { transition: transform .25s; }
.lp-main:hover svg { transform: translateX(4px); }
.lp-main::before { content: ''; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.3), transparent); transform: skewX(-18deg); animation: shine 3.4s 1.6s ease-in-out infinite; }
.lp-foot-note { margin-top: 18px; color: #8A847E; font-size: 13.5px; animation: obRise .7s .85s backwards; }

/* Escenario con teléfono */
.lp-stage { position: relative; z-index: 2; display: grid; place-items: center; min-height: 600px; perspective: 1200px; }
.lp-phone { width: 300px; height: 610px; border-radius: 48px; background: #1C1A18; padding: 12px; box-shadow: 0 60px 90px -40px rgba(40,20,5,.6), inset 0 0 0 2px #3A3631; transform: rotateX(var(--rx, 0deg)) rotateY(calc(var(--ry, 0deg) - 8deg)) rotateZ(3deg); transition: transform .3s ease-out; animation: phoneIn 1.1s .2s cubic-bezier(.2,.9,.2,1) backwards, cardFloat 7s 1.4s ease-in-out infinite; }
@keyframes phoneIn { from { opacity: 0; transform: translateY(80px) rotateX(20deg) rotateZ(10deg) scale(.9); } }
.lp-screen { position: relative; height: 100%; border-radius: 38px; overflow: hidden; background: linear-gradient(180deg, #F4F1EC, #E9E4DC); padding: 14px 14px 0; display: grid; align-content: start; gap: 10px; }
.lp-status { display: flex; justify-content: space-between; font-size: 12px; padding: 0 10px; }
.lp-status span { letter-spacing: -2px; font-size: 10px; }
.lp-wtitle { font-size: 26px; font-weight: 800; letter-spacing: -.03em; padding: 30px 4px 0; }
.lp-notif { position: absolute; top: 34px; left: 10px; right: 10px; z-index: 3; }
.lp-n { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 18px; background: rgba(255,255,255,.9); backdrop-filter: blur(12px); box-shadow: 0 14px 28px -16px rgba(0,0,0,.45); animation: notifCycle 3.6s cubic-bezier(.3,1.3,.4,1) both; }
@keyframes notifCycle { 0% { opacity: 0; transform: translateY(-50px) scale(.9); } 12%, 82% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-20px) scale(.96); } }
.lp-n b { display: block; font-size: 12.5px; }
.lp-n small { display: block; font-size: 12px; color: #5F5852; line-height: 1.25; }
.lp-n em { margin-left: auto; align-self: flex-start; font-size: 10px; color: #9B958F; font-style: normal; }
.lp-nlogo { flex: 0 0 32px; height: 32px; border-radius: 9px; background: #7A3B1E; padding: 5px; }
.lp-nlogo svg { width: 100%; height: 100%; }
.lp-card { position: relative; z-index: 2; aspect-ratio: 1.58; border-radius: 18px; padding: 14px 16px; color: #fff; display: grid; grid-template-rows: auto 1fr auto auto; gap: 6px; overflow: hidden; background: linear-gradient(140deg, #8E4A26, #5E2C12); box-shadow: 0 20px 30px -18px rgba(70,30,10,.7); transition: box-shadow .4s; }
.lp-card.hit { animation: cardHit .45s cubic-bezier(.3,1.6,.5,1); }
@keyframes cardHit { 40% { transform: scale(1.035) rotate(-.6deg); } }
.lp-card.won { box-shadow: 0 0 0 4px #F7C948, 0 24px 40px -16px rgba(247,201,72,.8); }
.lp-card-top { display: flex; align-items: center; gap: 8px; font: 600 9px var(--mono); letter-spacing: .16em; }
.lp-card-top em { margin-left: auto; font: 700 12px var(--font); letter-spacing: 0; color: #fff; background: rgba(255,255,255,.18); padding: 2px 8px; border-radius: 99px; -webkit-text-fill-color: #fff; }
.lp-logo { width: 26px; height: 26px; border-radius: 8px; background: rgba(255,255,255,.18); padding: 4px; }
.lp-logo svg { width: 100%; height: 100%; }
.lp-card-name { font-size: 19px; font-weight: 800; letter-spacing: -.02em; align-self: end; }
.lp-dots { display: grid; grid-template-columns: repeat(8, 1fr); gap: 5px; }
.lp-dots i { aspect-ratio: 1; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.6); transition: background .3s; }
.lp-dots i.f { background: #FFE6C7; border-color: #FFE6C7; animation: dotPop .55s cubic-bezier(.3,1.8,.5,1); }
.lp-card-foot { display: flex; justify-content: space-between; align-items: center; font-size: 11px; opacity: .9; }
.lp-qr { width: 22px; height: 22px; border-radius: 4px; background: repeating-conic-gradient(#fff 0 25%, transparent 0 50%) 0 0 / 6px 6px; opacity: .85; }
.lp-shine { position: absolute; inset: -50%; background: linear-gradient(115deg, transparent 42%, rgba(255,255,255,.22) 50%, transparent 58%); animation: cardShine 4s ease-in-out infinite; pointer-events: none; }
@keyframes cardShine { 0%, 40% { transform: translateX(-60%); } 100% { transform: translateX(60%); } }
.lp-card.back { height: 54px; aspect-ratio: auto; margin-top: -40px; z-index: 1; padding: 0; background: linear-gradient(140deg, #3D3A8C, #262463); transform: scale(.94); }
.lp-card.back.c3 { background: linear-gradient(140deg, #2F5D46, #1D3D2D); transform: scale(.88); margin-top: -44px; z-index: 0; }
.lp-m { position: absolute; z-index: 3; animation: mFloat 7s ease-in-out infinite; }
.lm1 { left: 2%; top: 14%; } .lm2 { right: 4%; top: 8%; animation-delay: -2s; } .lm3 { right: 10%; bottom: 8%; animation-delay: -4s; }
.lp-sticky { position: absolute; z-index: 3; padding: 12px 14px; font: 600 19px/1.1 'Caveat', cursive; color: #3A332D; background: #FFF1A8; box-shadow: 0 14px 24px -14px rgba(30,20,10,.45); translate: calc(var(--px, 0) * 30px) calc(var(--py, 0) * 30px); transition: translate .3s ease-out; animation: noteIn .7s cubic-bezier(.3,1.5,.5,1) backwards; }
.lp-sticky.s1 { left: 0; bottom: 22%; rotate: -6deg; animation-delay: .9s; }
.lp-sticky.s2 { right: -2%; top: 34%; rotate: 5deg; background: #FFE1D2; animation-delay: 1.1s; }
.lp-sticky.s3 { left: 14%; top: 2%; rotate: 3deg; background: #E5DEFF; animation-delay: 1.3s; }

/* Cinta en movimiento */
.lp-marquee { padding: 22px 0; display: grid; gap: 12px; background: #1F1F1F; color: #fff; transform: rotate(-1.5deg); margin: 10px -20px; box-shadow: 0 20px 40px -30px rgba(0,0,0,.6); }
.lp-track { display: flex; gap: 22px; width: max-content; align-items: center; font-size: clamp(18px, 2.4vw, 28px); font-weight: 700; letter-spacing: -.02em; animation: marquee 38s linear infinite; white-space: nowrap; }
.lp-track.rev { animation-direction: reverse; animation-duration: 46s; color: #FFE6C7; font-weight: 500; font-size: clamp(15px, 1.6vw, 19px); }
.lp-track i { font-style: normal; color: #F26B5B; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Cifras */
.lp-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 70px clamp(16px, 6vw, 96px) 10px; max-width: 1400px; margin: 0 auto; }
.lp-stat { background: #fff; border-radius: 28px; padding: 26px; box-shadow: 0 10px 30px -24px rgba(40,20,5,.4); opacity: 0; transform: translateY(24px); transition: opacity .7s, transform .7s cubic-bezier(.2,.8,.2,1); transition-delay: calc(var(--i) * 90ms); }
.lp-stats.in .lp-stat { opacity: 1; transform: none; }
.lp-stat b { font-size: clamp(38px, 4.4vw, 58px); font-weight: 900; letter-spacing: -.04em; display: block; }
.lp-stat:nth-child(1) b { color: #7B6CF6; } .lp-stat:nth-child(2) b { color: #F26B5B; } .lp-stat:nth-child(3) b { color: #2E9A71; } .lp-stat:nth-child(4) b { color: #D98A1E; }
.lp-stat p { color: #77706A; font-size: 14.5px; margin-top: 6px; }

/* Secciones */
.lp-sec { padding: 100px clamp(16px, 6vw, 96px) 40px; max-width: 1400px; margin: 0 auto; }
.lp-eyebrow { font: 600 12px var(--mono); letter-spacing: .2em; text-transform: uppercase; color: #8A847E; }
.lp-h2 { font-size: clamp(34px, 5vw, 64px); font-weight: 900; letter-spacing: -.045em; line-height: 1; margin: 14px 0 0; max-width: 900px; }
.lp-sub { color: #77706A; font-size: 17px; margin-top: 14px; }
[data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity .8s, transform .8s cubic-bezier(.2,.8,.2,1); transition-delay: calc(var(--i, 0) * 110ms); }
[data-reveal].in { opacity: 1; transform: none; }

/* Pasos con línea que se dibuja */
.lp-flow { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 50px; }
.lp-flow-line { position: absolute; left: 6%; right: 6%; top: 98px; height: 3px; background: rgba(29,25,21,.08); border-radius: 3px; overflow: hidden; }
.lp-flow-line i { display: block; height: 100%; background: linear-gradient(90deg, #7B6CF6, #F26B5B, #3BB58A); transform-origin: left; transform: scaleX(var(--fp, 0)); }
.lp-step { position: relative; display: grid; gap: 10px; }
.lp-step-art { height: 196px; border-radius: 32px; display: grid; place-items: end center; overflow: hidden; transition: transform .35s cubic-bezier(.3,1.5,.5,1); }
.lp-step-art .mascot { margin-bottom: -12px; transition: transform .35s cubic-bezier(.3,1.6,.5,1); }
.lp-step:hover .lp-step-art { transform: translateY(-6px) rotate(-1.5deg); }
.lp-step:hover .lp-step-art .mascot { transform: translateY(-14px) scale(1.06); }
.lp-step-n { font: 600 12px var(--mono); color: #8A847E; margin-top: 8px; }
.lp-step h3 { font-size: 26px; font-weight: 800; letter-spacing: -.03em; }
.lp-step p { color: #77706A; font-size: 15px; line-height: 1.5; }

/* Funciones en mosaico */
.lp-bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; }
.lp-feat { padding: 24px; border-radius: 30px; display: grid; gap: 8px; align-content: start; min-height: 260px; border: 0; box-shadow: 0 10px 30px -26px rgba(40,20,5,.5); transition: transform .35s cubic-bezier(.3,1.4,.5,1), box-shadow .35s, opacity .8s; }
.lp-feat:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(40,20,5,.5); }
.lp-feat.big { grid-row: span 2; background-color: #1F1F1F; color: #fff; }
.lp-feat.big p { color: rgba(255,255,255,.7); }
.lp-feat h3 { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.lp-feat p { color: #77706A; font-size: 14.5px; line-height: 1.5; }
.lp-feat-art { height: 140px; display: grid; place-items: center; position: relative; margin-bottom: 6px; }
.lp-feat.big .lp-feat-art { height: 360px; }
.fa-wallet { position: relative; display: grid; place-items: center; }
.fa-phone { width: 170px; height: 300px; border-radius: 30px; background: #2A2825; box-shadow: inset 0 0 0 2px #45413B; display: grid; align-content: start; padding: 40px 14px; gap: 0; }
.fa-pcard { height: 84px; border-radius: 14px; margin-top: -40px; box-shadow: 0 -6px 14px -8px rgba(0,0,0,.5); animation: cardSlide 4.5s ease-in-out infinite; }
.fa-pcard.c1 { background: linear-gradient(140deg, #8E4A26, #5E2C12); margin-top: 0; z-index: 3; animation-delay: 0s; }
.fa-pcard.c2 { background: linear-gradient(140deg, #3D3A8C, #262463); z-index: 2; animation-delay: .25s; }
.fa-pcard.c3 { background: linear-gradient(140deg, #2F5D46, #1D3D2D); z-index: 1; animation-delay: .5s; }
@keyframes cardSlide { 0%, 15% { transform: translateY(-140px); opacity: 0; } 35%, 85% { transform: none; opacity: 1; } 100% { transform: translateY(20px); opacity: 0; } }
.fa-wallet .mascot { position: absolute; right: -54px; bottom: -10px; }
.fa-env { width: 120px; height: 80px; background: #FFE1D2; border-radius: 10px; position: relative; overflow: hidden; animation: envBob 3s ease-in-out infinite; }
.fa-env::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom right, transparent 49%, #F2B9A0 50%, transparent 51%), linear-gradient(to bottom left, transparent 49%, #F2B9A0 50%, transparent 51%); }
.fa-env i { position: absolute; left: 50%; top: 30%; width: 26px; height: 26px; translate: -50% 0; background: #F26B5B; border-radius: 50%; animation: livePing 1.8s infinite; box-shadow: 0 0 0 0 rgba(242,107,91,.6); }
@keyframes envBob { 50% { transform: translateY(-8px) rotate(-3deg); } }
.fa-heart { position: absolute; color: #F26B5B; font-size: 22px; left: 62%; top: 20%; animation: heartUp 2.6s ease-out infinite; }
.fa-heart.h2 { left: 34%; animation-delay: 1.3s; font-size: 16px; }
@keyframes heartUp { from { transform: translateY(30px) scale(.5); opacity: 0; } 30% { opacity: 1; } to { transform: translateY(-40px) scale(1.1); opacity: 0; } }
.fa-cake { position: relative; width: 120px; height: 70px; margin-top: 30px; border-radius: 14px 14px 10px 10px; background: repeating-linear-gradient(180deg, #F8C6E4 0 18px, #FFF1A8 18px 26px); }
.fa-cake i { position: absolute; top: -26px; width: 6px; height: 22px; border-radius: 3px; background: #7B6CF6; }
.fa-cake i:nth-child(1) { left: 26px; } .fa-cake i:nth-child(2) { left: 57px; background: #3BB58A; } .fa-cake i:nth-child(3) { left: 88px; background: #F26B5B; }
.fa-cake i::after { content: ''; position: absolute; left: -3px; top: -14px; width: 12px; height: 14px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; background: #F7A23B; animation: flame .5s ease-in-out infinite alternate; transform-origin: bottom; }
@keyframes flame { to { transform: scaleY(1.25) rotate(6deg); background: #F7C948; } }
.fa-gcard { width: 150px; height: 96px; border-radius: 16px; background: linear-gradient(140deg, #F26B5B, #F7A23B); color: #fff; padding: 14px; display: grid; align-content: space-between; box-shadow: 0 20px 30px -18px rgba(242,107,91,.7); animation: gflip 5s ease-in-out infinite; transform-style: preserve-3d; }
.fa-gcard b { font-size: 26px; font-weight: 900; } .fa-gcard small { font: 600 16px 'Caveat', cursive; }
@keyframes gflip { 0%, 40% { transform: rotateY(0) rotateZ(-4deg); } 50% { transform: rotateY(180deg) rotateZ(4deg); } 60%, 100% { transform: rotateY(360deg) rotateZ(-4deg); } }
.fa-zones { position: relative; width: 100%; height: 100%; border-radius: 20px; background: radial-gradient(circle at 50% 50%, transparent 30%, rgba(29,25,21,.04) 31% 32%, transparent 33% 55%, rgba(29,25,21,.04) 56% 57%, transparent 58%), #F4F1EC; }
.fa-zones i { position: absolute; left: var(--x); top: var(--y); width: calc(28px * var(--s)); height: calc(28px * var(--s)); translate: -50% -50%; border-radius: 50%; background: rgba(123,108,246,.55); animation: zonePulse 2.4s ease-in-out infinite; animation-delay: calc(var(--s) * -1s); }
.fa-zones b { position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; translate: -50% -50%; border-radius: 50%; background: #1F1F1F; box-shadow: 0 0 0 6px rgba(31,31,31,.15); }
@keyframes zonePulse { 50% { transform: scale(1.35); opacity: .7; } }
.fa-shop { position: relative; }
.fa-cart { font-size: 64px; display: block; animation: cartRoll 2.8s ease-in-out infinite; }
@keyframes cartRoll { 0%, 100% { transform: translateX(-30px) rotate(-4deg); } 50% { transform: translateX(30px) rotate(4deg); } }
.fa-dot { position: absolute; top: -6px; right: -26px; background: #3BB58A; color: #fff; font-weight: 800; border-radius: 99px; padding: 4px 10px; animation: plusPop 2.8s ease-in-out infinite; }
@keyframes plusPop { 0%, 40% { transform: scale(0); } 55% { transform: scale(1.25); } 70%, 100% { transform: scale(1); } }

/* Planes */
.lp-toggle { position: relative; display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: #EFE9E1; margin-top: 26px; }
.lp-toggle button { position: relative; z-index: 1; border: 0; background: none; padding: 10px 18px; border-radius: 999px; font: 600 15px var(--font); color: #77706A; cursor: pointer; transition: color .25s; }
.lp-toggle button[aria-pressed="true"] { color: #fff; }
.lp-toggle button small { margin-left: 6px; font-size: 11px; background: #D5F2E3; color: #1E6B4B; padding: 2px 8px; border-radius: 99px; }
.lp-tog-ind { position: absolute; top: 4px; bottom: 4px; left: 4px; border-radius: 999px; background: #1F1F1F; transition: transform .45s cubic-bezier(.3,1.3,.5,1), width .45s; }
.lp-plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 30px; }
.lp-plan { position: relative; background-color: #fff; border-radius: 30px; padding: 28px 24px; display: grid; gap: 12px; align-content: start; box-shadow: 0 10px 30px -26px rgba(40,20,5,.5); animation: obRise .6s backwards; animation-delay: calc(var(--i) * 90ms); }
.lp-plan.hl { background-color: #1F1F1F; color: #fff; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.lp-plan.hl::before { content: ''; position: absolute; inset: -2px; border-radius: 32px; z-index: -1; background: conic-gradient(from var(--ang, 0deg), #7B6CF6, #F26B5B, #F7C948, #3BB58A, #7B6CF6); animation: spinBorder 5s linear infinite; }
@property --ang { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes spinBorder { to { --ang: 360deg; } }
.lp-plan h3 { font-size: 22px; font-weight: 800; }
.lp-tag { color: #8A847E; font-size: 14px; }
.lp-plan.hl .lp-tag, .lp-plan.hl li { color: rgba(255,255,255,.75); }
.lp-price { display: flex; align-items: baseline; gap: 4px; }
.lp-amt { font-size: 44px; font-weight: 900; letter-spacing: -.04em; display: inline-block; }
.lp-amt.flip { animation: amtFlip .5s cubic-bezier(.3,1.4,.5,1); }
@keyframes amtFlip { from { transform: rotateX(90deg) translateY(-10px); opacity: 0; } }
.lp-price small { color: #8A847E; }
.lp-plan ul { list-style: none; padding: 0; margin: 4px 0 8px; display: grid; gap: 8px; }
.lp-plan li { position: relative; padding-left: 26px; font-size: 14.5px; color: #5F5852; }
.lp-plan li::before { content: '✓'; position: absolute; left: 0; top: 0; width: 18px; height: 18px; border-radius: 50%; background: #D5F2E3; color: #1E6B4B; font-size: 11px; display: grid; place-items: center; }
.lp-plan.hl .btn { background: #fff; color: #1F1F1F; }
.lp-flag { position: absolute; top: -12px; left: 24px; background: #F7C948; color: #1F1F1F; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 99px; animation: flagWiggle 3s ease-in-out infinite; }
@keyframes flagWiggle { 0%, 80%, 100% { rotate: 0deg; } 85% { rotate: -6deg; } 90% { rotate: 6deg; } 95% { rotate: -3deg; } }

/* Cierre */
.lp-final { margin: 90px clamp(16px, 4vw, 48px) 0; padding: 120px 20px 70px; border-radius: 48px; background: radial-gradient(60% 80% at 50% 0%, #3A2A22, #1A1410); color: #fff; text-align: center; display: grid; justify-items: center; gap: 14px; position: relative; overflow: hidden; }
.lp-final h2 { font-size: clamp(38px, 6vw, 80px); font-weight: 900; letter-spacing: -.05em; line-height: .95; }
.lp-final p { color: rgba(255,255,255,.7); font-size: 17px; }
.lp-final .btn { background: #fff; color: #1F1F1F; margin-top: 10px; transition: transform .25s cubic-bezier(.3,1.4,.5,1); }
.lp-parade { display: flex; align-items: flex-end; gap: 4px; position: absolute; top: 16px; }
.lp-final.in .lp-parade > span { animation: parade .9s cubic-bezier(.3,1.6,.5,1) backwards; animation-delay: calc(.2s + var(--i) * .1s); }
.lp-final { padding-top: 150px; }
.lp-foot { padding: 34px clamp(16px, 6vw, 96px); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: #8A847E; font: 13px var(--mono); }

@media (max-width: 1023px) {
  .lp-links { display: none; }
  .lp-hero { grid-template-columns: 1fr; text-align: center; padding-top: 110px; gap: 10px; }
  .lp-lead { margin-inline: auto; }
  .lp-btns { justify-content: center; }
  .lp-stage { min-height: 560px; }
  .lp-flow { grid-template-columns: 1fr 1fr; }
  .lp-flow-line { display: none; }
  .lp-bento { grid-template-columns: 1fr 1fr; }
  .lp-feat.big { grid-column: span 2; grid-row: auto; }
  .lp-feat.big .lp-feat-art { height: 320px; }
  .lp-stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .lp-nav { padding: 8px 8px 8px 16px; gap: 8px; }
  .lp-actions .btn.ghost { display: none; }
  .lp-login { padding: 8px 6px; font-size: 14px; }
  .lp-h1 { font-size: clamp(42px, 13vw, 60px); }
  .lp-rot b { font-size: .82em; }
  .lp-stage { min-height: 500px; transform: scale(.86); margin: -30px 0; }
  .lp-sticky.s2 { right: 0; }
  .lp-m.lm1 { left: -6%; }
  .lp-flow, .lp-bento, .lp-stats { grid-template-columns: 1fr; }
  .lp-feat.big { grid-column: auto; }
  .lp-stat { padding: 20px; }
  .lp-sec { padding-top: 70px; }
  .lp-final { border-radius: 32px; margin-inline: 10px; }
  .lp-parade .mascot { width: 54px; }
}
@media (prefers-reduced-motion: reduce) {
  .lp *, .lp *::before, .lp *::after { animation: none !important; }
  [data-reveal], .lp-stat { opacity: 1 !important; transform: none !important; }
  .lp-rot b.on { transform: none; opacity: 1; }
}
.lp-next { background: #fff; border-radius: 16px; padding: 12px 14px; display: grid; gap: 4px; margin-top: 6px; box-shadow: 0 8px 18px -14px rgba(0,0,0,.4); }
.lp-next span { font-size: 11px; color: #8A847E; }
.lp-next b { font-size: 14px; }
.lp-bar { height: 8px; border-radius: 99px; background: #EFEAE3; overflow: hidden; margin-top: 4px; }
.lp-bar i { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, #F7A23B, #F26B5B); transition: width .5s cubic-bezier(.3,1.3,.5,1); }
.lp-feed { display: grid; gap: 6px; }
.lp-fi { display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 8px; background: rgba(255,255,255,.7); border-radius: 12px; padding: 8px 10px; font-size: 12.5px; animation: feedIn .5s cubic-bezier(.3,1.4,.5,1); }
.lp-fi span { width: 28px; height: 28px; border-radius: 8px; background: #FFE6C7; display: grid; place-items: center; font-size: 14px; }
.lp-fi em { font-style: normal; font-size: 11px; color: #9B958F; }
@keyframes feedIn { from { opacity: 0; transform: translateY(-12px) scale(.96); } }
.fa-env { background: #FFC9B0; border: 2px solid #E9967A; }
.fa-env::before { background: linear-gradient(to bottom right, transparent 49%, #E9967A 50%, transparent 52%), linear-gradient(to bottom left, transparent 49%, #E9967A 50%, transparent 52%); }
.fa-cake { background: repeating-linear-gradient(180deg, #F59AC4 0 18px, #F7C948 18px 26px); box-shadow: 0 14px 20px -14px rgba(0,0,0,.4); }
.set-contact { display: grid; gap: 12px; padding: 16px; border-radius: 18px; background: var(--surface-2); }
.set-contact > div:first-child { display: grid; gap: 2px; }
.set-contact small { font-size: 12.5px; }
.set-foot-preview { display: grid; gap: 6px; }
.set-foot-preview .lp-foot { padding: 12px 14px; border-radius: 12px; background: #FBF7F1; font-size: 12px; }
.lp-contact { display: flex; gap: 14px; flex-wrap: wrap; }
.lp-contact a { color: inherit; text-decoration: none; border-bottom: 1px dashed currentColor; }
.lp-contact a:hover { color: var(--ink); }

/* ==========================================================================
   Sitio como «álbum de sellos»: timbres perforados, tinta, boletos, notas a mano
   ========================================================================== */
.lp.album { position: relative; --paper: #FFFDF8; }
.lp-grain { position: fixed; inset: 0; z-index: 70; pointer-events: none; opacity: .09; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }

/* Timbre perforado: los agujeros dejan ver el fondo */
.perf { position: relative; padding: 12px; background: radial-gradient(circle at center, transparent 6.5px, var(--paper) 7px) -12px -12px / 24px 24px round; filter: drop-shadow(0 18px 22px rgba(60,30,10,.16)); }
.perf-in { position: relative; background: var(--paper); height: 100%; }

/* Cursor de sello y tinta */
.has-cursor, .has-cursor * { cursor: none !important; }
.lp-cursor { position: fixed; left: 0; top: 0; z-index: 90; width: 42px; height: 42px; margin: -40px 0 0 -21px; pointer-events: none; transition: opacity .2s; }
.lp-cursor.out { opacity: 0; }
.lp-cursor svg { width: 100%; height: 100%; transform: rotate(-18deg); transform-origin: 50% 90%; transition: transform .25s cubic-bezier(.3,1.5,.5,1); filter: drop-shadow(0 6px 6px rgba(0,0,0,.25)); }
.lp-cursor.hover svg { transform: rotate(0deg) scale(1.3); }
.lp-cursor.press svg { animation: stampPress .3s ease; }
@keyframes stampPress { 50% { transform: rotate(0deg) translateY(8px) scaleY(.82); } }
.lp-inks { position: absolute; inset: 0; z-index: 40; pointer-events: none; overflow: hidden; }
.lp-ink { position: absolute; width: 116px; translate: -50% -50%; rotate: var(--r); opacity: .78; mix-blend-mode: multiply; animation: inkHit .4s cubic-bezier(.2,1.5,.4,1) both; transition: opacity 1.1s; }
.lp-ink.fade { opacity: 0; }
.lp-ink.big { width: min(440px, 84vw); mix-blend-mode: normal; color: #F7C948 !important; opacity: .95; }
.lp-ink.big.fade { opacity: 0; }
@keyframes inkHit { 0% { transform: scale(2.2); opacity: 0; } 100% { transform: scale(1); } }
.pmark { display: block; width: 100%; height: auto; overflow: visible; }

/* Hero */
.lp-ghost { position: absolute; top: 14%; left: 0; z-index: 0; white-space: nowrap; font-size: 21vw; font-weight: 900; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1.5px rgba(29,25,21,.07); transform: translateX(calc(var(--sy, 0) * -0.5px)); pointer-events: none; }
.lp-tape { display: inline-block; padding: 7px 18px; background: rgba(247,201,72,.6); font: 600 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; rotate: -2.5deg; clip-path: polygon(1% 8%, 99% 0, 100% 92%, 0 100%); animation: tapeIn .7s .1s cubic-bezier(.3,1.4,.5,1) backwards; }
@keyframes tapeIn { from { opacity: 0; transform: scaleX(.3) rotate(-10deg); } }
.album .lp-h1 { font-size: clamp(54px, 8.4vw, 124px); line-height: .9; letter-spacing: -.06em; margin-top: 26px; }
.lp-que i { display: inline-block; font: 700 .5em 'Caveat', cursive; letter-spacing: 0; color: #F26B5B; rotate: -10deg; vertical-align: .35em; margin-right: .08em; }
.album .lp-rot { overflow: visible; position: relative; }
.album .lp-rot b { transform: translateY(40%); filter: blur(8px); transition: transform .6s cubic-bezier(.3,1.3,.5,1), opacity .4s, filter .5s; }
.album .lp-rot b.on { transform: none; filter: none; }
.album .lp-rot b.off { transform: translateY(-40%); filter: blur(8px); }
.lp-scrib { position: absolute; left: -5%; top: -14%; width: 110%; height: 128%; fill: none; stroke: #F26B5B; stroke-width: 3; stroke-linecap: round; overflow: visible; pointer-events: none; }
.lp-scrib path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.lp-scrib.draw path { animation: obDraw 1.1s .35s ease forwards; }
.lp-hand { font: 700 24px/1.1 'Caveat', cursive; color: #F26B5B; }
.lp-hand.h1 { margin-top: 22px; rotate: -3deg; color: #7B6CF6; animation: obRise .7s 1.1s backwards; }
.lp-hand.h2 { position: absolute; left: 0; top: 4%; z-index: 4; rotate: -8deg; font-size: 28px; }
.lp-arrow { position: absolute; left: 8%; top: 10%; width: 96px; z-index: 4; fill: none; stroke: #3A332D; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.lp-arrow path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: obDraw 1.2s 1.2s ease forwards; }
.lp-ticket-btn { display: inline-flex; align-items: stretch; text-decoration: none; color: #fff; background: #1F1F1F; border-radius: 14px; transition: transform .3s cubic-bezier(.3,1.5,.5,1);
  -webkit-mask: radial-gradient(circle 9px at 0 50%, #0000 97%, #000) left / 51% 100% no-repeat, radial-gradient(circle 9px at 100% 50%, #0000 97%, #000) right / 51% 100% no-repeat;
  mask: radial-gradient(circle 9px at 0 50%, #0000 97%, #000) left / 51% 100% no-repeat, radial-gradient(circle 9px at 100% 50%, #0000 97%, #000) right / 51% 100% no-repeat; }
.lp-ticket-btn span { padding: 18px 22px 18px 28px; font-weight: 700; font-size: 17px; }
.lp-ticket-btn b { padding: 18px 28px 18px 20px; border-left: 2px dashed rgba(255,255,255,.45); background: #F26B5B; font-weight: 900; font-size: 17px; }
.lp-ticket-btn:hover { transform: rotate(-2.5deg) scale(1.04); }
.lp-link { align-self: center; font-weight: 700; color: var(--ink); text-decoration: none; border-bottom: 2px solid #F26B5B; padding: 4px 0; transition: letter-spacing .3s; }
.lp-link:hover { letter-spacing: .02em; }
.album .lp-btns { align-items: center; gap: 22px; }
.lp-links a b { font: 600 10px var(--mono); color: #F26B5B; margin-right: 4px; }

.lp-bigstamp { --paper: #FFFDF8; padding: 14px; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) rotate(3deg); transition: transform .35s ease-out; animation: bigStampIn 1.1s .2s cubic-bezier(.2,.9,.2,1) backwards; z-index: 2; }
@keyframes bigStampIn { from { opacity: 0; transform: translateY(90px) rotate(14deg) scale(.86); } }
.lp-bigstamp .perf-in { padding: 18px 22px 14px; display: grid; gap: 10px; justify-items: center; outline: 1.5px solid rgba(29,25,21,.14); outline-offset: -8px; }
.lp-bs-top { font: 600 9.5px var(--mono); letter-spacing: .2em; color: #8A847E; }
.lp-bs-foot { width: 100%; display: flex; justify-content: space-between; align-items: baseline; font: 600 11px var(--mono); letter-spacing: .12em; color: #8A847E; }
.lp-bs-foot b { font: 900 34px var(--font); letter-spacing: -.04em; color: #F26B5B; }
.lp-bigstamp .lp-phone { width: 262px; height: 520px; transform: none; animation: none; box-shadow: 0 24px 34px -22px rgba(0,0,0,.55), inset 0 0 0 2px #3A3631; }
.lp-hero-pm { position: absolute; z-index: 3; width: 150px; right: 4%; bottom: 8%; color: #2B3A8C; mix-blend-mode: multiply; opacity: 0; animation: postmark .5s 1.6s cubic-bezier(.2,1.4,.4,1) forwards; }

/* Cinta */
.lp-strip { margin: 30px -20px; padding: 16px 0; background: #FFF1A8; border-block: 2px dashed rgba(29,25,21,.3); rotate: -1.4deg; overflow: hidden; }
.lp-strip .lp-track { font-size: clamp(30px, 4.4vw, 60px); font-weight: 900; letter-spacing: -.045em; color: var(--ink); animation-duration: 34s; }
.lp-strip span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1.6px var(--ink); }
.lp-strip i { font-style: normal; color: #F26B5B; font-size: .6em; }

/* Cifras como etiquetas */
.album .lp-stat { border-radius: 4px; rotate: calc((var(--i) - 1.5) * 1.2deg); background: #fff; border: 1.5px dashed rgba(29,25,21,.16); box-shadow: 0 14px 24px -20px rgba(40,20,5,.5); }

/* Cómo funciona: pasos que corren de lado */
.lp-how-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.lp-how-head .lp-hand { font-size: 30px; rotate: -4deg; }
.lp-how-track { display: grid; gap: 30px; margin-top: 40px; }
.lp-hstep { padding: 12px; rotate: var(--r); transition: rotate .45s cubic-bezier(.3,1.4,.5,1), translate .45s; }
.lp-hstep:hover { rotate: 0deg; translate: 0 -8px; }
.lp-hstep .perf-in { padding: 26px 26px 30px; display: grid; gap: 10px; align-content: start; min-height: 430px; overflow: hidden; outline: 1.5px solid rgba(29,25,21,.12); outline-offset: -8px; }
.lp-hnum { position: absolute; right: 14px; top: -14px; font-size: 160px; font-weight: 900; line-height: 1; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 2px var(--ink-c); opacity: .3; }
.lp-hart { height: 210px; display: grid; place-items: end center; }
.lp-hart .mascot { opacity: 0; transform: translateY(50px) scale(.7); transition: opacity .5s, transform .7s cubic-bezier(.3,1.6,.5,1); }
.lp-hstep.seen .lp-hart .mascot { opacity: 1; transform: none; }
.lp-hstep h3 { font-size: 36px; font-weight: 900; letter-spacing: -.045em; color: var(--ink-c); }
.lp-hstep p { color: #4A443E; font-size: 15.5px; line-height: 1.5; max-width: 320px; }
.lp-hand.hn { position: absolute; right: 22px; bottom: 14px; rotate: -6deg; color: var(--ink-c); }
.lp-hend { display: grid; gap: 8px; align-content: center; }
.lp-hend b { font-size: clamp(34px, 4vw, 52px); font-weight: 900; letter-spacing: -.05em; }
.lp-hend span { font: 700 38px 'Caveat', cursive; color: #F26B5B; rotate: -4deg; justify-self: start; }
.lp-how-bar { display: none; }
@media (min-width: 1024px) {
  .lp-how { height: 330vh; position: relative; }
  .lp-how-pin { position: sticky; top: 0; height: 100vh; overflow: hidden; display: grid; grid-template-rows: auto 1fr auto; padding: 100px 0 34px; }
  .lp-how-head { padding: 0 clamp(16px, 6vw, 96px); }
  .lp-how-track { display: flex; align-items: center; gap: 44px; width: max-content; padding: 0 clamp(16px, 6vw, 96px); margin-top: 10px; will-change: transform; }
  .lp-hstep { flex: 0 0 auto; width: 400px; }
  .lp-hend { flex: 0 0 auto; width: 360px; padding-right: 60px; }
  .lp-how-bar { display: block; margin: 0 clamp(16px, 6vw, 96px); height: 3px; border-radius: 3px; background: rgba(29,25,21,.08); overflow: hidden; }
  .lp-how-bar i { display: block; height: 100%; background: linear-gradient(90deg, #7B6CF6, #F26B5B, #3BB58A); transform-origin: left; transform: scaleX(0); }
}
@media (max-width: 1023px) {
  .lp-how { padding: 90px clamp(16px, 6vw, 96px) 20px; }
  .lp-how-track { grid-template-columns: 1fr 1fr; }
}

/* El álbum */
.lp-album { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 30px; margin-top: 54px; }
.lp-fstamp { padding: 12px; rotate: var(--r); transition: rotate .45s cubic-bezier(.3,1.4,.5,1), translate .45s, scale .45s; }
.lp-fstamp[data-reveal] { transform: none; transition: rotate .45s cubic-bezier(.3,1.4,.5,1), translate .45s, scale .45s, opacity .3s; }
.lp-fstamp.in { animation: stampDrop .9s cubic-bezier(.3,1.3,.5,1) backwards; animation-delay: calc(var(--i) * .1s); }
.lp-fstamp:hover { rotate: 0deg; translate: 0 -8px; scale: 1.02; z-index: 2; }
.lp-fstamp.big { grid-row: span 2; }
.lp-fstamp .perf-in { padding: 22px; display: grid; gap: 8px; align-content: start; color: var(--fg, var(--ink)); outline: 1.5px solid rgba(29,25,21,.12); outline-offset: -8px; }
.lp-fstamp.big .perf-in { outline-color: rgba(255,255,255,.15); }
.lp-fstamp h3 { font-size: 24px; font-weight: 900; letter-spacing: -.03em; }
.lp-fstamp p { font-size: 14.5px; line-height: 1.5; opacity: .75; }
.lp-fval { justify-self: end; font: 900 30px var(--font); letter-spacing: -.04em; opacity: .9; }
.lp-fstamp .lp-feat-art { height: 150px; }
.lp-fstamp.big .lp-feat-art { height: 380px; }
.lp-fpm { position: absolute; z-index: 3; width: 100px; right: -20px; top: -24px; color: #2B3A8C; mix-blend-mode: multiply; opacity: 0; pointer-events: none; }
.lp-fstamp.in .lp-fpm { animation: postmark .45s cubic-bezier(.2,1.4,.4,1) forwards; animation-delay: calc(.55s + var(--i) * .12s); }
.lp-fstamp.big .lp-fpm { color: #F7C948; mix-blend-mode: normal; }

/* Planes como boletos */
.lp-ticket { position: relative; display: grid; grid-template-rows: 1fr auto; rotate: var(--r); transition: rotate .45s cubic-bezier(.3,1.4,.5,1), translate .45s; filter: drop-shadow(0 18px 24px rgba(40,20,5,.16)); animation: obRise .6s backwards; animation-delay: calc(var(--i) * 90ms); }
.lp-ticket:hover { rotate: 0deg; translate: 0 -8px; }
.lp-tk-main, .lp-tk-stub { background: #fff; padding: 26px 24px; }
.lp-tk-main { border-radius: 22px 22px 0 0; display: grid; gap: 10px; align-content: start;
  -webkit-mask: radial-gradient(circle 14px at 0 100%, #0000 97%, #000) left / 51% 100% no-repeat, radial-gradient(circle 14px at 100% 100%, #0000 97%, #000) right / 51% 100% no-repeat;
  mask: radial-gradient(circle 14px at 0 100%, #0000 97%, #000) left / 51% 100% no-repeat, radial-gradient(circle 14px at 100% 100%, #0000 97%, #000) right / 51% 100% no-repeat; }
.lp-tk-stub { border-radius: 0 0 22px 22px; border-top: 2px dashed rgba(29,25,21,.18);
  -webkit-mask: radial-gradient(circle 14px at 0 0, #0000 97%, #000) left / 51% 100% no-repeat, radial-gradient(circle 14px at 100% 0, #0000 97%, #000) right / 51% 100% no-repeat;
  mask: radial-gradient(circle 14px at 0 0, #0000 97%, #000) left / 51% 100% no-repeat, radial-gradient(circle 14px at 100% 0, #0000 97%, #000) right / 51% 100% no-repeat; }
.lp-tk-no, .lp-tk-code { font: 600 10px var(--mono); letter-spacing: .22em; color: #9B958F; }
.lp-tk-code { display: block; text-align: center; margin-top: 12px; }
.lp-tk-code::before { content: ''; display: block; width: 70%; height: 28px; margin: 0 auto 6px; background: repeating-linear-gradient(90deg, #1F1F1F 0 2px, transparent 2px 4px, #1F1F1F 4px 5px, transparent 5px 8px, #1F1F1F 8px 11px, transparent 11px 13px); opacity: .85; }
.lp-ticket h3 { font-size: 26px; font-weight: 900; letter-spacing: -.03em; }
.lp-ticket ul { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 8px; }
.lp-ticket li { position: relative; padding-left: 26px; font-size: 14.5px; color: #5F5852; }
.lp-ticket li::before { content: '✓'; position: absolute; left: 0; top: 0; width: 18px; height: 18px; border-radius: 50%; background: #D5F2E3; color: #1E6B4B; font-size: 11px; display: grid; place-items: center; }
.lp-ticket.hl .lp-tk-main, .lp-ticket.hl .lp-tk-stub { background: #1F1F1F; color: #fff; }
.lp-ticket.hl .lp-tk-stub { border-top-color: rgba(255,255,255,.25); }
.lp-ticket.hl li, .lp-ticket.hl .lp-tag { color: rgba(255,255,255,.75); }
.lp-ticket.hl .lp-tk-code::before { background: repeating-linear-gradient(90deg, #fff 0 2px, transparent 2px 4px, #fff 4px 5px, transparent 5px 8px, #fff 8px 11px, transparent 11px 13px); }
.lp-ticket.hl .btn { background: #F7C948; color: #1F1F1F; }
.lp-ticket .lp-flag { z-index: 2; }

/* Cierre: un sello que se presiona */
.lp-press { display: grid; justify-items: center; gap: 12px; margin-top: 18px; color: #fff; text-decoration: none; }
.lp-press-top { width: 116px; height: 116px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle, rgba(247,201,72,.25), rgba(255,255,255,.04) 70%); animation: pressHint 2.6s ease-in-out infinite; transition: transform .25s; }
.lp-press-top svg { width: 78px; height: 78px; }
@keyframes pressHint { 0%, 70%, 100% { transform: none; } 80% { transform: translateY(10px) scaleY(.9); } }
.lp-press:hover .lp-press-top { transform: translateY(-6px) rotate(-10deg); animation: none; }
.lp-press.down .lp-press-top { animation: pressDown .4s ease forwards; }
@keyframes pressDown { 50% { transform: translateY(30px) scaleY(.82); } 100% { transform: none; } }
.lp-press-label { font-weight: 700; font-size: 17px; border-bottom: 2px dashed rgba(255,255,255,.45); padding-bottom: 4px; }
.lp-final.thump { animation: thump .35s ease; }

@media (max-width: 1023px) {
  .lp-album { grid-template-columns: 1fr 1fr; }
  .lp-fstamp.big { grid-column: span 2; grid-row: auto; }
  .lp-fstamp.big .lp-feat-art { height: 320px; }
  .lp-hand.h2, .lp-arrow { display: none; }
}
@media (max-width: 640px) {
  .album .lp-h1 { font-size: clamp(50px, 15vw, 72px); }
  .lp-que i { font-size: .45em; }
  .lp-bigstamp .lp-phone { width: 240px; height: 480px; }
  .lp-hero-pm { width: 110px; right: 0; }
  .lp-how-track, .lp-album { grid-template-columns: 1fr; }
  .lp-fstamp.big { grid-column: auto; }
  .lp-hstep .perf-in { min-height: 380px; }
  .lp-hnum { font-size: 120px; }
  .lp-ticket-btn span, .lp-ticket-btn b { padding-block: 16px; font-size: 16px; }
  .album .lp-btns { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .lp-fpm, .lp-hero-pm { opacity: .75 !important; }
  .lp-hart .mascot { opacity: 1 !important; transform: none !important; }
  .lp-scrib path, .lp-arrow path { stroke-dashoffset: 0 !important; }
}
.album .lp-que { white-space: nowrap; }
.album .lp-rot { font-size: .74em; vertical-align: baseline; }
.album .lp-scrib { left: -4%; width: 108%; }
@media (max-width: 640px) { .album .lp-que { white-space: normal; } .album .lp-rot { font-size: .8em; } }
.lp-how-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 10px 20px; }
.lp-how-head .lp-eyebrow { grid-column: 1 / -1; }
.lp-how-head .lp-h2 { margin: 0; }
@media (max-width: 1023px) { .lp-how-head { grid-template-columns: 1fr; } .lp-how-head .lp-hand.h3 { display: none; } }

/* Ilustración «Escanean y vive en su Wallet»: mano, teléfono y QR */
.lp-fstamp.big .perf-in { padding: 0 0 22px; outline-color: rgba(29,25,21,.14); }
.lp-fstamp.big .perf-in > :not(.lp-feat-art) { margin-inline: 22px; }
.lp-fstamp.big .lp-fval { position: absolute; top: 16px; right: 0; z-index: 2; color: #fff; text-shadow: 0 2px 0 rgba(27,79,107,.35); }
.lp-fstamp.big .lp-feat-art { height: auto; margin: 0 0 10px; display: block; overflow: hidden; }
.lp-fstamp.big .lp-fpm { color: #1B3F8C; mix-blend-mode: multiply; }
.fa-scan { display: block; width: 100%; height: auto; }
.fa-scan .bgq { animation: bgq 4.5s ease-in-out infinite; animation-delay: var(--d); }
@keyframes bgq { 50% { opacity: .35; } }
.fa-scan .qh { transform-box: view-box; transform-origin: 230px 440px; animation: qhFloat 5s ease-in-out infinite; }
@keyframes qhFloat { 0%, 100% { transform: translateY(0) rotate(-1.5deg); } 50% { transform: translateY(-10px) rotate(1.5deg); } 60% { transform: translateY(-12px) rotate(0deg) scale(1.01); } }
.fa-scan .qline { animation: qline 5s ease-in-out infinite; }
@keyframes qline { 0% { transform: translateY(2px); opacity: 1; } 25% { transform: translateY(124px); } 50% { transform: translateY(2px); opacity: 1; } 54%, 92% { transform: translateY(2px); opacity: 0; } 100% { transform: translateY(2px); opacity: 1; } }
.fa-scan .qframe { transform-box: fill-box; transform-origin: center; animation: qframe 5s ease-in-out infinite; }
@keyframes qframe { 0%, 50% { transform: scale(1); opacity: 1; } 55% { transform: scale(.92); stroke: #3BB58A; } 62%, 90% { transform: scale(1); opacity: .25; } 100% { opacity: 1; } }
.fa-scan .qcode { transform-box: fill-box; transform-origin: center; animation: qcode 5s ease-in-out infinite; }
@keyframes qcode { 0%, 52% { opacity: 1; filter: none; } 58%, 90% { opacity: .18; filter: blur(1.5px); } 100% { opacity: 1; } }
.fa-scan .qok { transform-box: fill-box; transform-origin: center; animation: qok 5s cubic-bezier(.3,1.6,.5,1) infinite; }
@keyframes qok { 0%, 53% { transform: scale(0); opacity: 0; } 62% { transform: scale(1.12); opacity: 1; } 68%, 88% { transform: scale(1); opacity: 1; } 95%, 100% { transform: scale(.6); opacity: 0; } }
.fa-scan .qchip { transform-box: fill-box; transform-origin: center; animation: qchip 5s cubic-bezier(.3,1.5,.5,1) infinite; }
@keyframes qchip { 0%, 60% { transform: translateY(30px); opacity: 0; } 68%, 88% { transform: none; opacity: 1; } 96%, 100% { transform: translateY(-10px); opacity: 0; } }
.fa-scan .qbtn { transform-box: fill-box; transform-origin: center; animation: qbtn 5s ease-in-out infinite; }
@keyframes qbtn { 0%, 44%, 100% { transform: none; } 48% { transform: scale(.92); } 52% { transform: scale(1.04); } }
.fa-scan .qring { transform-box: fill-box; transform-origin: center; animation: qring 2.5s ease-out infinite; }
@keyframes qring { 0% { transform: scale(1); opacity: .8; } 80%, 100% { transform: scale(1.35, 1.7); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .fa-scan * { animation: none !important; } .fa-scan .qok, .fa-scan .qchip { opacity: 0; } }
.lp-fstamp.big .perf-in { display: flex; flex-direction: column; }
.lp-fstamp.big .lp-feat-art { flex: 1 1 auto; min-height: 380px; position: relative; }
.lp-fstamp.big .fa-scan { position: absolute; inset: 0; width: 100%; height: 100%; }

/* «Escanean y vive en su Wallet» con la imagen de las manos y el escaneo animado encima */
.lp-fstamp.big .lp-feat-art { display: flex; align-items: center; justify-content: center; background: #fff; }
.lp-fstamp.big .fa-scan { position: relative; inset: auto; width: 100%; max-width: 520px; height: auto; aspect-ratio: 1; animation: sqFloat 6s ease-in-out infinite; }
.lp-fstamp.big .lp-fval { color: #F26B75; text-shadow: none; }
.fa-scan img { display: block; width: 100%; height: 100%; object-fit: contain; user-select: none; -webkit-user-drag: none; }
@keyframes sqFloat { 50% { transform: translateY(-8px) rotate(.6deg); } }
.fa-scan > span, .fa-scan > svg { position: absolute; pointer-events: none; }
/* Rayo del QR impreso al teléfono */
.sq-beam { inset: 0; width: 100%; height: 100%; overflow: visible; }
.sq-beam path { fill: none; stroke: #7B6CF6; stroke-width: .9; stroke-linecap: round; stroke-dasharray: .06 .05; animation: sqBeam 5s linear infinite; }
.fa-scan .sq-beam path { stroke-width: .7; }
@keyframes sqBeam { 0% { stroke-dashoffset: 1; opacity: 0; } 6%, 44% { opacity: 1; } 50%, 100% { stroke-dashoffset: 0; opacity: 0; } }
/* Línea de escaneo sobre el QR de la pantalla */
.sq-scan { left: 41.6%; top: 22.8%; width: 19.4%; height: 20%; overflow: hidden; border-radius: 6px; }
.sq-scan i { position: absolute; left: 4%; right: 4%; top: 0; height: 3px; border-radius: 2px; background: #7B6CF6; box-shadow: 0 0 10px 3px rgba(123,108,246,.55), 0 -14px 18px rgba(123,108,246,.22); animation: sqScan 5s ease-in-out infinite; }
@keyframes sqScan { 0% { top: 4%; opacity: 1; } 22% { top: 94%; } 44% { top: 4%; opacity: 1; } 48%, 100% { top: 4%; opacity: 0; } }
/* El dedo toca SCAN */
.sq-btn { left: 42.8%; top: 49.6%; width: 15.6%; height: 5.8%; border-radius: 10px; box-shadow: 0 0 0 0 rgba(242,107,117,.7); animation: sqBtn 5s ease-out infinite; }
@keyframes sqBtn { 0%, 44% { box-shadow: 0 0 0 0 rgba(242,107,117,0); background: transparent; } 47% { box-shadow: 0 0 0 0 rgba(242,107,117,.7); background: rgba(160,30,40,.18); } 60%, 100% { box-shadow: 0 0 0 18px rgba(242,107,117,0); background: transparent; } }
.sq-tap { left: 43.9%; top: 57.6%; width: 7%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; border: 3px solid rgba(255,255,255,.95); opacity: 0; animation: sqTap 5s ease-out infinite; }
@keyframes sqTap { 0%, 44% { opacity: 0; transform: scale(.3); } 47% { opacity: 1; transform: scale(.6); } 58%, 100% { opacity: 0; transform: scale(1.9); } }
/* Palomita y sello */
.sq-ok { left: 51.3%; top: 32.8%; width: 13%; aspect-ratio: 1; translate: -50% -50%; opacity: 0; animation: sqOk 5s cubic-bezier(.3,1.6,.5,1) infinite; }
.sq-ok svg { width: 100%; height: 100%; filter: drop-shadow(0 6px 10px rgba(30,107,75,.35)); }
.sq-ok circle { fill: #3BB58A; }
.sq-ok path { fill: none; stroke: #fff; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: sqCheck 5s ease infinite; }
@keyframes sqOk { 0%, 50% { opacity: 0; transform: scale(.2); } 58% { opacity: 1; transform: scale(1.15); } 63%, 86% { opacity: 1; transform: scale(1); } 94%, 100% { opacity: 0; transform: scale(.7); } }
@keyframes sqCheck { 0%, 55% { stroke-dashoffset: 40; } 66%, 100% { stroke-dashoffset: 0; } }
.sq-chip { left: 51%; top: 7%; translate: -50% 0; background: #1F1F1F; color: #fff; font: 700 clamp(11px, 1vw, 14px) var(--font); padding: 6px 12px; border-radius: 999px; white-space: nowrap; opacity: 0; box-shadow: 0 10px 18px -10px rgba(0,0,0,.6); animation: sqChip 5s cubic-bezier(.3,1.5,.5,1) infinite; }
@keyframes sqChip { 0%, 58% { opacity: 0; transform: translateY(16px) scale(.8); } 66%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: translateY(-10px); } }
.sq-spark { color: #fff; font-size: clamp(12px, 1.4vw, 18px); text-shadow: 0 0 6px rgba(255,255,255,.9), 0 0 2px rgba(0,0,0,.25); translate: -50% -50%; animation: sqSpark 2.2s ease-in-out infinite; }
.sq-spark.s1 { left: 56.6%; top: 50.4%; }
.sq-spark.s2 { left: 59.4%; top: 83.6%; animation-delay: .7s; }
.sq-spark.s3 { left: 7%; top: 12%; color: #7B6CF6; text-shadow: none; animation-delay: 1.3s; }
@keyframes sqSpark { 0%, 100% { transform: scale(.4) rotate(0deg); opacity: .2; } 50% { transform: scale(1.2) rotate(45deg); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .fa-scan, .fa-scan * { animation: none !important; } .sq-ok, .sq-chip, .sq-tap { opacity: 0 !important; } }
@media (min-width: 1024px) {
  .lp-fstamp.big { grid-column: span 2; grid-row: span 2; }
  .lp-fstamp.big .perf-in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; gap: 0 10px; padding: 0 28px 0 0; }
  .lp-fstamp.big .lp-feat-art { grid-row: 1 / span 3; min-height: 0; margin: 0; }
  .lp-fstamp.big .fa-scan { max-width: 600px; }
  .lp-fstamp.big h3 { font-size: clamp(30px, 2.8vw, 42px); line-height: 1.02; align-self: end; }
  .lp-fstamp.big p { font-size: 16px; align-self: start; }
  .lp-fstamp.big .perf-in > :not(.lp-feat-art) { margin-inline: 0; }
  .lp-fstamp.big .lp-fval { top: 22px; right: 28px; font-size: 40px; }
}
@media (min-width: 1024px) {
  .lp-fstamp.big .perf-in { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); grid-template-rows: 1fr auto auto 1fr; align-items: stretch; height: 100%; }
  .lp-fstamp.big .lp-feat-art { grid-column: 1; grid-row: 1 / -1; align-self: center; }
  .lp-fstamp.big h3 { grid-column: 2; grid-row: 2; }
  .lp-fstamp.big p { grid-column: 2; grid-row: 3; margin-top: 10px; }
  .lp-fstamp.big .fa-scan { max-width: 640px; }
}

/* Mano que toca SCAN (capa aparte) */
.fa-scan .sq-hand { position: absolute; inset: 0; z-index: 2; transform-origin: 25% 100%; animation: sqHand 5s cubic-bezier(.45,.05,.3,1) infinite; filter: drop-shadow(0 10px 12px rgba(120,60,30,.18)); }
@keyframes sqHand {
  0% { transform: rotate(-3deg) scale(.97); }
  18% { transform: rotate(-1.5deg) scale(.985); }
  36% { transform: rotate(-3deg) scale(.97); }
  44% { transform: rotate(3deg) scale(1.065); }
  47% { transform: rotate(3deg) scale(1.05) translateY(3px); }
  56% { transform: rotate(-1deg) scale(.99); }
  100% { transform: rotate(-3deg) scale(.97); }
}
.fa-scan .sq-tap { left: 47.2%; top: 54.2%; z-index: 3; }
.fa-scan .sq-chip, .fa-scan .sq-spark { z-index: 3; }
.fa-scan .sq-btn { left: 42.8%; top: 49.6%; }

/* Botones de Wallet y la tarjeta que vuela hacia ellos */
.lp-wb { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.wb { position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 12px; border-radius: 12px; background: #000; color: #fff; overflow: hidden; isolation: isolate; box-shadow: 0 10px 20px -14px rgba(0,0,0,.7); transition: transform .3s cubic-bezier(.3,1.5,.5,1); }
.wb > span { display: grid; line-height: 1.05; font-weight: 600; font-size: 16px; letter-spacing: -.01em; }
.wb small { font-size: 10.5px; font-weight: 500; opacity: .8; letter-spacing: 0; }
.wb-g { background: #1F1F1F; }
.wb::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.28) 50%, transparent 65%); transform: translateX(-120%); animation: wbShine 3.2s ease-in-out infinite; }
.wb-g::before { animation-delay: 1.6s; }
@keyframes wbShine { 0%, 55% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.wb::after { content: ''; position: absolute; inset: -2px; z-index: -2; border-radius: 14px; background: conic-gradient(from var(--ang, 0deg), #4285F4, #EA4335, #FBBC05, #34A853, #4285F4); opacity: 0; }
.wb:hover { transform: translateY(-3px) rotate(-1.5deg); }
.wb-ok { position: absolute; inset: 0; display: grid; place-items: center; background: #3BB58A; color: #fff; font: 800 15px var(--font); font-style: normal; transform: translateY(100%); }
.wb-a { animation: wbRecvA 10s ease infinite; }
.wb-g { animation: wbRecvG 10s ease infinite; }
.wb-a .wb-ok { animation: wbOkA 10s cubic-bezier(.3,1.4,.5,1) infinite; }
.wb-g .wb-ok { animation: wbOkG 10s cubic-bezier(.3,1.4,.5,1) infinite; }
@keyframes wbRecvA { 0%, 39%, 50%, 100% { transform: none; box-shadow: 0 10px 20px -14px rgba(0,0,0,.7); } 41% { transform: scale(1.12) rotate(-3deg); box-shadow: 0 0 0 6px rgba(59,181,138,.35), 0 18px 30px -14px rgba(0,0,0,.7); } 45% { transform: scale(1); } }
@keyframes wbRecvG { 0%, 89%, 100% { transform: none; box-shadow: 0 10px 20px -14px rgba(0,0,0,.7); } 91% { transform: scale(1.12) rotate(3deg); box-shadow: 0 0 0 6px rgba(66,133,244,.35), 0 18px 30px -14px rgba(0,0,0,.7); } 95% { transform: scale(1); } }
@keyframes wbOkA { 0%, 40% { transform: translateY(100%); } 43%, 56% { transform: none; } 60%, 100% { transform: translateY(-100%); } }
@keyframes wbOkG { 0%, 90% { transform: translateY(100%); } 93%, 99% { transform: none; } 100% { transform: translateY(-100%); } }
.wfly { position: absolute; left: 0; top: 0; z-index: 5; width: 74px; height: 46px; margin: -23px 0 0 -37px; border-radius: 8px; padding: 6px 7px; background: linear-gradient(140deg, #8E4A26, #5E2C12); color: #fff; display: grid; grid-template-columns: repeat(4, 1fr); align-content: space-between; gap: 3px; box-shadow: 0 10px 18px -8px rgba(70,30,10,.6); opacity: 0; pointer-events: none; }
.wfly b { grid-column: 1 / -1; font-size: 8px; font-weight: 800; letter-spacing: .02em; white-space: nowrap; }
.wfly i { aspect-ratio: 1; border-radius: 50%; background: #FFE6C7; }
.wfa { animation: flyA 10s cubic-bezier(.5,0,.3,1) infinite; }
.wfg { animation: flyG 10s cubic-bezier(.5,0,.3,1) infinite; background: linear-gradient(140deg, #3D3A8C, #262463); }
@keyframes flyA {
  0%, 30% { opacity: 0; transform: translate(var(--sx), var(--sy)) scale(.3) rotate(0deg); }
  32% { opacity: 1; transform: translate(var(--sx), var(--sy)) scale(1) rotate(-8deg); }
  36% { transform: translate(calc((var(--sx) + var(--ax)) / 2), calc((var(--sy) + var(--ay)) / 2 - 90px)) scale(1.15) rotate(12deg); }
  40% { opacity: 1; transform: translate(var(--ax), var(--ay)) scale(.55) rotate(0deg); }
  42%, 100% { opacity: 0; transform: translate(var(--ax), var(--ay)) scale(.2); }
}
@keyframes flyG {
  0%, 80% { opacity: 0; transform: translate(var(--sx), var(--sy)) scale(.3) rotate(0deg); }
  82% { opacity: 1; transform: translate(var(--sx), var(--sy)) scale(1) rotate(8deg); }
  86% { transform: translate(calc((var(--sx) + var(--gx)) / 2), calc((var(--sy) + var(--gy)) / 2 - 90px)) scale(1.15) rotate(-12deg); }
  90% { opacity: 1; transform: translate(var(--gx), var(--gy)) scale(.55) rotate(0deg); }
  92%, 100% { opacity: 0; transform: translate(var(--gx), var(--gy)) scale(.2); }
}

/* Último timbre: espacio para el sello del próximo cliente */
.fa-cta { display: grid; grid-template-columns: repeat(4, 44px); gap: 12px; justify-content: center; align-content: center; height: 100%; }
.fa-cta i { width: 44px; height: 44px; border-radius: 50%; border: 2.5px dashed rgba(29,25,21,.25); animation: ctaDot 4s ease-in-out infinite; animation-delay: calc(var(--i) * .25s); }
.fa-cta i:nth-child(-n+3) { background: #F26B5B; border: 0; }
@keyframes ctaDot { 50% { transform: scale(1.1); border-color: #F26B5B; } }
.lp-fstamp.cta .perf-in { outline-style: dashed; }
.lp-fstamp.cta .lp-hand.hc { position: absolute; right: 22px; bottom: 18px; rotate: -6deg; }
.lp-fstamp.cta .lp-link { justify-self: start; margin-top: 6px; }

/* Más chico: 2 columnas × 1 fila en computadora */
@media (min-width: 1024px) {
  .lp-fstamp.big { grid-column: span 2; grid-row: auto; }
  .lp-fstamp.big .perf-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: 1fr auto auto auto 1fr; padding: 0 26px 0 0; }
  .lp-fstamp.big .lp-feat-art { grid-row: 1 / -1; }
  .lp-fstamp.big .fa-scan { max-width: 400px; }
  .lp-fstamp.big h3 { font-size: clamp(26px, 2.3vw, 34px); }
  .lp-fstamp.big p { font-size: 15px; }
  .lp-fstamp.big .lp-wb { grid-column: 2; grid-row: 4; }
  .lp-fstamp.cta { grid-column: span 2; }
  .lp-fstamp.cta .perf-in { grid-template-columns: auto 1fr; display: grid; align-items: center; column-gap: 26px; }
  .lp-fstamp.cta .lp-feat-art { grid-row: 1 / span 4; height: auto; min-width: 230px; }
  .lp-fstamp.cta .lp-fval { position: absolute; top: 16px; right: 22px; }
}
@media (max-width: 1023px) { .lp-fstamp.big .fa-scan { max-width: 420px; } .lp-fstamp.cta { grid-column: span 2; } }
@media (max-width: 640px) { .lp-fstamp.cta { grid-column: auto; } .lp-wb { justify-content: flex-start; } }
@media (prefers-reduced-motion: reduce) { .wfly { display: none; } .wb, .wb *, .sq-hand { animation: none !important; } .wb-ok { display: none; } }

/* ==========================================================================
   Sitio (/) — sistema profesional (tokens en replica/design/tokens.json)
   ========================================================================== */
.cx { --c-bg: #FCFBF8; --c-surface: #FFFFFF; --c-surface-2: #F4F1EC; --c-border: #E7E2DA; --c-text: #1D1915; --c-muted: #5F5852; --c-accent: #C23B2F; --c-ink: #1D1915; --c-on-ink: #FCFBF8;
  --r-sm: 8px; --r-md: 16px; --r-lg: 24px; --r-xl: 40px; --sh-card: 0 1px 2px rgba(29,25,21,.05), 0 8px 24px -12px rgba(29,25,21,.18); --sh-pop: 0 30px 60px -30px rgba(29,25,21,.35);
  --ease: cubic-bezier(.2,.8,.2,1); --max: 1200px; --gut: clamp(16px, 4vw, 40px);
  background: var(--c-bg); color: var(--c-text); font-family: Geist, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; overflow-x: clip; }
.cx a { color: inherit; }
.cx-wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.cx :focus-visible { outline: 2px solid var(--c-accent); outline-offset: 3px; border-radius: 6px; }

/* Aviso */
.cx-banner { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 40px; padding: 6px 44px; background: var(--c-surface-2); font-size: 14px; font-weight: 500; position: relative; text-align: center; }
.cx-banner > span:first-child { color: var(--c-accent); display: grid; }
.cx-pill { padding: 3px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--c-border); font-size: 12.5px; text-decoration: none; white-space: nowrap; transition: background .2s; }
.cx-pill:hover { background: var(--c-ink); color: #fff; }
.cx-banner-x { position: absolute; right: 12px; top: 50%; translate: 0 -50%; border: 0; background: none; padding: 6px; cursor: pointer; color: var(--c-muted); display: grid; }

/* Menú */
.cx-nav { position: sticky; top: 0; z-index: 40; background: rgba(252,251,248,.85); backdrop-filter: blur(12px) saturate(1.3); transition: box-shadow .3s; }
.cx-nav.solid { box-shadow: 0 1px 0 var(--c-border), 0 8px 24px -18px rgba(29,25,21,.35); }
.cx-nav-in { height: 72px; display: flex; align-items: center; gap: 28px; }
.cx-brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 22px; letter-spacing: -.03em; text-decoration: none; }
.cx-brand i, .cx-foot-brand i { font-style: normal; color: var(--c-accent); }
.cx-logo { width: 30px; height: 30px; border-radius: 9px; background: var(--c-ink); display: grid; place-items: center; padding: 5px; }
.cx-logo svg { width: 100%; height: 100%; }
.cx-links { display: flex; gap: 2px; }
.cx-links a { padding: 8px 12px; border-radius: 10px; font-size: 14px; font-weight: 500; text-decoration: none; transition: background .2s; }
.cx-links a:hover { background: var(--c-surface-2); }
.cx-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.cx-text { font-size: 14px; font-weight: 500; text-decoration: none; padding: 8px 6px; }
.cx-text:hover { text-decoration: underline; }

/* Botones */
.cx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 20px; border-radius: var(--r-md); font: 500 15px/1 Geist, system-ui, sans-serif; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; white-space: nowrap; transition: transform .2s var(--ease), box-shadow .2s, background .2s, color .2s; position: relative; overflow: hidden; }
.cx-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 20px -12px rgba(29,25,21,.5); }
.cx-btn:active { transform: none; }
.cx-btn.solid { background: var(--c-ink); color: var(--c-on-ink); }
.cx-btn.outline { border-color: var(--c-ink); background: transparent; }
.cx-btn.outline:hover { background: var(--c-ink); color: var(--c-on-ink); }
.cx-btn.light { background: #fff; color: var(--c-text); box-shadow: 0 2px 6px rgba(0,0,0,.08); }
.cx-btn.light svg { color: var(--c-accent); }
.cx-btn.ghost { background: transparent; }
.cx-btn.sm { height: 40px; padding: 0 14px; font-size: 14px; }
.cx-btn.block { width: 100%; }
.cx-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 3px; margin-top: 18px; }
.cx-link svg { transition: transform .25s var(--ease); }
.cx-link:hover svg { transform: translateX(4px); }

/* Hero */
.cx-hero-wrap { padding: 0 12px; }
.cx-hero { position: relative; border-radius: var(--r-xl); overflow: hidden; padding: 96px var(--gut) 190px; text-align: center; color: #fff;
  background: radial-gradient(60% 70% at 20% 10%, #8E3C5A, transparent 70%), radial-gradient(60% 80% at 85% 20%, #C2533F, transparent 70%), radial-gradient(80% 70% at 50% 100%, #F7A86A, transparent 70%), linear-gradient(160deg, #7C3350, #C2533F 55%, #F2A46B); }
.cx-hero-glow { position: absolute; inset: -30%; background: conic-gradient(from 0deg at 50% 50%, rgba(255,255,255,0), rgba(255,214,170,.35), rgba(255,255,255,0) 40%); animation: heroSpin 18s linear infinite; pointer-events: none; mix-blend-mode: soft-light; }
@keyframes heroSpin { to { transform: rotate(360deg); } }
.cx-hero-copy { position: relative; max-width: 860px; margin: 0 auto; }
.cx-h1 { font-size: clamp(40px, 6.2vw, 76px); line-height: 1.06; font-weight: 500; letter-spacing: -.035em; margin: 0; text-wrap: balance; }
.cx-lead { font-size: clamp(16px, 1.4vw, 19px); line-height: 1.55; max-width: 640px; margin: 22px auto 30px; color: rgba(255,255,255,.92); }
.cx-hero-btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.cx-note { font-size: 13px; margin-top: 16px; color: rgba(255,255,255,.88); }
.cx-tabs { display: inline-flex; gap: 10px; margin-top: 34px; padding: 6px; border-radius: 999px; background: rgba(255,255,255,.14); backdrop-filter: blur(8px); }
.cx-tab { position: relative; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.18); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background .25s, color .25s, transform .25s var(--ease); }
.cx-tab > svg:first-child { width: 22px; height: 22px; }
.cx-tab > span { position: absolute; bottom: calc(100% + 10px); left: 50%; translate: -50% 4px; background: var(--c-ink); color: #fff; font-size: 12px; font-weight: 500; padding: 5px 9px; border-radius: 8px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s, translate .2s; }
.cx-tab:hover > span, .cx-tab:focus-visible > span { opacity: 1; translate: -50% 0; }
.cx-tab:hover { transform: translateY(-2px); }
.cx-tab[aria-selected="true"] { background: #fff; color: var(--c-accent); }
.cx-ring { position: absolute; inset: -4px; width: calc(100% + 8px); height: calc(100% + 8px); transform: rotate(-90deg); pointer-events: none; }
.cx-ring circle { fill: none; stroke: #fff; stroke-width: 2.5; stroke-dasharray: 1; stroke-dashoffset: 1; }
.cx-tab.run .cx-ring circle { animation: ringRun 7s linear forwards; }
.cx-tab.paused .cx-ring circle { animation-play-state: paused; }
@keyframes ringRun { to { stroke-dashoffset: 0; } }

/* Tarjeta de producto encima del hero */
.cx-product { position: relative; margin-top: -150px; background: var(--c-surface); border-radius: var(--r-lg); box-shadow: var(--sh-pop); border: 1px solid var(--c-border); min-height: 520px; }
.cx-panel { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; align-items: center; padding: 48px; }
.cx-panel.in .cx-panel-copy > * { animation: obRise .55s var(--ease) backwards; }
.cx-panel.in .cx-panel-copy > :nth-child(2) { animation-delay: .06s; } .cx-panel.in .cx-panel-copy > :nth-child(3) { animation-delay: .12s; } .cx-panel.in .cx-panel-copy > :nth-child(4) { animation-delay: .18s; }
.cx-panel.in .cx-art-bg { animation: artIn .7s var(--ease) backwards; }
@keyframes artIn { from { opacity: 0; transform: translateY(18px) scale(.98); } }
.cx-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--c-accent); }
.cx-tag svg { width: 16px; height: 16px; }
.cx-h3 { font-size: clamp(28px, 3vw, 38px); line-height: 1.1; font-weight: 500; letter-spacing: -.03em; margin: 12px 0; text-wrap: balance; }
.cx-panel-copy p { color: var(--c-muted); font-size: 16.5px; line-height: 1.6; }
.cx-art-bg { position: relative; border-radius: var(--r-lg); min-height: 440px; display: grid; place-items: center; overflow: hidden; padding: 20px; background: radial-gradient(70% 70% at 30% 20%, #FFE9D9, transparent), radial-gradient(70% 70% at 80% 90%, #F4E3FF, transparent), var(--c-surface-2); }
.cx-art-bg .cx-phone { transform: scale(.72); transform-origin: center; margin: -80px 0; animation: none; }
.cx-art-bg .fa-scan { position: relative; width: min(420px, 100%); aspect-ratio: 1; animation: sqFloat 6s ease-in-out infinite; }
.cx-panel .lp-wb { margin-top: 18px; }
.cx-panel[data-tab="wallet"] .cx-link { display: none; }

.cx-mail { width: min(340px, 90%); background: #fff; border-radius: 20px; padding: 20px; box-shadow: var(--sh-card); display: grid; gap: 10px; text-align: left; }
.cx-mail-top { display: flex; gap: 10px; align-items: center; } .cx-mail-top b { display: block; font-size: 14px; } .cx-mail-top small { color: var(--c-muted); font-size: 12px; }
.cx-mail h4 { font-size: 22px; font-weight: 600; letter-spacing: -.02em; margin: 6px 0 0; }
.cx-mail p { font-size: 14px; color: var(--c-muted); line-height: 1.5; margin: 0; }
.cx-mail-dots { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; }
.cx-mail-dots i { aspect-ratio: 1; border-radius: 50%; border: 1.5px solid var(--c-border); }
.cx-mail-dots i.f { background: #7A3B1E; border-color: #7A3B1E; }
.cx-mail-dots i.g { background: var(--c-accent); border-color: var(--c-accent); animation: giftPulse 1.6s ease-in-out infinite; }
@keyframes giftPulse { 50% { transform: scale(1.25); box-shadow: 0 0 0 6px rgba(194,59,47,.18); } }
.cx-mail-btn { justify-self: start; background: var(--c-ink); color: #fff; font-size: 13px; font-weight: 600; padding: 10px 14px; border-radius: 10px; }
.cx-float { position: absolute; display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 14px; padding: 10px 14px; box-shadow: var(--sh-card); font-size: 13px; animation: floatY 5s ease-in-out infinite; }
.cx-float svg { width: 22px; height: 22px; color: #1E6B4B; }
.cx-float b { display: block; } .cx-float small { color: var(--c-muted); }
.cx-float.f1 { right: 6%; bottom: 10%; } .cx-float.f2 { left: 6%; bottom: 10%; } .cx-float.f3 { right: 7%; top: 8%; }
@keyframes floatY { 50% { transform: translateY(-8px); } }
.cx-gift { display: grid; gap: 18px; justify-items: center; }
.cx-chat { display: grid; gap: 8px; width: min(320px, 90%); }
.cx-bubble { background: #fff; border-radius: 16px 16px 16px 4px; padding: 10px 14px; font-size: 14px; box-shadow: var(--sh-card); justify-self: start; animation: obRise .5s .3s backwards; }
.cx-bubble.me { background: #DCF8C6; border-radius: 16px 16px 4px 16px; justify-self: end; animation-delay: .9s; }
.cx-gift .fa-gcard { width: 210px; height: 128px; }
.cx-gift .fa-gcard b { font-size: 22px; }
.cx-zones { width: min(420px, 95%); display: grid; gap: 14px; }
.cx-zones .fa-zones { height: 200px; background-color: #fff; }
.cx-zlist { display: grid; gap: 8px; }
.cx-zlist span { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; background: #fff; border-radius: 12px; padding: 10px 12px; font-size: 14px; box-shadow: var(--sh-card); }
.cx-zlist em { font-style: normal; font-weight: 700; }
.cx-zlist i { grid-column: 1 / -1; height: 6px; border-radius: 3px; background: linear-gradient(90deg, #C2533F, #F2A46B); width: 0; animation: barGrow 1s var(--ease) forwards; animation-delay: calc(.3s + var(--i) * .15s); }
@keyframes barGrow { to { width: var(--w); } }

/* Negocios */
.cx-logos { text-align: center; padding-top: 56px; padding-bottom: 10px; }
.cx-logos p { font-size: 14px; color: var(--c-muted); margin-bottom: 18px; }
.cx-logo-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 34px; }
.cx-logo-row a { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 19px; letter-spacing: -.02em; text-decoration: none; opacity: .75; transition: opacity .2s; }
.cx-logo-row a:hover { opacity: 1; }
.cx-logo-row i { width: 14px; height: 14px; border-radius: 4px; }

/* Secciones */
.cx-sec { padding: 112px 0 0; }
.cx-center { text-align: center; display: grid; justify-items: center; }
.cx-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--c-muted); }
.cx-eyebrow.light { color: rgba(255,255,255,.75); }
.cx-h2 { font-size: clamp(34px, 4.6vw, 58px); line-height: 1.08; font-weight: 500; letter-spacing: -.04em; margin: 14px 0 0; max-width: 820px; text-wrap: balance; }
.cx-h2.left { text-align: left; }
.cx-h2.light { color: #fff; }
.cx-sub { color: var(--c-muted); font-size: 18px; line-height: 1.55; max-width: 620px; margin: 18px 0 0; }

/* Pasos */
.cx-flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 56px; padding: 16px; border-radius: var(--r-xl); background: var(--c-surface-2); }
.cx-fcard { position: relative; background: var(--c-surface); border-radius: var(--r-lg); padding: 24px; display: grid; gap: 10px; align-content: start; min-height: 360px; transition: transform .4s var(--ease), box-shadow .4s, opacity .4s; opacity: .62; }
.cx-fcard.lit, .cx-fcard:hover { opacity: 1; transform: translateY(-4px); box-shadow: var(--sh-card); }
.cx-fnum { font: 600 12px 'Geist Mono', ui-monospace, monospace; color: var(--c-muted); }
.cx-fcard h3 { font-size: 26px; font-weight: 500; letter-spacing: -.03em; margin: 0; }
.cx-fcard p { color: var(--c-muted); font-size: 15px; line-height: 1.5; margin: 0; }
.cx-fcard ul { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 8px; }
.cx-fcard li { display: flex; gap: 8px; align-items: center; font-size: 14px; }
.cx-fcard li svg { width: 18px; height: 18px; color: var(--c-accent); flex: 0 0 18px; }
.cx-mini { margin-top: auto; padding: 14px; border-radius: 16px; background: radial-gradient(80% 80% at 20% 0%, #FFE9D9, transparent), var(--c-surface-2); display: grid; gap: 8px; justify-items: start; }
.cx-chip { display: inline-flex; align-items: center; gap: 6px; background: #fff; border-radius: 10px; padding: 8px 10px; font-size: 13px; font-weight: 500; box-shadow: 0 2px 6px rgba(29,25,21,.06); }
.cx-chip svg { width: 16px; height: 16px; }
.cx-chip.ok { color: #1E6B4B; } .cx-chip.win { background: var(--c-ink); color: #fff; } .cx-chip.big { font-size: 15px; padding: 12px 14px; }
.cx-fcard.lit .cx-chip { animation: obRise .5s var(--ease) backwards; } .cx-fcard.lit .cx-chip + .cx-chip { animation-delay: .25s; }
.cx-mdots { display: grid; grid-template-columns: repeat(8, 1fr); gap: 5px; width: 100%; }
.cx-mdots i { aspect-ratio: 1; border-radius: 50%; border: 1.5px solid var(--c-border); background: #fff; }
.cx-mdots i.f { background: #7A3B1E; border-color: #7A3B1E; }
.cx-fcard.lit .cx-mdots i.f { animation: dotPop .5s cubic-bezier(.3,1.8,.5,1) backwards; }
.cx-fcard.lit .cx-mdots i:nth-child(2) { animation-delay: .08s; } .cx-fcard.lit .cx-mdots i:nth-child(3) { animation-delay: .16s; } .cx-fcard.lit .cx-mdots i:nth-child(4) { animation-delay: .24s; } .cx-fcard.lit .cx-mdots i:nth-child(5) { animation-delay: .32s; }
.cx-mini small { font-size: 12px; color: var(--c-muted); }

/* Acordeón + visual */
.cx-split { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
.cx-acc { margin-top: 34px; border-top: 1px solid var(--c-border); }
.cx-acc-item { position: relative; border-bottom: 1px solid var(--c-border); }
.cx-acc-btn { width: 100%; display: flex; align-items: center; gap: 12px; padding: 20px 4px; border: 0; background: none; font: 500 18px Geist, system-ui, sans-serif; color: var(--c-muted); cursor: pointer; text-align: left; transition: color .25s; }
.cx-acc-btn > svg { width: 22px; height: 22px; flex: 0 0 22px; }
.cx-acc-btn em { margin-left: auto; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--c-surface-2); opacity: 0; transform: translateX(-6px); transition: opacity .25s, transform .25s; }
.cx-acc-item.open .cx-acc-btn, .cx-acc-btn:hover { color: var(--c-text); }
.cx-acc-item.open .cx-acc-btn em { opacity: 1; transform: none; }
.cx-acc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.cx-acc-body > p { overflow: hidden; margin: 0; padding: 0 4px 0 38px; color: var(--c-muted); font-size: 15.5px; line-height: 1.6; }
.cx-acc-item.open .cx-acc-body { grid-template-rows: 1fr; }
.cx-acc-item.open .cx-acc-body > p { padding-bottom: 20px; }
.cx-acc-bar { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; overflow: hidden; }
.cx-acc-bar i { display: block; height: 100%; background: var(--c-ink); transform: scaleX(0); transform-origin: left; }
.cx-acc-item.run .cx-acc-bar i { animation: accRun 6s linear forwards; }
@keyframes accRun { to { transform: scaleX(1); } }
.cx-art-big { position: relative; aspect-ratio: 1 / 1.05; border-radius: var(--r-xl); overflow: hidden; display: grid; place-items: center;
  background: radial-gradient(60% 60% at 25% 20%, #FFD9C0, transparent), radial-gradient(60% 60% at 80% 85%, #E8D5FF, transparent), radial-gradient(50% 50% at 80% 20%, #FFE9A8, transparent), #F6EEE6; }
.cx-acc-vis { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transform: scale(.96) translateY(12px); transition: opacity .45s, transform .6s var(--ease); }
.cx-acc-vis.on { opacity: 1; transform: none; }
.cx-acc-vis > * { transform: scale(1.6); }
.cx-acc-vis .fa-zones { width: 240px; height: 160px; }
.cx-acc-scan { display: grid; gap: 12px; justify-items: center; transform: scale(1.1) !important; }
.cx-cam { position: relative; width: 190px; height: 190px; border-radius: 28px; background: #1F1F1F; color: #fff; display: grid; place-items: center; overflow: hidden; box-shadow: var(--sh-pop); }
.cx-cam svg { width: 70px; height: 70px; opacity: .9; }
.cx-cam-line { position: absolute; left: 12%; right: 12%; height: 3px; border-radius: 2px; background: #F2A46B; box-shadow: 0 0 12px 3px rgba(242,164,107,.6); animation: camScan 2.2s ease-in-out infinite alternate; }
@keyframes camScan { from { top: 18%; } to { top: 80%; } }

/* Banda oscura */
.cx-band { margin-top: 112px; border-radius: var(--r-xl); padding: 72px clamp(24px, 5vw, 64px); color: #fff; position: relative; overflow: hidden;
  background: radial-gradient(60% 80% at 10% 0%, #5A2A3C, transparent), radial-gradient(60% 80% at 100% 100%, #7A3B1E, transparent), #1D1915; }
.cx-band-head { max-width: 760px; }
.cx-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 48px; }
.cx-stats > div { border-top: 1px solid rgba(255,255,255,.2); padding-top: 18px; }
.cx-stats b { font-size: clamp(40px, 4.6vw, 60px); font-weight: 500; letter-spacing: -.04em; display: block; }
.cx-stats p { color: rgba(255,255,255,.75); font-size: 15px; margin-top: 6px; line-height: 1.45; }

/* Planes */
.cx-toggle { position: relative; display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--c-surface-2); margin-top: 28px; }
.cx-toggle button { position: relative; z-index: 1; border: 0; background: none; padding: 10px 18px; border-radius: 999px; font: 500 15px Geist, system-ui, sans-serif; color: var(--c-muted); cursor: pointer; transition: color .25s; }
.cx-toggle button[aria-pressed="true"] { color: #fff; }
.cx-toggle small { margin-left: 6px; font-size: 11px; background: #D5F2E3; color: #1E6B4B; padding: 2px 8px; border-radius: 99px; }
.cx-tog-ind { position: absolute; top: 4px; bottom: 4px; left: 4px; border-radius: 999px; background: var(--c-ink); transition: transform .45s cubic-bezier(.3,1.3,.5,1), width .45s; }
.cx-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin-top: 44px; }
.cx-plan { position: relative; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: 30px 26px; display: grid; gap: 12px; align-content: start; transition: transform .3s var(--ease), box-shadow .3s; animation: obRise .6s backwards; animation-delay: calc(var(--i) * 80ms); }
.cx-plan:hover { transform: translateY(-4px); box-shadow: var(--sh-card); }
.cx-plan.hl { border: 2px solid var(--c-ink); box-shadow: var(--sh-card); }
.cx-flag { position: absolute; top: -13px; left: 24px; background: var(--c-ink); color: #fff; font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 99px; }
.cx-plan h3 { font-size: 22px; font-weight: 600; margin: 0; }
.cx-ptag { color: var(--c-muted); font-size: 14.5px; margin: 0; min-height: 40px; }
.cx-price { display: flex; align-items: baseline; gap: 4px; margin: 6px 0 10px; }
.cx-price .lp-amt { font-size: 46px; font-weight: 500; letter-spacing: -.04em; }
.cx-price small { color: var(--c-muted); }
.cx-plan ul { list-style: none; padding: 16px 0 0; margin: 8px 0 0; display: grid; gap: 10px; border-top: 1px solid var(--c-border); }
.cx-plan li { display: flex; gap: 10px; font-size: 14.5px; line-height: 1.4; }
.cx-plan li svg { width: 18px; height: 18px; flex: 0 0 18px; color: #1E6B4B; }

/* Cierre y pie */
.cx-final { padding-bottom: 112px; }
.cx-final .cx-btn { margin-top: 28px; }
.cx-foot { background: var(--c-ink); color: var(--c-on-ink); padding: 80px 0 30px; border-radius: var(--r-xl) var(--r-xl) 0 0; }
.cx-foot-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 40px; }
.cx-foot-top h2 { font-size: clamp(40px, 5vw, 64px); font-weight: 500; letter-spacing: -.04em; line-height: 1.02; margin: 0; }
.cx-foot-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.cx-foot-cols div { display: grid; gap: 10px; align-content: start; }
.cx-foot-cols b { font-size: 14px; margin-bottom: 4px; }
.cx-foot-cols a { color: rgba(252,251,248,.72); text-decoration: none; font-size: 14px; }
.cx-foot-cols a:hover { color: #fff; text-decoration: underline; }
.cx-foot-brand { display: flex; align-items: center; gap: 10px; font-size: 34px; font-weight: 700; letter-spacing: -.04em; margin: 64px 0 28px; }
.cx-foot-brand .cx-logo { width: 44px; height: 44px; background: #fff; border-radius: 12px; }
.cx-legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.15); font-size: 13px; color: rgba(252,251,248,.65); }
.set-foot-preview .cx-legal { background: #1D1915; color: rgba(252,251,248,.8); padding: 12px 14px; border-radius: 12px; border: 0; }

/* Responsivo */
@media (max-width: 1023px) {
  .cx-links { display: none; }
  .cx-panel { grid-template-columns: 1fr; padding: 32px; gap: 24px; }
  .cx-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cx-split { grid-template-columns: 1fr; gap: 32px; }
  .cx-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cx-foot-top { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .cx-banner { font-size: 12.5px; padding: 8px 36px; }
  .cx-banner .cx-pill { display: none; }
  .cx-nav-in { gap: 10px; height: 64px; }
  .cx-actions .cx-btn.outline, .cx-actions .cx-btn.ghost { display: none; }
  .cx-actions .cx-btn { height: 40px; padding: 0 14px; font-size: 14px; }
  .cx-hero-wrap { padding: 0 8px; }
  .cx-hero { padding: 56px 18px 150px; border-radius: 28px; }
  .cx-hero-btns .cx-btn { width: 100%; }
  .cx-tabs { gap: 6px; }
  .cx-tab { width: 44px; height: 44px; }
  .cx-product { margin-top: -110px; }
  .cx-panel { padding: 22px; }
  .cx-art-bg { min-height: 360px; padding: 12px; }
  .cx-art-bg .cx-phone { transform: scale(.62); margin: -110px 0; }
  .cx-flow { grid-template-columns: 1fr; padding: 10px; border-radius: 28px; }
  .cx-fcard { min-height: 0; opacity: 1; }
  .cx-sec { padding-top: 80px; }
  .cx-acc-vis > * { transform: scale(1.25); }
  .cx-band { padding: 48px 22px; border-radius: 28px; margin-top: 80px; }
  .cx-stats { grid-template-columns: 1fr 1fr; gap: 18px; }
  .cx-foot-cols { grid-template-columns: 1fr 1fr; }
  .cx-float { display: none; }
}
@media (prefers-reduced-motion: reduce) { .cx *, .cx *::before { animation: none !important; transition: none !important; } .cx-fcard { opacity: 1; } }
.cx-panel[hidden] { display: none !important; }
.fa-env, .fa-cake, .fa-gcard { display: inline-block; } .fa-pilot, .fa-bday, .fa-gift, .fa-shop { position: relative; display: grid; place-items: center; min-width: 140px; min-height: 110px; } .fa-gcard { display: inline-grid; }

/* ==========================================================================
   Sitio (/) — sistema de la referencia ShopWave con el contenido del Club
   ========================================================================== */
.sw { --t: #0F1222; --m: #5B6172; --bd: #E8EAF2; --s2: #F6F7FB; --ac: #2E62F5; --ac2: #6F52F5; --band: #EEF0FF;
  --r-md: 12px; --r-lg: 20px; --r-xl: 28px; --sh: 0 1px 2px rgba(15,18,34,.04), 0 10px 30px -14px rgba(15,18,34,.14); --sh-pop: 0 30px 60px -28px rgba(30,40,110,.35);
  --e: cubic-bezier(.2,.8,.2,1); --gut: clamp(16px, 4vw, 32px);
  background: #fff; color: var(--t); font-family: 'Plus Jakarta Sans', Inter, system-ui, -apple-system, 'Segoe UI', sans-serif; overflow-x: clip; }
.sw a { color: inherit; }
.sw-wrap { max-width: 1200px; margin: 0 auto; padding-left: var(--gut); padding-right: var(--gut); }
.sw :focus-visible { outline: 2px solid var(--ac); outline-offset: 3px; border-radius: 8px; }

/* Botones */
.sw-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: var(--r-md); font: 600 15px/1 'Plus Jakarta Sans', system-ui, sans-serif; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; white-space: nowrap; position: relative; overflow: hidden; transition: transform .2s var(--e), box-shadow .2s, background .2s, color .2s, border-color .2s; }
.sw-btn:hover { transform: translateY(-2px); }
.sw-btn.primary { background: var(--ac); color: #fff; box-shadow: 0 10px 22px -10px rgba(46,98,245,.7); }
.sw-btn.primary:hover { background: #2453DB; box-shadow: 0 16px 28px -12px rgba(46,98,245,.8); }
.sw-btn.primary::after { content: ''; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-18deg); animation: shine 4s 1.5s ease-in-out infinite; }
.sw-btn.outline { border-color: var(--bd); background: #fff; }
.sw-btn.outline:hover { border-color: var(--t); }
.sw-btn.soft { background: var(--band); color: var(--ac); }
.sw-btn.white { background: #fff; color: var(--ac2); }
.sw-btn.ghost { background: #fff; border-color: var(--bd); }
.sw-btn.sm { height: 42px; padding: 0 16px; font-size: 14px; }
.sw-btn.xs { height: 32px; padding: 0 10px; font-size: 12.5px; border-radius: 9px; gap: 6px; }
.sw-btn.block { width: 100%; }
.sw-btn svg { transition: transform .25s var(--e); }
.sw-btn:hover svg { transform: translateX(3px); }

/* Menú */
.sw-nav { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.86); backdrop-filter: blur(14px) saturate(1.4); transition: box-shadow .3s; }
.sw-nav.solid { box-shadow: 0 1px 0 var(--bd), 0 12px 30px -24px rgba(15,18,34,.4); }
.sw-nav-in { height: 72px; display: flex; align-items: center; gap: 24px; }
.sw-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -.02em; text-decoration: none; }
.sw-logo { width: 32px; height: 32px; border-radius: 10px; background: linear-gradient(140deg, var(--ac), var(--ac2)); display: grid; place-items: center; padding: 6px; box-shadow: 0 6px 14px -6px rgba(46,98,245,.7); }
.sw-logo svg { width: 100%; height: 100%; }
.sw-links { display: flex; gap: 4px; margin: 0 auto; }
.sw-links > a, .sw-dd > button { padding: 8px 14px; border-radius: 10px; font: 500 14px 'Plus Jakarta Sans', sans-serif; text-decoration: none; color: var(--m); background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; transition: color .2s, background .2s; }
.sw-links > a:hover, .sw-dd > button:hover, .sw-links > a.on { color: var(--t); }
.sw-links > a.on { background: var(--s2); }
.sw-dd { position: relative; }
.sw-dd-menu { position: absolute; top: calc(100% + 8px); left: 50%; translate: -50% 6px; min-width: 230px; background: #fff; border: 1px solid var(--bd); border-radius: 16px; padding: 8px; box-shadow: var(--sh-pop); display: grid; opacity: 0; pointer-events: none; transition: opacity .2s, translate .25s var(--e); }
.sw-dd:hover .sw-dd-menu, .sw-dd:focus-within .sw-dd-menu { opacity: 1; translate: -50% 0; pointer-events: auto; }
.sw-dd-menu a { display: flex; gap: 10px; align-items: center; padding: 10px; border-radius: 10px; text-decoration: none; font-size: 14px; font-weight: 500; }
.sw-dd-menu a:hover { background: var(--s2); }
.sw-dd-menu svg { color: var(--ac); }
.sw-actions { display: flex; gap: 10px; align-items: center; }

/* Hero */
.sw-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 40px; align-items: center; padding-top: 72px; padding-bottom: 56px; }
.sw-badge-top { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; background: #FFF4EC; border: 1px solid #FFE1CC; font-size: 13px; font-weight: 600; color: #B4471B; animation: obRise .6s backwards; }
.sw-badge-top i { width: 22px; height: 22px; border-radius: 50%; background: #FF7A2F; display: grid; place-items: center; padding: 4px; }
.sw-badge-top i svg { width: 100%; height: 100%; }
.sw-hero h1 { margin: 22px 0 0; font-size: clamp(40px, 5.2vw, 62px); line-height: 1.08; letter-spacing: -.035em; }
.sw-l1, .sw-l2 { display: block; animation: lineUp .9s var(--e) backwards; }
.sw-l1 { font-weight: 400; }
.sw-l2 { font-weight: 800; animation-delay: .1s; background: linear-gradient(90deg, var(--t) 0 55%, var(--ac2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sw-hero-copy p { color: var(--m); font-size: 17px; line-height: 1.65; max-width: 500px; margin: 20px 0 30px; animation: obRise .7s .25s backwards; }
.sw-hero-btns { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; animation: obRise .7s .35s backwards; }
.sw-play { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; text-decoration: none; }
.sw-play svg { width: 34px; height: 34px; color: var(--ac); transition: transform .3s var(--e); }
.sw-play:hover svg { transform: scale(1.12); }

/* Tablero del hero */
.sw-hero-art { perspective: 1200px; }
.sw-board { position: relative; padding: 46px 30px 40px 60px; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .3s ease-out; animation: boardIn 1s .2s var(--e) backwards; }
@keyframes boardIn { from { opacity: 0; transform: translateY(40px) scale(.96); } }
.sw-board::before { content: ''; position: absolute; inset: 10% 0 0 18%; border-radius: 40px; background: radial-gradient(70% 70% at 60% 40%, #E7E3FF, transparent 70%), radial-gradient(60% 60% at 30% 80%, #DDE8FF, transparent 70%); z-index: -1; }
.sw-chart { background: #fff; border: 1px solid var(--bd); border-radius: var(--r-lg); padding: 22px 22px 16px; box-shadow: var(--sh-pop); }
.sw-chart-head { display: flex; justify-content: space-between; align-items: flex-start; }
.sw-chart-head small { display: block; color: var(--m); font-size: 12.5px; font-weight: 500; }
.sw-chart-head b { font-size: 28px; font-weight: 800; letter-spacing: -.02em; }
.sw-pill { font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; }
.sw-pill.up { background: #E7F8EF; color: #13824F; }
.sw-pill i { font-style: normal; }
.sw-chart-body { display: grid; grid-template-columns: 34px 1fr; gap: 10px; margin-top: 16px; height: 230px; }
.sw-axis { display: grid; align-content: space-between; font-size: 11px; color: #9AA0B2; padding-bottom: 22px; }
.sw-bars { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; align-items: end; padding-bottom: 22px; background: repeating-linear-gradient(to top, var(--bd) 0 1px, transparent 1px 25%); background-size: 100% calc(100% - 22px); background-repeat: no-repeat; }
.sw-bar { position: relative; height: 100%; display: flex; align-items: flex-end; justify-content: center; }
.sw-bar i { width: 100%; max-width: 46px; height: var(--h); border-radius: 12px 12px 6px 6px; background: linear-gradient(180deg, #9A86FF, var(--ac2)); opacity: .45; transform-origin: bottom; animation: barUp .9s var(--e) backwards; animation-delay: calc(.4s + var(--i) * .1s); transition: opacity .4s, filter .4s; }
.sw-bar.hi i { opacity: 1; background: repeating-linear-gradient(135deg, var(--ac2) 0 8px, #7E64FF 8px 16px); box-shadow: 0 14px 24px -10px rgba(111,82,245,.7); }
.sw-bar em { position: absolute; bottom: calc(var(--h) + 30px); font-style: normal; font-size: 12px; font-weight: 700; background: var(--t); color: #fff; padding: 4px 8px; border-radius: 8px; opacity: 0; translate: 0 6px; transition: opacity .3s, translate .3s var(--e); }
.sw-bar.hi em { opacity: 1; translate: 0 0; }
.sw-bar span { position: absolute; bottom: 0; font-size: 11.5px; color: #9AA0B2; }
@keyframes barUp { from { transform: scaleY(0); } }
.sw-fl { position: absolute; background: #fff; border: 1px solid var(--bd); border-radius: 14px; box-shadow: var(--sh); animation: floatY 5s ease-in-out infinite, obRise .7s backwards; }
.sw-fl-store { top: 0; right: 0; padding: 12px 14px; display: grid; gap: 7px; font-size: 12.5px; min-width: 170px; animation-delay: 0s, .9s; }
.sw-fl-store b { font-size: 13px; margin-bottom: 2px; }
.sw-fl-store label { display: flex; align-items: center; gap: 8px; color: var(--m); }
.sw-fl-store i { width: 16px; height: 16px; border-radius: 5px; border: 1.5px solid var(--bd); display: grid; place-items: center; color: transparent; }
.sw-fl-store i.on { background: var(--ac); border-color: var(--ac); color: #fff; }
.sw-fl-store i svg { width: 11px; height: 11px; }
.sw-fl-zone { left: 0; top: 34%; display: flex; align-items: center; gap: 10px; padding: 10px 14px; font-size: 12.5px; animation-delay: -1.5s, 1.1s; }
.sw-fl-zone small { display: block; color: var(--m); } .sw-fl-zone b { font-size: 15px; }
.sw-flag { width: 28px; height: 20px; border-radius: 4px; background: linear-gradient(90deg, #4997D0 0 33%, #fff 33% 66%, #4997D0 66%); font-size: 0; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); }
.sw-fl-person { top: 46px; left: 38%; border: 0; background: none; box-shadow: none; display: flex; align-items: center; gap: 6px; animation-delay: -2.5s, 1.3s; }
.sw-fl-person2 { bottom: 12px; left: 6%; border: 0; background: none; box-shadow: none; animation-delay: -3.5s, 1.5s; }
.sw-av { width: 42px; height: 42px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 13px; font-weight: 800; color: #1F2340; border: 3px solid #fff; box-shadow: 0 8px 18px -8px rgba(15,18,34,.45); }
.sw-badge { background: #FF7A2F; color: #fff; font-size: 11.5px; font-weight: 700; padding: 4px 9px; border-radius: 999px; box-shadow: 0 6px 12px -6px rgba(255,122,47,.8); animation: badgePop 2.8s ease-in-out infinite; }
@keyframes badgePop { 0%, 70%, 100% { transform: none; } 78% { transform: scale(1.15) rotate(-4deg); } }
.sw-fl-live { right: 8%; bottom: 0; display: flex; align-items: center; gap: 8px; padding: 9px 14px; font-size: 13px; font-weight: 600; animation-delay: -1s, 1.7s; }
.sw-dot { width: 8px; height: 8px; border-radius: 50%; background: #13B26B; box-shadow: 0 0 0 0 rgba(19,178,107,.6); animation: livePing 1.8s infinite; }
[data-live].swap { animation: obRise .45s var(--e); }

/* Negocios */
.sw-trust { text-align: center; padding-top: 18px; padding-bottom: 8px; }
.sw-trust p { color: var(--m); font-size: 14px; margin-bottom: 22px; }
.sw-marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.sw-marquee .sw-track { display: flex; gap: 56px; width: max-content; animation: marquee 32s linear infinite; }
.sw-marquee:hover .sw-track { animation-play-state: paused; }
.sw-track a { display: inline-flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 800; letter-spacing: -.03em; text-decoration: none; color: #3A3F55; opacity: .72; transition: opacity .2s; white-space: nowrap; }
.sw-track a:hover { opacity: 1; }
.sw-track i { width: 16px; height: 16px; border-radius: 5px; }

/* Secciones */
.sw-sec { padding-top: 110px; }
.sw-head { text-align: center; max-width: 680px; margin: 0 auto; }
.sw-head h2, .sw-integ h2, .sw-cta h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.15; font-weight: 700; letter-spacing: -.03em; margin: 0; }
.sw-head p { color: var(--m); font-size: 16.5px; line-height: 1.6; margin: 14px auto 0; }
.sw-center { display: flex; justify-content: center; margin-top: 36px; }
.sw-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; }
.sw-ic.o { background: #FFEDE3; color: #F2601E; } .sw-ic.b { background: #E6EDFF; color: var(--ac); } .sw-ic.y { background: #FFF5D6; color: #C58A00; } .sw-ic.v { background: #EEE9FF; color: var(--ac2); }

/* 4 tarjetas */
.sw-apart { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 48px auto 0; max-width: 1000px; }
.sw-card { background: #fff; border: 1px solid var(--bd); border-radius: var(--r-lg); padding: 28px; display: grid; gap: 10px; align-content: start; transition: transform .35s var(--e), box-shadow .35s, border-color .35s; }
.sw-card:hover { transform: translateY(-6px); box-shadow: var(--sh-pop); border-color: transparent; }
.sw-card:hover .sw-ic { animation: icWiggle .6s var(--e); }
@keyframes icWiggle { 30% { transform: rotate(-10deg) scale(1.1); } 60% { transform: rotate(6deg); } }
.sw-card h3 { font-size: 18px; font-weight: 700; margin: 10px 0 0; }
.sw-card p, .sw-op p { color: var(--m); font-size: 15px; line-height: 1.6; margin: 0; }

/* Pestañas con tabla */
.sw-flowbox { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; align-items: center; margin-top: 48px; background: var(--s2); border-radius: var(--r-xl); padding: 40px; }
.sw-tablist { display: grid; gap: 6px; }
.sw-ti { position: relative; text-align: left; border: 0; background: none; padding: 18px 18px 20px; border-radius: 16px; cursor: pointer; display: grid; gap: 6px; font-family: inherit; color: var(--t); opacity: .5; transition: opacity .3s, background .3s, box-shadow .3s; overflow: hidden; }
.sw-ti b { font-size: 17px; font-weight: 700; }
.sw-ti span { font-size: 14px; color: var(--m); line-height: 1.55; display: none; }
.sw-ti em { font-style: normal; font-size: 14px; font-weight: 600; color: var(--ac); display: none; align-items: center; gap: 6px; }
.sw-ti.on { opacity: 1; background: #fff; box-shadow: var(--sh); }
.sw-ti.on span { display: block; animation: obRise .45s var(--e); }
.sw-ti.on em { display: inline-flex; }
.sw-ti:hover { opacity: 1; }
.sw-ti-bar { position: absolute; left: 18px; right: 18px; bottom: 8px; height: 3px; border-radius: 3px; background: var(--bd); overflow: hidden; display: none; }
.sw-ti.on .sw-ti-bar { display: block; }
.sw-ti-bar::after { content: ''; position: absolute; inset: 0; background: var(--ac); transform: scaleX(0); transform-origin: left; }
.sw-ti.run .sw-ti-bar::after { animation: accRun 5s linear forwards; }
.sw-table-wrap { position: relative; }
.sw-table { background: #fff; border-radius: var(--r-lg); border: 1px solid var(--bd); box-shadow: var(--sh-pop); padding: 16px; }
.sw-table-top { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; }
.sw-search { flex: 1; height: 32px; border-radius: 9px; background: var(--s2); color: #9AA0B2; font-size: 12.5px; display: flex; align-items: center; padding: 0 12px; }
.sw-tr { display: grid; grid-template-columns: 1fr 1.2fr 1fr .8fr; gap: 10px; align-items: center; padding: 13px 8px; border-top: 1px solid var(--bd); font-size: 13.5px; animation: rowIn .5s var(--e) backwards; animation-delay: calc(var(--i, 0) * 90ms); }
.sw-tr.head { border-top: 0; color: #9AA0B2; font-size: 12px; font-weight: 600; animation: none; }
.sw-tr span:first-child { font-weight: 600; }
@keyframes rowIn { from { opacity: 0; transform: translateX(16px); } }
.sw-st { font-style: normal; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.sw-st.ok { background: #E7F8EF; color: #13824F; } .sw-st.win { background: #EEE9FF; color: #5A3FE0; } .sw-st.new { background: #E6EDFF; color: #2453DB; } .sw-st.warn { background: #FFF4E0; color: #A15C00; }
.sw-fl-prize { right: -18px; bottom: -22px; display: flex; gap: 10px; align-items: center; padding: 12px 14px; font-size: 13px; }
.sw-fl-prize svg { color: var(--ac2); width: 24px; height: 24px; }
.sw-fl-prize b { display: block; } .sw-fl-prize small { color: var(--m); }

/* 3 tarjetas con mini interfaz */
.sw-ops { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
.sw-op { text-align: center; display: grid; gap: 10px; align-content: start; }
.sw-op h3 { font-size: 18px; font-weight: 700; margin: 12px 0 0; }
.sw-op-art { height: 230px; border-radius: var(--r-lg); background: radial-gradient(80% 80% at 50% 0%, #EEF0FF, transparent), var(--s2); border: 1px solid var(--bd); display: grid; place-items: center; padding: 20px; overflow: hidden; transition: transform .35s var(--e), box-shadow .35s; }
.sw-op:hover .sw-op-art { transform: translateY(-6px); box-shadow: var(--sh-pop); }
.sw-ui { width: 100%; max-width: 300px; }
.sw-chip { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--bd); border-radius: 12px; padding: 9px 12px; font-size: 13px; font-weight: 600; box-shadow: var(--sh); }
.sw-chip svg { width: 15px; height: 15px; }
.sw-chip.ok { color: #13824F; } .sw-chip.warn { color: #A15C00; }
.sw-ui-flow { display: grid; justify-items: center; gap: 6px; }
.sw-op.in .sw-ui-flow .sw-chip { animation: obRise .5s var(--e) backwards; } .sw-op.in .sw-ui-flow .sw-chip:nth-of-type(2) { animation-delay: .5s; } .sw-op.in .sw-ui-flow .sw-chip:nth-of-type(3) { animation-delay: 1s; }
.sw-flow-arrow { width: 2px; height: 18px; background: linear-gradient(var(--ac2) 50%, transparent 50%) 0 0 / 2px 6px; animation: dash 1s linear infinite; }
@keyframes dash { to { background-position: 0 6px; } }
.sw-ui-zones { display: grid; gap: 10px; }
.sw-ui-zones div { display: grid; grid-template-columns: 1fr auto; gap: 6px; background: #fff; border-radius: 12px; padding: 10px 12px; font-size: 13px; text-align: left; box-shadow: var(--sh); }
.sw-ui-zones i { grid-column: 1 / -1; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--ac), var(--ac2)); width: 0; }
.sw-op.in .sw-ui-zones i { animation: barGrow 1s var(--e) forwards; animation-delay: calc(.3s + var(--i) * .15s); }
.sw-ui-chan { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sw-ui-chan div { background: #fff; border-radius: 14px; padding: 14px; display: grid; gap: 4px; text-align: left; box-shadow: var(--sh); }
.sw-ui-chan .sw-ic { width: 34px; height: 34px; border-radius: 10px; margin-bottom: 6px; }
.sw-ui-chan small { color: var(--m); font-size: 12px; } .sw-ui-chan b { font-size: 20px; font-weight: 800; } .sw-ui-chan em { font-style: normal; font-size: 12px; color: #13824F; font-weight: 600; }
.sw-op.in .sw-ui-chan div { animation: obRise .6s var(--e) backwards; } .sw-op.in .sw-ui-chan div + div { animation-delay: .2s; }

/* Integraciones */
.sw-integ { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; align-items: center; background: var(--band); border-radius: var(--r-xl); padding: 56px; position: relative; overflow: hidden; }
.sw-integ::after { content: ''; position: absolute; width: 380px; height: 380px; right: -120px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(111,82,245,.18), transparent 70%); }
.sw-integ p { color: var(--m); font-size: 16px; line-height: 1.6; margin: 14px 0 26px; }
.sw-pills { display: flex; flex-wrap: wrap; gap: 12px; position: relative; z-index: 1; }
.sw-pills span { display: inline-flex; align-items: center; gap: 8px; background: #fff; border-radius: 12px; padding: 11px 14px; font-size: 14px; font-weight: 600; box-shadow: var(--sh); transition: transform .3s var(--e); }
.sw-pills span:hover { transform: translateY(-4px) rotate(-1.5deg); }
.sw-pills svg { color: var(--ac); }
.sw-pills .more { background: var(--t); color: #fff; } .sw-pills .more svg { color: #fff; }
.sw-integ.in .sw-pills span { animation: chipIn .5s cubic-bezier(.3,1.6,.5,1) backwards; animation-delay: calc(.2s + var(--i) * 70ms); }

/* Planes */
.sw-toggle { position: relative; display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--s2); border: 1px solid var(--bd); margin-top: 26px; }
.sw-toggle button { position: relative; z-index: 1; border: 0; background: none; padding: 9px 20px; border-radius: 999px; font: 600 14px 'Plus Jakarta Sans', sans-serif; color: var(--m); cursor: pointer; transition: color .25s; }
.sw-toggle button[aria-pressed="true"] { color: #fff; }
.sw-toggle small { margin-left: 6px; font-size: 11px; background: #E7F8EF; color: #13824F; padding: 2px 8px; border-radius: 99px; }
.sw-tog-ind { position: absolute; top: 4px; bottom: 4px; left: 4px; border-radius: 999px; background: var(--ac); transition: transform .45s cubic-bezier(.3,1.3,.5,1), width .45s; box-shadow: 0 6px 14px -6px rgba(46,98,245,.8); }
.sw-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 20px; margin-top: 44px; }
.sw-plan { position: relative; background: #fff; border: 1px solid var(--bd); border-radius: var(--r-lg); padding: 28px 26px; display: grid; gap: 12px; align-content: start; transition: transform .3s var(--e), box-shadow .3s; animation: obRise .6s backwards; animation-delay: calc(var(--i) * 80ms); }
.sw-plan:hover { transform: translateY(-6px); box-shadow: var(--sh-pop); }
.sw-plan.hl { border: 2px solid var(--ac); box-shadow: 0 24px 50px -28px rgba(46,98,245,.6); }
.sw-pflag { position: absolute; top: -13px; right: 22px; background: var(--ac); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 99px; }
.sw-plan h3 { font-size: 18px; font-weight: 700; margin: 0; }
.sw-ptag { color: var(--m); font-size: 14px; margin: 0; min-height: 40px; line-height: 1.5; }
.sw-price { display: flex; align-items: baseline; gap: 6px; margin: 6px 0 8px; }
.sw-price .lp-amt { font-size: 42px; font-weight: 800; letter-spacing: -.03em; }
.sw-price small { color: var(--m); font-size: 14px; }
.sw-plan ul { list-style: none; padding: 18px 0 0; margin: 8px 0 0; display: grid; gap: 11px; border-top: 1px solid var(--bd); }
.sw-plan li { display: flex; gap: 10px; font-size: 14px; line-height: 1.45; }
.sw-plan li svg { flex: 0 0 18px; width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: #E6EDFF; color: var(--ac); }

/* Preguntas */
.sw-faqs .sw-faq { max-width: 860px; margin: 44px auto 0; display: grid; gap: 12px; }
.sw-q { border: 1px solid var(--bd); border-radius: 16px; background: #fff; transition: box-shadow .3s, border-color .3s; }
.sw-q.open { box-shadow: var(--sh); border-color: transparent; }
.sw-q button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; border: 0; background: none; font: 600 16px 'Plus Jakarta Sans', sans-serif; color: var(--t); text-align: left; cursor: pointer; }
.sw-q button i { width: 32px; height: 32px; flex: 0 0 32px; border-radius: 10px; display: grid; place-items: center; background: var(--s2); transition: transform .35s var(--e), background .3s, color .3s; }
.sw-q.open button i { transform: rotate(45deg); background: var(--ac); color: #fff; }
.sw-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--e); }
.sw-a p { overflow: hidden; margin: 0; padding: 0 22px; color: var(--m); font-size: 15px; line-height: 1.65; }
.sw-q.open .sw-a { grid-template-rows: 1fr; }
.sw-q.open .sw-a p { padding-bottom: 20px; }

/* Banda de cierre */
.sw-cta { margin-top: 120px; background: radial-gradient(70% 90% at 0% 0%, #7B5CFF, transparent 70%), radial-gradient(60% 80% at 100% 100%, #3E6BFF, transparent 70%), #5A44E8; color: #fff; overflow: hidden; }
.sw-cta-in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; align-items: center; padding-top: 80px; padding-bottom: 0; }
.sw-cta-copy { padding-bottom: 80px; }
.sw-cta p { color: rgba(255,255,255,.85); font-size: 16.5px; line-height: 1.6; margin: 16px 0 0; }
.sw-cta-stats { display: flex; gap: 34px; margin: 30px 0 32px; }
.sw-cta-stats b { font-size: 30px; font-weight: 800; letter-spacing: -.02em; display: block; }
.sw-cta-stats small { color: rgba(255,255,255,.75); font-size: 13px; }
.sw-cta-art { align-self: end; }
.sw-mock { display: grid; grid-template-columns: 56px 1fr; background: #fff; color: var(--t); border-radius: 22px 22px 0 0; box-shadow: 0 -20px 60px -20px rgba(15,18,34,.5); min-height: 360px; transform: perspective(1400px) rotateY(-10deg) rotateX(4deg) translateX(30px); transform-origin: left bottom; }
.sw-cta-art.in .sw-mock { animation: mockIn 1s var(--e) backwards; }
@keyframes mockIn { from { opacity: 0; transform: perspective(1400px) rotateY(-22deg) rotateX(10deg) translate(80px, 60px); } }
.sw-mock aside { border-right: 1px solid var(--bd); padding: 16px 0; display: grid; justify-items: center; align-content: start; gap: 12px; }
.sw-mock-logo { width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(140deg, var(--ac), var(--ac2)); padding: 6px; margin-bottom: 6px; }
.sw-mock aside i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #9AA0B2; }
.sw-mock aside i.on { background: var(--band); color: var(--ac); }
.sw-mock-main { padding: 20px; display: grid; gap: 14px; align-content: start; }
.sw-mock-top { display: flex; justify-content: space-between; font-size: 13px; } .sw-mock-top span { color: var(--m); }
.sw-mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.sw-mock-kpis div { border: 1px solid var(--bd); border-radius: 12px; padding: 10px 12px; display: grid; gap: 2px; }
.sw-mock-kpis small { color: var(--m); font-size: 11.5px; } .sw-mock-kpis b { font-size: 20px; font-weight: 800; } .sw-mock-kpis em { font-style: normal; font-size: 11px; color: #13824F; font-weight: 700; }
.sw-mock-chart { height: 110px; display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; align-items: end; border-bottom: 1px solid var(--bd); }
.sw-mock-chart i { height: var(--h); border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, #9A86FF, var(--ac2)); opacity: .85; transform-origin: bottom; }
.sw-cta-art.in .sw-mock-chart i { animation: barUp .8s var(--e) backwards; animation-delay: calc(.4s + var(--i) * 50ms); }
.sw-mock-rows { display: grid; gap: 8px; }
.sw-mock-rows div { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; font-size: 13px; }
.sw-mock-rows .sw-av { width: 30px; height: 30px; font-size: 10.5px; border-width: 2px; }
.sw-mock-rows span { color: var(--m); font-size: 12px; }

/* Pie */
.sw-foot { padding: 70px 0 28px; border-top: 1px solid var(--bd); }
.sw-foot-top { display: grid; grid-template-columns: 1.6fr repeat(5, 1fr); gap: 28px; }
.sw-foot-top > div { display: grid; gap: 10px; align-content: start; }
.sw-foot-top b { font-size: 14px; margin-bottom: 4px; }
.sw-foot-top a:not(.sw-brand) { color: var(--m); text-decoration: none; font-size: 14px; }
.sw-foot-top a:not(.sw-brand):hover { color: var(--ac); }
.sw-foot-brand p { color: var(--m); font-size: 14px; line-height: 1.6; max-width: 260px; margin: 6px 0 0; }
.sw-legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--bd); font-size: 13px; color: var(--m); }
/* Páginas legales y de soporte (/privacidad, /terminos, /soporte, /eliminar-datos): mismas piezas del sitio */
.sw-doc { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; padding-top: 56px; padding-bottom: 90px; align-items: start; }
.sw-doc-toc { position: sticky; top: 96px; display: grid; gap: 4px; font-size: 14px; }
.sw-doc-toc b { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--m); margin-bottom: 6px; }
.sw-doc-toc a { color: var(--m); text-decoration: none; padding: 6px 10px; border-radius: 10px; }
.sw-doc-toc a:hover { background: var(--s2); color: var(--t); }
.sw-doc-body { max-width: 760px; }
.sw-doc-body h1 { font-size: clamp(34px, 4vw, 48px); line-height: 1.1; letter-spacing: -.03em; margin: 14px 0 10px; }
.sw-doc-body .sw-doc-meta { color: var(--m); font-size: 14px; margin: 0 0 28px; }
.sw-doc-body h2 { font-size: 22px; letter-spacing: -.02em; margin: 40px 0 10px; scroll-margin-top: 96px; }
.sw-doc-body h3 { font-size: 16.5px; margin: 22px 0 6px; }
.sw-doc-body p, .sw-doc-body li { color: #333849; font-size: 15.5px; line-height: 1.7; }
.sw-doc-body p { margin: 0 0 12px; }
.sw-doc-body ul { margin: 0 0 14px; padding-left: 20px; display: grid; gap: 6px; }
.sw-doc-body a { color: var(--ac); font-weight: 600; }
.sw-doc-body code { font-family: 'JetBrains Mono', monospace; font-size: 13.5px; background: var(--s2); padding: 2px 6px; border-radius: 6px; }
.sw-eyebrow { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ac); }
.sw-doc-note { background: var(--band); border-radius: var(--r-md); padding: 16px 18px; font-size: 14.5px; line-height: 1.6; margin: 0 0 18px; }
.sw-doc-tbl { width: 100%; border-collapse: collapse; margin: 6px 0 18px; font-size: 14.5px; }
.sw-doc-tbl th { text-align: left; color: var(--m); font-weight: 600; font-size: 13px; padding: 0 12px 10px 0; }
.sw-doc-tbl td { padding: 10px 12px 10px 0; border-top: 1px solid var(--bd); vertical-align: top; line-height: 1.55; }
.sw-doc-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 10px 0 26px; }
.sw-doc-cards .sw-card { padding: 22px; }
.sw-doc-cards .sw-card h3 { margin: 4px 0 0; }
.sw-doc .sw-faq { margin: 12px 0 0; display: grid; gap: 10px; }
@media (max-width: 900px) { .sw-doc { grid-template-columns: 1fr; gap: 18px; padding-top: 28px; } .sw-doc-toc { position: static; display: flex; flex-wrap: wrap; } .sw-doc-toc b { width: 100%; } }
.set-foot-preview .sw-legal { margin-top: 0; padding: 12px 14px; border: 1px solid var(--bd); border-radius: 12px; background: #fff; }

/* Aparecer al bajar */
.sw [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--e), transform .8s var(--e); transition-delay: calc(var(--i, 0) * 90ms); }
.sw [data-reveal].in { opacity: 1; transform: none; }
.sw .sw-card[data-reveal].in:hover, .sw .sw-op[data-reveal].in:hover { transition-delay: 0s; }

/* Responsivo */
@media (max-width: 1023px) {
  .sw-links { display: none; }
  .sw-nav-in { justify-content: space-between; }
  .sw-hero { grid-template-columns: 1fr; padding-top: 48px; text-align: center; }
  .sw-hero-copy p { margin-inline: auto; }
  .sw-hero-btns { justify-content: center; }
  .sw-hero-art { max-width: 640px; margin: 0 auto; width: 100%; }
  .sw-flowbox, .sw-integ, .sw-cta-in { grid-template-columns: 1fr; }
  .sw-ops { grid-template-columns: 1fr 1fr; }
  .sw-ops .sw-op:last-child { grid-column: span 2; }
  .sw-foot-top { grid-template-columns: 1fr 1fr 1fr; }
  .sw-foot-brand { grid-column: 1 / -1; }
  .sw-mock { transform: none; }
}
@media (max-width: 640px) {
  .sw-actions .sw-btn.outline { display: none; }
  .sw-hero h1 { font-size: clamp(36px, 10vw, 46px); }
  .sw-board { padding: 40px 6px 44px; }
  .sw-board::before { inset: 10% 0 0 0; }
  .sw-chart-body { height: 190px; }
  .sw-bars { gap: 10px; }
  .sw-fl-store { min-width: 0; padding: 9px 11px; font-size: 11.5px; right: -4px; top: -6px; }
  .sw-fl-zone { top: auto; bottom: 0; left: -4px; }
  .sw-fl-person { left: 6px; top: 0; }
  .sw-fl-person2, .sw-fl-live { display: none; }
  .sw-apart, .sw-ops { grid-template-columns: 1fr; }
  .sw-ops .sw-op:last-child { grid-column: auto; }
  .sw-flowbox { padding: 18px; gap: 22px; }
  .sw-tr { grid-template-columns: 1fr 1.2fr 1fr; font-size: 12.5px; }
  .sw-tr span:nth-child(4) { display: none; }
  .sw-fl-prize { right: 0; bottom: -26px; }
  .sw-integ { padding: 30px 20px; }
  .sw-sec { padding-top: 80px; }
  .sw-cta-stats { gap: 20px; }
  .sw-cta-stats b { font-size: 24px; }
  .sw-foot-top { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) { .sw *, .sw *::before, .sw *::after { animation: none !important; transition: none !important; } .sw [data-reveal] { opacity: 1; transform: none; } .sw-ui-zones i { width: var(--w); } }
.sw-hero h1 { font-size: clamp(36px, 4.2vw, 54px); }
.sw-fl-zone { top: 58%; }
@media (max-width: 640px) { .sw-hero h1 { font-size: clamp(34px, 9.6vw, 44px); } .sw-fl-zone { top: auto; } }

/* Banda de cierre: captura real del panel en un marco de navegador */
.sw-shot { position: relative; background: #fff; border-radius: 18px 18px 0 0; overflow: visible; box-shadow: 0 -24px 70px -20px rgba(15,18,34,.55), 0 0 0 1px rgba(255,255,255,.25);
  transform: perspective(1600px) rotateY(-9deg) rotateX(3deg) translateX(24px); transform-origin: left bottom; transition: transform .6s var(--e); }
.sw-cta-art:hover .sw-shot { transform: perspective(1600px) rotateY(-3deg) rotateX(1deg) translateX(10px); }
.sw-cta-art.in .sw-shot { animation: mockIn 1.1s var(--e) backwards; }
.sw-shot-bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border-bottom: 1px solid var(--bd); border-radius: 18px 18px 0 0; background: #F7F7FA; }
.sw-shot-bar i { width: 11px; height: 11px; border-radius: 50%; background: #FF6159; } .sw-shot-bar i:nth-child(2) { background: #FFBD2E; } .sw-shot-bar i:nth-child(3) { background: #28C941; }
.sw-shot-bar span { margin-left: 12px; flex: 0 1 260px; height: 24px; border-radius: 7px; background: #fff; border: 1px solid var(--bd); color: var(--m); font-size: 12px; display: flex; align-items: center; padding: 0 10px; white-space: nowrap; overflow: hidden; }
.sw-shot img { display: block; width: 100%; height: auto; max-height: 470px; object-fit: cover; object-position: left top; }
.sw-shot-chip { position: absolute; display: flex; align-items: center; gap: 10px; background: #fff; color: var(--t); border-radius: 14px; padding: 10px 14px; font-size: 13px; box-shadow: 0 18px 36px -16px rgba(15,18,34,.5); animation: floatY 5s ease-in-out infinite; }
.sw-shot-chip b { display: block; } .sw-shot-chip small { color: var(--m); }
.sw-shot-chip .sw-av { width: 34px; height: 34px; font-size: 11px; border-width: 2px; }
.sw-shot-chip .sw-ic { width: 34px; height: 34px; border-radius: 10px; }
.sw-shot-chip.c1 { left: -34px; top: 34%; }
.sw-shot-chip.c2 { left: 22%; bottom: 26px; animation-delay: -2.5s; }
.sw-cta-art.in .sw-shot-chip { animation: obRise .6s var(--e) backwards, floatY 5s ease-in-out infinite; }
.sw-cta-art.in .sw-shot-chip.c1 { animation-delay: .8s, 0s; } .sw-cta-art.in .sw-shot-chip.c2 { animation-delay: 1.1s, -2.5s; }
@media (max-width: 1023px) { .sw-shot { transform: none; } .sw-cta-art:hover .sw-shot { transform: none; } .sw-shot-chip.c1 { left: 10px; } }
@media (max-width: 640px) { .sw-shot-chip { display: none; } .sw-shot img { max-height: 300px; } }

/* Banda de cierre en azul degradado, el mismo azul de los botones */
.sw-cta { background: radial-gradient(70% 90% at 0% 0%, #4F7BFF, transparent 70%), radial-gradient(60% 80% at 100% 100%, #1E4FE0, transparent 70%), linear-gradient(135deg, #3A6CFA, #2E62F5 55%, #2352DE); }
.sw-btn.white { color: var(--ac); }

/* Menú de Funciones: íconos en cuadros de color con título y descripción */
.sw-dd-menu { min-width: 340px; padding: 18px 12px 12px; border-radius: 20px; gap: 2px; }
.sw-dd-title { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--m); padding: 0 12px 8px; }
.sw-dd-menu a { gap: 14px; padding: 10px 12px; border-radius: 14px; align-items: center; transition: background .2s; }
.sw-dd-menu a:hover { background: var(--s2); }
.sw-dd-ic { flex: 0 0 46px; width: 46px; height: 46px; border-radius: 15px; background: var(--bg); color: #0F1222; display: grid; place-items: center; box-shadow: inset 0 -2px 0 rgba(15,18,34,.08); transition: transform .3s var(--e); }
.sw-dd-ic svg { width: 24px; height: 24px; color: #0F1222; }
.sw-dd-menu a:hover .sw-dd-ic { transform: rotate(-6deg) scale(1.06); }
.sw-dd-tx { display: grid; gap: 2px; }
.sw-dd-tx b { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; color: var(--t); }
.sw-dd-tx em { font-style: normal; font-size: 12px; font-weight: 600; background: #F1F2F5; color: #3A3F55; padding: 3px 9px; border-radius: 8px; }
.sw-dd-tx small { font-size: 13.5px; color: var(--m); font-weight: 400; }
.sw-dd:hover .sw-dd-menu a, .sw-dd:focus-within .sw-dd-menu a { animation: ddIn .35s var(--e) backwards; }
.sw-dd-menu a:nth-of-type(2) { animation-delay: .03s !important; } .sw-dd-menu a:nth-of-type(3) { animation-delay: .06s !important; } .sw-dd-menu a:nth-of-type(4) { animation-delay: .09s !important; } .sw-dd-menu a:nth-of-type(5) { animation-delay: .12s !important; } .sw-dd-menu a:nth-of-type(6) { animation-delay: .15s !important; }
@keyframes ddIn { from { opacity: 0; transform: translateY(6px); } }
/* Integraciones con logos a color */
.sw-pills span { gap: 10px; padding: 9px 16px 9px 10px; }
.sw-pills span svg { flex: 0 0 28px; color: initial; filter: drop-shadow(0 2px 3px rgba(15,18,34,.12)); transition: transform .35s var(--e); }
.sw-pills span:hover svg { transform: scale(1.12) rotate(-6deg); }
.sw-pills .more { padding: 9px 16px; }
.sw-pills .more svg { flex: 0 0 18px; filter: none; }

/* ==========================================================================
   Menú del celular y tableta: botón que se transforma y pantalla completa que crece como círculo
   ========================================================================== */
.sw-burger { display: none; position: relative; width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--bd); background: #fff; cursor: pointer; padding: 0; transition: transform .2s var(--e), border-color .2s; }
.sw-burger:active { transform: scale(.92); }
.sw-burger i { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--t); transition: transform .45s cubic-bezier(.6,-.4,.3,1.5), opacity .25s, width .3s; }
.sw-burger i:nth-child(1) { top: 15px; } .sw-burger i:nth-child(2) { top: 21px; right: 18px; } .sw-burger i:nth-child(3) { top: 27px; }
.sw-burger:hover i:nth-child(2) { right: 12px; }
.sw-burger.on i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.sw-burger.on i:nth-child(2) { opacity: 0; transform: scaleX(0); }
.sw-burger.on i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
html.sw-lock, html.sw-lock body { overflow: hidden; }

.sw-mnav { position: fixed; inset: 0; z-index: 80; display: grid; grid-template-rows: auto 1fr auto; padding: 14px var(--gut) calc(18px + env(safe-area-inset-bottom)); color: #fff; overflow: hidden auto;
  background: radial-gradient(80% 60% at 0% 0%, #4F7BFF, transparent 70%), radial-gradient(70% 60% at 100% 100%, #6F52F5, transparent 70%), linear-gradient(160deg, #2E62F5, #2352DE 60%, #3A3FD8);
  clip-path: circle(0px at var(--ox, 90%) var(--oy, 36px)); transition: clip-path .65s cubic-bezier(.7,0,.2,1); }
.sw-mnav.open { clip-path: circle(150vmax at var(--ox, 90%) var(--oy, 36px)); }
.sw-mnav.closing { transition-duration: .5s; transition-timing-function: cubic-bezier(.6,0,.3,1); }
.sw-mnav[hidden] { display: none; }
.sw-mn-blob { position: absolute; border-radius: 50%; filter: blur(40px); opacity: .55; pointer-events: none; animation: blob 14s ease-in-out infinite; }
.sw-mn-blob.b1 { width: 260px; height: 260px; background: #7FB0FF; top: 10%; right: -80px; }
.sw-mn-blob.b2 { width: 220px; height: 220px; background: #8C6BFF; bottom: 18%; left: -60px; animation-delay: -5s; }
.sw-mn-blob.b3 { width: 160px; height: 160px; background: #48D1C9; top: 52%; right: 20%; opacity: .3; animation-delay: -9s; }
.sw-mn-top { position: relative; display: flex; justify-content: space-between; align-items: center; height: 50px; }
.sw-mn-top .sw-brand { color: #fff; }
.sw-mn-top .sw-logo { background: rgba(255,255,255,.18); box-shadow: none; }
.sw-mn-x { position: relative; width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid rgba(255,255,255,.35); background: rgba(255,255,255,.12); cursor: pointer; transition: transform .3s var(--e), background .2s; }
.sw-mn-x:hover { background: rgba(255,255,255,.22); transform: rotate(90deg); }
.sw-mn-x i { position: absolute; left: 12px; right: 12px; top: 20px; height: 2px; border-radius: 2px; background: #fff; transform: rotate(45deg); }
.sw-mn-x i + i { transform: rotate(-45deg); }
.sw-mnav.open .sw-mn-x i { animation: xIn .5s .25s cubic-bezier(.3,1.6,.5,1) backwards; }
@keyframes xIn { from { transform: rotate(0deg) scaleX(.2); } }
.sw-mn-body { position: relative; padding: 22px 0 10px; display: grid; align-content: start; gap: 6px; }
.sw-mn-links { display: grid; }
.sw-mn-links a { position: relative; overflow: hidden; display: flex; align-items: center; gap: 14px; padding: 12px 4px; border-bottom: 1px solid rgba(255,255,255,.16); text-decoration: none; font-size: clamp(30px, 9vw, 44px); font-weight: 700; letter-spacing: -.03em; transition: padding .3s var(--e); }
.sw-mn-links a em { font-style: normal; font-size: 12px; font-weight: 600; letter-spacing: .1em; opacity: .65; width: 22px; }
.sw-mn-links a svg { margin-left: auto; width: 26px; height: 26px; opacity: .7; transition: transform .3s var(--e), opacity .3s; }
.sw-mn-links a:hover, .sw-mn-links a:active { padding-left: 12px; }
.sw-mn-links a:hover svg, .sw-mn-links a:active svg { transform: translateX(4px) rotate(-30deg); opacity: 1; }
.sw-mnav.open .sw-mn-links a { animation: mnLink .7s cubic-bezier(.2,.9,.2,1) backwards; animation-delay: calc(.22s + var(--i) * .07s); }
@keyframes mnLink { from { opacity: 0; transform: translateY(40px) rotate(4deg); filter: blur(8px); } }
.sw-mn-label { margin-top: 22px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; opacity: .75; }
.sw-mnav.open .sw-mn-label { animation: obRise .5s backwards; animation-delay: .5s; }
.sw-mn-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 8px; }
.sw-mn-feats a { position: relative; overflow: hidden; display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 16px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.16); text-decoration: none; backdrop-filter: blur(6px); transition: background .2s, transform .25s var(--e); }
.sw-mn-feats a:active { transform: scale(.97); }
.sw-mn-feats a:hover { background: rgba(255,255,255,.2); }
.sw-mn-feats .sw-dd-ic { flex: 0 0 38px; width: 38px; height: 38px; border-radius: 12px; }
.sw-mn-feats .sw-dd-ic svg { width: 20px; height: 20px; }
.sw-mn-feats b { font-size: 13.5px; font-weight: 600; line-height: 1.2; }
.sw-mn-feats em { position: absolute; top: 6px; right: 6px; font-style: normal; font-size: 9.5px; font-weight: 700; background: #fff; color: var(--ac); padding: 2px 6px; border-radius: 6px; }
.sw-mnav.open .sw-mn-feats a { animation: mnTile .6s cubic-bezier(.3,1.5,.5,1) backwards; animation-delay: calc(.55s + var(--i) * .06s); }
.sw-mnav.open .sw-mn-feats .sw-dd-ic { animation: mnIcon .7s cubic-bezier(.3,1.7,.5,1) backwards; animation-delay: calc(.65s + var(--i) * .06s); }
@keyframes mnTile { from { opacity: 0; transform: translateY(24px) scale(.9); } }
@keyframes mnIcon { from { transform: scale(.2) rotate(-40deg); } }
.sw-mn-foot { position: relative; display: grid; gap: 12px; padding-top: 14px; }
.sw-mn-card { justify-self: start; display: flex; align-items: center; gap: 10px; background: #fff; color: var(--t); border-radius: 16px; padding: 8px 14px 8px 8px; font-size: 13px; box-shadow: 0 18px 30px -18px rgba(0,0,0,.6); }
.sw-mn-card .sw-av { width: 34px; height: 34px; font-size: 11px; border-width: 2px; }
.sw-mn-card b { display: block; } .sw-mn-card small { color: var(--m); }
.sw-mnav.open .sw-mn-card { animation: mnCard .8s .8s cubic-bezier(.3,1.5,.5,1) backwards, floatY 4s 1.6s ease-in-out infinite; }
@keyframes mnCard { from { opacity: 0; transform: translateX(-30px) rotate(-6deg); } }
.sw-mn-btns { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; }
.sw-btn.mn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.35); }
.sw-mnav.open .sw-mn-btns .sw-btn { animation: obRise .6s backwards; animation-delay: .9s; }
.sw-mnav.open .sw-mn-btns .sw-btn + .sw-btn { animation-delay: .98s; }
.sw-mnav.closing * { animation: none !important; }
.sw-mn-tap { position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: rgba(255,255,255,.55); pointer-events: none; animation: mnTap .5s ease-out forwards; }
@keyframes mnTap { to { transform: scale(60); opacity: 0; } }
@media (max-width: 1023px) {
  .sw-burger { display: block; }
  .sw-actions .sw-btn.outline { display: none; }
}
@media (max-width: 380px) { .sw-actions .sw-btn.primary.sm { display: none; } }
@media (min-width: 1024px) { .sw-mnav { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .sw-mnav { transition: none; } .sw-mnav * { animation: none !important; } }
.sw-mn-feats a { overflow: visible; } .sw-mn-feats em { top: -8px; right: 10px; box-shadow: 0 4px 10px -4px rgba(0,0,0,.4); } .sw-mn-feats a .sw-mn-tap { display: none; }

/* ==========================================================================
   Entrar (/entrar): formulario + panel azul en vivo, movimiento con resortes
   ========================================================================== */
.lg { --t: #0F1222; --m: #5B6172; --bd: #E3E6EF; --ac: #2E62F5; --ac2: #6F52F5; --s2: #F6F7FB; --spr: cubic-bezier(.3,1.4,.5,1); --e: cubic-bezier(.2,.8,.2,1);
  position: relative; min-height: 100dvh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); background: #fff; color: var(--t); font-family: 'Plus Jakarta Sans', Inter, system-ui, sans-serif; overflow: hidden; }
.lg-spot { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(420px circle at var(--mx, 30%) var(--my, 30%), rgba(46,98,245,.07), transparent 60%); }
.lg-side { position: relative; display: grid; grid-template-rows: auto 1fr auto; padding: 28px clamp(20px, 5vw, 72px); }
.lg-side > *, .lg-box > * { animation: lgIn .8s var(--spr) backwards; animation-delay: calc(var(--i, 0) * 70ms + 80ms); }
@keyframes lgIn { from { opacity: 0; transform: translateY(22px); filter: blur(6px); } }
.lg-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; text-decoration: none; color: inherit; justify-self: start; }
.lg-logo { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(140deg, var(--ac), var(--ac2)); display: grid; place-items: center; padding: 6px; box-shadow: 0 8px 18px -8px rgba(46,98,245,.8); animation: logoPop .9s .1s var(--spr) backwards; }
.lg-logo svg { width: 100%; height: 100%; }
@keyframes logoPop { from { transform: scale(.3) rotate(-90deg); } }
.lg-box { align-self: center; width: min(420px, 100%); margin: 0 auto; display: grid; gap: 14px; padding: 30px 0; }
.lg-h { font-size: clamp(30px, 3.2vw, 40px); font-weight: 800; letter-spacing: -.035em; line-height: 1.1; margin: 0; }
.lg-sub { color: var(--m); font-size: 15.5px; line-height: 1.6; margin: -4px 0 8px; }
.lg-seg { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 14px; background: var(--s2); border: 1px solid var(--bd); }
.lg-seg button { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 42px; border: 0; background: none; border-radius: 10px; font: 600 13.5px 'Plus Jakarta Sans', sans-serif; color: var(--m); cursor: pointer; transition: color .3s; }
.lg-seg button[aria-selected="true"] { color: var(--t); }
.lg-seg-pill { position: absolute; top: 4px; bottom: 4px; left: 4px; border-radius: 10px; background: #fff; box-shadow: 0 2px 6px rgba(15,18,34,.08), 0 8px 18px -10px rgba(15,18,34,.3); transition: transform .5s var(--spr), width .5s var(--spr); }
.lg-stage { overflow: hidden; margin: 0 -6px; padding: 6px; }
.lg-form { display: grid; gap: 12px; }
.lg-field { position: relative; display: block; }
.lg-field input { width: 100%; height: 58px; border-radius: 14px; border: 1.5px solid var(--bd); background: #fff; padding: 22px 46px 6px 46px; font: 500 15.5px 'Plus Jakarta Sans', sans-serif; color: var(--t); outline: none; transition: border-color .25s, box-shadow .3s, background .3s; }
.lg-field input:hover { border-color: #C9CEDD; }
.lg-field input:focus { border-color: var(--ac); box-shadow: 0 0 0 4px rgba(46,98,245,.14); }
.lg-label { position: absolute; left: 46px; top: 50%; translate: 0 -50%; font-size: 15px; color: #8A90A2; pointer-events: none; transform-origin: left center; transition: translate .35s var(--spr), scale .35s var(--spr), color .25s; }
.lg-field input:focus + .lg-label, .lg-field input:not(:placeholder-shown) + .lg-label { translate: 0 -118%; scale: .78; color: var(--ac); }
.lg-field input:not(:focus):not(:placeholder-shown) + .lg-label { color: var(--m); }
.lg-ic { position: absolute; left: 15px; top: 50%; translate: 0 -50%; color: #9AA0B2; display: grid; transition: color .25s, transform .35s var(--spr); }
.lg-field:focus-within .lg-ic { color: var(--ac); transform: scale(1.12); }
.lg-eye { position: absolute; right: 8px; top: 50%; translate: 0 -50%; width: 38px; height: 38px; border: 0; background: none; border-radius: 10px; color: #8A90A2; cursor: pointer; display: grid; place-items: center; transition: background .2s, color .2s; }
.lg-eye:hover { background: var(--s2); color: var(--t); }
.lg-eye .lg-slash { stroke-dasharray: 24; stroke-dashoffset: 0; transition: stroke-dashoffset .35s var(--e); }
.lg-eye.on .lg-slash { stroke-dashoffset: 24; }
.lg-caps, .lg-err { display: flex; align-items: center; gap: 8px; margin: -2px 0 0; font-size: 13px; font-weight: 600; }
.lg-caps { color: #A15C00; }
.lg-err { color: #C0362C; background: #FDECEA; border-radius: 10px; padding: 9px 12px; }
.lg-form.bad .lg-field input, .lg-form.bad .lg-pin input { border-color: #E5534B; box-shadow: 0 0 0 4px rgba(229,83,75,.12); }
.lg-btn { position: relative; height: 54px; border: 0; border-radius: 14px; background: linear-gradient(135deg, #3A6CFA, var(--ac) 60%, #2352DE); color: #fff; font: 700 15.5px 'Plus Jakarta Sans', sans-serif; cursor: pointer; overflow: hidden; margin-top: 4px; box-shadow: 0 14px 28px -14px rgba(46,98,245,.9); transition: transform .25s var(--e), box-shadow .3s, width .5s var(--spr), border-radius .5s var(--spr), background .4s; justify-self: stretch; width: 100%; }
.lg-btn:hover { transform: translateY(-2px); box-shadow: 0 20px 34px -14px rgba(46,98,245,.95); }
.lg-btn:active { transform: scale(.98); }
.lg-btn::after { content: ''; position: absolute; top: 0; bottom: 0; width: 35%; left: -50%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-18deg); animation: shine 3.6s 1.4s ease-in-out infinite; }
.lg-btn > span { position: absolute; inset: 0; display: grid; place-items: center; transition: opacity .25s, transform .4s var(--spr); }
.lg-spin, .lg-ok { opacity: 0; transform: scale(.4); }
.lg-spin::before { content: ''; width: 22px; height: 22px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.35); border-top-color: #fff; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.lg-btn.busy .lg-btn-t, .lg-btn.done .lg-btn-t { opacity: 0; transform: translateY(-14px); }
.lg-btn.busy .lg-spin { opacity: 1; transform: none; }
.lg-btn.done { width: 54px; border-radius: 50%; justify-self: center; background: #16A34A; box-shadow: 0 14px 28px -12px rgba(22,163,74,.9); }
.lg-btn.done::after { display: none; }
.lg-btn.done .lg-ok { opacity: 1; transform: none; }
.lg-btn.done .lg-ok svg { stroke-dasharray: 30; stroke-dashoffset: 30; animation: drawOk .45s .15s var(--e) forwards; }
@keyframes drawOk { to { stroke-dashoffset: 0; } }
.lg-demo { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--m); margin-top: 2px; }
.lg-demo button { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 999px; border: 1px dashed #C9CEDD; background: #fff; font: 600 12.5px 'Plus Jakarta Sans', sans-serif; color: var(--t); cursor: pointer; transition: border-color .2s, background .2s, transform .25s var(--spr); }
.lg-demo button svg { color: var(--ac2); }
.lg-demo button:hover { border-style: solid; border-color: var(--ac); background: #F2F5FF; transform: translateY(-2px); }
.lg-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: -2px; }
.lg-chips button { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--bd); background: #fff; font: 600 12.5px 'Plus Jakarta Sans', sans-serif; cursor: pointer; transition: border-color .2s, background .2s, transform .25s var(--spr); }
.lg-chips button i { width: 10px; height: 10px; border-radius: 3px; }
.lg-chips button:hover { transform: translateY(-2px); }
.lg-chips button.on { border-color: var(--ac); background: #F2F5FF; }
.lg-pin-label { font-size: 13px; font-weight: 600; color: var(--m); margin-top: 4px; }
.lg-pin-label small { font-weight: 500; color: #9AA0B2; margin-left: 6px; }
.lg-pin { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.lg-pin input { height: 58px; width: 100%; min-width: 0; border-radius: 14px; border: 1.5px solid var(--bd); background: #fff; text-align: center; font: 800 22px 'Plus Jakarta Sans', sans-serif; color: var(--t); outline: none; transition: border-color .25s, box-shadow .3s, background .3s; caret-color: var(--ac); -webkit-text-security: disc; }
.lg-pin input.opt { border-style: dashed; background: #FBFBFD; }
.lg-pin input:focus { border-color: var(--ac); box-shadow: 0 0 0 4px rgba(46,98,245,.14); border-style: solid; }
.lg-pin input.fill { border-color: var(--ac); background: #F2F5FF; }
.lg-alt { font-size: 14px; color: var(--m); text-align: center; margin: 10px 0 0; }
.lg-alt a { color: var(--ac); font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }
.lg-alt a svg { transition: transform .25s var(--e); } .lg-alt a:hover svg { transform: translateX(3px); }
.lg-legal { font-size: 12px; color: #9AA0B2; text-align: center; margin: 0; }
.lg-legal a { color: inherit; text-decoration: none; font-weight: 600; } .lg-legal a:hover { color: var(--ac); }

/* Panel azul */
.lg-art { position: relative; margin: 14px; border-radius: 32px; overflow: hidden; display: grid; place-items: center; padding: 40px; color: #fff; perspective: 1300px;
  background: radial-gradient(70% 70% at 10% 0%, #5B85FF, transparent 70%), radial-gradient(60% 70% at 100% 100%, #6F52F5, transparent 70%), linear-gradient(150deg, #3A6CFA, #2E62F5 55%, #2352DE); animation: artIn 1s .15s var(--spr) backwards; }
@keyframes artIn { from { opacity: 0; transform: scale(.96) translateX(30px); } }
.lg-art::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.18) 1px, transparent 1.4px); background-size: 22px 22px; mask-image: radial-gradient(60% 60% at 50% 45%, #000, transparent); }
.lg-blob { position: absolute; border-radius: 50%; filter: blur(50px); opacity: .5; animation: blob 15s ease-in-out infinite; }
.lg-blob.b1 { width: 300px; height: 300px; background: #8FB4FF; top: -60px; right: -40px; }
.lg-blob.b2 { width: 260px; height: 260px; background: #8C6BFF; bottom: -50px; left: -40px; animation-delay: -5s; }
.lg-blob.b3 { width: 180px; height: 180px; background: #48D1C9; top: 45%; left: 40%; opacity: .25; animation-delay: -9s; }
.lg-art-in { position: relative; width: min(440px, 100%); display: grid; gap: 22px; }
.lg-stack { position: relative; height: 230px; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transform-style: preserve-3d; transition: transform .35s ease-out; }
.lg-card { position: absolute; inset: 0 30px 30px 0; border-radius: 22px; }
.lg-card.c3 { transform: translate(34px, 34px) rotate(6deg); background: linear-gradient(140deg, #2F5D46, #1D3D2D); opacity: .7; animation: stackIn 1s .5s var(--spr) backwards; }
.lg-card.c2 { transform: translate(18px, 18px) rotate(3deg); background: linear-gradient(140deg, #3D3A8C, #262463); opacity: .85; animation: stackIn 1s .4s var(--spr) backwards; }
@keyframes stackIn { from { transform: translate(0, 0) rotate(0deg); opacity: 0; } }
.lg-card.c1 { padding: 20px 22px; display: grid; grid-template-rows: auto 1fr auto auto; gap: 8px; background: linear-gradient(140deg, #8E4A26, #5E2C12); box-shadow: 0 30px 50px -24px rgba(0,0,0,.6); overflow: hidden; animation: cardFloat 6s ease-in-out infinite, stackIn 1s .3s var(--spr) backwards; }
.lg-card.c1.hit { animation: cardHit .45s var(--spr), cardFloat 6s ease-in-out infinite; }
.lg-card-top { display: flex; align-items: center; gap: 8px; font: 600 10px 'Geist Mono', ui-monospace, monospace; letter-spacing: .18em; }
.lg-card-top em { margin-left: auto; font: 700 12.5px 'Plus Jakarta Sans', sans-serif; letter-spacing: 0; font-style: normal; background: rgba(255,255,255,.18); padding: 3px 9px; border-radius: 99px; }
.lg-card-logo { width: 28px; height: 28px; border-radius: 8px; background: rgba(255,255,255,.18); padding: 5px; }
.lg-card-logo svg { width: 100%; height: 100%; }
.lg-card.c1 b { font-size: 22px; font-weight: 800; letter-spacing: -.02em; align-self: end; }
.lg-dots { display: grid; grid-template-columns: repeat(8, 1fr); gap: 7px; }
.lg-dots i { aspect-ratio: 1; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.55); transition: background .3s; }
.lg-dots i.f { background: #FFE6C7; border-color: #FFE6C7; }
.lg-dots i.f:last-of-type, .lg-card.c1.hit .lg-dots i.f { animation: none; }
.lg-card-foot { display: flex; justify-content: space-between; align-items: center; font-size: 12px; opacity: .9; }
.lg-qr { width: 24px; height: 24px; border-radius: 4px; background: repeating-conic-gradient(#fff 0 25%, transparent 0 50%) 0 0 / 6px 6px; opacity: .85; }
.lg-shine { position: absolute; inset: -50%; background: linear-gradient(115deg, transparent 42%, rgba(255,255,255,.22) 50%, transparent 58%); animation: cardShine 4.5s ease-in-out infinite; pointer-events: none; }
.lg-notes { display: grid; gap: 8px; min-height: 186px; }
.lg-note { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.94); color: var(--t); border-radius: 16px; padding: 10px 14px; box-shadow: 0 16px 30px -18px rgba(0,0,0,.55); font-size: 13px; }
.lg-note:nth-child(2) { opacity: .82; transform: scale(.97); } .lg-note:nth-child(3) { opacity: .6; transform: scale(.94); }
.lg-note b { display: block; } .lg-note small { color: var(--m); } .lg-note em { margin-left: auto; font-style: normal; font-size: 11px; color: #9AA0B2; }
.lg-av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 800; color: #1F2340; border: 2px solid #fff; flex: 0 0 34px; }
.lg-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.lg-kpis div { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); border-radius: 16px; padding: 12px 14px; backdrop-filter: blur(8px); }
.lg-kpis small { display: block; font-size: 11.5px; opacity: .8; } .lg-kpis b { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.lg-quote { font-size: 15px; line-height: 1.55; margin: 0; opacity: .95; }
.lg-quote span { display: block; font-size: 12.5px; opacity: .75; margin-top: 6px; }

/* Bienvenida */
.lg-welcome { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; color: #fff; pointer-events: none;
  background: radial-gradient(80% 70% at 20% 10%, #5B85FF, transparent 70%), radial-gradient(70% 70% at 90% 90%, #6F52F5, transparent 70%), linear-gradient(150deg, #3A6CFA, #2E62F5 55%, #2352DE);
  clip-path: circle(0px at var(--ox, 50%) var(--oy, 50%)); transition: clip-path .9s cubic-bezier(.7,0,.2,1); }
.lg-welcome.on { clip-path: circle(150vmax at var(--ox, 50%) var(--oy, 50%)); pointer-events: auto; }
.lg-welcome-in { display: grid; justify-items: center; gap: 10px; text-align: center; padding: 20px; }
.lg-welcome-ic { width: 76px; height: 76px; border-radius: 50%; background: #fff; color: #16A34A; display: grid; place-items: center; box-shadow: 0 20px 40px -18px rgba(0,0,0,.5); }
.lg-welcome-ic svg { width: 36px; height: 36px; }
.lg-welcome h2 { font-size: clamp(30px, 5vw, 52px); font-weight: 800; letter-spacing: -.035em; margin: 10px 0 0; }
.lg-welcome p { font-size: 16px; opacity: .85; margin: 0; display: inline-flex; align-items: center; gap: 10px; }
.lg-welcome p::after { content: ''; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; animation: spin .7s linear infinite; }
.lg-welcome.on .lg-welcome-ic { animation: logoPop .8s .35s var(--spr) backwards; }
.lg-welcome.on h2 { animation: lgIn .8s .45s var(--spr) backwards; }
.lg-welcome.on p { animation: lgIn .8s .55s var(--spr) backwards; }

@media (max-width: 1023px) {
  .lg { grid-template-columns: 1fr; }
  .lg-art { display: none; }
}
@media (max-width: 640px) {
  .lg-side { padding: 18px 18px 22px; }
  .lg-box { padding: 26px 0; }
  .lg-seg button { font-size: 12.5px; gap: 5px; }
  .lg-pin { gap: 6px; }
  .lg-pin input { height: 52px; font-size: 19px; border-radius: 12px; }
}
@media (prefers-reduced-motion: reduce) { .lg *, .lg *::before, .lg *::after { animation: none !important; transition: none !important; } }
.lg-caps[hidden], .lg-err[hidden] { display: none !important; }
/* Entrar: pasos de 2FA y recuperar la contraseña, Google (mismas piezas que el formulario) */
.lg-msg { display: flex; align-items: center; gap: 8px; margin: -2px 0 0; font-size: 13px; font-weight: 600; color: #126B3B; background: #E3F6EA; border-radius: 10px; padding: 9px 12px; }
.lg-msg[hidden], .lg-seg[hidden], .lg-sub[hidden], .lg-field[hidden], [data-otp-app][hidden] { display: none !important; }
.lg-pin.otp input { -webkit-text-security: none; }
.lg-forgot { margin: -4px 0 0; text-align: right; font-size: 13px; }
.lg-forgot a, .lg-back a { color: var(--ac); font-weight: 700; text-decoration: none; }
.lg-forgot a:hover, .lg-back a:hover { text-decoration: underline; }
.lg-back { margin-top: 2px; }
.lg-btn.alt { display: flex; align-items: center; justify-content: center; gap: 10px; background: #fff; color: var(--t); border: 1.5px solid var(--bd); box-shadow: none; text-decoration: none; margin-top: 0; }
.lg-btn.alt:hover { border-color: var(--ac); background: #F2F5FF; box-shadow: none; }
.lg-btn.alt::after { display: none; }
.lg-step { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 2px; }
.lg-step-ic { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: #F2F5FF; color: var(--ac); flex-shrink: 0; }
.lg-step b { display: block; font-size: 17px; font-weight: 800; color: var(--t); }
.lg-step small { display: block; font-size: 13.5px; color: var(--m); margin-top: 2px; line-height: 1.45; }
.lg-step small b { display: inline; font-size: inherit; font-weight: 700; }
.lg-s { display: none; } @media (max-width: 640px) { .lg-l { display: none; } .lg-s { display: inline; } }

/* ==========================================================================
   Planes con «Ciclo»: interruptor con pulgar elástico y precios en tambores
   ========================================================================== */
.sw { --ci-curva: cubic-bezier(.22,1,.36,1); --ci-resorte: cubic-bezier(.34,1.56,.64,1); --ci-exito: #13824F; }
.sw .ci-ciclo { position: relative; display: inline-flex; padding: 5px; border-radius: 99px; background: var(--s2); border: 1px solid var(--bd); isolation: isolate; margin-top: 26px; }
.sw .ci-pulgar { position: absolute; inset: 0; display: flex; padding: 5px; pointer-events: none; border-radius: 99px; background: linear-gradient(135deg, #3A6CFA, var(--ac) 60%, #2352DE); color: #fff;
  clip-path: inset(5px calc(var(--ci-der, 50%) + 5px) 5px calc(var(--ci-izq, 0%) + 5px) round 99px); }
.sw .ci-pulgar > span, .sw .ci-ciclo button { display: inline-flex; align-items: center; gap: 8px; padding: 11px 22px; font: 600 15px 'Plus Jakarta Sans', system-ui, sans-serif; white-space: nowrap; }
.sw .ci-ciclo button { position: relative; border: 0; border-radius: 99px; background: none; color: var(--m); cursor: pointer; transition: color .35s var(--ci-curva); }
.sw .ci-ciclo button:focus-visible { outline: 2px solid var(--ac); outline-offset: 3px; }
.sw .ci-ciclo em { font-style: normal; font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 99px; background: #DDF6E8; color: #0F6A3D; }
.sw .ci-pulgar em { background: #fff; color: var(--ac); }

.sw .ci-precio { display: flex; align-items: baseline; margin: 2px 0 0; font-size: 50px; font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--t); }
.sw .ci-precio b { display: inline-flex; font-weight: 800; }
.sw .ci-cifra { position: relative; display: inline-block; height: 1em; overflow: hidden; -webkit-mask: linear-gradient(transparent, #000 18%, #000 82%, transparent); mask: linear-gradient(transparent, #000 18%, #000 82%, transparent); }
.sw .ci-cifra > span { display: flex; flex-direction: column; transition: transform .9s var(--ci-resorte); transition-delay: var(--ci-retraso, 0ms); }
.sw .ci-cifra > span > i { display: block; height: 1em; line-height: 1em; font-style: normal; text-align: center; }
.sw .ci-signo { opacity: .5; font-weight: 600; margin-right: .04em; }
.sw .ci-sep { display: inline-block; width: .28em; text-align: center; }
.sw .ci-precio small { margin-left: 6px; font-size: 14.5px; font-weight: 500; letter-spacing: 0; color: var(--m); }
.sw .ci-antes { position: relative; align-self: center; margin-left: auto; font-size: 18px; font-weight: 600; letter-spacing: -.01em; color: #9AA0B2; opacity: 0; transform: translateY(6px); transition: opacity .4s var(--ci-curva), transform .4s var(--ci-curva); }
.sw .ci-antes::after { content: ''; position: absolute; left: -2px; right: -2px; top: 52%; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: 0 50%; transition: transform .35s var(--ci-curva); }
.sw .is-anual .ci-antes { opacity: 1; transform: none; transition-delay: .25s; }
.sw .is-anual .ci-antes::after { transform: none; transition-delay: .55s; }
.sw .ci-cobro { position: relative; height: 1.45em; overflow: hidden; margin: -2px 0 6px; font-size: 13.5px; color: var(--m); }
.sw .ci-cobro span { position: absolute; left: 0; top: 0; white-space: nowrap; transition: transform .5s var(--ci-curva), opacity .5s var(--ci-curva); }
.sw .ci-cobro [data-anio] { transform: translateY(100%); opacity: 0; }
.sw .is-anual .ci-cobro [data-mes] { transform: translateY(-100%); opacity: 0; }
.sw .is-anual .ci-cobro [data-anio] { transform: none; opacity: 1; }
.sw .ci-etiqueta { position: relative; height: 26px; margin: 0; }
.sw .ci-libre, .sw .ci-ahorro { position: absolute; left: 0; top: 0; white-space: nowrap; padding: 5px 10px; border-radius: 99px; font-size: 12.5px; }
.sw .ci-libre { font-weight: 500; color: var(--m); border: 1px solid var(--bd); transition: opacity .3s var(--ci-curva), transform .3s var(--ci-curva); }
.sw .is-anual .ci-libre { opacity: 0; transform: translateY(-6px); }
.sw .ci-ahorro { font-weight: 700; color: var(--ci-exito); background: #E3F7EC; opacity: 0; transform: scale(.6) translateY(4px); transform-origin: 0 50%; transition: opacity .3s var(--ci-curva), transform .3s var(--ci-curva); }
.sw .is-anual .ci-ahorro { opacity: 1; transform: none; transition: opacity .4s var(--ci-curva) .5s, transform .6s var(--ci-resorte) .5s; }
.sw .is-anual .sw-plan:nth-child(2) .ci-ahorro { transition-delay: .58s; } .sw .is-anual .sw-plan:nth-child(3) .ci-ahorro { transition-delay: .66s; }
.sw .sw-plan { gap: 10px; }
.sw .sw-plan .sw-ptag { min-height: 0; }
/* El destacado: en negativo, azul, y un poco más alto */
.sw .sw-plan.hl { background: linear-gradient(160deg, #3A6CFA, var(--ac) 55%, #2352DE); color: #fff; border-color: transparent; padding-top: 34px; padding-bottom: 32px; box-shadow: 0 34px 60px -30px rgba(46,98,245,.75); }
.sw .sw-plan.hl h3, .sw .sw-plan.hl .ci-precio { color: #fff; }
.sw .sw-plan.hl .sw-ptag, .sw .sw-plan.hl .ci-cobro, .sw .sw-plan.hl .ci-precio small, .sw .sw-plan.hl .ci-antes { color: rgba(255,255,255,.72); }
.sw .sw-plan.hl .ci-libre { color: rgba(255,255,255,.8); border-color: rgba(255,255,255,.3); }
.sw .sw-plan.hl .ci-ahorro { color: #0F6A3D; background: #DDF6E8; }
.sw .sw-plan.hl ul { border-color: rgba(255,255,255,.2); }
.sw .sw-plan.hl li svg { background: rgba(255,255,255,.18); color: #fff; }
.sw .sw-plan.hl .sw-btn.primary { background: #fff; color: var(--ac); box-shadow: 0 12px 24px -12px rgba(0,0,0,.4); }
.sw .sw-plan.hl .sw-pflag { background: #fff; color: var(--ac); }
.sw .sw-plans { align-items: center; }
@media (max-width: 640px) { .sw .ci-precio { font-size: 44px; } .sw .ci-pulgar > span, .sw .ci-ciclo button { padding: 10px 16px; font-size: 14px; } }
@media (prefers-reduced-motion: reduce) { .sw .ci-cifra > span, .sw .ci-antes, .sw .ci-antes::after, .sw .ci-cobro span, .sw .ci-ahorro { transition-duration: .01s !important; transition-delay: 0s !important; } }

/* ==========================================================================
   Tarjeta de regalo como boleto con talón (adaptado de «Talón · Moxen»)
   ========================================================================== */
.gt { --tl-papel-1: color-mix(in srgb, #F6F2EA 92%, var(--gt-bg)); --tl-papel-2: color-mix(in srgb, #ECE6DB 88%, var(--gt-bg)); --tl-tinta: #121212; --tl-tinta-suave: rgba(18,18,18,.52); --tl-tinta-linea: rgba(18,18,18,.14);
  --tl-grano: .5; --tl-sombra: drop-shadow(0 1px 1px rgba(0,0,0,.25)) drop-shadow(0 26px 30px rgba(40,20,5,.28)); --tl-bien: #1f9d5a;
  --tl-alto: 320px; --tl-talon: 210px; --tl-radio: 18px; --tl-curva: cubic-bezier(.22,1,.36,1);
  container-type: inline-size; width: 100%; display: grid; justify-items: center; font-family: 'Plus Jakarta Sans', Outfit, system-ui, sans-serif; color: var(--tl-tinta); }
.gt .tl-entrada { position: relative; display: flex; width: min(860px, 100%); height: var(--tl-alto); filter: var(--tl-sombra); }
.gt .tl-cuerpo, .gt .tl-papel { position: relative; height: 100%; overflow: hidden; color: var(--tl-tinta); background: linear-gradient(170deg, var(--tl-papel-1), var(--tl-papel-2)); }
.gt .tl-cuerpo { flex: 1 1 auto; min-width: 0; display: flex; gap: 28px; padding: 30px 34px 30px 42px; border-radius: var(--tl-radio) 0 0 var(--tl-radio); }
.gt .gt-band { position: absolute; left: 0; top: 0; bottom: 0; width: 10px; background: linear-gradient(180deg, var(--gt-acc), color-mix(in srgb, var(--gt-acc) 70%, var(--gt-bg))); }
.gt .tl-talon { position: relative; flex: 0 0 var(--tl-talon); min-width: 0; margin-left: -4px; outline: none; cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; will-change: transform; }
.gt .tl-talon:active { cursor: grabbing; }
.gt .tl-papel { border-radius: 0 var(--tl-radio) var(--tl-radio) 0; display: flex; flex-direction: column; padding: 30px 22px 22px 28px; will-change: transform; }
.gt .tl-grano { position: absolute; inset: 0; pointer-events: none; opacity: var(--tl-grano); mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' seed='4' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5  0 0 0 0 .5  0 0 0 0 .5  0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23g)'/%3E%3C/svg%3E"); }
.gt .tl-curva { position: absolute; inset: 0; pointer-events: none; opacity: 0; background: linear-gradient(90deg, rgba(0,0,0,.34), rgba(0,0,0,.08) 30%, transparent 55%, rgba(255,255,255,.16) 82%, transparent); }
.gt .tl-talon:focus-visible .tl-papel { box-shadow: inset 0 0 0 2px var(--tl-tinta-suave); }
.gt .tl-qr { flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; margin: 0 0 0 auto; }
.gt .tl-codigo { display: block; width: 160px; height: 160px; background: rgba(255,255,255,.55); border-radius: 12px; }
.gt .tl-estado { display: flex; align-items: center; gap: 6px; height: 22px; margin: 0; color: var(--tl-tinta-suave); font-size: 11.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; transition: color .3s; }
.gt .tl-estado svg { width: 0; height: 16px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; transition: width .35s var(--tl-curva); }
.gt .tl-estado path { stroke-dasharray: 1 1.2; stroke-dashoffset: 1.1; }
.gt .tl-estado.is-valida { color: var(--tl-bien); }
.gt .tl-estado.is-valida svg { width: 16px; }
.gt .tl-estado.is-valida path { stroke-dashoffset: 0; transition: stroke-dashoffset .45s cubic-bezier(.65,0,.35,1) .1s; }
.gt .tl-info { position: relative; display: flex; flex-direction: column; min-width: 0; flex: 1 1 auto; }
.gt .tl-sobre { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 11.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--tl-tinta-suave); flex-wrap: wrap; }
.gt .tl-sobre [data-gt="emoji"] { font-size: 18px; letter-spacing: 0; }
.gt .tl-marca { padding: 4px 8px 3px; border: 1px solid var(--tl-tinta-linea); border-radius: 99px; letter-spacing: .14em; font-size: 9.5px; max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gt .tl-titulo { margin: auto 0 0; font-family: Anton, Impact, 'Arial Narrow', sans-serif; font-weight: 400; line-height: .92; letter-spacing: -.005em; text-transform: uppercase; overflow-wrap: anywhere; }
.gt .tl-titulo[data-size="xl"] { font-size: 96px; } .gt .tl-titulo[data-size="l"] { font-size: 72px; } .gt .tl-titulo[data-size="m"] { font-size: 54px; } .gt .tl-titulo[data-size="s"] { font-size: 40px; }
.gt .tl-datos { display: flex; gap: 26px; margin: 20px 0 0; padding-top: 14px; border-top: 1px solid var(--tl-tinta-linea); }
.gt .tl-datos div { min-width: 0; }
.gt .tl-datos dt, .gt .tl-asiento dt { font-size: 9.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--tl-tinta-suave); }
.gt .tl-datos dd, .gt .tl-asiento dd { margin: 4px 0 0; font-family: Anton, Impact, sans-serif; font-size: 20px; letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gt .tl-admite { position: relative; display: flex; flex-direction: column; margin: 0; }
.gt .tl-admite small { font-size: 10.5px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--tl-tinta-suave); }
.gt .tl-admite b { font-family: Anton, Impact, sans-serif; font-weight: 400; line-height: .95; font-size: 84px; }
.gt .tl-admite b[data-size="l"], .gt .tl-admite b[data-size="m"], .gt .tl-admite b[data-size="s"] { font-size: 54px; }
.gt .tl-asiento { position: relative; display: flex; gap: 22px; margin: 10px 0 0; }
.gt .tl-asiento dd { font-size: 22px; }
.gt .tl-barras { position: relative; margin: auto 0 0; font-family: 'Libre Barcode 128 Text', monospace; font-size: 34px; line-height: 1; white-space: nowrap; overflow: hidden; }
.gt .tl-serie { position: absolute; top: 32px; right: 22px; margin: 0; font-size: 9.5px; font-weight: 700; letter-spacing: .18em; color: var(--tl-tinta-suave); }
.gt .gt-sello { position: absolute; right: 30%; top: 50%; translate: 50% -50%; rotate: -14deg; padding: 8px 18px; border: 4px solid #C0362C; border-radius: 12px; color: #C0362C; font: 400 42px Anton, Impact, sans-serif; letter-spacing: .06em; text-transform: uppercase; opacity: .78; mix-blend-mode: multiply; animation: gtSello .5s cubic-bezier(.2,1.4,.4,1) .3s backwards; }
@keyframes gtSello { from { opacity: 0; transform: scale(2.2); } }
.gt.is-off .tl-talon { cursor: default; }
.gt.is-off .tl-entrada { filter: grayscale(.4) var(--tl-sombra); }

/* De pie cuando el espacio es angosto (vista previa del panel, celular): el talón va abajo */
@container (max-width: 640px) {
  .gt .tl-entrada { flex-direction: column; width: min(380px, 100%); height: auto; }
  .gt .tl-cuerpo { flex: none; flex-direction: column; gap: 20px; padding: 26px 24px 26px; border-radius: 16px 16px 0 0; }
  .gt .gt-band { width: auto; height: 8px; right: 0; bottom: auto; }
  .gt .tl-titulo { margin-top: 16px; }
  .gt .tl-titulo[data-size="xl"] { font-size: 68px; } .gt .tl-titulo[data-size="l"] { font-size: 52px; } .gt .tl-titulo[data-size="m"] { font-size: 40px; } .gt .tl-titulo[data-size="s"] { font-size: 32px; }
  .gt .tl-datos { gap: 16px; flex-wrap: wrap; }
  .gt .tl-datos dd { font-size: 17px; }
  .gt .tl-qr { flex-direction: row; justify-content: flex-start; gap: 16px; margin: 0; }
  .gt .tl-codigo { width: 128px; height: 128px; }
  .gt .tl-talon { flex: 0 0 128px; margin: -4px 0 0; }
  .gt .tl-papel { flex-direction: row; align-items: flex-end; gap: 14px; padding: 22px 22px 20px; border-radius: 0 0 16px 16px; }
  .gt .tl-admite b { font-size: 60px; } .gt .tl-admite b[data-size="l"], .gt .tl-admite b[data-size="m"], .gt .tl-admite b[data-size="s"] { font-size: 38px; }
  .gt .tl-asiento { flex-direction: column; margin: 0 0 4px; gap: 6px; }
  .gt .tl-asiento dd { margin: 0; font-size: 17px; }
  .gt .tl-barras { margin: 0 0 0 auto; font-size: 26px; }
  .gt .tl-serie { top: 22px; right: 22px; }
  .gt .tl-curva { background: linear-gradient(180deg, rgba(0,0,0,.34), rgba(0,0,0,.08) 30%, transparent 55%, rgba(255,255,255,.16) 82%, transparent); }
  .gt .gt-sello { right: 50%; top: 34%; font-size: 34px; }
}
@container (max-width: 330px) { .gt .tl-asiento { display: none; } }
.gt-hint { margin: 14px 0 0; font-size: 13px; color: var(--muted); text-align: center; }
@media (prefers-reduced-motion: reduce) { .gt .tl-estado, .gt .tl-estado svg, .gt .gt-sello { transition-duration: .01s; animation: none; } }
@container (max-width: 640px) {
  .gt .tl-cuerpo { height: auto; }
  .gt .tl-info { flex: none; }
  .gt .tl-talon .tl-papel { height: 100%; }
}
/* En la página de quien la recibe, el boleto sale del ancho de la columna para verse acostado en pantallas grandes */
#g-ticket { width: min(880px, calc(100vw - 32px)); position: relative; left: 50%; translate: -50% 0; }
/* Boleto de regalo en blanco */
.gt { --tl-papel-1: #FFFFFF; --tl-papel-2: #F7F7F8; --tl-grano: .18; --tl-sombra: drop-shadow(0 1px 1px rgba(0,0,0,.12)) drop-shadow(0 24px 30px rgba(15,18,34,.16)); }
.gt .tl-codigo { background: #fff; }
/* El regalo de fondo, tenue */
.gt .gt-art { position: absolute; z-index: 0; width: 300px; height: 300px; right: 190px; top: 50%; translate: 0 -50%; rotate: -10deg; opacity: .13; pointer-events: none; animation: gtArt 7s ease-in-out infinite; }
@keyframes gtArt { 50% { transform: translateY(-6px) rotate(3deg); } }
.gt .tl-info, .gt .tl-qr { position: relative; z-index: 1; }
.gt.is-off .gt-art { opacity: .07; filter: grayscale(1); animation: none; }
@container (max-width: 640px) { .gt .gt-art { width: 240px; height: 240px; right: -30px; top: 34%; } }
/* papel blanco de verdad (sin el tinte del diseño) */
.gt .tl-cuerpo, .gt .tl-papel { background: linear-gradient(170deg, #FFFFFF, #F8F8F9); }
@media (prefers-reduced-motion: reduce) { .gt .gt-art { animation: none; } }
.gt .gt-art { opacity: .16; }
@container (max-width: 640px) { .gt .gt-art { width: 230px; height: 230px; right: -18px; top: auto; bottom: -8px; translate: 0 0; rotate: -8deg; } }
/* QR centrado en el boleto de pie */
@container (max-width: 640px) {
  .gt .tl-qr { flex-direction: column; align-items: center; justify-content: center; gap: 10px; margin: 4px auto 0; align-self: center; }
  .gt .tl-codigo { width: 150px; height: 150px; }
  .gt .gt-art { right: auto; left: 50%; translate: -50% 0; bottom: 6px; width: 250px; height: 250px; }
}
/* El regalo de fondo a la derecha del QR en el boleto de pie */
@container (max-width: 640px) {
  .gt .gt-art { left: auto; right: -46px; translate: 0 0; bottom: 30px; width: 210px; height: 210px; rotate: 10deg; }
}

/* ==========================================================================
   Entrar y Recuperar (public/login.js) · tarjeta grande sobre gris, campos y
   botones tipo píldora, panel claro con ilustración y pasos en tarjeta centrada
   ========================================================================== */
.au { --t: #0F1222; --m: #5B6172; --m2: #8A90A2; --bd: #DADDE5; --bd2: #E9EBF1; --ac: #2E62F5; --ac-h: #2453DB; --ac-soft: #EAF0FF; --side: #F5F7FB; --ok: #15803D; --bad: #C0362C;
  --spr: cubic-bezier(.3,1.4,.5,1); --e: cubic-bezier(.2,.8,.2,1);
  position: relative; min-height: 100dvh; display: grid; place-items: center; padding: clamp(12px, 3vw, 44px); overflow: hidden;
  background: #E4E6EC; color: var(--t); font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif; }
/* Trazos suaves de luz en el fondo */
.au::before, .au::after { content: ''; position: absolute; pointer-events: none; border-radius: 999px; filter: blur(22px); opacity: .75; }
.au::before { width: 1200px; height: 70px; left: -260px; top: 18%; background: linear-gradient(90deg, transparent, #fff 35%, #F4F5F8 65%, transparent); transform: rotate(-34deg); }
.au::after { width: 1000px; height: 60px; right: -320px; bottom: 10%; background: linear-gradient(90deg, transparent, #fff 40%, transparent); transform: rotate(-38deg); }
.au a { color: inherit; }
.au :focus-visible { outline: 2px solid var(--ac); outline-offset: 3px; }
.au input:focus-visible { outline: none; }
.au input::-webkit-calendar-picker-indicator { display: none !important; }

.au-shell { position: relative; z-index: 1; width: min(1340px, 100%); min-height: min(860px, calc(100dvh - 2 * clamp(12px, 3vw, 44px))); background: #fff; border-radius: 18px;
  box-shadow: 0 1px 2px rgba(15,18,34,.04), 0 40px 90px -50px rgba(15,18,34,.35); overflow: hidden; display: grid; animation: auIn .7s var(--e) backwards; }
.au-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); }
.au-split[hidden], .au-center[hidden] { display: none !important; }
@keyframes auIn { from { opacity: 0; transform: translateY(18px) scale(.99); } }
@keyframes auRise { from { opacity: 0; transform: translateY(14px); } }

/* Marca */
.au-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -.02em; text-decoration: none; }
.au-logo { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; color: #FFD45C; background: linear-gradient(140deg, #3A6CFA, #2E62F5 55%, #6F52F5); box-shadow: 0 8px 18px -8px rgba(46,98,245,.8); }
.au-logo svg { width: 20px; height: 20px; }

/* Columna del formulario */
.au-main { display: flex; flex-direction: column; padding: clamp(26px, 3.4vw, 48px) clamp(22px, 4vw, 56px); min-width: 0; }
.au-body { width: min(440px, 100%); margin: auto; padding: 36px 0 28px; }
.au-body > * { animation: auRise .6s var(--e) backwards; animation-delay: calc(var(--i, 0) * 70ms + 120ms); }
.au-h { font-size: clamp(30px, 3vw, 38px); line-height: 1.12; letter-spacing: -.02em; word-spacing: .04em; font-weight: 800; margin: 0; }
.au-wave { display: inline-block; transform-origin: 70% 80%; animation: auWave 2.4s 1s ease-in-out 2; }
@keyframes auWave { 0%, 60%, 100% { transform: none; } 10%, 30% { transform: rotate(14deg); } 20%, 40% { transform: rotate(-8deg); } }
.au-sub { color: var(--m); font-size: 14.5px; line-height: 1.6; margin: 10px 0 24px; }

/* Interruptor Dueño / Caja */
.au-seg { position: relative; display: inline-flex; padding: 4px; border-radius: 999px; background: #F1F3F7; margin-bottom: 22px; isolation: isolate; }
.au-seg-pill { position: absolute; z-index: -1; top: 4px; left: 4px; height: calc(100% - 8px); border-radius: 999px; background: #fff; box-shadow: 0 1px 2px rgba(15,18,34,.08), 0 6px 14px -8px rgba(15,18,34,.25); transition: transform .45s var(--spr), width .45s var(--spr); }
.au-seg button { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 16px; border: 0; background: none; border-radius: 999px; font: 600 13.5px inherit; font-family: inherit; color: var(--m); cursor: pointer; transition: color .25s; }
.au-seg button[aria-selected="true"] { color: var(--t); }
.au-seg button svg { width: 15px; height: 15px; }
.au-stage { overflow: hidden; margin: -6px; padding: 6px; }

/* Formulario */
.au-form { display: grid; gap: 16px; }
.au-field { display: grid; gap: 8px; }
.au-label { font-size: 14px; font-weight: 600; color: var(--t); }
.au-label small { font-weight: 500; color: var(--m2); margin-left: 6px; }
.au-input { position: relative; display: block; }
.au-input input { width: 100%; height: 56px; border-radius: 999px; border: 1.5px solid var(--bd); background: #fff; padding: 0 52px 0 50px; font: 500 15px 'Plus Jakarta Sans', sans-serif; color: var(--t); outline: none; transition: border-color .2s, box-shadow .25s, background .2s; }
.au-input input::placeholder { color: #A3A8B6; font-weight: 400; }
.au-input input:hover { border-color: #C4C9D4; }
.au-input input:focus { border-color: var(--ac); box-shadow: 0 0 0 4px rgba(46,98,245,.12); }
.au-ic { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: #7B8194; display: grid; pointer-events: none; transition: color .2s; }
.au-ic svg { width: 17px; height: 17px; }
.au-input:focus-within .au-ic { color: var(--ac); }
.au-eye { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border: 0; border-radius: 50%; background: none; color: #4B5165; display: grid; place-items: center; cursor: pointer; }
.au-eye:hover { background: #F1F3F7; }
.au-eye svg { width: 18px; height: 18px; } .au-eye .au-slash { opacity: 0; transition: opacity .2s; } .au-eye.on .au-slash { opacity: 1; }
.au-row { display: flex; justify-content: space-between; align-items: center; margin-top: -6px; }
.au .au-link { color: var(--ac); font: 700 13.5px 'Plus Jakarta Sans', sans-serif; text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer; }
.au .au-link:hover { text-decoration: underline; }
.au-caps, .au-err, .au-msg { display: flex; align-items: center; gap: 8px; margin: -4px 0 0; font-size: 13px; font-weight: 600; border-radius: 12px; }
.au-caps { color: #A15C00; }
.au-err { color: var(--bad); background: #FDECEA; padding: 10px 14px; }
.au-msg { color: var(--ok); background: #E4F6EA; padding: 10px 14px; }
.au-caps[hidden], .au-err[hidden], .au-msg[hidden], .au [data-otp-app][hidden], .au [data-otp-backup][hidden] { display: none !important; }
.au-form.bad .au-input input, .au-form.bad .au-pin input { border-color: #E5534B; box-shadow: 0 0 0 4px rgba(229,83,75,.1); }

/* Botón principal (con estados: cargando y palomita) */
.au-btn { position: relative; height: 56px; width: 100%; border: 0; border-radius: 999px; background: var(--ac); color: #fff; font: 700 15px 'Plus Jakarta Sans', sans-serif; cursor: pointer; overflow: hidden; margin-top: 4px;
  box-shadow: 0 14px 26px -14px rgba(46,98,245,.85), inset 0 1px 0 rgba(255,255,255,.18); transition: background .2s, transform .2s var(--e), box-shadow .25s, width .5s var(--spr); justify-self: center; }
.au-btn:hover { background: var(--ac-h); transform: translateY(-1px); box-shadow: 0 18px 30px -14px rgba(46,98,245,.9), inset 0 1px 0 rgba(255,255,255,.18); }
.au-btn:active { transform: translateY(0) scale(.99); }
.au-btn > span { position: absolute; inset: 0; display: grid; place-items: center; transition: opacity .25s, transform .4s var(--spr); }
.au-btn[type="button"] > span { position: static; }
.au-spin, .au-ok { opacity: 0; transform: scale(.4); }
.au-spin::before { content: ''; width: 22px; height: 22px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.35); border-top-color: #fff; animation: spin .7s linear infinite; }
.au-btn.busy .au-btn-t, .au-btn.done .au-btn-t { opacity: 0; transform: translateY(-14px); }
.au-btn.busy .au-spin { opacity: 1; transform: none; }
.au-btn.done { width: 56px; background: #16A34A; box-shadow: 0 14px 28px -12px rgba(22,163,74,.9); }
.au-btn.done .au-ok { opacity: 1; transform: none; }
.au-btn.done .au-ok svg { stroke-dasharray: 30; stroke-dashoffset: 30; animation: drawOk .45s .15s var(--e) forwards; }
.au-terms { text-align: center; font-size: 12.5px; color: var(--m); margin: -2px 0 0; }
.au-terms a { color: var(--t); font-weight: 700; text-decoration: none; }
.au-terms a:hover { color: var(--ac); }
.au-or { display: flex; align-items: center; gap: 14px; color: var(--m2); font-size: 12.5px; margin: 2px 0; }
.au-or::before, .au-or::after { content: ''; flex: 1; height: 1px; background: var(--bd2); }
.au-social { display: flex; align-items: center; justify-content: center; gap: 10px; height: 54px; border-radius: 999px; border: 1.5px solid var(--bd); background: #fff; font-weight: 600; font-size: 14.5px; text-decoration: none; transition: border-color .2s, background .2s, transform .2s var(--e); }
.au-social:hover { border-color: #B9BFCC; background: #FAFBFC; transform: translateY(-1px); }
.au-demo { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 8px; font-size: 12.5px; color: var(--m2); margin-top: 2px; }
.au-demo button { display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 12px; border-radius: 999px; border: 1px dashed #CDD1DB; background: #fff; font: 600 12.5px 'Plus Jakarta Sans', sans-serif; color: var(--t); cursor: pointer; transition: border-color .2s, background .2s; }
.au-demo button svg { color: #6F52F5; }
.au-demo button:hover { border-style: solid; border-color: var(--ac); background: var(--ac-soft); }
.au-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: -6px; }
.au-chips button { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px; border-radius: 999px; border: 1.5px solid var(--bd2); background: #fff; font: 600 12.5px 'Plus Jakarta Sans', sans-serif; color: var(--t); cursor: pointer; transition: border-color .2s; }
.au-chips button i { width: 10px; height: 10px; border-radius: 50%; }
.au-chips button:hover, .au-chips button.on { border-color: var(--ac); }

/* Casillas de PIN y códigos */
.au-pin { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.au-pin input { height: 60px; width: 100%; min-width: 0; border-radius: 16px; border: 1.5px solid var(--bd); background: #fff; text-align: center; font: 800 22px 'Plus Jakarta Sans', sans-serif; color: var(--t); outline: none; caret-color: var(--ac); -webkit-text-security: disc; transition: border-color .2s, box-shadow .25s, background .2s; }
.au-pin.otp input { -webkit-text-security: none; height: 68px; font-size: 26px; }
.au-pin input.opt { border-style: dashed; background: #FBFBFD; }
.au-pin input:focus { border-color: var(--ac); background: #F6F9FF; box-shadow: 0 0 0 4px rgba(46,98,245,.12); border-style: solid; }
.au-pin input.fill { border-color: #B9C6E8; }

/* Pie */
.au-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; font-size: 12.5px; color: var(--m2); }
.au-legal nav { display: flex; gap: 16px; }
.au-legal a { text-decoration: none; }
.au-legal a:hover { color: var(--ac); }

/* Panel derecho */
.au-side { position: relative; background: var(--side); display: flex; flex-direction: column; padding: clamp(26px, 3.4vw, 48px); min-width: 0; overflow: hidden; }
.au-cta { display: flex; justify-content: flex-end; align-items: center; gap: 14px; font-size: 14px; color: var(--m); min-height: 46px; }
.au-pill { display: inline-flex; align-items: center; height: 46px; padding: 0 22px; border-radius: 999px; background: var(--ac); color: #fff !important; font-weight: 700; font-size: 14px; text-decoration: none; box-shadow: 0 10px 22px -12px rgba(46,98,245,.8); transition: background .2s, transform .2s var(--e); }
.au-pill:hover { background: var(--ac-h); transform: translateY(-1px); }
.au-side-copy { text-align: center; max-width: 420px; margin: 0 auto auto; }
.au-side-copy h2 { font-size: clamp(24px, 2.3vw, 30px); letter-spacing: -.015em; word-spacing: .04em; font-weight: 800; margin: 0 0 10px; }
.au-side-copy p { color: var(--m); font-size: 15px; line-height: 1.6; margin: 0; }

/* Ilustración: placa azul inclinada, tarjeta con trazo de tinta, avisos y confeti */
.au-ill { --rx: 0deg; --ry: 0deg; position: relative; width: min(440px, 100%); aspect-ratio: 1 / .86; margin: auto auto 28px; perspective: 1000px; }
.au-ill > * { transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .5s var(--e); }
.au-ill-plate { position: absolute; left: 6%; right: 10%; top: 26%; bottom: 14%; background: linear-gradient(160deg, #7FA3FF, #5C86F5); border-radius: 6px; transform: rotate(-4deg) skewX(-3deg) rotateX(var(--rx)) rotateY(var(--ry)); clip-path: polygon(0 4%, 100% 0, 97% 100%, 2% 96%); }
.au-ill-corner { position: absolute; width: 34px; height: 34px; border: 2px solid var(--t); }
.au-ill-corner.tl { left: 2%; top: 18%; border-right: 0; border-bottom: 0; }
.au-ill-corner.br { right: 4%; bottom: 8%; border-left: 0; border-top: 0; }
.au-pass { position: absolute; left: 14%; top: 8%; width: 64%; aspect-ratio: 1.58; border-radius: 20px; padding: 18px 20px; color: #FFF4E6; background: linear-gradient(150deg, #8A4422, #6E3417); border: 2.5px solid var(--t); box-shadow: 8px 8px 0 var(--t); display: flex; flex-direction: column; gap: 8px; }
.au-pass.hit { animation: auHit .5s var(--spr); }
@keyframes auHit { 40% { transform: rotateX(var(--rx)) rotateY(var(--ry)) translateY(-4px) rotate(-1deg); } }
.au-pass-top { display: flex; align-items: center; gap: 8px; font: 700 10.5px 'JetBrains Mono', monospace; letter-spacing: .14em; opacity: .9; }
.au-pass-top em { margin-left: auto; font-style: normal; background: rgba(255,255,255,.16); border-radius: 999px; padding: 3px 9px; letter-spacing: 0; }
.au-pass-logo { width: 26px; height: 26px; border-radius: 8px; background: rgba(255,255,255,.14); display: grid; place-items: center; color: #FFD45C; }
.au-pass-logo svg { width: 16px; height: 16px; }
.au-pass b { font-size: clamp(15px, 1.5vw, 19px); font-weight: 800; letter-spacing: -.02em; color: #fff; }
.au-dots { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; }
.au-dots i { aspect-ratio: 1; border-radius: 50%; border: 1.5px solid rgba(255,236,214,.55); transition: background .3s, transform .4s var(--spr); }
.au-dots i.f { background: #FFE2BF; border-color: #FFE2BF; }
.au-dots i.f:last-of-type { transform: scale(1.12); }
.au-pass-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: flex-end; font-size: 12.5px; font-weight: 600; }
.au-pass-foot small { display: block; font: 600 9px 'JetBrains Mono', monospace; letter-spacing: .12em; opacity: .7; }
.au-qr { width: 30px; height: 30px; border-radius: 6px; background: repeating-conic-gradient(#fff 0 25%, #2A1A10 0 50%) 0 0 / 7.5px 7.5px; border: 3px solid #fff; }
.au-notes { position: absolute; right: 0; top: 48%; width: 58%; display: grid; gap: 8px; }
.au-note { display: flex; align-items: center; gap: 10px; background: #fff; border: 2px solid var(--t); border-radius: 16px; padding: 9px 12px; font-size: 12.5px; box-shadow: 4px 4px 0 var(--t); }
.au-note:nth-child(2) { opacity: .7; transform: scale(.96) translateX(10px); }
.au-note b { display: block; font-size: 13px; } .au-note small { color: var(--m); } .au-note em { margin-left: auto; font-style: normal; font-size: 11px; color: var(--m2); }
.au-av { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 800; color: #1F2340; flex: 0 0 32px; border: 1.5px solid var(--t); }
.au-stat { position: absolute; left: 4%; bottom: 4%; background: #fff; border: 2px solid var(--t); border-radius: 16px; padding: 10px 14px; box-shadow: 4px 4px 0 var(--t); display: grid; grid-template-columns: auto auto; gap: 2px 14px; align-items: end; }
.au-stat small { grid-column: 1 / -1; font-size: 11.5px; color: var(--m); }
.au-stat b { font-size: 26px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.au-bars { display: flex; align-items: flex-end; gap: 4px; height: 28px; }
.au-bars i { width: 7px; height: var(--h); border-radius: 3px; background: var(--ac); opacity: .35; } .au-bars i:last-child { opacity: 1; }
.au-cf { position: absolute; display: block; }
.au-cf.c1 { right: 16%; top: 2%; width: 14px; height: 14px; background: #FFC93C; transform: rotate(14deg); border-radius: 3px; animation: auFloat 5s ease-in-out infinite; }
.au-cf.c2 { right: 26%; top: 0; width: 22px; height: 3px; background: #F25C9A; transform: rotate(40deg); border-radius: 2px; }
.au-cf.c3 { left: 2%; top: 52%; width: 0; height: 0; border-left: 8px solid transparent; border-right: 8px solid transparent; border-bottom: 13px solid #F25C9A; transform: rotate(-18deg); animation: auFloat 6s .8s ease-in-out infinite; }
.au-cf.c4 { right: 2%; top: 34%; width: 16px; height: 3px; background: #FFC93C; transform: rotate(-52deg); border-radius: 2px; }
.au-cf.c5 { left: 46%; bottom: 0; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--ac); }
@keyframes auFloat { 50% { translate: 0 -8px; } }

/* Pasos en tarjeta centrada */
.au-center { display: flex; flex-direction: column; padding: clamp(26px, 3.4vw, 48px); background: #FDFDFE; }
.au-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.au-top .au-cta { min-height: 0; }
.au-card { width: min(520px, 100%); margin: auto; padding: clamp(28px, 4vw, 44px) clamp(22px, 4vw, 48px); background: #fff; border-radius: 26px; border: 1px solid #EEF0F5; box-shadow: 0 2px 4px rgba(15,18,34,.03), 0 36px 70px -38px rgba(15,18,34,.32); }
.au-center .au-legal { justify-content: center; }
.au-back { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--m); text-decoration: none; justify-self: start; margin-bottom: 6px; }
.au-back:hover { color: var(--t); }
.au-step-ic { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: var(--ac-soft); color: var(--ac); justify-self: center; }
.au-step-h { font-size: clamp(26px, 3vw, 32px); letter-spacing: -.02em; word-spacing: .04em; font-weight: 800; text-align: center; margin: 0; }
.au-step-sub { color: var(--m); font-size: 14.5px; line-height: 1.6; text-align: center; margin: -8px 0 6px; }
.au-alt { text-align: center; font-size: 13.5px; color: var(--m); margin: 0; }
.au-option { display: grid; gap: 14px; padding: 16px; border-radius: 20px; border: 1.5px solid var(--bd2); background: #fff; }
.au-option.on { border-color: #9CB6F8; box-shadow: 0 0 0 4px rgba(46,98,245,.06); }
.au-option-head { display: flex; align-items: center; gap: 14px; }
.au-option-head b { display: block; font-size: 15.5px; color: var(--ac); }
.au-option-head small { display: block; font-size: 12.5px; color: var(--m); margin-top: 2px; }
.au-option-ic { width: 48px; height: 48px; border-radius: 50%; background: var(--ac-soft); color: var(--ac); display: grid; place-items: center; flex: 0 0 48px; }

/* Listo */
.au-done { justify-items: stretch; }
.au-done-art { position: relative; width: 190px; height: 150px; justify-self: center; margin-bottom: 4px; }
.au-done-card { position: absolute; left: 22px; right: 22px; bottom: 8px; height: 86px; border-radius: 16px; border: 2.5px solid var(--t); background: linear-gradient(150deg, #3A6CFA, #2E62F5); box-shadow: 6px 6px 0 var(--t); padding: 16px 14px; display: grid; align-content: end; animation: auRise .6s var(--spr) backwards; }
.au-done-card .au-dots i { border-color: rgba(255,255,255,.5); }
.au-done-card .au-dots i.f { background: #fff; border-color: #fff; }
.au-done-badge { position: absolute; right: 8px; top: 22px; width: 52px; height: 52px; border-radius: 50%; background: #16A34A; color: #fff; display: grid; place-items: center; border: 2.5px solid var(--t); box-shadow: 3px 3px 0 var(--t); animation: logoPop .7s .25s var(--spr) backwards; }
.au-done-badge svg { stroke-dasharray: 30; stroke-dashoffset: 30; animation: drawOk .45s .6s var(--e) forwards; }
.au-star { position: absolute; width: 22px; height: 22px; background: #5C9DF7; clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); animation: auPop .6s var(--spr) backwards; }
.au-star.s1 { left: 34px; top: 10px; animation-delay: .35s; } .au-star.s2 { left: 84px; top: -4px; width: 30px; height: 30px; animation-delay: .45s; } .au-star.s3 { right: 64px; top: 12px; width: 18px; height: 18px; animation-delay: .55s; }
.au-px { position: absolute; width: 8px; height: 8px; background: var(--t); animation: auPop .5s var(--spr) backwards .6s; }
.au-px.p1 { left: 6px; top: 24px; } .au-px.p2 { right: 2px; top: 4px; } .au-px.p3 { left: 0; bottom: 40px; width: 6px; height: 6px; } .au-px.p4 { right: 0; bottom: 70px; width: 6px; height: 6px; }
@keyframes auPop { from { opacity: 0; transform: scale(.2) rotate(-40deg); } }

/* Bienvenida a pantalla completa */
.au-welcome { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; color: #fff; pointer-events: none;
  background: radial-gradient(80% 70% at 20% 10%, #5B85FF, transparent 70%), radial-gradient(70% 70% at 90% 90%, #6F52F5, transparent 70%), linear-gradient(150deg, #3A6CFA, #2E62F5 55%, #2352DE);
  clip-path: circle(0px at var(--ox, 50%) var(--oy, 50%)); transition: clip-path .9s cubic-bezier(.7,0,.2,1); }
.au-welcome.on { clip-path: circle(150vmax at var(--ox, 50%) var(--oy, 50%)); pointer-events: auto; }
.au-welcome-in { display: grid; justify-items: center; gap: 10px; text-align: center; padding: 20px; }
.au-welcome-ic { width: 76px; height: 76px; border-radius: 50%; background: #fff; color: #16A34A; display: grid; place-items: center; box-shadow: 0 20px 40px -18px rgba(0,0,0,.5); }
.au-welcome-ic svg { width: 36px; height: 36px; }
.au-welcome h2 { font-size: clamp(30px, 5vw, 52px); font-weight: 800; letter-spacing: -.035em; margin: 10px 0 0; }
.au-welcome p { font-size: 16px; opacity: .85; margin: 0; display: inline-flex; align-items: center; gap: 10px; }
.au-welcome p::after { content: ''; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; animation: spin .7s linear infinite; }
.au-welcome.on .au-welcome-ic { animation: logoPop .8s .35s var(--spr) backwards; }
.au-welcome.on h2 { animation: lgIn .8s .45s var(--spr) backwards; }
.au-welcome.on p { animation: lgIn .8s .55s var(--spr) backwards; }

@media (max-width: 980px) {
  .au { padding: 0; place-items: stretch; }
  .au-shell { border-radius: 0; min-height: 100dvh; box-shadow: none; }
  .au-split { grid-template-columns: 1fr; }
  .au-side { display: none; }
  .au-body { padding-top: 26px; }
  .au-legal { justify-content: center; text-align: center; }
}
@media (max-width: 520px) {
  .au-pin { gap: 7px; } .au-pin input { height: 54px; border-radius: 14px; } .au-pin.otp input { height: 58px; font-size: 22px; }
  .au-top .au-cta > span { display: none; }
  .au-card { border: 0; box-shadow: none; padding: 20px 4px; }
}
@media (prefers-reduced-motion: reduce) { .au *, .au::before, .au::after { animation: none !important; transition: none !important; } }

/* Logo de la plataforma (Ajustes → Logo): mismo lugar que el sol, con su alto en cada pantalla */
.brand-img { display: block; width: auto; max-width: 200px; object-fit: contain; }
.sw-brand .brand-img { height: 34px; }
.au-brand .brand-img { height: 38px; }
.sw-foot-brand .brand-img { height: 36px; }
.set-logo-prev { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.set-logo-prev > div { min-height: 84px; border-radius: 14px; display: grid; place-items: center; padding: 14px; border: 1px solid var(--line); }
.set-logo-prev > div:first-child { background: #fff; }
.set-logo-prev > div:last-child { background: #F5F7FB; }
.set-logo-prev .brand-mark { display: inline-flex; align-items: center; gap: 10px; font: 800 18px 'Plus Jakarta Sans', sans-serif; letter-spacing: -.02em; color: #0F1222; }
.set-logo-prev .brand-img { height: 38px; }
.set-logo-prev .sw-logo { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; color: #FFD45C; background: linear-gradient(140deg, #3A6CFA, #2E62F5 55%, #6F52F5); }
.set-logo-prev .sw-logo svg { width: 20px; height: 20px; }
.set-logo-drop { border: 1.5px dashed var(--line); border-radius: 14px; padding: 14px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; transition: border-color .2s, background .2s; }
.set-logo-drop.over { border-color: var(--ink); background: var(--surface-2); }
