/* Páginas legales de ynventra.com (política de privacidad y de cookies).
   Mismos colores y tipografías que index.html, en una versión sobria para leer. */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --wine:  #39031a;
  --plum:  #6c1134;
  --berry: #a8285a;
  --blush: #f6eaef;
  --paper: #fcfafa;
  --ink:   #1f1418;
  --ink-2: #5b4a52;
  --ink-3: #8a7880;
  --line:  rgba(57, 3, 26, .09);
  --sans:  'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --title: 'Jost', 'Inter', system-ui, sans-serif;
}

html { -webkit-text-size-adjust: 100%; }
body { font-family: var(--sans); font-size: 16px; line-height: 1.7; color: var(--ink-2); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--berry); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1180px, 100% - 48px); margin-inline: auto; }

/* Navegación */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(252, 250, 250, .92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav-in { height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand img { height: 52px; width: auto; }
.nav-tools { display: flex; align-items: center; gap: 22px; }
/* Cambio de idioma: enlace discreto al otro idioma disponible */
.lang {
  display: inline-flex; align-items: center; gap: 7px; text-decoration: none;
  font: 500 12.5px/1 var(--title); letter-spacing: .16em; color: var(--ink-2);
  transition: color .2s;
}
.lang span { margin-right: -.16em; }
.lang svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.lang:hover { color: var(--wine); }
.nav-back {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
  color: var(--wine); border: 1px solid rgba(57, 3, 26, .18); background: #fff;
  transition: background .25s, color .25s, border-color .25s, transform .25s;
}
.nav-back svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s; }
.nav-back:hover { background: var(--wine); border-color: var(--wine); color: #fff; }
.nav-back:hover svg { transform: translateX(-2px); }

/* Contenido */
.doc { width: min(760px, 100% - 48px); margin: 0 auto; padding: clamp(56px, 8vw, 96px) 0 clamp(72px, 10vw, 120px); }
.doc h1 { font-family: var(--title); font-weight: 600; font-size: clamp(1.4rem, 3vw, 1.9rem); letter-spacing: .12em; text-transform: uppercase; line-height: 1.25; color: var(--plum); }
.doc .updated { margin-top: 12px; font-size: 13.5px; color: var(--ink-3); }
.doc .intro { margin-top: 28px; font-size: 1.05rem; color: var(--ink); }
.doc h2 { font-family: var(--title); font-weight: 500; font-size: 1.05rem; letter-spacing: .1em; text-transform: uppercase; color: var(--plum); margin: 48px 0 14px; padding-top: 28px; border-top: 1px solid var(--line); }
.doc h3 { font-size: 15.5px; font-weight: 600; color: var(--ink); margin: 22px 0 6px; }
.doc p + p { margin-top: 12px; }
.doc ul { margin: 12px 0 0 20px; }
.doc li { margin-top: 6px; }
.doc li::marker { color: var(--ink-3); }
.doc strong { font-weight: 600; }

.data-table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 14.5px; }
.data-table th, .data-table td { text-align: left; vertical-align: top; padding: 12px 14px; border-top: 1px solid var(--line); }
.data-table th { width: 32%; font-weight: 600; color: var(--ink); background: #fff; }
.data-table td { background: #fff; }
.data-table tr:last-child th, .data-table tr:last-child td { border-bottom: 1px solid var(--line); }

/* Pie */
.footer { background: var(--paper); color: var(--ink-2); font-size: 14px; padding: 48px 0 40px; border-top: 1px solid var(--line); }
.f-top { display: flex; justify-content: space-between; align-items: center; gap: 24px 40px; flex-wrap: wrap; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.f-top img { height: 52px; width: auto; }
.f-tag { max-width: 460px; line-height: 1.6; }
.f-bottom { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-top: 24px; font-size: 12.5px; }
.f-links { display: flex; gap: 24px; flex-wrap: wrap; }
.f-links a { text-decoration: none; }
.f-links a:hover, .f-links a[aria-current="page"] { text-decoration: underline; }

@media (max-width: 640px) {
  .wrap, .doc { width: calc(100% - 32px); }
  .nav-in { height: 72px; }
  .brand img { height: 40px; }
  .f-top img { height: 44px; }
  .data-table th, .data-table td { display: block; width: 100%; }
  .data-table td { border-top: 0; padding-top: 0; }
}
