:root {
  --bg: #07090a;
  --bg-soft: #0d1011;
  --surface: #111516;
  --surface-2: #171b1c;
  --gold: #c9a84f;
  --gold-light: #f0d78f;
  --ivory: #f3efe6;
  --ink: #171817;
  --text: #f6f3ec;
  --muted: #b7b5ad;
  --line: rgba(201, 168, 79, .30);
  --white-line: rgba(255, 255, 255, .10);
  --shadow: 0 24px 70px rgba(0, 0, 0, .34);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: .12;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.08'/%3E%3C/svg%3E");
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 4px; }
::selection { color: #080909; background: var(--gold-light); }

.wrap { width: min(1240px, 90vw); margin-inline: auto; }
.eyebrow {
  margin: 0 0 12px;
  color: var(--gold-light);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .24em;
  line-height: 1.4;
  text-transform: uppercase;
}
h1, h2, .display {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: .98;
}
h3 { line-height: 1.18; }
p { margin-block: 0 1.1em; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  height: 88px;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 12px 3.5vw;
  background: rgba(5, 7, 8, .94);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  backdrop-filter: blur(18px);
}
.brand {
  flex: 0 0 auto;
  width: 220px;
  padding: 2px 0;
}
.brand img { width: auto; max-width: 100%; height: 64px; object-fit: contain; object-position: left center; image-rendering: auto; }
.site-header .brand img { filter: none; }
.nav { display: flex; align-items: center; gap: clamp(12px, 1.45vw, 24px); margin-left: auto; }
.nav a {
  position: relative;
  padding: 11px 0;
  color: #deddd8;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .055em;
  white-space: nowrap;
}
.nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s ease;
}
.nav a:hover, .nav .active { color: var(--gold-light); }
.nav a:hover::after, .nav .active::after { transform: scaleX(1); transform-origin: left; }
.header-cta, .btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 19px;
  color: var(--text);
  border: 1px solid var(--gold);
  background: transparent;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
  transition: color .2s, background .2s, transform .2s;
}
.header-cta:hover, .btn:hover { transform: translateY(-2px); }
.btn-gold, .header-cta:hover { color: #090a0a; background: var(--gold); }
.btn-outline:hover { color: #090a0a; background: var(--gold-light); }
.menu-toggle {
  display: none;
  margin-left: auto;
  padding: 10px 0;
  color: var(--gold-light);
  border: 0;
  background: none;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.hero {
  position: relative;
  min-height: calc(100svh - 88px);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; background: url("assets/generated/home-hero-clean.png") center center / cover no-repeat; transform: scale(1.005); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .88) 0%, rgba(0, 0, 0, .56) 48%, rgba(0, 0, 0, .20) 75%, rgba(0, 0, 0, .56) 100%); }
.hero-content { position: relative; z-index: 2; width: min(830px, 88vw); margin-left: 5vw; padding-block: 80px; }
.hero h1 { margin: 16px 0 24px; font-size: clamp(3.75rem, 7.7vw, 7.75rem); }
.hero h1 em { color: var(--gold-light); font-style: normal; }
.lead { max-width: 690px; color: #e2dfd7; font-size: clamp(1rem, 1.3vw, 1.18rem); }
.hero-actions { display: flex; align-items: center; gap: 22px; margin-top: 32px; }
.video-link { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.hero-note {
  position: absolute;
  right: 4vw;
  bottom: 7vh;
  z-index: 2;
  padding: 18px 0 18px 22px;
  color: #efede6;
  border-left: 1px solid var(--gold);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  line-height: 1.75;
  text-transform: uppercase;
}
.new-sites-showcase { position: absolute; right: 4vw; top: 5vh; z-index: 3; width: min(370px, 36vw); padding: 12px; background: rgba(5, 7, 8, .84); border: 1px solid rgba(201, 168, 79, .55); box-shadow: 0 20px 55px rgba(0,0,0,.38); backdrop-filter: blur(10px); }
.new-sites-heading { display: flex; align-items: center; gap: 12px; padding: 4px 5px 12px; }
.new-sites-heading span { padding: 4px 7px; color: #fff; background: #b20f19; font-size: .64rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.new-sites-heading strong { font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; }
.new-sites-slides { position: relative; height: 145px; overflow: hidden; }
.new-site-slide { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 18px; opacity: 0; background-position: center; background-size: cover; animation: new-site-rotation 12s infinite; }
.new-site-slide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.88)); }
.new-site-slide span, .new-site-slide small, .new-site-slide em { position: relative; z-index: 1; }
.new-site-slide span { color: #fff; font-family: Georgia, serif; font-size: 1.65rem; }
.new-site-slide small { margin-top: 2px; color: var(--gold-light); font-size: .75rem; font-weight: 700; letter-spacing: .04em; }
.new-site-slide em { margin-top: 4px; color: #f2efe8; font-size: .62rem; font-style: normal; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.slide-monterosa { background-image: url("assets/media/2025/03/A1-3-1024x576.png"); }
.slide-balatelle { background-image: url("assets/cantieri/balatelle-veduta-serale.png"); animation-delay: 4s; }
.slide-valverde { background-image: url("assets/cantieri/valverde-centro.png"); animation-delay: 8s; }
@keyframes new-site-rotation { 0%, 30% { opacity: 1; } 33%, 100% { opacity: 0; } }

.features { display: grid; grid-template-columns: repeat(6, 1fr); background: #0d1011; border-block: 1px solid var(--white-line); }
.features article { min-height: 138px; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 22px 12px; text-align: center; border-right: 1px solid var(--white-line); }
.feature-mark { color: var(--gold-light); font-family: Georgia, serif; font-size: 1.6rem; line-height: 1; }
.features strong { margin-top: 9px; font-size: .94rem; }
.features small { margin-top: 3px; color: var(--muted); font-size: .72rem; }

.section { padding: 104px 0; }
.section-dark { background: var(--bg); }
.section-warm { background: #12110f; }
.section-head { display: grid; grid-template-columns: 1.08fr .92fr; gap: 80px; align-items: end; margin-bottom: 52px; }
.section-head h2, .band h2, .partners h2 { margin: 8px 0; font-size: clamp(2.8rem, 5.2vw, 5rem); }
.section-head > p, .section-head > div > p { color: var(--muted); }
.text-link { color: var(--gold-light); font-size: .74rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--white-line); border: 1px solid var(--white-line); }
.process article { min-height: 230px; padding: 32px; background: #0b0e0f; }
.process h3 { margin: 14px 0 10px; font-family: Georgia, serif; font-size: 1.65rem; font-weight: 400; }
.process p { color: var(--muted); }

.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.project-grid.all-projects { grid-template-columns: repeat(2, 1fr); }
.project-card { overflow: hidden; background: #0b0e0f; border: 1px solid var(--white-line); box-shadow: var(--shadow); }
.project-image { position: relative; display: block; overflow: hidden; }
.sold-out-badge { position: absolute; top: 18px; right: -38px; z-index: 2; width: 170px; padding: 9px 0; color: #fff; background: #bd111d; box-shadow: 0 7px 18px rgba(0,0,0,.35); font-size: .78rem; font-weight: 900; letter-spacing: .13em; text-align: center; transform: rotate(38deg); }
.sold-out-page { padding: 15px 5vw; color: #fff; background: #b20f19; font-size: clamp(1.15rem, 2vw, 1.55rem); font-weight: 900; letter-spacing: .18em; text-align: center; }
.project-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .6s ease; }
.project-card:hover img { transform: scale(1.04); }
.card-copy { padding: 25px; }
.card-copy h3 { margin: 15px 0 8px; font-family: Georgia, serif; font-size: clamp(1.7rem, 2.4vw, 2.25rem); font-weight: 400; }
.project-location { display: inline; color: var(--muted); font-family: inherit; font-size: .48em; font-weight: 400; line-height: 1.25; }
.card-copy p { color: var(--muted); }
.card-copy > a { color: var(--gold-light); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.tag { display: inline-flex; padding: 5px 9px; color: var(--gold-light); border: 1px solid var(--line); font-size: .65rem; font-weight: 800; letter-spacing: .10em; text-transform: uppercase; }

.tech-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tech-card { position: relative; min-height: 360px; overflow: hidden; border: 1px solid var(--white-line); background: linear-gradient(180deg, rgba(0, 0, 0, .10), rgba(0, 0, 0, .94)), var(--img) center / cover; }
.tech-card-contain { background-color: #e9e8e3; background-size: cover, contain; background-repeat: no-repeat; }
.tech-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, transparent 40%, rgba(201, 168, 79, .12)); }
.tech-card > div { position: absolute; z-index: 1; right: 0; bottom: 0; left: 0; padding: 28px; }
.tech-card h3 { margin: 0 0 8px; font-family: Georgia, serif; font-size: 2rem; font-weight: 400; }
.tech-card p { color: #e1ded6; }
.tech-card a { color: var(--gold-light); font-size: .71rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.home-tech .tech-card:nth-child(n+7) { min-height: 300px; }

.partners { background: var(--ivory); color: var(--ink); }
.partners .eyebrow { color: #806720; }
.partner-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-top: 44px; }
.partner-grid > div { min-height: 145px; display: grid; place-items: center; padding: 24px; background: white; border: 1px solid #ddd4c4; }
.partner-grid img { width: auto; max-width: 100%; height: auto; max-height: 82px; object-fit: contain; image-rendering: auto; }

.band { padding: 95px 0; background: linear-gradient(90deg, rgba(0, 0, 0, .84), rgba(0, 0, 0, .42)), url("assets/generated/home-hero-clean.png") center / cover; }
.band .wrap { display: flex; justify-content: space-between; align-items: end; gap: 32px; }

.page-hero {
  position: relative;
  min-height: 58vh;
  display: flex;
  align-items: end;
  padding: 110px 0 76px;
  background: linear-gradient(90deg, rgba(0, 0, 0, .88), rgba(0, 0, 0, .30)), var(--page-bg, url("assets/generated/home-hero-clean.png")) center / cover;
}
.page-hero::after { content: ""; position: absolute; right: 0; bottom: 0; left: 0; height: 45%; background: linear-gradient(transparent, rgba(7, 9, 10, .74)); }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { max-width: 1050px; margin: 10px 0 16px; font-size: clamp(3.4rem, 7.2vw, 6.7rem); }
.page-hero p:last-child { max-width: 760px; margin: 0; color: #e4e1da; font-size: 1.1rem; }

.content { padding: 90px 0 110px; }
.content h2 { font-size: clamp(2.45rem, 4.5vw, 4.2rem); }
.content h3 { font-family: Georgia, serif; font-size: clamp(1.65rem, 2.7vw, 2.45rem); font-weight: 400; }
.content p, .content li { color: #cbc8c0; }
.article-wide { max-width: 1120px; }
.legacy-content > :first-child { margin-top: 0; }
.legacy-content h2, .legacy-content h3, .legacy-content h4 { scroll-margin-top: 110px; }
.legacy-content h2 { margin: 70px 0 24px; }
.legacy-content h3 { margin: 52px 0 18px; }
.legacy-content h4 { color: var(--gold-light); font-size: 1.15rem; }
.legacy-content a { color: var(--gold-light); text-decoration: underline; text-decoration-color: rgba(240, 215, 143, .35); text-underline-offset: 3px; }
.legacy-content ul, .legacy-content ol { padding-left: 24px; }
.legacy-content li { margin-block: 7px; }
.legacy-content blockquote, .quote { margin: 40px 0; padding: 23px 28px; border-left: 2px solid var(--gold); background: rgba(255, 255, 255, .035); font-family: Georgia, serif; font-size: 1.45rem; }
.legacy-content figure { margin: 26px 0; }
.legacy-content figure img, .legacy-content > p > img { width: 100%; height: auto; border: 1px solid var(--white-line); background: #111; }
.legacy-content figcaption { margin-top: 8px; color: #8e8d87; font-size: .75rem; text-align: center; }
.legacy-content iframe { width: 100%; min-height: 460px; border: 0; filter: grayscale(.15) contrast(.96); }
.legacy-content .wp-block-columns { display: grid !important; grid-template-columns: minmax(0, .9fr) minmax(0, 1.6fr); gap: clamp(30px, 5vw, 72px); align-items: start; }
.legacy-content .wp-block-columns .wp-block-columns { grid-template-columns: 1fr; gap: 20px; }
.legacy-content .wp-block-gallery { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.legacy-content .wp-block-gallery.columns-1 { grid-template-columns: 1fr; }
.legacy-content .wp-block-gallery figure { width: auto !important; margin: 0 !important; }
.legacy-content .wp-block-gallery img { width: 100%; height: 100%; min-height: 260px; max-height: 620px; object-fit: cover; cursor: zoom-in; }
.legacy-content .wp-block-spacer { height: 48px !important; }
.legacy-content hr { margin: 58px 0; border: 0; border-top: 1px solid var(--line); }
.legacy-content table { width: 100%; border-collapse: collapse; }
.legacy-content th, .legacy-content td { padding: 12px; border: 1px solid var(--white-line); text-align: left; }
.legacy-content .has-text-align-center { text-align: center; }
.legacy-content .alignwide { width: 100%; }

.about-brand-mark { width: min(760px, 100%); margin: 0 auto 64px !important; padding: clamp(24px, 5vw, 52px); background: #050707; border: 1px solid rgba(201, 168, 79, .28); box-shadow: var(--shadow); }
.legacy-content .about-brand-mark img { width: 100%; height: auto; border: 0; background: transparent; image-rendering: auto; }

.mission-opening { padding: clamp(85px, 10vw, 140px) 0; }
.mission-thesis { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(42px, 8vw, 110px); align-items: start; }
.mission-thesis .eyebrow { grid-column: 1 / -1; margin-bottom: -18px; }
.mission-thesis h2 { margin: 0; font-size: clamp(3rem, 6vw, 6.2rem); }
.mission-thesis > p:last-child { margin: 4px 0 0; color: #d0cdc5; font-size: clamp(1.08rem, 1.6vw, 1.3rem); line-height: 1.72; }
.mission-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 78px; background: var(--white-line); border: 1px solid var(--white-line); }
.mission-pillars article { min-height: 320px; padding: clamp(28px, 3.2vw, 42px); background: #0b0e0f; }
.mission-pillars span { color: var(--gold-light); font-family: Georgia, serif; font-size: 1.45rem; }
.mission-pillars h3 { margin: 45px 0 14px; font-family: Georgia, serif; font-size: clamp(1.8rem, 2.6vw, 2.45rem); font-weight: 400; }
.mission-pillars p { margin: 0; color: var(--muted); }
.mission-system { padding: clamp(80px, 9vw, 125px) 0; background: var(--surface); border-block: 1px solid var(--white-line); }
.mission-system .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(50px, 9vw, 125px); align-items: start; }
.mission-system h2 { margin: 10px 0 0; font-size: clamp(3rem, 5.5vw, 5.4rem); }
.mission-system .wrap > div:last-child p { color: #cbc8c0; font-size: 1.05rem; }
.mission-system .text-link { display: inline-block; margin-top: 18px; }
.mission-manifesto { padding: clamp(90px, 11vw, 155px) 0; color: var(--ink); background: var(--ivory); text-align: center; }
.mission-manifesto p { margin-bottom: 12px; color: #5a574e; font-size: clamp(1.05rem, 1.8vw, 1.35rem); }
.mission-manifesto h2 { max-width: 1000px; margin: 0 auto 38px; color: var(--ink); font-size: clamp(3.3rem, 7vw, 7rem); }

.project-intro, .tech-intro { padding: 44px 0; background: var(--ivory); color: var(--ink); }
.project-intro .wrap, .tech-intro .wrap { display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.project-intro h2 { margin: 12px 0; color: var(--ink); font-size: 2.7rem; }
.project-intro p, .tech-intro p { max-width: 760px; margin: 0; color: #45443f; font-size: 1.05rem; }
.project-intro .btn, .tech-intro .btn { flex: 0 0 auto; }
.project-highlight { width: min(1160px, 90vw); display: grid; grid-template-columns: .85fr 1.15fr; gap: 46px; margin: 72px auto 0; padding: 42px; background: linear-gradient(135deg, #151713, #090b0c); border: 1px solid var(--line); box-shadow: var(--shadow); }
.project-highlight h2 { margin: 8px 0 12px; color: var(--gold-light); font-size: clamp(2.7rem, 5vw, 4.5rem); }
.project-highlight p { color: var(--muted); }
.project-highlight ul { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; margin: 0; padding-left: 18px; }
.project-highlight li { color: #dedbd3; }
.project-nav { padding: 28px 0; background: var(--surface); border-block: 1px solid var(--white-line); }
.project-nav .wrap { display: flex; justify-content: space-between; gap: 30px; }
.project-nav a { color: var(--gold-light); font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }

.tech-card .tag { margin-bottom: 14px; background: rgba(4, 6, 6, .62); backdrop-filter: blur(8px); }
.tech-card-priority { border-color: rgba(217, 102, 61, .7); box-shadow: inset 0 0 0 1px rgba(217, 102, 61, .18); }
.tech-card-priority::after { content: "Priorità salute"; position: absolute; top: 18px; right: 18px; z-index: 2; padding: 6px 10px; color: #fff4ea; background: #a33a23; font-size: .62rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }

.tech-feature-page .page-hero { min-height: 68vh; }
.tech-feature-page .page-hero h1 { max-width: 930px; }
.knauf-page .page-hero { background-position: center; }
.radon-page .page-hero { background-position: center 52%; }
.radon-page .page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 5, 2, .38), transparent 70%); }

.tech-snapshot { background: #050707; border-block: 1px solid var(--white-line); }
.tech-snapshot .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.tech-snapshot article { min-height: 155px; display: flex; flex-direction: column; justify-content: center; padding: 28px; border-right: 1px solid var(--white-line); }
.tech-snapshot article:first-child { border-left: 1px solid var(--white-line); }
.tech-snapshot strong { color: var(--gold-light); font-family: Georgia, serif; font-size: clamp(2rem, 3.4vw, 3.2rem); font-weight: 400; line-height: 1; }
.tech-snapshot span { margin-top: 10px; color: var(--muted); font-size: .76rem; letter-spacing: .04em; }

.editorial-section { padding: 105px 0; }
.editorial-section-alt { background: var(--surface); border-block: 1px solid var(--white-line); }
.split-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(420px, .92fr); gap: clamp(45px, 7vw, 95px); align-items: start; }
.split-layout-figure-first { grid-template-columns: minmax(360px, .72fr) minmax(0, 1.28fr); }
.editorial-copy > h2, .risk-lead h2, .source-panel h2 { margin: 12px 0 28px; font-size: clamp(2.8rem, 5vw, 5rem); }
.editorial-copy > p { color: #cecbc3; font-size: 1.04rem; }
.editorial-copy strong { color: var(--gold-light); }
.layer-list { display: grid; gap: 1px; margin-top: 42px; background: var(--white-line); border: 1px solid var(--white-line); }
.layer-list article { display: grid; grid-template-columns: 54px 1fr; gap: 20px; padding: 24px; background: #0b0e0f; }
.layer-list article > span, .benefit-grid article > span, .entry-grid article > span, .protocol-grid article > span { color: var(--gold-light); font-family: Georgia, serif; font-size: 1.25rem; }
.layer-list h3, .benefit-grid h3, .application-grid h3, .entry-grid h3, .protocol-grid h3 { margin: 0 0 8px; font-family: Georgia, serif; font-size: 1.55rem; font-weight: 400; }
.layer-list p, .benefit-grid p, .application-grid p, .entry-grid p, .protocol-grid p { margin: 0; color: var(--muted); }
.technical-figure { margin: 0; overflow: hidden; background: #f4f4f2; border: 1px solid var(--white-line); box-shadow: var(--shadow); }
.technical-figure a { display: block; cursor: zoom-in; }
.technical-figure img { width: 100%; max-height: 790px; object-fit: contain; }
.technical-figure figcaption { padding: 14px 18px; color: #a4a29b; background: #0b0e0f; font-size: .72rem; }
.technical-figure-tall img { max-height: 920px; }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--white-line); border: 1px solid var(--white-line); }
.benefit-grid article { min-height: 255px; padding: 30px; background: #0b0e0f; }
.benefit-grid h3 { margin-top: 28px; font-size: 1.75rem; }
.application-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 38px; }
.application-grid article { min-height: 180px; padding: 24px; background: var(--surface); border: 1px solid var(--white-line); }
.project-note { margin-top: 28px; padding: 26px 28px; border-left: 2px solid var(--gold); background: rgba(201, 168, 79, .075); }
.project-note strong { color: var(--gold-light); font-size: .76rem; letter-spacing: .13em; text-transform: uppercase; }
.project-note p { margin: 8px 0 0; color: #cfccc4; }
.source-panel { padding: 70px 0; color: var(--ink); background: var(--ivory); }
.source-panel .wrap { display: grid; grid-template-columns: 1fr auto; gap: 55px; align-items: center; }
.source-panel h2 { margin: 6px 0 16px; color: var(--ink); font-size: clamp(2.4rem, 4.2vw, 4rem); }
.source-panel p { max-width: 870px; margin: 0; color: #4c4b45; }
.source-panel .eyebrow { color: #806720; }
.source-panel .btn-outline { color: var(--ink); }

.critical-banner { padding: 23px 0; background: #7c2819; border-block: 1px solid rgba(255, 255, 255, .13); }
.critical-banner .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.critical-banner span { color: #fff4e9; font-family: Georgia, serif; font-size: clamp(1.35rem, 2.3vw, 2.15rem); text-align: center; }
.radon-opening { background: radial-gradient(circle at 85% 15%, rgba(163, 58, 35, .12), transparent 38%); }
.radon-figure { border-color: rgba(217, 102, 61, .32); }
.risk-section { padding: 100px 0; background: #140a08; border-block: 1px solid rgba(217, 102, 61, .32); }
.risk-section .wrap { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(50px, 7vw, 105px); align-items: start; }
.risk-lead p { color: #d5c9c3; }
.risk-lead .eyebrow { color: #f19a77; }
.risk-stats { display: grid; gap: 1px; background: rgba(255, 255, 255, .13); border: 1px solid rgba(255, 255, 255, .13); }
.risk-stats article { display: grid; grid-template-columns: 150px 1fr; gap: 28px; align-items: center; min-height: 155px; padding: 26px 30px; background: #1c0e0b; }
.risk-stats strong { color: #ffb493; font-family: Georgia, serif; font-size: clamp(2.5rem, 4.8vw, 4.5rem); font-weight: 400; line-height: 1; }
.risk-stats span { color: #e2d9d4; font-size: .9rem; }
.entry-grid, .protocol-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.entry-grid article, .protocol-grid article { min-height: 230px; padding: 27px; background: #0a0d0e; border: 1px solid var(--white-line); }
.entry-grid h3, .protocol-grid h3 { margin-top: 30px; }
.protocol-grid { grid-template-columns: repeat(3, 1fr); }
.protocol-grid-core article { min-height: 330px; padding: 34px; border-top: 2px solid #bd5938; }
.protocol-grid-core article > span { color: #f19a77; font-size: 2rem; }
.protocol-grid-core h3 { font-size: 1.95rem; }
.verification-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: 18px; background: var(--white-line); border: 1px solid var(--white-line); }
.verification-strip article { padding: 24px 28px; background: var(--surface); }
.verification-strip strong { color: var(--gold-light); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }
.verification-strip p { margin: 7px 0 0; color: var(--muted); }
.radon-gallery { display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; margin-top: 55px; }
.radon-gallery figure { margin: 0; background: #0a0d0e; border: 1px solid var(--white-line); }
.radon-gallery a { display: block; cursor: zoom-in; }
.radon-gallery img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.radon-gallery figure:last-child img { object-fit: contain; background: white; }
.radon-gallery figcaption { padding: 12px 16px; color: var(--muted); font-size: .72rem; }
.radon-note { border-left-color: #d96642; background: rgba(163, 58, 35, .12); }
.radon-note strong { color: #ffb493; }
.radon-sources { background: #efe9de; }
.source-links { display: flex; flex-wrap: wrap; gap: 9px 20px; margin-top: 22px; }
.source-links a { color: #684d14; font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-decoration: underline; text-underline-offset: 4px; }

.media-gallery { columns: 3 300px; column-gap: 14px; }
.media-gallery figure { break-inside: avoid; margin: 0 0 14px; overflow: hidden; background: var(--surface); border: 1px solid var(--white-line); }
.media-gallery img { width: 100%; transition: transform .45s ease; }
.media-gallery a { display: block; cursor: zoom-in; }
.media-gallery a:hover img { transform: scale(1.025); }
.lightbox { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 40px; background: rgba(0, 0, 0, .94); }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(1500px, 94vw); max-height: 90vh; object-fit: contain; }
.lightbox button { position: absolute; top: 18px; right: 22px; width: 48px; height: 48px; color: white; border: 1px solid rgba(255, 255, 255, .35); background: rgba(0, 0, 0, .35); font-size: 2rem; line-height: 1; cursor: pointer; }

.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: start; }
.contact-panel { padding: 40px; background: var(--surface); border: 1px solid var(--white-line); }
.contact-panel h2 { margin-top: 8px; }
.contact-list { display: grid; gap: 1px; margin: 32px 0; background: var(--white-line); }
.contact-list a { display: grid; gap: 3px; padding: 16px; background: #0d1011; }
.contact-list span { color: var(--muted); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.contact-list strong { color: var(--gold-light); font-size: .95rem; overflow-wrap: anywhere; }
.form { display: grid; gap: 17px; }
.form label { display: grid; gap: 7px; color: #d7d4cb; font-size: .78rem; font-weight: 700; letter-spacing: .05em; }
.form input, .form textarea, .form select { width: 100%; padding: 14px 15px; color: white; border: 1px solid rgba(255, 255, 255, .17); border-radius: 0; background: #0c0f10; }
.form textarea { min-height: 170px; resize: vertical; }
.form-note { color: var(--muted); font-size: .76rem; }
.form-status { min-height: 1.5em; margin: -4px 0 0; color: var(--muted); font-size: .82rem; font-weight: 700; }
.form-status[data-state="success"] { color: #9fd5aa; }
.form-status[data-state="error"] { color: #ffb0b0; }
.form .btn:disabled { cursor: wait; opacity: .62; }
.form-trap { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.privacy-check { grid-template-columns: 20px 1fr !important; align-items: start; gap: 10px !important; font-weight: 400 !important; line-height: 1.5; }
.privacy-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--gold); }
.privacy-check a { color: var(--gold-light); text-decoration: underline; }
.map-wrap { width: min(1240px, 90vw); margin: 70px auto 0; }
.map-wrap iframe { width: 100%; min-height: 450px; border: 0; filter: grayscale(.35); }
.external-media-note { display: grid; min-height: 180px; margin: 0; place-items: center; padding: 30px; color: var(--muted); background: #0c0f10; border: 1px solid var(--white-line); text-align: center; }

.client-care { padding: clamp(80px, 10vw, 140px) 0; background: radial-gradient(circle at 15% 20%, rgba(201, 168, 79, .15), transparent 32%), #07090a; border-bottom: 1px solid var(--white-line); }
.client-care .wrap { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(50px, 8vw, 120px); align-items: start; }
.client-care-kicker { position: sticky; top: 125px; padding: 34px; border: 1px solid rgba(201, 168, 79, .38); background: rgba(201, 168, 79, .06); }
.client-care-kicker span { display: block; margin-bottom: 30px; color: var(--gold-light); font-size: .72rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.client-care-kicker strong { color: white; font-family: Georgia, serif; font-size: clamp(2.7rem, 5vw, 5rem); font-weight: 400; line-height: .98; }
.client-care-copy h2 { margin: 10px 0 28px; font-size: clamp(2.8rem, 5vw, 5rem); }
.client-care-copy > p { color: #c7c4bc; font-size: 1.06rem; }
.client-care-copy .client-care-lead { color: white; font-size: clamp(1.2rem, 2vw, 1.55rem); line-height: 1.55; }
.care-steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: 45px; background: var(--white-line); border: 1px solid var(--white-line); }
.care-steps article { min-height: 220px; padding: 28px; background: #0b0e0f; }
.care-steps span { color: var(--gold-light); font-family: Georgia, serif; font-size: 1.3rem; }
.care-steps h3 { margin: 28px 0 8px; font-family: Georgia, serif; font-size: 1.7rem; font-weight: 400; }
.care-steps p { margin: 0; color: var(--muted); }
.care-promise { margin-top: 24px; padding: 28px; border-left: 2px solid var(--gold); background: rgba(201, 168, 79, .08); }
.care-promise strong { color: var(--gold-light); letter-spacing: .12em; text-transform: uppercase; }
.care-promise p { margin: 8px 0 0; color: #d6d2c9; }

.policy-content { max-width: 950px; }
.policy-content h2 { margin: 48px 0 14px; font-size: clamp(2rem, 4vw, 3rem); }
.policy-content p, .policy-content li { color: #cfccc4; }
.policy-content a { color: var(--gold-light); text-decoration: underline; }
.policy-update { color: var(--gold-light) !important; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.policy-table { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin: 30px 0; background: var(--white-line); border: 1px solid var(--white-line); }
.policy-table > div { padding: 26px; background: var(--surface); }
.policy-table strong, .policy-table span { display: block; }
.policy-table strong { color: white; font-family: Georgia, serif; font-size: 1.5rem; }
.policy-table span { margin: 8px 0 14px; color: var(--gold-light); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.inline-cookie-settings, .footer-links .cookie-settings { padding: 0; color: var(--gold-light); border: 0; background: none; font: inherit; cursor: pointer; text-decoration: underline; }
.footer-links .cookie-settings { color: #dbd8d0; font-size: .75rem; text-decoration: none; }
.cookie-banner { position: fixed; z-index: 1200; right: 22px; bottom: 22px; left: 22px; display: grid; grid-template-columns: 1fr auto; gap: 35px; align-items: center; max-width: 1180px; margin: auto; padding: 26px 28px; background: #0a0d0e; border: 1px solid rgba(201, 168, 79, .5); box-shadow: 0 20px 70px rgba(0, 0, 0, .6); }
.cookie-banner[hidden] { display: none; }
.cookie-banner strong { color: white; font-family: Georgia, serif; font-size: 1.35rem; }
.cookie-banner p { margin: 7px 0; color: #c9c6bd; font-size: .88rem; }
.cookie-banner a { color: var(--gold-light); font-size: .78rem; text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; }
.cookie-actions .btn { white-space: nowrap; }

.saving-section { padding: clamp(85px, 10vw, 145px) 0; color: #171713; background: #e9e2d4; }
.saving-section .eyebrow { color: #745e22; }
.saving-head { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(50px, 8vw, 115px); align-items: end; }
.saving-head h2 { margin: 10px 0 0; color: #11130f; font-size: clamp(3.1rem, 6.6vw, 6.9rem); line-height: .92; }
.saving-head h2 strong { color: #80651e; font-weight: 400; }
.saving-head p { color: #4b493f; }
.saving-head .saving-lead { color: #1e201a; font-family: Georgia, serif; font-size: clamp(1.25rem, 2vw, 1.65rem); line-height: 1.5; }
.saving-comparison { display: grid; grid-template-columns: .72fr 1.28fr; gap: 1px; margin-top: 65px; background: rgba(17, 19, 15, .18); border: 1px solid rgba(17, 19, 15, .18); box-shadow: 0 28px 70px rgba(35, 30, 18, .14); }
.saving-total { display: flex; min-height: 410px; padding: 40px; justify-content: center; flex-direction: column; color: white; background: #80651e; }
.saving-total > span { font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.saving-total > strong { margin: 24px 0 8px; font-family: Georgia, serif; font-size: clamp(3.7rem, 7vw, 6.7rem); font-weight: 400; line-height: .95; }
.saving-total p { margin: 0; color: white; font-size: 1.05rem; }
.saving-total small { margin-top: 35px; color: rgba(255, 255, 255, .72); line-height: 1.5; }
.saving-table { display: grid; background: #f5f1e8; }
.saving-row { display: grid; grid-template-columns: 1.05fr .8fr .8fr .8fr; gap: 18px; align-items: center; padding: 18px 24px; border-bottom: 1px solid rgba(17, 19, 15, .14); }
.saving-row:last-child { border-bottom: 0; }
.saving-row > span:nth-last-child(-n+2) { font-family: Georgia, serif; font-size: 1.25rem; text-align: right; }
.saving-row-head { color: #6e6a5e; background: #e3dccd; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.saving-row-head > span:nth-last-child(-n+2) { font-family: inherit; font-size: inherit; }
.saving-row-a4 { color: #564515; background: #eee5cf; }
.saving-row-result { color: white; background: #151711; }
.saving-row-result > span:last-child { color: #efd98e; font-size: 2.2rem; }
.saving-verdict { display: grid; grid-template-columns: auto 1fr; gap: 8px 30px; align-items: center; margin-top: 22px; padding: 24px 28px; color: white; background: #151711; border-left: 5px solid #b5963d; }
.saving-verdict span { grid-row: span 2; color: var(--gold-light); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.saving-verdict strong { font-family: Georgia, serif; font-size: clamp(1.6rem, 3vw, 2.8rem); font-weight: 400; }
.saving-verdict p { margin: 0; color: #bbb8ae; }
.saving-notes { display: grid; grid-template-columns: 1fr auto; gap: 45px; align-items: start; margin-top: 24px; }
.saving-notes p { margin: 0; color: #656155; font-size: .76rem; line-height: 1.65; }
.saving-notes > div { display: flex; gap: 18px; white-space: nowrap; }
.saving-notes a { color: #6e5617; font-size: .72rem; font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }

footer { display: grid; grid-template-columns: 250px 1fr auto; gap: 55px; align-items: center; padding: 54px 4.5vw; background: #040606; border-top: 1px solid var(--white-line); }
.footer-brand { position: relative; width: 220px; }
.footer-brand img { width: 220px; height: auto; filter: none; image-rendering: auto; }
.footer-brand p, .footer-links p, .footer-meta p { margin: 12px 0 0; color: var(--muted); font-size: .75rem; }
.footer-links nav { display: flex; flex-wrap: wrap; gap: 12px 22px; }
.footer-links nav a, .footer-meta > a { color: #dbd8d0; font-size: .75rem; }
.footer-links p a, .footer-meta > a { color: var(--gold-light); }
.footer-meta { text-align: right; }

@media (max-width: 1120px) {
  .nav { display: none; }
  .menu-toggle { display: block; }
  .site-header.open .nav { position: absolute; top: 87px; right: 0; left: 0; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 18px 5vw 28px; background: rgba(5, 7, 8, .98); border-bottom: 1px solid var(--white-line); }
  .site-header.open .nav a { padding: 13px 0; font-size: .9rem; }
  .features { grid-template-columns: repeat(3, 1fr); }
  .project-grid, .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .entry-grid { grid-template-columns: repeat(2, 1fr); }
  .split-layout, .split-layout-figure-first { grid-template-columns: 1fr; }
  .technical-figure-tall { max-width: 720px; }
  .partner-grid { grid-template-columns: repeat(3, 1fr); }
  footer { grid-template-columns: 220px 1fr; }
  .footer-meta { grid-column: 1 / -1; display: flex; justify-content: space-between; text-align: left; }
}

@media (max-width: 780px) {
  .site-header { height: 78px; padding-inline: 5vw; }
  .brand { width: 180px; }
  .brand img { height: 46px; }
  .site-header.open .nav { top: 77px; }
  .hero { min-height: 78svh; }
  .hero-content { margin-inline: 5vw; padding-block: 70px; }
  .hero h1 { font-size: clamp(3.2rem, 15vw, 4.6rem); }
  .hero-note { display: none; }
  .new-sites-showcase { right: 5vw; top: auto; bottom: 22px; width: 90vw; padding: 9px; }
  .new-sites-heading { padding-bottom: 8px; }
  .new-sites-slides { height: 108px; }
  .new-site-slide { padding: 12px 14px; }
  .new-site-slide span { font-size: 1.35rem; }
  .hero-content { padding-bottom: 230px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 72px 0; }
  .section-head { grid-template-columns: 1fr; gap: 22px; }
  .process, .project-grid, .project-grid.all-projects, .tech-grid { grid-template-columns: 1fr; }
  .tech-card { min-height: 330px; }
  .page-hero { min-height: 49vh; padding-bottom: 54px; }
  .page-hero h1 { font-size: clamp(3rem, 14vw, 4.2rem); }
  .content { padding: 66px 0 80px; }
  .legacy-content .wp-block-columns { grid-template-columns: 1fr; }
  .legacy-content .wp-block-gallery { grid-template-columns: 1fr; }
  .legacy-content .wp-block-gallery img { min-height: 0; max-height: none; }
  .project-intro .wrap, .tech-intro .wrap, .band .wrap { align-items: flex-start; flex-direction: column; }
  .tech-snapshot .wrap { grid-template-columns: repeat(2, 1fr); }
  .tech-snapshot article:nth-child(3) { border-left: 1px solid var(--white-line); }
  .editorial-section, .risk-section { padding: 72px 0; }
  .benefit-grid, .application-grid, .entry-grid, .protocol-grid, .verification-strip, .radon-gallery { grid-template-columns: 1fr; }
  .critical-banner .wrap { grid-template-columns: repeat(2, 1fr); }
  .risk-section .wrap { grid-template-columns: 1fr; }
  .risk-stats article { grid-template-columns: 105px 1fr; padding: 22px; }
  .source-panel .wrap { grid-template-columns: 1fr; }
  .mission-thesis, .mission-system .wrap { grid-template-columns: 1fr; }
  .mission-thesis .eyebrow { margin-bottom: 0; }
  .mission-pillars { grid-template-columns: 1fr; margin-top: 52px; }
  .mission-pillars article { min-height: 0; }
  .project-highlight { grid-template-columns: 1fr; gap: 25px; margin-top: 45px; padding: 28px; }
  .project-highlight ul { grid-template-columns: 1fr; }
  .project-nav .wrap { flex-direction: column; }
  .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 42px; }
  .client-care .wrap { grid-template-columns: 1fr; }
  .saving-head, .saving-comparison, .saving-notes { grid-template-columns: 1fr; }
  .saving-row { grid-template-columns: 1fr; gap: 6px; }
  .saving-row-head { display: none; }
  .saving-row > span:last-child { text-align: left; }
  .saving-row > span:nth-last-child(-n+2) { text-align: left; }
  .saving-verdict { grid-template-columns: 1fr; }
  .saving-notes > div { flex-direction: column; white-space: normal; }
  .client-care-kicker { position: static; }
  .care-steps, .policy-table { grid-template-columns: 1fr; }
  .cookie-banner { right: 10px; bottom: 10px; left: 10px; grid-template-columns: 1fr; gap: 18px; padding: 20px; }
  .cookie-actions { align-items: stretch; flex-direction: column; }
  .contact-panel { padding: 28px; }
  footer { grid-template-columns: 1fr; text-align: left; }
  .footer-meta { grid-column: auto; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Crisp vector branding and accessible social links. */
.social-links { display: flex; flex-wrap: wrap; gap: 12px; }
.social-links a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--gold-light); font-size: .875rem; }
.social-links svg { width: 23px; height: 23px; flex: none; }
.social-links a:hover { color: white; }
.brand img, .footer-brand img, .about-brand-mark img { filter: none; image-rendering: auto; }

.climatizzazione-page .page-hero { background-color: #e9e8e3; background-size: cover, contain; background-repeat: no-repeat; }

.new-project-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 32px 0; }
.new-project-gallery figure { margin: 0; }
.new-project-gallery figure:first-child { grid-column: 1 / -1; }
.new-project-gallery a { display: block; cursor: zoom-in; }
.new-project-gallery img { display: block; width: 100%; height: auto; }
.new-project-gallery figcaption { padding: 12px 0; font-size: .875rem; color: var(--muted); }
@media (max-width: 700px) { .new-project-gallery { grid-template-columns: 1fr; } }

/* Explicit cost labels keep each mobile comparison self-contained. */
.saving-mobile-label { display: none; }
@media (max-width: 780px) {
  .saving-total { min-height: 0; padding: 28px 22px; }
  .saving-total > strong { font-size: clamp(2.75rem, 12vw, 4rem); line-height: 1.1; }
  .saving-total > span { font-size: .875rem; }
  .saving-total small { margin-top: 20px; font-size: .875rem; }
  .saving-row { padding: 24px 20px; gap: 0; }
  .saving-row > strong { font-size: 1.15rem; margin-bottom: 12px; }
  .saving-row:not(.saving-row-head) > span { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 0; font-family: inherit; font-size: 1rem; text-align: right; }
  .saving-mobile-label { display: block; max-width: 60%; font-family: inherit; font-size: .875rem; line-height: 1.45; text-align: left; }
  .saving-row .saving-value { font-family: Georgia, serif; font-size: 1.25rem; white-space: nowrap; text-align: right; }
  .saving-row > span:last-child { border-top: 1px solid currentColor; margin-top: 6px; padding-top: 14px; }
  .saving-row-result > span:last-child { font-size: 1rem; }
  .saving-row-result > span:last-child .saving-value { font-size: 1.5rem; }
}

/* Appointment access stays visible beside navigation at every screen size. */
.header-cta { flex: 0 0 auto; max-width: 210px; font-size: .875rem; letter-spacing: .025em; background: var(--gold); color: #090a0a; }
.header-cta:focus-visible, .menu-toggle:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 4px; }
#contact-form { scroll-margin-top: 110px; }
@media (max-width: 1320px) {
  .site-header .nav { display: none; }
  .menu-toggle { display: block; min-height: 44px; font-size: .875rem; letter-spacing: .04em; }
  .site-header.open .nav { position: absolute; top: 100%; right: 0; left: 0; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 18px 5vw 28px; background: rgba(5, 7, 8, .98); border-bottom: 1px solid var(--white-line); max-height: calc(100svh - 88px); overflow-y: auto; }
  .site-header.open .nav a { padding: 13px 0; font-size: .9rem; }
}
@media (max-width: 600px) {
  .site-header { gap: 10px; padding-inline: 12px; height: auto; min-height: 78px; }
  .site-header .brand { flex: 1 1 110px; width: auto; min-width: 0; max-width: 160px; }
  .site-header .brand img { width: 100%; height: auto; }
  .menu-toggle { flex: 0 0 auto; }
  .header-cta { flex: 0 1 148px; min-width: 0; padding: 10px 8px; font-size: .875rem; line-height: 1.3; letter-spacing: 0; text-transform: none; }
}

/* Disponibilità nelle anteprime dei cantieri. */
.tag.for-sale { color: #15803d; font-weight: 800; }
.new-site-slide em.for-sale { color: #86efac; }

/* Corner ribbons share the SOLD OUT geometry across project previews. */
.sold-out-badge.for-sale { background: #15803d; }
.sold-out-badge.coming-soon { background: #1d4ed8; }
.new-site-slide em.sold-out-badge { position: absolute; top: 18px; right: -38px; z-index: 2; width: 170px; padding: 9px 0; margin: 0; color: #fff; font-size: .78rem; font-weight: 900; letter-spacing: .13em; text-align: center; transform: rotate(38deg); }
