/*
Theme Name: Greer Water Works
Theme URI: https://greerwaterworks.com
Author: Kisner's Solutions
Author URI: https://kisners.solutions
Description: Custom hand-coded theme for Greer Water Works. Deployed to WP Engine (install: greerwatertest) via git subtree from clients/Greer-Water-Works/wpe-deploy. Design canon: the greerwaterworkstestsite prototype (real fleet hero video via Cloudflare R2).
Version: 1.14.1
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 8.0
License: GPL-2.0-or-later
Text Domain: greer-water-works
*/

/* =========================================================
   Greer Water Works, Inc. - luxury redesign
   Standalone stylesheet. Brand palette from the official logo:
   Royal Blue #0059A9 · Red #D92728 · Silver #B2B4B7 · White.
   ========================================================= */

:root {
  --blue: #0059a9;
  --blue-deep: #024b8c;
  --blue-dark: #0b2a45;
  --blue-ink: #071a2c;
  --red: #d92728;
  --red-dark: #b81f20;
  --silver: #b2b4b7;
  --mist: #eef2f7;
  --paper: #f7f9fc;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;

  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Source Sans 3", system-ui, -apple-system, sans-serif;
  --maxw: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 132px; /* sticky header offset for anchor jumps */
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---------- Accessibility ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
  border-radius: 4px;
}
.section-blue-dark :focus-visible,
.utility-bar :focus-visible,
.footer :focus-visible,
.hero :focus-visible,
.cta :focus-visible,
.trust :focus-visible {
  outline-color: #fff;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--blue-dark); color: #fff;
  padding: 12px 20px; font-weight: 700; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }
/* silver eyebrow fails AA on solid royal blue - lighten there only */
.hero .eyebrow-silver, .cta .eyebrow-silver { color: #e8eef5; }

body {
  font-family: var(--font-body);
  color: var(--blue-dark);
  background: #fff;
  line-height: 1.5;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Icons ---------- */
.ico {
  width: 20px; height: 20px;
  fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  flex: 0 0 auto;
}
.ico-lg { width: 32px; height: 32px; }
.ico-red { color: var(--red); }
.ico-silver { color: var(--silver); }
.star { fill: currentColor; stroke: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 15px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.03em;
  padding: 14px 28px;
  cursor: pointer; border: none;
  transition: all 0.2s ease;
}
.btn .ico { width: 16px; height: 16px; }
.btn-sm { padding: 12px 20px; font-size: 13px; }
.btn-primary {
  background: var(--red); color: #fff;
  box-shadow: 0 10px 22px -8px rgba(217, 39, 40, 0.45);
}
.btn-primary:hover { background: var(--red-dark); box-shadow: 0 14px 26px -8px rgba(217, 39, 40, 0.6); }
.btn-primary:active { transform: translateY(1px); }
.btn-primary .ico { transition: transform 0.2s ease; }
.btn-primary:hover .ico { transform: translateX(4px); }
.btn-ghost {
  background: transparent; color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.4);
}
.btn-ghost:hover { background: #fff; color: var(--blue); }

/* ---------- Eyebrow / titles ---------- */
.eyebrow {
  font-size: 14px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.22em;
}
.eyebrow-red { color: var(--red); }
.eyebrow-silver { color: var(--silver); }

.accent-bar { margin-top: 24px; height: 4px; width: 112px; border-radius: 999px; background: var(--red); }

.section { padding: 96px 0; }
.section-paper { background: var(--paper); }
.section-white { background: #fff; }
.section-blue-dark { background: var(--blue-dark); }

.section-head { max-width: 640px; margin: 0 auto; text-align: center; }
.section-title {
  margin-top: 12px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700; text-transform: uppercase;
  letter-spacing: -0.01em; line-height: 1.02;
  color: var(--blue-dark);
}
.section-title-left { text-align: left; }
.section-title-white { color: #fff; }
.section-lead { margin-top: 16px; font-size: 18px; color: var(--slate-600); }
.section-lead-left { text-align: left; }

/* ---------- Header ---------- */
header { position: sticky; top: 0; z-index: 50; }

.utility-bar { background: var(--blue-ink); color: #fff; }
.utility-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 24px; font-size: 13px;
}
.utility-left { display: flex; align-items: center; gap: 24px; color: rgba(255, 255, 255, 0.85); }
.ico-text { display: inline-flex; align-items: center; gap: 6px; }
.ico-text .ico { width: 14px; height: 14px; }
.utility-phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-size: 18px; font-weight: 700;
  letter-spacing: 0.02em; transition: color 0.2s;
}
.utility-phone .ico { width: 16px; height: 16px; }
.utility-phone:hover { color: var(--silver); }

.nav-bar {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
  transition: box-shadow 0.2s;
}
.nav-bar.scrolled { box-shadow: 0 8px 24px -12px rgba(15, 23, 42, 0.18); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px 24px;
}
.nav-logo img { height: 48px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 22px; }
/* Top-level items never shrink or wrap ("Residential Services" stays on one line
   with its caret beside it); the 1240/1099 breakpoints handle tight widths. */
.nav-links > a, .nav-links .nav-item { flex-shrink: 0; }
.nav-links a {
  position: relative; font-size: 15px; font-weight: 600; white-space: nowrap;
  color: rgba(11, 42, 69, 0.8); transition: color 0.2s;
}
/* Animated underline (Terrapin pattern): grows left-to-right on hover, brand red */
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px;
  background: var(--red); transform: scaleX(0); transform-origin: left;
  transition: transform 0.25s ease;
}
.nav-links a:hover { color: var(--blue); }
.nav-links a:hover::after, .nav-links > a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links > a[aria-current="page"] { color: var(--blue); }
.nav-sub a::after { display: none; }

/* ---------- Nav dropdown ---------- */
.nav-item { position: relative; }
.nav-item > a { display: inline-flex; align-items: center; gap: 4px; }
.nav-caret { width: 14px; height: 14px; transition: transform 0.2s ease; }
.nav-item:hover .nav-caret, .nav-item:focus-within .nav-caret { transform: rotate(180deg); }
.nav-sub {
  position: absolute; top: 100%; left: -18px; z-index: 60;
  padding-top: 12px; /* transparent hover bridge to the panel */
  min-width: 250px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}
.nav-item:hover .nav-sub, .nav-item:focus-within .nav-sub {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-sub > div {
  display: flex; flex-direction: column; padding: 8px;
  background: #fff; border: 1px solid var(--slate-200); border-radius: 12px;
  box-shadow: 0 18px 40px -18px rgba(15, 23, 42, 0.28);
}
.nav-sub a { padding: 10px 14px; border-radius: 8px; color: var(--blue-dark); white-space: nowrap; }
.nav-sub a:hover { background: var(--paper); color: var(--blue); }

/* ---------- Service Areas mega-menu (Riverbend pattern, Greer tokens) ----------
   Multi-column panel with a state header band; add a second .mega-state +
   .mega-grid group (e.g. Washington, DC) when pages for that area exist. */
.nav-item-mega .nav-sub { left: auto; right: -18px; min-width: 0; }
.nav-sub-mega > div { padding: 0; overflow: hidden; }
.mega-state {
  padding: 12px 20px; background: var(--mist);
  font-family: var(--font-display); font-size: 16px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em; color: var(--blue-dark);
}
.mega-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; padding: 8px; }
.mega-grid a { display: flex; align-items: center; gap: 8px; }
.mega-pin { width: 15px; height: 15px; color: var(--red); flex: none; }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-phone {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  font-family: var(--font-display); font-size: 20px; font-weight: 700;
  letter-spacing: 0.02em; color: var(--blue);
}
.nav-phone .ico { width: 16px; height: 16px; }
.nav-toggle {
  display: none;
  min-width: 48px; min-height: 48px; padding: 0 10px;
  align-items: center; justify-content: center; gap: 6px;
  background: transparent; border: none; color: var(--blue-dark); cursor: pointer;
  font-family: var(--font-display); font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.nav-toggle .ico { width: 24px; height: 24px; }

/* max-height + scroll: with the Service Areas submenu the list outgrows short phone
   viewports, and the menu lives inside the sticky header - without this the bottom
   links (Contact, phone, Free Estimate) would be unreachable. */
.mobile-menu { border-top: 1px solid var(--slate-200); background: #fff; max-height: calc(100vh - 132px); overflow-y: auto; }
.mobile-inner { display: flex; flex-direction: column; padding: 8px 24px 20px; }
.mobile-inner > a {
  padding: 12px 0; font-size: 16px; font-weight: 600;
  color: var(--blue-dark); border-bottom: 1px solid var(--slate-100);
}
.mobile-phone {
  display: inline-flex !important; align-items: center; gap: 8px;
  font-family: var(--font-display); font-size: 20px; font-weight: 700;
  color: var(--blue) !important; border-bottom: none !important; margin-top: 12px;
}
.mobile-inner .btn { margin-top: 12px; }
.mobile-inner > a.mobile-sub {
  padding-left: 20px; font-size: 15px; font-weight: 500; color: var(--slate-600);
}
.mobile-sub::before { content: "\203A\00a0"; color: var(--red); font-weight: 700; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--blue); }
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; }
/* poster img + video are stacked siblings: the img paints first (LCP), the
   video (no poster attr, sources injected post-load) covers it when it plays */
.hero-media img,
.hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-fade {
  position: absolute; inset: 0;
  background: linear-gradient(to right, var(--blue) 0%, rgba(0, 89, 169, 0.8) 30%, rgba(0, 89, 169, 0.34) 64%, rgba(0, 89, 169, 0.1) 100%);
}
.hero-fade-mobile { display: none; }
.hero-inner {
  position: relative;
  display: flex; align-items: center;
  min-height: 78vh; padding-top: 80px; padding-bottom: 80px;
}
.hero-copy { max-width: 640px; }
.hero-title {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: clamp(3.1rem, 6vw, 4.6rem);
  font-weight: 700; text-transform: uppercase;
  line-height: 0.95; letter-spacing: -0.015em; color: #fff;
}
.hero-sub {
  margin-top: 24px; max-width: 560px;
  font-size: 18px; line-height: 1.6; color: rgba(255, 255, 255, 0.85);
}
.hero-actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.hero-cred {
  margin-top: 22px; font-size: 14px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

/* ---------- Service page (page-hero + article) ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 70%, var(--blue-deep) 100%);
  padding: 96px 0 72px;
}
.page-hero-inner { max-width: 840px; }
.page-title {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700; text-transform: uppercase;
  line-height: 1.02; letter-spacing: -0.015em; color: #fff;
}
.page-sub { margin-top: 20px; max-width: 640px; font-size: 18px; line-height: 1.6; color: rgba(255, 255, 255, 0.85); }
.page-hero .eyebrow-silver { color: #e8eef5; }
.page-hero-red { background: linear-gradient(135deg, #7a1213 0%, var(--red-dark) 55%, var(--red) 100%); }

.svc-body { max-width: 840px; }
.svc-lead { font-size: 19px; line-height: 1.65; color: var(--blue-dark); }
.svc-h2 {
  margin-top: 48px;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700; text-transform: uppercase;
  letter-spacing: -0.01em; line-height: 1.05; color: var(--blue-dark);
}
.svc-body p { margin-top: 14px; color: var(--slate-600); line-height: 1.65; }
.svc-body p.svc-lead { color: var(--blue-dark); }
.svc-body a { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.svc-body a.btn { text-decoration: none; }
.svc-list { margin-top: 14px; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; color: var(--slate-600); line-height: 1.6; }
.svc-list li::marker { color: var(--red); }
/* Quiet aside (the "In short:" summary + the legal-page contact block). Redesigned
   2026-08-05 per client review: the old white card + 4px red bar + shadow read as an
   alert; this is a soft tint that recedes into the article. */
.info-box {
  margin-top: 18px;
  background: rgba(0, 89, 169, 0.045);
  border: 1px solid rgba(0, 89, 169, 0.10);
  border-radius: 10px; padding: 20px 24px;
}
.info-box p { margin-top: 0; }
.info-box p + ul, .info-box ul + p { margin-top: 12px; }
/* Elfsight embed wrapper. Layout only - widget theming lives in the Elfsight dashboard,
   keyed to these hook classes (Google Reviews widget on the front page). */
.elfsight-block { margin-top: 40px; }

.cmp-wrap { margin-top: 18px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cmp-table {
  width: 100%; min-width: 560px; border-collapse: collapse;
  background: #fff; border: 1px solid var(--slate-200); border-radius: 12px; overflow: hidden;
  font-size: 15.5px;
}
.cmp-table th, .cmp-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--slate-100); vertical-align: top; }
.cmp-table thead th {
  background: var(--blue); color: #fff;
  font-family: var(--font-display); font-size: 17px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.02em;
}
.cmp-table tbody th { width: 30%; color: var(--blue-dark); font-weight: 700; background: var(--paper); }
.cmp-table tbody td { color: var(--slate-600); }
.cmp-table tbody tr:last-child th, .cmp-table tbody tr:last-child td { border-bottom: none; }

/* ---------- Trust strip ---------- */
.trust { background: var(--blue-ink); }
.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 32px 24px; padding: 40px 24px;
}
.trust-item { display: flex; align-items: center; gap: 14px; }
.trust-big {
  font-family: var(--font-display); font-size: 18px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.02em; color: #fff;
}
.trust-small { font-size: 14px; color: rgba(255, 255, 255, 0.6); }

/* ---------- Services ---------- */
.services-grid {
  margin-top: 56px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.service-card {
  height: 100%;
  border: 1px solid rgba(0, 89, 169, 0.15);
  background: #fff; border-radius: 16px; padding: 32px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
  transition: all 0.25s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 89, 169, 0.4);
  box-shadow: 0 24px 40px -20px rgba(0, 89, 169, 0.25);
}
.service-top { display: flex; align-items: flex-start; justify-content: space-between; }
.service-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 12px;
  background: rgba(0, 89, 169, 0.1); color: var(--red);
  transition: all 0.25s ease;
}
.service-icon .ico { width: 28px; height: 28px; }
.service-card:hover .service-icon { background: var(--blue); color: #fff; }
.ico-shield-faint { width: 24px; height: 24px; color: rgba(178, 180, 183, 0.5); }
.service-title {
  margin-top: 24px;
  font-family: var(--font-display); font-size: 24px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.02em; color: var(--blue);
}
.service-body { margin-top: 12px; color: var(--slate-600); line-height: 1.6; }
.service-link {
  margin-top: 20px; display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em;
  color: var(--red); transition: color 0.2s;
}
.service-link .ico { width: 16px; height: 16px; }
.service-link:hover { color: var(--blue); }

/* ---------- How It Works ---------- */
.steps-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step {
  background: #fff; border: 1px solid rgba(0, 89, 169, 0.15); border-radius: 16px;
  padding: 28px; text-align: center;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 999px;
  background: var(--red); color: #fff;
  font-family: var(--font-display); font-size: 24px; font-weight: 700;
}
.step-title {
  margin-top: 16px;
  font-family: var(--font-display); font-size: 21px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.02em; color: var(--blue-dark);
}
.step-body { margin-top: 8px; font-size: 15px; color: var(--slate-600); line-height: 1.55; }
.steps-cta { margin-top: 32px; text-align: center; }

/* ---------- Areas we serve ---------- */
.areas-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.chips { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center;
  padding: 9px 18px; border-radius: 999px;
  background: #fff; border: 1px solid var(--slate-200);
  font-size: 15px; font-weight: 600; color: var(--blue-dark);
  transition: all 0.2s ease;
}
.chip:hover { border-color: var(--blue); color: var(--blue); }
.map-embed { width: 100%; height: 360px; border: 0; border-radius: 16px; box-shadow: 0 20px 40px -24px rgba(0, 89, 169, 0.4); display: block; }

/* ---------- Emergency strip ---------- */
.estrip { background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%); padding: 64px 0; }
.estrip-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.estrip-title {
  font-family: var(--font-display); font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  font-weight: 700; text-transform: uppercase; letter-spacing: -0.01em; line-height: 1.05; color: #fff;
}
.estrip-sub { margin: 12px auto 26px; max-width: 52ch; font-size: 17px; color: rgba(255, 255, 255, 0.92); }
.estrip .btn-light { background: #fff; color: var(--red); box-shadow: 0 12px 26px -12px rgba(0, 0, 0, 0.35); }
.estrip .btn-light:hover { background: var(--paper); }
.estrip .btn-ghost { border-color: rgba(255, 255, 255, 0.55); }
.estrip .btn-ghost:hover { background: #fff; color: var(--red); }
.estrip-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.estrip :focus-visible { outline-color: #fff; }

/* ---------- Lead form (Gravity Forms design target) ---------- */
.lead-form {
  margin: 40px auto 0; max-width: 560px; text-align: left;
  background: #fff; border-radius: 16px; padding: 28px;
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.45);
}
.lead-form h3 {
  font-family: var(--font-display); font-size: 24px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.02em; color: var(--blue-dark);
}
.lead-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lead-form .field { margin-top: 14px; display: flex; flex-direction: column; gap: 5px; }
.lead-form label { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--slate-600); }
.lead-form input, .lead-form select {
  padding: 12px 14px; border: 1px solid var(--slate-200); border-radius: 8px;
  font-family: var(--font-body); font-size: 16px; color: var(--blue-dark); background: #fff;
}
.lead-form input:focus, .lead-form select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 89, 169, 0.15); }
.lead-form .btn { margin-top: 18px; width: 100%; }
.form-trust { margin-top: 12px; font-size: 13px; text-align: center; color: var(--slate-500); }

/* ---------- Gravity Forms mapping ----------
   WP only: GF form id 1 renders inside .lead-form (default GF CSS disabled in
   functions.php), so GF markup must land on the same design as the static form. */
.lead-form .gform_wrapper { text-align: left; }
.lead-form .gform_fields {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  margin: 14px 0 0; padding: 0; list-style: none;
}
.lead-form .gfield { grid-column: span 2; display: flex; flex-direction: column; gap: 5px; }
.lead-form .gfield--width-half { grid-column: span 1; }
.lead-form .gfield_required { color: var(--red); }
.lead-form .ginput_container input, .lead-form .ginput_container select { width: 100%; }
.lead-form .gform_footer { margin: 0; padding: 0; }
.lead-form .gform_footer .btn { margin-top: 18px; width: 100%; }
.lead-form .gform_ajax_spinner { margin-left: 10px; width: 20px; height: 20px; }
.lead-form .gform_validation_errors {
  margin-top: 14px; padding: 12px 14px; border: 1px solid var(--red); border-radius: 8px;
  background: rgba(217, 39, 40, 0.06); color: var(--red-dark); font-size: 14px; font-weight: 600;
}
.lead-form .gform_validation_errors h2 { font-family: var(--font-body); font-size: 15px; text-transform: none; letter-spacing: 0; }
.lead-form .gform_validation_errors ol { margin: 6px 0 0; padding-left: 18px; }
.lead-form .gfield_validation_message, .lead-form .validation_message {
  font-size: 13px; font-weight: 600; color: var(--red-dark);
}
.lead-form .gfield_error input, .lead-form .gfield_error select { border-color: var(--red); }
.lead-form .gform_confirmation_message {
  display: block; margin-top: 14px; padding: 14px 16px; border: 1px solid var(--blue); border-radius: 8px;
  background: rgba(0, 89, 169, 0.06); color: var(--blue-dark); font-size: 16px; font-weight: 600;
}

/* ---------- Gravity Forms: field types beyond text/select ----------
   The rules above were written for form 1 (Request an Estimate = 4 text/select fields).
   Form 2 (Job Application) adds name, checkbox, radio, fileupload, textarea and consent.
   Because `gform_disable_css` is on, ANY field type we don't map here falls back to raw
   browser defaults - which is why fieldsets showed their UA border and checkboxes
   inherited the text-input box treatment (full width + 12px padding). */

/* GF wraps composite + choice fields in <fieldset><legend> - strip the UA chrome */
.lead-form .gform_fields fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.lead-form .gform_fields legend { padding: 0; float: none; width: auto; }

/* labels, legends, required marker and helper text */
.lead-form .gfield_label {
  font-size: 13px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.04em; color: var(--slate-600);
}
.lead-form .gfield_required { margin-left: 4px; }
.lead-form .gfield_description {
  margin-top: 2px; font-size: 12.5px; font-weight: 400;
  text-transform: none; letter-spacing: 0; color: var(--slate-500); line-height: 1.45;
}

/* composite name field: two columns, sub-label above its input like every other field */
.lead-form .ginput_complex { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lead-form .ginput_complex > span { display: flex; flex-direction: column; gap: 4px; }
.lead-form .ginput_complex label {
  order: -1; font-size: 11.5px; font-weight: 600; letter-spacing: 0.03em; color: var(--slate-500);
}

/* textarea matches the text inputs */
.lead-form textarea {
  width: 100%; min-height: 110px; resize: vertical;
  padding: 12px 14px; border: 1px solid var(--slate-200); border-radius: 8px;
  font-family: var(--font-body); font-size: 16px; color: var(--blue-dark); background: #fff;
}
.lead-form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 89, 169, 0.15); }

/* choice fields - these must NOT inherit the text-input box treatment */
.lead-form .gfield_checkbox, .lead-form .gfield_radio { display: flex; flex-direction: column; gap: 9px; }
.lead-form .gchoice, .lead-form .ginput_container_consent { display: flex; align-items: flex-start; gap: 10px; }
.lead-form .gchoice input[type="checkbox"],
.lead-form .gchoice input[type="radio"],
.lead-form .ginput_container_consent input[type="checkbox"] {
  width: 18px; height: 18px; min-width: 18px; flex: none;
  margin: 2px 0 0; padding: 0; border-radius: 4px; accent-color: var(--blue);
}
.lead-form .gchoice input[type="radio"] { border-radius: 50%; }
.lead-form .gchoice label,
.lead-form .ginput_container_consent label {
  font-size: 15px; font-weight: 400; text-transform: none; letter-spacing: 0;
  color: var(--blue-dark); line-height: 1.45;
}

/* file upload */
.lead-form input[type="file"] {
  width: 100%; padding: 10px; border: 1px dashed var(--slate-200); border-radius: 8px;
  background: var(--paper); font-size: 14px; color: var(--slate-600);
}
.lead-form .gform_fileupload_rules { display: block; margin-top: 4px; font-size: 12.5px; color: var(--slate-500); }

/* long forms (the application) read better as a single column */
.lead-form .gform_fields.apply-single { grid-template-columns: 1fr; }
@media (max-width: 560px) {
  .lead-form .ginput_complex { grid-template-columns: 1fr; }
}

/* ---------- Breadcrumbs ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13.5px; font-weight: 600; color: rgba(255, 255, 255, 0.7); }
.crumbs a { color: rgba(255, 255, 255, 0.85); }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs .sep { color: rgba(255, 255, 255, 0.45); }
.crumbs + .eyebrow { margin-top: 18px; }

/* ---------- Financing ---------- */
.financing-wrap { padding: 64px 0; }
.financing {
  display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 24px;
  overflow: hidden; border-radius: 24px;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  padding: 40px 48px;
}
.financing-copy { max-width: 640px; }
.financing-eyebrow { display: flex; align-items: center; gap: 8px; color: var(--silver); }
.financing-eyebrow span { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.18em; }
.financing-title {
  margin-top: 12px;
  font-family: var(--font-display); font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700; text-transform: uppercase; letter-spacing: -0.01em; color: #fff;
}
.financing-body { margin-top: 12px; color: rgba(255, 255, 255, 0.85); }
.financing-btn { flex: 0 0 auto; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-media { position: relative; }
.about-photo { overflow: hidden; border-radius: 24px; box-shadow: 0 30px 60px -30px rgba(0, 89, 169, 0.5); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-badge {
  position: absolute; bottom: -24px; right: -16px;
  background: var(--red); color: #fff;
  padding: 20px 28px; border-radius: 16px;
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.4);
}
.about-badge-num { font-family: var(--font-display); font-size: 40px; font-weight: 700; line-height: 1; }
.about-badge-label { margin-top: 4px; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.02em; }
.about-text { margin-top: 20px; display: flex; flex-direction: column; gap: 16px; color: var(--slate-600); line-height: 1.6; }
.about-copy .btn { margin-top: 32px; }

/* ---------- Why ---------- */
.why-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.why-card {
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px; padding: 28px;
  transition: background 0.2s;
}
.why-card:hover { background: rgba(255, 255, 255, 0.1); }
.why-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 12px; background: var(--red); color: #fff;
}
.why-icon .ico { width: 24px; height: 24px; }
.why-title {
  margin-top: 20px;
  font-family: var(--font-display); font-size: 20px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.02em; color: #fff;
}
.why-body { margin-top: 10px; font-size: 14px; line-height: 1.6; color: rgba(255, 255, 255, 0.7); }

/* ---------- Reviews ---------- */
.reviews-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review {
  display: flex; flex-direction: column; height: 100%;
  border: 1px solid var(--slate-200); background: var(--paper);
  border-radius: 16px; padding: 32px;
}
.stars { display: flex; gap: 4px; color: var(--red); }
.review blockquote { margin-top: 20px; flex: 1 1 auto; font-size: 18px; line-height: 1.6; color: #334155; }
.review figcaption { margin-top: 24px; border-top: 1px solid var(--slate-200); padding-top: 16px; }
.review-name { font-family: var(--font-display); font-size: 18px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; color: var(--blue); }
.review-town { font-size: 14px; color: var(--slate-500); }
.agg-rating { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; }
.agg-count { font-size: 17px; color: var(--slate-600); }
.agg-count strong { font-family: var(--font-display); font-size: 28px; font-weight: 800; color: var(--blue-dark); margin-right: 4px; }
.agg-count a { color: var(--blue); font-weight: 700; }
.agg-count a:hover { text-decoration: underline; }
.reviews-cta { margin-top: 34px; text-align: center; font-weight: 700; }
.reviews-cta a { color: var(--blue); }
.reviews-cta a:hover { text-decoration: underline; }

/* ---------- Location-page components (Terrapin structure, Greer tokens) ---------- */
.loc-grid {
  margin: 40px auto 0; max-width: 960px;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
}
.loc-item {
  display: flex; gap: 16px; background: #fff;
  border: 1px solid var(--slate-200); border-radius: 16px; padding: 24px;
  box-shadow: 0 18px 38px -26px rgba(7, 26, 44, 0.25);
}
.loc-item .pin {
  flex: none; width: 42px; height: 42px; border-radius: 50%;
  background: var(--blue); color: #fff; display: grid; place-items: center; font-size: 14px;
}
.loc-item h3 {
  font-family: var(--font-display); font-size: 19px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.02em; color: var(--blue-dark);
}
.loc-item p { margin-top: 4px; font-size: 15px; line-height: 1.6; color: var(--slate-600); }
.loc-note { margin: 24px auto 0; max-width: 72ch; text-align: center; font-size: 16.5px; line-height: 1.65; color: var(--slate-600); }
.svc-pills {
  margin: 36px auto 0; max-width: 920px;
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: center;
}
.svc-pill {
  display: inline-flex; align-items: center;
  background: #fff; border: 1px solid var(--slate-200); border-radius: 50px; padding: 12px 24px;
  font-family: var(--font-display); font-size: 17px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.02em; color: var(--blue-dark);
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.svc-pill:hover { background: var(--blue); border-color: var(--blue); color: #fff; transform: translateY(-2px); }
.relt-grid { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.relt-card {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: #fff; border: 1px solid var(--slate-200); border-radius: 12px; padding: 18px 22px;
  font-family: var(--font-display); font-size: 18px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.02em; color: var(--blue-dark);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.relt-card .ra { color: var(--red); transition: transform 0.25s ease; }
.relt-card:hover { border-color: var(--blue); transform: translateY(-2px); box-shadow: 0 14px 30px -18px rgba(15, 23, 42, 0.25); }
.relt-card:hover .ra { transform: translateX(4px); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; }
.faq-intro .btn { margin-top: 32px; }
.faq-list { display: block; }
.faq-item { border-bottom: 1px solid var(--slate-200); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: 100%; text-align: left;
  padding: 20px 0; background: none; border: none; cursor: pointer;
  font-family: var(--font-display); font-size: 20px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.02em; color: var(--blue-dark);
}
.faq-chevron { color: var(--red); transition: transform 0.3s; }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-a {
  display: grid; grid-template-rows: 0fr; opacity: 0;
  transition: grid-template-rows 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
}
.faq-a > p { overflow: hidden; color: var(--slate-600); line-height: 1.6; }
.faq-item.open .faq-a { grid-template-rows: 1fr; opacity: 1; padding-bottom: 20px; }

/* ---------- CTA ---------- */
.cta { background: var(--blue); padding: 80px 0; }
.cta-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.cta-title {
  margin-top: 12px;
  font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700; text-transform: uppercase; letter-spacing: -0.01em; color: #fff;
}
.cta-sub { margin: 16px auto 0; max-width: 640px; font-size: 18px; color: rgba(255, 255, 255, 0.85); }
.cta-actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: center; }
.cta-phone {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--blue);
  padding: 16px 32px; border-radius: 999px;
  font-family: var(--font-display); font-size: 24px; font-weight: 700; letter-spacing: 0.02em;
  box-shadow: 0 12px 28px -12px rgba(0, 0, 0, 0.4); transition: transform 0.2s;
}
.cta-phone .ico { width: 24px; height: 24px; }
.cta-phone:hover { transform: scale(1.02); }

/* ---------- Footer ---------- */
.footer { background: var(--blue-ink); color: #fff; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 40px; padding: 64px 24px; }
.footer-logo { height: 56px; width: auto; }
.footer-about { margin-top: 20px; max-width: 420px; line-height: 1.6; color: rgba(255, 255, 255, 0.7); }
.footer-social { margin-top: 24px; display: flex; gap: 12px; }
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.1); transition: background 0.2s;
}
.footer-social a:hover { background: var(--red); }
.footer-cta { margin-top: 24px; }
.footer-cta .btn { padding: 12px 22px; font-size: 13px; }
.footer-head { font-family: var(--font-display); font-size: 18px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; color: var(--silver); }
.footer-col ul { list-style: none; margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.footer-col a, .footer-line { color: rgba(255, 255, 255, 0.7); transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-contact li a, .footer-line { display: inline-flex; align-items: flex-start; gap: 10px; }
.footer-contact .ico { margin-top: 2px; }
.footer-phone { font-family: var(--font-display); font-size: 20px; font-weight: 700; align-items: center !important; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); }
.footer-bottom-inner {
  display: flex; flex-direction: row; align-items: center; justify-content: space-between;
  gap: 8px; padding: 20px 24px; font-size: 14px; color: rgba(255, 255, 255, 0.5);
}
/* Privacy · Terms · Site Design & Dev - wraps + centers rather than overflowing on narrow screens */
.footer-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 16px; }
.footer-legal a:hover { color: rgba(255, 255, 255, 0.8); }

/* ---------- Mobile bottom dock (quick actions) ---------- */
.mdock {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 150;
  background: #fff; border-top: 1px solid var(--slate-200);
  grid-template-columns: repeat(4, 1fr);
  box-shadow: 0 -4px 18px rgba(11, 42, 69, 0.1);
  padding-bottom: env(safe-area-inset-bottom);
}
.mdock a {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 10px 4px;
  font-family: var(--font-display);
  font-size: 0.74rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.03em;
  text-align: center; line-height: 1.15;
  color: var(--blue-dark);
}
.mdock a .ico { width: 20px; height: 20px; }
.mdock a:last-child { background: var(--red); color: #fff; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.38s ease-out, transform 0.38s ease-out; }
.reveal.shown { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
  /* longer nav labels (Residential/Commercial/Service Areas) - drop the nav phone first, keep the CTA */
  .nav-phone { display: none; }
  /* labels are nowrap, so tighten spacing instead of letting items shrink/wrap */
  .nav-links { gap: 14px; }
  .nav-links a { font-size: 14.5px; }
}

@media (max-width: 1099px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
}

@media (max-width: 1023px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  html { scroll-padding-top: 84px; }
  body { padding-bottom: 64px; } /* clearance for the fixed mobile dock */
  .mdock { display: grid; }
  .utility-bar { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; }
  .loc-grid { grid-template-columns: 1fr; }
  .relt-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .areas-grid { grid-template-columns: 1fr; }
  .map-embed { height: 300px; }
  .lead-form .form-row { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; gap: 32px; }
  .financing { flex-direction: column; align-items: flex-start; padding: 40px 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 767px) {
  .section { padding: 64px 0; }
  .hero-fade { background: linear-gradient(to bottom, rgba(7, 26, 44, 0.55) 0%, rgba(0, 89, 169, 0.5) 55%, rgba(0, 89, 169, 0.62) 100%); }
  .hero-fade-mobile { display: block; position: absolute; inset: 0; background: rgba(7, 26, 44, 0.28); }
  .hero-inner { min-height: 86vh; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .relt-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .about-badge { right: 16px; }
  .footer-bottom-inner { flex-direction: column; }
  .hero-actions .btn, .cta-actions .btn, .cta-phone { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* =========================================================
   Service-page redesign components (Terrapin-pattern layout,
   Greer tokens). Prefixed svc-/inc-/quote- to avoid colliding
   with the homepage .hero* classes. Added 2026-07-05.
   ========================================================= */

/* ---------- Photo hero (image bg + gradient overlay) ---------- */
.svc-hero {
  position: relative; overflow: hidden;
  min-height: 520px; display: flex; align-items: center;
  background: linear-gradient(90deg, rgba(7, 26, 44, 0.92) 0%, rgba(11, 42, 69, 0.62) 46%, rgba(11, 42, 69, 0.22) 100%);
}
.svc-hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.svc-hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center right; }
.svc-hero-bg::after { /* let the section gradient show over the image */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(7, 26, 44, 0.88) 0%, rgba(11, 42, 69, 0.55) 46%, rgba(11, 42, 69, 0.12) 100%);
}
.svc-hero .container { position: relative; z-index: 1; }
.svc-hero-inner { max-width: 640px; padding: 40px 0; }
.svc-hero .page-title { color: #fff; }
.svc-hero .page-sub { color: rgba(255, 255, 255, 0.92); }

/* ---------- Two-column intro (copy + image) ---------- */
.svc-intro-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.svc-intro-copy .eyebrow { display: block; }
.svc-intro-copy h2 {
  margin-top: 10px;
  font-family: var(--font-display); font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  font-weight: 700; text-transform: uppercase; letter-spacing: -0.01em;
  line-height: 1.05; color: var(--blue-dark);
}
.svc-intro-copy p { margin-top: 16px; max-width: 62ch; font-size: 17px; line-height: 1.7; color: var(--slate-600); }
.svc-intro-copy .btn { margin-top: 24px; }
.svc-intro-img img {
  display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: 16px; box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.35);
}

/* ---------- "What's Included" checklist cards ---------- */
.inc-grid {
  margin: 44px auto 0; max-width: 960px;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
}
.inc-item {
  display: flex; gap: 16px; background: #fff;
  border: 1px solid var(--slate-200); border-radius: 16px; padding: 24px;
  box-shadow: 0 18px 38px -26px rgba(7, 26, 44, 0.25);
}
.inc-check {
  flex: none; width: 42px; height: 42px; border-radius: 50%;
  background: var(--blue); color: #fff; display: grid; place-items: center;
  font-size: 20px; font-weight: 800; line-height: 1;
}
.inc-item h3 {
  font-family: var(--font-display); font-size: 19px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.02em; color: var(--blue-dark);
}
.inc-item p { margin-top: 4px; font-size: 15px; line-height: 1.6; color: var(--slate-600); }
.inc-item a { color: var(--blue); font-weight: 600; }
/* 3-up variant (careers position categories): one full-width row of three;
   the 820px .inc-grid rule below still collapses it to a single column */
.inc-grid-3 { max-width: none; grid-template-columns: repeat(3, 1fr); }

/* ---------- Dark estimate-form band (ctaband + quote form) ---------- */
.ctaband { background: linear-gradient(120deg, var(--blue-dark) 0%, var(--blue-deep) 100%); color: #fff; }
.quote-wrap {
  max-width: 1040px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px; padding: 48px;
}
.quote-copy .eyebrow { color: #7fb2e6; }
.quote-copy h2 {
  margin-top: 12px;
  font-family: var(--font-display); font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  font-weight: 700; text-transform: uppercase; letter-spacing: -0.01em; color: #fff;
}
.quote-copy p { margin-top: 14px; font-size: 17px; line-height: 1.65; color: rgba(255, 255, 255, 0.85); }
.qbenefits { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.qbenefit { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 15.5px; }
.qbenefit svg { flex: none; width: 22px; height: 22px; color: #6fd08a; }
.qbenefit a { color: #7fb2e6; font-weight: 700; }
/* the quote form reuses .lead-form styling; only the wrapper margin changes */
.quote-form.lead-form, .apply-form.lead-form { margin: 0; max-width: none; }

/* Careers apply band: one dark band carrying the open positions and the application,
   stacked - scan the roles, then apply. (The intro copy that sat above them was removed
   2026-08-05, so the band leads with the openings heading.) Each block gets its own
   measure: the cards want the full container to stay 3-up, while the 13-field form reads
   badly stretched past ~900px. Same order at every width. */
#apply .apply-openings .eyebrow { color: #7fb2e6; }      /* red-on-navy is too low-contrast here */
#apply .apply-openings .inc-grid { margin-top: 36px; }
#apply .apply-formwrap { max-width: 900px; margin: 60px auto 0; }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .svc-hero { min-height: 440px; }
  .svc-hero-bg::after,
  .svc-hero { background: linear-gradient(180deg, rgba(7, 26, 44, 0.72) 0%, rgba(11, 42, 69, 0.62) 100%); }
  .svc-hero-bg img { object-position: center; }
  .svc-intro-grid { grid-template-columns: 1fr; gap: 32px; }
  .svc-intro-img { order: -1; }
  .inc-grid { grid-template-columns: 1fr; }
  .quote-wrap { grid-template-columns: 1fr; gap: 32px; padding: 32px 24px; text-align: center; }
  .qbenefits { align-items: center; }
  .quote-form.lead-form { text-align: left; }
}

/* ---------- Story timeline (About) ---------- */
.timeline { position: relative; max-width: 780px; margin: 44px auto 0; }
.timeline::before { content: ""; position: absolute; left: 118px; top: 12px; bottom: 12px; width: 2px; background: var(--slate-200); }
.tl-item { position: relative; display: grid; grid-template-columns: 100px 1fr; gap: 44px; padding-bottom: 34px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-year { text-align: right; font-family: var(--font-display); font-size: 20px; font-weight: 800; color: var(--red); line-height: 1.15; }
.tl-item::before {
  content: ""; position: absolute; left: 110px; top: 3px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--blue); box-shadow: 0 0 0 4px #fff, 0 0 0 6px rgba(0, 89, 169, 0.22);
}
.tl-body h3 {
  font-family: var(--font-display); font-size: 20px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.02em; color: var(--blue-dark); line-height: 1.1;
}
.tl-body p { margin-top: 6px; font-size: 15.5px; line-height: 1.65; color: var(--slate-600); }

/* ---------- Mission & Vision band ---------- */
.mv-grid { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.mv-card { background: #fff; border: 1px solid var(--slate-200); border-left: 4px solid var(--red); border-radius: 14px; padding: 28px 30px; box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06); }
.mv-card .eyebrow { display: block; margin-bottom: 8px; }
.mv-card p { font-size: 17px; line-height: 1.6; color: var(--blue-dark); }

@media (max-width: 640px) {
  .timeline::before { left: 7px; }
  .tl-item { grid-template-columns: 1fr; gap: 0; padding-left: 34px; padding-bottom: 28px; }
  .tl-item::before { left: 0; top: 4px; }
  .tl-year { text-align: left; font-size: 17px; margin-bottom: 3px; }
  .mv-grid { grid-template-columns: 1fr; gap: 18px; }
}


