/* Medival — sitio público. Fondo de cuero oscuro (no negro puro), hierro y oro como las ventanas del juego; bordes nítidos,
   sin desenfoques; la portada sobre el arte del juego. */

:root {
  --bg: #1b1610;
  --bg-2: #241d15;
  --panel: #2a2219;
  --panel-2: #33291e;
  --line: #4a3c27;
  --line-2: #6e5a37;
  --text: #e6dcc2;
  --muted: #b4a888;
  --soft: #8e8468;
  --gold: #e6c879;
  --gold-2: #c2934a;
  --gold-3: #8a6320;
  --ink: #241603;
  --focus: #ffd56a;
  --max: 1160px;
  --serif: 'Cinzel', Georgia, 'Times New Roman', serif;
  --sans: 'Alegreya Sans', 'Segoe UI', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--bg); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 18px/1.6 var(--sans); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #fff0c2; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.2; color: var(--gold); letter-spacing: .04em; margin: 0 0 .5em; text-wrap: balance; }
h2 { font-size: clamp(28px, 4vw, 42px); }
h3 { font-size: 21px; }
p { margin: 0 0 1em; }
strong { color: #f3e6c4; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--gold); color: var(--ink); font-weight: 700; }
.skip:focus { top: 12px; }
.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; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } body { font-size: 17px; } }

/* ---------- botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 28px; border-radius: 0; cursor: pointer;
  font: 800 15px/1 var(--serif); letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  transition: background-color .15s, color .15s, box-shadow .15s;
}
.btn svg { flex: none; }
.btn-gold {
  color: var(--ink);
  background: linear-gradient(#f3d98c, #c99a45 55%, #a4762c);
  border: 1px solid #000;
  box-shadow: inset 0 0 0 1px #fff2c055, inset 0 -2px 0 #5a3e0f, 0 0 0 1px var(--gold-2);
}
.btn-gold:hover { color: var(--ink); background: linear-gradient(#fbe6a6, #d8ab55 55%, #b5853a); }
.btn-iron {
  color: #efe3c0; background: #0f0c09;
  border: 1px solid #000; box-shadow: inset 0 0 0 1px var(--line-2), 0 0 0 1px #000;
}
.btn-iron:hover { color: #fff3cf; background: #18130d; box-shadow: inset 0 0 0 1px var(--gold-2), 0 0 0 1px #000; }
.btn-lg { min-height: 58px; padding: 16px 36px; font-size: 17px; }
.btn-sm { min-height: 40px; padding: 9px 16px; font-size: 13px; }

/* ---------- aviso de alpha (franja de arriba) ---------- */
.alpha-bar { background: #0b0805; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.alpha-bar .wrap { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 38px; padding-top: 6px; padding-bottom: 6px; text-align: center; flex-wrap: wrap; }
.alpha-bar a { color: var(--gold); }
.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px;
  font: 800 11px/1.4 var(--serif); letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink); background: linear-gradient(#f3d98c, #c99a45); border: 1px solid #000; box-shadow: 0 0 0 1px var(--gold-3);
}

/* ---------- cabecera ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #14100b; border-bottom: 1px solid var(--line-2); box-shadow: 0 1px 0 #000, 0 2px 0 #2a2217; }
.site-header .wrap { display: flex; align-items: center; gap: 16px; min-height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--gold); text-decoration: none; font: 800 21px var(--serif); letter-spacing: .12em; text-transform: uppercase; }
.brand img { width: 30px; height: 30px; }
.brand:hover { color: #fff0c2; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.nav a:not(.btn) { color: var(--muted); text-decoration: none; font: 700 13px var(--serif); letter-spacing: .12em; text-transform: uppercase; padding: 10px 10px; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--gold); }
.nav .btn { margin-left: 8px; }
.header-play { display: none; }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 0; background: #14100b; border: 1px solid var(--line-2); color: var(--gold); cursor: pointer; }
.nav-toggle svg { width: 22px; height: 22px; margin: auto; }
@media (max-width: 1020px) {
  .header-play { display: inline-flex; margin-left: auto; }
  .nav-toggle { display: grid; place-items: center; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 16px 18px; background: #14100b; border-bottom: 1px solid var(--line-2); }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid #221b12; font-size: 14px; }
  .nav .btn { margin: 14px 0 0; }
  .nav .nav-play { display: none; }
  .no-js .nav { display: flex; position: static; flex-direction: row; flex-wrap: wrap; padding: 0; border: 0; }
}
@media (max-width: 400px) { .brand { font-size: 18px; letter-spacing: .08em; } .brand img { width: 26px; height: 26px; } .header-play { padding: 9px 12px; letter-spacing: .1em; } }

/* ---------- adornos ---------- */
.eyebrow { display: block; margin-bottom: 10px; font: 700 13px var(--serif); letter-spacing: .24em; text-transform: uppercase; color: var(--gold-2); }
.divider { width: min(420px, 80%); margin: 14px auto 18px; }
.lead { font-size: clamp(18px, 1.9vw, 21px); color: #ddd0ad; }
/* línea con rombo, entre secciones */
.rule { display: flex; align-items: center; gap: 14px; max-width: var(--max); margin: 0 auto; padding: 0 24px; color: var(--gold-2); }
.rule::before, .rule::after { content: ""; flex: 1; height: 1px; background: var(--line-2); }
.rule span { width: 10px; height: 10px; transform: rotate(45deg); border: 1px solid var(--gold-2); background: #000; box-shadow: 0 0 0 3px #000, 0 0 0 4px var(--line); }

/* marco de hierro y oro (9-slice de las ventanas del juego) */
.frame { border: 18px solid transparent; border-image: url(assets/frame.jpg) 60 fill / 18px / 0 stretch; }
.frame img { width: 100%; }
/* panel: doble filete dorado, esquinas con rombos */
.panel { position: relative; background: var(--panel); border: 1px solid var(--line-2); box-shadow: inset 0 0 0 4px var(--bg-2), inset 0 0 0 5px var(--line); }
.panel::before, .panel::after { content: ""; position: absolute; top: -5px; width: 9px; height: 9px; transform: rotate(45deg); background: var(--gold-2); border: 1px solid #000; }
.panel::before { left: -5px; } .panel::after { right: -5px; }

/* ---------- portada ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; min-height: min(88svh, 860px); display: grid; align-items: center;
  padding: clamp(40px, 7vw, 96px) 0 clamp(52px, 8vw, 100px); border-bottom: 1px solid var(--line-2); }
/* the art behind it, darkened to the left where the text sits (a plain shade: no blur) */
.hero-bg, .hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero-bg img { object-fit: cover; object-position: 50% 40%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgb(12 9 6 / .82) 0%, rgb(12 9 6 / .45) 45%, rgb(12 9 6 / .55) 100%); }
/* centred over the art, as the first site had it */
.hero .wrap { display: flex; justify-content: center; }
.hero-text { align-items: center !important; text-align: center; max-width: 760px; }
.hero-logo { margin: 0 auto 4px !important; width: min(560px, 100%, calc((100svh - 470px) * 1.52)) !important; min-width: 240px; }
/* the whole hero (logo, title, text, buttons) fits the first screen, under the header and the alpha strip */
.hero { min-height: calc(100svh - 150px) !important; padding: clamp(18px, 3.5vh, 48px) 0 clamp(24px, 4vh, 56px) !important; }
.hero-tag { max-width: 17em; margin-left: auto !important; margin-right: auto !important; font-size: clamp(19px, 2vw, 25px) !important; }
.hero-sub { margin-bottom: clamp(14px, 2.6vh, 26px) !important; }
.hero-cta, .hero-meta { justify-content: center; }
.hero-tag, .hero-sub, .hero-meta { text-shadow: 0 1px 3px #000; }
.hero-text { display: flex; flex-direction: column; align-items: flex-start; }
.hero-logo { width: min(500px, 100%); margin: 0 0 6px -10px; }
.hero-tag { margin: 6px 0 10px; font: 700 clamp(21px, 2.4vw, 28px)/1.3 var(--serif); color: #f6ead0; letter-spacing: .04em; }
.hero-sub { margin: 0 0 26px; font-size: clamp(17px, 1.6vw, 20px); color: #ddd0ad; max-width: 32em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-meta { margin: 22px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; font: 700 12px var(--serif); letter-spacing: .16em; text-transform: uppercase; color: #d4c393; }
.hero-meta li::before { content: "◆"; color: var(--gold-2); margin-right: 8px; font-size: 9px; vertical-align: 2px; }
.hero-art img { aspect-ratio: 3 / 2; object-fit: cover; }
.hero-art figcaption { margin-top: 8px; font-size: 14px; color: var(--soft); text-align: right; }
.hero-art figure { margin: 0; }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero::before { background: linear-gradient(0deg, rgb(12 9 6 / .9) 0%, rgb(12 9 6 / .62) 100%); }
  .hero-bg img { object-position: 40% 50%; }
  .hero-text { align-items: center; text-align: center; }
  .hero-logo { margin: 0 auto 4px; width: min(420px, 92%); }
  .hero-cta, .hero-meta { justify-content: center; }
  .hero-art figcaption { text-align: center; }
}
@media (max-width: 600px) {
  .hero-cta { flex-direction: column; width: 100%; max-width: 360px; margin: 0 auto; }
  .hero-cta .btn { width: 100%; }
}

/* ---------- cifras ---------- */
.stats { background: var(--bg-2); border-bottom: 1px solid var(--line); }
.stats ul { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); }
.stats li { padding: 26px 10px 22px; text-align: center; border-left: 1px solid var(--line); }
.stats li:first-child { border-left: 0; }
.stats b { display: block; font: 800 clamp(28px, 3.4vw, 40px)/1 var(--serif); color: var(--gold); letter-spacing: .02em; }
.stats span { display: block; margin-top: 8px; font: 700 12px/1.35 var(--serif); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 900px) {
  .stats ul { grid-template-columns: repeat(3, 1fr); }
  .stats li:nth-child(4) { border-left: 0; }
  .stats li:nth-child(n+4) { border-top: 1px solid var(--line); }
}
@media (max-width: 480px) { .stats li { padding: 18px 4px 16px; } .stats span { font-size: 10.5px; letter-spacing: .08em; } }

/* ---------- secciones ---------- */
.section { padding: clamp(60px, 8vw, 110px) 0; position: relative; background: var(--bg); }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { text-align: center; max-width: 780px; margin: 0 auto clamp(34px, 5vw, 54px); }

/* aviso de alpha (bloque) */
.alpha-note { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: start; padding: 26px 30px; }
.alpha-note .seal { width: 64px; height: 64px; display: grid; place-items: center; border: 1px solid var(--gold-2); box-shadow: inset 0 0 0 3px #000, inset 0 0 0 4px var(--line-2); font: 800 13px var(--serif); letter-spacing: .1em; color: var(--gold); text-align: center; line-height: 1.15; }
.alpha-note h2 { font-size: clamp(22px, 2.6vw, 28px); margin-bottom: .35em; }
.alpha-note p { color: #d8cba8; margin-bottom: .6em; }
.alpha-note ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.alpha-note li { position: relative; padding-left: 22px; color: #d8cba8; }
.alpha-note li::before { content: ""; position: absolute; left: 3px; top: .55em; width: 7px; height: 7px; transform: rotate(45deg); background: var(--gold-2); }
@media (max-width: 600px) { .alpha-note { grid-template-columns: 1fr; padding: 22px 18px; } .alpha-note .seal { width: 54px; height: 54px; font-size: 11px; } }

/* qué es */
.about { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.about .divider { margin-left: 0; }
.checks { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before { content: ""; position: absolute; left: 4px; top: .48em; width: 11px; height: 11px; transform: rotate(45deg); background: linear-gradient(135deg, #f6dc8e, var(--gold-3)); box-shadow: 0 0 0 1px #000; }
@media (max-width: 880px) { .about { grid-template-columns: 1fr; } }

/* la historia */
.acts { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.act { padding: 28px 28px 24px; }
.act-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 4px; }
.act h3 { font-size: clamp(22px, 2.4vw, 27px); margin: 0; }
.act .lv { font: 700 12px var(--serif); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-2); }
.act > p { color: #d8cba8; margin: 10px 0 18px; }
.chapters { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line-2); margin-left: 6px; }
.chapters li { position: relative; padding: 0 0 12px 22px; color: #e0d4b4; line-height: 1.4; }
.chapters li:last-child { padding-bottom: 0; }
.chapters li::before { content: ""; position: absolute; left: -5px; top: .45em; width: 9px; height: 9px; transform: rotate(45deg); background: #000; border: 1px solid var(--gold-2); }
.chapters li.boss::before { background: var(--gold-2); }
.chapters small { display: block; color: var(--soft); font-size: 15px; }
.story-shot { margin-top: 22px; }
.story-note { margin-top: 18px; text-align: center; color: var(--muted); }
@media (max-width: 880px) { .acts { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .act { padding: 22px 18px 20px; } }

/* características destacadas: captura + texto, alternadas */
.feature { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(26px, 5vw, 56px); align-items: center; margin-bottom: clamp(48px, 7vw, 84px); }
.feature:nth-of-type(even) { grid-template-columns: 1fr 1.15fr; }
.feature:nth-of-type(even) .feature-art { order: 2; }
.feature-art figure { margin: 0; }
.feature h3 { font-size: clamp(24px, 2.6vw, 30px); }
.feature p { color: #d8cba8; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.tags li { padding: 5px 12px; border: 1px solid var(--line-2); background: #0d0a07; font: 700 12px var(--serif); letter-spacing: .1em; text-transform: uppercase; color: #dcc893; }
@media (max-width: 880px) {
  .feature, .feature:nth-of-type(even) { grid-template-columns: 1fr; }
  .feature:nth-of-type(even) .feature-art { order: 0; }
}

/* grilla de características más chicas */
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.card { padding: 24px 22px 20px; background: var(--panel); border: 1px solid var(--line); border-top: 2px solid var(--gold-3); }
.card svg { width: 36px; height: 36px; color: var(--gold); margin-bottom: 12px; }
.card h3 { font-size: 17px; letter-spacing: .06em; margin-bottom: .4em; }
.card p { margin: 0; font-size: 16px; color: var(--muted); line-height: 1.5; }
@media (max-width: 600px) {
  .grid-cards { grid-template-columns: 1fr 1fr; gap: 10px; }
  .card { padding: 16px 14px 14px; }
  .card svg { width: 30px; height: 30px; margin-bottom: 8px; }
  .card h3 { font-size: 14px; letter-spacing: .03em; }
  .card p { font-size: 14.5px; }
}
@media (max-width: 360px) { .grid-cards { grid-template-columns: 1fr; } }

/* cómo empezar */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { padding: 30px 24px 24px; text-align: center; counter-increment: step; }
.step::marker { content: none; }
.step .num { display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto 16px; transform: rotate(45deg); border: 1px solid var(--gold-2); background: #000; box-shadow: inset 0 0 0 3px #000, inset 0 0 0 4px var(--line-2); }
.step .num::after { content: counter(step); transform: rotate(-45deg); font: 800 22px var(--serif); color: var(--gold); }
.step h3 { font-size: 19px; }
.step p { margin: 0; color: var(--muted); font-size: 16.5px; }
.keys { margin: 30px auto 0; max-width: 900px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; color: var(--muted); font-size: 16px; }
kbd { display: inline-block; min-width: 26px; padding: 2px 7px; margin-right: 6px; border: 1px solid var(--line-2); border-bottom-width: 2px; background: #0d0a07; color: var(--gold); font: 700 13px var(--serif); text-align: center; }
@media (max-width: 880px) { .steps { grid-template-columns: 1fr; } }

/* galería */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-flow: dense; gap: 12px; list-style: none; margin: 0; padding: 0; }
.gallery li:first-child { grid-column: span 2; grid-row: span 2; }
.gallery li.wide { grid-column: span 2; }
.gallery a { display: flex; flex-direction: column; height: 100%; text-decoration: none; border: 1px solid var(--line-2); background: #000; }
.gallery a:hover { border-color: var(--gold-2); }
.gallery a:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.gallery figure { margin: 0; height: 100%; display: flex; flex-direction: column; }
.gallery picture { flex: 1; min-height: 0; overflow: hidden; display: block; }
.gallery img { width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .35s ease; }
.gallery a:hover img, .gallery a:focus-visible img { transform: scale(1.03); }
.gallery figcaption { padding: 8px 12px; border-top: 1px solid var(--line); background: #000; font: 700 12px var(--serif); letter-spacing: .12em; text-transform: uppercase; color: #e6d6ad; }
@media (max-width: 700px) { .gallery { grid-template-columns: 1fr 1fr; gap: 8px; } .gallery li:first-child { grid-column: span 2; grid-row: auto; } .gallery figcaption { font-size: 10.5px; letter-spacing: .06em; padding: 6px 8px; } }
.gallery-note { margin-top: 18px; text-align: center; font-size: 15px; color: var(--soft); }

/* visor de imágenes */
.lightbox { padding: 0; border: 0; background: transparent; max-width: min(1280px, 96vw); max-height: 94vh; overflow: visible; }
.lightbox::backdrop { background: #000000f0; }
.lightbox img { max-height: 84vh; width: auto; margin: 0 auto; border: 1px solid var(--line-2); }
.lightbox p { margin: 10px 0 0; text-align: center; color: #e8dcbc; font: 700 14px var(--serif); letter-spacing: .1em; }
.lb-btn { position: absolute; top: 50%; translate: 0 -50%; width: 48px; height: 48px; border: 1px solid var(--line-2); background: #000; color: var(--gold); font-size: 26px; line-height: 1; cursor: pointer; }
.lb-prev { left: -60px; } .lb-next { right: -60px; }
.lb-close { position: absolute; top: -52px; right: 0; width: 44px; height: 44px; border: 1px solid var(--line-2); background: #000; color: var(--gold); font-size: 24px; cursor: pointer; }
@media (max-width: 1100px) { .lb-prev { left: 6px; } .lb-next { right: 6px; } }

/* hoja de ruta */
.roadmap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; list-style: none; margin: 0; padding: 0; }
.stage { padding: 30px 26px 24px; }
.stage-label { display: inline-block; margin-bottom: 10px; padding: 4px 10px; font: 800 11px var(--serif); letter-spacing: .16em; text-transform: uppercase; color: var(--ink); background: linear-gradient(#f3d98c, var(--gold-2)); border: 1px solid #000; }
.stage.next .stage-label { background: #000; color: var(--gold); border-color: var(--gold-2); }
.stage.later .stage-label { background: #1d1810; color: #d9caa0; border-color: var(--line-2); }
.stage h3 { font-size: 22px; }
.stage ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.stage li { position: relative; padding-left: 22px; color: #d8cba8; font-size: 17px; line-height: 1.45; }
.stage li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 8px; height: 8px; transform: rotate(45deg); background: var(--gold-2); }
.stage.next li::before { background: #000; border: 1px solid var(--gold); }
.stage.later li::before { background: transparent; border: 1px solid var(--line-2); }
.roadmap-note { margin-top: 22px; text-align: center; color: var(--soft); font-size: 15px; }
@media (max-width: 880px) { .roadmap { grid-template-columns: 1fr; } }

/* llamado final */
.cta { padding: clamp(60px, 9vw, 110px) 0; background: #000; }
.cta-box { text-align: center; padding: clamp(34px, 5vw, 56px) clamp(18px, 4vw, 48px); }
.cta h2 { font-size: clamp(28px, 4.6vw, 48px); }
.cta p { max-width: 36em; margin: 0 auto 26px; color: #e2d6b8; font-size: clamp(17px, 2vw, 20px); }
.cta .hero-cta { justify-content: center; }
.cta small { display: block; margin-top: 18px; color: var(--soft); font-size: 15px; }

/* pie */
.site-footer { padding: 46px 0 34px; border-top: 1px solid var(--line-2); box-shadow: inset 0 1px 0 #000, inset 0 2px 0 #2a2217; background: #050403; font-size: 16px; color: var(--soft); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.site-footer h2 { font-size: 14px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.site-footer a { color: #cdbf98; text-decoration: none; display: inline-block; padding: 4px 0; }
.site-footer a:hover { color: var(--gold); text-decoration: underline; }
.site-footer .brand { display: inline-flex; padding: 0; color: var(--gold); }
.footer-brand p { max-width: 30em; margin-top: 10px; }
.footer-legal { margin-top: 34px; padding-top: 20px; border-top: 1px solid #221c13; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 14px; color: #7f765e; }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- páginas legales ---------- */
.page-head { padding: 56px 0 10px; text-align: center; }
.page-head h1 { font-size: clamp(30px, 4.6vw, 46px); }
.page-head p { color: var(--muted); margin: 0; }
.draft { display: flex; gap: 14px; align-items: flex-start; max-width: 860px; margin: 26px auto 0; padding: 16px 20px; border: 1px solid #a2442c; border-left: 6px solid #d0613f; background: #1d0c07; color: #ffd9c9; font-size: 17px; }
.draft strong { color: #ffe8de; }
.draft svg { flex: none; width: 26px; height: 26px; color: #ff9b78; margin-top: 2px; }
.legal { max-width: 860px; margin: 30px auto 80px; padding: clamp(22px, 4vw, 44px); background: var(--panel); border: 1px solid var(--line-2); box-shadow: inset 0 0 0 4px #000, inset 0 0 0 5px var(--line); }
.legal h2 { font-size: clamp(21px, 2.6vw, 26px); margin-top: 1.8em; padding-top: .2em; }
.legal h2:first-of-type { margin-top: 0; }
.legal h3 { font-size: 18px; margin-top: 1.4em; color: #e3c37a; }
.legal ul, .legal ol { padding-left: 1.3em; margin: 0 0 1em; }
.legal li { margin-bottom: .4em; }
.legal p, .legal li { color: #ddd1b0; }
.legal .ph { background: #3d2f13; color: #ffe08a; padding: 0 5px; font-weight: 700; overflow-wrap: anywhere; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.legal .toc { margin: 0 0 30px; padding: 18px 22px; background: #000; border: 1px solid var(--line); }
.legal .toc h2 { font-size: 15px; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 10px; color: var(--gold-2); }
.legal .toc ol { margin: 0; columns: 2; column-gap: 30px; font-size: 16px; }
@media (max-width: 600px) { .legal .toc ol { columns: 1; } }
.legal .updated { color: var(--soft); font-size: 15px; }
.legal table { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; font-size: 16px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid #2c2419; }
.legal th { font: 700 13px var(--serif); letter-spacing: .08em; text-transform: uppercase; color: var(--gold-2); }
@media (max-width: 600px) {
  .legal table, .legal thead, .legal tbody, .legal tr, .legal th, .legal td { display: block; }
  .legal thead { display: none; }
  .legal tr { padding: 10px 0; border-bottom: 1px solid #2c2419; }
  .legal td { border: 0; padding: 3px 0; }
  .legal td::before { content: attr(data-label) ": "; font-weight: 700; color: var(--gold-2); }
  .legal { padding: 20px 16px; }
}
/* ajustes de composición */
.roadmap { align-items: start; }
.grid-cards { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 880px) { .grid-cards { grid-template-columns: 1fr 1fr; } .grid-cards .card:last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (max-width: 360px) { .grid-cards { grid-template-columns: 1fr; } }
.story-shot img { aspect-ratio: 21 / 9; object-fit: cover; object-position: 50% 30%; }
@media (max-width: 700px) { .story-shot img { aspect-ratio: 16 / 9; } }

.contact-box { display: grid; gap: 6px; justify-items: center; text-align: center; margin: 6px 0 26px; padding: 26px 18px; }
.contact-mail { font: 700 clamp(21px, 5.6vw, 30px) var(--sans); letter-spacing: .01em; overflow-wrap: anywhere; }
@media (max-width: 600px) { .contact-box { padding: 22px 8px; } }
