/* ========================================
   MENÚ PRINCIPAL
   ======================================== */

.menu-principal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 1000;
    background: transparent;
}

.menu-contenedor {
    width: calc(100% - 80px);
    max-width: 1400px;
    height: 100%;
    margin: 0 auto;

    display: flex;
    align-items: center;
}

.menu-logo {
    flex-shrink: 0;
}

.menu-logo img {
    display: block;
    height: 50px;
    width: auto;
}

.menu-enlaces {
    margin-left: auto;

    display: flex;
    align-items: center;
    gap: 28px;
}

.menu-enlaces a {
    color: #fff;
    text-decoration: none;

    font-family: "Manrope", sans-serif;
    font-size: 14px;
    font-weight: 600;

    white-space: nowrap;
}

.menu-redes {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 28px;
}

.menu-redes a {
    display: block;
    width: 20px;
    height: 20px;
}

.menu-redes img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.menu-enlaces a {
    position: relative;
    color: #fff;
    text-decoration: none;
    font-family: "Manrope", sans-serif;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    transition: color .25s ease;
}

.menu-enlaces a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background-color: #ff9100;
    transition: width .25s ease;
}

.menu-enlaces a:hover {
    color: #ff9100;
}

.menu-enlaces a:hover::after {
    width: 100%;
}

.menu-hamburguesa {
    display: none;
    width: 34px;
    height: 34px;
    margin-left: auto;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.menu-hamburguesa span {
    display: block;
    width: 26px;
    height: 3px;
    margin: 5px auto;
    background-color: #fff;
    border-radius: 2px;
}

/*comportamiento en scroll*/

.menu-principal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 1000;
    background: transparent;

    transition:
        transform .3s ease,
        background-color .3s ease;
}

.menu-principal.menu-oculto {
    transform: translateY(-100%);
}

.menu-principal.menu-scroll {
    background-color: rgba(0, 0, 0, 0.75);
}


/*version movil*/

@media (max-width: 767px) {

    .menu-principal {
        height: 70px;
    }

    .menu-principal.menu-scroll {
        background-color: rgba(0, 0, 0, 0.85);
    }

    .menu-principal {
        height: 70px;
    }

    .menu-contenedor {
        width: calc(100% - 30px);
    }

    .menu-logo img {
        height: 38px;
    }

    .menu-hamburguesa {
        display: block;
    }

    .menu-enlaces {
        display: none;
    }

    .menu-principal.menu-abierto {
        background-color: rgba(0, 0, 0, 0.92);
    }

    .menu-principal.menu-abierto .menu-enlaces {
        display: flex;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        margin: 0;
        padding: 20px 30px 25px;
        box-sizing: border-box;

        flex-direction: column;
        align-items: flex-start;
        gap: 20px;

        background-color: rgba(0, 0, 0, 0.92);
    }

    .menu-principal.menu-abierto .menu-enlaces a {
        font-size: 15px;
    }
}

