/* Shared minimal styling for the legal pages (aviso-legal, privacidad, cookies).
   Mirrors the main site's brand language without pulling the full styles.css. */

:root {
  --paper: #f5efe6;
  --paper-2: #ebe1cf;
  --ink: #1a1a1a;
  --ink-2: #4a4a4a;
  --muted: #807870;
  --crimson: #b33778;
  --crimson-soft: #c64088;
  --line: rgba(26, 26, 26, 0.12);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Inter Tight', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--crimson); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--crimson-soft); }

.legal-nav {
  position: sticky;
  top: 0;
  background: rgba(245, 239, 230, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
  z-index: 10;
}

.legal-nav-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.legal-nav img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.legal-nav a.back {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.02em;
}

main {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 24px 96px;
}

h1 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
  color: var(--ink);
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--crimson);
  margin-bottom: 16px;
}

.last-updated {
  font-size: 13px;
  color: var(--muted);
  margin: 8px 0 48px;
}

h2 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
  font-size: 28px;
  line-height: 1.15;
  color: var(--ink);
  margin: 48px 0 16px;
  letter-spacing: -0.005em;
}

h3 {
  font-family: 'Inter Tight', system-ui, sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  margin: 32px 0 8px;
}

p {
  margin: 0 0 16px;
}

ul, ol {
  margin: 0 0 16px;
  padding-left: 24px;
}

li {
  margin-bottom: 8px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 32px;
  font-size: 14px;
}

th, td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  font-weight: 600;
  color: var(--ink);
  background: var(--paper-2);
}

.legal-footer {
  border-top: 1px solid var(--line);
  margin-top: 64px;
  padding-top: 32px;
  font-size: 13px;
  color: var(--muted);
}

.legal-footer a { color: var(--ink-2); }
.legal-footer a[href^="tel:"],
.legal-footer a[href^="mailto:"] { white-space: nowrap; }

.note {
  background: var(--paper-2);
  border-left: 3px solid var(--crimson);
  padding: 16px 20px;
  font-size: 14px;
  margin: 24px 0;
}
