/*
Theme Name: 3 Zeta Automazioni
Theme URI: https://www.3zetaautomazioni.it
Author: 3 Zeta Automazioni Srl
Description: Tema su misura per 3 Zeta Automazioni: installazione, commissioning e manutenzione di impianti automatizzati in Italia e nel mondo. Include progetti con mappa interattiva, posizioni aperte con invio CV, modulo contatti, WhatsApp, banner cookie con Google Analytics 4 su consenso, testi italiano/inglese compatibili con Polylang.
Version: 1.1.0
Requires at least: 6.3
Requires PHP: 7.4
License: Proprietario
Text Domain: tre-zeta
*/

/* ---------- Font locali (nessuna richiesta a server esterni) ---------- */
@font-face {
	font-family: "Archivo";
	src: url("assets/fonts/archivo-wdth.woff2") format("woff2-variations"), url("assets/fonts/archivo-wdth.woff2") format("woff2");
	font-weight: 100 900;
	font-stretch: 62% 125%;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Archivo";
	src: url("assets/fonts/archivo-wdth-ext.woff2") format("woff2-variations"), url("assets/fonts/archivo-wdth-ext.woff2") format("woff2");
	font-weight: 100 900;
	font-stretch: 62% 125%;
	font-display: swap;
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face { font-family: "IBM Plex Sans"; src: url("assets/fonts/plex-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("assets/fonts/plex-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("assets/fonts/plex-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

/* ---------- Token ---------- */
:root {
	--navy: #021C43;
	--navy-deep: #011331;
	--navy-2: #11336E;
	--navy-line: rgba(255, 255, 255, .14);
	--red: #E8191C;
	--red-bright: #FD1815;
	--red-dark: #B81215;
	--white: #FFFFFF;
	--steel: #E9EDF2;
	--steel-2: #CDD5E0;
	--ink: #021C43;
	--muted: #4A5870;
	--muted-on-navy: #AEB9CC;

	--f-display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
	--f-body: "IBM Plex Sans", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

	--wrap: 1240px;
	--gutter: clamp(20px, 4vw, 48px);
	--sec: clamp(72px, 9vw, 128px);
	--header-h: 76px;
	--cut: 28px; /* angolo smussato, ripreso dalle lamiere e dalla Z del logo */
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	margin: 0;
	font-family: var(--f-body);
	font-size: 1.0625rem;
	line-height: 1.62;
	color: var(--ink);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, video, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--red); }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--f-display); font-stretch: 108%; font-weight: 750; line-height: 1.08; letter-spacing: -.012em; margin: 0 0 .5em; text-wrap: balance; }
ul, ol { padding: 0; margin: 0; list-style: none; }
address { font-style: normal; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--red); color: #fff; padding: 10px 16px; font-weight: 600; }
.skip-link:focus { top: 12px; color: #fff; }
#main:focus { outline: none; }
[hidden] { display: none !important; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

.h-xl { font-size: clamp(2rem, 4.2vw, 3.4rem); font-weight: 800; font-stretch: 112%; }
.h-lg { font-size: clamp(1.75rem, 3.2vw, 2.6rem); font-weight: 800; font-stretch: 110%; }
.h-md { font-size: clamp(1.3rem, 2vw, 1.6rem); }
.h-sm { font-size: 1.1rem; margin-top: 1.6em; }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.25rem); line-height: 1.55; color: var(--muted); max-width: 62ch; }

.tz-icon { width: 24px; height: 24px; flex: none; }

/* ---------- Pulsanti ---------- */
.btn {
	--b: var(--red);
	display: inline-flex; align-items: center; gap: .6em;
	min-height: 52px; padding: .8em 1.6em .8em 1.4em;
	font-family: var(--f-display); font-stretch: 105%; font-weight: 650; font-size: 1rem; line-height: 1.1;
	text-decoration: none; border: 2px solid var(--b); background: var(--b); color: #fff;
	clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
	transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn .tz-icon { width: 20px; height: 20px; }
.btn:hover { color: #fff; background: var(--red-dark); border-color: var(--red-dark); }
.btn-navy { --b: var(--navy); }
.btn-navy:hover { background: var(--navy-2); border-color: var(--navy-2); }
.btn-ghost { background: transparent; border-color: rgba(255, 255, 255, .7); }
.btn-ghost:hover { background: #fff; border-color: #fff; color: var(--navy); }
.btn-ghost-dark { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-ghost-dark:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-wa { --b: #1F9D55; margin-top: 8px; }
.btn-wa:hover { background: #17824A; border-color: #17824A; }
.btn-sm { min-height: 42px; padding: .55em 1.2em .55em 1em; font-size: .95rem; }
.linklike { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; text-underline-offset: .18em; }
.link-arrow { display: inline-flex; align-items: center; gap: .5em; font-family: var(--f-display); font-weight: 650; font-stretch: 105%; text-decoration: none; border-bottom: 2px solid var(--red); padding-bottom: 2px; }
.link-arrow .tz-icon { width: 20px; height: 20px; transition: transform .2s var(--ease); }
.link-arrow:hover .tz-icon { transform: translateX(4px); }

/* ---------- Segnaposto per le foto (finché non si caricano le foto di cantiere) ---------- */
.tz-ph {
	width: 100%; height: 100%; min-height: 220px;
	background:
		repeating-linear-gradient(135deg, rgba(255, 255, 255, .045) 0 2px, transparent 2px 22px),
		linear-gradient(160deg, var(--navy-2) 0%, var(--navy) 55%, var(--navy-deep) 100%);
}

/* ---------- Angolo smussato ---------- */
.chamfer { clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%); }
.chamfer-l { clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, 0 100%, 0 var(--cut)); }

/* ---------- Header ---------- */
.site-header {
	position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
	background: var(--navy); color: #fff;
	transition: background-color .3s var(--ease), box-shadow .3s var(--ease);
}
.has-hero .site-header:not(.is-scrolled) { background: linear-gradient(180deg, rgba(1, 19, 49, .75), rgba(1, 19, 49, 0)); }
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--navy-line); }
body:not(.has-hero) #main { padding-top: var(--header-h); }
.header-inner { display: flex; align-items: center; gap: 28px; height: 100%; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; flex: none; }
.brand:hover { color: #fff; }
.brand-logo { max-height: 48px; width: auto; }
.brand-mark { width: auto; height: 54px; flex: none; }
.brand-name { font-family: var(--f-display); font-weight: 650; font-stretch: 100%; font-size: 1.3rem; line-height: 1; letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; }
.site-header .brand-name { font-size: 1.45rem; }
@media (max-width: 400px) { .site-header .brand-mark { height: 44px; } .site-header .brand-name { font-size: 1.2rem; } }
.brand-name .r { color: var(--red-bright); }
.brand-name small { display: block; font-family: var(--f-body); font-weight: 500; font-size: .62rem; letter-spacing: .32em; margin-top: 6px; color: #fff; }
.footer-brand .brand-mark { height: 64px; }
.footer-brand .brand-name { font-size: 1.55rem; }
.footer-brand .brand-name small { font-size: .7rem; }

.main-nav { margin-left: auto; display: flex; align-items: center; gap: 28px; }
.nav-list { display: flex; gap: 4px; }
.nav-list a { display: block; padding: 10px 12px; font-weight: 500; font-size: .98rem; text-decoration: none; color: #fff; position: relative; }
.nav-list a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav-list a:hover, .nav-list .current-menu-item > a, .nav-list .current_page_item > a, .nav-list .current-menu-ancestor > a { color: #fff; }
.nav-list a:hover::after, .nav-list .current-menu-item > a::after, .nav-list .current_page_item > a::after { transform: scaleX(1); }
.nav-extra { display: flex; align-items: center; gap: 16px; }
.lang-switch { display: flex; gap: 2px; }
.lang-switch a { display: block; padding: 6px 8px; font-size: .85rem; font-weight: 600; text-decoration: none; color: var(--muted-on-navy); }
.lang-switch a[aria-current] { color: #fff; box-shadow: inset 0 -2px 0 var(--red); }
.nav-toggle { display: none; margin-left: auto; width: 48px; height: 48px; background: none; border: 0; color: #fff; position: relative; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { position: absolute; left: 12px; width: 24px; height: 2px; background: currentColor; transition: transform .25s var(--ease), opacity .2s; }
.nav-toggle-bars { top: 23px; }
.nav-toggle-bars::before { content: ""; left: 0; top: -7px; }
.nav-toggle-bars::after { content: ""; left: 0; top: 7px; }
.nav-open .nav-toggle-bars { background: transparent; }
.nav-open .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) {
	.nav-toggle { display: block; }
	.main-nav {
		position: fixed; inset: var(--header-h) 0 0; background: var(--navy); flex-direction: column; align-items: stretch;
		gap: 24px; padding: 24px var(--gutter) 40px; overflow-y: auto;
		visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s;
	}
	.nav-open .main-nav { visibility: visible; opacity: 1; transform: none; transition: opacity .25s var(--ease), transform .25s var(--ease); }
	.nav-open .site-header { background: var(--navy) !important; }
	.nav-list { flex-direction: column; gap: 0; }
	.nav-list a { padding: 16px 0; font-family: var(--f-display); font-stretch: 110%; font-weight: 700; font-size: 1.5rem; border-bottom: 1px solid var(--navy-line); }
	.nav-list a::after { display: none; }
	.nav-extra { flex-direction: column; align-items: flex-start; }
	.nav-extra .btn { align-self: stretch; justify-content: center; }
	body.nav-open { overflow: hidden; }
}

/* ---------- Hero homepage ---------- */
.hero { position: relative; min-height: min(100svh, 920px); display: flex; flex-direction: column; justify-content: flex-end; color: #fff; background: var(--navy-deep); isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-img, .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-video { opacity: 0; transition: opacity .8s var(--ease); }
.hero-video.is-playing { opacity: 1; }
.hero-media::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(90deg, rgba(1, 19, 49, .88) 0%, rgba(1, 19, 49, .55) 55%, rgba(1, 19, 49, .2) 100%), linear-gradient(0deg, rgba(1, 19, 49, .9) 0%, rgba(1, 19, 49, 0) 45%);
}
.hero-inner { padding-top: calc(var(--header-h) + 64px); padding-bottom: clamp(48px, 7vw, 88px); }
.hero-title {
	font-size: clamp(2.3rem, 5.2vw, 4.4rem); font-weight: 820; font-stretch: 110%; line-height: 1.02; letter-spacing: -.02em;
	max-width: 18ch; margin-bottom: .45em;
}
.hero-text { font-size: clamp(1.1rem, 1.6vw, 1.3rem); max-width: 54ch; color: #DCE3EE; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-regions { border-top: 1px solid var(--navy-line); background: rgba(1, 19, 49, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hero-regions-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.region { display: flex; flex-direction: column; gap: 2px; padding: 20px 20px 22px; text-decoration: none; color: #fff; border-left: 1px solid var(--navy-line); position: relative; transition: background-color .2s; }
.region:last-child { border-right: 1px solid var(--navy-line); }
.region::before { content: ""; position: absolute; left: -1px; top: -1px; width: 0; height: 3px; background: var(--red); transition: width .3s var(--ease); }
.region:hover { color: #fff; background: rgba(255, 255, 255, .05); }
.region:hover::before { width: calc(100% + 2px); }
.region-name { font-family: var(--f-display); font-weight: 750; font-stretch: 112%; font-size: clamp(1.05rem, 1.6vw, 1.35rem); }
.region-count { font-size: .92rem; color: var(--muted-on-navy); }
@media (max-width: 700px) {
	.hero-regions-inner { grid-template-columns: repeat(2, 1fr); padding: 0; }
	.region { border-bottom: 1px solid var(--navy-line); padding: 16px var(--gutter); }
	.region:nth-child(odd) { border-left: 0; }
	.region:last-child { border-right: 0; }
}

/* ---------- Sezioni ---------- */
.section { padding: var(--sec) 0; }
.section + .section:not(.section-navy):not(.section-steel) { padding-top: 0; }
.section-navy + .section, .section-steel + .section { padding-top: var(--sec) !important; }
.section-navy { background: var(--navy); color: #fff; }
.section-navy .lead, .section-navy .section-head p { color: var(--muted-on-navy); }
.section-navy a:not(.btn):hover { color: #fff; }
.section-steel { background: var(--steel); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head p { font-size: 1.15rem; color: var(--muted); margin: 0; }
.section-head-row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-head-row > div { max-width: 760px; }
.section-head .h-lg { margin-bottom: .35em; }

/* Intro */
.intro-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.intro-text p:not(.lead) { max-width: 60ch; }
.intro-media { aspect-ratio: 4 / 5; overflow: hidden; }
.intro-media img, .intro-media .tz-ph { width: 100%; height: 100%; object-fit: cover; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin: clamp(48px, 6vw, 80px) 0 0; border-top: 2px solid var(--navy); }
.facts > div { padding: 22px 20px 0 0; display: flex; flex-direction: column-reverse; justify-content: flex-end; }
.facts > div + div { padding-left: 20px; border-left: 1px solid var(--steel-2); }
.facts dd { margin: 0; font-family: var(--f-display); font-weight: 820; font-stretch: 118%; font-size: clamp(2.4rem, 4.4vw, 3.6rem); line-height: 1; color: var(--navy); }
.facts dt { margin-top: 8px; color: var(--muted); font-size: .98rem; max-width: 20ch; }
@media (max-width: 860px) {
	.intro-grid { grid-template-columns: 1fr; }
	.intro-media { aspect-ratio: 16 / 10; }
	.facts { grid-template-columns: repeat(2, 1fr); }
	.facts > div:nth-child(3) { padding-left: 0; border-left: 0; }
	.facts > div:nth-child(n+3) { padding-top: 28px; }
}

/* Servizi in homepage */
.service-list { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: clamp(32px, 5vw, 72px); border-top: 1px solid var(--steel-2); }
.service-list a {
	display: grid; grid-template-columns: 28px 1fr; column-gap: 18px; row-gap: 4px;
	padding: 26px 0; border-bottom: 1px solid var(--steel-2); text-decoration: none; color: var(--ink); height: 100%;
}
.service-list .tz-icon { grid-row: span 2; width: 28px; height: 28px; color: var(--red); margin-top: 2px; }
.sl-title { font-family: var(--f-display); font-weight: 720; font-stretch: 106%; font-size: 1.2rem; line-height: 1.2; transition: color .2s; }
.sl-desc { color: var(--muted); font-size: .98rem; }
.service-list a:hover .sl-title { color: var(--red); }
@media (max-width: 760px) { .service-list { grid-template-columns: 1fr; } }

/* ---------- Mappa ---------- */
.map-section { overflow: hidden; }
.tz-map { --pin: var(--red-bright); }
.map-filters, .filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip {
	display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 14px;
	background: transparent; color: #fff; border: 1px solid var(--navy-line); font-size: .95rem; font-weight: 500;
	transition: background-color .2s, border-color .2s, color .2s;
}
.chip span { font-size: .8rem; color: var(--muted-on-navy); font-variant-numeric: tabular-nums; }
.chip:hover { border-color: rgba(255, 255, 255, .5); }
.chip.is-active { background: #fff; color: var(--navy); border-color: #fff; }
.chip.is-active span { color: var(--red); }
.chip-light { color: var(--ink); border-color: var(--steel-2); }
.chip-light:hover { border-color: var(--navy); }
.chip-light.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }
.filter-label { align-self: center; font-weight: 600; margin-right: 8px; }

.map-stage { display: grid; grid-template-columns: 1fr 320px; gap: 32px; align-items: start; }
.map-canvas { position: relative; aspect-ratio: 360 / 134; }
.map-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-dots { stroke: #3D5785; stroke-width: 1.15; stroke-linecap: round; fill: none; }
.map-pin {
	position: absolute; width: 22px; height: 22px; margin: -11px 0 0 -11px; padding: 0; border: 0; background: transparent; z-index: 2;
	transition: opacity .3s var(--ease);
}
.map-pin::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: var(--pin); box-shadow: 0 0 0 3px rgba(253, 24, 21, .3); transition: transform .2s var(--ease), box-shadow .2s; }
.map-pin::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; border: 2px solid var(--pin); opacity: 0; }
.map-pin:hover::before, .map-pin:focus-visible::before { transform: scale(1.35); }
.map-pin.is-active { z-index: 3; }
.map-pin.is-active::before { background: #fff; box-shadow: 0 0 0 4px var(--pin); }
.map-pin.is-dim { opacity: .18; pointer-events: none; }
.tz-map.is-visible .map-pin:not(.is-dim)::after { animation: pin-pulse 2.6s var(--ease) infinite; animation-delay: var(--d, 0s); }
@keyframes pin-pulse { 0% { transform: scale(1); opacity: .7; } 70%, 100% { transform: scale(2.8); opacity: 0; } }
.map-card { background: var(--navy-deep); border: 1px solid var(--navy-line); min-height: 100%; clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%); }
.map-card-empty { padding: 32px 28px; color: var(--muted-on-navy); }
.map-card-empty .tz-icon { width: 36px; height: 36px; color: var(--red); margin-bottom: 14px; }
.map-card-count { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--navy-line); }
.map-card-count strong { display: block; font-family: var(--f-display); font-stretch: 118%; font-size: 3rem; line-height: 1; color: #fff; font-weight: 820; }
.map-card-body { padding: 0 0 26px; }
.map-card-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy-2); }
.map-card-img img, .map-card-img .tz-ph { width: 100%; height: 100%; object-fit: cover; min-height: 0; }
.map-card-place, .map-card-title, .map-card-meta, .map-card-link { margin-left: 24px; margin-right: 24px; }
.map-card-place { margin-top: 18px; margin-bottom: 6px; font-size: .9rem; color: var(--muted-on-navy); }
.map-card-title { font-size: 1.35rem; margin-bottom: 8px; }
.map-card-meta { font-size: .92rem; color: var(--muted-on-navy); }
.map-card-none { padding: 28px; color: var(--muted-on-navy); }
@media (max-width: 960px) {
	.map-stage { grid-template-columns: 1fr; }
	.map-canvas { margin: 0 calc(-1 * var(--gutter) / 2); }
	.map-card { min-height: 0; }
	.map-card-body { display: grid; grid-template-columns: 140px 1fr; column-gap: 18px; padding: 0; }
	.map-card-img { grid-row: span 4; aspect-ratio: auto; height: 100%; }
	.map-card-place, .map-card-title, .map-card-meta, .map-card-link { margin-left: 0; }
	.map-card-link { margin-bottom: 18px; justify-self: start; }
	.map-card-empty { display: flex; gap: 16px; align-items: center; padding: 18px 20px; }
	.map-card-empty p { margin: 0; }
	.map-card-empty .tz-icon { margin: 0; }
	.map-card-count { display: none; }
}
@media (max-width: 560px) {
	.map-pin { width: 18px; height: 18px; margin: -9px 0 0 -9px; }
	.map-pin::before, .map-pin::after { inset: 5px; }
	.map-card-body { grid-template-columns: 1fr; }
	.map-card-img { grid-row: auto; aspect-ratio: 16 / 9; }
	.map-card-place, .map-card-title, .map-card-meta, .map-card-link { margin-left: 18px; }
}

/* ---------- Metodo ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 23px; height: 2px; background: var(--steel-2); }
.steps li { position: relative; padding-right: 24px; }
.step-n {
	position: relative; display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 22px;
	background: var(--navy); color: #fff; font-family: var(--f-display); font-weight: 800; font-stretch: 115%; font-size: 1.15rem;
	clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
}
.steps li:first-child .step-n { background: var(--red); }
.steps h3 { font-size: 1.15rem; }
.steps p { font-size: .98rem; color: var(--muted); margin: 0; }
@media (max-width: 960px) {
	.steps { grid-template-columns: 1fr; gap: 0; }
	.steps::before { left: 23px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
	.steps li { display: grid; grid-template-columns: 48px 1fr; column-gap: 20px; padding: 0 0 28px; }
	.step-n { grid-row: span 2; margin: 0; }
	.steps h3 { margin: 10px 0 6px; }
}

/* ---------- Sicurezza ---------- */
.safety-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.safety-media { aspect-ratio: 4 / 5; overflow: hidden; }
.safety-media img, .safety-media .tz-ph { width: 100%; height: 100%; object-fit: cover; }
.checks { margin: 28px 0 0; }
.checks li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--steel-2); }
.checks li:first-child { border-top: 1px solid var(--steel-2); }
.checks .tz-icon { color: var(--red); width: 22px; height: 22px; margin-top: 2px; stroke-width: 2.2; }
.checks-sm li { padding: 10px 0; font-size: .98rem; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 8px 14px; border: 1px solid var(--navy); font-weight: 600; font-size: .92rem; }
@media (max-width: 860px) {
	.safety-grid { grid-template-columns: 1fr; }
	.safety-media { aspect-ratio: 16 / 10; order: 2; }
}

/* ---------- Settori (tessere) ---------- */
.sector-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--navy-line); border: 1px solid var(--navy-line); }
.sector-tiles a { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; color: #fff; text-decoration: none; background: var(--navy); }
.sector-tiles img, .sector-tiles .tz-ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; min-height: 0; opacity: .5; transition: opacity .4s var(--ease), transform .6s var(--ease); }
.sector-tiles a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(1, 19, 49, .95) 0%, rgba(1, 19, 49, .1) 70%); }
.sector-tiles a:hover img, .sector-tiles a:hover .tz-ph { opacity: .8; transform: scale(1.04); }
.tile-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 24px; display: flex; flex-direction: column; gap: 12px; font-family: var(--f-display); font-weight: 720; font-stretch: 108%; font-size: 1.3rem; line-height: 1.15; }
.tile-body .tz-icon { width: 30px; height: 30px; color: var(--red); }
.sector-tiles a:hover { color: #fff; }
.sector-tiles a:hover .tile-body > span { text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; }
@media (max-width: 860px) { .sector-tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .sector-tiles { grid-template-columns: 1fr; } .sector-tiles a { aspect-ratio: 16 / 9; } }

/* ---------- Lavora con noi (teaser) ---------- */
.careers-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.careers-media { aspect-ratio: 16 / 11; overflow: hidden; }
.careers-media img, .careers-media .tz-ph { width: 100%; height: 100%; object-fit: cover; }
.careers-grid .lead { margin-bottom: 28px; }
@media (max-width: 860px) { .careers-grid { grid-template-columns: 1fr; } }

/* ---------- Fascia CTA ---------- */
.cta-band { background: var(--red); color: #fff; padding: clamp(48px, 6vw, 80px) 0; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; right: -60px; top: 0; bottom: 0; width: 42%; background: var(--red-dark); clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%); }
.cta-band-inner { position: relative; display: grid; grid-template-columns: 1.3fr auto; gap: 32px; align-items: center; }
.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; font-stretch: 110%; max-width: 22ch; }
.cta-band p { margin: 0; max-width: 58ch; color: #FBE3E5; }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn-red { --b: var(--navy); }
.cta-band .btn-red:hover { background: var(--navy-deep); border-color: var(--navy-deep); }
@media (max-width: 860px) { .cta-band-inner { grid-template-columns: 1fr; } .cta-band::before { display: none; } }

/* ---------- Testata pagine interne ---------- */
.page-hero { position: relative; color: #fff; background: var(--navy); padding: calc(var(--header-h) + clamp(56px, 8vw, 104px)) 0 clamp(48px, 6vw, 80px); isolation: isolate; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .03) 0 2px, transparent 2px 24px); }
.page-hero::after { content: ""; position: absolute; left: 0; bottom: 0; width: clamp(80px, 12vw, 180px); height: 6px; background: var(--red); }
.page-hero-media { position: absolute; inset: 0; z-index: -1; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero.has-img .page-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(1, 19, 49, .9) 0%, rgba(1, 19, 49, .5) 100%); }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 820; font-stretch: 114%; letter-spacing: -.02em; max-width: 20ch; margin-bottom: .3em; }
.page-hero .lead { color: #D3DBE8; margin: 0; }

/* Sottomenu ancore */
.subnav { position: sticky; top: var(--header-h); z-index: 50; background: #fff; border-bottom: 1px solid var(--steel-2); }
.subnav ul { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: block; white-space: nowrap; padding: 16px 12px; font-size: .92rem; font-weight: 500; text-decoration: none; color: var(--muted); border-bottom: 2px solid transparent; }
.subnav a:hover, .subnav a.is-current { color: var(--ink); border-bottom-color: var(--red); }

/* Dettagli servizi e settori */
.detail { padding: clamp(56px, 7vw, 96px) 0; }
.detail + .detail { border-top: 1px solid var(--steel-2); }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.is-flip .detail-media { order: 2; }
.detail-media { aspect-ratio: 4 / 3; overflow: hidden; }
.detail-media img, .detail-media .tz-ph { width: 100%; height: 100%; object-fit: cover; }
.detail-icon { width: 40px; height: 40px; color: var(--red); margin-bottom: 18px; }
.mini-projects { margin-top: 24px; border-top: 1px solid var(--steel-2); }
.mini-projects a { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--steel-2); text-decoration: none; font-weight: 500; }
.mini-projects span { color: var(--muted); font-weight: 400; font-size: .92rem; white-space: nowrap; }
@media (max-width: 860px) {
	.detail-grid { grid-template-columns: 1fr; }
	.is-flip .detail-media { order: 0; }
	.detail-media { aspect-ratio: 16 / 10; }
}

/* Chi siamo */
.org { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px; background: var(--navy-line); border: 1px solid var(--navy-line); }
.org li { background: var(--navy); padding: 28px 22px; }
.org .tz-icon { color: var(--red); width: 30px; height: 30px; margin-bottom: 18px; }
.org h3 { font-size: 1.12rem; }
.org p { color: var(--muted-on-navy); font-size: .95rem; margin: 0; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); }
.values > div { border-top: 3px solid var(--navy); padding-top: 22px; }
.values > div:first-child { border-top-color: var(--red); }
.values h3 { font-size: 1.3rem; }
.values p { color: var(--muted); margin: 0; }
@media (max-width: 1000px) { .org { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .values { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .org { grid-template-columns: 1fr; } }

/* Lavora con noi */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 3vw, 40px); margin-bottom: 40px; }
.why .tz-icon { color: var(--red); width: 32px; height: 32px; margin-bottom: 16px; }
.why h3 { font-size: 1.15rem; }
.why p { color: var(--muted); font-size: .98rem; margin: 0; }
@media (max-width: 900px) { .why { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .why { grid-template-columns: 1fr; } }
.jobs { border-top: 2px solid var(--navy); }
.job { border-bottom: 1px solid var(--steel-2); background: #fff; }
.job summary { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; padding: 22px 64px 22px 24px; cursor: pointer; list-style: none; position: relative; }
.job summary::-webkit-details-marker { display: none; }
.job summary::after { content: ""; position: absolute; right: 26px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 2px solid var(--red); border-bottom: 2px solid var(--red); transform: rotate(45deg); transition: transform .2s var(--ease); }
.job[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.job-title { font-family: var(--f-display); font-weight: 720; font-stretch: 106%; font-size: 1.25rem; }
.job-meta { color: var(--muted); font-size: .95rem; }
.job-body { padding: 0 24px 24px; }

/* ---------- Moduli ---------- */
.form-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
@media (max-width: 900px) { .form-section { grid-template-columns: 1fr; } }
.tz-form { display: grid; gap: 18px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .grid-2 { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; }
.field label span[aria-hidden] { color: var(--red); }
.field input[type=text], .field input[type=email], .field input[type=tel], .field select, .field textarea {
	width: 100%; min-height: 52px; padding: 12px 14px; font: inherit; color: var(--ink);
	background: #fff; border: 1px solid #9AA6B8; border-radius: 0; appearance: none;
	transition: border-color .2s, box-shadow .2s;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%), linear-gradient(135deg, var(--navy) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(2, 28, 67, .18); }
.field.check { display: flex; gap: 12px; align-items: flex-start; }
.field.check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--red); flex: none; }
.field.check label { font-weight: 400; margin: 0; }
.field.file label { display: flex; align-items: center; gap: 14px; padding: 20px; border: 2px dashed #9AA6B8; cursor: pointer; font-weight: 500; transition: border-color .2s, background-color .2s; }
.field.file label .tz-icon { color: var(--red); }
.field.file label:hover { border-color: var(--navy); background: var(--steel); }
.field.file input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.field.file input:focus-visible + .file-name, .field.file:focus-within label { outline: 3px solid var(--red); outline-offset: 2px; }
.file-name { display: block; margin-top: 8px; font-weight: 600; font-size: .95rem; }
.form-foot { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin: 6px 0 0; }
.form-foot small { color: var(--muted); }
.hp { position: absolute; left: -9999px; }
.form-notice { display: flex; gap: 12px; padding: 18px 20px; margin-bottom: 24px; font-weight: 500; }
.form-notice p { margin: 0; }
.form-notice.is-ok { background: #E6F4EC; border-left: 4px solid #1F9D55; }
.form-notice.is-ok .tz-icon { color: #1F9D55; }
.form-notice.is-err { background: #FCE8EA; border-left: 4px solid var(--red); }

/* Contatti */
.contact-grid { display: grid; grid-template-columns: 380px 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.contact-card { background: var(--navy); color: #fff; padding: 36px 32px; clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%); }
.contact-card a:not(.btn) { color: #fff; }
.contact-list li { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--navy-line); }
.contact-list .tz-icon { color: var(--red); margin-top: 2px; }
.contact-list strong { font-weight: 600; color: var(--muted-on-navy); font-size: .9rem; }
.contact-card .btn-wa { margin-top: 24px; }
.contact-follow { margin: 28px 0 10px; color: var(--muted-on-navy); font-size: .9rem; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Contenuti dell'editor ---------- */
.prose { max-width: 760px; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-top: 1.6em; }
.prose h3 { font-size: 1.3rem; margin-top: 1.4em; }
.prose ul { list-style: disc; padding-left: 1.3em; }
.prose ol { list-style: decimal; padding-left: 1.3em; }
.prose li + li { margin-top: .35em; }
.prose a { color: var(--red); }
.prose img { height: auto; }
.prose .wp-block-gallery, .prose .wp-block-image.alignwide, .prose .wp-block-video, .prose .wp-block-embed, .prose .alignwide { max-width: none; width: min(100%, 100%); }
.project-content .wp-block-gallery { margin: 2em 0; }
.prose .wp-block-gallery.has-nested-images figure.wp-block-image img { aspect-ratio: 4 / 3; object-fit: cover; }
.prose figcaption { font-size: .9rem; color: var(--muted); }
.prose video { width: 100%; }
.legal-note { background: #FFF6DB; border-left: 4px solid #E0A800; padding: 14px 18px; }
.post-list { display: grid; gap: 40px; max-width: 760px; }
.post-date { color: var(--muted); font-size: .92rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: var(--muted-on-navy); padding: clamp(56px, 7vw, 88px) 0 0; font-size: .97rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-brand p { margin-top: 20px; max-width: 36ch; }
.footer-h { font-family: var(--f-body); font-stretch: 100%; font-size: .9rem; font-weight: 600; color: #fff; margin-bottom: 14px; letter-spacing: 0; }
.footer-contacts li { display: flex; align-items: center; gap: 10px; padding: 4px 0; }
.footer-contacts .tz-icon { width: 18px; height: 18px; color: var(--red); }
.footer-menu li { padding: 4px 0; }
.footer-menu { display: block; }
.footer-menu.nav-list, .site-footer .nav-list { display: block; }
.site-footer .nav-list a { padding: 4px 0; font-size: .97rem; }
.site-footer .nav-list a::after { display: none; }
.socials { display: flex; gap: 8px; margin-top: 20px; }
.socials a { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--navy-line); transition: background-color .2s, border-color .2s; }
.socials a:hover { background: var(--red); border-color: var(--red); }
.socials .tz-icon { width: 20px; height: 20px; }
.footer-legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; padding-top: 22px; padding-bottom: 22px; border-top: 1px solid var(--navy-line); font-size: .88rem; }
.footer-legal p { margin: 0; }
.footer-legal ul { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-legal button { color: #fff; font-size: .88rem; text-decoration: none; }
.footer-legal button:hover { text-decoration: underline; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- WhatsApp ---------- */
.wa-float {
	position: fixed; right: 20px; bottom: 20px; z-index: 90; display: flex; align-items: center; gap: 10px;
	height: 56px; padding: 0 16px; background: #1F9D55; color: #fff; text-decoration: none; font-weight: 600;
	box-shadow: 0 8px 24px rgba(1, 19, 49, .3); border-radius: 28px; transition: background-color .2s;
}
.wa-float .tz-icon { width: 26px; height: 26px; }
.wa-float span { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .35s var(--ease); }
.wa-float:hover, .wa-float:focus-visible { color: #fff; background: #17824A; }
.wa-float:hover span, .wa-float:focus-visible span { max-width: 240px; }
.cookie-open .wa-float { bottom: 140px; }

/* ---------- Banner cookie ---------- */
.cookie-bar {
	position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 150; max-width: 760px; margin: 0 auto;
	display: grid; grid-template-columns: 1fr auto; gap: 16px 24px; align-items: center;
	padding: 20px 22px; background: #fff; color: var(--ink); border-top: 4px solid var(--red);
	box-shadow: 0 18px 50px rgba(1, 19, 49, .35); font-size: .93rem;
}
.cookie-bar[hidden] { display: none; }
.cookie-title { font-family: var(--f-display); font-weight: 700; font-stretch: 106%; font-size: 1.05rem; margin-bottom: 4px !important; }
.cookie-close { position: absolute; top: 6px; right: 6px; width: 40px; height: 40px; border: 0; background: transparent; color: var(--navy); font-size: 1.6rem; line-height: 1; }
.cookie-close:hover { color: var(--red); }
.cookie-bar { padding-right: 52px; }
.cookie-bar p { margin: 0; }
.cookie-bar a { color: var(--navy); font-weight: 600; }
/* Pagine legali */
.legal-owner { padding: 18px 20px; background: var(--steel); border-left: 4px solid var(--red); }
.prose .legal-table { margin: 1.4em 0; overflow-x: auto; }
.prose .legal-table table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.prose .legal-table th, .prose .legal-table td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--steel-2); }
.prose .legal-table th { background: var(--navy); color: #fff; font-weight: 600; }
.prose .legal-table code { font-size: .88em; background: var(--steel); padding: 1px 5px; overflow-wrap: anywhere; }
.prose h3 { font-size: 1.15rem; }
.cookie-actions { display: flex; gap: 10px; }
.cookie-actions .btn { justify-content: center; }
@media (max-width: 700px) { .cookie-bar { grid-template-columns: 1fr; left: 10px; right: 10px; bottom: 10px; } .cookie-actions .btn { flex: 1; } }

/* ---------- Movimento ridotto ---------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
	.hero-video { display: none; }
}

/* ---------- Stampa ---------- */
@media print {
	.site-header, .wa-float, .cookie-bar, .cta-band, .site-footer { display: none; }
	.page-hero { color: var(--ink); background: none; padding-top: 0; }
}

/* ---------- Galleria "Dai nostri cantieri" ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(200px, 22vw, 300px); gap: 12px; }
.gallery-item.is-large { grid-column: span 2; grid-row: span 2; }
.gallery-open { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: var(--navy); overflow: hidden; cursor: zoom-in; text-align: left; }
.gallery-item.is-large .gallery-open { clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%); }
.gallery-open img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery-open::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(1, 19, 49, .85) 0%, rgba(1, 19, 49, 0) 45%); }
.gallery-cap { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; color: #fff; font-weight: 500; font-size: .95rem; line-height: 1.35; }
.gallery-item.is-large .gallery-cap { font-family: var(--f-display); font-stretch: 106%; font-weight: 700; font-size: clamp(1.1rem, 1.8vw, 1.45rem); left: 24px; bottom: 22px; max-width: 28ch; }
.gallery-open:hover img, .gallery-open:focus-visible img { transform: scale(1.04); }
.gallery-open:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
@media (max-width: 860px) {
	.gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
	.gallery-item.is-large { grid-column: span 2; grid-row: span 2; }
}
@media (max-width: 520px) {
	.gallery-grid { grid-auto-rows: 180px; gap: 8px; }
	.gallery-cap { left: 12px; right: 12px; bottom: 10px; font-size: .85rem; }
}

/* Ingrandimento */
.lightbox { width: min(1100px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 0; background: transparent; color: #fff; overflow: visible; }
.lightbox::backdrop { background: rgba(1, 19, 49, .92); }
.lightbox figure { margin: 0; }
.lightbox img { width: 100%; max-height: calc(100vh - 120px); object-fit: contain; background: var(--navy-deep); }
.lightbox figcaption { padding: 14px 4px 0; font-size: 1rem; }
.lb-btn { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border: 0; background: #fff; color: var(--navy); }
.lb-btn:hover { background: var(--red); color: #fff; }
.lb-close { top: -12px; right: -12px; font-size: 1.8rem; line-height: 1; background: var(--red); color: #fff; }
.lb-prev { left: 12px; top: calc(50% - 40px); }
.lb-next { right: 12px; top: calc(50% - 40px); }
body.lb-open { overflow: hidden; }
@media (max-width: 600px) { .lb-close { top: -56px; right: 0; } }

/* Riquadro mappa: descrizione breve, foto facoltativa */
.map-card-text { margin: 10px 24px 0; font-size: .95rem; color: #D3DBE8; }
.map-card-body.no-img { padding-top: 6px; }
@media (max-width: 960px) {
	.map-card-text { margin-left: 0; margin-bottom: 18px; }
	.map-card-body.no-img { grid-template-columns: 1fr; padding: 4px 20px 0; }
}
@media (max-width: 560px) { .map-card-text { margin-left: 18px; margin-right: 18px; } }

/* Settori: elenco cantieri senza link */
.mini-projects li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--steel-2); font-weight: 500; }
.mini-projects li span { color: var(--muted); font-weight: 400; font-size: .92rem; white-space: nowrap; }

/* Testate con foto: velatura più decisa sulle foto chiare dei capannoni */
.page-hero.has-img .page-hero-media::after { background: linear-gradient(90deg, rgba(1, 19, 49, .94) 0%, rgba(1, 19, 49, .72) 60%, rgba(1, 19, 49, .55) 100%); }
.page-hero-media img { object-position: center 40%; }
.field-note { display: block; margin-top: 6px; color: var(--muted); font-size: .88rem; }
.prose .legal-table td:first-child { min-width: 9.5em; }
