/* ============================================================
   LA MESA · build 60 (31/10/2026) — hoja de index.html
   El mundo: un paño verde de agencia con las marcas impresas en
   amarillo, fichas como controles y el grafito como borde de la mesa.
   Paleta de marca de siempre (verde paño, amarillo, grafito) y las
   mismas letras (Anton para lo impreso, Inter para leer).
   gracias.html y privacidad.html siguen con styles.css.
   ============================================================ */

:root {
  --verde: #0e6e4b;
  --verde-hondo: #0a4f36;
  --verde-noche: #073a28;
  --verde-claro: #14915f;
  --amarillo: #e8b923;
  --amarillo-hondo: #a8831a;
  --grafito: #181818;
  --grafito-2: #222120;
  --crema: #f4efe2;
  --crema-2: #e6dfcc;
  --tinta: #f2ecdc; /* texto sobre el paño */
  --tinta-suave: #d6e6da; /* texto secundario sobre el paño, teñido de verde */
  --amarillo-claro: #f7df85; /* el amarillo para letra chica sobre el paño (contraste AA) */
  --tinta-grafito: #bdb7a8; /* texto secundario sobre grafito */

  --f-impresa: "Anton", "Arial Narrow", sans-serif;
  --f-texto: "Inter", system-ui, sans-serif;

  --gutter: 16px;
  --radio: 14px;
  --sombra: 0 10px 24px -8px rgba(0, 0, 0, 0.55);
  --salida: cubic-bezier(0.16, 1, 0.3, 1);

  /* El paño: ruido fino (fieltro) + viñeta. La luz de la lámpara va
     aparte, en .mesa::before, porque se mueve con el dedo. */
  --fieltro: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .2 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

* { margin: 0; padding: 0; box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--grafito);
  color: var(--tinta);
  font-family: var(--f-texto);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--amarillo); color: var(--grafito); }
:focus-visible { outline: 3px solid var(--amarillo); outline-offset: 3px; border-radius: 6px; }
a { color: inherit; text-underline-offset: 3px; }
img, video, canvas { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.ico { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* --- Botones ------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 26px; border: 0; border-radius: 999px;
  font-weight: 700; font-size: 17px; text-decoration: none; letter-spacing: 0.005em;
  transition: transform 0.18s var(--salida), box-shadow 0.18s var(--salida), background-color 0.18s;
}
.btn:active { transform: translateY(2px); }
.btn--ancho { width: 100%; }
.btn--amarillo { background: var(--amarillo); color: var(--grafito); box-shadow: 0 3px 0 var(--amarillo-hondo), 0 10px 18px -8px rgba(0, 0, 0, 0.6); }
.btn--amarillo:hover { background: #f0c63a; }
.btn--amarillo:active { box-shadow: 0 1px 0 var(--amarillo-hondo); }
.btn--crema { background: var(--crema); color: var(--verde-hondo); box-shadow: 0 3px 0 #b9b19b; }
.btn--linea { background: transparent; color: var(--tinta); border: 1.5px solid rgba(242, 236, 220, 0.55); }
.btn--linea:hover { border-color: var(--amarillo); color: var(--amarillo); }
.btn-texto { display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; color: var(--tinta); font-weight: 600; font-size: 15px; padding: 10px 6px; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(232, 185, 35, 0.6); }
.btn-link { background: none; border: 0; color: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; padding: 0; }


/* ================================================================
   LA MESA
   ================================================================ */
.mesa {
  --luz-x: 50%;
  --luz-y: 18%;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 20px var(--gutter) 30px;
  background-color: var(--verde);
  background-image:
    radial-gradient(150% 95% at 50% 40%, transparent 52%, rgba(3, 25, 17, 0.62)),
    var(--fieltro);
  text-align: center;
}
/* La lámpara: sigue el dedo (mesa.js). */
.mesa::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(70% 42% at var(--luz-x) var(--luz-y), rgba(255, 238, 196, 0.2), transparent 70%);
  transition: background-position 0.2s;
}
/* El filete impreso doble alrededor de la mesa. */
.mesa-marco {
  position: absolute; inset: 10px; z-index: -1; pointer-events: none;
  border: 1.5px solid rgba(232, 185, 35, 0.5); border-radius: 30px;
}
.mesa-marco::after { content: ""; position: absolute; inset: 5px; border: 1px solid rgba(232, 185, 35, 0.26); border-radius: 25px; }


/* Build 62 (Wiltter, 11/11): una sola línea chica. El protagonista es
   el juego, no el título. */
.mesa-titulo {
  font-family: var(--f-texto); font-weight: 600; text-transform: none;
  font-size: clamp(15px, 4.1vw, 19px); line-height: 1.3; letter-spacing: 0;
  color: var(--tinta); text-wrap: balance;
  max-width: 36ch; margin: 4px auto 0;
}
.mesa-titulo em { font-style: normal; font-weight: 800; color: var(--amarillo); }
.mesa-titulo .sin-juegos-txt { display: none; }
.sin-juegos .mesa-titulo .con-juegos { display: none; }
.sin-juegos .mesa-titulo .sin-juegos-txt { display: block; }
.sin-juegos .mesa-juegos { display: none; }

.mesa-juegos { max-width: 440px; margin: 0 auto; }

/* --- Fichas ------------------------------------------------------- */
.fichas { display: flex; justify-content: center; gap: clamp(10px, 4vw, 22px); margin: 16px 0 8px; }
.ficha {
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  width: 82px; padding: 4px 0 2px; background: none; border: 0; border-radius: 12px;
  font-size: 13px; font-weight: 600; color: var(--tinta-suave);
}
.ficha-disco {
  position: relative; display: grid; place-items: center;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--crema); color: var(--verde);
  box-shadow: 0 3px 0 #b9b19b, 0 8px 12px -4px rgba(0, 0, 0, 0.5);
  transition: transform 0.35s var(--salida), box-shadow 0.35s var(--salida), background-color 0.2s;
}
/* El canto dentado de la ficha. */
.ficha-disco::before { content: ""; position: absolute; inset: 4px; border-radius: 50%; border: 3.5px dashed rgba(14, 110, 75, 0.42); }
.ficha-disco svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.ficha:hover .ficha-disco { transform: translateY(-2px); }
.ficha.is-activa { color: #fff; }
/* La elegida se apila: sube y muestra dos fichas debajo. */
.ficha.is-activa .ficha-disco {
  background: var(--amarillo); color: var(--grafito);
  transform: translateY(-8px);
  box-shadow: 0 3px 0 var(--amarillo-hondo), 0 6px 0 #8a6b12, 0 9px 0 var(--amarillo-hondo), 0 16px 16px -6px rgba(0, 0, 0, 0.55);
}
.ficha.is-activa .ficha-disco::before { border-color: rgba(24, 24, 24, 0.32); }
.mesa.jugando .ficha:not(.is-activa) { opacity: 0.5; pointer-events: none; }

/* --- La zona del juego -------------------------------------------- */
.juego-zona { position: relative; display: grid; place-items: center; min-height: min(352px, 90vw); margin-top: 4px; }
.juego { width: 100%; display: grid; place-items: center; animation: entra 0.45s var(--salida); }
@keyframes entra { from { opacity: 0; transform: translateY(8px) scale(0.98); } }

/* Ruleta */
.ruleta { position: relative; width: min(336px, 86vw); aspect-ratio: 1; margin-top: 14px; }
.ruleta-disco { width: 100%; height: 100%; border-radius: 50%; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, 0.45)); }
.ruleta-puntero { position: absolute; top: -14px; left: 50%; width: 28px; height: 30px; transform: translateX(-50%); fill: var(--amarillo); stroke: var(--grafito); stroke-width: 2; filter: drop-shadow(0 3px 2px rgba(0, 0, 0, 0.4)); }
.ruleta-eje {
  position: absolute; top: 50%; left: 50%; width: 27%; aspect-ratio: 1; transform: translate(-50%, -50%);
  border-radius: 50%; border: 2.5px solid var(--amarillo); background: radial-gradient(circle at 40% 35%, #2c2b29, var(--grafito) 70%);
  font-family: var(--f-impresa); font-size: clamp(15px, 4.6vw, 20px); letter-spacing: 0.06em; text-transform: uppercase; color: var(--amarillo);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s var(--salida);
}
.ruleta-eje:not(:disabled):hover { transform: translate(-50%, -50%) scale(1.05); }
.ruleta-eje:not(:disabled) { animation: late 2.4s ease-in-out infinite; }
.ruleta-eje:disabled { color: rgba(232, 185, 35, 0.45); cursor: default; animation: none; }
@keyframes late { 0%, 70%, 100% { box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5), 0 0 0 0 rgba(232, 185, 35, 0.5); } 85% { box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5), 0 0 0 12px rgba(232, 185, 35, 0); } }

/* Raspadita: un boleto crema impreso, con la ventana plateada. */
.rasp { display: grid; justify-items: center; gap: 4px; width: 100%; }
.rasp-boleto {
  width: min(340px, 88vw); padding: 14px 14px 12px; border-radius: 12px;
  background:
    radial-gradient(circle at 0 50%, transparent 9px, var(--crema) 9.5px) left / 51% 100% no-repeat,
    radial-gradient(circle at 100% 50%, transparent 9px, var(--crema) 9.5px) right / 51% 100% no-repeat;
  color: var(--verde-hondo); box-shadow: var(--sombra); transform: rotate(-1.2deg);
}
.rasp-cabeza { display: flex; justify-content: space-between; align-items: baseline; padding: 0 6px 10px; border-bottom: 1.5px dashed rgba(10, 79, 54, 0.35); font-family: var(--f-impresa); text-transform: uppercase; letter-spacing: 0.06em; }
.rasp-cabeza span:first-child { font-size: 24px; color: var(--verde); }
.rasp-cabeza span:last-child { font-size: 12px; color: var(--amarillo-hondo); }
.rasp-ventana { position: relative; height: 170px; margin-top: 12px; border-radius: 8px; overflow: hidden; background: #fbf8ef; border: 1.5px solid rgba(10, 79, 54, 0.25); }
.rasp-premio { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 8px; padding: 12px; font-family: var(--f-impresa); text-transform: uppercase; font-size: 22px; line-height: 1.1; color: var(--verde-hondo); }
.rasp-premio strong { font-weight: 400; max-width: 16ch; }
.rasp-premio--si { color: var(--grafito); background: repeating-conic-gradient(from 0deg, #f7d968 0 10deg, #f2cc4b 10deg 20deg); }
.rasp-premio .ico { width: 40px; height: 40px; }
.rasp-capa { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; cursor: crosshair; transition: opacity 0.45s var(--salida); }
.rasp-capa.is-destapada { opacity: 0; pointer-events: none; }
.rasp-pie { margin-top: 8px; font-size: 13px; font-weight: 600; color: rgba(10, 79, 54, 0.75); }

/* Cartas: tres, boca abajo. */
.cartas { display: flex; justify-content: center; gap: clamp(10px, 3.5vw, 18px); padding: 20px 0 6px; perspective: 900px; }
.carta { width: clamp(92px, 27vw, 118px); aspect-ratio: 5 / 7.2; border: 0; background: none; padding: 0; border-radius: 10px; transition: transform 0.3s var(--salida), opacity 0.35s; }
.carta:nth-child(1) { transform: rotate(-6deg) translateY(6px); }
.carta:nth-child(3) { transform: rotate(6deg) translateY(6px); }
.carta:not(:disabled):hover { transform: translateY(-8px); }
.carta-in { position: relative; display: block; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform 0.7s var(--salida); }
.carta.is-vuelta { transform: translateY(-10px) scale(1.06); }
.carta.is-vuelta .carta-in { transform: rotateY(180deg); }
.carta.is-apagada { opacity: 0.35; }
.carta-dorso, .carta-cara { position: absolute; inset: 0; border-radius: 10px; backface-visibility: hidden; -webkit-backface-visibility: hidden; box-shadow: 0 10px 18px -8px rgba(0, 0, 0, 0.6); }
.carta-dorso {
  background:
    linear-gradient(var(--verde-hondo), var(--verde-hondo)) center / calc(100% - 14px) calc(100% - 14px) no-repeat,
    repeating-linear-gradient(45deg, rgba(232, 185, 35, 0.55) 0 2px, transparent 2px 9px),
    repeating-linear-gradient(-45deg, rgba(232, 185, 35, 0.55) 0 2px, transparent 2px 9px),
    var(--verde-hondo);
  border: 3px solid var(--crema);
}
.carta-dorso::after { content: "LA3CE"; position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--f-impresa); font-size: 18px; letter-spacing: 0.08em; color: var(--amarillo); }
.carta-cara { display: grid; place-content: center; justify-items: center; gap: 6px; padding: 8px; transform: rotateY(180deg); background: var(--crema); border: 3px solid #fff; color: var(--verde-hondo); font-family: var(--f-impresa); font-size: 15px; line-height: 1.1; text-transform: uppercase; }
.carta-cara strong { font-weight: 400; }
.carta-cara--si { background: var(--amarillo); color: var(--grafito); }
.carta-cara .ico { width: 30px; height: 30px; }
.cartas.is-mezcla .carta { animation: mezcla 0.45s var(--salida); }
@keyframes mezcla { 50% { transform: translateY(-14px) rotate(0); } }

/* --- Estado, resultado y casilla ---------------------------------- */
.mesa-estado { margin-top: 10px; font-size: 15px; color: var(--tinta); }
.mesa-estado strong { color: var(--amarillo-claro); font-size: 17px; }

.resultado { margin: 16px auto 0; max-width: 400px; padding: 18px 18px 16px; border-radius: var(--radio); text-align: center; outline: none; animation: entra 0.5s var(--salida); }
.resultado .btn { margin-top: 14px; }
.resultado--truco { background: rgba(3, 25, 17, 0.4); border: 1.5px solid rgba(242, 236, 220, 0.22); }
.resultado--premio { background: var(--crema); color: var(--grafito); box-shadow: 0 0 0 3px var(--amarillo), var(--sombra); }
.resultado-premio { display: grid; justify-items: center; gap: 4px; }
.resultado-premio .ico { width: 34px; height: 34px; color: var(--verde); }
.resultado-titulo { font-family: var(--f-impresa); font-size: 26px; line-height: 1.1; text-transform: uppercase; letter-spacing: 0.01em; }
.resultado--premio .resultado-titulo { color: var(--verde); }
.resultado-texto { font-size: 17px; }
.resultado-texto strong { font-weight: 700; }
.resultado-cond { font-size: 14.5px; color: #4b5a51; }
.resultado-nota { margin-top: 10px; font-size: 13.5px; color: #4b5a51; }
.resultado--truco .resultado-texto { color: var(--tinta-suave); }
.resultado-demo { display: block; margin: 12px auto 0; font-size: 13px; opacity: 0.8; }

/* Build 61: "Entraste por La 33: los premios se retiran en LA3CE". */
.casilla-aviso { margin-top: 10px; padding: 9px 11px; border-radius: 8px; background: var(--amarillo); color: var(--grafito); font-size: 14px; font-weight: 600; line-height: 1.35; }
.resultado .casilla-aviso { margin: 12px 0 0; text-align: left; }

.mesa-sonido {
  position: absolute; bottom: 22px; right: 22px; z-index: 2; display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid rgba(242, 236, 220, 0.3);
  background: rgba(3, 25, 17, 0.35); color: var(--tinta);
}
.mesa-sonido .ico { width: 20px; height: 20px; }
.mesa-sonido .ico-off, .mesa-sonido.is-off .ico-on { display: none; }
.mesa-sonido.is-off .ico-off { display: block; }

.mesa-aviso { max-width: 30ch; margin: 18px auto 0; font-size: 17px; color: var(--tinta); }
.mesa-edad { margin-top: 18px; padding: 0 52px; font-size: 12.5px; letter-spacing: 0.03em; color: var(--tinta-suave); }
.mesa-edad a { color: var(--tinta); font-weight: 600; white-space: nowrap; text-decoration-color: rgba(232, 185, 35, 0.6); }
.sin-juegos .mesa-edad a { display: none; }

/* El festejo: fichas que caen (no monedas). */
.festejo { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 3; }
.festejo i {
  position: absolute; top: -30px; left: var(--x); width: 22px; height: 22px; border-radius: 50%;
  border: 3px dashed rgba(0, 0, 0, 0.25);
  animation: cae 1.9s cubic-bezier(0.3, 0.6, 0.5, 1) var(--d) forwards;
}
.festejo .f-amarilla { background: var(--amarillo); }
.festejo .f-crema { background: var(--crema); }
.festejo .f-verde { background: var(--verde-claro); border-color: rgba(255, 255, 255, 0.35); }
@keyframes cae { to { transform: translateY(110vh) rotate(var(--g)); } }

/* ================================================================
   ¿QUÉ QUERÉS JUGAR? — servicios por agencia (build 61)
   ================================================================ */
.servicios { background: linear-gradient(#141312, var(--grafito)); padding: 30px var(--gutter) 34px; border-top: 2px solid #050505; scroll-margin-top: 8px; }
.servicios-inner { max-width: 520px; margin: 0 auto; }
.servicios-titulo { font-family: var(--f-impresa); font-weight: 400; font-size: 28px; line-height: 1.05; text-transform: uppercase; color: #fff; }
.servicios-texto { margin-top: 6px; color: var(--tinta-grafito); font-size: 15.5px; }
.servicios-caja { margin-top: 16px; }

.agencia-pregunta { font-weight: 700; font-size: 15px; }
.agencia-opciones { display: grid; gap: 10px; margin-top: 10px; }
.agencia-op {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left;
  padding: 12px 14px; border-radius: 14px; border: 1.5px solid rgba(242, 236, 220, 0.25);
  background: #232220; transition: border-color 0.15s, transform 0.2s var(--salida);
}
.agencia-op:hover { border-color: var(--amarillo); transform: translateY(-2px); }
.agencia-op img { width: 48px; height: 48px; border-radius: 10px; flex: none; }
.agencia-op span { display: grid; }
.agencia-op strong { font-family: var(--f-impresa); font-weight: 400; font-size: 22px; text-transform: uppercase; color: #fff; line-height: 1.1; }
.agencia-op small { font-size: 13.5px; color: var(--tinta-grafito); }

.agencia-elegida { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; font-size: 14px; color: var(--tinta-grafito); }
.agencia-elegida img { width: 32px; height: 32px; border-radius: 7px; }
.agencia-elegida strong { color: #fff; }
.agencia-elegida .btn-link { color: var(--amarillo-claro); font-size: 14px; }

.servicios-lista { list-style: none; display: grid; gap: 10px; margin-top: 14px; }
.servicio {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 64px; padding: 12px 14px 12px 16px; border-radius: 14px; text-decoration: none;
  background-color: var(--verde); background-image: var(--fieltro);
  border: 1.5px solid rgba(242, 236, 220, 0.18);
  transition: border-color 0.15s, transform 0.2s var(--salida);
}
.servicio:hover { border-color: var(--amarillo); transform: translateY(-2px); }
.servicio:active { transform: translateY(1px); }
.servicio-cuerpo { display: grid; gap: 2px; min-width: 0; }
.servicio-cuerpo strong { font-family: var(--f-impresa); font-weight: 400; font-size: 21px; line-height: 1.1; text-transform: uppercase; letter-spacing: 0.01em; color: #fff; }
.servicio-cuerpo small { font-size: 13.5px; line-height: 1.35; color: var(--tinta-suave); }
.servicio-via { flex: none; display: grid; justify-items: center; gap: 2px; width: 74px; font-size: 11.5px; font-weight: 600; line-height: 1.15; text-align: center; color: var(--amarillo-claro); }
.servicio-via .ico { width: 24px; height: 24px; color: var(--amarillo); }
.servicio[data-servicio="betsur"] { background-color: #23303a; }
.registro-modal .servicios-lista { grid-template-columns: 1fr; }
.servicios-caja--ventana { margin-top: 16px; }
.registro-modal .registro-edad { margin-top: 14px; text-align: center; }
.servicios-numero { margin-top: 14px; font-size: 13.5px; color: var(--tinta-grafito); }
.servicios-numero strong { color: var(--tinta); white-space: nowrap; }

/* --- Campos (reclamo) ---------------------------- */
.campo { display: grid; gap: 6px; text-align: left; }
.campo label { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; }
.campo input {
  width: 100%; min-height: 52px; padding: 0 16px; border-radius: 12px;
  border: 1.5px solid rgba(242, 236, 220, 0.28); background: #262523; color: #fff;
  font: inherit; font-size: 16px; caret-color: var(--amarillo);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.campo input::placeholder { color: #9e998c; }
.campo input:focus { outline: none; border-color: var(--amarillo); box-shadow: 0 0 0 3px rgba(232, 185, 35, 0.25); }
.campo input.is-touched:invalid { border-color: #e2795f; }
.campo input[type="date"] { color-scheme: dark; }
.campo-ayuda { font-size: 13px; color: var(--tinta-grafito); }
.campo-par { display: grid; grid-template-columns: 1fr 110px; gap: 12px; }
.form-error { padding: 10px 12px; border-radius: 10px; background: rgba(226, 121, 95, 0.14); color: #ffb9a6; font-size: 14.5px; text-align: left; }

/* ================================================================
   SOMOS DE ACÁ
   ================================================================ */
.somos { background: var(--grafito-2); padding: 46px var(--gutter) 44px; }
.somos-inner { max-width: 880px; margin: 0 auto; }
.somos-cabeza { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: start; }
.somos-cara img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 2px solid var(--amarillo); }
.somos-titulo { font-family: var(--f-impresa); font-weight: 400; text-transform: uppercase; font-size: clamp(28px, 7.4vw, 40px); line-height: 1.02; color: #fff; text-wrap: balance; }
.somos-cita { margin-top: 10px; font-size: 18px; line-height: 1.45; color: var(--tinta); font-style: italic; }
.somos-texto { margin-top: 14px; max-width: 62ch; color: var(--tinta-grafito); }
.somos-texto q { color: var(--tinta); }
.somos-video { margin-top: 22px; }
.somos-sub { margin-top: 34px; font-family: var(--f-impresa); font-weight: 400; font-size: 20px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--amarillo); }

/* Chats: un mazo que se desliza con el dedo, a tamaño natural. */
.chats {
  list-style: none; display: flex; gap: 12px; align-items: flex-start;
  margin: 12px calc(var(--gutter) * -1) 0; padding: 6px var(--gutter) 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--amarillo) transparent;
}
.chats::-webkit-scrollbar { height: 4px; }
.chats::-webkit-scrollbar-thumb { background: var(--amarillo); border-radius: 4px; }
.chats li { flex: none; scroll-snap-align: center; }
/* Ancho natural (341 a 573 px), con techo en el 80% de la pantalla:
   nunca se amplían, así no se pixelan. */
.chats img { width: auto; height: auto; max-width: min(330px, 80vw); border-radius: 12px; box-shadow: 0 8px 16px -8px rgba(0, 0, 0, 0.7); }
.chats li:nth-child(odd) { transform: rotate(-1.2deg); }
.chats li:nth-child(even) { transform: rotate(1deg) translateY(4px); }
.somos-pie { font-size: 13px; color: var(--tinta-grafito); }

.somos-dos { display: grid; gap: 22px; margin-top: 28px; }
.resena { padding: 18px; border-radius: var(--radio); background: var(--crema); color: var(--grafito); }
.resena-estrellas { color: var(--amarillo-hondo); font-size: 20px; letter-spacing: 2px; }
.resena-off { color: #c9c1ab; }
.resena-texto { margin-top: 6px; font-size: 18px; font-weight: 600; }
.resena-autor { margin-top: 6px; font-size: 14px; color: #5b584f; }
.resena-link { display: inline-block; margin-top: 10px; font-weight: 600; color: var(--verde); }
.testimonios { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.testimonios-pie { grid-column: 1 / -1; font-size: 13px; color: var(--tinta-grafito); }

/* Videos (los arma script.js: VIDEOS + [data-video-play]). */
.video-slot { position: relative; overflow: hidden; border-radius: var(--radio); background: #111; box-shadow: var(--sombra); }
.video-slot--play { aspect-ratio: 16 / 9; cursor: pointer; }
.video-slot--vertical { aspect-ratio: 9 / 16; }
.video-slot video, .video-poster { width: 100%; height: 100%; object-fit: cover; }
.video-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  display: grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; border: 0;
  background: var(--amarillo); color: var(--grafito); box-shadow: 0 0 0 8px rgba(232, 185, 35, 0.28), 0 8px 18px rgba(0, 0, 0, 0.5);
}
.video-play svg { width: 32px; height: 32px; fill: currentColor; margin-left: 4px; }
.video-placeholder { display: grid; place-items: center; height: 100%; font-size: 13px; color: var(--tinta-grafito); }

/* ================================================================
   CÓMO FUNCIONA — impreso en el paño
   ================================================================ */
.pasos { padding: 46px var(--gutter) 44px; background-color: var(--verde-hondo); background-image: var(--fieltro); }
.pasos-inner { max-width: 640px; margin: 0 auto; }
.pasos-titulo { font-family: var(--f-impresa); font-weight: 400; text-transform: uppercase; font-size: clamp(28px, 7.4vw, 40px); line-height: 1.02; color: #fff; text-wrap: balance; }
.pasos-lista { list-style: none; counter-reset: paso; margin-top: 22px; display: grid; gap: 0; }
.pasos-lista li { counter-increment: paso; position: relative; padding: 0 0 22px 62px; }
.pasos-lista li::before {
  content: counter(paso); position: absolute; left: 0; top: -4px; display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%; background: var(--crema); color: var(--verde);
  font-family: var(--f-impresa); font-size: 20px; box-shadow: 0 3px 0 #b9b19b;
}
.pasos-lista li:not(:last-child)::after { content: ""; position: absolute; left: 21px; top: 46px; bottom: 4px; border-left: 1.5px dashed rgba(232, 185, 35, 0.55); }
.pasos-lista h3 { font-size: 18px; font-weight: 700; color: #fff; }
.pasos-lista p { margin-top: 4px; color: var(--tinta-suave); }
.pasos-lista strong { color: var(--amarillo-claro); white-space: nowrap; }
.pasos-nota { margin-top: 6px; padding-top: 16px; border-top: 1.5px solid rgba(232, 185, 35, 0.45); font-size: 15.5px; color: var(--tinta); }

/* ================================================================
   DÓNDE ESTAMOS
   ================================================================ */
.donde { background: var(--grafito); padding: 46px var(--gutter) 40px; }
.donde-inner { max-width: 880px; margin: 0 auto; display: grid; gap: 22px; }
.donde-video { border-radius: var(--radio); overflow: hidden; aspect-ratio: 9 / 12; max-height: 520px; background: #111; box-shadow: var(--sombra); }
.donde-video video { width: 100%; height: 100%; object-fit: cover; }
.donde-titulo { font-family: var(--f-impresa); font-weight: 400; text-transform: uppercase; font-size: clamp(28px, 7.4vw, 40px); line-height: 1.02; color: #fff; text-wrap: balance; }
.donde-texto { margin-top: 10px; color: var(--tinta-grafito); }
.donde-dato { margin-top: 6px; font-weight: 600; color: var(--tinta); }
.donde-copy .btn { margin-top: 16px; }
.donde-agencia { margin-top: 22px; font-family: var(--f-impresa); font-weight: 400; font-size: 20px; letter-spacing: 0.02em; text-transform: uppercase; color: var(--amarillo-claro); }
.legal-agencias { display: grid; gap: 4px; margin-top: 8px; }
.legal-agencias .legal-marca { margin-top: 0; }
.donde-local { max-width: 880px; margin: 30px auto 0; }
.donde-local video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radio); background: #111; }
.donde-local figcaption { margin-top: 8px; font-size: 13px; color: var(--tinta-grafito); }

/* ================================================================
   FOOTER LEGAL
   ================================================================ */
.footer { background: #0f0f0f; border-top: 2px solid #050505; padding: 34px var(--gutter) 40px; }
.footer-inner { max-width: 880px; margin: 0 auto; display: grid; gap: 16px; }
.legal-bloque { display: flex; gap: 14px; align-items: flex-start; text-decoration: none; color: var(--tinta); }
.legal-bloque .ico { width: 26px; height: 26px; color: var(--amarillo); margin-top: 2px; }
.legal-sello { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--amarillo); color: var(--amarillo); font-weight: 800; font-size: 15px; }
.legal-titulo { font-weight: 700; }
.legal-texto { font-size: 14px; color: var(--tinta-grafito); }
.legal-numero { font-family: var(--f-impresa); font-size: 24px; letter-spacing: 0.04em; color: #fff; }
.legal-marca { margin-top: 8px; font-weight: 700; color: var(--tinta); }

/* ================================================================
   BARRA FIJA
   ================================================================ */
.barra {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: flex; gap: 10px; align-items: center;
  padding: 18px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(rgba(24, 24, 24, 0), rgba(18, 18, 18, 0.94) 40%);
  transition: transform 0.35s var(--salida), opacity 0.35s;
}
.barra-cta { flex: 1; max-width: 520px; margin-left: auto; }
.barra-wa { flex: none; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; border: 1.5px solid rgba(242, 236, 220, 0.3); background: #222; color: #fff; margin-right: auto; }
.barra.is-oculta, .modal-abierto .barra { transform: translateY(110%); opacity: 0; pointer-events: none; }
/* Lugar para que la barra no tape lo último de cada sección. */
main { padding-bottom: 0; }
.footer { padding-bottom: calc(40px + 70px); }

/* ================================================================
   MODAL DE REGISTRO
   ================================================================ */
.registro-modal { position: fixed; inset: 0; z-index: 60; display: none; }
.registro-modal.is-open { display: block; }
.registro-fondo { position: absolute; inset: 0; background: rgba(5, 10, 8, 0.72); animation: aparece 0.25s ease-out; }
@keyframes aparece { from { opacity: 0; } }
.registro-panel {
  position: absolute; left: 0; right: 0; bottom: 0; max-height: 94svh; overflow-y: auto; overscroll-behavior: contain;
  padding: 22px var(--gutter) calc(22px + env(safe-area-inset-bottom));
  background: var(--grafito); border-radius: 22px 22px 0 0;
  box-shadow: 0 -12px 30px rgba(0, 0, 0, 0.5);
  animation: sube 0.4s var(--salida);
}
@keyframes sube { from { transform: translateY(40px); opacity: 0; } }
.registro-cerrar { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 0; background: #2a2927; color: var(--tinta); }
.registro-premio { display: flex; gap: 12px; align-items: center; margin: 0 48px 16px 0; padding: 12px 14px; border-radius: 12px; background: var(--amarillo); color: var(--grafito); }
.registro-premio .ico { width: 28px; height: 28px; }
.registro-premio p { display: grid; font-size: 14px; line-height: 1.3; }
.registro-premio strong { font-size: 16px; }
.registro-titulo { font-family: var(--f-impresa); font-weight: 400; text-transform: uppercase; font-size: 30px; line-height: 1.05; color: #fff; padding-right: 48px; }
.registro-intro { margin-top: 6px; color: var(--tinta-grafito); }

.registro-premio span { font-size: 13px; }
.reclamo-form { display: grid; gap: 14px; margin-top: 18px; }
.campo-par { grid-template-columns: 1fr 1fr; }
.agencia-elegir { border: 0; display: grid; gap: 8px; }
.agencia-elegir legend { margin-bottom: 8px; font-size: 14px; font-weight: 600; }
.agencia-radios { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.agencia-radio { position: relative; display: block; cursor: pointer; }
.agencia-radio input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.agencia-radio span {
  display: grid; gap: 2px; min-height: 64px; padding: 10px 12px; border-radius: 12px;
  border: 1.5px solid rgba(242, 236, 220, 0.28); background: #262523; font-size: 13px; color: var(--tinta-grafito);
}
.agencia-radio strong { font-family: var(--f-impresa); font-weight: 400; font-size: 20px; text-transform: uppercase; color: #fff; }
.agencia-radio input:checked + span { border-color: var(--amarillo); box-shadow: 0 0 0 3px rgba(232, 185, 35, 0.25); }
.agencia-radio input:focus-visible + span { outline: 3px solid var(--amarillo); outline-offset: 2px; }
.agencia-radio input.is-touched:invalid + span { border-color: #e2795f; }
.check { display: flex; align-items: center; gap: 12px; min-height: 48px; font-weight: 600; cursor: pointer; }
.check input { width: 24px; height: 24px; flex: none; accent-color: var(--amarillo); }
.check input.is-touched:invalid { outline: 2px solid #e2795f; outline-offset: 2px; }
.registro-nota { font-size: 13.5px; color: var(--tinta-grafito); text-align: center; }
.registro-acciones { display: grid; gap: 10px; margin-top: 4px; justify-items: center; }
.registro-edad { font-size: 12.5px; color: var(--tinta-grafito); }
.form-error { margin-top: 0; }

/* ================================================================
   GRACIAS (build 61): premio reservado + servicios
   ================================================================ */
.gracias { padding: 34px var(--gutter) 30px; background-color: var(--verde); background-image: var(--fieltro); text-align: center; }
.gracias-inner { max-width: 480px; margin: 0 auto; }
.gracias-pill { display: inline-block; padding: 5px 12px; border-radius: 999px; background: rgba(5, 10, 8, 0.35); font-size: 13px; font-weight: 600; color: var(--tinta-suave); }
.gracias-titulo { margin-top: 12px; font-family: var(--f-impresa); font-weight: 400; font-size: clamp(34px, 9vw, 46px); line-height: 1.02; text-transform: uppercase; color: #fff; }
.gracias-titulo em { font-style: normal; color: var(--amarillo); }
.gracias-premio { margin-top: 18px; padding: 16px; border-radius: 14px; background: var(--grafito); text-align: left; display: grid; gap: 12px; }
.gracias-premio-fila { display: flex; gap: 12px; align-items: center; }
.gracias-premio-fila .ico { width: 32px; height: 32px; color: var(--amarillo); }
.gracias-premio-fila p { display: grid; line-height: 1.3; }
.gracias-premio-fila span { font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--tinta-grafito); }
.gracias-premio-fila strong { font-size: 18px; color: #fff; }
.gracias-premio-fila small { font-size: 14px; color: var(--amarillo-claro); }
.gracias-texto { margin-top: 10px; color: var(--tinta-suave); }

/* ================================================================
   PANTALLAS ANCHAS
   ================================================================ */
@media (min-width: 900px) {
  :root { --gutter: 32px; }
  .mesa { padding-top: 34px; padding-bottom: 48px; }
  .mesa-marco { inset: 18px max(18px, calc(50% - 470px)); }
  .mesa-sonido { bottom: 34px; right: max(34px, calc(50% - 450px)); }
  /* Build 62 (Wiltter, 11/11): en escritorio también va en una columna,
     con la ruleta en el medio y "Te quedan N jugadas" y el resultado
     debajo (antes: dos columnas, con lo que se lee a la derecha). */
  .mesa-juegos { max-width: 440px; margin-top: 18px; }
  .mesa-estado { font-size: 17px; }
  .ruleta { width: 340px; }
  .mesa-titulo { font-size: 21px; max-width: none; }
  .somos-dos { grid-template-columns: 1fr 1fr; align-items: start; }
  .donde-inner { grid-template-columns: 340px 1fr; align-items: center; gap: 40px; }
  .servicios-inner { max-width: 760px; }
  .servicios-lista { grid-template-columns: 1fr 1fr; }
  .registro-panel { left: 50%; right: auto; bottom: auto; top: 50%; width: 480px; max-height: 92vh; transform: translate(-50%, -50%); border-radius: 22px; animation: none; }
  .barra { background: linear-gradient(rgba(24, 24, 24, 0), rgba(18, 18, 18, 0.9) 50%); }
  .barra-cta { flex: 0 1 380px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
