:root{--ink:#172024;--muted:#687173;--red:#bd1830;--red-deep:#9f1428;--mist:#f5f5f2;--warm:#edede9;--line:#dedfda;--dark:#1b252a;--white:#fff;--max:1330px}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:92px}body{margin:0;background:#fff;color:var(--ink);font-family:Manrope,'Helvetica Neue',Arial,sans-serif;-webkit-font-smoothing:antialiased}body.lock{overflow:hidden}img{max-width:100%;display:block}a{color:inherit;text-decoration:none}button{font:inherit;cursor:pointer}::selection{background:var(--red);color:white}.wrap{max-width:var(--max);padding:0 52px;margin:0 auto}.skip{position:absolute;z-index:1000;top:-100px;left:10px;background:white;padding:12px}.skip:focus{top:10px}.header{position:relative;z-index:60;background:white;box-shadow:0 2px 18px #0000000a}.microbar{height:31px;background:#192124;color:#d4d7d5}.microbar-inner{height:100%;display:flex;justify-content:space-between;align-items:center;font-size:9px;letter-spacing:.14em;font-weight:800}.microbar a{color:white}.microbar a b{color:#ec6476;font-size:15px;margin-left:10px}.header-inner{height:92px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:flex;gap:12px;align-items:center}.brand img{width:61px;height:61px;object-fit:contain}.brand-txt strong,.footer-brand strong{display:block;font-weight:800;letter-spacing:.07em;font-size:23px;line-height:1.15}.brand-txt small,.footer-brand small{display:block;font-size:10px;letter-spacing:.30em;font-weight:800;color:#707677;margin-top:6px}.navigation{display:flex;align-items:center;gap:32px}.navigation>a{font-size:11px;letter-spacing:.025em;font-weight:800;transition:color .2s}.navigation>a:not(.nav-contact):hover{color:var(--red)}.navigation .nav-contact{background:var(--red);color:#fff;padding:17px 21px;display:flex;gap:20px;align-items:center}.navigation .nav-contact:hover{background:var(--red-deep)}.nav-contact span{font-size:18px}.hamb{display:none;border:0;background:transparent;width:44px;height:44px;padding:10px}.hamb span{display:block;height:2px;background:#1c2425;margin:5px 0;transition:transform .2s}.hero{position:relative;min-height:620px;height:clamp(650px,calc(100vh - 123px),820px);background:#26353b;color:white;overflow:hidden}.hero-slides,.slide{position:absolute;inset:0}.slide{opacity:0;transition:opacity 850ms ease;pointer-events:none}.slide.active{opacity:1;pointer-events:auto}.slide img{width:100%;height:100%;object-fit:cover;filter:saturate(.77) contrast(1.04);transform:scale(1.035);transition:transform 6s ease}.slide.active img{transform:scale(1)}.hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,#091820ec 0%,#10232bdc 24%,#14232b73 59%,#14232b25 100%),linear-gradient(0deg,#10191e8e 0%,transparent 46%)}.hero-body{position:relative;height:100%;display:flex;align-items:center;padding-bottom:65px}.hero-content{margin-top:-10px;max-width:820px}.hero-overline{font-size:11px;letter-spacing:.22em;font-weight:800;color:#f3efef;display:flex;align-items:center;gap:14px;margin-bottom:27px}.hero-overline i{width:40px;height:3px;background:#e6334b;display:inline-block}.hero h1{font-size:clamp(60px,7.1vw,111px);letter-spacing:-.074em;line-height:.99;margin:0 0 31px;font-weight:700;max-width:950px}.hero h1 em{font-family:Georgia,'Times New Roman',serif;font-style:italic;font-weight:400;letter-spacing:-.06em;color:white}.hero p{max-width:510px;font-size:16px;color:#e7eaea;line-height:1.83;margin:0 0 34px}.hero-actions{display:flex;align-items:center;gap:33px;flex-wrap:wrap}.btn{min-height:56px;display:inline-flex;align-items:center;justify-content:space-between;gap:36px;padding:18px 23px;font-size:11px;font-weight:800;letter-spacing:.09em;text-transform:uppercase;transition:transform .2s,background .2s}.btn:hover{transform:translateY(-3px)}.btn span,.btn b{font-size:20px;font-weight:400}.btn-red{background:var(--red);color:white}.btn-red:hover{background:#981529}.hero-link{font-size:11px;letter-spacing:.075em;text-transform:uppercase;font-weight:800;border-bottom:1px solid #ffffffa8;padding:17px 0}.hero-link span{font-size:19px;padding-left:23px}.hero-bottom{position:absolute;bottom:0;left:0;right:0;z-index:3;border-top:1px solid #ffffff40;background:#14252a35}.hero-bottom-inner{height:80px;display:flex;align-items:center;justify-content:space-between}.slide-select{display:flex;gap:17px;align-items:center}.slide-dot{padding:10px 0;border:0;background:transparent;color:#d0d5d3;display:flex;gap:12px;align-items:center;opacity:.65;font-size:11px;font-weight:800}.slide-dot i{height:2px;width:35px;background:#ffffff8c}.slide-dot.active{opacity:1;color:white}.slide-dot.active i{background:#e9445d}.hero-controls{display:flex;align-items:center;gap:9px}.hero-controls button{border:1px solid #ffffff7a;color:white;background:#ffffff16;width:45px;height:45px;font-size:19px}.hero-controls button:hover{background:var(--red)}.hero-caption{color:#efefee;letter-spacing:.11em;font-size:10px;font-weight:700;margin-right:22px}.hero-caption b{color:#e23351;padding:0 8px}.hero-side{position:absolute;right:17px;top:50%;font-size:9px;letter-spacing:.25em;font-weight:800;writing-mode:vertical-rl;opacity:.8;transform:translateY(-50%)}.red-rule{height:7px;background:#ecede8}.red-rule span{display:block;height:100%;width:17%;background:var(--red)}.section{padding:112px 0}.eyebrow{font-size:11px;letter-spacing:.18em;color:var(--red);font-weight:800;display:flex;gap:13px;align-items:center;text-transform:uppercase}.eyebrow i{width:27px;height:2px;background:currentColor;display:inline-block}.intro{background:#fff}.intro-layout{display:grid;grid-template-columns:1.14fr .86fr;gap:85px;align-items:start}.intro h2,.section h2,.forwhom h2,.cta-strip h2{font-size:clamp(38px,4.3vw,66px);font-weight:700;letter-spacing:-.063em;line-height:1.13;margin:22px 0 0}.intro h2 em,.section h2 em,.forwhom h2 em,.cta-strip h2 em{font-family:Georgia,serif;font-weight:400;letter-spacing:-.057em}.intro-copy{padding-top:34px}.intro-copy p{font-size:16px;line-height:1.92;color:#586264;margin:0 0 24px}.intro-copy strong{color:var(--ink)}.text-link{display:inline-flex;align-items:center;justify-content:space-between;gap:40px;border-bottom:1px solid #323d3c;padding:10px 0;font-size:11px;letter-spacing:.07em;font-weight:800;text-transform:uppercase}.text-link span{font-size:19px;color:var(--red)}.services{background:var(--mist)}.section-head{display:flex;align-items:end;justify-content:space-between;gap:35px;margin-bottom:52px}.section-head p{max-width:335px;font-size:14px;line-height:1.85;color:#667173;margin:0 0 7px}.service-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.service-card{position:relative;background:white;display:flex;flex-direction:column;min-width:0;box-shadow:0 3px 12px #00000008;transition:transform .2s,box-shadow .2s}.service-card:hover{transform:translateY(-7px);box-shadow:0 15px 26px #00000018}.service-num{height:54px;display:flex;align-items:center;justify-content:space-between;padding:0 22px;color:#6c7776;font-weight:800;font-size:11px;letter-spacing:.08em}.service-num span{font-size:19px;color:var(--red)}.service-image{height:190px;overflow:hidden;background:#c6cfce}.service-image img{width:100%;height:100%;object-fit:cover;transition:transform .35s}.service-card:hover .service-image img{transform:scale(1.05)}.service-copy{padding:25px 23px 24px;flex:1;display:flex;flex-direction:column}.service-copy h3{font-size:22px;letter-spacing:-.05em;line-height:1.2;margin:0 0 15px}.service-copy p{font-size:12px;line-height:1.75;color:#697473;flex:1;margin:0 0 22px}.service-copy>span{border-top:1px solid #e0e4e2;display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:9px;letter-spacing:.1em;font-weight:900;padding-top:17px}.service-copy>span b{font-size:19px;color:var(--red)}.forwhom{background:#1b272b;color:white;padding:115px 0}.forwhom-head{display:flex;align-items:end;justify-content:space-between;gap:30px}.eyebrow-light{color:#e99baa}.forwhom h2{margin-top:22px}.forwhom-head p{font-size:14px;line-height:1.85;color:#b8c4c4;max-width:380px;margin:0 0 6px}.audience-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:17px;margin-top:51px}.audience-card{min-height:318px;border:1px solid #536064;padding:27px 30px;display:flex;flex-direction:column;justify-content:space-between;background:linear-gradient(155deg,#ffffff0b,#ffffff03);transition:background .2s,border-color .2s}.audience-card:hover{background:#b2182d;border-color:#b2182d}.aud-num{font-size:10px;letter-spacing:.15em;font-weight:800;color:#bac9c9}.audience-card h3{font-size:39px;letter-spacing:-.05em;margin:0 0 15px}.audience-card p{font-size:13px;line-height:1.8;color:#c8d2d0;max-width:290px;margin:0}.aud-more{font-size:10px;font-weight:800;letter-spacing:.11em;display:flex;justify-content:space-between;align-items:center;border-top:1px solid #637174;padding-top:17px}.aud-more b{font-size:20px;font-weight:400}.portfolio{background:#fff}.portfolio-head{margin-bottom:38px}.filters{display:flex;gap:9px;flex-wrap:wrap;margin-bottom:25px}.filter{font-size:11px;letter-spacing:.04em;font-weight:700;border:1px solid #dce0de;color:#52605f;background:#fff;padding:12px 18px;transition:all .2s}.filter.active,.filter:hover{background:#1f282b;color:white;border-color:#1f282b}.filter span{font-size:10px;margin-left:8px;color:#bdc6c3}.portfolio-grid{display:grid;grid-template-columns:1.3fr .9fr .9fr;gap:17px}.work{border:0;padding:0;background:#263139;color:white;text-align:left;display:flex;align-items:end;position:relative;min-height:300px;overflow:hidden}.work-wide{min-height:490px;grid-column:span 2}.work:not(.work-wide){min-height:490px}.work img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .55s}.work:hover img{transform:scale(1.05)}.work-overlay{position:absolute;inset:0;background:linear-gradient(0deg,#0a131de0,transparent 70%)}.work-label{position:relative;display:flex;flex-direction:column;gap:11px;padding:30px;z-index:2}.work-label small{font-size:10px;font-weight:800;letter-spacing:.13em;color:#eceeee}.work-label strong{font-size:clamp(24px,2.8vw,38px);line-height:1.12;letter-spacing:-.05em;font-weight:700}.work-arrow{position:absolute;top:24px;right:24px;border:1px solid #ffffffc2;border-radius:50%;width:41px;height:41px;display:grid;place-items:center;z-index:2;font-size:19px}.work[hidden]{display:none}.portfolio-note{display:flex;align-items:start;justify-content:space-between;gap:24px;font-size:11px;color:#7a8583;margin-top:23px;line-height:1.6}.portfolio-note span{max-width:650px}.portfolio-note a{color:var(--ink);font-weight:800;white-space:nowrap}.portfolio-note b{color:var(--red);font-size:16px}.method{background:#efefeb}.method-layout{display:grid;grid-template-columns:1fr 1fr;gap:120px}.method-left>p{line-height:1.9;color:#62706f;font-size:16px;max-width:470px;margin:27px 0 33px}.btn-outline{border:1px solid var(--ink)}.btn-outline:hover{background:var(--ink);color:white}.method-steps{padding-top:13px}.step{display:grid;grid-template-columns:65px 1fr;gap:20px;padding:26px 0 30px;border-bottom:1px solid #cbd0cc}.step:first-child{padding-top:0}.step>span{font-size:12px;font-weight:800;color:var(--red);padding-top:5px}.step h3{font-size:23px;letter-spacing:-.04em;margin:0 0 12px}.step p{color:#667170;line-height:1.8;font-size:13px;margin:0}.cta-strip{background:var(--red);color:white;padding:67px 0}.cta-strip-inner{display:flex;align-items:center;justify-content:space-between;gap:35px}.cta-strip-inner>div>span{font-size:10px;letter-spacing:.17em;font-weight:800;color:#ffe7e9}.cta-strip h2{font-size:clamp(31px,3.5vw,51px);margin-top:14px}.btn-white{background:white;color:#1c2626}.contacts{background:#fff}.contact-layout{display:grid;grid-template-columns:1fr 1fr;gap:95px}.contact-intro>p{line-height:1.85;color:#66706f;max-width:460px;margin:29px 0 32px}.contact-big{display:inline-flex;align-items:center;gap:24px;padding-bottom:12px;border-bottom:2px solid var(--red);font-weight:800;font-size:clamp(22px,2.7vw,37px);letter-spacing:-.04em}.contact-big b{font-weight:400;color:var(--red);font-size:26px}.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:34px 24px;padding-top:13px}.contact-grid>div{border-top:1px solid #d9ddda;padding-top:16px;min-width:0}.contact-grid small{display:block;color:var(--red);font-weight:900;font-size:10px;letter-spacing:.16em;margin-bottom:15px}.contact-grid a,.contact-grid address{display:block;overflow-wrap:anywhere;color:#354144;font-weight:650;font-style:normal;font-size:13px;line-height:1.8}.contact-grid a:hover{color:var(--red)}.contact-grid .directions{margin-top:10px;font-size:11px;border-bottom:1px solid var(--ink);width:max-content}.footer{background:#182226;color:#d3d9d7}.footer-main{display:grid;grid-template-columns:1fr 1fr auto;align-items:center;gap:40px;padding-top:38px;padding-bottom:38px}.footer-brand{display:flex;align-items:center;gap:11px}.footer-brand img{width:54px;height:54px;background:white;padding:3px}.footer-brand strong{font-size:20px;color:white}.footer-brand small{font-size:9px;color:#bdc9c5}.footer-main>div{font-size:12px;line-height:1.8}.to-top{font-size:11px;letter-spacing:.12em;font-weight:800}.footer-bottom{border-top:1px solid #ffffff2e;padding-top:23px;padding-bottom:25px;display:flex;justify-content:space-between;gap:25px;font-size:10px;color:#aebbb9;line-height:1.6}.modal-back{position:fixed;inset:0;z-index:200;background:#0a1315ca;display:none;align-items:center;justify-content:center;padding:24px}.modal-back.show{display:flex}.modal{position:relative;display:grid;grid-template-columns:1.1fr 1fr;width:min(900px,100%);background:white;color:var(--ink);box-shadow:0 25px 90px #0006;max-height:90vh;overflow:auto}.modal>img{width:100%;height:460px;object-fit:cover}.modal-content{padding:50px 42px;align-self:center}.modal-content h3{font-size:38px;letter-spacing:-.06em;line-height:1.1;margin:25px 0}.modal-content p{line-height:1.85;color:#566160}.modal-content small{display:block;font-size:11px;line-height:1.7;color:#7c8683}.modal-close{position:absolute;right:13px;top:13px;background:#fff;border:0;width:42px;height:42px;font-size:26px;z-index:5}.modal-close:hover{background:var(--red);color:white}a:focus-visible,button:focus-visible{outline:3px solid #ed5268;outline-offset:4px}
@media(max-width:1120px){.navigation{gap:17px}.wrap{padding:0 33px}.service-grid{grid-template-columns:repeat(2,1fr)}.service-image{height:250px}.portfolio-grid{grid-template-columns:repeat(2,1fr)}.work-wide{grid-column:span 1}.work,.work-wide,.work:not(.work-wide){min-height:440px}.contact-layout,.method-layout{gap:55px}.hero-side{display:none}}
@media(max-width:760px){html{scroll-padding-top:75px}.microbar{display:none}.wrap{padding:0 23px}.header-inner{height:80px}.brand img{width:49px;height:49px}.brand-txt strong{font-size:18px}.brand-txt small{font-size:8px}.hamb{display:block;position:relative;z-index:90}.navigation{display:none;position:absolute;left:0;right:0;top:80px;padding:18px 23px 26px;background:white;box-shadow:0 16px 24px #0002;flex-direction:column;align-items:stretch;gap:0}.navigation.open{display:flex}.navigation>a{font-size:13px;padding:15px 8px;border-bottom:1px solid #e8e9e5}.navigation .nav-contact{margin-top:13px;justify-content:space-between;padding:16px 20px}.hero{height:690px;min-height:0}.hero-body{padding-bottom:40px}.hero-content{margin-top:-15px}.hero-overline{font-size:9px;letter-spacing:.10em;gap:10px}.hero-overline i{width:22px}.hero h1{font-size:clamp(53px,12vw,80px);line-height:1.03;letter-spacing:-.067em}.hero p{font-size:14px;line-height:1.7;max-width:410px}.hero-actions{gap:17px}.btn{min-height:50px;padding:14px 18px;gap:22px}.hero-link{font-size:10px;padding:12px 0}.hero-bottom-inner{height:73px}.hero-caption{display:none}.hero-controls button{width:39px;height:39px}.slide-dot i{width:23px}.section{padding:75px 0}.intro-layout,.method-layout,.contact-layout{grid-template-columns:1fr;gap:28px}.intro h2,.section h2,.forwhom h2{font-size:clamp(36px,8vw,52px)}.intro-copy{padding-top:4px}.intro-copy p{font-size:14px}.section-head,.forwhom-head{align-items:start;flex-direction:column;gap:20px}.section-head p,.forwhom-head p{max-width:570px}.forwhom{padding:80px 0}.audience-grid{grid-template-columns:1fr;gap:11px;margin-top:35px}.audience-card{min-height:250px;padding:23px}.audience-card h3{font-size:33px}.service-grid{gap:12px}.service-image{height:180px}.service-copy{padding:19px 17px}.service-copy h3{font-size:20px}.service-num{height:42px;padding:0 17px}.portfolio-grid{grid-template-columns:1fr;gap:12px}.work,.work-wide,.work:not(.work-wide){min-height:360px}.work-label strong{font-size:33px}.portfolio-note{flex-direction:column;gap:8px}.method-steps{padding-top:8px}.method-left>p{font-size:14px}.cta-strip{padding:55px 0}.cta-strip-inner{align-items:start;flex-direction:column}.contact-grid{padding-top:10px}.footer-main{grid-template-columns:1fr;gap:22px}.footer-bottom{flex-direction:column;gap:8px}.modal{display:block}.modal>img{height:250px}.modal-content{padding:30px}.modal-content h3{font-size:28px}}
@media(max-width:470px){.wrap{padding:0 19px}.hero{height:690px}.hero h1{font-size:52px}.hero-overline{font-size:8px;letter-spacing:.05em}.hero p{font-size:13px}.hero-actions{align-items:start;flex-direction:column;gap:8px}.service-grid{grid-template-columns:1fr}.service-image{height:230px}.contact-grid{grid-template-columns:1fr;gap:20px}.contact-big{font-size:24px}.portfolio .section-head{margin-bottom:27px}.hero-bottom-inner{height:63px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}


/* Pietra + Murgia — palette integrata, struttura originale invariata. */
:root{--ivory:#FAF8F3;--sand:#E8DDCB;--stone:#C5B49A;--sage:#B4BCA5;--olive:#75836B;--forest:#38483D;--ink:#383832;--muted:#5B6055;--red:#4D6048;--red-deep:#38483D;--mist:var(--sand);--warm:var(--sage);--line:var(--stone);--dark:var(--forest);--white:var(--ivory)}
body,.header,.intro,.portfolio,.contacts,.navigation,.modal{background:var(--ivory);color:var(--ink)}
.microbar,.footer,.forwhom{background:var(--forest);color:var(--ivory)}
.microbar a b,.hero-caption b{color:var(--sage)}
.hero-overline i,.slide-dot.active i{background:var(--sage)}
.hero{background:var(--forest)}
.hero-shade{background:linear-gradient(90deg,#28352be8 0%,#38483dd9 24%,#38483d65 59%,#38483d12 100%),linear-gradient(0deg,#28352b96 0%,transparent 46%)}
.hero-bottom{background:#38483d70}
.red-rule{background:var(--sand)}.red-rule span{background:var(--olive)}
.btn-red:hover,.navigation .nav-contact:hover{background:var(--forest)}.navigation .nav-contact,.btn-red{background:#4D6048;color:white}
.services{background:var(--sand)}.service-card,.filter,.modal-close{background:var(--ivory)}
.intro-copy p,.section-head p,.service-num,.service-copy p,.method-left>p,.step p,.contact-intro>p,.contact-grid a,.contact-grid address,.portfolio-note,.modal-content p,.modal-content small,.brand-txt small{color:var(--muted)}
.service-copy>span,.step,.contact-grid>div,.filter,.navigation>a{border-color:var(--stone)}
.eyebrow-light,.aud-num,.forwhom-head p,.audience-card p,.footer-bottom,.footer-brand small,.microbar{color:var(--sand)}
.audience-card{border-color:var(--olive);background:#ffffff06}.audience-card:hover{background:#4D6048;border-color:var(--sage)}.aud-more{border-color:var(--olive)}
.filter.active,.filter:hover{background:var(--forest);color:white;border-color:var(--forest)}.filter span{color:inherit}
.method{background:var(--sage)}.method .step{border-color:#68765e}.method .step p,.method .method-left>p{color:var(--ink)}
.cta-strip{background:var(--sand);color:var(--ink)}.cta-strip-inner>div>span{color:#4D6048}.btn-white{background:var(--forest);color:var(--ivory)}
.footer-brand img,.header .brand img{background:white}.footer-brand img{padding:3px}
.work-overlay{background:linear-gradient(0deg,#28352bee,transparent 75%)}
.hamb span{background:var(--ink)}.hero-controls button:hover{background:#4D6048}a:focus-visible,button:focus-visible{outline-color:#4D6048}

/* Fotografie locali: impaginazione e palette approvate */
.slide:nth-child(1) img{object-position:62% 55%;filter:none}.slide:nth-child(2) img{object-position:center 53%;filter:none}.slide:nth-child(3) img{object-position:center 48%;filter:none}
.hero-shade{background:linear-gradient(90deg,#233326d9 0%,#38483d98 36%,#38483d16 75%,transparent 100%),linear-gradient(0deg,#28352b8c 0%,transparent 28%)}
.work[data-filter="progetto"] img{object-position:50% 62%}.work[data-filter="recupero"] img{object-position:50% 52%}.work[data-name="Recupero funzionale e interventi strutturali"] img{object-position:center 45%}.work[data-name="Catasto e ricerche storiche"] img{object-position:50% 50%}
.modal>img{object-fit:contain;background:#e8ddcb;height:min(68vh,550px)}.gallery-controls{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:24px;border-top:1px solid var(--stone);padding-top:16px;color:var(--forest);font-size:12px;font-weight:700}.gallery-controls[hidden]{display:none}.gallery-controls button{border:1px solid var(--stone);background:var(--ivory);color:var(--forest);width:42px;height:42px;font-size:20px}.gallery-controls button:hover{background:var(--forest);color:white}.work[hidden]{display:none}
@media(max-width:760px){.modal>img{height:min(45vh,350px)}.hero-shade{background:linear-gradient(90deg,#233326c9,#38483d38),linear-gradient(0deg,#28352bac,transparent 45%)}}

/* Aree professionali */
.service-image{position:relative}.illustration-label{position:absolute;bottom:10px;left:10px;background:var(--ivory);color:var(--forest);font-size:10px;padding:5px 8px}.service-copy h3{overflow-wrap:break-word}.service-copy p{font-size:13px}.service-card:focus-visible{outline:3px solid var(--forest);outline-offset:2px}@media(min-width:1121px){.service-grid .service-card:nth-last-child(-n+2){grid-column:span 2}.service-grid .service-card:nth-last-child(-n+2) .service-image{height:240px}}
.service-detail-hero{background:var(--sand);padding:72px 0}.service-detail-layout{display:grid;grid-template-columns:1.1fr 1fr;gap:64px;align-items:center}.service-detail-hero h1{font-size:clamp(36px,5vw,74px);line-height:1.04;letter-spacing:-.065em;margin:23px 0;color:var(--forest)}.service-detail-hero p,.detail-description{font-size:17px;line-height:1.8;color:var(--ink)}.service-detail-hero img{width:100%;max-height:470px;object-fit:cover}.detail-content h2{font-size:36px;letter-spacing:-.04em;color:var(--forest);margin:0 0 24px}.detail-content{padding:72px 0}.detail-description{max-width:850px}.detail-list{display:grid;grid-template-columns:1fr 1fr;gap:0 42px;list-style:none;padding:0;margin:32px 0}.detail-list li{border-top:1px solid var(--stone);padding:22px 0;font-size:16px;line-height:1.5}.detail-list li::before{content:'↗';color:var(--forest);margin-right:12px}.detail-links{display:flex;flex-wrap:wrap;gap:20px;align-items:center}.detail-service-nav{display:flex;flex-wrap:wrap;gap:10px;margin-top:36px}.detail-service-nav a{border:1px solid var(--stone);padding:10px 15px;font-size:12px}.detail-service-nav a:hover{background:var(--sand)}.detail-service-nav a[aria-current]{background:var(--forest);color:white}.service-preview-modal .modal-content{padding:36px}.service-preview-modal .detail-list{display:block;margin:15px 0}.service-preview-modal .detail-list li{padding:10px 0;font-size:13px}.service-preview-modal .modal-content h3{font-size:32px}.service-preview-modal .modal-content p{font-size:14px;line-height:1.6}@media(max-width:760px){.service-detail-layout{grid-template-columns:1fr;gap:24px}.service-detail-hero,.detail-content{padding:42px 0}.detail-list{grid-template-columns:1fr}.detail-content h2{font-size:29px}}

/* Fotografie dei servizi */
.service-photo-extra{margin:34px 0;max-width:850px}.service-photo-extra img{display:block;width:100%;max-height:480px;object-fit:contain;background:var(--sand)}.service-photo-extra figcaption,.photo-note{font-size:11px;color:var(--ink);margin-top:8px;opacity:.86}.service-preview-modal .service-photo-extra{margin:24px 0}.service-preview-modal .service-photo-extra img{max-height:320px}.service-photo-extra[hidden]{display:none}

/* Denominazione completa dello studio */
.brand{flex-shrink:0}.brand-txt strong,.footer-brand strong{white-space:nowrap}.brand-txt strong{font-size:clamp(17px,1.65vw,23px)}@media(max-width:1120px) and (min-width:761px){.brand-txt strong{font-size:17px}}@media(max-width:760px){.brand-txt strong{font-size:clamp(14px,3.8vw,18px);letter-spacing:.04em}.header-inner{gap:10px}.brand{gap:8px}}@media(max-width:380px){.brand img{width:43px;height:43px}.brand-txt strong{font-size:14px}.footer-brand strong{font-size:16px}}

/* COLLEGAMENTO FACEBOOK - palette Alta Murgia */
.navigation .nav-facebook{display:inline-flex;align-items:center;justify-content:center;gap:5px;color:#38483D;padding:10px 2px;white-space:nowrap}
.navigation .nav-facebook svg{width:16px;height:16px;flex:none}
.navigation .nav-facebook span{font-size:11px;font-weight:800}
.navigation .nav-facebook:hover{color:#75836B}
.contact-facebook{display:inline-flex!important;align-items:center;gap:7px;color:#38483D}
.contact-facebook svg{width:15px;height:15px;flex-shrink:0}
.footer-facebook{display:inline-flex;gap:6px;align-items:center;margin-top:7px;color:#e8ddcb;font-size:12px;text-decoration:none}
.footer-facebook:hover{color:white;text-decoration:underline}
.footer-facebook svg{height:14px;width:14px;flex:none}
@media(min-width:761px) and (max-width:1200px){.navigation{gap:14px}}
@media(max-width:760px){.navigation .nav-facebook{justify-content:flex-start;padding:15px 8px;border-bottom:1px solid #e8e9e5;gap:12px}.navigation .nav-facebook span{font-size:13px}}


.projects-grid-home{grid-template-columns:repeat(3,minmax(0,1fr))}
.projects-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:32px}
.project-card{background:#fff;box-shadow:0 3px 12px #00000008;display:flex;flex-direction:column;overflow:hidden}
.project-card img{width:100%;height:240px;object-fit:cover}
.project-copy{padding:22px 22px 24px}
.project-copy small{display:block;color:var(--red);font-weight:900;font-size:10px;letter-spacing:.16em;margin-bottom:12px}
.project-copy h3{font-size:24px;letter-spacing:-.04em;line-height:1.18;margin:0 0 12px;color:var(--ink)}
.project-copy p{font-size:13px;line-height:1.75;color:#697473;margin:0}
@media(max-width:1120px){.projects-grid-home,.projects-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.projects-grid-home,.projects-grid{grid-template-columns:1fr}.project-card img{height:220px}}

/* Sezione progetti: tre card della stessa larghezza anche quando i servizi usano card doppie. */
.projects-grid-home .service-card:nth-last-child(-n+2){grid-column:auto}
@media(max-width:760px){.projects-grid-home .service-card:nth-last-child(-n+2){grid-column:auto}}

/* Lo Studio — pagina dedicata, coerente con la palette Murgia */
.intro-links{display:flex;align-items:center;flex-wrap:wrap;gap:12px 28px}
.studio-hero{background:var(--ivory);padding:66px 0 96px}
.studio-hero-grid{display:grid;grid-template-columns:.95fr 1.05fr;gap:56px;align-items:center}
.studio-hero-copy{padding:20px 0}.studio-hero h1{font-size:clamp(48px,5.6vw,87px);font-weight:700;letter-spacing:-.077em;line-height:1.03;color:var(--forest);margin:27px 0 31px}
.studio-hero h1 em,.studio-about h2 em,.studio-approach h2 em,.studio-territory h2 em,.studio-bottom-cta h2 em{font-family:Georgia,serif;font-weight:400;letter-spacing:-.045em}
.studio-hero-copy>p:not(.eyebrow){font-size:17px;line-height:1.8;max-width:490px;color:var(--muted);margin:0 0 29px}
.studio-hero-photo{margin:0;position:relative;min-height:490px;background:var(--sand);overflow:hidden}
.studio-hero-photo img{width:100%;height:530px;object-fit:cover;object-position:center 58%}
.studio-hero-photo figcaption{position:absolute;bottom:0;left:0;right:0;background:linear-gradient(0deg,#28352bcb,transparent);padding:46px 24px 24px;color:white;font-size:10px;font-weight:800;letter-spacing:.16em;text-transform:uppercase}
.studio-about{background:var(--sand)}.studio-about-grid{display:grid;grid-template-columns:1fr 1fr;gap:105px}.studio-about h2,.studio-approach h2,.studio-territory h2{font-size:clamp(39px,4.5vw,65px);letter-spacing:-.063em;line-height:1.13;color:var(--forest);margin:22px 0}
.studio-prose p{font-size:16px;line-height:1.93;color:var(--ink);margin:0 0 24px}.studio-prose strong{color:var(--forest)}
.studio-photo-band{display:grid;grid-template-columns:repeat(3,1fr);gap:0;background:var(--forest)}.studio-photo{height:330px;position:relative;overflow:hidden}.studio-photo:after{content:'';position:absolute;inset:40% 0 0;background:linear-gradient(0deg,#28352baf,transparent)}.studio-photo img{width:100%;height:100%;object-fit:cover;transition:transform .4s ease}.studio-photo:hover img{transform:scale(1.03)}.studio-photo span{position:absolute;bottom:25px;left:30px;color:#fff;font-weight:800;font-size:11px;letter-spacing:.16em;z-index:1}
.studio-approach{background:var(--ivory)}.studio-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.studio-steps article{border-top:2px solid var(--forest);padding:22px 0 30px}.studio-steps b{color:var(--olive);font-size:12px}.studio-steps h3{font-size:24px;letter-spacing:-.045em;line-height:1.2;margin:29px 0 14px;color:var(--forest)}.studio-steps p{font-size:13px;line-height:1.75;color:var(--muted)}
.studio-territory{background:var(--sage)}.studio-territory-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:70px;align-items:center}.studio-territory img{height:510px;width:100%;object-fit:cover}.studio-territory p:not(.eyebrow){font-size:16px;line-height:1.95;color:var(--ink);margin:20px 0 34px}
.studio-bottom-cta{background:var(--forest);color:var(--ivory);padding:72px 0}.studio-bottom-inner{display:flex;align-items:center;justify-content:space-between;gap:34px}.studio-bottom-inner span{font-size:10px;letter-spacing:.16em;color:var(--sand);font-weight:800}.studio-bottom-inner h2{font-size:clamp(34px,4vw,59px);letter-spacing:-.06em;line-height:1.12;margin:16px 0 0}.studio-bottom-cta .btn-white{background:var(--sand);color:var(--forest);white-space:nowrap}
@media(max-width:1120px){.studio-hero-grid{gap:30px}.studio-about-grid{gap:45px}.studio-steps{grid-template-columns:repeat(2,1fr)}.studio-territory-grid{gap:35px}}
@media(max-width:760px){.studio-hero{padding:35px 0 65px}.studio-hero-grid,.studio-about-grid,.studio-territory-grid{grid-template-columns:1fr;gap:26px}.studio-hero h1{font-size:clamp(45px,10vw,63px)}.studio-hero-photo{min-height:300px}.studio-hero-photo img{height:330px}.studio-photo-band{grid-template-columns:1fr}.studio-photo{height:230px}.studio-steps{grid-template-columns:1fr 1fr;gap:10px 24px}.studio-territory img{height:310px}.studio-bottom-inner{flex-direction:column;align-items:flex-start}.studio-prose p{font-size:14px}}
@media(max-width:420px){.studio-steps{grid-template-columns:1fr}}

/* Storia dello studio – integrazione, palette e layout originali preservati */
.studio-story-heading .studio-story-pull{max-width:390px;padding-top:18px;margin-top:35px;border-top:1px solid var(--stone);color:var(--olive);font-size:18px;line-height:1.65;font-family:Georgia,serif;font-style:italic}
.studio-milestones{padding:66px 0 76px;background:var(--ivory)}
.studio-milestones>.wrap>.eyebrow{margin-bottom:33px}
.studio-milestones-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.studio-milestone{border-top:2px solid var(--forest);padding:23px 10px 10px 0;display:flex;flex-direction:column;gap:22px}
.milestone-value{color:var(--forest);font-size:clamp(48px,6vw,86px);font-weight:700;letter-spacing:-.08em;line-height:1}
.milestone-unit{font-size:.30em;font-weight:500;letter-spacing:-.02em}
.milestone-detail h3{font-size:20px;letter-spacing:-.03em;color:var(--forest);margin:0 0 8px}
.milestone-detail p{font-size:14px;line-height:1.75;color:var(--muted);margin:0;max-width:310px}
@media(max-width:760px){.studio-milestones{padding:49px 0 54px}.studio-milestones-grid{grid-template-columns:1fr;gap:17px}.studio-milestone{flex-direction:row;gap:25px;align-items:start}.milestone-value{min-width:125px;font-size:49px}.milestone-detail h3{font-size:18px}.studio-story-heading .studio-story-pull{margin-top:22px;padding-top:15px;font-size:16px}}
@media(max-width:380px){.studio-milestone{flex-direction:column;gap:9px}.milestone-value{min-width:0}}


/* PORTFOLIO - nuova fase. La grafica esistente viene mantenuta. */
.portfolio-landing{padding:68px 0 94px;background:var(--ivory)}
.portfolio-landing-grid{display:grid;grid-template-columns:.92fr 1.08fr;gap:60px;align-items:center}
.portfolio-landing-copy{padding:18px 0}
.portfolio-landing-copy .eyebrow{margin-top:38px}
.portfolio-landing h1,.case-hero h1{font-size:clamp(45px,5.6vw,86px);letter-spacing:-.073em;line-height:1.07;color:var(--forest);margin:23px 0 27px}
.portfolio-landing h1 em,.portfolio-future-section h2 em,.case-hero h1 em,.case-overview h2 em,.case-photo-section h2 em,.case-end-section h2 em{font-family:Georgia,serif;font-weight:400}
.portfolio-landing-copy>p:not(.eyebrow){font-size:17px;color:var(--muted);line-height:1.83;max-width:490px;margin:0 0 30px}
.portfolio-landing-image,.case-hero figure{position:relative;overflow:hidden;margin:0;background:var(--sand)}
.portfolio-landing-image img{display:block;width:100%;height:525px;object-fit:cover}
.portfolio-landing-image figcaption,.case-hero figcaption{position:absolute;bottom:0;left:0;right:0;color:#fff;letter-spacing:.12em;font-size:10px;font-weight:800;background:linear-gradient(0deg,#1e302bb9,transparent);padding:50px 24px 25px}
.portfolio-gallery-section{background:var(--sand);padding:88px 0 90px;scroll-margin-top:84px}
.portfolio-filterbar{display:flex;gap:8px 24px;flex-wrap:wrap;margin:30px 0 30px;padding-bottom:17px;border-bottom:1px solid var(--stone)}
.portfolio-filter{border:0;background:transparent;color:var(--muted);font-weight:800;letter-spacing:.005em;font-size:13px;padding:12px 0;cursor:pointer;border-bottom:2px solid transparent;transition:color .2s,border-color .2s}
.portfolio-filter:hover{color:var(--forest)}
.portfolio-filter.active{color:var(--forest);border-bottom-color:var(--forest)}
.portfolio-filter span{font-size:10px;font-weight:800;padding-left:5px}
.portfolio-photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.portfolio-photo-card{background:var(--ivory);min-width:0}
.portfolio-photo-card[hidden]{display:none!important}
.portfolio-image-open{display:block;width:100%;border:0;background:#f4f0ea;cursor:pointer;position:relative;overflow:hidden;padding:0;text-align:inherit}
.portfolio-image-open img{width:100%;height:260px;object-fit:cover;display:block;transition:transform .5s ease}
.portfolio-image-open:hover img{transform:scale(1.045)}
.portfolio-image-zoom{position:absolute;bottom:15px;right:15px;display:flex;align-items:center;justify-content:center;border-radius:50%;width:44px;height:44px;background:var(--ivory);color:var(--forest);font-size:22px}
.portfolio-photo-info{padding:25px 23px 28px}.portfolio-photo-info>span{display:block;color:var(--olive);font-size:10px;letter-spacing:.13em;font-weight:900;margin-bottom:12px}
.portfolio-photo-info h3{font-size:24px;color:var(--forest);letter-spacing:-.045em;line-height:1.2;margin:0 0 12px}.portfolio-photo-info p{font-size:13px;line-height:1.75;color:var(--muted);margin:0}
.portfolio-photo-disclaimer,.case-caption-note{font-size:12px;line-height:1.7;color:var(--muted);margin:28px 0 0;max-width:900px}
.portfolio-future-section{background:var(--ivory);padding:100px 0}.portfolio-future-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:110px}
.portfolio-future-section h2,.case-overview h2,.case-photo-section h2,.case-end-section h2{font-size:clamp(38px,4.4vw,62px);line-height:1.11;letter-spacing:-.065em;color:var(--forest);margin:25px 0}
.portfolio-future-section p,.case-narrative p:not(.eyebrow),.case-end-section p:not(.eyebrow){font-size:15px;line-height:1.85;color:var(--muted);margin:0 0 23px}
.portfolio-future-points>div{display:grid;grid-template-columns:45px 1fr;column-gap:16px;border-top:1px solid var(--stone);padding:24px 0}
.portfolio-future-points span{font-size:12px;color:var(--olive);font-weight:900;grid-row:span 2}.portfolio-future-points strong{font-size:21px;letter-spacing:-.04em;color:var(--forest)}.portfolio-future-points p{grid-column:2!important;margin:7px 0 0!important;font-size:13px!important}
.portfolio-lightbox{border:0;padding:0;background:#fdfbf7;color:var(--forest);width:min(1000px,calc(100vw - 36px));max-width:1000px;max-height:94vh;box-shadow:0 30px 85px #0007}
.portfolio-lightbox::backdrop{background:#111d18de}.portfolio-lightbox-content{position:relative}
.portfolio-lightbox-media{position:relative;background:#1e2520;display:flex;align-items:center;justify-content:center;min-height:250px}
.portfolio-lightbox-media img{width:100%;max-height:74vh;object-fit:contain;display:block}
.portfolio-lightbox-prev,.portfolio-lightbox-next,.portfolio-lightbox-close{border:0;cursor:pointer;background:#fbf9f2ec;color:var(--forest);font-size:35px;display:flex;align-items:center;justify-content:center;width:45px;height:48px;position:absolute;z-index:2}
.portfolio-lightbox-prev{left:10px}.portfolio-lightbox-next{right:10px}.portfolio-lightbox-close{right:14px;top:14px;font-size:29px;width:40px;height:40px}
.portfolio-lightbox-caption{display:flex;justify-content:space-between;align-items:end;gap:20px;padding:18px 25px}
.portfolio-lightbox-caption small{font-size:10px;color:var(--olive);letter-spacing:.12em;font-weight:900}.portfolio-lightbox-caption h3{font-size:23px;margin:6px 0 0}.portfolio-lightbox-caption>span{font-size:12px;white-space:nowrap;color:var(--muted)}
/* Scheda-progetto dimostrativa: nessuna opera viene presentata come realizzata. */
.case-topbar{padding:23px 0;background:var(--ivory)}.case-topbar>.wrap{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap}.case-topbar span{font-size:10px;color:var(--olive);letter-spacing:.11em;font-weight:900}
.case-hero{padding:57px 0 90px;background:var(--sand)}.case-hero-grid{display:grid;grid-template-columns:1fr 1.03fr;gap:63px;align-items:center}
.case-hero h1{font-size:clamp(45px,5vw,75px)}.case-hero p:not(.eyebrow){font-size:16px;line-height:1.8;color:var(--muted);max-width:500px}.case-hero figure img{display:block;width:100%;height:505px;object-fit:cover}
.case-hero .case-preview-note{border-left:3px solid var(--olive);padding:12px 0 12px 17px;font-size:13px!important;margin-top:25px!important;color:var(--forest)!important}
.case-overview{background:var(--ivory)}.case-facts{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:20px;margin-bottom:90px;border-top:1px solid var(--stone);padding-top:24px}
.case-facts>div{display:flex;flex-direction:column;gap:13px}.case-facts small{font-size:10px;letter-spacing:.14em;color:var(--olive);font-weight:900}.case-facts strong{font-size:17px;font-weight:700;color:var(--forest)}
.case-narrative,.case-end-grid{display:grid;grid-template-columns:1fr 1fr;gap:90px}.case-narrative h2{max-width:520px}
.case-photo-section{padding:87px 0;background:var(--sage)}.case-photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px;margin-top:35px}.case-photo-grid figure{margin:0}.case-photo-grid img{width:100%;height:290px;object-fit:cover}.case-photo-grid figcaption{font-size:10px;color:var(--forest);font-weight:900;letter-spacing:.13em;margin-top:14px}.case-end-section{padding:92px 0;background:var(--ivory)}
@media(max-width:1120px){.portfolio-landing-grid{gap:30px}.portfolio-future-grid{gap:45px}.case-hero-grid{gap:35px}.case-narrative,.case-end-grid{gap:45px}.case-facts{grid-template-columns:repeat(3,1fr)}.portfolio-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.portfolio-landing{padding:33px 0 58px}.portfolio-landing-grid,.portfolio-future-grid,.case-hero-grid,.case-narrative,.case-end-grid{grid-template-columns:1fr;gap:26px}.portfolio-landing h1{font-size:clamp(43px,10vw,63px)}.portfolio-landing-image img{height:300px}.portfolio-gallery-section,.portfolio-future-section,.case-photo-section,.case-end-section{padding:50px 0}.portfolio-photo-grid,.case-photo-grid{grid-template-columns:1fr}.portfolio-image-open img{height:260px}.portfolio-filterbar{gap:5px 18px}.portfolio-filter{font-size:12px}.portfolio-future-grid{gap:35px}.case-hero{padding:35px 0 52px}.case-hero figure img{height:335px}.case-facts{grid-template-columns:repeat(2,1fr);gap:26px;margin-bottom:45px}.case-facts strong{font-size:15px}.case-photo-grid img{height:250px}.portfolio-lightbox-media img{max-height:70vh}}

/* PROGETTO 01 – portfolio fotografico documentato, in palette Alta Murgia */
.portfolio-featured{background:var(--ivory);padding:92px 0 104px}
.portfolio-featured-head,.case-real-gallery-heading{display:grid;grid-template-columns:1fr .65fr;gap:75px;align-items:end;margin-bottom:35px}
.portfolio-featured-head h2,.case-real-gallery h2{font-size:clamp(40px,4.7vw,67px);letter-spacing:-.066em;line-height:1.1;color:var(--forest);margin:18px 0 0}
.portfolio-featured-head h2 em,.case-real-gallery h2 em,.home-project-description h3 em{font-family:Georgia,serif;font-weight:400}
.portfolio-featured-head>p,.case-real-gallery-heading>p{font-size:15px;line-height:1.85;color:var(--muted);margin:0}
.portfolio-featured-card{display:grid;grid-template-columns:1.07fr .93fr;background:white;min-height:470px;overflow:hidden;transition:box-shadow .25s}
.portfolio-featured-card:hover{box-shadow:0 20px 60px #1529231a}
.portfolio-featured-image{position:relative;overflow:hidden}
.portfolio-featured-image img{width:100%;height:100%;min-height:470px;object-fit:cover;transition:transform .5s}
.portfolio-featured-card:hover img,.home-project-spotlight:hover img{transform:scale(1.035)}
.portfolio-featured-image>span{position:absolute;bottom:25px;left:27px;right:27px;display:flex;justify-content:space-between;color:white;letter-spacing:.15em;font-size:11px;font-weight:800;text-shadow:0 1px 8px #0008}
.portfolio-featured-copy{padding:clamp(32px,5vw,78px);display:flex;flex-direction:column;align-items:flex-start;justify-content:center}
.portfolio-featured-copy h3{font-size:clamp(31px,3.6vw,51px);line-height:1.16;letter-spacing:-.066em;color:var(--forest);margin:26px 0}
.portfolio-featured-copy p{font-size:15px;line-height:1.85;color:var(--muted);margin:0 0 36px}
.portfolio-featured-copy strong,.home-project-description strong{font-size:11px;letter-spacing:.12em;color:var(--forest);border-bottom:1px solid var(--forest);padding-bottom:9px}
.portfolio-featured-copy strong b,.home-project-description strong b{font-size:17px;margin-left:12px}
.home-project-spotlight{display:grid;grid-template-columns:1fr 1fr;margin:7px 0 43px;background:var(--ivory);min-height:365px;overflow:hidden}
.home-project-image{position:relative;overflow:hidden}.home-project-image img{width:100%;height:100%;min-height:365px;object-fit:cover;transition:transform .5s}
.home-project-image span{position:absolute;left:25px;bottom:20px;color:#fff;font-size:11px;font-weight:800;letter-spacing:.15em;text-shadow:0 1px 8px #0009}
.home-project-description{padding:clamp(27px,4vw,52px);display:flex;flex-direction:column;align-items:flex-start;justify-content:center}
.home-project-description h3{font-size:clamp(28px,3vw,42px);line-height:1.15;letter-spacing:-.055em;margin:16px 0;color:var(--forest)}
.home-project-description p{font-size:14px;line-height:1.85;color:var(--muted);margin:0 0 26px}
.case-real-hero h1{font-size:clamp(39px,4.5vw,67px);max-width:680px}
.case-real-hero .btn{margin-top:26px}.case-real-overview .case-facts{grid-template-columns:1.3fr 1.3fr .7fr .85fr 1fr}
.case-real-gallery{background:var(--sand);padding:88px 0 95px;scroll-margin-top:92px}.case-real-gallery-alt{background:var(--ivory)}
.case-real-grid{gap:18px}.case-real-photo{background:var(--ivory)}.case-real-gallery-alt .case-real-photo{background:#fff}
.case-real-grid .portfolio-image-open img{height:320px}
.case-real-grid .portfolio-photo-info{padding:23px 23px 27px}.case-real-grid .portfolio-photo-info h3{font-size:21px}
.case-real-photo-wide{grid-column:span 2}.case-real-photo-wide .portfolio-image-open img{height:320px}
@media(max-width:1120px){.case-real-overview .case-facts{grid-template-columns:repeat(3,1fr)}.portfolio-featured-head,.case-real-gallery-heading{gap:35px}}
@media(max-width:760px){.portfolio-featured{padding:54px 0 60px}.portfolio-featured-head,.case-real-gallery-heading{grid-template-columns:1fr;gap:15px}.portfolio-featured-card,.home-project-spotlight{grid-template-columns:1fr}.portfolio-featured-image img{height:310px;min-height:0}.portfolio-featured-copy{padding:27px 25px 36px}.portfolio-featured-copy h3{font-size:32px}.home-project-image img{height:290px;min-height:0}.home-project-spotlight{margin-bottom:27px}.case-real-gallery{padding:54px 0 65px}.case-real-photo-wide{grid-column:auto}.case-real-grid .portfolio-image-open img{height:290px}.case-real-overview .case-facts{grid-template-columns:repeat(2,1fr)}}

/* Slideshow Home aggiornato con le fotografie originali dello Studio. */
.slide.is-portrait .slide-ambient{position:absolute;inset:-8%;width:116%;height:116%;object-fit:cover;filter:blur(34px) brightness(.68);transform:scale(1.02);transition:none}
.slide.is-portrait .slide-main{position:absolute;right:1%;left:auto;top:0;width:60%;height:100%;object-fit:contain;object-position:center;filter:none;transform:scale(1.025);transition:transform 6s ease}
.slide.is-portrait.active .slide-main{transform:scale(1)}
.slide.is-portrait .hero-shade{background:linear-gradient(90deg,#233326e8 0%,#38483dba 33%,#38483d1c 64%,transparent 100%),linear-gradient(0deg,#28352b8c,transparent 28%)}
.slide:nth-child(1)>img:not(.slide-ambient){object-position:64% 51%}
.slide:nth-child(3)>img:not(.slide-ambient){object-position:55% 60%}
.slide:nth-child(4)>img:not(.slide-ambient){object-position:55% 53%}
@media(max-width:760px){
 .slide-select{gap:8px}
 .slide-dot span{display:none}
 .slide-dot i{width:18px}
 .slide.is-portrait .slide-main{right:-12%;width:90%;object-fit:contain;opacity:.95}
 .slide.is-portrait .hero-shade{background:linear-gradient(90deg,#233326df 0%,#38483d80 62%,#38483d30 100%),linear-gradient(0deg,#28352bab,transparent 45%)}
}


/* Fase successiva: pagina contatti. Utilizza esclusivamente la palette e i componenti già approvati. */
.contact-landing{background:var(--ivory);padding:72px 0 86px}
.contact-landing-grid{display:grid;grid-template-columns:1fr .92fr;gap:62px;align-items:center}
.contact-landing-copy h1{color:var(--forest);font-size:clamp(49px,5.3vw,83px);font-weight:700;letter-spacing:-.07em;line-height:1.07;margin:25px 0 26px}
.contact-landing-copy h1 em,.contact-channel-heading h2 em,.contact-location h2 em,.contact-final h2 em{font-family:Georgia,serif;font-weight:400;letter-spacing:-.04em}
.contact-landing-copy>p{color:#626d69;font-size:16px;line-height:1.85;max-width:525px;margin:0 0 30px}
.contact-landing-actions{display:flex;align-items:center;gap:23px;flex-wrap:wrap}
.contact-landing-actions .text-link{white-space:nowrap}
.contact-landing-photo{margin:0;position:relative;overflow:hidden;background:var(--sand);height:460px}
.contact-landing-photo img{width:100%;height:100%;object-fit:cover;object-position:center}
.contact-landing-photo figcaption{position:absolute;bottom:0;left:0;right:0;background:linear-gradient(transparent,#243527c9);color:white;padding:50px 25px 24px;letter-spacing:.17em;font-size:10px;font-weight:800}
.contact-channel-section{background:#fff;padding:94px 0 100px}
.contact-channel-heading{margin-bottom:35px}
.contact-channel-heading h2{font-size:clamp(38px,4vw,59px);margin:20px 0 0;color:var(--forest);letter-spacing:-.05em;line-height:1.16}
.contact-channel-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.contact-channel{display:flex;flex-direction:column;min-width:0;padding:31px 26px 25px;background:var(--sand);min-height:226px;border:1px solid var(--stone);transition:background .2s,transform .2s}
.contact-channel:hover{background:var(--ivory);transform:translateY(-4px)}
.contact-channel-label{color:var(--olive);font-size:10px;letter-spacing:.15em;font-weight:800}
.contact-channel strong{font-size:clamp(14px,1.35vw,19px);overflow-wrap:anywhere;color:var(--forest);letter-spacing:-.03em;line-height:1.45;margin:26px 0 auto}
.contact-channel-action{font-size:11px;letter-spacing:.06em;border-top:1px solid var(--stone);padding-top:18px;margin-top:24px;font-weight:800;display:flex;justify-content:space-between;align-items:center;color:var(--forest)}
.contact-channel-action b{font-size:19px;color:var(--olive)}
.contact-location{background:var(--ivory)}
.contact-location-grid{display:grid;grid-template-columns:1fr .9fr;gap:95px;align-items:start}
.contact-location h2{color:var(--forest);margin:24px 0 35px}
.contact-location address{font-style:normal;color:#57625b;font-size:16px;line-height:1.9}
.contact-location address strong{color:var(--forest);letter-spacing:.04em;font-size:14px}
.contact-location-actions{margin-top:35px;display:flex;gap:18px;flex-wrap:wrap;align-items:center}
.contact-location-actions .text-link{font-size:10px}
.contact-location-aside{background:#fff;border:1px solid var(--stone);padding:42px}
.contact-location-aside h3{color:var(--forest);font-size:32px;letter-spacing:-.05em;line-height:1.1;margin:27px 0 22px}
.contact-location-aside>p:not(.eyebrow){font-size:14px;line-height:1.85;color:#626d69;margin:0 0 18px}
.contact-email-inline{display:inline-flex;gap:30px;justify-content:space-between;border-top:1px solid var(--stone);width:100%;padding-top:20px;margin-top:13px;font-size:11px;font-weight:800;text-transform:uppercase;color:var(--forest)}
.contact-email-inline b{font-size:19px;color:var(--olive)}
.contact-final{background:var(--forest);padding:68px 0;color:#fff}
.contact-final-grid{display:flex;justify-content:space-between;align-items:center;gap:32px}
.contact-final span{letter-spacing:.16em;font-size:10px;font-weight:800;color:var(--sand)}
.contact-final h2{font-size:clamp(32px,4vw,56px);line-height:1.16;margin:16px 0 0;letter-spacing:-.05em}
.contact-final .btn{flex:none}
.navigation .nav-contact[aria-current="page"]{background:var(--forest)}
@media(max-width:1080px){.contact-landing-grid{gap:35px}.contact-location-grid{gap:45px}.contact-channel{padding:25px 19px}}
@media(max-width:760px){.contact-landing{padding:42px 0 56px}.contact-landing-grid,.contact-location-grid{grid-template-columns:1fr;gap:27px}.contact-landing-copy h1{font-size:clamp(42px,10vw,58px)}.contact-landing-copy>p{font-size:14px}.contact-landing-photo{height:290px}.contact-landing-actions{align-items:flex-start}.contact-channel-section{padding:67px 0}.contact-channel-grid{grid-template-columns:1fr;gap:10px}.contact-channel{min-height:157px}.contact-channel strong{font-size:18px;margin:15px 0 12px}.contact-channel-action{margin-top:auto}.contact-location-aside{padding:28px}.contact-final{padding:52px 0}.contact-final-grid{align-items:flex-start;flex-direction:column}}
@media(max-width:410px){.contact-landing-actions{flex-direction:column;align-items:stretch}.contact-landing-actions .text-link{align-self:flex-start}.contact-location-actions{flex-direction:column;align-items:flex-start}}
/* Keep footer rows readable on narrow screens (shared styles). */
@media(max-width:760px){.footer-bottom{padding-top:21px;padding-bottom:26px}.footer-main .to-top{margin-bottom:10px}}

.home-contacts-more{display:flex;gap:18px;align-items:center;font-size:11px;letter-spacing:.075em;text-transform:uppercase;font-weight:800;margin-top:20px;color:var(--forest)}.home-contacts-more span{font-size:19px;color:var(--olive)}

/* Racconto fotografico nella pagina Lo Studio: fotografie storica e contemporanea, senza tagli. */
.studio-family-visual{padding:85px 0 94px;background:var(--ivory)}
.studio-family-grid{display:grid;grid-template-columns:.66fr 1.34fr;align-items:center;gap:48px}
.studio-family-copy h2{font-size:clamp(34px,3.8vw,57px);letter-spacing:-.066em;line-height:1.15;color:var(--forest);margin:22px 0 24px}
.studio-family-copy h2 em{font-family:Georgia,serif;font-weight:400;letter-spacing:-.04em}
.studio-family-copy>p:not(.eyebrow){font-size:14px;line-height:1.95;color:var(--muted);max-width:400px}
.studio-family-figure{margin:0;background:var(--sand);padding:10px 10px 0;box-shadow:0 20px 55px #26362912;min-width:0}
.studio-family-figure img{display:block;width:100%;height:auto;object-fit:contain;max-height:540px;background:#c8b5a0}
.studio-family-figure figcaption{padding:18px 12px 19px;font-size:10px;letter-spacing:.15em;font-weight:800;color:var(--forest)}
@media(max-width:900px){.studio-family-grid{grid-template-columns:1fr;gap:27px}.studio-family-visual{padding:60px 0 69px}.studio-family-copy h2{max-width:640px}.studio-family-copy>p:not(.eyebrow){max-width:710px}}
@media(max-width:560px){.studio-family-visual{padding:52px 0}.studio-family-figure{padding:5px 5px 0}.studio-family-figure figcaption{font-size:9px;line-height:1.6;letter-spacing:.10em;padding:12px}.studio-family-copy h2{font-size:39px}}


/* Nuove fotografie selezionate — galleria dei dettagli e territorio. */
.slide:nth-child(2)>img:not(.slide-ambient){object-position:57% 47%}
.historic-details-section{padding:86px 0 94px;background:var(--ivory,#faf8f3)}
.historic-details-section h2{font-size:clamp(36px,4.1vw,62px);line-height:1.1;letter-spacing:-.06em;margin:19px 0;color:var(--forest,#38483D)}
.historic-details-section h2 em{font-family:Georgia,serif;font-weight:400}
.historic-details-intro{max-width:760px;color:var(--muted);font-size:15px;line-height:1.9;margin:0 0 35px}
.historic-details-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.historic-detail{margin:0;background:white;overflow:hidden}
.historic-detail img{height:340px;width:100%;object-fit:cover;display:block}
.historic-detail:first-child img{object-position:center 42%}
.historic-detail figcaption{display:flex;flex-direction:column;gap:9px;padding:20px 23px 25px}
.historic-detail figcaption strong{color:var(--forest,#38483D);font-size:19px}
.historic-detail figcaption span{font-size:13px;line-height:1.7;color:var(--muted)}
.studio-toritto-mark{margin:25px 0 0;max-width:310px}
.studio-toritto-mark img{display:block;width:100%;height:100px;object-fit:cover;object-position:center}
.studio-toritto-mark figcaption{font-size:10px;letter-spacing:.1em;color:var(--olive,#75836B);font-weight:800;margin-top:9px}
@media(max-width:760px){.historic-details-section{padding:55px 0 65px}.historic-details-grid{grid-template-columns:1fr;gap:15px}.historic-detail img{height:275px}.studio-toritto-mark{max-width:245px}.studio-toritto-mark img{height:82px}}

.home-project-spotlight.home-project-secondary{margin-top:24px}

/* Progetto 03 — una sola fotografia originale prima/dopo, preservata integralmente */
.portfolio-featured-compact {background:#f0eadd;padding-top:80px}
.case-2021-card .portfolio-featured-image {background:#d7cabb;display:flex;align-items:center}
.case-2021-card .portfolio-featured-image img {object-fit:contain;display:block;width:100%;height:auto;min-height:0;max-height:610px}
.case-2021-hero figure {background:#e8ddcb}
.case-2021-hero figure img {object-fit:contain; height:auto; max-height:620px; width:100%}
.case-2021-overview .case-facts {grid-template-columns:repeat(3,minmax(0,1fr))}
.case-2021-gallery {background:#e8ddcb}
.case-2021-full-photo {margin:0 auto;max-width:930px;background:#FAF8F3;padding:clamp(10px,2.8vw,22px)}
.case-2021-full-photo img {display:block;width:100%;height:auto}
.case-2021-full-photo figcaption {font-size:11px;font-weight:800;color:#75836B;letter-spacing:.10em;margin:18px 5px 0}
@media(max-width:760px){.case-2021-overview .case-facts{grid-template-columns:1fr 1fr}.case-2021-card .portfolio-featured-image img {max-height:none}.case-2021-hero figure img{max-height:none}}


/* Portfolio curation: November 2026 — intentional three-project grid. */
.portfolio-curated{background:var(--ivory);padding:82px 0 104px;scroll-margin-top:90px}
.portfolio-curated-intro{display:grid;grid-template-columns:1fr .58fr;gap:68px;align-items:end;margin-bottom:34px}
.portfolio-curated-intro h2,.case-nearby-header h2{font-size:clamp(36px,4.4vw,64px);line-height:1.1;letter-spacing:-.065em;color:var(--forest);margin:18px 0 0}
.portfolio-curated-intro h2 em,.case-nearby-header h2 em{font-family:Georgia,serif;font-weight:400}
.portfolio-curated-intro>p{font-size:15px;color:var(--muted);line-height:1.85;margin:0 0 5px}
.portfolio-curated-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.portfolio-curated-card{display:flex;flex-direction:column;min-width:0;background:#fff;overflow:hidden;transition:box-shadow .24s,transform .24s;scroll-margin-top:110px}
.portfolio-curated-card:hover,.portfolio-curated-card:focus-visible{box-shadow:0 24px 58px #2539301b;transform:translateY(-3px)}
.portfolio-curated-photo{height:306px;position:relative;overflow:hidden;background:#ded2c0}
.portfolio-curated-photo::after{content:"";position:absolute;inset:60% 0 0;pointer-events:none;background:linear-gradient(0deg,#1426209d,transparent)}
.portfolio-curated-photo img{width:100%;height:100%;object-fit:cover;transition:transform .45s}
.portfolio-curated-card:hover .portfolio-curated-photo img{transform:scale(1.035)}
.portfolio-curated-photo.is-collage img{object-fit:contain;background:#e8ddcb}
.portfolio-curated-counter{position:absolute;z-index:1;bottom:17px;left:20px;color:white;font-size:11px;font-weight:800;letter-spacing:.12em}
.portfolio-curated-copy{display:flex;flex-direction:column;flex:1;padding:27px 25px 32px}
.portfolio-curated-overline{display:flex;gap:8px;justify-content:space-between;flex-wrap:wrap;color:var(--olive);font-size:9px;font-weight:900;letter-spacing:.10em;text-transform:uppercase}
.portfolio-curated-copy h3{font-size:clamp(23px,2.1vw,30px);line-height:1.18;letter-spacing:-.055em;color:var(--forest);margin:22px 0 13px}
.portfolio-curated-copy p{font-size:13px;line-height:1.8;color:var(--muted);margin:0 0 28px;flex:1}
.portfolio-curated-copy strong{align-self:flex-start;border-bottom:1px solid var(--forest);font-size:11px;letter-spacing:.08em;padding-bottom:9px;color:var(--forest)}
.portfolio-curated-copy strong b,.case-nearby-card span b{margin-left:14px;font-size:18px}
.case-nearby{background:#e8ddcb;padding:66px 0 80px}
.case-nearby-header{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:28px}
.case-nearby-header h2{font-size:clamp(34px,4vw,56px)}
.case-nearby-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.case-nearby-card{display:grid;grid-template-columns:160px 1fr;gap:0;background:#faf8f3;min-width:0;transition:transform .2s}
.case-nearby-card:hover{transform:translateY(-3px)}
.case-nearby-card img{width:160px;height:175px;object-fit:cover}
.case-nearby-card>div{padding:24px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}
.case-nearby-card small{font-size:10px;letter-spacing:.11em;font-weight:900;color:var(--olive)}
.case-nearby-card h3{font-size:20px;letter-spacing:-.04em;line-height:1.2;color:var(--forest);margin:11px 0 13px}
.case-nearby-card span{font-size:11px;font-weight:900;color:var(--forest)}
@media(max-width:1050px){.portfolio-curated-grid{gap:13px}.portfolio-curated-copy{padding:20px 18px 27px}.portfolio-curated-photo{height:250px}.portfolio-curated-overline{font-size:9px}.case-nearby-card{grid-template-columns:120px 1fr}.case-nearby-card img{width:120px;height:175px}}
@media(max-width:760px){.portfolio-curated{padding:52px 0 66px}.portfolio-curated-intro{grid-template-columns:1fr;gap:13px;margin-bottom:25px}.portfolio-curated-intro>p{font-size:14px}.portfolio-curated-grid{grid-template-columns:1fr;gap:24px}.portfolio-curated-photo{height:285px}.portfolio-curated-copy{padding:23px 22px 29px}.portfolio-curated-copy h3{font-size:29px}.case-nearby{padding:48px 0 55px}.case-nearby-header{align-items:start;flex-direction:column;gap:22px}.case-nearby-grid{grid-template-columns:1fr;gap:14px}.case-nearby-card{grid-template-columns:112px 1fr}.case-nearby-card img{width:112px;height:155px}.case-nearby-card>div{padding:16px 19px}.case-nearby-card h3{font-size:18px}.case-nearby-card small{font-size:9px}}
@media(prefers-reduced-motion:reduce){.portfolio-curated-card,.portfolio-curated-photo img,.case-nearby-card{transition:none!important}}

/* Anteprima privata per iPhone: nessun JavaScript necessario per navigare. */
html,body{min-height:100%;overflow-x:hidden}
.header{position:sticky;top:0;z-index:600;background:#faf8f3}
.navigation{display:flex !important;align-items:center;overflow-x:auto !important;max-width:100%;white-space:nowrap;flex-direction:row!important;flex-wrap:nowrap!important;gap:20px;padding:8px 12px 12px;scrollbar-width:none;visibility:visible !important;opacity:1 !important;transform:none !important;position:static !important;height:auto !important;pointer-events:auto !important;}
.navigation::-webkit-scrollbar{display:none}
.site-page{display:none;min-height:42vh}
.site-page:target{display:block}
#page-home{display:block}
.site-page:target ~ #page-home{display:none}
.site-page{scroll-margin-top:120px}
html{scroll-behavior:auto}
/* do not rely on Javascript to start the hero */
.hero-slides>.slide{pointer-events:none}
.hero-slides>.slide:nth-child(1){}
.hero-slides>.slide:nth-child(2){}
.hero-slides>.slide:nth-child(3){}
.hero-slides>.slide:nth-child(4){}
.hero-slides>.slide:nth-child(5){}
.hero-slides>.slide:nth-child(6){}
@keyframes mobileSlide{0%,15%{opacity:1}16%,99.9%{opacity:0}100%{opacity:1}}
.slide-select,.hero-controls button,.portfolio-filter,.portfolio-filters,.portfolio-gallery-filters,.case-gallery-close,.photo-open{display:none !important}
@media(prefers-reduced-motion:reduce){.hero-slides>.slide{}.hero-slides>.slide:first-child{}}
.site-page main{display:block}
.site-page img{height:auto}
.site-page .slide img{height:100%}
.site-page figure{max-width:100%}
.footer{margin-top:0}
@media(max-width:800px){
 .header-inner{height:auto !important;padding-top:8px!important;padding-bottom:0!important;display:block!important}
 .brand{padding:0 0 6px;gap:10px}
 .brand img{height:40px!important;width:40px!important}
 .brand-txt strong{font-size:15px!important;letter-spacing:.05em!important}
 .brand-txt small{font-size:8px!important;letter-spacing:.24em!important;margin-top:3px!important}
 .navigation{display:flex!important;gap:19px!important;padding:10px 0 12px!important;border-top:1px solid #e5e3db!important}
 .navigation>a{font-size:11px!important;letter-spacing:0!important;padding:3px 0!important;flex:none!important;color:#354b3b!important}
 .navigation .nav-contact{background:#405542!important;color:white!important;padding:8px 10px!important}
 .wrap{padding-left:18px!important;padding-right:18px!important}
 .hero{height:min(84svh,730px);min-height:560px}
 .hero-content h1{font-size:clamp(48px,12vw,75px)!important;line-height:1.02!important}
 .hero-body{position:relative;z-index:3}
 .hero-side{font-size:7px!important;right:10px!important}
 .site-page{scroll-margin-top:108px}
 .site-page main h1{overflow-wrap:anywhere}
 .case-real-grid,.portfolio-photo-grid{grid-template-columns:1fr 1fr!important}
 .case-facts{grid-template-columns:1fr 1fr!important}
 .site-page :is(.service-detail-layout,.case-hero-grid,.studio-hero-grid,.portfolio-landing-grid){grid-template-columns:1fr!important}
 .site-page :is(.service-detail-layout,.case-hero-grid) img{width:100%;max-height:430px;object-fit:cover}
 .site-page .portfolio-photo-grid img{height:160px;object-fit:cover}
 .site-page .btn{max-width:100%}
 }
.mobile-sitenote{background:#edece6;color:#475544;padding:8px 18px;font:11px system-ui,sans-serif;text-align:center}

/* Correzione dello slideshow: l'opacità dei fotogrammi non deve usare !important
   perché blocca completamente l'animazione CSS, rendendoli tutti invisibili. */
.hero-slides{background-image:url(img-525a7f6072dcc464c6.webp);background-position:center;background-size:cover}
.hero .hero-slide-input{position:absolute;width:1px;height:1px;margin:0;padding:0;opacity:0;overflow:hidden;clip-path:inset(50%)}
.hero-photo-switch{position:absolute;right:20px;top:18px;z-index:8;display:flex;align-items:center;gap:5px;padding:6px;background:rgba(16,30,26,.76);border:1px solid rgba(255,255,255,.18);border-radius:4px;max-width:calc(100% - 24px);font-family:Arial,sans-serif}
.hero-photo-switch label{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border:1px solid rgba(255,255,255,.22);color:#fff;font-size:12px;line-height:1;cursor:pointer;border-radius:3px;user-select:none;-webkit-user-select:none}
.hero-photo-switch label[for="hero-choice-auto"]{width:auto;padding:0 9px}
.hero-slide-input:focus-visible ~ .hero-photo-switch label{outline-offset:2px}
.hero #hero-choice-auto:checked ~ .hero-photo-switch label[for="hero-choice-auto"]{background:#edf0ea;color:#284438}
.hero #hero-choice-1:checked ~ .hero-photo-switch label[for="hero-choice-1"]{background:#edf0ea;color:#284438}
.hero #hero-choice-2:checked ~ .hero-photo-switch label[for="hero-choice-2"]{background:#edf0ea;color:#284438}
.hero #hero-choice-3:checked ~ .hero-photo-switch label[for="hero-choice-3"]{background:#edf0ea;color:#284438}
.hero #hero-choice-4:checked ~ .hero-photo-switch label[for="hero-choice-4"]{background:#edf0ea;color:#284438}
.hero #hero-choice-5:checked ~ .hero-photo-switch label[for="hero-choice-5"]{background:#edf0ea;color:#284438}
.hero #hero-choice-6:checked ~ .hero-photo-switch label[for="hero-choice-6"]{background:#edf0ea;color:#284438}

/* Se l'utente sceglie una foto, la mostra anche nei visualizzatori che
   disabilitano le animazioni. L'opzione Auto le riattiva. */
.hero .hero-slide-input:not(#hero-choice-auto):checked ~ .hero-slides>.slide{}
.hero #hero-choice-1:checked ~ .hero-slides>.slide:nth-child(1){}
.hero #hero-choice-2:checked ~ .hero-slides>.slide:nth-child(2){}
.hero #hero-choice-3:checked ~ .hero-slides>.slide:nth-child(3){}
.hero #hero-choice-4:checked ~ .hero-slides>.slide:nth-child(4){}
.hero #hero-choice-5:checked ~ .hero-slides>.slide:nth-child(5){}
.hero #hero-choice-6:checked ~ .hero-slides>.slide:nth-child(6){}

@media(max-width:800px){.hero-photo-switch{top:12px;right:12px;gap:3px;padding:5px}.hero-photo-switch label{width:26px;height:28px;font-size:11px}}

/* Revisione 23-11-2026: slideshow uniforme, senza comandi in alto */
.hero-photo-switch{display:none!important}
.hero .slide-select{display:flex!important;align-items:center;gap:16px}
.hero .slide-dot{display:flex!important;align-items:center;min-height:34px;padding:6px 0;gap:6px}
.hero .hero-slides>.slide{pointer-events:none}
.hero .hero-slides>.slide:nth-child(1){}
.hero .hero-slides>.slide:nth-child(2){}
.hero .hero-slides>.slide:nth-child(3){}
.hero .hero-slides>.slide:nth-child(4){}
.hero .hero-slides>.slide:nth-child(5){}
.hero .hero-slides>.slide:nth-child(6){}
@keyframes carouselEqual{0%{opacity:0}1.666667%,16.666667%{opacity:1}18.333334%,100%{opacity:0}}
.hero #hero-pause:checked ~ .hero-slides>.slide{}
/* Scelta manuale sempre funzionante anche se il visualizzatore blocca JavaScript */
.hero .hero-slide-input:not([id="hero-choice-auto"]):not([id="hero-pause"]):checked ~ .hero-slides>.slide{}
.hero #hero-choice-1:checked ~ .hero-slides>.slide:nth-child(1),
.hero #hero-choice-2:checked ~ .hero-slides>.slide:nth-child(2),
.hero #hero-choice-3:checked ~ .hero-slides>.slide:nth-child(3),
.hero #hero-choice-4:checked ~ .hero-slides>.slide:nth-child(4),
.hero #hero-choice-5:checked ~ .hero-slides>.slide:nth-child(5),
.hero #hero-choice-6:checked ~ .hero-slides>.slide:nth-child(6){}
.hero .hero-slide-input:checked ~ .hero-bottom .slide-dot{opacity:.58}
.hero #hero-choice-1:checked ~ .hero-bottom .slide-dot[for="hero-choice-1"],
.hero #hero-choice-2:checked ~ .hero-bottom .slide-dot[for="hero-choice-2"],
.hero #hero-choice-3:checked ~ .hero-bottom .slide-dot[for="hero-choice-3"],
.hero #hero-choice-4:checked ~ .hero-bottom .slide-dot[for="hero-choice-4"],
.hero #hero-choice-5:checked ~ .hero-bottom .slide-dot[for="hero-choice-5"],
.hero #hero-choice-6:checked ~ .hero-bottom .slide-dot[for="hero-choice-6"]{opacity:1;color:white}
.hero #hero-choice-1:checked ~ .hero-bottom .slide-dot[for="hero-choice-1"] i,
.hero #hero-choice-2:checked ~ .hero-bottom .slide-dot[for="hero-choice-2"] i,
.hero #hero-choice-3:checked ~ .hero-bottom .slide-dot[for="hero-choice-3"] i,
.hero #hero-choice-4:checked ~ .hero-bottom .slide-dot[for="hero-choice-4"] i,
.hero #hero-choice-5:checked ~ .hero-bottom .slide-dot[for="hero-choice-5"] i,
.hero #hero-choice-6:checked ~ .hero-bottom .slide-dot[for="hero-choice-6"] i{background:#e9445d}
.hero-bottom .slide-dot{cursor:pointer;user-select:none}
.hero-controls .carousel-arrow,.hero-controls .carousel-pause,.hero-controls .carousel-resume{border:1px solid #ffffff7a;color:white;background:#ffffff16;width:45px;height:45px;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;font-size:19px;user-select:none}
.hero-controls .carousel-arrow:hover,.hero-controls .carousel-pause:hover,.hero-controls .carousel-resume:hover{background:var(--forest,#38483d)}
.hero-controls .carousel-arrow{display:none}
.hero #hero-choice-auto:checked ~ .hero-bottom .prev-for-auto,.hero #hero-choice-auto:checked ~ .hero-bottom .next-for-auto,
.hero #hero-choice-1:checked ~ .hero-bottom .prev-for-1,.hero #hero-choice-1:checked ~ .hero-bottom .next-for-1,
.hero #hero-choice-2:checked ~ .hero-bottom .prev-for-2,.hero #hero-choice-2:checked ~ .hero-bottom .next-for-2,
.hero #hero-choice-3:checked ~ .hero-bottom .prev-for-3,.hero #hero-choice-3:checked ~ .hero-bottom .next-for-3,
.hero #hero-choice-4:checked ~ .hero-bottom .prev-for-4,.hero #hero-choice-4:checked ~ .hero-bottom .next-for-4,
.hero #hero-choice-5:checked ~ .hero-bottom .prev-for-5,.hero #hero-choice-5:checked ~ .hero-bottom .next-for-5,
.hero #hero-choice-6:checked ~ .hero-bottom .prev-for-6,.hero #hero-choice-6:checked ~ .hero-bottom .next-for-6{display:inline-flex}
.hero-controls .carousel-resume{display:none;font-size:14px}
.hero #hero-choice-auto:not(:checked) ~ .hero-bottom .carousel-resume{display:inline-flex}
.carousel-pause::before{content:'Ⅱ';font-size:17px;font-weight:700}
.hero #hero-pause:checked ~ .hero-bottom .carousel-pause::before{content:'▶';font-size:14px}
.hero #hero-choice-auto:not(:checked) ~ .hero-bottom .carousel-pause{display:none}
/* Collegamenti del file unico: rendono visibili le schede anche con destinazione interna. */
body:has(#restauro-conservativo-fotografie:target) #page-restauro-conservativo,
body:has(#progetto-centro-storico-fotografie:target) #page-progetto-centro-storico,
body:has(#progetto-2021-confronto:target) #page-progetto-2021{display:block}
body:has(#restauro-conservativo-fotografie:target) #page-home,
body:has(#progetto-centro-storico-fotografie:target) #page-home,
body:has(#progetto-2021-confronto:target) #page-home{display:none}
#restauro-conservativo-fotografie,#progetto-centro-storico-fotografie,#progetto-2021-confronto{scroll-margin-top:110px}
.case-facts-professional{min-width:200px}
.illustrative-disclaimer{max-width:820px;margin:16px auto 25px;font-size:12px;line-height:1.7;color:#687173}
.illustrative-disclaimer a{text-decoration:underline;text-underline-offset:2px}
@media(max-width:760px){.hero-caption{display:none!important}.hero .slide-select{gap:7px!important}.hero .slide-dot{font-size:9px!important;gap:3px!important;min-height:34px}.hero .slide-dot i{width:9px!important}.hero-controls .carousel-arrow,.hero-controls .carousel-pause,.hero-controls .carousel-resume{width:34px;height:34px;font-size:16px}.hero-controls{gap:4px}.hero-bottom-inner{gap:6px}.hero .slide-select{gap:7px}}
@media(prefers-reduced-motion:reduce){
 .hero .hero-slides>.slide{}
 .hero #hero-choice-auto:checked ~ .hero-slides>.slide:nth-child(1){}
 .hero .hero-slide-input:not([id="hero-choice-auto"]):not([id="hero-pause"]):checked ~ .hero-slides>.slide{}
 .hero #hero-choice-1:checked ~ .hero-slides>.slide:nth-child(1),.hero #hero-choice-2:checked ~ .hero-slides>.slide:nth-child(2),.hero #hero-choice-3:checked ~ .hero-slides>.slide:nth-child(3),.hero #hero-choice-4:checked ~ .hero-slides>.slide:nth-child(4),.hero #hero-choice-5:checked ~ .hero-slides>.slide:nth-child(5),.hero #hero-choice-6:checked ~ .hero-slides>.slide:nth-child(6){}
}

html.lavecchia-js-carousel .hero .hero-slides>.slide{}
html.lavecchia-js-carousel .hero #hero-choice-auto:checked ~ .hero-slides>.slide.is-current{}
html.lavecchia-js-carousel #page-home .hero #hero-choice-1:checked ~ .hero-slides>.slide:nth-child(1),
html.lavecchia-js-carousel #page-home .hero #hero-choice-2:checked ~ .hero-slides>.slide:nth-child(2),
html.lavecchia-js-carousel #page-home .hero #hero-choice-3:checked ~ .hero-slides>.slide:nth-child(3),
html.lavecchia-js-carousel #page-home .hero #hero-choice-4:checked ~ .hero-slides>.slide:nth-child(4),
html.lavecchia-js-carousel #page-home .hero #hero-choice-5:checked ~ .hero-slides>.slide:nth-child(5),
html.lavecchia-js-carousel #page-home .hero #hero-choice-6:checked ~ .hero-slides>.slide:nth-child(6){} 
html.lavecchia-js-carousel .hero #hero-choice-auto:checked ~ .hero-bottom .slide-dot{opacity:.58}


/* VERSIONE 8 IMMAGINI — regole finali di precedenza */
.header .brand img,.footer-brand img{background:transparent!important;padding:0!important;box-shadow:none!important}
.header-inner{min-height:98px!important;height:98px!important}
.header .brand img{width:74px!important;height:74px!important;object-fit:contain}
.footer-brand img{width:66px!important;height:66px!important;object-fit:contain}
@media(max-width:760px){.header-inner{height:82px!important;min-height:82px!important}.header .brand img{width:57px!important;height:57px!important}}
@media(max-width:380px){.header .brand img{width:49px!important;height:49px!important}}
.hero .hero-slides>.slide{}
.hero .hero-slides>.slide:nth-child(1){}
.hero .hero-slides>.slide:nth-child(2){}
.hero .hero-slides>.slide:nth-child(3){}
.hero .hero-slides>.slide:nth-child(4){}
.hero .hero-slides>.slide:nth-child(5){}
.hero .hero-slides>.slide:nth-child(6){}
.hero .hero-slides>.slide:nth-child(7){}
.hero .hero-slides>.slide:nth-child(8){}
@keyframes carouselEight{0%{opacity:0}1.2%,12.2%{opacity:1}13.4%,100%{opacity:0}}
.hero #hero-pause:checked ~ .hero-slides>.slide{}
.hero .hero-slide-input:not([id="hero-choice-auto"]):not([id="hero-pause"]):checked ~ .hero-slides>.slide{}
.hero #hero-choice-1:checked ~ .hero-slides>.slide:nth-child(1){}
.hero #hero-choice-2:checked ~ .hero-slides>.slide:nth-child(2){}
.hero #hero-choice-3:checked ~ .hero-slides>.slide:nth-child(3){}
.hero #hero-choice-4:checked ~ .hero-slides>.slide:nth-child(4){}
.hero #hero-choice-5:checked ~ .hero-slides>.slide:nth-child(5){}
.hero #hero-choice-6:checked ~ .hero-slides>.slide:nth-child(6){}
.hero #hero-choice-7:checked ~ .hero-slides>.slide:nth-child(7){}
.hero #hero-choice-8:checked ~ .hero-slides>.slide:nth-child(8){}
.hero .hero-controls .carousel-arrow{display:none!important}
.hero #hero-choice-auto:checked ~ .hero-bottom .prev-for-auto,.hero #hero-choice-auto:checked ~ .hero-bottom .next-for-auto{display:inline-flex!important}
.hero #hero-choice-1:checked ~ .hero-bottom .prev-for-1,.hero #hero-choice-1:checked ~ .hero-bottom .next-for-1{display:inline-flex!important}
.hero #hero-choice-2:checked ~ .hero-bottom .prev-for-2,.hero #hero-choice-2:checked ~ .hero-bottom .next-for-2{display:inline-flex!important}
.hero #hero-choice-3:checked ~ .hero-bottom .prev-for-3,.hero #hero-choice-3:checked ~ .hero-bottom .next-for-3{display:inline-flex!important}
.hero #hero-choice-4:checked ~ .hero-bottom .prev-for-4,.hero #hero-choice-4:checked ~ .hero-bottom .next-for-4{display:inline-flex!important}
.hero #hero-choice-5:checked ~ .hero-bottom .prev-for-5,.hero #hero-choice-5:checked ~ .hero-bottom .next-for-5{display:inline-flex!important}
.hero #hero-choice-6:checked ~ .hero-bottom .prev-for-6,.hero #hero-choice-6:checked ~ .hero-bottom .next-for-6{display:inline-flex!important}
.hero #hero-choice-7:checked ~ .hero-bottom .prev-for-7,.hero #hero-choice-7:checked ~ .hero-bottom .next-for-7{display:inline-flex!important}
.hero #hero-choice-8:checked ~ .hero-bottom .prev-for-8,.hero #hero-choice-8:checked ~ .hero-bottom .next-for-8{display:inline-flex!important}
html.lavecchia-js-carousel .hero .hero-slides>.slide{}
html.lavecchia-js-carousel .hero .hero-slides>.slide.is-current{}
.hero .hero-slide-input:checked ~ .hero-bottom .slide-dot{opacity:.58}
.hero #hero-choice-1:checked ~ .hero-bottom .slide-dot[for="hero-choice-1"]{opacity:1!important}
.hero #hero-choice-2:checked ~ .hero-bottom .slide-dot[for="hero-choice-2"]{opacity:1!important}
.hero #hero-choice-3:checked ~ .hero-bottom .slide-dot[for="hero-choice-3"]{opacity:1!important}
.hero #hero-choice-4:checked ~ .hero-bottom .slide-dot[for="hero-choice-4"]{opacity:1!important}
.hero #hero-choice-5:checked ~ .hero-bottom .slide-dot[for="hero-choice-5"]{opacity:1!important}
.hero #hero-choice-6:checked ~ .hero-bottom .slide-dot[for="hero-choice-6"]{opacity:1!important}
.hero #hero-choice-7:checked ~ .hero-bottom .slide-dot[for="hero-choice-7"]{opacity:1!important}
.hero #hero-choice-8:checked ~ .hero-bottom .slide-dot[for="hero-choice-8"]{opacity:1!important}

.hero .slide-select{gap:12px!important}
.hero .slide-dot i{width:25px}
.slide.is-portrait .slide-ambient{filter:blur(32px) brightness(.7)!important}
.slide.is-portrait .slide-main{object-fit:contain!important;object-position:center center!important}
@media(max-width:760px){.hero .slide-select{gap:6px!important}.hero .slide-dot i{width:14px!important}}
@media(prefers-reduced-motion:reduce){.hero .hero-slides>.slide{}.hero .hero-slides>.slide:first-child{}html.lavecchia-js-carousel .hero .hero-slides>.slide:first-child:not(.is-current){}}

#page-topografia .lavecchia-gps-addition{margin:24px 0 32px;max-width:540px}#page-topografia .lavecchia-gps-addition img{width:100%;height:350px;object-fit:cover;object-position:center 58%;display:block}#page-topografia .lavecchia-gps-addition figcaption{font-size:11px;letter-spacing:.08em;margin-top:10px;color:#5b6055} 
/* Fondo fotografico esteso per eliminare ogni bordo durante le slide verticali */
.hero .slide.is-portrait .slide-ambient{position:absolute!important;top:-10%!important;left:-10%!important;right:auto!important;bottom:auto!important;width:120%!important;height:120%!important;transform:none!important;filter:blur(28px) brightness(.66)!important;object-fit:cover!important}

.hero .hero-slides{background-image:none!important;background-color:#38483D!important}
.hero .slide.is-portrait .slide-ambient{max-width:none!important}

/* Anteprima senza script: prima foto visibile invece di una schermata vuota. */
html:not(.lavecchia-js-carousel) .hero #hero-choice-auto:checked ~ .hero-slides>.slide:first-child{}

@media(max-width:760px){.header{position:relative;z-index:100}.header-inner{position:relative}.single-mobile-toggle{display:block!important;flex-shrink:0;z-index:11;background:transparent;border:0;width:44px;height:44px}.single-mobile-toggle span{display:block;width:23px;height:2px;background:#38483D;margin:5px 0}.header #navigation{display:none!important}.header #navigation.open{display:flex!important;flex-direction:column;align-items:stretch;position:absolute;top:100%;left:0;right:0;max-height:calc(100vh - 80px);overflow-y:auto;background:#FAF8F3;padding:15px 20px 22px;box-shadow:0 20px 28px #00000020;gap:0;z-index:10}.header #navigation.open a{display:flex!important;width:100%;justify-content:flex-start;padding:14px 9px;border-bottom:1px solid #E8DDCB;white-space:normal}.header #navigation.open .nav-contact{justify-content:space-between;padding:15px 17px;margin-top:12px;border-bottom:0}.header #navigation.open .nav-facebook{justify-content:flex-start}.header #navigation.open .nav-facebook svg{flex-shrink:0}.header #navigation.open .nav-facebook span{font-size:12px}}@media(min-width:761px){.single-mobile-toggle{display:none!important}}
@media(max-width:760px){.header .header-inner{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important}.header .brand{min-width:0;width:auto;flex:0 1 auto}.header #previewMenuToggle{position:relative;inset:auto;margin:0;flex:0 0 44px}}
@media(max-width:760px){.header #navigation.open{display:flex!important;position:absolute!important;top:100%!important;left:0!important;right:0!important;width:100%!important;max-width:none!important;flex-direction:column!important;flex-wrap:nowrap!important;align-items:stretch!important;justify-content:flex-start!important;gap:0!important;padding:16px 20px 20px!important;margin:0!important;overflow-x:hidden!important;overflow-y:auto!important;white-space:normal!important;border-top:0!important;background:#FAF8F3!important;box-shadow:0 20px 30px #00000022!important}.header #navigation.open>a{flex:0 0 auto!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important;padding:13px 9px!important;margin:0!important;white-space:normal!important}.header #navigation.open>a.nav-contact{margin-top:12px!important;justify-content:space-between!important;padding:14px 17px!important;background:#4D6048!important;color:white!important}}
.studio-info{padding-block:20px;color:#f5f5f2;border-top:1px solid #586064}.studio-info summary{font-size:15px;font-weight:700;cursor:pointer;width:fit-content}.studio-info summary:focus-visible,.studio-info a:focus-visible{outline:2px solid white;outline-offset:3px}.studio-info .info-body{max-width:72ch;line-height:1.6;font-size:15px}.studio-info h3{margin:22px 0 4px;font-size:17px;color:inherit}.studio-info p{margin:0 0 12px;color:inherit}.studio-info a{text-decoration:underline;overflow-wrap:anywhere}

.mobile-directory{display:none}
@media(max-width:760px){
html body header.header .header-inner{display:flex!important;position:relative;align-items:center!important;justify-content:space-between!important;gap:8px!important;padding-block:8px!important;height:auto!important;min-height:66px!important}
html body header.header .brand{min-width:0}
html body header.header .brand-txt strong{font-size:clamp(15px,4.3vw,21px)!important}
html body header.header #previewMenuToggle,html body header.header #hamb,html body header.header #navigation{display:none!important}
.header .mobile-directory{display:block;flex:none;color:#253b2e}
.mobile-directory>summary{display:grid;place-content:center;gap:5px;list-style:none;width:46px;height:46px;cursor:pointer}
.mobile-directory>summary::-webkit-details-marker{display:none}
.mobile-directory>summary i{display:block;width:23px;height:2px;background:currentColor}
.mobile-directory[open]>summary i:first-child{transform:translateY(7px) rotate(45deg)}
.mobile-directory[open]>summary i:nth-child(2){opacity:0}
.mobile-directory[open]>summary i:last-child{transform:translateY(-7px) rotate(-45deg)}
html body .header .mobile-directory nav{position:absolute;inset:100% 0 auto;z-index:110;display:flex!important;flex-direction:column;background:#faf8f3;padding:5px 18px 12px;color:#243c2d;max-height:65vh;overflow:auto;box-shadow:0 8px 14px #0002}
.mobile-directory nav a{display:flex;align-items:center;gap:9px;min-height:44px;border-bottom:1px solid #dfdacf;font-size:14px;font-weight:700}
html body .hero .hero-bottom{z-index:5;background:rgba(32,49,42,.88)}
html body .hero .hero-bottom-inner{height:auto!important;display:grid!important;grid-template-columns:1fr;gap:0!important;padding-block:4px}
html body .hero .slide-select{display:grid!important;width:100%;grid-template-columns:repeat(8,minmax(0,1fr));gap:0!important}
html body .hero .slide-select .slide-dot{display:flex!important;align-items:center;justify-content:center;flex-direction:column;gap:3px!important;min-width:0;width:100%;min-height:44px;padding:0!important;color:white!important;opacity:1!important}
html body .hero .slide-select .slide-dot span{display:inline!important;font:700 14px/1.2 Arial,sans-serif!important;color:white!important}
html body .hero .slide-select .slide-dot i{width:14px!important}
html body .hero .hero-controls{justify-self:end;gap:8px}
html body .hero .hero-controls :is(button,.carousel-arrow,.carousel-pause,.carousel-resume){min-width:44px;min-height:44px}
html body .hero .hero-body{padding-bottom:108px!important}
html body .hero{min-height:max(640px,95svh)!important}
}


@keyframes studio-photo-cycle{0%,11.6%{opacity:1}12.5%,99.1%{opacity:0}100%{opacity:1}}
#page-home .hero .hero-slides>.slide{opacity:0;visibility:visible;animation:none;pointer-events:none}
html:not(.lavecchia-js-carousel) #page-home #hero-choice-auto:checked ~ .hero-slides>.slide{animation:studio-photo-cycle 56s linear infinite;animation-delay:var(--photo-offset)}
html:not(.lavecchia-js-carousel) #page-home #hero-choice-auto:checked ~ #hero-pause:checked ~ .hero-slides>.slide,
html:not(.lavecchia-js-carousel) #page-home #hero-pause:checked ~ #hero-choice-auto:checked ~ .hero-slides>.slide{animation-play-state:paused}
html.lavecchia-js-carousel #page-home .hero .hero-slides>.slide.is-current{opacity:1;transition:opacity .65s ease}
@media(prefers-reduced-motion:reduce){html.lavecchia-js-carousel #page-home .hero .hero-slides>.slide.is-current{transition:none}
html:not(.lavecchia-js-carousel) #page-home #hero-choice-auto:checked ~ .hero-slides>.slide{animation:none}
html:not(.lavecchia-js-carousel) #page-home #hero-choice-auto:checked ~ .hero-slides>.slide:first-child{opacity:1}}
#page-home .hero-slides>.slide:nth-child(1){--photo-offset:-0s}
#page-home #hero-choice-1:checked ~ .hero-slides>.slide:nth-child(1){opacity:1}
#page-home .hero-slides>.slide:nth-child(2){--photo-offset:-49s}
#page-home #hero-choice-2:checked ~ .hero-slides>.slide:nth-child(2){opacity:1}
#page-home .hero-slides>.slide:nth-child(3){--photo-offset:-42s}
#page-home #hero-choice-3:checked ~ .hero-slides>.slide:nth-child(3){opacity:1}
#page-home .hero-slides>.slide:nth-child(4){--photo-offset:-35s}
#page-home #hero-choice-4:checked ~ .hero-slides>.slide:nth-child(4){opacity:1}
#page-home .hero-slides>.slide:nth-child(5){--photo-offset:-28s}
#page-home #hero-choice-5:checked ~ .hero-slides>.slide:nth-child(5){opacity:1}
#page-home .hero-slides>.slide:nth-child(6){--photo-offset:-21s}
#page-home #hero-choice-6:checked ~ .hero-slides>.slide:nth-child(6){opacity:1}
#page-home .hero-slides>.slide:nth-child(7){--photo-offset:-14s}
#page-home #hero-choice-7:checked ~ .hero-slides>.slide:nth-child(7){opacity:1}
#page-home .hero-slides>.slide:nth-child(8){--photo-offset:-7s}
#page-home #hero-choice-8:checked ~ .hero-slides>.slide:nth-child(8){opacity:1}

@media(max-width:760px){
html body .hero .hero-slides>.slide>img:not(.slide-ambient){position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important;transform:none!important;opacity:1!important}
html body .hero .hero-slides .hero-shade{background:linear-gradient(90deg,rgba(10,25,21,.73),rgba(10,25,21,.35) 65%,rgba(10,25,21,.12))}
html body .hero .hero-content h1{font-size:clamp(40px,10vw,63px)!important}
html body .hero .hero-content p{font-size:clamp(14px,3.7vw,16px);line-height:1.55}
}
@media(max-width:760px){.hero .hero-slides>.slide:nth-child(1){background:center/cover no-repeat url(img-e85246f3e13f5b01a0.jpg)}.hero .hero-slides>.slide:nth-child(2){background:center/cover no-repeat url(img-15e1070d5f44e79ce1.jpg)}.hero .hero-slides>.slide:nth-child(3){background:center/cover no-repeat url(img-34f3e95ab33172deb8.jpg)}.hero .hero-slides>.slide:nth-child(4){background:center/cover no-repeat url(img-722cf7a87b132bd0a0.jpg)}.hero .hero-slides>.slide:nth-child(5){background:center/cover no-repeat url(img-fc31779bc13f89e594.jpg)}.hero .hero-slides>.slide:nth-child(6){background:center/cover no-repeat url(img-eae779f451e11f6db9.jpg)}.hero .hero-slides>.slide:nth-child(7){background:center/cover no-repeat url(img-177315358cad177445.jpg)}.hero .hero-slides>.slide:nth-child(8){background:center/cover no-repeat url(img-3e314fbe876f70d340.jpg)}html body .hero{height:max(570px,calc(100svh - 80px))!important;min-height:570px!important}
html body .hero .hero-slides>.slide .hero-shade{background:linear-gradient(90deg,#101c16ae,#101c1644)}
}
html.lavecchia-js-carousel #page-home .hero .hero-slides>.slide{display:none!important;opacity:1!important;transition:none!important}
html.lavecchia-js-carousel #page-home .hero .hero-slides>.slide.is-current{display:block!important}
.hero .slide-dot[aria-current=true] span{text-decoration:underline;text-underline-offset:4px}
.studio-gallery{width:min(820px,92vw);max-height:84vh;padding:14px;border:0;background:#faf8f3;color:#29382f}.studio-gallery::backdrop{background:#000a}.studio-gallery header{display:flex;justify-content:space-between;align-items:center;gap:10px}.studio-gallery button{min-height:44px}.studio-gallery img{display:block;width:100%;height:auto;max-height:68vh;object-fit:contain;margin:12px auto}

.studio-filters-ready .portfolio-filterbar .portfolio-filter{display:inline-block!important}.work[hidden],.portfolio-photo-card[hidden]{display:none!important}html:not(.studio-filters-ready) :is(.filters,.portfolio-filterbar){display:none!important}
.photo-copy-fallback{display:none}html:not(.lavecchia-js-carousel) #page-home .photo-copy-original{display:none}html:not(.lavecchia-js-carousel) .photo-copy-fallback{display:grid}.photo-copy-fallback>span{grid-area:1/1;visibility:hidden}@keyframes studio-copy-cycle{0%,12.499%{visibility:visible}12.5%,100%{visibility:hidden}}#page-home #hero-choice-auto:checked~.hero-body .photo-copy-fallback>span{animation:studio-copy-cycle 56s step-end infinite;animation-delay:var(--time)}#page-home #hero-pause:checked~.hero-body .photo-copy-fallback>span{animation-play-state:paused}@media(prefers-reduced-motion:reduce){#page-home #hero-choice-auto:checked~.hero-body .photo-copy-fallback>span{animation:none}#page-home #hero-choice-auto:checked~.hero-body .photo-copy-fallback>span:first-child{visibility:visible}}#page-home #hero-choice-1:checked~.hero-body .photo-copy-fallback>span:nth-child(1){visibility:visible}#page-home #hero-choice-2:checked~.hero-body .photo-copy-fallback>span:nth-child(2){visibility:visible}#page-home #hero-choice-3:checked~.hero-body .photo-copy-fallback>span:nth-child(3){visibility:visible}#page-home #hero-choice-4:checked~.hero-body .photo-copy-fallback>span:nth-child(4){visibility:visible}#page-home #hero-choice-5:checked~.hero-body .photo-copy-fallback>span:nth-child(5){visibility:visible}#page-home #hero-choice-6:checked~.hero-body .photo-copy-fallback>span:nth-child(6){visibility:visible}#page-home #hero-choice-7:checked~.hero-body .photo-copy-fallback>span:nth-child(7){visibility:visible}#page-home #hero-choice-8:checked~.hero-body .photo-copy-fallback>span:nth-child(8){visibility:visible}
.studio-arrow{display:inline-block;vertical-align:middle}.hero .hero-controls .carousel-pause::before{content:""!important;height:14px;width:4px;border-inline:3px solid currentColor;box-sizing:content-box}.hero #hero-pause:checked~.hero-bottom .carousel-pause::before{width:0;height:0;border:7px solid transparent;border-left:11px solid currentColor;margin-left:6px}
.service-grid .service-card.foto-intera .service-image{height:auto!important;aspect-ratio:auto!important;background:transparent}.service-grid .service-card.foto-intera .service-image img{position:static!important;display:block;width:100%!important;height:auto!important;max-height:none!important;object-fit:contain!important;transform:none!important}
.vista-foto{box-sizing:border-box;width:min(1100px,96vw);max-width:96vw;max-height:94vh;max-height:94dvh;border:0;padding:12px;background:#faf8f3;color:#26372d;overflow:auto}.vista-foto::backdrop{background:#102019df}.vista-foto header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:8px}.vista-foto button{min-height:44px;padding:6px 14px}.vista-foto img{display:block;width:100%;height:auto;max-height:74vh;max-height:74dvh;object-fit:contain}.portfolio-image-open[popovertarget] .portfolio-image-zoom{display:grid!important;pointer-events:none}
#navigation{gap:clamp(9px,1.25vw,20px)!important}#navigation>a,#navigation .rev-dropdown>a,.rev-search-open{font-size:13px!important;font-weight:800;white-space:nowrap}.rev-dropdown{position:relative;display:flex;align-items:center;gap:3px}.rev-toggle,.rev-search-open{border:0;background:transparent;color:inherit;padding:5px;cursor:pointer}.rev-search-open{display:flex;align-items:center;gap:5px}.rev-menu{display:none;position:absolute;top:100%;left:0;min-width:290px;background:#faf8f3;color:#34443a;box-shadow:0 12px 28px #0003;z-index:999;padding:8px}.rev-menu a{display:block;padding:11px 12px;font-size:13px;white-space:normal;border-bottom:1px solid #e1dfd7}.rev-menu a:hover{background:#eae9e1}.rev-dropdown:hover>.rev-menu,.rev-dropdown:focus-within>.rev-menu,.rev-dropdown.is-open>.rev-menu{display:block}.rev-project-filters{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}.rev-project-filters button{border:1px solid #4d6048;background:transparent;color:#34443a;padding:10px 18px}.rev-project-filters button[aria-pressed=true]{background:#4d6048;color:white}.rev-status{font-size:11px;font-weight:800;letter-spacing:.08em;color:#4d6048}.portfolio-curated-card[hidden],#rev-empty[hidden]{display:none!important}.rev-dialog{width:min(1100px,95vw);max-height:94dvh;border:0;background:#faf8f3;color:#26372d;padding:18px}.rev-dialog::backdrop{background:#102019df}.rev-dialog header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px}.rev-dialog button{min-width:44px;min-height:44px;border:1px solid #a4aa9d;background:#faf8f3;color:#26372d;font-size:23px}.rev-photo-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px}.rev-photo-row img{width:100%;max-height:72dvh;object-fit:contain}.rev-dialog #rev-count{text-align:center;margin:8px}.rev-dialog #rev-query{width:100%;padding:14px;border:1px solid #a4aa9d;font:inherit}.rev-dialog #rev-results a{display:block;border-bottom:1px solid #ddd;padding:12px}.rev-dialog #rev-results{max-height:58vh;overflow:auto}#progettazione-urbanistica{margin-top:42px}@media(max-width:1000px){#navigation>a,#navigation .rev-dropdown>a,.rev-search-open{font-size:11px!important}}@media(max-width:760px){.rev-dropdown{flex-wrap:wrap}.rev-dropdown>a{flex:1!important}.rev-menu{position:static;width:100%;box-shadow:none;min-width:0}.rev-dropdown:not(.is-open)>.rev-menu{display:none}.rev-search-open{padding:12px!important}.rev-photo-row{gap:2px}.rev-dialog{padding:8px}.rev-dialog button{min-width:36px}}

@media(min-width:761px){html body header.header,html body header.header .header-inner,html body header.header #navigation{overflow:visible!important}html body header.header{z-index:2000!important}html body #navigation .rev-dropdown{flex:none;position:relative}html body #navigation .rev-menu{position:absolute;top:100%;left:0;z-index:2100;max-height:70vh;overflow-y:auto;min-width:310px}html body #navigation .rev-menu a{display:block!important;white-space:normal!important;line-height:1.35}html body #navigation .rev-dropdown:hover>.rev-menu,html body #navigation .rev-dropdown:focus-within>.rev-menu,html body #navigation .rev-dropdown.is-open>.rev-menu{display:block!important}}
@media(max-width:760px){.mobile-directory .rev-dropdown{width:100%}.mobile-directory .rev-toggle{min-width:44px;min-height:44px}.mobile-directory .rev-menu{width:100%}.mobile-directory .rev-dropdown.is-open>.rev-menu{display:block!important}}
.rev-toggle{font-size:18px;line-height:1;flex-shrink:0}

.rural-caption{font-size:13px;line-height:1.5;margin-top:8px;}#page-progetto-agricolo .case-hero-grid figure img{aspect-ratio:auto;}

header.header .rev-dropdown{align-items:center;gap:4px}
header.header .rev-toggle{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;flex:0 0 auto;width:18px;height:24px;padding:0!important;line-height:1!important;vertical-align:middle}
header.header .rev-toggle svg{display:block;flex:none;width:12px;height:12px}
header.header .rev-dropdown>a{display:inline-flex;align-items:center;line-height:1.25}
@media(min-width:761px){
html body header.header .header-inner{max-width:1660px;width:100%;padding-inline:clamp(28px,3vw,52px);gap:40px!important}
html body header.header #navigation{flex:0 1 auto;justify-content:flex-end;gap:clamp(11px,1.15vw,20px)!important;padding:0!important;align-items:center}
html body header.header #navigation>a,html body header.header #navigation>.rev-dropdown,html body header.header #navigation>.rev-search-open{flex-shrink:0}
html body header.header #navigation .nav-contact{padding:14px 16px;gap:10px}
}
@media(min-width:761px) and (max-width:1250px){
html body header.header .header-inner{flex-direction:column;align-items:center;justify-content:center;height:auto!important;min-height:0!important;gap:15px!important;padding-block:12px 16px}
html body header.header #navigation{justify-content:center;gap:clamp(8px,1.1vw,15px)!important;flex-wrap:wrap!important;width:100%}
html{scroll-padding-top:170px}
}
@media(max-width:760px){header.header .mobile-directory .rev-toggle{width:44px;height:44px}header.header .mobile-directory .rev-toggle svg{width:15px;height:15px}}


/* Uniform typography across all main navigation labels, including nested labels. */
html body header.header #navigation > a,
html body header.header #navigation > .rev-dropdown > a,
html body header.header #navigation > button.rev-search-open,
html body header.header #navigation > a.nav-facebook > span {
 font-family:inherit!important;font-size:13px!important;font-weight:800!important;
 letter-spacing:0!important;line-height:1.25!important;text-transform:uppercase!important;
}
html body header.header #navigation > a.nav-contact > span {display:inline-flex;align-items:center;line-height:1!important}
html body header.header #navigation > .rev-dropdown > .rev-toggle {align-self:center}
html body .mobile-directory nav > a,
html body .mobile-directory nav > .rev-dropdown > a,
html body .mobile-directory nav > button.rev-search-open,
html body .mobile-directory nav > a.nav-facebook > span {
 font-family:inherit!important;font-size:14px!important;font-weight:700!important;
 letter-spacing:0!important;line-height:1.25!important;text-transform:uppercase!important;
}


#home-servizi .service-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-flow:row;overflow:visible!important;max-height:none!important;height:auto!important}
#home-servizi .service-grid>.service-card{display:flex!important;visibility:visible!important;opacity:1!important;grid-column:auto!important;min-width:0}
#home-servizi .service-grid>.service-card:nth-last-child(-n+2) .service-image{height:190px}
#home-servizi .service-grid>.service-card.foto-intera .service-image{height:auto!important}
#home-servizi{scroll-margin-top:120px}
.rev-menu .all-services-link{font-weight:800;border-bottom:2px solid #d9ddd4!important}
@media(max-width:1000px){#home-servizi .service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){#home-servizi .service-grid{grid-template-columns:minmax(0,1fr)}}

body:has(#projects-in-corso:target) #page-projects{display:block!important}body:has(#projects-in-corso:target) #page-home{display:none!important}#home-servizi .service-grid{grid-auto-rows:auto!important;grid-auto-flow:row!important;max-height:none!important;overflow:visible!important}#home-servizi .service-card[data-service="perizie"]{display:flex!important;visibility:visible!important;opacity:1!important;grid-area:auto!important}#projects-in-corso{display:block;scroll-margin-top:120px}.portfolio-curated-card[hidden]{display:none!important}

/* Revisione verificata: correzioni di funzionalità e accessibilità, senza modificare la grafica approvata. */
body:has(#projects-interventi:target) #page-projects,body:has(#projects-portfolio-gallery:target) #page-projects{display:block!important}
body:has(#projects-interventi:target) #page-home,body:has(#projects-portfolio-gallery:target) #page-home{display:none!important}
#projects-portfolio-gallery[hidden]{display:none!important}
#page-projects.is-ongoing .portfolio-landing-image img{object-fit:contain;background:var(--sand)}
#page-projects.is-ongoing .portfolio-curated-grid{grid-template-columns:minmax(0,460px)}
#page-projects.is-ongoing .portfolio-curated-photo img{object-fit:contain;background:var(--sand);object-position:center}
.audit-zoom{display:block;width:100%;padding:0;border:0;background:transparent;cursor:zoom-in;text-align:inherit;color:inherit;font:inherit}
.audit-zoom img{display:block}
.rev-dialog button:disabled{opacity:.35;cursor:default}
.rev-dialog button:not(:disabled),.rev-project-filters button{cursor:pointer}
:where(a,button,summary):focus-visible{outline:2px solid #718267;outline-offset:3px}
.portfolio-image-open,.audit-zoom,.work{scroll-margin-top:120px;scroll-margin-bottom:24px}
@media(min-width:761px) and (max-width:1250px){.portfolio-image-open,.audit-zoom,.work{scroll-margin-top:190px}}
@media(max-width:760px){.portfolio-image-open,.audit-zoom,.work{scroll-margin-top:100px}.mobile-directory nav{overscroll-behavior:contain}.mobile-directory .rev-menu a{min-height:44px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}}


#studio-contact-dialog{border:1px solid #ddd;border-radius:4px;padding:30px;max-width:min(480px,calc(100vw - 32px));width:100%;box-sizing:border-box;color:#282828;background:#fff;box-shadow:0 12px 60px #0005;z-index:99999}#studio-contact-dialog::backdrop{background:#0008}#studio-contact-dialog h2{font-size:25px;margin:0 30px 14px 0;line-height:1.2}#studio-contact-dialog p{font-size:14px;line-height:1.5;margin:12px 0}#studio-contact-value{display:block;width:100%;padding:12px;border:1px solid #aaa;background:#f6f6f6;box-sizing:border-box;font:inherit;font-size:16px;color:#222}#studio-contact-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}#studio-contact-dialog button,#studio-contact-open{cursor:pointer;font:inherit;font-weight:600;padding:11px 15px;border:1px solid #777;background:#fff;color:#222;text-decoration:none;display:inline-flex;align-items:center;justify-content:center}#studio-contact-open{background:#a12d2d;color:#fff;border-color:#a12d2d}#studio-contact-close{position:absolute;right:12px;top:10px;border:0!important;font-size:24px!important;padding:2px 8px!important}#studio-contact-status{min-height:20px}#studio-contact-web[hidden]{display:none!important}

/* Multi-page layout: each HTML contains only its own section. */
body .site-page{display:block!important} .rev-project-filters a{display:inline-flex;align-items:center;justify-content:center;padding:12px 21px;border:1px solid var(--line);background:#fff;font-size:13px;font-weight:800;cursor:pointer;color:var(--ink)} .rev-project-filters a[aria-current="page"]{background:var(--red);color:white;border-color:var(--red)} .privacy-copy{max-width:850px;line-height:1.75}.privacy-copy h2{font-size:1.45rem;margin-top:1.7em}.privacy-copy p{margin:0 0 1em}.privacy-copy a{text-decoration:underline}.footer-privacy{text-decoration:underline;text-underline-offset:3px}.skip:focus{top:10px}

/* Verifica responsive finale: menu contenuto nell'area visibile, controlli touch e galleria. */
@media(min-width:761px){html body #navigation .rev-menu{max-height:min(70vh,var(--studio-menu-room,70vh));overscroll-behavior:contain}}
#rev-gallery .rev-photo-row img{touch-action:pan-y pinch-zoom}
@media(max-width:760px){#rev-gallery button{min-width:44px;min-height:44px}}
@media(max-height:500px){#rev-gallery .rev-photo-row img{max-height:calc(94dvh - 122px)}#rev-gallery{padding:8px}#rev-search #rev-results{max-height:calc(94dvh - 130px)}}
