/* Contacto Popup v4 */
.ctco-popup-overlay{position:fixed;inset:0;z-index:999999;display:flex;align-items:center;justify-content:center;padding:1rem;}
.ctco-popup-overlay.ctco-pop-in{animation:ctcoPopIn .25s ease both;}
.ctco-popup-overlay.ctco-pop-out{animation:ctcoPopOut .2s ease both;}
@keyframes ctcoPopIn{from{opacity:0}to{opacity:1}}
@keyframes ctcoPopOut{from{opacity:1}to{opacity:0}}
.ctco-popup-bd{position:absolute;inset:0;background:var(--ctco-overlay,rgba(10,20,18,.65));backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);cursor:pointer;}
.ctco-popup-box{position:relative;z-index:1;background:#fff;border-radius:1.1em;box-shadow:0 20px 60px rgba(0,0,0,.22);width:100%;max-width:520px;max-height:92vh;overflow-y:auto;overflow-x:hidden;}
.ctco-popup-overlay.ctco-pop-in .ctco-popup-box{animation:ctcoBoxIn .32s cubic-bezier(.34,1.28,.64,1) both;}
.ctco-popup-overlay.ctco-pop-out .ctco-popup-box{animation:ctcoBoxOut .2s cubic-bezier(.4,0,.2,1) both;}
@keyframes ctcoBoxIn{from{opacity:0;transform:translateY(28px) scale(.94)}to{opacity:1;transform:none}}
@keyframes ctcoBoxOut{from{opacity:1;transform:none}to{opacity:0;transform:translateY(20px) scale(.96)}}
/* Dark mode */
.ctco-popup-dark .ctco-popup-box{background:#1a202c;color:#e2e8f0;}
.ctco-popup-dark .ctco-card{background:#1a202c!important;}
.ctco-popup-dark .ctco-field input,.ctco-popup-dark .ctco-field select,.ctco-popup-dark .ctco-field textarea{background:#2d3748!important;color:#e2e8f0!important;border-color:#4a5568!important;}
.ctco-popup-dark .ctco-card-title,.ctco-popup-dark .ctco-step-lbl{color:#e2e8f0;}
.ctco-popup-dark .ctco-gdpr-txt,.ctco-popup-dark .ctco-card-sub,.ctco-popup-dark .ctco-note{color:#a0aec0;}
/* X button */
.ctco-popup-x{position:absolute!important;top:.9em!important;right:.9em!important;width:2.1em!important;height:2.1em!important;border-radius:50%!important;background:rgba(0,0,0,.08)!important;border:none!important;display:flex!important;align-items:center!important;justify-content:center!important;cursor:pointer!important;z-index:10!important;box-shadow:none!important;padding:0!important;transition:.15s!important;color:inherit!important;}
.ctco-popup-x:hover{transform:scale(1.1)!important;background:rgba(55,147,126,.15)!important;}
.ctco-popup-x svg{width:1em!important;height:1em!important;stroke:currentColor!important;fill:none!important;}
.ctco-popup-inner .ctco-card{border-radius:0!important;box-shadow:none!important;max-width:100%!important;padding:2.2em 2em 1.5em!important;}
.ctco-popup-inner .ctco-wrap{font-size:15px!important;}
.ctco-popup-inner .ctco-thanks{min-height:auto!important;background-image:none!important;background:linear-gradient(135deg,#f0f5f4,#e6f4f1)!important;padding:2.5em 2em!important;}
.ctco-popup-inner .ctco-thanks::before{display:none!important;}
.ctco-popup-inner .ctco-thanks.ctco-vis{display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;}
.ctco-popup-inner .ctco-thanks-inner{width:100%!important;padding:1em!important;}
body.ctco-noscroll{overflow:hidden!important;}
@media(max-width:540px){.ctco-popup-overlay{align-items:flex-end;padding:0;}.ctco-popup-box{max-width:100%;border-radius:1em 1em 0 0;max-height:96vh;}
@keyframes ctcoBoxIn{from{opacity:0;transform:translateY(100%)}to{opacity:1;transform:none}}
@keyframes ctcoBoxOut{from{opacity:1;transform:none}to{opacity:0;transform:translateY(100%)}}}
