/* ==========================================
   STYLES FOR PRIVACIDAD PAGE
   ========================================== */

/* --- Base & Typography -- */

:root {
    --primary-color: #6a11cb;
    --secondary-color: #2575fc;
    --text-color: #333;
    --background-color: #f4f7fc;
    --card-background: #ffffff;
    --border-color: #e0e0e0;
    --shadow-color: rgba(106, 17, 203, 0.15);
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Montserrat', sans-serif;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
    overflow-x: hidden;
}

/* --- Animated Hero Section --- */
.privacidad-hero {
    padding: 100px 20px 80px;
    text-align: center;
    position: relative;
    color: white;
    overflow: hidden;
}

.privacidad-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #2575fc, #6a11cb, #cb11ab, #3b25fc);
    background-size: 400% 400%;
    animation: gradientAnimation 15s ease infinite;
    z-index: -1;
}

@keyframes gradientAnimation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.privacidad-hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.privacidad-hero-subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    opacity: 0.9;
}

/* --- Main Content Container --- */
.privacidad-container {
    max-width: 900px;
    margin: -50px auto 50px;
    background: var(--card-background);
    border-radius: 20px;
    box-shadow: 0 15px 30px var(--shadow-color);
    padding: 40px;
    position: relative;
    z-index: 1;
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Content Styling --- */
.privacidad-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
}

.privacidad-content h2:first-of-type {
    margin-top: 0;
}

.privacidad-content p, .privacidad-content li {
    font-size: 1rem;
    color: #555;
    margin-bottom: 15px;
}

.privacidad-content ul {
    list-style: none;
    padding-left: 20px;
}

.privacidad-content ul li {
    position: relative;
}

.privacidad-content ul li::before {
    content: '✓';
    position: absolute;
    left: -25px;
    color: var(--secondary-color);
    font-weight: bold;
}

.privacidad-content a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.privacidad-content a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.legal-contact-info {
    margin-top: 40px;
    padding: 20px;
    background-color: #f9f9f9;
    border-left: 4px solid var(--primary-color);
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    .privacidad-hero-title {
        font-size: 2.5rem;
    }

    .privacidad-container {
        padding: 30px;
        margin-left: 20px;
        margin-right: 20px;
    }

    .privacidad-content h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .privacidad-hero-title {
        font-size: 2rem;
    }

    .privacidad-hero-subtitle {
        font-size: 1rem;
    }

    .privacidad-container {
        padding: 20px;
    }
}

/* Hereda los estilos base de legal.css, pero añade mejoras.
   Asegúrate de que este archivo se cargue DESPUÉS de legal.css en el HTML.
*/

.legal-content article {
    background-color: #ffffff;
    border: 1px solid var(--gray-200, #e5e7eb);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.legal-content article:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.08);
}

.legal-content h2 {
    border-bottom: 2px solid var(--accent-mint, #6ee7b7);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 1.5rem; /* 24px */
    color: var(--gray-800, #1f2937);
}

.legal-content ul {
    list-style: none;
    padding-left: 0;
}

.legal-content ul li {
    position: relative;
    padding-left: 1.75rem; /* Espacio para el icono */
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.legal-content ul li::before {
    content: '\f058'; /* Icono de check-circle de Font Awesome */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 4px;
    color: var(--accent-mint, #6ee7b7);
    font-size: 1rem;
}

.legal-content .contact-section {
    background-color: var(--gray-100, #f3f4f6);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    margin-top: 2rem;
    border: 1px solid var(--gray-200, #e5e7eb);
}

.legal-content .contact-section h2 {
    border-bottom: none;
    margin-bottom: 1rem;
}

.legal-content .contact-section a {
    font-weight: 600;
    color: var(--primary-color, #3b82f6);
    text-decoration: underline;
}
