/* ============================================================
   Lomax Window & Door Co — Shared Stylesheet
   No build step. Served statically via Cloudflare Pages.
   ============================================================ */

/* ── Design tokens ── */
:root {
  --green: #18d233;
  --green-deep: #12a828;
  --green-tint: #ecffe9;

  --black: #0c0d0c;
  --ink: #161716;
  --ink-soft: #3b3d3a;
  --muted: #6b6e69;

  --white: #ffffff;
  --paper-2: #f4f5f3;
  --line: #e4e6e2;

  --gold: #f5b321;

  --accent: var(--green);

  --display: 'Oswald', 'Arial Narrow', sans-serif;
  --sans: 'Mulish', system-ui, sans-serif;

  --maxw: 1200px;
  --radius: 14px;
  --shadow-card: 0 1px 2px rgba(12,13,12,.05), 0 14px 30px -14px rgba(12,13,12,.2);
  --shadow-float: 0 28px 64px -20px rgba(12,13,12,.5);

  /* ── Spacing System ── */
  --space-xs: 24px;   /* Small gaps, line spacing */
  --space-sm: 48px;   /* Small sections, reduced spacing */
  --space-md: 72px;   /* Medium spacing, hero internal */
  --space-lg: 96px;   /* Large sections, primary spacing */
  --space-xl: 120px;  /* Extra large gaps */

  /* Responsive variants */
  --space-lg-tablet: 64px;
  --space-lg-mobile: 52px;
}

/* ── Reset & base ── */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.62;
  overflow-x: hidden;
  transition: overflow .2s ease;
}
body.nav-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.02; }
h1, h2 { text-transform: uppercase; letter-spacing: 0.005em; font-weight: 700; }

/* ── Lists ── */
ul, ol { margin: 16px 0; padding-left: 24px; }
li { margin: 8px 0; line-height: 1.6; }
ul ul, ol ol, ul ol, ol ul { margin-top: 8px; margin-bottom: 8px; }

@media (max-width: 560px) {
  ul, ol { padding-left: 20px; margin: 12px 0; }
  li { margin: 6px 0; font-size: 15px; }
}

/* ── Layout ── */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.eyebrow {
  font-family: var(--sans);
  font-size: 12.5px; font-weight: 800; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 26px; height: 4px; background: var(--green); display: inline-block; }
.eyebrow.center { justify-content: center; }
.eyebrow.light { color: #fff; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--sans); font-weight: 800; font-size: 15px; letter-spacing: .01em;
  padding: 14px 26px; border-radius: 9px; border: none; cursor: pointer;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease, color .2s ease;
  white-space: nowrap; min-height: 44px;
}
.btn-primary { background: var(--green); color: var(--black); box-shadow: 0 10px 22px -10px rgba(24,210,51,.7); }
.btn-primary:hover { background: var(--green-deep); transform: translateY(-1px); }
.btn-dark { background: var(--black); color: #fff; }
.btn-dark:hover { background: #000; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink); background: var(--paper-2); }
.btn-block { width: 100%; }
.btn-lg { padding: 17px 30px; font-size: 16px; }

/* ── Top bar ── */
.topbar { background: var(--black); color: #b9bdb8; font-size: 13px; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 40px; }
.topbar .left { display: flex; align-items: center; gap: 22px; }
.topbar .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); display: inline-block; margin-right: 9px; }
.topbar a { color: #fff; font-weight: 700; }
.topbar .right { display: flex; align-items: center; gap: 18px; }
.topbar .right a { color: var(--green); }
.topbar-phone-mobile { display: none; color: var(--green) !important; font-weight: 700; font-size: 13px; }
@media (max-width: 1023px) {
  .topbar .left span:not(.phone) { display: none; }
  .topbar .right { display: none; }
  .topbar-phone-mobile { display: inline; }
}
@media (max-width: 760px) {
  .topbar .left span:not(.phone) { display: none; }
  .topbar .right { display: none; }
  .topbar-phone-mobile { display: inline; }
}

/* ── Header & nav ── */
header.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5,12,8,.88); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(24,210,51,.12);
  transition: box-shadow .2s ease;
  width: 100%;
}
header.nav.scrolled { box-shadow: 0 8px 32px -8px rgba(0,0,0,.55), inset 0 -1px 0 rgba(24,210,51,.16); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand .mark {
  width: 44px; height: 34px; border-radius: 2px; background: none;
  display: flex; align-items: center; flex-shrink: 0; overflow: hidden;
}
.brand .mark svg { width: 44px; height: 34px; display: block; }
footer .brand .mark { border: 1px solid rgba(24,210,51,.2); border-radius: 2px; }
.brand .name { line-height: 1; }
.brand .name b { font-family: var(--display); font-size: 22px; font-weight: 700; letter-spacing: .01em; display: block; text-transform: uppercase; color: var(--ink); }
.brand .name small { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
/* Brand text inverted for dark header */
header.nav .brand .name b { color: #fff; }
header.nav .brand .name small { color: rgba(255,255,255,.48); }
.nav nav { display: flex; align-items: center; gap: 14px; }
.nav nav a { font-size: 13px; font-weight: 700; color: rgba(255,255,255,.65); position: relative; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; transition: color .15s ease; }
.nav nav a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 3px; background: var(--green); transition: width .2s ease; }
.nav nav a:hover { color: #fff; }
.nav nav a:hover::after { width: 100%; }
.nav nav a[aria-current="page"] { color: #fff; }
.nav nav a[aria-current="page"]::after { width: 100%; }
.nav nav a:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; border-radius: 3px; color: #fff; }
.nav .actions { display: flex; align-items: center; gap: 12px; }
.nav .phone-lg { font-weight: 800; color: rgba(255,255,255,.85); font-size: 14px; display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.nav .phone-lg svg { color: var(--green); }
/* Compact CTA button in desktop header only */
header.nav .btn-primary { padding: 11px 18px; font-size: 14px; }
@media (max-width: 1140px) {
  .nav nav, .nav .phone-lg { display: none; }
  .nav .actions .btn-primary { display: none; }
}
@media (max-width: 480px) {
  .brand .name b { font-size: 20px; }
  .brand .name small { font-size: 9px; }
  .brand .mark { width: 36px; height: 28px; }
  .brand .mark svg { width: 36px; height: 28px; }
}

/* ── Desktop dropdown nav ── */
.nav-dropdown { position: relative; }
.nav-dropdown-btn {
  display: inline-flex; align-items: center; gap: 4px;
  font-family: var(--sans); font-size: 13px; font-weight: 700;
  color: rgba(255,255,255,.65); text-transform: uppercase; letter-spacing: .04em;
  background: none; border: none; cursor: pointer; padding: 0;
  white-space: nowrap; transition: color .15s ease;
}
.nav-dropdown-btn:hover, .nav-dropdown-btn.active { color: #fff; }
.nav-dropdown-btn:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; border-radius: 3px; color: #fff; }
.nav-dropdown-btn { text-decoration: none; }
.nav-dropdown-btn .dd-chevron { transition: transform .2s ease; flex-shrink: 0; }
.nav-dropdown.is-open .nav-dropdown-btn .dd-chevron,
.nav-dropdown:hover .nav-dropdown-btn .dd-chevron { transform: rotate(180deg); }
.dropdown-menu {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%) translateY(0);
  background: rgba(3,10,6,.97); backdrop-filter: blur(20px);
  border: 1px solid rgba(24,210,51,.14); border-radius: 10px;
  padding: 6px 0; min-width: 210px;
  box-shadow: 0 20px 40px -8px rgba(0,0,0,.65);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  z-index: 200;
}
.nav-dropdown.is-open .dropdown-menu,
.nav-dropdown:hover .dropdown-menu {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.dropdown-menu a {
  display: block; padding: 10px 18px;
  font-family: var(--sans); font-size: 13px; font-weight: 700;
  color: rgba(255,255,255,.72); text-transform: uppercase; letter-spacing: .05em;
  white-space: nowrap; transition: color .12s ease, background .12s ease;
}
.dropdown-menu a:hover, .dropdown-menu a:focus-visible { color: #fff; background: rgba(24,210,51,.1); outline: none; }
.dropdown-menu a[aria-current="page"] { color: var(--green); }
.dropdown-menu .dropdown-header { font-weight: 900; color: var(--green); background: rgba(24,210,51,.08); border-bottom: 1px solid rgba(24,210,51,.2); }
.dropdown-menu .dropdown-header:hover { background: rgba(24,210,51,.15); color: #fff; }

/* ── Mobile nav accordion groups ── */
.mn-group-toggle {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  font-family: var(--sans); font-size: 15px; font-weight: 700;
  color: rgba(255,255,255,.72); text-transform: uppercase; letter-spacing: .06em;
  background: none; border: none; border-bottom: 1px solid rgba(255,255,255,.08);
  cursor: pointer; min-height: 48px; padding: 0;
  transition: color .15s ease;
}
.mn-group-toggle:hover, .mn-group-toggle.active { color: #fff; }
.mn-group-toggle[aria-expanded="true"] { color: #fff; border-bottom-color: transparent; }
.mn-group-toggle .mn-chevron { transition: transform .2s ease; flex-shrink: 0; }
.mn-group-toggle[aria-expanded="true"] .mn-chevron { transform: rotate(180deg); }
.mn-group-items { padding: 2px 0 8px 14px; border-bottom: 1px solid rgba(255,255,255,.08); display: none; }
.mn-group-items.is-open { display: block; }
.mn-group-items a {
  display: flex; align-items: center; min-height: 40px;
  font-family: var(--sans); font-size: 13px; font-weight: 700;
  color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: .05em;
  transition: color .12s ease;
}
.mn-group-items a:hover { color: var(--green); }
.mn-group-items a[aria-current="page"] { color: var(--green); }

/* ── Mobile nav ── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 10px;
  background: none; border: none; cursor: pointer;
  border-radius: 8px;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: rgba(255,255,255,.9);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
  pointer-events: none;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav {
  display: none;
  border-top: 1px solid rgba(24,210,51,.16);
  background: rgba(3,10,6,.96);
  backdrop-filter: blur(20px);
  padding: 8px 28px 24px;
  position: absolute;
  top: 100%; left: 0; right: 0;
  z-index: 49;
  box-shadow: 0 24px 48px -8px rgba(0,0,0,.65);
  max-height: calc(100vh - 118px);
  overflow-y: auto;
}
.mobile-nav.is-open { display: block; }
.mobile-nav nav { display: flex; flex-direction: column; margin-bottom: 4px; }
.mobile-nav nav a {
  font-size: 15px; font-weight: 700; color: rgba(255,255,255,.72);
  text-transform: uppercase; letter-spacing: .06em;
  border-bottom: 1px solid rgba(255,255,255,.08);
  display: flex; align-items: center; min-height: 48px;
  transition: color .15s ease;
}
.mobile-nav nav a:hover, .mobile-nav nav a:focus-visible { color: #fff; outline: none; }
.mobile-nav nav a:last-child { border-bottom: none; }
.mobile-nav .mn-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(24,210,51,.14); }
.mobile-nav .mn-phone {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 800; font-size: 16px; color: rgba(255,255,255,.85);
  min-height: 44px; padding: 10px;
  transition: color .15s ease;
}
.mobile-nav .mn-phone:hover { color: #fff; }
.mobile-nav .mn-phone svg { color: var(--green); }
@media (max-width: 1140px) { .nav-toggle { display: flex; } }

/* ── Tablet (iPad) nav optimization ── */
@media (min-width: 768px) and (max-width: 1023px) {
  .nav .wrap { height: 72px; }
  .brand .name b { font-size: 20px; }
  .brand .name small { font-size: 9px; }
  .nav-toggle { width: 48px; height: 48px; }
  .nav-toggle span { width: 24px; }
  .mobile-nav {
    padding: 12px 24px 28px;
    max-height: calc(100vh - 120px);
  }
  .mobile-nav nav a {
    font-size: 16px;
    min-height: 50px;
  }
  .mn-group-toggle {
    font-size: 16px;
    min-height: 50px;
    padding: 0 12px;
  }
  .mn-group-items {
    padding: 4px 0 12px 16px;
  }
  .mn-group-items a {
    min-height: 44px;
    font-size: 14px;
  }
  .mobile-nav .mn-actions {
    gap: 12px;
    margin-top: 20px;
  }
  .mobile-nav .mn-phone {
    font-size: 17px;
    min-height: 48px;
  }
}

/* ── Interior page hero ── */
.page-hero {
  background: var(--black);
  padding: var(--space-lg-tablet) 0;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.page-hero .eyebrow { color: rgba(255,255,255,.6); }
.page-hero .eyebrow::before { background: var(--green); }
.page-hero h1 { font-size: clamp(38px, 5vw, 62px); color: #fff; margin: 16px 0 0; }
.page-hero p { font-size: 17px; color: #b6bab3; max-width: 560px; margin: 16px auto 0; font-weight: 500; line-height: 1.6; }
@media (max-width: 560px) {
  .page-hero { padding: var(--space-lg-mobile) 0; }
  .page-hero h1 { font-size: clamp(32px, 9vw, 44px); }
}

/* ── Homepage hero ── */
.hero { position: relative; background: var(--black); }
.hero-bg { position: absolute; inset: 0; }
.hero-bg image-slot { width: 100%; height: 100%; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(8,9,8,.94) 0%, rgba(8,9,8,.82) 40%, rgba(8,9,8,.42) 68%, rgba(8,9,8,.2) 100%); }
.hero .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding-top: var(--space-md); padding-bottom: var(--space-md); min-height: 640px; }
/* Wide variant: single column, no form */
.hero--wide .wrap { grid-template-columns: 1fr; max-width: 800px; margin-right: auto; }
.hero--wide .hero-copy { max-width: 100%; }
.hero--wide .btn-primary { padding: 17px 30px; font-size: 16px; width: fit-content; }
.hero-copy { color: #f3f4f1; max-width: 580px; }
.hero-badges { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; flex-wrap: wrap; justify-content: flex-start; }
.hero-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(24,210,51,.14); border: 1px solid rgba(24,210,51,.4);
  padding: 7px 14px; border-radius: 7px; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #6cf06f;
}
.hero-pill svg { width: 14px; height: 14px; }
.hero h1 { font-size: clamp(44px, 5.6vw, 70px); color: #fff; margin-bottom: 20px; letter-spacing: 0; }
.hero h1 em { font-style: normal; color: var(--green); }
.hero .tag { font-size: 18px; color: #d4d7d1; max-width: 480px; margin-bottom: 30px; line-height: 1.55; }
.hero .tag b { color: #fff; font-weight: 800; }
.hero .ratingline { display: flex; align-items: center; gap: 12px; color: #d4d7d1; font-size: 14px; font-weight: 600; }
.hero-actions { display: flex; align-items: center; gap: 16px; margin-top: 30px; flex-wrap: wrap; }
.hero-actions .btn-outline-white {
  background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.35);
  font-family: var(--sans); font-weight: 800; font-size: 15px;
  padding: 14px 26px; border-radius: 9px; display: inline-flex; align-items: center; min-height: 44px;
  transition: background .2s ease, border-color .2s ease;
}
.hero-actions .btn-outline-white:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.6); }
.stars { display: inline-flex; gap: 2px; color: var(--gold); }
.stars svg { width: 17px; height: 17px; }
@media (max-width: 920px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; padding-top: var(--space-lg-tablet); padding-bottom: var(--space-lg-tablet); }
  .hero-overlay { background: linear-gradient(180deg, rgba(8,9,8,.78), rgba(8,9,8,.92)); }
  .hero-badges { justify-content: center; }
}

/* Featured section responsive grid */
@media (max-width: 860px) {
  section.block > .wrap > div[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
  }
}

/* ── Cinematic fixed-background section ── */
.cinematic-section {
  position: relative;
  min-height: 800px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
  margin: 96px 0;

  /* Full-width background image - NO overlay */
  background-image: url('../cinematic-wood-windows.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

.cinematic-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: none;
  z-index: 1;
  display: none;
}

.cinematic-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: none;
  z-index: 2;
  display: none;
}

.cinematic-content {
  position: relative;
  z-index: 3;
  max-width: 580px;
  width: 100%;
  min-height: 800px;
  padding: 80px 56px;
  background: rgba(0, 0, 0, 0.68);
  border-radius: 0;
  backdrop-filter: none;
  border: none;
  box-shadow: none;
  display: flex;
  flex-direction: column;
}

.cinematic-heading {
  font-family: var(--display);
  font-size: clamp(32px, 3.8vw, 48px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: #fff;
  margin: 0 0 32px 0;
  line-height: 1.1;
  text-align: left;
}

/* Tablet/Mobile: adjust panel and disable fixed background */
@media (max-width: 1024px) {
  .cinematic-section {
    justify-content: center;
  }

  .cinematic-content {
    margin-right: 0;
  }
}

@media (max-width: 860px) {
  .cinematic-section {
    min-height: auto;
    padding-top: 0;
    margin: 64px 0;
    background-attachment: scroll;
    justify-content: flex-start;
  }

  .cinematic-content {
    min-height: auto;
    padding: 64px 40px;
    max-width: 100%;
    margin-right: 0;
  }

  .cinematic-heading {
    font-size: clamp(28px, 5.5vw, 38px);
  }
}

/* ── Consultation form ── */
.form-card { background: var(--white); border-radius: 16px; padding: 30px 30px 28px; box-shadow: var(--shadow-float); border-top: 5px solid var(--green); scroll-margin-top: 136px; }
.form-card .fc-head { margin-bottom: 18px; }
.form-card h3 { font-size: 30px; color: var(--ink); margin-bottom: 5px; text-transform: uppercase; line-height: 1; }
.form-card .fc-sub { font-size: 13.5px; color: var(--muted); font-weight: 600; }
.field { margin-bottom: 12px; }
.field label { display: block; font-size: 11px; font-weight: 800; color: var(--ink-soft); margin-bottom: 5px; letter-spacing: .06em; text-transform: uppercase; }
.field input, .field select {
  width: 100%; font-family: var(--sans); font-size: 15px; font-weight: 500; color: var(--ink);
  padding: 12px 13px; border: 1.5px solid var(--line); border-radius: 8px; background: #fbfcfb;
  transition: border .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(24,210,51,.16); background: #fff; }
.field input.err, .field select.err { border-color: #e0461f; box-shadow: 0 0 0 3px rgba(224,70,31,.12); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fineprint { font-size: 11.5px; color: var(--muted); margin-top: 12px; text-align: center; font-weight: 600; }
.fineprint svg { width: 12px; height: 12px; vertical-align: -1px; }
.form-success { display: none; text-align: center; padding: 26px 6px; }
.form-success .check { width: 60px; height: 60px; border-radius: 50%; background: var(--green-tint); color: var(--green-deep); display: grid; place-items: center; margin: 0 auto 16px; }
.form-success .check svg { width: 32px; height: 32px; }
.form-success h3 { margin-bottom: 8px; text-transform: uppercase; }
.form-success p { color: var(--muted); font-size: 14.5px; font-weight: 500; }

/* ── Hero badge strip ── */
.hero-badge-strip { background: transparent; padding: clamp(20px, 3vw, 36px) 0; }
.hero-badge-strip__image { display: block; width: min(680px, 100%); height: auto; margin: 0; }
@media (max-width: 640px) { .hero-badge-strip { padding: clamp(16px, 3vw, 28px) 0; } .hero-badge-strip__image { width: min(600px, 100%); } }

/* ── Trust strip ── */
.trust { background: var(--black); }
.trust .wrap { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; }
.trust-item { padding: 32px 26px; color: #e6e8e4; display: flex; gap: 16px; align-items: flex-start; }
.trust-item + .trust-item { box-shadow: -1px 0 0 rgba(255,255,255,.09); }
.trust-ic { width: 42px; height: 42px; border-radius: 9px; background: rgba(24,210,51,.14); display: grid; place-items: center; flex-shrink: 0; color: var(--green); }
.trust-ic svg { width: 22px; height: 22px; }
.trust-item h4 { font-family: var(--display); font-size: 17px; font-weight: 600; text-transform: uppercase; color: #fff; margin-bottom: 4px; letter-spacing: .01em; }
.trust-item p { font-size: 13px; color: #a6aaa4; line-height: 1.45; font-weight: 500; }
@media (max-width: 880px) { .trust .wrap { grid-template-columns: 1fr 1fr; } .trust-item:nth-child(3) { box-shadow: none; } }
@media (max-width: 520px) { .trust .wrap { grid-template-columns: 1fr; } .trust-item + .trust-item { box-shadow: 0 -1px 0 rgba(255,255,255,.09); } }

/* ── Section base ── */
section[id] { scroll-margin-top: 120px; }
section.block { padding: var(--space-lg) 0; }
.section-head { max-width: 700px; margin-bottom: 46px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(34px, 4.4vw, 50px); margin: 18px 0 14px; }
.section-head p { font-size: 17px; color: var(--muted); font-weight: 500; }


/* ── Material cards ── */
.material-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.material-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); transition: transform .2s ease, box-shadow .2s ease; }
.material-card:hover { transform: translateY(-5px); box-shadow: 0 1px 2px rgba(12,13,12,.05), 0 26px 50px -18px rgba(12,13,12,.3); }
.material-card-body { padding: 32px 24px; display: flex; flex-direction: column; }
.material-card h3 { font-size: 22px; margin-bottom: 12px; text-transform: uppercase; line-height: 1; color: var(--ink); }
.material-card p { font-size: 15px; color: var(--muted); flex: 1; font-weight: 500; margin-bottom: 20px; line-height: 1.55; }
.material-link { font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); display: flex; align-items: center; gap: 8px; transition: gap .2s ease; }
.material-link svg { width: 16px; height: 16px; color: var(--green-deep); transition: transform .2s ease; }
.material-card:hover .material-link { gap: 12px; }
.material-card:hover .material-link svg { transform: translateX(4px); }
@media (max-width: 860px) { .material-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .material-cards { grid-template-columns: 1fr; } }


/* ── Reviews ── */
.rev-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.rev-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow-card); display: flex; flex-direction: column; }
.rev-card .stars { margin-bottom: 16px; }
.rev-card blockquote { font-size: 16.5px; line-height: 1.55; color: var(--ink); flex: 1; font-weight: 600; }
.rev-card .rev-by { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.rev-card .av { width: 44px; height: 44px; border-radius: 50%; background: var(--green); color: var(--black); display: grid; place-items: center; font-weight: 800; font-size: 17px; font-family: var(--display); }
.rev-card .rev-by b { display: block; font-size: 15px; font-weight: 800; }
.rev-card .rev-by span { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.rev-sources { display: flex; align-items: center; justify-content: center; gap: 26px; margin-top: 42px; color: var(--muted); font-size: 14px; flex-wrap: wrap; font-weight: 600; }
.rev-source { display: flex; align-items: center; gap: 9px; font-weight: 800; color: var(--ink); }
@media (max-width: 860px) { .rev-grid { grid-template-columns: 1fr; } }

/* ── Offer / discount ladder ── */
.offer { background: var(--black); color: #f1f2ef; position: relative; overflow: hidden; }
.offer::before { content: ""; position: absolute; right: -140px; top: -100px; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(24,210,51,.22), transparent 70%); }
.offer .wrap { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: 60px; align-items: center; }
.offer h2 { font-size: clamp(34px,4.4vw,52px); color: #fff; margin: 18px 0 16px; }
.offer p { color: #b6bab3; font-size: 15.5px; max-width: 430px; margin-bottom: 24px; font-weight: 500; }
.offer .small { font-size: 12.5px; color: #82867f; max-width: 430px; }
.ladder { display: grid; gap: 13px; }
.ladder-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 11px; padding: 18px 24px; transition: background .2s ease, border .2s ease, transform .2s ease; }
.ladder-row:hover { background: rgba(24,210,51,.1); border-color: rgba(24,210,51,.55); transform: translateX(4px); }
.ladder-row .qty { font-family: var(--display); font-size: 26px; font-weight: 700; color: #fff; min-width: 56px; }
.ladder-row .desc { font-size: 14px; color: #9da199; font-weight: 500; }
.ladder-row .pct { font-family: var(--display); font-size: 40px; font-weight: 700; color: var(--green); line-height: 1; }
@media (max-width: 860px) { .offer .wrap { grid-template-columns: 1fr; gap: 40px; } }

/* ── Service area ── */
.area .wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: 60px; align-items: center; }
.area-map image-slot { width: 100%; max-width: 400px; aspect-ratio: 300 / 169; border-radius: var(--radius); object-fit: contain; object-position: center; image-rendering: crisp-edges; }
.area h2 { font-size: clamp(30px,3.8vw,44px); margin: 18px 0 16px; }
.area > .wrap > div > p { font-size: 16px; color: var(--muted); margin-bottom: 24px; font-weight: 500; }
.area-list { display: grid; grid-template-columns: repeat(3,1fr); gap: 11px 18px; }
.area-list span { display: flex; align-items: center; gap: 9px; font-size: 14.5px; color: var(--ink); font-weight: 700; }
.area-list .pin { width: 8px; height: 8px; border-radius: 2px; background: var(--green); flex-shrink: 0; }
@media (max-width: 820px) { .area .wrap { grid-template-columns: 1fr; gap: 40px; } .area-list { grid-template-columns: 1fr 1fr; } }

/* ── Service area (centered variant) ── */
section.area-centered { padding-bottom: var(--space-sm); }
.area-centered .wrap { display: block; text-align: center; }
.area-content { max-width: 1000px; margin: 0 auto; text-align: center; }
.area-centered .eyebrow { margin-bottom: 12px; justify-content: center; }
.area-centered h2 { text-align: center; }
.area-centered p { text-align: center; }
.area-centered .area-list { margin: 24px auto 0; max-width: 600px; display: grid; grid-template-columns: repeat(3,1fr); gap: 11px 18px; }

/* ── CTA band ── */
.ctaband { background: var(--green); color: var(--black); padding: var(--space-md) 0; }
.ctaband .wrap { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 0 28px; flex-wrap: wrap; }
.ctaband h2 { font-size: clamp(28px,3.6vw,42px); color: var(--black); max-width: 640px; }
.ctaband p { color: rgba(12,13,12,.78); font-size: 16px; margin-top: 8px; font-weight: 600; }
.ctaband .cta-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.ctaband .cta-phone { color: var(--black); font-weight: 800; font-size: 17px; display: flex; align-items: center; gap: 8px; min-height: 44px; }

/* ── Footer ── */
footer { background: var(--black); color: #a6aaa4; padding: var(--space-lg) 0 var(--space-md); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
footer .brand .name b { color: #fff; }
footer .brand .name small { color: #7c807a; }
footer .foot-about { margin-top: 18px; font-size: 14px; line-height: 1.6; max-width: 290px; font-weight: 500; }
footer h5 { font-family: var(--display); color: #fff; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 16px; font-weight: 600; }
footer ul { list-style: none; display: grid; gap: 10px; padding-left: 0; }
footer ul a, footer ul li { font-size: 14px; color: #a6aaa4; font-weight: 500; }
footer ul a:hover { color: var(--green); }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 46px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; font-size: 13px; color: #7c807a; flex-wrap: wrap; font-weight: 500; }
@media (max-width: 820px) {
  section.block { padding: var(--space-lg-tablet) 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 480px) {
  section.block { padding: var(--space-lg-mobile) 0; }
  .foot-grid { grid-template-columns: 1fr; }
}

/* ── Scroll reveal ── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ── Mobile responsive overrides ── */
@media (max-width: 760px) {
  section.block { padding: 64px 0; }
  .section-head { margin-bottom: 32px; }
}
@media (max-width: 480px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  section.block { padding: 52px 0; }
}

/* Hero mobile */
@media (max-width: 560px) {
  .form-card { padding: 22px 18px 20px; }
  .field-row { grid-template-columns: 1fr; }
  .hero .wrap { gap: 28px; padding-top: 36px; padding-bottom: 44px; }
  .hero h1 { font-size: clamp(36px, 9vw, 46px); }
  .hero .tag { font-size: 16px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .form-card h3 { font-size: 24px; }
  .hero-pill { font-size: 11px; padding: 6px 11px; }
}

/* image-slot heights */
@media (max-width: 760px) {
  .svc-card image-slot { height: 180px; }
  .about-imgs image-slot.main { height: 320px; }
  .area-map image-slot { max-width: 320px; aspect-ratio: 300 / 169; }
}
@media (max-width: 480px) {
  .svc-card image-slot { height: 160px; }
  .about-imgs image-slot.main { height: 260px; }
  .area-map image-slot { max-width: 280px; aspect-ratio: 300 / 169; }
}

/* Responsive grid layouts for image/text sections */
@media (max-width: 1024px) {
  .reveal > [style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
  [style*="grid-template-columns: 1fr 1fr"] { grid-template-columns: 1fr !important; }
  [style*="display:grid;"] [style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
}

@media (max-width: 860px) {
  .block [style*="display:grid"] { grid-template-columns: 1fr !important; }
  [style*="gap:48px"] { gap: 32px !important; }
  [style*="margin-bottom:80px"] { margin-bottom: 48px !important; }
  .section-head { margin-bottom: 24px; }
}

@media (max-width: 560px) {
  .block [style*="display:grid"] { gap: 24px !important; }
  [style*="gap:48px"] { gap: 24px !important; }
  [style*="margin-bottom:80px"] { margin-bottom: 40px !important; }
  .btn-lg { padding: 14px 20px; font-size: 14px; }
  .section-head { max-width: 100%; margin-bottom: 20px; }
  .section-head h2 { margin-bottom: 12px; }
}

/* Offer ladder narrow */
@media (max-width: 480px) {
  .ladder-row { padding: 14px 16px; gap: 12px; }
  .ladder-row .qty { font-size: 20px; min-width: 44px; }
  .ladder-row .desc { font-size: 13px; }
  .ladder-row .pct { font-size: 32px; }
}

/* CTA band mobile */
@media (max-width: 640px) {
  .ctaband .wrap { flex-direction: column; align-items: flex-start; padding: 44px 16px; }
  .ctaband .cta-actions { width: 100%; flex-direction: column; align-items: stretch; }
  .ctaband .cta-actions .btn { text-align: center; justify-content: center; }
  .ctaband .cta-phone { justify-content: center; }
}

/* ── Contact page: info + form grid ── */
.contact-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 48px; align-items: start; max-width: 880px; margin: 0 auto; }
@media (max-width: 760px) { .contact-layout { grid-template-columns: 1fr; gap: 32px; } }

/* ── Team grid (about.html, uses .card--team component) ── */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 860px) { .team-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .team-grid { grid-template-columns: 1fr; } }

/* ── Card component (base + modifiers) ── */
.card { display: flex; flex-direction: column; align-items: center; text-align: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-card); }
.card--feature { gap: 16px; padding: 32px 24px; }
.card--team { gap: 8px; padding: 16px 24px 28px 24px; }
.card--team img { width: 185px; height: 185px; border-radius: 50%; object-fit: cover; object-position: center; flex-shrink: 0; border: 3px solid var(--green); }
.card--team .team-initials { width: 185px; height: 185px; border-radius: 50%; background: var(--green); color: var(--black); display: grid; place-items: center; font-family: var(--display); font-size: 40px; font-weight: 700; flex-shrink: 0; }
.card--team b { display: block; font-size: 16px; font-weight: 800; color: var(--ink); margin-top: 4px; }
.card--team span { font-size: 13px; color: var(--muted); font-weight: 600; }
.card--feature img { width: 100px; height: 100px; object-fit: contain; flex-shrink: 0; }
.card--feature h3 { font-size: 16px; font-weight: 700; color: var(--ink); margin: 0; }
.card--feature p { font-size: 14px; color: var(--ink-soft); line-height: 1.5; margin: 0; }
.card--specialty { padding: 32px 24px; transition: box-shadow 0.2s ease, transform 0.2s ease; }
.card--specialty:hover { box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1); transform: translateY(-2px); }
.card--specialty > div:first-child { width: 80px; height: 80px; margin: 0 auto 20px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.card--specialty > div:first-child img { width: 100%; height: 100%; object-fit: contain; }
.card--specialty h3 { font-family: var(--display); font-size: 18px; font-weight: 600; text-transform: uppercase; color: var(--ink); margin: 0 0 12px 0; letter-spacing: 0.01em; line-height: 1.2; }
.card--specialty p { font-size: 14.5px; color: var(--muted); line-height: 1.6; margin: 0; flex-grow: 1; }
@media (max-width: 900px) { .card--specialty { padding: 24px 20px; } .card--specialty > div:first-child { width: 70px; height: 70px; margin-bottom: 16px; } .card--specialty h3 { font-size: 16px; margin-bottom: 10px; } .card--specialty p { font-size: 14px; } }
@media (max-width: 560px) { .card--specialty { padding: 20px 16px; } .card--specialty > div:first-child { width: 60px; height: 60px; margin-bottom: 12px; } .card--specialty h3 { font-size: 15px; margin-bottom: 8px; } .card--specialty p { font-size: 13px; } }

/* ── Feature card grid (uses .card--feature component) ── */
.feature-grid-4col { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 1040px) { .feature-grid-4col { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .feature-grid-4col { grid-template-columns: 1fr; } }

/* ── Brand logo strip (window-brands.html) ── */
.brand-card-logo { display: flex; align-items: center; padding: 16px 0 0; }
.brand-card-logo img { height: 36px; width: auto; opacity: .85; filter: brightness(0) invert(1); }
/* Brand card product image */
.brand-card-img { width: 100%; aspect-ratio: 16/10; object-fit: cover; object-position: center; display: block; }

/* ── Window type card images (window-types.html) ── */
.type-card-img { display: block; width: calc(100% + 48px); height: 180px; object-fit: cover; object-position: center; border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0; margin: -24px -24px 20px -24px; }
@media (max-width: 760px) { .type-card-img { height: 160px; } }

/* ── Brand cards (window-brands.html) ── */
.brand-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.brand-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); display: flex; flex-direction: column; }
.brand-card-head { background: var(--black); padding: 24px 26px 20px; }
.brand-card-head h3 { color: #fff; font-size: 26px; text-transform: uppercase; margin-bottom: 4px; line-height: 1; }
.brand-card-head .brand-tag { font-size: 11px; color: var(--green); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.brand-card-body { padding: 22px 26px 26px; flex: 1; display: flex; flex-direction: column; }
.brand-card-body p { font-size: 14.5px; color: var(--muted); font-weight: 500; line-height: 1.6; flex: 1; }
.brand-facts { display: flex; flex-wrap: wrap; gap: 8px 0; margin: 14px 0 18px; list-style: none; }
.brand-facts li { font-size: 13px; font-weight: 700; color: var(--ink); width: 100%; display: flex; align-items: flex-start; gap: 9px; }
.brand-facts li::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--green); display: inline-block; flex-shrink: 0; margin-top: 5px; }
@media (max-width: 760px) { .brand-grid { grid-template-columns: 1fr; } }

/* ── Window type cards (window-types.html) ── */
.type-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.type-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-card); display: flex; flex-direction: column; overflow: hidden; }
.type-card-head { background: var(--black); padding: 24px 26px 20px; }
.type-card-head h3 { color: #fff; font-size: 24px; text-transform: uppercase; margin: 0; line-height: 1; font-weight: 700; text-align: center; }
.type-tag { font-size: 11px; color: var(--green); font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; display: block; margin-bottom: 6px; text-align: center; }
.type-card-img { display: block; width: 100%; height: 180px; object-fit: cover; object-position: center; border-radius: 0; margin: 0; }
.type-card p { font-size: 14.5px; color: var(--muted); font-weight: 500; line-height: 1.6; padding: 22px 26px 0 26px; margin: 0 0 16px 0; flex: 1; }
.type-card > a { display: inline-block; padding: 12px 26px; margin: 0 26px 26px 26px; background: var(--green); color: var(--black); text-decoration: none; font-weight: 700; font-size: 14px; border-radius: 4px; transition: background 0.2s; text-transform: uppercase; letter-spacing: 0.05em; }
.type-card > a:hover { background: var(--green-deep); }
.type-card > a svg { display: none; }
@media (max-width: 860px) { .type-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .type-grid { grid-template-columns: 1fr; } }

/* ── Signs callout strip ── */
.signs-strip { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 30px; margin-top: 40px; }
.signs-strip h4 { font-family: var(--display); font-size: 19px; font-weight: 600; text-transform: uppercase; color: var(--ink); margin-bottom: 14px; }
.signs-list { display: flex; flex-wrap: wrap; gap: 10px 28px; list-style: none; }
.signs-list li { font-size: 14.5px; font-weight: 700; color: var(--ink-soft); display: flex; align-items: center; gap: 8px; }
.signs-list li::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--green); display: inline-block; flex-shrink: 0; }

/* ════════════════════════════════════════════════════════════
   Legacy Trust Hero Component
   Reusable banner with background, heading, trust badges, CTA.
   Add/remove entire component via comments in HTML.
   ════════════════════════════════════════════════════════════ */
.legacy-trust-hero {
  position: relative; background-size: cover; background-position: center;
  background-repeat: no-repeat; background-attachment: fixed; min-height: 220px; display: flex;
  align-items: center; justify-content: center; margin-bottom: 0;
}
.legacy-trust-hero::before {
  content: ""; position: absolute; inset: 0;
  background: rgba(12, 13, 12, 0.65); z-index: 1;
}
.legacy-trust-hero__inner {
  position: relative; z-index: 2; text-align: center; max-width: 900px;
  padding: 20px 28px; width: 100%;
}
.legacy-trust-hero__title {
  font-family: var(--display); font-size: clamp(32px, 6vw, 52px);
  font-weight: 700; text-transform: uppercase; color: #fff;
  margin-bottom: 8px; line-height: 1.1; letter-spacing: 0.01em;
}
.legacy-trust-hero__badges {
  display: flex; justify-content: center; align-items: center;
  gap: 20px; flex-wrap: wrap; margin-bottom: 12px;
}
.legacy-trust-hero__badge {
  display: flex; flex-direction: column; align-items: center;
  gap: 10px; text-align: center; color: #fff; font-size: 13px;
  font-weight: 600; max-width: 120px;
}
.legacy-trust-hero__badge-icon {
  width: 50px; height: 50px; border-radius: 50%;
  background: rgba(24, 210, 51, 0.2); border: 2px solid var(--green);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
}
.legacy-trust-hero__cta {
  display: inline-block; padding: 14px 36px; background: var(--green);
  color: var(--black); font-weight: 700; font-size: 15px;
  border-radius: 8px; text-transform: uppercase; letter-spacing: 0.02em;
  transition: all 0.2s ease; text-decoration: none;
}
.legacy-trust-hero__cta:hover {
  background: var(--green-deep); transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(24, 210, 51, 0.3);
}

@media (max-width: 760px) {
  .legacy-trust-hero { min-height: 180px; margin-bottom: 24px; }
  .legacy-trust-hero__inner { padding: 16px 20px; }
  .legacy-trust-hero__title { font-size: clamp(26px, 5vw, 40px); margin-bottom: 6px; }
  .legacy-trust-hero__badges { gap: 12px; margin-bottom: 8px; }
  .legacy-trust-hero__badge { font-size: 12px; max-width: 100px; }
  .legacy-trust-hero__badge-icon { width: 44px; height: 44px; font-size: 20px; }
  .legacy-trust-hero__cta { padding: 12px 28px; font-size: 14px; }
}

/* First section after legacy-trust-hero should use tighter spacing */
.legacy-trust-hero + section.block { padding-top: var(--space-sm); }

/* ── End legacy trust hero component ── */

/* ── Transform Home Hero Section ── */
.transform-home-hero {
  min-height: 240px;
  margin: var(--space-md) 0;
}

.transform-home-hero .legacy-trust-hero__title {
  font-size: clamp(36px, 5vw, 52px);
  margin-bottom: 18px;
}

@media (max-width: 760px) {
  .transform-home-hero {
    min-height: 200px;
    margin: var(--space-lg-tablet) 0;
  }
  .transform-home-hero .legacy-trust-hero__title {
    font-size: clamp(28px, 5vw, 40px);
  }
}

@media (max-width: 560px) {
  .transform-home-hero {
    min-height: 180px;
    margin: var(--space-lg-mobile) 0;
  }
}

/* ── End Transform Home Hero Section ── */

/* ── Window Replacement & Installation Section ── */
.window-services .wrap {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}

.window-services__content {
  display: contents;
}

.window-services__text {
  display: flex; flex-direction: column;
}

.window-services__text h2 {
  font-size: clamp(32px, 4.4vw, 48px);
  margin: 0 0 20px 0;
  color: var(--ink);
}

.window-services__text > p {
  font-size: 16px;
  color: var(--ink-soft);
  margin-bottom: 32px;
  line-height: 1.65;
}

.window-services__features {
  display: grid; gap: 24px; margin-bottom: 32px;
}

.feature-block {
  display: flex; flex-direction: column;
}

.feature-block h3 {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 10px 0;
  letter-spacing: 0.01em;
}

.feature-block p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
  font-weight: 500;
}

.window-services__image {
  width: 100%;
}

.window-services__image image-slot {
  width: 100%;
  height: 400px;
  border-radius: var(--radius);
  overflow: hidden;
}

@media (max-width: 900px) {
  .window-services .wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .window-services__image image-slot {
    height: 320px;
  }
}

@media (max-width: 560px) {
  .window-services__text h2 {
    font-size: clamp(28px, 5vw, 40px);
    margin-bottom: 16px;
  }

  .window-services__text > p {
    font-size: 15px;
    margin-bottom: 24px;
  }

  .window-services__features {
    gap: 20px;
    margin-bottom: 24px;
  }

  .feature-block h3 {
    font-size: 16px;
    margin-bottom: 8px;
  }

  .feature-block p {
    font-size: 14px;
  }

  .window-services__image image-slot {
    height: 240px;
  }
}

/* ── End Window Replacement Section ── */

/* ── Door Replacement & Installation Section ── */
.door-services .wrap {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}

.door-services__content {
  display: contents;
}

.door-services__text {
  display: flex; flex-direction: column;
}

.door-services__text h2 {
  font-size: clamp(32px, 4.4vw, 48px);
  margin: 0 0 20px 0;
  color: var(--ink);
}

.door-services__text > p {
  font-size: 16px;
  color: var(--ink-soft);
  margin-bottom: 32px;
  line-height: 1.65;
}

.door-services__features {
  display: grid; gap: 24px; margin-bottom: 32px;
}

.door-services__image {
  width: 100%;
}

.door-services__image image-slot {
  width: 100%;
  height: 400px;
  border-radius: var(--radius);
  overflow: hidden;
}

@media (max-width: 900px) {
  .door-services .wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .door-services__image image-slot {
    height: 320px;
  }
}

@media (max-width: 560px) {
  .door-services__text h2 {
    font-size: clamp(28px, 5vw, 40px);
    margin-bottom: 16px;
  }

  .door-services__text > p {
    font-size: 15px;
    margin-bottom: 24px;
  }

  .door-services__features {
    gap: 20px;
    margin-bottom: 24px;
  }

  .door-services__image image-slot {
    height: 240px;
  }
}

/* ── End Door Replacement Section ── */

/* ── Our Services Section ── */
.our-services {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: var(--space-md) 0;
  overflow: hidden;
}

.our-services__overlay {
  position: relative;
  z-index: 2;
  max-width: 760px;
  width: calc(100% - 64px);
  background: rgba(0, 0, 0, 0.62);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(56px, 8vw, 96px) clamp(32px, 5vw, 72px);
}

.our-services__content {
  max-width: 560px;
  text-align: center;
  color: #fff;
  margin: 0 auto;
}

.our-services__content h2 {
  font-family: var(--display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 24px 0;
  letter-spacing: 0.01em;
  line-height: 1.1;
}

.our-services__content p {
  font-size: 16px;
  color: #e6e8e4;
  margin: 0 0 16px 0;
  line-height: 1.65;
  font-weight: 500;
}

.our-services__content p:last-of-type {
  margin-bottom: 32px;
}

.our-services__content .btn {
  display: inline-flex;
}

@media (max-width: 900px) {
  .our-services {
    min-height: 320px;
    margin: var(--space-lg-tablet) 0;
  }

  .our-services__overlay {
    max-width: calc(100% - 32px);
    padding: 48px 24px;
  }

  .our-services__content h2 {
    font-size: clamp(28px, 4.5vw, 44px);
    margin-bottom: 18px;
  }

  .our-services__content p {
    font-size: 15px;
  }

  .our-services__content p:last-of-type {
    margin-bottom: 24px;
  }
}

@media (max-width: 560px) {
  .our-services {
    min-height: 280px;
    margin: var(--space-lg-mobile) 0;
  }

  .our-services__overlay {
    max-width: calc(100% - 32px);
    padding: 40px 16px;
  }

  .our-services__content h2 {
    font-size: clamp(24px, 5vw, 36px);
    margin-bottom: 14px;
  }

  .our-services__content p {
    font-size: 14px;
  }

  .our-services__content p:last-of-type {
    margin-bottom: 20px;
  }
}

/* ── End Our Services Section ── */

/* ── Trained Experts Section ── */
.trained-experts {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: var(--space-md) 0;
  overflow: hidden;
}

.trained-experts__overlay {
  position: relative;
  z-index: 2;
  max-width: 760px;
  width: calc(100% - 64px);
  background: rgba(0, 0, 0, 0.68);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(72px, 8vw, 120px) clamp(48px, 6vw, 96px);
}

.trained-experts__content {
  max-width: 560px;
  text-align: left;
  color: #fff;
}

.trained-experts__content h2 {
  font-family: var(--display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 24px 0;
  letter-spacing: 0.01em;
  line-height: 1.1;
}

.trained-experts__content p {
  font-size: 16px;
  color: #e6e8e4;
  margin: 0 0 32px 0;
  line-height: 1.65;
  font-weight: 500;
}

.trained-experts__content .btn {
  display: inline-flex;
}

@media (max-width: 900px) {
  .trained-experts {
    min-height: 320px;
    margin: var(--space-lg-tablet) 0;
  }

  .trained-experts__overlay {
    max-width: calc(100% - 32px);
    padding: 48px 24px;
  }

  .trained-experts__content h2 {
    font-size: clamp(28px, 4.5vw, 44px);
    margin-bottom: 18px;
  }

  .trained-experts__content p {
    font-size: 15px;
    margin-bottom: 24px;
  }
}

@media (max-width: 560px) {
  .trained-experts {
    min-height: 280px;
    margin: var(--space-lg-mobile) 0;
  }

  .trained-experts__overlay {
    max-width: calc(100% - 32px);
    padding: 40px 16px;
  }

  .trained-experts__content h2 {
    font-size: clamp(24px, 5vw, 36px);
    margin-bottom: 14px;
  }

  .trained-experts__content p {
    font-size: 14px;
    margin-bottom: 20px;
  }
}

/* ── End Trained Experts Section ── */

/* ── Our Specialties Section ── */
.our-specialties {
  background-color: #f8f9f7;
  padding: var(--space-md) 0;
}

.our-specialties__header {
  text-align: center;
  margin-bottom: var(--space-md);
}

.our-specialties__header h2 {
  font-family: var(--display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 16px 0;
  letter-spacing: 0.01em;
}

.our-specialties__header p {
  font-size: 16px;
  color: var(--ink-soft);
  margin: 0;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.65;
}

.our-specialties__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}


/* ── End Our Specialties Section ── */

/* ── Skip link (keyboard accessibility) ── */
.skip-link {
  position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden;
}
.skip-link:focus-visible {
  position: fixed; top: 16px; left: 16px; width: auto; height: auto; overflow: visible;
  padding: 11px 20px; background: var(--green); color: var(--black);
  font-family: var(--sans); font-weight: 800; font-size: 14px; border-radius: 8px;
  z-index: 9999; outline: 3px solid #fff; outline-offset: 2px;
}

/* ── Global focus-visible (non-nav contexts) ── */
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.btn:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; box-shadow: 0 0 0 4px rgba(24,210,51,.25); }
.field input:focus-visible, .field select:focus-visible { outline: none; }
