/******* Do not edit this file *******
Code Snippets Manager
Saved: Dec 01 2025 | 09:55:05 */
@charset "UTF-8";
/* Base Modal */
#modal-form {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease;
}
/* Estado Oculto */
#modal-form.modal-oculto {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  /* NO uses display: none aquí si quieres animaciones suaves, 
       pero si prefieres corte seco, display:none es aceptable */
  display: none;
}
#modal-form .modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(3px);
}
#modal-form .modal-contenido {
  position: relative;
  width: 90%;
  max-width: 1100px;
  max-height: 90vh;
  overflow-y: auto;
  margin: 5% auto;
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  z-index: 10000;
}
#cerrar-modal {
  position: absolute;
  right: 15px;
  top: 10px;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
  z-index: 10001;
}
/* Aseguramos que los formularios sean visibles cuando están activos */
.gform_wrapper {
  display: block !important;
}
#abrir-formulario, #abrir-formulario-2, #abrir-formulario * {
  cursor: pointer !important;
}
@media screen and (max-width: 768px) {
  #modal-form .modal-contenido {
    /* Reemplaza el 5% con un valor fijo que supere la altura del menú fijo (ej. 80px) */
    margin-top: 90px !important;
    margin-bottom: 20px !important;
    /* Ajusta la altura máxima restando el margen superior + espacio inferior */
    max-height: calc(100vh - 110px) !important;
    /* Aumenta el ancho en móviles para mejor aprovechamiento */
    width: 95% !important;
  }
}
