/* ====== TIPOGRAFÍA GLOBAL (opcional: toda la web con Rubik) ====== */
body {
    font-family: "Rubik", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Aseguramos Rubik en la barra de navegación */
.navbar-2,
.navbar-2 .container-3,
.nav-menu,
.w-nav-link {
    font-family: "Rubik", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ====== NAV DESKTOP ====== */

/* contenedor principal de la barra */
.navbar-2 .container-3 {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* logo a la izquierda */
}

/* contenedor de links */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    margin-left: auto;              /* EMPUJA EL MENÚ A LA DERECHA */
}

/* links base (Nosotros / Contacto) */
.nav-link-4.w-nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #ffffff;             /* TEXTO BLANCO EN PC */
    text-decoration: none;
    padding: 0.4rem 0;
    position: relative;
}

/* subrayado amarillo al pasar mouse (PC) */
.nav-link-4.w-nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.2rem;
    width: 0;
    height: 2px;
    background: #fec52e;
    transition: width 0.25s ease;
}

.nav-link-4.w-nav-link:hover::after {
    width: 100%;
}

/* CONTACTO en PC: igual que Nosotros, solo un poco más fuerte */
.nav-link-cta {
    font-weight: 700;
}

/* ====== BOTÓN HAMBURGUESA ====== */

.menu-button {
    display: none; /* en PC se oculta */
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 11px solid rgba(255, 255, 255, 0.25);
    background: #333;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}

.menu-icon-line {
    display: block;
    width: 20px;
    height: 2px;
    background: #ffffff;
    border-radius: 999px;
    margin: 3px 0;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

/* animación a X cuando el menú está abierto */
.menu-button.is-open .menu-icon-line:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
}
.menu-button.is-open .menu-icon-line:nth-child(2) {
    opacity: 0;
}
.menu-button.is-open .menu-icon-line:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
}

/* ========== NAV MÓVIL (HASTA 768px) ========== */
@media (max-width: 768px) {
    .navbar-2 .container-3 {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: space-between; /* logo izq, botón der */
        z-index: 1000; /* ENCIMA DEL MENÚ */
    }

    /* mostrar hamburguesa en móvil */
    .menu-button {
        display: flex;
    }

    /* PANEL DESPLEGABLE MÓVIL */
    .nav-menu.w-nav-menu {
        position: center;          /* fijo a la ventana */
        top: -94px;                /* empieza DEBAJO de la barra negra */
        left: 100;
        width: 81vw;
        background: #333;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
        display: none !important;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        z-index: 900;             /* MENOR QUE LA BARRA */

        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        opacity: 1 !important;
        visibility: visible !important;
        margin: 0;
    }

    /* cuando JS agrega .is-open -> se muestra */
    .nav-menu.w-nav-menu.is-open {
        display: flex !important;
    }

    /* LINKS DEL MENÚ MÓVIL */
    .nav-menu.w-nav-menu .w-nav-link {
        display: block;
        width: 100%;
        padding: 0.9rem 1.25rem;
        font-family: "Rubik", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
        font-size: 0.95rem;
        letter-spacing: 0.04em;
        text-transform: none;
        color: #ffffff !important;
        text-align: center;
        position: relative;
    }

    .nav-menu.w-nav-menu .w-nav-link::after {
        display: none;
    }

    .nav-menu.w-nav-menu .w-nav-link:hover {
        background: #fec52e;
        color: #333 !important;
    }

    .nav-menu.w-nav-menu .nav-link-cta {
        border-radius: 0;
        border: none;
        background: transparent;
        box-shadow: none;
    }

    .nav-menu.w-nav-menu .nav-link-cta:hover {
        background: #fec52e;
        color: #333 !important;
    }
}
canvas, #snowCanvas, .snow-canvas{
  pointer-events: none !important;
}

