:root {
    --primary-color: #133058;
    --secondary-color: #ff5733;
    --accent-color: #ffd700;
    --text-color: #1a1a1a;
    --light-text: #fff;
    --background-color: #fafbfc;
    --liquid-glass: rgba(255, 255, 255, 0.1);
    --liquid-glass-border: rgba(255, 255, 255, 0.2);
    --liquid-glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-medium: 0 12px 40px rgba(0, 0, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    /* Usamos Inter como en el index, con fallbacks */
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--background-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    background-color: rgba(255, 255, 255, 0.85); /* Semi-transparente claro para legal */
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.header.scrolled {
    background-color: #ffffff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    padding: 10px 0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Logo Styles matching index.html */
.logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 400;
    letter-spacing: -0.75px;
    color: var(--primary-color); /* #133058 */
    transition: color 0.3s ease;
}

.logo:hover {
    transform: scale(1.02);
}

.container {
    max-width: 900px; /* Keep text readable */
    margin: 0 auto;
    padding: 0 20px;
}


.legal-content {
    padding-top: 140px;
    padding-bottom: 80px;
}

.legal-content h1 {
    font-size: 2.75rem;
    color: var(--primary-color);
    margin-bottom: 40px;
    text-align: left;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.legal-body {
    background-color: transparent;
}

.legal-body h2 {
    color: var(--primary-color);
    font-size: 1.75rem;
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.legal-body p {
    margin-bottom: 16px;
    color: #4b5563; /* Gris oscuro para lectura cómoda */
    font-size: 1.05rem;
}

.legal-body ul {
    list-style-type: disc;
    padding-left: 25px;
    margin-bottom: 24px;
}

.legal-body li {
    margin-bottom: 12px;
    color: #4b5563;
    font-size: 1.05rem;
}

.legal-body strong {
    color: var(--primary-color);
    font-weight: 600;
}

.legal-footer-cta {
    margin-top: 60px;
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #e5e7eb;
}

.text-link {
    color: var(--secondary-color); /* #ff5733 */
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.2s;
}

.text-link:hover {
    color: #e64a2e;
    text-decoration: underline;
}

.footer {
    background: #111827;
    color: var(--light-text);
    padding: 80px 0 0;
    margin-top: auto;
    position: relative;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-bottom: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo .logo {
    color: var(--light-text); /* White logo in footer */
    font-size: 3.5rem;
}

.footer-links {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-color); /* #ffd700 */
    transform: translateX(4px);
}

.footer-bottom {
    padding: 30px 0;
    text-align: center;
    background: #111827; /* Ensure background matches */
}

.copyright p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .legal-content h1 {
        font-size: 2.25rem;
    }
    
    .legal-body h2 {
        font-size: 1.5rem;
    }

    .logo {
        font-size: 2rem;
    }
    
    .footer-links {
        gap: 20px;
        flex-direction: column;
        align-items: center;
    }
}
