/* =============================================================
   Casa de Relatos — páginas legales y 404 (/privacidad/, /condiciones/, 404.html)
   Independiente de styles.css: no carga main.js ni la web principal.
   ============================================================= */
:root { --bg: #0d0505; --bg-2: #1a0a0a; --cream: #E8D6C4; --cream-dim: rgba(232,214,196,.78); --gold: #C9A84C; --line: rgba(201,168,76,.35);
  --serif: "Graditen", "Cormorant Garamond", Georgia, serif; --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--cream); font-family: var(--sans); font-size: 17.5px; line-height: 1.75; }
a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--cream); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
html[data-lang="es"] [lang="en"], html[data-lang="en"] [lang="es"] { display: none; }
.lg-wrap { width: 100%; max-width: 760px; margin: 0 auto; padding: 0 20px; }
.lg-head { border-bottom: 1px solid var(--line); background: var(--bg-2); }
.lg-head .lg-wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 96px; }
.lg-logo { display: inline-flex; align-items: center; min-height: 44px; }
.lg-logo img { display: block; height: 64px; width: auto; }
.lg-back { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 500; letter-spacing: .04em; }
.lg-main { padding: clamp(2.5rem, 7vw, 4.5rem) 0 clamp(3rem, 8vw, 5rem); }
.lg-main h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(2.2rem, 6vw, 3.2rem); line-height: 1.08; margin: 0 0 1rem; color: var(--cream); }
.lg-intro { color: var(--cream-dim); margin: 0 0 2.2rem; }
.lg-main h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.45rem, 3.6vw, 1.75rem); line-height: 1.2; margin: 2.2rem 0 .6rem; color: var(--gold); }
.lg-main p { margin: 0 0 1rem; }
.lg-main ul { margin: 0 0 1rem; padding-left: 1.2rem; }
.lg-main li { margin-bottom: .6rem; }
.lg-main li::marker { color: var(--gold); }
.lg-main strong { font-weight: 600; color: var(--cream); }
.lg-foot { border-top: 1px solid var(--line); padding: 2rem 0 2.5rem; text-align: center; font-size: 15px; color: var(--cream-dim); }
.lg-foot p { margin: .3rem 0; }
.lg-foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .2rem 1.2rem; margin-bottom: .8rem; }
.lg-foot nav a { display: inline-flex; align-items: center; min-height: 44px; }
/* 404 */
.lg-404 { min-height: 60vh; display: grid; align-content: center; justify-items: center; text-align: center; gap: 1rem; }
.lg-404 p { color: var(--cream-dim); max-width: 34ch; }
.lg-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 1.6rem; border-radius: 999px; text-decoration: none;
  background: linear-gradient(180deg, rgba(201,168,76,.95), rgba(201,168,76,.8)); color: var(--bg); font-weight: 600; font-size: 15px; letter-spacing: .1em; text-transform: uppercase; }
.lg-btn:hover { color: var(--bg); background: #dcbd6a; }
@media (max-width: 480px) {
  body { font-size: 17px; }
  .lg-head .lg-wrap { min-height: 84px; }
}
