/* =========================================================
   Propina Mía — landing
   Tokens según Manual de Marca (Oct 2026)
   ========================================================= */
:root {
  /* Paleta oficial */
  --violet: #9166FE;
  --violet-300: #B79BFF;
  --lime: #B5E529;
  --paper: #FCFCFC;
  /* Derivados para contraste AA */
  --violet-600: #7246F2;   /* botones con texto blanco */
  --violet-700: #5B2FE0;   /* texto violeta sobre blanco */
  --violet-900: #24133F;   /* tinta */
  --violet-50: #F4F0FF;
  --violet-100: #EAE2FF;
  --lime-200: #E4F6A9;
  --lime-600: #93BE12;
  --ink: #24133F;
  --ink-2: #4B4362;
  --muted: #6C6680;
  --line: #E8E3F4;

  --font-display: "Comfortaa", ui-rounded, "Arial Rounded MT Bold", system-ui, sans-serif;
  --font-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 32px;
  --shadow-sm: 0 2px 8px rgb(36 19 63 / .06);
  --shadow: 0 18px 40px -16px rgb(36 19 63 / .22);
  --shadow-lg: 0 40px 80px -30px rgb(36 19 63 / .38);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);

  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.08; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
main { overflow-x: clip; }

.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 200; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; transform: translateY(-200%); transition: transform .2s; }
.skip-link:focus { transform: none; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 8px; }
.section :focus-visible, .faq :focus-visible { outline-color: var(--violet-700); }

.t-violet { color: var(--violet-700); }
.t-lime { color: var(--lime); }

/* ---------- Botones ---------- */
.btn {
  --bg: var(--ink); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .8em 1.45em;
  border: 0; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-family: var(--font-display); font-weight: 700; font-size: 1rem; letter-spacing: -.01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease-spring), box-shadow .25s var(--ease), background-color .2s;
  position: relative; isolation: isolate; overflow: hidden;
}
.btn svg { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-lg { min-height: 56px; padding: .95em 1.75em; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-lime { --bg: var(--lime); --fg: var(--ink); box-shadow: 0 10px 24px -10px rgb(181 229 41 / .8), inset 0 -2px 0 rgb(0 0 0 / .08); }
.btn-lime:hover { box-shadow: 0 16px 30px -10px rgb(181 229 41 / .9), inset 0 -2px 0 rgb(0 0 0 / .08); }
.btn-violet { --bg: var(--violet-600); --fg: #fff; box-shadow: 0 12px 26px -12px rgb(114 70 242 / .8); }
.btn-violet:hover { --bg: var(--violet-700); }
.btn-ghost { --bg: rgb(255 255 255 / .1); --fg: #fff; box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .45); backdrop-filter: blur(6px); }
.btn-ghost:hover { --bg: rgb(255 255 255 / .18); }
.btn-ghost-dark { --bg: transparent; --fg: var(--violet-700); box-shadow: inset 0 0 0 1.5px var(--violet-300); }
.btn-lime::after, .btn-violet::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgb(255 255 255 / .45) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn-lime:hover::after, .btn-violet:hover::after { transform: translateX(120%); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-display); font-weight: 700; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--violet-700); margin-bottom: 14px;
}
.eyebrow-light { color: var(--lime); }
.eyebrow-lime { color: var(--lime); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  transition: background-color .3s, box-shadow .3s, backdrop-filter .3s, transform .35s var(--ease);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { position: relative; display: block; width: 156px; flex: none; }
.brand img { width: 100%; transition: opacity .3s; }
.brand .brand-color { position: absolute; inset: 0; opacity: 0; }
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s;
  background: rgb(252 252 252 / .82);
  backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgb(36 19 63 / .3);
}
.site-header.is-solid::before { opacity: 1; }
.menu-open .site-header::before { opacity: 0; }
.menu-open .site-header { transform: none; }
.site-header:focus-within { transform: none; }
.site-header.is-solid .brand-color { opacity: 1; }
.site-header.is-solid .brand-white { opacity: 0; }
.site-header.is-hidden { transform: translateY(-100%); }

.nav { display: flex; align-items: center; gap: 28px; }
.nav-list { display: flex; gap: 4px; }
.nav-list a {
  display: block; padding: 8px 14px; border-radius: 999px;
  color: #fff; text-decoration: none; font-weight: 600; font-size: .98rem;
  transition: background-color .2s, color .2s;
}
.nav-list a:hover { background: rgb(255 255 255 / .14); }
.site-header.is-solid .nav-list a { color: var(--ink-2); }
.site-header.is-solid .nav-list a:hover { background: var(--violet-50); color: var(--violet-700); }
.nav-list a.is-active { background: rgb(255 255 255 / .16); }
.site-header.is-solid .nav-list a.is-active { background: var(--violet-50); color: var(--violet-700); }
.nav-cta { min-height: 44px; padding: .6em 1.2em; font-size: .95rem; }

.menu-toggle {
  display: none; width: 48px; height: 48px; border: 0; border-radius: 999px; cursor: pointer;
  background: rgb(255 255 255 / .14); place-items: center; position: relative; z-index: 2;
}
.site-header.is-solid .menu-toggle { background: var(--violet-50); }
.menu-bars { display: grid; gap: 6px; width: 20px; }
.menu-bars i { display: block; height: 2.5px; border-radius: 3px; background: #fff; transition: transform .35s var(--ease), background-color .2s; }
.site-header.is-solid .menu-bars i { background: var(--ink); }
.menu-open .menu-bars i { background: var(--ink); }
.menu-open .menu-bars i:first-child { transform: translateY(4.25px) rotate(45deg); }
.menu-open .menu-bars i:last-child { transform: translateY(-4.25px) rotate(-45deg); }

@media (max-width: 920px) {
  .menu-toggle { display: grid; }
  .nav {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; align-items: stretch; justify-content: center; gap: 32px;
    padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
    background: var(--paper);
    clip-path: circle(0% at calc(100% - 44px) 36px);
    visibility: hidden;
    transition: clip-path .6s var(--ease), visibility 0s .6s;
  }
  .menu-open .nav { clip-path: circle(150% at calc(100% - 44px) 36px); visibility: visible; transition: clip-path .7s var(--ease), visibility 0s; }
  .nav-list { flex-direction: column; gap: 4px; }
  .nav-list a, .site-header.is-solid .nav-list a {
    color: var(--ink); font-family: var(--font-display); font-size: clamp(1.6rem, 7vw, 2.2rem); padding: 10px 0; border-radius: 0;
    opacity: 0; transform: translateY(16px); transition: opacity .4s, transform .5s var(--ease);
  }
  .nav-list a:hover { background: none; color: var(--violet-700); }
  .menu-open .nav-list a, .menu-open .site-header.is-solid .nav-list a { opacity: 1; transform: none; }
  .menu-open .nav-list li:nth-child(2) a { transition-delay: .05s; }
  .menu-open .nav-list li:nth-child(3) a { transition-delay: .1s; }
  .menu-open .nav-list li:nth-child(4) a { transition-delay: .15s; }
  .menu-open .nav-list li:nth-child(5) a { transition-delay: .2s; }
  .nav-cta { min-height: 56px; font-size: 1.1rem; }
  .menu-open .brand-color { opacity: 1; }
  .menu-open .brand-white { opacity: 0; }
  .menu-open .brand { position: relative; z-index: 2; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: clip;
  min-height: 100svh;
  padding: calc(var(--header-h) + 32px) 0 96px;
  color: #fff;
  background:
    radial-gradient(120% 90% at 85% 45%, #8F66FD 0%, transparent 55%),
    linear-gradient(160deg, #7A4DF8 0%, #6C3FEE 55%, #5428D2 100%);
  display: flex; align-items: center;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; will-change: transform; }
.blob-1 { width: 520px; height: 520px; background: var(--violet-300); top: -160px; right: -120px; animation: drift 18s ease-in-out infinite; }
.blob-2 { width: 380px; height: 380px; background: var(--lime); bottom: -200px; left: -120px; opacity: .28; animation: drift 22s ease-in-out infinite reverse; }
.blob-3 { width: 260px; height: 260px; background: #C9B6FF; top: 40%; left: 45%; opacity: .25; animation: drift 26s ease-in-out infinite; }
@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, 30px) scale(1.08); }
  66% { transform: translate(-30px, 20px) scale(.95); }
}
.grain {
  position: absolute; inset: 0; opacity: .14; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(32px, 5vw, 72px); }
.h1-kicker {
  font-family: var(--font-body); letter-spacing: 0; line-height: 1.2; color: #fff; margin-bottom: 22px; width: fit-content;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 12px; border-radius: 999px;
  background: rgb(255 255 255 / .12); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .25);
  font-weight: 600; font-size: .92rem; backdrop-filter: blur(6px);
}
.pill-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgb(181 229 41 / .7); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgb(181 229 41 / .7); } 80%, 100% { box-shadow: 0 0 0 10px rgb(181 229 41 / 0); } }
.hero h1 .h1-kicker { display: flex; font-size: .92rem; }
.rise { animation: rise .9s var(--ease) both; }
.hero-lede.rise { animation-delay: .12s; }
@keyframes rise { from { transform: translateY(22px); } }
.soon { opacity: .7; }
.soon small { font-size: .8em; }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 5.1rem); margin: 0 0 22px; letter-spacing: -.035em; }
.hl { position: relative; display: inline-block; color: var(--lime); white-space: nowrap; }
.hl-line { position: absolute; left: 0; right: 0; bottom: -.12em; width: 100%; height: .28em; overflow: visible; }
.hl-line path { fill: none; stroke: var(--lime); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 320; stroke-dashoffset: 320; animation: draw 1.1s .9s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero-lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.55; max-width: 34ch; color: rgb(255 255 255 / .92); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; font-weight: 600; color: rgb(255 255 255 / .9); }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 20px; height: 20px; fill: none; stroke: var(--lime); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* Teléfono */
.hero-visual { display: grid; place-items: center; }
.phone-stage { position: relative; width: min(100%, 420px); aspect-ratio: 4 / 5; display: grid; place-items: center; perspective: 1200px; }
.halo { position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgb(181 229 41 / .55), transparent 65%); filter: blur(30px); animation: pulse 6s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.12); opacity: .8; } }
.phone {
  --pw: 290px;
  position: relative; width: var(--pw); aspect-ratio: 9 / 19;
  border-radius: 46px; padding: 11px;
  background: linear-gradient(145deg, #2E2440, #120C1D);
  box-shadow: 0 0 0 1.5px #4B3E62, inset 0 0 0 2px #0B0712, var(--shadow-lg), 0 60px 90px -40px rgb(20 0 60 / .7);
  transform: rotate(-4deg) rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg));
  transition: transform .5s var(--ease);
  animation: bob 7s ease-in-out infinite;
}
@keyframes bob { 50% { translate: 0 -12px; } }
.phone-notch { position: absolute; top: 20px; left: 50%; translate: -50% 0; width: 92px; height: 26px; border-radius: 20px; background: #0B0712; z-index: 3; }
.screen {
  position: relative; height: 100%; border-radius: 36px; overflow: hidden;
  background: linear-gradient(180deg, #F7F4FF, #EFEAFF);
  padding: 50px 14px 70px; display: flex; flex-direction: column; gap: 8px;
  color: var(--ink); font-family: var(--font-body);
}
.screen > * { flex-shrink: 0; }
.club-mini { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 14px; border-radius: 16px; background: linear-gradient(120deg, var(--violet-100), #fff); box-shadow: var(--shadow-sm); font-size: .7rem; line-height: 1.25; color: var(--ink-2); }
.club-mini b { font-family: var(--font-display); font-size: .82rem; color: var(--violet-700); }
.club-mini svg { width: 34px; height: 34px; fill: var(--lime-200); stroke: var(--violet-600); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; animation: wiggle 3s ease-in-out infinite; }
@media (max-width: 1399px) and (min-width: 861px) { .club-mini { display: none; } }
@media (max-width: 860px) { .club-mini { display: none; } .screen { gap: 8px; } .week-card .bars { height: 56px; } }
.app-top { display: flex; justify-content: space-between; align-items: center; }
.app-top img { width: 104px; }
.app-avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--violet-100); color: var(--violet-700); font: 700 .65rem/28px var(--font-display); text-align: center; }
.balance-card {
  position: relative; overflow: hidden;
  border-radius: 20px; padding: 14px 16px 15px;
  background: linear-gradient(140deg, #9C74FF, #7246F2);
  color: #fff; display: grid; gap: 2px;
  box-shadow: 0 12px 24px -12px rgb(114 70 242 / .7);
}
.bc-label { font-size: .72rem; opacity: .9; font-weight: 600; }
.bc-value { font-family: var(--font-display); font-size: 1.85rem; letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.bc-value.bump { animation: bump .6s var(--ease-spring); }
@keyframes bump { 40% { transform: scale(1.08); color: var(--lime); } }
.bc-sub { font-size: .7rem; opacity: .9; }
.bc-shine { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgb(255 255 255 / .3) 50%, transparent 65%); transform: translateX(-100%); animation: shine 5s 2s ease-in-out infinite; }
@keyframes shine { 0%, 60% { transform: translateX(-100%); } 85%, 100% { transform: translateX(100%); } }
.app-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.aa {
  display: grid; justify-items: center; gap: 4px; padding: 10px 4px 9px;
  background: #fff; border-radius: 14px; font-size: .64rem; font-weight: 700; color: var(--ink-2);
  box-shadow: var(--shadow-sm);
}
.aa svg { width: 22px; height: 22px; fill: none; stroke: var(--violet-600); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.aa-main { background: var(--lime); color: var(--ink); animation: glow 3s ease-in-out infinite; }
.aa-main svg { stroke: var(--ink); }
@keyframes glow { 50% { box-shadow: 0 0 0 6px rgb(181 229 41 / .3); } }
.week-card { background: #fff; border-radius: 16px; padding: 12px 12px 8px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.week-card .bars { flex: none; height: 52px; }
.last-tip { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 16px; background: #fff; box-shadow: var(--shadow-sm); }
.last-tip .lt-ico { flex: none; width: 30px; height: 30px; border-radius: 10px; background: var(--lime); display: grid; place-items: center; }
.last-tip .lt-ico img { width: 15px; }
.last-tip span { flex: 1; min-width: 0; display: grid; line-height: 1.2; }
.last-tip b { font-size: .7rem; font-weight: 700; }
.last-tip small { font-size: .62rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.last-tip strong { font-family: var(--font-display); font-size: .82rem; color: var(--violet-700); }
.last-tip.flash { animation: flash .8s var(--ease); }
@keyframes flash { 30% { background: var(--lime-200); transform: scale(1.03); } }
.wc-title { font-family: var(--font-display); font-weight: 700; font-size: .78rem; }
.bars { flex: 1; display: grid; grid-template-columns: repeat(7, 1fr); align-items: end; gap: 6px; padding-top: 10px; min-height: 60px; }
.bars i { display: block; height: var(--h); border-radius: 6px 6px 3px 3px; background: var(--violet-300); transform-origin: bottom; transform: scaleY(0); transition: transform .9s var(--ease), height .6s var(--ease); }
.bars i.today { background: var(--violet-600); }
.is-in .bars i, .bars.is-in i { transform: scaleY(1); }
.bars i:nth-child(2) { transition-delay: .06s; } .bars i:nth-child(3) { transition-delay: .12s; } .bars i:nth-child(4) { transition-delay: .18s; } .bars i:nth-child(5) { transition-delay: .24s; } .bars i:nth-child(6) { transition-delay: .3s; } .bars i:nth-child(7) { transition-delay: .36s; }
.days { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; font-size: .58rem; color: var(--muted); font-weight: 700; padding-top: 4px; }
.app-nav { position: absolute; left: 10px; right: 10px; bottom: 10px; height: 52px; border-radius: 20px; background: #fff; box-shadow: 0 -4px 20px -8px rgb(36 19 63 / .2); display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; justify-items: center; }
.app-nav span { width: 18px; height: 18px; border-radius: 6px; background: var(--violet-100); }
.app-nav span.on { background: var(--violet-600); }
.app-nav .qr-btn { width: 42px; height: 42px; border-radius: 50%; background: var(--lime); translate: 0 -12px; box-shadow: 0 8px 16px -6px rgb(147 190 18 / .9); }

/* Toasts */
.toasts { position: absolute; inset: 0; pointer-events: none; z-index: 4; }
.toast {
  position: absolute; display: flex; align-items: center; gap: 10px;
  padding: 10px 14px 10px 10px; border-radius: 18px; max-width: 250px;
  background: rgb(255 255 255 / .96); color: var(--ink);
  box-shadow: 0 20px 40px -16px rgb(20 0 60 / .55);
  animation: toast-in .6s var(--ease-spring) both;
}
.toast.out { animation: toast-out .5s var(--ease) forwards; }
.toast .t-ico { flex: none; width: 38px; height: 38px; border-radius: 12px; background: var(--lime); display: grid; place-items: center; }
.toast .t-ico img { width: 20px; }
.toast b { display: block; font-family: var(--font-display); font-size: .98rem; line-height: 1.15; }
.toast small { display: block; font-size: .78rem; color: var(--muted); line-height: 1.25; }
.toast.pos-a { top: 14%; left: -6%; }
.toast.pos-b { top: 58%; right: -8%; }
@keyframes toast-in { from { opacity: 0; transform: translateY(18px) scale(.9); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(-14px) scale(.96); } }

.float-pin { position: absolute; width: 150px; right: -4%; top: 2%; z-index: 5; filter: drop-shadow(0 18px 24px rgb(20 0 60 / .45)); animation: spin-float 9s ease-in-out infinite; }
@keyframes spin-float { 0%, 100% { transform: rotate(-12deg) translateY(0); } 50% { transform: rotate(8deg) translateY(-14px); } }
.float-hand { position: absolute; width: 66px; left: 2%; bottom: 8%; z-index: 5; filter: drop-shadow(0 10px 16px rgb(20 0 60 / .35)); animation: wave 4s ease-in-out infinite; transform-origin: 50% 90%; }
@keyframes wave { 0%, 100% { transform: rotate(-8deg); } 50% { transform: rotate(10deg) translateY(-6px); } }

.scroll-cue { position: absolute; left: 50%; bottom: 26px; translate: -50% 0; width: 28px; height: 44px; border-radius: 20px; box-shadow: inset 0 0 0 2px rgb(255 255 255 / .55); display: flex; justify-content: center; padding-top: 8px; }
.scroll-cue span { width: 4px; height: 8px; border-radius: 4px; background: #fff; animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Marquee ---------- */
.marquee { background: var(--lime); color: var(--ink); overflow: hidden; padding: 18px 0; transform: rotate(-1.2deg) scale(1.02); margin-top: -22px; position: relative; z-index: 2; box-shadow: 0 10px 30px -18px rgb(36 19 63 / .5); }
.marquee-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-list { display: flex; align-items: center; gap: 28px; padding-right: 28px; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.1rem, 2.2vw, 1.5rem); white-space: nowrap; }
.marquee-list li[aria-hidden], .marquee-list[aria-hidden] li:nth-child(even) { color: var(--violet-700); font-size: .8em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
.section { padding: clamp(72px, 8.5vw, 116px) 0; position: relative; }
.how { padding-bottom: clamp(48px, 6vw, 80px); }
.demo { padding-top: clamp(56px, 7vw, 96px); }
.app { padding-bottom: clamp(48px, 6vw, 80px); }
.final { padding-bottom: 0; }
.section-head { max-width: 640px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2, .pin-copy h2, .demo-copy h2, .people-head h2, .cta-copy h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
.section-head p { margin-top: 16px; color: var(--ink-2); font-size: 1.15rem; }

/* Cómo funciona */
.how { background: var(--paper); }
.tab-list {
  position: relative; display: grid; grid-template-columns: 1fr 1fr; width: min(100%, 420px); margin: 0 auto 44px;
  padding: 6px; border-radius: 999px; background: var(--violet-50); box-shadow: inset 0 0 0 1px var(--violet-100);
}
.tab { position: relative; z-index: 1; min-height: 48px; border: 0; background: none; cursor: pointer; border-radius: 999px; font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--ink-2); transition: color .3s; }
.tab[aria-selected="true"] { color: #fff; }
.tab-indicator { position: absolute; top: 6px; bottom: 6px; left: 6px; width: calc(50% - 6px); border-radius: 999px; background: var(--violet-600); box-shadow: 0 8px 18px -8px rgb(114 70 242 / .9); transition: transform .45s var(--ease-spring); }
.tabs[data-active="dar"] .tab-indicator { transform: translateX(100%); }
.tab-panel { animation: panel-in .5s var(--ease); }
@keyframes panel-in { from { opacity: 0; transform: translateY(12px); } }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; top: 74px; left: 16%; right: 16%; height: 2px; background: repeating-linear-gradient(90deg, var(--violet-300) 0 8px, transparent 8px 16px); z-index: 0; }
.step {
  position: relative; z-index: 1;
  background: #fff; border-radius: var(--radius-lg); padding: 30px 28px 32px;
  box-shadow: 0 0 0 1px var(--line), var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.step:hover { transform: translateY(-6px); box-shadow: 0 0 0 1px var(--violet-100), var(--shadow); }
.step-num { position: absolute; top: 24px; right: 26px; font-family: var(--font-display); font-weight: 700; font-size: .9rem; color: var(--violet-300); }
.step-ico { width: 84px; height: 84px; border-radius: 26px; background: var(--violet-50); display: grid; place-items: center; margin-bottom: 22px; transition: background-color .3s, transform .4s var(--ease-spring); }
.step:hover .step-ico { background: var(--lime); transform: rotate(-6deg) scale(1.05); }
.step-ico svg { width: 46px; height: 46px; fill: none; stroke: var(--violet-700); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.step:hover .step-ico svg { stroke: var(--ink); }
.step h3 { font-size: 1.4rem; margin-bottom: 8px; }
.step p { color: var(--ink-2); }
.ico-download .arrow { animation: nudge 1.8s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateY(3px); } }
.ico-qr .scan { stroke: var(--lime-600); animation: scan 2.2s ease-in-out infinite; }
@keyframes scan { 0%, 100% { transform: translateY(-12px); opacity: .2; } 50% { transform: translateY(12px); opacity: 1; } }
.ico-check .tick { stroke-dasharray: 30; stroke-dashoffset: 30; }
.is-in .ico-check .tick, .step.is-in .tick { animation: draw .8s .4s var(--ease) forwards; }
.ico-send svg { animation: fly 2.6s ease-in-out infinite; }
@keyframes fly { 50% { transform: translate(3px, -3px); } }
.panel-cta { display: flex; justify-content: center; margin-top: 40px; }

/* Demo */
.demo { background: linear-gradient(180deg, var(--paper), var(--violet-50)); }
.demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.demo-copy p { margin-top: 18px; font-size: 1.15rem; color: var(--ink-2); max-width: 44ch; }
.checks { margin-top: 26px; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: center; font-weight: 600; }
.checks li::before { content: ""; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2324133F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 16px no-repeat; }
.demo-card-wrap { display: grid; place-items: center; }
.demo-card {
  position: relative; width: min(100%, 440px); padding: 26px; border-radius: 36px;
  background: #fff; box-shadow: 0 0 0 1px var(--line), var(--shadow-lg);
  overflow: hidden;
}
.confetti { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 5; }
.demo-person { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 22px; background: var(--violet-50); margin-bottom: 22px; }
.demo-person > img { width: 56px; height: 56px; border-radius: 16px; object-fit: cover; object-position: 50% 20%; }
.demo-person strong { display: block; font-family: var(--font-display); font-size: 1.1rem; }
.demo-person span { color: var(--muted); font-size: .92rem; }
.verified { margin-left: auto; width: 40px; height: 40px; border-radius: 50%; background: var(--violet-600); display: grid; place-items: center; }
.verified img { width: 20px; }
.amounts, .msgs { border: 0; margin: 0 0 20px; padding: 0; display: grid; gap: 10px; }
.amounts { grid-template-columns: repeat(4, 1fr); }
.msgs { grid-template-columns: 1fr; }
.amounts legend, .msgs legend { font-family: var(--font-display); font-weight: 700; font-size: 1rem; margin-bottom: 12px; padding: 0; }
.msgs legend small { font-family: var(--font-body); font-weight: 400; color: var(--muted); }
.amounts label, .msgs label { position: relative; cursor: pointer; }
.amounts input, .msgs input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.amounts span, .msgs span {
  display: grid; place-items: center; min-height: 50px; padding: 8px; border-radius: 16px;
  font-family: var(--font-display); font-weight: 700; font-size: .98rem;
  box-shadow: inset 0 0 0 1.5px var(--line); background: #fff;
  transition: transform .25s var(--ease-spring), box-shadow .2s, background-color .2s;
}
.msgs span { justify-items: start; padding-inline: 16px; font-family: var(--font-body); font-size: 1rem; min-height: 46px; }
.amounts label:hover span, .msgs label:hover span { box-shadow: inset 0 0 0 1.5px var(--violet-300); }
.amounts input:checked + span { background: var(--lime); box-shadow: inset 0 0 0 2px var(--lime-600); transform: scale(1.04); }
.msgs input:checked + span { background: var(--violet-50); box-shadow: inset 0 0 0 2px var(--violet-600); color: var(--violet-700); font-weight: 700; }
.amounts input:focus-visible + span, .msgs input:focus-visible + span { outline: 3px solid var(--violet-700); outline-offset: 2px; }
.demo-note { text-align: center; margin-top: 12px; font-size: .85rem; color: var(--muted); }
[data-demo-send].is-sending { pointer-events: none; }
[data-demo-send].is-sending [data-send-label]::after { content: ""; display: inline-block; width: 1em; height: 1em; margin-left: .6em; vertical-align: -2px; border-radius: 50%; border: 2.5px solid rgb(255 255 255 / .4); border-top-color: #fff; animation: rot .7s linear infinite; }
@keyframes rot { to { transform: rotate(360deg); } }
.demo-success { text-align: center; padding: 26px 8px 10px; animation: panel-in .5s var(--ease); }
.ok-burst { width: 132px; height: 132px; margin: 0 auto 18px; border-radius: 50%; background: var(--violet-600); display: grid; place-items: center; box-shadow: 0 0 0 14px var(--violet-100), 0 0 0 28px var(--violet-50); animation: pop .7s var(--ease-spring); }
.ok-burst img { width: 64px; animation: wave 1.6s .5s ease-in-out 2; transform-origin: 50% 90%; }
@keyframes pop { from { transform: scale(.3); opacity: 0; } }
.demo-success h3 { font-size: 2.2rem; margin-bottom: 8px; outline: none; }
.demo-success p { color: var(--ink-2); font-size: 1.1rem; }
.receipt { margin: 22px 0 24px; padding: 14px 18px; border-radius: 18px; background: var(--violet-50); display: flex; justify-content: space-between; gap: 12px; }
.receipt span { color: var(--muted); }

/* Identificador */
.pin { background: var(--paper); overflow: clip; }
.pin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.pin-visual { position: relative; display: grid; place-items: center; min-height: 420px; }
.pin-ring { position: absolute; width: 92%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 50% 50%, var(--lime-200), transparent 62%); }
.pin-ring::before, .pin-ring::after { content: ""; position: absolute; inset: 8%; border-radius: 50%; border: 1.5px dashed var(--violet-300); animation: rot 40s linear infinite; }
.pin-ring::after { inset: -4%; border-style: solid; border-color: var(--violet-100); animation-duration: 60s; animation-direction: reverse; }
.pin-img { position: relative; width: min(100%, 540px); filter: drop-shadow(0 40px 40px rgb(36 19 63 / .28)); transition: transform .2s linear; }
.pin-tag { position: absolute; bottom: 8%; right: 6%; padding: 10px 18px; border-radius: 999px; background: var(--violet-600); color: #fff; font-family: var(--font-display); font-weight: 700; box-shadow: var(--shadow); animation: bob 5s ease-in-out infinite; }
.pin-copy .lede { margin-top: 18px; font-size: 1.2rem; color: var(--ink-2); max-width: 42ch; }
.feature-list { margin: 30px 0; display: grid; gap: 18px; }
.feature-list li { display: flex; gap: 16px; align-items: flex-start; }
.fl-ico { flex: none; width: 48px; height: 48px; border-radius: 16px; background: var(--violet-50); display: grid; place-items: center; }
.fl-ico svg { width: 24px; height: 24px; fill: none; stroke: var(--violet-700); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.feature-list strong { font-family: var(--font-display); font-size: 1.08rem; }
.feature-list p { color: var(--ink-2); }
.quote-mini { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-radius: 20px; background: var(--lime); max-width: 420px; font-size: 1.05rem; }
.quote-mini img { width: 30px; flex: none; }

/* Personas */
.people { background: linear-gradient(170deg, #7C52F7, #5A2FD9); color: #fff; overflow: clip; }
.people::before { content: ""; position: absolute; width: 600px; height: 600px; border-radius: 50%; background: var(--violet-300); filter: blur(120px); opacity: .35; top: -240px; right: -200px; }
.people-head { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 44px; }
.carousel-ctrl { display: flex; gap: 10px; }
.round-btn { width: 56px; height: 56px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; background: rgb(255 255 255 / .14); box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .3); transition: background-color .2s, transform .25s var(--ease-spring), opacity .2s; }
.round-btn:hover { background: var(--lime); transform: scale(1.06); }
.round-btn:hover svg { stroke: var(--ink); }
.round-btn:disabled { opacity: .35; pointer-events: none; }
.round-btn svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.carousel { position: relative; }
.track {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  padding: 10px max(var(--gutter), calc((100vw - 1200px) / 2 + var(--gutter))) 28px;
  scroll-padding-inline: max(var(--gutter), calc((100vw - 1200px) / 2 + var(--gutter)));
  scrollbar-width: none; cursor: grab;
}
.track::-webkit-scrollbar { display: none; }
.track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.track.is-dragging * { pointer-events: none; user-select: none; }
.person {
  position: relative; flex: none; width: min(78vw, 340px); aspect-ratio: 4 / 5; border-radius: 30px; overflow: hidden;
  scroll-snap-align: start; background: var(--violet-900);
  box-shadow: 0 30px 50px -30px rgb(0 0 0 / .6);
  transform: translateZ(0);
}
.person img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.person:hover img { transform: scale(1.06); }
.person::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(180deg, transparent, rgb(20 8 45 / .88)); pointer-events: none; }
.person-info { position: absolute; left: 22px; right: 22px; bottom: 22px; z-index: 1; display: grid; gap: 10px; justify-items: start; }
.person-info strong { font-family: var(--font-display); font-size: 1.4rem; line-height: 1.2; }
.chip { padding: 6px 12px; border-radius: 999px; background: var(--lime); color: var(--ink); font-weight: 700; font-size: .82rem; }
.person-cta { background: var(--lime); color: var(--ink); }
.person-cta::after { display: none; }
.pcta-inner { height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 20px; padding: 34px; }
.pcta-inner img { width: 70px; height: auto; animation: wave 4s ease-in-out infinite; transform-origin: 50% 90%; }
.pcta-inner strong { font-family: var(--font-display); font-size: 1.6rem; line-height: 1.2; }
.progress { height: 4px; border-radius: 4px; background: rgb(255 255 255 / .2); overflow: hidden; max-width: 320px; }
.progress span { display: block; height: 100%; width: 25%; border-radius: 4px; background: var(--lime); transform-origin: left; transition: width .2s; }

/* Bento */
.app { background: var(--paper); }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.tile {
  grid-column: span 2; position: relative; overflow: hidden;
  border-radius: var(--radius-lg); padding: 28px; background: #fff;
  box-shadow: 0 0 0 1px var(--line), var(--shadow-sm);
  display: flex; flex-direction: column; min-height: 300px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.tile:hover { transform: translateY(-6px); box-shadow: 0 0 0 1px var(--violet-100), var(--shadow); }
.tile-qr, .tile-live { grid-column: span 3; }
.tile-art { flex: 1; display: grid; place-items: center; margin-bottom: 22px; min-height: 140px; }
.tile h3 { font-size: 1.35rem; margin-bottom: 6px; }
.tile p { color: var(--ink-2); }
.tile-qr { background: linear-gradient(150deg, #8D60FD, #6538EC); color: #fff; }
.tile-qr p { color: rgb(255 255 255 / .88); }
.qr-art { position: relative; width: 150px; margin-inline: auto; }
.qr-art svg { width: 150px; border-radius: 16px; box-shadow: 0 20px 30px -14px rgb(0 0 0 / .5); }
.scanline { position: absolute; left: -8px; right: -8px; top: 0; height: 3px; border-radius: 3px; background: var(--lime); box-shadow: 0 0 14px 3px rgb(181 229 41 / .7); animation: scanline 2.6s ease-in-out infinite; }
@keyframes scanline { 0%, 100% { top: 8%; } 50% { top: 88%; } }
.tile-live { background: var(--lime); }
.tile-live p { color: var(--ink); }
.live-art { position: relative; width: 100%; min-height: 160px; }
.mini-toast { position: absolute; left: 50%; top: 18px; margin-left: -130px; display: grid; gap: 2px; padding: 14px 18px; border-radius: 18px; background: #fff; box-shadow: var(--shadow); width: min(100%, 260px); animation: mt 5s var(--ease) infinite; }
.mini-toast b { font-family: var(--font-display); font-size: 1.2rem; color: var(--violet-700); }
.mini-toast span { font-size: .92rem; color: var(--muted); }
.mini-toast.t2 { top: 62px; margin-left: -110px; rotate: 3deg; animation-delay: 2.5s; }
@keyframes mt { 0%, 100% { opacity: 0; translate: 0 14px; } 12%, 46% { opacity: 1; translate: 0 0; } 58% { opacity: 0; translate: 0 -10px; } }
.week-art { width: 100%; }
.bars-lg { width: 100%; height: 140px; gap: 8px; }
.bars-lg i { border-radius: 10px 10px 4px 4px; }
.transfer-art svg, .club-art svg { width: 84px; height: 84px; fill: none; stroke: var(--violet-700); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; padding: 18px; border-radius: 28px; background: var(--violet-50); overflow: visible; }
.transfer-art svg { animation: swap 3s ease-in-out infinite; }
@keyframes swap { 50% { transform: rotate(180deg); } }
.club-art svg { background: var(--lime-200); animation: wiggle 3s ease-in-out infinite; }
@keyframes wiggle { 0%, 70%, 100% { transform: rotate(0); } 75% { transform: rotate(-8deg); } 85% { transform: rotate(8deg); } }
.tile-week { grid-column: span 2; }
.tile-transfer, .tile-club { grid-column: span 2; }

/* FAQ */
.faq { background: linear-gradient(180deg, var(--paper), var(--violet-50)); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq .section-head { position: sticky; top: calc(var(--header-h) + 32px); }
.faq-hand { width: 110px; margin-top: 34px; animation: wave 5s ease-in-out infinite; transform-origin: 50% 90%; }
.faq-list { display: grid; gap: 12px; }
.faq-list details { border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px var(--line); transition: box-shadow .3s; overflow: hidden; }
.faq-list details[open] { box-shadow: 0 0 0 2px var(--violet-300), var(--shadow); }
.faq-list summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 24px; font-family: var(--font-display); font-weight: 700; font-size: 1.12rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; flex: none; width: 36px; height: 36px; border-radius: 50%;
  background: var(--violet-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B2FE0' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 18px no-repeat;
  transition: transform .35s var(--ease-spring), background-color .2s;
}
.faq-list details[open] summary::after { transform: rotate(135deg); background-color: var(--lime); }
.faq-a { padding: 0 24px 24px; color: var(--ink-2); font-size: 1.06rem; }
.faq-list details::details-content { block-size: 0; overflow: hidden; transition: block-size .4s var(--ease), content-visibility .4s allow-discrete; }
.faq-list details[open]::details-content { block-size: auto; }
@supports (interpolate-size: allow-keywords) { :root { interpolate-size: allow-keywords; } }

/* CTA final */
.final { padding-top: clamp(24px, 4vw, 48px); }
.cta-card {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: 1.3fr .7fr; align-items: center; gap: 40px;
  padding: clamp(40px, 6vw, 80px); border-radius: 44px; color: #fff;
  background: linear-gradient(140deg, #8A5CFD, #5A2FD9);
  box-shadow: var(--shadow-lg);
}
.cta-bg { position: absolute; inset: 0; z-index: -1; }
.cta-bg .blob-1 { width: 420px; height: 420px; top: -180px; right: -100px; }
.cta-bg .blob-2 { width: 300px; height: 300px; bottom: -160px; left: 20%; }
.cta-copy p { margin-top: 16px; font-size: 1.18rem; color: rgb(255 255 255 / .9); }
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.store {
  display: inline-flex; align-items: center; gap: 12px; min-height: 60px; padding: 10px 22px 10px 18px;
  border-radius: 18px; background: var(--ink); color: #fff; text-decoration: none;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .15), 0 14px 24px -14px rgb(0 0 0 / .7);
  transition: transform .25s var(--ease-spring), background-color .2s;
}
.store:hover { transform: translateY(-3px); background: #000; }
.store svg { width: 26px; height: 30px; fill: currentColor; }
.store small { display: block; font-size: .74rem; opacity: .8; line-height: 1.1; }
.store strong { display: block; font-family: var(--font-display); font-size: 1.12rem; line-height: 1.2; }
.cta-art { display: grid; justify-items: center; gap: 14px; }
.cta-icon { width: min(220px, 100%); border-radius: 22%; box-shadow: 0 30px 50px -20px rgb(0 0 0 / .55), 0 0 0 10px rgb(255 255 255 / .1); animation: bob 6s ease-in-out infinite; }
.cta-label { font-family: var(--font-body); font-weight: 600; font-size: 1.2rem; }

/* Footer */
.site-footer { background: var(--violet-900); color: rgb(255 255 255 / .78); padding: 80px 0 72px; margin-top: clamp(72px, 9vw, 112px); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand img { width: 190px; margin-bottom: 16px; }
.footer-title { font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.site-footer ul { display: grid; gap: 10px; }
.site-footer a { text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--lime); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 56px; padding-top: 28px; border-top: 1px solid rgb(255 255 255 / .12); font-size: .92rem; }
.made { display: inline-flex; align-items: center; gap: 6px; }
.made img { width: 16px; }

/* CTA mobile fija */
.mobile-cta { display: none; }
@media (max-width: 760px) {
  .mobile-cta {
    position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 90;
    display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 12px; border-radius: 22px;
    background: rgb(255 255 255 / .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 0 0 1px var(--line), 0 20px 40px -16px rgb(36 19 63 / .45);
    transform: translateY(140%); transition: transform .5s var(--ease-spring);
  }
  .mobile-cta.is-visible { transform: none; }
  .mobile-cta img { width: 42px; height: 42px; border-radius: 12px; }
  .mobile-cta span { flex: 1; line-height: 1.2; }
  .mobile-cta strong { display: block; font-family: var(--font-display); font-size: .98rem; }
  .mobile-cta small { color: var(--muted); font-size: .8rem; }
  .mobile-cta .btn { min-height: 46px; padding: .6em 1.2em; }
}

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: .1s; }
.js .reveal[data-delay="2"] { transition-delay: .2s; }
.js .reveal[data-delay="3"] { transition-delay: .3s; }
.js .reveal[data-delay="4"] { transition-delay: .4s; }
.js .steps .step { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .7s var(--ease), box-shadow .4s; }
.js .steps.is-in .step { opacity: 1; transform: none; }
.js .steps.is-in .step:nth-child(2) { transition-delay: .12s; }
.js .steps.is-in .step:nth-child(3) { transition-delay: .24s; }
.js .steps.is-in .step:hover { transform: translateY(-6px); transition-delay: 0s; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .tile, .tile-week, .tile-transfer, .tile-club { grid-column: span 3; }
  .tile-club { grid-column: span 6; }
}
@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .hero { min-height: auto; padding-bottom: 80px; }
  .hero-grid, .demo-grid, .pin-grid, .faq-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: left; }
  .phone-stage { width: min(100%, 360px); }
  .phone { --pw: 250px; border-radius: 40px; }
  .screen { border-radius: 31px; }
  .pin-visual { min-height: 0; order: 2; }
  .pin-copy { order: 1; }
  .faq .section-head { position: static; }
  .faq-hand { display: none; }
  .steps { grid-template-columns: 1fr; gap: 14px; }
  .steps::before { top: 40px; bottom: 40px; left: 69px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--violet-300) 0 8px, transparent 8px 16px); }
  .step { display: grid; grid-template-columns: 84px 1fr; column-gap: 20px; align-items: center; padding: 20px; border-radius: 26px; }
  .step-ico { grid-row: span 2; margin: 0; width: 76px; height: 76px; }
  .step-ico svg { width: 40px; height: 40px; }
  .step h3 { font-size: 1.25rem; margin: 0 0 2px; align-self: end; }
  .step p { align-self: start; font-size: 1rem; }
  .step-num { top: 16px; right: 18px; }
  .cta-card { grid-template-columns: 1fr; text-align: left; border-radius: 34px; }
  .cta-art { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; gap: 14px; }
  .tile, .tile-qr, .tile-live, .tile-week, .tile-transfer, .tile-club { grid-column: auto; min-height: 0; }
  .tile-art { min-height: 120px; }
  .people-head { flex-direction: column; align-items: flex-start; }
  .carousel-ctrl { display: none; }
  .hero-actions .btn { flex: 1 1 100%; }
  .float-pin { width: 112px; right: -2%; }
  .float-hand { width: 52px; }
  .toast { max-width: 220px; padding: 8px 12px 8px 8px; }
  .toast .t-ico { width: 32px; height: 32px; }
  .toast.pos-a { left: -2%; top: 12%; }
  .toast.pos-b { right: -2%; }
  .amounts { grid-template-columns: repeat(2, 1fr); }
  .demo-card { padding: 18px; border-radius: 28px; }
  .marquee { padding: 14px 0; }
  .scroll-cue { display: none; }
  .section { padding: 72px 0; }
  .site-footer { padding-bottom: 130px; }
}
@media (min-width: 1400px) {
  .phone { --pw: 310px; }
  .phone-stage { width: 460px; }
}

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal, .js .steps .step { opacity: 1; transform: none; }
  .hl-line path { stroke-dashoffset: 0; }
  .marquee-track { animation: none; }
  .bars i { transform: scaleY(1); }
}

/* ===== Ajustes de accesibilidad (revisión UX) ===== */
.hero-bg .blob-1 { opacity: .3; }
.hero-lede, .hero-trust { color: #fff; }
.hero .btn-ghost { --bg: rgb(36 19 63 / .22); }
@media (max-width: 860px) {
  .hero { background: radial-gradient(90% 40% at 50% 85%, #8F66FD 0%, transparent 70%), linear-gradient(170deg, #7246F2 0%, #6C3FEE 50%, #5428D2 100%); }
  .hero-bg .blob-1 { top: auto; bottom: 0; right: -220px; }
  .hero-bg .blob-3 { display: none; }
}
.people::before { opacity: .16; top: auto; bottom: -300px; }
.eyebrow-light, .eyebrow-lime { color: #fff; }
.cta-card { background: linear-gradient(140deg, #7246F2, #5A2FD9); }
.cta-bg .blob-1 { opacity: .25; }
.cta-copy p, .tile-qr p { color: #fff; }
.step-num { color: var(--violet-600); }
/* Foco visible en todas las superficies */
.faq-list details:has(summary:focus-visible) { box-shadow: 0 0 0 3px var(--violet-700); }
.faq-list summary:focus-visible { outline: none; }
.people :focus-visible, .cta-card :focus-visible { outline-color: var(--lime); }
.site-header.is-solid :focus-visible, .menu-open .nav :focus-visible, .mobile-cta :focus-visible { outline-color: var(--violet-700); }
.pin-copy { position: relative; z-index: 1; }
.menu-open .mobile-cta { visibility: hidden; }
@media (max-width: 760px) { html { scroll-padding-bottom: 96px; } }
/* Pausar animaciones (WCAG 2.2.2) */
.pause-btn {
  position: absolute; left: var(--gutter); bottom: 26px; z-index: 3;
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px;
  border: 0; border-radius: 999px; cursor: pointer; color: #fff; font-weight: 600; font-size: .88rem;
  background: rgb(36 19 63 / .25); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .3);
}
.pause-btn svg { width: 16px; height: 16px; fill: currentColor; }
.pause-btn .i-play { display: none; }
html.paused .pause-btn .i-play { display: block; }
html.paused .pause-btn .i-pause { display: none; }
html.paused *, html.paused *::before, html.paused *::after { animation-play-state: paused !important; }
.marquee:focus-within .marquee-track { animation-play-state: paused; }
@media (max-width: 640px) { .pause-btn { bottom: 18px; } }
@media (prefers-reduced-motion: reduce) {
  .pause-btn { display: none; }
  .marquee { transform: none; margin-top: 0; }
  .marquee-track { width: auto; }
  .marquee-list { flex-wrap: wrap; justify-content: center; white-space: normal; row-gap: 6px; padding-inline: var(--gutter); }
  .marquee-list[aria-hidden] { display: none; }
}

/* Aviso flotante (tiendas sin link todavía) */
.notice {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 150;
  width: max-content; max-width: min(92vw, 440px); padding: 14px 20px; border-radius: 18px;
  background: var(--ink); color: #fff; font-weight: 600; text-align: center;
  box-shadow: 0 20px 40px -12px rgb(20 0 60 / .5);
  transform: translate(-50%, 140%); opacity: 0; pointer-events: none;
  transition: transform .45s var(--ease-spring), opacity .3s;
}
.notice:empty { display: none; }
.notice.is-visible { transform: translate(-50%, 0); opacity: 1; }
@media (max-width: 760px) { .notice { bottom: calc(96px + env(safe-area-inset-bottom)); } }

/* Foto "escaneando el QR" (pestaña Quiero dar) */
.give-photo { margin: 0 0 28px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 3 / 2; max-height: 460px; width: 100%; }
.give-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) { .give-photo { border-radius: 24px; margin-bottom: 18px; } }

/* ---------- QR dentro del mockup del telefono ---------- */
.phone-qr {
  flex: 1 1 auto; min-height: 0;
  background: #fff; border-radius: 16px; padding: 6px;
  box-shadow: var(--shadow-sm);
  display: grid; place-items: center;
}
.phone-qr svg { height: 100%; width: auto; max-width: 100%; aspect-ratio: 1; display: block; }

/* El mockup prioriza el QR; segun el alto disponible se van cayendo tarjetas */
@media (max-width: 1399px) and (min-width: 861px) {
  .screen .last-tip { display: none; }
}
@media (max-width: 860px) {
  .screen .week-card, .screen .last-tip { display: none; }
}
