/* Big Promo PrimaPlus — Figtree sustituye temporalmente a Universal Sans (450 → 500, 750 → 800). */
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 300 900; font-display: swap; src: url("../assets/fonts/figtree-latin.woff2") format("woff2"); }
/* Montserrat recortada a las letras de "BIG PROMO" y "POR LA COMPRA DE": si se usa en otro texto, regenerar el subset. */
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 900; font-display: swap; src: url("../assets/fonts/montserrat-latin.woff2") format("woff2"); }
:root {
  --ink: #2a0b5c;
  --purple: #5d2881;
  --plum: #93407e;
  --muted: #6b5a7b;
  --line: #e6daee;
  --line-soft: #ece0f2;
  --lilac: #f7f1fb;
  --night: #0e0326;
  --gold: #ffc928;
  --grad-gold: linear-gradient(180deg, #ffd84d, #f5b415);
  --grad-gold-x: linear-gradient(90deg, #f5b415, #ffd84d);
  --font: "Figtree", system-ui, sans-serif;
  --display: "Montserrat", "Figtree", sans-serif;
  --header-h: 84px;
  --container: 1200px;
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-weight: 500; color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
section[id], div[id] { scroll-margin-top: var(--header-h); }

[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: 999px; font-weight: 800; }
.skip-link:focus { top: 12px; }
.m-only { display: none; }

.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.container--narrow { width: min(900px, 100% - 2 * var(--gutter)); display: flex; flex-direction: column; align-items: center; gap: 56px; }

/* ---------- Botones (Default / Hover / Pressed) ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 28px; border-radius: 999px; font-weight: 800; font-size: 16px; line-height: 1.2; white-space: nowrap; border: 0; transition: transform .18s ease, filter .18s ease, background-color .18s ease, box-shadow .18s ease; }
.btn img { width: 20px; height: 20px; transition: transform .18s ease; }
.btn:hover img { transform: translateX(3px); }
.btn:active { transform: scale(.97); }
.btn--sm { padding: 12px 22px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--grad-gold); color: var(--ink); filter: drop-shadow(0 10px 15px rgba(245, 180, 21, .35)); }
.btn--primary:hover { filter: drop-shadow(0 12px 20px rgba(245, 180, 21, .5)) brightness(1.04); }
.btn--secondary { background: rgba(255, 255, 255, .06); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5); }
.btn--secondary:hover { background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1.5px #fff; }
.btn--purple { background: linear-gradient(90deg, #8a3ffc, #5b1bc9); color: #fff; }
.btn--purple:hover { filter: brightness(1.1); box-shadow: 0 10px 24px rgba(91, 27, 201, .35); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; }
.site-header__bar { position: relative; z-index: 2; height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-inline: max(var(--gutter), (100% - var(--container)) / 2); background: var(--night); box-shadow: 0 6px 10px rgba(0, 0, 0, .18); }
.brand { display: flex; align-items: center; gap: 20px; }
.brand__primaplus { width: 99px; height: 30px; object-fit: contain; }
.brand__pharmalys { width: 120px; height: 25px; object-fit: contain; }
.brand__divider { width: 1px; height: 28px; background: rgba(255, 255, 255, .25); }
.nav { display: flex; gap: 36px; white-space: nowrap; font-weight: 800; font-size: 15px; color: rgba(255, 255, 255, .85); }
.nav a { padding-block: 6px; border-bottom: 2px solid transparent; transition: color .15s, border-color .15s; }
.nav a:hover { color: #fff; border-color: var(--gold); }
.menu-toggle { display: none; background: none; border: 0; padding: 0; width: 26px; height: 26px; position: relative; }
.menu-toggle img { position: absolute; inset: 0; transition: opacity .2s, transform .25s; }
.menu-toggle__close { opacity: 0; transform: rotate(-90deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__open { opacity: 0; transform: rotate(90deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__close { opacity: 1; transform: none; }
.menu-mobile { position: absolute; inset: 100% 0 auto; height: calc(100dvh - var(--header-h)); }
.menu-mobile__backdrop { position: absolute; inset: 0; background: rgba(5, 3, 15, .62); animation: fade-in .25s ease both; }
.menu-mobile__panel { position: relative; display: flex; flex-direction: column; padding: 4px 24px 28px; background: var(--night); border-radius: 0 0 24px 24px; box-shadow: 0 18px 36px rgba(0, 0, 0, .4); animation: panel-down .3s cubic-bezier(.16, 1, .3, 1) both; }
.menu-mobile__panel > a { display: flex; align-items: center; justify-content: space-between; padding-block: 18px; border-bottom: 1px solid rgba(255, 255, 255, .1); font-weight: 800; font-size: 20px; color: #fff; }
.menu-mobile__cta { display: flex; flex-direction: column; gap: 14px; padding-top: 24px; text-align: center; font-size: 13px; color: rgba(209, 189, 255, .8); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; color: #fff; background: #12042e; }
.hero__bg, .hero__bg::after { position: absolute; inset: 0; }
.hero__bg picture { display: contents; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after { content: ""; background: linear-gradient(180deg, rgba(18, 4, 46, .15) 0%, rgba(18, 4, 46, .55) 70%, #12042e 100%); }
.hero__deco { position: absolute; inset: 0; pointer-events: none; }
.sparkle { position: absolute; left: calc(50% - 756px + var(--x)); top: var(--y); }
.sparkle img { margin: -22%; width: 144%; max-width: none;  opacity: .15; scale: .55;}
.shooting-star { position: absolute; left: calc(50% - 756px + 1060px); top: 18px; width: 150px; height: 2.5px; border-radius: 2px; background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(229, 217, 255, .7) 75%, #fff); transform: rotate(30deg); opacity: 0; }
.hero__planet { position: absolute; left: -30px; top: 40px; width: 150px; animation: pop-in .9s ease-out both; --bob: 10px; }
.hero__moon { position: absolute; }
.hero__moon--left { left: -60px; top: 700px; width: 260px; animation: rise-in 1.7s cubic-bezier(.16, 1, .3, 1) .1s both; --bob: -10px; }
.hero__moon--right { right: -50px; top: 740px; width: 220px; animation: rise-in 1.7s cubic-bezier(.16, 1, .3, 1) .2s both; --bob: -10px; }

.hero__stage { position: relative; width: 1000px; height: 1030px; margin-inline: auto; }
.hero__copy { position: absolute; z-index: 2; left: 0; right: 0; top: 36px; display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); font-weight: 800; font-size: 14px; animation: drop-in .7s cubic-bezier(.16, 1, .3, 1) .1s both; }

/* KV “BIG PROMO” (Montserrat Black sustituye a Agrandir GrandHeavy) */
.kv { --kv: 1; display: flex; flex-direction: column; align-items: center; font-weight: 800; }
.kv__title { display: flex; align-items: center; gap: calc(var(--kv) * 24px); animation: kv-pop .6s cubic-bezier(.34, 1.56, .64, 1) .2s both; }
.kv__letters { display: flex; font-family: var(--display); font-weight: 900; font-size: calc(var(--kv) * 81.54px); line-height: 1; letter-spacing: -.01em; }
.kv__letters b { display: inline-block; font-weight: 900; transform: rotate(var(--r, 0deg)); text-shadow: 0 calc(var(--kv) * 3.4px) 0 #3a0e86, 0 0 calc(var(--kv) * 13.6px) rgba(155, 92, 255, .55); }
.kv__space { width: calc(var(--kv) * 16px); }
.kv__rays { display: flex; flex-direction: column; gap: calc(var(--kv) * 6px); }
.kv__rays i { display: block; width: calc(var(--kv) * 36px); height: calc(var(--kv) * 8.7px); border-radius: 9px; background: #ffc928; }
.kv__rays i:nth-child(2) { width: calc(var(--kv) * 39px); background: linear-gradient(270deg, #9d6bff, #f3e6ff); }
.kv__rays--r i:nth-child(1) { transform: rotate(-30deg); }
.kv__rays--r i:nth-child(3) { transform: rotate(30deg); }
.kv__rays--l i:nth-child(1) { transform: rotate(30deg); }
.kv__rays--l i:nth-child(2) { background: linear-gradient(90deg, #9d6bff, #f3e6ff); }
.kv__rays--l i:nth-child(3) { transform: rotate(-30deg); }
.kv__pill { position: relative; margin-top: calc(var(--kv) * 14px); padding: calc(var(--kv) * 8.7px) calc(var(--kv) * 34px); border-radius: 999px; border: calc(var(--kv) * 1.2px) solid #e3b8ff; background: linear-gradient(180deg, #c77dff, #8a2be2 45%, #5b12c9); box-shadow: 0 0 calc(var(--kv) * 16.5px) 2px rgba(168, 85, 247, .75), inset 0 calc(var(--kv) * 1.9px) calc(var(--kv) * 2.9px) rgba(255, 255, 255, .45); font-family: var(--display); font-weight: 900; font-size: calc(var(--kv) * 26.2px); letter-spacing: .01em; text-transform: uppercase; animation: kv-pop .6s cubic-bezier(.34, 1.56, .64, 1) .3s both; }
.kv__headline { margin-top: 18px; max-width: 960px; font-size: 45px; line-height: 1.12; animation: rise-sm .9s cubic-bezier(.16, 1, .3, 1) .5s both; }
.kv__headline em { font-style: normal; color: var(--gold); }

.hero__product { position: absolute; inset: 0; pointer-events: none; }
.hero__glow { position: absolute; left: 60px; top: 98px; width: 880px; max-width: none; animation: pop-in 1s ease-out .3s both; }
.hero__orbit { position: absolute; left: 250px; top: 288px; width: 500px; animation: orbit-in 1s ease-out .35s both; }
.hero__rays { position: absolute; top: 422px; width: 70px; animation: pop-in .4s ease-out 1s both; }
.hero__rays--l { left: 257px; }
.hero__rays--r { left: 670px; scale: -1 1; }
.hero__can { position: absolute; left: 361px; top: 352px; width: 278px; filter: drop-shadow(0 40px 60px rgba(5, 1, 15, .6)); animation: can-in 1s cubic-bezier(.16, 1, .3, 1) .45s both; }

.hero__prizes { position: absolute; inset: 568px 0 auto; }
.prize-tag { position: absolute; display: flex; align-items: center; gap: 14px; padding: 14px 24px 14px 16px; border-radius: 24px; border: 1.5px solid rgba(185, 140, 255, .45); background: linear-gradient(90deg, rgba(59, 18, 135, .92), rgba(36, 9, 90, .92)); box-shadow: 0 16px 36px rgba(13, 0, 38, .45); font-weight: 800; font-size: 15px; line-height: 1.25; white-space: nowrap; }
.prize-tag strong { display: block; color: var(--gold); font-size: 45px; line-height: 1; font-weight: 800; }
.prize-tag--jugueton { left: 17px; animation: slide-l .8s cubic-bezier(.16, 1, .3, 1) 1.05s both; --bob: -8px; }
.prize-tag--jugueton img { width: 112px; height: 52px; object-fit: contain; }
.prize-tag--alexa { left: 687px; animation: slide-r .8s cubic-bezier(.16, 1, .3, 1) 1.15s both; --bob: -8px; }
.prize-tag--alexa img { width: 74px; height: 70px; object-fit: contain; }

.hero__bottom { position: absolute; left: 120px; top: 750px; width: 760px; display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.hero__lead { color: #cdbdf2; font-size: 19px; line-height: 1.55; animation: rise-sm .7s cubic-bezier(.16, 1, .3, 1) 1.4s both; }
.chains-badge { display: flex; align-items: center; gap: 16px; padding: 10px 22px; border-radius: 14px; background: #fff; color: var(--ink); font-size: 14px; animation: rise-sm .7s cubic-bezier(.16, 1, .3, 1) 1.5s both; }
.chains-badge__logos { display: flex; align-items: center; gap: 18.5px; }
.chains-badge__logos img { height: 34px; width: auto; }
.chains-badge__divider { width: 1.16px; height: 31px; background: rgba(92, 41, 128, .3); }
.hero__ctas { display: flex; gap: 16px; animation: rise-sm .7s cubic-bezier(.16, 1, .3, 1) 1.55s both; }
.trust { display: flex; gap: 28px; font-weight: 800; font-size: 14px; animation: rise-sm .7s cubic-bezier(.16, 1, .3, 1) 1.7s both; }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust__check { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 99px; background: #3bd38b; }
/* Bucles decorativos: arrancan después de la carga (main.js añade .anim-ready) para no competir con el primer pintado. */
.anim-ready .sparkle img { animation: twinkle 4s ease-in-out var(--d) infinite, spin-half 60s linear infinite; }
.anim-ready .shooting-star { animation: shooting 12s linear 5s infinite; }
.anim-ready .hero__planet { animation: pop-in .9s ease-out both, bob 10s ease-in-out 1.6s infinite; }
.anim-ready .hero__moon--left { animation: rise-in 1.7s cubic-bezier(.16, 1, .3, 1) .1s both, bob 12s ease-in-out 1.8s infinite; }
.anim-ready .hero__moon--right { animation: rise-in 1.7s cubic-bezier(.16, 1, .3, 1) .2s both, bob 13s ease-in-out 2s infinite; }
.anim-ready .hero__glow { animation: pop-in 1s ease-out .3s both, glow 6s ease-in-out 1.2s infinite; }
.anim-ready .hero__orbit { animation: orbit-in 1s ease-out .35s both, spin 60s linear .35s infinite; }
.anim-ready .hero__rays { animation: pop-in .4s ease-out 1s both, pulse 3s ease-in-out 1.3s infinite; }
.anim-ready .hero__can { animation: can-in 1s cubic-bezier(.16, 1, .3, 1) .45s both, can-float 6s ease-in-out 1.5s infinite; }
.anim-ready .prize-tag--jugueton { animation: slide-l .8s cubic-bezier(.16, 1, .3, 1) 1.05s both, bob 5s ease-in-out 1.85s infinite; }
.anim-ready .prize-tag--alexa { animation: slide-r .8s cubic-bezier(.16, 1, .3, 1) 1.15s both, bob 5s ease-in-out 1.95s infinite; }

/* ---------- Secciones ---------- */
.section { padding-block: 112px; }
/* Las secciones fuera de pantalla no se renderizan (ni animan) hasta acercarse: menos trabajo en la carga. */
.section, .who-wrap, .site-footer { content-visibility: auto; contain-intrinsic-size: auto 900px; }
.section--lilac { background: #fbf7fd; }
.section--white { background: #fff; padding-bottom: 56px; }
.section--terms { background: #f7f0f8; }
.section--night { background: linear-gradient(180deg, #12042e 0%, #2a0b6e 55%, #160538 100%); color: #fff; }
.section--space { position: relative; color: #fff; background: linear-gradient(180deg, rgba(18, 4, 46, .15) 0%, rgba(18, 4, 46, .55) 70%, #12042e 100%), url("../assets/img/galaxy-1536.webp") center / cover no-repeat #12042e; }

.section-head { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; margin-bottom: 56px; }
.container--narrow .section-head { margin-bottom: 0; }
.section-head h2 { max-width: 900px; color: var(--purple); font-weight: 800; font-size: 58px; line-height: 1.08; }
.section-head p { max-width: 760px; color: var(--muted); font-size: 20px; line-height: 1.5; }
.section--terms .section-head p { color: #5e4c6e; }
.section-head--light h2 { color: #fff; }
.section-head--light p { color: #cdbdf2; }

/* Mecánica */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border: 1.5px solid var(--line-soft); border-radius: 28px; box-shadow: 0 18px 44px rgba(93, 40, 129, .08); overflow: hidden; }
.step { display: flex; flex-direction: column; gap: 20px; padding: 36px 32px; color: var(--muted); font-size: 16px; line-height: 1.5; }
.step + .step { border-left: 1.5px solid var(--line-soft); }
.step__top { display: flex; align-items: center; justify-content: space-between; }
.step__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: linear-gradient(180deg, #9b4dff, #5b1bc9); }
/* Número decorativo vía ::before: el color tenue del diseño no es texto legible. */
.step__num::before { content: attr(data-n); font-weight: 800; font-size: 60px; line-height: 1; color: rgba(147, 64, 126, .22); }
.step__title { display: flex; align-items: center; gap: 10px; color: var(--purple); font-weight: 800; font-size: 22px; line-height: 1.2; }
.step__title img { width: 112px; height: 34px; object-fit: contain; }
.odds-banner { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-top: 56px; padding: 28px 40px; border-radius: 24px; background: var(--grad-gold-x); color: var(--ink); }
.odds-banner__eq { display: flex; gap: 20px; font-weight: 800; font-size: 34px; white-space: nowrap; }
.odds-banner__op { color: rgba(42, 11, 92, .5); }
.odds-banner > p:not(.odds-banner__eq) { max-width: 480px; font-size: 17px; line-height: 1.45; }

/* Premios */
.prizes { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.prize-card { position: relative; height: 420px; overflow: hidden; display: flex; flex-direction: column; align-items: center; padding: 10px 40px 0; border-radius: 32px; border: 1.5px solid rgba(183, 139, 255, .4); background: linear-gradient(144deg, #3a118f 0%, #1d0750 71%); text-align: center; transition: transform .25s ease, border-color .25s ease; }
.prize-card:hover { transform: translateY(-4px); border-color: rgba(183, 139, 255, .75); }
.prize-card__glow { position: absolute; left: 50%; top: -148px; width: 600px; max-width: none; translate: -50% 0; pointer-events: none; animation: glow 6s ease-in-out infinite; }
.prize-card__media { position: relative; display: grid; place-items: center; height: 282px; }
.prize-card__media img { max-height: 282px; width: auto; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .45)); animation: bob 6s ease-in-out infinite; --bob: -8px; }
.prize-card h3 { position: relative; margin-block: auto; max-width: 500px; font-weight: 800; font-size: 36px; line-height: 1.1; padding-bottom: 24px; }
.prize-card:first-child h3 { font-size: 43px; }
.prize-card h3 em { font-style: normal; color: var(--gold); }

/* Producto */
.product { position: relative; display: flex; align-items: center; gap: 80px; }
.product__visual { position: relative; flex: 0 0 520px; height: 560px; }
.product__glow { position: absolute; left: -140px; top: -110px; width: 800px; max-width: none; }
.product__ray, .product__planet, .product__can, .claim { position: absolute; }
.product__ray { width: 78px; animation: pulse 3s ease-in-out infinite; }
.product__ray--l { left: 10px; top: 0; }
.product__ray--r { left: 420px; top: 60px; }
.product__planet { left: 420px; top: 410px; width: 100px; animation: bob 10s ease-in-out infinite; --bob: 10px; }
.product__can { left: 80px; top: 40px; width: 360px; filter: drop-shadow(0 30px 50px rgba(93, 40, 129, .3)); animation: can-float 6s ease-in-out infinite; }
.claim { animation: bob 7s ease-in-out infinite; --bob: -6px; }
/* Escudos oficiales del KV (posiciones del Figma) */
.claim--37 { left: -96px; top: 1px; width: 200px; }
.claim--dha { left: -11px; top: 235px; width: 150px; animation-delay: -2s; }
.claim--calcio { left: 359px; top: 339px; width: 150px; animation-delay: -4s; }
.product__copy { position: relative; flex: 1; display: flex; flex-direction: column; gap: 28px; }
.product__copy h2 { max-width: 600px; font-weight: 800; font-size: 58px; line-height: 1.08; }
.product__legal { margin-top: -12px; color: #ccbde5; font-size: 14px; line-height: 1.5; }
.presentations { display: flex; gap: 16px; }
.presentations li { flex: 1; display: flex; align-items: center; gap: 14px; padding: 20px 24px; border-radius: 20px; background: #fff; box-shadow: 0 8px 24px rgba(93, 40, 129, .08); }
.presentations img { width: 56px; height: 76px; object-fit: contain; }
.presentations h3 { color: var(--purple); font-weight: 800; font-size: 20px; }
.presentations p { margin-top: 6px; color: #6f5d80; font-size: 15px; }
.product__note { color: #ccbde5; font-size: 13px; }

/* Vigencia: boleto */
/* Boleto: cada mitad recorta su media muesca con máscara, así el hueco muestra el fondo real; la sombra (en .ticket) sigue la silueta. */
.ticket { --notch: 18px; position: relative; display: grid; grid-template-columns: 430px 1fr; min-height: 320px; filter: drop-shadow(0 0 .75px rgba(93, 40, 129, .35)) drop-shadow(0 22px 25px rgba(93, 40, 129, .14)); }
.ticket__stub, .ticket__body { --mask-x: 100%; mask: radial-gradient(circle var(--notch) at var(--mask-x) 0, #0000 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle var(--notch) at var(--mask-x) 100%, #0000 98%, #000) bottom / 100% 51% no-repeat; }
.ticket__body { --mask-x: 0%; }
.ticket__stub { display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 48px 52px; border-radius: 28px 0 0 28px; background: var(--grad-gold-x); color: var(--ink); font-size: 17px; line-height: 1.45; }
.ticket__dates { font-weight: 800; font-size: 67px; line-height: 1; }
.ticket__year { color: var(--purple); opacity: .55; font-weight: 800; font-size: 34px; line-height: 1; }
.ticket__body { position: relative; display: flex; border-radius: 0 28px 28px 0; background: #fff; flex-direction: column; justify-content: center; gap: 20px; padding: 48px 56px; color: var(--muted); font-size: 17px; line-height: 1.5; }
.ticket__body::before { content: ""; position: absolute; left: -135px; top: calc(50% - 1px); width: 272px; height: 2px; background: url("../assets/img/ticket-perforacion.svg") center / 100% 2px no-repeat; transform: rotate(90deg); }
.ticket__body h3 { color: var(--purple); font-weight: 800; font-size: 24px; line-height: 1.2; }
.ticket__logos { display: flex; align-items: center; gap: 35px; }
.ticket__logos img { min-width: 0; flex: 0 1 auto; height: auto; max-height: 64px; }
.ticket__divider { width: 2.2px; height: 58px; background: rgba(92, 41, 128, .3); }

/* Farmacias participantes */
.stores { display: flex; flex-direction: column; gap: 24px; margin-top: 56px; padding: 40px; border: 1px solid var(--line); border-radius: 28px; background: #fff; filter: drop-shadow(0 16px 24px rgba(42, 11, 92, .08)); }
.stores__head { display: flex; align-items: center; gap: 32px; }
.stores__head > div { flex: 1; display: flex; flex-direction: column; gap: 8px; color: var(--muted); font-size: 17px; }
.stores__title { color: var(--purple); font-weight: 800; font-size: 34px; }
.stores__notice { display: flex; align-items: center; gap: 8px; padding: 10px 16px 10px 14px; border-radius: 999px; background: #fff4d6; font-weight: 800; font-size: 14px; white-space: nowrap; }
.search { display: flex; align-items: center; gap: 12px; height: 60px; padding: 0 14px 0 18px; border: 1.5px solid var(--line); border-radius: 16px; background: var(--lilac); transition: border-color .15s, box-shadow .15s; }
.search:focus-within { border-color: var(--purple); box-shadow: 0 0 0 4px rgba(93, 40, 129, .12); }
.search input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; outline: none; font: inherit; font-size: 17px; color: var(--ink); font-weight: 800; }
.search input::placeholder { color: var(--muted); font-weight: 500; }
.search input::-webkit-search-cancel-button { display: none; }
.search__clear { display: grid; place-items: center; width: 28px; height: 28px; border: 0; border-radius: 99px; background: var(--line); color: var(--ink); font-weight: 800; font-size: 18px; line-height: 1; }
.search__clear[hidden] { display: none; }
.chain-filter { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; }
.chain-chip { padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); font-weight: 800; font-size: 15px; white-space: nowrap; transition: background-color .15s, color .15s; }
.chain-chip:hover { border-color: var(--purple); }
.chain-chip[aria-pressed="true"] { background: var(--purple); border-color: var(--purple); color: #fff; }
.stores__results { display: flex; flex-direction: column; gap: 12px; }
.stores__results-head { display: flex; align-items: center; justify-content: space-between; }
.stores__count { font-weight: 800; font-size: 18px; }
.stores__order { color: var(--muted); font-size: 13px; }
.stores__table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; text-align: left; }
.stores__table th { padding: 12px 8px; background: var(--lilac); color: var(--muted); font-weight: 800; font-size: 13px; }
.stores__table td { padding: 16px 8px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.stores__table th:first-child, .stores__table td:first-child { padding-left: 20px; width: 206px; }
.stores__table th:nth-child(2), .stores__table td:nth-child(2) { width: 266px; }
.stores__table th:last-child, .stores__table td:last-child { padding-right: 20px; width: 150px; }
.stores__table td:nth-child(2) { color: var(--ink); font-weight: 800; font-size: 16px; }
.stores__table td:last-child { color: var(--ink); font-weight: 800; }
.chain-tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--lilac); color: var(--purple); font-weight: 800; font-size: 12px; white-space: nowrap; }
.chain-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--purple); }
.stores__more, .stores__reset { padding: 12px 20px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--purple); font-weight: 800; font-size: 15px; transition: border-color .15s, background-color .15s; }
.stores__more:hover, .stores__reset:hover { border-color: var(--purple); background: var(--lilac); }
.stores__more[hidden] { display: none; }
.stores__empty { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 40px 24px; border-radius: 16px; background: var(--lilac); text-align: center; color: var(--muted); font-size: 14px; }
.stores__empty[hidden] { display: none; }
.stores__empty-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #fff; }
.stores__empty-title { color: var(--ink); font-weight: 800; font-size: 20px; }
.stores__reset { margin-top: 6px; border-color: var(--purple); color: var(--ink); }
.stores__note { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; }
.stores__note img { flex: none; }

/* Quién participa */
.who-wrap { background: #fff; padding: 56px 0 112px; }
.who { display: flex; align-items: center; gap: 40px; padding: 48px 56px; border-radius: 32px; background: linear-gradient(90deg, #3b1287, #24095a); color: #fff; }
.who__icon { flex: none; display: grid; place-items: center; width: 96px; height: 96px; border-radius: 50%; background: rgba(255, 255, 255, .15); }
.who__text { flex: 1; display: flex; flex-direction: column; gap: 12px; }
.who__text h2 { font-weight: 800; font-size: 38px; }
.who__text p { color: #f6e8f4; font-size: 19px; line-height: 1.5; }
.who__note { flex: 0 0 400px; display: flex; align-items: flex-start; gap: 14px; padding: 20px 24px; border-radius: 20px; background: rgba(0, 0, 0, .18); font-size: 14px; line-height: 1.5; }
.who__note img { flex: none; }

/* Términos: acordeón */
.accordion { width: 100%; display: flex; flex-direction: column; gap: 12px; }
.accordion details { border: 1px solid rgba(93, 40, 129, .12); border-radius: 18px; background: #fff; transition: border-color .2s; }
.accordion details[open] { border-color: rgba(147, 64, 126, .45); }
.accordion summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 28px; color: var(--purple); font-weight: 800; font-size: 18px; cursor: pointer; list-style: none; border-radius: 18px; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion details[open] summary { padding-bottom: 12px; }
.acc-toggle { position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%; background: #f7f0f8; transition: background-color .25s; }
.acc-toggle img { position: absolute; left: 9px; top: 9px; width: 18px; transition: transform .3s ease, opacity .3s ease; }
.acc-minus { opacity: 0; transform: rotate(90deg); }
details[open] .acc-toggle { background: var(--plum); }
details[open] .acc-plus { opacity: 0; transform: rotate(-90deg); }
details[open] .acc-minus { opacity: 1; transform: none; }
.accordion details p { padding: 0 28px 22px; color: #4b3a5c; font-size: 16px; line-height: 1.55; animation: fade-in .3s ease; }

/* Footer */
.site-footer { background: #0b0220; color: rgba(255, 255, 255, .55); padding: 64px 0 48px; font-size: 13px; line-height: 1.6; }
.site-footer .container { display: flex; flex-direction: column; gap: 32px; }
.site-footer__top { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-footer__brand { display: flex; align-items: center; gap: 20px; }
.site-footer__brand img:first-child { width: 99px; height: 30px; object-fit: contain; }
.site-footer__brand img:last-child { width: 120px; height: 25px; object-fit: contain; }
.site-footer__links { display: flex; gap: 28px; color: rgba(255, 255, 255, .8); font-weight: 800; font-size: 14px; line-height: normal; }
.site-footer__links a:hover { color: #fff; }
.site-footer hr { width: 100%; margin: 0; border: 0; height: 1px; background: rgba(255, 255, 255, .1); }

/* ---------- Animaciones (valores tomados del timeline de Figma) ---------- */
@keyframes fade-in { from { opacity: 0; } }
@keyframes panel-down { from { transform: translateY(-100%); } }
@keyframes drop-in { from { opacity: 0; translate: 0 -16px; } }
@keyframes rise-in { from { opacity: 0; translate: 0 90px; } }
@keyframes pop-in { from { opacity: 0; } }
@keyframes kv-pop { from { opacity: 0; scale: .8; } }
@keyframes orbit-in { from { opacity: 0; scale: .82; } }
@keyframes can-in { from { opacity: 0; translate: 0 170px; scale: .9; } }
@keyframes slide-l { from { opacity: 0; translate: -56px 0; } }
@keyframes slide-r { from { opacity: 0; translate: 56px 0; } }
@keyframes bob { 50% { transform: translateY(var(--bob, -10px)) rotate(-2deg); } }
@keyframes can-float { 0%, 100% { transform: translateY(0) rotate(-1.2deg); } 50% { transform: translateY(-12px) rotate(1.2deg); } }
@keyframes spin { to { rotate: 360deg; } }
@keyframes spin-half { to { rotate: 180deg; } }
@keyframes twinkle { 0%, 100% { opacity: .15; scale: .55; } 50% { opacity: 1; scale: 1; } }
@keyframes glow { 50% { opacity: .78; } }
@keyframes pulse { 50% { opacity: .6; } }
/* Timeline de Figma: cruza 380×219 px hacia su cabeza (abajo-derecha) en ~0,95 s, una vez cada 12 s. */
@keyframes shooting { 0% { opacity: 0; translate: 0 0; animation-timing-function: ease-in; } 1.25% { opacity: 1; } 7.9%, 100% { opacity: 0; translate: 380px 219px; } }
@keyframes rise-sm { from { opacity: 0; translate: 0 18px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1240px) and (min-width: 901px) {
  .hero__stage { zoom: .85; }
  .product__visual { flex-basis: 440px; zoom: .85; }
  .product { gap: 48px; }
  .nav { gap: 22px; }
  .ticket { grid-template-columns: 360px 1fr; }
  .ticket__stub { padding: 40px 36px; }
  .ticket__body { padding: 40px; }
}
/* Entre 901 y 1140 px el menú completo no cabe: se usa el menú hamburguesa (panel lateral). */
@media (max-width: 1140px) and (min-width: 901px) {
  .nav, .site-header__cta { display: none; }
  .menu-toggle { display: block; }
  .menu-mobile__panel { max-width: 420px; margin-left: auto; border-radius: 0 0 0 24px; }
}

@media (max-width: 900px) {
  :root { --header-h: 58px; --gutter: 24px; }
  .d-only { display: none; }
  .m-only { display: revert; }
  span.m-only { display: inline; }

  .site-header__bar { padding-inline: 20px; }
  .brand { gap: 0; flex: 1; justify-content: space-between; margin-right: 16px; }
  .brand__primaplus { width: 86px; height: 26px; }
  .brand__pharmalys { width: 92px; height: 19px; }
  .brand__divider, .nav, .site-header__cta { display: none; }
  .menu-toggle { display: block; }

  /* Hero apilado */
  .hero__stage { width: auto; height: auto; padding: 24px var(--gutter) 48px; display: grid; grid-template-areas: "copy" "can" "prizes" "bottom"; justify-items: center; }
  .hero__stage > * { position: relative; inset: auto; left: auto; top: auto; width: auto; }
  .hero__copy { grid-area: copy; gap: 14px; }
  .chip { font-size: 13px; padding: 6px 14px; }
  .kv { --kv: .54; }
  .kv__title { gap: 8px; }
  .kv__headline { margin-top: 10px; font-size: 29px; line-height: 1.12; }
  .hero__product, .hero__can { grid-area: can; }
  .hero__product { width: 100%; height: 100%; }
  .hero__can { width: 228px; margin-top: 28px; }
  .hero__glow { left: 50%; top: 50%; width: 620px; translate: -50% -50%; }
  .hero__orbit { left: 50%; top: 50%; width: 360px; margin: -180px 0 0 -180px; }
  .hero__rays { top: 46%; width: 40px; }
  .hero__rays--l { left: calc(50% - 160px); }
  .hero__rays--r { left: calc(50% + 120px); }
  .hero__prizes { grid-area: prizes; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 100%; margin-top: 8px; }
  .prize-tag { position: relative; left: auto; flex-direction: column; gap: 4px; padding: 14px 10px 16px; text-align: center; white-space: normal; font-size: 12px; line-height: 1.2; border-radius: 20px; }
  .prize-tag br { display: none; }
  .prize-tag strong { font-size: 30px; margin-bottom: 4px; }
  .prize-tag--alexa { order: -1; }
  .prize-tag--alexa img { width: 48px; height: 46px; }
  .prize-tag--jugueton img { width: 96px; height: 46px; }
  .prize-tag--jugueton p { max-width: 9em; }
  .hero__bottom { grid-area: bottom; margin-top: 28px; gap: 20px; }
  .hero__lead { font-size: 15px; }
  .chains-badge { flex-direction: column; gap: 6px; padding: 10px 14px; font-size: 12px; }
  .chains-badge__logos { gap: 12px; }
  .chains-badge__logos img { height: 26px; }
  .chains-badge__divider { height: 22px; }
  .hero__ctas { flex-direction: column; width: 100%; gap: 14px; }
  .hero__ctas .btn { width: 100%; }
  .trust { flex-wrap: wrap; justify-content: center; gap: 6px 14px; font-size: 12px; }
  .trust__check { width: 18px; height: 18px; }
  .trust__check img { width: 11px; }
  .hero__planet { width: 80px; left: -24px; top: 120px; }
  .hero__moon--left, .hero__moon--right { display: none; }

  .section { padding-block: 72px; }
  .section--space { background-image: linear-gradient(180deg, rgba(18, 4, 46, .15) 0%, rgba(18, 4, 46, .55) 70%, #12042e 100%), url("../assets/img/galaxy-mobile-768.webp"); } /* misma imagen que el hero mobile, ya en caché */
  .section-head { margin-bottom: 32px; gap: 12px; }
  .section-head h2, .product__copy h2 { font-size: 34px; }
  .section-head p { font-size: 15px; }
  .container--narrow { gap: 32px; }

  .steps { grid-template-columns: 1fr; }
  .step { padding: 28px 24px; font-size: 15px; }
  .step + .step { border-left: 0; border-top: 1.5px solid var(--line-soft); }
  .step__num::before { font-size: 50px; }
  .step__title { font-size: 20px; }
  .odds-banner { flex-direction: column; gap: 8px; margin-top: 32px; padding: 24px; text-align: center; }
  .odds-banner__eq { gap: 8px; font-size: 20px; }
  .odds-banner > p:not(.odds-banner__eq) { font-size: 13px; }

  .prizes { grid-template-columns: 1fr; gap: 28px; }
  .prize-card { height: 274px; padding: 10px 20px 0; }
  .prize-card__glow { width: 420px; top: -110px; }
  .prize-card__media { height: 180px; }
  .prize-card__media img { max-height: 170px; }
  .prize-card h3, .prize-card:first-child h3 { font-size: 24px; }

  .product { flex-direction: column; gap: 40px; }
  .section--space { overflow: hidden; }
  .product__visual { flex: none; width: 520px; height: 560px; align-self: center; zoom: .6; margin-left: 60px; }
  .product__copy { text-align: center; align-items: center; gap: 20px; }
  .product__legal { margin-top: 0; font-size: 12px; }
  .presentations { flex-direction: column; width: 100%; }
  .presentations li { text-align: left; }
  .presentations h3 { font-size: 17px; }

  .ticket { grid-template-columns: 1fr; }
  .ticket__stub, .ticket__body { mask: radial-gradient(circle var(--notch) at 0 var(--mask-y), #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle var(--notch) at 100% var(--mask-y), #0000 98%, #000) right / 51% 100% no-repeat; }
  .ticket__stub { --mask-y: 100%; padding: 32px 24px; border-radius: 28px 28px 0 0; font-size: 14px; }
  .ticket__body { --mask-y: 0%; border-radius: 0 0 28px 28px; }
  .ticket__dates { font-size: 48px; }
  .ticket__year { font-size: 22px; }
  .ticket__body { padding: 48px 24px 56px; gap: 16px; font-size: 14px; }
  .ticket__body::before { left: 22px; top: 0; width: calc(100% - 44px); transform: none; }
  .ticket__body h3 { font-size: 19px; }
  .ticket__logos { gap: 14px; }
  .ticket__logos img { height: 28px; }
  .ticket__divider { height: 26px; width: 1.2px; }

  .stores { margin-top: 32px; padding: 20px 18px; gap: 16px; }
  .stores__head { flex-direction: column; align-items: stretch; gap: 14px; }
  .stores__head > div { font-size: 14px; }
  .stores__title { font-size: 26px; }
  .stores__notice { border-radius: 12px; font-size: 12px; }
  .search { height: 48px; border-radius: 14px; }
  .search input { font-size: 15px; }
  .chain-filter { overflow-x: auto; margin-right: -18px; padding-right: 18px; scrollbar-width: none; }
  .chain-chip { font-size: 13px; padding: 8px 14px; }
  .stores__results-head .stores__order { display: none; }
  .stores__count { font-size: 15px; }
  .stores__table, .stores__table tbody { display: block; border: 0; border-radius: 0; overflow: visible; }
  .stores__table thead { display: none; }
  .stores__table tr { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "chain city" "name name" "addr addr"; gap: 4px 8px; margin-bottom: 10px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; }
  .stores__table td { display: block; padding: 0 !important; border: 0; width: auto !important; font-size: 13px; }
  .stores__table td:nth-child(1) { grid-area: chain; }
  .stores__table td:nth-child(2) { grid-area: name; font-size: 15px; margin-top: 4px; }
  .stores__table td:nth-child(3) { grid-area: addr; }
  .stores__table td:nth-child(4) { grid-area: city; align-self: center; font-size: 12px; color: var(--purple); }
  .chain-tag { font-size: 11px; }
  .stores__note { align-items: flex-start; font-size: 12px; }

  .who-wrap { padding: 32px 0 72px; }
  .who { flex-direction: column; align-items: flex-start; gap: 20px; padding: 28px 22px; }
  .who__icon { width: 64px; height: 64px; }
  .who__icon img { width: 30px; }
  .who__text h2 { font-size: 24px; }
  .who__text p { font-size: 15px; }
  .who__note { flex: none; font-size: 12px; padding: 16px; }

  .accordion summary { padding: 18px 20px; font-size: 15px; }
  .accordion details p { padding: 0 20px 18px; font-size: 14px; }
  .btn--purple { width: 100%; }

  .site-footer { padding: 40px 0; text-align: center; font-size: 11px; }
  .site-footer .container { gap: 20px; }
  .site-footer__top { flex-direction: column; gap: 16px; }
  .site-footer__links { flex-wrap: wrap; justify-content: center; gap: 6px 14px; font-size: 12px; }
  .site-footer hr { display: none; }
}
