/* ==========================================================================
   Advanced Leak Detection — Shared Design System
   Modernized 2026 — Teal + Azure + Coral
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,400;1,9..144,500&family=Source+Sans+3:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Navy + aqua — matching advancedleakeast.com */
  --deep: #1a2b3f;          /* deep navy — headlines, nav text */
  --teal: #4fb5b8;          /* pool aqua — primary accent */
  --azure: #4fb5b8;          /* kept for backwards compat */
  --azure-bright: #5fc9cc;  /* brighter aqua for hovers */
  --sky: #b3e0e1;           /* soft aqua tint */
  --foam: #e8f5f5;          /* palest aqua — section backgrounds */
  --mist: #f4fafb;          /* near-white aqua tint */

  /* Accent — aqua used in place of former coral/gold */
  --coral: #4fb5b8;
  --coral-deep: #2d8a8d;
  --coral-soft: #e8f5f5;

  /* Legacy gold variables — mapped to navy deep + aqua for backwards compat */
  --gold: #4fb5b8;
  --gold-deep: #2d8a8d;

  /* Neutrals */
  --white: #ffffff;
  --cream: #fafafa;
  --paper: #fbfcfc;
  --ink: #1a2b3f;           /* match navy for consistency */
  --muted: #5a6b7a;
  --line: #e1e8ec;
  --line-strong: #c1ccd3;

  /* Typography */
  --display: 'Fraunces', 'Playfair Display', Georgia, serif;
  --sans: 'Inter', 'Montserrat', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --body: 'Source Sans 3', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;

  /* Shadows — cool-toned navy */
  --shadow-sm: 0 1px 3px rgba(26, 43, 63, 0.06), 0 1px 2px rgba(26, 43, 63, 0.08);
  --shadow-md: 0 4px 14px rgba(26, 43, 63, 0.1), 0 2px 4px rgba(26, 43, 63, 0.06);
  --shadow-lg: 0 16px 40px rgba(26, 43, 63, 0.14), 0 4px 12px rgba(26, 43, 63, 0.08);
  --shadow-coral: 0 8px 24px rgba(79, 181, 184, 0.28);

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-pill: 999px;

  --t-fast: 0.15s ease;
  --t: 0.25s ease;
  --t-slow: 0.4s ease;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--azure); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--deep); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--display);
  font-weight: 500;
  color: var(--deep);
  line-height: 1.15;
  letter-spacing: -0.015em;
}

::selection { background: var(--sky); color: var(--deep); }

/* Utility bar */
.util-bar {
  background: var(--deep);
  color: var(--white);
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.02em;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.util-inner {
  max-width: 1320px; margin: 0 auto; padding: 0 32px;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
}
.util-left, .util-right {
  display: flex; gap: 22px; align-items: center; flex-wrap: wrap;
}
.util-bar span { color: rgba(255,255,255,0.85); font-weight: 500; }
.util-bar .lic {
  background: rgba(79, 181, 184,0.18); color: var(--coral);
  padding: 3px 10px; border-radius: var(--r-pill);
  font-weight: 700; font-size: 10.5px; letter-spacing: 0.08em;
}
.util-right a {
  color: rgba(255,255,255,0.85); text-decoration: none; font-weight: 500;
  transition: color var(--t-fast);
}
.util-right a:hover { color: var(--coral); }

@media (max-width: 700px) {
  .util-bar { font-size: 11px; }
  .util-inner { padding: 0 18px; gap: 10px; }
  .util-left, .util-right { gap: 14px; }
}

/* Primary navigation */
nav.primary {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 8px rgba(26, 43, 63,0.04);
}
.nav-inner {
  max-width: 1320px; margin: 0 auto; padding: 16px 32px;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
}

.brand {
  display: flex; align-items: center; gap: 14px;
  text-decoration: none; color: var(--deep);
  transition: opacity var(--t-fast);
}
.brand:hover { opacity: 0.85; }

.brand-mark {
  width: auto; height: 48px;
  background: transparent;
  border-radius: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 0;
  overflow: visible;
  flex-shrink: 0;
}
.brand-mark img { height: 48px; width: auto; object-fit: contain; display: block; }
.brand-mark svg { width: 100%; height: 100%; }

/* Brand text block — shown next to logo */
.brand-text { display: flex; flex-direction: column; gap: 4px; line-height: 1; }
.brand-text .name {
  font-family: var(--sans); font-size: 22px; font-weight: 800;
  color: var(--deep); letter-spacing: -0.01em;
  text-transform: uppercase; white-space: nowrap;
}
.brand-text .name .initial { color: var(--coral-deep, var(--coral)); }
.brand-text .sub {
  font-family: var(--sans); font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--muted); font-weight: 500;
}

ul.nav-links {
  list-style: none; display: flex; gap: 4px; align-items: center;
}
ul.nav-links li a {
  font-family: var(--sans); font-size: 14px; font-weight: 500;
  color: var(--ink); padding: 8px 14px; border-radius: var(--r-sm);
  text-decoration: none; transition: all var(--t-fast);
}
ul.nav-links li a:hover {
  color: var(--deep); background: var(--foam);
}

.nav-cta { display: flex; align-items: center; }

.btn {
  font-family: var(--sans); font-size: 13.5px; font-weight: 600;
  letter-spacing: 0.02em; padding: 11px 22px; border-radius: var(--r-md);
  display: inline-flex; align-items: center; gap: 6px;
  text-decoration: none; border: none; cursor: pointer;
  transition: all var(--t); line-height: 1;
}
.btn-primary {
  background: var(--coral); color: var(--white);
  box-shadow: 0 4px 12px rgba(79, 181, 184,0.28);
}
.btn-primary:hover {
  background: var(--coral-deep); color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(79, 181, 184,0.4);
}
.btn-secondary {
  background: var(--foam); color: var(--deep); border: 1px solid transparent;
}
.btn-secondary:hover {
  background: var(--white); border-color: var(--azure); color: var(--deep);
}
.btn-outline {
  background: transparent; color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.35);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1); border-color: var(--white); color: var(--white);
}
.btn .arrow { transition: transform var(--t-fast); font-weight: 400; }
.btn:hover .arrow { transform: translateX(3px); }

@media (max-width: 960px) {
  ul.nav-links { display: none; }
  .nav-inner { padding: 12px 18px; }
  .brand-text .sub { display: none; }
  .nav-cta .btn { padding: 9px 16px; font-size: 12.5px; }
}

/* Breadcrumb */
.breadcrumb {
  font-family: var(--sans); font-size: 12px; letter-spacing: 0.04em;
  color: rgba(255,255,255,0.8); margin-bottom: 24px;
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.breadcrumb a {
  color: rgba(255,255,255,0.85); text-decoration: none;
  transition: color var(--t-fast); font-weight: 500;
}
.breadcrumb a:hover { color: var(--coral); }
.breadcrumb .sep { color: rgba(255,255,255,0.5); font-size: 14px; }
.breadcrumb .current { color: var(--coral); font-weight: 600; }

.band .breadcrumb { color: var(--muted); }
.band .breadcrumb a { color: var(--azure); }
.band .breadcrumb a:hover { color: var(--deep); }
.band .breadcrumb .sep { color: var(--line-strong); }
.band .breadcrumb .current { color: var(--deep); }

/* Bands */
.band {
  padding: 80px 0; background: var(--white);
  position: relative;
}
.band.cream { background: var(--cream); }
.band.foam { background: var(--foam); }
.band.mist { background: var(--mist); }
.band.deep, .band.dark { background: var(--deep); color: var(--white); }
.band.deep h1, .band.deep h2, .band.deep h3,
.band.deep h4, .band.deep h5,
.band.dark h1, .band.dark h2, .band.dark h3,
.band.dark h4, .band.dark h5 { color: var(--white); }
.band.deep .section-title, .band.dark .section-title { color: var(--white); }
.band.deep .section-lede, .band.dark .section-lede { color: rgba(255,255,255,0.82); }

.band-inner {
  max-width: 1240px; margin: 0 auto; padding: 0 32px;
}

.section-eyebrow {
  font-family: var(--sans); font-size: 11.5px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--coral); font-weight: 700;
  margin-bottom: 12px;
  display: inline-block;
}

.section-title {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(30px, 4.2vw, 50px);
  line-height: 1.05; letter-spacing: -0.025em;
  color: var(--deep); margin-bottom: 16px;
  max-width: 920px;
}
.section-title em {
  font-style: italic; color: var(--coral);
  font-variation-settings: "SOFT" 80, "WONK" 1;
}

.section-lede {
  font-size: 17.5px; line-height: 1.65; color: var(--muted);
  max-width: 720px; margin-bottom: 32px;
  font-weight: 400;
}

@media (max-width: 900px) {
  .band { padding: 56px 0; }
  .band-inner { padding: 0 20px; }
}

/* Footer */
footer {
  background: var(--deep);
  color: rgba(255,255,255,0.82);
  padding: 80px 0 32px;
  font-family: var(--body);
}
.footer-inner {
  max-width: 1320px; margin: 0 auto; padding: 0 32px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .brand { color: var(--white); }
.footer-brand .brand-mark {
  background: transparent;
  height: 80px;
}
.footer-brand .brand-mark img { height: 80px; }
.footer-brand .brand-text .name {
  color: var(--white);
  font-size: 18px;
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
  line-height: 1.15;
}
.footer-brand .brand-text .sub { color: rgba(255,255,255,0.6); }
.footer-brand p {
  margin-top: 16px; font-size: 14px; line-height: 1.6;
  color: rgba(255,255,255,0.6); max-width: 320px;
}

.footer-col h5 {
  font-family: var(--sans); font-size: 11px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--coral); font-weight: 700;
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  color: rgba(255,255,255,0.7); text-decoration: none;
  font-size: 14px; transition: color var(--t-fast);
}
.footer-col ul li a:hover { color: var(--coral); }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px; font-size: 12px; color: rgba(255,255,255,0.5);
  letter-spacing: 0.04em; gap: 20px; flex-wrap: wrap;
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  footer { padding: 56px 0 24px; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* City hero */
.city-hero {
  background: linear-gradient(135deg, rgba(26, 43, 63,0.92), rgba(26,138,156,0.82)),
              url('https://advancedleakeast.com/wp-content/uploads/2026/04/AL-Pic-17-scaled-1-1-1-1.jpg') center/cover;
  color: var(--white);
  padding: 80px 0 70px;
}
.city-hero-inner {
  max-width: 1240px; margin: 0 auto; padding: 0 32px;
}
.city-hero h1 {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.05; letter-spacing: -0.025em;
  color: var(--white); margin-bottom: 20px;
  max-width: 900px;
}
.city-hero h1 em { font-style: italic; color: var(--coral); }
.city-hero-lede {
  font-size: 17px; line-height: 1.6; color: rgba(255,255,255,0.9);
  max-width: 720px; font-family: var(--body);
}

.quick-info {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  margin-top: 40px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--r-md);
  backdrop-filter: blur(10px);
}
.qi-cell {
  padding: 18px 22px;
  border-left: 1px solid rgba(255,255,255,0.12);
}
.qi-cell:first-child { border-left: none; }
.qi-cell .label {
  font-family: var(--sans); font-size: 10px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--coral); font-weight: 700;
  margin-bottom: 5px;
}
.qi-cell .val {
  font-family: var(--display); font-size: 18px; font-weight: 600;
  color: var(--white); letter-spacing: -0.01em; line-height: 1.2;
}
.qi-cell .val a { color: var(--white); text-decoration: none; }
.qi-cell .val a:hover { color: var(--coral); }

@media (max-width: 900px) {
  .quick-info { grid-template-columns: 1fr 1fr; }
  .qi-cell:nth-child(3) { border-left: none; }
}

/* Local context callout */
.local-ctx {
  background: var(--foam);
  border-left: 4px solid var(--coral);
  padding: 28px 32px;
  border-radius: var(--r-md);
  margin: 40px 0;
}
.local-ctx h3 {
  font-family: var(--display); font-size: 22px; font-weight: 600;
  color: var(--deep); margin-bottom: 10px; letter-spacing: -0.01em;
}
.local-ctx p {
  font-size: 15.5px; line-height: 1.7; color: var(--ink);
}

/* Neighborhood chips */
.neighborhoods {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 20px;
}
.nb {
  padding: 8px 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-family: var(--sans); font-size: 12.5px;
  color: var(--deep); font-weight: 600;
  transition: all var(--t-fast);
}
.nb:hover { border-color: var(--azure); background: var(--foam); }

/* Mini-case cards */
.cases-heading {
  font-family: var(--display); font-size: 32px; font-weight: 500;
  color: var(--deep); line-height: 1.1; letter-spacing: -0.025em;
  margin-bottom: 8px;
}
.cases-heading em { color: var(--coral); font-style: italic; }
.cases-intro {
  font-size: 15.5px; line-height: 1.65; color: var(--muted);
  max-width: 720px; margin-bottom: 32px;
}
.case-cards {
  display: grid; grid-template-columns: 1fr; gap: 20px;
}
.mini-case {
  background: var(--white);
  border-radius: var(--r-md);
  padding: 30px 34px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--coral);
  transition: all var(--t);
}
.mini-case:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(2px);
}
.mini-case .number {
  font-family: var(--sans); font-size: 10px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--coral-deep); font-weight: 700;
  margin-bottom: 10px;
}
.mini-case .headline {
  font-family: var(--display); font-size: 20px; font-weight: 600;
  color: var(--deep); line-height: 1.25; letter-spacing: -0.01em;
  margin-bottom: 14px;
}
.mini-case-body {
  display: grid; grid-template-columns: 1fr 160px; gap: 28px;
  align-items: start;
}
.mini-case .detail {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px; line-height: 1.55;
}
.mini-case .detail:last-of-type { border-bottom: none; }
.mini-case .detail-label {
  font-family: var(--sans); font-size: 10.5px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--coral-deep); font-weight: 700;
  margin-bottom: 3px;
}
.mini-case .detail-text { color: var(--ink); }
.mini-case .detail-text strong {
  color: var(--deep); font-weight: 600;
}
.mini-case .cost-box {
  background: var(--foam); padding: 20px 18px;
  border-radius: var(--r-md); text-align: center;
}
.mini-case .cost-box .cost-label {
  font-family: var(--sans); font-size: 9.5px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--coral-deep); font-weight: 700;
  margin-bottom: 4px;
}
.mini-case .cost-box .cost-amount {
  font-family: var(--display); font-size: 24px; font-weight: 600;
  color: var(--deep); line-height: 1; letter-spacing: -0.015em;
}
.mini-case .cost-box .warranty {
  font-family: var(--sans); font-size: 10px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted); font-weight: 600;
  margin-top: 8px;
}

.cases-disclaimer {
  font-size: 14px; color: var(--muted);
  margin-top: 24px; padding-top: 20px;
  border-top: 1px dashed var(--line);
  line-height: 1.6;
}

@media (max-width: 760px) {
  .mini-case-body { grid-template-columns: 1fr; }
  .mini-case { padding: 24px 22px; }
}

/* Service grid */
.service-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 18px; margin-top: 32px;
}
.svc-card {
  background: var(--white);
  padding: 24px 22px;
  border-radius: var(--r-md);
  border-top: 3px solid var(--coral);
  text-decoration: none;
  color: var(--ink);
  transition: all var(--t);
  display: block;
  box-shadow: var(--shadow-sm);
}
.svc-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.svc-card h4 {
  font-family: var(--display); font-size: 18px; font-weight: 600;
  color: var(--deep); margin-bottom: 6px; letter-spacing: -0.01em;
}
.svc-card p {
  font-size: 13px; line-height: 1.5; color: var(--muted);
}

@media (max-width: 900px) {
  .service-grid { grid-template-columns: 1fr; }
}

/* Guide strip */
.guide-strip {
  background: var(--cream);
  padding: 32px 36px;
  border-radius: var(--r-md);
  margin: 40px 0;
  border-left: 4px solid var(--coral);
}
.guide-strip h3 {
  font-family: var(--display); font-size: 22px; font-weight: 600;
  color: var(--deep); margin-bottom: 6px; letter-spacing: -0.01em;
}
.guide-strip h3 em { color: var(--coral); font-style: italic; }
.guide-strip p {
  font-size: 14px; color: var(--muted); margin-bottom: 16px;
}
.guide-list {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px;
}
.guide-list a {
  display: block;
  padding: 10px 14px;
  background: var(--white);
  border-radius: var(--r-sm);
  text-decoration: none;
  color: var(--deep);
  font-size: 14px;
  font-weight: 500;
  transition: all var(--t-fast);
}
.guide-list a:hover {
  background: var(--foam);
  transform: translateX(3px);
}
.guide-list a::before {
  content: "→ ";
  color: var(--coral); font-weight: 700;
}

@media (max-width: 700px) {
  .guide-list { grid-template-columns: 1fr; }
}

/* Regional callout */
.regional-callout {
  background: linear-gradient(135deg, var(--deep), var(--teal));
  color: var(--white);
  padding: 48px 44px;
  border-radius: var(--r-lg);
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}
.regional-callout h3 {
  font-family: var(--display); font-size: 28px; font-weight: 500;
  color: var(--white); letter-spacing: -0.015em; margin-bottom: 12px;
  line-height: 1.15;
}
.regional-callout h3 em { color: var(--coral); font-style: italic; }
.regional-callout p {
  font-size: 15px; line-height: 1.6;
  color: rgba(255,255,255,0.82);
}
.regional-callout .hub-card {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 24px 28px;
  border-radius: var(--r-md);
  text-align: center;
}
.regional-callout .hub-card .mini {
  font-family: var(--sans); font-size: 10.5px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--coral); font-weight: 700;
  margin-bottom: 8px;
}
.regional-callout .hub-card .phone {
  font-family: var(--display); font-size: 28px; font-weight: 600;
  color: var(--white); letter-spacing: -0.02em;
  text-decoration: none; display: block; margin-bottom: 14px;
}
.regional-callout .hub-card .phone:hover { color: var(--coral); }
.regional-callout .hub-card .sub {
  font-family: var(--body); font-size: 13px;
  color: rgba(255,255,255,0.7);
}

@media (max-width: 900px) {
  .regional-callout { grid-template-columns: 1fr; padding: 32px 24px; gap: 24px; }
}

/* Nearby cities */
.nearby-cities { margin: 40px 0; }
.nearby-cities h3 {
  font-family: var(--display); font-size: 22px; font-weight: 600;
  color: var(--deep); margin-bottom: 14px; letter-spacing: -0.01em;
}
.nearby-cities h3 em { color: var(--coral); font-style: italic; }
.nearby-list {
  display: flex; flex-wrap: wrap; gap: 10px;
}
.nearby-list a {
  padding: 10px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-family: var(--sans); font-size: 13px;
  color: var(--deep); font-weight: 600;
  text-decoration: none;
  transition: all var(--t-fast);
}
.nearby-list a:hover {
  border-color: var(--coral);
  background: var(--foam);
}

/* Print styles */
@media print {
  nav.primary, .util-bar, footer { display: none !important; }
  body { background: var(--white); color: var(--ink); }
  .band, .city-hero { padding: 20px 0; background: var(--white) !important; color: var(--ink) !important; }
  .city-hero h1, .city-hero h2, .city-hero-lede { color: var(--deep) !important; }
  a { color: var(--ink); text-decoration: underline; }
}

/* Accessibility */
:focus-visible {
  outline: 3px solid var(--azure);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}
.btn:focus-visible { outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============ LOCATION PAGE STYLES (shared across 13 regional pages) ============ */

.loc-hero {
  color: var(--white);
  padding: 80px 0 72px;
  position: relative;
}
.loc-hero-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
}
.loc-hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 56px;
  align-items: center;
}
.loc-hero .breadcrumb {
  font-family: var(--sans); font-size: 13px;
  color: rgba(255,255,255,0.78);
  margin-bottom: 24px;
  display: flex; align-items: center; gap: 8px;
}
.loc-hero .breadcrumb a {
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  transition: color 0.2s;
}
.loc-hero .breadcrumb a:hover { color: var(--white); }
.loc-hero .breadcrumb .sep { color: rgba(255,255,255,0.45); }
.loc-hero .breadcrumb .current { color: var(--gold); font-weight: 600; }

.loc-hero-badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 22px;
}
.loc-hero-title {
  font-family: var(--display);
  font-size: clamp(40px, 5.6vw, 68px);
  line-height: 1.02;
  font-weight: 500;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: 22px;
  max-width: 680px;
}
.loc-hero-title em {
  font-style: italic;
  color: var(--gold);
}
.loc-hero-sub {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255,255,255,0.9);
  max-width: 620px;
  margin-bottom: 32px;
  font-family: var(--body);
}
.loc-hero-sub strong { color: var(--white); font-weight: 600; }
.loc-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Right-side local card */
.local-card {
  background: var(--white);
  color: var(--ink);
  border-radius: 12px;
  padding: 36px 36px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.18);
  border-top: 4px solid var(--gold);
}
.local-card-eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 700;
  margin-bottom: 12px;
}
.local-card-head {
  font-family: var(--display);
  font-size: 21px;
  font-weight: 600;
  color: var(--deep);
  line-height: 1.22;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}
.local-phone-big {
  font-family: var(--display);
  font-size: 34px;
  font-weight: 600;
  color: var(--deep);
  letter-spacing: -0.02em;
  text-decoration: none;
  display: block;
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.local-phone-big:hover { color: var(--gold-deep); }
.local-phone-label {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 24px;
}
.local-hours {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  background: var(--foam);
  border-radius: 8px;
  margin-bottom: 18px;
}
.local-hours-icon {
  width: 32px; height: 32px;
  background: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--deep);
  flex-shrink: 0;
}
.local-hours-icon svg { width: 16px; height: 16px; }
.local-hours-text {
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--deep);
  line-height: 1.3;
}
.local-hours-text small {
  display: block;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--muted);
  margin-top: 3px;
  letter-spacing: 0.01em;
}
.local-response {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(26,138,156,0.06);
  border-radius: 8px;
  font-family: var(--sans);
  font-size: 12px;
  color: var(--deep);
  font-weight: 600;
}
.local-response .dot {
  width: 8px; height: 8px;
  background: #2dbb6e;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(45,187,110,0.2);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(45,187,110,0.2); }
  50% { box-shadow: 0 0 0 6px rgba(45,187,110,0.1); }
}

/* Local stats band */
.local-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 36px 0;
  background: var(--foam);
  margin: 0 -32px;
  padding-left: 32px;
  padding-right: 32px;
  border-radius: 8px;
}
.local-stat {
  text-align: center;
  padding: 0 20px;
  border-left: 1px solid var(--line);
}
.local-stat:first-child { border-left: none; }
.local-stat .num {
  font-family: var(--display);
  font-size: 32px;
  font-weight: 600;
  color: var(--deep);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 6px;
}
.local-stat .lbl {
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}

/* Local services grid */
.loc-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.loc-service {
  background: var(--white);
  padding: 32px 28px;
  border-radius: 10px;
  border-top: 3px solid var(--gold);
  box-shadow: 0 6px 20px rgba(26, 43, 63,0.06);
  transition: all 0.2s;
}
.loc-service:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(26, 43, 63,0.12);
}
.loc-service-icon {
  width: 44px; height: 44px;
  background: var(--foam);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--deep);
  margin-bottom: 18px;
}
.loc-service-icon svg { width: 22px; height: 22px; }
.loc-service h3 {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 600;
  color: var(--deep);
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.loc-service p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}

/* Local reviews */
.loc-reviews {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 36px;
}
.loc-review {
  background: var(--white);
  padding: 28px 28px;
  border-radius: 8px;
  border-left: 3px solid var(--gold);
  box-shadow: 0 6px 18px rgba(26, 43, 63,0.06);
}
.loc-review .stars {
  color: var(--gold);
  letter-spacing: 2px;
  font-size: 14px;
  margin-bottom: 12px;
}
.loc-review p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  margin-bottom: 14px;
}
.loc-review .who {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.loc-review .who strong { color: var(--deep); }

/* Local CTA band */
.loc-cta {
  text-align: center;
  padding: 64px 0;
  background: var(--deep);
  color: var(--white);
}
.loc-cta h2 {
  font-family: var(--display);
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 500;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.loc-cta h2 em {
  font-style: italic;
  color: var(--gold);
}
.loc-cta p {
  font-size: 16.5px;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
  max-width: 640px;
  margin: 0 auto 28px;
}

/* Responsive */
@media (max-width: 900px) {
  .loc-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .loc-hero { padding: 60px 0 52px; }
  .local-stats { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .local-stat:nth-child(3) { border-left: none; }
  .loc-services-grid { grid-template-columns: 1fr; }
  .loc-reviews { grid-template-columns: 1fr; }
}

/* ============ MOBILE NAVIGATION ============ */

/* Hamburger button — hidden on desktop, shown on tablet/mobile */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  color: var(--deep);
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mobile-nav-toggle:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}
.mobile-nav-toggle .hamburger-line {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--deep);
  border-radius: 2px;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-nav-toggle .hamburger-line::before,
.mobile-nav-toggle .hamburger-line::after {
  content: "";
  position: absolute;
  left: 0;
  width: 24px;
  height: 2.5px;
  background: var(--deep);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-nav-toggle .hamburger-line::before { top: -8px; }
.mobile-nav-toggle .hamburger-line::after { top: 8px; }

/* Hamburger "X" state when menu is open */
body.mobile-nav-open .mobile-nav-toggle .hamburger-line { background: transparent; }
body.mobile-nav-open .mobile-nav-toggle .hamburger-line::before { top: 0; transform: rotate(45deg); }
body.mobile-nav-open .mobile-nav-toggle .hamburger-line::after { top: 0; transform: rotate(-45deg); }

/* Mobile menu panel — slides in from right */
.mobile-nav-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 320px;
  max-width: 85vw;
  background: var(--white);
  box-shadow: -20px 0 60px rgba(0,0,0,0.18);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  visibility: hidden;
}
body.mobile-nav-open .mobile-nav-panel {
  transform: translateX(0);
  visibility: visible;
}

/* Dark overlay behind the panel */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(14, 42, 51, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  z-index: 999;
  backdrop-filter: blur(2px);
}
body.mobile-nav-open .mobile-nav-overlay {
  opacity: 1;
  visibility: visible;
}

/* Prevent body scroll when menu open */
body.mobile-nav-open {
  overflow: hidden;
}

/* Panel content */
.mobile-nav-header {
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.mobile-nav-header .brand-mark {
  width: auto;
  height: 40px;
  background: transparent;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  flex-shrink: 0;
}
.mobile-nav-header .brand-mark img { height: 40px; width: auto; object-fit: contain; display: block; }
.mobile-nav-header .brand-mark svg { width: 20px; height: 20px; }
/* Override the global .brand-text { display:none } for mobile nav header — it uses a label text */
.mobile-nav-header .brand-text {
  display: block;
  font-family: var(--display);
  font-size: 16px;
  font-weight: 600;
  color: var(--deep);
  letter-spacing: -0.01em;
  flex: 1;
}
.mobile-nav-header .close-btn {
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  color: var(--muted);
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s;
}
.mobile-nav-header .close-btn:hover {
  background: var(--foam);
  color: var(--deep);
}
.mobile-nav-header .close-btn svg { width: 18px; height: 18px; }

/* Nav links list */
.mobile-nav-links {
  list-style: none;
  padding: 14px 0;
  margin: 0;
  flex: 1;
}
.mobile-nav-links li {
  list-style: none;
}
.mobile-nav-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  color: var(--deep);
  text-decoration: none;
  letter-spacing: -0.005em;
  transition: all 0.2s;
  border-left: 3px solid transparent;
}
.mobile-nav-links a:hover,
.mobile-nav-links a:focus-visible {
  background: var(--foam);
  border-left-color: var(--teal);
  color: var(--deep);
  outline: none;
}
.mobile-nav-links a[aria-current="page"] {
  background: var(--foam);
  border-left-color: var(--teal);
  color: var(--deep);
  font-weight: 700;
}
.mobile-nav-links a[aria-current="page"]::before {
  content: "";
  position: absolute;
  left: 0;
}
.mobile-nav-links a::after {
  content: "→";
  color: var(--muted-2);
  font-size: 14px;
  transition: transform 0.2s, color 0.2s;
}
.mobile-nav-links a:hover::after {
  transform: translateX(3px);
  color: var(--teal);
}
/* External link indicator */
.mobile-nav-links a[target="_blank"]::after {
  content: "↗";
  font-size: 14px;
}
.mobile-nav-links a[target="_blank"]:hover::after {
  transform: translate(2px, -2px);
}

/* CTA section at bottom */
.mobile-nav-cta {
  padding: 20px 24px 24px;
  border-top: 1px solid var(--line);
  background: var(--cream);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mobile-nav-cta .cta-label {
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  text-align: center;
  margin-bottom: 4px;
}
.mobile-nav-cta .btn-call {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--gold);
  color: var(--deep);
  padding: 14px 20px;
  border-radius: 6px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  letter-spacing: -0.005em;
  transition: all 0.2s;
}
.mobile-nav-cta .btn-call:hover {
  background: var(--gold-deep);
  color: var(--white);
}
.mobile-nav-cta .btn-call svg {
  width: 16px;
  height: 16px;
}
.mobile-nav-cta .btn-quote {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--deep);
  color: var(--white);
  padding: 13px 20px;
  border-radius: 6px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s;
}
.mobile-nav-cta .btn-quote:hover {
  background: var(--mid);
}
.mobile-nav-cta .text-link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  margin-top: 4px;
}
.mobile-nav-cta .text-link:hover {
  color: var(--gold-deep);
}

/* Show mobile nav toggle below 1100px (tablet + phone) */
@media (max-width: 1100px) {
  .mobile-nav-toggle {
    display: inline-flex;
  }
  /* The desktop nav-cta button can stay visible on tablets, but hide on phone */
  .nav-cta .btn-primary { padding: 10px 18px; font-size: 13.5px; }
}
@media (max-width: 640px) {
  .nav-cta { display: none; }
  .mobile-nav-panel { width: 300px; }
  .mobile-nav-links a { padding: 15px 20px; font-size: 15.5px; }
  .mobile-nav-header { padding: 18px 20px; }
  .mobile-nav-cta { padding: 18px 20px 20px; }
}

/* ============ MOBILE IMPROVEMENTS ============ */

/* Responsive tables — horizontal scroll on narrow viewports */
.comparison-table,
table.comparison-table,
table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}
@media (max-width: 760px) {
  /* Wrap tables in a horizontally scrollable container — alternative when wrapping is impractical */
  .comparison-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    box-shadow: inset -10px 0 12px -10px rgba(0,0,0,0.1);
  }
  .comparison-table thead, .comparison-table tbody { display: table; width: 100%; }
  .comparison-table th, .comparison-table td {
    white-space: normal;
    font-size: 14px;
    padding: 10px 12px;
  }
}

/* Ensure no element forces horizontal overflow on mobile */
html, body {
  overflow-x: hidden;
}

/* Enable better tap response on iOS */
a, button, [role="button"], input, select, textarea {
  -webkit-tap-highlight-color: rgba(79, 181, 184, 0.15);
}

/* Larger tap area on tel/sms links inside text */
@media (max-width: 760px) {
  a[href^="tel:"], a[href^="sms:"] {
    display: inline-block;
    min-height: 32px;
    padding: 2px 0;
  }
}

/* Prevent iOS text-size adjustment on rotation */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* Smoother scrolling on iOS */
* {
  -webkit-overflow-scrolling: touch;
}

/* Buttons should never wrap awkwardly on small screens */
@media (max-width: 480px) {
  .btn {
    white-space: normal;
    line-height: 1.3;
    text-align: center;
  }
  .btn .arrow { display: inline-block; }
}

/* Util-bar — simplify on phones to save vertical space */
@media (max-width: 600px) {
  /* Hide secondary util-bar items on small phones, keep license + 1 CTA */
  .util-left span:nth-child(1),
  .util-left span:nth-child(2) {
    display: none;
  }
  .util-bar { font-size: 10.5px; }
  .util-inner { gap: 8px; padding: 0 14px; }
  .util-right { gap: 12px; }
}

/* Skip-to-content link for keyboard users (a11y) */
.skip-to-content {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--deep);
  color: var(--white);
  padding: 12px 20px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  z-index: 10000;
  text-decoration: none;
  transition: top 0.15s;
  border-bottom-right-radius: 4px;
}
.skip-to-content:focus {
  top: 0;
  outline: 2px solid var(--aqua);
  outline-offset: 2px;
}


/* Footer mailing address */
.footer-bottom .footer-addr {
  color: rgba(255,255,255,0.65);
  font-family: var(--sans);
  font-size: 12px;
}
@media (max-width: 760px) {
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
