/* NAVBAR BLOCK */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #f3f4f6;
}



.navbar__container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .navbar__container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .navbar__container {
    padding: 0 2rem;
  }
}

.navbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 5rem;
}

/* LOGO */
.navbar__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar__logo-icon {
  width: 2.5rem;
  height: 2.5rem;
  background-color: #399b6a;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.navbar__logo-symbol {
  color: white;
  font-size: 1.25rem;
}

.navbar__logo-text {
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  color: #399b6a;
}



/* MENU DESKTOP */
.navbar__menu--desktop {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .navbar__menu--desktop {
    display: flex;
  }
}

.navbar__link {
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  color: #1f2937;
  transition: color 0.3s ease;
}

.navbar__link:hover {
  color: #399b6a;
}





.navbar__link--active {
  font-weight: 700;
  color: #399b6a;
  border-bottom: 2px solid #399b6a;
  padding-bottom: 0.25rem;
}



.navbar__button {
  background-color: #e69138;
  color: white;
  padding: 0.625rem 1.5rem;
  border-radius: 9999px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 15px -3px rgba(230, 145, 56, 0.3);
}

.navbar__button:hover {
  background-color: #ea580c;
  transform: scale(1.02);
}



/* HAMBURGER BUTTON */
.navbar__hamburger {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

@media (min-width: 768px) {
  .navbar__hamburger {
    display: none;
  }
}

.navbar__hamburger-icon {
  font-size: 1.875rem;
  color: #1f2937;
}



/* MENU MOBILE */
.navbar__mobile {
  display: none;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #f3f4f6;
}



.navbar__mobile--open {
  display: block;
}

.navbar__mobile-container {
  display: flex;
  flex-direction: column;
  padding: 1rem 1rem 1.5rem;
  gap: 0.75rem;
  height: 100vh;
}

@media (min-width: 640px) {
  .navbar__mobile-container {
    padding: 1rem 1.5rem 1.5rem;
  }
}

.navbar__mobile-link {
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  color: #1f2937;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}

.navbar__mobile-link:hover {
  color: #399b6a;
}



.navbar__mobile-link--active {
  font-weight: 700;
  color: #399b6a;
}



.navbar__mobile-button {
  background-color: #e69138;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  margin-top: 0.5rem;
  transition: all 0.3s ease;
}

.navbar__mobile-button:hover {
  background-color: #ea580c;
}


/* Asegurar que el menú mobile esté oculto inicialmente */
.navbar__mobile {
  display: none;
}

.navbar__mobile--open {
  display: block !important;
}

/* Asegurar que el botón hamburguesa sea clickeable */
.navbar__hamburger {
  cursor: pointer;
  z-index: 51;
}

/* Asegurar que el menú mobile tenga z-index alto */
.navbar__mobile {
  position: relative;
  z-index: 50;
}