/* ==========================================================================
   Rapid Water Heater LLC — Design System
   Deep navy/black + vibrant blue, mellow gold + soft cream-yellow, warm white
   ========================================================================== */

:root {
  /* Core palette — deep near-black navy, vivid electric blue, punchy gold */
  --navy-950: #05091a;
  --navy-900: #0a1630;
  --navy-800: #112241;
  --navy-700: #183660;
  --blue-700: #0f4590;
  --blue-600: #155db5;
  --blue-500: #1f7ae0;
  --blue-400: #52a0ef;
  --blue-100: #deeeff;

  --gold-800: #6e4a0e; /* text-on-light only: darkened for WCAG AA at small sizes */
  --gold-700: #9a6c14;
  --gold-600: #cc9010;
  --gold-500: #f5b300;
  --gold-400: #fcc500;
  --yellow-400: #ffd000; /* true bright yellow accent, used sparingly */
  --yellow-100: #ffeea0; /* pale yellow section wash */
  --yellow-50: #fff6d0;
  --blue-50: #d8eafb; /* pale blue section wash */
  --cream-100: #f7e5b8;
  --cream-50: #fdf5e0;

  --white: #ffffff;
  --off-white: #fefdf9;
  --ink-900: #080c10;
  --ink-700: #20282e;
  --ink-500: #4a535c;
  --ink-300: #8a959f;
  --line: #cec8b6;
  --line-dark: #1e3860;

  /* Semantic */
  --bg: var(--off-white);
  --bg-dark: var(--navy-950);
  --text: var(--ink-900);
  --text-muted: var(--ink-500);
  --text-on-dark: #edf2f8;
  --text-on-dark-muted: #a8c4e0;
  --accent: var(--gold-600);
  --accent-strong: var(--gold-700);
  --link: var(--blue-600);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(5, 9, 26, 0.08), 0 1px 1px rgba(5, 9, 26, 0.05);
  --shadow-md: 0 8px 28px rgba(5, 9, 26, 0.18);
  --shadow-lg: 0 24px 56px rgba(5, 9, 26, 0.30);
  --shadow-gold: 0 12px 36px rgba(154, 108, 20, 0.45);

  --container: 1180px;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.6;
}
img { max-width: 100%; display: block; height: auto; }
svg { display: block; }
a { color: var(--link); text-decoration: none; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy-950);
  line-height: 1.12;
  margin: 0 0 0.5em;
  font-weight: 700;
  letter-spacing: -0.015em;
}
h1 { font-size: clamp(2.1rem, 1.6rem + 2.2vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 1.35rem + 1.2vw, 2.35rem); font-weight: 700; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; color: var(--text); }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li { margin-bottom: 0.4em; }
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
section { padding: 88px 0; }
@media (max-width: 780px) { section { padding: 56px 0; } }
@media (max-width: 640px) { section { padding: 40px 0; } }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Underline in-copy links so color isn't the only cue (WCAG) */
p a:not(.btn):not(.card-link), li a:not(.btn):not(.card-link) {
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(40, 104, 163, 0.45);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 30px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  border: 2px solid transparent;
  cursor: pointer;
  position: relative;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
  text-transform: uppercase;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

/* Primary CTA — flat gold, dark text, gold under-glow */
.btn-gold {
  background: var(--gold-500);
  color: var(--navy-950);
  border-color: transparent;
  box-shadow:
    rgba(154, 108, 20, 0.35) 0px 10px 22px 0px,
    rgba(154, 108, 20, 0.2) 0px 2px 6px 0px;
}
.btn-gold:hover {
  background: var(--gold-400);
  box-shadow:
    rgba(154, 108, 20, 0.45) 0px 14px 28px 0px,
    rgba(154, 108, 20, 0.25) 0px 4px 10px 0px;
}
.btn-gold:active {
  background: var(--gold-600);
  box-shadow: rgba(154, 108, 20, 0.25) 0px 4px 10px 0px;
}

/* Secondary — flat navy, white text, blue under-glow */
.btn-navy {
  background: var(--navy-900);
  color: var(--white);
  border-color: transparent;
  box-shadow:
    rgba(21, 82, 154, 0.3) 0px 10px 22px 0px,
    rgba(21, 82, 154, 0.2) 0px 2px 6px 0px;
}
.btn-navy:hover {
  background: var(--blue-700);
  box-shadow:
    rgba(21, 82, 154, 0.4) 0px 14px 28px 0px,
    rgba(21, 82, 154, 0.25) 0px 4px 10px 0px;
}
.btn-navy:active {
  background: var(--navy-950);
  box-shadow: rgba(21, 82, 154, 0.2) 0px 4px 10px 0px;
}

/* Ghost on light bg — navy border */
.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  color: var(--navy-900);
  border-color: var(--navy-800);
  box-shadow: rgba(0, 0, 0, 0.12) 0px 2px 8px 0px;
}
.btn-outline:hover {
  background: rgba(17, 34, 65, 0.05);
  border-color: var(--navy-700);
  box-shadow: rgba(0, 0, 0, 0.18) 0px 4px 12px 0px;
}

/* Ghost on dark bg — white border */
.btn-outline-light {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow: none;
}
.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.95);
}
.btn-block { width: 100%; }
.btn-sm { padding: 12px 22px; font-size: 0.78rem; }

/* ---------- Header / Nav (structure modeled on clearvantwc.com) ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 3px solid var(--gold-500);
  box-shadow: 0 4px 16px rgba(5, 9, 26, 0.12), 0 1px 0 rgba(5,9,26,0.06);
}
/* Homepage only: header stays hidden above the viewport until the user
   scrolls, so the hero fills the very top of the page with nothing above it. */
body.home .site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}
body.home .site-header.header-visible { transform: translateY(0); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 16px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy-950);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.28rem;
  letter-spacing: -0.01em;
}
.logo .logo-mark { width: 40px; height: 40px; flex-shrink: 0; object-fit: contain; filter: drop-shadow(0 3px 6px rgba(10,22,38,0.15)); }
.logo small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue-600); margin-top: 1px; }

.header-cta { display: flex; align-items: center; gap: 14px; }

.menu-wrap { position: relative; }
.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue-100);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 16px;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--navy-950);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}
.menu-toggle:hover { border-color: var(--gold-500); color: var(--blue-700); box-shadow: var(--shadow-md); transform: translateY(-1px); }
.menu-toggle svg { display: block; flex-shrink: 0; stroke: currentColor; }

nav.main-nav {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 10px;
  display: flex;
  flex-direction: column;
  min-width: 250px;
  z-index: 60;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) scale(0.97);
  transform-origin: top right;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}
nav.main-nav.open { opacity: 1; visibility: visible; transform: translateY(0) scale(1); pointer-events: auto; }
nav.main-nav a {
  color: var(--navy-950);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 14px;
  border-radius: 8px;
  transition: background 0.15s ease, color 0.15s ease, padding-left 0.15s ease;
}
nav.main-nav a:hover { background: var(--blue-100); color: var(--blue-700); padding-left: 18px; }
nav.main-nav a[aria-current="page"] { color: var(--gold-800); background: var(--cream-100); }

.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--navy-950);
}
.header-phone svg { width: 20px; height: 20px; color: var(--blue-600); flex-shrink: 0; }
.header-phone:hover { color: var(--blue-700); }
.header-phone .ph-label { display: none; }

@media (max-width: 480px) {
  .header-phone .phone-text { display: none; }
  .menu-toggle .menu-label { display: none; }
  nav.main-nav { right: 0; }
  .header-inner { gap: 4px; padding: 10px 0; }
  .header-cta { gap: 5px; }
  .logo .tagline, .logo small { display: none; }
  .logo { font-size: 0.92rem; gap: 6px; white-space: nowrap; }
  .logo .logo-mark { width: 28px; height: 28px; }
  .menu-toggle { padding: 8px; }
  .menu-toggle svg { width: 22px; height: 22px; }
  .header-phone svg { width: 18px; height: 18px; }
  .header-cta .btn-gold { padding: 8px 12px; font-size: 0.7rem; letter-spacing: 0.03em; white-space: nowrap; }
}

@media (max-width: 360px) {
  .logo { font-size: 0.82rem; }
  .logo .logo-mark { width: 25px; height: 25px; }
  .header-cta .btn-gold { padding: 7px 10px; font-size: 0.68rem; }
}

/* ---------- Hero ---------- */
/* Kept deliberately simple: one column, headline, subhead, two CTAs, a trust row. No side panels. */
.hero {
  position: relative;
  background:
    radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
    radial-gradient(ellipse 120% 90% at 105% 110%, rgba(255,100,10,0.62), transparent 52%),
    radial-gradient(ellipse 75% 65% at 100% 100%, rgba(210,50,0,0.38), transparent 48%),
    linear-gradient(150deg, var(--navy-950) 0%, var(--navy-900) 45%, var(--navy-800) 100%);
  background-size: 26px 26px, auto, auto, auto;
  color: var(--text-on-dark);
  overflow: hidden;
  padding: 88px 0 84px;
  text-align: center;
}
.hero-grid {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 760px;
  margin: 0 auto;
}
.hero-grid > .hero-card { display: none; }

/* Homepage: two-column hero with service panel */
body.home .hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 72px;
  align-items: center;
  max-width: 1460px;
  margin: 0 auto;
}
body.home .hero-grid > div:first-child { text-align: left; }
body.home .hero h1 { font-size: clamp(2rem, 1.1rem + 2.6vw, 3.5rem); }
body.home .hero .lede { margin-left: 0; margin-right: 0; max-width: 60ch; font-size: 1.2rem; }
body.home .hero-actions { justify-content: flex-start; }
body.home .hero-trust { justify-content: flex-start; border-top-color: rgba(255,255,255,0.15); }
body.home .hero-grid > .hero-card { display: block; }

@media (max-width: 960px) {
  body.home .hero-grid {
    grid-template-columns: 1fr;
    max-width: 640px;
    margin: 0 auto;
  }
  body.home .hero-grid > div:first-child { text-align: center; }
  body.home .hero-actions { justify-content: center; }
  body.home .hero-trust { justify-content: center; }
  body.home .hero-grid > .hero-card { max-width: 480px; margin: 0 auto; width: 100%; }
}

/* Glass service panel */
.hero-panel {
  background: rgba(5, 12, 32, 0.75);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.1);
  border-left: 4px solid var(--gold-500);
  border-radius: 18px;
  box-shadow:
    0 28px 60px rgba(5,9,26,0.55),
    inset 0 1px 0 rgba(255,255,255,0.12);
  overflow: hidden;
}
.hero-panel-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.hero-panel-row:last-child { border-bottom: none; }
.hero-panel-icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 11px;
  background: rgba(31, 122, 224, 0.18);
  border: 1px solid rgba(82, 160, 239, 0.3);
}
.hero-panel-icon svg { width: 22px; height: 22px; color: var(--blue-400); }
.hero-panel-text strong {
  display: block;
  color: var(--white);
  font-size: 0.97rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 2px;
}
.hero-panel-text span {
  color: var(--text-on-dark-muted);
  font-size: 0.82rem;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,205,60,0.18);
  border: 1px solid rgba(255,205,60,0.4);
  color: var(--yellow-400);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero h1 { color: var(--white); }
.hero .lede { color: var(--text-on-dark-muted); font-size: 1.12rem; max-width: 56ch; margin-left: auto; margin-right: auto; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin: 28px 0 34px; }
.hero-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.18); width: 100%; }
.hero-trust-item { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: var(--text-on-dark-muted); font-weight: 500; }
.hero-trust-item svg { width: 20px; height: 20px; color: var(--yellow-400); flex-shrink: 0; }

@media (max-width: 640px) {
  .hero { padding: 40px 0 36px; }
  .hero .eyebrow { margin-bottom: 12px; font-size: 0.72rem; padding: 6px 12px; }
  .hero .lede { font-size: 1rem; }
  .hero-actions { margin: 20px 0 22px; gap: 10px; }
  .hero-trust { gap: 10px 20px; padding-top: 16px; }
}

/* ---------- Sections / general patterns ---------- */
.section-head { max-width: 720px; margin: 0 0 44px; }
@media (max-width: 640px) { .section-head { margin-bottom: 28px; } }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--gold-800);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.kicker::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  background: currentColor;
  transform: rotate(45deg);
  border-radius: 2px;
}
.section-dark { background: var(--navy-950); color: var(--text-on-dark); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark p { color: var(--text-on-dark-muted); }
.section-cream { background: linear-gradient(180deg, var(--cream-100) 0%, var(--cream-50) 100%); }
.section-navy-panel { background: var(--navy-900); }
.section-blue-tint {
  background: linear-gradient(180deg, var(--blue-50) 0%, #eef5fc 60%, var(--off-white) 100%);
  position: relative;
}
.section-blue-tint::before {
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, transparent, var(--blue-500), transparent);
  opacity: 0.8;
}
.section-yellow-tint {
  background: linear-gradient(180deg, var(--yellow-100) 0%, var(--yellow-50) 55%, var(--cream-50) 100%);
  position: relative;
}
.section-yellow-tint::before {
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
  opacity: 0.9;
}
.section-blue-tint .kicker, .section-yellow-tint .kicker { color: var(--gold-700); }
.section-blue-tint .card, .section-yellow-tint .card { box-shadow: 0 2px 4px rgba(5,9,26,0.07), 0 14px 28px -8px rgba(5,9,26,0.16); }

/* Grid helpers */
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .grid { gap: 16px; } }

/* ---------- Cards ---------- */
.card {
  background: linear-gradient(165deg, #ffffff 0%, #fdfcf8 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: 0 2px 4px rgba(5,9,26,0.07), 0 12px 28px -6px rgba(5,9,26,0.18);
  transition: box-shadow 0.22s ease, transform 0.22s ease, border-color 0.22s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--blue-500), var(--gold-500));
  opacity: 0;
  transition: opacity 0.22s ease;
}
.card:hover { box-shadow: 0 4px 8px rgba(5,9,26,0.1), 0 28px 52px -10px rgba(5,9,26,0.3); transform: translateY(-6px); border-color: rgba(21,93,181,0.35); }
.card:hover::before { opacity: 1; }
@media (max-width: 640px) { .card { padding: 22px; } }
.card-icon {
  width: 60px; height: 60px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 16px;
  background: linear-gradient(145deg, #ffffff 0%, var(--blue-100) 55%, rgba(91,163,234,0.3) 100%);
  border: 1px solid rgba(255,255,255,0.9);
  margin-bottom: 20px;
  box-shadow:
    inset 0 2px 2px rgba(255,255,255,1),
    inset 0 -4px 8px rgba(28,99,184,0.18),
    0 0 0 1px rgba(28,99,184,0.1),
    0 4px 8px rgba(10,22,38,0.1),
    0 10px 22px rgba(10,22,38,0.12);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.card:hover .card-icon {
  transform: translateY(-3px) scale(1.06);
  box-shadow:
    inset 0 2px 2px rgba(255,255,255,1),
    inset 0 -4px 8px rgba(28,99,184,0.22),
    0 0 0 1px rgba(28,99,184,0.14),
    0 6px 14px rgba(10,22,38,0.14),
    0 16px 32px rgba(28,99,184,0.18);
}
.card-icon svg { width: 30px; height: 30px; color: var(--blue-700); filter: drop-shadow(0 1px 2px rgba(28,99,184,0.35)); }
.card h3 { margin-bottom: 8px; font-size: 1.12rem; }
.card p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 14px; }
.card-link { font-weight: 600; color: var(--blue-600); display: inline-flex; align-items: center; gap: 6px; font-size: 0.92rem; }
.card-link svg { width: 15px; height: 15px; transition: transform 0.15s ease; }
.card-link:hover svg { transform: translateX(3px); }

.service-card { position: relative; }
.service-card .card-icon {
  background: linear-gradient(145deg, #ffffff 0%, var(--cream-100) 55%, rgba(240,180,41,0.2) 100%);
  box-shadow:
    inset 0 2px 2px rgba(255,255,255,1),
    inset 0 -4px 8px rgba(163,120,31,0.2),
    0 0 0 1px rgba(163,120,31,0.12),
    0 4px 8px rgba(10,22,38,0.1),
    0 10px 22px rgba(10,22,38,0.12);
}
.service-card .card-icon svg { color: var(--gold-700); filter: drop-shadow(0 1px 2px rgba(163,120,31,0.45)); }

/* Icon list */
.icon-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.icon-list li { display: flex; align-items: flex-start; gap: 12px; margin: 0; }
.icon-list svg { width: 20px; height: 20px; color: var(--gold-700); flex-shrink: 0; margin-top: 2px; }

/* ---------- Stats / trust strip ---------- */
.trust-strip {
  background: linear-gradient(180deg, var(--cream-100), var(--cream-50));
  border-top: 2px solid var(--gold-500);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 16px rgba(5,9,26,0.06);
}
.trust-strip .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 24px;
}
.trust-item { display: flex; align-items: center; gap: 12px; color: var(--ink-700); font-size: 0.9rem; font-weight: 500; }
.trust-item svg { width: 24px; height: 24px; color: var(--gold-700); flex-shrink: 0; }
.trust-item strong { color: var(--navy-950); font-family: var(--font-display); font-size: 1.1rem; display: block; font-weight: 600; }
@media (max-width: 640px) {
  .trust-strip .container { padding: 20px 20px; gap: 16px 22px; }
  .trust-item { font-size: 0.82rem; gap: 9px; }
  .trust-item svg { width: 20px; height: 20px; }
  .trust-item strong { font-size: 0.98rem; }
}

/* ---------- Split / about ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 640px) { .split { gap: 26px; } }
.split-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3.2;
}

/* Illustration panel used in place of stock photography */
.art-panel {
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3.4;
  background:
    radial-gradient(rgba(255,255,255,0.07) 1px, transparent 1px),
    linear-gradient(155deg, var(--navy-900) 0%, var(--blue-700) 45%, var(--blue-500) 80%, rgba(240,180,41,0.6) 150%);
  background-size: 22px 22px, auto;
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,0.18),
    inset 0 -60px 100px rgba(6,13,24,0.55),
    0 2px 0 rgba(240,180,41,0.5),
    0 28px 56px -12px rgba(10,22,38,0.5),
    0 0 0 1px rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
}
.art-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 15%, rgba(255,255,255,0.3), transparent 40%),
    radial-gradient(circle at 80% 85%, rgba(240,180,41,0.18), transparent 35%);
  pointer-events: none;
}
.art-panel svg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  filter:
    drop-shadow(0 8px 18px rgba(6,13,24,0.5))
    drop-shadow(0 2px 4px rgba(6,13,24,0.4));
}
.art-badge {
  position: absolute;
  bottom: 20px; left: 20px; right: 20px;
  background: rgba(6,13,24,0.6);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 24px rgba(6,13,24,0.35), inset 0 1px 0 rgba(255,255,255,0.1);
}
.art-badge svg { width: 26px; height: 26px; color: var(--gold-400); flex-shrink: 0; filter: drop-shadow(0 2px 3px rgba(0,0,0,0.4)); }
.art-badge strong { display: block; font-family: var(--font-display); font-size: 1.05rem; }
.art-badge span { color: var(--text-on-dark-muted); font-size: 0.84rem; }

/* ---------- Values / why-us grid ---------- */
.value-item { display: flex; gap: 16px; }
.value-item .num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--gold-800);
  font-weight: 600;
  flex-shrink: 0;
  width: 44px;
}
.value-item h3 { margin-bottom: 4px; font-size: 1.05rem; }
.value-item p { color: var(--text-muted); font-size: 0.94rem; margin: 0; }

/* ---------- Testimonials / rating ---------- */
.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(180deg, #ffffff, var(--off-white));
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 18px 10px 12px;
  box-shadow: 0 1px 1px rgba(10,22,38,0.04), 0 8px 18px -6px rgba(10,22,38,0.16);
}
.rating-badge .stars { display: flex; gap: 2px; color: var(--gold-600); filter: drop-shadow(0 1px 1px rgba(163,120,31,0.3)); }
.rating-badge .stars svg { width: 16px; height: 16px; }
.rating-badge strong { font-family: var(--font-display); font-size: 1.05rem; color: var(--navy-950); }
.rating-badge span { color: var(--text-muted); font-size: 0.85rem; }

.testi-card {
  background: linear-gradient(165deg, #ffffff 0%, #fdfcf8 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: 0 2px 4px rgba(5,9,26,0.06), 0 12px 28px -6px rgba(5,9,26,0.16);
}
.testi-card .stars { display: flex; gap: 3px; color: var(--gold-600); margin-bottom: 14px; filter: drop-shadow(0 1px 1px rgba(163,120,31,0.3)); }
.testi-card .stars svg { width: 16px; height: 16px; }
.testi-card p { font-size: 0.98rem; color: var(--ink-700); }
.testi-name { display: flex; align-items: center; gap: 10px; margin-top: 16px; }
.testi-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(160deg, var(--blue-500), var(--navy-900));
  color: var(--white); display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.85rem; flex-shrink: 0;
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.3), inset 0 -3px 6px rgba(0,0,0,0.25), 0 3px 8px rgba(10,22,38,0.25);
}
.testi-name strong { font-size: 0.92rem; color: var(--navy-950); display: block; }
.testi-name span { font-size: 0.8rem; color: var(--text-muted); }

/* ---------- Review carousel ---------- */
.review-carousel { position: relative; max-width: 920px; margin: 0 auto; }
.review-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 4px 8px;
  margin: 0 -4px;
  scrollbar-width: none;
}
.review-track::-webkit-scrollbar { display: none; }
.review-slide { flex: 0 0 100%; scroll-snap-align: start; }
@media (min-width: 760px) { .review-slide { flex: 0 0 calc(50% - 12px); } }
.review-slide .testi-card { height: 100%; }
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  z-index: 5;
  color: var(--navy-950);
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.carousel-arrow:hover { background: var(--blue-600); color: var(--white); }
.carousel-arrow svg { width: 20px; height: 20px; }
.carousel-prev { left: -8px; }
.carousel-next { right: -8px; }
@media (min-width: 1020px) { .carousel-prev { left: -54px; } .carousel-next { right: -54px; } }
@media (max-width: 560px) { .carousel-arrow { display: none; } }
.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 22px; }
.carousel-dot { width: 8px; height: 8px; padding: 0; border-radius: 999px; background: var(--line); border: none; cursor: pointer; transition: background 0.2s ease, width 0.2s ease; }
.carousel-dot.active { background: var(--gold-600); width: 24px; }

/* ---------- FAQ accordion ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--navy-950);
  cursor: pointer;
}
.faq-q .plus { flex-shrink: 0; width: 22px; height: 22px; color: var(--gold-600); transition: transform 0.2s ease; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.faq-a-inner { padding: 0 22px 20px; color: var(--text-muted); font-size: 0.95rem; }
.faq-a-inner p:last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(135deg, var(--blue-700), var(--blue-500));
  background-size: 24px 24px, auto;
  color: var(--white);
  border-radius: var(--radius-lg);
  border-left: 6px solid var(--gold-500);
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 48px -18px rgba(10,22,38,0.5);
}
@media (max-width: 640px) { .cta-band { padding: 32px 24px; border-radius: var(--radius-md); } }
.cta-band::after {
  content: "";
  position: absolute;
  right: -60px; top: -60px;
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(255,205,60,0.30), transparent 70%);
}
.cta-band h2 { color: var(--white); margin-bottom: 8px; }
.cta-band p { color: var(--text-on-dark-muted); margin: 0; max-width: 46ch; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; position: relative; }

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  position: relative;
  background:
    radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
    radial-gradient(ellipse 120% 90% at 105% 110%, rgba(255,100,10,0.62), transparent 52%),
    radial-gradient(ellipse 75% 65% at 100% 100%, rgba(210,50,0,0.38), transparent 48%),
    linear-gradient(150deg, var(--navy-950) 0%, var(--navy-900) 45%, var(--navy-800) 100%);
  background-size: 26px 26px, auto, auto, auto;
  color: var(--white);
  padding: 60px 0 68px;
  overflow: hidden;
}
.page-hero h1 { color: var(--white); margin-bottom: 10px; }
.page-hero p { color: var(--text-on-dark-muted); max-width: 62ch; font-size: 1.05rem; }
@media (max-width: 640px) {
  .page-hero { padding: 32px 0 36px; }
  .page-hero .hero-actions { margin-top: 18px !important; margin-bottom: 0; gap: 10px; }
  .breadcrumbs { margin-bottom: 14px; font-size: 0.8rem; }
}
.breadcrumbs { display: flex; gap: 8px; align-items: center; font-size: 0.85rem; color: var(--text-on-dark-muted); margin-bottom: 18px; flex-wrap: wrap; }
.breadcrumbs a { color: var(--text-on-dark-muted); }
.breadcrumbs a:hover { color: var(--yellow-400); }
.breadcrumbs .sep { opacity: 0.5; }
.breadcrumbs [aria-current] { color: var(--yellow-400); }

/* ---------- Blog ---------- */
.blog-meta { font-size: 0.82rem; font-weight: 600; color: var(--gold-800); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 8px; }
.page-hero .blog-meta { color: var(--gold-400); margin-top: 4px; }

/* ---------- Content section (keyword-rich long-form) ---------- */
/* Long-form copy is framed as a card (not run edge-to-edge on the bare page
   background) at every screen size, so it never reads as a plain wall of text. */
.content-block {
  max-width: 780px;
  position: relative;
  background: linear-gradient(165deg, #ffffff 0%, #fdfcf8 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 44px 48px;
  box-shadow: 0 1px 1px rgba(10,22,38,0.04), 0 16px 32px -14px rgba(10,22,38,0.16);
  overflow: hidden;
}
.content-block::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 6px;
  background: linear-gradient(90deg, var(--blue-600), var(--gold-500));
}
section.section-cream .content-block,
.section-cream .content-block { background: linear-gradient(165deg, #ffffff 0%, #fffaf0 100%); }
.content-block h2 { margin-top: 1.4em; }
.content-block h2:first-child { margin-top: 0; }
.content-block > p:first-of-type::first-letter {
  font-family: var(--font-display);
  font-size: 3.1em;
  font-weight: 600;
  float: left;
  line-height: 0.85;
  padding: 0.04em 0.07em 0 0;
  color: var(--blue-700);
}
.content-block h3 {
  margin-top: 1.3em;
  font-size: 1.08rem;
  padding-left: 14px;
  border-left: 3px solid var(--gold-500);
}
.content-block ul { color: var(--text); }
.content-block p { line-height: 1.7; }
@media (max-width: 640px) {
  .content-block { padding: 26px 22px; border-radius: var(--radius-md); }
  .content-block::before { height: 5px; }
}

/* ---------- Areas grid ---------- */
.area-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.area-card h3 { margin: 0; font-size: 1.02rem; }
.area-card span { color: var(--text-muted); font-size: 0.85rem; }
.area-card svg { width: 18px; height: 18px; color: var(--gold-600); flex-shrink: 0; }


/* ---------- Footer ---------- */
.site-footer {
  background:
    radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    var(--navy-950);
  background-size: 24px 24px, auto;
  color: var(--text-on-dark-muted);
  padding-top: 68px;
  border-top: 3px solid var(--gold-500);
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--line-dark); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .site-footer { padding-top: 40px; }
  .footer-grid { gap: 30px; padding-bottom: 30px; }
  .footer-bottom { padding: 16px 0; }
}
.footer-brand .logo { color: var(--white); }
.footer-brand p { margin-top: 14px; font-size: 0.9rem; max-width: 32ch; color: var(--text-on-dark-muted); }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social { flex-wrap: wrap; margin-top: 20px; }
.footer-social a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 15px;
  border-radius: 4px;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}
.footer-social a[hidden] { display: none; }
.footer-social a:hover { border-color: var(--gold-500); color: var(--gold-400); background: rgba(245, 179, 0, 0.08); }
.footer-social svg { width: 17px; height: 17px; flex-shrink: 0; }
.footer-col h4 { color: var(--white); font-family: var(--font-body); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--text-on-dark-muted); font-size: 0.92rem; }
.footer-col a:hover { color: var(--gold-400); }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.92rem; margin-bottom: 12px; }
.footer-contact svg { width: 17px; height: 17px; color: var(--gold-500); flex-shrink: 0; margin-top: 2px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font-size: 0.82rem; flex-wrap: wrap; }
.footer-bottom a { color: var(--text-on-dark-muted); }
.footer-bottom a:hover { color: var(--gold-400); }
.footer-legal { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- Misc ---------- */
.badge-row { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--blue-100); color: var(--blue-700);
  font-size: 0.8rem; font-weight: 600;
  padding: 6px 12px; border-radius: 999px;
}
.divider { height: 1px; background: var(--line); border: none; margin: 48px 0; }
.sticky-call-mobile {
  display: none;
}
@media (max-width: 760px) {
  .sticky-call-mobile {
    display: flex;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 95;
    background: var(--navy-950);
    border-top: 1px solid var(--line-dark);
    padding: 10px 16px;
    gap: 10px;
  }
  .sticky-call-mobile .btn { flex: 1; }
  body { padding-bottom: 66px; }
  .site-footer { padding-bottom: 84px; }
}

/* ---------- Quote layout: form card + "let's chat" panel (modeled on clearvantwc.com) ---------- */
.quote-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 44px; align-items: start; }
@media (max-width: 900px) { .quote-layout { grid-template-columns: 1fr; gap: 30px; } }
.quote-card {
  position: relative;
  background:
    radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    var(--navy-800);
  background-size: 22px 22px, auto;
  border: 1px solid var(--line-dark);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  padding: 44px 36px 36px;
  overflow: hidden;
}
@media (max-width: 640px) {
  .quote-card { padding: 28px 20px 22px; border-radius: 16px; }
  .quote-form .field-label { margin: 16px 0 8px; }
  .quote-chat { padding-top: 0; }
}
.quote-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 10px; background: linear-gradient(90deg, var(--gold-500), var(--gold-700)); }
.quote-form .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .quote-form .field-row { grid-template-columns: 1fr; } }
.quote-form .field-label { display: block; font-weight: 700; color: var(--text-on-dark); font-size: 0.9rem; margin: 20px 0 10px; }
.quote-form > .field-label:first-child { margin-top: 0; }
/* Quote form starts short and expands as the visitor fills it in */
.quote-form .form-continue { display: flex; width: 100%; margin-top: 22px; }
.quote-form.is-expanded .form-continue { display: none; }
.quote-form .form-more {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  visibility: hidden;
  transition: grid-template-rows 0.45s ease, opacity 0.35s ease, visibility 0.45s;
}
.quote-form .form-more-inner { overflow: hidden; min-height: 0; padding: 0 4px 4px; margin: 0 -4px -4px; }
.quote-form.is-expanded .form-more { grid-template-rows: 1fr; opacity: 1; visibility: visible; }
.quote-form .field-hint { font-size: 0.8rem; color: var(--text-on-dark-muted); margin: -6px 0 10px; }
.quote-form input[type="text"], .quote-form input[type="tel"], .quote-form input[type="email"], .quote-form select, .quote-form textarea {
  width: 100%;
  background: var(--navy-950);
  border: 1px solid var(--line-dark);
  border-radius: 10px;
  padding: 13px 15px;
  color: var(--text-on-dark);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.quote-form input::placeholder, .quote-form textarea::placeholder { color: var(--text-on-dark-muted); }
.quote-form select { color-scheme: dark; cursor: pointer; }
.quote-form textarea { min-height: 120px; resize: vertical; font-family: var(--font-body); }
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus {
  outline: none;
  border-color: var(--gold-600);
  box-shadow: 0 0 0 4px rgba(198,161,90,0.18);
}
.check-grid, .radio-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px 20px; }
@media (max-width: 560px) { .check-grid, .radio-grid { grid-template-columns: 1fr; } }
.check-item, .radio-item { display: flex; align-items: center; gap: 9px; font-size: 0.94rem; color: var(--text-on-dark-muted); font-weight: 500; cursor: pointer; }
.check-item input, .radio-item input { accent-color: var(--gold-600); width: 17px; height: 17px; flex-shrink: 0; cursor: pointer; }
.quote-form button[type="submit"] { width: 100%; justify-content: center; margin-top: 28px; font-size: 1.02rem; }

.quote-chat { padding-top: 8px; }
.quote-chat h2 { font-size: clamp(1.7rem, 3vw, 2.1rem); }
.quote-trust { display: flex; flex-direction: column; gap: 12px; margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); }
.quote-trust .item { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--navy-950); }
.quote-trust .item svg { flex-shrink: 0; color: var(--gold-700); }

/* Focus visibility for keyboard users */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2.5px solid var(--gold-600);
  outline-offset: 2px;
}

/* Heroes fill most of the first screen */
.hero, .page-hero { display: flex; align-items: center; }
.hero > .container, .page-hero > .container { width: 100%; }
.hero { min-height: 86vh; }
.page-hero { min-height: 68vh; }

/* Interior heroes: centered on desktop so wide screens don't leave an empty right side */
@media (min-width: 761px) {
  .page-hero .container { text-align: center; }
  .page-hero .breadcrumbs, .page-hero .hero-actions { justify-content: center; }
  .page-hero h1 { max-width: 22ch; margin-left: auto; margin-right: auto; }
  .page-hero p { margin-left: auto; margin-right: auto; }
}

/* =====================================================================
   Mobile refinements (≤760px). Desktop is untouched by everything below.
   ===================================================================== */
@media (max-width: 760px) {
  /* Header: taller bar, roomy tap targets, call button replaces Free Estimate */
  .header-cta > .btn-gold { display: none; }
  .site-header .container { padding-left: 16px; padding-right: 16px; }
  .site-header .header-inner { padding-top: 13px; padding-bottom: 13px; gap: 10px; }
  .site-header .logo { font-size: 1.06rem; gap: 8px; white-space: normal; line-height: 1.05; }
  .site-header .logo > span { max-width: 6.4em; }
  .site-header .logo .logo-mark { width: 38px; height: 38px; }
  .header-cta { gap: 10px; }
  .menu-toggle {
    width: 46px; height: 46px;
    padding: 0;
    justify-content: center;
    border-radius: 6px;
  }
  .menu-toggle svg { width: 22px; height: 22px; }
  .header-phone {
    height: 46px;
    padding: 0 14px;
    background: var(--gold-500);
    color: var(--navy-950);
    border-radius: 6px;
    white-space: nowrap;
    box-shadow: rgba(154, 108, 20, 0.35) 0px 6px 14px 0px;
  }
  .header-phone svg { display: none; }
  .header-phone:hover { color: var(--navy-950); }
  .header-phone .phone-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    line-height: 1.1;
  }
  .header-phone .phone-text::before {
    content: "Call now";
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.75;
    margin-bottom: 2px;
  }

  /* Dropdown menu: full-width sheet under the header instead of hanging off the left edge */
  .menu-wrap { position: static; }
  nav.main-nav {
    top: 100%;
    left: 12px;
    right: 12px;
    min-width: 0;
    margin-top: 8px;
    max-height: calc(100vh - 170px);
    overflow-y: auto;
    padding: 8px;
    border-radius: 12px;
    transform-origin: top center;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
  }
  nav.main-nav a { font-size: 0.9rem; padding: 11px 12px; line-height: 1.3; }
  nav.main-nav a:hover { padding-left: 12px; }


  /* Sticky call bar stays tucked away until the user scrolls down */
  .sticky-call-mobile { transform: translateY(110%); transition: transform 0.3s ease; }
  body.sticky-bar-visible .sticky-call-mobile { transform: translateY(0); }
  body:not(.sticky-bar-visible)
  /* Decorative art panels just push content down on a phone */
  .split > .art-panel { display: none; }

  .quote-form .check-grid, .quote-form .radio-grid { grid-template-columns: 1fr 1fr; gap: 10px 12px; }
  .quote-form .check-item, .quote-form .radio-item { font-size: 0.86rem; line-height: 1.3; align-items: flex-start; }
}

@media (max-width: 640px) {
  /* Tighter, more even rhythm between sections */
  section { padding: 44px 0; }
  .section-head { margin-bottom: 22px; }
  .section-head p { margin-bottom: 0; }
  .kicker { font-size: 0.72rem; letter-spacing: 0.1em; margin-bottom: 6px; }

  /* Type: denser but still comfortable to read */
  h2 { font-size: 1.6rem; line-height: 1.15; letter-spacing: -0.015em; margin-bottom: 10px; }
  h3 { line-height: 1.25; }
  p { font-size: 0.97rem; line-height: 1.58; margin-bottom: 0.8em; }
  li { font-size: 0.97rem; line-height: 1.5; }
  .icon-list { gap: 9px; }
  .icon-list svg { width: 18px; height: 18px; }
  .content-block { padding: 22px 18px; }
  .content-block p { line-height: 1.58; }
  .content-block h2 { margin-top: 1.1em; }
  .content-block > p:first-of-type::first-letter { font-size: 2.5em; }
  .split { gap: 22px; }
  .cta-band { padding: 28px 20px; }

  /* Cards: two-up grid instead of one long single-file stack */
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid { gap: 12px; }
  .grid-3 > :last-child:nth-child(odd), .grid-4 > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .card { padding: 18px 15px; border-radius: 12px; }
  .card:hover { transform: none; }
  .card-icon { width: 44px; height: 44px; border-radius: 12px; margin-bottom: 12px; }
  .card-icon svg { width: 23px; height: 23px; }
  .card h3 { font-size: 0.98rem; margin-bottom: 6px; }
  .card p { font-size: 0.85rem; line-height: 1.45; margin-bottom: 10px; }
  .card-link { font-size: 0.84rem; }
  .area-card { padding: 14px 14px; }
  .area-card h3 { font-size: 0.95rem; }

  /* Homepage hero */
  .hero { padding: 40px 0 36px; }
  body.home .hero { min-height: 100vh; min-height: 100svh; }
  body.home .hero-grid > div:first-child { text-align: left; }
  body.home .hero-grid > .hero-card { display: none; }
  .hero .eyebrow {
    background: transparent;
    border-color: rgba(255, 205, 60, 0.45);
    border-radius: 4px;
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    padding: 6px 10px;
    margin-bottom: 18px;
    opacity: 0.65;
  }
  .hero h1, body.home .hero h1 { font-size: 2.7rem; line-height: 1.05; letter-spacing: -0.025em; margin-bottom: 16px; }
  .hero .lede, body.home .hero .lede { font-size: 0.88rem; line-height: 1.5; margin: 0; max-width: none; opacity: 0.7; }
  .hero-actions, body.home .hero-actions { flex-direction: column; align-items: stretch; gap: 12px; margin: 24px 0 0; }
  .hero-actions .btn { width: 100%; padding: 18px 20px; font-size: 0.9rem; }
  body.home .hero-grid > div:first-child { display: flex; flex-direction: column; align-items: flex-start; }
  body.home .hero-grid > div:first-child > * { order: 1; width: 100%; }
  body.home .hero-grid > div:first-child > .eyebrow { width: auto; }
  body.home .hero-grid > div:first-child > .hero-actions { order: 3; }
  body.home .hero-grid > div:first-child > .hero-trust { order: 2; }
  .hero-trust, body.home .hero-trust {
    order: 2;
    justify-content: flex-start;
    gap: 6px;
    border-top: none;
    padding-top: 0;
    margin-top: 18px;
  }
  .hero-trust-item {
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    padding: 7px 9px;
    font-size: 0.64rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--text-on-dark);
    gap: 5px;
  }
  .hero-trust-item svg { display: none; }

  /* Interior page heroes, same treatment */
  .page-hero { padding: 36px 0 34px; }
  .breadcrumbs { font-size: 0.72rem; letter-spacing: 0.04em; margin-bottom: 14px; }
  .page-hero h1 { font-size: 2rem; line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 12px; }
  .page-hero p { font-size: 0.98rem; line-height: 1.55; margin-bottom: 0; }
  .page-hero .hero-actions { margin-top: 22px !important; }
}

@media (max-width: 380px) {
  .site-header .logo { font-size: 0.96rem; gap: 6px; }
  .site-header .logo .logo-mark { width: 32px; height: 32px; }
  .header-phone { padding: 0 11px; }
  .header-phone .phone-text { font-size: 0.8rem; }
  .header-cta { gap: 8px; }
}

