/* Base compartida de las páginas interiores (gracias, política de privacidad).
   Barra, pie y tokens copiados de index.html para que se vean iguales. */
:root {
  --bg: #ffffff;
  --bg-alt: #f4f6f9;
  --ink: #1a2233;
  --muted: #525d70;
  --line: #dfe3ea;
  --line-strong: #1a2233;
  --blue: #17325c;
  --blue-hover: #0f2444;
  --band: #13213a;
  --accent: #0b7290;
  --green: #0f7a5c;
  --green-soft: #e8f4ef;
  --serif: 'Source Serif 4', Georgia, serif;
  --sans: 'IBM Plex Sans', system-ui, sans-serif;
  --brand: 'Cormorant Garamond', serif;
  --ease-out: cubic-bezier(.22,1,.36,1);
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  font-family: var(--sans); font-size: 1rem; line-height: 1.6;
  background: var(--bg); color: var(--ink);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh; display: flex; flex-direction: column;
}
main { flex: 1; }
::selection { background: #cfe6ec; color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
strong { font-weight: 600; }

/* ── Barra ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: .85rem 6%;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s;
}
nav.scrolled { box-shadow: 0 6px 20px rgba(17,28,48,.06); }
.logo {
  font-family: var(--brand); font-size: 1.75rem; letter-spacing: .01em;
  color: var(--ink); text-decoration: none;
  display: flex; align-items: flex-end; gap: .6rem; line-height: 1;
}
.logo-word { display: flex; flex-direction: column; }
.logo-text-line { display: flex; align-items: baseline; }
.logo-dpo { font-weight: 700; letter-spacing: .12em; }
.logo-virtual { font-weight: 400; font-style: italic; letter-spacing: .02em; }
.logo-sub {
  font-family: var(--sans); font-size: .7rem; font-weight: 500; letter-spacing: .16em;
  color: var(--muted); text-transform: uppercase; margin-top: 4px; display: block;
}
.logo-badge {
  font-size: .7rem; font-weight: 600; letter-spacing: .1em;
  background: var(--blue); color: #fff;
  padding: .18rem .48rem; border-radius: 3px;
  font-family: var(--sans); align-self: center; margin-bottom: 4px;
}
nav ul { list-style: none; display: flex; align-items: center; gap: 2rem; }
nav a { color: var(--muted); text-decoration: none; font-size: .95rem; transition: color .2s; }
nav a:hover { color: var(--ink); }
.nav-cta {
  background: var(--blue); color: #fff !important;
  padding: .6rem 1.2rem; border-radius: 4px; font-weight: 500;
  transition: background-color .2s;
}
.nav-cta:hover { background: var(--blue-hover); }
.nav-toggle {
  display: none; width: 44px; height: 44px; margin-right: -10px;
  background: none; border: 0; color: var(--ink); cursor: pointer;
  align-items: center; justify-content: center; border-radius: 4px;
}
.nav-toggle .i-close { display: none; }
nav.is-open .nav-toggle .i-open { display: none; }
nav.is-open .nav-toggle .i-close { display: block; }
@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  nav ul {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 6% 1.25rem;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 30px rgba(17,28,48,.08);
    opacity: 0; transform: translateY(-6px); visibility: hidden;
    transition: opacity .15s, transform .15s, visibility 0s .15s;
  }
  nav.is-open ul {
    opacity: 1; transform: none; visibility: visible;
    transition: opacity .25s var(--ease-out), transform .25s var(--ease-out);
  }
  nav ul li a { display: block; padding: .8rem 0; font-size: 1rem; color: var(--ink); border-bottom: 1px solid var(--line); }
  nav ul li:last-child a { border-bottom: 0; }
  nav ul li a.nav-cta { display: inline-block; margin-top: 1rem; padding: .75rem 1.4rem; }
}
@media (max-width: 420px) {
  .logo { font-size: 1.5rem; }
}

/* ── Botones ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .9rem 1.6rem; border-radius: 4px; font-size: .97rem; font-weight: 500;
  text-decoration: none; font-family: var(--sans); cursor: pointer; border: 1px solid transparent;
  transition: background-color .2s, border-color .2s, color .2s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-hover); }
.btn-outline { background: transparent; color: var(--ink); border-color: #b9c1cd; }
.btn-outline:hover { border-color: var(--ink); }

/* ── Contenido ── */
.page { max-width: calc(var(--wrap) + 12%); margin: 0 auto; padding: 9rem 6% 6rem; width: 100%; }
.page-title {
  font-family: var(--serif); font-size: clamp(2.4rem, 4.6vw, 3.6rem);
  font-weight: 600; line-height: 1.08; letter-spacing: -.02em; margin-bottom: 1.25rem;
}
.page-lead { font-size: 1.12rem; color: var(--muted); line-height: 1.7; max-width: 58ch; }
.page-lead strong { color: var(--ink); }

/* ── Pie ── */
footer { background: var(--band); color: #fff; padding: 4rem 6% 2rem; }
footer .logo { color: #fff; font-size: 1.45rem; }
footer .logo-sub { color: #9fb0c8; }
.footer-inner { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; }
@media (max-width: 900px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-inner { grid-template-columns: 1fr; } }
.footer-brand p { font-size: .92rem; color: #b9c6d8; line-height: 1.7; margin-top: 1rem; max-width: 34ch; }
footer h5 { font-family: var(--sans); font-size: .85rem; font-weight: 600; color: #fff; margin-bottom: 1rem; }
footer ul { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
footer ul li a { color: #b9c6d8; text-decoration: none; font-size: .92rem; transition: color .2s; }
footer ul li a:hover { color: #fff; }
.footer-bottom {
  max-width: var(--wrap); margin: 3rem auto 0; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.14);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .85rem; color: #9fb0c8;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
