/* Cargar la fuente Acumin Variable Concept */
@font-face {
    font-family: 'Acumin Variable Concept';
    src: url('../recursos/fonts/AcuminVariableConcept.otf') format('opentype');
    font-weight: 100 900; /* Rango de pesos para una fuente variable */
    font-style: normal;
}

.logo-image {
    max-width: 150px; /* Ajusta el tamaño según necesites */
    height: auto;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Acumin Variable Concept', sans-serif;
}

body {
    background-color: #f5f5f5;
}

/* Estilo del encabezado */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    height: auto; /* Cambiado para que se ajuste al contenido */
    min-height: 60px; /* Altura mínima para mantener consistencia */
}

.logo a {
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.logo-subtext {
    font-size: 12px;
    color: rgb(97, 97, 96); /* Gris medio del documento */
    font-weight: 400; /* Wide */
}

/* Estilos del botón hamburguesa */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background: rgb(76, 71, 73); /* Gris oscuro */
    transition: all 0.3s ease;
}

.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, -7px);
}

/* Estilos del botón de cerrar */
.close-menu {
    display: none; /* Oculto por defecto */
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 24px;
    color: rgb(76, 71, 73); /* Gris oscuro, igual que los enlaces */
    cursor: pointer;
    z-index: 1002;
}

/* Estilos del mensaje al final del menú */
.menu-footer {
    display: none; /* Oculto por defecto */
    position: absolute;
    bottom: 20px;
    left: 20px;
    font-size: 14px;
    color: rgb(76, 71, 73); /* Gris oscuro */
    font-weight: 400; /* Wide */
}

/* Estilos del menú */
.nav-menu {
    position: fixed;
    top: 0; /* Cambiado para cubrir el header */
    left: -250px;
    width: 250px;
    height: 100%; /* Cambiado para cubrir toda la pantalla */
    background-color: #fff;
    transition: left 0.3s ease;
    padding-top: 80px; /* Espacio para el header */
    z-index: 999;
}

.nav-menu.active {
    left: 0;
}

.nav-menu ul {
    display: flex;
    flex-direction: column;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-menu ul li {
    border-bottom: 1px solid #e0e0e0;
}

.nav-menu ul li a {
    text-decoration: none;
    color: rgb(185, 207, 69); /* Verde-amarillento, igual que los títulos */
    padding: 15px 20px;
    display: block;
    font-size: 18px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-menu ul li a:hover {
    background-color: #f0f0f0;
    color: rgb(76, 71, 73); /* Gris oscuro al hover para contraste */
}

/* Contenido principal */
main {
    padding-top: 80px; /* Ajustado para que el contenido comience debajo del header */
}

/* Sección Aviso de Privacidad */
.privacy-notice {
    padding: 100px 20px 50px;
    background-color: #fff;
}

.header-container {
    text-align: center;
    margin-bottom: 50px;
}

.header-text h1 {
    font-size: 48px;
    color: rgb(80, 173, 147);
    line-height: 1.2;
    text-transform: uppercase;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.header-text .word {
    display: block;
    white-space: nowrap;
}

.header-text .letter {
    display: inline-block;
    opacity: 0;
    transform: translateY(50px);
    animation: slideUp 0.8s ease-out forwards;
}

.header-text .letter:nth-child(1) { animation-delay: 0.1s; }
.header-text .letter:nth-child(2) { animation-delay: 0.15s; }
.header-text .letter:nth-child(3) { animation-delay: 0.2s; }
.header-text .letter:nth-child(4) { animation-delay: 0.25s; }
.header-text .letter:nth-child(5) { animation-delay: 0.3s; }
.header-text .letter:nth-child(6) { animation-delay: 0.35s; }
.header-text .letter:nth-child(7) { animation-delay: 0.4s; }
.header-text .letter:nth-child(8) { animation-delay: 0.45s; }
.header-text .letter:nth-child(9) { animation-delay: 0.5s; }
.header-text .letter:nth-child(10) { animation-delay: 0.55s; }
.header-text .letter:nth-child(11) { animation-delay: 0.6s; }
.header-text .letter:nth-child(12) { animation-delay: 0.65s; }
.header-text .letter:nth-child(13) { animation-delay: 0.7s; }
.header-text .letter:nth-child(14) { animation-delay: 0.75s; }
.header-text .letter:nth-child(15) { animation-delay: 0.8s; }
.header-text .letter:nth-child(16) { animation-delay: 0.85s; }
.header-text .letter:nth-child(17) { animation-delay: 0.9s; }
.header-text .letter:nth-child(18) { animation-delay: 0.95s; }

.privacy-notice .container {
    max-width: 800px;
    margin: 0 auto;
}

.privacy-notice h2 {
    font-size: 28px;
    color: rgb(185, 207, 69);
    margin-bottom: 20px;
    font-weight: 700;
}

.privacy-notice p,
.privacy-notice ul {
    font-size: 16px;
    color: rgb(76, 71, 73);
    line-height: 1.6;
    margin-bottom: 20px;
    font-weight: 400;
}

.privacy-notice ul {
    list-style: disc;
    padding-left: 20px;
}

.privacy-notice ul li {
    margin-bottom: 10px;
}

.privacy-notice a {
    color: rgb(80, 173, 147);
    text-decoration: none;
}

.privacy-notice a:hover {
    text-decoration: underline;
    color: rgb(185, 207, 69);
}

/* Estilos del footer */
footer {
    padding: 20px;
    background-color: #fff;
    text-align: center;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

footer p {
    color: rgb(76, 71, 73);
    font-weight: 400;
}

footer .social-links a {
    color: rgb(80, 173, 147);
    font-size: 24px;
    margin: 0 10px;
    transition: color 0.3s ease;
}

footer .social-links a:hover {
    color: rgb(185, 207, 69);
}

/* Animaciones */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* Clases de animación */
.zoom-in {
    animation: zoomIn 0.8s ease-out forwards;
}

.fade-in {
    animation: fadeIn 1s ease-out forwards;
}

.scale-up {
    animation: scaleUp 0.8s ease-out forwards;
}

/* Responsive: Modo móvil */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    header {
        padding: 10px 15px; /* Reducido para hacer el header más chico */
        height: auto; /* Cambiado para que se ajuste al contenido */
        min-height: 50px; /* Altura mínima ajustada para móviles */
    }

    .nav-menu {
        top: 0;
        height: 100%;
        width: 250px;
        background-color: #fff; /* Fondo blanco */
        padding-top: 60px;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu.active .close-menu {
        display: block;
        top: 20px;
        right: 20px;
        color: rgb(185, 207, 69); /* Verde-amarillento para consistencia */
    }

    .nav-menu.active .menu-footer {
        display: block;
        color: rgb(185, 207, 69); /* Verde-amarillento para consistencia */
    }

    .nav-menu ul li {
        border-bottom: 1px solid #e0e0e0; /* Borde gris claro para visibilidad contra fondo blanco */
    }

    .nav-menu ul li a {
        color: rgb(185, 207, 69); /* Verde-amarillento para los enlaces */
        font-size: 16px;
        padding: 10px 20px;
    }

    .nav-menu ul li a:hover {
        background-color: #f0f0f0;
        color: rgb(76, 71, 73); /* Gris oscuro al hover para contraste */
    }

    main {
        padding-top: 60px; /* Ajustado para móviles */
    }

    .logo-image {
        max-width: 100px;
    }

    .header-text h1 {
        font-size: 24px;
        line-height: 1.4;
        gap: 8px;
    }

    .header-text .word {
        font-size: 24px;
    }

    .privacy-notice {
        padding: 80px 15px 40px;
    }

    .privacy-notice h2 {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .privacy-notice p,
    .privacy-notice ul {
        font-size: 14px;
        margin-bottom: 15px;
    }

    footer {
        padding: 15px;
    }

    footer .container {
        flex-direction: column;
        gap: 10px;
    }

    footer p {
        font-size: 12px;
    }

    footer .social-links a {
        font-size: 20px;
        margin: 0 8px;
    }
}

/* Ajustes para pantallas grandes */
@media (min-width: 769px) {
    .nav-menu {
        position: static;
        width: auto;
        height: auto;
        background-color: transparent;
        padding-top: 0;
    }

    .nav-menu ul {
        flex-direction: row;
        gap: 2em;
    }

    .nav-menu ul li {
        border-bottom: none;
        padding: 0.6em 1em;
        border-radius: 100vw;
        position: relative;
        cursor: pointer;
        transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
        box-shadow: 0 0 0.5px 1.5px transparent;
        color: rgb(185, 207, 69); /* Verde-amarillento */
    }

    .nav-menu ul li:hover {
        background-color: #f0f0f0;
        color: rgb(76, 71, 73); /* Gris oscuro al hover */
    }

    .nav-menu ul li a {
        padding: 0;
        font-size: 16px;
        color: rgb(185, 207, 69); /* Verde-amarillento */
    }
}