/* =============================================================
 * PRECISSA INSTITUTE · Estilos compartidos para paginas legales
 * Aviso Legal · Privacidad · Cookies
 * ============================================================= */
:root {
  --bg:           #F2ECE3;
  --bg2:          #E6DDCC;
  --surface:      #FFFFFF;
  --soft:         #E5D9C5;
  --ink:          #241D17;
  --ink-soft:     #544A40;
  --muted:        #8A8073;
  --accent:       #A86B4E;
  --accent-dark:  #7E4C36;
  --accent-soft:  #ECDDD0;
  --line:         rgba(36,29,23,0.10);
  --line-strong:  rgba(36,29,23,0.18);
  --serif: 'Instrument Serif', serif;
  --sans:  'Manrope', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--bg); color: var(--ink); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); }

.nav { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--line); }
.nav-inner { max-width: 1100px; margin: 0 auto; padding: 18px 32px; display: flex; align-items: center; justify-content: center; gap: 16px; text-align: center; }
.nav-logo { font-family: var(--serif); font-size: 22px; letter-spacing: 0.14em; line-height: 1; color: var(--ink); text-decoration: none; }
.nav-logo:hover { color: var(--ink); }
.nav-logo-sub { display: block; font-family: var(--sans); font-size: 9px; font-weight: 500; letter-spacing: 0.10em; color: var(--muted); margin-top: 6px; }

/* Marca de agua: sello SS gigante semitransparente que rota con el scroll */
.page-watermark {
  position: fixed; right: -160px; top: 50%;
  transform: translate3d(0, -50%, 0) rotate(0deg);
  width: 520px; height: 520px;
  border-radius: 50%;
  opacity: 0.08; pointer-events: none;
  filter: saturate(0.6) contrast(0.9);
  z-index: 0;
  will-change: transform;
}
.legal-wrap, .nav, .breadcrumb, .footer { position: relative; z-index: 1; }
@media (max-width: 720px) {
  .page-watermark { width: 340px; height: 340px; right: -150px; opacity: 0.07; }
}
.nav-cta { display: inline-flex; padding: 10px 18px; border-radius: 999px; background: var(--ink); color: var(--bg); font-size: 13px; font-weight: 500; text-decoration: none; transition: background 0.18s; }
.nav-cta:hover { background: #3a302a; color: var(--bg); }

.breadcrumb { max-width: 760px; margin: 0 auto; padding: 18px 32px 0; font-size: 12px; color: var(--muted); letter-spacing: 0.04em; }
.breadcrumb a { color: inherit; text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb-sep { margin: 0 8px; color: var(--line-strong); }

.legal-wrap { max-width: 760px; margin: 0 auto; padding: 40px 32px 64px; }
.eyebrow { font-size: 11px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }

h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 5vw, 52px); line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 18px; }
h1 em { font-style: italic; color: var(--accent-dark); }

.legal-meta { font-size: 13px; color: var(--muted); margin-bottom: 36px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }

h2 { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.2; letter-spacing: -0.01em; margin: 36px 0 12px; color: var(--ink); }
h3 { font-family: var(--sans); font-weight: 600; font-size: 15px; letter-spacing: 0.02em; margin: 22px 0 8px; color: var(--ink); }

p { margin-bottom: 14px; color: var(--ink-soft); line-height: 1.7; }
p strong { color: var(--ink); font-weight: 600; }

ul, ol { margin: 0 0 18px 22px; }
li { margin-bottom: 8px; color: var(--ink-soft); line-height: 1.65; }
li strong { color: var(--ink); font-weight: 600; }

.legal-table { width: 100%; border-collapse: collapse; font-size: 13.5px; margin: 18px 0; display: block; overflow-x: auto; max-width: 100%; -webkit-overflow-scrolling: touch; }
.legal-table thead, .legal-table tbody { display: table; width: 100%; table-layout: auto; }
.legal-table th, .legal-table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal-table th { font-family: var(--sans); font-weight: 600; font-size: 11px; letter-spacing: 0.10em; text-transform: uppercase; color: var(--ink); background: var(--bg2); }
.legal-table td { color: var(--ink-soft); }
.legal-table td strong { color: var(--ink); font-weight: 600; }

.note-box { background: var(--accent-soft); border-left: 3px solid var(--accent); padding: 18px 22px; border-radius: 4px; margin: 22px 0; font-size: 14px; }
.note-box p { color: var(--ink); margin-bottom: 0; }

.footer { background: var(--bg2); padding: 30px 32px; font-size: 13px; color: var(--muted); }
.footer-inner { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer a { color: inherit; text-decoration: none; }
.footer a:hover { color: var(--accent); }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }

@media (max-width: 720px) {
  .nav-inner { padding: 14px 20px; }
  .nav-logo { font-size: 16px; }
  .breadcrumb { padding: 14px 20px 0; font-size: 11px; }
  .legal-wrap { padding: 28px 20px 48px; }
  h2 { font-size: 22px; }
  p, li { font-size: 15px; }
  .footer { padding: 24px 20px; }
}
