.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--color-bg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    z-index: 1000;
    border-bottom: 1px solid var(--color-card-border);
}

/* Logo */
#header_menu_site_logo_img {
    height: 110px;
    width: auto;
    /*border: solid 1px red;*/
}
.logo a {
    text-decoration: none;
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

/* Menu desktop */
.nav {
    margin-right: 150px;
    display: flex;
    gap: 25px;
    /*border: solid 1px red;*/
}

.nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    /*border: solid 1px red;*/
}

/* Botón hamburguesa */
.menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-btn span {
    width: 28px;
    height: 3px;
    background: #333;
    transition: 0.3s;
}

/* --- Responsive --- */

@media (max-width: 400px) {
    #header_menu_site_logo_img {
        height: 75px;
        width: auto;
    }
}
@media (max-width: 768px) {
    .menu-btn {
        display: flex;
    }

    .nav {
        margin-right: 0;
        position: fixed;
        top: 0;
        right: -250px;
        width: 172px;
        height: 73vh;
        background: var(--color-bg);
        flex-direction: column;
        padding: 80px 20px;
        gap: 20px;
        transition: right 0.3s ease;
        /*border-left: var(--color-card-border);*/
        border: solid 1px var(--color-green-dark);
        border-radius: var(--radius);
    }

    .nav.active {
        right: 0;
    }
}
@media (max-width: 900px) {
    .nav {
        margin-right: 0;
    }
}

