*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
:root {
  --orange-primary: #F28E43;   /* Naranja */
  --black-primary: #1D1D1B;      /* Negro/Gris oscuro */
  --white-primary: #FFFFFF;     /* Blanco */
}

body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  background-color: var(--white-primary);
  font-family: sans-serif;
  
}

/* Evitar que las imágenes se desborden */
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}


/*propiedades del menu*/

.header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    max-height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color:  var(--black-primary);
    padding: .5rem;
    z-index: 99;
}


/*contenedor de ancla del logo*/
.header-ancla-logo-content {
    display: block;
    width: 75px;
    height: 75px;
    overflow: hidden;
    border-radius: 8px;
    
}

/*propiedades de la img de logo*/
.header-ancla-logo-content img {
    height: 100%;
    object-fit: contain;
    outline: none;
}

/*menu de navegacion para desktop/escritorio*/
/*etiqueta nav*/
.menu-nav {
   padding-right: 2rem;
}
/*etiqueta ul dentro del nav*/
.menu-nav-ul {
    display: flex;
    gap: 0.7rem;
    list-style: none;
}

/*enlaces del menu*/
.menu-item-link {
    display: block;
    text-decoration: none;
    color: var(--white-primary);
    font-size: 1.1rem;
    position: relative;
    transition: transform 0.3s ease;
}

.menu-item-link:hover {
    transform: translateY(-2px);
}

/*pseudo-elemento para animar el menu*/

.menu-item-link::after {
    content: '';
    position: absolute;
    display: block;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background-color: var(--orange-primary);
    transform: translateY(3px);
    transition: width 0.3s ease-in-out;
    
}
.menu-item-link:hover::after {
    width: 100%;
}

/*ocualta los favicons para el menu end esktop*/
.menu-item-link img {
    display: none;
}


/*oculta el input check del menu hamburguesa de la verion mobile*/
.menu-check {
    display: none;
}



/*propiedades del menu hamburguesa version mobile
con un area de 50px*50px para el boton*/

/*contenedor de las barras del menu que en estado active forman una x*/


 @media (max-width: 768px){
.menu-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    border: none;
    touch-action: manipulation;

}

/* propiedades para las barras de spans que forman el boton del menu*/
.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    transition: transform 0.3s ease-out;
    background-color: var(--orange-primary);
}

/*efecto de hundimiento del boton del menu hamburguesa*/
.menu-toggle:active {
    transform: scale(0.9);
}

/*transformacion del boton en x cuando el menu esta activo*/
.menu-check:checked~.menu-toggle span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

/* 2. Desvanecer la barra del medio (segunda) */
.menu-check:checked~.menu-toggle span:nth-child(2) {
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    /* Opcional: le da un efecto de salida lateral */
}

/* 3. Rotar la barra de abajo (tercera) */
.menu-check:checked~.menu-toggle span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.menu-nav {
    position: absolute;
    top: 80px;
    right: 0px;
    width: 15rem;
    height: calc(100vh - 80px);
    cursor: pointer;
    pointer-events: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition: transform 0.4s ease-in-out, opacity 0.3s ease, visibility 0.3s;
    z-index: 99;
    
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    background-color: rgba(255, 255, 255, 0.5);
    padding: 1rem;
}
/*habilita el menu cuando el input esta activo*/
.menu-check:checked~.menu-nav {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}
/*contenedr ul de los items del menu*/
.menu-nav-ul{
    display: flex;
    flex-direction: column;
    justify-content:space-between;
    gap: 25px;
    /* padding: 1.5rem 1rem; */
    

}

/*li pertenecientes al ul-contenedor*/
.menu-item {
    
    list-style: none;
    width: 100%;
    display: block;
   
    
}

/*propiedades para los enlaces dentro del menu*/
.menu-item-link {
    text-decoration: none;
    color: var(--black-primary);
    font-size: 1.4rem;
    font-weight: bold;
    padding: .5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    ;
}

/*propiedades para los favicons del menu*/
.menu-item-link img {
    display: block;
    width: 25px;
    height: 25px;
    object-fit: contain;
    outline: none;
    transition: transform 0.2s ease-in-out;
}






 }





