/* Flexline Transport — páginas legales (privacidad y términos, RO/EN). v27 (17/11/2026): mismo estilo oscuro que la portada.
   Sin fuentes ni scripts de terceros: Manrope va servida desde este dominio. */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("../fonts/manrope-500-cyrillic-ext.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("../fonts/manrope-500-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("../fonts/manrope-500-greek.woff2") format("woff2");
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("../fonts/manrope-500-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("../fonts/manrope-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #070B12;
  --bg-foot: #05080E;
  --surface: rgba(18, 27, 43, 0.78);
  --border: rgba(255, 255, 255, 0.11);
  --border-strong: rgba(56, 189, 248, 0.28);
  --text: #F8FAFC;
  --text-body: #C9D4E3;
  --text-muted: #A6B5CB;
  --accent: #38BDF8;
  --primary: #0A84FF;
  --gut: clamp(1.125rem, 4vw, 2.5rem);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Manrope", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5.25rem;
}

body {
  margin: 0;
  background:
    radial-gradient(68.75rem 32.5rem at 85% -10%, rgba(10, 132, 255, 0.14), transparent 65%),
    var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.03125rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-wrap: break-word;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration: none; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 0.125rem solid var(--accent); outline-offset: 0.1875rem; }

.wrap {
  width: 100%;
  max-width: calc(76.25rem);
  margin: 0 auto;
  padding: 0 max(var(--gut), env(safe-area-inset-left)) 0 max(var(--gut), env(safe-area-inset-right));
}

.skip {
  position: absolute;
  left: -624.9375rem;
  top: 0.5rem;
  z-index: 200;
  padding: 0.625rem 1rem;
  border-radius: 0.5rem;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
}
.skip:focus { left: 1rem; }

/* Cabecera: la misma barra oscura de la portada. */
.top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 11, 18, 0.86);
  backdrop-filter: saturate(190%) blur(1.375rem);
  -webkit-backdrop-filter: saturate(190%) blur(1.375rem);
  border-bottom: 1px solid var(--border);
}

.top-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 4rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  flex-shrink: 0;
}
.brand img { width: auto; height: 1.875rem; }

.top .back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0 1rem;
  border-radius: 62.4375rem;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 700;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}
.top .back:hover { background: rgba(56, 189, 248, 0.14); border-color: var(--accent); }

@media (min-width: 1024px) {
  .top-in { min-height: 4.5rem; }
  .brand img { height: 2.0625rem; }
}

/* Texto legal: columna de lectura cómoda. */
.legal { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(4rem, 8vw, 6.5rem); }
.legal .wrap { max-width: calc(47.5rem + 2 * var(--gut)); }

.legal h1 {
  font-size: clamp(1.875rem, 2vw + 1.375rem, 2.875rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.022em;
  color: #fff;
  text-wrap: balance;
}

.legal .upd { margin-top: 0.625rem; font-size: 0.90625rem; color: var(--text-muted); }

.legal h2 {
  margin-top: clamp(2.25rem, 3vw + 1.5rem, 3rem);
  padding-top: clamp(1.75rem, 2vw + 1.125rem, 2.25rem);
  border-top: 1px solid var(--border);
  font-size: clamp(1.3125rem, 0.6vw + 1.125rem, 1.625rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.012em;
  color: #fff;
  text-wrap: balance;
}

.legal h3 {
  margin-top: 1.625rem;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.4;
  color: #fff;
}

.legal p,
.legal li { margin-top: 0.75rem; color: var(--text-body); }

.legal ul { padding-left: 1.25em; list-style: disc; }
.legal li::marker { color: var(--accent); }
.legal strong { color: #fff; font-weight: 700; }

.legal a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(56, 189, 248, 0.45);
  text-underline-offset: 0.1875rem;
}
.legal a:hover { text-decoration-color: var(--accent); }

@media (min-width: 768px) {
  body { font-size: 1.0625rem; }
}

/* Pie: el mismo de la portada. */
.foot {
  padding: 3.5rem 0 calc(2.5rem + env(safe-area-inset-bottom));
  background: var(--bg-foot);
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.875rem;
}

.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.75rem 2rem;
}

@media (min-width: 560px) {
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
}

@media (min-width: 1024px) {
  .foot-grid { grid-template-columns: 1.5fr repeat(2, minmax(0, 1fr)); }
  .foot-brand { grid-column: auto; }
}

.foot-brand img { width: auto; height: 1.875rem; margin-bottom: 0.875rem; }
.foot-brand p { max-width: 34ch; line-height: 1.6; }

.foot-h {
  margin-bottom: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #fff;
}

.foot ul a {
  display: inline-flex;
  align-items: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  color: var(--text-muted);
  overflow-wrap: anywhere;
}
.foot ul a:hover,
.foot ul a[aria-current="page"] { color: #fff; }

.badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.625rem;
  margin-top: 0.875rem;
}

.anpc { display: inline-block; border-radius: 0.375rem; overflow: hidden; }
.anpc img { width: 11.0625rem; height: auto; }

.eu {
  display: inline-flex;
  align-items: center;
  gap: 0.5625rem;
  height: 2.75rem;
  padding: 0 0.75rem 0 0.5rem;
  border: 1px solid var(--border-strong);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.04);
}

.eu-flag { width: 2.75rem; height: 1.875rem; flex-shrink: 0; border-radius: 0.1875rem; }

.eu-t {
  display: flex;
  flex-direction: column;
  font-size: 0.71875rem;
  line-height: 1.2;
  color: var(--text-muted);
}
.eu-t strong { font-size: 0.78125rem; font-weight: 700; color: #fff; }

.foot-legal {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
  line-height: 1.6;
}
.foot-legal strong { color: #fff; font-weight: 700; }
.foot-legal p + p { margin-top: 0.5rem; }

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

/* v28 · Pantallas anchas, como la portada (home.css v48): rem = 16 px hasta 1440 px; desde ahí crece con
   la pantalla. Cabecera y pie llegan al 90 % del ancho desde 1280; el texto legal mantiene su columna. */
html { font-size: 16px; }

@media (min-width: 1280px) {
  .top-in,
  .foot-grid,
  .foot-legal {
    max-width: none;
    padding-left: 5vw;
    padding-right: 5vw;
  }
}

@media (min-width: 1440px) {
  html { font-size: min(calc(100vw / 90), 28px); }
}
