
:root{--bg:#707572;--bg2:#7a7f7c;--card:#5e6360;--card2:#686d6a;--line:#909592;--text:#fff;--muted:#e2e5e3;--accent:#e43e32;--accent2:#ff7653;--dark:#343836;--max:1180px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font-family:Arial,Helvetica,sans-serif;line-height:1.5}a{color:inherit;text-decoration:none}img{display:block;max-width:100%}.container{width:min(var(--max),calc(100% - 36px));margin:auto}.eyebrow{font-size:11px;letter-spacing:.17em;text-transform:uppercase;font-weight:800;color:#f2f4f3}.muted{color:var(--muted)}
header{position:sticky;top:0;z-index:30;background:rgba(50,54,52,.92);backdrop-filter:blur(14px);border-bottom:1px solid rgba(255,255,255,.10)}.nav{height:64px;display:flex;align-items:center;gap:14px}.brand{font-size:28px;font-weight:900;letter-spacing:-.055em;margin-right:auto}.brand span{font-size:10px;letter-spacing:.13em;margin-left:9px;color:#d9dddb;vertical-align:middle}.nav nav{display:flex;gap:13px;align-items:center;font-size:12px;font-weight:700}.nav>.btn{padding:10px 14px;font-size:13px;white-space:nowrap}.nav nav a{opacity:.9}.nav nav a:hover{opacity:1}.menu-btn{display:none;background:none;border:0;color:white;font-size:25px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:11px 17px;border-radius:999px;border:1px solid transparent;font-weight:800;font-size:14px}.btn-primary{background:linear-gradient(135deg,var(--accent),var(--accent2));color:white}.btn-secondary{background:#505552;border-color:#9ea3a0}.btn:hover{transform:translateY(-1px)}
.hero{min-height:520px;display:grid;align-items:center;border-bottom:1px solid var(--line);position:relative;overflow:hidden}.hero:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 78% 28%,rgba(228,62,50,.26),transparent 28%),linear-gradient(125deg,#5e6360,#747976 60%,#626765)}.hero-grid{position:relative;z-index:2;display:grid;grid-template-columns:1.06fr .94fr;gap:34px;align-items:center;padding:44px 0}.hero h1,.page-hero h1{font-size:clamp(44px,6vw,76px);line-height:.96;letter-spacing:-.055em;margin:10px 0 15px}.hero p,.page-hero .lead{font-size:17px;color:#f0f2f1;max-width:720px;margin:0 0 20px}.hero-actions{display:flex;gap:10px;flex-wrap:wrap}.hero-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-top:22px}.stat{border-top:1px solid #a2a7a4;padding-top:9px;font-size:13px;color:#eef0ef}.stat b{display:block;font-size:18px;color:white}.visual{min-height:360px;position:relative}.visual-card{position:absolute;border:1px solid rgba(255,255,255,.18);overflow:hidden;box-shadow:0 25px 70px rgba(0,0,0,.28)}.visual-card.one{width:82%;height:72%;right:0;top:0;border-radius:24px;background:linear-gradient(145deg,#8c918e,#505552)}.visual-card.two{width:62%;height:44%;left:0;bottom:0;border-radius:20px;background:linear-gradient(145deg,#7d827f,#545957)}.visual-label{position:absolute;left:18px;bottom:16px;font-size:11px;letter-spacing:.14em;font-weight:900;z-index:3}.visual-tag{position:absolute;right:7%;bottom:16%;background:white;color:#1a1d1b;padding:9px 12px;border-radius:999px;font-size:11px;font-weight:900;z-index:5}
section{padding:48px 0;border-bottom:1px solid var(--line)}.section-head{display:grid;grid-template-columns:.85fr 1.15fr;gap:26px;align-items:end;margin-bottom:22px}h2{font-size:clamp(32px,4.2vw,52px);line-height:1;letter-spacing:-.045em;margin:5px 0}.section-head p{margin:0;color:var(--muted);max-width:650px}.services,.cards-3{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.service,.info-card{background:var(--card);border:1px solid var(--line);border-radius:17px;padding:20px;min-height:225px;display:flex;flex-direction:column}.service .num,.info-card .num{font-size:11px;letter-spacing:.15em;color:#e4e7e5}.service h3,.info-card h3{font-size:23px;margin:30px 0 8px;letter-spacing:-.03em;line-height:1.05}.service p,.info-card p{color:var(--muted);font-size:14px;margin:0 0 14px}.service a{margin-top:auto;font-weight:800;font-size:13px}.service.featured{background:linear-gradient(145deg,#79504c,#5f6461 62%)}
.split{display:grid;grid-template-columns:1fr 1fr;gap:10px}.panel{min-height:330px;border:1px solid var(--line);border-radius:20px;padding:24px;position:relative;overflow:hidden;display:flex;align-items:flex-end;background:linear-gradient(145deg,#808582,#565b58)}.panel:after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(44,48,46,.88),rgba(44,48,46,.08) 70%)}.panel-content{position:relative;z-index:2}.panel h3{font-size:31px;line-height:1.04;margin:5px 0 8px}.panel p{color:#edf0ee;max-width:520px}.panel .btn{margin-top:6px}
.project-grid{display:grid;grid-template-columns:1.15fr .85fr .85fr;gap:10px}.project{min-height:250px;border:1px solid var(--line);border-radius:18px;position:relative;overflow:hidden;padding:18px;display:flex;align-items:flex-end;background:linear-gradient(145deg,#7f8481,#555a57)}.project.large{grid-row:span 2;min-height:510px}.project:before{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(42,46,44,.88),rgba(42,46,44,.08) 70%)}.project-copy{position:relative;z-index:2}.project h3{font-size:25px;margin:3px 0}.project p{margin:0;color:#e7e9e8;font-size:13px}.placeholder:after{content:"FOTO SOSTITUIBILE";position:absolute;right:12px;top:12px;background:rgba(40,44,42,.72);padding:6px 8px;border-radius:999px;font-size:9px;letter-spacing:.13em;font-weight:800;z-index:4}
.proof{display:grid;grid-template-columns:.8fr 1.2fr;gap:32px}.proof-list{display:grid;gap:8px}.proof-item{display:grid;grid-template-columns:48px 1fr;gap:10px;background:var(--card);border:1px solid var(--line);border-radius:15px;padding:14px}.proof-item b{font-size:21px}.proof-item strong{font-size:16px}.proof-item p{margin:2px 0 0;color:var(--muted);font-size:14px}.faq{display:grid;grid-template-columns:1fr 1fr;gap:8px}details{background:var(--card);border:1px solid var(--line);border-radius:13px;padding:13px 15px}summary{cursor:pointer;font-weight:800}details p{color:var(--muted);margin-bottom:0;font-size:14px}.cta{background:linear-gradient(135deg,#79504c,#616663 62%);border:1px solid #96716c;border-radius:22px;padding:28px 30px;display:grid;grid-template-columns:1.1fr .9fr;gap:22px;align-items:center}.cta h2{margin:0 0 8px}.cta p{margin:0;color:#eef0ef}.cta .actions{display:flex;gap:9px;flex-wrap:wrap;justify-content:flex-end}
.page-hero{padding:56px 0 36px;border-bottom:1px solid var(--line);background:linear-gradient(125deg,#5e6360,#747976 70%,#724d49);position:relative}.breadcrumb{font-size:12px;color:#dce0de;margin-bottom:10px}.content-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:36px}.rich h2{font-size:36px}.rich h3{font-size:22px;margin:22px 0 6px}.rich p,.rich li{color:#f0f2f1}.rich ul{padding-left:20px}.tags{display:flex;flex-wrap:wrap;gap:6px}.tag-chip{border:1px solid #a1a6a3;background:#545956;border-radius:999px;padding:7px 10px;font-size:12px}.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.step{border:1px solid var(--line);background:var(--card);border-radius:14px;padding:15px;min-height:155px}.step b{font-size:10px;letter-spacing:.14em}.step h3{font-size:18px;margin:19px 0 5px}.step p{font-size:13px;color:var(--muted)}.photo-grid{display:grid;grid-template-columns:1.2fr .8fr .8fr;grid-auto-rows:205px;gap:8px}.photo{border:1px solid var(--line);border-radius:17px;overflow:hidden;position:relative;background:linear-gradient(145deg,#858a87,#555a58)}.photo:first-child{grid-row:span 2}.photo span{position:absolute;left:12px;bottom:12px;background:rgba(40,44,42,.74);padding:6px 8px;border-radius:999px;font-size:10px;font-weight:800}.contact-layout{display:grid;grid-template-columns:1fr 1fr;gap:10px}.contact-card{background:var(--card);border:1px solid var(--line);border-radius:18px;padding:21px}.contact-lines{display:grid;gap:8px;margin-top:14px}.contact-lines a,.contact-lines span{background:#555a57;border:1px solid var(--line);border-radius:11px;padding:11px 13px}
footer{padding:28px 0 40px;background:#454a47;color:#e1e4e2}.foot{display:grid;grid-template-columns:1.35fr 1fr 1fr;gap:25px}.foot p{max-width:430px;font-size:13px}.foot b{color:white}.foot a{display:block;margin:5px 0;font-size:13px}.crosslink{margin-top:12px;padding-top:10px;border-top:1px solid rgba(255,255,255,.13);font-size:12px}.crosslink a{text-decoration:underline}
@media(max-width:900px){.nav nav{display:none}.menu-btn{display:block}.nav>.btn{display:none}.nav.open nav{position:absolute;left:0;right:0;top:64px;background:#3d423f;padding:16px 20px;display:grid;gap:12px}.hero-grid,.section-head,.proof,.cta,.content-grid{grid-template-columns:1fr}.hero{min-height:auto}.hero-grid{padding:38px 0}.visual{min-height:310px}.services,.cards-3{grid-template-columns:1fr 1fr}.split{grid-template-columns:1fr}.project-grid{grid-template-columns:1fr 1fr}.project.large{grid-row:span 1;min-height:250px}.steps{grid-template-columns:1fr 1fr}.contact-layout{grid-template-columns:1fr}.cta .actions{justify-content:flex-start}.foot{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.container{width:min(var(--max),calc(100% - 24px))}.brand{font-size:23px}.brand span{display:none}.hero h1,.page-hero h1{font-size:45px}.hero-stats{grid-template-columns:1fr}.visual{min-height:280px}section{padding:40px 0}.services,.cards-3,.project-grid,.steps,.faq,.photo-grid{grid-template-columns:1fr}.project.large{min-height:240px}.photo:first-child{grid-row:span 1}.proof-item{grid-template-columns:1fr}.cta{padding:22px}.foot{grid-template-columns:1fr}.nav{height:60px}.nav.open nav{top:60px}}

body.git .hero:before{background:radial-gradient(circle at 76% 24%,rgba(255,255,255,.11),transparent 30%),linear-gradient(125deg,#626765,#777c79 58%,#686d6a)}
body.git .btn-primary{background:#f4f5f4;color:#313532}.git .service.featured{background:linear-gradient(145deg,#7e746d,#626764 64%)}.git .cta{background:linear-gradient(135deg,#78706a,#616663 65%);border-color:#96918c}.git .visual-card.one:before{content:"SURFACE";position:absolute;right:7%;top:18%;font-size:73px;font-weight:900;color:rgba(255,255,255,.13);letter-spacing:-.07em}.git .visual-card.two:before{content:"";position:absolute;inset:28px 24px 58px;background:repeating-linear-gradient(90deg,#735a48 0 13px,#525754 13px 20px);opacity:.58;border-radius:10px}

/* v2 — lighter, warmer GiTierre + compact spacing */
body.git{--bg:#7d817c;--bg2:#8d8f88;--card:#737872;--card2:#858880;--line:#9da097;--text:#fff;--muted:#ece9e2;--accent:#b56f57;--accent2:#d1ad7f;--dark:#333733;background:#7d817c}
body.git header{background:rgba(60,64,60,.86);border-bottom-color:rgba(255,255,255,.16)}
body.git .hero{min-height:440px;background:#6f746f}
body.git .hero:before{background:linear-gradient(90deg,rgba(48,53,49,.86) 0%,rgba(65,69,65,.72) 45%,rgba(78,80,74,.48) 100%),url('gitierre-hero-soft.png') center/cover no-repeat;filter:saturate(.86)}
body.git .hero-grid{padding:30px 0;gap:24px}
body.git .hero h1,body.git .page-hero h1{margin:7px 0 11px}
body.git .hero p{margin-bottom:14px;max-width:680px}
body.git .hero-stats{margin-top:14px}
body.git .visual{min-height:290px;opacity:.84}
body.git .visual-card.one{background:linear-gradient(145deg,rgba(202,184,158,.72),rgba(98,106,98,.74));backdrop-filter:blur(5px)}
body.git .visual-card.two{background:linear-gradient(145deg,rgba(181,111,87,.70),rgba(94,101,95,.76));backdrop-filter:blur(5px)}
body.git .btn-primary{background:linear-gradient(135deg,#c39a70,#b56f57);color:white}
body.git .btn-secondary{background:rgba(67,72,68,.62);border-color:rgba(255,255,255,.34)}
body.git .accent-word{color:#e0bc8d}
body.git section{padding:32px 0}
body.git main>section:nth-of-type(2){background:#9a9a91;color:#2f332f}
body.git main>section:nth-of-type(2) .muted,body.git main>section:nth-of-type(2) .section-head p{color:#484c48}
body.git main>section:nth-of-type(2) .eyebrow{color:#4a514b}
body.git main>section:nth-of-type(2) .service{background:#e3ddd2;border-color:#bdb8ad;color:#323632;box-shadow:0 8px 24px rgba(45,49,45,.08)}
body.git main>section:nth-of-type(2) .service p,body.git main>section:nth-of-type(2) .service .num{color:#5e625d}
body.git main>section:nth-of-type(2) .service.featured{background:linear-gradient(145deg,#c99b7d,#a46f5c);color:#fff;border-color:#c49a82}
body.git main>section:nth-of-type(2) .service.featured p,body.git main>section:nth-of-type(2) .service.featured .num{color:#f7eee7}
body.git main>section:nth-of-type(3){background:#777d77}
body.git main>section:nth-of-type(4){background:#888b83}
body.git main>section:nth-of-type(5){background:#6d736e}
body.git .section-head{margin-bottom:14px;gap:18px}
body.git .services,body.git .cards-3,body.git .split,body.git .project-grid{gap:8px}
body.git .service,body.git .info-card{min-height:185px;padding:16px;border-radius:14px}
body.git .service h3,body.git .info-card h3{margin:18px 0 6px;font-size:21px}
body.git .service.featured{background:linear-gradient(145deg,#b77a63,#877a6f 66%)}
body.git .panel{min-height:255px;padding:19px;border-radius:16px;background:linear-gradient(145deg,#9c978c,#676d67)}
body.git .panel:first-child{background:linear-gradient(145deg,#a98972,#6d756c)}
body.git .panel:last-child{background:linear-gradient(145deg,#8da09a,#66716d)}
body.git .proof{gap:22px}
body.git .proof-list{gap:6px}
body.git .proof-item{padding:11px 12px;border-radius:12px;background:#737972}
body.git .cta{padding:21px 23px;border-radius:18px;background:linear-gradient(135deg,#b47a63,#777f76 68%);border-color:#b78d7b}
body.git .page-hero{padding:38px 0 24px;background:linear-gradient(105deg,#6c726d,#8b8c84 62%,#aa765f)}
body.git .content-grid{gap:26px}
body.git .steps{gap:6px}
body.git .step{min-height:135px;padding:12px}
body.git .photo-grid{grid-auto-rows:180px;gap:6px}
body.git .contact-card{padding:17px}
body.git footer{padding:22px 0 28px;background:#545a55}
@media(max-width:620px){body.git section{padding:28px 0}body.git .hero-grid{padding:28px 0}body.git .hero h1,body.git .page-hero h1{font-size:42px}body.git .visual{min-height:230px}body.git .service,body.git .info-card{min-height:auto}body.git .panel{min-height:220px}}

/* v2.1 — hero fotografica soffusa */
body.git .hero{background-image:url('gitierre-hero-soft.png');background-size:cover;background-position:center 52%;}
body.git .hero:before{background:linear-gradient(90deg,rgba(44,49,45,.90) 0%,rgba(58,63,58,.76) 42%,rgba(62,61,55,.34) 70%,rgba(62,57,49,.20) 100%);filter:none}
body.git .hero-grid{grid-template-columns:minmax(0,.92fr) minmax(300px,1.08fr)}
body.git .visual{min-height:285px}
body.git .visual-card,body.git .visual-tag{display:none}
@media(max-width:900px){body.git .hero-grid{grid-template-columns:1fr}body.git .visual{display:none}body.git .hero{background-position:62% center}}

/* Foto reali Gitierre 2026 */
body.git .hero-real-photo{background-image:linear-gradient(90deg,rgba(30,35,32,.92),rgba(35,40,36,.66) 52%,rgba(38,40,35,.18)),url('foto/foto-14.webp');background-size:cover;background-position:center}
body.git .hero-real-photo:before{background:linear-gradient(90deg,rgba(25,31,27,.45),rgba(25,31,27,.05))}
.real-gallery-section{background:#777d77}
.real-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.gallery-tile{padding:0;background:#4f5851;border:1px solid rgba(255,255,255,.23);border-radius:14px;overflow:hidden;cursor:zoom-in;color:white;position:relative;aspect-ratio:4/3;box-shadow:0 6px 20px rgba(0,0,0,.12);text-align:left}
.gallery-tile img{width:100%;height:100%;object-fit:cover;transition:transform .3s ease}.gallery-tile:hover img{transform:scale(1.045)}
.gallery-tile:after{content:'';position:absolute;inset:40% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.7));pointer-events:none}
.gallery-tile span{position:absolute;z-index:1;bottom:11px;left:12px;right:38px;font-size:12px;line-height:1.25;font-weight:700}
.gallery-tile b{position:absolute;z-index:1;right:11px;bottom:9px;font-size:20px}
.gallery-filters{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 18px}
.gallery-filters button{font:700 13px Arial,sans-serif;padding:9px 15px;background:#646e66;border:1px solid #adb2aa;color:white;border-radius:30px;cursor:pointer}
.gallery-filters button.active{background:#e8d5bc;color:#33382f;border-color:#e8d5bc}
.gallery-tile[hidden]{display:none!important}
.gallery-lightbox{position:fixed;z-index:1000;inset:0;background:rgba(10,13,12,.95);display:none;align-items:center;justify-content:center;padding:60px 60px 40px}
.gallery-lightbox.is-open{display:flex}.gallery-lightbox figure{margin:0;max-width:min(100%,1300px);max-height:100%;display:flex;flex-direction:column;align-items:center;gap:10px}
.gallery-lightbox img{max-width:100%;max-height:calc(100vh - 155px);width:auto;height:auto;object-fit:contain;border-radius:8px}
.gallery-lightbox figcaption{font-size:14px;color:#f3f3f3;text-align:center}
.gallery-lightbox button{position:absolute;background:rgba(255,255,255,.15);color:white;border:1px solid rgba(255,255,255,.35);border-radius:50%;width:42px;height:42px;font-size:26px;cursor:pointer}
.gallery-lightbox .close{right:20px;top:18px}.gallery-lightbox .prev{left:12px;top:50%}.gallery-lightbox .next{right:12px;top:50%}
@media(max-width:900px){.real-gallery{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:620px){.real-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.gallery-tile span{font-size:11px}.gallery-lightbox{padding:65px 12px 45px}.gallery-lightbox .prev,.gallery-lightbox .next{top:auto;bottom:10px}}

/* v3 - portfolio ordinato secondo i sette archivi fotografici forniti */
body.git .hero-category{background:#333c37;min-height:470px}
body.git .hero-category:before{background:radial-gradient(circle at 73% 45%,rgba(191,135,98,.23),transparent 45%),linear-gradient(115deg,#313c37,#657168)}
body.git .hero-category .hero-grid{grid-template-columns:1fr .92fr;gap:40px}
.hero-art{position:relative;display:flex;align-items:center;justify-content:center;min-height:360px;overflow:hidden;border-radius:22px;background:#151817;box-shadow:0 15px 40px rgba(0,0,0,.28)}
.hero-art img{width:100%;height:360px;object-fit:contain}
.hero-art span{position:absolute;bottom:16px;left:18px;font-size:12px;font-weight:800;letter-spacing:.08em;color:#fff;text-shadow:0 2px 9px #000}
body.git .categories-section{background:#e5ded2;color:#303b33}
body.git .categories-section .eyebrow{color:#855b45}
body.git .categories-section .section-head p{color:#5d665e}
.category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.category-card{display:block;background:#fff;color:#29342e;border-radius:17px;overflow:hidden;border:1px solid #d0c8bb;transition:transform .2s,box-shadow .2s}
.category-card:hover{transform:translateY(-3px);box-shadow:0 12px 25px rgba(35,45,37,.13)}
.category-cover{height:180px;background:#a8a69e center/cover no-repeat}
.category-content{padding:16px 18px 18px}.category-content h3{font-size:21px;letter-spacing:-.035em;margin:0 0 7px}.category-content p{font-size:13px;color:#667068;min-height:42px;margin:0 0 12px}.category-content span{font-weight:800;font-size:13px;color:#995c43}
.about-layout{display:grid;grid-template-columns:.7fr 1.3fr;gap:32px;align-items:center}.about-layout p{color:#f2f2ee}.about-portrait{border-radius:20px;overflow:hidden;max-width:420px;background:#666}.about-portrait img{width:100%;aspect-ratio:4/4;object-fit:cover}
body.git .approach-section{background:#646f67}
@media(max-width:900px){body.git .hero-category .hero-grid{grid-template-columns:1fr}.hero-art{min-height:260px}.hero-art img{height:260px}.category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.about-layout{grid-template-columns:1fr}}
@media(max-width:620px){.category-grid{grid-template-columns:1fr}.category-cover{height:190px}.hero-art img{height:240px}.hero-art{min-height:240px}}

/* v3: progetti fotografici raggruppati per soggetto. */
.gallery-collections{display:grid;gap:30px;margin-top:16px}
.gallery-project{min-width:0}
.gallery-project[hidden]{display:none!important}
.gallery-project-heading{font-size:clamp(1.02rem,1.5vw,1.23rem);line-height:1.25;margin:0 0 13px;padding:0 0 10px;border-bottom:1px solid rgba(105,97,86,.20);font-weight:750;letter-spacing:-.015em}
.gallery-project .real-gallery{margin:0}
.gallery-project .gallery-tile{min-width:0}
@media(max-width:700px){.gallery-collections{gap:24px}}

/* GiTierre v5 - testi esplicativi dei servizi */
.service-explainer{padding-top:24px;padding-bottom:34px}
.service-explainer .service-intro{max-width:930px;font-size:1.075rem;line-height:1.75;margin:0 0 24px;color:var(--muted, #555)}
.service-explainer .service-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.service-explainer .service-item{padding:23px;border:1px solid rgba(125,113,93,.22);border-radius:16px;background:rgba(255,255,255,.46)}
.service-explainer .service-item h3{font-size:1.08rem;margin:0 0 9px}
.service-explainer .service-item p{margin:0;line-height:1.6}
@media(max-width:690px){.service-explainer .service-grid{grid-template-columns:1fr}.service-explainer .service-item{padding:18px}}
