/* ==========================================================================
   POLÍTICA DE PRIVACIDAD — Estilo coherente con layout.css
   ========================================================================== */

/* --------------------------------------------------------------------------
   Variables (deben coincidir con las del proyecto)
   -------------------------------------------------------------------------- */
:root {
    --primary-color: #ff5733;
    --white: #f0f0f0;
    --bg: #0a0a0a;
    --surface: rgba(255, 255, 255, 0.03);
    --border: rgba(255, 255, 255, 0.07);
    --text-muted: #555;
    --text-secondary: #888;
}

/* --------------------------------------------------------------------------
   Reset base (coherente con layout.css)
   -------------------------------------------------------------------------- */
html {
    background-color: var(--bg);
    overflow-x: hidden;
    width: 100%;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg);
    color: var(--white);
    overflow-x: hidden;
    width: 100%;
    font-family: 'Georgia', 'Times New Roman', serif; /* Contraste elegante con las mayúsculas */
    line-height: 1.8;
}

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

/* --------------------------------------------------------------------------
   Contenedor principal
   -------------------------------------------------------------------------- */
.container {
    max-width: 820px;
    margin: 0 auto;
    padding: 120px 30px 80px; /* 120px arriba para dejar espacio al nav fijo */
}

/* --------------------------------------------------------------------------
   Logo / cabecera
   -------------------------------------------------------------------------- */
.logo-container {
    text-align: center;
    margin-bottom: 100px;
}

.logo-container img {
    height: 120px; 
    width: auto;
    max-width: 100%; 
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.logo-container img:hover {
    opacity: 1;
}

/* --------------------------------------------------------------------------
   Enlace "← Volver"
   -------------------------------------------------------------------------- */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    font-family: 'Arial', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: color 0.3s ease, gap 0.3s ease;
    margin-bottom: 50px;
    display: block;
}

.back-link:hover {
    color: var(--primary-color);
    gap: 12px;
}

/* --------------------------------------------------------------------------
   Última actualización
   -------------------------------------------------------------------------- */
.last-updated {
    font-size: 0.75rem;
    font-family: 'Arial', sans-serif;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: -10px;
    margin-bottom: 50px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border);
}

/* --------------------------------------------------------------------------
   Tipografía — Títulos
   -------------------------------------------------------------------------- */
h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    font-family: 'Arial', sans-serif;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--white);
    margin: 0 0 10px;
    line-height: 1.1;
}

h2 {
    font-size: 0.75rem;
    font-family: 'Arial', sans-serif;
    font-weight: 800;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--primary-color);
    margin: 60px 0 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
    position: relative;
}

/* Línea decorativa debajo del h2 */
h2::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 30px;
    height: 1px;
    background: var(--primary-color);
}

/* --------------------------------------------------------------------------
   Párrafos
   -------------------------------------------------------------------------- */
p {
    font-size: 0.95rem;
    color: #aaa;
    margin: 0 0 20px;
    line-height: 1.9;
}

/* Párrafo introductorio — un poco más visible */
h1 + p,
.last-updated + p {
    color: #bbb;
    font-size: 1rem;
}

/* --------------------------------------------------------------------------
   Listas
   -------------------------------------------------------------------------- */
ul {
    padding-left: 0;
    list-style: none;
    margin: 0 0 25px;
}

ul li {
    position: relative;
    padding: 12px 15px 12px 20px;
    font-size: 0.9rem;
    color: #999;
    line-height: 1.8;
    border-left: 1px solid var(--border);
    margin-bottom: 8px;
    transition: border-color 0.3s ease;
}

ul li:hover {
    border-left-color: var(--primary-color);
}

ul li strong {
    color: #ccc;
    font-family: 'Arial', sans-serif;
    letter-spacing: 0.5px;
}

ul li em {
    display: block;
    margin-top: 4px;
    font-size: 0.8rem;
    font-style: normal;
    color: var(--text-muted);
    letter-spacing: 0.3px;
}

/* --------------------------------------------------------------------------
   Caja destacada (highlight-box)
   -------------------------------------------------------------------------- */
.highlight-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 20px 25px;
    margin: 20px 0;
    backdrop-filter: blur(8px);
}

.highlight-box p {
    margin: 0;
    color: #bbb;
    font-size: 0.9rem;
}

.highlight-box strong {
    color: var(--white);
    font-family: 'Arial', sans-serif;
    letter-spacing: 0.5px;
}

/* --------------------------------------------------------------------------
   Enlaces en línea
   -------------------------------------------------------------------------- */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.75;
    text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Footer de la página
   -------------------------------------------------------------------------- */
.container > div[style*="margin-top: 50px"] {
    /* Sobreescribimos el inline style con algo más elegante */
    margin-top: 80px !important;
    border-top: 1px solid var(--border) !important;
    padding-top: 30px !important;
    text-align: center !important;
}

.container > div:last-child p {
    font-family: 'Arial', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Media queries
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
    .container {
        padding: 100px 20px 60px;
    }

    h1 {
        font-size: 1.8rem;
        letter-spacing: 2px;
    }

    h2 {
        font-size: 0.7rem;
    }

    ul li {
        font-size: 0.85rem;
    }
}