/* ============================================================
   GranSorteo — Hoja de estilos
   Paleta: NEGRO (#000) + AZUL (#0d69f0) + BLANCO (#fefcfd)
   Tema oscuro · Responsive: mobile-first → tablet → desktop
   ============================================================ */

:root {
  /* Colores de marca */
  --black:  #000000;
  --white:  #fefcfd;
  --blue:   #0d69f0;
  --blue-d: #0a4fc0;   /* azul oscuro (gradientes) */
  --blue-l: #4a93ff;   /* azul claro (acentos/links hover) */

  /* Superficies (tema oscuro) */
  --bg:        #000000;   /* fondo principal */
  --bg-2:      #06070b;   /* secciones alternas / barras */
  --surface:   #0c0e14;   /* tarjetas elevadas */
  --surface-2: #14171f;   /* inputs / superficies sutiles */
  --line:      rgba(254,252,253,.11);
  --line-2:    rgba(254,252,253,.18);

  /* Texto */
  --ink:      #fefcfd;    /* texto principal */
  --ink-soft: #9aa3b8;    /* texto secundario */
  --ink-dim:  #6b7488;    /* texto tenue */

  /* Estados */
  --green: #1fbf6b;

  /* Tipografía */
  --font-head: 'Sora', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;

  /* Sistema */
  --radius:   16px;
  --radius-sm:10px;
  --radius-lg:26px;
  --shadow:   0 24px 60px -24px rgba(0,0,0,.8);
  --shadow-sm:0 10px 30px -14px rgba(0,0,0,.7);
  --glow:     0 0 0 1px rgba(13,105,240,.35), 0 18px 40px -16px rgba(13,105,240,.55);
  --container:1180px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--black);
  line-height: 1.6;
  overflow-x: hidden;
}
img,svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input { font: inherit; }
h1,h2,h3,h4 { font-family: var(--font-head); line-height: 1.12; font-weight: 700; letter-spacing: -.02em; color: var(--white); }
ul { list-style: none; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.container--narrow { max-width: 800px; }
.section { padding: 72px 0; }
.section--alt { background: var(--bg-2); }

.section__head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 700;
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue-l); margin-bottom: 12px;
}
.section__title { font-size: clamp(1.7rem, 4.5vw, 2.6rem); }
.section__sub { color: var(--ink-soft); margin-top: 12px; font-size: 1.05rem; }

.grad-text {
  background: linear-gradient(100deg, var(--blue-l), var(--blue));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Botones ---------- */
.btn {
  --bh: 46px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--bh); padding: 0 22px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 700; font-size: .95rem;
  transition: transform .18s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s;
  white-space: nowrap; line-height: 1;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn--lg { --bh: 56px; padding: 0 30px; font-size: 1.02rem; }
.btn--block { display: flex; width: 100%; }
.btn--primary {
  background: linear-gradient(135deg, var(--blue-l), var(--blue));
  color: #fff; box-shadow: 0 14px 30px -10px rgba(13,105,240,.7);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -12px rgba(13,105,240,.85); }
.btn--outline { background: transparent; border: 2px solid var(--line-2); color: var(--white); }
.btn--outline:hover { border-color: var(--blue); color: var(--blue-l); }
.btn--ghost { background: rgba(254,252,253,.06); color: var(--white); border: 1px solid var(--line-2); }
.btn--ghost:hover { background: rgba(13,105,240,.18); border-color: var(--blue); }
.btn--light { background: var(--white); color: var(--black); box-shadow: var(--shadow-sm); }
.btn--light:hover { transform: translateY(-2px); }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px; border-radius: 999px; font-size: .85rem; font-weight: 600;
  background: rgba(13,105,240,.14); color: var(--blue-l); border: 1px solid rgba(13,105,240,.35);
}

/* ============================================================
   TOPBAR
   ============================================================ */
.topbar { background: var(--bg-2); color: var(--ink-soft); font-size: .8rem; border-bottom: 1px solid var(--line); }
.topbar__inner { display: flex; gap: 18px; justify-content: center; align-items: center; height: 38px; flex-wrap: wrap; }
.topbar__item { white-space: nowrap; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(0,0,0,.78); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: background .3s, box-shadow .3s;
}
.header.is-scrolled { background: rgba(0,0,0,.96); box-shadow: 0 8px 30px -12px rgba(0,0,0,.9); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--white); font-family: var(--font-head); font-size: 1.25rem; }
.brand__mark {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px;
  background: linear-gradient(135deg, var(--blue-l), var(--blue)); color: #fff;
  box-shadow: 0 6px 16px -6px rgba(13,105,240,.8);
}
.brand__text strong { color: var(--blue-l); }
.brand__logo { width: 42px; height: 42px; object-fit: contain; flex: none; }
.footer .brand__logo { width: 48px; height: 48px; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav__link {
  color: var(--ink-soft); font-weight: 600; font-size: .94rem; padding: 9px 13px; border-radius: 9px;
  transition: color .2s, background .2s;
}
.nav__link:hover { color: var(--white); background: rgba(254,252,253,.06); }
.nav__cta { margin-left: 6px; --bh: 42px; }

.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.hamburger span { width: 24px; height: 2.5px; background: var(--white); border-radius: 2px; transition: .3s var(--ease); }
.hamburger.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 620px at 80% -10%, rgba(13,105,240,.28), transparent 60%),
    radial-gradient(900px 520px at 8% 8%, rgba(13,105,240,.16), transparent 55%),
    var(--black);
  color: var(--white); padding-top: 56px;
}
.hero__glow {
  position: absolute; inset: auto 0 -40% 0; height: 70%;
  background: radial-gradient(60% 100% at 50% 0%, rgba(13,105,240,.14), transparent 70%);
  pointer-events: none;
}
.hero__grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center;
  padding-bottom: 18px;
}

/* ---------- Hero slider ---------- */
.hero-slider { position: relative; overflow: hidden; padding-top: 18px; }
.hero-slider__track { display: flex; transition: transform .6s var(--ease); will-change: transform; }
.hero-slide { flex: 0 0 100%; min-width: 100%; }

.hero-slide { display: flex; }
.hero-slide > .prize-card { flex: 1; display: flex; flex-direction: column; }
.hero-slide > .prize-card .prize-card__art { flex: 1; }

.hero-slider__controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 18px; }
.hero-slider__arrow {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  display: inline-flex; align-items: center; justify-content: center; line-height: 1;
  font-size: 1rem; color: var(--white);
  background: rgba(254,252,253,.06); border: 1px solid var(--line-2);
  transition: background .2s, border-color .2s, transform .2s;
}
.hero-slider__arrow:hover { background: var(--blue); border-color: var(--blue); }
.hero-slider__arrow:active { transform: scale(.94); }

.hero-slider__dots { display: flex; gap: 8px; align-items: center; }
.hero-slider__dots button { width: 9px; height: 9px; border-radius: 999px; background: var(--line-2); transition: width .25s var(--ease), background .25s; }
.hero-slider__dots button.is-active { width: 26px; background: var(--blue); }
.hero__title { font-size: clamp(2.1rem, 6.2vw, 4rem); font-weight: 800; margin: 18px 0; }
.hero__lead { color: var(--ink-soft); font-size: 1.12rem; max-width: 520px; }
.hero__lead strong { color: var(--white); }

.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 26px 0 16px; }
.hero__avail { font-size: .9rem; color: var(--ink-soft); margin: 0 0 18px; }
.hero__avail strong { color: var(--blue-l); font-variant-numeric: tabular-nums; }
.hero__trust { display: flex; gap: 18px; flex-wrap: wrap; color: var(--ink-soft); font-size: .9rem; font-weight: 600; }

/* Countdown */
.countdown { display: flex; flex-direction: column; gap: 12px; margin: 24px 0 6px; }
.countdown__label { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); display: inline-flex; align-items: center; gap: 7px; }
.countdown__label i { color: var(--blue-l); }
.countdown__boxes { display: flex; gap: 10px; }
.countdown__box {
  flex: 1; max-width: 92px; text-align: center; padding: 12px 6px; border-radius: 14px;
  background: rgba(254,252,253,.04); border: 1px solid var(--line);
}
.countdown__box span { display: block; font-family: var(--font-head); font-weight: 800; font-size: 1.7rem; color: var(--blue-l); font-variant-numeric: tabular-nums; }
.countdown__box small { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-dim); }

/* Prize card */
.hero__media { position: relative; }
.prize-card {
  position: relative; background: linear-gradient(160deg, #0d1424, #05070d);
  border: 1px solid var(--line-2); border-radius: var(--radius-lg);
  padding: 26px; box-shadow: 0 40px 90px -28px rgba(13,105,240,.4);
}
.prize-card__badge {
  position: absolute; top: -14px; left: 26px; background: linear-gradient(135deg,var(--blue-l),var(--blue));
  color: #fff; font-family: var(--font-head); font-weight: 700; font-size: .78rem;
  padding: 7px 14px; border-radius: 999px; letter-spacing: .04em; box-shadow: 0 8px 20px -8px rgba(13,105,240,.8);
}
.prize-card__art { display: flex; align-items: center; justify-content: center; min-height: 152px; margin: 10px 0 18px; }
.prize-card__art svg { width: 100%; height: auto; }
.prize-card__art--emoji { font-size: clamp(3.6rem, 13vw, 6rem); line-height: 1; gap: 6px; }
.prize-card__foot { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 16px; }
.prize-card__foot strong { display: block; font-family: var(--font-head); font-size: 1.15rem; color: var(--white); }
.prize-card__foot span { color: var(--ink-soft); font-size: .85rem; }
.prize-card__cash { font-family: var(--font-head); font-weight: 800; font-size: 1.35rem; color: var(--blue-l); }

.floaty {
  position: absolute; background: var(--white); color: var(--black); font-size: .85rem; font-weight: 600;
  padding: 10px 14px; border-radius: 12px; box-shadow: var(--shadow); white-space: nowrap;
  animation: floaty 4s ease-in-out infinite;
}
.floaty strong { color: var(--blue); }
.floaty--a { top: 8%; left: 2px; }
.floaty--b { bottom: 14%; right: 4px; animation-delay: 1.5s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* Marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: rgba(254,252,253,.02); }
.marquee__track { display: flex; gap: 44px; white-space: nowrap; padding: 14px 0; width: max-content; animation: marquee 26s linear infinite; }
.marquee__track span { font-family: var(--font-head); font-weight: 600; color: var(--ink-soft); font-size: .95rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   STATS
   ============================================================ */
.stats { background: var(--bg-2); color: var(--white); padding: 36px 0; border-block: 1px solid var(--line); }
.stats__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; text-align: center; }
.stat { display: flex; flex-direction: column; align-items: center; }
.stat__num { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.8rem,4vw,2.6rem); color: var(--blue-l); font-variant-numeric: tabular-nums; }
.stat__suf { display: none; }
.stat p { color: var(--ink-soft); font-size: .88rem; margin-top: 2px; }

/* ============================================================
   STEPS
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.step {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 22px 24px; box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(13,105,240,.4); }
.step__n {
  position: absolute; top: -16px; right: 20px; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 800;
  background: linear-gradient(135deg, var(--blue-l), var(--blue)); color: #fff; font-size: .95rem;
  box-shadow: 0 8px 18px -8px rgba(13,105,240,.8);
}
.step__ico { font-size: 2rem; margin-bottom: 12px; }
.step h3 { font-size: 1.12rem; margin-bottom: 6px; }
.step p { color: var(--ink-soft); font-size: .94rem; }

/* ============================================================
   BUY (combos + cart)
   ============================================================ */
.buy { display: grid; grid-template-columns: 1.3fr .9fr; gap: 28px; align-items: start; }
.combos { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.combo {
  position: relative; text-align: left; background: var(--surface); border: 2px solid var(--line);
  border-radius: var(--radius); padding: 22px; transition: border-color .2s, transform .2s, box-shadow .2s;
  display: flex; flex-direction: column; gap: 4px; color: var(--white);
}
.combo:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: var(--line-2); }
.combo.is-active { border-color: var(--blue); box-shadow: var(--glow); }
.combo--pop { border-color: rgba(13,105,240,.5); }
.combo__qty { font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; color: var(--white); }
.combo__price { font-size: 1.05rem; font-weight: 700; color: var(--white); }
.combo__tag { font-size: .82rem; color: var(--green); font-weight: 600; }
.combo__flag {
  position: absolute; top: -12px; left: 18px; background: linear-gradient(135deg,var(--blue-l),var(--blue)); color: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: .72rem; padding: 4px 11px; border-radius: 999px;
}
.combo--best .combo__flag { background: var(--white); color: var(--black); }

.cart { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow); position: sticky; top: 90px; }
.cart__title { font-size: 1.25rem; margin-bottom: 18px; }
.qty { margin-bottom: 18px; }
.qty__label { display: block; font-size: .85rem; color: var(--ink-soft); margin-bottom: 8px; font-weight: 600; }
.qty__control { display: flex; align-items: center; gap: 10px; }
.qty__btn { width: 46px; height: 46px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); font-size: 1.4rem; font-weight: 700; color: var(--white); transition: background .2s, border-color .2s; }
.qty__btn:hover { background: rgba(13,105,240,.16); border-color: var(--blue); }
.qty__input { flex: 1; height: 46px; text-align: center; background: var(--surface-2); color: var(--white); border: 1px solid var(--line); border-radius: 12px; font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; -moz-appearance: textfield; }
.qty__input::-webkit-outer-spin-button,.qty__input::-webkit-inner-spin-button { -webkit-appearance: none; }

.cart__line { display: flex; justify-content: space-between; padding: 9px 0; color: var(--ink-soft); font-size: .95rem; border-bottom: 1px dashed var(--line); }
.cart__line--disc { color: var(--green); font-weight: 600; }
.cart__total { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0 18px; }
.cart__total strong { font-family: var(--font-head); font-size: 1.7rem; color: var(--white); }
.cart__note { text-align: center; font-size: .82rem; color: var(--ink-soft); margin-top: 12px; }

/* ============================================================
   PAYS
   ============================================================ */
.pays { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.pay { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); transition: border-color .25s, transform .25s; }
.pay:hover { border-color: rgba(13,105,240,.4); transform: translateY(-4px); }
.pay__ico { font-size: 2.2rem; margin-bottom: 12px; }
.pay h3 { font-size: 1.15rem; margin-bottom: 8px; }
.pay p { color: var(--ink-soft); font-size: .94rem; margin-bottom: 16px; }
.pay__state { display: inline-block; font-size: .78rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; }
.pay__state--on { background: rgba(31,191,107,.16); color: var(--green); }
.pay__state--soon { background: rgba(254,252,253,.08); color: var(--ink-soft); }

/* ============================================================
   WINNERS
   ============================================================ */
.winners { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.winner { display: flex; align-items: center; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow-sm); }
.winner__avatar { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--blue), var(--blue-d)); }
.winner__body { flex: 1; }
.winner__body strong { font-family: var(--font-head); font-size: 1.05rem; color: var(--white); }
.winner__body span { display: block; color: var(--ink-soft); font-size: .8rem; }
.winner__body p { font-size: .92rem; margin-top: 3px; color: var(--ink-soft); }
.winner__body b { color: var(--white); }
.winner__num { flex: none; font-family: var(--font-head); font-weight: 800; color: var(--blue-l); background: rgba(13,105,240,.14); padding: 8px 12px; border-radius: 10px; font-size: .9rem; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq__item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-sm); }
.faq__item summary { list-style: none; cursor: pointer; padding: 18px 22px; font-family: var(--font-head); font-weight: 700; font-size: 1.02rem; color: var(--white); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-size: 1.5rem; color: var(--blue-l); transition: transform .25s; line-height: 1; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { padding: 0 22px 20px; color: var(--ink-soft); }
.link { color: var(--blue-l); font-weight: 700; text-decoration: underline; }

/* ============================================================
   FINAL CTA
   ============================================================ */
.finalcta {
  background:
    radial-gradient(800px 420px at 50% 0%, rgba(13,105,240,.32), transparent 60%),
    linear-gradient(135deg, #07111f, var(--black));
  color: var(--white); text-align: center; padding: 70px 0; border-top: 1px solid var(--line);
}
.finalcta h2 { font-size: clamp(1.6rem,4.5vw,2.4rem); }
.finalcta p { color: var(--ink-soft); margin: 12px 0 26px; font-size: 1.08rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--black); color: var(--ink-soft); padding-top: 56px; border-top: 1px solid var(--line); }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 36px; padding-bottom: 40px; }
.footer__desc { font-size: .92rem; margin: 14px 0 18px; max-width: 320px; color: var(--ink-dim); }
.footer__col h4 { color: var(--white); font-size: 1rem; margin-bottom: 16px; }
.footer__col a { display: block; color: var(--ink-dim); font-size: .92rem; padding: 6px 0; transition: color .2s; }
.footer__col a:hover { color: var(--blue-l); }
.footer__reg { font-size: .88rem; color: var(--ink-dim); margin-bottom: 16px; }
.conajzar { background: #111827; display: inline-flex; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--line); }
.footer__age { display: block; margin-top: 14px; font-size: .82rem; color: var(--ink-dim); }

.socials { display: flex; gap: 10px; }
.social { width: 42px; height: 42px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; line-height: 1; background: rgba(254,252,253,.06); border: 1px solid var(--line); color: var(--white); font-size: 1.15rem; transition: background .2s, transform .2s, border-color .2s; }
.social i { line-height: 1; }
.social:hover { transform: translateY(-3px); border-color: transparent; }
.social--fb:hover { background: #1877f2; }
.social--ig:hover { background: radial-gradient(circle at 30% 110%, #fdc468 0%, #df4996 45%, #6a3ab2 90%); }
.social--wa:hover { background: #25d366; }

.footer__bar { border-top: 1px solid var(--line); padding: 20px 0; }
.footer__bar-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .85rem; color: var(--ink-dim); }

/* ============================================================
   MODALES
   ============================================================ */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 18px; }
.modal.is-open { display: flex; }
.modal__overlay { position: absolute; inset: 0; background: rgba(0,0,0,.72); backdrop-filter: blur(5px); animation: fade .25s; }
.modal__dialog {
  position: relative; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius-lg);
  width: 100%; max-width: 520px; max-height: 92vh; overflow-y: auto; padding: 32px;
  box-shadow: 0 50px 100px -30px rgba(0,0,0,.9); animation: pop .3s var(--ease);
}
.modal__dialog--sm { max-width: 440px; }
.modal__close { position: absolute; top: 14px; right: 16px; width: 38px; height: 38px; border-radius: 50%; font-size: 1.6rem; color: var(--ink-soft); background: var(--surface-2); display: grid; place-items: center; transition: background .2s; }
.modal__close:hover { background: rgba(13,105,240,.18); color: var(--white); }
.modal__title { font-size: 1.4rem; margin-bottom: 6px; }
.modal__sub { color: var(--ink-soft); margin-bottom: 22px; }
.modal__sub strong { color: var(--white); }
.modal__actions { display: flex; gap: 12px; margin-top: 22px; }
.modal__actions .btn { flex: 1; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.98); } }

/* Stepper */
.stepper { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 26px; }
.stepper__dot { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; background: var(--surface-2); color: var(--ink-soft); border: 2px solid var(--line); transition: .25s; }
.stepper__dot.is-active { background: var(--blue); color: #fff; border-color: var(--blue); }
.stepper__dot.is-done { background: var(--green); color: #fff; border-color: var(--green); }
.stepper__bar { width: 46px; height: 2px; background: var(--line-2); }

.step-pane { display: none; }
.step-pane.is-active { display: block; animation: fade .3s; }
.step-pane--center { text-align: center; }

/* Form */
.form { display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field span { font-size: .85rem; font-weight: 600; color: var(--white); }
.field input { height: 48px; padding: 0 14px; background: var(--surface-2); color: var(--white); border: 1.5px solid var(--line); border-radius: 12px; transition: border-color .2s, box-shadow .2s; }
.field input::placeholder { color: var(--ink-dim); }
.field input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(13,105,240,.18); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--ink-soft); cursor: pointer; }
.check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--blue); }

/* Pay tabs */
.paytabs { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.paytab { flex: 1; min-width: 100px; padding: 12px 8px; border-radius: 12px; background: var(--surface-2); color: var(--ink-soft); border: 1.5px solid var(--line); font-weight: 600; font-size: .9rem; transition: .2s; }
.paytab.is-active { background: var(--blue); color: #fff; border-color: var(--blue); }
.payinfo { display: none; }
.payinfo.is-active { display: block; animation: fade .25s; }
.payinfo__lead { color: var(--ink-soft); margin-bottom: 16px; }
.bankrow { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.bankrow span { color: var(--ink-soft); }
.bankrow strong { color: var(--white); }
.bankrow--hl { font-size: 1.1rem; padding-top: 14px; }
.bankrow--hl strong { color: var(--blue-l); }

.upload { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 18px; padding: 26px; border: 2px dashed var(--line-2); border-radius: var(--radius); text-align: center; cursor: pointer; transition: border-color .2s, background .2s; }
.upload:hover { border-color: var(--blue); background: rgba(13,105,240,.06); }
.upload.has-file { border-color: var(--green); background: rgba(31,191,107,.08); }
.upload__ico { font-size: 1.8rem; }
.upload__txt { font-size: .9rem; color: var(--ink-soft); font-weight: 600; }

/* Success */
.success-ico { width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; font-size: 2.4rem; color: #fff; background: linear-gradient(135deg, var(--green), #14a85c); animation: pop .4s var(--ease); }
.ticketbox { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 18px 0 22px; }
.ticket { font-family: var(--font-head); font-weight: 800; background: rgba(13,105,240,.16); color: var(--blue-l); padding: 8px 14px; border-radius: 10px; font-size: .95rem; }

/* Lookup */
.lookup-result { margin-top: 18px; }
.lookup-card { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.lookup-card h4 { margin-bottom: 6px; }
.lookup-empty { text-align: center; color: var(--ink-soft); padding: 20px; }
.lookup-empty strong { color: var(--blue-l); }

/* WhatsApp FAB */
.wsp-fab { position: fixed; bottom: 22px; right: 22px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 30px; background: #25d366; box-shadow: 0 14px 30px -8px rgba(37,211,102,.6); transition: transform .25s; }
.wsp-fab:hover { transform: scale(1.08); }
.wsp-fab::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(37,211,102,.5); animation: wsp-pulse 2.4s infinite; }
@keyframes wsp-pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); } 70%,100% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } }

/* ============================================================
   PÁGINAS LEGALES (términos / privacidad)
   ============================================================ */
.legal { padding: 48px 0 76px; }
.legal__back { display: inline-flex; align-items: center; gap: 8px; color: var(--blue-l); font-weight: 600; font-size: .92rem; margin-bottom: 22px; }
.legal__back:hover { color: var(--white); }
.legal__head { border-bottom: 1px solid var(--line); padding-bottom: 26px; margin-bottom: 30px; }
.legal__head h1 { font-size: clamp(1.8rem, 5vw, 2.7rem); }
.legal__head p { color: var(--ink-soft); margin-top: 10px; }
.legal__updated { display: inline-block; margin-top: 14px; font-size: .82rem; color: var(--ink-dim); background: var(--surface); border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px; }
.legal h2 { font-size: 1.25rem; margin: 34px 0 12px; }
.legal h2 .legal__n { color: var(--blue-l); margin-right: 8px; }
.legal p, .legal li { color: var(--ink-soft); }
.legal p { margin-bottom: 12px; }
.legal strong { color: var(--white); }
.legal a { color: var(--blue-l); text-decoration: underline; }
.legal ul { margin: 0 0 14px; display: flex; flex-direction: column; gap: 8px; }
.legal li { position: relative; padding-left: 22px; }
.legal li::before { content: "›"; position: absolute; left: 6px; color: var(--blue-l); font-weight: 700; }
.legal__note { background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--blue); border-radius: var(--radius-sm); padding: 16px 18px; margin: 20px 0; font-size: .92rem; color: var(--ink-soft); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE — TABLET
   ============================================================ */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; gap: 36px; text-align: center; }
  .hero__lead { margin-inline: auto; }
  .hero__actions, .hero__trust { justify-content: center; }
  .hero__media { max-width: 440px; margin-inline: auto; width: 100%; }
  .floaty--a { left: 0; } .floaty--b { right: 0; }

  .countdown { align-items: center; }
  .hero__avail { text-align: center; }

  .steps { grid-template-columns: repeat(2,1fr); }
  .buy { grid-template-columns: 1fr; }
  .cart { position: static; }
  .pays { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__col--brand { grid-column: 1 / -1; }
}

/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */
@media (max-width: 680px) {
  .section { padding: 52px 0; }
  .topbar__item--hide-mobile { display: none; }

  /* Nav móvil */
  .hamburger { display: flex; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(82vw, 320px);
    flex-direction: column; align-items: stretch; gap: 6px;
    background: var(--bg-2); padding: 90px 22px 30px; border-left: 1px solid var(--line);
    transform: translateX(100%); transition: transform .35s var(--ease);
    box-shadow: -20px 0 60px -20px rgba(0,0,0,.9); z-index: 45;
  }
  .nav.is-open { transform: translateX(0); }
  .nav__link { padding: 13px 14px; font-size: 1.05rem; }
  .nav__cta { margin: 6px 0 0; }
  .nav .btn { justify-content: center; }

  .stats__grid { grid-template-columns: repeat(2,1fr); gap: 26px 14px; }
  .steps { grid-template-columns: 1fr; }
  .combos { grid-template-columns: 1fr; }
  .winners { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__bar-inner { justify-content: center; text-align: center; }

  .countdown__box span { font-size: 1.4rem; }
  .modal__dialog { padding: 24px 20px; }
  .winner { flex-wrap: wrap; }
  .winner__num { margin-left: auto; }
}

@media (max-width: 380px) {
  .countdown { gap: 6px; }
  .countdown__box { padding: 10px 4px; }
  .btn--lg { --bh: 52px; padding: 0 22px; }
}

/* Accesibilidad: respeta reduce-motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
