/* Estilos compartidos por aviso-legal.html, politica-de-privacidad.html y politica-de-cookies.html.
   Tokens, nav y footer copiados de index.html: si cambian allí, actualizarlos aquí. */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --cream: #f7f3ee;
  --white: #ffffff;
  --black: #111111;
  --mid: #666666;
  --light: #aaaaaa;
  --rule: #e2d9ce;
  --accent: #b89c7d;
}
body { font-family: 'Montserrat', sans-serif; background: var(--white); color: var(--black); font-weight: 300; }

/* NAV */
nav { position: sticky; top: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 0 3rem; height: 70px; background: rgba(247,243,238,0.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--rule); }
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a { font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--black); text-decoration: none; transition: color 0.2s; }
.nav-links a:hover { color: var(--accent); }
.nav-logo { position: absolute; left: 50%; transform: translateX(-50%); }
.nav-logo img { height: 38px; width: auto; display: block; }
.nav-cta a { font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--black); text-decoration: none; border-bottom: 1px solid var(--accent); padding-bottom: 2px; transition: color 0.2s; }
.nav-cta a:hover { color: var(--accent); }

/* CONTENIDO */
.legal { max-width: 780px; margin: 0 auto; padding: 6rem 3rem 7rem; }
.section-label { font-size: 0.58rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--accent); margin-bottom: 1.4rem; }
.section-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.2rem, 4.5vw, 4rem); font-weight: 300; line-height: 1.18; }
.section-title em { font-style: italic; }
.section-title strong { font-family: 'Montserrat', sans-serif; font-size: 0.38em; font-weight: 400; letter-spacing: 0.22em; text-transform: uppercase; font-style: normal; }
.legal-updated { font-size: 0.68rem; letter-spacing: 0.08em; color: var(--light); margin-top: 1.6rem; }
.legal-intro { margin-top: 3rem; }
.legal h2 { font-family: 'Cormorant Garamond', serif; font-size: 1.75rem; font-weight: 400; line-height: 1.3; margin: 3.5rem 0 1.2rem; padding-top: 2.5rem; border-top: 1px solid var(--rule); }
.legal p, .legal li { font-size: 0.88rem; line-height: 1.95; color: var(--mid); }
.legal p + p, .legal p + ul, .legal ul + p, .legal table + p { margin-top: 1rem; }
.legal ul { padding-left: 1.2rem; }
.legal li + li { margin-top: 0.5rem; }
.legal li::marker { color: var(--accent); }
.legal strong { font-weight: 500; color: var(--black); }
.legal a { color: var(--black); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; transition: color 0.2s; }
.legal a:hover { color: var(--accent); }
.legal table { width: 100%; border-collapse: collapse; margin-top: 1.5rem; border-top: 1px solid var(--rule); }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 0.9rem 1rem; border-bottom: 1px solid var(--rule); font-size: 0.82rem; line-height: 1.75; color: var(--mid); }
.legal th { width: 32%; font-weight: 500; color: var(--black); background: var(--cream); }

/* FOOTER */
footer { padding: 5rem 3rem 3rem; text-align: center; background: var(--white); border-top: 1px solid var(--rule); }
footer img { height: 44px; margin-bottom: 2rem; opacity: 0.65; }
.footer-tagline { font-family: 'Cormorant Garamond', serif; font-size: 1.15rem; font-style: italic; color: var(--mid); margin-bottom: 2.5rem; }
.footer-links { display: flex; justify-content: center; gap: 2rem; list-style: none; margin-bottom: 2rem; flex-wrap: wrap; }
.footer-links a { font-size: 0.58rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--light); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover, .footer-links a[aria-current="page"] { color: var(--black); }
.footer-copy { font-size: 0.62rem; color: var(--light); }

/* RESPONSIVE */
@media (max-width: 768px) {
  nav { padding: 0 1.5rem; } .nav-links, .nav-cta { display: none; }
  .legal { padding: 4rem 1.5rem 5rem; }
  .legal table, .legal tbody, .legal tr, .legal th, .legal td { display: block; }
  .legal th { width: auto; border-bottom: none; padding-bottom: 0.2rem; } .legal td { padding-top: 0.2rem; }
  footer { padding: 4rem 1.5rem 2rem; }
}
