
/* *{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    overflow: hidden;
} */



.container___Menu{
    max-width: 1170px;
    margin: auto;
    padding: 0 15px;
}


.header___menu{
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    border-bottom: 1px solid hsla(0, 0%, 100%, 0.2);
    z-index: 10;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    
}
.header___menu.scrolled {
    background-color: #F9F9F9; /* Fondo sólido cuando haces scroll */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Sombras opcionales */
    border-bottom: none; /* Opcional: cambia el borde */
}
.header___menu.scrolled .menu__n a {
    color: #CFAC56;;
}

.header___menu .menu__n > ul > .dropdown > a{
    padding-right: 15px;
}
.header___menu .menu__n i{
    font-size: 10px;
    pointer-events: none;
    user-select: none;
    position: absolute;
    color: hsl(0, 0%, 100%);
    top: calc(50% - 5px);
}
.header___menu.scrolled .menu__n i{
    color: #CFAC56;;
}

.header___menu .menu__n > ul > li > i{
    right: 0;
}

.header___menu .menu__n .sub__menu{
    position: absolute;
    top: 100%;
    left: 0;
    width: 300px;
    padding: 15px 0;
    background-color: #CFAC56;
    box-shadow: 0 0 5px hsla(0, 0%, 0%, 0.5);
    z-index: 1;
    transform-origin: top;
    transform: scaleY(0);
    visibility: hidden;
    opacity: 0;
}
.header___menu.scrolled .menu__n .sub__menu{
    background-color: hsl(0, 0%, 100%);
}


/* Este estilo es para qe el sub menu se abra hacia la derecha */
.header___menu .menu__n .sub-menu-right{
    left: 100%;
    top: 0;
}

.header___menu .menu__n .sub-menu-left{
    top: 0;
    left: auto;
    right: 100%;
}

.header___menu .menu__n li:hover > .sub__menu{
    opacity: 1;
    transform: none;
    visibility: visible;
    transition: all 0.5s ease;
}

.header___menu .menu__n .sub__menu a{
    padding: 6px 24px;
}

.header___menu .menu__n .sub__menu .dropdown > a{
    padding-right: 34px;
    }
.header___menu .menu__n .sub__menu span{
    background-image: linear-gradient(hsl(0,0%,100%), hsl(0,0%,100%));
    background-size: 0 1px;
    background-repeat: no-repeat;
    background-position: 0 100%;
    transition: background-size 0.5s ease;
}
.header___menu.scrolled .menu__n .sub__menu span {
    background-image: linear-gradient(hsl(211,97%,24%), hsl(211,97%,24%));
    background-size: 0% 1px;
    transition: background-size 0.5s ease;
}

.header___menu .menu__n .sub__menu li:hover > a > span{
    background-size: 100% 1px;
}
.header___menu .menu__n .sub__menu i{
    transform: rotate(-90deg);
    right: 24px;
}


.header-right{
    display: flex;
}
.header-right > *{
    margin-left: 25px;
}

.header-right .icon-btn{
    background-color: transparent;
    border: none;
    cursor: pointer;
    color: hsl(0, 0%, 100%);
    font-size: 16px;
}
.header-right .open-menu-btn{
    display: none;
}


.header___menu .container___Menu{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.header___menu .logo___Menu img{
    vertical-align: middle;
    width: 50%;
}

.header___menu .menu__n .head{
    display: none;
}

.header___menu .menu__n ul{
    list-style: none;
}

.header___menu .menu__n > ul >li{
    display: inline-block;
}

.header___menu .menu__n > ul > li:not(:last-child){
    margin-right: 40px;
}

.header___menu .menu__n .dropdown{
    position: relative;
}

.header___menu .menu__n a{
    text-decoration: none;
    text-transform: capitalize;
    font-size: 16px;
    color: hsl(0, 0%, 100%);
    line-height: 1.5;
    display: block;
}

.header___menu .menu__n > ul > li >a{
    padding: 24px 0;
}


@media(max-width:991px){
    .header___menu{
        padding: 12px 0;
    }
    .header___menu .menu__n{
        position: fixed;
        right: 0;
        top: 0;
        width: 320px;
        height: 100%;
        background-color: #CFAC56;;
        padding: 15px 30px 30px;
        overflow-y: auto;
        z-index: 1;
        transform: translateX(100%);
    }



    
    .header___menu .menu__n.open{
        transform: none;
    }


    .header___menu .menu__n .head{
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 25px;
    }
    .header___menu .menu__n .close-menu-btn{
        height: 35px;
        width: 35px;
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background-color: transparent;
        cursor: pointer;
        border: none;
    }
    .header___menu .menu__n .close-menu-btn::before,
    .header___menu .menu__n .close-menu-btn::after{
        content: '';
        position: absolute;
        width: 80%;
        height: 2px;
        background-color: hsl(0, 0%, 100%);
    }
    .header___menu .menu__n .close-menu-btn::before{
        transform: rotate(45deg);
    }
    .header___menu .menu__n .close-menu-btn::after{
        transform: rotate(-45deg);
    }

    .header___menu .menu__n > ul > li{
        display: block;
    }
    .header___menu .menu__n > ul > li:not(:last-child){
        margin-right: 0;
    }
    .header___menu .menu__n li{
        border-bottom: 1px solid hsla(0, 0%, 100%, 0.25);
    }
    .header___menu .menu__n li:first-child{
        border-top: 1px solid hsla(0, 0%, 100%, 0.25);
    }
    .header___menu .menu__n > ul > li > a{
        padding: 12px 0;
    }
    .header___menu .menu__n > ul > .dropdown > a{
        padding-right: 34px;
    }
    .header___menu .menu__n i{
        height: 34px;
        width: 34px;
        border: 1px solid hsla(0, 0%, 100%, 0.25);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        pointer-events: auto;
        cursor: pointer;
        top: 7px;
    }

    .header___menu .menu__n .dropdown.active > i{
        background-color: hsla(0, 0%, 100%, 0.25);
        transform: rotate(180deg);
    }


    .header___menu .menu__n .sub__menu{
        position: static;
        opacity: 1;
        transform: none;
        visibility: visible;
        padding: 0;
        transition: none;
        box-shadow: none;
        width: 100%;
        display: none;
    }

    .header___menu.scrolled .menu__n a {
        color: hsl(0, 0%, 100%);
    }
    .header___menu.scrolled .menu__n i{
        color: hsl(0, 0%, 100%);
    }
    .header___menu.scrolled .menu__n .sub__menu{
        background-color: #CFAC56;
    }
    .header___menu .menu__n .dropdown.active > .sub__menu{
        display: block;
    }

    .header___menu .menu__n .sub__menu li:last-child{
        border: none;
    }
    .header___menu .menu__n .sub__menu a{
        padding: 12px 0 12px 15px;
    }
    .header___menu .menu__n .sub__menu .sub__menu a{
        padding-left: 35px;
    }
    .header___menu .menu__n .sub__menu .sub__menu .sub__menu a{
        padding-left: 45px;
    }
    .header___menu .menu__n .sub__menu span{
        background-image: none;
    }
    .header___menu .menu__n .sub__menu i{
        transform: none;
        right: 0;
    }
    .header-right .open-menu-btn{
        display: inline-flex;
        align-items: center;
        justify-content: center;
        height: 40px;
        width: 40px;
        cursor: pointer;
        position: relative;
        background-color: transparent;
        border: none;
    }
    .header-right .open-menu-btn .line{
        height: 2px;
        width: 30px;
        background-color: hsl(0, 0%, 100%);
        position: absolute;
    }
    .header___menu.scrolled .header-right .open-menu-btn .line {
        background-color: #CFAC56;; /* Naranja */
    }

    .header-right .open-menu-btn .line1{
        transform: translateY(-8px);
    }
    .header-right .open-menu-btn .line3{
        transform: translateY(8px);
    }
}


/* =======Borrar======== */
.hero{
    min-height: 100vh;
    background-image: url('../img/workstatidons.jpg');
    background-size: cover;
    background-position: center;
}

/* =======BorrarFIN====== */
/* Estilos para pantallas grandes (desktop) */
@media (min-width: 992px) {
    
    .header___menu {
        /* Restablece el padding si lo modificaste para móvil */
        padding: 0;
    }
    
    .header___menu .container___Menu {
        /* Asegura que el logo, el menú y el header-right estén en la misma fila */
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    
    .header___menu .logo___Menu img {
        /* Ajusta el tamaño del logo para escritorio */
        width: 150px; /* Puedes ajustar este valor */
    }

    /* Mostrar el menú de navegación en fila */
    .header___menu .menu__n {
        /* Reinicia los estilos de posición del menú móvil */
        position: static;
        width: auto;
        height: auto;
        background-color: transparent;
        transform: none;
        padding: 0;
    }

    /* Ocultar el botón para abrir el menú hamburguesa */
    .header-right .open-menu-btn {
        display: none;
    }
    
    /* Ocultar los botones de cierre del menú móvil */
    .header___menu .menu__n .head {
        display: none;
    }
    
    /* Mostrar los elementos del menú en una fila */
    .header___menu .menu__n ul {
        display: flex;
        gap: 20px; /* Ajusta el espacio entre los elementos del menú */
    }

    .header___menu .menu__n > ul > li {
        /* Asegura que los ítems del menú se muestren en línea */
        display: inline-block;
        margin: 0;
    }

    .header___menu .menu__n a {
        /* Asegura que los enlaces tengan el color correcto para escritorio */
        color: #fff;
    }
    
    .header___menu.scrolled .menu__n a {
        /* Restablece el color del texto cuando hay scroll */
        color: #222B2A; /* O el color que desees para el estado con scroll */
    }




   
}