.elementor-10162 .elementor-element.elementor-element-4a8a988{--display:flex;--min-height:90vh;--flex-direction:column;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--justify-content:flex-start;--align-items:flex-start;--gap:0px 0px;--row-gap:0px;--column-gap:0px;border-style:solid;--border-style:solid;border-width:1px 1px 1px 1px;--border-top-width:1px;--border-right-width:1px;--border-bottom-width:1px;--border-left-width:1px;--border-radius:20px 20px 20px 20px;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0%;--padding-bottom:0%;--padding-left:0%;--padding-right:0%;--z-index:99;}.elementor-10162 .elementor-element.elementor-element-4a8a988.e-con{--align-self:center;}.elementor-10162 .elementor-element.elementor-element-68d985c{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--padding-top:0%;--padding-bottom:0%;--padding-left:0%;--padding-right:0%;}.elementor-10162 .elementor-element.elementor-element-e391195{--display:flex;--flex-direction:column;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--align-items:flex-start;}.elementor-10162 .elementor-element.elementor-element-e391195.e-con{--flex-grow:0;--flex-shrink:0;}.elementor-10162 .elementor-element.elementor-element-7f34543{width:var( --container-widget-width, 46.136% );max-width:46.136%;--container-widget-width:46.136%;--container-widget-flex-grow:0;}.elementor-10162 .elementor-element.elementor-element-7f34543.elementor-element{--flex-grow:0;--flex-shrink:0;}.elementor-10162 .elementor-element.elementor-element-a1d7656{width:var( --container-widget-width, 100% );max-width:100%;--container-widget-width:100%;--container-widget-flex-grow:0;}.elementor-10162 .elementor-element.elementor-element-a1d7656 > .elementor-widget-container{padding:0% 0% 0% 0%;}.elementor-10162 .elementor-element.elementor-element-a1d7656.elementor-element{--flex-grow:0;--flex-shrink:0;}.elementor-10162 .elementor-element.elementor-element-55fc224{--display:flex;}.elementor-10162 .elementor-element.elementor-element-4c9684d{width:initial;max-width:initial;}.elementor-10162 .elementor-element.elementor-element-4c9684d.elementor-element{--align-self:flex-end;}.elementor-10162 .elementor-element.elementor-element-9d9417f{width:var( --container-widget-width, 100% );max-width:100%;padding:2% 0% 0% 0%;--container-widget-width:100%;--container-widget-flex-grow:0;}#elementor-popup-modal-10162 .dialog-widget-content{animation-duration:1.2s;border-radius:20px 20px 20px 20px;box-shadow:2px 8px 23px 3px rgba(0,0,0,0.2);}#elementor-popup-modal-10162{background-color:#E9E9F02E;justify-content:center;align-items:center;pointer-events:all;}#elementor-popup-modal-10162 .dialog-message{width:80vw;height:90vh;align-items:flex-start;}#elementor-popup-modal-10162 .dialog-close-button{display:flex;}#elementor-popup-modal-10162 .dialog-close-button i{color:var( --e-global-color-text );}#elementor-popup-modal-10162 .dialog-close-button svg{fill:var( --e-global-color-text );}#elementor-popup-modal-10162 .dialog-close-button:hover i{color:var( --e-global-color-primary );}@media(max-width:1024px){.elementor-10162 .elementor-element.elementor-element-4a8a988{--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-10162 .elementor-element.elementor-element-68d985c{--padding-top:0%;--padding-bottom:0%;--padding-left:0%;--padding-right:0%;}.elementor-10162 .elementor-element.elementor-element-e391195{--padding-top:0%;--padding-bottom:0%;--padding-left:0%;--padding-right:0%;}.elementor-10162 .elementor-element.elementor-element-7f34543{--container-widget-width:100%;--container-widget-flex-grow:0;width:var( --container-widget-width, 100% );max-width:100%;}.elementor-10162 .elementor-element.elementor-element-a1d7656{--container-widget-width:100%;--container-widget-flex-grow:0;width:var( --container-widget-width, 100% );max-width:100%;}}@media(min-width:768px){.elementor-10162 .elementor-element.elementor-element-4a8a988{--width:100%;}.elementor-10162 .elementor-element.elementor-element-e391195{--width:69.739%;}}@media(max-width:767px){.elementor-10162 .elementor-element.elementor-element-4a8a988{--min-height:0vh;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0%;--padding-bottom:0%;--padding-left:0%;--padding-right:0%;}.elementor-10162 .elementor-element.elementor-element-68d985c{--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-10162 .elementor-element.elementor-element-7f34543{--container-widget-width:100%;--container-widget-flex-grow:0;width:var( --container-widget-width, 100% );max-width:100%;}.elementor-10162 .elementor-element.elementor-element-9d9417f{width:var( --container-widget-width, 1000px );max-width:1000px;--container-widget-width:1000px;--container-widget-flex-grow:0;}}/* Start custom CSS for html, class: .elementor-element-9d9417f *//* ============================================================
   1. RESET VERTICALE COMPATTO ABOVE-THE-FOLD
   ============================================================ */

/* Annulla i margini dei campi per far stare tutto nella schermata */
#gform_wrapper_11 ul.gform_fields {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

#gform_wrapper_11 ul.gform_fields li.gfield {
    margin-top: 0 !important;
    margin-bottom: 4px !important; /* Spazio millimetrico tra le righe */
    padding: 0 !important;
}

/* Riduzione drastica dell'area di testo */
#gform_wrapper_11 li#field_11_6 textarea.textarea {
    height: 65px !important;
    min-height: 65px !important;
    padding: 8px !important;
}

/* ============================================================
   2. AFFIANCAMENTO REALE PRIVACY & MARKETING (2 COLONNE IN LINEA)
   ============================================================ */

@media only screen and (min-width: 769px) {
    #gform_wrapper_11 li#field_11_9, 
    #gform_wrapper_11 li#field_11_10 {
        display: inline-block !important;
        vertical-align: top !important;
        width: calc(50% - 12px) !important;
        margin-top: 4px !important;
        margin-bottom: 0 !important;
        box-sizing: border-box !important;
    }

    #gform_wrapper_11 li#field_11_10 {
        margin-left: 24px !important; /* Distanziamento orizzontale */
    }

    /* Pulisce la riga per il captcha inferiore */
    #gform_wrapper_11 li#field_11_18 {
        clear: both !important;
        margin-top: 4px !important;
    }
}

/* Rimpicciolisce le scritte dei consensi per evitare che vadano a capo */
#gform_wrapper_11 .gfield_consent_label {
    font-size: 11px !important;
    line-height: 1.3 !important;
}

/* ============================================================
   3. CONFIGURAZIONE CHIPS FILTRI IDENTICI A PAGINA PROGETTI
   ============================================================ */

#gform_wrapper_11 ul#input_11_25 {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    padding: 0 !important;
    margin: 6px 0 !important;
}

#gform_wrapper_11 ul#input_11_25 li.gchoice {
    margin: 0 !important;
    padding: 0 !important;
}

/* Taglia via il quadratino standard */
#gform_wrapper_11 ul#input_11_25 input[type="checkbox"] {
    position: absolute !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
}

/* Stile chip a riposo (Grigio chiaro/Trasparente) */
#gform_wrapper_11 ul#input_11_25 label {
    display: inline-block !important;
    padding: 5px 14px !important;
    background-color: #f3f6f9 !important;
    border: 1px solid transparent !important;
    border-radius: 100px !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    color: #232A2C !important;
    cursor: pointer !important;
    transition: all 0.2s ease-in-out !important;
}

/* ============================================================
   4. COPIA ESATTA CROMIE REALI FILTRI PROGETTI CEP
   ============================================================ */

/* --- 1. BRAND IDENTITY (Azzurro - Ex 368) --- */
#gform_wrapper_11 #input_11_25 .gchoice_11_25_1 label:hover { color: #02ADF0 !important; border-color: #00D5FF !important; background-color: #DFF8FF !important; }
#gform_wrapper_11 #input_11_25 .gchoice_11_25_1 input:checked + label { background-color: #02ADF0 !important; border-color: #02ADF0 !important; color: #DFF8FF !important; box-shadow: 0 8px 22px rgba(0, 213, 255, 0.25) !important; }

/* --- 2. EDITORIAL & PRINT (Viola - Ex 369) --- */
#gform_wrapper_11 #input_11_25 .gchoice_11_25_2 label:hover { color: #A775D2 !important; border-color: #A775D2 !important; background-color: #F2EFF8 !important; }
#gform_wrapper_11 #input_11_25 .gchoice_11_25_2 input:checked + label { background-color: #A775D2 !important; border-color: #A775D2 !important; color: #F2EFF8 !important; box-shadow: 0 8px 22px rgba(167, 117, 210, 0.22) !important; }

/* --- 3. ADVERTISING (Rosso - Ex 381) --- */
#gform_wrapper_11 #input_11_25 .gchoice_11_25_3 label:hover { color: #FF3B0F !important; border-color: #FF3B0F !important; background-color: #F5E1E1 !important; }
#gform_wrapper_11 #input_11_25 .gchoice_11_25_3 input:checked + label { background-color: #FF3B0F !important; border-color: #FF3B0F !important; color: #F5E1E1 !important; box-shadow: 0 8px 22px rgba(255, 59, 15, 0.22) !important; }

/* --- 4. DIGITAL (Verde Acido - Ex 370) --- */
#gform_wrapper_11 #input_11_25 .gchoice_11_25_4 label:hover { color: #93CB06 !important; border-color: #93CB06 !important; background-color: #F7FCE8 !important; }
#gform_wrapper_11 #input_11_25 .gchoice_11_25_4 input:checked + label { background-color: #93CB06 !important; border-color: #93CB06 !important; color: #F7FCE8 !important; box-shadow: 0 8px 22px rgba(164, 230, 0, 0.25) !important; }

/* --- 5. VIDEO, MOTION & 3D (Arancio - Ex 371) --- */
#gform_wrapper_11 #input_11_25 .gchoice_11_25_5 label:hover { color: #FC6F23 !important; border-color: #FC6F23 !important; background-color: #FAF1EA !important; }
#gform_wrapper_11 #input_11_25 .gchoice_11_25_5 input:checked + label { background-color: #FC6F23 !important; border-color: #FC6F23 !important; color: #FAF1EA !important; box-shadow: 0 8px 22px rgba(252, 111, 35, 0.22) !important; }

/* --- 6. EVENTS AND EXHIBITION (Coordinato Arancio/Giallo) --- */
#gform_wrapper_11 #input_11_25 .gchoice_11_25_6 label:hover { color: #FC6F23 !important; border-color: #FC6F23 !important; background-color: #FAF1EA !important; }
#gform_wrapper_11 #input_11_25 .gchoice_11_25_6 input:checked + label { background-color: #FC6F23 !important; border-color: #FC6F23 !important; color: #FAF1EA !important; box-shadow: 0 8px 22px rgba(252, 111, 35, 0.22) !important; }



/* ============================================================
   FIX OMBRE SQUADRATE: AZZERAMENTO FOCUS & HOVER OVERRIDES
   ============================================================ */

/* 1. Rimuove l'ombra squadrata dalle pillole dei servizi sia in hover che al click */
#gform_wrapper_11 #input_11_25 label:focus,
#gform_wrapper_11 #input_11_25 label:active,
#gform_wrapper_11 #input_11_25 li.gchoice:focus-within,
#gform_wrapper_11 #input_11_25 input[type="checkbox"]:focus + label {
    box-shadow: none !important;
    outline: none !important;
}

/* 2. Rimuove l'ombra squadrata dal tasto INVIA in fondo al form */
#gform_wrapper_11 .gform_footer input[type="submit"],
#gform_wrapper_11 .gform_footer input[type="submit"]:hover,
#gform_wrapper_11 .gform_footer input[type="submit"]:focus,
#gform_wrapper_11 .gform_footer input[type="submit"]:active {
    box-shadow: none !important;
    outline: none !important;
}



/* ============================================================
   ESTIRPAZIONE TOTALE OMBRE SQUADRATE ALL'HOVER
   ============================================================ */

/* 1. Blocca l'ombra all'hover e al click su TUTTI i componenti del form */
#gform_wrapper_11 #input_11_25 label:hover,
#gform_wrapper_11 #input_11_25 li.gchoice:hover,
#gform_wrapper_11 .gform_footer input[type="submit"]:hover {
    box-shadow: none !important;
    outline: none !important;
}

/* 2. Disattiva l'ombra anche dagli pseudo-elementi (Before/After) che il tema usa per gli effetti animati */
#gform_wrapper_11 *::before,
#gform_wrapper_11 *::after {
    box-shadow: none !important;
}

/* --- BOTTONE INVIA: Rimozione totale ombre squadrate --- */
#gform_wrapper_11 #gform_submit_button_11,
#gform_wrapper_11 .gform_footer input#gform_submit_button_11:hover,
#gform_wrapper_11 .gform_footer input#gform_submit_button_11:focus,
#gform_wrapper_11 .gform_footer input#gform_submit_button_11:active {
    box-shadow: none !important;
    outline: none !important;
    background-image: none !important; /* Rimuove gradienti di fondo nativi */
}/* End custom CSS */
/* Start custom CSS for container, class: .elementor-element-4a8a988 *//* ============================================================
   1. COSA POSSIAMO FARE PER TE? (CHECKBOX IN LINEA E INTERATTIVE)
   ============================================================ */
/* Trasformiamo la lista verticale in una riga flessibile e responsiva */
#gform_wrapper_11 ul.gfield_checkbox {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    padding: 0 !important;
    margin: 15px 0 !important;
    list-style: none !important;
}

/* Nascondiamo il quadratino di spunta di default per creare dei veri e propri bottoni */
#gform_wrapper_11 ul.gfield_checkbox li.gchoice {
    margin: 0 !important;
    padding: 0 !important;
    display: inline-block !important;
}

#gform_wrapper_11 ul.gfield_checkbox li.gchoice input[type="checkbox"] {
    position: absolute !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
}

/* Stile base dei bottoni di selezione (Look Light coordinato) */
#gform_wrapper_11 ul.gfield_checkbox li.gchoice label {
    display: inline-block !important;
    padding: 10px 20px !important;
    background: rgba(255, 255, 255, 0.6) !important;
    border: 1px solid rgba(0, 34, 237, 0.15) !important;
    color: #232A2C !important; /* Antracite base */
    border-radius: 100px !important; /* Capsula perfetta stile CEP */
    font-family: 'Inter', sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    user-select: none !important;
}

/* EFFETTO HOVER & SELEZIONATO: Sfondo Blu CEP e Testo Bianco */
#gform_wrapper_11 ul.gfield_checkbox li.gchoice label:hover,
#gform_wrapper_11 ul.gfield_checkbox li.gchoice input[type="checkbox"]:checked + label {
    background: #0022ED !important; /* Blu CEP */
    color: #ffffff !important;      /* Testo Bianco */
    border-color: #0022ED !important;
    box-shadow: 0 4px 15px rgba(0, 34, 237, 0.25) !important;
}

/* ============================================================
   2. OTTIMIZZAZIONE CONSENSI E NOTE LEGALI (CLASSE POLICY)
   ============================================================ */
/* Rimpiccioliamo i testi dei consensi a 0.7em mantenendo intatta la struttura */
#gform_wrapper_11 li.policy,
#gform_wrapper_11 li.policy label,
#gform_wrapper_11 li.policy label a {
    font-size: 0.8em !important;
    line-height: 1.5 !important;
    color: #232A2C !important;
}

/* Assicuriamoci che i link interni alla privacy mantengano il blu di navigazione */
#gform_wrapper_11 li.policy label a {
    color: #0022ED !important;
    text-decoration: underline !important;
}

/* Allineamento corretto tra la casella di spunta e il testo piccolo */
#gform_wrapper_11 li.policy .ginput_container_consent {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    margin-top: 8px !important;
}

#gform_wrapper_11 li.policy .ginput_container_consent input[type="checkbox"] {
    margin-top: 3px !important; /* Centra il quadratino con la prima riga di testo */
}

/* ============================================================
   3. ADATTAMENTO COMPATIBILITÀ DARK MODE
   ============================================================ */
body.dracula-dark-mode #gform_wrapper_11 ul.gfield_checkbox li.gchoice label {
    background: rgba(0, 0, 0, 0.2) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

body.dracula-dark-mode #gform_wrapper_11 ul.gfield_checkbox li.gchoice label:hover,
body.dracula-dark-mode #gform_wrapper_11 ul.gfield_checkbox li.gchoice input[type="checkbox"]:checked + label {
    background: #0022ED !important;
    color: #ffffff !important;
}

body.dracula-dark-mode #gform_wrapper_11 li.policy,
body.dracula-dark-mode #gform_wrapper_11 li.policy label {
    color: rgba(255, 255, 255, 0.7) !important;
}



/* ============================================================
   1. REGOLE PER I PULSANTI SERVIZI (MOSTRARE TUTTO IL TESTO)
   ============================================================ */
/* Elimina qualsiasi troncamento forzato di testo o puntini sospensivi */
#gform_wrapper_11 ul.gfield_checkbox li.gchoice label {
    display: inline-block !important;
    width: auto !important;
    max-width: none !important;
    white-space: nowrap !important; /* Impedisce al testo di andare a capo */
    text-overflow: clip !important; /* Rimuove i tre puntini generati dal tema */
    overflow: visible !important;
    
    /* Ridotto leggermente il padding laterale per non far diventare i bottoni troppo enormi */
    padding: 10px 18px !important; 
    font-size: 13px !important; /* Dimensione micro-tipografica perfetta per capsule lunghe */
}

/* ============================================================
   2. STILIZZAZIONE E POSIZIONAMENTO SUBMIT (INVIA A DESTRA)
   ============================================================ */
/* Spostiamo l'involucro del footer del form a destra */
#gform_wrapper_11 .gform_footer {
    display: flex !important;
    justify-content: flex-end !important; /* Spinge il bottone a destra */
    padding: 20px 0 0 0 !important;
    margin: 0 !important;
    clear: both !important;
}

/* Trasformiamo il bottone nero in un componente coordinato Blu CEP */
#gform_wrapper_11 input[type="submit"].gform_button {
    background: #0022ED !important; /* Blu CEP di partenza */
    color: #ffffff !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    
    /* Stesso identico raggio arrotondato a capsula dei pulsanti sopra */
    border-radius: 100px !important; 
    border: 1px solid #0022ED !important;
    
    padding: 12px 35px !important;
    min-width: 140px !important; /* Larghezza minima elegante per il click */
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(0, 34, 237, 0.2) !important;
}

/* Hover sul Submit (Inversione Speculare) */
#gform_wrapper_11 input[type="submit"].gform_button:hover {
    background: rgba(255, 255, 255, 0.95) !important; /* Diventa Light */
    color: #0022ED !important; /* Testo Blu CEP */
    border-color: #0022ED !important;
    box-shadow: 0 6px 20px rgba(0, 34, 237, 0.15) !important;
}

/* ============================================================
   3. CONSENSI PRIVACY (TESTO A 1em E ALLINEAMENTO IN RIGA)
   ============================================================ */
/* Portiamo i testi a 1em pieni rimuovendo le vecchie restrizioni */
#gform_wrapper_11 li.policy,
#gform_wrapper_11 li.policy label,
#gform_wrapper_11 li.policy label a {
    font-size: 14px !important; /* Corrisponde a 1em basato sui 14px del layout form */
    font-weight: 400 !important;
    color: #232A2C !important;
}

/* Allineamento orizzontale box + testo su un'unica riga pulita */
#gform_wrapper_11 li.policy .ginput_container_consent {
    display: flex !important;
    flex-direction: row !important; /* Forza lo sviluppo in linea */
    align-items: center !important; /* Centra verticalmente quadratino e testo */
    gap: 12px !important;
    white-space: nowrap !important; /* Evita che la label collassi sotto */
}

#gform_wrapper_11 li.policy .ginput_container_consent input[type="checkbox"] {
    margin: 0 !important; /* Resetta i margini nativi di Gravity Forms */
    flex-shrink: 0 !important; /* Impedisce al checkbox di deformarsi */
}

/* ============================================================
   4. DETTAGLIO COMPATIBILITÀ DARK MODE
   ============================================================ */
body.dracula-dark-mode #gform_wrapper_11 input[type="submit"].gform_button:hover {
    background: #122C34 !important;
    color: #0022ED !important;
}


/* ============================================================
   1. REGOLAZIONE TIPOGRAFICA DEI CAMPI (LABEL + PLACEHOLDER)
   ============================================================ */
/* Label principali del form più piccole ed eleganti */
#gform_wrapper_11 .gfield_label {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #232A2C !important; /* Antracite CEP */
    margin-bottom: 8px !important;
}

/* Placeholder interni agli input più piccoli e discreti */
#gform_wrapper_11 input::placeholder,
#gform_wrapper_11 textarea::placeholder {
    font-size: 13px !important;
    font-weight: 500 !important;
    color: rgba(0, 0, 0, 0.8) !important;
}

/* Per compatibilità cross-browser dei placeholder */
#gform_wrapper_11 input::-webkit-input-placeholder,
#gform_wrapper_11 textarea::-webkit-input-placeholder {
    font-size: 13px !important;
}
#gform_wrapper_11 input:-moz-placeholder,
#gform_wrapper_11 textarea:-moz-placeholder {
    font-size: 13px !important;
}/* End custom CSS */
/* Start custom CSS *//* ============================================================
   STILIZZAZIONE CONTENITORE PRINCIPALE DELLA POPUP (SIMMETRIA + LEGGIBILITÀ)
   ============================================================ */
.dialog-lightbox-widget-content.elementor-popup-modal {
    /* Sfondo più bianco e coprente per proteggere il testo dalle immagini sottostanti */
    background: rgba(255, 255, 255, 0.94) !important;
    
    /* Mantiene e accentua l'effetto vetro satinato sullo sfondo */
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    
    /* Bordi perfettamente uguali su tutti e 4 gli angoli */
    border-radius: 16px !important; 
    
    /* Bordo sottile ed elegante per staccare la popup dalla pagina */
    border: 1px solid rgba(0, 34, 237, 0.15) !important; /* Un leggerissimo accenno di Blu CEP */
    
    /* Ombra morbida ma profonda per dare tridimensionalità */
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15) !important;
    
    /* Forza una spaziatura interna (padding) geometrica e identica su tutti i lati */
    padding: 40px !important; 
    
    /* Velocità di apertura fulminea già impostata */
    animation-duration: 0.2s !important;
    -webkit-animation-duration: 0.2s !important;
}

/* ============================================================
   REGOLAZIONE DEL PULSANTE DI CHIUSURA (X)
   ============================================================ */
/* Assicuriamoci che anche il pulsante di chiusura sia ben visibile sul nuovo sfondo */
.elementor-popup-modal .dialog-close-button {
    top: 20px !important;
    right: 20px !important;
    color: #232A2C !important; /* Antracite CEP per massima leggibilità */
    transition: color 0.3s ease !important;
    z-index: 99999999 !important;
}

.elementor-popup-modal .dialog-close-button:hover {
    color: #0022ED !important; /* Diventa Blu CEP all'hover */
}

/* ============================================================
   ADEGUAMENTO COMPATIBILITÀ DARK MODE (Se attivo nel sito)
   ============================================================ */
body.dracula-dark-mode .dialog-lightbox-widget-content.elementor-popup-modal {
    background: rgba(18, 44, 52, 0.96) !important; /* Antracite CEP scuro in modalità notte */
    border-color: rgba(255, 255, 255, 0.1) !important;
}

/* ============================================================
   SBLOCCO DI SICUREZZA PER DISPOSITIVI MOBILE (Sotto i 767px)
   ============================================================ */
@media (max-width: 767px) {
    .dialog-lightbox-widget-content.elementor-popup-modal {
        /* Forza la popup a centrarsi perfettamente e a non scappare in fondo alla pagina */
        position: fixed !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        
        /* Adatta la larghezza allo schermo dello smartphone lasciando un po' di respiro ai lati */
        width: 90vw !important;
        max-width: 400px !important;
        
        /* Gestione dell'altezza massima per schermi corti: abilita lo scroll se il form è lungo */
        height: auto !important;
        max-height: 85vh !important;
        overflow-y: auto !important;
        
        /* Riduce il padding per far stare più testo e input nella schermata mobile */
        padding: 30px 20px !important;
        box-sizing: border-box !important;
    }

    /* Ottimizza la spaziatura dei campi Gravity Forms all'interno della popup mobile */
    .dialog-lightbox-widget-content.elementor-popup-modal .gform_wrapper {
        max-height: calc(85vh - 100px) !important;
        overflow-y: auto !important;
    }
}

/* ============================================================
   FIX CHIRURGICO: ELIMINAZIONE RIGA AZZURRA POPUP CONTATTI
   ============================================================ */

/* 1. Nasconde qualsiasi barra di progresso / caricamento AJAX o percentuale in calce al form */
.popup-liquid-glass .gf_progressbar,
.popup-liquid-glass .gf_progressbar_wrapper,
.popup-liquid-glass .percentbar_blue,
.popup-liquid-glass [class*="percentbar"],
.elementor-10162 [class*="progressbar"],
.elementor-10162 [class*="percentbar"] {
    display: none !important;
    height: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    border: none !important;
    background: transparent !important;
}

/* 2. Pialla l'iframe nascosto di Akismet / reCAPTCHA in fondo al form HTML */
.elementor-10162 iframe[style*="display: none"],
.elementor-10162 div:has(> iframe[style*="display: none"]),
.popup-liquid-glass form > iframe,
.popup-liquid-glass .akismet-fields-container {
    display: none !important;
    height: 0 !important;
    width: 0 !important;
    border: none !important;
    background: none !important;
}

/* 3. Azzera sfondi azzurrati, ombre o bordi sul guscio del footer Gravity */
.popup-liquid-glass .gform_footer,
.popup-liquid-glass .gform-footer,
.elementor-10162 .gform_footer,
.elementor-10162 .gform-footer,
#gform_wrapper_11 .gform_footer {
    border: none !important;
    border-top: none !important;
    box-shadow: none !important;
    background: transparent !important;
    background-color: transparent !important;
}

/* 4. Disattiva pseudo-elementi decorative (linee disegnate dal tema prima del submit) */
.popup-liquid-glass .gform_footer::before,
.popup-liquid-glass .gform_footer::after,
.popup-liquid-glass .gform-footer::before,
.popup-liquid-glass .gform-footer::after,
.elementor-10162 .gform_fields::after {
    display: none !important;
    content: none !important;
    height: 0 !important;
}/* End custom CSS */