/* Caja principal blanca más arriba */
.info-web .info-box {
  max-width: 1100px;
  margin: 160px auto 2rem;  
  background-color: white;
  padding: 3rem 4rem;
  border-radius: 1rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  text-align: justify;
  position: relative;
  z-index: 1;
}

.main-content {
  padding: 0 !important;
}

/* Logo centrado encima del cuadro blanco */
.logo-container {
  position: absolute;
  top: 100px; 
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.logo-mariposa {
  height: 100px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* Título centrado */
.titulo-centro {
  text-align: center;
  margin-bottom: 1rem;
}

/* Listas sin puntos */
.info-web ul {
  list-style-type: none;
  padding-left: 0;
}

.info-web ul li {
  margin-bottom: 0.7rem;
}

/* Enlaces del menú superior */
.navbar .navbar-right a {
  color: white;
  text-decoration: none;
  margin-right: 1rem;
  font-size: 1rem; 
  transition: color 0.2s;
}

.navbar .navbar-right a:hover,
.navbar .navbar-right a:focus,
.navbar .navbar-right a:active {
  color: black;
}

/* Botón desplegable */
.dropbtn {
  background: none;
  border: none;
  color: white;
  font-size: 1rem;
  cursor: pointer;
}

/* Desplegable de idioma */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  border-radius: 6px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  min-width: 160px;
  z-index: 9999;
  margin-top: 4px;
  right: 0;
}

.dropdown:hover .dropdown-content,
.dropdown-content:hover {
  display: block !important;
}

.dropdown-content a {
  display: block;
  padding: 10px 12px;
  color: black !important;
  font-size: 14px;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.dropdown-content a:hover {
  background-color: #e6f0ff;
  color: black;
}

/* Ocultar firma si se reutiliza estilo del login */
.firma-sello {
  display: none;
}

/* 🔥 Mantiene desplegable abierto al pasar entre botón y contenido */
.dropbtn-container {
  position: relative;
  display: inline-block;
}

.dropbtn-container:hover .dropdown-content {
  display: block !important;
}
