/* Páginas legales (privacy-policy.html y terms-of-service.html) con la marca nueva.
   Sin dependencias externas: sin Tailwind CDN, sin Google Fonts, sin Material Icons. */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/assets/fonts/inter-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('/assets/fonts/inter-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; }

:root {
  --noturno: #001621; --vulcanico: #FF4103; --sand: #F0EDE4; --muted: #B9B6AD; --tiffany: #21F1A8;
  --primary: var(--vulcanico); --soft-gray: var(--muted);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--noturno); color: var(--sand); font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; line-height: 1.5; }
h1, h2, h3, p, ul { margin: 0; }
img { display: block; max-width: 100%; }
button { font: inherit; }

/* Piezas propias de estas páginas */
.glass-nav { background: rgba(0, 22, 33, 0.85); backdrop-filter: blur(20px); border-bottom: 1px solid rgba(240, 237, 228, 0.1); }
.section-card { background: rgba(8, 24, 34, 0.84); border: 1px solid rgba(240, 237, 228, 0.14); border-radius: 12px; }
.lang-btn { border: 1px solid rgba(240, 237, 228, 0.2); border-radius: 8px; padding: 4px 12px; font-size: 13px; font-weight: 600; color: var(--muted); cursor: pointer; background: transparent; transition: all 0.2s; min-height: 32px; }
.lang-btn:hover { color: var(--sand); border-color: rgba(240, 237, 228, 0.5); }
.toc-link { color: var(--muted); font-size: 14px; transition: color 0.2s; display: flex; align-items: center; gap: 8px; text-decoration: none; }
.toc-link:hover { color: var(--primary); }
h2.section-title { font-size: 1.1rem; font-weight: 700; color: var(--primary); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
p, li { color: var(--muted); line-height: 1.8; font-size: 15px; }
ul { list-style: none; padding: 0; }
ul li { display: flex; gap: 10px; margin-bottom: 8px; }
ul li::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); margin-top: 10px; flex-shrink: 0; }
a { color: var(--primary); }
.badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(255, 65, 3, 0.1); border: 1px solid rgba(255, 65, 3, 0.35); border-radius: 999px; padding: 4px 14px; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--primary); }
.highlight-box { background: rgba(255, 65, 3, 0.06); border-left: 3px solid var(--primary); border-radius: 0 8px 8px 0; padding: 16px 20px; margin-top: 12px; }
.material-icons { display: none; } /* iconos decorativos del diseño anterior: se quitan para no cargar una fuente externa */

/* Utilidades usadas por el HTML (equivalentes a las de Tailwind) */
.fixed { position: fixed; } .sticky { position: sticky; } .top-24 { top: 6rem; } .z-50 { z-index: 50; } .w-full { width: 100%; } .w-auto { width: auto; } .h-9 { height: 2.25rem; }
.max-w-5xl { max-width: 64rem; } .mx-auto { margin-left: auto; margin-right: auto; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; } .py-4 { padding-top: 1rem; padding-bottom: 1rem; } .py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.p-5 { padding: 1.25rem; } .p-8 { padding: 2rem; } .pt-32 { padding-top: 8rem; } .pb-24 { padding-bottom: 6rem; }
.mb-3 { margin-bottom: 0.75rem; } .mb-4 { margin-bottom: 1rem; } .mb-6 { margin-bottom: 1.5rem; } .mb-16 { margin-bottom: 4rem; }
.mt-3 { margin-top: 0.75rem; } .mt-4 { margin-top: 1rem; } .mt-6 { margin-top: 1.5rem; } .mt-10 { margin-top: 2.5rem; }
.flex { display: flex; } .grid { display: grid; } .flex-col { flex-direction: column; } .items-center { align-items: center; } .justify-between { justify-content: space-between; }
.gap-1 { gap: 0.25rem; } .gap-3 { gap: 0.75rem; } .gap-4 { gap: 1rem; } .gap-6 { gap: 1.5rem; } .gap-8 { gap: 2rem; } .gap-10 { gap: 2.5rem; }
.grid-cols-1 { grid-template-columns: minmax(0, 1fr); }
.text-xs { font-size: 0.75rem; line-height: 1rem; } .text-sm { font-size: 0.875rem; line-height: 1.25rem; } .text-lg { font-size: 1.125rem; line-height: 1.75rem; } .text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.font-bold { font-weight: 700; } .uppercase { text-transform: uppercase; } .tracking-widest { letter-spacing: 0.1em; }
.text-white { color: var(--sand); } .text-soft-gray { color: var(--muted); }
.border-t { border-top: 1px solid rgba(240, 237, 228, 0.1); }
.transition-colors { transition: color 0.2s, background-color 0.2s, border-color 0.2s; }
.hover\:text-white:hover { color: var(--sand); }
h1 { letter-spacing: -0.02em; }
@media (min-width: 768px) { .md\:text-5xl { font-size: 3rem; line-height: 1; } .md\:flex-row { flex-direction: row; } }
@media (min-width: 1024px) { .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .lg\:col-span-1 { grid-column: span 1 / span 1; } .lg\:col-span-3 { grid-column: span 3 / span 3; } }
:focus-visible { outline: 2px solid var(--vulcanico); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* Selector de idioma: un solo botón que despliega ES / EN / PT */
#lang-dd { position: relative; }
.lang-list { position: absolute; right: 0; top: calc(100% + 8px); min-width: 170px; margin: 0; padding: 6px; list-style: none; background: #04202e; border: 1px solid rgba(240, 237, 228, 0.14); border-radius: 10px; box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45); z-index: 60; }
.lang-list[hidden] { display: none; }
.lang-list li { display: block; margin: 0; }
.lang-list button { width: 100%; display: flex; gap: 10px; align-items: center; text-align: left; background: transparent; border: 0; border-radius: 8px; padding: 10px 12px; color: var(--muted); font: inherit; font-size: 14px; cursor: pointer; }
.lang-list button b { color: var(--sand); font-size: 12px; min-width: 24px; }
.lang-list button:hover, .lang-list button[aria-current="true"] { background: rgba(240, 237, 228, 0.1); color: var(--sand); }
.lang-list li::before { content: none; display: none; }
