/* --- NAVBAR --- */

.navbar {
  background: #ffffff;
  border-bottom: 1px solid #f0f0f0;
  position: sticky;
  top: 0;
  z-index: 50;
}

.navbar-container {
  max-width: 2400px;
  margin: 0 auto;
  padding: 18px 30px;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-logo {
  height: 48px;            /* altura real del navbar */
  display: flex;
  align-items: center;
}

.navbar-logo img {
  height: 100%;            /* ajusta la imagen al contenedor */
  width: auto;
  object-fit: contain;     /* evita deformaciones */
  display: block;
}

.navbar-logo span {
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
}

.navbar-menu {
  display: flex;
  gap: 60px;
}

.navbar-menu a {
  align-items: center;
  text-decoration: none;
  color: #555;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s, transform 0.2s;
}

.navbar-menu a:hover {
  color: #000;
  transform: translateY(-1px);  /* efecto sutil de interacción */
}

.navbar-actions .btn-login {
  padding: 8px 18px;
  background: #000;
  color: #fff;
  border-radius: 8px;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.2s;
}

.navbar-actions .btn-login:hover {
  background: #333;
}

/* ------------------------------------------ */
/* RESPONSIVE NAVBAR                          */
/* ------------------------------------------ */

/* Pantallas medianas (tablets) */
@media (max-width: 992px) {
  .navbar-container {
    padding: 16px 30px;
  }

  .navbar-menu {
    gap: 30px;          /* menos espacio */
    margin-left: 40px;  /* empuja menos */
  }
}

/* Pantallas pequeñas (móviles grandes) */
@media (max-width: 768px) {
  .navbar-menu {
    display: none;  /* ocultamos el menú */
  }

  .navbar-actions {
    display: none;  /* ocultamos el botón Acceder */
  }
}

/* Pantallas muy pequeñas (móviles pequeños) */
@media (max-width: 480px) {
  .navbar-logo img {
    height: 38px;    /* ajustamos ligeramente el tamaño */
  }

  .navbar-container {
    padding: 12px 20px;
  }
}