
:root{--bg:#13191c;--panel:#20282c;--panel2:#283136;--yellow:#bb9875;--white:#f5f5f5;--muted:#b4b4b4;--line:#3a4448}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--white);font-family:Arial,Helvetica,sans-serif}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}button{cursor:pointer}.wrap{width:min(1180px,92%);margin:auto}.wrap{width:min(1180px,92%);margin:auto}.header{position:sticky;top:0;z-index:10;background:#13191cf2;border-bottom:1px solid #344047;backdrop-filter:blur(16px)}.nav{min-height:82px;display:flex;align-items:center;justify-content:space-between;gap:24px}.logo{font-size:28px;font-weight:700;letter-spacing:.12em}.logo small{display:block;font-size:9px;font-weight:400;letter-spacing:.19em;color:#abb4b8;margin-top:5px}.links{display:flex;gap:26px;align-items:center}.links a{font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}.links a:hover{color:#bb9875}.btn{display:inline-flex;align-items:center;justify-content:center;background:#bb9875;color:#13191c;border:1px solid #bb9875;padding:15px 22px;font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;transition:.25s}.btn:hover{background:#e1c7aa;transform:translateY(-2px)}.btn.outline{background:transparent;color:#e8e5df}.menu{display:none;background:transparent;border:1px solid #46535a;color:white;padding:10px 14px}
:root{--cream:#f1f0eb;--ink:#13191c;--copper:#bb9875}body{background:#13191c;color:#f4f2ed;font-family:Arial,Helvetica,sans-serif}a{text-decoration:none;color:inherit}html{scroll-behavior:smooth}section{scroll-margin-top:90px}.eyebrow{color:#bb9875;font-size:11px;letter-spacing:.22em;text-transform:uppercase;font-weight:700}.hero{position:relative;min-height:640px;display:flex;align-items:center;overflow:hidden;border-bottom:1px solid #344047}.hero:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#13191cf7 4%,#13191cde 42%,#13191c44 100%);z-index:1}.hero-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.hero .wrap{position:relative;z-index:2;padding:90px 0}.hero h1{font-size:clamp(43px,6.3vw,88px);font-weight:500;line-height:1.06;letter-spacing:-.055em;max-width:820px;margin:23px 0}.hero h1 em{font-style:normal;color:#c4a482}.hero p{max-width:520px;color:#d3d6d5;line-height:1.8;font-size:15px}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:30px}.coordinates{position:absolute;bottom:20px;right:4%;z-index:2;font-size:10px;color:#b5b9b7;letter-spacing:.18em}.light{background:var(--cream);color:#242a2c}.section{padding:100px 0}.section h2{font-size:clamp(34px,4.5vw,61px);font-weight:500;line-height:1.12;letter-spacing:-.045em;margin:18px 0 26px}.lead{font-size:17px;line-height:1.85;color:#5e686b;max-width:650px}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:center}.rule{height:1px;background:#d5d6d0;margin:30px 0}.service-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:#d4d5d0;border:1px solid #d4d5d0;margin-top:44px}.service{background:#f1f0eb;padding:35px 28px;min-height:235px;transition:background .25s}.service:hover{background:#e6e3dc}.service .num{font-size:11px;color:#9b7d60}.service h3{font-size:23px;font-weight:500;margin:45px 0 14px}.service p{color:#687174;font-size:13px;line-height:1.7}.visual{min-height:360px;background:#d8d9d4;position:relative;overflow:hidden}.visual svg{width:100%;height:100%;position:absolute;inset:0}.dark-panel{background:#1c2529}.dark-panel .lead{color:#b8c1c3}.project-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px;margin-top:45px}.project{background:#293238;min-height:280px;position:relative;overflow:hidden;display:flex;align-items:flex-end;padding:28px}.project svg{position:absolute;inset:0;width:100%;height:100%;transition:transform .5s}.project:hover svg{transform:scale(1.04)}.project .info{z-index:1;position:relative;text-shadow:0 2px 15px #000}.project strong{display:block;font-size:24px;font-weight:500;margin-top:8px}.process{display:grid;grid-template-columns:repeat(4,1fr);gap:22px;margin-top:45px}.step{border-top:1px solid #a5a9a7;padding-top:20px}.step b{color:#9b7d60}.step h3{font-size:20px;font-weight:500}.step p{font-size:13px;line-height:1.8;color:#657075}.contact{display:grid;grid-template-columns:1fr 1fr;gap:70px}.contact form{display:grid;gap:14px}.contact input,.contact textarea{background:transparent;border:1px solid #9ca6a9;padding:16px;color:#fff;width:100%;border-radius:0}.contact textarea{min-height:120px}.footer{border-top:1px solid #3a454a;padding:32px 0;color:#aab3b6;font-size:12px}.footer .wrap{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}.note{font-size:12px;color:#aeb8bb;line-height:1.7}.reveal{animation:rise .9s ease both}@keyframes rise{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@media(max-width:760px){.nav{min-height:70px}.logo{font-size:22px}.links{display:none;position:absolute;top:70px;left:0;right:0;background:#13191c;padding:25px 5%;flex-direction:column;align-items:flex-start}.links.open{display:flex}.menu{display:block}.hero{min-height:600px}.hero:before{background:linear-gradient(90deg,#13191cf5,#13191c91)}.section{padding:65px 0}.grid2,.contact{grid-template-columns:1fr;gap:30px}.service-grid{grid-template-columns:1fr}.service{min-height:180px}.service h3{margin-top:24px}.project-grid{grid-template-columns:1fr}.process{grid-template-columns:1fr 1fr}.visual{min-height:260px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Identità ufficiale PECPE&GARGANO — intervento 01: logo e header */
:root{--yellow:#93c11f;--copper:#93c11f}
.nav{min-height:106px}
.logo{display:flex;align-items:center;flex:0 0 auto;line-height:0;max-width:250px}
.logo img{display:block;width:220px;height:auto;max-height:96px;object-fit:contain}
.links a:hover,.eyebrow,.hero h1 em{color:#93c11f}
.btn{background:#93c11f;border-color:#93c11f;color:#10191c}
.btn:hover{background:#b0d94d}
@media(max-width:760px){.nav{min-height:82px}.logo img{width:158px;max-height:74px}.links{top:82px}}
@media(max-width:380px){.logo img{width:140px}}

/* Homepage fotografica - V3 */
.hero-gallery{position:relative;min-height:min(800px,88svh);height:740px;display:flex;align-items:center;isolation:isolate;overflow:hidden;background:#17202a;color:white}.hero-slides,.hero-shade{position:absolute;inset:0}.hero-slides{z-index:-2}.hero-slide{position:absolute;width:100%;height:100%;object-fit:cover;object-position:center;opacity:0;transition:opacity 1s ease,transform 7s ease;transform:scale(1.035)}.hero-slide.active{opacity:1;transform:scale(1)}.hero-shade{z-index:-1;background:linear-gradient(90deg,rgba(7,19,30,.83) 0%,rgba(7,19,30,.38) 58%,rgba(7,19,30,.16) 100%),linear-gradient(0deg,rgba(7,19,30,.55),transparent 30%)}.hero-gallery-content{position:relative;width:100%;padding-top:90px;padding-bottom:100px}.hero-gallery h1{color:#fff;font-size:clamp(48px,7.4vw,108px);line-height:1.04;max-width:950px;margin:22px 0}.hero-gallery h1 em{color:#a3cb2d;font-style:normal}.hero-gallery p{color:#e3e9e9;max-width:490px}.hero-gallery .eyebrow{color:#c5d5e1}.gallery-controls{position:absolute;bottom:28px;right:max(5vw,20px);display:flex;align-items:center;gap:17px;z-index:3;color:#fff}.gallery-arrow,.gallery-dot{cursor:pointer}.gallery-arrow{border:1px solid #ffffff80;border-radius:50%;height:43px;width:43px;background:#0b1b29aa;color:#fff;font-size:20px}.gallery-arrow:hover{background:#073b70}.gallery-dots{display:flex;gap:9px;align-items:center}.gallery-dot{height:8px;width:8px;padding:0;border:0;border-radius:50%;background:#ffffff8c}.gallery-dot.active{width:26px;border-radius:10px;background:#a3cb2d}#slideCount{font-size:12px;letter-spacing:.1em;white-space:nowrap}@media(max-width:700px){.hero-gallery{height:690px;min-height:78svh}.hero-gallery-content{padding-top:65px;padding-bottom:110px}.hero-gallery h1{font-size:clamp(44px,12vw,66px)}.hero-shade{background:linear-gradient(90deg,#07131ed9,#07131e66),linear-gradient(0deg,#07131e80,transparent)}.gallery-controls{right:16px;left:16px;justify-content:center;gap:12px;bottom:20px}.gallery-arrow{height:38px;width:38px}}@media(prefers-reduced-motion:reduce){.hero-slide{transition:none;transform:none}}

/* V4: slideshow luminoso e senza testi sulle immagini */
.header{background:#fff;border-bottom:1px solid #e6e9e7;backdrop-filter:none}
.links a{color:#202a30}.links a:hover{color:#073b70}
.nav{min-height:132px}.logo img{width:270px;max-height:124px}.logo{max-width:290px}
.hero-gallery{height:clamp(480px,calc(100svh - 132px),850px);min-height:480px;background:#f0f0ed}
.hero-gallery::before{display:none!important}.hero-gallery .hero-shade,.hero-gallery .hero-gallery-content{display:none!important}
.hero-slides{z-index:0}.hero-slide{object-fit:cover;object-position:center;transform:none;transition:opacity 1.15s ease}.hero-slide.active{transform:none}
.gallery-controls{bottom:24px;left:0;right:0;justify-content:center;pointer-events:none}
.gallery-controls button{pointer-events:auto}.gallery-arrow{position:absolute;bottom:calc(50% + 180px);background:#171d22bb;border:0;width:52px;height:52px;font-size:26px}.gallery-arrow:hover{background:#06396d}.gallery-arrow:first-child{left:26px}.gallery-arrow:last-child{right:26px}.gallery-dots{background:#10182055;padding:10px 14px;border-radius:24px;backdrop-filter:blur(6px)}.gallery-dot{height:10px;width:10px;background:#ffffffaa}.gallery-dot.active{width:10px;background:#fff;box-shadow:0 0 0 2px #fff5}#slideCount{display:none}
.gallery-heading{background:#fff;color:#172127;padding:52px 0 62px}.gallery-kicker{color:#06396d;font-size:11px;letter-spacing:.18em;font-weight:700}.gallery-heading h1{font-size:clamp(38px,5vw,70px);letter-spacing:-.05em;font-weight:500;margin:12px 0 0}.gallery-heading h1 em{font-style:normal;color:#93c11f}
@media(max-width:760px){.nav{min-height:90px}.logo img{width:178px;max-height:83px}.links{top:90px;background:#fff;border-top:1px solid #eee}.menu{color:#073b70;border-color:#b8c3c8}.hero-gallery{height:62svh;min-height:390px}.gallery-arrow{bottom:calc(50% + 95px);width:42px;height:42px}.gallery-arrow:first-child{left:12px}.gallery-arrow:last-child{right:12px}.gallery-controls{bottom:16px}.gallery-heading{padding:34px 0 45px}}

/* V5: preserve original composition, avoid aggressive crops and dark filters */
.hero-gallery{background:#f5f5f3;height:min(740px,calc(100svh - 115px));min-height:440px}
.hero-slide{object-fit:contain;object-position:center;filter:none!important;image-rendering:auto}
.hero-slides{background:#f5f5f3}
.gallery-arrow{bottom:auto;top:50%;transform:translateY(-50%)}
.gallery-controls{pointer-events:none}
.gallery-dots{pointer-events:auto}
@media(max-width:760px){.hero-gallery{height:min(68svh,650px);min-height:330px}.gallery-arrow{top:50%;bottom:auto}}
/* V6: galleria senza bande bianche, foto centrali più grandi */
.hero-gallery{height:clamp(430px,65svh,660px);min-height:430px;background:#222a2d}
.hero-slides{background:#222a2d}
.hero-slide{width:100%;height:100%;object-fit:contain;object-position:center;z-index:1}
.hero-slide-backdrop{position:absolute;inset:-22px;width:calc(100% + 44px);height:calc(100% + 44px);object-fit:cover;filter:blur(24px) brightness(.65);opacity:0;transition:opacity 1.15s ease;z-index:0;pointer-events:none}
.hero-slide-backdrop.active{opacity:1}
@media(max-width:760px){.hero-gallery{height:clamp(340px,65svh,560px);min-height:340px}}

/* V7: portfolio diviso, senza bande laterali */
.hero.hero-gallery{display:grid!important;grid-template-columns:minmax(0,58fr) minmax(340px,42fr);height:clamp(520px,72svh,760px);min-height:520px;background:#f4f3ef;overflow:hidden;align-items:stretch;border:0}
.hero-gallery::before{display:none!important}
.portfolio-photo{position:relative;min-width:0;background:#e6e5e0;overflow:hidden}
.hero-gallery .hero-slides{position:absolute;inset:0;z-index:0;background:transparent}
.hero-gallery .hero-slide{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;opacity:0;transform:none!important;transition:opacity 1s ease;filter:none!important}
.hero-gallery .hero-slide.active{opacity:1}
.portfolio-description{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:clamp(32px,5vw,90px);background:#f4f3ef;color:#14202a;min-width:0}
.portfolio-label{font-size:11px;letter-spacing:.22em;font-weight:700;color:#06396d}.portfolio-rule{width:50px;height:3px;background:#93c11f;margin:25px 0 30px}
.portfolio-description h1{color:#13202a!important;font-size:clamp(38px,4vw,68px)!important;letter-spacing:-.055em;line-height:1.08;margin:0 0 40px;max-width:100%;font-weight:500}.portfolio-description h1 em{color:#80aa19!important;font-style:normal}
.portfolio-type{font-size:11px!important;letter-spacing:.2em;font-weight:700;color:#6b7680!important;margin:0 0 12px!important}.portfolio-description h2{font-size:clamp(25px,2.5vw,39px);letter-spacing:-.035em;margin:0 0 16px;font-weight:500}.portfolio-subtitle{font-size:15px!important;line-height:1.7!important;color:#59636b!important;margin:0!important;max-width:390px}.portfolio-bottom{display:flex;justify-content:space-between;width:100%;gap:15px;margin-top:auto;padding-top:36px;border-top:1px solid #cbd0cb;font-size:10px;letter-spacing:.12em;color:#6e777c}
.hero-gallery .gallery-controls{position:absolute;bottom:20px;left:18px;right:18px;display:flex;align-items:center;justify-content:space-between;z-index:5;pointer-events:none}.hero-gallery .gallery-controls>*{pointer-events:auto}.hero-gallery .gallery-arrow{position:static!important;width:43px;height:43px;background:#14202ac9;color:white;border:0;border-radius:50%;font-size:22px;cursor:pointer}.hero-gallery .gallery-dots{display:flex;gap:9px;padding:11px 15px;border-radius:30px;background:#14202a80;backdrop-filter:blur(6px)}.hero-gallery .gallery-dot{width:9px;height:9px;background:#ffffff9c;border-radius:50%;border:0;padding:0}.hero-gallery .gallery-dot.active{background:#fff;box-shadow:0 0 0 2px #ffffff60}.hero-gallery #slideCount{display:none}
@media(max-width:760px){.hero.hero-gallery{display:flex!important;flex-direction:column;height:auto;min-height:0}.portfolio-photo{height:min(88vw,540px);min-height:310px}.portfolio-description{padding:35px 25px 28px}.portfolio-description h1{font-size:43px!important;margin-bottom:24px}.portfolio-rule{margin:18px 0 20px}.portfolio-bottom{margin-top:32px;padding-top:20px}.hero-gallery .gallery-controls{bottom:14px}}

/* V8 — Foto originali valorizzate, nessun filtro né banda laterale */
.hero-gallery .hero-slide{image-rendering:auto;object-fit:cover;object-position:center;will-change:opacity;}
.hero-gallery .hero-slide:not(.active){visibility:hidden;transition:opacity 1s ease,visibility 0s linear 1s;}
.hero-gallery .hero-slide.active{visibility:visible;transition:opacity 1s ease;}
@media(min-width:761px){.hero.hero-gallery{grid-template-columns:minmax(0,60fr) minmax(340px,40fr)}}
@media(max-width:760px){.portfolio-photo{height:min(100vw,570px)}.hero-gallery .hero-slide{object-fit:cover}}

/* V9 — Banner integrato: logo originale non alterato */
.header{background:linear-gradient(115deg,rgba(255,255,255,.98) 0%,rgba(250,252,250,.98) 54%,rgba(240,247,241,.97) 100%);border-bottom:1px solid #dfe9e1;box-shadow:0 5px 24px rgba(8,42,55,.055);overflow:visible}
.header::before{content:"";position:absolute;inset:0;pointer-events:none;opacity:.28;background-image:linear-gradient(90deg,transparent 49.8%,#7f9eac 50%,transparent 50.2%),linear-gradient(0deg,transparent 49.8%,#7f9eac 50%,transparent 50.2%);background-size:70px 70px;mask-image:linear-gradient(90deg,transparent 36%,#000 100%)}
.header::after{content:"";position:absolute;right:0;top:0;bottom:0;width:38%;pointer-events:none;background:linear-gradient(130deg,transparent 20%,rgba(148,193,31,.08) 20.2%,rgba(148,193,31,.08) 21.1%,transparent 21.3%),linear-gradient(130deg,transparent 35%,rgba(7,59,112,.055) 35.2%,rgba(7,59,112,.055) 36%,transparent 36.2%)}
.nav{position:relative;z-index:1;min-height:126px}.logo{transition:transform .35s ease,filter .35s ease}.logo:hover{transform:translateY(-2px);filter:drop-shadow(0 5px 8px rgba(0,50,95,.08))}.logo img{width:270px;max-height:120px;object-fit:contain}
.links{gap:clamp(14px,2.1vw,32px)}.links a{position:relative;display:inline-flex;align-items:center;min-height:48px;color:#17364d;font-size:11px;font-weight:700;letter-spacing:.15em;transition:color .25s ease,transform .3s ease}.links a::after{content:"";position:absolute;left:0;right:100%;bottom:8px;height:2px;background:#93c11f;transition:right .34s cubic-bezier(.2,.7,.2,1)}.links a:hover,.links a.is-active{color:#6f9e13;transform:translateY(-2px)}.links a:hover::after,.links a.is-active::after{right:0}.links a:focus-visible{outline:2px solid #93c11f;outline-offset:5px}
@media(min-width:761px){.links a{animation:navEntry .55s ease both}.links a:nth-child(2){animation-delay:.07s}.links a:nth-child(3){animation-delay:.14s}.links a:nth-child(4){animation-delay:.21s}.links a:nth-child(5){animation-delay:.28s}}@keyframes navEntry{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:760px){.nav{min-height:88px}.logo img{width:180px;max-height:82px}.links{top:88px;background:#fff;box-shadow:0 15px 24px #112b3520;gap:6px}.links a{min-height:42px;font-size:12px}.links a::after{bottom:3px}.menu{position:relative;z-index:2;border-radius:4px}.header::before{opacity:.12}}
@media(prefers-reduced-motion:reduce){.links a{animation:none!important}}

/* V10 — Sfondo architettonico integrato nel SOLO header, logo originale invariato */
.header{isolation:isolate;background:#f8faf8;box-shadow:0 5px 22px rgba(15,40,49,.09)}
.header::before{content:"";position:absolute;inset:0;opacity:1;pointer-events:none;mask-image:none;background:linear-gradient(90deg,#ffffff 0%,rgba(255,255,255,.97) 34%,rgba(255,255,255,.82) 59%,rgba(255,255,255,.58) 100%),url('header-architecture.webp') right center / auto 100% no-repeat;z-index:-1}
.header::after{content:"";position:absolute;inset:0;width:auto;pointer-events:none;background:linear-gradient(127deg,transparent 57%,rgba(147,193,31,.09) 57.2%,rgba(147,193,31,.09) 58.5%,transparent 58.7%),linear-gradient(127deg,transparent 65%,rgba(0,61,116,.075) 65.2%,rgba(0,61,116,.075) 66%,transparent 66.2%);z-index:-1}
.nav{z-index:1}.links a{color:#123a58;text-shadow:0 1px 12px rgba(255,255,255,.85)}
@media(max-width:760px){.header::before{background:linear-gradient(90deg,rgba(255,255,255,.98),rgba(255,255,255,.88)),url('header-architecture.webp') right center / auto 100% no-repeat}.header::after{opacity:.35}.menu{background:#fff;color:#103b5d;border:1px solid #b6c6c6}}

/* V11 — Header unico, senza menu stampato nello sfondo */
.header{position:sticky;top:0;isolation:isolate;overflow:visible;background:#fff;min-height:0;border-top:0;border-bottom:1px solid #e5e9e8}
.header::before{content:"";position:absolute;inset:0;z-index:-1;opacity:1;mask-image:none;background:linear-gradient(90deg,#fff 0%,rgba(255,255,255,.98) 39%,rgba(255,255,255,.78) 65%,rgba(255,255,255,.45) 100%),url("header-architecture-clean.webp") right center / cover no-repeat}
.header::after{content:"";position:absolute;inset:0;z-index:-1;width:auto;opacity:.7;background:linear-gradient(127deg,transparent 60%,rgba(147,193,31,.07) 60.2%,rgba(147,193,31,.07) 61%,transparent 61.2%)}
.nav{min-height:116px;position:relative;z-index:2}.logo img{display:block;width:255px;height:auto;max-height:108px;object-fit:contain}.links{display:flex;gap:clamp(15px,2.2vw,31px);align-items:center}.links a{white-space:nowrap;color:#123a58;text-shadow:none}
@media(max-width:760px){.nav{min-height:88px}.logo img{width:180px;max-height:80px}.links{display:none;top:88px;background:#fff}.links.open{display:flex}.header::before{background:linear-gradient(90deg,rgba(255,255,255,.98),rgba(255,255,255,.79)),url("header-architecture-clean.webp") right center / cover no-repeat}.header::after{opacity:.3}}


/* V12 — unico banner grafico: sfondo fotografico reale, logo originale e link HTML */
.header{position:sticky;top:0;z-index:100;isolation:isolate;overflow:visible!important;background:#eef5f7!important;border:0!important;border-bottom:1px solid #e0e7e8!important;box-shadow:0 4px 18px rgba(12,45,58,.10)!important}
.header::before{content:"";position:absolute;inset:0;z-index:-1;opacity:1!important;mask-image:none!important;background-image:linear-gradient(90deg,rgba(255,255,255,.74) 0%,rgba(255,255,255,.35) 30%,rgba(255,255,255,.02) 70%),url("header-architecture-v12.webp")!important;background-position:center center!important;background-size:cover!important;background-repeat:no-repeat!important;pointer-events:none}
.header::after{display:none!important}
.nav{min-height:164px!important;position:relative;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:30px}
.logo{max-width:320px!important;flex:0 0 auto}.logo img{width:285px!important;max-height:146px!important;height:auto!important;object-fit:contain!important;filter:drop-shadow(0 1px 5px rgba(255,255,255,.9))}
.links{display:flex;gap:clamp(14px,2.3vw,32px);align-items:center}.links a{font-size:12px!important;font-weight:750!important;color:#0b365b!important;letter-spacing:.14em!important;text-shadow:0 1px 6px rgba(255,255,255,.8)!important;position:relative;transition:color .24s ease,transform .24s ease}.links a:hover,.links a:focus-visible{color:#79a919!important;transform:translateY(-2px)}.links a::after{background:#8bc01c!important}
@media(max-width:760px){.nav{min-height:100px!important}.logo img{width:185px!important;max-height:92px!important}.links{display:none;position:absolute;top:100px!important;left:0;right:0;padding:18px 5%;background:rgba(255,255,255,.98)!important;box-shadow:0 15px 20px #1233;flex-direction:column;align-items:flex-start}.links.open{display:flex}.menu{display:block!important;background:#fff!important;color:#123a58!important}.header::before{background-image:linear-gradient(90deg,rgba(255,255,255,.8),rgba(255,255,255,.38)),url("header-architecture-v12.webp")!important}}
@media(prefers-reduced-motion:reduce){.links a{transition:none!important}}

/* V13 — header compatto e luminoso: planimetria senza testi incorporati */
.header{background:#fcfdfb!important;border-top:0!important;border-bottom:1px solid #e7ece8!important;box-shadow:0 3px 14px rgba(20,42,50,.06)!important}
.header::before{content:""!important;display:block!important;position:absolute;inset:0;opacity:1!important;z-index:-1;background-image:linear-gradient(90deg,rgba(255,255,255,.98) 0%,rgba(255,255,255,.90) 34%,rgba(255,255,255,.55) 70%,rgba(255,255,255,.76) 100%),url("header-planimetria-v13.webp")!important;background-position:center center!important;background-size:cover!important;background-repeat:no-repeat!important}
.header::after{display:none!important}
.nav{min-height:96px!important;height:96px!important;gap:22px!important}
.logo{max-width:220px!important}.logo img{width:205px!important;max-height:89px!important;height:auto!important;filter:none!important}
.links{gap:clamp(13px,2.1vw,29px)!important}
.links a{font-size:11px!important;color:#103b60!important;text-shadow:none!important}
.links a:hover,.links a:focus-visible{color:#7da916!important}
.hero.hero-gallery{height:clamp(440px,calc(100svh - 96px),710px)!important;min-height:440px!important}
@media(max-width:760px){
.nav{min-height:76px!important;height:76px!important}
.logo img{width:160px!important;max-height:70px!important}
.links{display:none!important;top:76px!important;background:rgba(255,255,255,.98)!important}
.links.open{display:flex!important}
.header::before{background-image:linear-gradient(90deg,rgba(255,255,255,.96),rgba(255,255,255,.72)),url("header-planimetria-v13.webp")!important}
.hero.hero-gallery{height:auto!important;min-height:0!important}
}

/* V14: header 96px, planimetria luminosa, logo autentico e menu HTML interattivo */
.header{background:#fbfcfb!important;box-shadow:0 2px 9px rgba(12,45,58,.045)!important}
.header::before{background-image:linear-gradient(90deg,rgba(255,255,255,.94) 0%,rgba(255,255,255,.81) 21%,rgba(255,255,255,.32) 48%,rgba(255,255,255,.80) 77%,rgba(255,255,255,.91) 100%),url("header-planimetria-v14.webp")!important;background-position:center!important;background-size:cover!important}
.nav{min-height:96px!important;height:96px!important}
.logo img{width:205px!important;max-height:89px!important}
@media(max-width:760px){.nav{min-height:76px!important;height:76px!important}.logo img{width:160px!important;max-height:70px!important}.header::before{background-image:linear-gradient(90deg,rgba(255,255,255,.95),rgba(255,255,255,.78)),url("header-planimetria-v14.webp")!important}}

/* V15: background panoramico proporzionato alla barra reale, senza velatura che nasconde i disegni */
.header::before{background-image:linear-gradient(90deg,rgba(255,255,255,.34),rgba(255,255,255,.07) 50%,rgba(255,255,255,.24)),url("header-planimetria-v15.webp")!important;background-size:100% 100%!important;background-position:center center!important;opacity:1!important}
.nav{height:96px!important;min-height:96px!important}
@media(max-width:760px){.nav{height:76px!important;min-height:76px!important}.header::before{background-image:linear-gradient(90deg,rgba(255,255,255,.65),rgba(255,255,255,.3)),url("header-planimetria-v15.webp")!important}}

/* V16: new story section only; previous header and gallery untouched */
.origin-section{background:#f9f9f6;color:#21313d;padding:clamp(56px,7vw,108px) 0;border-top:1px solid #e8ebe7}.origin-layout{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);gap:clamp(35px,5vw,95px);align-items:start}.origin-kicker{font-size:11px;letter-spacing:.23em;font-weight:750;color:#244968;display:flex;gap:13px;align-items:center;margin-bottom:25px}.origin-line{height:2px;width:36px;background:#92c51c}.origin-copy h2{font-size:clamp(33px,3.5vw,57px);line-height:1.1;letter-spacing:-.045em;font-weight:500;margin:0 0 30px;color:#1b303e}.origin-copy h2 span{display:block;color:#83b71b;font-weight:650}.origin-copy p{font-size:clamp(14px,1.08vw,16px);line-height:1.73;color:#46545c;margin:0 0 18px}.origin-copy strong{color:#23394b;font-weight:750}.origin-visual{position:sticky;top:125px}.origin-image{overflow:hidden;border-radius:3px;background:#eff1ec;box-shadow:0 20px 65px rgba(30,48,57,.07)}.origin-image img{display:block;width:100%;height:auto}.origin-services{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;margin-top:26px;border-top:1px solid #d9dfd8;border-left:1px solid #d9dfd8}.origin-services div{font-size:12px;line-height:1.5;text-transform:uppercase;letter-spacing:.09em;font-weight:700;color:#1b4362;padding:17px 13px;border-right:1px solid #d9dfd8;border-bottom:1px solid #d9dfd8}.origin-services span{display:block;color:#82b31a;font-size:11px;margin-bottom:8px}@media(max-width:850px){.origin-layout{grid-template-columns:1fr}.origin-visual{position:static}.origin-section{padding:50px 0}.origin-copy h2 span{overflow-wrap:anywhere}}

/* V18 — Colori istituzionali: modifica limitata alla sezione storia. */
.origin-section{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(118deg,#f7f8f4 0%,#f5f7f3 48%,#dbe2e4 100%);border-top:1px solid #d8e0df}
.origin-section::before{content:"";position:absolute;z-index:-1;right:-10%;top:0;bottom:0;width:51%;background:linear-gradient(145deg,#24465d,#122c3f 72%,#0b2233);clip-path:polygon(29% 0,100% 0,100% 100%,0 100%);opacity:.98}
.origin-section::after{content:"";position:absolute;z-index:-1;right:22%;top:-15%;height:130%;width:clamp(28px,4vw,75px);transform:skewX(-39deg);background:linear-gradient(180deg,#a3cf3d,#7fae18);opacity:.94}
.origin-layout{grid-template-columns:minmax(0,1.14fr) minmax(0,1fr);gap:clamp(36px,5.4vw,100px)}
.origin-kicker{color:#23465f}
.origin-copy h2{color:#1d384c}
.origin-copy h2 span{color:#83b71b}
.origin-copy p{color:#344b5b}
.origin-copy strong{color:#19374d}
.origin-visual{padding:22px 0 0 12px}
.origin-image{position:relative;background:#f5f6f2;transform:rotate(-2deg);box-shadow:0 25px 60px rgba(5,24,37,.3);border:7px solid rgba(255,255,255,.92);border-radius:2px}
.origin-image::before{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(130deg,rgba(255,255,255,.2),transparent 55%)}
.origin-services{border-color:rgba(226,240,240,.27);background:rgba(8,30,45,.34);backdrop-filter:blur(6px)}
.origin-services div{color:#edf4f5;border-color:rgba(226,240,240,.24)}
.origin-services span{color:#a5d345}
@media(max-width:850px){.origin-section::before{top:auto;bottom:0;left:0;right:0;width:100%;height:44%;clip-path:polygon(0 16%,100% 0,100% 100%,0 100%)}.origin-section::after{top:auto;bottom:31%;right:20%;height:18%;width:35px}.origin-visual{padding:24px 12px 0}.origin-image{transform:rotate(-1deg)}.origin-copy p{color:#344b5b}}

/* Pagine indipendenti, mantenendo lo stile originale */
.standalone-section{min-height:calc(100vh - 180px);padding-top:76px;padding-bottom:100px}
@media(max-width:700px){.standalone-section{padding-top:45px;padding-bottom:65px}}

/* V20 — Footer istituzionale; logo originale riutilizzato senza alcuna modifica */
.studio-footer{position:relative;overflow:hidden;background:#101e28;color:#edf3f5;border-top:3px solid #83b71b;padding:0!important}
.studio-footer::before{content:"";position:absolute;inset:0 0 66px 0;pointer-events:none;background:linear-gradient(132deg,transparent 0 76%,rgba(132,184,28,.12) 76.2% 87%,transparent 87.2%),linear-gradient(32deg,rgba(38,75,96,.3),transparent 45%)}
.studio-footer .footer-main{position:relative;display:grid;grid-template-columns:1fr 1.1fr 1fr;gap:clamp(25px,3vw,58px);padding:52px 0 46px;align-items:center}
.studio-footer .footer-brand{min-width:0}.studio-footer .footer-brand img{display:block;width:min(100%,260px);height:auto;max-height:140px;object-fit:contain;object-position:left center;background:rgba(255,255,255,.97);padding:10px 13px;border-radius:3px}
.studio-footer .footer-brand p{font-size:12px;color:#c6d6dc;letter-spacing:.04em;margin:16px 0 0}
.studio-footer .footer-contact{font-style:normal;display:grid;gap:18px;border-left:1px solid #46606c;padding-left:clamp(20px,3vw,45px);font-size:14px;line-height:1.55}
.studio-footer .footer-contact>div{display:flex;align-items:flex-start;gap:13px}.studio-footer .footer-symbol{font-size:21px;line-height:1;color:#99c82b;width:22px;flex:0 0 22px}
.studio-footer a{color:inherit;text-decoration:none}.studio-footer a:hover,.studio-footer a:focus-visible{color:#b5db59;text-decoration:underline}
.studio-footer .footer-about{border-left:1px solid #46606c;padding-left:clamp(20px,3vw,45px);line-height:1.65}.studio-footer .footer-about p{margin:0 0 11px}.studio-footer .footer-about .footer-eyebrow{font-size:10px;font-weight:800;letter-spacing:.17em;color:#a8d43e}.studio-footer .footer-about .footer-small{font-size:13px;color:#b5c5cd}
.studio-footer .footer-lower{position:relative;border-top:1px solid #3a515d;background:rgba(6,14,19,.32)}.studio-footer .footer-lower-inner{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;padding:19px 0;font-size:11px;color:#c6d2d8;letter-spacing:.01em}
@media(max-width:900px){.studio-footer .footer-main{grid-template-columns:1fr 1fr}.studio-footer .footer-about{grid-column:1/-1;border-left:0;border-top:1px solid #46606c;padding:22px 0 0}.studio-footer .footer-contact{padding-left:25px}}
@media(max-width:620px){.studio-footer .footer-main{grid-template-columns:1fr;gap:24px;padding:36px 0}.studio-footer .footer-contact{border-left:0;border-top:1px solid #46606c;padding:22px 0 0}.studio-footer .footer-about{grid-column:auto}.studio-footer .footer-lower-inner{flex-direction:column;align-items:flex-start}}


/* V21 — menu più leggibile. Nessun intervento su logo, banner o altre sezioni. */
@media (min-width:761px){
  .header .links{gap:clamp(5px,.75vw,12px)!important;}
  .header .links a{
    display:inline-flex;align-items:center;justify-content:center;
    min-height:39px;padding:0 clamp(10px,1.05vw,17px)!important;
    border:1px solid rgba(13,56,91,.18);border-radius:7px;
    background:rgba(255,255,255,.88);color:#103b60!important;
    font-size:12px!important;font-weight:800!important;letter-spacing:.09em!important;
    text-shadow:none!important;box-shadow:0 2px 8px rgba(7,40,65,.09);
    transition:background .2s,border-color .2s,box-shadow .2s,transform .2s,color .2s;
  }
  .header .links a:hover,.header .links a:focus-visible{
    background:#fff;color:#0c3554!important;border-color:#8bbd1e;
    box-shadow:0 3px 12px rgba(16,59,96,.15);transform:translateY(-1px);
  }
  .header .links a[aria-current="page"]{
    background:#8fbe20;color:#103550!important;border-color:#83b117;
    box-shadow:0 3px 12px rgba(77,125,12,.17);
  }
  .header .links a::after{display:none!important;}
}
@media(max-width:760px){
  .header .links a{width:100%;padding:12px 15px!important;border-radius:6px;
    background:#f4f8f2;border:1px solid #d9e4dc;color:#103b60!important;
    font-size:13px!important;font-weight:800!important;}
  .header .links a[aria-current="page"]{background:#e2f1c1;border-color:#8fbe20;}
  .header .links a:hover,.header .links a:focus-visible{border-color:#8fbe20;}
}

/* V22 — menu più fine e raffinato: soltanto navigazione */
@media(min-width:761px){
 .header .links{gap:clamp(8px,1.15vw,18px)!important;}
 .header .links a{min-height:32px!important;padding:0 clamp(8px,.8vw,13px)!important;border:1px solid rgba(16,59,96,.10)!important;border-radius:4px!important;background:rgba(255,255,255,.59)!important;color:#163d5b!important;font-size:11px!important;font-weight:650!important;letter-spacing:.13em!important;box-shadow:none!important;transform:none!important;position:relative!important;transition:background .25s ease,color .25s ease,border-color .25s ease!important;}
 .header .links a::after{display:block!important;content:""!important;position:absolute!important;bottom:3px!important;left:22%!important;right:22%!important;width:auto!important;height:1.5px!important;background:#86b91b!important;opacity:0!important;transform:scaleX(.45)!important;transition:opacity .25s ease,transform .25s ease!important;}
 .header .links a:hover,.header .links a:focus-visible{background:rgba(255,255,255,.87)!important;color:#103650!important;border-color:rgba(134,185,27,.38)!important;box-shadow:none!important;transform:none!important;}
 .header .links a:hover::after,.header .links a:focus-visible::after,.header .links a[aria-current="page"]::after{opacity:1!important;transform:scaleX(1)!important;}
 .header .links a[aria-current="page"]{background:rgba(255,255,255,.76)!important;color:#123c58!important;border-color:rgba(16,59,96,.10)!important;box-shadow:none!important;}
}
@media(max-width:760px){
 .header .links a{padding:11px 13px!important;border:1px solid rgba(16,59,96,.10)!important;border-radius:4px!important;background:rgba(255,255,255,.78)!important;font-size:12px!important;font-weight:650!important;letter-spacing:.11em!important;}
 .header .links a[aria-current="page"]{background:rgba(143,190,32,.12)!important;border-color:rgba(143,190,32,.35)!important;border-left:2px solid #8fbe20!important;}
}

/* V23 – Pagina Servizi: regole circoscritte, altre pagine invariate */
.pec-services-page{background:#f4f5f1;color:#18334a}.pec-services-page .eyebrow{font-size:11px;font-weight:800;letter-spacing:.23em;color:#89bc20}.pec-services-hero{position:relative;overflow:hidden;background:linear-gradient(115deg,#102a3b 0%,#193b52 70%,#24465a 100%);color:#fff}.pec-services-hero:before{content:"";position:absolute;right:-12%;top:-50%;width:55%;height:190%;transform:rotate(31deg);background:linear-gradient(90deg,transparent 0 48%,rgba(144,194,38,.25) 48% 55%,rgba(255,255,255,.04) 55%);pointer-events:none}.pec-services-hero:after{content:"";position:absolute;inset:0;background:repeating-linear-gradient(0deg,transparent 0 46px,rgba(255,255,255,.025) 47px),repeating-linear-gradient(90deg,transparent 0 46px,rgba(255,255,255,.025) 47px);pointer-events:none}.pec-services-hero-inner{position:relative;z-index:1;padding:85px 0 90px}.pec-services-hero h1{font-size:clamp(42px,6vw,76px);line-height:1.07;letter-spacing:-.045em;font-weight:600;margin:20px 0 24px}.pec-services-hero h1 span{color:#9bca29}.pec-services-hero p{max-width:690px;color:#d5e0e5;font-size:17px;line-height:1.8}.pec-services-hero-cta{display:inline-flex;align-items:center;gap:22px;border-bottom:1px solid #9bca29;padding:12px 0;margin-top:16px;color:white;font-size:13px;letter-spacing:.07em}.pec-services-hero-cta:hover{color:#a6d42f}.pec-services-list{padding:82px 0 100px}.pec-services-intro{display:flex;justify-content:space-between;align-items:end;gap:40px;margin-bottom:36px}.pec-services-intro h2{font-size:clamp(29px,3.4vw,47px);line-height:1.13;letter-spacing:-.035em;margin:12px 0 0;font-weight:600}.pec-services-intro>p{max-width:350px;color:#61717b;line-height:1.7;margin:0 0 5px}.pec-services-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.pec-service-card{background:#fff;border:1px solid #dfe6e7;border-top:3px solid transparent;padding:30px 27px 26px;display:flex;flex-direction:column;min-height:415px;box-shadow:0 7px 26px rgba(10,36,48,.035);transition:transform .24s ease,box-shadow .24s ease,border-top-color .24s ease}.pec-service-card:hover{transform:translateY(-4px);box-shadow:0 15px 35px rgba(10,36,48,.09);border-top-color:#91c522}.pec-service-top{display:flex;justify-content:space-between;align-items:center}.pec-service-icon{width:48px;height:48px;display:grid;place-items:center;background:#eef5e5;color:#47721a;border-radius:12px}.pec-service-icon svg{width:27px;height:27px}.pec-service-number{color:#8697a0;font-size:11px;letter-spacing:.13em}.pec-service-card h3{color:#14374d;font-size:22px;line-height:1.2;margin:24px 0 12px;font-weight:650}.pec-service-desc{font-size:13px;line-height:1.65;color:#647782;margin:0 0 15px}.pec-service-card ul{list-style:none;margin:0 0 25px;padding:0;display:grid;gap:9px}.pec-service-card li{position:relative;padding-left:16px;color:#354e5c;font-size:13px;line-height:1.5}.pec-service-card li:before{content:"";position:absolute;left:0;top:.57em;width:5px;height:5px;border-radius:50%;background:#91c522}.pec-service-link{margin-top:auto;padding-top:16px;border-top:1px solid #e9eef0;color:#1c4b63;font-size:12px;font-weight:700;display:flex;justify-content:space-between;align-items:center}.pec-service-link:hover{color:#649b13}.pec-services-outro{margin-top:50px;padding:35px 40px;background:#193a4c;color:#fff;display:flex;align-items:center;justify-content:space-between;gap:25px}.pec-services-outro h2{font-size:27px;margin:9px 0}.pec-services-outro p{color:#d5e1e7;margin:0;line-height:1.6}.pec-services-outro>a{background:#9ac626;color:#112b3b;padding:15px 23px;white-space:nowrap;font-size:13px;font-weight:800}.pec-services-outro>a:hover{background:#b4da53}@media(max-width:960px){.pec-services-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pec-services-intro{align-items:start;flex-direction:column;gap:15px}}@media(max-width:620px){.pec-services-hero-inner{padding:60px 0 70px}.pec-services-hero p{font-size:15px}.pec-services-list{padding:54px 0 70px}.pec-services-grid{grid-template-columns:1fr}.pec-service-card{min-height:0;padding:25px}.pec-services-outro{padding:27px;flex-direction:column;align-items:flex-start}.pec-services-outro>a{white-space:normal}}

/* V24 — servizi con fotografie e palette architettonica attenuata */
.pec-services-list{background:linear-gradient(120deg,rgba(20,45,58,.055),transparent 40%),repeating-linear-gradient(90deg,transparent 0 79px,rgba(29,61,75,.017) 80px),#e7e7e0;color:#17364a}
.pec-services-intro>p{color:#435968}
.pec-service-card{padding:0 0 22px;overflow:hidden;background:#e8e9e3;border:1px solid #cfd6d2;border-top:0;box-shadow:0 12px 28px rgba(10,32,43,.105);min-height:0}
.pec-service-photo{display:block;width:100%;height:125px;object-fit:cover;filter:saturate(.78) contrast(1.04);transition:transform .35s ease,filter .35s ease}
.pec-service-card:hover .pec-service-photo{transform:scale(1.025);filter:saturate(.95)}
.pec-service-top{padding:18px 25px 0}
.pec-service-icon{width:36px;height:36px;border-radius:8px;background:#d8e4cc;color:#47721a}
.pec-service-icon svg{width:22px;height:22px}
.pec-service-card h3{margin:13px 25px 9px;font-size:21px}
.pec-service-desc{margin:0 25px 12px;color:#4d6570}
.pec-service-card ul{margin:0 25px 22px;gap:7px}
.pec-service-link{margin: auto 25px 0;border-color:#c9d0cf;color:#15394f}
.pec-service-card li{color:#354e59}
.pec-services-grid{gap:17px}
@media(max-width:620px){.pec-service-card{padding:0 0 22px}.pec-service-photo{height:150px}}

/* V25 — Progetti, nuove categorie e pagine dedicate */
.portfolio-hero{background:linear-gradient(120deg,#112a3a,#23475a);color:#fff;padding:90px 0 92px;position:relative;overflow:hidden}.portfolio-hero:after{content:"";position:absolute;right:-10%;top:-70%;width:45%;height:220%;background:linear-gradient(90deg,transparent 40%,rgba(148,192,36,.14) 40% 52%,transparent 52%);transform:rotate(25deg);pointer-events:none}.portfolio-kicker,.portfolio-heading>span{color:#a2cd39;letter-spacing:.21em;font-size:11px;font-weight:750}.portfolio-hero h1{font-size:clamp(38px,5.3vw,69px);font-weight:600;letter-spacing:-.04em;line-height:1.13;margin:21px 0}.portfolio-hero h1 em,.portfolio-detail h1 em{font-style:normal;color:#a5cf3b}.portfolio-hero p{max-width:680px;color:#d3e0e5;line-height:1.8;font-size:16px}.portfolio-choice,.portfolio-gallery-section{background:#e5e8e4;padding:75px 0 95px}.portfolio-heading{margin-bottom:30px}.portfolio-heading h2{font-size:clamp(30px,3.8vw,48px);color:#17364b;margin:12px 0;font-weight:600}.portfolio-heading p{color:#516571}.portfolio-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.portfolio-tile{position:relative;display:block;min-height:480px;overflow:hidden;color:#fff;background:#16374a}.portfolio-tile img{width:100%;height:100%;position:absolute;inset:0;object-fit:cover;transition:transform .5s ease}.portfolio-tile:hover img{transform:scale(1.055)}.portfolio-tile:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(9,30,43,.96),rgba(12,35,49,.24) 72%)}.portfolio-tile-overlay{position:absolute;z-index:1;bottom:0;padding:36px;left:0;right:0}.portfolio-tile-overlay>span{font-size:11px;letter-spacing:.2em;color:#a9d03e}.portfolio-tile-overlay h3{font-size:clamp(36px,4vw,56px);font-weight:600;margin:10px 0}.portfolio-tile-overlay p{color:#e4edf0;max-width:380px;line-height:1.6}.portfolio-tile-overlay strong{display:inline-block;border-bottom:1px solid #a9d03e;padding:12px 0;font-size:13px;letter-spacing:.04em}.portfolio-detail{background:#173749;color:#fff;padding:42px 0 85px}.portfolio-back{display:inline-block;color:#c4d6df;margin-bottom:44px;font-size:13px}.portfolio-back:hover{color:#a7d137}.portfolio-detail-grid{display:grid;grid-template-columns:1.15fr 1fr;gap:7%;align-items:center}.portfolio-detail h1{font-size:clamp(32px,4vw,54px);line-height:1.14;letter-spacing:-.04em;font-weight:600;margin:18px 0 27px}.portfolio-detail p{color:#dce6e9;line-height:1.85;margin:0 0 15px;font-size:15px}.portfolio-detail strong{color:#fff}.portfolio-detail-visual{height:460px;overflow:hidden;border-bottom:4px solid #a5cb36}.portfolio-detail-visual img{width:100%;height:100%;object-fit:cover}.portfolio-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.portfolio-gallery figure{margin:0;height:250px;overflow:hidden;background:#bdc6c6}.portfolio-gallery figure img{height:100%;width:100%;object-fit:cover;transition:transform .3s}.portfolio-gallery figure:hover img{transform:scale(1.03)}.portfolio-gallery-placeholder{grid-column:1/-1;background:#173749;text-align:center;padding:25px;color:#fff}.portfolio-gallery-placeholder img{display:block;max-height:380px;width:100%;object-fit:contain}.portfolio-gallery-placeholder p{font-size:21px;margin:20px 0 5px}.portfolio-gallery-placeholder small{color:#c3d0d5}.portfolio-detail-cta{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:40px;padding:26px 30px;background:#173749;color:white}.portfolio-detail-cta a{background:#a4cb34;color:#153244;padding:12px 20px;font-weight:700;font-size:13px}@media(max-width:760px){.portfolio-hero{padding:65px 0}.portfolio-choice,.portfolio-gallery-section{padding:50px 0 65px}.portfolio-tiles,.portfolio-detail-grid{grid-template-columns:1fr}.portfolio-tile{min-height:370px}.portfolio-tile-overlay{padding:26px}.portfolio-detail{padding:30px 0 60px}.portfolio-detail-visual{height:320px}.portfolio-gallery{grid-template-columns:repeat(2,1fr)}.portfolio-gallery figure{height:190px}.portfolio-detail-cta{align-items:flex-start;flex-direction:column}}@media(max-width:450px){.portfolio-gallery{grid-template-columns:1fr}.portfolio-gallery figure{height:220px}}

/* V26: project cards and accessible photo galleries */
.project-collection{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:25px;margin:30px 0 44px}.project-tile{display:block;width:100%;padding:0;border:1px solid #d6dddc;background:#f4f3ee;color:#102f46;text-align:left;cursor:pointer;overflow:hidden;box-shadow:0 12px 35px #142b3214;transition:transform .2s,box-shadow .2s}.project-tile:hover{transform:translateY(-4px);box-shadow:0 18px 40px #142b3228}.project-photo{display:block;overflow:hidden;aspect-ratio:16/10;background:#d8d9d4}.project-photo img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .4s}.project-tile:hover img{transform:scale(1.035)}.project-meta{display:grid;gap:8px;padding:21px 24px 23px}.project-name{font-size:clamp(22px,2vw,30px);font-weight:700}.project-description{font-size:14px;color:#53636b}.project-open{margin-top:8px;color:#45770b;font-weight:700;font-size:13px}.project-lightbox[hidden]{display:none!important}.project-lightbox{position:fixed;inset:0;z-index:9999;background:#101b22f5;color:#fff;display:flex;flex-direction:column;padding:20px clamp(12px,3vw,48px);box-sizing:border-box}.lightbox-top{display:flex;align-items:center;justify-content:space-between;gap:15px;max-width:1200px;width:100%;margin:0 auto 12px}.lightbox-top strong{display:block;font-size:clamp(20px,3vw,30px)}.lightbox-top span{font-size:13px;color:#b8c7ca}.lightbox-top button{background:transparent;border:0;color:#fff;font-size:42px;cursor:pointer}.lightbox-stage{flex:1;min-height:0;display:flex;align-items:center;justify-content:center;gap:clamp(5px,2vw,24px)}.lightbox-stage img{width:auto;max-width:calc(100% - 95px);height:auto;max-height:100%;object-fit:contain}.lightbox-stage button{flex:0 0 38px;height:50px;border:1px solid #ffffff55;background:#203542;color:white;font-size:38px;cursor:pointer}.lightbox-thumbs{display:flex;gap:10px;justify-content:center;overflow-x:auto;padding:14px 0 0}.lightbox-thumbs button{padding:0;border:2px solid transparent;background:transparent;cursor:pointer;flex:0 0 auto}.lightbox-thumbs button.active{border-color:#8cbd22}.lightbox-thumbs img{display:block;width:70px;height:54px;object-fit:cover}body.project-modal-open{overflow:hidden}@media(max-width:650px){.project-collection{grid-template-columns:1fr}.project-lightbox{padding:12px}.lightbox-stage img{max-width:calc(100% - 78px)}.lightbox-stage button{flex-basis:32px}.lightbox-thumbs img{width:55px;height:43px}}

/* V28 — Portfolio archive */
.pf-page{background:#e8e9e5;color:#172a39}.pf-hero{background:linear-gradient(117deg,#14293a 0%,#1d3b4a 68%,#234a4c 100%);color:#f5f7f5;padding:76px 0 58px;position:relative;overflow:hidden}.pf-hero:after{content:"";position:absolute;width:410px;height:410px;border:1px solid #7eaa4b55;transform:rotate(35deg);right:-80px;top:-180px;pointer-events:none}.pf-kicker,.pf-eyebrow{color:#80ad56;font-weight:700;letter-spacing:.19em;font-size:.72rem}.pf-hero h1{font-size:clamp(2.8rem,6vw,5rem);line-height:1.1;letter-spacing:-.045em;margin:17px 0}.pf-hero h1 em{font-style:normal;color:#9cc578}.pf-hero p{max-width:690px;color:#d4e0e4;line-height:1.7;font-size:1.04rem}.pf-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:#ffffff29;border:1px solid #ffffff29;margin-top:38px;max-width:900px}.pf-stats div{padding:18px 21px;background:#1c3644}.pf-stats strong{display:block;font-size:2rem;font-weight:650;color:white}.pf-stats span{display:block;color:#b7cbd0;font-size:.79rem}.pf-content{padding:40px 0 80px;background:linear-gradient(130deg,#e5e8e5,#f1f0eb)}.pf-toolbar{display:flex;gap:15px;align-items:end;flex-wrap:wrap;padding:20px;background:#ffffffb5;border:1px solid #d6dbd8;border-radius:12px;box-shadow:0 7px 30px #152b3b0b}.pf-search{display:flex;align-items:center;gap:8px;flex:1 1 260px;padding:0 13px;background:#f5f7f5;border:1px solid #cdd6d1;border-radius:7px}.pf-search span{font-size:1.6rem;color:#537b62}.pf-search input{border:0;outline:none;background:transparent;width:100%;height:43px;font:inherit;color:#172a39;min-width:0}.pf-filter-row{display:flex;gap:10px;flex-wrap:wrap}.pf-filter-row label{display:flex;flex-direction:column;gap:5px;color:#63747a;font-size:.72rem;font-weight:700;letter-spacing:.04em}.pf-filter-row select{border:1px solid #cdd6d1;background:#f5f7f5;border-radius:7px;padding:11px 28px 11px 10px;color:#172a39;max-width:240px;font:inherit;font-size:.85rem}.pf-list-heading{display:flex;align-items:end;justify-content:space-between;gap:16px;margin:36px 0 17px}.pf-list-heading h2{font-size:clamp(1.4rem,2.5vw,2.1rem);margin:5px 0 0;color:#172a39}.pf-count{font-size:.85rem;color:#42624c;font-weight:700;white-space:nowrap}.pf-results{display:grid;gap:9px}.pf-item{background:#f9faf7;border:1px solid #d5dcd6;border-left:3px solid #7ea656;border-radius:8px;overflow:hidden;box-shadow:0 2px 9px #1a384509}.pf-item summary{cursor:pointer;list-style:none;display:flex;align-items:center;gap:16px;padding:16px 20px}.pf-item summary::-webkit-details-marker{display:none}.pf-item summary:hover{background:#edf3ec}.pf-number{color:#729568;font-size:.78rem;font-weight:800;width:28px;flex-shrink:0}.pf-item-main{display:flex;flex-direction:column;gap:3px;flex:1;min-width:0}.pf-location{font-size:.67rem;letter-spacing:.06em;text-transform:uppercase;color:#60805b;font-weight:750}.pf-dot{color:#a3b1a5;padding:0 4px}.pf-item-main strong{color:#1c3543;font-size:1.04rem;line-height:1.35}.pf-work{font-size:.83rem;color:#66747a;line-height:1.45}.pf-plus{font-size:1.6rem;color:#52724e;transition:transform .2s}.pf-item[open] .pf-plus{transform:rotate(45deg)}.pf-detail{padding:16px 20px 19px 64px;border-top:1px solid #e0e7e0;background:#f2f5f0}.pf-detail-title{font-size:.68rem;letter-spacing:.12em;color:#54794f;font-weight:800}.pf-tags{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}.pf-tags span{font-size:.77rem;padding:7px 10px;background:#e5ebe3;color:#2c4652;border:1px solid #d2dfd0;border-radius:4px}.pf-empty{padding:32px;text-align:center}.pf-end{padding:38px 0 0;text-align:center;color:#879593;font-size:.72rem;letter-spacing:.14em}.pf-end span{color:#6b9a54}@media(max-width:720px){.pf-hero{padding:48px 0 36px}.pf-stats{grid-template-columns:repeat(2,1fr)}.pf-stats div{padding:13px}.pf-stats strong{font-size:1.55rem}.pf-content{padding:22px 0 50px}.pf-toolbar{padding:12px}.pf-search{flex-basis:100%}.pf-filter-row{width:100%}.pf-filter-row label{flex:1 1 140px}.pf-filter-row select{width:100%;max-width:none}.pf-item summary{gap:9px;padding:13px}.pf-number{width:22px}.pf-item-main strong{font-size:.94rem}.pf-detail{padding:14px}.pf-list-heading{align-items:center}}


/* V29: pagina Contatti, regole isolate per non alterare il resto del sito */
.ct-hero{position:relative;overflow:hidden;background:linear-gradient(118deg,#10293b 0%,#1a3b4d 73%,#234957 100%);color:#fff}
.ct-hero:before{content:"";position:absolute;right:-8%;top:-80%;width:40%;height:260%;transform:rotate(29deg);background:linear-gradient(90deg,transparent 0 40%,rgba(147,196,45,.18) 40% 47%,rgba(255,255,255,.04) 47% 53%,transparent 53%);pointer-events:none}
.ct-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent 0 99%,rgba(255,255,255,.025) 100%);background-size:75px 75px;pointer-events:none}
.ct-hero-inner{position:relative;z-index:1;padding:83px 0 88px}
.ct-kicker,.ct-eyebrow{font-size:11px;letter-spacing:.21em;font-weight:750;color:#92c32f}
.ct-kicker span{color:#6e98a5}
.ct-hero h1{font-size:clamp(40px,5.5vw,70px);line-height:1.08;letter-spacing:-.045em;font-weight:600;margin:21px 0}
.ct-hero h1 em{font-style:normal;color:#a8d043}
.ct-hero p{max-width:650px;color:#d4e1e6;font-size:16px;line-height:1.8;margin:0}
.ct-body{background:linear-gradient(135deg,#e3e6e2,#f0f0eb);padding:75px 0 88px}
.ct-layout{display:grid;grid-template-columns:.92fr 1.08fr;gap:42px;align-items:start}
.ct-info h2,.ct-form-card h2,.ct-team h2{font-size:clamp(28px,3vw,40px);letter-spacing:-.035em;font-weight:650;color:#16374a;line-height:1.16;margin:13px 0 15px}
.ct-muted{color:#526975;line-height:1.75;font-size:14px;margin:0 0 25px}
.ct-contact-card{background:#f8f9f6;border:1px solid #cfd9d5;box-shadow:0 10px 30px #15384a10;padding:6px 25px}
.ct-contact-line{display:flex;gap:17px;align-items:start;padding:24px 0;border-bottom:1px solid #dfe5e0}
.ct-contact-line:last-child{border-bottom:0}
.ct-icon{width:40px;height:40px;flex:0 0 40px;display:grid;place-items:center;background:#e5efdc;color:#4e7d22;font-size:21px}
.ct-contact-line strong{display:block;color:#193b4c;font-size:14px}
.ct-contact-line p{margin:6px 0 0;color:#435d69;line-height:1.7;font-size:14px}
.ct-contact-line a{color:#2a5665;text-decoration:none;overflow-wrap:anywhere}
.ct-contact-line a:hover{color:#508324}
.ct-contact-line div>a{display:inline-block;margin-top:8px;font-size:12px;font-weight:750;color:#507f2e}
.ct-small-note{margin-top:23px;font-size:10px;font-weight:700;letter-spacing:.14em;color:#66808b}
.ct-small-note span{color:#84b63b;margin:0 7px}
.ct-form-card{background:#f9faf7;padding:36px;border:1px solid #cfd9d5;box-shadow:0 12px 32px #15384a13;border-top:3px solid #93c12d}
.ct-form-card form{display:grid;gap:18px}
.ct-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}
.ct-form-card label{display:grid;gap:8px;color:#254858;font-size:12px;font-weight:700}
.ct-form-card input,.ct-form-card textarea,.ct-form-card select{width:100%;min-width:0;box-sizing:border-box;border:1px solid #cbd7d5;background:#eef1ed;border-radius:4px;padding:13px 14px;color:#1a3847;font:inherit;font-size:14px;outline:none}
.ct-form-card input:focus,.ct-form-card textarea:focus,.ct-form-card select:focus{border-color:#77a92c;box-shadow:0 0 0 3px #91c62b26}
.ct-form-card textarea{resize:vertical;min-height:120px}
.ct-privacy{color:#697d83;font-size:11px;line-height:1.6;margin:0}
.ct-send{cursor:pointer;display:flex;justify-content:space-between;align-items:center;border:0;background:#183d50;color:#fff;padding:15px 20px;font-size:13px;font-weight:750;letter-spacing:.03em;transition:background .2s}
.ct-send:hover{background:#2c5a67}
.ct-send span{color:#a9d340;font-size:20px}
.ct-feedback{color:#3e6c35;font-size:12px;line-height:1.5;margin:0}
.ct-feedback:empty{display:none}
.ct-team{background:#173445;padding:80px 0 100px;color:#fff}
.ct-team-heading{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:32px}
.ct-team h2{color:#fff;margin-bottom:0}
.ct-team-heading>p{max-width:340px;color:#c6d6dc;line-height:1.7;font-size:14px;margin:0}
.ct-team-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}
.ct-person{background:#213f50;border:1px solid #41616a;padding:27px 24px 24px;min-height:255px;display:flex;flex-direction:column;align-items:flex-start;transition:transform .25s,background .25s}
.ct-person:hover{transform:translateY(-4px);background:#2b4b5b}
.ct-initials{display:grid;place-items:center;width:70px;height:70px;border:1px solid #76956b;background:#2e4d54;color:#b1d34d;font-size:23px;letter-spacing:.08em;margin-bottom:26px}
.ct-role{color:#a5c94d;font-size:10px;font-weight:750;letter-spacing:.18em}
.ct-person h3{font-size:21px;font-weight:600;line-height:1.25;color:#fff;margin:10px 0 18px}
.ct-accent{display:block;margin-top:auto;width:35px;height:2px;background:#a3ce3b}
@media(max-width:960px){.ct-layout{grid-template-columns:1fr;gap:35px}.ct-team-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.ct-hero-inner{padding:54px 0 63px}.ct-body{padding:45px 0 55px}.ct-form-card{padding:24px 18px}.ct-form-grid{grid-template-columns:1fr}.ct-team{padding:55px 0 65px}.ct-team-heading{display:block}.ct-team-heading>p{margin-top:15px}.ct-team-grid{gap:10px}.ct-person{padding:18px 14px;min-height:218px}.ct-initials{width:54px;height:54px;font-size:19px;margin-bottom:20px}.ct-person h3{font-size:17px}}


/* V31 contact page restyling, scoped to body.contact-redesign */
body.contact-redesign .ct-v31-scene,body.contact-redesign .ct-v31-team{color:#edf3f5;background:#0c202c;font-family:inherit}
body.contact-redesign .ct-v31-scene{position:relative;overflow:hidden;padding:76px 0 70px;background:radial-gradient(ellipse at 78% 12%,#203d50 0%,transparent 58%),linear-gradient(120deg,#0b1b25,#102a39)}
body.contact-redesign .ct-v31-blueprint{pointer-events:none;position:absolute;inset:0;opacity:.13;background-image:linear-gradient(35deg,transparent 47.8%,#93a8b2 48%,transparent 48.2%),linear-gradient(125deg,transparent 67.8%,#93a8b2 68%,transparent 68.2%),linear-gradient(#75909c 1px,transparent 1px),linear-gradient(90deg,#75909c 1px,transparent 1px);background-size:390px 320px,480px 420px,80px 80px,80px 80px;mask-image:linear-gradient(90deg,transparent 5%,#000 90%)}
body.contact-redesign .ct-v31-grid{position:relative;display:grid;grid-template-columns:1fr 1.04fr;gap:30px;align-items:stretch}
body.contact-redesign .ct-v31-left{padding:12px 0 0}
body.contact-redesign .ct-v31-kicker{color:#a2d444;font-size:11px;font-weight:750;letter-spacing:.22em}
body.contact-redesign .ct-v31-left h1{color:#fff;font-size:clamp(35px,3.65vw,57px);letter-spacing:-.045em;line-height:1.1;margin:18px 0 20px;font-weight:700}
body.contact-redesign .ct-v31-left h1 span,body.contact-redesign .ct-v31-form-panel h2 span,body.contact-redesign .ct-v31-team h2 span{color:#9fce46}
body.contact-redesign .ct-v31-intro{color:#c4d3dc;font-size:15px;line-height:1.8;max-width:510px;margin:0 0 28px}
body.contact-redesign .ct-v31-details{border:1px solid #365364;border-radius:12px;padding:8px 20px;background:#102632d9;box-shadow:0 12px 38px #06131a55}
body.contact-redesign .ct-v31-detail{display:flex;align-items:center;gap:18px;min-height:116px;padding:19px 3px;border-bottom:1px solid #365160}
body.contact-redesign .ct-v31-detail:last-child{border-bottom:0}
body.contact-redesign .ct-v31-symbol{flex:0 0 49px;width:49px;height:49px;border-radius:50%;display:grid;place-items:center;background:#233d47;color:#a4d444;font-size:24px}
body.contact-redesign .ct-v31-detail>div{min-width:0;flex:1}
body.contact-redesign .ct-v31-detail strong{display:block;color:#fff;font-size:14px}
body.contact-redesign .ct-v31-detail p{margin:6px 0;color:#c6d5de;font-size:14px;line-height:1.6}
body.contact-redesign .ct-v31-detail a{color:#cbdce4;text-decoration:none;overflow-wrap:anywhere}
body.contact-redesign .ct-v31-detail a:hover{color:#b6e263}
body.contact-redesign .ct-v31-detail a.ct-v31-map{color:#b2dd4f;font-size:12px;text-decoration:underline;text-underline-offset:3px}
body.contact-redesign .ct-v31-outline{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;flex:0 0 auto;border:1px solid #a1ce42;border-radius:30px;padding:10px 14px;color:#f5f9fb!important;font-size:12px;transition:background .2s}
body.contact-redesign .ct-v31-outline:hover{background:#355434}
body.contact-redesign .ct-v31-form-panel{border-radius:12px;border:1px solid #385568;background:linear-gradient(150deg,#294252e8,#1c3444ef);padding:35px 30px;box-shadow:0 15px 50px #07151e80}
body.contact-redesign .ct-v31-form-panel h2{color:#fff;font-size:clamp(29px,3vw,42px);letter-spacing:-.045em;line-height:1.14;margin:16px 0}
body.contact-redesign .ct-v31-desc{color:#c8d6de;font-size:13px;line-height:1.75;margin:0 0 26px}
body.contact-redesign .ct-v31-form-panel form{display:grid;gap:19px}
body.contact-redesign .ct-v31-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}
body.contact-redesign .ct-v31-form-panel label{display:grid;gap:8px;color:#fff;font-size:12px;font-weight:600}
body.contact-redesign .ct-v31-form-panel label>span{color:#a8d947;display:inline}
body.contact-redesign .ct-v31-form-panel input,body.contact-redesign .ct-v31-form-panel select,body.contact-redesign .ct-v31-form-panel textarea{width:100%;min-width:0;box-sizing:border-box;border:1px solid #6c8794;border-radius:5px;background:#ffffff0c;color:#fff;font:inherit;font-size:13px;padding:13px 14px;outline:0}
body.contact-redesign .ct-v31-form-panel input::placeholder,body.contact-redesign .ct-v31-form-panel textarea::placeholder{color:#b5c7cf}
body.contact-redesign .ct-v31-form-panel select option{background:#1a3342;color:#fff}
body.contact-redesign .ct-v31-form-panel input:focus,body.contact-redesign .ct-v31-form-panel select:focus,body.contact-redesign .ct-v31-form-panel textarea:focus{border-color:#a7d34b;box-shadow:0 0 0 3px #9fcf4530}
body.contact-redesign .ct-v31-form-panel textarea{min-height:135px;resize:vertical}
body.contact-redesign .ct-v31-privacy{font-size:11px;line-height:1.65;color:#c4d1d9;margin:0}
body.contact-redesign .ct-v31-send{cursor:pointer;border:0;border-radius:5px;background:#9dcb4a;color:#122632;font-weight:800;font-size:14px;padding:15px 18px;display:flex;justify-content:space-between;align-items:center;transition:background .2s}
body.contact-redesign .ct-v31-send:hover{background:#b8e567}
body.contact-redesign .ct-v31-send span{font-size:19px}
body.contact-redesign .ct-v31-feedback{font-size:12px;color:#d5e8bc;margin:0}
body.contact-redesign .ct-v31-feedback:empty{display:none}
body.contact-redesign .ct-v31-team{padding:64px 0 90px;background:linear-gradient(120deg,#0d202b,#102a39)}
body.contact-redesign .ct-v31-team-head{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:29px}
body.contact-redesign .ct-v31-team h2{font-size:clamp(28px,3.2vw,43px);letter-spacing:-.035em;color:#fff;margin:12px 0 9px}
body.contact-redesign .ct-v31-team-head p{color:#c8d6dd;font-size:13px;line-height:1.7;margin:0}
body.contact-redesign .ct-v31-team-note{max-width:335px}
body.contact-redesign .ct-v31-people{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px}
body.contact-redesign .ct-v31-person{min-height:228px;border:1px solid #3a5463;border-radius:10px;padding:22px;background:linear-gradient(155deg,#1b3546f2,#0d202be8),repeating-linear-gradient(32deg,transparent 0 27px,#5d7e8a44 28px 29px);display:flex;align-items:flex-start;flex-direction:column;transition:transform .22s,border-color .22s}
body.contact-redesign .ct-v31-person:hover{transform:translateY(-5px);border-color:#a0cd4b}
body.contact-redesign .ct-v31-initials{border:1px solid #bbd0d8;border-radius:50%;width:65px;height:65px;display:grid;place-items:center;font-size:24px;color:#fff;margin-bottom:19px}
body.contact-redesign .ct-v31-role{color:#addb4c;font-size:11px;font-weight:750;letter-spacing:.08em}
body.contact-redesign .ct-v31-person h3{color:#fff;font-size:18px;line-height:1.2;margin:6px 0 4px;font-weight:650}
body.contact-redesign .ct-v31-person p{color:#c5d5dc;font-size:13px;margin:0 0 15px}
body.contact-redesign .ct-v31-person i{margin-top:auto;width:38px;height:2px;background:#a1d143}
@media(max-width:1000px){body.contact-redesign .ct-v31-grid{grid-template-columns:1fr}body.contact-redesign .ct-v31-people{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){body.contact-redesign .ct-v31-scene{padding:42px 0 50px}body.contact-redesign .ct-v31-details{padding:5px 13px}body.contact-redesign .ct-v31-detail{gap:10px;flex-wrap:wrap}body.contact-redesign .ct-v31-symbol{width:42px;height:42px;flex-basis:42px}body.contact-redesign .ct-v31-outline{margin-left:52px}body.contact-redesign .ct-v31-form-panel{padding:25px 18px}body.contact-redesign .ct-v31-fields{grid-template-columns:1fr}body.contact-redesign .ct-v31-team{padding:49px 0 65px}body.contact-redesign .ct-v31-team-head{display:block}body.contact-redesign .ct-v31-team-note{margin-top:14px!important}body.contact-redesign .ct-v31-people{gap:10px}body.contact-redesign .ct-v31-person{padding:16px 12px;min-height:205px}body.contact-redesign .ct-v31-initials{width:53px;height:53px;font-size:20px}body.contact-redesign .ct-v31-person h3{font-size:15px}}
@media(prefers-reduced-motion:reduce){body.contact-redesign .ct-v31-person,body.contact-redesign .ct-v31-send{transition:none}}


/* V32: faithful visual polish to approved architectural mockup, Contatti only. */
body.contact-redesign .ct-v31-scene{
  isolation:isolate;
  padding:58px 0 38px;
  background:linear-gradient(100deg,#091a23 0%,#0a1e2a 47%,#0e2432 100%);
}
body.contact-redesign .ct-v31-blueprint{
  z-index:-1; opacity:.14; background-size:500px 440px,620px 470px,92px 92px,92px 92px;
  mask-image:linear-gradient(90deg,transparent 28%,#000 90%);
}
body.contact-redesign .ct-v32-architecture{
  position:absolute;z-index:-1;left:0;top:0;bottom:0;width:23%;
  background:linear-gradient(90deg,rgba(7,23,33,.15),rgba(7,23,33,.93)),linear-gradient(0deg,rgba(7,23,33,.72),rgba(7,23,33,.08) 45%),url('servizio-02.webp') center / cover no-repeat;
  filter:saturate(.6);
}
body.contact-redesign .ct-v32-drawing{
  position:absolute;z-index:-1;right:0;top:0;bottom:0;width:25%;
  opacity:.33;
  background:url('contatti-blueprint.svg') right center / cover no-repeat;
  pointer-events:none;
}
body.contact-redesign .ct-v31-grid{grid-template-columns:1fr 1.04fr;gap:28px;max-width:1250px}
body.contact-redesign .ct-v31-left{padding:2px 0 0}
body.contact-redesign .ct-v31-left h1{font-size:clamp(42px,4.05vw,65px);line-height:1.08;font-weight:650;margin:19px 0 18px;letter-spacing:-.055em}
body.contact-redesign .ct-v31-intro{font-size:15px;line-height:1.72;margin-bottom:24px;max-width:500px}
body.contact-redesign .ct-v31-details{border-radius:10px;background:#0b1d29db;border-color:#344957b5;backdrop-filter:blur(12px);padding:4px 17px;box-shadow:0 15px 55px #05141c55}
body.contact-redesign .ct-v31-detail{min-height:91px;padding:13px 3px;gap:17px;border-bottom-color:#334754b0}
body.contact-redesign .ct-v31-symbol{width:45px;height:45px;flex-basis:45px;background:#1d3540b5;font-size:23px}
body.contact-redesign .ct-v31-detail strong{font-size:14px}
body.contact-redesign .ct-v31-detail p{font-size:13px;line-height:1.55;margin:4px 0}
body.contact-redesign .ct-v31-outline{border-radius:25px;font-size:11px;padding:10px 12px}
body.contact-redesign .ct-v31-form-panel{background:linear-gradient(135deg,#2a4050e8,#263c4bef);border-color:#344d5b;border-radius:11px;padding:28px 28px 26px;backdrop-filter:blur(16px);box-shadow:0 18px 55px #03121b50}
body.contact-redesign .ct-v31-form-panel h2{font-size:clamp(33px,3.2vw,46px);margin:12px 0 12px}
body.contact-redesign .ct-v31-desc{margin-bottom:19px;line-height:1.65}
body.contact-redesign .ct-v31-form-panel form{gap:14px}
body.contact-redesign .ct-v31-form-panel label{display:block;font-size:12px;line-height:1.5}
body.contact-redesign .ct-v31-form-panel label .ct-v32-required{display:inline;color:#a7d63e;margin-left:3px}
body.contact-redesign .ct-v31-form-panel input,body.contact-redesign .ct-v31-form-panel select,body.contact-redesign .ct-v31-form-panel textarea{display:block;margin-top:6px;background:#ffffff08;border-color:#72838d;padding:12px 14px;font-size:13px}
body.contact-redesign .ct-v31-form-panel textarea{min-height:117px}
body.contact-redesign .ct-v31-privacy{font-size:11px}
body.contact-redesign .ct-v31-send{background:#9ac745;min-height:45px}
body.contact-redesign .ct-v31-team{padding:36px 0 75px;background:linear-gradient(90deg,#0b1c26,#0e2633)}
body.contact-redesign .ct-v31-team-head{margin-bottom:23px}
body.contact-redesign .ct-v31-team h2{font-size:clamp(32px,3.2vw,44px)}
body.contact-redesign .ct-v31-person{
  position:relative;isolation:isolate;overflow:hidden;
  border-color:#3a5361;min-height:214px;padding:20px;
  background:#112a38;
}
body.contact-redesign .ct-v31-person:before{
  content:"";position:absolute;z-index:-1;inset:0;
  background:linear-gradient(90deg,rgba(10,26,36,.94) 0%,rgba(10,26,36,.78) 65%,rgba(10,26,36,.57) 100%),url('servizio-04.webp') center / cover no-repeat;
  opacity:.9;filter:saturate(.45);
}
body.contact-redesign .ct-v32-card-2:before{background-image:linear-gradient(90deg,rgba(10,26,36,.94),rgba(10,26,36,.66)),url('servizio-02.webp')}
body.contact-redesign .ct-v32-card-3:before{background-image:linear-gradient(90deg,rgba(10,26,36,.94),rgba(10,26,36,.66)),url('caracciolo-1.jpg')}
body.contact-redesign .ct-v32-card-4:before{background-image:linear-gradient(90deg,rgba(10,26,36,.94),rgba(10,26,36,.66)),url('salaria-176-1.jpg')}
body.contact-redesign .ct-v31-initials{width:62px;height:62px;margin-bottom:15px}
body.contact-redesign .ct-v31-person h3{font-size:17px}
@media(min-width:1500px){body.contact-redesign .ct-v31-grid{max-width:1250px}}
@media(max-width:1000px){
 body.contact-redesign .ct-v31-grid{grid-template-columns:1fr}
 body.contact-redesign .ct-v32-architecture{width:38%;opacity:.55}
 body.contact-redesign .ct-v32-drawing{width:45%}
}
@media(max-width:620px){
 body.contact-redesign .ct-v31-scene{padding:40px 0 32px}
 body.contact-redesign .ct-v32-architecture{width:62%;opacity:.35}
 body.contact-redesign .ct-v31-form-panel{padding:23px 18px}
 body.contact-redesign .ct-v31-fields{grid-template-columns:1fr}
 body.contact-redesign .ct-v31-detail{min-height:0;flex-wrap:wrap}
 body.contact-redesign .ct-v31-outline{margin-left:60px}
 body.contact-redesign .ct-v31-team{padding:42px 0 55px}
}

/* V33 — correzioni mobile: studio a larghezza piena e footer compatto */
@media (max-width:850px){
  .origin-layout{display:flex!important;flex-direction:column!important;gap:22px!important;}
  .origin-copy,.origin-visual{width:100%!important;max-width:100%!important;min-width:0!important;}
  .origin-copy h2{font-size:clamp(28px,7vw,43px)!important;line-height:1.13!important;letter-spacing:-.035em!important;overflow-wrap:break-word!important;word-break:normal!important;}
  .origin-copy h2 span{overflow-wrap:break-word!important;word-break:normal!important;}
  .origin-copy p{font-size:15px!important;line-height:1.7!important;max-width:100%!important;}
  .origin-visual{position:static!important;padding:0!important;}
  .origin-services{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  .origin-services div{min-width:0!important;overflow-wrap:break-word!important;font-size:11px!important;letter-spacing:.025em!important;padding:13px 10px!important;}
}
@media (max-width:620px){
  .studio-footer .footer-main{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:15px!important;padding:27px 0 21px!important;}
  .studio-footer .footer-brand img{width:175px!important;max-height:100px!important;padding:7px 9px!important;}
  .studio-footer .footer-brand p{margin:8px 0 0!important;font-size:12px!important;}
  .studio-footer .footer-contact{padding:14px 0 0!important;margin:0!important;display:grid!important;gap:10px!important;}
  .studio-footer .footer-contact>div{gap:11px!important;font-size:13px!important;line-height:1.45!important;}
  .studio-footer .footer-symbol{font-size:18px!important;}
  .studio-footer .footer-about{padding:15px 0 0!important;margin:0!important;}
  .studio-footer .footer-about p{font-size:13px!important;line-height:1.5!important;margin:5px 0!important;}
  .studio-footer .footer-about .footer-small{font-size:12px!important;}
  .studio-footer .footer-lower-inner{gap:7px!important;padding:14px 0!important;font-size:11px!important;line-height:1.45!important;}
}

/* V34 — Evita che le decorazioni attraversino il testo su smartphone. */
@media (max-width: 760px) {
  .origin-section::before, .origin-section::after { display: none !important; }
  .origin-copy { position: relative !important; z-index: 2 !important; }
  .origin-visual {
    position: relative !important;
    background: linear-gradient(130deg, #19394d 0%, #19394d 72%, #91c42e 72%, #91c42e 78%, #19394d 78%) !important;
    padding: 18px 14px 28px !important;
    border-radius: 3px;
  }
  .origin-visual .origin-image { position: relative; z-index: 1; }
}

/* V35 — Mobile: story content and four service tiles remain readable. */
@media (max-width: 850px) {
  .origin-section { overflow: visible !important; padding: 34px 0 42px !important; }
  .origin-layout { align-items: stretch !important; gap: 18px !important; }
  .origin-copy { display: block !important; height: auto !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important; }
  .origin-copy p:last-child { margin-bottom: 0 !important; }
  .origin-visual { margin: 0 !important; min-height: 0 !important; height: auto !important; overflow: hidden !important; }
  .origin-services { position: relative !important; z-index: 3 !important; background: #102d40 !important; backdrop-filter: none !important; border: 1px solid #496476 !important; }
  .origin-services > div { position: relative !important; z-index: 4 !important; background: #102d40 !important; color: #ffffff !important; font-size: 12px !important; line-height: 1.5 !important; font-weight: 750 !important; letter-spacing: .015em !important; padding: 19px 15px !important; border-color: #496476 !important; text-shadow: none !important; }
  .origin-services span { color: #b4e34e !important; font-size: 14px !important; font-weight: 800 !important; margin-bottom: 11px !important; }
}
@media (max-width: 760px) {
  .origin-section::before, .origin-section::after { content: none !important; }
  .origin-visual { background: #19394d !important; padding: 15px 12px 20px !important; }
  .origin-image { transform: none !important; }
}
@media (max-width: 370px) {
  .origin-services > div { padding: 16px 10px !important; font-size: 11px !important; }
}

/* V36: robust mobile studio layout, no overlays over paragraphs or tiles */
@media screen and (max-width: 850px) {
  #studio.origin-section {display:block!important;position:relative!important;isolation:auto!important;overflow:hidden!important;background:#f5f7f4!important;padding:32px 0 40px!important;min-height:0!important;height:auto!important;}
  #studio.origin-section::before,#studio.origin-section::after{display:none!important;content:none!important;}
  #studio .origin-layout{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:24px!important;position:relative!important;width:calc(100% - 40px)!important;max-width:100%!important;margin:0 auto!important;}
  #studio .origin-copy{display:block!important;position:relative!important;z-index:1!important;visibility:visible!important;opacity:1!important;transform:none!important;overflow:visible!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;margin:0!important;padding:0!important;color:#263e4c!important;background:transparent!important;}
  #studio .origin-copy p{display:block!important;visibility:visible!important;opacity:1!important;position:static!important;color:#344b5b!important;font-size:15px!important;line-height:1.65!important;margin:0 0 18px!important;max-width:none!important;}
  #studio .origin-copy p:last-child{margin-bottom:0!important;}
  #studio .origin-copy h2{margin:0 0 22px!important;line-height:1.15!important;}
  #studio .origin-visual{display:block!important;position:relative!important;inset:auto!important;z-index:1!important;transform:none!important;visibility:visible!important;opacity:1!important;overflow:hidden!important;background:#173548!important;border-radius:5px!important;width:100%!important;max-width:100%!important;min-height:0!important;height:auto!important;margin:0!important;padding:16px!important;box-sizing:border-box!important;}
  #studio .origin-image{position:relative!important;transform:none!important;width:100%!important;margin:0!important;}
  #studio .origin-image img{display:block!important;width:100%!important;height:auto!important;}
  #studio .origin-services{position:relative!important;z-index:2!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:0!important;margin:20px 0 0!important;background:#102d40!important;border:1px solid #526a78!important;backdrop-filter:none!important;}
  #studio .origin-services > div{position:relative!important;z-index:2!important;display:block!important;min-width:0!important;overflow-wrap:anywhere!important;white-space:normal!important;background:#102d40!important;color:#f8fcff!important;font-size:12px!important;font-weight:750!important;line-height:1.55!important;letter-spacing:0!important;padding:17px 12px!important;border-color:#526a78!important;text-shadow:none!important;}
  #studio .origin-services > div span{display:block!important;color:#b6e24d!important;font-size:15px!important;font-weight:800!important;margin:0 0 10px!important;}
}
@media screen and (max-width: 370px){#studio .origin-services > div{font-size:11px!important;padding:15px 9px!important;}}

/* V38 - Evidenza delle quattro competenze dello studio */
#studio .origin-services.origin-services-v38{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important;background:transparent!important;border:0!important;backdrop-filter:none!important;margin-top:24px!important;overflow:visible!important}
#studio .origin-services-v38>.origin-service-tile{position:relative!important;display:flex!important;flex-direction:column!important;justify-content:flex-start!important;min-height:174px!important;padding:20px 20px 24px!important;border:1px solid rgba(195,224,233,.68)!important;border-radius:14px!important;background:linear-gradient(145deg,#1a3d4a 0%,#0d2636 72%)!important;color:#fff!important;box-shadow:0 12px 28px rgba(3,16,27,.23)!important;overflow:hidden!important;transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease!important}
#studio .origin-services-v38>.origin-service-tile:after{content:"";position:absolute;bottom:-49px;right:-32px;width:128px;height:83px;border-radius:80% 0 0 0;background:linear-gradient(130deg,#b2e900,#7caf13);transform:rotate(-16deg);opacity:.95;pointer-events:none}
#studio .origin-services-v38>.origin-service-tile:hover{transform:translateY(-5px)!important;border-color:#b3e64c!important;box-shadow:0 19px 34px rgba(3,16,27,.32)!important}
#studio .origin-services-v38 .origin-service-number{display:block!important;color:#b5ec26!important;font-size:27px!important;line-height:1!important;font-weight:850!important;letter-spacing:0!important;margin:0 0 23px!important;padding:0!important}
#studio .origin-services-v38 .origin-service-number:after{content:"";display:block;width:30px;height:3px;background:#b5ec26;margin-top:9px;border-radius:3px}
#studio .origin-services-v38 .origin-service-icon{position:absolute;top:21px;right:19px;width:34px;height:34px;color:#fff;opacity:.95}
#studio .origin-services-v38 strong{display:block;position:relative;z-index:1;font-size:clamp(14px,1.25vw,19px)!important;line-height:1.3!important;font-weight:850!important;letter-spacing:.015em!important;text-transform:uppercase;color:#fff!important;overflow-wrap:normal!important}
@media(max-width:620px){#studio .origin-services.origin-services-v38{gap:10px!important}#studio .origin-services-v38>.origin-service-tile{min-height:155px!important;padding:16px 12px 20px!important}#studio .origin-services-v38 strong{font-size:clamp(12px,3.4vw,16px)!important}#studio .origin-services-v38 .origin-service-icon{width:26px;height:26px;right:12px;top:17px}#studio .origin-services-v38 .origin-service-number{font-size:23px!important;margin-bottom:19px!important}}
@media(prefers-reduced-motion:reduce){#studio .origin-services-v38>.origin-service-tile{transition:none!important}}

/* V40 - Team interattivo */
.ct-v31-people{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.ct-v31-people .ct-v31-person{cursor:pointer;transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease;min-width:0}
.ct-v31-people .ct-v31-person:hover,.ct-v31-people .ct-v31-person:focus-visible{transform:translateY(-5px);border-color:#a9db28;box-shadow:0 14px 35px #0005;outline:none}
.ct-v40-hint{display:block;margin-top:12px;color:#b5e43b;font-size:12px;font-weight:700;letter-spacing:.02em}
.ct-v40-overlay[hidden]{display:none!important}.ct-v40-overlay{position:fixed;inset:0;z-index:9999;background:rgba(2,12,20,.78);display:flex;align-items:center;justify-content:center;padding:20px;backdrop-filter:blur(8px)}
.ct-v40-modal{position:relative;width:min(100%,610px);max-height:min(85vh,760px);overflow-y:auto;border:1px solid #607b7f;background:linear-gradient(145deg,#112d3d,#071b27);border-radius:18px;padding:clamp(25px,5vw,44px);color:#f5f9fc;box-shadow:0 25px 90px #0009;animation:ctv40pop .25s ease-out}
.ct-v40-close{position:absolute;right:16px;top:13px;border:1px solid #6c8790;border-radius:50%;width:38px;height:38px;color:white;background:#173443;cursor:pointer;font-size:27px;line-height:1}
.ct-v40-close:hover{border-color:#b4e839;color:#b4e839}.ct-v40-eyebrow{color:#b4e839;font-size:12px;font-weight:800;letter-spacing:.16em}.ct-v40-modal h2{font-size:clamp(25px,4vw,34px);margin:14px 0 8px;color:#fff}.ct-v40-profession{color:#b9d1da;font-size:14px;margin:0}.ct-v40-line{height:3px;width:55px;background:#b4e839;margin:25px 0}.ct-v40-modal #team-profile-description{line-height:1.8;color:#e1edf1;font-size:16px;margin:0}.ct-v40-lock{overflow:hidden}@keyframes ctv40pop{from{opacity:0;transform:translateY(14px) scale(.98)}to{opacity:1;transform:none}}
@media(max-width:680px){.ct-v31-people{grid-template-columns:1fr!important}.ct-v40-modal{padding:26px 22px}}
@media(prefers-reduced-motion:reduce){.ct-v40-modal,.ct-v31-people .ct-v31-person{animation:none;transition:none}}
