/* ==========================================================
   Sala Oscura — estilo cinematográfico
   ========================================================== */
:root {
  --bg: #07070a;
  --bg-2: #0e0e13;
  --surface: #14141b;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f3efe7;
  --muted: #a19d94;
  --amber: #f5b301;
  --red: #e5383b;
  --radius: 14px;
  --max: 1240px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --display: "Bebas Neue", "Impact", sans-serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Newsreader", Georgia, serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--sans);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: var(--amber); color: #000; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(100% - 32px, var(--max)); margin-inline: auto; }

/* ---------- Grano de película ---------- */
.grain {
  pointer-events: none;
  position: fixed;
  inset: -50%;
  z-index: 100;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 0.9s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -4%); }
  60% { transform: translate(-4%, -1%); }
  80% { transform: translate(3%, 3%); }
  100% { transform: translate(0, 0); }
}

/* ---------- Intro: bandas panorámicas ---------- */
.letterbox { position: fixed; inset: 0; z-index: 200; pointer-events: none; }
.letterbox::before, .letterbox::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 50.5vh;
  background: #000;
  transition: transform 1.2s var(--ease) 0.25s;
}
.letterbox::before { top: 0; }
.letterbox::after { bottom: 0; }
.is-ready .letterbox::before { transform: translateY(-100%); }
.is-ready .letterbox::after { transform: translateY(100%); }
.no-intro .letterbox { display: none; }

/* ---------- Barra de progreso de lectura ---------- */
.progress {
  position: fixed; top: 0; left: 0; z-index: 60;
  height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--red), var(--amber));
  transform-origin: 0 50%;
  transform: scaleX(0);
}

/* ---------- Cabecera ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  background: rgba(7, 7, 10, 0.72);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s;
}
.site-header__in {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: 68px;
}
.logo { display: flex; align-items: center; gap: 10px; font: 400 30px/1 var(--display); letter-spacing: 0.04em; }
.logo__reel {
  width: 30px; height: 30px; border-radius: 50%;
  border: 2px solid var(--amber);
  position: relative;
  animation: spin 8s linear infinite;
}
.logo__reel::before, .logo__reel::after {
  content: ""; position: absolute; inset: 5px; border-radius: 50%;
  background:
    radial-gradient(circle at 50% 18%, var(--amber) 0 3px, transparent 3.5px),
    radial-gradient(circle at 50% 82%, var(--amber) 0 3px, transparent 3.5px),
    radial-gradient(circle at 18% 50%, var(--amber) 0 3px, transparent 3.5px),
    radial-gradient(circle at 82% 50%, var(--amber) 0 3px, transparent 3.5px);
}
.logo__reel::after { inset: 11px; background: var(--amber); }
.logo span b { color: var(--amber); font-weight: 400; }
@keyframes spin { to { transform: rotate(360deg); } }

.nav { display: flex; gap: 6px; }
.nav a {
  position: relative; padding: 8px 12px; font-size: 14px; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted);
  transition: color 0.25s;
}
.nav a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px;
  background: var(--amber); transform: scaleX(0); transform-origin: right;
  transition: transform 0.35s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

.menu-btn { display: none; background: none; border: 0; color: var(--text); padding: 8px; cursor: pointer; }
.menu-btn span { display: block; width: 24px; height: 2px; background: currentColor; margin: 5px 0; transition: transform 0.3s; }

@media (max-width: 760px) {
  .menu-btn { display: block; }
  .nav {
    position: fixed; inset: 68px 0 auto 0; flex-direction: column; gap: 0;
    background: rgba(7, 7, 10, 0.97); border-bottom: 1px solid var(--line);
    padding: 8px 16px 16px;
    clip-path: inset(0 0 100% 0); transition: clip-path 0.45s var(--ease);
  }
  .nav.is-open { clip-path: inset(0 0 0 0); }
  .nav a { padding: 14px 4px; font-size: 16px; }
  .nav a::after { left: 4px; right: auto; width: 40px; }
  .menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
}

/* ---------- Póster generado (sin imágenes con derechos) ---------- */
.poster {
  --c1: #e5383b; --c2: #f5b301;
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(120% 90% at 85% 10%, color-mix(in srgb, var(--c2) 55%, transparent), transparent 55%),
    radial-gradient(100% 120% at 0% 100%, color-mix(in srgb, var(--c1) 70%, transparent), transparent 60%),
    linear-gradient(160deg, #15151d, #07070a);
}
.poster::before {
  /* haz del proyector */
  content: ""; position: absolute; inset: -60%; z-index: -1;
  background: conic-gradient(from 200deg at 50% 50%, transparent 0 40deg, rgba(255,255,255,0.13) 50deg, transparent 62deg, transparent 180deg, rgba(255,255,255,0.08) 196deg, transparent 210deg);
  animation: beam 14s linear infinite;
}
.poster::after {
  /* perforaciones de película */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 14px;
  background: radial-gradient(circle, rgba(0,0,0,0.55) 0 3.5px, transparent 4px) 0 0 / 22px 14px repeat-x;
  opacity: 0.55;
}
.poster__word {
  position: absolute; left: -0.04em; bottom: -0.2em;
  font: 400 clamp(90px, 18vw, 220px)/0.8 var(--display);
  color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,0.28);
  letter-spacing: 0.02em; white-space: nowrap;
  transition: transform 1.2s var(--ease);
}
@keyframes beam { to { transform: rotate(360deg); } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 40px 0 28px; }
.hero__card {
  position: relative; display: grid; align-items: end;
  min-height: min(78vh, 680px);
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  border: 1px solid var(--line);
}
.hero__card .poster { position: absolute; inset: 0; }
.hero__card .poster__word { font-size: clamp(140px, 30vw, 420px); }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 20%, rgba(7,7,10,0.55) 55%, rgba(7,7,10,0.95)); }
.hero__body { position: relative; padding: clamp(24px, 5vw, 64px); max-width: 900px; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--amber);
}
.kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(229,56,59,0.7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(229,56,59,0); } 100% { box-shadow: 0 0 0 0 rgba(229,56,59,0); } }
.hero__title {
  margin: 14px 0 16px;
  font: 400 clamp(44px, 7.4vw, 104px)/0.92 var(--display);
  letter-spacing: 0.01em;
  text-wrap: balance;
}
.hero__title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-top: 0.14em; margin-top: -0.14em; }
.hero__title .w > span { display: inline-block; }
.js .hero__title .w > span { transform: translateY(115%); transition: transform 0.9s var(--ease); transition-delay: calc(var(--i) * 45ms + 0.9s); }
.is-ready .hero__title .w > span { transform: none; }
.hero__lead { margin: 0 0 26px; max-width: 640px; color: #d6d1c7; font-size: clamp(16px, 1.6vw, 19px); }
.js .hero__lead, .js .hero .meta, .js .hero .btn { opacity: 0; transform: translateY(14px); transition: opacity 0.8s 1.4s, transform 0.8s var(--ease) 1.4s; }
.is-ready .hero__lead, .is-ready .hero .meta, .is-ready .hero .btn { opacity: 1; transform: none; }

.meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--muted); }
.meta span + span::before { content: "·"; margin-right: 16px; color: #555; }

.btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px; overflow: hidden;
  padding: 14px 22px; border-radius: 999px; font-weight: 700; font-size: 15px;
  background: var(--amber); color: #0a0a0a;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.btn::after {
  content: ""; position: absolute; inset: 0; transform: translateX(-120%) skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.65), transparent);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -10px rgba(245,179,1,0.6); }
.btn:hover::after { transform: translateX(120%) skewX(-20deg); transition: transform 0.8s var(--ease); }
.btn svg { transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.hero .meta { margin-bottom: 22px; }

/* ---------- Ticker de última hora ---------- */
.ticker {
  display: flex; align-items: center; overflow: hidden;
  border-block: 1px solid var(--line); background: var(--bg-2);
  margin-top: 28px;
}
.ticker__label {
  flex: none; z-index: 1; align-self: stretch; display: flex; align-items: center; padding: 12px 18px; background: var(--red); color: #fff;
  font: 400 20px/1 var(--display); letter-spacing: 0.08em;
}
.ticker__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.ticker__viewport { flex: 1; min-width: 0; overflow: hidden; }
.ticker:hover .ticker__track, .ticker:focus-within .ticker__track, .ticker.is-paused .ticker__track { animation-play-state: paused; }
.ticker__pause {
  flex: none; width: 44px; align-self: stretch; border: 0; border-left: 1px solid var(--line);
  background: var(--bg-2); color: var(--text); cursor: pointer; display: grid; place-items: center;
}
.ticker__pause span { width: 12px; height: 14px; border-left: 4px solid currentColor; border-right: 4px solid currentColor; }
.ticker.is-paused .ticker__pause span { width: 0; height: 0; border-width: 7px 0 7px 12px; border-style: solid; border-color: transparent transparent transparent currentColor; }
.ticker__pause:hover { color: var(--amber); }
.ticker__track a { padding: 12px 28px; white-space: nowrap; font-size: 14px; color: #cfcac0; transition: color 0.2s; }
.ticker__track a::before { content: "★"; color: var(--amber); margin-right: 12px; font-size: 11px; }
.ticker__track a:hover { color: var(--amber); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Secciones y rejilla ---------- */
.section { padding: 64px 0; }
.section__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.section__title { margin: 0; font: 400 clamp(40px, 6vw, 72px)/0.9 var(--display); letter-spacing: 0.01em; }
.section__title em { font-style: normal; color: var(--amber); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: transparent;
  color: var(--muted); font: 500 13px/1 var(--sans); cursor: pointer; transition: all 0.25s;
}
.chip:hover { color: var(--text); border-color: rgba(255,255,255,0.25); }
.chip.is-active { background: var(--text); color: #000; border-color: var(--text); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 22px; }
.card {
  position: relative; display: flex; flex-direction: column;
  border-radius: var(--radius); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
  transform-style: preserve-3d;
  transition: transform 0.5s var(--ease), border-color 0.3s, box-shadow 0.5s;
}
.card:hover { border-color: rgba(245,179,1,0.35); box-shadow: 0 30px 60px -30px rgba(0,0,0,0.9), 0 0 0 1px rgba(245,179,1,0.1); }
.card .poster { aspect-ratio: 16 / 9; }
.card .poster__word { font-size: 120px; }
.card:hover .poster__word { transform: translateX(-6%) scale(1.04); }
.card__shine {
  position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,0.09), transparent 45%);
  transition: opacity 0.3s;
}
.card:hover .card__shine { opacity: 1; }
.card__body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 24px; flex: 1; }
.card__title { margin: 0; font: 700 21px/1.25 var(--sans); letter-spacing: -0.01em; text-wrap: balance; }
.card__title a::after { content: ""; position: absolute; inset: 0; z-index: 3; }
.card__excerpt { margin: 0; color: var(--muted); font-size: 15px; }
.card .meta { margin-top: auto; padding-top: 6px; }
.card[hidden] { display: none; }

/* Aparición al hacer scroll */
.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Franja de manifiesto ---------- */
.manifesto { padding: 90px 0; border-top: 1px solid var(--line); text-align: center; }
.manifesto p { margin: 0 auto; max-width: 900px; font: 400 clamp(30px, 4.6vw, 58px)/1.05 var(--display); letter-spacing: 0.01em; color: #86827a; }
.manifesto p b { font-weight: 400; color: var(--text); }

/* ---------- Artículo ---------- */
.article-hero { position: relative; padding-top: 32px; }
.article-hero .poster { height: clamp(220px, 38vw, 420px); border-radius: calc(var(--radius) + 6px); border: 1px solid var(--line); }
.article-hero .poster__word { font-size: clamp(120px, 24vw, 320px); }
.article-head { max-width: 820px; margin: -90px auto 0; position: relative; padding: 0 4px; }
.article-head h1 { margin: 12px 0 18px; font: 400 clamp(42px, 6.4vw, 86px)/0.94 var(--display); letter-spacing: 0.01em; text-wrap: balance; text-shadow: 0 6px 40px rgba(0,0,0,0.6); }
.article-head .lead { font: 400 clamp(19px, 2vw, 23px)/1.5 var(--serif); color: #d8d3c9; margin: 0 0 20px; }
.article-head .meta { padding-bottom: 22px; border-bottom: 1px solid var(--line); }

.prose { max-width: 720px; margin: 40px auto 0; font: 400 19px/1.75 var(--serif); color: #e4dfd5; }
.prose h2 { margin: 2.2em 0 0.6em; font: 400 clamp(32px, 4vw, 44px)/1 var(--display); letter-spacing: 0.01em; color: var(--text); }
.prose h3 { margin: 1.8em 0 0.4em; font: 700 21px/1.3 var(--sans); color: var(--text); }
.prose p { margin: 0 0 1.1em; }
.prose strong { color: var(--text); }
.prose a { color: var(--amber); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 0.5em; }
.prose li::marker { color: var(--amber); }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--amber); font-style: italic; color: #cfc9be; }
.prose .stat { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 1.6em 0; font-family: var(--sans); }
.prose .stat div { padding: 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.prose .stat b { display: block; font: 400 38px/1 var(--display); color: var(--amber); }
.prose .stat span { font-size: 13px; color: var(--muted); }

/* ---------- Imágenes y vídeos ---------- */
.media { margin: 2em 0; }
.media img, .yt { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.media img { height: auto; }
.media figcaption { margin-top: 10px; font: 400 14px/1.5 var(--sans); color: var(--muted); }
.media figcaption small { display: block; font-size: 12px; color: #9a968e; }
.media figcaption a { color: inherit; text-decoration: underline; }
.yt {
  position: relative; display: block; aspect-ratio: 16 / 9; padding: 0; cursor: pointer; overflow: hidden;
  background-size: cover; background-position: center;
}
.yt::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.1), rgba(0,0,0,0.55)); transition: opacity 0.3s; }
.yt:hover::before { opacity: 0.4; }
.yt__play {
  position: absolute; left: 50%; top: 50%; width: 78px; height: 78px; margin: -39px 0 0 -39px;
  border-radius: 50%; background: var(--red);
  box-shadow: 0 0 0 0 rgba(229,56,59,0.6); animation: pulse 2.2s infinite;
  transition: transform 0.35s var(--ease);
}
.yt__play::after { content: ""; position: absolute; left: 31px; top: 24px; border-style: solid; border-width: 15px 0 15px 24px; border-color: transparent transparent transparent #fff; }
.yt:hover .yt__play { transform: scale(1.1); }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.box { max-width: 720px; margin: 48px auto 0; padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.box h2 { margin: 0 0 16px; font: 400 32px/1 var(--display); letter-spacing: 0.02em; }
.faq details { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 16px 32px 16px 0; position: relative;
  font-weight: 700; font-size: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 24px; color: var(--amber); transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; color: #cfc9be; font-size: 16px; }
.sources ul { margin: 0; padding: 0; list-style: none; font-size: 15px; }
.sources li { padding: 10px 0; border-top: 1px solid var(--line); }
.sources a { color: var(--amber); }
.sources small { display: block; color: var(--muted); }
.note { margin: 16px 0 0; font-size: 13px; color: var(--muted); }

/* ---------- Páginas legales ---------- */
.page { max-width: 760px; margin: 0 auto; padding: 64px 0 40px; }
.page h1 { font: 400 clamp(44px, 7vw, 80px)/0.95 var(--display); margin: 0 0 24px; }
.page h2 { font: 700 20px/1.3 var(--sans); margin: 2em 0 0.5em; }
.page p, .page li { color: #d0cbc1; }

/* ---------- Publicidad (se oculta si está vacía) ---------- */
.ad-slot { max-width: 728px; margin: 40px auto; min-height: 90px; }
.ad-slot:empty { display: none; }

/* ---------- Pie ---------- */
.site-footer { margin-top: 60px; border-top: 1px solid var(--line); background: var(--bg-2); }
.site-footer__in { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding: 48px 0; }
.site-footer p { color: var(--muted); font-size: 14px; max-width: 420px; }
.site-footer nav { display: flex; flex-direction: column; gap: 10px; align-content: start; font-size: 14px; color: var(--muted); }
.site-footer nav h2 { margin: 0 0 4px; font: 700 12px/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--text); }
.site-footer nav a:hover { color: var(--amber); }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 18px 0 28px; border-top: 1px solid var(--line); font-size: 13px; color: #9a968e; }
@media (max-width: 900px) { .site-footer__in { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .site-footer__in { grid-template-columns: 1fr; } }

/* ---------- Foto de la noticia (tarjetas y destacado) ---------- */
.photo { position: relative; overflow: hidden; background: var(--surface); }
.photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transition: transform 1.2s var(--ease), filter 0.6s; filter: saturate(0.9) contrast(1.05); }
.photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,7,10,0) 55%, rgba(7,7,10,0.55)); pointer-events: none; }
.photo__credit {
  position: absolute; right: 8px; bottom: 6px; z-index: 1; max-width: 90%;
  font: 400 10px/1.3 var(--sans); color: rgba(255,255,255,0.85); text-shadow: 0 1px 3px #000;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.card .photo { aspect-ratio: 16 / 9; }
.card:hover .photo img { transform: scale(1.06); filter: saturate(1.05) contrast(1.05); }
.hero__card .photo { position: absolute; inset: 0; }
.hero__card .photo::after { display: none; }
.hero__card .photo__credit { top: 10px; bottom: auto; right: 14px; }
.hero__card:hover .photo img { transform: scale(1.03); }
.hero__card--photo .photo img { object-position: 70% 25%; }
.hero__card--photo .hero__shade {
  background:
    linear-gradient(90deg, rgba(7,7,10,0.92) 0%, rgba(7,7,10,0.72) 42%, rgba(7,7,10,0.15) 78%, rgba(7,7,10,0) 100%),
    linear-gradient(180deg, rgba(7,7,10,0) 55%, rgba(7,7,10,0.85) 100%);
}
@media (max-width: 760px) {
  .hero__card--photo .hero__shade { background: linear-gradient(180deg, rgba(7,7,10,0.2) 0%, rgba(7,7,10,0.75) 45%, rgba(7,7,10,0.95) 100%); }
}

/* ---------- Accesibilidad ---------- */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 300; padding: 12px 18px; border-radius: 10px;
  background: var(--amber); color: #000; font-weight: 700; transition: top 0.2s;
}
.skip-link:focus { top: 12px; }
.linklike { background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.linklike:hover { color: var(--amber); }
.site-footer__tools { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- Migas de pan, cabeceras de sección y utilidades ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; font-size: 13px; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: underline; text-decoration-color: rgba(255,255,255,0.2); text-underline-offset: 3px; }
.crumbs a:hover { color: var(--amber); }
.crumbs [aria-current] { color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60ch; }
.article-head .crumbs { position: relative; }
a.kicker:hover { text-decoration: underline; }
.cat-head { max-width: 760px; margin-bottom: 36px; }
.cat-head p { color: #cfc9be; font-size: 18px; }
.more { text-align: center; margin: 40px 0 0; }
.btn--ghost { background: transparent; color: var(--text); border: 1px solid rgba(255,255,255,0.25); }
.btn--ghost:hover { border-color: var(--amber); color: var(--amber); box-shadow: none; }

/* Compartir */
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; font-size: 13px; color: var(--muted); }
.share a, .share button {
  padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: transparent;
  color: var(--text); font: 500 13px/1 var(--sans); cursor: pointer; transition: border-color 0.2s, color 0.2s;
}
.share a:hover, .share button:hover { border-color: var(--amber); color: var(--amber); }

/* Autoría */
.author { display: flex; gap: 16px; align-items: flex-start; }
.author .logo__reel { flex: none; width: 44px; height: 44px; margin-top: 4px; }
.author p { margin: 4px 0 0; color: #cfc9be; font-size: 15px; }
.author a { color: var(--amber); }

/* Archivo */
.archive { list-style: none; padding: 0; margin: 0 0 32px; }
.archive li { display: grid; grid-template-columns: 36px 1fr auto; gap: 14px; align-items: baseline; padding: 12px 0; border-top: 1px solid var(--line); }
.archive time { font: 400 22px/1 var(--display); color: var(--amber); }
.archive a { font-weight: 500; }
.archive a:hover { color: var(--amber); }
.archive span { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; }
@media (max-width: 560px) { .archive li { grid-template-columns: 36px 1fr; } .archive span { grid-column: 2; } }

/* Páginas legales */
.page__lead { font-size: 19px; color: var(--text) !important; }
.page__date { font-size: 13px; color: var(--muted) !important; }
.page a { color: var(--amber); text-decoration: underline; text-underline-offset: 3px; }
.page a.btn { color: #0a0a0a; text-decoration: none; }
.page table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: 14px; display: block; overflow-x: auto; }
.page th, .page td { text-align: left; vertical-align: top; padding: 10px 12px; border: 1px solid var(--line); color: #d0cbc1; }
.page th { background: var(--surface); color: var(--text); font-weight: 700; }
.page code { font-size: 13px; color: var(--amber); }

/* Formulario de contacto */
.form { margin: 28px 0 40px; padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.form__row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form label { font-weight: 700; font-size: 15px; color: var(--text); }
.form input[type=text], .form input[type=email], .form select, .form textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.18);
  background: var(--bg); color: var(--text); font: 400 16px/1.4 var(--sans);
}
.form textarea { resize: vertical; min-height: 140px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--amber); outline-offset: 1px; border-color: transparent; }
.form small, .form__opt, .form__note { font-size: 13px; font-weight: 400; color: var(--muted); }
.form__req { color: var(--red); }
.form__check { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 16px; }
.form__check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--amber); flex: none; }
.form__check label { font-weight: 400; }
.form__info { font-size: 13px; line-height: 1.5; color: var(--muted) !important; margin: 0 0 20px; }
.form .btn { border: 0; cursor: pointer; font-family: var(--sans); }
.form__trap { position: absolute; left: -9999px; }

/* ---------- Animaciones desactivadas por el usuario ---------- */
.quieto *, .quieto *::before, .quieto *::after { animation: none !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
.quieto .letterbox { display: none; }
.quieto .grain { display: none; }

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .letterbox { display: none; }
  .reveal, .hero__title .w > span, .hero__lead, .hero .meta, .hero .btn { opacity: 1; transform: none; }
}
