/* ==========================================================================
   ATLANTIC CREST ROOFING — style.css v1
   Design system: DESIGN-SYSTEM.md
   Palette: navy #153654 / Atlantic blue #27A9D2 / gray #F2F4F6 /
            white #FFFFFF / text #202A35 / secondary #64748B
   Fonts: Manrope (headings) + Inter (body), self-hosted woff2.
   Minified on build by the assembler — this file is the readable source.
   ========================================================================== */

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/manrope-700.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/assets/fonts/manrope-800.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/inter-400.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/inter-500.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/inter-600.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/inter-700.woff2") format("woff2");
}

/* ---- Tokens ------------------------------------------------------------ */
:root {
  --navy: #153654;
  --navy-deep: #0f2a42;
  --blue: #27a9d2;
  --blue-dark: #1e8fb4;
  --blue-soft: #e8f5fa;
  --gray-bg: #f2f4f6;
  --white: #ffffff;
  --text: #202a35;
  --text-2: #64748b;
  --line: #dce3e8;
  --success: #1e7a4c;
  --error: #b3261e;
  --font-head: "Manrope", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;
  --container: 1200px;
  --container-wide: 1280px;
  --gutter: 24px;
  --header-h: 76px;
  --radius: 8px;
  --radius-btn: 6px;
  --shadow-sm: 0 2px 10px rgba(21, 54, 84, 0.08);
  --shadow-md: 0 12px 32px rgba(21, 54, 84, 0.14);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---- Reset / base ------------------------------------------------------ */
*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}
img, svg, object { max-width: 100%; }
img { display: block; height: auto; }
a { color: var(--blue-dark); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  letter-spacing: -0.015em;
  margin: 0 0 16px;
}
h1 { font-size: 56px; font-weight: 800; line-height: 1.08; }
h2 { font-size: 38px; font-weight: 800; line-height: 1.15; }
h3 { font-size: 24px; font-weight: 700; line-height: 1.25; }
h4 { font-size: 20px; font-weight: 700; line-height: 1.3; }
p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 16px; padding-left: 24px; }
li { margin-bottom: 6px; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--blue); color: var(--white); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container-wide { max-width: var(--container-wide); margin: 0 auto; padding: 0 var(--gutter); }
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--navy); color: var(--white); padding: 12px 18px;
  border-radius: var(--radius-btn); font-weight: 600; transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; color: var(--white); }

/* Eyebrow / kicker */
.kicker, .eyebrow {
  display: block;
  font-family: var(--font-head);
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--blue-dark); margin: 0 0 12px;
}
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--text-2); font-size: 17px; }

/* ---- Sections ---------------------------------------------------------- */
.section { padding: 96px 0; }
.section-alt { background: var(--gray-bg); }
.section-navy { background: var(--navy); color: var(--white); }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-navy p { color: rgba(255, 255, 255, 0.82); }
.section-tint { background: var(--blue-soft); }

/* ---- Header ------------------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease;
}
.site-header.is-scrolled { box-shadow: 0 4px 20px rgba(21, 54, 84, 0.12); }
.header-inner {
  max-width: var(--container-wide); margin: 0 auto; padding: 0 var(--gutter);
  height: var(--header-h);
  display: flex; align-items: center; gap: 32px;
}
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 44px; width: auto; }
.brand .brand-mobile { display: none; }
.main-nav { margin-left: auto; }
.main-nav > ul {
  display: flex; align-items: center; gap: 4px;
  list-style: none; margin: 0; padding: 0;
}
.nav-item { position: relative; }
/* Submenu items must NOT be the mega-menu's positioning context: the
   1080px panel is centred with left:50% + translateX(-50%), and centred
   on the nav item it ran off the left edge of the viewport (assembler
   fix 2026-11-14 — mega-menu was clipped at 1280px). With position:
   static here, the menu anchors to .site-header (sticky = positioned)
   and centres on the header instead. */
.nav-item.has-submenu { position: static; }
.nav-item > a, .nav-trigger {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 48px; padding: 10px 13px;
  font-family: var(--font-head); font-size: 15.5px; font-weight: 600;
  color: var(--navy); background: none; border: 0; position: relative;
  white-space: nowrap;
}
.nav-item > a::after, .nav-trigger::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 6px;
  height: 2px; background: var(--blue);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.25s ease;
}
.nav-item > a:hover::after, .nav-item > a:focus-visible::after,
.nav-trigger:hover::after, .nav-trigger:focus-visible::after,
.nav-item.is-open > .nav-trigger::after,
.nav-item.current > a::after { transform: scaleX(1); }
.nav-item > a:hover, .nav-trigger:hover { color: var(--blue-dark); }
.nav-trigger .chev {
  width: 10px; height: 10px; border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px);
  transition: transform 0.25s ease;
}
.nav-item.is-open > .nav-trigger .chev { transform: rotate(-135deg) translateY(-1px); }
.header-cta { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-toggle {
  display: none; width: 48px; height: 48px; background: none; border: 0;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); transition: transform 0.25s ease, opacity 0.2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- Mega menu / dropdowns --------------------------------------------- */
.mega-menu {
  position: absolute; left: 50%; top: calc(100% + 1px);
  transform: translate(-50%, 8px);
  width: min(1080px, calc(100vw - 48px));
  background: var(--white);
  border-top: 3px solid var(--blue);
  box-shadow: var(--shadow-md);
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 32px 32px 0;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  z-index: 110;
}
.nav-item.is-open > .mega-menu {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0);
}
.mega-menu .mega-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px;
}
.mega-col h3, .mega-group h3, .mega-col .mega-heading, .mega-group .mega-heading {
  font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--navy); margin: 0 0 12px; padding-bottom: 10px;
  border-bottom: 2px solid var(--blue-soft);
}
.mega-col ul, .mega-group ul { list-style: none; margin: 0; padding: 0; }
.mega-col li, .mega-group li { margin: 0; }
.mega-col a, .mega-group a {
  display: block; padding: 7px 8px; margin: 0 -8px; border-radius: 4px;
  font-size: 14.5px; font-weight: 500; color: var(--text); line-height: 1.45;
  transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}
.mega-col a:hover, .mega-group a:hover,
.mega-col a:focus-visible, .mega-group a:focus-visible {
  background: var(--blue-soft); color: var(--blue-dark); padding-left: 12px;
}
.mega-col a:first-child { font-weight: 700; color: var(--navy); }
.mega-foot {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  border-top: 1px solid var(--line); margin-top: 24px; padding: 16px 0;
  font-size: 14.5px; font-weight: 600;
}
.mega-foot a { color: var(--blue-dark); }
.mega-foot a:hover { color: var(--navy); }
/* Service Areas dropdown: narrower, 2-col + featured card */
.mega-menu.is-areas { width: min(680px, calc(100vw - 48px)); }
.mega-menu.is-areas .mega-grid { grid-template-columns: 1fr 1fr 1.1fr; }
.mega-feature {
  background: var(--navy); border-radius: var(--radius); padding: 20px; color: var(--white);
}
.mega-feature h3 { color: var(--white); border-bottom-color: rgba(255, 255, 255, 0.25); }
.mega-feature p { color: rgba(255, 255, 255, 0.82); font-size: 14.5px; }
.mega-feature a { color: var(--white); font-weight: 700; }
.mega-feature a:hover { color: var(--blue); }

/* ---- Mobile drawer ------------------------------------------------------ */
.drawer-overlay {
  position: fixed; inset: 0; background: rgba(15, 42, 66, 0.55); z-index: 150;
  opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s;
}
.drawer-overlay.is-open { opacity: 1; visibility: visible; }
.mobile-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(380px, 92vw);
  background: var(--white); z-index: 160;
  transform: translateX(100%); transition: transform 0.32s ease-out;
  display: flex; flex-direction: column; overflow-y: auto;
  box-shadow: -8px 0 32px rgba(21, 54, 84, 0.25);
}
.mobile-drawer.is-open { transform: translateX(0); }
.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--navy); padding: 14px 20px; flex-shrink: 0;
}
.drawer-head img { height: 34px; width: auto; }
.drawer-close {
  width: 48px; height: 48px; background: none; border: 0; color: var(--white);
  font-size: 28px; line-height: 1; display: flex; align-items: center; justify-content: center;
}
.mobile-drawer nav { padding: 12px 0; flex: 1; }
.mobile-drawer nav > ul { list-style: none; margin: 0; padding: 0; }
.mobile-drawer nav > ul > li { margin: 0; border-bottom: 1px solid var(--line); }
.mobile-drawer nav a, .drawer-trigger {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; min-height: 52px; padding: 12px 20px;
  font-family: var(--font-head); font-size: 16px; font-weight: 600; color: var(--navy);
  background: none; border: 0; text-align: left;
}
.mobile-drawer nav a:hover, .drawer-trigger:hover { color: var(--blue-dark); }
.drawer-trigger .chev {
  width: 10px; height: 10px; border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor; transform: rotate(45deg);
  transition: transform 0.25s ease; flex-shrink: 0;
}
.drawer-trigger[aria-expanded="true"] .chev { transform: rotate(-135deg); }
.drawer-sub { list-style: none; margin: 0; padding: 0 0 8px; display: none; background: var(--gray-bg); }
.drawer-sub.is-open { display: block; }
.drawer-sub li { margin: 0; }
.drawer-sub a {
  min-height: 48px; padding: 10px 20px 10px 32px;
  font-size: 15px; font-weight: 500; color: var(--text);
}
.drawer-sub a.drawer-subhead { font-weight: 700; color: var(--navy); padding-top: 14px; }
.drawer-foot { padding: 20px; border-top: 1px solid var(--line); flex-shrink: 0; }
.drawer-foot .btn { width: 100%; justify-content: center; }

/* ---- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 26px;
  font-family: var(--font-head); font-size: 16px; font-weight: 700; line-height: 1;
  border-radius: var(--radius-btn); border: 2px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease,
    transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-dark); color: var(--white); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(39, 169, 210, 0.35); }
.btn-primary:active { transform: translateY(0); box-shadow: none; }
.btn-outline { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: var(--blue-soft); color: var(--navy); transform: translateY(-2px); }
.btn-outline-light { background: transparent; border-color: var(--white); color: var(--white); }
.btn-outline-light:hover { background: var(--white); color: var(--navy); transform: translateY(-2px); }
.btn-sm { min-height: 44px; padding: 10px 20px; font-size: 15px; }
.text-link { font-weight: 700; color: var(--blue-dark); display: inline-flex; align-items: center; gap: 6px; }
.text-link::after { content: "→"; transition: transform 0.2s ease; }
.text-link:hover { color: var(--navy); }
.text-link:hover::after { transform: translateX(4px); }

/* ---- Hero --------------------------------------------------------------- */
.hero { position: relative; background: var(--navy); overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(15, 42, 66, 0.82) 0%, rgba(15, 42, 66, 0.55) 46%, rgba(15, 42, 66, 0.08) 100%);
}
.hero-inner {
  position: relative; z-index: 2;
  max-width: var(--container-wide); margin: 0 auto; padding: 0 var(--gutter);
  min-height: 640px; display: flex; align-items: center;
}
.hero-text { max-width: 640px; padding: 96px 0; color: var(--white); }
.hero-text h1 { color: var(--white); margin-bottom: 20px; }
.hero-text .kicker { color: #7cc9e4; }
.hero-text p.lead { font-size: 19px; line-height: 1.6; color: rgba(255, 255, 255, 0.9); margin-bottom: 32px; max-width: 560px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-meta {
  margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 14.5px; font-weight: 500; color: rgba(255, 255, 255, 0.85);
  display: flex; gap: 24px; flex-wrap: wrap;
}
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); flex-shrink: 0; }
/* Hero entrance (load) */
.hero-anim { opacity: 0; transform: translateY(22px); animation: hero-in 0.7s var(--ease) forwards; }
.hero-anim.d1 { animation-delay: 0.1s; }
.hero-anim.d2 { animation-delay: 0.22s; }
.hero-anim.d3 { animation-delay: 0.34s; }
@keyframes hero-in { to { opacity: 1; transform: none; } }

/* Page hero (inner pages) */
.page-hero { background: var(--navy); color: var(--white); padding: 72px 0 64px; position: relative; overflow: hidden; }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: var(--white); font-size: 44px; max-width: 800px; }
.page-hero p.lead { color: rgba(255, 255, 255, 0.88); font-size: 18px; max-width: 680px; }
.page-hero .hero-actions { margin-top: 28px; }

/* ---- Breadcrumbs -------------------------------------------------------- */
.breadcrumbs { font-size: 13.5px; color: var(--text-2); padding: 20px 0 0; }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs li { margin: 0; display: flex; align-items: center; gap: 6px; }
.breadcrumbs li + li::before { content: "›"; color: var(--text-2); }
.breadcrumbs a { color: var(--text-2); }
.breadcrumbs a:hover { color: var(--blue-dark); }
.breadcrumbs [aria-current="page"] { color: var(--navy); font-weight: 600; }

/* ---- Trust strip -------------------------------------------------------- */
.trust-strip { background: var(--white); border-bottom: 1px solid var(--line); }
.trust-strip .container-wide {
  display: grid; grid-template-columns: repeat(6, 1fr);
}
.trust-item {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  padding: 32px 20px;
}
.trust-item + .trust-item { border-left: 1px solid var(--line); }
.trust-item .trust-icon {
  width: 44px; height: 44px; border-radius: 50%; background: var(--blue-soft);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.trust-item .trust-icon svg { width: 24px; height: 24px; stroke: var(--blue-dark); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.trust-item h3 { font-size: 16px; line-height: 1.35; margin: 0; }
.trust-item .trust-title { font-family: var(--font-head); color: var(--navy); letter-spacing: -0.015em; font-size: 16px; font-weight: 700; line-height: 1.35; margin: 0; }
.trust-item p { font-size: 14px; color: var(--text-2); margin: 0; line-height: 1.55; }

/* ---- Service grid ------------------------------------------------------- */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.service-card .card-media { overflow: hidden; aspect-ratio: 16 / 10; background: var(--gray-bg); }
.service-card .card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.service-card:hover .card-media img { transform: scale(1.05); }
.service-card .card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.service-card h3 { margin-bottom: 10px; }
.service-card h3 a { color: var(--navy); }
.service-card h3 a:hover { color: var(--blue-dark); }
.service-card p { color: var(--text-2); font-size: 15.5px; flex: 1; }
.service-card .text-link { margin-top: 16px; }

/* ---- Alternating rows / why split --------------------------------------- */
.alternating { display: flex; flex-direction: column; gap: 80px; }
.alt-row { display: grid; grid-template-columns: 1.12fr 1fr; gap: 64px; align-items: center; }
.alt-row.flip { grid-template-columns: 1fr 1.12fr; }
.alt-row.flip .alt-media { order: 2; }
.alt-media { overflow: hidden; border-radius: var(--radius); background: var(--gray-bg); }
.alt-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; transition: transform 0.5s ease; }
.alt-row:hover .alt-media img { transform: scale(1.03); }
.alt-content h3 { font-size: 30px; margin-bottom: 14px; }
.alt-content p { color: var(--text-2); }
.alt-content .btn { margin-top: 12px; }
.alt-list { list-style: none; margin: 0 0 20px; padding: 0; }
.alt-list li { position: relative; padding-left: 28px; margin-bottom: 10px; color: var(--text); }
.alt-list li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 9px;
  border-left: 2.5px solid var(--blue); border-bottom: 2.5px solid var(--blue);
  transform: rotate(-45deg);
}
.why-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.why-media { position: relative; }
.why-media::before {
  content: ""; position: absolute; inset: 0; transform: translate(16px, 16px);
  border: 2px solid var(--blue); border-radius: var(--radius); z-index: 0;
}
.why-media img { position: relative; z-index: 1; border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }
.check-list { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.check-list li { position: relative; padding-left: 30px; font-weight: 500; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px;
  border-radius: 50%; background: var(--blue);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
  background-size: 12px; background-position: center; background-repeat: no-repeat;
}

/* ---- Materials ---------------------------------------------------------- */
.material-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.material-item {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 3 / 4; display: block; background: var(--navy);
}
.material-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.material-item:hover img { transform: scale(1.06); }
.material-item .material-label {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  background: var(--navy); color: var(--white); padding: 18px 20px;
  transition: background 0.25s ease;
}
.material-item:hover .material-label { background: var(--blue-dark); }
.material-label h3 { color: var(--white); font-size: 19px; margin: 0 0 4px; }
.material-label span { font-size: 14px; color: rgba(255, 255, 255, 0.8); }

/* ---- Process timeline --------------------------------------------------- */
.process-steps {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px;
  position: relative; counter-reset: step;
}
.process-steps::before {
  content: ""; position: absolute; top: 26px; left: 8%; right: 8%; height: 2px;
  background: var(--line); z-index: 0;
}
.process-step { position: relative; z-index: 1; text-align: left; }
.process-step .step-num {
  width: 52px; height: 52px; border-radius: 50%; background: var(--blue); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 17px; font-weight: 800;
  margin-bottom: 18px; border: 4px solid var(--white);
  box-shadow: 0 0 0 2px var(--blue);
}
.process-step h3 { font-size: 18px; margin-bottom: 8px; }
.process-step p { font-size: 15px; color: var(--text-2); margin: 0; }

/* ---- Gallery ------------------------------------------------------------ */
.gallery-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.gallery-item {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4 / 3; display: block; background: var(--gray-bg);
}
.gallery-item.wide { grid-column: span 2; aspect-ratio: 16 / 9; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item .gallery-cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  background: var(--navy); color: var(--white); padding: 12px 16px;
  font-size: 14.5px; font-weight: 600;
  transform: translateY(100%); transition: transform 0.3s ease;
}
.gallery-item:hover .gallery-cap, .gallery-item:focus-visible .gallery-cap { transform: translateY(0); }

/* ---- Map ---------------------------------------------------------------- */
.map-section .map-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: 56px; align-items: start; }
.map-cities { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 16px; }
.map-cities li { margin: 0; }
.map-cities a { display: block; padding: 8px 0; font-size: 15px; font-weight: 500; color: var(--text); border-bottom: 1px solid var(--line); }
.map-cities a:hover { color: var(--blue-dark); border-bottom-color: var(--blue); }
.map-legend {
  display: flex; flex-wrap: wrap; gap: 20px; font-size: 14px; color: var(--text-2);
  margin-bottom: 20px;
}
.map-legend span { display: inline-flex; align-items: center; gap: 8px; }
.map-legend .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--blue); border: 2px solid var(--white); box-shadow: 0 0 0 1px var(--blue); }
.map-legend .dot.dark { background: var(--navy); box-shadow: 0 0 0 1px var(--navy); }
.ma-map { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow-sm); }
.ma-map object, .ma-map svg { width: 100%; height: auto; display: block; }
.map-note { font-size: 13.5px; color: var(--text-2); margin-top: 16px; }

/* ---- Approach / testimonials placeholder -------------------------------- */
.approach-band { text-align: center; max-width: 820px; margin: 0 auto; }
.approach-band blockquote {
  margin: 0 0 24px; font-family: var(--font-head); font-size: 24px; font-weight: 700;
  line-height: 1.4; color: var(--navy);
}
.approach-band p { color: var(--text-2); }

/* ---- FAQ ---------------------------------------------------------------- */
.faq-list { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 64px; padding: 20px 4px; background: none; border: 0; text-align: left;
  font-family: var(--font-head); font-size: 18px; font-weight: 700; color: var(--navy);
}
.faq-q:hover { color: var(--blue-dark); }
.faq-q .faq-icon {
  flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%;
  border: 1.5px solid var(--line); display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 400; color: var(--blue-dark); line-height: 1;
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}
.faq-item.is-open .faq-q .faq-icon { transform: rotate(45deg); background: var(--blue); border-color: var(--blue); color: var(--white); }
.faq-a { max-height: 0; overflow: hidden; opacity: 0; transition: max-height 0.3s ease, opacity 0.3s ease; }
.faq-item.is-open .faq-a { opacity: 1; }
.faq-a p { padding: 0 40px 24px 4px; color: var(--text-2); margin: 0; }

/* ---- CTA band ----------------------------------------------------------- */
.cta-band { background: var(--navy); color: var(--white); text-align: center; padding: 88px 0; }
.cta-band h2 { color: var(--white); margin-bottom: 14px; }
.cta-band p { color: rgba(255, 255, 255, 0.85); font-size: 18px; max-width: 640px; margin: 0 auto 32px; }
.cta-band .hero-actions { justify-content: center; }

/* ---- Footer ------------------------------------------------------------- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, 0.82); }
.footer-inner { max-width: var(--container-wide); margin: 0 auto; padding: 72px var(--gutter) 0; }
.footer-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 56px; }
.footer-brand img { height: 48px; width: auto; margin-bottom: 20px; }
.footer-brand p { font-size: 15px; line-height: 1.65; max-width: 320px; }
.site-footer h3, .site-footer h4 {
  color: var(--white); font-size: 15px; font-weight: 800; letter-spacing: 0.08em;
  text-transform: uppercase; margin-bottom: 20px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin: 0 0 4px; }
.footer-col a {
  display: inline-block; padding: 5px 0; font-size: 15px;
  color: rgba(255, 255, 255, 0.82); transition: color 0.2s ease, padding-left 0.2s ease;
}
.footer-col a:hover { color: var(--blue); padding-left: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding: 22px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  font-size: 14px;
}
.footer-bottom nav { display: flex; gap: 24px; }
.footer-bottom a { color: rgba(255, 255, 255, 0.82); }
.footer-bottom a:hover { color: var(--blue); }
.footer-disclosure {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding: 20px 0 28px; font-size: 13.5px; line-height: 1.6;
  color: rgba(255, 255, 255, 0.6); max-width: 900px;
}

/* ---- Forms -------------------------------------------------------------- */
.estimate-form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { display: flex; flex-direction: column; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 7px; }
.form-field label .req { color: var(--error); }
.form-field input, .form-field select, .form-field textarea {
  min-height: 48px; padding: 12px 14px; font-family: var(--font-body); font-size: 16px;
  color: var(--text); background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius-btn);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}
.form-field textarea { min-height: 120px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(39, 169, 210, 0.25);
}
.form-field input[aria-invalid="true"], .form-field select[aria-invalid="true"], .form-field textarea[aria-invalid="true"] {
  border-color: var(--error);
}
.form-error { display: none; font-size: 13.5px; color: var(--error); margin-top: 6px; font-weight: 500; }
.form-error.is-visible { display: block; }
.form-note {
  grid-column: 1 / -1; margin-top: 4px; padding: 14px 16px; border-radius: var(--radius-btn);
  font-size: 15px; font-weight: 500; display: none;
}
.form-note.is-visible { display: block; }
.form-note.is-error { display: block; background: #fdf0ef; color: var(--error); border: 1px solid #f3c1bd; }
.form-note.is-success { display: block; background: #e9f6ef; color: var(--success); border: 1px solid #bfe3cd; }
.form-check { grid-column: 1 / -1; display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--text-2); }
.form-check input { width: 20px; height: 20px; margin-top: 2px; flex-shrink: 0; accent-color: var(--blue-dark); }
.form-panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow-sm); }

/* ---- Generic inner-page layout ------------------------------------------ */
.page-grid { display: grid; grid-template-columns: 1fr 340px; gap: 56px; align-items: start; }
.page-grid .prose h2 { margin-top: 40px; }
.page-grid .prose h2:first-child { margin-top: 0; }
.sidebar-card {
  background: var(--gray-bg); border-radius: var(--radius); padding: 28px; margin-bottom: 24px;
}
.sidebar-card h3 { font-size: 19px; margin-bottom: 12px; }
.sidebar-card p { font-size: 15px; color: var(--text-2); }
.sidebar-card .btn { width: 100%; justify-content: center; margin-top: 8px; }
.link-list { list-style: none; margin: 0; padding: 0; }
.link-list li { margin: 0; border-bottom: 1px solid var(--line); }
.link-list li:last-child { border-bottom: 0; }
.link-list a { display: block; padding: 10px 0; font-weight: 500; color: var(--text); }
.link-list a:hover { color: var(--blue-dark); padding-left: 4px; }

.page-image { margin: 0 0 32px; }
.page-image img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); }

/* ---- Reveal on scroll ---------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.visible { opacity: 1; transform: none; }

/* ---- Responsive: tablet ≤1024 ------------------------------------------- */
@media (max-width: 1024px) {
  h1 { font-size: 44px; }
  h2 { font-size: 32px; }
  .section { padding: 72px 0; }
  .header-inner { gap: 16px; }
  .main-nav { display: none; }
  .header-cta .btn-outline { display: none; }
  .nav-toggle { display: flex; }
  .mega-menu { display: none; }
  .trust-strip .container-wide { grid-template-columns: repeat(3, 1fr); }
  .trust-item:nth-child(4) { border-left: 0; }
  .trust-item { border-top: 1px solid var(--line); }
  .trust-item:nth-child(-n+3) { border-top: 0; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .alt-row, .alt-row.flip { grid-template-columns: 1fr; gap: 32px; }
  .alt-row.flip .alt-media { order: 0; }
  .why-split { grid-template-columns: 1fr; gap: 40px; }
  .material-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .process-steps::before { display: none; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.wide { grid-column: span 2; }
  .map-section .map-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 40px; }
  .page-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-inner { min-height: 560px; }
}

/* ---- Responsive: mobile ≤640 -------------------------------------------- */
@media (max-width: 640px) {
  body { font-size: 16px; }
  h1 { font-size: 34px; }
  h2 { font-size: 28px; }
  h3 { font-size: 20px; }
  .container, .container-wide { padding: 0 16px; }
  .section { padding: 56px 0; }
  :root { --header-h: 64px; }
  .brand img { display: none; }
  /* 32px height -> exactly 140px wide (210x48 source), an integer:
     at 36px the logo was 157.5px wide and the header stuck out 0.5px
     past the viewport at 390px (assembler fix 2026-11-14). */
  .brand .brand-mobile { display: block; height: 32px; }
  .header-cta .btn { padding: 10px 16px; font-size: 14.5px; min-height: 44px; }
  .hero-inner { min-height: 520px; }
  .hero-text { padding: 64px 0; }
  .hero-text p.lead { font-size: 17px; }
  .hero-actions .btn { width: 100%; }
  .hero-meta { gap: 12px; }
  .trust-strip .container-wide { grid-template-columns: 1fr 1fr; }
  .trust-item { padding: 24px 14px; }
  .trust-item:nth-child(odd) { border-left: 0; }
  .trust-item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .service-grid { grid-template-columns: 1fr; }
  .alternating { gap: 56px; }
  .alt-content h3 { font-size: 24px; }
  .check-list { grid-template-columns: 1fr; }
  .material-grid { grid-template-columns: 1fr; }
  .material-item { aspect-ratio: 16 / 10; }
  .process-steps { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item.wide { grid-column: span 1; aspect-ratio: 4 / 3; }
  .map-cities { grid-template-columns: repeat(2, 1fr); }
  .faq-q { font-size: 16.5px; min-height: 56px; }
  .faq-a p { padding-right: 8px; }
  .estimate-form { grid-template-columns: 1fr; }
  .form-panel { padding: 24px 20px; }
  .footer-cols { grid-template-columns: 1fr; gap: 32px; }
  .footer-inner { padding-top: 56px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .page-hero { padding: 56px 0 48px; }
  .page-hero h1 { font-size: 32px; }
  .cta-band { padding: 64px 0; }
}

/* ---- Extra-narrow guard: 390px ------------------------------------------ */
@media (max-width: 390px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .trust-strip .container-wide { grid-template-columns: 1fr; }
  .trust-item { border-left: 0 !important; }
  .trust-item + .trust-item { border-top: 1px solid var(--line); }
  .map-cities { grid-template-columns: 1fr 1fr; }
}

/* ---- Reduced motion ------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
  .reveal, .hero-anim { opacity: 1; transform: none; animation: none; }
  .mobile-drawer { transition: none; }
}
