/* ==========================================================================
   Leak Detection Wilson NC — Design System & Responsive Stylesheet
   Palette: Deep Navy (#0C2138) + Acoustic Teal (#0D9488) + Amber CTA (#D97706)
   ========================================================================== */

:root {
  --navy-950: #071626;
  --navy-900: #0C2138;
  --navy-800: #143252;
  --navy-700: #1E446B;

  --teal-700: #0F766E;
  --teal-600: #0D9488;
  --teal-500: #14B8A6;
  --teal-50:  #F0FDFA;

  --amber-700: #B45309;
  --amber-600: #D97706;
  --amber-500: #F59E0B;
  --amber-100: #FEF3C7;

  --surface-white: #FFFFFF;
  --surface-alt:   #F4F7FA;
  --surface-muted: #E8EEF4;

  --text-900: #0F172A;
  --text-700: #334155;
  --text-500: #64748B;
  --text-on-dark: #F8FAFC;
  --text-on-dark-muted: #CBD5E1;

  --border-light: #DCE4EC;
  --border-dark: rgba(255, 255, 255, 0.14);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 3px rgba(12, 33, 56, 0.06);
  --shadow-md: 0 8px 24px rgba(12, 33, 56, 0.08);
  --shadow-lg: 0 16px 40px rgba(7, 22, 38, 0.14);

  --container: 1200px;
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.68;
  color: var(--text-700);
  background: var(--surface-white);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-700); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--navy-900); }
:focus-visible { outline: 3px solid var(--amber-500); outline-offset: 2px; }

.skip-link {
  position: absolute; top: -100px; left: 16px;
  background: var(--amber-600); color: #FFFFFF;
  padding: 10px 18px; border-radius: var(--radius-sm);
  font-weight: 700; z-index: 1000; text-decoration: none;
}
.skip-link:focus { top: 16px; }

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

/* ---------- Top Utility Bar ---------- */
.topbar {
  background: var(--navy-950);
  color: var(--text-on-dark-muted);
  font-size: 0.84rem;
  border-bottom: 1px solid var(--border-dark);
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 9px 0; flex-wrap: wrap;
}
.topbar-meta { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.topbar-hours {
  display: inline-flex; align-items: center; gap: 7px;
  color: #5EEAD4; font-weight: 700;
}
.topbar-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #10B981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
}
.topbar-phone { color: var(--amber-500); font-weight: 800; text-decoration: none; }
.topbar-phone:hover { color: #FFFFFF; }

/* ---------- Sticky Site Header & Redesigned Logo ---------- */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; min-height: 78px;
}

.brand {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--navy-900); flex-shrink: 0;
}
.brand-mark {
  width: 44px; height: 44px; border-radius: 11px;
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-800) 100%);
  border: 1px solid rgba(20, 184, 166, 0.4);
  display: grid; place-items: center; flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(7, 22, 38, 0.16);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-size: 1.06rem; font-weight: 900; letter-spacing: -0.02em;
  color: var(--navy-900); text-transform: uppercase;
}
.brand-sub {
  font-size: 0.7rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--teal-700); margin-top: 2px;
}
.brand--dark .brand-name { color: #FFFFFF; }
.brand--dark .brand-sub { color: #5EEAD4; }

.primary-nav { display: flex; align-items: center; gap: 6px; }
.nav-item { position: relative; }
.nav-link, .nav-trigger {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; font-size: 0.94rem; font-weight: 600;
  color: var(--text-900); text-decoration: none;
  background: transparent; border: 0; border-radius: var(--radius-sm);
  cursor: pointer; font-family: inherit;
}
.nav-link:hover, .nav-trigger:hover, .nav-link[aria-current="page"] {
  color: var(--teal-700); background: var(--teal-50);
}

.mega-menu {
  position: absolute; top: calc(100% + 8px); left: 50%;
  transform: translateX(-50%); width: min(820px, 92vw);
  background: var(--surface-white); border: 1px solid var(--border-light);
  border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
  padding: 22px; display: none; z-index: 300;
}
.mega-menu::before {
  content: "";
  position: absolute;
  top: -12px; left: 0; right: 0; height: 14px;
}
.nav-item.is-open .mega-menu { display: block; }
@media (min-width: 901px) {
  .nav-item[data-dropdown]:hover .mega-menu,
  .nav-item[data-dropdown]:focus-within .mega-menu {
    display: block;
  }
}
.mega-header {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid var(--border-light);
}
.mega-header a { font-weight: 800; font-size: 0.9rem; color: var(--teal-700); text-decoration: none; }
.mega-header a:hover { color: var(--amber-700); }
.mega-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 20px; }
.mega-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mega-group-title {
  font-size: 0.76rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--teal-700); margin: 0 0 8px;
}
.mega-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.mega-list a {
  display: block; padding: 5px 8px; border-radius: 6px;
  font-size: 0.89rem; font-weight: 500; color: var(--text-700); text-decoration: none;
}
.mega-list a:hover { background: var(--surface-alt); color: var(--navy-900); }

.header-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px; background: var(--amber-600); color: #FFFFFF;
  font-weight: 800; font-size: 0.94rem; border-radius: var(--radius-pill);
  text-decoration: none; box-shadow: 0 4px 12px rgba(217, 119, 6, 0.28);
  transition: background 0.18s ease, transform 0.18s ease; white-space: nowrap;
}
.header-cta:hover { background: var(--amber-700); color: #FFFFFF; transform: translateY(-1px); }

.menu-toggle {
  display: none; width: 44px; height: 44px; border-radius: var(--radius-sm);
  border: 1px solid var(--border-light); background: var(--surface-white);
  color: var(--navy-900); align-items: center; justify-content: center; cursor: pointer;
}

/* Mobile Drawer */
.mobile-drawer {
  display: none; background: var(--surface-white);
  border-top: 1px solid var(--border-light); padding: 16px 20px 24px;
  max-height: calc(100vh - 78px); overflow-y: auto;
}
.mobile-drawer.is-open { display: block; }
.mobile-nav-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.mobile-nav-list a {
  display: block; padding: 10px 12px; border-radius: var(--radius-sm);
  color: var(--text-900); font-weight: 600; text-decoration: none; background: var(--surface-alt);
}
.mobile-nav-group { margin-top: 10px; }
.mobile-nav-group summary {
  padding: 10px 12px; font-weight: 700; color: var(--navy-900);
  background: var(--surface-alt); border-radius: var(--radius-sm); cursor: pointer;
}
.mobile-sublist { list-style: none; margin: 8px 0 0; padding: 0 0 0 12px; display: grid; gap: 4px; }
.mobile-sublist a { background: transparent; padding: 7px 10px; font-weight: 500; font-size: 0.92rem; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs {
  background: var(--navy-950); border-bottom: 1px solid var(--border-dark);
  padding: 10px 0; font-size: 0.85rem;
}
.breadcrumbs ol {
  list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap;
  align-items: center; gap: 8px; color: var(--text-on-dark-muted);
}
.breadcrumbs a { color: var(--text-on-dark-muted); text-decoration: none; }
.breadcrumbs a:hover { color: #FFFFFF; text-decoration: underline; }
.breadcrumbs li[aria-current="page"] { color: #FFFFFF; font-weight: 600; }

/* ---------- Hero Section ---------- */
.hero {
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 58%, var(--navy-800) 100%);
  color: var(--text-on-dark); padding: 54px 0 60px;
  border-bottom: 4px solid var(--teal-600);
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 40px; align-items: center;
}
.hero h1 {
  margin: 0 0 18px; font-size: clamp(2rem, 3.6vw, 2.95rem);
  font-weight: 900; line-height: 1.12; letter-spacing: -0.025em; color: #FFFFFF;
}
.hero-lead p {
  margin: 0 0 14px; font-size: 1.08rem; line-height: 1.65;
  color: var(--text-on-dark-muted); max-width: 64ch;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: var(--radius-sm); font-weight: 700;
  font-size: 0.98rem; text-decoration: none; border: 2px solid transparent;
  cursor: pointer; transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.btn-primary { background: var(--amber-600); color: #FFFFFF; box-shadow: 0 6px 18px rgba(217, 119, 6, 0.3); }
.btn-primary:hover { background: var(--amber-700); color: #FFFFFF; transform: translateY(-1px); }
.btn-secondary { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.32); color: #FFFFFF; }
.btn-secondary:hover { background: rgba(255, 255, 255, 0.16); color: #FFFFFF; }

.media-slot {
  width: 100%; aspect-ratio: 16 / 10; border-radius: var(--radius-md);
  background: linear-gradient(145deg, rgba(255,255,255,0.06) 0%, rgba(20,184,166,0.12) 100%);
  border: 1px solid rgba(255, 255, 255, 0.16); position: relative; overflow: hidden;
}
.media-slot--light { background: var(--surface-muted); border: 1px solid var(--border-light); }
.media-slot img { width: 100%; height: 100%; object-fit: cover; }

.hero-panel { display: grid; gap: 14px; }
.hero-contact-card {
  background: rgba(7, 22, 38, 0.78); border: 1px solid var(--border-dark);
  border-radius: var(--radius-md); padding: 18px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
}
.hero-contact-meta { display: grid; gap: 3px; }
.hero-contact-label {
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em;
  color: #5EEAD4; font-weight: 800;
}
.hero-contact-address { font-size: 0.9rem; color: var(--text-on-dark-muted); }

/* ---------- Content Bands & Balanced Full-Width Layouts ---------- */
.band { padding: 56px 0; background: var(--surface-white); }
.band--alt {
  background: var(--surface-alt);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.band h2 {
  margin: 0 0 18px; font-size: clamp(1.5rem, 2.5vw, 2.05rem);
  font-weight: 900; line-height: 1.2; letter-spacing: -0.02em; color: var(--navy-900);
}
.band h3 {
  margin: 0 0 10px; font-size: 1.16rem; font-weight: 800;
  line-height: 1.3; color: var(--navy-900);
}

.prose p { margin: 0 0 16px; }
.prose p:last-child { margin-bottom: 0; }
.prose ul, .prose ol { margin: 0 0 18px; padding-left: 22px; }
.prose li { margin-bottom: 8px; }

/* Balanced 2-column editorial + sidebar (eliminates empty right side!) */
.editorial-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 36px;
  align-items: start;
}

.aside-card {
  background: var(--navy-900);
  color: var(--text-on-dark);
  border-radius: var(--radius-md);
  padding: 24px;
  border-top: 3px solid var(--teal-500);
  box-shadow: var(--shadow-md);
  display: grid;
  gap: 12px;
}
.aside-card--light {
  background: var(--surface-white);
  color: var(--text-700);
  border: 1px solid var(--border-light);
  border-top: 3px solid var(--teal-600);
  box-shadow: var(--shadow-sm);
}
.aside-card h3,
.aside-card .aside-title { color: #FFFFFF; margin: 0; font-size: 1.08rem; font-weight: 800; line-height: 1.3; }
.aside-card--light h3,
.aside-card--light .aside-title { color: var(--navy-900); }
.aside-card p { margin: 0; font-size: 0.92rem; color: var(--text-on-dark-muted); }
.aside-card--light p { color: var(--text-700); }
.aside-row { font-size: 0.9rem; display: flex; justify-content: space-between; gap: 10px; border-top: 1px solid var(--border-dark); padding-top: 10px; }
.aside-card--light .aside-row { border-top-color: var(--border-light); }

/* Balanced 2-column text grid for multi-paragraph sections */
.two-col-prose {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 32px;
  margin-top: 16px;
}
.two-col-prose p { margin: 0; }

/* Split layout for intro/editorial bands — image always matches text height */
.split-grid {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 36px; align-items: stretch;
}
.split-grid .prose {
  display: flex; flex-direction: column; justify-content: center;
}
.split-grid .media-slot {
  height: 100%; min-height: 280px; aspect-ratio: auto;
}

/* ---------- Service, Feature, Review & Step Cards ---------- */
.card-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px; margin-top: 26px;
}
.card-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card {
  position: relative;
  background: var(--surface-white);
  border: 1px solid #DCE5EE;
  border-radius: 16px;
  padding: 28px 26px;
  box-shadow: 0 4px 14px rgba(12, 33, 56, 0.05), 0 1px 2px rgba(12, 33, 56, 0.04);
  display: flex; flex-direction: column; gap: 12px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--navy-900) 0%, var(--teal-600) 100%);
}
.card:hover {
  transform: translateY(-5px);
  border-color: rgba(13, 148, 136, 0.45);
  box-shadow: 0 16px 34px rgba(12, 33, 56, 0.11), 0 4px 10px rgba(13, 148, 136, 0.08);
}
.card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--navy-900);
  margin: 0;
}
.card p { margin: 0; font-size: 0.96rem; line-height: 1.65; color: var(--text-700); }

.card--with-img { padding: 0; }
.card--with-img::before { display: none; }
.card-media {
  position: relative;
  display: block;
  width: 100%; aspect-ratio: 16 / 10; overflow: hidden;
  background: var(--navy-900);
}
.card-media::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0; height: 4px;
  background: linear-gradient(90deg, var(--teal-500) 0%, var(--amber-500) 100%);
}
.card-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 20%;
  transition: transform 0.4s ease;
}
.card--with-img:hover .card-media img {
  transform: scale(1.05);
}
.card-body {
  padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1;
}

.card-link {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #EEF2F6;
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--teal-700);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.card:hover .card-link {
  color: var(--amber-700);
  padding-left: 4px;
}

/* Review / Quote Cards */
.review-card {
  background: var(--surface-white);
  border: 1px solid #DCE5EE;
  border-left: 4px solid var(--teal-600);
  border-radius: 16px;
  padding: 24px 26px;
  box-shadow: 0 4px 14px rgba(12, 33, 56, 0.05);
}
.review-card p { margin: 0; font-size: 0.96rem; line-height: 1.65; }

/* Numbered Step Cards */
.step-card {
  background: var(--surface-white);
  border: 1px solid #DCE5EE;
  border-radius: 16px;
  padding: 26px 24px;
  box-shadow: 0 4px 14px rgba(12, 33, 56, 0.05);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.step-card:hover {
  transform: translateY(-4px);
  border-color: rgba(13, 148, 136, 0.4);
  box-shadow: 0 14px 28px rgba(12, 33, 56, 0.09);
}
.step-num {
  width: 40px; height: 40px; border-radius: 12px;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--teal-700) 100%);
  color: #FFFFFF;
  font-weight: 900; font-size: 0.92rem; letter-spacing: 0.02em;
  display: grid; place-items: center; flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.25);
}
.step-card p { margin: 0; font-size: 0.96rem; line-height: 1.65; }

/* ---------- Tables ---------- */
.table-wrap {
  width: 100%; overflow-x: auto; margin: 20px 0;
  border: 1px solid var(--border-light); border-radius: var(--radius-md);
  background: var(--surface-white); box-shadow: var(--shadow-sm);
}
.data-table { width: 100%; border-collapse: collapse; min-width: 520px; text-align: left; }
.data-table th, .data-table td {
  padding: 14px 18px; border-bottom: 1px solid var(--border-light);
  vertical-align: top; font-size: 0.95rem;
}
.data-table thead th { background: var(--navy-900); color: #FFFFFF; font-weight: 700; }
.data-table tbody tr:nth-child(even) { background: var(--surface-alt); }
.data-table tbody tr:last-child td { border-bottom: 0; }

/* ---------- FAQ Accordion (Full-width 2-column split) ---------- */
.faq-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}
.faq-list { display: grid; gap: 14px; }
.faq-item {
  background: var(--surface-white); border: 1px solid var(--border-light);
  border-radius: var(--radius-md); box-shadow: var(--shadow-sm); overflow: hidden;
}
.faq-item.is-open { border-color: var(--navy-900); }
.faq-question { margin: 0; }
.faq-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 18px 22px; background: transparent; border: 0;
  text-align: left; font-family: inherit; font-size: 1.04rem; font-weight: 800;
  color: var(--navy-900); cursor: pointer;
}
.faq-icon {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--surface-alt); color: var(--navy-900);
  display: grid; place-items: center; flex-shrink: 0; font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.faq-item.is-open .faq-icon { background: var(--teal-600); color: #FFFFFF; transform: rotate(45deg); }
.faq-panel { padding: 0 22px 20px; color: var(--text-700); }
.faq-panel[hidden] { display: none; }
.faq-panel p { margin: 0 0 12px; }
.faq-panel p:last-child { margin-bottom: 0; }

/* ---------- Internal Links Strip ---------- */
.related-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.link-chip {
  display: inline-flex; align-items: center; padding: 8px 14px;
  background: var(--surface-white); border: 1px solid var(--border-light);
  border-radius: var(--radius-pill); font-size: 0.9rem; font-weight: 600;
  color: var(--navy-900); text-decoration: none;
}
.link-chip:hover { border-color: var(--teal-600); background: var(--teal-50); color: var(--teal-700); }

/* ---------- Final CTA Banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 100%);
  color: var(--text-on-dark); padding: 56px 0;
}
.cta-banner-inner {
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px; align-items: center;
}
.cta-banner h2 {
  color: #FFFFFF; margin: 0 0 12px;
  font-size: clamp(1.55rem, 2.6vw, 2.15rem); font-weight: 900;
}
.cta-banner p { color: var(--text-on-dark-muted); max-width: 66ch; margin: 0 0 12px; }
.cta-banner p:last-child { margin-bottom: 0; }

/* ---------- Contact Form ---------- */
.contact-form-card {
  background: var(--surface-white); border: 1px solid var(--border-light);
  border-radius: var(--radius-md); padding: 28px; box-shadow: var(--shadow-md);
}
.form-grid { display: grid; gap: 16px; }
.form-field label {
  display: block; font-weight: 700; font-size: 0.92rem;
  color: var(--navy-900); margin-bottom: 6px;
}
.form-field input, .form-field textarea, .form-field select {
  width: 100%; padding: 11px 14px; border: 1px solid var(--border-light);
  border-radius: var(--radius-sm); font-family: inherit; font-size: 1rem;
  color: var(--text-900); background: var(--surface-white);
}
.form-field input:focus, .form-field textarea:focus { border-color: var(--teal-600); }
.form-status { margin-top: 14px; padding: 12px 16px; border-radius: var(--radius-sm); font-size: 0.94rem; display: none; }
.form-status.is-visible { display: block; }
.form-status--error { background: #FEF2F2; border: 1px solid #FECACA; color: #991B1B; }
.form-status--info { background: var(--amber-100); border: 1px solid #FCD34D; color: #78350F; }

/* ---------- Redesigned Footer ---------- */
.site-footer {
  background: var(--navy-950); color: var(--text-on-dark-muted);
  border-top: 4px solid var(--teal-600); padding: 60px 0 32px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.35fr 1fr 1fr 0.85fr;
  gap: 36px; padding-bottom: 40px; border-bottom: 1px solid var(--border-dark);
}
.footer-heading {
  color: #FFFFFF; font-size: 0.82rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.08em;
  margin: 0 0 16px; padding-bottom: 8px;
  border-bottom: 2px solid var(--teal-600); display: inline-block;
}
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-list a { color: var(--text-on-dark-muted); text-decoration: none; font-size: 0.92rem; }
.footer-list a:hover { color: #FFFFFF; text-decoration: underline; }
.footer-nap {
  margin-top: 16px; padding: 18px; border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border-dark);
  font-size: 0.92rem; display: grid; gap: 8px;
}
.footer-nap-row { display: flex; flex-direction: column; gap: 2px; }
.footer-nap-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.07em; color: #5EEAD4; font-weight: 800; }
.footer-nap a { color: var(--amber-500); font-weight: 800; text-decoration: none; }
.footer-nap a.btn-primary { color: #FFFFFF; }
.footer-nap a.btn-primary:hover { color: #FFFFFF; }
.footer-bottom {
  padding-top: 24px; display: flex; flex-wrap: wrap;
  justify-content: space-between; align-items: center; gap: 14px; font-size: 0.86rem;
}
.footer-legal { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-legal a { color: var(--text-on-dark-muted); text-decoration: none; }
.footer-legal a:hover { color: #FFFFFF; text-decoration: underline; }

/* ---------- Sticky Mobile Call Bar ---------- */
.mobile-call-bar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 250;
  background: var(--navy-950); border-top: 2px solid var(--teal-600);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  box-shadow: 0 -6px 20px rgba(7, 22, 38, 0.28);
}
.mobile-call-bar a {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 12px 16px; background: var(--amber-600); color: #FFFFFF;
  font-weight: 800; font-size: 1rem; border-radius: var(--radius-sm); text-decoration: none;
}

/* ---------- Responsive Breakpoints ---------- */
@media (max-width: 1024px) {
  .hero-grid, .split-grid, .editorial-split, .faq-layout, .cta-banner-inner {
    grid-template-columns: 1fr;
  }
  .split-grid .media-slot { height: auto; aspect-ratio: 16 / 10; }
  .editorial-split .aside-card { position: static; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .topbar, .primary-nav, .header-cta { display: none; }
  .menu-toggle { display: inline-flex; }
  .mobile-call-bar { display: block; }
  body { padding-bottom: 72px; }
}

@media (max-width: 640px) {
  .hero { padding: 36px 0 44px; }
  .band { padding: 40px 0; }
  .card-grid, .card-grid--2, .two-col-prose, .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

.hero-lead a,
.cta-banner p a {
  color: var(--amber-500);
  font-weight: 700;
}
.hero-lead a:hover,
.cta-banner p a:hover {
  color: #FFFFFF;
}

.media-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.job-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 12px;
}

.editorial-split .aside-card {
  position: sticky;
  top: 96px;
}

.card-grid--2:has(.job-photo) {
  align-items: stretch;
}

.card-grid--2:has(.job-photo) .review-card:not(:has(.job-photo)) {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 32px;
}

.review-card:has(.job-photo) {
  padding: 0;
  border-left: 1px solid var(--border-light);
  background: transparent;
  overflow: hidden;
  max-height: 280px;
}

.review-card:has(.job-photo) .job-photo {
  height: 100%;
  max-height: 280px;
  aspect-ratio: auto;
  border-radius: 0;
}

.before-after-photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 20px 0;
}
.before-after-photos figure { margin: 0; }
.before-after-photos img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 12px;
}
.before-after-photos figcaption { font-weight: 700; margin-top: 8px; color: var(--navy-900); }

.section-work-photo {
  margin: 20px 0 28px;
  width: 100%;
  max-width: 100%;
}
.section-work-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 21 / 9;
  max-height: 440px;
  border-radius: 14px;
  object-fit: cover;
  object-position: center 20%;
}

@media (max-width: 640px) {
  .section-work-photo img {
    aspect-ratio: 16 / 10;
    max-height: none;
  }
  .before-after-photos {
    grid-template-columns: 1fr;
  }
}


/* ---------- Local Google Map Embed ---------- */
.map-section { padding: 52px 0; background: var(--surface-white); border-top: 1px solid var(--border-light); }
.map-frame-wrapper {
  width: 100%; height: 420px; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--border-light); box-shadow: var(--shadow-md); margin-top: 18px;
}
.map-frame-wrapper iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 640px) { .map-frame-wrapper { height: 320px; } }

/* ---------- Visual Canvas CAPTCHA ---------- */
.captcha-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.captcha-canvas { border: 1px solid var(--border-light); border-radius: 8px; background: #F1F5F9; }
.captcha-refresh {
  padding: 8px 14px; border-radius: 8px; border: 1px solid var(--border-light);
  background: var(--surface-alt); color: var(--navy-900); font-weight: 700;
  font-size: 0.85rem; cursor: pointer;
}
.captcha-refresh:hover { background: var(--teal-50); border-color: var(--teal-600); }
.form-status--success { background: #ECFDF5; border: 1px solid #A7F3D0; color: #065F46; }
