/* Lectura Política — hoja de estilos institucional
   Todos los colores y tipografías viven en :root. Para cambiar la marca, editá solo este bloque.
   Paleta: azul noche, marfil y oro viejo (sin colores partidarios). */

:root {
  --paper: #f5f2ea;
  --surface: #fbf9f4;
  --ink: #0e1a2b;
  --ink-2: #3f4a5a;
  --ink-3: #737b88;
  --rule: #d9d3c5;
  --rule-strong: #0e1a2b;
  --accent: #8f6f2e;        /* oro viejo, legible sobre marfil */
  --gold: #c9a45c;          /* oro claro, para fondos oscuros */
  --night: #0a1220;
  --accent-soft: #efe6d3;
  --analysis: #1d3a5f;
  --analysis-soft: #e6ebf1;
  --serif: "Newsreader", "Georgia", "Times New Roman", serif;
  --brand: "Cormorant Garamond", "Newsreader", Georgia, serif;
  --cond: "Anton", "Oswald", Impact, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1200px;
  --gutter: 24px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0b1220;
    --surface: #121b2c;
    --ink: #f1ece1;
    --ink-2: #c2c6cd;
    --ink-3: #8d94a0;
    --rule: #263247;
    --rule-strong: #f1ece1;
    --accent: #c9a45c;
    --accent-soft: #2a2416;
    --analysis: #9fbbe0;
    --analysis-soft: #16233a;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
a:hover .hl, a.hl:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Barra superior ---------- */
.topbar { border-bottom: 1px solid var(--rule); font-size: 13px; color: var(--ink-2); }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; height: 38px; }
.topbar a:hover { color: var(--ink); }
.topbar .links { display: flex; gap: 18px; }

/* ---------- Cabecera ---------- */
.masthead { text-align: center; padding: 28px 0 18px; }
.logo { display: inline-block; font-family: var(--brand); font-weight: 600; font-size: clamp(30px, 5.4vw, 58px); letter-spacing: .16em; text-transform: uppercase; line-height: 1; padding-left: .16em; }
.logo::after { content: ""; display: block; width: 64px; height: 2px; background: var(--accent); margin: 14px auto 0; }
footer .logo::after { margin-left: 0; }
.tagline { margin-top: 10px; font-size: 14px; color: var(--ink-2); letter-spacing: 0.01em; }

.nav { border-top: 3px double var(--rule-strong); border-bottom: 1px solid var(--rule-strong); background: var(--paper); position: sticky; top: 0; z-index: 10; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.nav ul::-webkit-scrollbar { display: none; }
.nav a { display: block; padding: 12px 14px; font-size: 14px; font-weight: 600; white-space: nowrap; letter-spacing: 0.01em; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent); }

/* ---------- Ticker ---------- */
.ticker { border-bottom: 1px solid var(--rule); font-size: 14px; }
.ticker .wrap { display: flex; align-items: center; gap: 14px; height: 44px; overflow: hidden; }
.ticker strong { color: var(--accent); text-transform: uppercase; font-size: 12px; letter-spacing: 0.08em; flex: none; }
.ticker .items { display: flex; gap: 28px; white-space: nowrap; overflow: hidden; mask-image: linear-gradient(90deg, #000 85%, transparent); }

/* ---------- Etiquetas ---------- */
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); }
.kicker.analysis { color: var(--analysis); }
.tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; padding: 2px 7px; border: 1px solid currentColor; border-radius: 3px; color: var(--ink-2); }
.demo { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); border: 1px dashed var(--ink-3); border-radius: 3px; padding: 1px 6px; }
.meta { font-size: 13px; color: var(--ink-3); }

/* ---------- Títulos ---------- */
.hl { font-family: var(--serif); font-weight: 600; letter-spacing: -0.01em; line-height: 1.15; margin: 8px 0; }
.hl-xl { font-size: clamp(30px, 4.2vw, 48px); line-height: 1.08; }
.hl-l { font-size: clamp(22px, 2.4vw, 28px); }
.hl-m { font-size: 20px; }
.hl-s { font-size: 17px; line-height: 1.25; }
.dek { color: var(--ink-2); font-size: 17px; margin: 8px 0 0; }

.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; border-top: 2px solid var(--rule-strong); padding-top: 10px; margin: 48px 0 20px; }
.section-head h2 { font-family: var(--serif); font-size: 26px; margin: 0; font-weight: 700; }
.section-head p { margin: 0; font-size: 14px; color: var(--ink-2); }
.section-head a { font-size: 14px; font-weight: 600; color: var(--accent); white-space: nowrap; }

/* ---------- Portada ---------- */
.front { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 32px; padding-top: 28px; }
.lead-art { aspect-ratio: 16 / 9; border-radius: 4px; margin-bottom: 16px; position: relative; overflow: hidden; }
.side-list { border-left: 1px solid var(--rule); padding-left: 32px; display: flex; flex-direction: column; }
.side-list article { padding: 16px 0; border-bottom: 1px solid var(--rule); }
.side-list article:first-child { padding-top: 0; }
.side-list article:last-child { border-bottom: 0; }

/* Ilustración tipográfica: reemplaza fotos ajenas (ver reglas legales) */
.art { display: flex; align-items: flex-end; padding: 20px; color: #fff; font-family: var(--serif); font-weight: 700; }
.art::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.14) 1px, transparent 1px); background-size: 14px 14px; }
.art b { position: relative; font-size: clamp(42px, 8vw, 96px); line-height: .9; letter-spacing: -0.03em; opacity: .95; }
.art i { position: absolute; top: 20px; left: 20px; right: 20px; font-family: var(--sans); font-style: normal; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .85; }
.lead-art.art { align-items: center; justify-content: flex-start; }
.lead-art.art b { font-size: clamp(64px, 12vw, 160px); }
.lead-art.art::after { content: ""; position: absolute; right: -8%; top: -20%; width: 55%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); box-shadow: 0 0 0 40px rgba(255,255,255,.04), 0 0 0 80px rgba(255,255,255,.03); }
.art-ar { background: linear-gradient(135deg, #1f3550, #34587f); }
.art-uy { background: linear-gradient(135deg, #2b3b4f, #4d6680); }
.art-pe { background: linear-gradient(135deg, #5a2a22, #8a4434); }
.art-py { background: linear-gradient(135deg, #2f3d2b, #56704d); }
.art-rg { background: linear-gradient(135deg, #1c1d22, #3b3f49); }

/* ---------- Grillas ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.col-country h3 { font-family: var(--serif); font-size: 22px; margin: 0 0 4px; display: flex; justify-content: space-between; align-items: baseline; }
.col-country h3 a { font-family: var(--sans); font-size: 13px; color: var(--accent); font-weight: 600; }
.col-country article { padding: 14px 0; border-top: 1px solid var(--rule); }
.col-country .art { aspect-ratio: 4 / 3; border-radius: 4px; position: relative; overflow: hidden; margin-bottom: 4px; }
.col-country .art b { font-size: 56px; }

/* ---------- Cómo lo contó cada uno ---------- */
.compare { background: var(--surface); border: 1px solid var(--rule); border-radius: 6px; padding: 28px; }
.compare .q { font-family: var(--serif); font-size: 24px; font-weight: 600; margin: 6px 0 20px; line-height: 1.2; }
.compare-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--rule); }
.compare-cols > div { padding: 18px 20px 4px 0; }
.compare-cols > div + div { border-left: 1px solid var(--rule); padding-left: 20px; }
.compare-cols h4 { margin: 0 0 6px; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); }
.compare-cols p { margin: 0 0 10px; font-family: var(--serif); font-size: 18px; line-height: 1.3; }
.compare-cols .src { font-family: var(--sans); font-size: 13px; color: var(--ink-3); }
.compare .read { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--rule); font-size: 15px; color: var(--ink-2); }
.compare .read strong { color: var(--ink); }

/* ---------- Lectura política ---------- */
.analysis-card { background: var(--analysis-soft); border-radius: 6px; padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.analysis-card .byline { margin-top: auto; padding-top: 12px; font-size: 13px; color: var(--ink-2); }

/* ---------- Datos ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.stat { padding: 22px 20px 20px 0; }
.stat + .stat { border-left: 1px solid var(--rule); padding-left: 20px; }
.stat .num { font-family: var(--serif); font-size: 42px; font-weight: 700; line-height: 1; }
.stat .lbl { margin-top: 8px; font-size: 14px; color: var(--ink-2); }
.stat .src { margin-top: 6px; font-size: 12px; color: var(--ink-3); }

/* ---------- Radar de medios ---------- */
.radar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.radar h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 6px; color: var(--ink-2); }
.radar ul { list-style: none; margin: 0; padding: 0; }
.radar li { padding: 10px 0; border-top: 1px solid var(--rule); font-size: 15px; line-height: 1.35; }
.radar li a:hover { text-decoration: underline; text-underline-offset: 3px; }
.radar .src { display: block; margin-top: 4px; font-size: 12px; color: var(--ink-3); }
.note { font-size: 13px; color: var(--ink-3); margin-top: 14px; }

/* ---------- Suscripción ---------- */
.subscribe { margin: 56px 0 0; background: var(--ink); color: var(--paper); border-radius: 6px; padding: 36px; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.subscribe h2 { font-family: var(--serif); font-size: 32px; line-height: 1.1; margin: 0 0 8px; }
.subscribe p { margin: 0; color: color-mix(in srgb, var(--paper) 75%, transparent); }
.subscribe form { display: flex; flex-direction: column; gap: 10px; }
.subscribe input { font: inherit; padding: 12px 14px; border-radius: 4px; border: 1px solid transparent; background: var(--paper); color: var(--ink); }
.subscribe .row { display: flex; gap: 10px; }
.btn { font: inherit; font-weight: 600; padding: 12px 18px; border-radius: 4px; border: 0; background: var(--accent); color: #fff; cursor: pointer; white-space: nowrap; }
.btn.ghost { background: transparent; border: 1px solid color-mix(in srgb, var(--paper) 40%, transparent); color: var(--paper); text-align: center; }
.form-msg { font-size: 14px; min-height: 20px; }

/* ---------- Principios ---------- */
.principles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.principles div { border-top: 2px solid var(--accent); padding-top: 12px; }
.principles h3 { font-family: var(--serif); font-size: 19px; margin: 0 0 6px; }
.principles p { margin: 0; font-size: 15px; color: var(--ink-2); }

/* ---------- Pie ---------- */
footer { margin-top: 64px; border-top: 3px double var(--rule-strong); padding: 36px 0 48px; font-size: 14px; color: var(--ink-2); }
footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
footer h4 { color: var(--ink); margin: 0 0 10px; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
footer a:hover { color: var(--ink); }
footer .logo { font-size: 30px; text-align: left; }
footer .legal { margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--rule); font-size: 13px; color: var(--ink-3); }

/* ---------- Nota ---------- */
.article { max-width: 720px; margin: 40px auto 0; }
.article .hl-xl { margin: 12px 0 14px; }
.article .byline { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; color: var(--ink-2); padding: 14px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); margin: 20px 0 28px; }
.article .body { font-family: var(--serif); font-size: 20px; line-height: 1.6; }
.article .body p { margin: 0 0 1.1em; }
.article .body h2 { font-family: var(--sans); font-size: 20px; margin: 1.6em 0 .6em; }
.keypoints { background: var(--surface); border: 1px solid var(--rule); border-radius: 6px; padding: 20px 24px; margin: 0 0 28px; }
.keypoints h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 8px; color: var(--accent); }
.keypoints ul { margin: 0; padding-left: 18px; font-size: 16px; }
.keypoints li { margin: 6px 0; }
.sources { margin-top: 36px; border-top: 2px solid var(--rule-strong); padding-top: 14px; }
.sources h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 10px; }
.sources ol { margin: 0; padding-left: 20px; font-size: 15px; color: var(--ink-2); }
.sources li { margin: 6px 0; }
.sources a { text-decoration: underline; text-underline-offset: 3px; }
.method { margin-top: 24px; font-size: 14px; color: var(--ink-3); background: var(--surface); border-radius: 6px; padding: 14px 18px; border: 1px solid var(--rule); }

/* ---------- Institucional ---------- */
.page { max-width: 760px; margin: 40px auto 0; }
.page h1 { font-family: var(--serif); font-size: clamp(34px, 5vw, 52px); line-height: 1.05; margin: 8px 0 16px; }
.page h2 { font-family: var(--serif); font-size: 26px; margin: 40px 0 10px; }
.page p, .page li { font-size: 18px; color: var(--ink-2); }
.page .lead { font-size: 21px; color: var(--ink); }
.page table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 12px 0; }
.page th, .page td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.page th { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }

/* ---------- Página de país ---------- */
.country-head { padding: 36px 0 8px; border-bottom: 1px solid var(--rule); }
.country-head h1 { font-family: var(--serif); font-size: clamp(40px, 6vw, 64px); margin: 4px 0 6px; line-height: 1; }
.country-head p { margin: 0 0 18px; color: var(--ink-2); max-width: 640px; }
.list-feed article { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.list-feed .art { aspect-ratio: 4 / 3; border-radius: 4px; position: relative; overflow: hidden; }
.list-feed .art b { font-size: 40px; }

/* ---------- Tapas de estrategia (mismo lenguaje que los carruseles) ---------- */
.covers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.cover { position: relative; aspect-ratio: 4 / 5; border-radius: 6px; overflow: hidden; background: var(--night); color: #f4f0e6; display: block; }
.cover .ph { position: absolute; inset: 0; background-repeat: no-repeat; transition: transform .6s ease; }
.cover:hover .ph { transform: scale(1.04); }
.cover .vl { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,18,32,.5) 0%, rgba(10,18,32,0) 20%, rgba(10,18,32,0) 40%, rgba(10,18,32,.85) 68%, #0a1220 92%); }
.cover .br { position: absolute; top: 14px; left: 0; right: 0; text-align: center; font-family: var(--brand); font-weight: 600; letter-spacing: .2em; text-transform: uppercase; font-size: 12px; }
.cover .tx { position: absolute; left: 14px; right: 14px; bottom: 18px; text-align: center; }
.cover .kk { font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.cover .hd { font-family: var(--cond); text-transform: uppercase; font-size: clamp(20px, 2.1vw, 28px); line-height: 1.02; }
.cover .hd span { display: block; }
.cover .hd .g { color: var(--gold); }
.cover .hd .s { font-size: .68em; margin-top: 3px; }

/* ---------- Perfil ---------- */
.profile { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; padding-top: 40px; align-items: start; }
.profile .cover { position: sticky; top: 72px; }
.profile .cover .hd { font-size: clamp(28px, 3.4vw, 46px); }
.profile .cover .br { font-size: 16px; top: 22px; }
.profile .cover .kk { font-size: 13px; }
.profile h1 { font-family: var(--serif); font-size: clamp(36px, 5vw, 58px); line-height: 1.02; margin: 8px 0 6px; }
.profile .role { font-size: 18px; color: var(--ink-2); margin: 0 0 20px; }
.profile .line { font-family: var(--serif); font-size: 24px; line-height: 1.35; border-left: 3px solid var(--accent); padding-left: 18px; margin: 0 0 32px; }
.profile h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); margin: 32px 0 12px; }
.keys { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--rule); }
.keys > div { padding: 18px 18px 18px 0; border-bottom: 1px solid var(--rule); }
.keys > div:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--rule); }
.keys b { display: block; font-family: var(--cond); font-weight: 400; font-size: 34px; color: var(--accent); line-height: 1; }
.keys h3 { font-family: var(--serif); font-size: 20px; margin: 8px 0 4px; }
.keys p { margin: 0; font-size: 15px; color: var(--ink-2); }
.facts { width: 100%; border-collapse: collapse; font-size: 15px; }
.facts th, .facts td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.facts th { width: 34%; color: var(--ink-3); font-weight: 600; padding-right: 16px; }
.ig-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; padding: 12px 18px; border-radius: 4px; background: var(--ink); color: var(--paper); font-weight: 600; font-size: 15px; }
.credit { font-size: 12px; color: var(--ink-3); margin-top: 10px; }
.credit a { text-decoration: underline; }

/* ---------- Archivo ---------- */
.archive { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.archive figure { margin: 0; }
.archive .im { aspect-ratio: 4 / 5; border-radius: 4px; background-size: cover; background-position: center; filter: grayscale(.15) contrast(1.02); }
.archive figcaption { padding-top: 10px; }
.archive .yr { font-family: var(--cond); font-size: 26px; color: var(--accent); line-height: 1; }
.archive h3 { font-family: var(--serif); font-size: 19px; margin: 6px 0 4px; line-height: 1.2; }
.archive p { margin: 0; font-size: 14px; color: var(--ink-2); }

.band { background: var(--night); color: #f4f0e6; margin-top: 56px; padding: 8px 0 44px; }
.band .section-head { border-color: rgba(244,240,230,.6); }
.band .section-head p { color: rgba(244,240,230,.65); }
.band .section-head a { color: var(--gold); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .front { grid-template-columns: 1fr; }
  .side-list { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); padding-top: 16px; }
  .grid-4, .radar, .principles, .covers, .archive { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profile { grid-template-columns: 1fr; }
  .profile .cover { position: relative; top: 0; max-width: 420px; }
  .cover .hd { font-size: clamp(20px, 4.4vw, 30px); }
  .grid-3 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .subscribe { grid-template-columns: 1fr; }
  footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .topbar .links { display: none; }
  .nav ul { justify-content: flex-start; }
  .grid-4, .radar, .principles, .stats { grid-template-columns: 1fr; }
  .keys { grid-template-columns: 1fr; }
  .keys > div:nth-child(even) { padding-left: 0; border-left: 0; }
  .cover .hd { font-size: clamp(16px, 5.4vw, 24px); }
  .stat + .stat { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); }
  .compare { padding: 20px; }
  .compare-cols { grid-template-columns: 1fr; }
  .compare-cols > div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); }
  .subscribe { padding: 24px; }
  .subscribe .row { flex-direction: column; }
  .lead-art.art { align-items: flex-end; }
  .list-feed article { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; }
  .list-feed .art b { font-size: 26px; }
  footer .cols { grid-template-columns: 1fr; }
}

/* Archivo: series de Instagram */
.series { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; margin-top: 22px; padding: 14px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.series .ig-link { margin-top: 0; }
.series span { font: 700 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }

/* Pop-up del newsletter (Región Hoy) */
.pop { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; opacity: 0; transition: opacity .25s; }
.pop.on { opacity: 1; }
.pop-fondo { position: absolute; inset: 0; background: rgba(6, 10, 18, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.pop-caja { position: relative; width: min(420px, 100%); max-height: calc(100vh - 32px); overflow: auto; padding: 30px 28px 22px; text-align: center; color: #f1ece1;
  background: radial-gradient(120% 70% at 50% 0%, #1b2c47 0%, #0a1220 62%); border: 1px solid rgba(201,164,92,.35); border-radius: 22px;
  box-shadow: 0 30px 80px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.06); transform: translateY(14px) scale(.97); transition: transform .3s cubic-bezier(.2,.9,.3,1.2); }
.pop.on .pop-caja { transform: none; }
.pop-k { font: 700 11px/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.pop-big { display: flex; align-items: baseline; justify-content: center; gap: 6px; margin: 4px 0 0; line-height: .9; }
.pop-num { font-family: var(--cond); font-size: 78px; background: linear-gradient(180deg, #f5e7c4, #c9a45c); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pop-min { font-family: var(--cond); font-size: 32px; text-transform: uppercase; color: #f1ece1; }
.pop-caja h2 { font-family: var(--serif); font-weight: 600; font-size: 22px; line-height: 1.2; margin: 6px 0 4px; }
.pop-caja h2 b { color: var(--gold); }
.pop-cuenta { margin: 0 0 16px; font-size: 13px; color: rgba(241,236,225,.65); }
.pop-cuenta b { color: #f1ece1; font-variant-numeric: tabular-nums; }
.pop-sub { margin: 0 0 8px; font-size: 13px; color: rgba(241,236,225,.8); }
.pop-paises { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-bottom: 14px; }
.pop-chip { font: 600 13px var(--sans); padding: 7px 11px; border-radius: 999px; cursor: pointer; border: 1px solid rgba(241,236,225,.25); background: transparent; color: rgba(241,236,225,.55); transition: all .15s; }
.pop-chip[aria-pressed="true"] { background: rgba(201,164,92,.18); border-color: var(--gold); color: #f1ece1; }
.pop-chip:active { transform: scale(.95); }
.pop-switch { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 4px; margin-bottom: 12px; border-radius: 999px; background: rgba(241,236,225,.08); }
.pop-switch button { position: relative; z-index: 1; font: 600 14px var(--sans); padding: 9px; border: 0; background: none; color: rgba(241,236,225,.7); cursor: pointer; transition: color .2s; }
.pop-switch button[aria-checked="true"] { color: var(--night); }
.pop-pill { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: #f1ece1; transition: transform .25s cubic-bezier(.2,.9,.3,1.1); }
.pop-switch.wa .pop-pill { transform: translateX(100%); }
.pop-form { display: flex; flex-direction: column; gap: 12px; text-align: left; }
.pop-campo { position: relative; }
.pop-campo input, .pop-campo select { font: inherit; font-size: 16px; width: 100%; padding: 13px 40px 13px 14px; border-radius: 12px; border: 1px solid rgba(241,236,225,.22); background: rgba(241,236,225,.08); color: #f1ece1; outline: none; transition: border-color .15s, box-shadow .15s; }
.pop-campo select { padding-right: 8px; }
.pop-campo select option { color: #0e1a2b; }
.pop-campo input::placeholder { color: rgba(241,236,225,.45); }
.pop-campo input:focus, .pop-campo select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,164,92,.25); }
.pop-campo.valido input { border-color: #6fcf97; }
.pop-ok-ic { position: absolute; right: 14px; bottom: 13px; color: #6fcf97; font-weight: 700; opacity: 0; transform: scale(.5); transition: all .2s; }
.pop-campo.valido .pop-ok-ic { opacity: 1; transform: none; }
.pop-tel { display: grid; grid-template-columns: 104px 1fr; gap: 8px; }
.pop-check { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; line-height: 1.4; color: rgba(241,236,225,.75); cursor: pointer; }
.pop-check input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--gold); flex: none; }
.pop-btn { width: 100%; font: 700 16px var(--sans); padding: 14px; border: 0; border-radius: 999px; cursor: pointer; color: var(--night); background: linear-gradient(90deg, #c9a45c, #f0d79a, #c9a45c); background-size: 200% 100%; animation: popBrillo 3s linear infinite; transition: transform .15s, opacity .2s; }
.pop-btn:hover:not(:disabled) { transform: translateY(-1px); }
.pop-btn:disabled { opacity: .45; cursor: not-allowed; animation: none; }
@keyframes popBrillo { to { background-position: -200% 0; } }
.pop-msg { min-height: 0; margin: 0; font-size: 13px; text-align: center; color: var(--gold); }
.pop-msg:empty { display: none; }
.pop-no { display: inline-block; margin-top: 14px; padding: 4px; border: 0; background: none; font: 12px var(--sans); color: rgba(241,236,225,.55); text-decoration: underline; cursor: pointer; }
.pop-no:hover { color: #f1ece1; }
.pop-legal { margin: 10px 0 0; font-size: 11px; line-height: 1.45; color: rgba(241,236,225,.45); }
.pop-caja.hecho { padding-top: 36px; }
.pop-check-ok { width: 64px; height: 64px; margin: 0 auto 10px; border-radius: 50%; display: grid; place-items: center; font-size: 32px; font-weight: 700; color: var(--night); background: var(--gold); animation: popPop .4s cubic-bezier(.2,.9,.3,1.4); }
@keyframes popPop { from { transform: scale(0); } }
.pop-fin { margin: 4px 0 6px; font-size: 16px; line-height: 1.4; }
.pop-fin b { color: var(--gold); }
.pop-fin-p { margin: 0 0 18px; font-size: 13px; color: rgba(241,236,225,.6); }
@media (prefers-reduced-motion: reduce) { .pop, .pop-caja, .pop-pill, .pop-btn { transition: none; animation: none; } }

.pop-caras { display: flex; justify-content: center; margin: 16px 0 8px; }
.pop-cara { position: relative; width: 74px; height: 92px; margin: 0 -7px; border-radius: 14px; background-size: 150% auto; background-position: 50% 18%; background-color: #1b2c47;
  border: 2px solid rgba(201,164,92,.35); box-shadow: 0 8px 18px rgba(0,0,0,.35); filter: grayscale(1) brightness(.75);
  transform: rotate(calc((var(--i) - 1.5) * 5deg)) translateY(calc(var(--i) * 0px)); transition: filter .35s, transform .35s, border-color .35s; animation: popFlota 4s ease-in-out infinite; animation-delay: calc(var(--i) * -1s); }
.pop-cara span { position: absolute; left: 50%; bottom: -9px; transform: translateX(-50%); font: 700 10px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; padding: 4px 7px; border-radius: 999px; background: #0a1220; color: rgba(241,236,225,.7); border: 1px solid rgba(201,164,92,.3); transition: all .35s; }
.pop-cara.activa { z-index: 2; filter: none; border-color: var(--gold); transform: rotate(0) scale(1.14) translateY(-4px); }
.pop-cara.activa span { background: var(--gold); color: #0a1220; border-color: var(--gold); }
@keyframes popFlota { 50% { margin-top: -4px; } }
.pop-teaser { min-height: 1.3em; margin: 14px 0 0; font-family: var(--serif); font-style: italic; font-size: 15px; color: rgba(241,236,225,.85); }
.pop-cred { margin-top: 6px; font-size: 9.5px; }
@media (max-width: 380px) { .pop-cara { width: 62px; height: 78px; } }
@media (prefers-reduced-motion: reduce) { .pop-cara { animation: none; transition: none; } }
.pop-trampa { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.pop-paso { display: flex; flex-direction: column; gap: 10px; }
.pop-paso[hidden] { display: none; }
.pop-paso .pop-sub { margin: 4px 0 0; text-align: center; }
.pop-paso .pop-switch { margin-bottom: 2px; }
.pop-btn.apagado { opacity: .55; animation: none; }
.pop-paso2-t { margin: 0 0 4px; text-align: center; font-size: 15px; color: rgba(241,236,225,.8); }
.pop-paso2-t b { color: #f1ece1; }
.pop-ocup { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-bottom: 4px; }
.pop-ocup .pop-chip[aria-checked="true"] { background: var(--gold); border-color: var(--gold); color: var(--night); }
.pop-paso .pop-no { margin-top: 0; }
