:root {
  --white: #ffffff;
  --black: #111111;
  --charcoal: #222222;
  --grey: #f5f5f5;
  --silver: #c7c7c7;
  --line: rgba(17, 17, 17, 0.12);
  --muted: rgba(17, 17, 17, 0.62);
  --frame-colour: #ffffff;
  --max: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 26px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: rgba(17, 17, 17, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px);
  transition: background 0.35s var(--ease), color 0.35s var(--ease), padding 0.35s var(--ease);
}

.site-header.scrolled,
.site-header.menu-open {
  padding-block: 12px;
  color: var(--black);
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(17, 17, 17, 0.1);
}

.brand {
  display: grid;
  line-height: 1.1;
  min-width: max-content;
}

.brand span {
  font-size: 1.05rem;
  font-weight: 760;
  letter-spacing: 0.12em;
}

.brand small {
  margin-top: 4px;
  color: currentColor;
  font-size: 0.66rem;
  opacity: 0.72;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 21px;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}

.nav a {
  position: relative;
  opacity: 0.84;
}

.nav a::after {
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.28s var(--ease);
}

.nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions,
.hero-actions,
.form-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-dark {
  color: var(--white);
  background: var(--black);
  border-color: var(--black);
}

.btn-light {
  color: var(--black);
  background: var(--white);
  border-color: var(--white);
}

.btn-outline {
  color: currentColor;
  background: transparent;
  border-color: currentColor;
}

.btn-glass {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(14px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 3px;
  color: inherit;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 6px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 94svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--black) url("assets/images/hero-villa.jpg") center / cover no-repeat;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-image {
  z-index: 1;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.86) contrast(1.04);
  animation: heroZoom 16s var(--ease) infinite alternate;
}

.hero-overlay {
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.78), rgba(17, 17, 17, 0.36) 46%, rgba(17, 17, 17, 0.08)),
    linear-gradient(0deg, rgba(17, 17, 17, 0.58), transparent 42%);
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(1120px, calc(100% - 36px));
  margin-left: clamp(18px, 8vw, 110px);
  padding-top: 82px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--silver);
  font-size: 0.76rem;
  font-weight: 760;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.98;
}

h1 {
  max-width: 1080px;
  margin-bottom: 20px;
  font-size: clamp(3rem, 5.7vw, 5.85rem);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.25rem, 5vw, 5.15rem);
}

h3 {
  margin-bottom: 10px;
  font-size: 1.05rem;
  line-height: 1.2;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
}

.hero-contact {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.72);
}

.hero-contact a {
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 760;
}

.hero-highlights {
  position: absolute;
  right: clamp(18px, 5vw, 72px);
  bottom: 26px;
  left: clamp(18px, 5vw, 72px);
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(17, 17, 17, 0.34);
  backdrop-filter: blur(18px);
  pointer-events: none;
}

.hero-highlights span {
  min-height: 74px;
  display: grid;
  place-items: center;
  padding: 16px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.86rem;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-highlights span:last-child {
  border-right: 0;
}

.section {
  padding: clamp(72px, 10vw, 136px) clamp(18px, 5vw, 72px);
}

.page-hero {
  min-height: 68svh;
  display: grid;
  align-items: end;
  padding: 148px clamp(18px, 5vw, 72px) 72px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.82), rgba(17, 17, 17, 0.42), rgba(17, 17, 17, 0.14)),
    var(--page-image, url("assets/images/hero-villa.jpg")) center / cover no-repeat;
}

.page-hero-content {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.page-hero h1 {
  max-width: 980px;
}

.page-hero p:not(.eyebrow) {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(1rem, 1.7vw, 1.25rem);
}

.page-kicker {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.page-kicker p {
  color: var(--muted);
  font-size: 1.08rem;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
}

.stat-strip span {
  min-height: 120px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 18px;
  border-right: 1px solid var(--line);
}

.stat-strip span:last-child {
  border-right: 0;
}

.stat-strip strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.1rem;
  font-weight: 400;
}

.detail-grid {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.detail-card {
  min-height: 250px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.detail-card.dark {
  color: var(--white);
  background: var(--black);
}

.detail-card span {
  display: block;
  margin-bottom: 58px;
  color: var(--silver);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.detail-card p {
  color: var(--muted);
}

.detail-card.dark p {
  color: rgba(255, 255, 255, 0.68);
}

.wide-image-band {
  width: min(var(--max), 100%);
  margin: 0 auto;
  overflow: hidden;
  border-radius: 8px;
}

.wide-image-band img {
  width: 100%;
  height: clamp(320px, 48vw, 620px);
  object-fit: cover;
}

.product-detail-grid {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

.product-detail {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.product-detail img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  color: transparent;
  background: var(--product-image, url("assets/images/hero-villa.jpg")) center / cover no-repeat;
}

.product-detail:nth-child(1) { --product-image: url("assets/images/facade-windows.jpg"); }
.product-detail:nth-child(2) { --product-image: url("assets/images/modern-exterior.jpg"); }
.product-detail:nth-child(3) { --product-image: url("assets/images/twilight-home.jpg"); }
.product-detail:nth-child(4) { --product-image: url("assets/images/reflective-facade.jpg"); }
.product-detail:nth-child(5) { --product-image: url("assets/images/urban-windows.jpg"); }
.product-detail:nth-child(6) { --product-image: url("assets/images/hero-villa.jpg"); }

.product-detail div {
  padding: clamp(26px, 4vw, 48px);
}

.spec-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 24px 0;
}

.spec-list span {
  padding: 12px 14px;
  background: var(--grey);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 720;
}

.city-panel {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.city-card {
  min-height: 180px;
  display: grid;
  align-content: end;
  padding: 24px;
  color: var(--white);
  background:
    linear-gradient(180deg, transparent, rgba(17, 17, 17, 0.78)),
    var(--city-image, url("assets/images/facade-windows.jpg")) center / cover no-repeat;
  border-radius: 8px;
}

.cta-band {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: clamp(28px, 5vw, 54px);
  color: var(--white);
  background: var(--black);
  border-radius: 8px;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.72);
}

.section-head {
  width: min(var(--max), 100%);
  margin: 0 auto 46px;
}

.section-head p:not(.eyebrow) {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.08rem;
}

.colour-section,
.products-section,
.service-section,
.feed-section {
  background: var(--grey);
}

.colour-layout {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 0.88fr) 1.12fr;
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
}

.window-preview {
  min-height: 520px;
  display: grid;
  align-content: center;
  gap: 22px;
  padding: clamp(20px, 4vw, 42px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(17, 17, 17, 0.08);
}

.preview-wall {
  min-height: 360px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.04) 1px, transparent 1px),
    linear-gradient(0deg, rgba(17, 17, 17, 0.04) 1px, transparent 1px),
    #fbfbfb;
  background-size: 42px 42px;
}

.window-frame {
  position: relative;
  width: min(82%, 330px);
  aspect-ratio: 0.82;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 16px;
  background: var(--frame-colour);
  border: 1px solid rgba(17, 17, 17, 0.26);
  box-shadow: 0 24px 60px rgba(17, 17, 17, 0.18);
  transition: background 0.35s var(--ease);
}

.window-frame::before,
.window-frame::after {
  position: absolute;
  content: "";
  background: var(--frame-colour);
  transition: background 0.35s var(--ease);
}

.window-frame::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 10px;
  transform: translateY(-50%);
}

.window-frame::after {
  top: 0;
  left: 50%;
  width: 10px;
  height: 100%;
  transform: translateX(-50%);
}

.pane {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(199, 199, 199, 0.42)),
    url("assets/images/urban-windows.jpg") center/cover;
  border: 1px solid rgba(17, 17, 17, 0.1);
}

.handle {
  position: absolute;
  top: 52%;
  right: 22px;
  width: 5px;
  height: 42px;
  background: var(--charcoal);
}

.preview-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.preview-label span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
}

.preview-label small {
  color: var(--muted);
}

.colour-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.colour-card {
  min-height: 142px;
  display: grid;
  align-content: end;
  justify-items: start;
  gap: 8px;
  padding: 22px;
  text-align: left;
  color: var(--black);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.colour-card:hover,
.colour-card.active {
  transform: translateY(-4px);
  border-color: rgba(17, 17, 17, 0.4);
  box-shadow: 0 18px 48px rgba(17, 17, 17, 0.09);
}

.swatch {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(17, 17, 17, 0.18);
  border-radius: 50%;
}

.white { background: #ffffff; }
.black { background: #101010; }
.anthracite { background: #3a3b3b; }
.oak { background: linear-gradient(135deg, #c99146, #744419); }
.walnut { background: linear-gradient(135deg, #7a4b37, #2e1a13); }

.split-section {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: clamp(30px, 6vw, 88px);
  align-items: center;
  padding-inline: 0;
}

.split-copy p {
  color: var(--muted);
  font-size: 1.08rem;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 30px;
}

.benefit-grid span,
.region-grid span {
  padding: 16px 18px;
  background: var(--grey);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 700;
}

.architectural-image {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
}

.architectural-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.product-grid,
.feature-grid,
.testimonial-grid {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.product-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.product-card img {
  width: 100%;
  aspect-ratio: 1.2;
  object-fit: cover;
  filter: saturate(0.9);
  transition: transform 0.45s var(--ease);
}

.product-card:hover img {
  transform: scale(1.05);
}

.product-card div {
  padding: 24px;
}

.product-card p,
.feature-card p,
.testimonial figcaption {
  color: var(--muted);
}

.product-card button {
  margin-top: 10px;
  padding: 0;
  color: var(--black);
  background: transparent;
  border: 0;
  font-weight: 780;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.dark-section {
  color: var(--white);
  background: var(--black);
}

.dark-section .section-head p:not(.eyebrow),
.dark-section .feature-card p {
  color: rgba(255, 255, 255, 0.66);
}

.feature-card {
  min-height: 230px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.feature-card span,
.process-step span {
  display: block;
  margin-bottom: 58px;
  color: var(--silver);
  font-size: 0.8rem;
  font-weight: 800;
}

.project-grid {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 250px;
  gap: 14px;
}

.project-tile {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: var(--black);
}

.project-tile.large {
  grid-column: span 2;
  grid-row: span 2;
}

.project-tile.wide {
  grid-column: span 2;
}

.project-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
  transition: transform 0.5s var(--ease), opacity 0.5s var(--ease);
}

.project-tile span {
  position: absolute;
  left: 20px;
  bottom: 18px;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.4rem, 2vw, 2.3rem);
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.42);
}

.project-tile:hover img {
  transform: scale(1.08);
  opacity: 1;
}

.process-row {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.process-step {
  min-height: 210px;
  padding: 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.before-after-section {
  padding-top: 0;
}

.comparison {
  position: relative;
  width: min(var(--max), 100%);
  aspect-ratio: 16 / 8;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 8px;
  background: var(--black);
}

.comparison img,
.comparison-before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.comparison img {
  object-fit: cover;
}

.comparison-before {
  overflow: hidden;
  width: 48%;
  border-right: 2px solid var(--white);
}

.comparison-before img {
  width: calc(100vw - 36px);
  max-width: var(--max);
}

.comparison input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
}

.region-grid {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.testimonial {
  min-height: 190px;
  margin: 0;
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.testimonial blockquote {
  margin: 0 0 26px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  line-height: 1.15;
}

.feed-grid {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.feed-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
}

.contact-section {
  display: grid;
  gap: 24px;
  background: var(--white);
}

.contact-panel {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(26px, 5vw, 56px);
  color: var(--black);
  background: var(--grey);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.contact-lines {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  font-weight: 760;
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.lead-form.compact {
  grid-template-columns: 1fr;
}

.lead-form label {
  display: grid;
  gap: 8px;
  color: rgba(17, 17, 17, 0.68);
  font-size: 0.82rem;
  font-weight: 760;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.lead-form .full,
.form-actions,
.lead-form.compact button {
  grid-column: 1 / -1;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 14px;
  color: var(--black);
  background: var(--white);
  border: 1px solid rgba(17, 17, 17, 0.16);
  border-radius: 3px;
  outline: 0;
}

.lead-form textarea {
  resize: vertical;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  border-color: var(--black);
}

.map-frame {
  width: min(var(--max), 100%);
  height: 360px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(1) contrast(1.08);
}

.site-footer {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 1fr;
  gap: 28px;
  padding: 58px clamp(18px, 5vw, 72px) 28px;
  color: var(--white);
  background: var(--black);
}

.site-footer h2 {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.site-footer p,
.site-footer small {
  color: rgba(255, 255, 255, 0.7);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.site-footer small {
  grid-column: 1 / -1;
}

.tagline {
  color: var(--white) !important;
  font-weight: 800;
}

.floating-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 45;
  display: grid;
  gap: 8px;
}

.floating-actions a {
  min-width: 118px;
  padding: 12px 16px;
  color: var(--white);
  text-align: center;
  border-radius: 3px;
  box-shadow: 0 14px 34px rgba(17, 17, 17, 0.24);
  font-size: 0.84rem;
  font-weight: 800;
}

.float-whatsapp {
  background: #1f7f52;
}

.float-call {
  background: var(--black);
}

.lead-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(17, 17, 17, 0.68);
  backdrop-filter: blur(8px);
}

.lead-modal[hidden] {
  display: none;
}

.lead-dialog {
  position: relative;
  width: min(520px, 100%);
  max-height: min(720px, calc(100svh - 36px));
  overflow: auto;
  padding: 34px;
  color: var(--black);
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.36);
}

.dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  color: var(--black);
  background: var(--grey);
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .menu-toggle {
    display: block;
  }

  .nav,
  .header-actions {
    display: none;
  }

  .site-header.menu-open .nav,
  .site-header.menu-open .header-actions {
    display: flex;
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .site-header.menu-open .nav {
    flex-wrap: wrap;
    padding-top: 10px;
  }

  .colour-layout,
  .split-section,
  .contact-panel,
  .page-kicker,
  .product-detail,
  .cta-band {
    grid-template-columns: 1fr;
  }

  .product-grid,
  .feature-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-row,
  .region-grid,
  .feed-grid,
  .detail-grid,
  .city-panel {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .site-header {
    padding-inline: 16px;
  }

  .brand span {
    font-size: 0.92rem;
  }

  .brand small {
    max-width: 150px;
  }

  .hero {
    min-height: 96svh;
    align-items: start;
  }

  .hero-content {
    width: min(310px, calc(100% - 32px));
    margin-left: 16px;
    padding-top: 126px;
  }

  h1 {
    font-size: clamp(2.05rem, 9vw, 2.3rem);
    line-height: 1.04;
    overflow-wrap: break-word;
  }

  .hero-copy {
    max-width: 100%;
    font-size: 1rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: min(260px, 100%);
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-highlights {
    grid-template-columns: repeat(2, 1fr);
    right: auto;
    bottom: 16px;
    left: 16px;
    width: min(358px, calc(100% - 32px));
  }

  .hero-highlights span {
    min-height: 54px;
    padding: 10px;
    font-size: 0.72rem;
    text-align: center;
    overflow-wrap: anywhere;
  }

  .section {
    padding-block: 68px;
  }

  .colour-grid,
  .product-grid,
  .feature-grid,
  .detail-grid,
  .city-panel,
  .testimonial-grid,
  .process-row,
  .region-grid,
  .feed-grid,
  .lead-form,
  .spec-list,
  .stat-strip {
    grid-template-columns: 1fr;
  }

  .page-hero {
    min-height: 58svh;
    padding-top: 128px;
    padding-bottom: 58px;
  }

  .page-hero-content {
    width: min(340px, 100%);
    margin-left: 0;
  }

  .page-hero h1 {
    font-size: clamp(2.35rem, 11vw, 3.2rem);
    line-height: 1.02;
    overflow-wrap: break-word;
  }

  .page-hero p:not(.eyebrow) {
    overflow-wrap: break-word;
  }

  .stat-strip span {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stat-strip span:last-child {
    border-bottom: 0;
  }

  .window-preview {
    min-height: auto;
  }

  .project-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }

  .project-tile.large,
  .project-tile.wide {
    grid-column: span 1;
    grid-row: span 1;
  }

  .comparison {
    aspect-ratio: 4 / 5;
  }

  .comparison-before img {
    width: calc(100vw - 36px);
    height: 100%;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .floating-actions {
    right: 12px;
    bottom: 12px;
    grid-template-columns: 1fr 1fr;
    left: 12px;
  }

  .floating-actions a {
    min-width: 0;
  }
}

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