/* Header */
header h1 {
  font-weight: 900;
  color: #fff700;
}

.nav-link {
  position: relative;
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
  font-weight: 600;
  font-size: 1.2rem;
  margin-right: 1.5rem;
  text-align: center;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: #f39c12;
  transition: width 0.4s ease, left 0.4s ease;
  border-radius: 2px;
}

.nav-link:hover,
.nav-link:focus {
  color: #f39c12 !important;
}

.nav-link:hover::after,
.nav-link:focus::after {
  width: 100%;
  left: 0;
}

/* Personalización botón hamburguesa */
.navbar-toggler {
  border-color: #f39c12;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%28243,156,18,1%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* MEDIA PARA DESKTOP */
@media (min-width: 576px) and (max-width: 991px) {
  .nav-link {
    margin-top: 1rem;
    text-decoration: none;
    color: inherit;
    font-weight: 600;
    font-size: 1.3rem;
    margin-right: 1.5rem;
    text-align: center;
    /* Línea fija debajo */
    border-bottom: 2px solid #ce973f;
  }
  .nav-item a {
    font-size: 1.2rem;
  }
}

/* MEDIA PARA MOVILE */
@media (max-width: 576px) {
  .nav-link {
    margin-top: 1rem;
    text-decoration: none;
    color: inherit;
    font-weight: 600;
    font-size: 1.1rem;
    margin-right: 1.5rem;
    text-align: center;
    /* Línea fija debajo */
    border-bottom: 2px solid #ce973f;
  }
  .nav-item a {
    font-size: 1rem;
  }
}
