

#menu-horizontal{
    font-size:10px;
    padding-top:40px;
    padding-left:5px;
    padding-right:5px;
    padding-bottom:40px;
    text-decoration:none;
}

/* Barra de navegación superior */
.navbar.fixed-top {
  position: fixed; /* Nos aseguramos que sea fijo */
  top: 0;
  left: 0;
  width: 100%;
  height: 80px; /* Definimos una altura fija para la barra */
  z-index: 1030; /* La ponemos por encima del contenido */
  
}

/* Botón hamburguesa */
.menu-btn {
  width: 30px;
  height: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}



.menu-btn span {
  display: block;
  height: 4px;
  background: #FFF;
  width: 100%;
  transition: 0.3s;
}

/* Panel lateral */
.menu-panel {
  position: fixed;
  top: 0;
  right: -100%;
  height: 100%;
  background: rgba(19, 111, 182, 0.9);
  box-shadow: -2px 0 5px rgba(0,0,0,0.2);
  transition: right 0.6s cubic-bezier(0.25, 1, 0.5, 1); /* efecto inercia */
  z-index: 9999;
  width: 100%;
  color: white;
}

@media (min-width: 992px) {
  .menu-panel {
    width: 50%;
  }
}

.menu-panel.open {
  right: 0;
}

/* Bot車n cerrar */
.close-btn {
  align-self: flex-end;
  font-size: 2.5rem;
  background: none;
  border: none;
  cursor: pointer;
  margin: 20px;
  color: white;
}

/* Contenido men迆 */
.menu-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.menu-links {
  list-style: none;
  padding: 0;
  margin: 0 0 40px 0;
  text-align: center;
}

.menu-links li {
  margin: 15px 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.menu-panel.open .menu-links li {
  opacity: 1;
  transform: translateY(0);
}

.menu-panel.open .menu-links li:nth-child(1) { transition-delay: 0.1s; }
.menu-panel.open .menu-links li:nth-child(2) { transition-delay: 0.2s; }
.menu-panel.open .menu-links li:nth-child(3) { transition-delay: 0.3s; }
.menu-panel.open .menu-links li:nth-child(4) { transition-delay: 0.4s; }
.menu-panel.open .menu-links li:nth-child(5) { transition-delay: 0.5s; }
.menu-panel.open .menu-links li:nth-child(6) { transition-delay: 0.6s; }

.menu-links a {
  text-decoration: none;
  font-size: 1.5rem;
  color: #FFF !important;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
}

.menu-links a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -6px;
  height: 2px;
  width: 0;
  background: white;
  transition: width 0.3s ease, left 0.3s ease;
  text-shadow:
        0 0 5px #136FB6,
        0 0 15px #136FB6,
        0 0 30px #136FB6,
        0 0 50px #136FB6;
}

.menu-links a:hover::after {
  width: 100%;
  left: 0;
}

/* Idiomas */
.lang-switcher {
  text-align: center;
}

.lang-switcher a {
  margin: 0 10px;
  text-decoration: none;
  color: #ccc;
  font-size: 0.9rem;
}

.lang-switcher a:hover {
  color: white;
}


/* Footer */
.footer {
  padding: 20px;
  background: #FFF;
  font-size: 0.9rem;
  color: #000;
}


@media (min-width: 1200px) {
  .navbar.fixed-top {
    top: 0 !important;
    left: 0;
    width: 100%;
    height: 82px;
    padding: 0 32px !important;
    justify-content: flex-start !important;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  }

  .navbar.fixed-top .navbar-brand.d-none.d-lg-block {
    position: static !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    display: flex !important;
    align-items: center;
    margin: 0;
    padding: 0;
    z-index: 1042;
  }

  .navbar.fixed-top .navbar-brand.d-none.d-lg-block #logo {
    width: 290px !important;
    height: auto !important;
    padding-top: 0 !important;
  }

  #menuBtn {
    display: none !important;
  }

  #menuPanel {
    position: fixed;
    top: 0;
    right: 32px;
    left: 230px;
    width: auto;
    height: 82px;
    z-index: 1041;
    background: transparent;
    box-shadow: none;
    color: #fff;
    transition: none;
  }

  #menuPanel.open {
    right: 32px;
  }

  #menuPanel .close-btn {
    display: none !important;
  }

  #menuPanel .menu-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }

  #menuPanel .menu-container > .uk-scope {
    display: none !important;
  }

  #menuPanel .menu-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
    width: 100%;
    margin: 0;
    padding: 0;
    text-align: right;
    list-style: none;
  }

  #menuPanel .menu-links li {
    margin: 0;
    opacity: 1;
    transform: none;
    transition: none;
  }

  #menuPanel .menu-links a {
    display: inline-flex;
    align-items: center;
    min-height: 82px;
    color: #136FB6 !important;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.2;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
  }

  #menuPanel .menu-links a::after {
    bottom: 22px;
    background: #136FB6;
  }
}

@media (min-width: 1200px) and (max-width: 1320px) {
  #menuPanel {
    right: 20px;
    left: 205px;
  }

  #menuPanel .menu-links {
    gap: 12px;
  }

  #menuPanel .menu-links a {
    font-size: 12px;
  }

  .navbar.fixed-top {
    padding: 0 22px !important;
  }
}
