/* ─────────────────────────────────────────────────────────────────────
   Caspian — Plumbing & Mechanical website
   Token system: colors, type, motion. Mobile-first; breakpoint at 920px.
   ───────────────────────────────────────────────────────────────────── */

:root {
  --navy-900: #0A1929;
  --navy-800: #0F2238;
  --navy-700: #14253D;
  --navy-600: #1B3050;
  --steel-700: #3A4D62;
  --steel-500: #6B7E92;
  --steel-300: #A8B3BF;
  --steel-200: #C5CCD3;
  --steel-100: #E2E6EB;
  --graphite:  #2A2E33;
  --paper:     #F5F4F0;
  --paper-2:   #ECECE6;
  --paper-3:   #DFDED7;
  --line:      rgba(20, 37, 61, 0.14);
  --line-2:    rgba(20, 37, 61, 0.28);
  --line-rev:  rgba(245, 244, 240, 0.18);

  --font-display: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, monospace;

  --shadow-soft: 0 1px 2px rgba(10,25,41,0.04), 0 8px 28px rgba(10,25,41,0.07);
  --shadow-hover: 0 2px 4px rgba(10,25,41,0.06), 0 16px 40px rgba(10,25,41,0.12);

  --rad-sm: 2px;
  --rad-md: 4px;

  --container: 1320px;
  --gutter: 56px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-display);
  font-weight: 400; font-size: 16px; line-height: 1.55;
  color: var(--navy-900); background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Mono utility "tag" used for eyebrow text everywhere. */
.tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-weight: 500;
  font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--steel-500);
}
.tag .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #4FB37A; box-shadow: 0 0 0 3px rgba(79,179,122,0.18);
}
.tag .dash { width: 18px; height: 1px; background: currentColor; opacity: .6; }

.eyebrow {
  font-family: var(--font-mono); font-weight: 500;
  font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--steel-500); margin: 0 0 28px;
  display: flex; align-items: center; gap: 12px;
}

/* Buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  font-family: var(--font-display); font-weight: 500; font-size: 15px;
  letter-spacing: 0.02em;
  border-radius: var(--rad-sm); border: 1px solid transparent;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--navy-900); color: var(--paper);
}
.btn-primary:hover { background: var(--navy-700); }
.btn-ghost {
  background: transparent; color: var(--navy-900);
  border-color: var(--line-2);
}
.btn-ghost:hover { background: var(--paper-2); }
.btn--lg { padding: 15px 22px; font-size: 15px; }
.btn--arrow::after {
  content: "→"; display: inline-block; transition: transform 0.18s ease;
  font-family: var(--font-display);
}
.btn--arrow:hover::after { transform: translateX(3px); }

/* Reverse-mode buttons on navy bg */
.on-navy .btn-primary {
  background: var(--paper); color: var(--navy-900);
}
.on-navy .btn-primary:hover { background: #fff; }
.on-navy .btn-ghost { color: var(--paper); border-color: var(--line-rev); }
.on-navy .btn-ghost:hover { background: rgba(255,255,255,0.04); }

/* Section scaffolding --------------------------------------------------- */
section { padding: 120px 0; position: relative; }
section.compact { padding: 80px 0; }
section.on-navy {
  background: var(--navy-900); color: var(--paper);
}
section.on-paper-2 { background: var(--paper-2); }
section.on-graphite { background: var(--graphite); color: var(--paper); }

/* Warranty trust strip — sits between hero and audience cards. Slim
   navy band with a shield icon + the promise. */
.warranty-strip { padding: 18px 0; background: var(--navy-900); color: var(--paper); }
.warranty-strip .container {
  display: flex; align-items: center; gap: 28px;
}
.warranty-strip__icon {
  width: 36px; height: 36px;
  color: #ff8d70;
  flex-shrink: 0;
}
.warranty-strip__text {
  display: flex; flex-direction: column; gap: 4px; min-width: 0;
}
.warranty-strip__text strong {
  font-family: var(--font-display); font-weight: 700;
  font-size: 19px; letter-spacing: -0.003em; line-height: 1.1;
  color: var(--paper);
}
.warranty-strip__text span {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em;
  color: var(--steel-300); text-transform: uppercase;
}
.warranty-strip__cta {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 18px;
  border: 1px solid rgba(245, 244, 240, 0.32);
  border-radius: 2px;
  font-family: var(--font-display); font-weight: 500; font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--paper);
  transition: background 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
  flex-shrink: 0;
}
.warranty-strip__cta:hover { background: rgba(245, 244, 240, 0.08); border-color: var(--paper); }
.warranty-strip__cta svg { width: 14px; height: 14px; }

.section-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 48px;
  margin-bottom: 72px;
}
.section-head h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(40px, 5vw, 64px); letter-spacing: -0.005em; line-height: 1.02;
  margin: 12px 0 0;
  max-width: 720px;
}
.section-head p {
  font-size: 17px; color: var(--steel-700); max-width: 380px; margin: 0;
  line-height: 1.55;
}
.on-navy .section-head p { color: var(--steel-300); }

/* Top navigation -------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
}

/* Utility bar — emergency line + Book Service */
.topnav-util {
  background: var(--navy-900);
  border-bottom: 1px solid rgba(245, 244, 240, 0.08);
  color: var(--paper);
}
.topnav-util-inner {
  display: flex; align-items: center; justify-content: flex-end;
  gap: 24px; padding: 9px var(--gutter);
  max-width: var(--container); margin: 0 auto;
}
.btn-util {
  display: inline-flex; align-items: center;
  padding: 7px 16px;
  font-family: var(--font-display); font-weight: 500; font-size: 13px;
  letter-spacing: 0.02em; white-space: nowrap;
  background: rgba(245, 244, 240, 0.10);
  border: 1px solid rgba(245, 244, 240, 0.22);
  border-radius: var(--rad-sm);
  color: var(--paper);
  transition: background 0.18s ease, border-color 0.18s ease;
}
.btn-util:hover { background: rgba(245, 244, 240, 0.16); border-color: rgba(245,244,240,0.38); }

.topnav {
  background: var(--navy-800);
  border-bottom: 1px solid rgba(245, 244, 240, 0.10);
  color: var(--paper);
}
.topnav-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; padding: 16px var(--gutter);
  max-width: var(--container); margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--paper); }
.brand-badge {
  height: 88px;
  width: 260px;
  max-width: none;
  display: block;
  color: var(--paper);
  flex-shrink: 0;
}
.brand .wordmark {
  font-family: var(--font-display); font-weight: 700; font-size: 18px;
  letter-spacing: 0.06em; color: var(--navy-900);
}
.brand .descriptor {
  font-family: var(--font-display); font-weight: 500; font-size: 9px;
  letter-spacing: 0.22em; color: var(--steel-500); margin-top: 2px;
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.nav-links {
  display: flex; align-items: center; gap: 32px;
  list-style: none; margin: 0; padding: 0;
}
.nav-links a {
  font-size: 12px; color: var(--paper); font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase;
  position: relative; padding: 4px 0;
  opacity: 0.82;
  transition: opacity 0.18s ease;
}
.nav-links a:hover { opacity: 1; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: var(--paper); transform: scaleX(0);
  transform-origin: left; transition: transform 0.2s ease;
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.nav-phone {
  font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.06em;
  color: var(--paper); font-weight: 500;
  display: flex; align-items: center; gap: 8px;
  white-space: nowrap;
  opacity: 0.88;
}
.nav-phone svg { width: 14px; height: 14px; stroke: var(--steel-300); }
.nav-phone:hover { opacity: 1; }

/* Single emergency button replaces the stacked phone block. The dot
   pulses to signal "we're available 24/7". */
.nav-emergency {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 14px;
  border: 1px solid rgba(245, 244, 240, 0.22);
  border-radius: 999px;
  color: var(--paper);
  text-decoration: none;
  transition: background 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-emergency:hover {
  background: rgba(245, 244, 240, 0.08);
  border-color: var(--paper);
}
.nav-emergency__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #ff7a59;
  flex-shrink: 0;
  box-shadow: 0 0 0 4px rgba(255, 122, 89, 0.18);
  animation: emergency-pulse 2.4s ease-in-out infinite;
}
@keyframes emergency-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(255, 122, 89, 0.18); }
  50%      { box-shadow: 0 0 0 7px rgba(255, 122, 89, 0.05); }
}
.nav-emergency__label {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.22em;
  color: #ff9b80; font-weight: 500;
  white-space: nowrap;
}
.nav-emergency__num {
  font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.04em;
  color: var(--paper); font-weight: 500;
  white-space: nowrap;
}

/* Primary CTA in the nav inverts to a light fill so it pops on navy. */
.topnav .btn-primary {
  background: var(--paper); color: var(--navy-900);
}
.topnav .btn-primary:hover { background: #fff; }

/* Mega-menu nav items --------------------------------------------------- */
.nav-links a::after { display: none; } /* disable underline on trigger links */

.nav-trigger {
  display: inline-flex; align-items: center; gap: 5px;
  cursor: default;
}
.nav-chevron {
  flex-shrink: 0; opacity: 0.55;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.has-dropdown:hover .nav-chevron { transform: rotate(180deg); opacity: 1; }

.has-dropdown { position: relative; }

/* Invisible bridge below the trigger — keeps :hover alive while
   the mouse travels the gap between the trigger and the menu. */
.has-dropdown::after {
  content: '';
  position: absolute;
  top: 100%; left: -20px; right: -20px;
  height: 14px;
}

.mega-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%; transform: translateX(-50%) translateY(-6px);
  width: 580px;
  background: var(--navy-800);
  border: 1px solid rgba(245, 244, 240, 0.13);
  border-radius: var(--rad-md);
  box-shadow: 0 24px 60px rgba(10, 25, 41, 0.45), 0 2px 8px rgba(10, 25, 41, 0.2);
  display: grid;
  grid-template-columns: 1fr 200px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.has-dropdown:hover .mega-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* Left column: service links */
.mega-menu__services { padding: 22px 20px 22px 22px; }
.mega-menu__label {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--steel-300); opacity: 0.65; margin: 0 0 14px;
}
.mega-menu__services ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 1px;
}
.mega-menu__services ul li a {
  display: block; padding: 7px 10px;
  font-size: 13.5px; font-weight: 500; opacity: 1;
  color: var(--steel-200);
  border-radius: var(--rad-sm);
  transition: background 0.14s ease, color 0.14s ease;
}
.mega-menu__services ul li a:hover {
  background: rgba(245, 244, 240, 0.07);
  color: var(--paper);
}
/* suppress the underline animation on mega-menu links */
.mega-menu__services ul li a::after { display: none !important; }

/* Right column: emergency panel */
.mega-menu__panel {
  background: var(--navy-900);
  border-left: 1px solid rgba(245, 244, 240, 0.10);
  padding: 22px 18px;
  display: flex; flex-direction: column; gap: 9px;
}
.mega-menu__panel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #ff7a59;
  box-shadow: 0 0 0 4px rgba(255, 122, 89, 0.18);
  animation: emergency-pulse 2.4s ease-in-out infinite;
  flex-shrink: 0;
}
.mega-menu__panel-eyebrow {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: #ff9b80; margin: 0;
}
.mega-menu__panel-heading {
  font-family: var(--font-display); font-weight: 700;
  font-size: 16px; line-height: 1.2; letter-spacing: -0.01em;
  color: var(--paper); margin: 0;
}
.mega-menu__panel-sub {
  font-size: 12.5px; color: var(--steel-300); margin: 0;
  line-height: 1.5; flex-grow: 1;
}
.mega-menu a.mega-menu__panel-phone {
  font-family: var(--font-mono); font-size: 13px;
  font-weight: 500; letter-spacing: 0.04em;
  color: var(--paper); display: block; opacity: 1;
  transition: opacity 0.18s ease;
}
.mega-menu a.mega-menu__panel-phone:hover { opacity: 0.75; }
.mega-menu a.mega-menu__panel-btn {
  display: block; text-align: center;
  padding: 10px 14px;
  background: var(--paper); color: var(--navy-900);
  font-family: var(--font-display); font-weight: 600;
  font-size: 13px; letter-spacing: 0.01em;
  border-radius: var(--rad-sm);
  transition: background 0.18s ease;
}
.mega-menu a.mega-menu__panel-btn:hover { background: #fff; }

/* First item: left-align so it doesn't clip the viewport */
.nav-links > li.has-dropdown:first-of-type .mega-menu {
  left: 0; transform: translateX(0) translateY(-6px);
}
.nav-links > li.has-dropdown:first-of-type:hover .mega-menu {
  transform: translateX(0) translateY(0);
}
/* Last item: right-align */
.nav-links > li.has-dropdown:last-child .mega-menu {
  left: auto; right: 0;
  transform: translateX(0) translateY(-6px);
}
.nav-links > li.has-dropdown:last-child:hover .mega-menu {
  transform: translateX(0) translateY(0);
}

/* ─────────────────────────────────────────────────────────────────
   Lead-gen quote form (lives in the hero right column).
   Construction-specific fields: project type, timeline, contact,
   details. Underline inputs keep the surface quiet so the chip rows
   do the work of selecting intent.
   ───────────────────────────────────────────────────────────────── */
.quote-form {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 20px 22px 18px;
  display: flex; flex-direction: column; gap: 14px;
  box-shadow:
    0 32px 80px rgba(10, 25, 41, 0.10),
    0 2px 6px rgba(10, 25, 41, 0.05);
  position: relative;
  font-size: 14px;
  color: var(--navy-900);
}
/* Inside a quote-form card, restore light-bg defaults even when the
   ancestor section uses .on-navy color inversion. */
.on-navy .quote-form { color: var(--navy-900); }
.on-navy .quote-form .btn-primary {
  background: var(--navy-900); color: var(--paper);
}
.on-navy .quote-form .btn-primary:hover { background: var(--navy-700); }
.quote-form__head h3 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 20px; line-height: 1.05; letter-spacing: -0.005em;
  margin: 6px 0 0;
}
.quote-form__group { display: flex; flex-direction: column; }
.quote-form__label {
  font-family: var(--font-mono); font-size: 9.5px;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--steel-500); margin-bottom: 7px; display: block;
}
.quote-form__chips {
  display: flex; flex-wrap: wrap; gap: 5px;
  position: relative;
}
.quote-form__chips input[type=radio] {
  position: absolute; opacity: 0; pointer-events: none;
  width: 1px; height: 1px;
}
.quote-form__chips label {
  font-family: var(--font-display); font-weight: 500; font-size: 12px;
  letter-spacing: 0.01em;
  padding: 6px 12px;
  border: 1px solid var(--line-2);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
  color: var(--navy-700);
  user-select: none;
}
.quote-form__chips label:hover { border-color: var(--navy-900); color: var(--navy-900); }
.quote-form__chips input[type=radio]:checked + label {
  background: var(--navy-900);
  color: var(--paper);
  border-color: var(--navy-900);
}
.quote-form__chips input[type=radio]:focus-visible + label {
  outline: 2px solid var(--navy-900);
  outline-offset: 2px;
}
.quote-form__chips--sm label { font-size: 11px; padding: 5px 10px; }

.quote-form__row { display: grid; gap: 14px; }
.quote-form__row--two { grid-template-columns: 1fr 1fr; }

.quote-form__field { display: flex; flex-direction: column; }
.quote-form input[type=text],
.quote-form input[type=email],
.quote-form input[type=tel],
.quote-form textarea {
  font-family: var(--font-display); font-size: 14px; font-weight: 400;
  color: var(--navy-900);
  background: transparent;
  border: 0; border-bottom: 1px solid var(--line-2);
  padding: 7px 0 9px;
  outline: none;
  transition: border-color 0.15s ease;
  resize: vertical;
}
.quote-form textarea { min-height: 50px; line-height: 1.5; }
.quote-form input::placeholder,
.quote-form textarea::placeholder { color: var(--steel-500); }
.quote-form input:focus,
.quote-form textarea:focus { border-color: var(--navy-900); }

.quote-form__submit {
  width: 100%; justify-content: center; padding: 13px 22px;
  margin-top: 2px;
  font-size: 14px;
}

.quote-form__alt {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.18em; color: var(--steel-500);
  text-transform: uppercase;
}
.quote-form__alt .rule {
  flex: 0 0 28px; height: 1px; background: var(--line-2);
}
.quote-form__alt a {
  color: var(--navy-900); border-bottom: 1px solid var(--navy-900);
  padding-bottom: 1px;
}
.quote-form__alt-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding-top: 8px; border-top: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--steel-500);
}
.quote-form__alt-row .alt-line { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.quote-form__alt-row .alt-line .alt-label { color: var(--steel-500); font-size: 10px; }
.quote-form__alt-row .alt-line a { color: var(--navy-900); font-size: 12px; letter-spacing: 0.04em; }
.quote-form__alt-row .alt-line.emergency a { color: #c44424; }

/* Hero ------------------------------------------------------------------ */
.hero {
  padding: 36px 0 56px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
/* Faded hero photography — sits behind the grid, washed out with a
   paper overlay so the headline and quote form remain legible. */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('assets/hero-living-room.jpg');
  background-size: cover;
  background-position: center 40%;
  filter: blur(3px) saturate(0.85);
  transform: scale(1.04);
  z-index: -2;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to right,
      rgba(245, 244, 240, 0.95) 0%,
      rgba(245, 244, 240, 0.92) 40%,
      rgba(245, 244, 240, 0.82) 100%
    );
  z-index: -1;
}
/* Sub-page heroes — dark navy overlay replaces the home-page cream wash.
   Also invert all text to paper/white to match the dark background. */
section.hero.on-navy::after {
  background: rgba(10, 25, 41, 0.92);
}
section.hero.on-navy h1 { color: var(--paper); }
section.hero.on-navy p.lead,
section.hero.on-navy .eyebrow { color: var(--steel-300); }
.hero > .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 64px;
  align-items: center;
}
.quote-form { max-width: 380px; margin-left: auto; }
.hero h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(40px, 5.4vw, 72px); line-height: 1; letter-spacing: -0.018em;
  margin: 0 0 22px;
  color: var(--navy-900);
  text-wrap: balance;
}
.hero h1 em {
  font-style: normal;
  /* an accent slice using steel — subtle, no emphasis tag default */
  color: var(--steel-500);
}
.hero p.lead {
  font-size: 17px; line-height: 1.55; color: var(--steel-700);
  max-width: 520px; margin: 0 0 26px;
}
.hero-ctas { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero-trust {
  margin-top: 24px; padding-top: 18px;
  border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  max-width: 540px;
}
.hero-trust .item { display: flex; flex-direction: column; gap: 4px; }
.hero-trust .num {
  font-family: var(--font-display); font-weight: 700; font-size: 22px;
  letter-spacing: -0.005em; color: var(--navy-900); line-height: 1;
}
.hero-trust .label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em;
  color: var(--steel-500); text-transform: uppercase;
}
/* When relocated under the lead-gen form, the trust strip needs to span
   the form's column width and align center for visual weight. */
.hero-trust--under-form {
  max-width: none;
  margin-top: 22px;
  padding: 20px 26px 0;
  border-top: 1px solid var(--line);
}

/* Full-width version: spans the entire hero, lives below the
   content/form grid. Four columns to give each signal room. */
.hero-trust--full {
  max-width: none;
  width: 100%;
  margin: 44px 0 0;
  padding: 26px 32px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(245, 244, 240, 0.72);
  backdrop-filter: blur(6px);
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: left;
}
.hero-trust--full .item {
  position: relative;
  padding-left: 16px;
}
.hero-trust--full .item + .item {
  border-left: 1px solid var(--line-2);
}
.hero-trust--full .num {
  font-size: 26px;
}

/* Compact pill embedded inside the lead-gen form (below submit) so
   trust signal is right at the point of conversion. */
.google-row--in-form {
  margin: 4px 0 0;
  padding: 9px 14px;
  align-self: stretch;
  justify-content: center;
}
.google-row--in-form .google-row__score { font-size: 13px; }
.google-row--in-form .google-row__src { font-size: 10px; letter-spacing: 0.12em; }

/* Google reviews row — inline trust marker. Sits between the lead text
   and the CTAs in the hero; reused (slightly bigger) above the
   testimonial blockquote. */
.google-row {
  display: inline-flex; align-items: center; gap: 12px;
  margin: 0 0 18px;
  padding: 8px 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--navy-900);
  transition: border-color 0.2s ease, background 0.2s ease;
  text-decoration: none;
  align-self: flex-start;
}
.google-row:hover { border-color: var(--navy-900); background: #fff; }
.google-row__stars {
  display: inline-flex; align-items: center; gap: 2px;
  color: #FBBC04;
}
.google-row__stars svg { width: 16px; height: 16px; display: block; }
.google-row__score {
  font-family: var(--font-display); font-size: 14px;
  letter-spacing: 0.02em; color: var(--navy-900);
}
.google-row__score strong { font-weight: 700; }
.google-row__rule { width: 1px; height: 16px; background: var(--line-2); }
.google-row__src {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em;
  color: var(--steel-700); text-transform: uppercase;
}
.google-row__g { width: 13px; height: 13px; color: #4285F4; flex-shrink: 0; }

.google-row--lg {
  padding: 14px 22px; margin-bottom: 32px;
}
.google-row--lg .google-row__stars svg { width: 18px; height: 18px; }
.google-row--lg .google-row__score { font-size: 15px; }

/* Hero visual: a stacked, layered image plate */
.hero-visual {
  position: relative;
  width: 100%;
}
/* ─────────────────────────────────────────────────────────────────
   Hero seal — a hex-badge "applied" to the page as a stamped mark.
   The frame is a navy plate; the badge sits at the center with a
   subtle drop shadow so it reads as a separate object pressed onto
   the surface, not just a flat illustration.
   ───────────────────────────────────────────────────────────────── */
.hero-seal {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  background: var(--navy-900);
  display: flex; flex-direction: column;
  align-items: center; justify-content: space-between;
  padding: 36px 42px;
  box-shadow: 0 32px 80px rgba(10, 25, 41, 0.22), 0 2px 6px rgba(10, 25, 41, 0.10);
  color: var(--paper);
  overflow: hidden;
  /* a faint diagonal weave + soft top-left light keeps the plate from
     looking flat and reads as a brushed/anodized metal surface. */
  background-image:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.018) 0 28px, transparent 28px 56px),
    radial-gradient(ellipse 70% 60% at 30% 25%, rgba(168, 179, 191, 0.10), transparent 70%);
}
/* Inner hairline rule running the perimeter of the plate */
.hero-seal::before {
  content: ""; position: absolute; inset: 14px;
  border: 1px solid rgba(245, 244, 240, 0.16);
  pointer-events: none;
}

.seal-badge {
  width: 86%;
  height: auto;
  max-width: none;
  color: var(--paper);
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.45));
  align-self: center;
  /* the badge sits with a hair of weight pressed into the surface */
  transform: translateY(-2px);
}

.seal-marker {
  display: flex; align-items: center; gap: 14px;
  width: 100%;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--steel-300);
  z-index: 1;
}
.seal-marker .dot-rule {
  flex: 1; height: 1px;
  background-image: linear-gradient(to right, rgba(168, 179, 191, 0.55) 50%, transparent 50%);
  background-size: 6px 1px;
  background-repeat: repeat-x;
  margin: 0 4px;
}

.seal-meta {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1px 1.6fr 1px 1.4fr;
  gap: 14px;
  padding: 16px 0 8px;
  border-top: 1px solid rgba(245, 244, 240, 0.16);
  border-bottom: 1px solid rgba(245, 244, 240, 0.16);
  z-index: 1;
  align-items: center;
}
.seal-meta__col { display: flex; flex-direction: column; gap: 4px; }
.seal-meta__label {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.24em; color: var(--steel-300);
  text-transform: uppercase;
}
.seal-meta__val {
  font-family: var(--font-display); font-weight: 600; font-size: 13px;
  letter-spacing: 0.04em; color: var(--paper);
}
.seal-meta__rule {
  width: 1px; height: 28px;
  background: rgba(245, 244, 240, 0.18);
}

/* Vertex-style pip marks at each corner — reads as the plate is
   physically mounted to the page surface */
.seal-pip {
  position: absolute;
  width: 7px; height: 7px;
  border: 1px solid rgba(245, 244, 240, 0.45);
  border-radius: 50%;
}
.seal-pip--tl { top: 26px; left: 26px; }
.seal-pip--tr { top: 26px; right: 26px; }
.seal-pip--bl { bottom: 26px; left: 26px; }
.seal-pip--br { bottom: 26px; right: 26px; }
.plate {
  position: absolute;
  border-radius: var(--rad-md);
  overflow: hidden;
  background: var(--navy-700);
}
.plate--main { inset: 0 0 0 56px; box-shadow: var(--shadow-hover); }
.plate--inset {
  top: auto; bottom: 24px; left: 0; right: auto;
  width: 220px; aspect-ratio: 4/3;
  border: 6px solid var(--paper);
  background: var(--navy-900);
  box-shadow: var(--shadow-soft);
}
.plate .corner-meta {
  position: absolute; top: 18px; left: 18px;
  display: flex; gap: 8px;
}
.plate .corner-meta .chip {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em;
  color: var(--paper); padding: 5px 9px;
  background: rgba(245,244,240,0.12);
  border: 1px solid rgba(245,244,240,0.18);
}
.plate .corner-tag {
  position: absolute; bottom: 16px; right: 18px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em;
  color: var(--steel-300);
}
.plate--main .corner-tag::before { content: "▢ "; opacity: .5; }

/* Stylized image placeholder — diagonal stripe + mono caption */
.placeholder-img {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(
      135deg,
      rgba(245,244,240,0.04) 0 24px,
      rgba(245,244,240,0.00) 24px 48px
    ),
    radial-gradient(ellipse at 30% 30%, var(--navy-600), var(--navy-900) 70%);
  display: flex; align-items: center; justify-content: center;
}
.placeholder-img .name {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.22em;
  color: var(--steel-300); padding: 8px 14px;
  border: 1px solid rgba(245,244,240,0.16);
  text-transform: uppercase;
}

/* Audience cards ------------------------------------------------------- */
.audience { padding: 100px 0; background: var(--paper-2); }
.audience .container { }
.audience-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.audience-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 32px 28px 28px;
  display: flex; flex-direction: column; gap: 14px;
  position: relative;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.audience-card:hover { border-color: var(--navy-900); }
.audience-card .num {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.22em;
  color: var(--steel-500);
}
.audience-card h3 {
  font-family: var(--font-display); font-weight: 700; font-size: 28px;
  letter-spacing: -0.003em; line-height: 1.1; margin: 4px 0 0;
}
.audience-card p {
  margin: 4px 0 16px; color: var(--steel-700); font-size: 15px; line-height: 1.55;
}
.audience-card ul {
  list-style: none; padding: 0; margin: 0 0 22px;
  display: flex; flex-direction: column; gap: 8px;
  font-size: 14px;
}
.audience-card ul li {
  display: flex; align-items: center; gap: 10px;
  color: var(--navy-700);
}
.audience-card ul li::before {
  content: ""; width: 10px; height: 1px; background: var(--steel-500);
  display: inline-block;
}
.audience-card a.cta {
  margin-top: auto; align-self: flex-start;
  font-family: var(--font-display); font-weight: 500; font-size: 14px;
  display: inline-flex; align-items: center; gap: 8px;
  border-bottom: 1px solid var(--navy-900);
  padding-bottom: 4px;
  transition: gap 0.2s ease;
}
.audience-card a.cta:hover { gap: 12px; }

/* Services list ------------------------------------------------------- */
.services-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border-top: 1px solid var(--line);
}
.service-item {
  border-bottom: 1px solid var(--line);
  padding: 28px 32px 28px 0;
  display: grid; grid-template-columns: 56px 1fr auto; gap: 18px;
  align-items: center;
}
.service-item:nth-child(odd) { border-right: 1px solid var(--line); padding-right: 48px; }
.service-item:nth-child(even) { padding-left: 48px; }
.service-num {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em;
  color: var(--steel-500);
}
.service-name {
  font-family: var(--font-display); font-weight: 600; font-size: 22px;
  letter-spacing: -0.002em; color: var(--navy-900);
}
.service-desc { font-size: 14px; color: var(--steel-700); margin-top: 4px; }
.service-arrow {
  width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-2); border-radius: 50%;
  color: var(--navy-900); transition: background 0.2s ease, color 0.2s ease;
}
.service-item:hover .service-arrow { background: var(--navy-900); color: var(--paper); }

/* Projects ------------------------------------------------------------ */
.featured-project { padding: 0; background: var(--navy-900); color: var(--paper); }
.featured-project .fp-grid {
  display: grid; grid-template-columns: 1fr 1.2fr; min-height: 600px;
}
.fp-content {
  padding: 100px 80px 100px var(--gutter);
  display: flex; flex-direction: column; justify-content: center; gap: 28px;
}
.fp-content .tag { color: var(--steel-300); }
.fp-content h3 {
  font-family: var(--font-display); font-weight: 700; font-size: 48px;
  letter-spacing: -0.01em; line-height: 1.05; margin: 0;
  text-wrap: balance;
}
.fp-content p { color: var(--steel-300); font-size: 16px; max-width: 460px; margin: 0; }
.fp-details {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px;
  border-top: 1px solid var(--line-rev); padding-top: 24px; margin-top: 16px;
}
.fp-details .item .label {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.22em;
  color: var(--steel-500); text-transform: uppercase; display: block;
  margin-bottom: 6px;
}
.fp-details .item .val { font-size: 15px; color: var(--paper); }
.fp-image {
  position: relative; background: var(--navy-700);
  border-left: 1px solid var(--line-rev);
}
.fp-image .placeholder-img { position: absolute; inset: 0; }
.fp-image .corner-meta { position: absolute; top: 24px; right: 24px; }

/* Smaller project grid */
.proj-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.proj-card {
  display: flex; flex-direction: column; gap: 16px;
  cursor: pointer;
}
.proj-card .img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--navy-700);
  overflow: hidden;
}
.proj-card .meta { display: flex; justify-content: space-between; align-items: center; }
.proj-card .meta .name {
  font-family: var(--font-display); font-weight: 600; font-size: 18px;
}
.proj-card .meta .year {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em;
  color: var(--steel-500);
}
.proj-card .blurb { font-size: 14px; color: var(--steel-700); margin: 0; }

/* Stats strip --------------------------------------------------------- */
.stats { background: var(--paper); padding: 80px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  text-align: center;
}
.stat { display: flex; flex-direction: column; align-items: center; }
.stat .num {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(48px, 5vw, 72px); line-height: 0.96; letter-spacing: -0.02em;
  color: var(--navy-900);
}
.stat .num sup { font-size: 0.5em; font-weight: 500; color: var(--steel-500); }
.stat .label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.22em;
  color: var(--steel-500); text-transform: uppercase;
  margin-top: 12px; display: block;
}

/* Trust/why grid — used on sub-pages (alias of stats pattern) --------- */
.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
  text-align: center;
}
.trust-item { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.trust-item__num {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(40px, 4vw, 60px); line-height: 1; letter-spacing: -0.02em;
  color: var(--paper);
}
.trust-item__label {
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  color: var(--paper);
}
.trust-item__sub {
  font-size: 13px; color: var(--steel-300); max-width: 200px; line-height: 1.4;
}

/* 3-col service card grid — used on plumbing sub-page ----------------- */
.plumbing-services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-top: 8px;
}
.plumbing-service-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--rad-md);
  padding: 28px 24px 24px;
  display: flex; flex-direction: column; gap: 12px;
  transition: box-shadow 0.18s ease, border-color 0.18s ease;
}
.plumbing-service-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--line-2);
}
.plumbing-service-card__icon {
  width: 28px; height: 28px; color: var(--steel-500); flex-shrink: 0;
}
.plumbing-service-card h3 {
  font-family: var(--font-display); font-weight: 700; font-size: 17px;
  letter-spacing: -0.005em; line-height: 1.2; margin: 0;
  color: var(--navy-900);
}
.plumbing-service-card p {
  font-size: 14px; color: var(--steel-700); margin: 0; line-height: 1.55;
}

/* Process ------------------------------------------------------------- */
.process { background: var(--navy-900); color: var(--paper); }
.process-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border-top: 1px solid var(--line-rev);
}
.step {
  padding: 32px 28px 36px 0;
  border-right: 1px solid var(--line-rev);
}
.step:last-child { border-right: none; padding-right: 0; }
.step:not(:first-child) { padding-left: 28px; }
.step .num {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.22em;
  color: var(--steel-500); margin-bottom: 22px;
}
.step h4 {
  font-family: var(--font-display); font-weight: 600; font-size: 22px;
  letter-spacing: -0.002em; margin: 0 0 10px;
}
.step p { font-size: 14px; color: var(--steel-300); margin: 0; line-height: 1.5; }

/* Testimonial -------------------------------------------------------- */
.testimonial { background: var(--paper-2); }
.testimonial .google-row--lg { margin-bottom: 28px; }
.testimonial blockquote {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(28px, 3.5vw, 44px); line-height: 1.18;
  letter-spacing: -0.005em; max-width: 1000px; margin: 0;
  color: var(--navy-900); text-wrap: balance;
}
.testimonial blockquote::before {
  content: "“"; font-family: var(--font-display); font-weight: 500;
  display: block; font-size: 1.5em; line-height: 0.7; margin-bottom: 8px;
  color: var(--steel-500);
}
.testimonial .author {
  margin-top: 36px;
  display: flex; align-items: center; gap: 16px;
}
.testimonial .author .avatar {
  width: 56px; height: 56px; border-radius: 50%; background: var(--navy-700);
  border: 1px solid var(--line);
}
.testimonial .author .name {
  font-family: var(--font-display); font-weight: 600; font-size: 16px;
}
.testimonial .author .role {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em;
  color: var(--steel-500); text-transform: uppercase; margin-top: 2px;
}

/* Final CTA --------------------------------------------------------- */
.final-cta { background: var(--navy-900); color: var(--paper); padding: 140px 0; position: relative; overflow: hidden; }
.final-cta .container { display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: end; }
.final-cta h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(48px, 6vw, 88px); letter-spacing: -0.015em; line-height: 0.98;
  margin: 24px 0 0; text-wrap: balance;
}
.final-cta .right { display: flex; flex-direction: column; gap: 22px; }
.final-cta .right p { font-size: 17px; color: var(--steel-300); margin: 0; max-width: 360px; }
.final-cta .right .ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.final-cta .right .contact-line {
  border-top: 1px solid var(--line-rev); padding-top: 22px; margin-top: 8px;
  font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.08em;
  color: var(--steel-300);
  display: flex; flex-direction: column; gap: 8px;
}

/* Watermark hex badge behind the CTA */
.final-cta .watermark {
  position: absolute; right: -180px; bottom: -120px;
  width: 1400px; height: auto;
  max-width: none;
  opacity: 0.05;
  color: var(--paper);
  pointer-events: none;
}

/* Service-area strip — small pill row that links service pages to area pages */
.service-areas-strip { background: var(--paper-2); padding: 36px 0; border-top: 1px solid var(--line); }
.service-areas-strip .container {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px 12px;
}
.service-areas-strip__label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--steel-500);
  margin-right: 8px;
}
.service-areas-strip__link {
  font-family: var(--font-display); font-weight: 600; font-size: 13px;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--navy-900);
  padding: 8px 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.service-areas-strip__link:hover {
  background: var(--navy-900); color: var(--paper); border-color: var(--navy-900);
}
@media (max-width: 720px) {
  .service-areas-strip__label { width: 100%; margin-right: 0; margin-bottom: 4px; }
}

/* Pre-footer quote section — two-column layout (used on all sub-pages) -- */
.quote-section { background: var(--paper-2); }
.quote-section .container {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px;
  align-items: start;
}
.quote-section__left .eyebrow {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.22em;
  color: var(--steel-500); text-transform: uppercase;
  display: block;
}
.quote-section__left h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(36px, 4.5vw, 60px); letter-spacing: -0.008em;
  line-height: 1.04;
  margin: 12px 0 22px;
  color: var(--navy-900);
  text-wrap: balance;
}
.quote-section__left p {
  font-size: 16px; color: var(--steel-700);
  line-height: 1.6;
  margin: 0 0 32px;
  max-width: 420px;
}
.quote-section__trust {
  display: flex; flex-direction: column; gap: 14px;
  margin-top: 32px; padding-top: 32px;
  border-top: 1px solid var(--line);
}
.quote-section__trust-item {
  display: flex; align-items: center; gap: 12px;
  font-size: 14px;
  color: var(--navy-900);
}
.quote-section__trust-item svg {
  width: 20px; height: 20px;
  color: var(--navy-900);
  flex-shrink: 0;
}
.quote-section .quote-form {
  max-width: none;
  margin-left: 0;
  background: #ffffff;
  border-color: rgba(20, 37, 61, 0.10);
  box-shadow:
    0 24px 60px rgba(10, 25, 41, 0.08),
    0 2px 6px rgba(10, 25, 41, 0.04);
}
@media (max-width: 920px) {
  .quote-section .container { grid-template-columns: 1fr; gap: 48px; }
  .quote-section__left p { max-width: none; }
}

/* Footer ------------------------------------------------------------ */
footer {
  background: var(--graphite); color: var(--paper);
  padding: 80px 0 36px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px;
  padding-bottom: 56px; border-bottom: 1px solid rgba(245,244,240,0.12);
}
.footer-col h5 {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.22em;
  color: var(--steel-300); text-transform: uppercase; margin: 0 0 18px;
  font-weight: 500;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: 14px; color: var(--paper); opacity: 0.85; transition: opacity 0.2s ease; }
.footer-col ul a:hover { opacity: 1; }
.footer-brand .descriptor { margin: 18px 0 22px; color: var(--steel-300); max-width: 320px; font-size: 14px; line-height: 1.6; }
.footer-badge {
  height: 76px;
  width: 221px;
  max-width: none;
  display: block;
  color: var(--paper);
  margin-bottom: 6px;
}
.footer-brand .footer-phone {
  font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.06em;
  color: var(--paper); display: block; margin-bottom: 6px;
  transition: opacity 0.18s ease; opacity: 0.92;
}
.footer-brand .footer-phone:hover { opacity: 1; }
.footer-brand .footer-phone--emergency { color: #ff7a59; }

/* Payments-accepted strip in the footer. Each card is a small chip with
   stylized brand colors — not a logo reproduction. */
.footer-pay {
  display: flex; flex-direction: column; gap: 10px;
  margin-top: 22px;
}
.footer-pay__label {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--steel-300);
}
.footer-pay__row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.pay-card {
  width: 56px; height: 36px;
  border-radius: 4px;
  display: inline-flex; align-items: center; justify-content: center;
  position: relative;
  font-family: var(--font-display); font-weight: 700; font-size: 11px;
  letter-spacing: 0.08em;
  border: 1px solid rgba(255,255,255,0.18);
  flex-shrink: 0;
}
.pay-card__name { position: relative; z-index: 1; }
.pay-card--visa {
  background: #1A1F71; color: #ffffff;
  font-style: italic; font-weight: 800; letter-spacing: 0.06em;
}
.pay-card--mc {
  background: #16161d; color: #f3f3f3;
  gap: 0; padding-left: 14px;
}
.pay-card--mc .pay-card__rings {
  position: absolute; left: 8px; top: 50%; transform: translateY(-50%);
  width: 22px; height: 14px; display: block;
}
.pay-card--mc .pay-card__rings span {
  position: absolute; top: 0; width: 14px; height: 14px; border-radius: 50%;
}
.pay-card--mc .pay-card__rings span:first-child {
  left: 0; background: #EA001B;
}
.pay-card--mc .pay-card__rings span:last-child {
  left: 8px; background: #F79E1B; mix-blend-mode: screen;
}
.pay-card--mc .pay-card__name {
  display: none; /* the rings are recognisable; the chip is small */
}
.pay-card--amex {
  background: #006FCF; color: #ffffff;
  font-weight: 800;
}
.footer-brand .footer-phone {
  font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.06em;
  color: var(--paper); display: block; margin-bottom: 6px;
}
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 36px; gap: 32px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em;
  color: var(--steel-300); text-transform: uppercase;
}

/* Footer meta strip — social icons + Google pill. Sits between the
   footer grid and the legal bottom rail. */
.footer-meta {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px;
  padding: 36px 0 24px;
  border-bottom: 1px solid rgba(245, 244, 240, 0.10);
}
.footer-social { display: flex; align-items: center; gap: 14px; }
.footer-social__label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.22em;
  color: var(--steel-300); text-transform: uppercase;
  margin-right: 4px;
}
.social-icon {
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(245, 244, 240, 0.18);
  border-radius: 50%;
  color: var(--paper); opacity: 0.82;
  transition: opacity 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.social-icon svg { width: 17px; height: 17px; display: block; }
.social-icon:hover {
  opacity: 1; border-color: var(--paper);
  background: rgba(245, 244, 240, 0.06);
}

.google-pill {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 16px;
  background: rgba(245, 244, 240, 0.06);
  border: 1px solid rgba(245, 244, 240, 0.18);
  border-radius: 999px;
  color: var(--paper);
  text-decoration: none;
  transition: background 0.18s ease, border-color 0.18s ease;
}
.google-pill:hover {
  background: rgba(245, 244, 240, 0.12);
  border-color: var(--paper);
}
.google-pill__stars {
  display: inline-flex; gap: 1px; color: #FBBC04;
}
.google-pill__stars svg { width: 14px; height: 14px; display: block; }
.google-pill__text {
  font-family: var(--font-display); font-size: 13px; letter-spacing: 0.02em;
}
.google-pill__text strong { font-weight: 700; }
.google-pill__arrow { width: 12px; height: 12px; color: var(--steel-300); }

/* Sticky mobile call button — split between office and 24/7 emergency. */
.mobile-call {
  position: fixed; bottom: 14px; left: 14px; right: 14px;
  z-index: 100; display: none;
  background: var(--navy-900); color: var(--paper);
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(10,25,41,0.32);
  align-items: stretch; justify-content: stretch;
  overflow: hidden;
}
.mobile-call__half {
  flex: 1; display: flex; align-items: center; justify-content: center;
  gap: 8px; padding: 14px 12px;
  color: var(--paper); font-family: var(--font-display); font-weight: 500; font-size: 14px;
}
.mobile-call__half svg { width: 16px; height: 16px; }
.mobile-call__label {
  font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.22em;
  color: var(--steel-300); text-transform: uppercase;
  margin-left: 4px;
}
.mobile-call__num { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.04em; }
.mobile-call__half--emergency { background: rgba(255,122,89,0.16); color: #ff8d70; }
.mobile-call__half--emergency .mobile-call__label { color: #ff8d70; }
.mobile-call__div { width: 1px; background: rgba(245,244,240,0.18); flex-shrink: 0; }

/* Responsive ---------------------------------------------------------- */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .featured-project .fp-grid { grid-template-columns: 1fr; }
  .fp-content { padding: 80px var(--gutter); }
  .fp-image { min-height: 480px; border-left: none; border-top: 1px solid var(--line-rev); }
}
@media (max-width: 920px) {
  :root { --gutter: 24px; }
  .topnav-inner { gap: 12px; padding: 14px 24px; }
  .nav-links { display: none; }
  .nav-phone { display: none; }
  .nav-emergency__label { display: none; }
  .nav-emergency__num { font-size: 12px; }
  .nav-cta .btn { padding: 10px 14px; font-size: 13px; }

  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .quote-form { padding: 24px; }
  .quote-form__row--two { grid-template-columns: 1fr; }
  .warranty-strip .container { flex-direction: column; align-items: flex-start; gap: 18px; }
  .warranty-strip__cta { margin-left: 0; width: 100%; justify-content: center; }

  section { padding: 80px 0; }
  .hero { padding: 56px 0 100px; }
  .hero h1 { font-size: clamp(40px, 9vw, 64px); }
  .audience-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .service-item:nth-child(odd) { border-right: none; padding-right: 0; }
  .service-item:nth-child(even) { padding-left: 0; }
  .proj-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .process-grid { grid-template-columns: 1fr; }
  .step { padding: 28px 0; border-right: none; border-bottom: 1px solid var(--line-rev); }
  .step:not(:first-child) { padding-left: 0; }
  .final-cta .container { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; padding-bottom: 36px; }
  .footer-meta { flex-direction: column; align-items: flex-start; gap: 18px; padding: 28px 0 20px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 48px; }
  .section-head p { max-width: none; }

  .mobile-call { display: flex; }
}

/* ═══════════════════════════════════════════════════════════════════════
   MOBILE NAV (hamburger + fullscreen overlay) — CSS-only, checkbox-driven
   ═══════════════════════════════════════════════════════════════════════ */

/* Hide the toggle and burger by default (desktop) */
.mnav-toggle { position: absolute; left: -9999px; opacity: 0; }
.mnav-burger { display: none; }
.mnav-backdrop { display: none; }
.mnav-overlay { display: none; }

/* Burger button — visible at ≤920px (when nav-links hides) */
@media (max-width: 920px) {
  .mnav-burger {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px;
    margin-left: auto;
    cursor: pointer;
    background: transparent;
    border: 1px solid rgba(245, 244, 240, 0.18);
    border-radius: 4px;
    flex-direction: column; gap: 5px;
    transition: border-color 0.18s ease, background 0.18s ease;
  }
  .mnav-burger:hover { border-color: rgba(245, 244, 240, 0.36); background: rgba(245, 244, 240, 0.04); }
  .mnav-burger span {
    display: block; width: 20px; height: 2px;
    background: var(--paper); border-radius: 1px;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }
}

/* Open state — burger morphs into close icon */
.mnav-toggle:checked ~ * .mnav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mnav-toggle:checked ~ * .mnav-burger span:nth-child(2) { opacity: 0; }
.mnav-toggle:checked ~ * .mnav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Backdrop + overlay — only shown when checkbox is checked AND on mobile */
@media (max-width: 920px) {
  .mnav-toggle:checked ~ .mnav-backdrop {
    display: block;
    position: fixed; inset: 0;
    background: rgba(10, 25, 41, 0.6);
    backdrop-filter: blur(4px);
    z-index: 998;
    cursor: pointer;
  }
  .mnav-toggle:checked ~ .mnav-overlay {
    display: flex;
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(360px, 88vw);
    background: var(--navy-900);
    border-left: 1px solid rgba(245, 244, 240, 0.18);
    box-shadow: -24px 0 60px rgba(0, 0, 0, 0.5);
    z-index: 999;
    overflow-y: auto;
    animation: mnav-slide-in 0.22s ease-out;
  }
}
@keyframes mnav-slide-in {
  from { transform: translateX(100%); }
  to   { transform: translateX(0); }
}

/* Overlay content */
.mnav-overlay__inner {
  display: flex; flex-direction: column;
  padding: 24px 28px 36px;
  width: 100%;
  color: var(--paper);
}
.mnav-overlay__head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(245, 244, 240, 0.12);
  margin-bottom: 24px;
}
.mnav-overlay__brand {
  font-family: var(--font-display); font-weight: 700; font-size: 16px;
  letter-spacing: 0.18em; color: var(--paper);
}
.mnav-close {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--paper);
  border: 1px solid rgba(245, 244, 240, 0.18); border-radius: 4px;
  font-size: 18px; line-height: 1;
  transition: background 0.18s ease;
}
.mnav-close:hover { background: rgba(245, 244, 240, 0.06); }

.mnav-list {
  list-style: none; padding: 0; margin: 0 0 20px;
  display: flex; flex-direction: column;
}
.mnav-list li { border-bottom: 1px solid rgba(245, 244, 240, 0.08); }
.mnav-list a {
  display: block;
  padding: 16px 0;
  font-family: var(--font-display); font-weight: 600;
  font-size: 17px; letter-spacing: 0.04em;
  color: var(--paper);
  transition: color 0.15s ease;
}
.mnav-list a:hover { color: var(--steel-300); }

.mnav-list--sub a {
  font-size: 14px; font-weight: 500; padding: 12px 0;
  color: var(--steel-300);
}
.mnav-list--sub a:hover { color: var(--paper); }

.mnav-label {
  font-family: var(--font-mono); font-size: 10.5px;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--steel-500);
  margin: 8px 0 4px;
}

.mnav-overlay__cta {
  display: flex; flex-direction: column; gap: 10px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(245, 244, 240, 0.12);
}
.mnav-overlay__cta .btn { width: 100%; justify-content: center; }

/* Prevent body scroll when mobile nav is open */
.mnav-toggle:checked ~ body,
body:has(.mnav-toggle:checked) { overflow: hidden; }


/* ═══════════════════════════════════════════════════════════════════════
   MOBILE LAYOUT REFINEMENTS — center heroes, forms, and scale logo down
   ═══════════════════════════════════════════════════════════════════════ */

@media (max-width: 920px) {
  /* Scale logo down so it doesn't overwhelm the mobile bar */
  .brand-badge { height: 56px; width: 165px; }

  /* Hero: center text and CTAs */
  .hero-content { text-align: center; align-items: center; }
  .hero h1 { text-align: center; }
  .hero p.lead { text-align: center; max-width: 100%; }
  .hero .eyebrow,
  .hero .tag { justify-content: center; }
  .hero-ctas { justify-content: center; flex-wrap: wrap; }
  .hero-ctas .btn { flex: 1 1 auto; min-width: 0; max-width: 100%; justify-content: center; }

  /* Hero quote-form: center the card itself within the column */
  .hero-visual { display: flex; justify-content: center; }
  .hero .quote-form { max-width: 100%; width: 100%; margin: 0 auto; }

  /* Pre-footer quote section: center left column content */
  .quote-section__left { text-align: center; }
  .quote-section__left h2 { text-align: center; }
  .quote-section__left p { text-align: center; margin-left: auto; margin-right: auto; }
  .quote-section__left .eyebrow,
  .quote-section__left p.eyebrow { display: block; text-align: center; }
  .quote-section__trust { align-items: center; }
  .quote-section__trust-item { text-align: left; }   /* keep bullet text left of icon */

  /* The form card — center it on mobile and pad equally */
  .quote-section .quote-form {
    max-width: 100%;
    margin-left: auto; margin-right: auto;
  }

  /* Section heads: also center on mobile for consistency */
  .section-head { text-align: center; align-items: center; }
}

@media (max-width: 720px) {
  /* Smaller logo on phones */
  .brand-badge { height: 44px; width: 130px; }

  /* Tighter gutters */
  .topnav-inner { padding: 12px 16px; }
  .topnav-util-inner { padding: 8px 16px; }

  /* Stack hero CTAs vertically on phones, full-width */
  .hero-ctas { flex-direction: column; width: 100%; }
  .hero-ctas .btn { width: 100%; }

  /* Trust strip on hero stacks */
  .hero-trust,
  .hero-trust--full { flex-direction: column; gap: 24px; }
  .hero-trust .item,
  .hero-trust--full .item { border-left: none; padding-left: 0; }
}

/* Extracted utility classes: replaces one-off inline style attributes for easier CMS/WordPress portability. */
.u-svg-sprite { position: absolute; }
.footer-email-text { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; color: var(--steel-300); }
.u-text-steel-300 { color: var(--steel-300); }
.u-text-paper { color: var(--paper); }
.u-text-steel-500 { color: var(--steel-500); }
.u-text-navy-900 { color: var(--navy-900); }
.u-text-steel-700 { color: var(--steel-700); }
.u-mt-18 { margin-top: 18px; }
.u-mt-12 { margin-top: 12px; }
.u-border-line-2 { border-color: var(--line-2); }
.u-display-block { display: block; }
.u-bg-paper { background: var(--paper); }
.u-pos-rel-z1 { position: relative; z-index: 1; }
.u-emergency-outline { color: #ff7a59; border-color: rgba(255,122,89,0.4); }
.u-inline-1 { color: var(--paper); font-size: clamp(32px, 4vw, 52px); }
.u-inline-2 { background: var(--navy-900); padding: 80px 0 100px; }
.u-inline-3 { color: var(--steel-300); margin-bottom: 22px; display: inline-flex; }
.u-inline-4 { font-size: clamp(32px, 3.5vw, 48px); letter-spacing: -0.01em; }
.u-inline-5 { position:absolute; right:-180px; bottom:-120px; width:1400px; height:auto; max-width:none; opacity:0.05; color:var(--paper); pointer-events:none; }
.u-inline-6 { display: flex; flex-direction: column; gap: 22px; max-width: 380px; }
.u-inline-7 { font-size: 17px; color: var(--steel-300); margin: 0; }
.u-inline-8 { display: flex; gap: 12px; flex-wrap: wrap; }
.u-inline-9 { background: var(--navy-900); padding: 56px 0 72px; }
.u-inline-10 { color: var(--steel-300); margin-bottom: 20px; display: inline-flex; }
.u-inline-11 { font-size: clamp(32px, 3.5vw, 52px); letter-spacing: 0; }
