/* ===========================
   NAVBAR
=========================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

/* Clase añadida por JS al hacer scroll */
.navbar.scrolled {
  background: rgba(0, 0, 0, 0.84);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.navbar__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--navbar-height);
}

.navbar__logo img {
  height: 97px;
  width: auto;
}

.navbar__logo {
  margin-left: -85px;   /* ← corre a la izquierda, aumenta el negativo para más */
  margin-top: -1px;     /* ← baja, aumenta para más */
}

.navbar__links {
  display: flex;
  gap: 36px;
  margin-left: auto;
}

.navbar__links a {
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: capitalize;
  color: var(--color-blanco);
  position: relative;
  padding-bottom: 4px;
  transition: color 0.2s;
}

/* Hover: underline animado en rojo */
.navbar__links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-rojo);
  transition: width 0.25s ease;
}

.navbar__links a:hover {
  color: var(--color-rojo);
}

.navbar__links a:hover::after {
  width: 100%;
}

.navbar__toggle {
  display: none;  /* ← oculto en desktop */
}