
/* Estilos generales del header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1px 4%;
  background: white;
  position: fixed;
  width: 90%;
  top: 0;
  left: 5%;
  z-index: 1000;
  border-bottom: 1px solid #ddd;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding-bottom: 5%;
}

.menu-toggle span {
  height: 2px;
  width: 25px;
  background: #333;
  margin: 3px 0;
  transition: all 0.3s ease;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 12px;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  nav ul {
    display: none;
    flex-direction: column;
    width: 100%;
    background: white;
    position: absolute;
    top: 40px;
    left: 0;
    padding: 8px 0;
    border-top: 1px solid #ddd;
    z-index: 999;
  }

  nav ul.active {
    display: flex;
  }

  nav ul li {
    text-align: center;
    padding: 10px 0;
  }
}
