/* =========================
   BASE LEGAL PAGE
========================= */
.legal-page {
    background: white;
    color: #e5e7eb;
}

/* =========================
   HERO / HEADER
========================= */
.legal-header {
    padding: 120px 20px 60px;
    text-align: center;
    background: linear-gradient(180deg, #0f172a 0%, #020617 100%);
}

.legal-header h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #ffffff;
}

.legal-header p {
    color: #94a3b8;
    font-size: 1rem;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

/* =========================
   CONTENEDOR PRINCIPAL
========================= */
.legal-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px 80px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* =========================
   CARDS SECCIONES
========================= */
.legal-container section {
    background: #111827;
    border-radius: 12px;
    padding: 25px 25px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: all 0.2s ease;
}

.legal-container section:hover {
    border-color: rgba(59,130,246,0.3);
}

/* =========================
   TITULOS
========================= */
.legal-container h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: #3b82f6; /* azul branding */
}

.legal-container h3 {
    font-size: 1rem;
    margin-top: 15px;
    margin-bottom: 8px;
    color: #93c5fd;
}

/* =========================
   TEXTO
========================= */
.legal-container p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #cbd5f5;
}

/* =========================
   LISTAS
========================= */
.legal-list {
    margin-top: 10px;
    padding-left: 18px;
}

.legal-list li {
    margin-bottom: 6px;
    font-size: 0.95rem;
    color: #cbd5f5;
}

/* =========================
   DATOS DESTACADOS (strong)
========================= */
.legal-container strong {
    color: #ffffff;
    font-weight: 600;
}

/* =========================
   ÚLTIMA ACTUALIZACIÓN
========================= */
.last-update {
    text-align: left;
    font-size: 0.85rem;
    color: #64748b;
    margin-top: 10px;
}

/* =========================
   LINKS (si añades en futuro)
========================= */
.legal-container a {
    color: #3b82f6;
    text-decoration: none;
}

.legal-container a:hover {
    text-decoration: underline;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {

    .legal-header {
        padding: 100px 15px 40px;
    }

    .legal-header h1 {
        font-size: 2rem;
    }

    .legal-container {
        padding: 30px 15px 60px;
        gap: 20px;
    }

    .legal-container section {
        padding: 20px;
    }

    .legal-container h2 {
        font-size: 1.2rem;
    }
}

/* =========================
   AJUSTES PRIVACIDAD
========================= */

/* separa mejor bloques de texto largos */
.legal-container section p + ul {
    margin-top: 10px;
}

/* mejora lectura en listas largas */
.legal-list li {
    line-height: 1.5;
}

/* último bloque (email contacto) más ligero */
.legal-container section:last-of-type p {
    font-size: 0.9rem;
    color: #94a3b8;
}

/* =========================
   AJUSTES COOKIES
========================= */

/* subtítulos dentro de secciones (como impacto cookies) */
.legal-container h3 {
    font-size: 1rem;
    margin-top: 15px;
    margin-bottom: 8px;
    color: #93c5fd;
}

/* párrafos largos (cookies suele tener más texto) */
.legal-container section p {
    max-width: 800px;
}

/* listas con más separación en cookies */
.legal-container section ul {
    margin-top: 10px;
}