
/* Contenedor Principal (header) */
.container {
  max-width: var(--container);
  margin: auto;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
}

.logo a {
  display: flex;
  align-items: center;
}

.logo img {
  display: block;
  height: 50px;
  width: auto;
}
/* NAV DESKTOP (base) */
nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

nav ul li a {
  color: var(--text);
  text-decoration: none;
  font-weight: normal;
}

/* Links del Menú */
.nav-links {
  gap: 30px;
}

.nav-links a {
  font-size: 1.3rem;
  letter-spacing: 0.5px;
}

.nav-links a.active {
  color: var(--highlight);
  font-weight: bold;
  padding-bottom: 5px;
  border-bottom: 3px solid var(--highlight);
}
.nav-links a:hover {
  color: var(--highlight);
  padding-bottom: 5px;
  border-bottom: 3px solid var(--highlight-soft);
}
/* MENU MOBILE (botón) */
.menu-toggle {
  display: none;
  width: 30px;
  height: 24px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  height: 3px;
  background-color: var(--text);
  border-radius: 2px;
  transition: all var(--ease);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(10px, 10px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}
