/* Stile dei moduli nativi Avia. Ogni contenuto resta nel Layout Builder. */
#top.so-site #menu-sito{position:fixed;left:0;right:0;top:var(--wp-admin--admin-bar--height,0px);z-index:40;min-height:0!important;background:var(--paper);border-bottom:1px solid var(--line);box-shadow:none}
#top.so-site #main:has(#menu-sito){padding-top:88px!important}
#top.so-site #menu-sito>.container{padding-top:0!important;padding-bottom:0!important}
#top.so-site #menu-sito .content{padding:0}
#top.so-site #menu-sito .av_textblock_section{margin-right:auto}
#top.so-site #menu-sito .flex_column{display:flex;align-items:center;gap:16px;min-height:88px}
#top.so-site #menu-sito section{padding:0}
#top.so-site #menu-sito .avia_textblock,#top.so-site #menu-sito p{margin:0}
#top.so-site #menu-sito .so-native-brand{margin-right:auto;font:800 1.15rem/1 var(--f-display)}
#top.so-site #menu-sito .so-native-brand a{text-decoration:none;display:flex;align-items:center;gap:10px;min-height:44px;background:var(--paper);isolation:isolate}
#top.so-site #menu-sito .so-native-brand .image-overlay{display:none!important}
#top.so-site #menu-sito .so-native-brand a:before{content:'';display:block;width:12px;height:12px;border-radius:50%;background:var(--coral)}
#top.so-site #menu-sito .so-native-brand a:has(.so-enfold-logo):before{display:none}
#top.so-site #menu-sito .so-native-brand a:has(.so-enfold-logo){width:320px;height:64px;overflow:hidden;justify-content:center}
#top.so-site #menu-sito .so-enfold-logo{display:block;flex-shrink:0;width:320px;max-width:none;height:auto;max-height:none;image-rendering:auto;mix-blend-mode:multiply}
@media(max-width:767px){#top.so-site #menu-sito .so-native-brand a:has(.so-enfold-logo){width:250px;height:60px}#top.so-site #menu-sito .so-enfold-logo{width:250px}#top.so-site #menu-sito .flex_column{min-height:76px}#top.so-site #main:has(#menu-sito){padding-top:76px!important}}
@media(max-width:600px){#top.so-site #menu-sito .so-native-header-cta{display:none}}
#top.so-site #menu-sito .avia-button-wrap{margin:0;clear:none;float:none;flex-shrink:0}
#top.so-site #menu-sito .so-native-nav .avia-button{background:transparent;border:0;color:var(--ink);padding:12px 8px;min-height:44px;font:500 1rem/1.2 var(--f-body);box-shadow:none}
#top.so-site #menu-sito .so-native-header-cta{margin-left:auto}
#top.so-site #menu-sito .so-native-header-cta .avia-button{padding:12px 20px;min-height:44px}
@media(max-width:989px){#top.so-site #menu-sito .so-native-nav{display:none}#top.so-site #menu-sito .so-native-header-cta{margin-left:auto}#top.so-site #menu-sito .so-native-header-cta .avia-button{font-size:.82rem;padding:12px 14px}}
@media(max-width:420px){#top.so-site #menu-sito .so-native-brand{font-size:.95rem}#top.so-site #menu-sito .so-native-header-cta{display:none}}
#top.so-site .so-native-section section{padding:0}
#top.so-site .so-native-hero .entry-content-wrapper:before,#top.so-site .so-native-hero .entry-content-wrapper:after{display:none}
#top.so-site .so-native-section .avia-image-container-inner,#top.so-site .so-native-section .avia-image-overlay-wrap{width:100%}
#top.so-site .so-native-section .avia_image{width:100%;height:auto}
#top.so-site .so-native-section .av-special-heading-h2{font-size:clamp(2rem,4.2vw,3.2rem)}
#top.so-site .so-native-section .av-special-heading-h3{font-size:1.45rem}
#top.so-site .so-native-section .av-special-heading-tag{margin-bottom:12px}
#top.so-site .so-native-section .flex_column{box-sizing:border-box}
#top.so-site .so-native-express .av-special-heading-tag{color:var(--paper)}
#top.so-site .so-native-footer{background:var(--ink);color:var(--paper)}
#top.so-site .so-native-footer .content{padding:40px 0}
#top.so-site .so-native-footer p{font-size:1rem}
#top.so-site form.so-wa-native .textare_label.hidden{display:block!important;visibility:visible!important}
#top.so-site .so-native-button:not(.so-native-ghost) .avia-button{background:var(--coral-strong);color:#fff}
#top.so-site .so-native-wa .avia-button{background:#0e7a43!important}
#top.so-site .so-native-section{border:0;scroll-margin-top:72px;background:var(--paper)}
#top.so-site .so-native-section>.container{width:100%;max-width:1180px;padding:0 var(--gut)}
#top.so-site .so-native-section .content{padding:clamp(56px,7vw,100px) 0}
#top.so-site .so-native-section .av-special-heading{margin-top:0;clear:none}
#top.so-site .so-native-section .special-heading-border{display:none}
#top.so-site .so-native-section .av-special-heading-tag{font-style:normal;font-size:inherit;line-height:1.06}
#top.so-site .so-native-section .avia_textblock{margin:0 0 18px;font:inherit}
#top.so-site .so-native-section .avia_textblock p{margin:0 0 12px}
#top.so-site .so-native-section .avia_textblock ul,#top.so-site .so-native-section .avia_textblock ol{margin:12px 0 18px;padding-left:22px}
#top.so-site .so-native-h1{font-size:clamp(2.6rem,5.8vw,5rem)!important;padding-bottom:8px!important}
#top.so-site .so-native-h1 .av-special-heading-tag{font-size:inherit!important}
#top.so-site .so-native-accent{color:var(--coral-strong)!important}
#top.so-site .so-native-eyebrow{font:700 .85rem/1.4 var(--f-body)!important;letter-spacing:.11em;text-transform:uppercase;color:var(--coral-strong)}
#top.so-site .so-native-who{font-size:1rem;color:var(--muted)}
#top.so-site .so-native-lead{font-size:clamp(1.1rem,1.6vw,1.3rem)!important;color:var(--muted);max-width:42ch}
#top.so-site .so-native-note{font-size:1rem;color:var(--muted)}
#top.so-site .so-native-button{display:inline-block;float:none;margin:8px 10px 8px 0;clear:none}
#top.so-site .so-native-button .avia-button{border:0;border-radius:999px;min-height:52px;padding:16px 24px;font:700 1rem/1.2 var(--f-body);box-shadow:none}
#top.so-site .so-native-ghost .avia-button{background:transparent!important;color:var(--ink)!important;border:2px solid var(--ink)}
#top.so-site .so-native-hero .entry-content-wrapper{display:flex;gap:5%;align-items:center;flex-wrap:wrap}
#top.so-site .so-native-hero .flex_column{width:47.5%;margin-left:0}
#top.so-site .so-native-hero-image{margin-bottom:22px}
#top.so-site .so-native-card,#top.so-site .so-native-case,#top.so-site .so-native-step,#top.so-site .so-native-form-card{padding:28px;border-radius:22px}
#top.so-site .so-native-start{background:var(--coral);color:var(--ink)}
#top.so-site .so-native-renew{background:var(--sand);color:var(--ink)}
#top.so-site .so-native-express{background:var(--ink);color:var(--paper)}
#top.so-site .so-native-card .so-native-eyebrow{color:inherit}
#top.so-site .so-native-offer-name{font-size:2.6rem!important}
#top.so-site .so-native-offer-name .av-special-heading-tag{font-size:inherit}
#top.so-site .so-native-toggle .toggler,#top.so-site .so-native-toggle .toggle_content{background:transparent;color:inherit;border-color:color-mix(in srgb,currentColor 25%,transparent);font-family:var(--f-body)}
#top.so-site .so-native-toggle .toggler{min-height:52px;font-size:1rem;font-weight:700;padding:15px 16px 15px 42px}
#top.so-site .so-native-toggle .toggle_content{font-size:1rem;line-height:1.6}
#top.so-site .so-native-toggle .toggle_icon{border-color:currentColor}
#top.so-site .so-native-toggle .toggle_icon span{background-color:currentColor}
#top.so-site .so-native-dark{background:var(--ink);color:var(--paper)}
#top.so-site .so-native-dark .so-native-eyebrow{color:#ff8b78}
#top.so-site .so-native-dark .so-native-note,#top.so-site .so-native-dark .so-native-lead{color:var(--on-ink-muted)}
#top.so-site .so-native-dark .av-special-heading{color:inherit}
#top.so-site .so-native-compare{position:relative;overflow:hidden;border-radius:22px;background:#fff}
#top.so-site .so-native-compare:not(.is-comparison) .avia-image-container{width:48%;display:inline-block}
#top.so-site .so-native-compare.is-comparison{padding-bottom:64px;--pos:50%}
#top.so-site .so-native-compare.is-comparison .so-native-after{margin:0;display:block;width:100%}
#top.so-site .so-native-compare.is-comparison .so-native-before{position:absolute;inset:0 0 64px;margin:0;clip-path:inset(0 calc(100% - var(--pos)) 0 0)}
#top.so-site .so-native-compare .avia-image-container-inner,#top.so-site .so-native-compare .avia_image{width:100%;max-width:none}
#top.so-site .so-native-compare input[type=range]{position:absolute;bottom:16px;left:6%;width:88%;height:32px;accent-color:var(--coral-strong);margin:0;padding:0}
#top.so-site .so-native-compare.is-comparison:after{content:"Prima                                       Dopo";position:absolute;left:6%;right:6%;bottom:49px;color:var(--muted);font-size:.8rem;white-space:pre;text-align:center;pointer-events:none}
#top.so-site .so-native-case{background:var(--surface);border:1px solid var(--line)}
#top.so-site .so-native-case:before{content:"Illustrazione";display:block;border-radius:14px;height:150px;margin-bottom:24px;padding:16px;font-size:.8rem;color:#fff;background:linear-gradient(135deg,#174b58,#89bfc5)}
#top.so-site .so-native-visiwa:before{background:linear-gradient(135deg,#e6c7a0,#3b8891 55%,#1e536d)}
#top.so-site .so-native-photo{background:var(--sand);border-radius:22px;overflow:hidden}
#top.so-site .so-native-portrait{width:190px;max-width:100%;height:386px;overflow:hidden;margin:30px auto 0}
#top.so-site .so-native-portrait .avia-image-container-inner{width:100%;max-width:none}
#top.so-site .so-native-portrait img{width:1600%!important;max-width:none!important;height:386px!important;object-fit:fill}
#top.so-site .so-native-step{background:var(--surface);border:1px solid var(--line)}
#top.so-site .so-native-step-no{color:var(--coral-strong);font-size:2.6rem}
#top.so-site .so-native-form-card{background:var(--surface);border:1px solid var(--line)}
#top.so-site .so-native-form-note{background:#fff0ec;color:#7a2416;padding:14px;border-radius:12px;font-size:1rem}
#top.so-site form.so-wa-native{margin:0}
#top.so-site form.so-wa-native label{font:700 1rem/1.4 var(--f-body);color:var(--ink);margin:0 0 8px}
#top.so-site form.so-wa-native p{margin-bottom:20px}
#top.so-site form.so-wa-native input:not([type=hidden]):not([type=submit]),#top.so-site form.so-wa-native textarea,#top.so-site form.so-wa-native select{font:400 1rem/1.4 var(--f-body);width:100%;min-height:48px;border:1.5px solid #9ea4af;background:var(--paper);color:var(--ink);border-radius:10px;padding:12px 14px;margin:0}
#top.so-site form.so-wa-native textarea{height:130px;resize:vertical}
#top.so-site form.so-wa-native input[type=submit]{background:var(--coral-strong);color:white;width:100%;min-height:52px;border-radius:999px;font:700 1rem/1.2 var(--f-body)}
#top.so-site form.so-wa-native .so-wa-status{clear:both;padding:12px 0;font-weight:700}
@media(max-width:767px){#top.so-site .so-native-hero .flex_column{width:100%}#top.so-site .so-native-section .container{max-width:100%!important;width:100%!important;padding:0 20px!important}#top.so-site .so-native-card,#top.so-site .so-native-case,#top.so-site .so-native-step{margin-bottom:20px!important}#top.so-site .so-native-hero .content{padding-top:40px}}

/* =====================================================================
   SISTEMA UNICO (ottobre 2026)
   Una famiglia di caratteri, un nero, un corallo, una scala di raggi,
   un pulsante. Le regole qui sotto vincono su quelle precedenti.
   ===================================================================== */
#top.so-site{
  --f-display:'Figtree',ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif;
  --mist:#E7E9ED;            /* unico neutro scuro di supporto (sostituisce il sabbia) */
  --r-card:20px; --r-small:10px;
  --btn-h:52px;
}
.mini{--f-display:'Figtree',ui-sans-serif,system-ui,sans-serif}

/* Tipografia: Figtree per tutto, titoli 700, stesso nero del testo */
#top.so-site .so-native-section{color:var(--ink)}
#top.so-site .so-native-section .av-special-heading .av-special-heading-tag{font-family:var(--f-display)!important;font-weight:700!important;letter-spacing:-.03em;color:inherit;text-transform:none}
#top.so-site .so-native-section .av-special-heading{color:inherit}
#top.so-site .so-native-accent,#top.so-site .so-native-accent .av-special-heading-tag{color:var(--coral-strong)!important}
#top.so-site .so-native-section strong,#top.so-site .so-native-section b{color:inherit;font-weight:700}
#top.so-site #menu-sito .so-native-brand{font-family:var(--f-display);font-weight:700}

/* Apertura: i due titoli si leggono come un unico blocco */
#top.so-site .so-native-hero .so-native-h1{margin:0!important;padding:0!important}
#top.so-site .so-native-hero .so-native-h1 .av-special-heading-tag{line-height:1.02!important;letter-spacing:-.035em}
#top.so-site .so-native-hero .so-native-h1+.so-native-h1{margin-bottom:22px!important}

/* Etichette: maiuscolo solo sopra i titoli di sezione; nelle schede diventano testo semplice */
#top.so-site .so-native-card .so-native-eyebrow,#top.so-site .so-native-case .so-native-eyebrow{text-transform:none;letter-spacing:0;font:600 .95rem/1.4 var(--f-body)!important;opacity:.8}
#top.so-site .so-native-case .so-native-eyebrow{color:var(--muted)}

/* Colore: un solo corallo. Le tre offerte: corallo pieno, nero pieno, bianco con bordo */
#top.so-site .so-native-start{background:var(--coral-strong);color:#fff}
#top.so-site .so-native-start .av-special-heading{color:#fff}
#top.so-site .so-native-renew{background:var(--surface);color:var(--ink);box-shadow:inset 0 0 0 2px var(--ink)}
#top.so-site .so-native-photo{background:var(--mist)}
#top.so-site .so-native-case:before{background:var(--ink)!important;color:var(--on-ink-muted);border-radius:var(--r-small);font:600 .8rem/1 var(--f-body);background-image:linear-gradient(90deg,var(--coral-strong) 0 64px,transparent 64px)!important;background-size:100% 4px!important;background-repeat:no-repeat!important;background-position:16px calc(100% - 16px)!important;background-color:var(--ink)!important}
#top.so-site .so-native-visiwa:before{background-color:var(--mist)!important;color:var(--muted)}
/* Le copertine segnaposto dei progetti erano nascoste dal clearfix di Enfold (spazio vuoto): le togliamo finché non ci sono screenshot veri */
#top.so-site .so-native-case:before{display:none!important}

/* Approfondimenti (toggle): stessi raggi e bordi del resto */
#top.so-site .so-native-toggle .single_toggle{margin:0}
#top.so-site .so-native-toggle .toggler{border-radius:var(--r-small);border:1.5px solid color-mix(in srgb,currentColor 30%,transparent)!important}
#top.so-site .so-native-toggle .toggler.activeTitle{border-radius:var(--r-small) var(--r-small) 0 0}
#top.so-site .so-native-toggle .toggle_wrap{border:0!important}

/* Le tre offerte alla stessa altezza */
@media (min-width:768px){
  #top.so-site #offerte .entry-content-wrapper{display:flex;flex-wrap:wrap;align-items:stretch}
  #top.so-site #offerte .entry-content-wrapper:before,#top.so-site #offerte .entry-content-wrapper:after{display:none}
  #top.so-site #offerte .entry-content-wrapper>*{flex:0 0 100%;float:none}
  #top.so-site #offerte .so-native-card{flex:1 1 0;display:flex;flex-direction:column}
  #top.so-site #offerte .so-native-card .so-native-toggle{margin-top:auto}
  #top.so-site #offerte .so-native-card+.so-native-card{margin-left:3%}
}
#top.so-site #offerte .so-native-card{margin-bottom:28px}

/* Forme: 20px per schede e immagini, 10px per campi e box piccoli, pillola per i pulsanti */
#top.so-site .so-native-card,#top.so-site .so-native-case,#top.so-site .so-native-step,#top.so-site .so-native-form-card,#top.so-site .so-native-compare,#top.so-site .so-native-photo{border-radius:var(--r-card)}
#top.so-site .so-native-form-note,#top.so-site form.so-wa-native input:not([type=hidden]):not([type=submit]),#top.so-site form.so-wa-native textarea,#top.so-site form.so-wa-native select{border-radius:var(--r-small)}

/* Pulsanti: un'altezza, due stili (pieno corallo / contorno nero), verde solo per WhatsApp */
#top.so-site .so-native-button .avia-button,#top.so-site form.so-wa-native input[type=submit]{min-height:var(--btn-h);padding:16px 26px!important;border-radius:999px;font:700 1rem/1.2 var(--f-body)!important;text-transform:none;letter-spacing:0;box-shadow:none;transition:background-color .15s ease,color .15s ease,transform .15s ease}
#top.so-site .so-native-button .avia-button:active,#top.so-site form.so-wa-native input[type=submit]:active{transform:translateY(1px)}
#top.so-site .so-native-button:not(.so-native-ghost):not(.so-native-wa) .avia-button:hover,#top.so-site form.so-wa-native input[type=submit]:hover{background:#B0301E!important;color:#fff!important}
#top.so-site .so-native-ghost .avia-button{background:transparent!important;color:var(--ink)!important;border:2px solid var(--ink)!important}
#top.so-site .so-native-ghost .avia-button:hover{background:var(--ink)!important;color:var(--paper)!important}
#top.so-site form.so-wa-native input[type=submit]{background:var(--coral-strong)!important;color:#fff!important;border:0!important;height:auto}
#top.so-site .so-native-wa .avia-button:hover{background:#0A6436!important}
#top.so-site #menu-sito .so-native-nav .avia-button{border-radius:999px;padding:12px 14px}
#top.so-site #menu-sito .so-native-nav .avia-button:hover{background:var(--surface)}
#top.so-site #menu-sito .so-native-header-cta .avia-button{min-height:44px;padding:12px 20px!important}

/* Footer: scuro e leggibile */
#top.so-site .so-native-section.so-native-footer{background:var(--ink)!important;color:var(--on-ink-muted)}
#top.so-site .so-native-section.so-native-footer .av-special-heading{color:var(--on-ink)}
#top.so-site .so-native-section.so-native-footer a{color:var(--on-ink)}
#top.so-site .so-native-section.so-native-footer .avia_textblock{color:var(--on-ink-muted)}

/* Sezione scura: testo e liste coerenti */
#top.so-site .so-native-dark,#top.so-site .so-native-dark .avia_textblock{color:var(--on-ink)}
#top.so-site .so-native-dark .so-native-lead,#top.so-site .so-native-dark .so-native-note{color:var(--on-ink-muted)}
