.fondo-modal {
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  z-index: 10;
  opacity: 0;
  visibility: hidden;
  transition: all ease 0.5s;
}
.fondo-modal.activo {
  opacity: 1;
  visibility: visible;
  transition: all ease 0.5s;
}

.contenedor-modal {
  width: 85%;
  border-radius: 32px;
  top: 80%;
  transition: all ease 0.5s;
  padding-bottom: 20px;
}
.contenedor-modal.activo {
  top: 50%;
  transition: all ease 0.5s;
}

/* ✅ Pantallas grandes: ancho fijo */
@media (min-width: 500px) {
  .contenedor-modal {
    width: 400px;
  }
}

.icono-local,
.icono-comun {
  transition: width 0.3s ease;
}

.icono-modal {
  position: relative;
  left: 50%;
  transform: translate(-50%);
  top: -350px;
  transition: top 0.5s ease, transform 0.3s ease, opacity 0.3s ease;
}
.icono-modal.activo {
  top: 0px;
}

.contenido-dinamico-modal {
  width: 90%;
  margin: auto;
  opacity: 0;
  transition: all ease 0.5s;
  border-radius: 16px;
}
.contenido-dinamico-modal.activo {
  opacity: 1;
  transition: all ease 0.5s 0.5s; /* Delay de 0.5s antes de la transición */
}



