.menu-hover {
  position: relative;
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: #fff;
  display: flex;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 100;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  margin-top: 46px;
  margin-left:  -800px;
}

.menu-hover:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Columnas internas */
.mega-menu-col {
  flex: 1;
  padding: 40px;
  min-width: 800px;
}

.white-bg {
  background-color: #ffffff;
}

.gray-bg {
  background-color: #f6f6f6;
}

.mega-menu-col h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--oxford-blue);
  margin-bottom: 20px;
}

.mega-menu-col ul li {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 12px;
  color: #333;
}


/* Menú fijo inferior móvil */
.menu-movil {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background-color: white;
  border-top: 1px solid #ccc;
  z-index: 1000;
  /*display: flex;*/
  justify-content: space-around;
  align-items: center;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.05);
}

.btn-movil {
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--oxford-blue);
  cursor: pointer;
}

.btn-movil:hover {
  color: var(--bright-pink);
}

/* Menú desplegable oculto */
.menu-desplegable {
  position: fixed;
  bottom: -100%;
  left: 0;
  right: 0;
  background-color: var(--oxford-blue);
  color: white;
  padding: 30px 20px;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.2);
  transition: bottom 0.4s ease;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: center;
}

.menu-desplegable a {
  color: white;
  font-size: 1rem;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.menu-desplegable a:hover {
  color: var(--bright-pink);
}

.menu-desplegable.show {
  bottom: 60px; /* justo arriba del menú fijo */
}

.menu-desplegable button#cerrar-menu {
  background: transparent;
  border: 1px solid white;
  color: white;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  margin-top: 20px;
}

@media (max-width: 768px) {
  .menu-movil {
    display: flex;
  }

  header nav {
    display: none; /* ocultamos menú normal en móvil */
  }
}
