/* ============================================= */
/* VARIABLES GLOBALES (THEME)           */
/* ============================================= */
:root {
    --color-primary: #e74c3c;
    --color-primary-dark: #c0392b;
    --bg-dark: #000;
    --bg-light: #111;
    --bg-card: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    --bg-header: rgba(0, 0, 0, 0.95);
    --text-light: #ccc;
    --text-medium: #999;
    --text-headings: #fff;
    --text-dark: #000;
    --color-border: #333;
    --shadow-color-primary: rgba(231, 76, 60, 0.2);
    --font-family-base: 'Roboto', sans-serif;
    --border-radius-m: 15px;
    --border-radius-s: 10px;
}

/* ============================================= */
/* ESTILOS BASE Y RESET               */
/* ============================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family-base);
    line-height: 1.7;
    color: var(--text-light);
    background-color: var(--bg-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-primary-dark);
}

/* ============================================= */
/* HEADER                      */
/* ============================================= */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--bg-header);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo-img {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-headings);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--color-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-headings);
    margin: 3px 0;
    transition: 0.3s;
}

/* ============================================= */
/* ESTILOS DE SECCIÓN             */
/* ============================================= */
.section-title {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-headings);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, var(--color-primary), var(--color-primary-dark));
    border-radius: 2px;
}

/* ============================================= */
/* PRIVACY POLICY SECTION           */
/* ============================================= */
.privacy-section {
    padding: 120px 0 80px 0; /* Add padding-top to account for fixed header */
    background: var(--bg-light);
}

.last-updated {
    text-align: center;
    color: var(--text-medium);
    margin-top: -2rem;
    margin-bottom: 3rem;
}

.policy-content h2 {
    color: var(--color-primary);
    font-size: 1.8rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--color-border);
}

.policy-content p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.policy-content ul, .policy-content ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.policy-content li {
    margin-bottom: 0.5rem;
}

.info-list {
    list-style: none;
    padding-left: 0;
}

.procedure-box {
    background: var(--bg-card);
    border: 1px solid var(--color-border);
    border-left: 4px solid var(--color-primary);
    padding: 2rem;
    margin-top: 2rem;
    border-radius: var(--border-radius-s);
}

.procedure-box h2 {
    border-bottom: none;
    margin-top: 0;
}

/* ============================================= */
/* FOOTER                    */
/* ============================================= */
.footer {
    background: var(--bg-dark);
    padding: 2rem 0;
    border-top: 1px solid var(--color-border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-logo h3 {
    color: var(--color-primary);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer-logo p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
    margin-left: 2rem;
}

.footer-links a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
}

.footer-bottom p {
    color: var(--text-medium);
    font-size: 0.9rem;
}

/* ============================================= */
/* MEDIA QUERIES                */
/* ============================================= */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -6px); }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--bg-header);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .footer-content, .footer-links {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    .footer-links a {
        margin-left: 0;
    }
}
