.elementor-8594 .elementor-element.elementor-element-c3217cf{--display:flex;}#elementor-popup-modal-8594{background-color:rgba(0,0,0,.8);justify-content:center;align-items:center;pointer-events:all;}#elementor-popup-modal-8594 .dialog-message{width:760px;height:auto;}#elementor-popup-modal-8594 .dialog-close-button{display:flex;}#elementor-popup-modal-8594 .dialog-widget-content{border-radius:20px 20px 20px 20px;box-shadow:2px 8px 23px 3px rgba(0,0,0,0.2);}@media(max-width:1024px){#elementor-popup-modal-8594 .dialog-message{width:90vw;}}@media(max-width:767px){#elementor-popup-modal-8594 .dialog-message{width:94vw;}#elementor-popup-modal-8594 .dialog-widget-content{border-radius:16px 16px 16px 16px;}}/* Start custom CSS *//* === Ventana emergente 8594 · formulario diagnostico de operaciones === */
/* Se respeta el estilo del propio formulario (claro/corporativo o oscuro):
   aqui solo se corrige el encaje, el centrado y el comportamiento. */

#elementor-popup-modal-8594{
  z-index:999999 !important;
  touch-action:none !important;
  overscroll-behavior:none !important;
  overflow:hidden !important;
}

/* Elementor pone position:sticky en <=1024px cuando existe la barra de administracion,
   lo que saca la ventana de la pantalla en movil. Se fuerza fixed. */
@media (max-width:1024px){
  body.admin-bar #elementor-popup-modal-8594{
    position:fixed !important; top:0 !important; left:0 !important;
    right:0 !important; bottom:0 !important;
    width:100% !important; height:100% !important;
  }
}

/* La pagina de detras se queda quieta mientras la ventana esta abierta */
html:has(#elementor-popup-modal-8594:not([style*="display: none"])), body:has(#elementor-popup-modal-8594:not([style*="display: none"])){
  overflow:hidden !important;
  overscroll-behavior:none !important;
}
body:has(#elementor-popup-modal-8594:not([style*="display: none"])) a[href*="wa.me"]{ opacity:0 !important; pointer-events:none !important; }
body.soc-popup-abierta a[href*="wa.me"]{ opacity:0 !important; pointer-events:none !important; }

/* Caja: sin marco de color propio, esquinas redondeadas y centrada */
#elementor-popup-modal-8594 .dialog-widget-content{
  background-color:transparent !important;
  background-image:none !important;
  border-radius:20px !important;
  overflow:hidden !important;
  box-shadow:0 30px 80px rgba(2,14,26,.38) !important;
  max-width:calc(100vw - 24px) !important;
  margin:0 auto !important;
}

/* Solo se desplaza en vertical y solo por dentro: nada de arrastrar de lado */
#elementor-popup-modal-8594 .dialog-message{
  padding:0 !important;
  background-color:transparent !important;
  max-height:min(90vh,920px) !important;
  overflow-y:auto !important;
  overflow-x:hidden !important;
  touch-action:pan-y !important;
  overscroll-behavior:contain !important;
  -webkit-overflow-scrolling:touch !important;
  scrollbar-width:thin;
  scrollbar-color:rgba(112,132,152,.55) transparent;
}
#elementor-popup-modal-8594 .dialog-message::-webkit-scrollbar{ width:8px; }
#elementor-popup-modal-8594 .dialog-message::-webkit-scrollbar-thumb{ background:rgba(112,132,152,.55); border-radius:8px; }
#elementor-popup-modal-8594 .dialog-message::-webkit-scrollbar-track{ background:transparent; }

/* Boton de cerrar (X): visible sobre fondo claro u oscuro, con zona de toque amplia */
#elementor-popup-modal-8594 .dialog-close-button{
  position:absolute !important; top:12px !important; right:12px !important;
  width:42px !important; height:42px !important;
  display:flex !important; align-items:center !important; justify-content:center !important;
  border-radius:50% !important;
  background:#0a1929 !important;
  border:1px solid rgba(255,255,255,.35) !important;
  box-shadow:0 4px 14px rgba(2,14,26,.30) !important;
  color:#fff !important; opacity:1 !important; cursor:pointer !important;
  z-index:30 !important; margin:0 !important; touch-action:manipulation !important;
  transition:background .2s ease, transform .2s ease;
}
#elementor-popup-modal-8594 .dialog-close-button:hover{ background:#16324f !important; transform:scale(1.05); }
#elementor-popup-modal-8594 .dialog-close-button svg, #elementor-popup-modal-8594 .dialog-close-button i{
  width:15px !important; height:15px !important; font-size:15px !important;
  fill:#fff !important; color:#fff !important; pointer-events:none !important;
}

/* Nada mas ancho que la ventana: se anula cualquier salida a 100vw */
#elementor-popup-modal-8594 .elementor, #elementor-popup-modal-8594 [data-elementor-type="popup"],
#elementor-popup-modal-8594 .e-con, #elementor-popup-modal-8594 .e-con-inner, #elementor-popup-modal-8594 .elementor-widget-container{
  max-width:100% !important; width:100% !important;
  margin-left:0 !important; margin-right:0 !important;
  padding-left:0 !important; padding-right:0 !important;
}
#elementor-popup-modal-8594 .soc-form{
  width:100% !important; max-width:100% !important;
  margin:0 !important; overflow-x:hidden !important;
}
#elementor-popup-modal-8594 .soc-form *{ max-width:100% !important; }
#elementor-popup-modal-8594 textarea{ resize:vertical !important; max-width:100% !important; }

/* Espacio arriba justo para que la X no tape el texto, sin hueco de sobra */
#elementor-popup-modal-8594 .soc-form__inner{ padding:48px 34px 32px !important; width:100% !important; }
#elementor-popup-modal-8594 .soc-form__eyebrow{ max-width:100% !important; }
#elementor-popup-modal-8594 .soc-form__title{ font-size:clamp(22px,2.3vw,34px) !important; line-height:1.14 !important; }
#elementor-popup-modal-8594 .soc-form__sub{ margin-bottom:18px !important; }
#elementor-popup-modal-8594 .soc-form__steps{ margin-top:0 !important; }
#elementor-popup-modal-8594 .soc-form__form{ padding:24px 22px !important; }

@media (max-width:1024px){
  #elementor-popup-modal-8594 .soc-form__inner{ padding:52px 22px 24px !important; }
  #elementor-popup-modal-8594 .soc-form__form{ padding:22px 18px !important; }
  #elementor-popup-modal-8594 .soc-form__title{ font-size:clamp(21px,3.2vw,28px) !important; }
}

@media (max-width:767px){
  #elementor-popup-modal-8594 .dialog-widget-content{ border-radius:16px !important; max-width:calc(100vw - 16px) !important; }
  #elementor-popup-modal-8594 .dialog-message{ max-height:88vh !important; }
  #elementor-popup-modal-8594 .dialog-close-button{ top:8px !important; right:8px !important; width:40px !important; height:40px !important; }
  #elementor-popup-modal-8594 .soc-form__inner{ padding:52px 16px 20px !important; }
  #elementor-popup-modal-8594 .soc-form__title{ font-size:clamp(20px,5.2vw,25px) !important; }
  #elementor-popup-modal-8594 .soc-form__sub{ font-size:14px !important; margin-bottom:14px !important; }
  #elementor-popup-modal-8594 .soc-form__steps{ gap:6px !important; }
  #elementor-popup-modal-8594 .soc-form__step-label{ font-size:9px !important; letter-spacing:.06em !important; }
  #elementor-popup-modal-8594 .soc-form__form{ padding:18px 14px !important; }
}


/* ==== SOC-INTRO-ORDER: eyebrow debajo del titular ==== */
#elementor-popup-modal-8594 .soc-form__intro{display:flex;flex-direction:column;}
#elementor-popup-modal-8594 .soc-form__intro .soc-form__title{order:1;}
#elementor-popup-modal-8594 .soc-form__intro .soc-form__sub{order:2;margin-bottom:14px;}
#elementor-popup-modal-8594 .soc-form__intro .soc-form__eyebrow{order:3;margin:0 0 4px;align-self:center;justify-content:center;}
@media (max-width:767px){
#elementor-popup-modal-8594 .soc-form__intro .soc-form__sub{margin-bottom:12px;}
#elementor-popup-modal-8594 .soc-form__intro .soc-form__eyebrow{margin:0 0 2px;}
}

/* eyebrow abajo: que nunca se corte en movil */
#elementor-popup-modal-8594 .soc-form__eyebrow{flex-wrap:wrap;}
#elementor-popup-modal-8594 .soc-form__eyebrow-text{white-space:normal;overflow-wrap:break-word;text-align:center;}
@media (max-width:767px){
#elementor-popup-modal-8594 .soc-form__eyebrow-text{font-size:10px;letter-spacing:.1em;line-height:1.5;}
}

/* ==== SOC-MOVIL-V2: titular en 2 frases + cabecera compacta ==== */
#elementor-popup-modal-8594 .soc-form__title em{display:block;font-style:italic;}
#elementor-popup-modal-8594 .soc-form__eyebrow{gap:8px;}
@media (max-width:767px){
#elementor-popup-modal-8594 .soc-form__eyebrow-decor{display:none;}
#elementor-popup-modal-8594 .soc-form__inner{padding-top:46px;padding-bottom:16px;}
#elementor-popup-modal-8594 .soc-form__title{font-size:19px;line-height:1.2;}
#elementor-popup-modal-8594 .soc-form__sub{font-size:13.5px;line-height:1.45;margin-bottom:10px;}
#elementor-popup-modal-8594 .soc-form__intro .soc-form__eyebrow{margin:0;}
#elementor-popup-modal-8594 .soc-form__form{padding:16px 14px;}
}

/* ==== SOC-SIN-ARO-FOCO: quitar el aro azul del sistema en la X ==== */
#elementor-popup-modal-8594 .dialog-close-button,#elementor-popup-modal-8594 .soc-form,#elementor-popup-modal-8594 .soc-form *{-webkit-tap-highlight-color:transparent;}
#elementor-popup-modal-8594 .dialog-close-button:focus,#elementor-popup-modal-8594 .dialog-close-button:active,#elementor-popup-modal-8594 .dialog-close-button:focus:not(:focus-visible){outline:0 !important;outline-offset:0 !important;box-shadow:0 4px 14px rgba(2,14,26,.3) !important;}
#elementor-popup-modal-8594 .dialog-close-button:focus-visible{outline:0 !important;box-shadow:0 0 0 3px rgba(255,255,255,.55),0 4px 14px rgba(2,14,26,.3) !important;}/* End custom CSS */