/* --- Header ---------------------------------------------------------------
   Barra fija superior: logo, navegación y botón de menú móvil.
   Se carga en todas las páginas (desde Views/header.php).
   ------------------------------------------------------------------------ */

.header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}

.logo {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

.logo span {
  color: var(--primary);
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 1.6rem;
}

.nav-list a {
  text-decoration: none;
  color: var(--dark-text);
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.25s ease;
}

.nav-list a:hover {
  color: var(--primary);
}

.nav-list a.active {
  color: var(--primary);
  font-weight: 600;
}

.mobile-menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--dark-text);
}

@media (max-width: 768px) {
  .nav-list {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1.6rem 0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    display: none;
  }

  .nav-list.show {
    display: flex;
  }

  .mobile-menu-toggle {
    display: block;
  }
}
