.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 var(--margenDesktop);
    height: 70px;
    background: #dce1e5a6;
    backdrop-filter: blur(4px);
     width: 100%;
    position: sticky;
    top: 0;
    left: 0;
    z-index: 2000;
    transition: top 0.3s;
}


.hidden {
top: -70px /* ajusta según la altura de tu header */
}

.header__logo{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 0.7rem;
}

.header__logo-tipo {
    font-family: var(--tipo-secundaria);
    font-size: 1rem;
    font-weight: 700;
}


.header__logo-isologo {
        width: 30px;
}
.header__nav {
    display: flex;
    
}
.header__nav-list{
    display: flex;
    align-items: center;
    padding: 0.938rem 1.75rem;
    background-color: #fafcfb7e;
    backdrop-filter: blur(4px);
    border-radius: 50px;
    font-weight: 600;
    gap: 1.5rem;
    white-space: nowrap;
    letter-spacing: .2px;
    
}
/* ANIMACION HOVER */

.header__nav-list > li > a {
    position: relative;
    display: inline-block;
    text-decoration: none;
    padding-bottom: 2px; 
    border-radius: 1px;
}

.header__nav-list > li > a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--verdePrincipal500);
    transition: width 0.3s ease; 
}

.header__nav-list > li > a:hover{
    color: var(--verdeOscuro600);
}
.header__nav-list > li > a:hover::after {
    width: 100%; 
    
}

header > a {
    
    width: auto;
    border-radius: 50px;
    cursor: pointer;
}
.header__btn {
    max-height: 40px;
    font-weight: 600;
    padding: 8px 24px;
    border: 1px solid var(--negro);
    border-radius: 50px;
    letter-spacing: .5px;
    cursor: pointer;
    transition: border 0.5s ease;
    transition: background 1s ease;
}

.header__btn:hover {
    background: var(--verdeClaroHover);
    border: 1px solid transparent;
    /* color: var(--verdeOscuro600); */
    
}
.header__menu-toggle {
    display: none;
}


/* +++++MENU-ICON+++++*/

.menu__icon {
    width: 1.8rem;
    height: 1.3rem;
    position: relative;
    cursor: pointer;
    transition: transform 0.25s;
  }
  
  .menu__icon::before,
  .menu__icon::after{
    content: '';
    display: block;
    transition: all 0.25s
  }
  
  .menu__icon::before,
  .menu__icon::after,
  .line {
    position: absolute;
    width: 100%;
    height: 3px;
    background: var(--verdePrincipal500);
  }
  .menu__icon::before {
    top: 0;
  }
  
  .line {
    top: 50%;
    transform: translatey(-50%);
  
  }
  .menu__icon::after {
    bottom: 0;
  }
  
  /* Botón en su estado activo*/
  
  .menu__icon.active {
    transform: rotate(180deg)
  }
  
  .menu__icon.active .line {
    display: none;
  }
  
  .menu__icon.active::before {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
  }
  .menu__icon.active::after {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
  }


@media (max-width: 1185px) {
    .header__logo-tipo {
        display: none;
    }
}
@media (max-width: 1022px) {
    .header__logo-tipo, .header__btn, .header__nav-list {
        display: none;
    }

    .header__menu-toggle {
        display: block;
        width: 31px;
        cursor: pointer;
    }
    
}

@media (max-width: 667px) {
    .header, .menu__dropdown {
        padding: 0 clamp(1rem, -0.619rem + 8.095vw, 3.125rem);
        height: clamp(3.563rem, 0.891rem + 8.357vw, 4.375rem);
    }
    .header__menu-toggle {
            width: clamp(1.513rem, 0.736rem + 2.882vw, 1.938rem);
     }
     .header__logo-isologo {
        width: clamp(1.65rem, 0.674rem + 2.882vw, 1.875rem);
        
}
.header__logo-tipo{
    display: none;
}
    }
