/* ==========================================================================
   Stronghold HVAC — design tokens
   Palette pulled directly from the Stronghold HVAC logo: navy shell, a warm
   orange "heating" half and a cool blue "cooling" half. That duality is used
   throughout (residential/commercial paths, service icon tints, etc.).
   ========================================================================== */
:root {
  --navy: #16233f;
  --navy-soft: #22345a;
  --navy-deep: #0e1729;
  --orange: #f26522;
  --orange-dark: #d9550f;
  --orange-light: #fdeee5;
  --blue: #2b7bce;
  --blue-dark: #1a4d8f;
  --blue-light: #e8f2fc;
  --white: #ffffff;
  --bg: #f7f9fc;
  --text-body: #4b5563;
  --text-muted: #7b8497;
  --border: #e4e8ef;
  --success: #1d9a5c;
  --success-bg: #e8f3ec;
  --star: #f7a531;

  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-card: 0 20px 45px -18px rgba(14, 23, 41, 0.25);
  --shadow-soft: 0 10px 30px -12px rgba(14, 23, 41, 0.15);
  --container: 1240px;
  --font: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* Toggled on <html> by js/main.js while the mobile nav drawer is open, so
   the page behind the drawer/scrim can't be scrolled at the same time. */
html.nav-scroll-lock { overflow: hidden; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text-body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
h1, h2, h3, h4, p, ul, figure { margin: 0; padding: 0; }
ul { list-style: none; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 88px 0; }
.section-tight { padding: 64px 0; }
.section-alt { background: var(--bg); }
.section-title {
  font-size: 34px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}
.section-eyebrow::before {
  content: "";
  width: 22px;
  height: 3px;
  border-radius: 2px;
  background: var(--orange);
}
/* Blue variant — used throughout commercial.html's eyebrows, matching the
   orange/blue "heating/cooling" duality noted at the top of this file
   (residential-leaning content stays orange, commercial-leaning leans
   blue). Doesn't apply to .why-us's own eyebrow override further down,
   which stays orange on both pathway pages as the one shared/neutral
   "Why Stronghold" section. */
.section-eyebrow.is-blue { color: var(--blue); }
.section-eyebrow.is-blue::before { background: var(--blue); }
.section-lede {
  margin-top: 14px;
  font-size: 16px;
  color: var(--text-body);
  max-width: 620px;
  line-height: 1.7;
}
.section-head { margin-bottom: 44px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head.center .section-lede { margin-left: auto; margin-right: auto; }
.text-orange { color: var(--orange); }
.text-blue { color: var(--blue); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 14.5px;
  border-radius: 999px;
  padding: 15px 26px;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn img { width: 16px; height: 16px; flex-shrink: 0; }
.btn-primary { background: var(--orange); color: var(--white); box-shadow: 0 10px 24px -8px rgba(242, 101, 34, 0.55); }
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-1px); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-soft); transform: translateY(-1px); }
.btn-outline { background: transparent; border: 1.5px solid rgba(255,255,255,0.5); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }
.btn-outline-navy { background: transparent; border: 1.5px solid var(--border); color: var(--navy); }
.btn-outline-navy:hover { border-color: var(--navy); background: var(--bg); }
.btn-block { width: 100%; }
.btn-sm { padding: 11px 18px; font-size: 13px; }

/* ---- Top utility bar ---- */
.topbar {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.85);
  font-size: 13px;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
}
.topbar-left { display: flex; align-items: center; gap: 22px; }
.topbar-item { display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.topbar-item img { width: 13px; height: 13px; }
.topbar-lang {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.08);
  border: none;
  border-radius: 999px;
  padding: 5px 12px;
  font-weight: 600;
  font-size: inherit;
  color: var(--white); /* <button> doesn't inherit color from .topbar like other elements do — browsers give form controls their own default text color, which was rendering dark-on-dark here */
}
.topbar-right { display: flex; align-items: center; gap: 14px; }
.topbar-social { display: flex; align-items: center; gap: 10px; }
.topbar-social a {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s ease;
}
.topbar-social a:hover { background: var(--orange); }
.topbar-social img { width: 14px; height: 14px; }

/* ---- Header ----
   Two rows on purpose: a brand row (logo + phone + CTA) sized to the same
   1240px container as the rest of the page, then a second row — the nav
   bar — whose OUTER wrapper (.header-nav-bar) is full-bleed/edge-to-edge
   with no max-width, while .main-nav itself still caps at the page's
   container width and centers, so the colored bar spans the full viewport
   but the links don't stretch uncomfortably wide on large screens. ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 1px 0 var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
}
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo img { height: 68px; width: auto; } /* the real logo is a detailed circular badge, not a slim wordmark — sized up from the 56px placeholder-era value so "HEATING & COOLING" stays legible */
.logo-fallback {
  display: none;
  flex-direction: column;
  line-height: 1.1;
}
.logo-fallback strong { font-size: 20px; font-weight: 800; color: var(--navy); letter-spacing: -0.01em; }
.logo-fallback span { font-size: 11px; font-weight: 700; color: var(--orange); letter-spacing: 0.06em; }
.logo.is-broken img { display: none; }
.logo.is-broken .logo-fallback { display: flex; }

.header-nav-bar { width: 100%; background: var(--navy); }
.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 38px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 13px 24px;
}
.main-nav a {
  font-size: 14.5px;
  font-weight: 600;
  color: rgba(255,255,255,0.82);
  padding: 8px 0;
  position: relative;
  transition: color 0.15s ease;
}
.main-nav a:hover { color: var(--white); }
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transition: transform 0.15s ease;
}
.main-nav a:hover::after { transform: scaleX(1); }
/* Marks the current page in the nav — set via aria-current="page" on that
   page's own link (e.g. residential.html sets it on "Residential"), reusing
   the same underline mechanism as :hover instead of a separate indicator. */
.main-nav a[aria-current="page"] { color: var(--white); }
.main-nav a[aria-current="page"]::after { transform: scaleX(1); }

/* ---- Services dropdown (main nav) ----
   "Services" has nothing of its own to link to (it's a category, not a
   page), so its trigger is a real <button>, not an <a href="#"> — learned
   from the social-icon href="#" scroll-jump bug: a trigger with no real
   destination shouldn't be a link at all. Desktop: CSS-only hover/focus
   flyout panel listing all 12 individual service pages. Mobile (<=960px,
   inside the drawer): JS-toggled inline accordion instead, since hover
   doesn't exist on touch — see the .nav-dropdown.is-open toggle in
   js/main.js, and the mobile override rules in the drawer media query
   further down this file. */
.nav-dropdown { position: relative; }
.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 5px;
  font: inherit;
  font-size: 14.5px;
  font-weight: 600;
  color: rgba(255,255,255,0.82);
  background: none;
  border: none;
  padding: 8px 0;
  position: relative;
  cursor: pointer;
  transition: color 0.15s ease;
}
.nav-dropdown-trigger:hover,
.nav-dropdown:hover .nav-dropdown-trigger,
.nav-dropdown-trigger:focus-visible { color: var(--white); }
.nav-dropdown-trigger::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transition: transform 0.15s ease;
}
.nav-dropdown:hover .nav-dropdown-trigger::after,
.nav-dropdown-trigger:focus-visible::after { transform: scaleX(1); }
/* Set on the trigger (not via aria-current, since the trigger isn't itself
   a page) when the current page is one of the 12 services — same visual
   treatment as .main-nav a[aria-current="page"]. */
.nav-dropdown-trigger.is-current { color: var(--white); }
.nav-dropdown-trigger.is-current::after { transform: scaleX(1); }
.nav-caret { width: 10px; height: 10px; transition: transform 0.15s ease; filter: invert(1); opacity: 0.7; flex-shrink: 0; }
.nav-dropdown:hover .nav-caret, .nav-dropdown.is-open .nav-caret { transform: rotate(180deg); }

.nav-dropdown-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  width: 560px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
  z-index: 110;
}
.nav-dropdown:hover .nav-dropdown-panel,
.nav-dropdown-panel:focus-within {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  transition: background 0.15s ease;
}
.nav-dropdown-link:hover { background: var(--bg); }
.nav-dropdown-link[aria-current="page"] { background: var(--bg); }
.nav-dropdown-link-icon {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: var(--orange-light);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.nav-dropdown-link-icon.is-blue { background: var(--blue-light); }
.nav-dropdown-link-icon img { width: 16px; height: 16px; }
.nav-dropdown-link span { font-size: 13px; font-weight: 600; color: var(--navy); line-height: 1.3; }

.header-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.header-phone { display: flex; align-items: center; gap: 10px; }
.header-phone-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--orange-light);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.header-phone-icon img { width: 17px; height: 17px; }
.header-phone-text { display: flex; flex-direction: column; line-height: 1.25; }
.header-phone-text span { font-size: 11.5px; color: var(--text-muted); font-weight: 600; }
.header-phone-text strong { font-size: 16px; color: var(--navy); font-weight: 800; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--white);
  align-items: center;
  justify-content: center;
  /* .header-inner (this button's ancestor) has no z-index of its own, so
     without this, the open drawer — a position:fixed sibling of
     .header-inner elsewhere in .site-header, with its own z-index:90 — paints
     over ordinary in-flow content like this button regardless of .site-header's
     outer z-index:100, making the toggle unreachable to close the drawer once
     it's open. position + a z-index above the drawer's 90 keeps this button
     clickable the whole time. */
  position: relative;
  z-index: 95;
}
.nav-toggle img { width: 20px; height: 20px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle.is-open .icon-menu { display: none; }
.nav-toggle.is-open .icon-close { display: block; }

/* ---- Breadcrumb (inner pages, sits at the top of .hero-copy on the navy
   hero background — e.g. residential.html/commercial.html) ---- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
}
.breadcrumb a { color: rgba(255,255,255,0.8); transition: color 0.15s ease; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb-sep { color: rgba(255,255,255,0.3); }

/* ---- Hero ----
   Background slider: 4 absolutely-stacked .hero-slide layers, cross-faded by
   js/main.js (adds/removes .is-active on an interval). Each slide also gets a
   slow "Ken Burns" zoom-out (1.08 -> 1) that restarts every time .is-active is
   re-applied, since it's a fresh element each cycle. .hero-overlay is a single
   layer combining the navy scrim (for text contrast over photos) with the
   orange/blue radial glows that used to live on ::before/::after — merged
   into one layer instead of two pseudo-elements so paint order against the
   slider/overlay stack stays simple and predictable. */
.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 110px;
  background: var(--navy-deep); /* shows briefly before the first slide's background-image loads */
}
.hero-slider { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.6s ease;
}
.hero-slide.is-active {
  opacity: 1;
  animation: heroKenBurns 9s ease-out forwards;
}
@keyframes heroKenBurns {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(circle at 88% 0%, rgba(242,101,34,0.32), transparent 45%),
    radial-gradient(circle at 2% 100%, rgba(43,123,206,0.28), transparent 45%),
    linear-gradient(160deg, rgba(14,23,41,0.92) 0%, rgba(14,23,41,0.84) 55%, rgba(14,23,41,0.94) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  /*align-items: center;*/
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  color: var(--white);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero-badge img { width: 14px; height: 14px; }
.hero-title {
  font-size: 46px;
  font-weight: 800;
  line-height: 1.18;
  color: var(--white);
  letter-spacing: -0.01em;
}
.hero-subtitle {
  margin-top: 18px;
  font-size: 16.5px;
  color: rgba(255,255,255,0.78);
  max-width: 540px;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.hero-trustrow {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.hero-trust-item { display: flex; align-items: center; gap: 10px; }
.hero-trust-item img { width: 22px; height: 22px; flex-shrink: 0; }
.hero-trust-item strong { display: block; font-size: 13.5px; color: var(--white); font-weight: 700; }
.hero-trust-item span { font-size: 12px; color: rgba(255,255,255,0.6); }

/* Hero quick-request card */
.hero-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 30px 28px;
}
.hero-form-card h2 { font-size: 21px; font-weight: 800; color: var(--navy); }
.hero-form-card p { margin-top: 6px; font-size: 13.5px; color: var(--text-muted); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.form-row.single { grid-template-columns: 1fr; }
/* min-width: 0 overrides the implicit min-width:auto every CSS grid item
   gets by default. Without it, a native <select> reports its intrinsic
   width based on its LONGEST <option> text as this grid item's min-content
   contribution — even with the select itself at width:100% — which was
   forcing .form-row (and everything above it, up through the hero's own
   grid column) to refuse to shrink below ~364px on mobile, silently
   clipping 13px off the right edge of the hero heading (hidden by .hero's
   own overflow:hidden, so no scrollbar ever showed it). The "Service
   Needed" select's "Tenant Improvement / New Construction" option was the
   specific trigger. */
.form-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.form-field label { font-size: 12px; font-weight: 700; color: var(--navy); }
.form-field input,
.form-field select,
.form-field textarea {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 13.5px;
  font-family: inherit;
  color: var(--navy);
  background: var(--bg);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-field textarea { resize: vertical; min-height: 70px; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px var(--orange-light);
  background: var(--white);
}
.form-radio-row { display: flex; gap: 10px; margin-top: 6px; flex-wrap: wrap; }
.form-radio-row label {
  flex: 1;
  min-width: 90px;
  text-align: center;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 9px 8px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.form-radio-row input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.form-radio-row input:checked + label,
.form-radio-row label:has(input:checked) { border-color: var(--orange); background: var(--orange-light); color: var(--orange-dark); }
.form-radio-row label:has(input:checked) { }
.hero-form-card .btn { margin-top: 20px; }
.form-note { margin-top: 12px; font-size: 11.5px; color: var(--text-muted); text-align: center; }

/* ---- Trust strip ---- */
.trust-strip { background: var(--white); border-bottom: 1px solid var(--border); }
.trust-strip-inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  padding: 34px 0;
}
.trust-item { display: flex; align-items: center; gap: 12px; }
.trust-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--orange-light);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.trust-icon.is-blue { background: var(--blue-light); }
.trust-icon img { width: 20px; height: 20px; }
.trust-item strong { display: block; font-size: 13.5px; color: var(--navy); font-weight: 700; line-height: 1.3; }
.trust-item span { font-size: 12px; color: var(--text-muted); }

/* ---- Pathways (Residential / Commercial) ---- */
.pathways { background: var(--bg); }
.pathway-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.pathway-card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  overflow: hidden;
  color: var(--white);
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.pathway-card.is-residential { background: linear-gradient(145deg, var(--orange-dark), var(--orange)); }
.pathway-card.is-commercial { background: linear-gradient(145deg, var(--navy-deep), var(--blue-dark)); }
.pathway-icon {
  position: absolute;
  top: 32px; left: 36px;
  width: 56px; height: 56px;
  border-radius: 16px;
  background: rgba(255,255,255,0.16);
  display: flex; align-items: center; justify-content: center;
}
.pathway-icon img { width: 26px; height: 26px; }
.pathway-card h3 { font-size: 25px; font-weight: 800; }
.pathway-card p { margin-top: 10px; font-size: 14.5px; color: rgba(255,255,255,0.85); max-width: 400px; line-height: 1.65; }
.pathway-card .btn { margin-top: 22px; align-self: flex-start; }

/* ---- Services grid ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  transition: box-shadow 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.service-card:hover { box-shadow: var(--shadow-soft); border-color: transparent; transform: translateY(-2px); }
.service-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--orange-light);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.service-icon.is-blue { background: var(--blue-light); }
.service-icon img { width: 22px; height: 22px; }
.service-card h4 { font-size: 15.5px; font-weight: 700; color: var(--navy); line-height: 1.35; }
.service-card p { margin-top: 8px; font-size: 13px; color: var(--text-muted); line-height: 1.55; }
.services-cta { text-align: center; margin-top: 40px; }

/* ---- Process / "How It Works" steps (inner pages — e.g. residential.html) ----
   A connecting line runs behind the row via ::before on the grid itself
   (simpler than per-step connectors that need last-child special-casing);
   .process-num is an opaque white badge sitting above it (z-index), so the
   line reads as "broken" at each numbered circle regardless of the
   section's own background — same trick as a typical stepper UI. */
.process-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.process-grid::before {
  content: "";
  position: absolute;
  top: 26px; left: 12.5%; right: 12.5%;
  height: 2px;
  background: var(--border);
  z-index: 0;
}
.process-step { position: relative; z-index: 1; text-align: center; padding: 0 10px; }
.process-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--orange-light);
  color: var(--orange-dark);
  font-size: 19px;
  font-weight: 800;
}
/* Blue variant — same orange/blue duality as .section-eyebrow.is-blue above. */
.process-num.is-blue { border-color: var(--blue-light); color: var(--blue-dark); }
.process-step h4 { font-size: 15.5px; font-weight: 700; color: var(--navy); }
.process-step p { margin-top: 8px; font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* ---- Why choose us ---- */
.why-us { background: var(--navy); position: relative; overflow: hidden; }
.why-us::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(43,123,206,0.18), transparent 55%);
}
.why-us .section-title, .why-us .section-eyebrow { color: var(--white); }
.why-us .section-eyebrow { color: var(--orange); }
.why-us .section-lede { color: rgba(255,255,255,0.72); }
.why-grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.why-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 26px 24px;
}
.why-card-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.why-card-icon img { width: 21px; height: 21px; }
.why-card h4 { font-size: 16px; font-weight: 700; color: var(--white); }
.why-card p { margin-top: 8px; font-size: 13.5px; color: rgba(255,255,255,0.68); line-height: 1.6; }

/* ---- Brands strip ---- */
.brands { padding: 56px 0; border-bottom: 1px solid var(--border); }
.brands-label { text-align: center; font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 26px; }
.brands-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px 44px;
}
.brand-wordmark {
  font-size: 19px;
  font-weight: 800;
  color: var(--navy);
  opacity: 0.55;
  letter-spacing: 0.01em;
  transition: opacity 0.15s ease;
}
.brand-wordmark:hover { opacity: 1; }

/* ---- Reviews ---- */
.reviews { background: var(--bg); }
.reviews-summary {
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.reviews-score { font-size: 42px; font-weight: 800; color: var(--navy); }
.reviews-stars { display: flex; gap: 3px; }
.reviews-stars img { width: 20px; height: 20px; }
.reviews-meta { font-size: 13.5px; color: var(--text-muted); }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review-card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 24px 22px;
}
.review-stars { display: flex; gap: 2px; margin-bottom: 12px; }
.review-stars img { width: 15px; height: 15px; }
.review-card p { font-size: 13.5px; color: var(--text-body); line-height: 1.65; }
.review-author { display: flex; align-items: center; gap: 10px; margin-top: 18px; }
.review-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}
.review-author strong { display: block; font-size: 13px; color: var(--navy); }
.review-author span { font-size: 11.5px; color: var(--text-muted); }
.review-card.is-placeholder { border-style: dashed; }
.placeholder-tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--bg);
  border: 1px dashed var(--border);
  border-radius: 999px;
  padding: 3px 10px;
  margin-bottom: 12px;
}

/* ---- Photo placeholders (no stock photography — real jobsite photos to
   come from the client; this pattern makes that obvious rather than faking
   it with stock imagery) ---- */
.photo-placeholder {
  position: relative;
 /* background:
    repeating-linear-gradient(135deg, rgba(22,35,63,0.05) 0 12px, rgba(22,35,63,0.02) 12px 24px),
    linear-gradient(160deg, #eef1f6, #e3e8f0); */
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--text-muted);
  text-align: center;
  padding: 20px;
  min-height: 180px;
}
.photo-placeholder img { width: 30px; height: 30px; opacity: 0.5; }
.photo-placeholder span { font-size: 12px; font-weight: 600; max-width: 180px; }

/* ---- Gallery ---- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.gallery-grid .photo-placeholder { min-height: 200px; }
.gallery-grid .photo-placeholder:nth-child(1) { grid-column: span 2; grid-row: span 2; min-height: 100%; }

/* ---- Maintenance CTA band ---- */
.maintenance-band {
  background: linear-gradient(135deg, var(--blue-dark), var(--navy));
  border-radius: var(--radius-lg);
  padding: 48px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.maintenance-band h3 { font-size: 26px; font-weight: 800; color: var(--white); max-width: 480px; }
.maintenance-band p { margin-top: 10px; font-size: 14.5px; color: rgba(255,255,255,0.75); max-width: 460px; }
.maintenance-band .btn-group { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---- Service areas ---- */
.areas-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.area-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
}
.area-chip img { width: 16px; height: 16px; flex-shrink: 0; }
.areas-note { margin-top: 22px; font-size: 13px; color: var(--text-muted); text-align: center; }

/* ---- Careers band ---- */
.careers-band {
  background: var(--orange-light);
  border: 1px solid #f9d9c2;
  border-radius: var(--radius-lg);
  padding: 40px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
}
.careers-band h3 { font-size: 23px; font-weight: 800; color: var(--navy); }
.careers-band p { margin-top: 8px; font-size: 14px; color: var(--text-body); max-width: 460px; }

/* ---- Final CTA ---- */
.cta-final {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 15% 30%, rgba(242,101,34,0.2), transparent 55%), radial-gradient(circle at 85% 70%, rgba(43,123,206,0.2), transparent 55%);
}
.cta-final-inner { position: relative; text-align: center; }
.cta-final h2 { font-size: 32px; font-weight: 800; color: var(--white); }
.cta-final p { margin-top: 12px; font-size: 15.5px; color: rgba(255,255,255,0.72); }
.cta-final .btn-group { display: flex; justify-content: center; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.cta-final .slogan {
  margin-top: 34px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.45);
  font-style: italic;
}

/* ---- Footer ---- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,0.65); padding-top: 64px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .logo img { height: 58px; }
.footer-brand .logo-fallback strong { color: var(--white); }
.footer-brand p { margin-top: 16px; font-size: 13.5px; line-height: 1.7; max-width: 280px; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s ease;
}
.footer-social a:hover { background: var(--orange); }
.footer-social img { width: 16px; height: 16px; }
.footer-col h5 { font-size: 13px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--white); margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: 13.5px; transition: color 0.15s ease; }
.footer-col a:hover { color: var(--white); }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; }
.footer-contact img { width: 15px; height: 15px; margin-top: 2px; flex-shrink: 0; }
.footer-license { margin-top: 6px; font-size: 12px; color: rgba(255,255,255,0.45); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
  font-size: 12.5px;
  flex-wrap: wrap;
}
.footer-bottom .slogan { font-style: italic; color: rgba(255,255,255,0.4); }

/* ---- Scroll-reveal animation ----
   js/main.js adds .is-visible via IntersectionObserver the first time each
   .reveal element scrolls into view (then stops observing it — this is a
   one-time entrance animation, not a repeating scroll effect). Grid children
   get a small nth-child stagger so cards/rows animate in one after another
   instead of all at once. Respects reduced-motion. */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.services-grid.reveal-group > *,
.why-grid.reveal-group > *,
.reviews-grid.reveal-group > *,
.trust-strip-inner.reveal-group > *,
.areas-grid.reveal-group > *,
.pathway-grid.reveal-group > *,
.gallery-grid.reveal-group > *,
.process-grid.reveal-group > * {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-group.is-visible > * { opacity: 1; transform: translateY(0); }
.reveal-group.is-visible > *:nth-child(1) { transition-delay: 0ms; }
.reveal-group.is-visible > *:nth-child(2) { transition-delay: 70ms; }
.reveal-group.is-visible > *:nth-child(3) { transition-delay: 140ms; }
.reveal-group.is-visible > *:nth-child(4) { transition-delay: 210ms; }
.reveal-group.is-visible > *:nth-child(5) { transition-delay: 280ms; }
.reveal-group.is-visible > *:nth-child(6) { transition-delay: 350ms; }
.reveal-group.is-visible > *:nth-child(7) { transition-delay: 420ms; }
.reveal-group.is-visible > *:nth-child(8) { transition-delay: 490ms; }
.reveal-group.is-visible > *:nth-child(9) { transition-delay: 560ms; }
.reveal-group.is-visible > *:nth-child(10) { transition-delay: 630ms; }
.reveal-group.is-visible > *:nth-child(11) { transition-delay: 700ms; }
.reveal-group.is-visible > *:nth-child(12) { transition-delay: 770ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-group > *, .hero-slide { transition: none !important; animation: none !important; opacity: 1 !important; transform: none !important; }
}

/* ---- Mobile-first responsive breakpoints ---- */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .trust-strip-inner { grid-template-columns: repeat(3, 1fr); }
  .areas-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 960px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .header-phone-text { display: none; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-title { font-size: 36px; }
  .pathway-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .process-grid::before { display: none; }
}

@media (max-width: 720px) {
  .section { padding: 60px 0; }
  .topbar-left .topbar-item:not(:first-child) { display: none; }
  .topbar-social { display: none; }
  .section-title { font-size: 27px; }
  .hero { padding: 40px 0 70px; }
  .hero-title { font-size: 30px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-trustrow { gap: 18px; }
  .trust-strip-inner { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid .photo-placeholder:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .maintenance-band, .careers-band { flex-direction: column; text-align: center; padding: 34px 26px; }
  .maintenance-band .btn-group, .careers-band .btn { justify-content: center; width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; row-gap: 30px; }
}

@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .trust-strip-inner { grid-template-columns: 1fr 1fr; }
  .areas-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .logo img { height: 50px; }
  .hero-badge { font-size: 11.5px; }
}

/* ---- Mobile nav drawer ---- */
@media (max-width: 960px) {
  .main-nav.is-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; right: 0;
    width: min(320px, 84vw);
    height: 100vh;
    background: var(--white);
    padding: 90px 28px 28px;
    gap: 4px;
    box-shadow: -20px 0 50px rgba(14,23,41,0.25);
    z-index: 90;
  }
  /* .main-nav a's base color (rgba(255,255,255,0.82)) is styled for the
     navy full-width desktop nav bar — the mobile drawer flips to a WHITE
     background instead, so it needs its own dark text color here or the
     links render near-invisible (white-on-white, only the border-bottom
     line showing). */
  .main-nav.is-open a { padding: 13px 0; border-bottom: 1px solid var(--border); font-size: 16px; color: var(--navy); }
  .main-nav.is-open a:hover { color: var(--orange); }
  .main-nav.is-open a[aria-current="page"] { color: var(--orange); }

  /* Services dropdown, mobile drawer — hover doesn't exist on touch, so
     this becomes a tap-to-expand accordion (toggled via .is-open, added by
     js/main.js) instead of the desktop hover flyout. */
  .main-nav.is-open .nav-dropdown-trigger {
    width: 100%;
    justify-content: space-between;
    padding: 13px 0;
    border-bottom: 1px solid var(--border);
    font-size: 16px;
    color: var(--navy);
  }
  .main-nav.is-open .nav-dropdown-trigger::after { display: none; }
  .main-nav.is-open .nav-dropdown-trigger.is-current { color: var(--orange); }
  /* chevron-down.svg is navy by default — the desktop version needs
     filter:invert(1) for the navy nav bar, but on this white drawer
     background it already renders correctly with no filter. */
  .main-nav.is-open .nav-caret { filter: none; opacity: 1; }
  .main-nav.is-open .nav-dropdown-panel {
    position: static;
    transform: none;
    width: 100%;
    background: none;
    box-shadow: none;
    padding: 2px 0 6px 12px;
    grid-template-columns: 1fr;
    gap: 0;
    opacity: 1;
    visibility: visible;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .main-nav.is-open .nav-dropdown.is-open .nav-dropdown-panel { max-height: 640px; }
  .main-nav.is-open .nav-dropdown-link { padding: 10px 8px; border-bottom: none; }
  .main-nav.is-open .nav-dropdown-link span { color: var(--navy); font-size: 14px; }
  .nav-scrim {
    display: none;
    position: fixed; inset: 0;
    background: rgba(14,23,41,0.5);
    z-index: 80;
  }
  .nav-scrim.is-open { display: block; }
}


/* ===== Service page long-form content (edited in Pages > [service page]) ===== */
.service-details { padding: 16px 0 80px; }
.service-copy { max-width: 820px; margin: 0 auto; color: var(--text-body); font-size: 17px; line-height: 1.75; }
.service-copy h2 { font-size: 28px; font-weight: 800; color: var(--navy); line-height: 1.25; letter-spacing: -0.01em; margin: 48px 0 14px; }
.service-copy h2:first-child { margin-top: 0; }
.service-copy h3 { font-size: 19px; font-weight: 700; color: var(--navy); line-height: 1.35; margin: 26px 0 8px; }
.service-copy p { margin: 0 0 16px; }
.service-copy ul, .service-copy ol { margin: 0 0 18px; padding-left: 22px; }
.service-copy ul { list-style: disc; }
.service-copy ol { list-style: decimal; }
.service-copy li { margin-bottom: 8px; }
.service-copy a { color: var(--orange-dark); font-weight: 600; text-decoration: underline; }
.service-copy strong { color: var(--navy); }
.service-copy .faq h3 { border-top: 1px solid var(--border); padding-top: 20px; }
@media (max-width: 768px) {
  .service-details { padding: 8px 0 56px; }
  .service-copy { font-size: 16px; }
  .service-copy h2 { font-size: 24px; margin-top: 36px; }
}
