.header-main{
    width:100%;
    max-width: 1200px;
    margin:0 auto;
    display:block;
      
}
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding:4px 20px;
}

.header-logo {
  flex: 1;
}
.logo{
    width:78px;
    height:78px; 
    float:left;
    overflow: hidden;
    display:block;
}
.sitename{
    float: left;
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    text-decoration: none;
    padding: 29px 10px;
    font-size: larger;
    color:var(--primary-two);
}

.menu-desktop {
    display: flex;
    gap: 18px;
    flex: 1;
    justify-content: flex-end;
}

.menu-toggle {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-link{
    width: auto;
    padding: 10px;
    font-family: 'Roboto', sans-serif;
    text-decoration: none;
    border-radius: 7px;
    color: var(--primary-two);
    line-height: 30px;
    font-size: 1rem;
    text-align: center;
}
.menu-link:hover{
    color:white;
    background-color:var(--primary-one);
}
.menu-link-activo{
    width: auto;
    padding: 10px;
    font-family: 'Roboto', sans-serif;
    text-decoration: none;
    border-radius: 7px;
    color: var(--primary-one);
    line-height: 30px;
    font-size: 1rem;
    text-align: center;
    text-decoration: underline;
}

/*****************************************************************************/
/* === MENÚ MÓVIL === */

.menu-mobile {
  display: none;
  position: fixed;
  top: 87px;
  left: 0;
  width: 100%;
  background-color: white;
  z-index: 1000;
  flex-direction: column;
  padding: 20px;
  gap: 15px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transform: translateY(-10px);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.menu-mobile.show {
  display: flex;
  transform: translateY(0);
  opacity: 1;
}

.menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 999;
}

.menu-overlay.show {
  display: block;
}

/* === BOTÓN HAMBURGUESA === */
.menu-toggle {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
  color: #333;
}

/* === RESPONSIVE: Activar menú móvil en pantallas pequeñas === */
@media (max-width: 907px) {
    .menu-desktop {
        display: none;
    }
    .menu-toggle {
        display: block;
    }
    .menu-link{
        font-size: 1.3rem;
    }
}

