/* ==========================================================
   Bnomio — personalizzazione del template
   Colore principale: verde #14284b · secondario: rosso #943b41
   ========================================================== */

@font-face{font-family:"Manrope";src:url(../fonts/manrope-latin-wght-normal.woff2) format("woff2");font-weight:200 800;font-display:swap}
@font-face{font-family:"Instrument Serif";src:url(../fonts/instrument-serif-latin-400-normal.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Instrument Serif";src:url(../fonts/instrument-serif-latin-400-italic.woff2) format("woff2");font-weight:400;font-style:italic;font-display:swap}

/* ---- font e colori del template ---- */
.tmpl-font-heading{font-family:"Instrument Serif",Georgia,serif}
.tmpl-font-body,body{font-family:"Manrope",system-ui,-apple-system,"Segoe UI",sans-serif;color:#2a2d2b;font-size:16px;line-height:1.65}
.tmpl-background-color{background-color:#fff}
h1,h2,h3,h4{font-family:"Instrument Serif",Georgia,serif;color:#14284b;font-weight:400}
h1 a,h2 a,h3 a,h4 a{color:#14284b}
.text-slider-light{color:#fff;text-shadow:1px 1px 0 rgba(0,0,0,.6)}
.tmpl-main-color{color:#14284b}
.tmpl-secondary-color{color:#943b41}
.tmpl-main-color-bg{background-color:#14284b}
.tmpl-main-color-bg:hover{background-color:#943b41}
.navbar.tmpl-main-color-bg:hover{background-color:#14284b}
.tmpl-main-color-bg-text,.tmpl-main-color-bg-text:hover,.tmpl-main-color-bg-text:focus{color:#fff}
.tmpl-secondary-color-bg{background-color:#943b41}
.tmpl-secondary-color-bg-text{color:#fff}
.tmpl-secondary-color-border{border-color:#943b41}
.tmpl-main-color-border{border-color:#14284b}
a{color:#14284b}
a:hover,a:focus{color:#943b41}
.navbar-default .navbar-nav>li>a{color:#fff}
.navbar-default .navbar-nav>.active>a,.navbar-default .navbar-nav>.active>a:focus,.navbar-default .navbar-nav>.active>a:hover,
.navbar-default .navbar-nav>li>a:focus,.navbar-default .navbar-nav>li>a:hover,
.navbar-default .navbar-nav>.open>a,.navbar-default .navbar-nav>.open>a:focus,.navbar-default .navbar-nav>.open>a:hover{color:#fff;background-color:#943b41}
.navbar-default .navbar-toggle{border-color:#fff}
.navbar-default .navbar-toggle .icon-bar{background-color:#fff}
.navbar-default .navbar-toggle:hover,.navbar-default .navbar-toggle:focus{background-color:rgba(255,255,255,.12)}
.navbar-collapse{font-size:19px!important;letter-spacing:.02em}
.dropdown-menu>.active>a,.dropdown-menu>.active>a:hover,.dropdown-menu>.active>a:focus{background-color:#14284b}
.dropdown-menu>li>a:hover{background-color:#f3f1ec;color:#14284b}
.navbar-home.is-scrolled{background-color:#14284b!important}
h2.widget-title:before,.widget h2.widget-title:before{background-color:#14284b}
h2.widget-title span:hover{background-color:#14284b}
.widget h2.widget-title{font-size:30px;text-transform:none}
@media (max-width:767px){.navbar-collapse{font-size:17px!important}.widget h2.widget-title{font-size:24px}}

/* ---- intro / logo ---- */
.intro .logo.tmpl-logo-bg{background:#fff;padding:14px 18px;box-shadow:0 10px 30px rgba(0,0,0,.25)}
.intro .logo img{width:150px;height:auto;display:block}
@media (max-width:767px){.intro .logo img{width:96px}}
.slide-home .item{background-size:cover;background-position:center;background-color:#1b1d1c}
.slide-home .hero h1,.slide-home .hero h2{font-size:clamp(36px,6vw,72px);line-height:1.05;margin-bottom:12px}
.slide-home .hero h3{font-family:"Manrope",sans-serif;font-size:clamp(16px,2vw,22px);font-weight:500;letter-spacing:.02em}

/* ---- intestazione pagine interne ---- */
.section-header{position:relative;text-align:center;background-size:cover;background-position:center;margin-bottom:50px}
#layout .section-header{min-height:260px;display:flex;align-items:center;justify-content:center;padding:40px 15px}
#layout .section-header:before{content:"";position:absolute;inset:0;background:rgba(12,26,51,.55)}
#layout .section-header h1.heading{position:relative;color:#fff;font-size:clamp(34px,5vw,60px);border:0;margin:0;text-shadow:0 2px 12px rgba(0,0,0,.35)}
#widget .section-header{padding:40px 15px 10px}
h1.heading-home{color:#14284b;font-size:clamp(32px,4.5vw,52px);border:0}

/* ---- navbar interna con marchio ---- */
.navbar-brand.brand-internal{display:flex;align-items:center;gap:10px;color:#fff;font-family:"Instrument Serif",Georgia,serif;font-size:26px;padding-top:10px;padding-bottom:10px}
.navbar-brand.brand-internal img{background:#fff;padding:3px;width:38px;height:auto}
.navbar-brand.brand-internal i,.footer-brand i{font-style:normal;color:#943b41}
.navbar-brand.brand-internal:hover,.navbar-brand.brand-internal:focus{color:#fff}

/* ---- card ambiti ---- */
.widget-onlyimg .img-container{aspect-ratio:4/3}
.widget-onlyimg .img-container img{width:100%;height:100%;object-fit:cover;transition:transform .6s}
.widget-onlyimg .img-container a:hover img{transform:scale(1.05)}
.widget-onlyimg h2.widget-title{font-size:24px;margin-bottom:20px}
ul.tags{list-style:none;padding:0;margin:14px 0 0;display:flex;flex-wrap:wrap;gap:6px;justify-content:center}
ul.tags li{font-size:12px;letter-spacing:.06em;text-transform:uppercase;border:1px solid rgba(20,40,75,.35);color:#14284b;padding:3px 9px}
.widget-layout ul.tags{justify-content:flex-start;margin-top:20px}

/* ---- chi siamo / fascia con foto ---- */
.widget-logoservice-2 .overlay{background:rgba(12,26,51,.72)}
.widget-logoservice-2 .content-container{position:relative;max-width:900px;margin:0 auto;padding:30px 0}
.widget-logoservice-2 .widget-txt{color:#fff;font-size:17px}
.widget-logoservice-2 .widget-txt .statement{font-family:"Instrument Serif",Georgia,serif;font-size:clamp(22px,2.6vw,30px);line-height:1.3;margin-bottom:24px}
.widget-logoservice-2 h2.widget-title:before{background-color:#fff}
.widget-logoservice-2 h2.widget-title span{background:#943b41}
.cta-band .content-container{text-align:center}
.btn-cta{background:#fff;color:#14284b;border-color:#fff;padding:12px 26px;font-weight:600}
.btn-cta:hover{background:#943b41;color:#fff;border-color:#943b41}

/* ---- numeri ---- */
.widget-fact{text-align:center;padding:20px 10px;border-top:2px solid #14284b}
.widget-fact .fact-num{display:block;font-family:"Instrument Serif",Georgia,serif;font-size:80px;line-height:1}
.widget-fact p{margin:8px 0 0;font-size:15px}

/* ---- servizi ---- */
.lead-txt{font-size:18px;max-width:760px;margin:0 auto 30px}
ol.service-list{list-style:none;padding:0;margin:0 0 30px;columns:3 260px;column-gap:40px}
ol.service-list li{break-inside:avoid;padding:14px 0;border-bottom:1px solid #e3e1db;font-size:17px}
ol.service-list li span{font-weight:700;font-size:13px;margin-right:12px;letter-spacing:.08em}
ul.client-list{list-style:none;padding:0;margin:0;display:flex;flex-wrap:wrap;justify-content:center;gap:10px 30px;font-family:"Instrument Serif",Georgia,serif;font-size:24px;color:#14284b}
ul.checks{list-style:none;padding:0;margin:10px 0 0}
ul.checks li{padding:6px 0}
.page-label{font-size:12px;letter-spacing:.16em;text-transform:uppercase;font-weight:700;margin-bottom:12px}
.widget-layout.top .top-img{height:360px}
.widget-layout.top .top-img img{width:100%;height:100%;object-fit:cover}
.widget-layout .widget-txt{font-size:17px}

/* ---- galleria ---- */
.widget-threeimg .imgs-cont{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:12px}
.widget-threeimg .imgs-cont a{display:block;aspect-ratio:4/3;overflow:hidden}
.widget-threeimg .imgs-cont img{width:100%!important;height:100%;object-fit:cover;transition:transform .6s;cursor:zoom-in}
.widget-threeimg .imgs-cont a:hover img{transform:scale(1.05)}

/* ---- modulo contatti ---- */
.contact-form .form-control{border-radius:0;height:auto;padding:11px 12px;font-size:16px;box-shadow:none}
.contact-form .form-control:focus{border-color:#14284b}
.contact-form .form-control.invalid{border-color:#943b41}
.contact-form label{font-weight:600;font-size:14px}
.contact-form .checkbox label{font-weight:400;font-size:14px}
.contact-form .btn-theme{padding:13px;font-size:20px;border:0}
.contact-form .hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.form-status{margin-top:12px;font-weight:600;min-height:1.5em}
.form-status.ok{color:#14284b}
.form-status.err{color:#943b41}
.widget-contact .contacts-item li span.li-txt{font-size:16px;padding-top:6px}
.map-link{margin-top:20px}
.btn-theme.tmpl-main-color-border{color:#14284b;padding:10px 20px}
.btn-theme.tmpl-main-color-border:hover{background:#14284b;color:#fff}

/* ---- privacy ---- */
.legal h3{font-size:24px;margin:28px 0 8px}

/* ---- footer ---- */
footer .footer-top{padding:40px 20px}
footer .footer-top .footer-col{margin-bottom:20px;color:#fff}
footer .footer-top a{color:#fff;text-decoration:underline;text-underline-offset:3px}
footer .footer-top a:hover{color:#dfe6f2}
footer .footer-top h2.widget-title{font-size:24px;margin:0 0 10px}
.footer-brand{display:inline-flex;align-items:center;gap:12px;font-family:"Instrument Serif",Georgia,serif;font-size:34px;color:#fff;margin-bottom:6px}
.footer-brand img{background:#fff;padding:4px;width:58px;height:auto}
.footer-brand i{color:#fff!important;opacity:.7}
footer .footer-bottom{font-size:14px}
.page-wrap{margin-bottom:0}
.cd-top{background-image:url(../img/cd-top-arrow.svg)}
section .container-fluid>.row{margin-left:0;margin-right:0}
section .container-fluid>.row>.col-md-12{padding-left:0;padding-right:0}
#layout .section-header h1.heading{background:transparent!important;padding:0}
.page-wrap:after{display:none!important;height:0!important}
.widget-txt ul.tags li:before,.widget-txt ul.checks li:before{display:none!important;content:none!important}
.widget-txt ul.tags li,.widget-txt ul.checks li{padding-left:9px}
.widget-txt ul.checks li{padding-left:0}
.navbar-brand.brand-internal i{color:#e7b8bb}
.home-sub{max-width:760px;margin:10px auto 0;font-size:18px;color:#2a2d2b}


/* ==========================================================
   PALETTE E DISTRIBUZIONE DEI COLORI
   blu navy #14284b · navy scuro #0c1a33 · rosso logo #943b41
   avorio #f6f3ee · grigio pietra #8a8f98
   ========================================================== */
:root{--navy:#14284b;--navy-d:#0c1a33;--navy-l:#2d4a7c;--red:#943b41;--ivory:#f6f3ee;--stone:#8a8f98;--line:#dde1e8;--ease:cubic-bezier(.2,.7,.1,1)}
html,body{overflow-x:hidden}
@supports (overflow:clip){html,body{overflow-x:clip}}
body{color:#2a2f3a}
h1,h2,h3,h4,h1 a,h2 a,h3 a,h4 a{color:var(--navy)}

/* menu */
.navbar.tmpl-main-color-bg,.navbar-home.is-scrolled{background-color:var(--navy)!important}
.navbar-default .navbar-nav>.active>a,.navbar-default .navbar-nav>.active>a:focus,.navbar-default .navbar-nav>.active>a:hover,
.navbar-default .navbar-nav>li>a:focus,.navbar-default .navbar-nav>li>a:hover,
.navbar-default .navbar-nav>.open>a,.navbar-default .navbar-nav>.open>a:focus,.navbar-default .navbar-nav>.open>a:hover{background-color:var(--navy-d);color:#fff}
.dropdown-menu{border:0;border-top:2px solid var(--red);border-radius:0;box-shadow:0 14px 30px -12px rgba(12,26,51,.35)}
.dropdown-menu>li>a{padding:9px 20px}
.dropdown-menu>li>a:hover{background:var(--ivory);color:var(--navy)}
.dropdown-menu>.active>a,.dropdown-menu>.active>a:hover,.dropdown-menu>.active>a:focus{background:var(--navy);color:#fff}

/* titoli dei riquadri: etichetta navy su linea sottile */
.widget h2.widget-title:before,h2.widget-title:before{background-color:var(--line);height:1px}
.widget h2.widget-title span.tmpl-main-color-bg{background:var(--navy)}
.widget h2.widget-title span.tmpl-main-color-bg:hover{background:var(--red)}
.widget-logoservice-2 h2.widget-title:before{background-color:rgba(255,255,255,.35)}
.widget-logoservice-2 h2.widget-title span{background:var(--red)}
footer h2.widget-title:before{display:none}

/* fasce alternate con motivo */
.band{position:relative;padding:60px 0 30px;margin-bottom:60px}
.band-ivory{background-color:var(--ivory);background-image:repeating-linear-gradient(135deg,rgba(20,40,75,.035) 0 1px,transparent 1px 14px)}
.band-navy{background-color:var(--navy-d);background-image:linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);background-size:44px 44px;color:#dfe6f2}
.band>.container>.row:last-child .margin-bottom,.band .widget{margin-bottom:30px}
.band-ivory .widget-why,.band-ivory .widget-fact{background:#fff}
#widget .section-header{background:linear-gradient(180deg,#fff 0,var(--ivory) 100%);margin-bottom:50px;padding-bottom:40px}
h1.heading-home{color:var(--navy)}
.home-sub{color:#4a5160}

/* fasce con foto */
.widget-logoservice-2 .overlay{background:linear-gradient(120deg,rgba(12,26,51,.9),rgba(20,40,75,.72))}
.widget-logoservice-2 .content-container{border-color:rgba(255,255,255,.5)!important}
#layout .section-header:before{background:linear-gradient(180deg,rgba(12,26,51,.35),rgba(12,26,51,.7))}

/* card, etichette, numeri */
ul.tags li{border-color:rgba(20,40,75,.25);color:var(--navy)}
ul.tags li:hover{background:var(--navy);color:#fff}
.widget-fact{border-top:3px solid var(--red);padding:26px 14px}
.widget-fact .fact-num{color:var(--navy)}
ol.service-list li{border-bottom-color:var(--line)}
ol.service-list li span,.page-label,.tmpl-secondary-color{color:var(--red)}
ul.client-list{color:var(--navy)}
ul.checks li i.fa{color:var(--red)}

/* passi */
.step-num{border-color:var(--navy);color:var(--navy)}
.step:hover .step-num{background:var(--navy);color:#fff}
ol.steps .steps-line{background:var(--line)}
ol.steps .steps-line:after{background:var(--red)}

/* perché sceglierci */
.widget-why{border:1px solid var(--line)}
.widget-why i.fa{color:var(--red)}
.widget-why:hover{border-color:var(--navy);box-shadow:0 22px 40px -20px rgba(12,26,51,.45)}

/* marquee */
.marquee-wrap{background-color:var(--navy-d);background-image:linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);background-size:44px 44px}
.marquee-label{color:#8fa6cc}

/* pulsanti e modulo */
.contact-form .btn-theme{background:var(--navy)}
.contact-form .btn-theme:hover{background:var(--red)}
.btn-theme.tmpl-main-color-border{color:var(--navy);border-color:var(--navy)}
.btn-theme.tmpl-main-color-border:hover{background:var(--navy);color:#fff}
.btn-cta{color:var(--navy)}
.btn-cta:hover{background:var(--red);border-color:var(--red);color:#fff}
.contact-form .form-control:focus{border-color:var(--navy);box-shadow:0 0 0 3px rgba(20,40,75,.12)}
.form-status.ok{color:var(--navy)}
.widget-contact .contacts-item li i.fa{color:var(--navy)}

/* footer navy */
footer .footer-top.tmpl-secondary-color-bg{background-color:var(--navy-d);background-image:linear-gradient(rgba(255,255,255,.03) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.03) 1px,transparent 1px);background-size:44px 44px;border-top:4px solid var(--red)}
footer .footer-top h2.widget-title{color:#fff}
footer .footer-top p{color:#c9d3e3}
.footer-brand i{color:var(--red)!important;opacity:1}
footer .footer-bottom{background:#08132a;color:#8a95a8}
footer .footer-bottom a{color:#c9d3e3}
footer .footer-bottom strong{color:#c9d3e3}
.cd-top.tmpl-main-color-bg{background-color:var(--red)}

/* ==========================================================
   MOVIMENTO LEGGERO
   Tutto il contenuto è visibile anche senza animazioni:
   gli effetti usano solo transizioni di opacity/transform.
   ========================================================== */

/* slider: dissolvenza tra le foto e zoom lento */
.slide-home .carousel-inner{height:100%}
.slide-home .carousel-inner>.item{display:block!important;position:absolute!important;inset:0;opacity:0;visibility:hidden;transition:opacity 1.2s ease,visibility 0s 1.2s;left:0!important;transform:none!important}
.slide-home .carousel-inner>.item:first-child{position:relative!important}
.slide-home .carousel-inner>.item.active{opacity:1;visibility:visible;transition:opacity 1.2s ease;z-index:1}
.slide-home .item{overflow:hidden}
.slide-home .item .kb{position:absolute;inset:0;background-size:cover;background-position:center;transform:scale(1);transition:transform 8s linear}
.slide-home .item.active .kb{transform:scale(1.07)}
.slide-home .item .overlay-dark{z-index:1;background:linear-gradient(180deg,rgba(12,26,51,.35),rgba(12,26,51,.55))}
.slide-home .item .hero{z-index:2}
.slide-home .item .hero h2,.slide-home .item .hero h3{transition:opacity .9s .3s,transform .9s .3s var(--ease)}
.slide-home .item:not(.active) .hero h2,.slide-home .item:not(.active) .hero h3{opacity:0;transform:translateY(24px)}
.slide-home .item .hero h3{transition-delay:.55s}
.hero-dots{position:absolute;left:50%;bottom:100px;transform:translateX(-50%);display:flex;gap:8px;z-index:20}
.hero-dots button{width:46px;height:3px;border:0;padding:0;background:rgba(255,255,255,.35);position:relative;overflow:hidden;cursor:pointer}
.hero-dots button i{position:absolute;inset:0;background:#fff;transform:scaleX(0);transform-origin:0 50%}
.hero-dots button.on i{transform:scaleX(1);transition:transform 6s linear}
.intro .logo{z-index:30}
.carousel-control{z-index:15;transition:opacity .3s,transform .3s}
.carousel-control.left:hover{transform:translateX(-4px)}
.carousel-control.right:hover{transform:translateX(4px)}

/* barra di avanzamento della lettura */
.scroll-progress{position:fixed;top:0;left:0;height:3px;width:100%;background:linear-gradient(90deg,var(--navy-l),var(--red));transform-origin:0 50%;transform:scaleX(0);z-index:2000;pointer-events:none}

/* menu */
.header .navbar{transition:background-color .3s,box-shadow .3s}
.is-sticky .navbar,.navbar-home.is-scrolled{box-shadow:0 6px 20px rgba(12,26,51,.25)}
@media (min-width:768px){
  .navbar-default .navbar-nav>li>a{position:relative}
  .navbar-default .navbar-nav>li>a:after{content:"";position:absolute;left:15px;right:15px;bottom:9px;height:2px;background:var(--red);transform:scaleX(0);transform-origin:0 50%;transition:transform .3s var(--ease)}
  .navbar-default .navbar-nav>li>a:hover:after,.navbar-default .navbar-nav>li.active>a:after{transform:scaleX(1)}
}

/* comparsa allo scroll (solo se il JavaScript è attivo) */
html.js .rv{opacity:0;transform:translateY(24px);transition:opacity .6s ease,transform .6s var(--ease);transition-delay:var(--d,0s)}
html.js .rv.in{opacity:1;transform:none}

/* titoli dei riquadri: la linea si allunga */
html.js .widget h2.widget-title:before{transform:scaleX(.2);transition:transform .9s var(--ease)}
html.js .widget.title-in h2.widget-title:before{transform:scaleX(1)}

/* card ambiti */
.widget-onlyimg{transition:transform .35s var(--ease)}
.widget-onlyimg:hover{transform:translateY(-5px)}
.widget-onlyimg .img-container{position:relative}
.widget-onlyimg .img-container a:after{content:"Scopri \2192";position:absolute;inset:0;display:flex;align-items:flex-end;padding:16px 18px;color:#fff;font-family:"Instrument Serif",Georgia,serif;font-size:22px;background:linear-gradient(180deg,transparent 45%,rgba(12,26,51,.85));opacity:0;transition:opacity .35s}
.widget-onlyimg .img-container a:hover:after{opacity:1}
.widget-onlyimg .img-container img{transition:transform .8s var(--ease)}
.widget-onlyimg .img-container a:hover img{transform:scale(1.06)}
ul.tags li{transition:background-color .25s,color .25s}

/* galleria */
.widget-threeimg .imgs-cont a{position:relative}
.widget-threeimg .imgs-cont a:after{content:"\f00e";font-family:FontAwesome;position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:26px;color:#fff;background:rgba(12,26,51,.45);opacity:0;transition:opacity .3s}
.widget-threeimg .imgs-cont a:hover:after{opacity:1}
.widget-threeimg .imgs-cont img{transition:transform .8s var(--ease)}
.widget-threeimg .imgs-cont a:hover img{transform:scale(1.06)}

/* fasce con foto: niente sfondo fisso (pesante da disegnare) */
.widget-logoservice-2{background-attachment:scroll!important}

/* numeri, perché sceglierci, passi */
.widget-fact,.widget-why{transition:transform .35s var(--ease),box-shadow .35s,border-color .35s}
.widget-fact:hover{transform:translateY(-4px)}
.widget-why:hover{transform:translateY(-6px)}
.widget-why i.fa{transition:transform .5s var(--ease)}
.widget-why:hover i.fa{transform:scale(1.15)}
ol.steps{list-style:none;padding:0;margin:10px 0 0;display:grid;grid-template-columns:repeat(4,1fr);gap:30px;position:relative}
ol.steps .steps-line{position:absolute;top:27px;left:12%;right:12%;height:2px}
ol.steps .steps-line:after{content:"";position:absolute;inset:0;transform:scaleX(0);transform-origin:0 50%;transition:transform 1.4s var(--ease) .2s}
.widget-steps.title-in ol.steps .steps-line:after{transform:scaleX(1)}
.step{text-align:center;position:relative}
.step-num{display:inline-flex;width:56px;height:56px;border-radius:50%;align-items:center;justify-content:center;background:#fff;border:2px solid;font-weight:700;letter-spacing:.06em;position:relative;z-index:1;transition:background-color .3s,color .3s,transform .3s var(--ease)}
.step:hover .step-num{transform:scale(1.08)}
.step h3{font-size:24px;margin:16px 0 6px}
.step p{font-size:15px;margin:0}
@media (max-width:767px){ol.steps{grid-template-columns:1fr;gap:22px}ol.steps .steps-line{left:27px;right:auto;width:2px;top:28px;bottom:28px;height:auto}ol.steps .steps-line:after{transform:scaleY(0);transform-origin:50% 0}.widget-steps.title-in ol.steps .steps-line:after{transform:scaleY(1)}.step{text-align:left;padding-left:76px;min-height:56px}.step-num{position:absolute;left:0;top:0}.step h3{margin-top:4px}}
.widget-why{text-align:center;padding:34px 24px;height:100%;background:#fff}
.widget-why i.fa{font-size:38px;margin-bottom:14px}
.widget-why h3{font-size:26px;margin:0 0 10px}
.widget-why p{margin:0;font-size:15px}
@media (min-width:992px){.row:has(>.col-md-4>.widget-why){display:flex}}

/* marquee */
.marquee-wrap{color:#f3f1ec;padding:34px 0 38px;margin:0 0 60px;overflow:hidden}
.marquee-label{text-align:center;font-size:12px;letter-spacing:.2em;text-transform:uppercase;font-weight:700;margin-bottom:18px}
.marquee{overflow:hidden}
.marquee-track{display:flex;width:max-content;animation:marquee 45s linear infinite}
.marquee:hover .marquee-track{animation-play-state:paused}
.marquee-track span{font-family:"Instrument Serif",Georgia,serif;font-size:clamp(26px,3.2vw,42px);white-space:nowrap;padding:0 30px;display:inline-flex;align-items:center}
.marquee-track span.dup{padding:0;display:flex}
.marquee-track span span:after,.marquee-track>span:not(.dup):after{content:"";width:7px;height:7px;border-radius:50%;background:var(--red);margin-left:60px;display:inline-block}
@keyframes marquee{to{transform:translateX(-50%)}}

/* pulsanti */
.btn-theme,.btn-cta{transition:background-color .25s,color .25s,transform .25s var(--ease),box-shadow .25s}
.btn-theme:hover,.btn-cta:hover{transform:translateY(-2px);box-shadow:0 10px 20px -10px rgba(12,26,51,.5)}

/* modulo */
.contact-form .form-control{transition:border-color .2s,box-shadow .2s}
.contact-form .form-control.invalid{border-color:var(--red);animation:shake .35s}
@keyframes shake{25%{transform:translateX(-5px)}50%{transform:translateX(5px)}75%{transform:translateX(-2px)}}
.contact-form.sending .btn-theme{pointer-events:none;opacity:.8}
.contact-form.sending .btn-theme:after{content:"";display:inline-block;width:16px;height:16px;margin-left:10px;border:2px solid rgba(255,255,255,.5);border-top-color:#fff;border-radius:50%;animation:spin .8s linear infinite;vertical-align:-2px}
@keyframes spin{to{transform:rotate(360deg)}}
.widget-contact .contacts-item li{transition:transform .25s var(--ease)}
.widget-contact .contacts-item li:hover{transform:translateX(5px)}

/* WhatsApp */
.wa-float{position:fixed;left:20px;bottom:20px;z-index:1500;display:flex;align-items:center;gap:8px;background:#25d366;color:#fff!important;border-radius:40px;padding:12px 16px;font-weight:700;text-decoration:none!important;box-shadow:0 10px 25px -8px rgba(0,0,0,.4);transition:transform .25s var(--ease)}
.wa-float:hover{transform:translateY(-3px)}
.wa-float i{font-size:26px;line-height:1}
.wa-float span{max-width:0;overflow:hidden;white-space:nowrap;transition:max-width .3s var(--ease)}
.wa-float:hover span{max-width:100px}
.cd-top{transition:opacity .3s,visibility .3s}

/* pagina grazie */
.thanks-check{width:90px;height:90px;margin:0 auto 20px}
.thanks-check svg{width:100%;height:100%;fill:none;stroke:var(--navy);stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}
html.js .thanks-check circle{stroke-dasharray:151;stroke-dashoffset:151;transition:stroke-dashoffset 1s .2s ease-out}
html.js .thanks-check path{stroke-dasharray:40;stroke-dashoffset:40;transition:stroke-dashoffset .5s 1s ease-out}
html.js .thanks-check.in circle,html.js .thanks-check.in path{stroke-dashoffset:0}

/* footer */
footer .footer-top a{text-decoration:none;background:linear-gradient(currentColor,currentColor) 0 100%/0 1px no-repeat;transition:background-size .3s var(--ease)}
footer .footer-top a:hover{background-size:100% 1px;color:#fff}

@media (prefers-reduced-motion:reduce){
  *,*:before,*:after{transition-duration:.01ms!important;animation:none!important}
  html.js .rv{opacity:1!important;transform:none!important}
  .marquee-track{flex-wrap:wrap;justify-content:center;width:auto}
  .marquee-track span.dup{display:none}
}
.band .widget{background:transparent;box-shadow:none}
.contact-band .widget-onlytext{background:#fff;padding:26px 30px 18px;box-shadow:0 18px 40px -28px rgba(12,26,51,.45);height:100%}
.contact-band .widget-onlytext h2.widget-title{margin-top:0}
@media (min-width:992px){.contact-band .row{display:flex}}
.band-ivory .widget-onlytext h2.widget-title{margin-bottom:30px}
.slide-home .carousel-inner,.slide-home .carousel-inner>.item:first-child{min-height:100vh;min-height:100svh}
.navbar-home{background-color:rgba(12,26,51,.78)!important}.navbar-home.is-scrolled{background-color:#14284b!important}
/* transizioni tra le pagine (View Transitions native del browser) */
@view-transition{navigation:auto}
::view-transition-old(root){animation:vtOut .32s ease both}
::view-transition-new(root){animation:vtIn .5s cubic-bezier(.2,.7,.1,1) both}
.header.internal-page{view-transition-name:site-header}
::view-transition-group(site-header){animation-duration:.4s}
@keyframes vtOut{to{opacity:0;transform:translateY(-14px)}}
@keyframes vtIn{from{opacity:0;transform:translateY(18px)}}
/* browser senza View Transitions: breve dissolvenza in uscita, la pagina nuova appare subito */
body.vt-leaving{opacity:0;transform:translateY(-10px);transition:opacity .22s ease,transform .22s ease}

@media (prefers-reduced-motion:reduce){@view-transition{navigation:none}::view-transition-old(root),::view-transition-new(root){animation:none}body.vt-leaving{opacity:1;transform:none}}
/* nessun effetto al passaggio del mouse su elementi non cliccabili */
.widget h2.widget-title span,.widget h2.widget-title span:hover,h2.widget-title span:hover{background-color:var(--navy)!important;transition:none!important}
.widget-logoservice-2 h2.widget-title span,.widget-logoservice-2 h2.widget-title span:hover{background-color:var(--red)!important}
footer h2.widget-title,footer h2.widget-title:hover{background:transparent!important}
ul.tags li:hover{background:transparent;color:var(--navy)}
.step:hover .step-num{background:#fff;color:var(--navy);transform:none}
.widget-fact:hover,.widget-why:hover{transform:none;box-shadow:none;border-color:var(--line)}
.band-ivory .widget-why:hover{border-color:var(--line)}
.widget-why:hover i.fa{transform:none}
.widget-contact .contacts-item li:hover{transform:none}
.marquee:hover .marquee-track{animation-play-state:running}
