/* ============================================================
   LEGAL PAGES — STYLE.CSS
   Base: sistema de diseño de SHYRO Hosting
   (Space Grotesk / Inter / JetBrains Mono, grid de líneas)
   Acento: CYAN (#00E5FF) — idéntico a la web principal.
   Conserva TODO el contenido y clases del HTML legal.
   ============================================================ */

/* ---------- 1. TOKENS ---------- */
:root {
  --bg-0: #0A0C10;
  --bg-1: #101318;
  --bg-2: #161A20;
  --bg-3: #1D222A;

  --fg-0: #F2F5F8;
  --fg-1: #C8CFD6;
  --fg-2: #8A929C;
  --fg-3: #565C66;

  /* ===== ACENTO CYAN SHYRO ===== */
  --cyan-500: #00E5FF;
  --cyan-600: #00C2DA;
  --cyan-700: #0095AA;
  --cyan-800: #007A8C;
  --cyan-dim: rgba(0, 229, 255, 0.12);
  --cyan-line: rgba(0, 229, 255, 0.32);
  --cyan-dim-strong: rgba(0, 229, 255, 0.18);
  --cyan-line-strong: rgba(0, 229, 255, 0.5);

  --amber: #FFB454;
  --amber-dim: rgba(255, 180, 84, 0.12);
  --amber-line: rgba(255, 180, 84, 0.4);

  --line-1: rgba(242, 245, 248, 0.08);
  --line-2: rgba(242, 245, 248, 0.14);
  --line-3: rgba(242, 245, 248, 0.24);

  --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --t-mega: clamp(2.2rem, 5.5vw, 4.2rem);
  --t-xl: clamp(1.8rem, 3.4vw, 2.6rem);
  --t-lg: clamp(1.3rem, 2vw, 1.7rem);
  --t-md: clamp(1.05rem, 1.4vw, 1.25rem);
  --t-base: 1rem;
  --t-sm: 0.875rem;
  --t-xs: 0.78rem;
  --t-2xs: 0.68rem;

  --gutter: clamp(16px, 3vw, 32px);
  --container: 1280px;

  --r-1: 2px;
  --r-2: 4px;
  --r-3: 6px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 120ms;
  --t-base: 220ms;
  --t-slow: 420ms;

  --btn-primary-fg: #071A1F;
  --btn-primary-bg: #00E5FF;
  --btn-primary-bg-hover: #00C2DA;

  --color-scheme: dark;
}

html[data-theme="light"] {
  --bg-0: #F4F6F8;
  --bg-1: #FFFFFF;
  --bg-2: #ECEEF2;
  --bg-3: #E0E3E8;
  --fg-0: #0A0C10;
  --fg-1: #2A2E34;
  --fg-2: #5A6068;
  --fg-3: #8A9098;

  --cyan-500: #0089A0;
  --cyan-600: #007A8C;
  --cyan-700: #006878;
  --cyan-800: #005562;
  --cyan-dim: rgba(0, 137, 160, 0.10);
  --cyan-line: rgba(0, 137, 160, 0.30);
  --cyan-dim-strong: rgba(0, 137, 160, 0.16);
  --cyan-line-strong: rgba(0, 137, 160, 0.5);

  --amber: #B36A00;
  --amber-dim: rgba(179, 106, 0, 0.10);
  --amber-line: rgba(179, 106, 0, 0.35);

  --line-1: rgba(10, 12, 16, 0.08);
  --line-2: rgba(10, 12, 16, 0.14);
  --line-3: rgba(10, 12, 16, 0.24);

  --btn-primary-fg: #FFFFFF;
  --btn-primary-bg: #007A8C;
  --btn-primary-bg-hover: #006878;

  --color-scheme: light;
}

html { color-scheme: var(--color-scheme); }
html:not([data-theme]) { visibility: hidden; }
html[data-theme] { visibility: visible; }

/* ---------- 2. RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body.legal-body {
  font-family: var(--font-body);
  font-size: var(--t-base);
  line-height: 1.6;
  color: var(--fg-0);
  background: var(--bg-0);
  overflow-x: hidden;
  padding-top: 80px;
  transition: background-color var(--t-base) var(--ease), color var(--t-base) var(--ease);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
::selection { background: var(--cyan-500); color: var(--bg-0); }

body.legal-body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(var(--line-1) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-1) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  opacity: 0.55;
}

/* ---------- 3. LAYOUT ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- 4. NAVBAR ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 14px 0;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background var(--t-slow) var(--ease),
              border-color var(--t-slow) var(--ease),
              padding var(--t-slow) var(--ease);
}
.navbar.scrolled {
  background: color-mix(in srgb, var(--bg-0) 88%, transparent);
  border-bottom-color: var(--line-2);
  padding: 10px 0;
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
}

.nav-container {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(20px, 4vw, 48px);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-img {
  height: 34px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  transition: filter var(--t-base) var(--ease);
}
html[data-theme="dark"] .logo-img,
html:not([data-theme]) .logo-img { filter: none; }
html[data-theme="light"] .logo-img {
  filter: invert(1) hue-rotate(180deg) brightness(0.15) contrast(1.2);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2vw, 32px);
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-1);
}
.nav-links > a,
.nav-dropdown-toggle {
  color: var(--fg-1);
  font-weight: 500;
  white-space: nowrap;
  padding: 6px 0;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color var(--t-base) var(--ease);
}
.nav-links > a::after,
.nav-dropdown-toggle::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--cyan-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-base) var(--ease);
}
.nav-links > a:hover,
.nav-dropdown-toggle:hover { color: var(--fg-0); }
.nav-links > a:hover::after,
.nav-dropdown-toggle:hover::after { transform: scaleX(1); }

.nav-dropdown { position: relative; display: inline-flex; align-items: center; }
.nav-dropdown-toggle { background: transparent; border: none; cursor: pointer; }
.nav-dropdown-toggle i { font-size: 0.65em; transition: transform var(--t-base) var(--ease); }
.nav-dropdown:hover .nav-dropdown-toggle i,
.nav-dropdown.active .nav-dropdown-toggle i { transform: rotate(180deg); }
.nav-dropdown::after {
  content: '';
  position: absolute;
  top: 100%; left: -20px; right: -20px; height: 20px;
}
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  min-width: 300px;
  background: var(--bg-1);
  border: 1px solid var(--line-2);
  border-radius: var(--r-2);
  padding: 8px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(-6px);
  transition: opacity var(--t-base) var(--ease),
              visibility var(--t-base) var(--ease),
              transform var(--t-base) var(--ease);
  z-index: 1001;
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.7);
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.active .nav-dropdown-menu {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0);
}
.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border-radius: var(--r-2);
  transition: background var(--t-fast) var(--ease);
}
.nav-dropdown-menu a:hover { background: var(--bg-2); }
.nav-dropdown-menu a i {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-2);
  border-radius: var(--r-1);
  color: var(--cyan-500);
  font-size: 0.85rem;
  flex-shrink: 0;
  background: var(--bg-2);
}
.nav-dropdown-menu a div { display: flex; flex-direction: column; gap: 2px; }
.nav-dropdown-menu a span {
  font-family: var(--font-body);
  font-size: var(--t-sm);
  font-weight: 600;
  color: var(--fg-0);
  text-transform: none;
  letter-spacing: 0;
}
.nav-dropdown-menu a:hover span { color: var(--cyan-500); }
.nav-dropdown-menu a small {
  font-family: var(--font-body);
  font-size: var(--t-2xs);
  color: var(--fg-2);
  text-transform: none;
  letter-spacing: 0;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.signup-link {
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-1);
  transition: color var(--t-base) var(--ease);
  white-space: nowrap;
}
.signup-link:hover { color: var(--cyan-500); }

/* ---------- 5. BOTONES ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--r-1);
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  min-height: 44px;
  transition: background var(--t-base) var(--ease),
              color var(--t-base) var(--ease),
              border-color var(--t-base) var(--ease),
              transform var(--t-fast) var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn i { font-size: 0.9em; }

.btn-primary {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-fg);
  border-color: var(--btn-primary-bg);
  font-weight: 700;
}
.btn-primary:hover {
  background: var(--btn-primary-bg-hover);
  border-color: var(--btn-primary-bg-hover);
}
.btn-secondary {
  background: transparent;
  color: var(--fg-0);
  border-color: var(--line-3);
}
.btn-secondary:hover {
  border-color: var(--cyan-500);
  color: var(--cyan-500);
  background: var(--cyan-dim);
}

.btn:focus-visible, a:focus-visible, button:focus-visible {
  outline: 2px solid var(--cyan-500);
  outline-offset: 3px;
  border-radius: var(--r-1);
}

/* ---------- 6. MENÚ MÓVIL ---------- */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  border: 1px solid var(--line-3);
  border-radius: var(--r-1);
  background: transparent;
  padding: 0;
  cursor: pointer;
  z-index: 1002;
}
.menu-toggle span {
  display: block;
  width: 18px; height: 1.5px;
  background: var(--fg-0);
  margin: 0 auto;
  transition: all var(--t-base) var(--ease);
}
.menu-toggle.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(420px, 100vw);
  background: var(--bg-0);
  border-left: 1px solid var(--line-2);
  z-index: 1001;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform var(--t-slow) var(--ease);
  padding: max(80px, calc(40px + 60px)) 24px max(24px, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-inner { display: flex; flex-direction: column; flex: 1; }
.mobile-menu-links { display: flex; flex-direction: column; margin-bottom: 20px; }
.mobile-menu-links > a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--fg-0);
  border-bottom: 1px solid var(--line-1);
  transition: color var(--t-base) var(--ease), padding-left var(--t-base) var(--ease);
}
.mobile-menu-links > a i { color: var(--fg-2); font-size: 0.85rem; transition: all var(--t-base) var(--ease); }
.mobile-menu-links > a:hover { color: var(--cyan-500); padding-left: 6px; }
.mobile-menu-links > a:hover i { color: var(--cyan-500); }

.mobile-dropdown { display: flex; flex-direction: column; border-bottom: 1px solid var(--line-1); }
.mobile-dropdown-toggle {
  display: flex; justify-content: space-between; align-items: center;
  width: 100%; padding: 16px 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--fg-0);
  text-align: left;
  transition: color var(--t-base) var(--ease);
}
.mobile-dropdown-toggle i { color: var(--fg-2); font-size: 0.85rem; transition: all var(--t-base) var(--ease); }
.mobile-dropdown-toggle:hover,
.mobile-dropdown-toggle[aria-expanded="true"] { color: var(--cyan-500); }
.mobile-dropdown-toggle[aria-expanded="true"] i { color: var(--cyan-500); transform: rotate(180deg); }
.mobile-dropdown-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-slow) var(--ease), padding var(--t-slow) var(--ease);
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0;
}
.mobile-dropdown.open .mobile-dropdown-menu { max-height: 700px; padding: 0 0 14px; }
.mobile-dropdown-menu a {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 0;
  font-size: var(--t-sm);
  color: var(--fg-1);
  transition: all var(--t-base) var(--ease);
}
.mobile-dropdown-menu a i { color: var(--cyan-500); font-size: 0.85rem; width: 18px; text-align: center; }
.mobile-dropdown-menu a:hover { color: var(--cyan-500); padding-left: 6px; }

.mobile-menu-cta {
  display: flex; align-items: center; justify-content: center;
  width: 100%;
  padding: 16px 24px;
  margin-top: auto;
  background: var(--btn-primary-bg);
  color: var(--btn-primary-fg);
  border-radius: var(--r-1);
  font-family: var(--font-mono);
  font-size: var(--t-sm);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background var(--t-base) var(--ease);
}
.mobile-menu-cta:hover { background: var(--btn-primary-bg-hover); }

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1000;
  opacity: 0; visibility: hidden;
  transition: all var(--t-slow) var(--ease);
}
.mobile-menu-overlay.active { opacity: 1; visibility: visible; }
body.menu-open { overflow: hidden; }

/* ---------- 7. SWITCH DE IDIOMA (se mantiene la clase) ---------- */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 1px solid var(--line-3);
  border-radius: var(--r-1);
  background: transparent;
  color: var(--fg-1);
  font-family: var(--font-mono);
  font-size: var(--t-2xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--t-base) var(--ease);
  min-height: 38px;
}
.lang-switch:hover {
  color: var(--cyan-500);
  border-color: var(--cyan-500);
  background: var(--cyan-dim);
}
.lang-switch-flag { font-size: 1rem; }
.lang-switch-label { font-size: 0.75rem; letter-spacing: 0.08em; }
.lang-switch-mobile { width: 100%; justify-content: center; margin-bottom: 12px; }

/* ---------- 8. CONTENIDO LEGAL ---------- */
.legal-main { padding: clamp(40px, 5vw, 64px) 0 clamp(60px, 8vw, 100px); }

.legal-header {
  text-align: center;
  margin-bottom: clamp(40px, 5vw, 64px);
  padding-bottom: clamp(28px, 4vw, 40px);
  border-bottom: 1px solid var(--line-2);
}

.legal-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--cyan-line-strong);
  background: var(--cyan-dim);
  font-family: var(--font-mono);
  font-size: var(--t-2xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan-500);
  margin-bottom: 20px;
}
.legal-badge i { font-size: 0.85em; }

.legal-title {
  font-family: var(--font-display);
  font-size: var(--t-mega);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.02;
  color: var(--fg-0);
  margin-bottom: 14px;
  text-wrap: balance;
}

.legal-updated {
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  letter-spacing: 0.06em;
  color: var(--fg-2);
}

.legal-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: clamp(32px, 4vw, 56px);
  align-items: start;
}

/* ---------- 9. ÍNDICE LATERAL ---------- */
.legal-toc {
  position: sticky;
  top: 100px;
  background: var(--bg-1);
  border: 1px solid var(--line-2);
  border-radius: var(--r-2);
  padding: 22px;
}

.legal-toc h4 {
  font-family: var(--font-mono);
  font-size: var(--t-2xs);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-2);
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-1);
  display: flex;
  align-items: center;
  gap: 8px;
}
.legal-toc h4::before {
  content: '';
  width: 4px; height: 4px;
  background: var(--cyan-500);
}

.legal-toc ul { display: flex; flex-direction: column; gap: 2px; }

.legal-toc ul li a {
  display: block;
  padding: 8px 12px;
  font-size: var(--t-xs);
  color: var(--fg-1);
  border-radius: var(--r-1);
  border-left: 2px solid transparent;
  transition: all var(--t-base) var(--ease);
  line-height: 1.4;
}
.legal-toc ul li a:hover {
  color: var(--cyan-500);
  background: var(--cyan-dim);
  border-left-color: var(--cyan-500);
  padding-left: 16px;
}

/* ---------- 10. CONTENIDO ---------- */
.legal-content { min-width: 0; }

.legal-content section {
  margin-bottom: clamp(36px, 4vw, 56px);
  scroll-margin-top: 100px;
}

.legal-content h2 {
  font-family: var(--font-display);
  font-size: var(--t-xl);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-2);
  position: relative;
  color: var(--fg-0);
}
.legal-content h2::before {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--cyan-500);
}

.legal-content h3 {
  font-family: var(--font-display);
  font-size: var(--t-lg);
  font-weight: 500;
  letter-spacing: -0.015em;
  margin: 28px 0 14px;
  color: var(--cyan-500);
}

.legal-content p {
  color: var(--fg-1);
  margin-bottom: 15px;
  font-size: var(--t-sm);
  line-height: 1.75;
}

.legal-content ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.legal-content ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  color: var(--fg-1);
  font-size: var(--t-sm);
  line-height: 1.7;
}

.legal-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan-500);
}

.legal-content a {
  color: var(--cyan-500);
  transition: color var(--t-base) var(--ease);
}
.legal-content a:hover {
  color: var(--cyan-600);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-content strong {
  color: var(--fg-0);
  font-weight: 600;
}

/* ---------- 11. LISTAS ORDENADAS EN CONTENIDO LEGAL ---------- */
.legal-content ol {
  list-style: none;
  padding: 0;
  margin: 0 0 1.4em;
  counter-reset: legal-ol-counter;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.legal-content ol > li {
  counter-increment: legal-ol-counter;
  position: relative;
  padding-left: 46px;
  font-size: var(--t-sm);
  line-height: 1.7;
  color: var(--fg-1);
  min-height: 28px;
}
.legal-content ol > li::before {
  content: counter(legal-ol-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--cyan-dim);
  border: 1px solid var(--cyan-line);
  color: var(--cyan-500);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

html[data-theme="light"] .legal-content ol > li::before {
  background: rgba(0, 137, 160, 0.10);
  border-color: rgba(0, 137, 160, 0.30);
}

/* ---------- 12. SLA - BLOQUE DESTACADO ---------- */
.sla-highlight {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--bg-1);
  border: 1px solid var(--cyan-line);
  border-radius: var(--r-2);
  padding: 32px 24px;
  margin: 28px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.sla-highlight::before {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan-500), transparent);
  pointer-events: none;
}
.sla-highlight-value {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4.5vw, 3.5rem);
  font-weight: 500;
  color: var(--cyan-500);
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: -0.04em;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 20px rgba(0, 229, 255, 0.35));
}
.sla-highlight-label {
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  color: var(--fg-2);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}

/* ---------- 13. SLA - TABLA DE CRÉDITOS ---------- */
.legal-table-wrap {
  overflow-x: auto;
  margin: 24px 0;
  border-radius: var(--r-2);
  border: 1px solid var(--line-2);
  background: var(--bg-1);
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--t-sm);
  min-width: 480px;
}

.legal-table thead {
  background: var(--cyan-dim);
}

.legal-table th,
.legal-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line-1);
}

.legal-table th {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--cyan-500);
  font-size: var(--t-2xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.legal-table td {
  color: var(--fg-1);
  line-height: 1.5;
}

.legal-table tbody tr {
  transition: background var(--t-base) var(--ease);
}
.legal-table tbody tr:hover {
  background: var(--cyan-dim);
}
.legal-table tbody tr:last-child td {
  border-bottom: none;
}
.legal-table td:first-child {
  color: var(--fg-0);
  font-weight: 600;
  white-space: nowrap;
}

/* ---------- 14. FOOTER ---------- */
.footer {
  background: var(--bg-0);
  border-top: 1px solid var(--line-2);
  padding: 25px 0;
}
.footer-bottom-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-bottom-flex p {
  font-family: var(--font-mono);
  font-size: var(--t-2xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-2);
  margin: 0;
}
.footer-badges { display: flex; align-items: center; gap: 15px; }
.dmca-link { display: inline-block; opacity: 0.5; transition: opacity var(--t-base) var(--ease); }
.dmca-link:hover { opacity: 1; }
.dmca-link img {
  width: 90px;
  height: auto;
  filter: grayscale(100%) brightness(1.4);
  transition: filter var(--t-base) var(--ease);
  display: block;
}
html[data-theme="light"] .dmca-link img {
  filter: grayscale(100%) brightness(0.5);
}
.dmca-link:hover img { filter: grayscale(0%) brightness(1); }

/* ---------- 15. SCROLLBAR ---------- */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-0); }
::-webkit-scrollbar-thumb { background: var(--bg-3); border-radius: 0; }
::-webkit-scrollbar-thumb:hover { background: var(--line-3); }

/* ============================================================
   16. RESPONSIVE
   ============================================================ */
@media (max-width: 992px) {
  .nav-links, .nav-actions { display: none !important; }
  .menu-toggle { display: flex !important; }
  .nav-container { display: flex; justify-content: space-between; gap: 16px; }

  .legal-layout { grid-template-columns: 1fr; gap: 36px; }
  .legal-toc { position: static; }
}

@media (max-width: 768px) {
  body.legal-body { padding-top: 70px; }

  .legal-title { font-size: clamp(1.8rem, 6vw, 2.6rem); }
  .legal-header { margin-bottom: 36px; padding-bottom: 28px; }
  .legal-content h2 { font-size: clamp(1.3rem, 4vw, 1.6rem); }
  .legal-content h3 { font-size: clamp(1.05rem, 3vw, 1.2rem); }
  .legal-content p,
  .legal-content ul li,
  .legal-content ol > li { font-size: 0.9rem; }

  .footer-bottom-flex { flex-direction: column; text-align: center; }

  .sla-highlight { padding: 24px 18px; }
  .sla-highlight-value { font-size: 2.6rem; }
  .sla-highlight-label { font-size: var(--t-2xs); }

  .legal-table th,
  .legal-table td { padding: 12px 14px; font-size: var(--t-xs); }
}

@media (max-width: 480px) {
  .legal-title { font-size: 1.65rem; }
  .logo-img { height: 30px; }

  .sla-highlight-value { font-size: 2.2rem; }
  .legal-table { min-width: 420px; }
  .legal-table th,
  .legal-table td { padding: 10px 12px; font-size: var(--t-2xs); }

  .mobile-menu { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}