@charset "UTF-8";
/* ==========================================================================
   Atlantic City App — hoja de estilos principal
   Orden: tokens · base · layout · tipografía · componentes · secciones · utilidades
   ========================================================================== */

/* --------------------------------------------------------------- 1. Tokens */
:root {
  /* superficies */
  --ink-900: #080a10;
  --ink-850: #0b0e15;
  --ink-800: #10141d;
  --ink-750: #151a25;
  --ink-700: #1b2130;
  --ink-600: #232b3d;
  --line: rgba(255, 255, 255, .085);
  --line-strong: rgba(255, 255, 255, .16);

  /* acentos */
  --gold-300: #f6d98c;
  --gold-400: #efc667;
  --gold-500: #e8b64b;
  --gold-600: #c8952c;
  --gold-700: #8f6817;
  --jade-300: #6ee7c2;
  --jade-400: #35cfa4;
  --jade-500: #18a37e;
  --jade-700: #0d5f4a;
  --ember: #e36a4b;
  --alert: #d9534f;

  /* texto */
  --fg: #e6e9f0;
  --fg-strong: #f7f3ea;
  --fg-muted: #98a3b8;
  --fg-dim: #808da3;
  --on-gold: #17120a;

  /* tipografía */
  --font-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --fs-eyebrow: .75rem;
  --fs-small: .875rem;
  --fs-body: 1.0rem;
  --fs-lead: clamp(1.05rem, .98rem + .35vw, 1.25rem);
  --fs-h3: clamp(1.15rem, 1.05rem + .5vw, 1.45rem);
  --fs-h2: clamp(1.55rem, 1.3rem + 1.2vw, 2.4rem);
  --fs-h1: clamp(2rem, 1.5rem + 2.4vw, 3.5rem);

  /* espaciado y formas */
  --gutter: clamp(1rem, .55rem + 2vw, 2rem);
  --shell: 1200px;
  --shell-narrow: 780px;
  --section-y: clamp(3.25rem, 2rem + 5vw, 6.5rem);
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;

  /* efectos */
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, .35);
  --shadow-md: 0 18px 40px -22px rgba(0, 0, 0, .9);
  --shadow-gold: 0 14px 34px -16px rgba(232, 182, 75, .55);
  --glass: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .015));
  --ease: cubic-bezier(.22, .68, .36, 1);

  color-scheme: dark;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background-color: var(--ink-900);
  background-image:
    radial-gradient(1100px 520px at 82% -8%, rgba(232, 182, 75, .11), transparent 62%),
    radial-gradient(760px 480px at 6% 4%, rgba(24, 163, 126, .10), transparent 58%);
  background-repeat: no-repeat;
  color: var(--fg);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.68;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img,
svg,
picture { display: block; max-width: 100%; }

img { height: auto; }

a {
  color: var(--gold-400);
  text-decoration-color: rgba(232, 182, 75, .35);
  text-underline-offset: .18em;
  transition: color .18s var(--ease), text-decoration-color .18s var(--ease);
}

a:hover { color: var(--gold-300); text-decoration-color: currentColor; }

:focus-visible {
  outline: 2px solid var(--jade-300);
  outline-offset: 3px;
  border-radius: 4px;
}

button { font: inherit; color: inherit; }

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2.5rem 0;
}

::selection { background: rgba(232, 182, 75, .28); color: #fff; }

.skip-link {
  position: absolute;
  left: 50%;
  top: -100px;
  transform: translateX(-50%);
  z-index: 200;
  padding: .7rem 1.25rem;
  background: var(--gold-500);
  color: var(--on-gold);
  font-weight: 600;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  transition: top .2s var(--ease);
}

.skip-link:focus { top: 0; color: var(--on-gold); }

/* --------------------------------------------------------------- 3. Layout */
.shell {
  width: min(100% - (var(--gutter) * 2), var(--shell));
  margin-inline: auto;
}

.shell--narrow { width: min(100% - (var(--gutter) * 2), var(--shell-narrow)); }

.band { padding-block: var(--section-y); position: relative; }

.band--tight { padding-block: clamp(2.25rem, 1.5rem + 3vw, 4rem); }

.band--sunk {
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .34) 18%, rgba(0, 0, 0, .34) 82%, transparent);
}

.band--ruled { border-top: 1px solid var(--line); }

.grid { display: grid; gap: clamp(1rem, .6rem + 1.4vw, 1.75rem); }

.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: repeat(2, 1fr); }

@media (min-width: 720px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1000px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

/* Split editorial: texto + media, proporción desigual a propósito */
.split {
  display: grid;
  gap: clamp(1.5rem, 1rem + 3vw, 3.5rem);
  align-items: center;
}

@media (min-width: 900px) {
  .split { grid-template-columns: 1.05fr .95fr; }
  .split--wide-media { grid-template-columns: .85fr 1.15fr; }
  .split--flip > *:first-child { order: 2; }
}

/* ----------------------------------------------------------- 4. Tipografía */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--fg-strong);
  line-height: 1.12;
  letter-spacing: -.018em;
  margin: 0 0 .6em;
  text-wrap: balance;
}

h1 { font-size: var(--fs-h1); font-weight: 700; }
h2 { font-size: var(--fs-h2); font-weight: 650; }
h3 { font-size: var(--fs-h3); font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; letter-spacing: -.01em; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.prose > * + h2 { margin-top: 2.4em; }
.prose > * + h3 { margin-top: 1.9em; }
.prose p { max-width: 68ch; }
.prose ul, .prose ol { max-width: 66ch; padding-left: 1.2rem; margin: 0 0 1.3em; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--gold-600); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin: 0 0 .85rem;
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-400);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-600), transparent);
  flex: none;
}

.eyebrow--jade { color: var(--jade-300); }
.eyebrow--jade::before { background: linear-gradient(90deg, var(--jade-500), transparent); }

.lead {
  font-size: var(--fs-lead);
  color: var(--fg);
  max-width: 62ch;
}

.muted { color: var(--fg-muted); }
.small { font-size: var(--fs-small); }
.dim { color: var(--fg-dim); font-size: var(--fs-small); }

.gold-text {
  background: linear-gradient(96deg, var(--gold-300), var(--gold-500) 55%, var(--gold-600));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-head { max-width: 62ch; margin-bottom: clamp(1.75rem, 1rem + 2vw, 2.75rem); }
.section-head--wide { max-width: 78ch; }

.section-head--row {
  max-width: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: flex-end;
  justify-content: space-between;
}

/* ----------------------------------------------------------- 5. Componentes */
/* 5.1 Botones */
.btn {
  --btn-bg: var(--gold-500);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .85rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 11px;
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .005em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .22s var(--ease),
              background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: linear-gradient(168deg, var(--gold-400), var(--gold-600));
  color: var(--on-gold);
  box-shadow: var(--shadow-gold), inset 0 1px 0 rgba(255, 255, 255, .42);
}

.btn--primary:hover {
  color: var(--on-gold);
  box-shadow: 0 20px 44px -16px rgba(232, 182, 75, .72), inset 0 1px 0 rgba(255, 255, 255, .55);
}

.btn--ghost {
  background: rgba(255, 255, 255, .03);
  border-color: var(--line-strong);
  color: var(--fg-strong);
}

.btn--ghost:hover { border-color: var(--gold-500); color: var(--gold-300); background: rgba(232, 182, 75, .07); }

.btn--jade {
  background: rgba(24, 163, 126, .12);
  border-color: rgba(53, 207, 164, .42);
  color: var(--jade-300);
}

.btn--jade:hover { background: rgba(24, 163, 126, .2); color: var(--jade-300); border-color: var(--jade-400); }

.btn--lg { padding: 1.05rem 2rem; font-size: 1.02rem; }
.btn--sm { padding: .55rem 1rem; font-size: .85rem; border-radius: 9px; }
.btn--block { width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  align-items: center;
}

.btn .arrow { transition: transform .22s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* 5.2 Tarjetas */
.card {
  position: relative;
  padding: clamp(1.25rem, 1rem + .8vw, 1.85rem);
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  transition: border-color .22s var(--ease), transform .22s var(--ease), background-color .22s var(--ease);
}

.card:hover { border-color: rgba(232, 182, 75, .3); }

.card h3 { margin-bottom: .45em; }
.card p:last-child { margin-bottom: 0; }

.card--flat { box-shadow: none; background: rgba(255, 255, 255, .025); }
.card--jade { border-color: rgba(53, 207, 164, .22); background: linear-gradient(180deg, rgba(24, 163, 126, .10), rgba(24, 163, 126, .02)); }
.card--gold { border-color: rgba(232, 182, 75, .28); background: linear-gradient(180deg, rgba(232, 182, 75, .10), rgba(232, 182, 75, .02)); }
.card--glass { backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); background: rgba(16, 20, 29, .6); }

.card__index {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(232, 182, 75, .28);
  margin-bottom: .5rem;
}

.card-link { text-decoration: none; color: inherit; display: block; }
.card-link:hover { color: inherit; }
.card-link:hover .card { transform: translateY(-4px); }

/* 5.3 Píldoras y etiquetas */
.pill {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .28rem .7rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--fg-muted);
  background: rgba(255, 255, 255, .03);
}

.pill--gold { color: var(--gold-300); border-color: rgba(232, 182, 75, .38); background: rgba(232, 182, 75, .09); }
.pill--jade { color: var(--jade-300); border-color: rgba(53, 207, 164, .34); background: rgba(24, 163, 126, .1); }
.pill--ember { color: #f0a58c; border-color: rgba(227, 106, 75, .36); background: rgba(227, 106, 75, .1); }

.pill-row { display: flex; flex-wrap: wrap; gap: .5rem; }

/* 5.4 Tablas */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(11, 14, 21, .7);
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: .94rem;
}

caption {
  caption-side: top;
  padding: .9rem 1.1rem;
  text-align: left;
  font-size: var(--fs-small);
  color: var(--fg-muted);
  border-bottom: 1px solid var(--line);
}

th, td {
  padding: .8rem 1.05rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

thead th {
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--gold-300);
  background: rgba(232, 182, 75, .06);
  white-space: nowrap;
}

tbody tr:nth-child(even) { background: rgba(255, 255, 255, .017); }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
tbody th { font-weight: 600; color: var(--fg-strong); }

td.num, th.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
td.yes { color: var(--jade-300); font-weight: 600; }
td.no { color: #ef9a8a; font-weight: 600; }

.table-note { margin-top: .75rem; font-size: var(--fs-small); color: var(--fg-dim); }

/* 5.5 FAQ */
.faq { display: grid; gap: .7rem; }

.faq details {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .025);
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}

.faq details[open] { border-color: rgba(232, 182, 75, .3); background: rgba(232, 182, 75, .045); }

.faq summary {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.05rem 1.25rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--fg-strong);
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "";
  flex: none;
  width: 13px;
  height: 13px;
  margin-top: .42rem;
  margin-left: auto;
  background: currentColor;
  color: var(--gold-500);
  clip-path: polygon(44% 0, 56% 0, 56% 44%, 100% 44%, 100% 56%, 56% 56%, 56% 100%, 44% 100%, 44% 56%, 0 56%, 0 44%, 44% 44%);
  transition: transform .25s var(--ease);
}

.faq details[open] summary::after { transform: rotate(135deg); }

.faq .faq__body {
  padding: 0 1.25rem 1.2rem;
  color: var(--fg-muted);
}

.faq .faq__body p { max-width: 74ch; }

/* 5.6 Medidores (RTP, volatilidad) */
.meter { margin-bottom: 1.15rem; }
.meter:last-child { margin-bottom: 0; }

.meter__head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: var(--fs-small);
  margin-bottom: .45rem;
}

.meter__label { color: var(--fg-muted); }
.meter__value { font-family: var(--font-display); font-weight: 600; color: var(--fg-strong); font-variant-numeric: tabular-nums; }

.meter__track {
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  overflow: hidden;
}

.meter__fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold-600), var(--gold-400));
  width: 0;
  transition: width 1.1s var(--ease);
}

.meter__fill--jade { background: linear-gradient(90deg, var(--jade-500), var(--jade-300)); }
.meter__fill--ember { background: linear-gradient(90deg, #a5452b, var(--ember)); }

/* 5.7 Listas con marca */
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }

.ticks li {
  position: relative;
  padding-left: 1.85rem;
  color: var(--fg);
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .44em;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  background: rgba(24, 163, 126, .18);
  border: 1px solid rgba(53, 207, 164, .5);
}

.ticks li::after {
  content: "";
  position: absolute;
  left: .33rem;
  top: .72em;
  width: .38rem;
  height: .2rem;
  border-left: 2px solid var(--jade-300);
  border-bottom: 2px solid var(--jade-300);
  transform: rotate(-45deg);
}

.crosses { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }

.crosses li { position: relative; padding-left: 1.85rem; color: var(--fg); }

.crosses li::before {
  content: "×";
  position: absolute;
  left: 0;
  top: -.06em;
  width: 1.05rem;
  height: 1.05rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: .85rem;
  font-weight: 700;
  color: #f0a58c;
  background: rgba(227, 106, 75, .14);
  border: 1px solid rgba(227, 106, 75, .42);
}

/* 5.8 Figuras */
figure { margin: 0; }

.figure {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ink-800);
  box-shadow: var(--shadow-md);
}

.figure img { width: 100%; }

.figure figcaption {
  padding: .8rem 1.1rem;
  font-size: var(--fs-small);
  color: var(--fg-dim);
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, .3);
}

.figure--tilt { transform: rotate(-1.2deg); }
.figure--tilt:hover { transform: rotate(0); transition: transform .4s var(--ease); }

.media-frame {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .95);
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(8, 10, 16, .82));
  pointer-events: none;
}

.media-frame img { width: 100%; }

.media-frame__tag {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 2;
}

/* 5.9 Definiciones (GEO) */
.defbox {
  border-left: 3px solid var(--gold-500);
  padding: 1.1rem 1.35rem;
  background: linear-gradient(90deg, rgba(232, 182, 75, .08), transparent 70%);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  margin: 1.75rem 0;
}

.defbox dt {
  font-family: var(--font-display);
  font-weight: 650;
  color: var(--fg-strong);
  margin-bottom: .3rem;
}

.defbox dd { margin: 0 0 1rem; color: var(--fg-muted); max-width: 70ch; }
.defbox dd:last-child { margin-bottom: 0; }

.callout {
  padding: 1.15rem 1.4rem;
  border-radius: var(--r-md);
  border: 1px solid rgba(53, 207, 164, .28);
  background: rgba(24, 163, 126, .08);
  margin: 1.75rem 0;
}

.callout--warn { border-color: rgba(227, 106, 75, .32); background: rgba(227, 106, 75, .08); }
.callout--gold { border-color: rgba(232, 182, 75, .3); background: rgba(232, 182, 75, .07); }

.callout__title {
  font-family: var(--font-display);
  font-weight: 650;
  color: var(--fg-strong);
  margin-bottom: .35rem;
  font-size: 1rem;
}

.pullquote {
  margin: 2.25rem 0;
  padding-left: 1.4rem;
  border-left: 2px solid var(--jade-400);
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1rem + .6vw, 1.45rem);
  line-height: 1.4;
  color: var(--fg-strong);
  font-weight: 500;
}

.pullquote cite { display: block; margin-top: .7rem; font-size: .85rem; font-style: normal; color: var(--fg-dim); font-family: var(--font-body); }

/* -------------------------------------------------------- 6. Cabecera / nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 10, 16, .82);
  backdrop-filter: blur(16px) saturate(130%);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s var(--ease), background-color .25s var(--ease);
}

.site-header[data-scrolled="true"] { box-shadow: 0 12px 30px -20px rgba(0, 0, 0, 1); background: rgba(8, 10, 16, .94); }

.masthead {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  min-height: 70px;
}

.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; flex: none; }
.brand img { width: 148px; height: 41px; }
.brand:hover { opacity: .88; }

.primary-nav { margin-left: auto; display: none; }

@media (min-width: 1060px) { .primary-nav { display: block; } }

/* Selector de hijo directo a propósito: con `.primary-nav ul` esta regla
   también alcanzaba a `.nav-menu__grid` (un ul anidado) y su display:flex
   ganaba en especificidad al display:grid del panel, que quedaba en una
   única fila de 11 columnas y desbordaba el viewport. */
.primary-nav > ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: .2rem;
  margin: 0;
  padding: 0;
}

.nav-link,
.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .55rem .78rem;
  border: 0;
  border-radius: 9px;
  background: none;
  font-size: .93rem;
  font-weight: 500;
  color: var(--fg);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: color .18s var(--ease), background-color .18s var(--ease);
}

.nav-link:hover,
.nav-toggle:hover { color: var(--gold-300); background: rgba(255, 255, 255, .05); }

.nav-link[aria-current="page"] { color: var(--gold-400); }
.nav-link[aria-current="page"]::after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold-500);
}

.nav-toggle svg { transition: transform .22s var(--ease); }
.nav-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-toggle[aria-expanded="true"] { color: var(--gold-300); }

/* El panel se ancla al contenedor de la cabecera, no al botón: centrado sobre
   el botón se salía del viewport por la izquierda en pantallas de 1060-1280px
   (no hay forma en CSS de limitar contra el borde un elemento centrado).
   Anclado al shell nunca desborda y queda alineado con la rejilla del sitio. */
.masthead { position: relative; }
.has-menu { position: static; }

.nav-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  right: 0;
  width: auto;
  padding: 1.15rem;
  background: rgba(13, 17, 25, .97);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  box-shadow: 0 32px 70px -30px rgba(0, 0, 0, 1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}

/* Puente invisible sobre el hueco de 12px que separa el botón del panel:
   sin él, el cursor sale de .has-menu al bajar y el menú se cierra solo. */
.nav-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -14px;
  height: 14px;
}

.has-menu[data-open="true"] .nav-menu { opacity: 1; visibility: visible; transform: translateY(0); }

.nav-menu__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .15rem .4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (max-width: 1199px) {
  .nav-menu__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.nav-menu__grid a {
  display: block;
  padding: .55rem .7rem;
  border-radius: 9px;
  font-size: .9rem;
  color: var(--fg);
  text-decoration: none;
  transition: background-color .16s var(--ease), color .16s var(--ease);
}

.nav-menu__grid a:hover { background: rgba(232, 182, 75, .1); color: var(--gold-300); }
.nav-menu__grid small { display: block; color: var(--fg-dim); font-size: .76rem; line-height: 1.4; }

.nav-menu__foot {
  margin-top: .8rem;
  padding-top: .8rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: .85rem;
}

.header-cta { margin-left: auto; display: flex; align-items: center; gap: .6rem; }

@media (min-width: 1060px) { .header-cta { margin-left: 1rem; } }

.header-cta .btn--ghost { display: none; }
@media (min-width: 640px) { .header-cta .btn--ghost { display: inline-flex; } }

/* flex-column, no grid: las filas de un grid se estiran y las barras
   no llegarían a superponerse al formar la X */
.burger {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: rgba(255, 255, 255, .03);
  cursor: pointer;
}

@media (min-width: 1060px) { .burger { display: none; } }

.burger span {
  display: block;
  width: 17px;
  height: 1.5px;
  background: var(--fg-strong);
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}

.burger span + span { margin-top: 4px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* Cajón móvil */
.drawer {
  position: fixed;
  inset: 70px 0 0;
  z-index: 99;
  background: rgba(8, 10, 16, .98);
  backdrop-filter: blur(10px);
  overflow-y: auto;
  padding: 1.5rem var(--gutter) 3rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity .24s var(--ease), transform .24s var(--ease), visibility .24s;
}

.drawer[data-open="true"] { opacity: 1; visibility: visible; transform: translateY(0); }

@media (min-width: 1060px) { .drawer { display: none; } }

.drawer nav > a,
.drawer summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .95rem .25rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--fg-strong);
  text-decoration: none;
  cursor: pointer;
  list-style: none;
}

.drawer summary::-webkit-details-marker { display: none; }
.drawer summary::after { content: "+"; color: var(--gold-500); font-size: 1.3rem; line-height: 1; }
.drawer details[open] summary::after { content: "−"; }

.drawer details ul {
  list-style: none;
  margin: 0;
  padding: .6rem 0 1rem .25rem;
  display: grid;
  gap: .1rem;
}

.drawer details ul a {
  display: block;
  padding: .5rem .6rem;
  border-radius: 8px;
  color: var(--fg-muted);
  font-size: .95rem;
  text-decoration: none;
}

.drawer details ul a:hover { background: rgba(255, 255, 255, .05); color: var(--gold-300); }

.drawer__cta { margin-top: 1.75rem; display: grid; gap: .7rem; }

body[data-locked="true"] { overflow: hidden; }

/* --------------------------------------------------------- 7. Migas de pan */
.crumbs { padding-top: 1.1rem; }

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .3rem .55rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: .82rem;
  color: var(--fg-dim);
}

.crumbs li { display: flex; align-items: center; gap: .55rem; }
.crumbs li + li::before { content: "/"; color: rgba(255, 255, 255, .22); }
.crumbs a { color: var(--fg-muted); text-decoration: none; }
.crumbs a:hover { color: var(--gold-300); }
.crumbs [aria-current="page"] { color: var(--fg-muted); }

/* ------------------------------------------------------------- 8. Secciones */
/* 8.1 Hero principal */
.hero { position: relative; padding-block: clamp(2.5rem, 1.5rem + 5vw, 5.5rem) clamp(3rem, 2rem + 4vw, 5rem); overflow: hidden; }

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .028) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(70% 62% at 50% 34%, #000 25%, transparent 78%);
  -webkit-mask-image: radial-gradient(70% 62% at 50% 34%, #000 25%, transparent 78%);
  pointer-events: none;
}

.hero > * { position: relative; }

.hero__title { margin-bottom: .55em; }
.hero__lead { margin-bottom: 1.9rem; }

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.4rem;
  margin-top: 2rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
  font-size: var(--fs-small);
  color: var(--fg-dim);
}

.hero-visual { position: relative; }

.hero-visual__badge {
  position: absolute;
  z-index: 3;
  padding: .85rem 1.1rem;
  border-radius: var(--r-md);
  background: rgba(11, 14, 21, .88);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
}

.hero-visual__badge b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--gold-300);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.hero-visual__badge span { font-size: .75rem; color: var(--fg-muted); letter-spacing: .04em; text-transform: uppercase; }

.hero-visual__badge--tl { top: -14px; left: -14px; }
.hero-visual__badge--br { right: -14px; bottom: -18px; }

@media (max-width: 620px) {
  .hero-visual__badge--tl { top: -10px; left: -6px; }
  .hero-visual__badge--br { right: -6px; bottom: -12px; }
  .hero-visual__badge { padding: .6rem .8rem; }
  .hero-visual__badge b { font-size: 1.1rem; }
}

/* 8.2 Cinta de estadísticas */
.statstrip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}

@media (min-width: 860px) { .statstrip { grid-template-columns: repeat(4, 1fr); } }

.statstrip > div { padding: 1.4rem 1.25rem; background: rgba(11, 14, 21, .88); }

.statstrip dt { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-dim); margin-bottom: .35rem; }

.statstrip dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2.05rem);
  font-weight: 700;
  color: var(--fg-strong);
  font-variant-numeric: tabular-nums;
  line-height: 1.05;
}

.statstrip dd small { display: block; margin-top: .35rem; font-family: var(--font-body); font-size: .8rem; font-weight: 400; color: var(--fg-muted); letter-spacing: 0; }

/* 8.3 Rejilla de juegos */
.game-grid { display: grid; gap: clamp(.9rem, .6rem + 1vw, 1.4rem); grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); }

.game-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--ink-800);
  text-decoration: none;
  color: inherit;
  transition: transform .26s var(--ease), border-color .26s var(--ease), box-shadow .26s var(--ease);
}

.game-card:hover {
  transform: translateY(-5px);
  border-color: rgba(232, 182, 75, .45);
  box-shadow: 0 26px 48px -26px rgba(0, 0, 0, 1);
  color: inherit;
}

.game-card__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink-750); }

.game-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.game-card:hover .game-card__media img { transform: scale(1.055); }

.game-card__flag {
  position: absolute;
  top: .6rem;
  left: .6rem;
  z-index: 2;
  padding: .22rem .6rem;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  background: rgba(8, 10, 16, .85);
  border: 1px solid var(--line-strong);
  color: var(--gold-300);
  backdrop-filter: blur(6px);
}

.game-card__body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }

.game-card__title { font-family: var(--font-display); font-size: 1.05rem; font-weight: 650; color: var(--fg-strong); margin: 0; letter-spacing: -.01em; }

.game-card__desc { font-size: .87rem; color: var(--fg-muted); margin: 0; line-height: 1.55; }

.game-card__facts {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem 1.1rem;
  margin-top: auto;
  padding-top: .8rem;
  border-top: 1px solid var(--line);
  font-size: .78rem;
  color: var(--fg-dim);
}

.game-card__facts > span { min-width: max-content; }

.game-card__facts b { display: block; color: var(--fg-strong); font-family: var(--font-display); font-size: .95rem; font-variant-numeric: tabular-nums; }

/* Primera tarjeta destacada: rompe el patrón de rejilla */
.game-grid .game-card--feature { grid-column: span 1; }

@media (min-width: 880px) {
  .game-grid .game-card--feature { grid-column: span 2; flex-direction: row; }
  .game-grid .game-card--feature .game-card__media { aspect-ratio: auto; width: 52%; flex: none; }
  .game-grid .game-card--feature .game-card__body { padding: 1.5rem 1.6rem; justify-content: center; }
  .game-grid .game-card--feature .game-card__title { font-size: 1.4rem; }
  .game-grid .game-card--feature .game-card__desc { font-size: .95rem; }
}

/* 8.4 Filtros */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.filter-chip {
  padding: .48rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, .03);
  color: var(--fg-muted);
  font-size: .85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all .18s var(--ease);
}

.filter-chip:hover { color: var(--fg-strong); border-color: var(--line-strong); }

.filter-chip[aria-pressed="true"] {
  background: linear-gradient(168deg, var(--gold-400), var(--gold-600));
  border-color: transparent;
  color: var(--on-gold);
  font-weight: 600;
}

.filter-empty { padding: 2.5rem 0; color: var(--fg-muted); text-align: center; }

/* 8.5 Pasos numerados */
.steps { counter-reset: step; display: grid; gap: 0; }

.steps__item {
  counter-increment: step;
  position: relative;
  padding: 0 0 2rem 3.6rem;
  border-left: 1px solid var(--line);
  margin-left: 1.05rem;
}

.steps__item:last-child { border-left-color: transparent; padding-bottom: 0; }

.steps__item::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: -1.05rem;
  top: -.2rem;
  width: 2.1rem;
  height: 2.1rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink-850);
  border: 1px solid rgba(232, 182, 75, .42);
  color: var(--gold-400);
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 700;
}

.steps__item h3 { margin-bottom: .35em; }
.steps__item p { color: var(--fg-muted); max-width: 64ch; }

/* 8.6 Ventajas / desventajas */
.verdict { display: grid; gap: clamp(1rem, .6rem + 1.4vw, 1.6rem); }

@media (min-width: 820px) { .verdict { grid-template-columns: repeat(2, 1fr); } }

.verdict__panel { padding: clamp(1.25rem, 1rem + .8vw, 1.9rem); border-radius: var(--r-md); border: 1px solid var(--line); }

.verdict__panel--pro { background: linear-gradient(180deg, rgba(24, 163, 126, .11), rgba(24, 163, 126, .02)); border-color: rgba(53, 207, 164, .26); }
.verdict__panel--con { background: linear-gradient(180deg, rgba(227, 106, 75, .1), rgba(227, 106, 75, .02)); border-color: rgba(227, 106, 75, .24); }

.verdict__panel h3 { display: flex; align-items: center; gap: .6rem; margin-bottom: 1rem; font-size: 1.1rem; }

/* 8.7 Opiniones */
.reviews { display: grid; gap: clamp(1rem, .6rem + 1.2vw, 1.5rem); }

@media (min-width: 760px) { .reviews { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .reviews { grid-template-columns: repeat(3, 1fr); } }

.review {
  display: flex;
  flex-direction: column;
  gap: .9rem;
  padding: 1.5rem;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--glass);
}

/* alturas escalonadas: evita la cuadrícula perfecta */
@media (min-width: 1080px) {
  .review:nth-child(3n+2) { margin-top: 1.75rem; }
  .review:nth-child(3n) { margin-top: .85rem; }
}

.review__stars { display: flex; gap: .15rem; color: var(--gold-400); font-size: .95rem; letter-spacing: .05em; }

.review blockquote { margin: 0; color: var(--fg); font-size: .96rem; line-height: 1.65; }

.review figcaption { margin-top: auto; display: flex; align-items: center; gap: .7rem; padding-top: .5rem; }

.review__avatar {
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .9rem;
  color: var(--on-gold);
  background: linear-gradient(150deg, var(--gold-300), var(--gold-600));
}

.review__avatar--jade { background: linear-gradient(150deg, var(--jade-300), var(--jade-500)); color: #04211a; }
.review__avatar--ink { background: linear-gradient(150deg, #7d8ba5, #3c4761); color: #fff; }

.review__who { font-size: .88rem; color: var(--fg-strong); font-weight: 600; }
.review__where { font-size: .78rem; color: var(--fg-dim); }

/* 8.8 Actividad en vivo */
.activity {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(11, 14, 21, .8);
  overflow: hidden;
}

.activity__head {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .85rem 1.15rem;
  border-bottom: 1px solid var(--line);
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.dot-live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--jade-400);
  box-shadow: 0 0 0 0 rgba(53, 207, 164, .6);
  animation: pulse 2.4s infinite;
}

@keyframes pulse {
  70% { box-shadow: 0 0 0 9px rgba(53, 207, 164, 0); }
  100% { box-shadow: 0 0 0 0 rgba(53, 207, 164, 0); }
}

.activity__list { list-style: none; margin: 0; padding: .4rem; display: grid; gap: .1rem; }

.activity__list li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .3rem 1rem;
  align-items: baseline;
  padding: .65rem .8rem;
  border-radius: 9px;
  font-size: .89rem;
  animation: slideIn .45s var(--ease);
}

.activity__list li:nth-child(odd) { background: rgba(255, 255, 255, .022); }
.activity__list b { color: var(--fg-strong); font-weight: 600; }
.activity__list .amount { color: var(--jade-300); font-family: var(--font-display); font-weight: 600; font-variant-numeric: tabular-nums; }
.activity__list .when { grid-column: 1 / -1; font-size: .74rem; color: var(--fg-dim); }

@keyframes slideIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.activity__foot { padding: .7rem 1.15rem; border-top: 1px solid var(--line); font-size: .74rem; color: var(--fg-dim); }

/* 8.9 Franja CTA */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  border: 1px solid rgba(232, 182, 75, .28);
  padding: clamp(1.75rem, 1.2rem + 2.5vw, 3.25rem);
  background:
    radial-gradient(520px 300px at 88% 10%, rgba(232, 182, 75, .22), transparent 70%),
    radial-gradient(420px 280px at 6% 100%, rgba(24, 163, 126, .18), transparent 70%),
    linear-gradient(180deg, rgba(21, 26, 37, .95), rgba(11, 14, 21, .95));
}

.cta-band__inner { display: grid; gap: 1.5rem; align-items: center; }

@media (min-width: 860px) { .cta-band__inner { grid-template-columns: 1.4fr auto; gap: 2.5rem; } }

.cta-band h2 { margin-bottom: .4em; }
.cta-band p { color: var(--fg-muted); max-width: 58ch; margin-bottom: 0; }

.cta-band--slim { padding: clamp(1.4rem, 1rem + 1.5vw, 2.1rem) clamp(1.4rem, 1rem + 2vw, 2.5rem); border-radius: var(--r-lg); }

.cta-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.1rem;
  padding: 1.15rem 1.4rem;
  margin: 2rem 0;
  border-radius: var(--r-md);
  border: 1px dashed rgba(232, 182, 75, .38);
  background: rgba(232, 182, 75, .05);
}

.cta-inline p { margin: 0; font-size: .95rem; color: var(--fg); max-width: 52ch; }

/* 8.9b Valoración editorial */
.scorecard {
  display: grid;
  gap: clamp(1.25rem, 1rem + 1vw, 2rem);
  padding: clamp(1.35rem, 1rem + 1vw, 2rem);
  border: 1px solid rgba(232, 182, 75, .3);
  border-radius: var(--r-lg);
  background: linear-gradient(140deg, rgba(232, 182, 75, .1), rgba(232, 182, 75, .015) 55%, transparent);
}

@media (min-width: 720px) {
  .scorecard { grid-template-columns: minmax(150px, auto) 1fr; align-items: center; }
  .scorecard__big { border-right: 1px solid var(--line); padding-right: clamp(1.25rem, 1rem + 1vw, 2rem); }
}

.scorecard__big { text-align: center; }

.scorecard__num {
  font-family: var(--font-display);
  font-size: clamp(3rem, 2.2rem + 2.6vw, 4.25rem);
  font-weight: 700;
  line-height: .95;
  letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(160deg, var(--gold-300), var(--gold-600));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.scorecard__num sup { font-size: .38em; color: var(--fg-dim); -webkit-text-fill-color: var(--fg-dim); letter-spacing: 0; }
.scorecard__stars { color: var(--gold-400); letter-spacing: .12em; margin-top: .35rem; }
.scorecard__label { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-dim); margin-top: .5rem; }

/* 8.10 Tarjeta de autor */
.author-card {
  display: grid;
  gap: 1.25rem;
  padding: clamp(1.25rem, 1rem + 1vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--glass);
}

@media (min-width: 680px) { .author-card { grid-template-columns: auto 1fr; align-items: start; } }

.author-card__avatar {
  width: 74px;
  height: 74px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--on-gold);
  background: linear-gradient(150deg, var(--gold-300), var(--gold-600));
  box-shadow: var(--shadow-gold);
}

.author-card__name { font-family: var(--font-display); font-size: 1.15rem; font-weight: 650; color: var(--fg-strong); margin: 0 0 .15rem; }
.author-card__role { font-size: .85rem; color: var(--gold-400); margin: 0 0 .8rem; letter-spacing: .03em; }
.author-card__bio { font-size: .93rem; color: var(--fg-muted); margin: 0 0 .9rem; max-width: 70ch; }

.author-card__meta { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; font-size: .78rem; color: var(--fg-dim); }

.byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem .9rem;
  font-size: .82rem;
  color: var(--fg-dim);
}

.byline strong { color: var(--fg-muted); font-weight: 600; }
.byline .sep { width: 3px; height: 3px; border-radius: 50%; background: rgba(255, 255, 255, .25); }

/* 8.11 Enlaces relacionados */
.linkgrid { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }

.linkgrid a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .95rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, .022);
  color: var(--fg);
  font-size: .92rem;
  font-weight: 500;
  text-decoration: none;
  transition: all .18s var(--ease);
}

.linkgrid a:hover { border-color: rgba(232, 182, 75, .4); background: rgba(232, 182, 75, .07); color: var(--gold-300); transform: translateX(3px); }
.linkgrid a::after { content: "→"; color: var(--gold-600); }

/* 8.12 Formularios */
.form-grid { display: grid; gap: 1.1rem; }

@media (min-width: 640px) { .form-grid--2 { grid-template-columns: repeat(2, 1fr); } }

.field { display: grid; gap: .4rem; }
.field--full { grid-column: 1 / -1; }

.field label { font-size: .85rem; font-weight: 600; color: var(--fg-strong); }
.field .hint { font-size: .78rem; color: var(--fg-dim); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .8rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: rgba(8, 10, 16, .7);
  color: var(--fg-strong);
  font: inherit;
  font-size: .95rem;
  transition: border-color .18s var(--ease), background-color .18s var(--ease);
}

.field input::placeholder,
.field textarea::placeholder { color: var(--fg-dim); }

.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--gold-500); background: rgba(8, 10, 16, .95); outline-offset: 1px; }

.field textarea { min-height: 150px; resize: vertical; }

.check { display: flex; gap: .7rem; align-items: flex-start; font-size: .87rem; color: var(--fg-muted); }
.check input { width: 18px; height: 18px; margin-top: .18rem; flex: none; accent-color: var(--gold-500); }

.form-note { font-size: .8rem; color: var(--fg-dim); }

/* 8.13 Código promocional */
.promo-code {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.35rem;
  border: 1px dashed rgba(232, 182, 75, .5);
  border-radius: var(--r-md);
  background: rgba(232, 182, 75, .06);
}

.promo-code__value {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 1.2rem + 1vw, 1.9rem);
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--gold-300);
}

.copy-btn { position: relative; }
.copy-btn[data-copied="true"]::after {
  content: "Copiado";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border-radius: inherit;
  background: var(--jade-500);
  color: #04211a;
  font-weight: 700;
}

/* 8.14 Barra CTA móvil */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 95;
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: .7rem var(--gutter) calc(.7rem + env(safe-area-inset-bottom));
  background: rgba(8, 10, 16, .95);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line-strong);
  transform: translateY(110%);
  transition: transform .3s var(--ease);
}

.sticky-cta[data-show="true"] { transform: translateY(0); }

@media (min-width: 900px) { .sticky-cta { display: none; } }

.sticky-cta__text { font-size: .8rem; color: var(--fg-muted); line-height: 1.35; }
.sticky-cta__text b { display: block; color: var(--fg-strong); font-size: .92rem; font-family: var(--font-display); }
.sticky-cta .btn { margin-left: auto; flex: none; }

/* --------------------------------------------------------------- 9. Footer */
.site-footer {
  margin-top: clamp(3rem, 2rem + 4vw, 6rem);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(0, 0, 0, .35), rgba(0, 0, 0, .6));
  padding-block: clamp(2.5rem, 2rem + 3vw, 4rem) 2rem;
}

.footer-top { display: grid; gap: 2.5rem; margin-bottom: 2.75rem; }

@media (min-width: 780px) { .footer-top { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1060px) { .footer-top { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }

.footer-brand img { width: 160px; height: 44px; margin-bottom: 1.1rem; }
.footer-brand p { font-size: .9rem; color: var(--fg-muted); max-width: 42ch; }

.footer-col h3 {
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 1rem;
}

.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer-col a { font-size: .9rem; color: var(--fg-muted); text-decoration: none; }
.footer-col a:hover { color: var(--gold-300); }

.footer-legal {
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 1.25rem;
}

.footer-legal p { font-size: .8rem; color: var(--fg-dim); line-height: 1.6; max-width: 92ch; }

.age-badge {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 50%;
  border: 2px solid rgba(227, 106, 75, .6);
  color: #f0a58c;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .82rem;
}

.footer-flags { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }

.footer-bottom {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .75rem 1.5rem;
  font-size: .8rem;
  color: var(--fg-dim);
}

/* --------------------------------------------------------- 10. Utilidades */
.stack { display: grid; gap: clamp(1rem, .6rem + 1.4vw, 1.75rem); }
.stack--sm { gap: .8rem; }
.stack--lg { gap: clamp(1.75rem, 1.2rem + 2vw, 3rem); }

.center { text-align: center; }
.center .eyebrow { justify-content: center; }
.center .lead, .center .section-head { margin-inline: auto; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-lg { margin-top: clamp(1.75rem, 1.2rem + 2vw, 3rem); }

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  will-change: opacity, transform;
}

[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal][data-reveal-delay="1"] { transition-delay: .08s; }
[data-reveal][data-reveal-delay="2"] { transition-delay: .16s; }
[data-reveal][data-reveal-delay="3"] { transition-delay: .24s; }

.to-top {
  position: fixed;
  right: clamp(1rem, .6rem + 1vw, 1.75rem);
  bottom: clamp(1rem, .6rem + 1vw, 1.75rem);
  z-index: 90;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(13, 17, 25, .9);
  backdrop-filter: blur(10px);
  color: var(--gold-400);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all .25s var(--ease);
}

.to-top[data-show="true"] { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { border-color: var(--gold-500); background: rgba(232, 182, 75, .12); }

@media (min-width: 900px) { body:has(.sticky-cta) { padding-bottom: 0; } }
@media (max-width: 899px) { body { padding-bottom: 72px; } }

/* 404 */
.err-code {
  font-family: var(--font-display);
  font-size: clamp(5rem, 3rem + 14vw, 11rem);
  font-weight: 700;
  line-height: .9;
  letter-spacing: -.04em;
  background: linear-gradient(170deg, var(--gold-300), rgba(232, 182, 75, .12));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: .1em;
}

/* --------------------------------------------- 11. Preferencias de usuario */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

@media print {
  .site-header, .site-footer, .sticky-cta, .to-top, .cta-band, .cta-inline { display: none; }
  body { background: #fff; color: #111; }
}
