: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; visibility: hidden; 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, .new-site-slide .new-site-delivery { 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 .new-site-delivery { margin-top: 4px; color: #fff; font-size: .7rem; font-weight: 800; letter-spacing: .08em; }
.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/cantieri/previews/via-monte-rosa.png"); background-size: contain; background-repeat: no-repeat; background-color: #0b0e0f; }
.slide-balatelle { background-image: url("assets/cantieri/balatelle/fotoinserimento-serale.webp"); background-size: contain; background-repeat: no-repeat; background-color: #0b0e0f; animation-delay: 4s; }
.slide-valverde { background-image: url("assets/cantieri/valverde/render-v2-vista-2-giorno.webp"); background-size: contain; background-repeat: no-repeat; background-color: #0b0e0f; animation-delay: 8s; }
@keyframes new-site-rotation { 0%, 30% { opacity: 1; visibility: visible; } 33%, 100% { opacity: 0; visibility: hidden; } }

.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); }
.project-card .project-image.project-preview-complete { background: #0b0e0f; }
.project-card .project-preview-complete img { object-fit: contain; }
.project-card:hover .project-preview-complete img { transform: none; }
.project-card .project-image.project-preview-complete .project-progress-photo { position: absolute; right: 3%; bottom: 3%; z-index: 1; box-sizing: border-box; width: 48%; height: 45%; aspect-ratio: auto; object-fit: cover; object-position: center 42%; border: 2px solid #fff; box-shadow: 0 6px 18px rgba(0,0,0,.6); }
.valverde-preview-card .project-image { background: #0b0e0f; }
.valverde-preview-card img { object-fit: contain; }
.valverde-preview-card:hover img { transform: none; }
.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 .project-delivery { margin: 8px 0 12px; color: var(--gold-light); font-size: .8rem; font-weight: 800; letter-spacing: .08em; }
.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); }
.monterosa-preview { padding: clamp(72px, 8vw, 104px) 0 0; }
.monterosa-preview .valverde-section-head { margin-bottom: 30px; }
.monterosa-preview-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.monterosa-preview-grid figure { min-width: 0; margin: 0; overflow: hidden; border: 1px solid var(--white-line); background: #0b0e0f; box-shadow: var(--shadow); }
.monterosa-preview-media { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #0b0e0f; }
.monterosa-preview-media video, .monterosa-preview-media img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; }
.monterosa-preview-grid a { cursor: zoom-in; }
.monterosa-preview-grid figcaption { padding: 16px 18px; color: var(--muted); font-size: .875rem; }
@media (max-width: 700px) { .monterosa-preview { padding-top: 64px; } .monterosa-preview-grid { grid-template-columns: 1fr; gap: 18px; } }
.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); }
[data-gallery] a[data-lightbox-video] { position: relative; display: block; cursor: pointer; }
[data-gallery] a[data-lightbox-video]::after { content: "▶"; position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 66px; height: 66px; padding-left: 4px; color: #fff; font-size: 1.4rem; background: rgba(0, 0, 0, .72); border: 1px solid rgba(255, 255, 255, .75); border-radius: 50%; transform: translate(-50%, -50%); pointer-events: none; }
.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 video { display: block; width: min(1500px, 94vw); max-height: 85dvh; background: #000; }
.lightbox video[hidden] { display: none; }
.lightbox-visual { position: relative; width: fit-content; max-width: 100%; }
.lightbox-visual img { display: block; }
.aerial-sold-overlay { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; }
.aerial-sold-overlay[hidden] { display: none; }
.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; }
.lightbox .lightbox-prev, .lightbox .lightbox-next { top: 50%; z-index: 2; transform: translateY(-50%); display: grid; place-items: center; width: 52px; height: 60px; font-size: 2.5rem; }
.lightbox .lightbox-prev { left: 18px; right: auto; }
.lightbox .lightbox-next { right: 18px; }
.lightbox .lightbox-prev[hidden], .lightbox .lightbox-next[hidden] { display: none; }
.lightbox .lightbox-counter { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: #fff; padding: 7px 14px; background: rgba(0, 0, 0, .65); font: 600 0.9rem/1.4 Arial, sans-serif; }
.lightbox button:hover, .lightbox button:focus-visible { border-color: var(--gold); background: rgba(0, 0, 0, .78); }
.lightbox button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
@media (max-width: 700px) {
  .lightbox { padding: 16px; }
  .lightbox img { max-width: calc(100vw - 32px); max-height: calc(100dvh - 125px); }
  .lightbox video { width: calc(100vw - 32px); max-height: calc(100dvh - 125px); }
  .lightbox .lightbox-prev, .lightbox .lightbox-next { top: auto; bottom: max(14px, env(safe-area-inset-bottom)); transform: none; width: 48px; height: 48px; }
  .lightbox .lightbox-counter { bottom: max(23px, calc(env(safe-area-inset-bottom) + 9px)); }
}

.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; } }

/* Gallery navigation and the two new photographic collections. */
.nav-gallery { position: relative; }
.nav-gallery summary { display: flex; align-items: center; gap: 8px; padding: 11px 0; color: #deddd8; font-size: .78rem; font-weight: 600; letter-spacing: .055em; white-space: nowrap; cursor: pointer; list-style: none; }
.nav-gallery summary::-webkit-details-marker { display: none; }
.nav-gallery summary::after { content: ""; width: 6px; height: 6px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s ease; }
.nav-gallery[open] summary::after { transform: translateY(2px) rotate(225deg); }
.nav-gallery summary:hover, .nav-gallery summary.active, .nav-gallery[open] summary { color: var(--gold-light); }
.nav-gallery-menu { position: absolute; top: calc(100% + 8px); left: -18px; z-index: 10; display: grid; min-width: 255px; padding: 9px; background: #111516; border: 1px solid var(--line); box-shadow: var(--shadow); }
.nav-gallery-menu a { display: block; padding: 12px 13px; font-size: .75rem; letter-spacing: .08em; }
.nav-gallery-menu a::after { display: none; }
.nav-gallery-menu a:hover, .nav-gallery-menu a.active { background: rgba(201,168,79,.12); }
.gallery-intro { max-width: 800px; margin-bottom: 35px; }
.gallery-intro h2 { margin: 0 0 18px; }
.gallery-collections { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.gallery-collection { display: flex; flex-direction: column; justify-content: space-between; min-height: 300px; padding: clamp(28px, 4vw, 50px); background: linear-gradient(135deg, #22211b, #101414 58%, #0b0d0e); border: 1px solid var(--line); transition: border-color .2s ease, transform .2s ease; }
.gallery-collection:nth-child(2) { background: linear-gradient(135deg, #171b1a, #1c1a14 70%, #0b0d0e); }
.gallery-collection:hover { transform: translateY(-3px); border-color: var(--gold); }
.gallery-collection .eyebrow { margin-bottom: 50px; }
.gallery-collection h3 { margin: 0 0 12px; font-size: clamp(1.9rem, 3vw, 3rem); }
.gallery-collection p { max-width: 440px; color: var(--muted); }
.gallery-collection strong { margin-top: 16px; color: var(--gold-light); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.gallery-empty { max-width: 920px; min-height: 240px; display: grid; align-content: center; gap: 12px; padding: clamp(28px, 5vw, 60px); border: 1px dashed var(--line); background: #101414; }
.gallery-empty h2 { margin: 0; }
.gallery-empty p { margin: 0; }
.gallery-back { display: inline-flex; margin-top: 30px; color: var(--gold-light); font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.completed-villas-gallery { columns: initial; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.completed-villas-gallery figure { margin: 0; }
.completed-villas-gallery img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; }
.completed-villas-gallery a:hover img { transform: none; }
.completed-villas-progress { margin-top: 64px; }
.construction-gallery-section + .construction-gallery-section { margin-top: 64px; }
.construction-gallery-section .gallery-intro { margin-bottom: 24px; }
.construction-details-gallery { columns: initial; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.construction-details-gallery figure { display: flex; flex-direction: column; margin: 0; }
.construction-details-gallery a { background: #0b0e0f; }
.construction-details-gallery img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.construction-details-gallery img.portrait { object-fit: contain; }
.construction-details-gallery figcaption { padding: 12px 14px; color: var(--muted); font-size: .875rem; }
.construction-video-hero { padding: clamp(56px, 7vw, 96px) 0; background: radial-gradient(circle at 80% 20%, rgba(201, 168, 79, .13), transparent 34%), #0b0e0f; border-bottom: 1px solid var(--white-line); }
.construction-video-hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 420px); gap: clamp(40px, 7vw, 112px); align-items: center; }
.construction-video-copy h1 { max-width: 740px; margin: 14px 0 28px; font-size: clamp(3.5rem, 7.3vw, 7.3rem); }
.construction-video-copy h1 em { color: var(--gold-light); font-style: normal; }
.construction-video-copy > p:not(.eyebrow) { max-width: 540px; color: #d6d2c9; font-size: 1.125rem; line-height: 1.6; }
.construction-video-copy .text-link { display: inline-block; margin-top: 19px; }
.construction-video-stage { position: relative; width: min(100%, 390px); margin: 0 auto; padding: 11px; border: 1px solid rgba(201, 168, 79, .55); background: #161a1b; box-shadow: 0 26px 70px rgba(0, 0, 0, .45); }
.construction-video-stage video { display: block; width: 100%; max-height: min(70svh, 660px); aspect-ratio: 9 / 16; object-fit: contain; background: #070909; }
.construction-video-label { position: absolute; z-index: 1; top: 22px; left: 22px; padding: 8px 11px; color: #111311; background: var(--gold-light); font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; pointer-events: none; }
.construction-video-stage figcaption { padding: 15px 7px 5px; color: var(--muted); font-size: .875rem; text-align: center; }
#gallery-foto { scroll-margin-top: 88px; }
@media (max-width: 1100px) { .construction-details-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 780px) {
  .construction-details-gallery { grid-template-columns: 1fr; }
  .construction-video-hero { padding-block: 42px 68px; }
  .construction-video-hero .wrap { grid-template-columns: 1fr; gap: 32px; }
  .construction-video-copy h1 { margin-bottom: 16px; font-size: clamp(3.2rem, 12vw, 5rem); }
  .construction-video-copy > p:not(.eyebrow) { margin-bottom: 0; font-size: 1rem; }
  .construction-video-copy .text-link { margin-top: 14px; }
  .construction-video-stage { width: min(100%, 350px); }
  .construction-video-stage video { max-height: 60svh; }
}

/* A project-specific entry for photos from completed developments. */
.project-reality-teaser { padding: 48px 0; background: #111516; border-block: 1px solid var(--white-line); }
.project-reality-link { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 290px; overflow: hidden; border: 1px solid var(--line); background: #0b0e0f; }
.project-reality-preview { position: relative; min-height: 290px; display: grid; place-items: center; overflow: hidden; background: #101414; }
.project-reality-preview img { width: 100%; height: 100%; max-height: 390px; object-fit: contain; }
.project-reality-preview span { position: absolute; bottom: 16px; left: 18px; padding: 6px 9px; color: #fff; background: rgba(0,0,0,.76); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
.project-reality-copy { align-self: center; padding: clamp(28px, 4vw, 58px); }
.project-reality-copy h2 { margin: 4px 0 18px; font-size: clamp(2.2rem, 4vw, 4rem); }
.project-reality-copy p { max-width: 450px; color: var(--muted); }
.project-reality-copy strong { display: inline-flex; align-items: center; gap: 12px; margin-top: 18px; padding: 13px 17px; color: #090a0a; background: var(--gold); font-size: .73rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.project-reality-link:hover .project-reality-copy strong { background: var(--gold-light); }
@media (max-width: 1320px) {
  .site-header.open .nav-gallery { width: 100%; }
  .site-header.open .nav-gallery summary { padding: 13px 0; font-size: .9rem; }
  .site-header.open .nav-gallery-menu { position: static; min-width: 0; margin: 0 0 10px 12px; padding: 0 0 0 12px; border: 0; border-left: 1px solid var(--line); background: transparent; box-shadow: none; }
  .site-header.open .nav-gallery-menu a { padding: 10px 0; }
}
@media (max-width: 780px) {
  .gallery-collections, .project-reality-link, .completed-villas-gallery { grid-template-columns: 1fr; }
  .gallery-collection { min-height: 255px; }
  .project-reality-preview { min-height: 220px; }
}

/* 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); }

/* Valverde centro: scheda progetto, planimetrie e render. */
.valverde-page .page-hero { min-height: 70vh; background-position: center 54%; }
.valverde-page .page-hero::after { height: 58%; }
.valverde-page .project-highlight { margin-bottom: 0; }
.valverde-page .project-highlight h2 { max-width: 620px; line-height: 1.02; }

.valverde-overview,
.valverde-allestimenti,
.valverde-fotoinserimenti,
.valverde-location,
.valverde-plans,
.valverde-renders { padding: clamp(82px, 10vw, 135px) 0; }

.valverde-allestimenti { background: radial-gradient(circle at 88% 4%, rgba(201, 168, 79, .13), transparent 28%), #090b0c; border-block: 1px solid var(--white-line); }
.valverde-allestimenti .valverde-section-head > p { color: var(--muted); }
.allestimenti-groups { display: grid; gap: 28px; }
.allestimenti-group { overflow: hidden; border: 1px solid rgba(201, 168, 79, .28); background: #0b0e0f; box-shadow: var(--shadow); }
.allestimenti-group > header { display: grid; grid-template-columns: 82px 1fr; gap: 22px; align-items: center; padding: 25px 30px; border-bottom: 1px solid rgba(201, 168, 79, .28); background: linear-gradient(90deg, rgba(201, 168, 79, .09), transparent 58%); }
.allestimenti-group > header > span { color: var(--gold-light); font-family: Georgia, serif; font-size: 2.4rem; line-height: 1; }
.allestimenti-group > header .eyebrow { margin-bottom: 4px; }
.allestimenti-group > header h3 { margin: 0; font-family: Georgia, serif; font-size: clamp(1.55rem, 2.3vw, 2.15rem); font-weight: 400; }
.allestimenti-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--white-line); }
.allestimento-card { position: relative; min-height: 225px; padding: 28px; background: #0d1011; }
.allestimento-card > span { display: block; margin-bottom: 34px; color: #8f8d86; font-size: .875rem; font-weight: 800; letter-spacing: .12em; }
.allestimento-card h4 { margin: 0 0 12px; color: #fff; font-family: Georgia, serif; font-size: 1.45rem; font-weight: 400; line-height: 1.2; }
.allestimento-card h4 a { transition: color .2s; }
.allestimento-card h4 a:hover { color: var(--gold-light); }
.allestimento-card p { margin: 0; color: var(--muted); font-size: .95rem; }
.allestimento-link { display: inline-block; margin-top: 21px; color: var(--gold-light); font-size: .875rem; font-weight: 800; }
.allestimento-link:hover { color: #fff; }

.valverde-overview .wrap { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(44px, 7vw, 92px); align-items: center; }
.valverde-overview-copy h2,
.valverde-location-copy h2,
.valverde-section-head h2 { margin: 10px 0 28px; font-size: clamp(2.85rem, 5.2vw, 5.2rem); }
.valverde-overview-copy > p:not(.eyebrow) { color: #cfccc4; font-size: 1.05rem; }
.valverde-aerial { margin: 0; overflow: hidden; background: #0b0e0f; border: 1px solid var(--white-line); box-shadow: var(--shadow); }
.valverde-aerial a { position: relative; display: block; cursor: zoom-in; }
.valverde-aerial img { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; }
.valverde-aerial figcaption { padding: 13px 16px; color: var(--muted); font-size: .875rem; }

.valverde-fotoinserimenti { color: var(--ink); background: var(--ivory); }
.valverde-fotoinserimenti .eyebrow { color: #806720; }
.valverde-fotoinserimenti-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.valverde-fotoinserimenti-grid figure { margin: 0; overflow: hidden; background: #fff; border: 1px solid #d9d1c2; box-shadow: 0 20px 50px rgba(43, 38, 28, .13); }
.valverde-fotoinserimenti-grid a { display: block; overflow: hidden; cursor: zoom-in; }
.valverde-fotoinserimenti-grid img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; background: #fff; }
.valverde-fotoinserimenti-grid figcaption { padding: 15px 17px; color: #5e5a52; font-size: .875rem; }

.valverde-location { background: var(--surface); border-block: 1px solid var(--white-line); }
.valverde-location .wrap { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(38px, 6vw, 78px); align-items: center; }
.valverde-location-copy p:not(.eyebrow) { color: #cecbc3; }
.valverde-location-copy strong { color: var(--gold-light); font-weight: 700; }
.valverde-location-copy .btn { margin-top: 14px; }
.valverde-map { overflow: hidden; background: #0c0f10; border: 1px solid var(--white-line); box-shadow: var(--shadow); }
.valverde-map iframe { display: block; width: 100%; min-height: 500px; filter: grayscale(.2) contrast(.98); }
.valverde-map .external-media-note { min-height: 500px; }

.valverde-plans { color: var(--ink); background: var(--ivory); scroll-margin-top: 95px; }
.valverde-plans .eyebrow { color: #806720; }
.valverde-section-head { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(42px, 7vw, 90px); align-items: end; margin-bottom: 58px; }
.valverde-section-head h2 { margin-bottom: 0; }
.valverde-section-head > p { max-width: 590px; margin: 0; color: #5a574e; font-size: 1.05rem; }
.villa-plan-list { display: grid; gap: 38px; }
.villa-plan-group { overflow: hidden; background: #fff; border: 1px solid #d9d1c2; box-shadow: 0 20px 50px rgba(43, 38, 28, .12); }
.villa-plan-group > header { display: flex; align-items: center; gap: 24px; padding: 22px 28px; color: white; background: #0b0e0f; border-bottom: 1px solid rgba(201, 168, 79, .4); }
.villa-plan-group > header > span { min-width: 78px; color: var(--gold-light); font-family: Georgia, serif; font-size: 2.25rem; line-height: 1; }
.villa-plan-group > header .eyebrow { margin-bottom: 2px; color: var(--gold-light); }
.villa-plan-group > header h3 { margin: 0; font-family: Georgia, serif; font-size: 1.65rem; font-weight: 400; }
.villa-capitolato-cta { flex: 0 1 290px; padding: 10px 12px; font-size: .75rem; letter-spacing: .035em; line-height: 1.25; }
.villa-plan-status { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px; margin-left: auto; }
.villa-price { color: var(--gold-light); font-size: 1rem; white-space: nowrap; }
.villa-sold-badge, .villa-sale-badge { padding: 8px 14px; border-radius: 3px; color: #fff; font: 800 .85rem/1.2 Arial, sans-serif; letter-spacing: .1em; white-space: nowrap; }
.villa-sold-badge { background: #b20f19; }
.villa-sale-badge { background: #15803d; }
.villa-plan-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.plan-card { min-width: 0; margin: 0; border-right: 1px solid #ded7ca; }
.plan-card:last-child { border-right: 0; }
.plan-preview { display: block; overflow: hidden; cursor: zoom-in; background: #f6f3ec; }
.plan-preview img { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; transition: transform .35s ease; }
.plan-preview:hover img { transform: scale(1.015); }
.plan-card figcaption { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 92px; padding: 18px 20px; border-top: 1px solid #e4ded3; }
.plan-card figcaption strong,
.plan-card figcaption span { display: block; }
.plan-card figcaption strong { color: var(--ink); font-family: Georgia, serif; font-size: 1.35rem; font-weight: 400; }
.plan-card figcaption span { color: #6f6b62; font-size: .875rem; }
.plan-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px; }
.plan-actions a { min-height: 44px; display: inline-flex; align-items: center; padding: 9px 12px; color: #5d4711; border: 1px solid #b8953d; font-size: .875rem; font-weight: 800; }
.plan-actions a:last-child { color: #fff; background: #171817; border-color: #171817; }
.plan-actions a:hover { color: #080909; background: var(--gold-light); border-color: var(--gold-light); }

.valverde-renders { background: #090b0c; }
.valverde-renders .valverde-section-head > p { color: var(--muted); }
.valverde-render-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.valverde-render-grid figure { margin: 0; overflow: hidden; background: var(--surface); border: 1px solid var(--white-line); }
.valverde-render-grid a { display: block; overflow: hidden; cursor: zoom-in; }
.valverde-render-grid img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; background: var(--surface); }
.valverde-render-grid figcaption { padding: 13px 16px; color: var(--muted); font-size: .875rem; }

@media (max-width: 980px) {
  .valverde-overview .wrap,
  .valverde-location .wrap,
  .valverde-section-head { grid-template-columns: 1fr; }
  .valverde-overview .wrap,
  .valverde-location .wrap { gap: 42px; }
  .valverde-section-head { gap: 20px; }
  .valverde-map iframe,
  .valverde-map .external-media-note { min-height: 420px; }
  .allestimenti-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .villa-plan-grid { grid-template-columns: 1fr; }
  .plan-card { border-right: 0; border-bottom: 1px solid #ded7ca; }
  .plan-card:last-child { border-bottom: 0; }
}

@media (max-width: 700px) {
  .valverde-page .page-hero { min-height: 62vh; background-position: 59% center; }
  .valverde-page .project-highlight h2 { font-size: clamp(2.55rem, 12vw, 3.7rem); }
  .valverde-overview,
  .valverde-allestimenti,
  .valverde-fotoinserimenti,
  .valverde-location,
  .valverde-plans,
  .valverde-renders { padding: 72px 0; }
  .allestimenti-group > header { grid-template-columns: 58px 1fr; gap: 14px; padding: 22px 20px; }
  .allestimenti-group > header > span { font-size: 1.9rem; }
  .allestimenti-grid,
  .valverde-fotoinserimenti-grid { grid-template-columns: 1fr; }
  .allestimento-card { min-height: 0; padding: 24px 22px; }
  .allestimento-card > span { margin-bottom: 24px; }
  .valverde-render-grid { grid-template-columns: 1fr; gap: 14px; }
  .villa-plan-group > header { padding: 20px; }
  .villa-plan-group > header > span { min-width: 64px; font-size: 1.9rem; }
  .villa-plan-group > header { flex-wrap: wrap; }
  .villa-capitolato-cta { flex: 1 1 100%; max-width: none; }
  .villa-plan-status { width: 100%; justify-content: flex-start; margin-left: 0; }
  .plan-card figcaption { align-items: flex-start; flex-direction: column; padding: 18px; }
  .plan-actions { width: 100%; justify-content: flex-start; }
  .plan-actions a { flex: 1 1 130px; justify-content: center; }
  .valverde-map iframe,
  .valverde-map .external-media-note { min-height: 340px; }
}

.valverde-personalizzazione { padding: 90px 0; background: var(--ivory); color: var(--ink); }
.valverde-personalizzazione .wrap { max-width: 980px; }
.valverde-personalizzazione .eyebrow { color: #806720; }
.valverde-personalizzazione p:not(.eyebrow) { max-width: 820px; font-size: 1.1rem; }
.valverde-personalizzazione .btn { margin-top: 20px; }
.plan-viewer { position: fixed; inset: 0; margin: 0; padding: 0; width: 100vw; max-width: none; height: 100dvh; max-height: none; border: 0; background: #181b1d; color: white; }
.plan-viewer[open] { display: flex; flex-direction: column; }
.plan-viewer::backdrop { background: #080a0b; }
.plan-toolbar { flex: 0 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 12px max(16px, env(safe-area-inset-right)) 12px max(16px, env(safe-area-inset-left)); border-bottom: 1px solid #555; }
.plan-toolbar strong { font-size: 1rem; }
.plan-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.plan-controls button, .plan-controls a { position: static; display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 8px 12px; border: 1px solid #777; color: white; background: #292d30; font: inherit; font-size: .875rem; cursor: pointer; }
.plan-controls button:disabled { opacity: .4; cursor: default; }
.plan-controls output { min-width: 48px; text-align: center; font-size: .875rem; }
.plan-viewport { flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; touch-action: none; cursor: grab; }
.plan-viewport:active { cursor: grabbing; }
.plan-canvas { display: grid; place-items: center; min-width: 100%; min-height: 100%; width: max-content; }
.plan-canvas img { display: block; max-width: none; max-height: none; flex-shrink: 0; background: white; user-select: none; }
@media(max-width: 700px) { .valverde-personalizzazione { padding: 64px 0; } .plan-toolbar { gap: 8px; padding-top: max(10px, env(safe-area-inset-top)); } .plan-controls { gap: 6px; } .plan-controls button, .plan-controls a { padding: 8px; } }

/* Figure tecniche aziendali. */
.company-team { margin: 76px 0; padding: clamp(28px, 5vw, 50px); border: 1px solid rgba(201, 168, 79, .3); background: #0b0e0f; }
.company-team .eyebrow { color: var(--gold-light); }
.company-team h2 { margin: 8px 0 34px; font-size: clamp(2.15rem, 3.7vw, 3.3rem); }
.company-team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 0; padding: 1px; list-style: none; background: rgba(201, 168, 79, .28); }
.company-team-grid li { min-width: 0; margin: 0; padding: clamp(22px, 3vw, 30px); background: #101314; }
.company-team-grid li > p { margin: 0 0 14px; color: var(--gold-light); font-size: .875rem; font-weight: 700; line-height: 1.45; }
.company-team-grid h3 { margin: 0; color: #fff; font-family: Georgia, serif; font-size: clamp(1.35rem, 2.25vw, 1.9rem); font-weight: 400; line-height: 1.3; }
@media (max-width: 700px) { .company-team-grid { grid-template-columns: 1fr; } }

/* Balatelle: immagini complete in ogni anteprima e spazio al progetto in elaborazione. */
.balatelle-hero { position: relative; background: #0b0e0f; }
.balatelle-hero > img { display: block; width: 100%; height: auto; }
.balatelle-hero::after { content: ""; position: absolute; inset: 38% 0 0; pointer-events: none; background: linear-gradient(transparent, rgba(3, 5, 6, .88)); }
.balatelle-hero-copy { position: absolute; z-index: 1; bottom: clamp(38px, 6vw, 90px); left: 5vw; margin: 0; }
.balatelle-hero h1 { margin: 0 0 13px; font-size: clamp(3.7rem, 8vw, 8rem); }
.balatelle-hero-copy > p:not(.eyebrow) { max-width: 690px; margin-bottom: 18px; font-size: clamp(1rem, 1.4vw, 1.3rem); }
.balatelle-hero .tag { color: #fff; border-color: #1d4ed8; background: #1d4ed8; }
.balatelle-intro { background: #101414; }
.balatelle-intro-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(35px, 6vw, 100px); }
.balatelle-intro h2 { margin: 0; max-width: 580px; }
.balatelle-intro-grid > div:last-child > p { font-size: 1.05rem; }
.balatelle-intro .balatelle-design-note { margin-top: 30px; padding: 17px 20px; border-left: 2px solid var(--gold); background: rgba(201, 168, 79, .07); font-size: .96rem; }
.balatelle-location { background: #0b0e0f; }
.balatelle-section-head { max-width: 830px; margin-bottom: 38px; }
.balatelle-section-head h2 { margin: 0 0 20px; }
.balatelle-section-head > p:last-child { max-width: 720px; margin-bottom: 0; font-size: 1.05rem; }
.balatelle-map-row { display: grid; grid-template-columns: .7fr 1.3fr; min-height: 450px; border: 1px solid var(--line); background: #111516; }
.balatelle-map-copy { align-self: center; padding: clamp(25px, 4vw, 50px); }
.balatelle-map-copy > span { color: var(--gold-light); font-size: .875rem; font-weight: 800; letter-spacing: .1em; }
.balatelle-map-copy h3 { margin: 18px 0; font-size: clamp(1.7rem, 2.8vw, 2.6rem); }
.balatelle-map-copy .btn { margin-top: 12px; }
.balatelle-map { min-width: 0; background: #0c0f10; }
.balatelle-map iframe { display: block; width: 100%; height: 100%; min-height: 450px; border: 0; }
.balatelle-map iframe[data-cookie-src] { display: none; }
.balatelle-map .external-media-note { height: 100%; min-height: 450px; }
.balatelle-location-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 24px; }
.balatelle-location-photos figure,
.balatelle-image-grid figure { min-width: 0; margin: 0; overflow: hidden; background: #101414; border: 1px solid var(--white-line); }
.balatelle-location-photos a,
.balatelle-image-grid a { display: block; cursor: zoom-in; }
.balatelle-location-photos img,
.balatelle-image-grid img { display: block; width: 100%; height: auto; object-fit: contain; }
.balatelle-location-photos figcaption,
.balatelle-image-grid figcaption { padding: 12px 16px; color: var(--muted); font-size: .875rem; }
.balatelle-views { background: #111516; }
.balatelle-renders { background: #090b0c; }
.balatelle-image-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.balatelle-image-grid-featured figure:first-child,
.balatelle-views .balatelle-image-grid figure:nth-child(2) { grid-column: 1 / -1; }
.balatelle-location-photos a:hover img,
.balatelle-image-grid a:hover img { transform: none; }
.balatelle-social { background: linear-gradient(120deg, #181815, #0b0e0f); border-top: 1px solid var(--line); }
.balatelle-social .wrap { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center; }
.balatelle-social h2 { margin: 0 0 22px; max-width: 820px; }
.balatelle-social-links { display: grid; gap: 12px; }
.balatelle-social-links a { display: flex; align-items: center; min-height: 50px; padding: 13px 17px; color: var(--gold-light); border: 1px solid var(--line); font-size: .9rem; font-weight: 700; }
.balatelle-social-links a:hover { color: #0b0e0f; background: var(--gold-light); }
.balatelle-page-hero { min-height: 70vh; background-position: center 55%; }
.balatelle-page-hero::after { height: 60%; }
.balatelle-coming-soon { color: #fff; border-color: #1d4ed8; background: #1d4ed8; }
.balatelle-overview { background: #0d1011; }
.balatelle-highlight { margin-bottom: 82px; }
.balatelle-highlight h2 { line-height: 1.02; }
.balatelle-masterplan-figure { margin: 0; overflow: hidden; background: #fff; border: 1px solid #d9d1c2; box-shadow: 0 20px 50px rgba(43, 38, 28, .14); }
.balatelle-masterplan-figure .plan-preview { display: block; }
.balatelle-masterplan-figure img { display: block; width: 100%; height: auto; }
.balatelle-masterplan-figure figcaption { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; padding: 19px 23px; border-top: 1px solid #e4ded3; }
.balatelle-masterplan-figure figcaption strong { display: block; color: var(--ink); font-family: Georgia, serif; font-size: 1.5rem; font-weight: 400; }
.balatelle-masterplan-figure figcaption span { color: #6f6b62; font-size: .875rem; }
.balatelle-plan-note { margin: 18px 0 0; color: #6b665d; font-size: .875rem; }
.balatelle-villas { padding: clamp(82px, 10vw, 135px) 0; background: radial-gradient(circle at 90% 0%, rgba(201, 168, 79, .12), transparent 34%), #090b0c; }
.balatelle-villas .valverde-section-head > p { color: var(--muted); }
.balatelle-villa-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.balatelle-villa-card { display: flex; flex-direction: column; grid-column: span 4; min-width: 0; min-height: 295px; padding: clamp(21px, 2.4vw, 31px); border: 1px solid rgba(201, 168, 79, .3); background: #121617; }
.balatelle-villa-card:nth-child(n+4) { grid-column: span 3; }
.balatelle-villa-number { color: var(--gold-light); font: 400 2.6rem/1 Georgia, serif; }
.balatelle-villa-card h3 { margin: 17px 0 3px; font: 400 1.6rem/1.2 Georgia, serif; }
.balatelle-villa-card > p { margin: 0; color: var(--muted); font-size: .875rem; }
.balatelle-villa-card dl { margin: 23px 0 20px; padding-top: 15px; border-top: 1px solid var(--white-line); }
.balatelle-villa-card dl div { display: flex; justify-content: space-between; gap: 10px; }
.balatelle-villa-card dt { color: var(--muted); }
.balatelle-villa-card dd { margin: 0; color: white; font-weight: 700; }
.balatelle-card-price { display: block; margin-top: auto; color: var(--gold-light); font-size: 1.45rem; letter-spacing: .01em; }
.balatelle-villas-footer { display: flex; justify-content: space-between; align-items: center; gap: 25px; margin-top: 32px; }
.balatelle-villas-footer p { max-width: 650px; margin: 0; color: var(--muted); font-size: .875rem; }
@media (max-width: 980px) {
  .balatelle-villa-card, .balatelle-villa-card:nth-child(n+4) { grid-column: span 6; }
}
@media (max-width: 780px) {
  .balatelle-hero::after { display: none; }
  .balatelle-hero-copy { position: static; width: 90vw; margin: 0 auto; padding: 34px 0 44px; }
  .balatelle-hero h1 { font-size: clamp(3.5rem, 13vw, 5rem); }
  .balatelle-intro-grid,
  .balatelle-map-row,
  .balatelle-location-photos,
  .balatelle-image-grid,
  .balatelle-social .wrap { grid-template-columns: 1fr; }
  .balatelle-image-grid-featured figure:first-child,
  .balatelle-views .balatelle-image-grid figure:nth-child(2) { grid-column: auto; }
  .balatelle-map iframe,
  .balatelle-map .external-media-note { min-height: 340px; }
  .balatelle-page-hero { min-height: 62vh; background-position: 57% center; }
  .balatelle-overview, .balatelle-masterplan, .balatelle-villas { padding-block: 72px; }
  .balatelle-highlight { margin-bottom: 48px; }
  .balatelle-highlight h2 { font-size: clamp(2.5rem, 11vw, 3.7rem); }
  .balatelle-villa-card, .balatelle-villa-card:nth-child(n+4) { grid-column: span 12; min-height: 0; }
  .balatelle-villas-footer { align-items: flex-start; flex-direction: column; }
}
