body:has(.td32-hero) .entry-title{display:none} .td32-hero{position:relative;isolation:isolate;min-height:100vh;min-height:100svh;display:flex;align-items:flex-end;background:#39577d;overflow:hidden;color:white;font-family:Poppins,Arial,sans-serif} .td32-video,.td32-shade{position:absolute;inset:0;z-index:-1}.td32-video video{width:100%;height:100%;object-fit:cover}.td32-shade{background:linear-gradient(180deg,#0005,transparent 35%,#000b)}.td32-hero-inner{width:min(1200px,100%);margin:auto auto 0;padding:140px 32px 48px;box-sizing:border-box}.td32-hero h1{font-size:clamp(36px,6.5vw,94px);line-height:1.08;color:white;font-weight:700;margin:20px 0 32px}.td32-kicker{letter-spacing:.16em;font-size:12px}.td32-rotate{color:white;display:inline-block;transition:opacity .35s,transform .35s}.td32-rotate.out{opacity:0;transform:translateY(12px)}.td32-hero-bottom{border-top:1px solid #fff6;padding-top:20px;display:flex;justify-content:space-between;align-items:center}.td32-hero-bottom a,.td32-pause{color:white;background:transparent;border:1px solid #fff8;border-radius:30px;padding:10px 18px;text-decoration:none;font:inherit;cursor:pointer}.td32-marker{display:none!important}.td32-section{box-sizing:border-box;width:100%;padding:80px max(24px,calc((100vw - 1200px)/2));gap:20px!important;font-family:Poppins,Arial,sans-serif}.td32-section h2{font-size:clamp(28px,4vw,48px);line-height:1.15}.td32-section p{font-size:16px;line-height:1.7}.td32-info-wrap{padding-top:28px;padding-bottom:28px}.td32-info-grid,.td32-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.td32-info-grid a,.td32-cards a{color:#39577D;text-decoration:none;padding:24px;border:1px solid #39577d33}.td32-cards a{background:white;display:flex;flex-direction:column;gap:20px;min-height:150px}.td32-cards small,.td32-cards span{font-size:12px;color:#39577d}.td32-photo{min-height:260px;background:#e9e2da;display:grid;place-items:center;text-align:center;color:#39577d;letter-spacing:.08em;font-size:12px;padding:20px}.td32-services-wrap,.td32-contact-wrap{background:#F5F2EE}.td32-values-wrap{background:#39577D;text-align:center}.td32-values-wrap h2,.td32-values-wrap p{color:white!important}.td32-header-active{position:fixed!important;top:0;left:0;right:0;z-index:999;transition:transform .3s,background .3s;}.admin-bar .td32-header-active{top:32px}.td32-header-active.td32-hidden{transform:translateY(-120%)}.td32-header-active.td32-top,.td32-header-active.td32-top .e-flexbox,.td32-header-active.td32-top .elementor-element{background-color:transparent!important;background-image:none!important}@media(max-width:767px){.td32-section{padding:45px 24px}.td32-info-grid,.td32-cards{grid-template-columns:1fr}.td32-hero-inner{padding:110px 24px 32px}.td32-hero h1{font-size:clamp(31px,9vw,54px)}.admin-bar .td32-header-active{top:46px}}@media(prefers-reduced-motion:reduce){.td32-rotate,.td32-header-active{transition:none}}
/* 1.1: hero senza spazi esterni, solo nel contenitore della hero. */
.elementor-element:has(> .elementor-widget-container > .td32-hero),
.elementor-element:has(> .td32-hero),
.e-con:has(> .elementor-widget-html .td32-hero){padding:0!important;margin:0!important;max-width:none!important;width:100%!important;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}
.td32-hero{min-height:100vh;min-height:100svh;}
.admin-bar .td32-hero{min-height:calc(100svh - 32px);}
.td32-hero-inner{padding-bottom:clamp(55px,9vh,105px);}
.td32-shade{background:linear-gradient(180deg,rgba(0,0,0,.56),transparent 37%,rgba(0,0,0,.76));}
.td32-header-active:not(.td32-top){background-color:#B15B40;}
.td32-header-active a.hfe-menu-item,.td32-header-active .hfe-nav-menu a,.td32-header-active .current-menu-item > a{color:#fff!important;}
.td32-header-active.td32-top .hfe-nav-menu__toggle{color:#fff!important;}
@media(max-width:767px){.admin-bar .td32-hero{min-height:calc(100svh - 46px)}.td32-hero-inner{padding-bottom:48px}.td32-hero-bottom{gap:10px;flex-wrap:wrap}}

/* 1.2: Contemporary palette, applied to the existing global templates. */
body.td32-brand #masthead.td32-brand-header:not(.td32-top),
body.td32-brand #masthead.td32-brand-header:not(.td32-top) .elementor-element-e99e7e8 {
 background-color:#FAF9F6!important;background-image:none!important;
}
body.td32-brand #masthead.td32-brand-header:not(.td32-top) :is(.hfe-menu-item,.hfe-nav-menu a,.current-menu-item > a,.hfe-nav-menu__toggle){color:#344B63!important;}
body.td32-brand #masthead.td32-brand-header:not(.td32-top) :is(.hfe-menu-item:hover,.hfe-menu-item:focus-visible){color:#B15B40!important;}
body.td32-brand #masthead.td32-brand-header.td32-top :is(.hfe-menu-item,.hfe-nav-menu a,.current-menu-item > a,.hfe-nav-menu__toggle){color:#fff!important;}
body.td32-brand #masthead.td32-brand-header .hfe-nav-menu__toggle svg{fill:currentColor;}
/* Mobile dropdown stays readable even over a bright video. */
body.td32-brand #masthead.td32-brand-header .hfe-nav-menu__layout-horizontal.hfe-dropdown,
body.td32-brand #masthead.td32-brand-header .hfe-nav-menu__layout-horizontal.hfe-dropdown .hfe-nav-menu,
body.td32-brand #masthead.td32-brand-header .hfe-nav-menu__layout-vertical.hfe-dropdown,
body.td32-brand #masthead.td32-brand-header .hfe-nav-menu__layout-vertical.hfe-dropdown .hfe-nav-menu{background:#FAF9F6!important;}
body.td32-brand #masthead.td32-brand-header.td32-top .hfe-dropdown :is(.hfe-menu-item,.hfe-nav-menu a,.current-menu-item > a){color:#344B63!important;}
body.td32-brand .elementor-59 > .elementor-element{background-color:#344B63!important;background-image:none!important;}


/* Progressive enhancement: content remains visible without JS. */
@keyframes td32-editorial-enter {from{opacity:.12;translate:0 20px;}to{opacity:1;translate:0 0;}}
@media (prefers-reduced-motion: no-preference){
 body:has(.td32-v2-scope) .td32-entered{animation:td32-editorial-enter 800ms cubic-bezier(.22,.61,.36,1) var(--td32-enter-delay,0ms) backwards;}
 body:has(.td32-v2-scope) .elementor-widget-image.td32-entered{animation-duration:1000ms;}
 body:has(.td32-v2-scope) .elementor-widget-text-editor.td32-entered{animation-duration:600ms;}
 body:has(.td32-v2-scope) .td32-entered:focus-within{animation:none;}
}
