


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-primary: #2C5F7C;
    --color-secondary: #4A90A4;
    --color-accent: #6BA3B8;
    --color-text: #2C3E50;
    --color-light: #F5F7FA;
    --color-white: #FFFFFF;
    --color-border: #E0E4E8;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-light);
}


.header-principal {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    padding: 1.2rem 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navegacion {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: bold;
    letter-spacing: 1px;
}

.logo h1 a {
    color: var(--color-white);
    text-decoration: none;
    transition: opacity 0.3s ease;
    display: inline-block;
}

.logo h1 a:hover {
    opacity: 0.8;
}

.menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.menu a {
    color: var(--color-white);
    text-decoration: none;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
}

.menu a:hover,
.menu a.activo {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.menu a::after {
    display: none;
}

.btn-registro {
    background-color: var(--color-accent);
    color: var(--color-white);
    padding: 0.6rem 1.5rem;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-registro:hover {
    background-color: var(--color-secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}


.burger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.burger-menu span {
    width: 25px;
    height: 3px;
    background-color: var(--color-white);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}


.footer {
    background-color: var(--color-text);
    color: var(--color-white);
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
}

.footer-contenido {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-info h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.footer-info p {
    margin-bottom: 0.5rem;
    opacity: 0.9;
    line-height: 1.6;
}

.footer-links h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: var(--color-white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    display: block;
    margin-bottom: 0.5rem;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
}


.cookies-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cookies-overlay.show {
    opacity: 1;
}

.cookies-popup {
    background-color: var(--color-white);
    padding: 2.5rem;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    box-shadow: var(--shadow-hover);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.cookies-overlay.show .cookies-popup {
    transform: scale(1);
}

.cookies-popup h3 {
    margin-bottom: 1rem;
    color: var(--color-primary);
    font-size: 1.5rem;
}

.cookies-popup p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    color: var(--color-text);
}

.cookies-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.btn-cookies {
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-accept {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn-accept:hover {
    background-color: var(--color-secondary);
}

.btn-configure {
    background-color: var(--color-border);
    color: var(--color-text);
}

.btn-configure:hover {
    background-color: var(--color-accent);
    color: var(--color-white);
}


@media (max-width: 768px) {
    .burger-menu {
        display: flex;
    }
    
    .menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--color-primary);
        flex-direction: column;
        padding: 1rem 0;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        box-shadow: var(--shadow);
    }
    
    .menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .menu a {
        display: block;
        width: 100%;
        padding: 1rem 2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .cookies-buttons {
        flex-direction: column;
    }
    
    .btn-cookies {
        width: 100%;
    }
}
