/* Estilos del botón llamativo */
.btn-modal-socio {
  background: linear-gradient(135deg, #0073aa, #005177);
  color: white;
  padding: 15px 32px;
  font-size: 18px;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 115, 170, 0.4);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Efecto hover al pasar el mouse por encima del botón */
.btn-modal-socio:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 115, 170, 0.6);
}

/* Fondo oscuro de la ventana emergente (oculto por defecto) */
.modal-fondo {
  display: none;
  position: fixed;
  z-index: 99999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
}

/* Contenedor interno del modal */
.modal-contenedor {
  position: relative;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  text-align: center;
}

/* Botón de cierre (X) */
.modal-cerrar {
  position: absolute;
  top: -45px;
  right: 0;
  color: white;
  font-size: 38px;
  font-weight: bold;
  cursor: pointer;
  line-height: 1;
}

/* Imagen dentro del modal */
.modal-imagen {
  max-width: 100%;
  max-height: 80vh;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  object-fit: contain;
}