:root{
  --brand-blue:#087cc1;
  --brand-deep:#075398;
  --brand-navy:#071f35;
  --brand-gold:#f7bf28;
  --brand-ice:#edf7fc;
  --brand-white:#fff;
  --premium-shadow:0 24px 70px rgba(4,38,66,.16);
}
html{scroll-behavior:smooth}
body{background:#f4f8fb;color:var(--brand-navy);overflow-x:hidden}
.top{position:relative;z-index:12;background:linear-gradient(90deg,var(--brand-deep),var(--brand-blue));padding:8px 18px;letter-spacing:.08em}
.nav{position:sticky;top:0;z-index:11;min-height:78px;padding-top:12px;padding-bottom:12px;background:rgba(255,255,255,.94);border-bottom:1px solid rgba(7,83,152,.12);box-shadow:0 8px 35px rgba(4,38,66,.07);backdrop-filter:blur(14px)}
.brand-logo{width:202px!important;height:56px!important}
.navlinks{gap:30px;font-weight:700}.navlinks a{position:relative}.navlinks a:after{content:"";position:absolute;left:0;right:100%;bottom:-8px;height:2px;background:var(--brand-gold);transition:right .25s}.navlinks a:hover:after{right:0}
.account-btn,.admin-btn,.theme-button{border-radius:999px!important}
.cart{min-width:112px;justify-content:center;border-radius:999px;background:linear-gradient(135deg,var(--brand-deep),var(--brand-blue));box-shadow:0 10px 28px rgba(8,124,193,.24);transition:transform .2s,box-shadow .2s}.cart:hover{transform:translateY(-2px);box-shadow:0 14px 34px rgba(8,124,193,.32)}
.count{background:var(--brand-gold);color:var(--brand-navy)}
.hero{position:relative;isolation:isolate;background:linear-gradient(115deg,#fff 0%,#fff 48%,#e8f4fa 48%,#e8f4fa 100%);overflow:hidden}
.hero:before{content:"";position:absolute;z-index:-1;width:440px;height:440px;left:-240px;top:-170px;border:95px solid rgba(8,124,193,.08);border-radius:50%}
.hero-grid{min-height:610px;gap:54px}
.hero-copy{position:relative;padding:74px 0 72px}
.hero-copy:before{content:"PREVENTIVO ONLINE · SU MISURA";display:inline-flex;padding:8px 12px;border-radius:999px;background:var(--brand-ice);color:var(--brand-deep);font-size:11px;font-weight:900;letter-spacing:.12em;margin-bottom:14px}
.hero-copy>.kicker{display:none}
.hero h1{max-width:620px;margin:8px 0 24px;color:var(--brand-navy);font-size:clamp(54px,6.2vw,88px);line-height:.9;letter-spacing:-.07em}
.hero h1:after{content:"";display:block;width:86px;height:7px;margin-top:25px;border-radius:99px;background:linear-gradient(90deg,var(--brand-gold),#ffd969)}
.hero p{max-width:590px;color:#526b7b;font-size:19px;line-height:1.65}
.actions{margin-top:34px;gap:12px}.actions .btn{min-height:52px;border-radius:999px;padding:15px 24px;text-decoration:none;display:inline-flex;align-items:center;justify-content:center}.actions .btn-red{background:linear-gradient(135deg,var(--brand-deep),var(--brand-blue));box-shadow:0 14px 32px rgba(8,124,193,.24)}.actions .btn-light{border-color:#b9d5e4;background:rgba(255,255,255,.8)}
.hero-visual{min-height:610px;margin:34px 0;border-radius:34px 34px 8px 34px;background:#dbeaf1;box-shadow:var(--premium-shadow);overflow:hidden}
.hero-visual:before{content:"DESIGN · EFFICIENZA · COMFORT";z-index:2;top:25px;right:25px;padding:9px 13px;border-radius:999px;background:rgba(255,255,255,.87);color:var(--brand-deep);backdrop-filter:blur(8px)}
.hero-img{filter:saturate(.88) contrast(1.05);transition:transform 8s ease}.hero-visual:hover .hero-img{transform:scale(1.06)}
.hero-visual:after{content:"";position:absolute;inset:45% 0 0;background:linear-gradient(transparent,rgba(4,26,44,.42));pointer-events:none}
.visual-card{z-index:2;left:24px;right:24px;bottom:24px;width:auto;padding:18px 20px;border-radius:14px;border:1px solid rgba(255,255,255,.7);background:rgba(255,255,255,.91);backdrop-filter:blur(12px)}
.visual-card b{font-size:16px;color:var(--brand-navy)}
.benefits{position:relative;z-index:2;border:0;background:#fff;box-shadow:0 16px 42px rgba(4,38,66,.07)}.benefit-grid{padding:27px 0}.benefit{padding:2px 24px;border-color:#dce9f0}.benefit b{font-size:14px;color:var(--brand-navy)}.benefit span{font-size:12px;color:#708492}
.simple-catalog-flow #catalogo{padding-top:76px;background:radial-gradient(circle at 90% 8%,rgba(8,124,193,.08),transparent 330px)}
.simple-flow{max-width:1240px}
.simple-head h2{font-size:44px;letter-spacing:-.055em;color:var(--brand-navy)}.simple-head p{font-size:16px;color:#607887}
.simple-progress span{border-bottom-width:2px}.simple-progress span.active{color:var(--brand-blue);border-color:var(--brand-blue)}.simple-progress span.active b{background:var(--brand-blue)}.simple-progress span.done{color:var(--brand-blue);border-color:var(--brand-blue)}.simple-progress span.done b{background:var(--brand-blue);color:#fff}
.simple-grid{gap:22px}
.simple-choice{border:1px solid rgba(7,83,152,.13);border-radius:22px;box-shadow:0 12px 40px rgba(4,38,66,.08);transition:transform .28s,border-color .28s,box-shadow .28s}
.simple-choice:hover,.simple-choice:focus-visible{transform:translateY(-7px);border-color:var(--brand-gold);box-shadow:0 24px 55px rgba(4,38,66,.15)}
.simple-image{height:220px;background:linear-gradient(145deg,#eef7fb,#e7eff3)}.simple-image img{transition:transform .45s}.simple-choice:hover .simple-image img{transform:scale(1.045)}
.simple-copy{padding:23px 24px 26px}.simple-copy b{color:var(--brand-navy);font-size:23px}.simple-copy small{color:#69808e}.simple-copy i{color:var(--brand-blue)}
.simple-note{border:1px solid #d7e9f2;background:linear-gradient(90deg,#edf7fc,#fff)}
.simple-product{border:1px solid rgba(7,83,152,.13);border-radius:18px;box-shadow:0 10px 34px rgba(4,38,66,.07);transition:transform .25s,box-shadow .25s}.simple-product:hover{transform:translateY(-5px);box-shadow:0 22px 48px rgba(4,38,66,.13)}
.simple-product-image{height:230px;background:linear-gradient(145deg,#edf6fa,#e8eef1)}.simple-product-body{padding:21px}.simple-product h3{font-size:21px;color:var(--brand-navy)}
.btn{border-radius:999px}.simple-product .btn{min-height:47px}.btn-red{background:linear-gradient(135deg,var(--brand-deep),var(--brand-blue))}.btn-red:hover{background:linear-gradient(135deg,#06437b,#066ba9)}
.darkband{position:relative;overflow:hidden;padding:64px 0;background:linear-gradient(120deg,var(--brand-navy),#0a4772)}.darkband:after{content:"";position:absolute;width:340px;height:340px;right:-150px;bottom:-250px;border:70px solid rgba(247,191,40,.18);border-radius:50%}.darkgrid h2{font-size:38px;letter-spacing:-.04em}.darkitem{border-color:rgba(255,255,255,.22)}
.site-footer{background:#061827}.drawer-panel,.modal-panel,.access-panel{border-radius:22px 0 0 22px}.modal-panel{border-radius:22px}
@keyframes realmobReveal{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
.hero-copy>*{animation:realmobReveal .65s both}.hero-copy h1{animation-delay:.08s}.hero-copy p{animation-delay:.16s}.hero-copy .actions{animation-delay:.24s}.hero-visual{animation:realmobReveal .8s .12s both}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
@media(max-width:900px){
  .hero{background:#fff}.hero-grid{min-height:0;gap:0}.hero-copy{padding:58px 0 36px}.hero-visual{min-height:390px;margin:0 0 34px;border-radius:28px}.simple-head h2{font-size:38px}
}
@media(max-width:600px){
  .top{font-size:10px;line-height:1.35}.top span{display:none}
  .nav{min-height:64px;padding:8px 14px}.brand-logo{width:126px!important;height:42px!important}.nav>div:last-child{margin-left:auto}.cart{min-width:44px;width:44px;height:44px;padding:0;font-size:0}.cart:before{content:"▣";font-size:18px}.cart .count{position:absolute;margin:-34px 0 0 32px}
  .hero-copy{padding:36px 0 27px}.hero-copy:before{font-size:9px}.hero h1{font-size:48px;line-height:.93;margin-bottom:18px}.hero h1:after{width:66px;height:5px;margin-top:18px}.hero p{font-size:16px;line-height:1.55}.actions{margin-top:24px}.actions .btn{width:100%}
  .hero-visual{min-height:285px;margin-bottom:24px;border-radius:22px 22px 6px 22px}.hero-visual:before{top:14px;right:14px;font-size:8px}.visual-card{left:14px;right:14px;bottom:14px;padding:13px 14px}.visual-card b{font-size:14px}
  .benefit-grid{grid-template-columns:1fr 1fr;gap:0;padding:10px 0}.benefit{padding:13px 8px;border-right:0;border-bottom:1px solid #e5edf2}.benefit:nth-last-child(-n+2){border-bottom:0}.benefit b{font-size:12px}.benefit span{font-size:11px}
  .simple-catalog-flow #catalogo{padding-top:32px}.simple-head h2{font-size:30px}.simple-head p{font-size:15px}.simple-choice{border-radius:16px;box-shadow:0 9px 26px rgba(4,38,66,.08)}.simple-copy b{font-size:19px}.simple-image{background:linear-gradient(145deg,#eef7fb,#e7eff3)}
  .darkband{padding:45px 0}.darkgrid h2{font-size:30px}.drawer-panel,.modal-panel,.access-panel{border-radius:0}
}

/* V2: composizione editoriale con immagine architettonica dedicata. */
.hero>.container{max-width:1480px}
.hero-grid{grid-template-columns:minmax(430px,.78fr) minmax(620px,1.22fr);gap:64px}
.hero-copy{z-index:2}
.hero-visual{min-height:640px;margin:28px 0;box-shadow:0 34px 90px rgba(4,27,46,.22)}
.hero-img{object-position:center center}
.visual-card{max-width:390px;right:auto}
.visual-card b{font-size:18px;letter-spacing:-.02em}
@media(max-width:1100px){.hero-grid{grid-template-columns:.9fr 1.1fr;gap:34px}.hero h1{font-size:60px}}
@media(max-width:900px){.hero-grid{grid-template-columns:1fr}.hero-visual{min-height:430px;margin-top:0}.hero-img{object-position:60% center}}
@media(max-width:600px){.hero-visual{min-height:320px}.hero-img{object-position:62% center}.visual-card{max-width:none}}

/* Testata e carrello: controlli separati e leggibili a ogni larghezza. */
.nav>div:last-child{display:flex!important;align-items:center!important;justify-content:flex-end;gap:10px!important;min-width:0}
#financeNavBtn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 16px!important;border:1px solid #b9d5e4;background:#fff;color:var(--brand-deep);font-size:12px;font-weight:900;line-height:1;border-radius:999px!important}
#financeNavBtn:after{content:none!important;display:none!important}
.cart{position:relative;flex:0 0 auto;min-height:46px;white-space:nowrap}
.cart .count{flex:0 0 22px}
.drawer{z-index:60}.drawer-panel{width:min(480px,100vw);box-shadow:-24px 0 70px rgba(4,27,46,.22)}
@media(min-width:601px){.cart:before{content:"🛒";filter:grayscale(1) brightness(0) invert(1);font-size:18px;line-height:1}.drawer-panel{padding:30px}}
@media(max-width:600px){
  .nav{display:grid;grid-template-columns:minmax(104px,1fr) auto;gap:8px!important}
  .nav .brand{min-width:0}.navlinks,.nav .phone,.nav .account-btn,.nav a.admin-btn,.nav .theme-button{display:none!important}
  .nav>div:last-child{gap:7px!important}
  #financeNavBtn{width:46px;min-width:46px;height:46px;min-height:46px;padding:0!important;font-size:0!important}
  #financeNavBtn:before{content:"€";font-size:20px;font-weight:900;color:var(--brand-deep)}
  .cart{width:58px!important;min-width:58px!important;height:46px!important;min-height:46px!important;padding:0 12px!important;border-radius:999px!important;font-size:0!important;overflow:visible}
  .cart:before{content:""!important;display:block!important;width:24px!important;height:24px!important;background:#fff!important;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 3h2l2.2 10.2a2 2 0 0 0 2 1.6h7.9a2 2 0 0 0 1.9-1.4L21 7H7M10 20a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm9 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat!important;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 3h2l2.2 10.2a2 2 0 0 0 2 1.6h7.9a2 2 0 0 0 1.9-1.4L21 7H7M10 20a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm9 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat!important}
  .cart .count{position:absolute!important;top:-7px!important;right:-5px!important;margin:0!important;min-width:22px!important;width:22px!important;height:22px!important;font-size:11px!important;box-shadow:0 3px 10px rgba(4,27,46,.22)}
  .drawer-panel{width:100vw;max-width:100vw;padding:22px 18px 32px}
  .drawer-panel .modal-head{position:sticky;top:-22px;z-index:2;margin:-22px -18px 10px;padding:20px 18px 12px;background:#fff;border-bottom:1px solid #e2ebf0}
}
