/* =========================================================
   Kosmar Windows — Site Styles
   Palette derived from logo: deep navy frame + pale glass blue
   ========================================================= */

:root {
  /* Brand color */
  --navy-900: #0B1A33;
  --navy-800: #0E1F3A;     /* primary navy from logo */
  --navy-700: #18305A;
  --navy-600: #234781;
  --navy-500: #3D67A3;

  --glass-50:  #F2F6FB;
  --glass-100: #E5ECF5;
  --glass-200: #CFDBEA;
  --glass-300: #9FB6CF;    /* pale glass from logo */
  --glass-400: #7C97B7;

  --bg:         #FBFBFB;
  --surface:    #FFFFFF;
  --surface-2:  #F4F6FA;
  --line:       #E3E7EE;
  --line-strong:#CBD4E0;

  --ink:        #0E1F3A;
  --ink-2:      #243349;
  --muted:      #5B6B82;
  --faint:      #8A98AD;

  --accent:     #C9A23A;   /* a single warm trust accent, used sparingly */

  /* Type */
  --font-sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

  /* Sizing */
  --container: 1180px;
  --radius-sm: 6px;
  --radius:    12px;
  --radius-lg: 20px;

  --shadow-sm: 0 1px 2px rgba(14, 31, 58, .06), 0 1px 1px rgba(14, 31, 58, .04);
  --shadow:    0 10px 30px -12px rgba(14, 31, 58, .18), 0 2px 6px rgba(14, 31, 58, .06);
  --shadow-lg: 0 30px 60px -20px rgba(14, 31, 58, .28);

  --ease: cubic-bezier(.16,1,.3,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--navy-700); text-decoration: none; }
a:hover { color: var(--navy-800); }
button { font: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  color: var(--ink);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2rem, 4.6vw + .5rem, 3.8rem); font-weight: 800; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.6rem, 2.2vw + .6rem, 2.4rem); letter-spacing: -0.02em; }
h3 { font-size: 1.18rem; }
h4 { font-size: 0.95rem; }

p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy-800); color: #fff; padding: 10px 14px;
  z-index: 1000;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: clamp(64px, 9vw, 120px) 0; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy-600);
  margin-bottom: 14px;
}

.section-head {
  max-width: 740px;
  margin: 0 auto clamp(36px, 5vw, 60px);
  text-align: center;
}
.section-head--left { text-align: left; margin-left: 0; }
.section-head .lede { color: var(--muted); font-size: 1.06rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform .15s var(--ease), background-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
  white-space: nowrap;
}
.btn-lg { padding: 15px 26px; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--navy-800);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(14, 31, 58, .55);
}
.btn-primary:hover { background: var(--navy-900); color: #fff; transform: translateY(-1px); box-shadow: 0 12px 24px -8px rgba(14, 31, 58, .6); }

.btn-ghost {
  background: transparent;
  color: var(--navy-800);
  border-color: var(--line-strong);
}
.btn-ghost:hover { background: var(--surface-2); border-color: var(--navy-500); color: var(--navy-800); }
.btn-ghost--light {
  color: #fff; border-color: rgba(255,255,255,.4);
}
.btn-ghost--light:hover {
  background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.7);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 24px;
}
.brand { display: inline-flex; align-items: center; }
.brand-mark {
  height: 44px; width: auto;
  display: block;
}
.primary-nav {
  display: flex; align-items: center; gap: 28px;
  margin-left: 8px;
}
.primary-nav a {
  color: var(--ink-2);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 0;
  position: relative;
}
.primary-nav a:hover { color: var(--navy-800); }
.primary-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 2px;
  height: 2px; background: var(--navy-700);
  transition: right .25s var(--ease);
}
.primary-nav a:hover::after { right: 0; }

.header-cta {
  margin-left: auto;
  display: flex; align-items: center; gap: 14px;
}
.phone-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--ink); font-weight: 600; font-size: 0.95rem;
}
.phone-link:hover { color: var(--navy-800); }

.menu-toggle {
  display: none;
  margin-left: auto;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 9px 10px;
  width: 42px; height: 42px;
  flex-direction: column; justify-content: center; gap: 4px;
  align-items: stretch;
}
.menu-toggle span {
  display: block; height: 2px; background: var(--navy-800); border-radius: 2px;
}

.mobile-menu {
  display: none;
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 14px 24px 22px;
  flex-direction: column;
  gap: 6px;
}
.mobile-menu a {
  display: block; padding: 12px 4px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2); font-weight: 500;
}
.mobile-menu a.btn { margin-top: 10px; border-bottom: none; }
.mobile-menu a.btn-primary { color: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 600px at 85% -10%, rgba(159,182,207,.35), transparent 60%),
    linear-gradient(180deg, #FFFFFF 0%, #F3F6FB 100%);
  border-bottom: 1px solid var(--line);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(14,31,58,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14,31,58,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, transparent 0, #000 25%, #000 70%, transparent 100%);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  align-items: center;
  padding-top: clamp(60px, 8vw, 110px);
  padding-bottom: clamp(72px, 9vw, 130px);
  position: relative;
}
.hero-copy h1 {
  color: var(--ink);
  max-width: 16ch;
}
.hero-sub {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 56ch;
  margin-bottom: 28px;
}
.hero-ctas {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-bottom: 28px;
}
.hero-trust {
  list-style: none;
  display: flex; flex-wrap: wrap;
  gap: 8px 22px;
  color: var(--ink-2);
  font-size: 0.92rem;
  font-weight: 500;
}
.hero-trust li {
  display: inline-flex; align-items: center; gap: 8px;
}
.hero-trust span {
  display: inline-grid; place-items: center;
  width: 18px; height: 18px;
  background: var(--navy-800); color: #fff;
  border-radius: 50%; font-size: 11px; font-weight: 700;
}

/* hero visual: real project photo with layered job thumbnails */
.hero-visual {
  display: grid; place-items: center;
  position: relative;
  min-height: 520px;
}
.hero-photo-card {
  width: min(560px, 100%);
  margin: 0;
  border-radius: 28px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(203, 212, 224, .9);
  box-shadow: var(--shadow-lg);
  transform: rotate(-1.5deg);
  position: relative;
  z-index: 2;
}
.hero-photo-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}
.hero-photo-card figcaption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 15px 18px;
  color: var(--ink);
  font-weight: 700;
  background: #fff;
}
.hero-photo-card figcaption span {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--navy-600);
}
.hero-photo-stack {
  position: absolute;
  inset: auto 0 -18px auto;
  display: grid;
  grid-template-columns: 120px 120px;
  gap: 12px;
  z-index: 3;
}
.hero-photo-stack div {
  aspect-ratio: 1 / 1;
  border: 8px solid #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 38px -18px rgba(14, 31, 58, .5);
  background: #fff;
}
.hero-photo-stack div:nth-child(2) {
  transform: translateY(24px);
}
.hero-photo-stack img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.window-frame {
  --frame: 14px;
  width: min(440px, 90%);
  aspect-ratio: 4 / 5;
  background: var(--navy-800);
  border-radius: 6px;
  padding: var(--frame);
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: var(--frame);
  box-shadow:
    0 50px 80px -30px rgba(14, 31, 58, .45),
    0 20px 40px -20px rgba(14, 31, 58, .25);
  transform: rotate(-2deg);
}
.window-frame .pane {
  background:
    linear-gradient(135deg, rgba(255,255,255,.55), rgba(255,255,255,0) 45%),
    linear-gradient(180deg, #DCE7F3 0%, #B8CADE 100%);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}
.window-frame .pane::after {
  content: "";
  position: absolute;
  top: -10%; left: -20%;
  width: 40%; height: 140%;
  background: linear-gradient(115deg, rgba(255,255,255,.55), rgba(255,255,255,0));
  transform: rotate(15deg);
}

/* ---------- Stat strip ---------- */
.stats {
  background: var(--navy-800);
  color: #fff;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 28px 24px;
}
.stats-grid > div {
  display: flex; flex-direction: column;
  padding: 6px 0;
  border-left: 1px solid rgba(255,255,255,.12);
  padding-left: 18px;
}
.stats-grid > div:first-child { border-left: none; padding-left: 0; }
.stats-grid strong { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.01em; }
.stats-grid span { color: rgba(255,255,255,.7); font-size: 0.88rem; }

/* ---------- Services ---------- */
.services { background: var(--surface); }
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.manufacturer-card {
  max-width: 760px;
  margin: -24px auto 34px;
  padding: 18px 22px;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "label copy"
    "logo copy";
  gap: 6px 22px;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(255,255,255,.95), rgba(244,246,250,.95));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.manufacturer-card span {
  grid-area: label;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--navy-600);
}
.manufacturer-card img {
  grid-area: logo;
  width: 246px;
  height: auto;
  max-width: 100%;
}
.manufacturer-card p {
  grid-area: copy;
  margin: 0;
  color: var(--muted);
  font-weight: 600;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--glass-300);
}
.service-card h3 { font-size: 1.35rem; margin-bottom: 10px; }
.service-card p { color: var(--muted); }

.service-visual {
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(160deg, var(--navy-800), var(--navy-700) 65%, var(--navy-600));
  border-radius: var(--radius);
  display: grid; place-items: center;
  margin-bottom: 22px;
  overflow: hidden;
  position: relative;
}
.service-visual::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 28px 28px;
}
.mini-window {
  --f: 10px;
  width: 55%;
  aspect-ratio: 4 / 5;
  background: #0B1A33;
  border-radius: 4px;
  padding: var(--f);
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: var(--f);
  position: relative;
  box-shadow: 0 18px 30px -12px rgba(0,0,0,.45);
}
.mini-window > div {
  background: linear-gradient(180deg, #DCE7F3, #B8CADE);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}
.mini-window > div::after {
  content: "";
  position: absolute; top: -10%; left: -25%;
  width: 45%; height: 140%;
  background: linear-gradient(115deg, rgba(255,255,255,.55), rgba(255,255,255,0));
  transform: rotate(15deg);
}

.service-visual--door .mini-door {
  --f: 10px;
  width: 75%;
  aspect-ratio: 16 / 11;
  background: #0B1A33;
  border-radius: 4px;
  padding: var(--f);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--f);
  position: relative;
  box-shadow: 0 18px 30px -12px rgba(0,0,0,.45);
}
.mini-door-fixed, .mini-door-slide {
  background: linear-gradient(180deg, #DCE7F3, #B8CADE);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}
.mini-door-fixed::after, .mini-door-slide::after {
  content: "";
  position: absolute; top: -10%; left: -25%;
  width: 45%; height: 140%;
  background: linear-gradient(115deg, rgba(255,255,255,.55), rgba(255,255,255,0));
  transform: rotate(15deg);
}
.mini-door-slide {
  border: 1px solid rgba(11,26,51,.4);
}

/* check list */
.check-list {
  list-style: none;
  margin-top: 14px;
  display: grid; gap: 8px;
}
.check-list li {
  padding-left: 26px;
  position: relative;
  color: var(--ink-2);
  font-size: 0.96rem;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 6px;
  width: 16px; height: 16px;
  border-radius: 4px;
  background: var(--glass-100);
  border: 1px solid var(--glass-200);
}
.check-list li::after {
  content: "";
  position: absolute;
  left: 4px; top: 9px;
  width: 8px; height: 4px;
  border-left: 2px solid var(--navy-800);
  border-bottom: 2px solid var(--navy-800);
  transform: rotate(-45deg);
}

/* ---------- Divider strip ---------- */
.divider {
  background: var(--navy-800);
  padding: 28px 0;
  overflow: hidden;
}
.divider-row {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 14px;
  padding: 0 24px;
  max-width: var(--container);
  margin: 0 auto;
}
.window-tile {
  aspect-ratio: 3 / 4;
  background:
    linear-gradient(135deg, rgba(255,255,255,.18), rgba(255,255,255,0) 50%),
    linear-gradient(180deg, #DCE7F3, #92AAC4);
  border: 2px solid #0B1A33;
  border-radius: 3px;
  position: relative;
}
.window-tile::before, .window-tile::after {
  content: "";
  position: absolute;
  background: #0B1A33;
}
.window-tile::before {
  top: 0; bottom: 0; left: calc(50% - 1px); width: 2px;
}
.window-tile::after {
  left: 0; right: 0; top: calc(50% - 1px); height: 2px;
}

/* ---------- Benefits ---------- */
.why { background: var(--surface-2); }

/* ---------- Recent work gallery ---------- */
.gallery {
  background:
    radial-gradient(700px 380px at 0% 10%, rgba(159,182,207,.18), transparent 70%),
    var(--surface);
}
.job-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-flow: dense;
  gap: 18px;
}
.job-card {
  min-height: 320px;
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--surface-2);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.job-card--wide {
  grid-column: span 2;
}
.job-card img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  transition: transform .45s var(--ease);
}
.job-card:hover img {
  transform: scale(1.035);
}
.job-card figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.9);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.88rem;
  box-shadow: 0 10px 28px -18px rgba(14, 31, 58, .6);
}
.gallery-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-top: 30px;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--surface-2);
  border: 1px solid var(--line);
}
.gallery-cta p {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.benefit {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.benefit:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: var(--glass-200);
}
.benefit-icon {
  width: 48px; height: 48px;
  border-radius: 10px;
  display: grid; place-items: center;
  background: var(--glass-50);
  color: var(--navy-800);
  margin-bottom: 16px;
  border: 1px solid var(--glass-200);
}
.benefit h3 { font-size: 1.08rem; margin-bottom: 6px; }
.benefit p { color: var(--muted); font-size: 0.96rem; margin: 0; }

/* ---------- Process ---------- */
.process { background: var(--surface); }
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.steps li {
  position: relative;
  padding: 28px 22px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.step-num {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 0.84rem;
  letter-spacing: 0.16em;
  color: var(--navy-600);
  margin-bottom: 12px;
}
.steps h3 { font-size: 1.06rem; margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: 0.94rem; margin: 0; }

/* ---------- Trust / before-after ---------- */
.trust { background: var(--surface-2); }
.trust-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}

.before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.project-proof {
  display: grid;
  grid-template-columns: .82fr 1fr;
  gap: 18px;
  align-items: end;
}
.proof-photo {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-strong);
  background: #fff;
  box-shadow: var(--shadow);
}
.proof-photo--tall {
  transform: translateY(-28px);
}
.proof-photo img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.proof-photo--tall img {
  aspect-ratio: 3 / 4;
}
.proof-photo figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 8px 11px;
  background: rgba(255,255,255,.9);
  border-radius: 999px;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.82rem;
}
.ba-card {
  position: relative;
  border-radius: var(--radius);
  padding: 22px;
  aspect-ratio: 1 / 1.05;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.ba-before {
  background:
    radial-gradient(ellipse at 30% 20%, rgba(0,0,0,.18), transparent 70%),
    linear-gradient(160deg, #C9C2B4, #8E8674);
  box-shadow: var(--shadow-sm);
}
.ba-after {
  background:
    radial-gradient(ellipse at 70% 20%, rgba(255,255,255,.35), transparent 70%),
    linear-gradient(160deg, #DBE6F1, #9FB6CF);
  box-shadow: var(--shadow);
}
.ba-label {
  position: absolute; top: 12px; left: 12px;
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 700;
  background: rgba(255,255,255,.85);
  color: var(--ink);
  padding: 5px 9px;
  border-radius: 999px;
}

.ba-old-window {
  width: 70%;
  aspect-ratio: 3 / 4;
  background: #6E6856;
  padding: 8px;
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  border: 2px solid #4D4838;
  position: relative;
  transform: rotate(-1deg);
}
.ba-old-window > div {
  background:
    linear-gradient(180deg, rgba(255,255,255,.1), rgba(0,0,0,.18)),
    #9C9683;
  position: relative;
}
.ba-old-window > div::after {
  /* a thin "crack" line on the old window */
  content: "";
  position: absolute;
  top: 10%; left: 20%;
  width: 60%; height: 1px;
  background: rgba(0,0,0,.35);
  transform: rotate(6deg);
}

.ba-new-window {
  width: 70%;
  aspect-ratio: 3 / 4;
  background: var(--navy-800);
  padding: 10px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
  border-radius: 3px;
  box-shadow: 0 20px 40px -16px rgba(14,31,58,.45);
}
.ba-new-window > div {
  background: linear-gradient(180deg, #E6EEF7, #B6CADE);
  position: relative;
  overflow: hidden;
}
.ba-new-window > div::after {
  content: "";
  position: absolute; top: -10%; left: -25%;
  width: 45%; height: 140%;
  background: linear-gradient(115deg, rgba(255,255,255,.55), rgba(255,255,255,0));
  transform: rotate(15deg);
}

/* ---------- Quote / contact ---------- */
.quote { background: var(--surface); }
.quote-inner {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: start;
}
.quote-copy h2 { margin-bottom: 14px; }
.quote-copy p { color: var(--muted); }
.contact-list {
  list-style: none;
  margin-top: 22px;
  display: grid;
  gap: 14px;
}
.contact-list li {
  display: grid;
  grid-template-columns: 110px 1fr;
  align-items: baseline;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.contact-list li strong {
  font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--navy-600); font-weight: 700;
}
.contact-list a { color: var(--ink); font-weight: 600; }

/* form */
.quote-form {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: grid;
  gap: 14px;
}
.field { display: grid; gap: 6px; }
.field label {
  font-size: 0.84rem; font-weight: 600; color: var(--ink-2);
}
.field input, .field select, .field textarea {
  font: inherit;
  width: 100%;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--ink);
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--navy-600);
  box-shadow: 0 0 0 4px rgba(35, 71, 129, .15);
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-fineprint {
  font-size: 0.8rem;
  color: var(--faint);
  margin: 4px 0 0;
}
.form-success {
  margin: 8px 0 0;
  padding: 12px 14px;
  background: #E9F2EA;
  color: #1F5A24;
  border: 1px solid #C9DFCB;
  border-radius: 8px;
  font-weight: 600;
}

/* ---------- FAQ ---------- */
.faq { background: var(--surface-2); }
.faq-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 56px;
  align-items: start;
}
.faq-list { display: grid; gap: 10px; }
.faq-list details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 4px 22px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.faq-list details[open] {
  border-color: var(--glass-300);
  box-shadow: var(--shadow-sm);
}
.faq-list summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 0;
  font-weight: 600;
  color: var(--ink);
  position: relative;
  padding-right: 36px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0; top: 50%; transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--navy-700);
  transition: transform .2s var(--ease);
}
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p {
  margin: 0 0 18px;
  color: var(--muted);
}

/* ---------- Final CTA ---------- */
.final-cta {
  background:
    radial-gradient(700px 320px at 20% 0%, rgba(159,182,207,.25), transparent 70%),
    linear-gradient(180deg, var(--navy-800), var(--navy-900));
  color: #fff;
  padding: clamp(64px, 9vw, 110px) 0;
  text-align: center;
}
.final-cta h2 { color: #fff; max-width: 20ch; margin: 0 auto 14px; }
.final-cta p { color: rgba(255,255,255,.78); max-width: 50ch; margin: 0 auto 28px; }
.final-cta .hero-ctas { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer {
  background: #0A1730;
  color: rgba(255,255,255,.7);
  padding: 64px 0 28px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand p { max-width: 30ch; margin-top: 14px; color: rgba(255,255,255,.6); font-size: 0.92rem; }
.footer-mark {
  height: 50px; width: auto;
  background: #fff;
  padding: 6px 10px;
  border-radius: 8px;
}
.footer-col h4 {
  color: #fff; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; display: grid; gap: 8px; }
.footer-col li, .footer-col a { color: rgba(255,255,255,.7); font-size: 0.94rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 22px;
  color: rgba(255,255,255,.5);
  font-size: 0.82rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { min-height: auto; padding-bottom: 40px; }
  .window-frame { transform: none; width: min(360px, 70%); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid > div:nth-child(3) { border-left: none; padding-left: 0; }
  .benefits-grid { grid-template-columns: 1fr 1fr; }
  .job-gallery { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr 1fr; }
  .trust-grid, .quote-inner, .faq-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .divider-row { grid-template-columns: repeat(6, 1fr); }
}

@media (max-width: 720px) {
  .primary-nav, .header-cta { display: none; }
  .menu-toggle { display: inline-flex; }
  .site-header.is-open .mobile-menu { display: flex; }

  .services-grid { grid-template-columns: 1fr; gap: 18px; }
  .manufacturer-card {
    grid-template-columns: 1fr;
    grid-template-areas: "label" "logo" "copy";
    text-align: center;
    justify-items: center;
  }
  .service-card { padding: 24px; }
  .hero-photo-card { transform: none; }
  .hero-photo-stack {
    position: relative;
    inset: auto;
    margin-top: -26px;
    justify-self: end;
  }
  .benefits-grid { grid-template-columns: 1fr; }
  .job-gallery { grid-template-columns: 1fr; }
  .job-card--wide { grid-column: auto; }
  .job-card, .job-card img { min-height: 280px; }
  .gallery-cta { flex-direction: column; text-align: center; }
  .steps { grid-template-columns: 1fr; }
  .before-after, .project-proof { grid-template-columns: 1fr 1fr; }
  .proof-photo--tall { transform: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 14px; padding: 22px 24px; }
  .stats-grid > div { border-left: none; padding-left: 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .field-row { grid-template-columns: 1fr; }
  .divider-row { grid-template-columns: repeat(4, 1fr); }

  h1 { font-size: clamp(2rem, 7vw + 1rem, 2.6rem); }
  .hero-trust { gap: 6px 16px; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .header-inner { padding: 12px 18px; }
  .brand-mark { height: 38px; }
  .hero-photo-stack { grid-template-columns: 96px 96px; }
  .hero-photo-card figcaption { align-items: flex-start; flex-direction: column; gap: 2px; }
  .quote-form { padding: 22px; }
  .contact-list li { grid-template-columns: 1fr; gap: 2px; }
  .project-proof { grid-template-columns: 1fr; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
