/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/
/* Definiamo la variabile */
@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

@keyframes drawCircle {
    to {
        --angle: 360deg;
    }
}
html,body{
    overflow-x: hidden;
  }
.hamburger rect{transition:0.1s all linear;}
.hamburger:hover rect{fill:#FF8000 !important}

.cerchiatura:before{
  /* Maschera applicata, ma ancora fissa a 0 gradi */
    -webkit-mask-image: conic-gradient(from 0deg, black var(--angle), transparent 0);
    mask-image: conic-gradient(from 0deg, black var(--angle), transparent 0);
}

.cerchiatura.is-visible::before{
    animation: drawCircle 1.5s ease-out forwards;
}

@keyframes drawCircle {
    to {
        --angle: 360deg;
    }
}

.sottolineatura{
  background-size:0 !important;
  background-position: bottom left !important;
  transition:1s all linear;
}

.sottolineatura.disegnato{
  background-size:100% !important;
}

.evidenziatore:before{transition:0.6s all linear;}
.evidenziatore:not(.disegnato):before{width:0% !important;transition:1s all linear;}

.evidenziatore-rev:before{transition:0.6s all linear;}
.evidenziatore-rev:not(.disegnato):before{width:0% !important;transition:1s all linear;}

/* Fix mobile: nastro ("evidenziatore-hero") e cerchio ("cerchiatura") sconfinano
   sulla parola successiva. Solo su mobile perché su desktop non si presenta:
   gli scostamenti in Elementor sono in px fissi, e col font ridotto da responsive
   diventano proporzionalmente troppo grandi rispetto alla singola parola. */
@media (max-width:767px){
    .evidenziatore-hero:before{
        width: calc(100% + 10px) !important;
        height: calc(100% + 12px) !important;
        transform: rotate(0deg) translateX(-5px) translateY(-6px) !important;
    }

    .cerchiatura:before{
        top: -12px !important;
        left: -8px !important;
        right: -8px !important;
        bottom: -12px !important;
    }

    /* Stesso problema su "strategia," / "il tuo impegno," (pagina metodo autentico
       e altre che usano .evidenziatore): sconfina sulla parola dopo. */
    .evidenziatore:before{
        width: calc(100% + 12px) !important;
        height: calc(100% + 6px) !important;
        transform: rotate(5deg) translateX(-6px) !important;
    }
    .evidenziatore.abitabili:before{
        transform: rotate(-5deg) translateX(-6px) !important;
    }
}


/* Add your custom styles here */
header{
    height:0
}

.shift_up_section{
    transform:translateY(-300px);
}

#servizi-home-slider-section-parent{
    position:relative;
}
/* #servizi-home-slider-section-parent:before{
    content: "";
    position: absolute;
    top: 0;
    left: auto;
    right: 0;
    width: 50vw;
    height: 100%;
    background-image:
        linear-gradient(to right, rgba(255,255,255,1) 0%, rgba(255,255,255,0.0) 10%, rgba(255,255,255,0.0) 100%),
        url("/wp-content/uploads/2026/05/filigrana.svg");
    background-repeat: no-repeat;
    background-position: center 300px;
    background-size: cover;
    pointer-events: none;
} */

#servizi-home-slider-section{
    position:relative;
}
#servizi-home-slider-section:before {
    content: "";
    position: absolute;
    left: -15%;
    width: 130%;
    height: 80%;
    background-color: var(--e-global-color-primary);
    transform: rotate(-5.37deg);
    top: -15%;
}

#servizi-home-slider-section-parent,#servizi-home-slider-section{overflow:visible;}


#recensioni-parent-section {
    position: relative;
    padding-bottom: 80px;
    /* margin-bottom: 3%; */
}
#recensioni-parent-section:before {
    content: "";
    position: absolute;
    left: -15%;
    width: 130%;
    height: 100%;
    background-color: #e3edc6;
    transform: rotate(-5.37deg);
    top: -15%;
    z-index:2;
}

#recensioni-parent-section:after {
    content: "";
    position: absolute;
    left: -15%;
    width: 130%;
    height: 70%;
    background-color: #e3edc6;
    bottom: -3%;
    z-index: 1;
}
#recensioni-parent-section .elementor-element{
    z-index:3;
}


/* Transizione logo sticky: fade-out del logo originale e fade-in del logo compatto */
.elementor-widget-theme-site-logo {
    position: relative;
    display: inline-block;
}

.elementor-widget-theme-site-logo img {
    opacity: 1;
    transition: opacity 0.35s linear, transform 0.35s linear;
}

.elementor-widget-theme-site-logo:after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('/wp-content/uploads/2026/05/logo-small.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.92);
    transition: opacity 0.35s linear, transform 0.35s linear, visibility 0s linear 0.35s;
    pointer-events: none;
}

.elementor-sticky--active.elementor-sticky--effects .elementor-widget-theme-site-logo img {
    opacity: 0;
    /* width:55px; */
    transform: scale(1.05);
}

.elementor-sticky--active.elementor-sticky--effects .elementor-widget-theme-site-logo:after {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    transition: opacity 0.35s linear, transform 0.35s linear, visibility 0s;
}



.home .fil-box{top:100px;}


/* IL METODO AUTENTICO */
#servizi-metodo-autentico-section{
    position:relative;
}
#servizi-metodo-autentico-section:before{
    content: none;
    position: absolute;
    top: 0;
    left: auto;
    right: 0;
    width: 50vw;
    height: 100%;
    background-image:
        url("/wp-content/uploads/2026/05/filigrana.svg");
    background-repeat: no-repeat;
    background-position: center 300px;
    background-size: cover;
    pointer-events: none;
}

#servizi-metodo-autentico-section::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 650px;
    background-color: #e3edc6;
    clip-path: polygon(0 18.34%, 100% 0, 100% 100%, 0 100%);
    z-index: 0;
}







/* CONTATTI */
/* ===== CONTENITORE FORM ===== */
.brand-form {
  background: #fff;
  border-radius: 28px;
  padding: 40px;
  max-width: 640px;
  box-shadow: 0 20px 50px rgba(0,0,0,.08);
  font-family: inherit;
}

/* ===== HEADER: TITOLO + ICONA ===== */
.brand-form .bf-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 0px;
}

.brand-form .bf-title {
    font-size: 34px;
    font-weight: 500;
    line-height: 50px;
    color: #1a1a1a;
    margin: 0;
}

.brand-form .bf-icon {
    width: 160px;
    height: auto;
    flex-shrink: 0;
    transform: translateY(-30px);
}

/* ===== RIGA A DUE COLONNE (nome/cognome) ===== */
.brand-form .bf-row {
  display: flex;
  gap: 16px;
}
.brand-form .bf-row > span {
  flex: 1;
}

.brand-form p{
    margin: 0;
}


.bf-row p{    display: flex;gap: 10px;}

@media (max-width:1024px){html{overflow-x:hidden;}}

@media (max-width:767px){
  .bf-row p{    display: flex;gap: 10px;flex-direction: column;}
  .bf-row p br{display:none;}
}
/* ===== INPUT E TEXTAREA ===== */
.brand-form input[type="text"],
.brand-form input[type="email"],
.brand-form input[type="tel"],
.brand-form textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1.5px solid #EA8B3E;
  border-radius: 16px;
  padding: 18px 12px;
  margin-bottom: 16px;
  font-size: 16px;
  color: #333;
  background: #fff;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}

.brand-form textarea {
  height: 140px;
  resize: none;
}

.brand-form input::placeholder,
.brand-form textarea::placeholder {
  color: #9a9a9a;
}

.brand-form input:focus,
.brand-form textarea:focus {
  border-color: #d97a2a;
  box-shadow: 0 0 0 3px rgba(234,139,62,.15);
}

/* ===== CHECKBOX (privacy + newsletter) ===== */
.brand-form .bf-check {
  margin: 4px 0 10px;
}
.brand-form .bf-check .wpcf7-list-item {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-form .bf-check label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  color: #1a1a1a;
  cursor: pointer;
}
.brand-form .bf-check input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: #EA8B3E;
  cursor: pointer;
}
.brand-form .bf-check a {
  color: #1a1a1a;
  text-decoration: underline;
}

/* ===== BOTTONE INVIA ===== */
.brand-form .wpcf7-submit {
    display: block;
    margin-left: auto;
    margin-top: 20px;
    background: #EA8B3E;
    color: #fff;
    border: none;
    border-radius: 40px;
    padding: 10px 40px;
    font-size: 24px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s, transform .1s;
}
.brand-form .wpcf7-submit:hover {
  background: #d97a2a;
}
.brand-form .wpcf7-submit:active {
  transform: translateY(1px);
}

/* ===== RESPONSIVE (mobile) ===== */
@media (max-width: 560px) {
  .brand-form {
    padding: 24px;
    border-radius: 20px;
  }

  .brand-form .bf-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .brand-form .bf-title {
    font-size: 32px;
  }
  .brand-form .bf-icon {
    width: 90px;
    align-self: flex-end;
    transform: none;
  }

  .brand-form .bf-row {
    flex-direction: column;
    gap: 0;
  }
}


/* #formazione-slider-section-parent{
    position:relative;
}
#formazione-slider-section-parent:before {
    content: "";
    position: absolute;
    top: 0;
    left: auto;
    right: 0;
    width: 100vw;
    height: 100%;
    background-image: url("/wp-content/uploads/2026/08/filigrana-alyx_verde_chiaro.svg");
    background-position: center 300px;
    background-size: contain;
    pointer-events: none;
    z-index: 1;
    opacity: 0.8;
}
#formazione-slider-section-parent:after {
    content: "";
    position: absolute;
    top: 0;
    left: auto;
    right: 0;
    width: 100vw;
    height: 100%;
    background-image: url("/wp-content/uploads/2026/08/filigrana_alyx_piccoli_verde_chiaro.svg");
    background-position: center 300px;
    background-size: contain;
    pointer-events: none;
    z-index: 0;
    opacity: 1;
} */










.wpcf7 .cf7-lavora{
  background:#fff;
  border-radius:24px;
  padding:40px;
  max-width:900px;
  margin:0 auto;
  box-sizing:border-box;
}
.cf7-lavora p{margin:0;}
.cf7-lavora br{display:none;}

.cf7-row{display:flex;gap:28px;margin-bottom:24px;}
.cf7-col{flex:1 1 0;min-width:0;}
.cf7-row-upload{align-items:stretch;}
.cf7-lavora .wpcf7-form-control-wrap{display:block;width:100%;}

.cf7-lavora input[type=text],
.cf7-lavora input[type=tel],
.cf7-lavora input[type=email],
.cf7-lavora input[type=url],
.cf7-lavora input[type=date],
.cf7-lavora textarea{
  width:100%;
  box-sizing:border-box;
  border:1px solid #dcdcdc;
  border-radius:12px;
  padding:18px 20px;
  font-size:17px;
  line-height:1.3;
  color:#2b2b2b;
  background:#fff;
  box-shadow:none;
  -webkit-appearance:none;
}
.cf7-lavora textarea{min-height:140px;resize:vertical;margin-bottom:24px;}
.cf7-lavora ::placeholder{color:#6f6f6f;opacity:1;}
.cf7-lavora input:focus,
.cf7-lavora textarea:focus{border-color:#e8893c;outline:none;}

/* area upload */
.cf7-upload{
  position:relative;
  height:100%;
  min-height:145px;
  border:2px dashed #cfcfcf;
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:20px;
  box-sizing:border-box;
}
.cf7-upload .wpcf7-form-control-wrap{position:absolute;top:0;left:0;right:0;bottom:0;}
.cf7-upload input[type=file]{
  width:100%;height:100%;
  opacity:0;cursor:pointer;
  border:0;padding:0;
}
.cf7-upload-text{pointer-events:none;color:#555;font-size:16px;}
.cf7-upload-text:before{
  content:"";
  display:block;
  width:26px;height:26px;
  margin:0 auto 12px;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23444'%3E%3Cpath d='M12 2.5l5 5h-3.2v5.5h-3.6V7.5H7l5-5z'/%3E%3Cpath d='M3.5 14h17v4.5a2 2 0 0 1-2 2h-13a2 2 0 0 1-2-2V14z'/%3E%3C/svg%3E") no-repeat center/contain;
}

/* privacy */
.cf7-privacy{margin:8px 0 28px;}
.cf7-privacy .wpcf7-list-item{margin:0;}
.cf7-privacy label{display:flex;align-items:center;gap:12px;font-size:17px;color:#2b2b2b;cursor:pointer;}
.cf7-privacy input[type=checkbox]{width:18px;height:18px;accent-color:#e8893c;margin:0;}
.cf7-privacy a{color:inherit;text-decoration:underline;}

/* bottone */
.cf7-lavora input[type=submit]{
  width:100%;
  background:#e8893c;
  color:#fff;
  border:0;
  border-radius:14px;
  padding:22px;
  font-size:18px;
  cursor:pointer;
  transition:background .2s;
}
.cf7-lavora input[type=submit]:hover{background:#d87a2c;}
.wpcf7-spinner{display:block;margin:12px auto 0;}


.cf7-lavora select {
    width: 100%;
    padding: 18px 20px; /* Adatta questo valore per matchare esattamente l'altezza dei tuoi input */
    border: 1px solid #dcdcdc; /* Colore del bordo grigio chiaro degli altri campi */
    border-radius: 12px; /* Curvatura degli angoli uguale agli altri campi */
    background-color: #ffffff;
    color: #666666; /* Colore del testo (placeholder) */
    font-family: inherit;
    font-size: inherit;
    box-sizing: border-box;
    /* Le regole seguenti rimuovono lo stile di default del browser e aggiungono una freccina personalizzata pulita */
    appearance: none; 
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23666666%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 20px top 50%;
    background-size: 12px auto;
    margin-bottom:20px !important;
}

/* Opzionale: per dare l'effetto focus uguale agli altri campi quando ci clicchi */
.cf7-lavora select:focus {
    outline: none;
    border-color: #999999; /* Inserisci il colore di focus che hai per gli input */
}

@media (max-width:640px){
  .wpcf7 .cf7-lavora{padding:24px;border-radius:18px;}
  .cf7-row{flex-direction:column;gap:0;margin-bottom:0;}
  .cf7-col{margin-bottom:20px;}
}

@media(max-width:767px){
  html,body{
    overflow-x: hidden;
  }
  #servizi-home-slider-section:before {
    top: -10%;
  }
  #recensioni-parent-section:before {
    top: -5%;
  }

  .elementor-sticky--active.elementor-sticky--effects .elementor-widget-theme-site-logo:after {
    transform: scale(0.9);
  }
}




/* ===== Base ===== */
.cf-landing {
  --cf-text: #0d0d0d;
  --cf-muted: rgba(13,13,13,.6);
  --cf-line: rgba(13,13,13,.15);
  --cf-field: #fff;
  --cf-radius: 14px;
  --cf-accent: #ff8a00;        /* arancio bordi e bottone */
  --cf-accent-dark: #ff8a00;   /* hover / focus */
  --cf-placeholder: #9a9a9a;
  color: var(--cf-text);
}
.cf-landing p { margin: 0; }
.cf-landing .cf-field br,
.cf-landing .cf-consensi br,
.cf-landing .cf-submit br { display: none; }

/* ===== Intestazione ===== */
.cf-landing .cf-head { margin-bottom: 56px; max-width: 900px; }
.cf-landing .cf-title {
  font-size: clamp(44px, 6.5vw, 88px);
  font-weight: 700;
  line-height: .95;
  letter-spacing: -.03em;
  margin: 0 0 24px;
  color: inherit;
}
.cf-landing .cf-sub span {
  display: block;
  font-size: clamp(19px, 1.9vw, 26px);
  line-height: 1.45;
}

/* ===== Griglia ===== */
.cf-landing .cf-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(260px, 320px);
  gap: 28px 24px;
  align-items: start;
}
.cf-landing .cf-msg      { grid-column: 1 / 4; }
.cf-landing .cf-consensi { grid-column: 1 / 3; }
.cf-landing .cf-submit   { grid-column: 3; justify-self: end; }

/* ===== Campi ===== */
.cf-landing .cf-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cf-landing .cf-field label {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  margin: 0;
}
.cf-landing .cf-field .wpcf7-form-control-wrap { display: block; margin: 0; }
.cf-landing .cf-field input,
.cf-landing .cf-field textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  height: 60px;
  padding: 0 14px;
  background: var(--cf-field);
  border: 1px solid var(--cf-accent);
  border-radius: var(--cf-radius);
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
  font: inherit;
  font-size: 16px;
  color: var(--cf-text);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.cf-landing .cf-field textarea {
  height: 140px;
  padding: 14px;
  resize: none;
}
.cf-landing .cf-field input:focus,
.cf-landing .cf-field textarea:focus {
  border-color: var(--cf-accent-dark);
  box-shadow: 0 0 0 4px rgba(221,148,74,.18);
}
.cf-landing .cf-field ::placeholder { color: var(--cf-placeholder); opacity: 1; }
.cf-landing .cf-field small {
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--cf-muted);
}

/* ===== Card telefono ===== */
.cf-landing .cf-aside {
  grid-column: 4;
  grid-row: 1 / span 3;
  margin-left: 24px;
  padding: 28px;
  background: rgba(255,255,255);
  border: 1px solid var(--cf-line);
  border-radius: 20px;
  box-shadow: 6px 6px #00000029;
}
.cf-landing .cf-aside img { width: 70%; margin: 0 auto; display: flex; }
.cf-landing .cf-aside-title { font-size: 26px; font-weight: 600; line-height: 1.3; }
.cf-landing .cf-aside-text  { font-size: 16px; color: var(--cf-muted); margin-top: 4px; }
.cf-landing .cf-phone {
  display: inline-block;
  margin-top: 12px;
  font-size: clamp(24px, 2.2vw, 30px);
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.2;
  white-space: nowrap;
  color: inherit;
  text-decoration: none;
  border-bottom: 2px solid currentColor;
  transition: opacity .2s;
}
.cf-landing .cf-phone:hover { opacity: .7; }
.cf-landing .cf-orari {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--cf-line);
  font-size: 16px;
  line-height: 1.55;
  color: var(--cf-muted);
}
.cf-landing .cf-orari strong { display: block; color: var(--cf-text); font-weight: 600; margin-bottom: 2px; }
.cf-landing .cf-orari span { display: block; }

/* ===== Consensi ===== */
.cf-landing .cf-consensi {
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 13.5px;
  line-height: 1.5;
}
.cf-landing .cf-consensi a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.cf-landing .cf-consensi .wpcf7-list-item { margin: 0; }
.cf-landing .cf-privacy label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}
.cf-landing .cf-marketing p { margin-bottom: 10px; }
.cf-landing .cf-marketing .wpcf7-radio { display: flex; flex-wrap: wrap; gap: 24px; }
.cf-landing .cf-marketing label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

/* Checkbox e radio personalizzati */
.cf-landing .cf-consensi input[type="checkbox"],
.cf-landing .cf-consensi input[type="radio"] {
  -webkit-appearance: none;
  appearance: none;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin: 0;
  display: grid;
  place-content: center;
  background: var(--cf-field);
  border: 1px solid #666;
  cursor: pointer;
  transition: background .15s, border-color .15s;
}
.cf-landing .cf-consensi input[type="checkbox"] { border-radius: 3px; margin-top: 0; }
.cf-landing .cf-consensi input[type="radio"]    { border-radius: 50%; }
.cf-landing .cf-consensi input[type="checkbox"]:checked {
  background: var(--cf-accent);
  border-color: var(--cf-accent);
}
.cf-landing .cf-consensi input[type="checkbox"]:checked::after {
  content: "";
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: translateY(-1px) rotate(45deg);
}
.cf-landing .cf-consensi input[type="radio"]:checked { border-color: var(--cf-accent); }
.cf-landing .cf-consensi input[type="radio"]:checked::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cf-accent);
}
.cf-landing .cf-consensi input:focus-visible { outline: 2px solid var(--cf-accent-dark); outline-offset: 2px; }

/* ===== Pulsante ===== */
.cf-landing .cf-submit .wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  padding: 0 40px;
  background: var(--cf-accent);
  color: #fff;
  border: 0;
  border-radius: 999px;
  box-shadow: none;
  font: inherit;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: lowercase;
  cursor: pointer;
  transition: transform .2s, background .2s;
}
.cf-landing .cf-submit .wpcf7-submit:hover {
  background: var(--cf-accent-dark);
  transform: translateY(-2px);
}
.cf-landing .cf-submit .wpcf7-submit:focus-visible {
  outline: 2px solid var(--cf-accent-dark);
  outline-offset: 3px;
}
.cf-landing .cf-submit .wpcf7-spinner { display: block; margin: 12px auto 0; }

/* ===== Validazione ===== */
.cf-landing .wpcf7-not-valid-tip { font-size: 12.5px; margin-top: 6px; color: #c0261b; }
.cf-landing .wpcf7-not-valid { border-color: #c0261b !important; }

/* ===== Turnstile e messaggio di risposta sotto il form ===== */
.wpcf7-form:has(> .cf-landing) { display: flex; flex-direction: column; }
.wpcf7-form:has(> .cf-landing) > .cf-landing { order: 1; }
.wpcf7-form:has(> .cf-landing) > :not(.cf-landing) { order: 2; }
.wpcf7-form:has(> .cf-landing) > .cf-turnstile,
.wpcf7-form:has(> .cf-landing) > .wpcf7-turnstile { margin-top: 28px; align-self: flex-start; }
.wpcf7-form:has(> .cf-landing) .wpcf7-response-output {
  margin: 20px 0 0 !important;
  padding: 14px 18px !important;
  border-width: 1px !important;
  border-radius: 12px;
  font-size: 14px;
}

/* ===== Tablet ===== */
@media (max-width: 1100px) {
  .cf-landing .cf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cf-landing .cf-nome,
  .cf-landing .cf-msg,
  .cf-landing .cf-consensi { grid-column: 1 / -1; }
  .cf-landing .cf-submit { grid-column: 1 / -1; justify-self: start; }
  .cf-landing .cf-aside {
    grid-column: 1 / -1;
    grid-row: auto;
    order: 10;
    margin: 16px 0 0;
  }
}

/* ===== Mobile ===== */
@media (max-width: 640px) {
  .cf-landing .cf-head { margin-bottom: 40px; }
  .cf-landing .cf-grid { grid-template-columns: 1fr; gap: 22px; }
  .cf-landing .cf-submit { justify-self: stretch; }
  .cf-landing .cf-submit .wpcf7-submit { width: 100%; }
  .cf-landing .cf-aside { padding: 22px; }
}



.page-id-30680 .elementor-element-7e3f3579 .contattaci{display:none !important}

.page-id-31144 .cta_footer{display:none !important}