/* ==========================================================================
   Inversiones Buenísimas · Landing de rifas
   Estilo tomado del flyer: azul eléctrico, letras cromadas, dorado 3D.
   ========================================================================== */

:root {
  --navy-950: #01061f;
  --navy-900: #020b3b;
  --navy-800: #041552;
  --navy-700: #07206f;
  --blue-700: #0a2fa8;
  --blue-600: #0b3fd6;
  --blue-500: #1f5bff;
  --cyan-400: #27c3ff;
  --cyan-300: #8be6ff;
  --yellow: #ffe135;
  --gold-300: #ffe45c;
  --gold-400: #ffc400;
  --gold-500: #ff9d00;
  --ink: #ffffff;
  --ink-soft: rgba(222, 233, 255, 0.82);
  --ink-mute: rgba(190, 208, 245, 0.6);
  --line: rgba(139, 230, 255, 0.18);
  --glass: rgba(8, 26, 96, 0.45);
  --accent: var(--yellow);  /* texto dorado: en modo claro se oscurece para que se lea */
  --wa: #25d366;
  --wa-dark: #0f9f58;

  --font-display: 'Anton', Impact, 'Arial Narrow Bold', sans-serif;
  --font-body: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 22px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 72px;
  color-scheme: dark;
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--navy-950);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
@supports (overflow: clip) { body { overflow-x: clip; } }

img, svg, canvas { display: block; max-width: 100%; }
/* Evita que las animaciones de entrada ensanchen la página en móviles */
main, .footer { overflow-x: hidden; }
@supports (overflow: clip) { main, .footer { overflow-x: clip; } }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, p, ol, ul, figure, dl, dd { margin: 0; }
ol, ul { padding: 0; list-style: none; }
strong, b { font-weight: 800; }

[hidden] { display: none !important; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 860px; }

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 8px; }

.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 1000;
  padding: 10px 16px; border-radius: 10px;
  background: var(--yellow); color: var(--navy-900); font-weight: 800;
  transition: top 0.2s;
}
.skip-link:focus { top: 16px; }

/* ---------- Tipografía de marca ---------- */
.chrome {
  position: relative;
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: 0.01em;
  /* Espacio extra arriba y abajo (compensado con margen negativo, no mueve nada) para que el
     degradado alcance las tildes y la ¡: sin esto, la tilde de "ATENCIÓN" queda solo con contorno */
  --tp: 0.18em;
  padding-block: var(--tp);
  margin-block: calc(-1 * var(--tp));
  color: transparent;
  -webkit-text-fill-color: transparent;
  background-image: linear-gradient(180deg, #ffffff 0%, #f3f7ff 36%, #b4c9f3 50%, #eef4ff 60%, #ffffff 76%, #9fbaf0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-stroke: 1.5px #1c52f2;
  filter:
    drop-shadow(0 0 1px #8be6ff)
    drop-shadow(0 2px 0 #1a4ff0)
    drop-shadow(0 3px 0 #0a2fa8)
    drop-shadow(0 3px 0 #061d74)
    drop-shadow(0 14px 18px rgba(0, 4, 30, 0.55));
}
/* Al dividir en letras, cada letra lleva su propio degradado */
.chrome.is-split { background-image: none; -webkit-text-stroke: 0; }
.chrome.is-split .char {
  padding-block: var(--tp);
  margin-block: calc(-1 * var(--tp));
  background-image: inherit;
  background-image: linear-gradient(180deg, #ffffff 0%, #f3f7ff 36%, #b4c9f3 50%, #eef4ff 60%, #ffffff 76%, #9fbaf0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-stroke: 1.5px #1c52f2;
}
/* Destello que recorre las letras cromadas */
.chrome[data-text]::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  pointer-events: none;
  -webkit-text-stroke: 0;
  background-image: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0) 42%, rgba(255, 255, 255, 0.95) 50%, rgba(255, 255, 255, 0) 58%, transparent 62%);
  background-size: 300% 100%;
  background-position: 120% 0;
  -webkit-background-clip: text;
  background-clip: text;
  padding: inherit;
  animation: sheen 5.5s var(--ease-out) infinite;
  animation-delay: var(--sheen-delay, 1.5s);
}
.chrome.is-split::after { display: none; }
@keyframes sheen {
  0%, 55% { background-position: 120% 0; }
  85%, 100% { background-position: -40% 0; }
}

.gold {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 900;
  font-style: italic;
  letter-spacing: -0.03em;
  line-height: 1;
  color: transparent;
  -webkit-text-fill-color: transparent;
  background-image: linear-gradient(180deg, #fffbd1 0%, #ffe45c 26%, #ffc400 52%, #ff9d00 74%, #ffd54a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  padding-inline: 0.08em 0.12em;
  margin-inline: -0.08em -0.04em;
  filter:
    drop-shadow(1px 1px 0 #e0620f)
    drop-shadow(1.5px 1.5px 0 #8a2508)
    drop-shadow(1.5px 1.5px 0 #4d1204)
    drop-shadow(0 10px 14px rgba(0, 0, 0, 0.45));
}

.label-yellow {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--yellow);
  text-shadow: 0 3px 0 #8a5a00, 0 0 22px rgba(255, 210, 0, 0.35);
}

.band {
  display: inline-block;
  padding: 0.12em 0.6em;
  background: linear-gradient(90deg, transparent, rgba(1, 6, 31, 0.75) 12%, rgba(1, 6, 31, 0.75) 88%, transparent);
}

.chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(8, 26, 96, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--ink-soft);
}
.live-dot {
  position: relative; width: 9px; height: 9px; border-radius: 50%;
  background: var(--wa); box-shadow: 0 0 10px var(--wa);
}
.live-dot::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--wa);
  animation: ping 1.8s var(--ease-out) infinite;
}
@keyframes ping { to { transform: scale(2.8); opacity: 0; } }

.kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--yellow);
}
.kicker::before { content: ''; width: 28px; height: 2px; background: currentColor; box-shadow: 0 0 10px currentColor; }
.kicker--wa { color: var(--wa); }

/* Secciones: menos espacio entre ellas y sin cortes de color. El fondo de cada sección
   (--sec-bg) se pinta en una capa que se desvanece arriba y abajo hacia el color base de la
   página, así el paso de una sección a otra es un degradado y no una línea. */
.section {
  --fade: clamp(44px, 6vw, 90px);
  position: relative;
  isolation: isolate;
  padding-block: clamp(64px, 8.5vw, 112px);
}
.section::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: var(--sec-bg, none);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 var(--fade), #000 calc(100% - var(--fade)), transparent);
  mask-image: linear-gradient(180deg, transparent, #000 var(--fade), #000 calc(100% - var(--fade)), transparent);
}
.section-head { max-width: 760px; margin-bottom: clamp(36px, 6vw, 64px); }
.section-title {
  margin-top: 14px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 7vw, 84px);
  line-height: 0.98;
  text-transform: uppercase;
  letter-spacing: 0.005em;
}
.section-title em {
  font-style: normal;
  color: transparent;
  background: linear-gradient(180deg, #fffbd1, #ffc400 55%, #ff9d00);
  -webkit-background-clip: text;
  background-clip: text;
}
.section-title .char { will-change: transform; }
.section-lead { margin-top: 18px; max-width: 620px; font-size: clamp(16px, 1.6vw, 19px); color: var(--ink-soft); }
.section-lead strong { color: var(--ink); }

/* ---------- Botones ---------- */
.btn {
  --bg: var(--blue-500);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 800; font-size: 16px; letter-spacing: 0.01em;
  white-space: nowrap;
  background: var(--bg);
  color: #fff;
  isolation: isolate;
  overflow: hidden;
  transition: box-shadow 0.35s var(--ease-out), background-color 0.3s, filter 0.2s;
  will-change: transform;
}
.btn svg { width: 22px; height: 22px; flex: none; }
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease-out);
}
.btn:hover::before { transform: translateX(120%); }
.btn:active { filter: brightness(0.92); }

.btn--wa {
  --bg: var(--wa);
  background: linear-gradient(180deg, #3be37a, #1fbd5b);
  color: #032b14;
  box-shadow: 0 10px 30px -8px rgba(37, 211, 102, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.btn--wa:hover { box-shadow: 0 16px 40px -8px rgba(37, 211, 102, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.btn--gold {
  background: linear-gradient(180deg, #ffe45c, #ffb300);
  color: #3a1500;
  box-shadow: 0 10px 30px -8px rgba(255, 180, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(139, 230, 255, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn--ghost:hover { border-color: var(--cyan-300); box-shadow: 0 0 24px rgba(39, 195, 255, 0.35); }
.btn--sm { min-height: 42px; padding: 9px 18px; font-size: 14px; }
.btn--sm svg { width: 18px; height: 18px; }
.btn--lg { min-height: 60px; padding: 16px 32px; font-size: 17px; }
.btn--xl { min-height: 72px; padding: 20px 42px; font-size: clamp(17px, 2vw, 21px); }
.btn--xl svg { width: 28px; height: 28px; }
.btn.is-disabled { filter: grayscale(0.9) brightness(0.7); pointer-events: none; box-shadow: none; }

.link-btn { font-size: 14px; font-weight: 700; color: var(--ink-mute); text-decoration: underline; text-underline-offset: 4px; }
.link-btn:hover { color: var(--ink); }

/* ---------- Preloader ---------- */
.preloader { display: none; }
.js .preloader {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  pointer-events: none;
  /* Seguro: si el JS no carga, la precarga desaparece sola */
  animation: preloader-failsafe 0.5s 6s forwards;
}
@keyframes preloader-failsafe { to { opacity: 0; visibility: hidden; } }
.preloader__panel {
  position: absolute; left: 0; right: 0; height: 50.5%;
  background: radial-gradient(ellipse at 50% 100%, var(--navy-700), var(--navy-950) 70%);
}
.preloader__panel--top { top: 0; }
.preloader__panel--bottom { bottom: 0; background: radial-gradient(ellipse at 50% 0%, var(--navy-700), var(--navy-950) 70%); }
.preloader__inner { position: relative; display: grid; justify-items: center; gap: 14px; }
.preloader__logo {
  width: min(220px, 50vw); aspect-ratio: 227.86 / 164.58;
  color: transparent;
  stroke: #fff; stroke-width: 1.2;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  filter: drop-shadow(0 0 16px rgba(39, 195, 255, 0.8));
}
.preloader__brand {
  font-weight: 900; font-style: italic; text-transform: uppercase;
  letter-spacing: 0.12em; font-size: 14px; color: var(--ink-soft);
}
.preloader__count { font-family: var(--font-display); font-size: 18px; color: var(--yellow); letter-spacing: 0.1em; }
.is-loaded .preloader { display: none; }

/* ---------- Barra de progreso ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 120; pointer-events: none; }
.progress__bar {
  display: block; height: 100%; width: 100%;
  transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--cyan-400), var(--gold-400));
  box-shadow: 0 0 12px var(--gold-400);
}

/* ---------- Navegación ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--nav-h);
  transition: background-color 0.4s, box-shadow 0.4s, transform 0.5s var(--ease-out), border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(2, 11, 59, 0.72);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-color: var(--line);
}
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.brand__emblem { width: 52px; height: 38px; color: #fff; filter: drop-shadow(0 0 8px rgba(39, 195, 255, 0.6)); }
.brand__text { display: grid; line-height: 1; font-style: italic; font-weight: 900; text-transform: uppercase; font-size: 13px; letter-spacing: 0.04em; }
.brand__text b { font-weight: 900; }
.nav__links { display: none; gap: 22px; font-size: 14px; font-weight: 700; }
.nav__links a { position: relative; padding-block: 6px; color: var(--ink-soft); transition: color 0.3s; }
.nav__links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--yellow); transform: scaleX(0); transform-origin: right; transition: transform 0.4s var(--ease-out);
}
.nav__links a:hover { color: #fff; }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__cta span { display: none; }
.nav__toggle { width: 44px; height: 44px; display: grid; place-content: center; gap: 7px; border-radius: 12px; border: 1px solid var(--line); background: rgba(8, 26, 96, 0.5); }
.nav__toggle span { display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform 0.4s var(--ease-out); }
.nav__toggle[aria-expanded='true'] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.nav__toggle[aria-expanded='true'] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 90;
  display: grid; place-items: center;
  background: radial-gradient(circle at 50% 0%, var(--navy-700), var(--navy-950) 70%);
}
.menu[hidden] { display: none; }
.menu nav { display: grid; gap: 8px; text-align: center; }
.menu a { font-family: var(--font-display); font-size: clamp(34px, 9vw, 54px); text-transform: uppercase; line-height: 1.15; }
.menu a:hover { color: var(--yellow); }

@media (min-width: 560px) { .nav__cta span { display: inline; } }
@media (min-width: 1180px) {
  .nav__links { display: flex; }
  .nav__toggle { display: none; }
}

/* Botón de modo claro / oscuro */
.theme-btn {
  position: relative; flex: none;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 12px; border: 1px solid var(--line);
  background: rgba(8, 26, 96, 0.5);
  color: var(--yellow);
  overflow: hidden;
  transition: background-color 0.3s, border-color 0.3s, color 0.3s;
}
.theme-btn:hover { border-color: var(--cyan-300); }
.theme-btn svg { position: absolute; width: 22px; height: 22px; transition: transform 0.6s var(--ease-out), opacity 0.3s; }
.theme-btn__moon { opacity: 0; transform: rotate(-90deg) scale(0.4); }
html:not(.js) .theme-btn { display: none; }
@media (max-width: 1179px) { .nav__inner { gap: 10px; } }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: calc(var(--nav-h) + 20px) 0 40px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse 70% 55% at 50% -10%, rgba(39, 195, 255, 0.35), transparent 70%),
    radial-gradient(ellipse 80% 60% at 50% 110%, rgba(11, 63, 214, 0.55), transparent 70%),
    linear-gradient(180deg, #03124f 0%, #041a6e 45%, #020b3b 100%);
}
.hero__wave { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero__beam {
  position: absolute; inset: -10% 0 auto; height: 80%; z-index: -1; pointer-events: none;
  background:
    conic-gradient(from 180deg at 50% 0%, transparent 160deg, rgba(139, 230, 255, 0.16) 175deg, rgba(255, 255, 255, 0.22) 180deg, rgba(139, 230, 255, 0.16) 185deg, transparent 200deg);
  filter: blur(6px);
  mix-blend-mode: screen;
}
.hero__streaks { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.hero__streaks i {
  position: absolute; top: -40%; width: 1px; height: 40%;
  background: linear-gradient(180deg, transparent, rgba(139, 230, 255, 0.7), transparent);
  animation: streak linear infinite;
  opacity: 0.6;
}
@keyframes streak { to { transform: translateY(360%); } }
.hero__spot {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 40%), rgba(39, 195, 255, 0.16), transparent 70%);
}

.hero__inner { display: grid; gap: 40px; align-items: center; }
.hero__copy { position: relative; z-index: 2; text-align: center; display: grid; justify-items: center; }
.hero__chip { margin-bottom: 22px; }
.hero__title {
  display: grid; justify-items: center;
  font-size: clamp(58px, 15vw, 132px);
  transform: skewX(-7deg);
  line-height: 0.92;
}
.hero__line { font-size: 1em; padding-inline: 0.04em; }
.hero__line:nth-child(2) { font-size: 0.86em; }
.hero__place { margin-top: 12px; font-size: clamp(24px, 4.4vw, 40px); transform: skewX(-7deg); }
.hero__prize { display: flex; align-items: center; gap: 0.12em; margin-top: 14px; font-size: clamp(46px, 10vw, 88px); line-height: 1; }
.hero__plus { font-family: var(--font-body); font-weight: 900; color: #fff; text-shadow: 0 4px 0 #0a2fa8; }
.hero__note { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.08em; font-size: clamp(15px, 2vw, 20px); color: #fff; }
.hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 26px; }

.hero__art { position: relative; width: min(520px, 92vw); margin-inline: auto; order: -1; }
/* Casa real de la portada: foto recortada + plano que se dibuja + luces y brillo */
.casa { position: relative; width: 100%; aspect-ratio: 1074 / 1012; }
.casa__halo {
  position: absolute; inset: 4% -8% 6%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(39, 195, 255, 0.5), rgba(11, 63, 214, 0.28) 55%, transparent);
}
.casa__shadow {
  position: absolute; left: 6%; right: 6%; bottom: -3%; height: 10%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(0, 5, 30, 0.75), rgba(0, 5, 30, 0.35) 55%, transparent);
}
.casa__float, .casa__stage, .casa__photo { position: absolute; inset: 0; }
.casa__photo img {
  display: block; width: 100%; height: 100%;
  filter: drop-shadow(0 0 1px rgba(139, 230, 255, 0.9)) drop-shadow(0 0 18px rgba(39, 195, 255, 0.45)) drop-shadow(0 26px 28px rgba(0, 8, 40, 0.5));
}
.casa__plan, .casa__fx { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.casa__plan { opacity: 0; stroke: #8be6ff; stroke-width: 4; filter: drop-shadow(0 0 5px rgba(39, 195, 255, 0.95)) drop-shadow(0 0 16px rgba(11, 63, 214, 0.9)); }
.casa__fx { mix-blend-mode: screen; }
.casa__lights { opacity: 0.55; }
.casa__sparks path { transform-box: fill-box; transform-origin: center; animation: twinkle 2.6s ease-in-out infinite; }
.casa__sparks path:nth-child(2) { animation-delay: 0.7s; }
.casa__sparks path:nth-child(3) { animation-delay: 1.4s; }
.casa__sparks path:nth-child(4) { animation-delay: 2s; }
.casa__scan {
  position: absolute; left: -6%; right: -6%; top: 100%; height: 3px; opacity: 0; pointer-events: none;
  background: linear-gradient(90deg, transparent, #8be6ff 18%, #fff 50%, #8be6ff 82%, transparent);
  box-shadow: 0 0 14px 3px rgba(39, 195, 255, 0.85), 0 0 40px 10px rgba(11, 63, 214, 0.6);
}
.casa__tag {
  position: absolute; left: 0; right: 0; bottom: -16px; z-index: 2; width: max-content; margin: 0 auto;
  display: flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(4, 18, 72, 0.72); border: 1px solid rgba(139, 230, 255, 0.35);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #fff;
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.7);
}
@keyframes twinkle { 0%, 100% { transform: scale(0.4); opacity: 0.3; } 50% { transform: scale(1); opacity: 1; } }

/* Posición de las bolas del hero (antes en atributos style; así la CSP no necesita estilos en línea) */
.ball--h1 { --s: 70px; left: -9%; top: -6%; }
.ball--h2 { --s: 56px; left: 88%; top: -9%; }
.ball--h3 { --s: 62px; left: 95%; top: 46%; }
.ball--h4 { --s: 48px; left: -10%; top: 64%; }
.ball--h5 { --s: 40px; left: 63%; top: -12%; }

@media (max-width: 1023px) {
  .hero__art { width: min(360px, 76vw); margin-bottom: 22px; }
  .hero__art .ball { --s: 44px !important; }
}
@media (min-width: 1024px) {
  .hero__inner { grid-template-columns: 1.1fr 0.9fr; gap: 24px; }
  .hero__copy { text-align: left; justify-items: start; }
  .hero__title { justify-items: start; font-size: clamp(70px, min(7.6vw, 10.4vh), 124px); transform-origin: left bottom; }
  .hero__prize { font-size: clamp(54px, min(5.6vw, 7.8vh), 86px); }
  .hero__ctas { justify-content: flex-start; }
  .hero__art { order: 0; width: 100%; max-width: 620px; justify-self: center; }
}

/* Promociones de la portada: anticipados en todas las casas + motos */
.hero__inner { grid-template-areas: "art" "copy" "promos"; }
.hero__copy { grid-area: copy; }
.hero__art { grid-area: art; }
.hero__promos { grid-area: promos; position: relative; z-index: 3; display: grid; gap: 14px; width: 100%; max-width: 640px; margin-inline: auto; }
@media (min-width: 1024px) {
  .hero__inner { grid-template-areas: "copy art" "promos promos"; row-gap: 26px; }
  .hero__promos { max-width: none; grid-template-columns: 1.4fr 1fr; align-items: stretch; }
}
.promo {
  position: relative;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px;
  padding: 18px 20px;
  border-radius: 24px;
  isolation: isolate;
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.8);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.promo:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.9); }
.promo__body { display: grid; gap: 3px; min-width: 0; }
.promo__kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; color: var(--yellow); }
.promo__sub { font-size: 13.5px; color: var(--ink-soft); }
.promo__sub b { color: #fff; }
.promo--antic {
  grid-template-columns: auto 1fr;
  background: linear-gradient(135deg, rgba(255, 228, 92, 0.2), rgba(4, 21, 82, 0.9) 55%);
  border: 1.5px solid rgba(255, 228, 92, 0.6);
}
.promo__icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; background: linear-gradient(180deg, var(--gold-300), #ffb300); color: var(--navy-900); box-shadow: 0 10px 26px -8px rgba(255, 196, 0, 0.7); }
.promo__icon svg { width: 32px; height: 32px; }
.promo__big { font-weight: 800; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.2; }
.promo__big .gold { font-size: 1.3em; }
.promo--moto {
  min-height: 128px;
  padding-block: 16px;
  padding-left: 0;
  grid-template-columns: minmax(150px, 38%) 1fr auto;
  background:
    radial-gradient(circle at 18% 60%, rgba(255, 196, 0, 0.35), transparent 55%),
    linear-gradient(120deg, #b80f28 0%, #6d0a1f 38%, #1a0a3d 70%, #07206f 100%);
  border: 1.5px solid var(--gold-300);
  overflow: visible;
}
.promo--moto::after { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1.4px) 0 0 / 14px 14px; }
.promo__media { position: relative; align-self: stretch; transition: transform 0.5s var(--ease-out); }
.promo__moto {
  position: absolute; left: -2%; bottom: -12%;
  width: 102%; max-width: none; height: auto;
  filter: drop-shadow(0 16px 18px rgba(0, 0, 0, 0.65)) drop-shadow(0 0 22px rgba(255, 196, 0, 0.35));
}
.promo--moto:hover .promo__media { transform: translateX(10px) rotate(-2deg); }
.promo__moto--carro { left: 2%; bottom: -4%; width: 98%; }
.promo__title { font-family: var(--font-display); font-size: clamp(26px, 2.8vw, 38px); line-height: 1; text-transform: uppercase; letter-spacing: 0.01em; color: var(--yellow); text-shadow: 0 3px 0 #7a1200, 0 0 24px rgba(255, 210, 0, 0.35); }
.promo__cta { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--yellow); color: var(--navy-900); transition: transform 0.4s var(--ease-out); }
.promo__cta svg { width: 22px; height: 22px; }
.promo:hover .promo__cta { transform: translateX(4px); }
@media (max-width: 640px) {
  .promo--moto { grid-template-columns: 1fr; gap: 6px; padding: 0 18px 18px; margin-top: 40px; text-align: center; }
  .promo--moto .promo__body { justify-items: center; }
  .promo__media { height: 118px; }
  .promo__moto { left: 0; right: 0; margin-inline: auto; bottom: 0; width: 230px; }
  .promo--moto:hover .promo__media { transform: none; }
  .promo__cta { display: none; }
  .promo__icon { width: 48px; height: 48px; }
}

/* Bolas de lotería */
.ball {
  --s: 64px;
  --c1: #ff5a5a; --c2: #c4001f;
  position: absolute;
  width: var(--s); height: var(--s);
  border-radius: 50%;
  display: grid; place-items: center;
  background:
    radial-gradient(circle at 32% 26%, rgba(255, 255, 255, 0.95) 0 5%, rgba(255, 255, 255, 0.35) 13%, transparent 30%),
    radial-gradient(circle at 50% 55%, var(--c1) 0 40%, var(--c2) 78%, #16001a 100%);
  box-shadow: inset -6px -10px 18px rgba(0, 0, 0, 0.35), 0 18px 30px rgba(0, 0, 0, 0.45);
  will-change: transform;
}
.ball span {
  width: 52%; height: 52%;
  display: grid; place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #ffffff, #dfe7f5);
  box-shadow: inset 0 -2px 3px rgba(0, 0, 0, 0.2);
  color: var(--navy-900);
  font-weight: 900; font-size: calc(var(--s) * 0.24); line-height: 1;
}
.ball--yellow { --c1: #ffe45c; --c2: #e39a00; }
.ball--green { --c1: #5be37f; --c2: #0f8a3a; }
.ball--blue { --c1: #58a6ff; --c2: #0b3fd6; }
.ball--orange { --c1: #ffab4a; --c2: #d45400; }
.ball--gold { --c1: #ffe45c; --c2: #e08a00; }


/* ---------- Marquesina ---------- */
.marquee { position: relative; z-index: 3; padding-block: 34px; margin-block: -34px; overflow: hidden; }
/* Las cintas son más anchas que la pantalla: al inclinarse y desplazarse con el scroll
   siempre llegan a los dos bordes, también en monitores muy anchos */
.marquee__band { overflow: hidden; white-space: nowrap; padding-block: 12px; width: 150%; margin-left: -25%; }
.marquee__band--gold {
  background: linear-gradient(180deg, #ffe45c, #ffc400);
  color: var(--navy-900);
  transform: rotate(-2.5deg) scale(1.05);
  box-shadow: 0 12px 40px rgba(255, 196, 0, 0.3);
  position: relative; z-index: 2;
}
.marquee__band--navy {
  background: var(--navy-800);
  border-block: 1px solid var(--line);
  transform: rotate(1.8deg) scale(1.05);
  margin-top: -6px;
}
.marquee__track { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; will-change: transform; }
.marquee__track span { font-family: var(--font-display); font-size: clamp(22px, 3.2vw, 36px); text-transform: uppercase; letter-spacing: 0.02em; }
.marquee__track i { font-style: normal; font-size: 18px; }
.marquee__band--navy span { color: #fff; }
.marquee__band--navy i { color: var(--yellow); }

/* ---------- ¡Atención! ---------- */
.attention {
  overflow: hidden;
  --sec-bg:
    radial-gradient(rgba(139, 230, 255, 0.13) 1px, transparent 1.5px) 0 0 / 22px 22px,
    radial-gradient(ellipse 60% 50% at 30% 30%, rgba(31, 91, 255, 0.45), transparent 70%),
    linear-gradient(180deg, var(--navy-900), #03145a 50%, var(--navy-900));
}
.attention__glow {
  position: absolute; width: 900px; height: 900px; right: -300px; top: 10%;
  background: radial-gradient(circle, rgba(39, 195, 255, 0.25), transparent 60%);
  pointer-events: none;
}
.attention__inner { position: relative; display: grid; gap: 56px; align-items: center; }
.attention__copy { display: grid; justify-items: center; text-align: center; }
.attention__title { font-size: clamp(64px, 16vw, 168px); transform: skewX(-7deg); }
.attention__band { margin-top: 18px; font-size: clamp(30px, 6vw, 58px); transform: skewX(-6deg); }
.attention__lead { margin-top: 8px; font-weight: 900; text-transform: uppercase; font-size: clamp(22px, 3.6vw, 36px); line-height: 1; }
.attention__row { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 10px; flex-wrap: wrap; }
.attention__second {
  font-weight: 900; text-transform: uppercase; line-height: 1; text-align: right;
  font-size: clamp(22px, 3.4vw, 36px);
  color: var(--yellow);
  text-shadow: 0 3px 0 #8a5a00;
}
.attention__anticipado { font-size: clamp(48px, 12.5vw, 96px); transform: skewX(-7deg); }
.attention__prize { display: flex; align-items: center; gap: 12px; margin-top: 10px; font-size: clamp(42px, 11.5vw, 120px); line-height: 1; }
.attention__por { font-weight: 900; text-transform: uppercase; font-size: 0.24em; color: #fff; }
.attention__of { margin-top: 18px; max-width: 540px; color: var(--ink-soft); }
.attention__of strong { color: #fff; }

.countdown { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(8px, 1.6vw, 16px); margin-top: 34px; width: min(100%, 540px); }
.countdown__unit {
  position: relative;
  display: grid; justify-items: center; gap: 6px;
  padding: clamp(12px, 2vw, 18px) 6px clamp(10px, 1.6vw, 14px);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(31, 91, 255, 0.35), rgba(4, 21, 82, 0.8));
  border: 1px solid rgba(139, 230, 255, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 18px 40px -18px rgba(0, 0, 0, 0.7);
  perspective: 400px;
  overflow: hidden;
}
.countdown__unit::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(1, 6, 31, 0.6); }
.countdown__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(38px, 7vw, 64px);
  line-height: 1;
  color: #fff;
  text-shadow: 0 0 20px rgba(39, 195, 255, 0.6);
  font-variant-numeric: tabular-nums;
}
.countdown__label { font-size: 11px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--yellow); }
.countdown__done { margin-top: 30px; padding: 16px 22px; border-radius: 16px; border: 1px solid var(--line); background: var(--glass); font-weight: 700; }

.attention__meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-top: 20px; width: min(100%, 640px); }
.meta-card {
  display: grid; gap: 2px; padding: 14px 16px;
  border-radius: 16px;
  background: rgba(1, 6, 31, 0.5);
  border: 1px solid var(--line);
  text-align: center;
}
.meta-card span { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-mute); }
.meta-card b { font-family: var(--font-display); font-weight: 400; font-size: 20px; text-transform: uppercase; letter-spacing: 0.02em; line-height: 1.15; }
.meta-card--req { background: linear-gradient(135deg, rgba(31, 91, 255, 0.55), rgba(10, 47, 168, 0.55)); border-color: rgba(255, 228, 92, 0.4); }
.meta-card--req b.gold { font-family: var(--font-body); font-weight: 900; font-size: 28px; justify-self: center; }
.attention__copy > .btn { margin-top: 28px; }

.flyer { display: grid; justify-items: center; gap: 18px; }
.flyer__card {
  position: relative;
  width: min(340px, 78vw);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(139, 230, 255, 0.35), 0 40px 80px -20px rgba(0, 0, 0, 0.8), 0 0 60px rgba(39, 195, 255, 0.25);
  transform-style: preserve-3d;
  will-change: transform;
}
.flyer__card img { width: 100%; height: auto; }
.flyer__ref { position: absolute; left: 12px; bottom: 12px; padding: 5px 10px; border-radius: 999px; background: rgba(1, 6, 31, 0.78); font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.upcoming { width: min(100%, 640px); margin-top: 30px; }
.upcoming__title { margin-bottom: 8px; font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); }
.upcoming__list { display: grid; gap: 6px; }
.upcoming__list li { display: grid; grid-template-columns: 6.8em 1fr auto; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: rgba(1, 6, 31, 0.5); border: 1px solid var(--line); font-size: 14px; text-align: left; }
.upcoming__date { font-family: var(--font-display); font-size: 17px; text-transform: uppercase; color: var(--yellow); }
.upcoming__what b { color: #fff; }
.upcoming__total { font-size: 12.5px; font-weight: 700; color: var(--ink-mute); }
@media (max-width: 560px) {
  .upcoming__list li { grid-template-columns: 6em 1fr; row-gap: 2px; }
  .upcoming__total { grid-column: 2; }
}
.tilt__glare {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, 0.35), transparent 45%);
  mix-blend-mode: overlay;
  opacity: var(--go, 0);
  transition: opacity 0.4s;
}

@media (min-width: 1024px) {
  .attention__inner { grid-template-columns: 1.25fr 0.75fr; }
  .attention__copy { justify-items: start; text-align: left; }
  .attention__row { justify-content: flex-start; }
  .attention__title { transform-origin: left; }
}

/* ---------- Rifas ---------- */
.rifas {
  --sec-bg:
    radial-gradient(ellipse 50% 40% at 80% 0%, rgba(31, 91, 255, 0.35), transparent 70%),
    radial-gradient(ellipse 40% 40% at 0% 100%, rgba(39, 195, 255, 0.18), transparent 70%),
    var(--navy-950);
}
.antic-banner {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 26px; padding: 16px 20px;
  border-radius: 20px;
  background: linear-gradient(90deg, rgba(255, 228, 92, 0.18), rgba(255, 228, 92, 0.04));
  border: 1.5px solid rgba(255, 228, 92, 0.55);
  font-size: clamp(15px, 1.5vw, 17px); color: var(--ink-soft);
}
.antic-banner b { color: #fff; }
.antic-banner b.gold { font-size: 1.15em; }
.antic-banner__icon { display: grid; place-items: center; flex: none; width: 50px; height: 50px; border-radius: 16px; background: linear-gradient(180deg, var(--gold-300), #ffb300); color: var(--navy-900); }
.antic-banner__icon svg { width: 28px; height: 28px; }
.rifas__grid { display: grid; gap: 22px; grid-auto-flow: dense; }
@media (min-width: 700px) {
  .rifas__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rifa-card--motos { grid-column: 1 / -1; }
}
@media (min-width: 1100px) {
  .rifas__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  /* La tarjeta de motos ocupa la fila completa debajo de las tres casas */
  .rifa-card--motos { grid-column: 1 / -1; }
}

@property --angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.rifa-card {
  position: relative;
  display: flex; flex-direction: column;
  padding: clamp(24px, 3.4vw, 40px);
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0%, rgba(39, 195, 255, 0.18), transparent 50%),
    linear-gradient(160deg, rgba(20, 60, 190, 0.55), rgba(3, 14, 64, 0.9) 60%);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9);
  isolation: isolate;
  transform-style: preserve-3d;
  will-change: transform;
}
.rifa-card::before {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  padding: 1.5px; border-radius: inherit;
  background: conic-gradient(from var(--angle), rgba(139, 230, 255, 0.15), var(--cyan-400), rgba(139, 230, 255, 0.15) 30%, rgba(255, 228, 92, 0.9) 50%, rgba(139, 230, 255, 0.15) 70%, var(--cyan-400), rgba(139, 230, 255, 0.15));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: spin-border 6s linear infinite;
}
@keyframes spin-border { to { --angle: 360deg; } }
.rifa-card .tilt__glare { border-radius: inherit; }
.rifa-card { container-type: inline-size; }
.rifa-card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.tag {
  display: inline-block; padding: 6px 12px; border-radius: 999px;
  background: var(--yellow); color: var(--navy-900);
  font-size: 12px; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase;
}
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--ink-soft); }
.rifa-card__title { margin-top: calc(22px - var(--tp, 0px)); font-size: clamp(38px, 5.4vw, 64px); transform: skewX(-6deg); transform-origin: left; }
.rifa-card__place { font-size: clamp(18px, 2.4vw, 26px); margin-top: 4px; }
.rifa-card__prize { margin-top: 14px; font-size: clamp(34px, 9.4vw, 72px); white-space: nowrap; }
.rifa-card__prize-label { font-size: 13px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); margin-top: 20px; }
.rifa-card__note { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 4px; }
.rifa-card__details { display: grid; gap: 0; margin: 24px 0 0; border-top: 1px solid var(--line); }
.rifa-card__details div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.rifa-card__details dt { color: var(--ink-mute); font-weight: 600; }
.rifa-card__details dd { font-weight: 800; text-align: right; }
.rifa-card__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 26px; }
.rifa-card__actions .btn { flex: 1 1 200px; }
.rifa-card__balls { display: flex; gap: 6px; margin-top: 18px; }
.rifa-card__balls .ball { position: relative; --s: 38px; }

/* Casas: foto real y tabla de premios anticipados */
.rifa-card__photo { position: relative; margin: 18px 0 4px; border-radius: 18px; overflow: hidden; aspect-ratio: 1 / 1; box-shadow: 0 0 0 1px rgba(139, 230, 255, 0.3), 0 18px 34px -18px rgba(0, 0, 0, 0.8); }
.rifa-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 92%; transition: transform 0.8s var(--ease-out); }
.rifa-card:hover .rifa-card__photo img { transform: scale(1.05); }
.rifa-card__photo figcaption { position: absolute; left: 10px; bottom: 10px; padding: 5px 10px; border-radius: 999px; background: rgba(1, 6, 31, 0.8); font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.rifa-card__alt { margin-top: 6px; font-size: 14px; font-weight: 700; color: var(--ink-soft); }
.rifa-card__alt .gold { font-size: 1.25em; }
.rifa-card--casa .rifa-card__title { font-size: 40px; font-size: clamp(30px, 13cqi, 46px); }
.rifa-card--casa .rifa-card__prize { font-size: 34px; font-size: clamp(26px, 10.5cqi, 48px); }
.rifa-card--cifras .rifa-card__prize { font-size: 40px; font-size: clamp(30px, 14cqi, 64px); }
.rifa-card--cifras .rifa-card__title { font-size: 44px; font-size: clamp(32px, 15cqi, 64px); }
.antic__intro { margin-top: 20px; font-size: 14px; color: var(--ink-soft); }
.antic__intro b { color: #fff; }
.antic { display: grid; margin-top: 10px; border-top: 1px solid var(--line); font-size: 13.5px; }
.antic li { display: grid; grid-template-columns: 4.8em minmax(0, 1fr) auto 4.8em; align-items: center; gap: 8px; padding: 9px 6px; border-bottom: 1px solid var(--line); }
.antic__head { font-size: 10.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-mute); }
.antic__n { font-weight: 800; }
.antic__date { font-weight: 700; color: var(--ink-soft); white-space: nowrap; }
.antic__total { font-weight: 800; text-align: right; }
.antic__state { display: grid; justify-items: end; }
.antic__state svg { width: 18px; height: 18px; color: var(--wa); }
.antic__state em { font-style: normal; font-size: 10px; font-weight: 900; letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 7px; border-radius: 999px; background: var(--yellow); color: var(--navy-900); }
.antic__row.is-done { opacity: 0.55; }
.antic__row.is-next { border-radius: 10px; background: linear-gradient(90deg, rgba(255, 225, 53, 0.16), transparent); box-shadow: inset 3px 0 0 var(--yellow); }
.antic__row--mayor .antic__n { color: var(--yellow); }
.rifa-card__foot { margin-top: 14px; font-size: 14px; color: var(--ink-soft); }
.rifa-card__foot b { color: #fff; }
.rifa-card__where { display: flex; align-items: flex-start; gap: 8px; margin-top: 10px; font-size: 13px; color: var(--ink-mute); }
.rifa-card__where svg { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--cyan-300); }
.rifa-card__legal { margin-top: 8px; font-size: 11.5px; color: var(--ink-mute); }
.rifa-card__soon { margin-top: 20px; padding: 16px; border-radius: 16px; border: 1px dashed rgba(255, 228, 92, 0.45); background: rgba(255, 228, 92, 0.06); color: var(--ink-soft); font-size: 14.5px; }

/* Motos (tarjeta resumen) */
.rifa-card--motos {
  background:
    radial-gradient(circle at 18% 62%, rgba(255, 196, 0, 0.2), transparent 55%),
    linear-gradient(160deg, rgba(20, 60, 190, 0.55), rgba(3, 14, 64, 0.92) 60%);
}
.rifa-card__motos { flex: 1; display: grid; gap: 18px; align-items: center; align-content: center; margin-top: 14px; }
.rifa-card__moto { width: 100%; max-width: 400px; height: auto; margin-inline: auto; filter: drop-shadow(0 22px 30px rgba(0, 0, 0, 0.65)) drop-shadow(0 0 28px rgba(255, 196, 0, 0.22)); }
.rifa-card--motos .rifa-card__title { margin-top: calc(-1 * var(--tp, 0px)); font-size: clamp(34px, 3.6vw, 52px); }
.moto-progress { height: 10px; margin-top: 14px; border-radius: 999px; background: rgba(1, 6, 31, 0.7); border: 1px solid var(--line); overflow: hidden; }
.moto-progress span { display: block; height: 100%; width: calc(var(--p, 0) * 100%); min-width: 8px; background: linear-gradient(90deg, var(--gold-300), var(--gold-500)); box-shadow: 0 0 12px var(--gold-400); }
@media (min-width: 700px) { .rifa-card__motos { grid-template-columns: 0.9fr 1.1fr; } }

/* Rifa nueva (motos 2027 + Kia Picanto): la tarjeta toma el rojo del flyer */
.rifa-card--nueva {
  background:
    radial-gradient(circle at 20% 70%, rgba(255, 196, 0, 0.18), transparent 55%),
    radial-gradient(circle at 90% 0%, rgba(255, 60, 80, 0.3), transparent 50%),
    linear-gradient(160deg, rgba(180, 12, 38, 0.6), rgba(42, 4, 22, 0.94) 62%);
}
.rifa-card__media { display: grid; gap: 12px; justify-items: center; }
.rifa-card__moto--fila { max-width: 100%; }
.rifa-card__mayor {
  display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; gap: 10px;
  width: 100%; padding: 10px 14px 10px 6px; border-radius: 18px;
  background: linear-gradient(135deg, rgba(200, 12, 36, 0.92), rgba(84, 0, 18, 0.95));
  border: 1px solid rgba(255, 228, 92, 0.55);
  box-shadow: 0 16px 30px -18px rgba(0, 0, 0, 0.8);
}
.rifa-card__mayor img { width: 100%; height: auto; filter: drop-shadow(0 10px 12px rgba(0, 0, 0, 0.55)); }
.rifa-card__mayor p { display: grid; gap: 2px; line-height: 1.15; }
.rifa-card__mayor small { font-size: 11px; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; color: var(--yellow); }
.rifa-card__mayor p > b { font-family: var(--font-display); font-weight: 400; font-size: clamp(20px, 2vw, 26px); text-transform: uppercase; color: #fff; }
.rifa-card__mayor span { font-size: 13px; font-weight: 700; color: rgba(255, 235, 238, 0.9); }
.rifa-card__mayor .gold { font-size: 1.15em; }
.rifa-card__antic { margin-top: 8px; font-size: 14.5px; font-weight: 700; color: var(--ink-soft); }
.rifa-card__antic .gold { font-size: 1.25em; }

/* ---------- Casas en video ---------- */
.tours {
  --sec-bg:
    radial-gradient(ellipse 55% 45% at 50% 0%, rgba(31, 91, 255, 0.32), transparent 70%),
    radial-gradient(ellipse 35% 35% at 100% 100%, rgba(255, 196, 0, 0.12), transparent 70%),
    var(--navy-950);
}
/* En celular: carrusel horizontal con imán; en pantallas grandes, las tres casas en fila */
.tours__grid {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(74vw, 300px); gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  margin-inline: calc(var(--gutter) * -1); padding: 14px var(--gutter) 22px; scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}
.tours__grid::-webkit-scrollbar { display: none; }
@media (min-width: 900px) {
  .tours__grid { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 32px); overflow: visible; margin-inline: 0; padding: 6px 0 0; }
}
.tour-card { scroll-snap-align: center; min-width: 0; }
.tour-card__frame {
  position: relative; aspect-ratio: 9 / 16; border-radius: 28px; overflow: hidden; cursor: pointer;
  background: var(--navy-900);
  /* Borde degradado azul-dorado como el de las tarjetas de la marca */
  box-shadow: 0 0 0 1.5px rgba(139, 230, 255, 0.35), 0 0 0 7px rgba(4, 21, 82, 0.9), 0 0 0 8.5px rgba(255, 196, 0, 0.35), 0 30px 60px -24px rgba(0, 0, 0, 0.85), 0 0 80px -30px rgba(31, 91, 255, 0.8);
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out);
  isolation: isolate;
}
.tour-card__frame:hover { transform: translateY(-6px); box-shadow: 0 0 0 1.5px rgba(139, 230, 255, 0.6), 0 0 0 7px rgba(4, 21, 82, 0.9), 0 0 0 8.5px rgba(255, 196, 0, 0.6), 0 40px 70px -26px rgba(0, 0, 0, 0.9), 0 0 100px -26px rgba(31, 91, 255, 0.95); }
.tour-card__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.tour-card__frame:hover .tour-card__video { transform: scale(1.04); }
.tour-card__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(1, 6, 31, 0.55) 0%, transparent 22%, transparent 48%, rgba(1, 6, 31, 0.92) 100%); pointer-events: none; }
.tour-card__badge {
  position: absolute; top: 14px; left: 14px; display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px; background: rgba(1, 6, 31, 0.7); backdrop-filter: blur(6px);
  font-size: 10.5px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: #fff;
}
.tour-card__play {
  position: absolute; top: 50%; left: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px;
  display: grid; place-items: center; border-radius: 50%; color: var(--navy-900);
  background: linear-gradient(180deg, var(--gold-300), var(--gold-400));
  box-shadow: 0 0 0 8px rgba(255, 228, 92, 0.22), 0 16px 34px -10px rgba(0, 0, 0, 0.7);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.tour-card__play::after { content: ''; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid rgba(255, 228, 92, 0.7); animation: tour-ring 2.4s var(--ease-out) infinite; }
.tour-card__play svg { width: 34px; height: 34px; margin-left: 4px; }
.tour-card__frame:hover .tour-card__play { transform: scale(1.1); box-shadow: 0 0 0 12px rgba(255, 228, 92, 0.28), 0 18px 40px -10px rgba(0, 0, 0, 0.75); }
.tour-card__play:focus-visible { outline: 3px solid #fff; outline-offset: 6px; }
@keyframes tour-ring { 0% { transform: scale(0.9); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }
.tour-card__info { position: absolute; left: 18px; right: 18px; bottom: 18px; pointer-events: none; }
.tour-card__kicker { font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--yellow); }
.tour-card__title { margin-top: 2px; font-family: var(--font-display); font-weight: 400; font-style: italic; font-size: clamp(34px, 3.4vw, 46px); line-height: 1; text-transform: uppercase; }
.tour-card__meta { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 13px; font-weight: 700; color: rgba(255, 255, 255, 0.86); }
.tour-card__meta svg { width: 16px; height: 16px; color: var(--cyan-300); }
.tour-card__alt { margin-top: 14px; padding-inline: 4px; font-size: 13.5px; line-height: 1.5; color: var(--ink-soft); }
.tours__note { margin-top: 22px; text-align: center; font-size: 13.5px; color: var(--ink-mute); }
@media (min-width: 900px) { .tours__note { margin-top: 30px; } }

/* Botón "Ver el video" sobre la foto de cada casa */
.rifa-card__tour {
  position: absolute; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 13px 7px 9px; border-radius: 999px; font-size: 12px; font-weight: 800; color: var(--navy-900);
  background: linear-gradient(180deg, var(--gold-300), var(--gold-400)); box-shadow: 0 10px 22px -8px rgba(0, 0, 0, 0.6);
  transition: transform 0.3s var(--ease-out);
}
.rifa-card__tour svg { width: 16px; height: 16px; }
.rifa-card__tour:hover { transform: translateY(-2px) scale(1.04); }

/* Reproductor del recorrido completo */
.tour-modal { margin: auto; padding: 0; border: 0; background: transparent; color: #fff; max-width: none; max-height: none; overflow: visible; }
.tour-modal::backdrop { background: rgba(1, 6, 31, 0.88); backdrop-filter: blur(10px); }
.tour-modal[open] { animation: tour-in 0.45s var(--ease-out); }
@keyframes tour-in { from { opacity: 0; transform: translateY(24px) scale(0.96); } }
.tour-modal__box { display: grid; gap: 12px; justify-items: center; width: min(92vw, calc((100dvh - 200px) * 9 / 16), 460px); }
.tour-modal__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; }
.tour-modal__title { font-family: var(--font-display); font-style: italic; font-size: clamp(20px, 3vw, 26px); text-transform: uppercase; line-height: 1.05; }
.tour-modal__close { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.08); color: #fff; cursor: pointer; }
.tour-modal__close svg { width: 20px; height: 20px; }
.tour-modal__close:hover { background: rgba(255, 255, 255, 0.18); }
.tour-modal__video { width: 100%; height: auto; aspect-ratio: 9 / 16; border-radius: 22px; background: #000; box-shadow: 0 0 0 1.5px rgba(139, 230, 255, 0.35), 0 30px 70px -20px rgba(0, 0, 0, 0.9); }
.tour-modal__cta { width: 100%; justify-content: center; }

/* ---------- Selector de números ---------- */
.picker {
  --sec-bg:
    radial-gradient(rgba(139, 230, 255, 0.12) 1px, transparent 1.5px) 0 0 / 22px 22px,
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(31, 91, 255, 0.4), transparent 70%),
    linear-gradient(180deg, var(--navy-950), var(--navy-900));
}
.picker__tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px; border-radius: 22px; background: rgba(1, 6, 31, 0.6); border: 1px solid var(--line); margin-bottom: 26px; }
.picker__tab { display: grid; gap: 2px; padding: 10px 14px; border-radius: 16px; font-weight: 800; font-size: 14px; line-height: 1.2; color: var(--ink-soft); transition: background-color 0.3s, color 0.3s; }
.picker__tab small { font-size: 12px; font-weight: 700; opacity: 0.8; }
@media (min-width: 640px) {
  .picker__tabs { display: inline-flex; flex-wrap: wrap; border-radius: 26px; }
  .picker__tab { display: block; padding: 10px 20px; border-radius: 999px; white-space: nowrap; }
  .picker__tab small { font-size: 14px; }
  .picker__tab small::before { content: ' · '; }
}
.picker__tab[aria-selected='true'] { background: var(--yellow); color: var(--navy-900); box-shadow: 0 6px 20px rgba(255, 225, 53, 0.35); }
.picker__layout { display: grid; gap: 26px; }
@media (min-width: 980px) { .picker__layout { grid-template-columns: 1fr 360px; align-items: start; } }

.picker__board { display: grid; justify-items: center; gap: 16px; text-align: center; padding: clamp(18px, 3vw, 32px); border-radius: 26px; background: rgba(1, 6, 31, 0.55); border: 1px solid var(--line); }
.picker__raffle { max-width: 520px; font-size: 14.5px; color: var(--ink-soft); }
.picker__raffle b { color: #fff; }
.picker__grid { width: 100%; display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: clamp(4px, 0.8vw, 8px); }
.picker__grid[hidden], .picker__legend[hidden], .reels[hidden] { display: none; }
.num {
  position: relative;
  aspect-ratio: 1;
  min-width: 0;
  display: grid; place-items: center;
  border-radius: clamp(8px, 1.2vw, 12px);
  font-weight: 800;
  font-size: clamp(12px, 1.6vw, 17px);
  font-variant-numeric: tabular-nums;
  color: #dfe9ff;
  background: linear-gradient(180deg, rgba(31, 91, 255, 0.35), rgba(10, 47, 168, 0.25));
  border: 1px solid rgba(139, 230, 255, 0.2);
  transition: background-color 0.25s, border-color 0.25s, box-shadow 0.25s, color 0.25s;
}
.num:hover { border-color: var(--cyan-300); box-shadow: 0 0 16px rgba(39, 195, 255, 0.45); color: #fff; }
.num[aria-pressed='true'] { background: linear-gradient(180deg, #ffe45c, #ffb300); border-color: #fff3b0; color: #3a1500; box-shadow: 0 0 22px rgba(255, 196, 0, 0.6); }
.num:disabled { cursor: not-allowed; color: rgba(223, 233, 255, 0.28); background: rgba(1, 6, 31, 0.6); border-color: rgba(139, 230, 255, 0.08); text-decoration: line-through; }
.num.is-rolling { background: #fff; color: var(--navy-900); box-shadow: 0 0 26px #fff; }
.picker__legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; font-size: 13px; color: var(--ink-mute); }
.picker__legend li { display: inline-flex; align-items: center; gap: 8px; }
.lg { width: 14px; height: 14px; border-radius: 4px; }
.lg--free { background: rgba(31, 91, 255, 0.5); border: 1px solid rgba(139, 230, 255, 0.4); }
.lg--sel { background: linear-gradient(180deg, #ffe45c, #ffb300); }
.lg--taken { background: rgba(1, 6, 31, 0.8); border: 1px solid rgba(139, 230, 255, 0.15); }
.reels { --reel-h: clamp(78px, 11vw, 112px); display: flex; justify-content: center; gap: clamp(8px, 1.6vw, 16px); }
.reel { display: grid; justify-items: center; gap: 8px; border-radius: 20px; outline-offset: 4px; }
.reel__btn { width: 100%; min-width: 52px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); color: var(--cyan-300); transition: background-color 0.2s, border-color 0.2s; }
.reel__btn:hover { background: rgba(139, 230, 255, 0.12); border-color: var(--cyan-300); }
.reel__btn svg { width: 22px; height: 22px; }
.reel__window {
  position: relative;
  width: calc(var(--reel-h) * 0.78); height: var(--reel-h);
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(180deg, #020a33, #07206f 50%, #020a33);
  border: 2px solid rgba(255, 228, 92, 0.55);
  box-shadow: inset 0 10px 18px rgba(0, 0, 0, 0.6), inset 0 -10px 18px rgba(0, 0, 0, 0.6), 0 0 26px rgba(255, 196, 0, 0.2);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.reel__window::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(2, 10, 51, 0.85), transparent 28%, transparent 72%, rgba(2, 10, 51, 0.85)); }
.reel__strip { display: flex; flex-direction: column; will-change: transform; filter: drop-shadow(1px 2px 0 #8a2508); }
.reel__strip span {
  display: grid; place-items: center;
  height: var(--reel-h);
  font: italic 900 calc(var(--reel-h) * 0.72) / 1 var(--font-body);
  color: transparent;
  background-image: linear-gradient(180deg, #fffbd1 0%, #ffe45c 30%, #ffc400 55%, #ff9d00 78%, #ffd54a 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
.reel.is-spinning .reel__strip { filter: blur(1.4px) drop-shadow(1px 2px 0 #8a2508); }
.reels.is-taken .reel__window { border-color: #ff6b5a; box-shadow: inset 0 10px 18px rgba(0, 0, 0, 0.6), inset 0 -10px 18px rgba(0, 0, 0, 0.6), 0 0 26px rgba(255, 80, 60, 0.35); }
.reels__status { min-height: 1.5em; font-weight: 800; font-size: 16px; font-variant-numeric: tabular-nums; }
.picker__reel-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
/* Quién tiene la boleta (rifa de Ginebra) */
.picker__vendedor { width: 100%; max-width: 520px; }
.vendedor { padding: 14px 18px; border-radius: 18px; background: var(--glass); border: 1px solid var(--line); }
.vendedor__texto { margin: 0; font-size: 16px; line-height: 1.45; color: var(--ink); }
.vendedor__nombre { color: var(--accent); }
.vendedor__nota { margin: 6px 0 0; font-size: 14px; color: var(--ink-soft); }
.vendedor__wa, .vendedor__elegir { margin: 12px 4px 0; }
.vendedor--no_disponible .vendedor__texto { color: var(--ink-soft); }
.vendedor__error { margin: 0; font-size: 14.5px; font-weight: 700; color: var(--ink-soft); }
.btn:disabled { opacity: 0.45; pointer-events: none; }
.picker__label { font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--yellow); }

.picker__panel {
  position: relative;
  display: grid; justify-items: center; gap: 14px;
  padding: 28px 24px;
  border-radius: 26px;
  text-align: center;
  background: linear-gradient(170deg, rgba(31, 91, 255, 0.5), rgba(3, 14, 64, 0.95) 70%);
  border: 1px solid rgba(139, 230, 255, 0.25);
}
@media (min-width: 980px) { .picker__panel { position: sticky; top: calc(var(--nav-h) + 24px); } }
.picker__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; min-height: 34px; }
.picker__chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 8px 5px 12px; border-radius: 999px;
  background: rgba(255, 228, 92, 0.16); border: 1px solid rgba(255, 228, 92, 0.5);
  font-weight: 800; font-size: 14px; color: var(--gold-300);
}
.picker__chip button { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, 0.12); }
.picker__chip button svg { width: 10px; height: 10px; }
.picker__empty { font-size: 14px; color: var(--ink-mute); }
.picker__total { font-size: 15px; color: var(--ink-soft); }
.picker__total b { font-family: var(--font-display); font-weight: 400; font-size: 30px; color: #fff; margin-left: 6px; letter-spacing: 0.02em; }
.picker__actions { display: grid; gap: 10px; width: 100%; justify-items: center; }
.picker__actions .btn { width: 100%; }
.fine { font-size: 12.5px; color: var(--ink-mute); }

/* ---------- Motos ---------- */
.motos {
  overflow: hidden;
  --sec-bg:
    radial-gradient(ellipse 55% 60% at 25% 45%, rgba(255, 196, 0, 0.22), transparent 70%),
    radial-gradient(ellipse 50% 50% at 90% 10%, rgba(31, 91, 255, 0.35), transparent 70%),
    linear-gradient(180deg, var(--navy-950), var(--navy-900));
}
.motos__inner { display: grid; gap: 40px; align-items: center; }
@media (min-width: 980px) { .motos__inner { grid-template-columns: 1.05fr 0.95fr; } }
.motos__media { position: relative; width: 100%; max-width: 620px; margin-inline: auto; }
.motos__img { position: relative; z-index: 1; width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.7)); }
.motos__podium { position: absolute; left: 6%; right: 6%; bottom: -3%; height: 22%; border-radius: 50%; background: radial-gradient(ellipse at 50% 40%, rgba(255, 228, 92, 0.9), rgba(255, 157, 0, 0.5) 40%, transparent 70%); filter: blur(6px); }
.moto-choice { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch; gap: 10px; margin-top: 22px; }
.moto-choice__opt { display: grid; align-content: center; justify-items: center; gap: 2px; padding: 14px 12px; border-radius: 18px; text-align: center; background: rgba(8, 26, 96, 0.7); border: 1.5px solid rgba(139, 230, 255, 0.4); }
.moto-choice__opt small { font-size: 11px; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); }
.moto-choice__opt b { font-family: var(--font-display); font-weight: 400; font-size: clamp(28px, 3.2vw, 40px); line-height: 1.05; text-transform: uppercase; }
.moto-choice__opt span { font-size: 13px; font-weight: 700; color: var(--ink-soft); }
.moto-choice__opt b span { font: inherit; color: inherit; }
.moto-choice__opt--cash { background: linear-gradient(180deg, #c21530, #7a0b1f); border-color: var(--gold-300); }
.moto-choice__opt--cash b { font-family: var(--font-body); font-weight: 900; font-size: clamp(26px, 3vw, 36px); }
.moto-choice__or { align-self: center; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--yellow); color: var(--navy-900); font: italic 900 20px/1 var(--font-body); padding-bottom: 3px; box-shadow: 0 0 0 4px rgba(255, 225, 53, 0.25); }
@media (max-width: 560px) {
  .moto-choice { gap: 6px; }
  .moto-choice__opt { padding: 12px 8px; }
  .moto-choice__opt small { font-size: 10px; letter-spacing: 0.06em; }
  .moto-choice__opt b { font-size: 26px; }
  .moto-choice__opt--cash b { font-size: 22px; }
  .moto-choice__opt span { font-size: 12px; }
  .moto-choice__or { width: 34px; height: 34px; font-size: 17px; }
}
.motos__title { display: grid; justify-items: start; margin-top: 14px; font-size: clamp(52px, 8vw, 104px); line-height: 0.92; transform: skewX(-7deg); transform-origin: left; }
.motos__sub { margin-top: 8px; font-size: clamp(26px, 3.6vw, 42px); transform: skewX(-6deg); }
.motos__next { display: grid; gap: 6px; max-width: 520px; margin-top: 24px; padding: 16px 18px; border-radius: 20px; background: rgba(1, 6, 31, 0.6); border: 1px solid rgba(255, 228, 92, 0.35); }
.motos__next-label { font-size: 13px; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; color: var(--yellow); }
.motos__next-date { font-family: var(--font-display); font-size: clamp(20px, 2.4vw, 26px); text-transform: uppercase; letter-spacing: 0.01em; }
.mini-count { display: flex; gap: 10px; margin-top: 6px; }
.mini-count span { display: grid; justify-items: center; min-width: 64px; padding: 8px 10px; border-radius: 14px; background: linear-gradient(180deg, rgba(31, 91, 255, 0.35), rgba(4, 21, 82, 0.8)); border: 1px solid var(--line); }
.mini-count b { font-family: var(--font-display); font-weight: 400; font-size: 28px; line-height: 1; font-variant-numeric: tabular-nums; }
.mini-count small { font-size: 10.5px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--yellow); }
.motos__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; margin-top: 24px; }
.motos__price { font-weight: 700; color: var(--ink-soft); }
.motos__price b { margin-left: 6px; font-size: 30px; }

/* Sección de la rifa nueva: mismo estilo, con el rojo del flyer como diferencia */
.motos--nueva {
  --sec-bg:
    radial-gradient(ellipse 60% 55% at 25% 42%, rgba(214, 20, 45, 0.42), transparent 70%),
    radial-gradient(ellipse 45% 45% at 88% 12%, rgba(255, 196, 0, 0.16), transparent 70%),
    linear-gradient(180deg, #14061f, #2a0614 50%, #14061f);
}
.motos__glow { position: absolute; left: -12%; top: 18%; width: min(760px, 90vw); aspect-ratio: 1; pointer-events: none; }
.motos--nueva .motos__glow { background: radial-gradient(circle, rgba(255, 50, 70, 0.28), transparent 62%); }
.motos--nueva .motos__podium { background: radial-gradient(ellipse at 50% 40%, rgba(255, 90, 90, 0.75), rgba(200, 10, 40, 0.45) 40%, transparent 70%); }
.motos__img--fila { filter: drop-shadow(0 24px 30px rgba(0, 0, 0, 0.75)) drop-shadow(0 0 30px rgba(255, 60, 80, 0.25)); }
.motos__mayor {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 14px;
  margin-top: 18px; padding: 14px 18px 14px 8px; border-radius: 24px;
  background:
    radial-gradient(circle at 30% 60%, rgba(255, 255, 255, 0.14), transparent 55%),
    linear-gradient(135deg, #d0102a, #7a0018 55%, #3c000f);
  border: 1.5px solid var(--gold-300);
  box-shadow: 0 24px 50px -24px rgba(120, 0, 20, 0.85), 0 0 40px rgba(255, 60, 80, 0.18);
}
.motos__carro { width: 100%; height: auto; filter: drop-shadow(0 16px 18px rgba(0, 0, 0, 0.55)); }
.motos__mayor-copy { display: grid; gap: 4px; }
.motos__mayor-kicker { font-size: 12px; font-weight: 900; letter-spacing: 0.14em; text-transform: uppercase; color: var(--yellow); }
.motos__mayor-name { font-size: clamp(24px, 2.6vw, 34px); line-height: 1; transform: skewX(-6deg); transform-origin: left; }
.motos__mayor-alt { font-size: 13.5px; font-weight: 700; line-height: 1.35; color: rgba(255, 235, 238, 0.92); }
.motos__mayor-alt .gold { font-size: 1.2em; }
.motos__antic {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 18px;
  padding: 10px 18px 10px 12px; border-radius: 999px;
  background: rgba(255, 196, 0, 0.12); border: 1px solid rgba(255, 228, 92, 0.55);
  font-weight: 800; color: var(--ink);
}
.motos__antic svg { width: 24px; height: 24px; flex: none; color: var(--gold-300); }
.motos__antic .gold { font-size: 1.3em; }
@media (max-width: 560px) {
  .motos__mayor { grid-template-columns: 1fr; padding: 14px; text-align: center; }
  .motos__mayor-copy { justify-items: center; }
  .motos__mayor-name { transform-origin: center; }
}
.moto-day.moto-day--antic { border-color: rgba(255, 228, 92, 0.45); }
.moto-day.moto-day--antic .moto-day__icon { color: var(--gold-300); }
.moto-day.moto-day--mayor { background: linear-gradient(160deg, rgba(208, 16, 42, 0.55), rgba(60, 0, 15, 0.7)); border-color: rgba(255, 228, 92, 0.6); }
.moto-day.moto-day--mayor .moto-day__icon { color: var(--yellow); }
.moto-day.is-pending .moto-day__date { font-size: 18px; color: var(--ink-soft); }
@media (min-width: 640px) { .moto-track.moto-track--ocho { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1180px) { .moto-track.moto-track--ocho { grid-template-columns: repeat(8, minmax(0, 1fr)); } }

.moto-track { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: clamp(40px, 6vw, 64px); }
@media (min-width: 640px) { .moto-track { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.moto-day { position: relative; display: grid; align-content: start; gap: 4px; min-height: 132px; padding: 14px 12px; border-radius: 18px; background: rgba(8, 26, 96, 0.45); border: 1px solid var(--line); }
.moto-day__n { font-size: 11px; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-mute); }
.moto-day__date { font-family: var(--font-display); font-size: 22px; text-transform: uppercase; }
.moto-day__icon { width: 30px; height: 30px; color: var(--cyan-300); }
.moto-day__state { font-size: 12.5px; font-weight: 700; line-height: 1.3; color: var(--ink-soft); }
.moto-day.is-done { background: linear-gradient(160deg, rgba(255, 228, 92, 0.24), rgba(255, 157, 0, 0.08)); border-color: rgba(255, 228, 92, 0.7); box-shadow: 0 0 30px rgba(255, 196, 0, 0.18); }
.moto-day.is-done .moto-day__icon { color: var(--gold-300); }
.moto-day.is-done .moto-day__state b { display: block; font-size: 16px; color: var(--gold-300); }
.moto-day.is-today { border-color: var(--cyan-300); box-shadow: 0 0 0 2px rgba(139, 230, 255, 0.35), 0 0 30px rgba(39, 195, 255, 0.3); animation: pulse-day 2s ease-in-out infinite; }
@keyframes pulse-day { 50% { box-shadow: 0 0 0 4px rgba(139, 230, 255, 0.15), 0 0 40px rgba(39, 195, 255, 0.45); } }
.moto-day.is-next { border-color: rgba(255, 228, 92, 0.55); }
.moto-day.is-next .moto-day__state { color: var(--yellow); }
.moto-day.is-played { opacity: 0.75; }

/* ---------- Ganadores ---------- */
.winners {
  overflow: hidden;
  --sec-bg:
    radial-gradient(ellipse 60% 50% at 70% 30%, rgba(255, 196, 0, 0.18), transparent 70%),
    radial-gradient(rgba(255, 228, 92, 0.1) 1px, transparent 1.6px) 0 0 / 26px 26px,
    linear-gradient(180deg, var(--navy-900), var(--navy-950));
}
/* Un solo recuadro: arriba el ganador más reciente, debajo los anteriores en tarjetas iguales */
.winners__board {
  padding: clamp(18px, 3vw, 34px);
  border-radius: 30px;
  background: linear-gradient(160deg, rgba(255, 228, 92, 0.12), rgba(3, 14, 64, 0.9) 45%);
  border: 1px solid rgba(255, 228, 92, 0.45);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9);
}
.winner-now { display: grid; gap: 24px; }
@media (min-width: 900px) { .winner-now { grid-template-columns: minmax(240px, 360px) 1fr; align-items: center; gap: 44px; } }
.winner-now__flyer { position: relative; display: block; width: 100%; max-width: 360px; justify-self: center; border-radius: 22px; overflow: hidden; box-shadow: 0 0 0 1px rgba(255, 228, 92, 0.5), 0 30px 60px -20px rgba(0, 0, 0, 0.8), 0 0 60px rgba(255, 196, 0, 0.25); transform-style: preserve-3d; }
.winner-now__flyer img { width: 100%; height: auto; }
.winner-now__kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 900; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
.winner-now__tag { margin-top: 8px; font-size: clamp(30px, 4vw, 48px); transform: skewX(-6deg); transform-origin: left; }
.winner-now__name { margin-top: calc(6px - var(--tp, 0px)); font-size: clamp(38px, 5.2vw, 72px); line-height: 1.02; transform: skewX(-6deg); transform-origin: left; }
.winner-now__prize { margin-top: 14px; font-size: 17px; color: var(--ink-soft); }
.winner-now__prize b { color: var(--ink); }
.winner-now__data { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; margin: 22px 0; }
.winner-now__data div { padding: 12px 14px; border-radius: 16px; background: rgba(1, 6, 31, 0.55); border: 1px solid var(--line); }
.winner-now__data dt { font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-mute); }
.winner-now__data dd { margin-top: 4px; font-weight: 800; }
.winner-now__num { font-size: 34px; }

.winners__prev { margin-top: clamp(26px, 4vw, 40px); padding-top: clamp(22px, 3vw, 32px); border-top: 1px solid rgba(255, 228, 92, 0.3); }
.winners__prev-title { margin-bottom: 16px; font-family: var(--font-display); font-size: clamp(22px, 2.6vw, 30px); text-transform: uppercase; letter-spacing: 0.02em; }
.winners__grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.winner-card {
  flex: 0 1 calc((100% - 16px) / 2);
  display: flex; flex-direction: column;
  border-radius: 20px; overflow: hidden;
  background: rgba(1, 6, 31, 0.5);
  border: 1px solid rgba(255, 228, 92, 0.3);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.3s;
}
@media (min-width: 700px) { .winner-card { flex-basis: calc((100% - 32px) / 3); } }
@media (min-width: 1100px) { .winner-card { flex-basis: calc((100% - 48px) / 4); } }
@media (min-width: 1100px) { .winners__grid--3 .winner-card { flex-basis: calc((100% - 32px) / 3); } }
.winner-card:hover { transform: translateY(-5px); border-color: rgba(255, 228, 92, 0.7); box-shadow: 0 26px 50px -28px rgba(255, 196, 0, 0.45); }
.winner-card__flyer { position: relative; display: block; overflow: hidden; aspect-ratio: 2 / 3; }
/* Número de moto sobre el flyer: deja claro el orden de los ganadores */
.winner-badge {
  display: inline-block; vertical-align: middle; flex: none;
  padding: 4px 9px; border-radius: 999px;
  background: var(--yellow); color: var(--navy-900);
  font: 400 14px/1 var(--font-display); letter-spacing: 0.04em; text-transform: uppercase;
}
.winner-now__kicker .winner-badge { margin-left: 4px; font-size: 15px; }
.winner-card__prize { display: flex; align-items: center; gap: 8px; }
.winner-card__flyer img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out); }
.winner-card:hover .winner-card__flyer img { transform: scale(1.04); }
.winner-card__body { flex: 1; display: flex; flex-direction: column; gap: 3px; padding: 12px 14px 14px; }
.winner-card__prize { font-size: 10.5px; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.winner-card__name { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(18px, 1.7vw, 22px); line-height: 1.05; text-transform: uppercase; letter-spacing: 0.01em; }
.winner-card__num { font-size: clamp(22px, 2vw, 26px); }
.winner-card__data { display: grid; gap: 1px; margin: 2px 0 10px; font-size: 12.5px; color: var(--ink-soft); }
.winner-card__share {
  margin-top: auto; align-self: flex-start;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line);
  font-size: 12px; font-weight: 800; color: var(--ink-soft);
  transition: border-color 0.3s, color 0.3s;
}
.winner-card__share:hover { border-color: var(--yellow); color: var(--ink); }
.winner-card__share svg { width: 13px; height: 13px; }
@media (max-width: 520px) {
  .winners__grid { gap: 10px; }
  .winner-card { flex-basis: calc((100% - 10px) / 2); border-radius: 16px; }
  .winner-card__body { padding: 10px 10px 12px; }
  .winner-card__name { font-size: 17px; }
  .winner-card__prize { flex-direction: column; align-items: flex-start; gap: 5px; }
  .winner-card__data { font-size: 11px; }
}

/* ---------- Oficinas ---------- */
.offices { --sec-bg: radial-gradient(ellipse 60% 50% at 20% 0%, rgba(31, 91, 255, 0.35), transparent 70%), var(--navy-950); }
.offices__grid { display: grid; gap: 18px; }
@media (min-width: 900px) { .offices__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.office { display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: 24px; background: linear-gradient(170deg, rgba(20, 60, 190, 0.45), rgba(3, 14, 64, 0.85)); border: 1px solid var(--line); }
.office__head { display: flex; align-items: center; gap: 12px; }
.office__pin { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 16px; background: linear-gradient(180deg, var(--gold-300), #ffb300); color: var(--navy-900); box-shadow: 0 10px 24px -8px rgba(255, 196, 0, 0.6); }
.office__pin svg { width: 26px; height: 26px; }
.office__town { font-family: var(--font-display); font-weight: 400; font-size: 34px; line-height: 1; text-transform: uppercase; letter-spacing: 0.01em; }
.office__addr { font-size: 17px; font-weight: 800; }
.office__addr span { display: block; font-size: 14px; font-weight: 600; color: var(--ink-mute); }
.office__phones { display: grid; gap: 6px; }
.office__phones a { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--cyan-300); }
.office__phones svg { width: 18px; height: 18px; }
.office__note { font-size: 14px; color: var(--ink-soft); }
.office__raffles { display: flex; flex-wrap: wrap; gap: 6px; }
.office__raffles li { padding: 5px 10px; border-radius: 999px; background: rgba(255, 228, 92, 0.12); border: 1px solid rgba(255, 228, 92, 0.4); font-size: 12.5px; font-weight: 700; color: var(--gold-300); }
.office__map { align-self: flex-start; margin-top: auto; }

/* ---------- Pasos ---------- */
.steps { --sec-bg: linear-gradient(180deg, var(--navy-900), var(--navy-950)); }
.steps__list { position: relative; display: grid; gap: 18px; counter-reset: s; }
.step {
  position: relative;
  padding: 28px 24px 26px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(20, 60, 190, 0.35), rgba(3, 14, 64, 0.6));
  border: 1px solid var(--line);
  overflow: hidden;
}
.step::before {
  content: '';
  position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, var(--cyan-400), var(--gold-300));
  box-shadow: 0 0 14px var(--gold-400);
  transform: scaleX(var(--p, 1));
  transform-origin: 0 50%;
}
.step__num {
  position: absolute; right: 14px; top: 2px;
  font-family: var(--font-display); font-size: 92px; line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(139, 230, 255, 0.35);
}
.step__icon {
  position: relative;
  display: grid; place-items: center;
  width: 64px; height: 64px; border-radius: 20px;
  background: linear-gradient(180deg, #ffe45c, #ffb300);
  color: var(--navy-900);
  box-shadow: 0 12px 30px -8px rgba(255, 196, 0, 0.6);
}
.step__icon svg { width: 30px; height: 30px; }
.step h3 { margin-top: 22px; font-family: var(--font-display); font-weight: 400; font-size: 30px; text-transform: uppercase; letter-spacing: 0.01em; }
.step p { margin-top: 8px; color: var(--ink-soft); font-size: 15px; }
@media (min-width: 700px) { .steps__list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) {
  .steps__list { grid-template-columns: repeat(4, 1fr); padding-top: 0; }
}

/* ---------- WhatsApp ---------- */
.wa {
  overflow: hidden;
  --sec-bg:
    radial-gradient(ellipse 50% 60% at 85% 50%, rgba(37, 211, 102, 0.18), transparent 70%),
    radial-gradient(ellipse 60% 60% at 10% 10%, rgba(31, 91, 255, 0.35), transparent 70%),
    var(--navy-950);
}
.wa__inner { display: grid; gap: 56px; align-items: center; }
@media (min-width: 980px) { .wa__inner { grid-template-columns: 1.1fr 0.9fr; } }
.wa__list { display: grid; gap: 12px; margin-top: 26px; }
.wa__list li { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.wa__list svg { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: rgba(37, 211, 102, 0.18); color: var(--wa); flex: none; }
.wa__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.wa__official {
  display: flex; align-items: flex-start; gap: 12px;
  margin-top: 26px; padding: 14px 16px; max-width: 520px;
  border-radius: 18px;
  background: rgba(37, 211, 102, 0.08);
  border: 1px solid rgba(37, 211, 102, 0.45);
  font-size: 14px; color: var(--ink-soft);
}
.wa__official svg { width: 28px; height: 28px; flex: none; color: var(--wa); }
.wa__official strong, .wa__official b { color: #fff; }
.footer__legal strong { color: var(--ink-soft); }
.wa__qr { display: none; align-items: center; gap: 16px; margin-top: 30px; padding: 14px; border-radius: 20px; border: 1px dashed rgba(139, 230, 255, 0.35); max-width: 420px; }
.wa__qr img { width: 96px; height: 96px; padding: 8px; border-radius: 12px; background: #fff; }
.wa__qr p { font-size: 14px; color: var(--ink-soft); }
@media (min-width: 980px) and (hover: hover) { .wa__qr { display: flex; } }

.phone { display: grid; place-items: center; perspective: 1200px; }
.phone__frame {
  position: relative;
  width: min(330px, 86vw);
  aspect-ratio: 9 / 18.5;
  padding: 12px;
  border-radius: 46px;
  background: linear-gradient(145deg, #2a3a7a, #0b1440 40%, #1a2560);
  box-shadow: 0 0 0 2px rgba(139, 230, 255, 0.25), 0 50px 90px -30px rgba(0, 0, 0, 0.9), 0 0 80px rgba(37, 211, 102, 0.18);
  will-change: transform;
}
.phone__notch { position: absolute; top: 20px; left: 50%; translate: -50% 0; width: 90px; height: 24px; border-radius: 20px; background: #000; z-index: 2; }
.chat { position: relative; height: 100%; border-radius: 36px; overflow: hidden; display: flex; flex-direction: column; background: #0b141a; }
.chat__head { display: flex; align-items: center; gap: 10px; padding: 50px 16px 12px; background: #1f2c34; }
.chat__avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(180deg, var(--blue-500), var(--navy-800)); }
.chat__avatar svg { width: 28px; height: 20px; color: #fff; }
.chat__who { display: grid; line-height: 1.2; }
.chat__who b { font-size: 14px; }
.chat__who small { font-size: 12px; color: #8696a0; }
.chat__body {
  flex: 1;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 8px;
  padding: 14px 12px;
  background:
    radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1.5px) 0 0 / 16px 16px,
    #0b141a;
}
.msg { max-width: 84%; padding: 8px 12px; border-radius: 14px; font-size: 13.5px; line-height: 1.4; }
.msg--in { align-self: flex-end; background: #005c4b; border-top-right-radius: 4px; }
.msg--out { align-self: flex-start; background: #1f2c34; border-top-left-radius: 4px; }
.msg--typing { align-self: flex-start; display: none; gap: 4px; padding: 12px 14px; background: #1f2c34; }
.msg--typing i { width: 7px; height: 7px; border-radius: 50%; background: #8696a0; animation: typing 1s infinite; }
.msg--typing i:nth-child(2) { animation-delay: 0.15s; }
.msg--typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: 0.5; } 30% { transform: translateY(-4px); opacity: 1; } }
.chat__input { display: flex; align-items: center; gap: 8px; padding: 10px 12px 18px; background: #0b141a; }
.chat__input span { flex: 1; padding: 10px 14px; border-radius: 999px; background: #1f2c34; color: #8696a0; font-size: 13px; }
.chat__input i { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--wa); color: #032b14; }
.chat__input svg { width: 18px; height: 18px; }

/* ---------- FAQ ---------- */
.faq { --sec-bg: linear-gradient(180deg, var(--navy-950), var(--navy-900)); }
.faq__list { display: grid; gap: 12px; }
.faq__item { border-radius: 20px; background: rgba(8, 26, 96, 0.4); border: 1px solid var(--line); transition: border-color 0.3s, background-color 0.3s; }
.faq__item[open] { border-color: rgba(255, 228, 92, 0.45); background: rgba(8, 26, 96, 0.65); }
.faq__item summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 20px 64px 20px 24px;
  font-weight: 800; font-size: clamp(16px, 1.8vw, 18px);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+';
  position: absolute; right: 18px; top: 50%; translate: 0 -50%;
  width: 32px; height: 32px; display: grid; place-items: center;
  border-radius: 50%; background: var(--yellow); color: var(--navy-900);
  font-size: 22px; font-weight: 900; line-height: 1;
  transition: transform 0.4s var(--ease-out);
}
.faq__item[open] summary::after { transform: rotate(135deg); }
.faq__body { overflow: hidden; }
.faq__body p { padding: 0 24px 22px; color: var(--ink-soft); }
.faq__body b { color: #fff; }

/* ---------- CTA final ---------- */
.final {
  overflow: hidden;
  text-align: center;
  --sec-bg:
    radial-gradient(ellipse 60% 70% at 50% 50%, rgba(31, 91, 255, 0.55), transparent 70%),
    var(--navy-900);
}
.final__inner { position: relative; display: grid; justify-items: center; gap: 10px; }
.final__title { font-size: clamp(46px, 9vw, 116px); line-height: 1.06; transform: skewX(-6deg); max-width: 12ch; }
.final__inner .btn { margin-top: 26px; }
.final__rings { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.final__rings i {
  position: absolute; width: 60vmin; aspect-ratio: 1; border-radius: 50%;
  border: 1px solid rgba(139, 230, 255, 0.25);
  animation: ring 6s linear infinite;
}
.final__rings i:nth-child(2) { animation-delay: -2s; }
.final__rings i:nth-child(3) { animation-delay: -4s; }
@keyframes ring { from { transform: scale(0.3); opacity: 0; } 30% { opacity: 1; } to { transform: scale(2.2); opacity: 0; } }

/* ---------- Footer ---------- */
.footer { padding: 56px 0 120px; background: var(--navy-950); border-top: 1px solid var(--line); }
.footer__inner { display: grid; gap: 26px; }
.footer__brand { display: flex; align-items: center; gap: 16px; }
.footer__emblem { width: 72px; height: 52px; color: #fff; flex: none; }
.footer__name { font-weight: 900; font-style: italic; text-transform: uppercase; letter-spacing: 0.04em; }
.footer__city { color: var(--ink-mute); font-size: 14px; }
.footer__social { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.social { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); transition: transform 0.3s var(--ease-out), background-color 0.3s; }
.social svg { width: 22px; height: 22px; }
.social[href]:hover { transform: translateY(-3px); background: var(--blue-500); }
.social--wa[href]:hover { background: var(--wa); color: #032b14; }
.footer__handle { font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; font-size: 14px; margin-left: 6px; }
.footer__legal { font-size: 13px; color: var(--ink-mute); max-width: 760px; }
@media (min-width: 900px) {
  .footer__inner { grid-template-columns: 1fr auto; align-items: center; }
  .footer__legal { grid-column: 1 / -1; }
}

/* ---------- WhatsApp flotante ---------- */
.wa-float { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 110; display: grid; justify-items: end; gap: 12px; }
.wa-float__btn {
  position: relative;
  width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(180deg, #3be37a, #1fbd5b);
  color: #fff;
  box-shadow: 0 14px 34px -6px rgba(37, 211, 102, 0.7);
}
.wa-float__btn svg { width: 34px; height: 34px; position: relative; transition: transform 0.35s var(--ease-out); }
.wa-float__btn:hover svg { transform: scale(1.12) rotate(-10deg); }
.wa-float__ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ping 2.2s var(--ease-out) infinite; }
.wa-float__ring:nth-child(2) { animation-delay: 1.1s; }
.wa-float__bubble {
  position: relative;
  max-width: 250px;
  padding: 14px 40px 14px 16px;
  border-radius: 18px 18px 4px 18px;
  background: #fff; color: var(--navy-900);
  font-size: 14px; line-height: 1.4;
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.6);
  transform-origin: 100% 100%;
}
.wa-float__bubble[hidden] { display: none; }
.wa-float__close { position: absolute; right: 8px; top: 8px; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; color: var(--navy-800); }
.wa-float__close:hover { background: rgba(4, 21, 82, 0.08); }
.wa-float__close svg { width: 14px; height: 14px; }

/* ---------- Confeti ---------- */
.confetti { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 150; }

/* ---------- Odómetro (cifras que giran como tragamonedas) ---------- */
.odometer.is-odo { display: inline-flex; align-items: flex-start; background-image: none; }
.odo-col { display: inline-block; height: 1em; clip-path: inset(0 -0.4em); }
.odo-strip { display: flex; flex-direction: column; will-change: transform; }
.odo-strip > span,
.odo-static {
  display: block;
  height: 1em;
  /* Cada cifra es su propia caja: sin este margen, la parte inclinada del 0 quedaba sin relleno */
  padding-inline: 0.1em;
  margin-inline: -0.1em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  background-image: linear-gradient(180deg, #fffbd1 0%, #ffe45c 26%, #ffc400 52%, #ff9d00 74%, #ffd54a 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
.odo-static { padding-right: 0.12em; }

section[id] { scroll-margin-top: 72px; }

/* Sin JavaScript: se ocultan las piezas que dependen de él */
html:not(.js) .countdown,
html:not(.js) #numeros,
html:not(.js) #ganadores,
html:not(.js) .moto-track,
html:not(.js) .motos__next { display: none; }


/* ==========================================================================
   MODO CLARO
   El modo oscuro es el original. En claro se cambian los colores base y cada
   sección pasa a fondos blancos y azules suaves; algunas piezas se quedan
   oscuras a propósito (cinta azul, tarjeta de la moto, celular, paneles azules).
   ========================================================================== */
:root[data-theme='light'] {
  --ink: #0a1a4f;
  --ink-soft: rgba(10, 26, 79, 0.8);
  --ink-mute: rgba(10, 26, 79, 0.62);
  --line: rgba(11, 63, 214, 0.16);
  --glass: rgba(255, 255, 255, 0.75);
  --accent: #a35d00;
  color-scheme: light;
}
/* Piezas que siguen oscuras: recuperan los colores de texto del modo oscuro */
[data-theme='light'] :is(.motos__mayor, .rifa-card__mayor, .moto-day--mayor, .promo--moto, .marquee__band--navy, .phone, .moto-choice__opt--cash, .band, .countdown__unit, .mini-count span, .meta-card--req, .picker__panel, .flyer__ref, .rifa-card__photo figcaption) {
  --ink: #ffffff;
  --ink-soft: rgba(222, 233, 255, 0.86);
  --ink-mute: rgba(205, 220, 250, 0.72);
  --line: rgba(139, 230, 255, 0.22);
  --accent: var(--yellow);
  color: var(--ink);
}
[data-theme='light'] body { background: #f3f7ff; }
[data-theme='light'] :focus-visible { outline-color: var(--blue-600); }

/* Cambio de modo con círculo desde el botón */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }

/* Botón */
[data-theme='light'] .theme-btn { background: #fff; color: var(--blue-600); box-shadow: 0 6px 18px -10px rgba(10, 30, 90, 0.45); }
[data-theme='light'] .theme-btn:hover { border-color: var(--blue-500); }
[data-theme='light'] .theme-btn__sun { opacity: 0; transform: rotate(90deg) scale(0.4); }
[data-theme='light'] .theme-btn__moon { opacity: 1; transform: none; }

/* Franja "¡HOY SE JUEGA!": en claro, azul de marca en vez de un gris oscuro apagado */
[data-theme='light'] .band { background: linear-gradient(90deg, transparent, rgba(11, 63, 214, 0.94) 12%, rgba(10, 47, 168, 0.94) 88%, transparent); }

/* Tipografía de marca */
[data-theme='light'] .chrome:not(.is-split),
[data-theme='light'] .chrome.is-split .char {
  background-image: linear-gradient(180deg, #5b8cff 0%, #1f5bff 30%, #0a2fa8 48%, #cfe0ff 52%, #2f6bff 64%, #0b3fd6 100%);
  -webkit-text-stroke-color: #061d74;
}
[data-theme='light'] .chrome {
  filter:
    drop-shadow(0 2px 0 #b9d0ff)
    drop-shadow(0 3px 0 #7fa6ff)
    drop-shadow(0 12px 16px rgba(10, 30, 90, 0.22));
}
[data-theme='light'] .gold {
  filter:
    drop-shadow(1px 1px 0 #e0620f)
    drop-shadow(1.5px 1.5px 0 #8a2508)
    drop-shadow(1.5px 1.5px 0 #4d1204)
    drop-shadow(0 8px 12px rgba(80, 40, 0, 0.22));
}
[data-theme='light'] .label-yellow:not(.band) {
  color: #ffc400;
  -webkit-text-stroke: 0.8px #061d74;
  text-shadow: 0 3px 0 #061d74, 0 8px 18px rgba(10, 30, 90, 0.2);
}
[data-theme='light'] .section-title em { filter: drop-shadow(1px 1px 0 #c0620f) drop-shadow(1px 2px 0 #6b2a05); }
[data-theme='light'] .kicker,
[data-theme='light'] .promo--antic .promo__kicker,
[data-theme='light'] .attention__second,
[data-theme='light'] .upcoming__date,
[data-theme='light'] .picker__label,
[data-theme='light'] .motos__next-label,
[data-theme='light'] .moto-day.is-next .moto-day__state,
[data-theme='light'] .antic__row--mayor .antic__n,
[data-theme='light'] .preloader__count { color: var(--accent); }
[data-theme='light'] .attention__second { text-shadow: none; }
[data-theme='light'] .kicker::before { box-shadow: none; }
[data-theme='light'] .chip { background: rgba(255, 255, 255, 0.8); box-shadow: 0 6px 18px -12px rgba(10, 30, 90, 0.4); }
[data-theme='light'] :is(.hero__note, .attention__por, .attention__of strong, .antic-banner b, .promo--antic .promo__sub b, .antic__intro b, .rifa-card__foot b, .picker__raffle b, .wa__official strong, .wa__official b, .faq__body b, .upcoming__what b) { color: var(--ink); }

/* Botones */
[data-theme='light'] .btn--ghost { background: rgba(255, 255, 255, 0.8); border-color: rgba(11, 63, 214, 0.35); color: var(--ink); }
[data-theme='light'] .btn--ghost:hover { border-color: var(--blue-500); box-shadow: 0 0 24px rgba(31, 91, 255, 0.25); }

/* Precarga, barra y navegación */
[data-theme='light'] .preloader__panel { background: radial-gradient(ellipse at 50% 100%, #d6e4ff, #f3f7ff 70%); }
[data-theme='light'] .preloader__panel--bottom { background: radial-gradient(ellipse at 50% 0%, #d6e4ff, #f3f7ff 70%); }
[data-theme='light'] .preloader__logo { stroke: #0a2fa8; filter: drop-shadow(0 0 12px rgba(31, 91, 255, 0.35)); }
[data-theme='light'] .nav.is-scrolled { background: rgba(243, 247, 255, 0.82); box-shadow: 0 10px 30px -20px rgba(10, 30, 90, 0.35); }
[data-theme='light'] .brand__emblem,
[data-theme='light'] .footer__emblem { color: var(--blue-700); filter: drop-shadow(0 0 6px rgba(31, 91, 255, 0.25)); }
[data-theme='light'] .nav__links a:hover { color: var(--ink); }
[data-theme='light'] .nav__toggle { background: #fff; }
[data-theme='light'] .nav__toggle span { background: var(--ink); }
[data-theme='light'] .menu { background: radial-gradient(circle at 50% 0%, #d6e4ff, #f3f7ff 70%); }
[data-theme='light'] .menu a:hover { color: var(--accent); }

/* Portada */
[data-theme='light'] .hero {
  background:
    radial-gradient(ellipse 70% 55% at 50% -10%, rgba(39, 195, 255, 0.28), transparent 70%),
    radial-gradient(ellipse 80% 60% at 50% 110%, rgba(31, 91, 255, 0.2), transparent 70%),
    linear-gradient(180deg, #e3eeff 0%, #f4f8ff 55%, #e9f1ff 100%);
}
[data-theme='light'] .hero__beam {
  mix-blend-mode: normal;
  background: conic-gradient(from 180deg at 50% 0%, transparent 160deg, rgba(31, 91, 255, 0.08) 175deg, rgba(255, 255, 255, 0.7) 180deg, rgba(31, 91, 255, 0.08) 185deg, transparent 200deg);
}
[data-theme='light'] .hero__streaks i { background: linear-gradient(180deg, transparent, rgba(31, 91, 255, 0.4), transparent); }
[data-theme='light'] .hero__spot { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 40%), rgba(31, 91, 255, 0.1), transparent 70%); }
[data-theme='light'] .hero__plus { color: var(--blue-600); text-shadow: 0 4px 0 #061d74; }
[data-theme='light'] .casa__halo { background: radial-gradient(closest-side, rgba(39, 195, 255, 0.35), rgba(31, 91, 255, 0.14) 55%, transparent); }
[data-theme='light'] .casa__shadow { background: radial-gradient(closest-side, rgba(10, 30, 90, 0.4), rgba(10, 30, 90, 0.15) 55%, transparent); }
[data-theme='light'] .casa__photo img { filter: drop-shadow(0 0 1px rgba(11, 63, 214, 0.45)) drop-shadow(0 24px 26px rgba(10, 30, 90, 0.28)); }
[data-theme='light'] .casa__plan { stroke: var(--blue-600); filter: drop-shadow(0 0 4px rgba(31, 91, 255, 0.55)); }
[data-theme='light'] .casa__tag { background: rgba(255, 255, 255, 0.88); border-color: rgba(11, 63, 214, 0.25); color: var(--ink); box-shadow: 0 10px 24px -12px rgba(10, 30, 90, 0.45); }
[data-theme='light'] .promo { box-shadow: 0 24px 50px -26px rgba(10, 30, 90, 0.45); }
[data-theme='light'] .promo--antic { background: linear-gradient(135deg, #fff3c4, #ffffff 55%); border-color: rgba(224, 150, 0, 0.6); }

/* ¡Atención! */
[data-theme='light'] .attention {
  --sec-bg:
    radial-gradient(rgba(11, 63, 214, 0.1) 1px, transparent 1.5px) 0 0 / 22px 22px,
    radial-gradient(ellipse 60% 50% at 30% 30%, rgba(31, 91, 255, 0.16), transparent 70%),
    linear-gradient(180deg, #eef4ff, #e2ecff 50%, #eef4ff);
}
[data-theme='light'] .attention__glow { background: radial-gradient(circle, rgba(39, 195, 255, 0.2), transparent 60%); }
[data-theme='light'] .countdown__unit { background: linear-gradient(180deg, #2f6bff, #0a2fa8); border-color: rgba(255, 255, 255, 0.3); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 18px 36px -18px rgba(10, 47, 168, 0.65); }
[data-theme='light'] .countdown__unit::after { background: rgba(255, 255, 255, 0.18); }
[data-theme='light'] .meta-card,
[data-theme='light'] .upcoming__list li { background: #fff; box-shadow: 0 10px 26px -20px rgba(10, 30, 90, 0.45); }
[data-theme='light'] .meta-card--req { background: linear-gradient(135deg, #2f6bff, #0a2fa8); }
[data-theme='light'] .flyer__card { box-shadow: 0 0 0 1px rgba(11, 63, 214, 0.2), 0 30px 60px -24px rgba(10, 30, 90, 0.4); }

/* Rifas */
[data-theme='light'] .rifas {
  --sec-bg:
    radial-gradient(ellipse 50% 40% at 80% 0%, rgba(31, 91, 255, 0.12), transparent 70%),
    radial-gradient(ellipse 40% 40% at 0% 100%, rgba(39, 195, 255, 0.12), transparent 70%),
    #f3f7ff;
}
[data-theme='light'] .antic-banner { background: linear-gradient(90deg, #fff6d6, #ffffff); border-color: rgba(224, 150, 0, 0.55); }
[data-theme='light'] .rifa-card {
  background:
    radial-gradient(circle at 100% 0%, rgba(39, 195, 255, 0.12), transparent 50%),
    linear-gradient(160deg, #ffffff, #edf3ff 60%);
  box-shadow: 0 30px 60px -32px rgba(10, 30, 90, 0.4);
}
[data-theme='light'] .rifa-card--motos {
  background:
    radial-gradient(circle at 18% 62%, rgba(255, 196, 0, 0.2), transparent 55%),
    linear-gradient(160deg, #ffffff, #edf3ff 60%);
}
[data-theme='light'] .rifa-card__photo { box-shadow: 0 0 0 1px rgba(11, 63, 214, 0.18), 0 18px 34px -20px rgba(10, 30, 90, 0.45); }
[data-theme='light'] .rifa-card__where svg { color: var(--blue-600); }
[data-theme='light'] .rifa-card__soon { border-color: rgba(224, 150, 0, 0.5); background: rgba(255, 196, 0, 0.08); }
[data-theme='light'] .rifa-card__moto { filter: drop-shadow(0 22px 26px rgba(10, 30, 90, 0.35)) drop-shadow(0 0 24px rgba(255, 196, 0, 0.2)); }
[data-theme='light'] .antic__row.is-next { background: linear-gradient(90deg, rgba(255, 196, 0, 0.22), transparent); box-shadow: inset 3px 0 0 #ffb300; }
[data-theme='light'] .moto-progress { background: rgba(11, 63, 214, 0.1); }

/* Elige tu número */
[data-theme='light'] .picker {
  --sec-bg:
    radial-gradient(rgba(11, 63, 214, 0.08) 1px, transparent 1.5px) 0 0 / 22px 22px,
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(31, 91, 255, 0.14), transparent 70%),
    linear-gradient(180deg, #f3f7ff, #e9f1ff);
}
[data-theme='light'] .picker__tabs,
[data-theme='light'] .picker__board { background: #fff; box-shadow: 0 18px 40px -28px rgba(10, 30, 90, 0.45); }
[data-theme='light'] .num { color: var(--blue-700); background: linear-gradient(180deg, #f1f6ff, #dde8ff); border-color: rgba(11, 63, 214, 0.18); }
[data-theme='light'] .num:hover { color: var(--navy-900); border-color: var(--blue-500); box-shadow: 0 0 14px rgba(31, 91, 255, 0.3); }
[data-theme='light'] .num:disabled { color: rgba(10, 26, 79, 0.3); background: #e7ecf6; border-color: rgba(11, 63, 214, 0.08); }
[data-theme='light'] .num.is-rolling { background: var(--blue-600); color: #fff; box-shadow: 0 0 22px rgba(31, 91, 255, 0.6); }
[data-theme='light'] .lg--free { background: #dde8ff; border-color: rgba(11, 63, 214, 0.3); }
[data-theme='light'] .lg--taken { background: #e7ecf6; border-color: rgba(11, 63, 214, 0.12); }
[data-theme='light'] .reel__btn { background: #fff; color: var(--blue-600); }
[data-theme='light'] .reel__btn:hover { background: #eaf1ff; border-color: var(--blue-500); }
[data-theme='light'] .picker__panel { background: linear-gradient(170deg, #2f6bff, #0a2fa8 70%); border-color: rgba(255, 255, 255, 0.25); box-shadow: 0 30px 60px -30px rgba(10, 47, 168, 0.6); }

/* Motos */
[data-theme='light'] .motos {
  --sec-bg:
    radial-gradient(ellipse 55% 60% at 25% 45%, rgba(255, 196, 0, 0.2), transparent 70%),
    radial-gradient(ellipse 50% 50% at 90% 10%, rgba(31, 91, 255, 0.14), transparent 70%),
    linear-gradient(180deg, #f3f7ff, #eaf1ff);
}
[data-theme='light'] .motos__img { filter: drop-shadow(0 30px 34px rgba(10, 30, 90, 0.35)); }
[data-theme='light'] .moto-choice__opt:not(.moto-choice__opt--cash) { background: #fff; border-color: rgba(11, 63, 214, 0.3); }
[data-theme='light'] .motos__next { background: #fff; border-color: rgba(224, 150, 0, 0.45); box-shadow: 0 14px 30px -22px rgba(10, 30, 90, 0.45); }
[data-theme='light'] .mini-count span { background: linear-gradient(180deg, #2f6bff, #0a2fa8); }
[data-theme='light'] .moto-day { background: #fff; box-shadow: 0 10px 24px -20px rgba(10, 30, 90, 0.45); }
[data-theme='light'] .moto-day__icon { color: var(--blue-600); }
[data-theme='light'] .moto-day.is-done { background: linear-gradient(160deg, rgba(255, 196, 0, 0.28), #fff 75%); border-color: rgba(224, 150, 0, 0.6); }
[data-theme='light'] .moto-day.is-done .moto-day__icon,
[data-theme='light'] .moto-day.is-done .moto-day__state b { color: var(--accent); }
[data-theme='light'] .moto-day.is-today { border-color: var(--blue-500); box-shadow: 0 0 0 2px rgba(31, 91, 255, 0.25), 0 0 24px rgba(31, 91, 255, 0.2); }
[data-theme='light'] .moto-day.is-next { border-color: rgba(224, 150, 0, 0.55); }

/* Ganadores */
[data-theme='light'] .winners {
  --sec-bg:
    radial-gradient(ellipse 60% 50% at 70% 30%, rgba(255, 196, 0, 0.18), transparent 70%),
    radial-gradient(rgba(224, 150, 0, 0.12) 1px, transparent 1.6px) 0 0 / 26px 26px,
    linear-gradient(180deg, #fff8e8, #f3f7ff);
}
[data-theme='light'] .winners__board { background: linear-gradient(160deg, rgba(255, 214, 90, 0.3), #ffffff 45%); border-color: rgba(224, 150, 0, 0.45); box-shadow: 0 30px 60px -32px rgba(10, 30, 90, 0.4); }
[data-theme='light'] .winner-now__flyer { box-shadow: 0 0 0 1px rgba(224, 150, 0, 0.5), 0 30px 50px -24px rgba(10, 30, 90, 0.45); }
[data-theme='light'] .winner-now__data div { background: #fff; }
[data-theme='light'] .winners__prev { border-top-color: rgba(224, 150, 0, 0.35); }
[data-theme='light'] .winner-card { background: #fff; border-color: rgba(224, 150, 0, 0.35); box-shadow: 0 18px 34px -28px rgba(10, 30, 90, 0.45); }
[data-theme='light'] .winner-card__share:hover { border-color: #e09600; }

/* Oficinas, pasos, WhatsApp, preguntas, cierre y pie */
[data-theme='light'] .offices { --sec-bg: radial-gradient(ellipse 60% 50% at 20% 0%, rgba(31, 91, 255, 0.12), transparent 70%), #f3f7ff; }
[data-theme='light'] .office { background: linear-gradient(170deg, #ffffff, #edf3ff); box-shadow: 0 20px 40px -30px rgba(10, 30, 90, 0.45); }
[data-theme='light'] .office__phones a { color: var(--blue-600); }
[data-theme='light'] .office__raffles li { background: rgba(255, 196, 0, 0.14); border-color: rgba(224, 150, 0, 0.45); color: var(--accent); }
[data-theme='light'] .steps { --sec-bg: linear-gradient(180deg, #eaf1ff, #f3f7ff); }
[data-theme='light'] .step { background: linear-gradient(180deg, #ffffff, #edf3ff); box-shadow: 0 20px 40px -32px rgba(10, 30, 90, 0.45); }
[data-theme='light'] .step__num { -webkit-text-stroke-color: rgba(11, 63, 214, 0.22); }
[data-theme='light'] .wa {
  --sec-bg:
    radial-gradient(ellipse 50% 60% at 85% 50%, rgba(37, 211, 102, 0.14), transparent 70%),
    radial-gradient(ellipse 60% 60% at 10% 10%, rgba(31, 91, 255, 0.12), transparent 70%),
    #f3f7ff;
}
[data-theme='light'] .wa__official { background: rgba(37, 211, 102, 0.1); }
[data-theme='light'] .wa__official svg,
[data-theme='light'] .wa__list svg { color: var(--wa-dark); }
[data-theme='light'] .wa__qr { border-color: rgba(11, 63, 214, 0.3); }
[data-theme='light'] .phone__frame { box-shadow: 0 0 0 2px rgba(11, 63, 214, 0.2), 0 40px 70px -30px rgba(10, 30, 90, 0.55), 0 0 60px rgba(37, 211, 102, 0.15); }
[data-theme='light'] .faq { --sec-bg: linear-gradient(180deg, #f3f7ff, #eaf1ff); }
[data-theme='light'] .faq__item { background: #fff; box-shadow: 0 12px 28px -24px rgba(10, 30, 90, 0.45); }
[data-theme='light'] .faq__item[open] { background: #fffdf4; border-color: rgba(224, 150, 0, 0.5); }
[data-theme='light'] .final { --sec-bg: radial-gradient(ellipse 60% 70% at 50% 50%, rgba(31, 91, 255, 0.2), transparent 70%), #eaf1ff; }
[data-theme='light'] .final__rings i { border-color: rgba(11, 63, 214, 0.2); }
[data-theme='light'] .footer { background: linear-gradient(180deg, #f3f7ff, #e6eefc 140px); }
[data-theme='light'] .social { background: #fff; }
[data-theme='light'] .social[href]:hover { color: #fff; }
[data-theme='light'] .wa-float__bubble { box-shadow: 0 18px 40px -14px rgba(10, 30, 90, 0.45); border: 1px solid rgba(11, 63, 214, 0.12); }

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .hero__streaks { display: none; }
  .msg--typing { display: none; }
}

/* Modo claro: rifa nueva con tonos rojos suaves */
[data-theme='light'] .motos--nueva {
  --sec-bg:
    radial-gradient(ellipse 60% 55% at 25% 42%, rgba(214, 20, 45, 0.14), transparent 70%),
    radial-gradient(ellipse 45% 45% at 88% 12%, rgba(255, 196, 0, 0.16), transparent 70%),
    linear-gradient(180deg, #f3f7ff, #fff1f3 50%, #f3f7ff);
}
[data-theme='light'] .motos--nueva .motos__glow { background: radial-gradient(circle, rgba(255, 60, 80, 0.12), transparent 62%); }
[data-theme='light'] .motos__img--fila { filter: drop-shadow(0 22px 26px rgba(60, 10, 30, 0.35)); }
[data-theme='light'] .motos__antic { background: #fff; border-color: rgba(224, 150, 0, 0.5); box-shadow: 0 10px 24px -18px rgba(10, 30, 90, 0.45); }
[data-theme='light'] .motos__antic svg { color: var(--accent); }
[data-theme='light'] .rifa-card--nueva {
  background:
    radial-gradient(circle at 20% 70%, rgba(255, 196, 0, 0.16), transparent 55%),
    radial-gradient(circle at 90% 0%, rgba(255, 60, 80, 0.12), transparent 50%),
    linear-gradient(160deg, #ffffff, #fff0f2 62%);
}
[data-theme='light'] .moto-day.moto-day--antic { border-color: rgba(224, 150, 0, 0.55); }
[data-theme='light'] .moto-day.moto-day--antic .moto-day__icon { color: var(--accent); }
[data-theme='light'] .moto-day.moto-day--mayor { background: linear-gradient(160deg, #d0102a, #7a0018); border-color: rgba(224, 150, 0, 0.7); }
/* Rifa nueva en celular: primero el título y la información, después las motos y el carro */
@media (max-width: 979px) { .motos--nueva .motos__copy { order: -1; } }
[data-theme='light'] .moto-day.moto-day--mayor .moto-day__icon { color: var(--yellow); }

/* Modo claro: casas en video (los marcos de video siguen oscuros) */
[data-theme='light'] .tours {
  --sec-bg:
    radial-gradient(ellipse 55% 45% at 50% 0%, rgba(31, 91, 255, 0.12), transparent 70%),
    radial-gradient(ellipse 35% 35% at 100% 100%, rgba(255, 196, 0, 0.14), transparent 70%),
    #f3f7ff;
}
[data-theme='light'] .tour-card__frame { box-shadow: 0 0 0 1.5px rgba(11, 63, 214, 0.35), 0 0 0 7px #ffffff, 0 0 0 8.5px rgba(224, 150, 0, 0.45), 0 30px 60px -26px rgba(10, 30, 90, 0.55); }
[data-theme='light'] .tour-card__frame:hover { box-shadow: 0 0 0 1.5px rgba(11, 63, 214, 0.6), 0 0 0 7px #ffffff, 0 0 0 8.5px rgba(224, 150, 0, 0.7), 0 40px 70px -26px rgba(10, 30, 90, 0.6); }
