:root {
  --local-navy: #002555;
  --local-red: #ea001e;
  --local-ink: #071429;
  --local-muted: #5f6b7d;
  --local-line: #d8dee7;
  --local-bg: #f4f7fa;
}

body {
  color: var(--local-ink);
  background: var(--local-bg);
}

.local-nav {
  background: #fff;
  border-bottom: 1px solid var(--local-line);
}

.local-nav .container {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.local-brand img {
  width: 210px;
  height: auto;
}

.local-nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.local-nav-links a {
  color: var(--local-navy);
  font-weight: 700;
}

.local-hero {
  padding: 4.5rem 0;
  background: #eaf0f6;
}

.local-eyebrow {
  margin-bottom: 0.8rem;
  color: var(--local-navy);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.local-hero h1 {
  max-width: 760px;
  margin-bottom: 1.25rem;
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  line-height: 1.06;
}

.local-hero p {
  max-width: 690px;
  color: var(--local-muted);
  font-size: 1.1rem;
}

.local-hero-media {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 6px;
}

.local-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.local-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.15rem;
  border: 1px solid var(--local-navy);
  border-radius: 5px;
  background: var(--local-navy);
  color: #fff;
  font-weight: 800;
}

.local-button:hover {
  color: #fff;
  background: #001b40;
}

.local-button.secondary {
  color: var(--local-navy);
  background: #fff;
}

.local-main {
  padding: 4rem 0;
}

.local-panel,
.local-office,
.local-faq details {
  border: 1px solid var(--local-line);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(0, 37, 85, 0.07);
}

.local-panel,
.local-office {
  padding: 1.5rem;
}

.local-office {
  position: sticky;
  top: 96px;
}

.local-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  padding: 0;
  list-style: none;
}

.local-list li {
  padding: 0.8rem;
  border-left: 3px solid var(--local-navy);
  background: var(--local-bg);
}

.local-faq details {
  margin-bottom: 0.75rem;
  padding: 1rem 1.15rem;
}

.local-faq summary {
  color: var(--local-navy);
  font-weight: 800;
  cursor: pointer;
}

.local-faq details p {
  margin: 0.8rem 0 0;
  color: var(--local-muted);
}

.local-nearby a {
  display: inline-block;
  margin: 0.25rem 0.75rem 0.25rem 0;
  color: var(--local-navy);
  font-weight: 800;
}

.local-footer {
  padding: 2rem 0;
  color: #fff;
  background: var(--local-navy);
}

@media (max-width: 767.98px) {
  .local-nav .container {
    min-height: 68px;
  }

  .local-brand img {
    width: 180px;
  }

  .local-nav-links a:not(.local-button) {
    display: none;
  }

  .local-hero {
    padding: 2.75rem 0;
  }

  .local-list {
    grid-template-columns: 1fr;
  }

  .local-office {
    position: static;
  }
}

/* Conversion-focused local landing page enhancements. */
.local-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 5px 22px rgba(0, 37, 85, 0.06);
}

.local-nav .container { min-height: 82px; }
.local-brand img { width: 220px; }
.local-nav-links > a:not(.local-button) { color: var(--local-navy); }

.local-button,
a.local-button,
.local-nav-links a.local-button {
  color: #fff !important;
  box-shadow: 0 8px 18px rgba(0, 37, 85, 0.12);
  transition: background-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.local-button:hover,
a.local-button:hover {
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 37, 85, 0.2);
}

.local-button.secondary,
a.local-button.secondary { color: var(--local-navy) !important; }
.local-button.secondary:hover,
a.local-button.secondary:hover { color: #fff !important; background: var(--local-navy); }

.local-hero {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0 3.5rem;
  background: linear-gradient(110deg, #f9fbfd 0%, #e8f0f7 68%, #dbe6f0 100%);
}

.local-hero::after {
  content: "";
  position: absolute;
  right: -130px;
  bottom: -210px;
  width: 510px;
  height: 510px;
  border: 80px solid rgba(0, 37, 85, 0.045);
  border-radius: 50%;
  pointer-events: none;
}

.local-hero .container { position: relative; z-index: 1; }
.local-hero h1 { max-width: 710px; font-size: clamp(2.35rem, 4.7vw, 4.15rem); }
.local-hero p { line-height: 1.7; }

.local-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.7rem;
  background: #fff;
  border: 1px solid #cbd8e5;
  border-radius: 4px;
}

.local-eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--local-red);
  border-radius: 50%;
}

.local-hero-visual { position: relative; }
.local-hero-media {
  aspect-ratio: 16 / 10;
  border: 8px solid #fff;
  border-radius: 7px;
  box-shadow: 0 24px 55px rgba(0, 37, 85, 0.22);
}

.local-photo-badge {
  position: absolute;
  left: -20px;
  bottom: 24px;
  max-width: 210px;
  padding: 0.85rem 1rem;
  color: #fff;
  background: var(--local-navy);
  border-left: 4px solid var(--local-red);
  border-radius: 4px;
  box-shadow: 0 14px 30px rgba(0, 37, 85, 0.25);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.35;
}

.local-trust { position: relative; z-index: 2; background: var(--local-navy); }
.local-trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.local-trust-item { min-height: 104px; padding: 1.35rem 1.2rem; color: #fff; border-right: 1px solid rgba(255, 255, 255, 0.18); }
.local-trust-item:last-child { border-right: 0; }
.local-trust-item strong { display: block; margin-bottom: 0.25rem; font-size: 1.05rem; }
.local-trust-item span { color: #cbd8e7; font-size: 0.9rem; }

.local-main {
  padding: 4.5rem 0;
  background: radial-gradient(circle at 4% 18%, rgba(0, 37, 85, 0.07) 0 90px, transparent 91px), radial-gradient(circle at 96% 74%, rgba(0, 37, 85, 0.05) 0 140px, transparent 141px), var(--local-bg);
}

.local-panel, .local-office, .local-faq details, .local-step { border-radius: 7px; box-shadow: 0 12px 32px rgba(0, 37, 85, 0.07); }
.local-panel h2, .local-office h2, .local-faq h2, .local-process h2, .local-nearby h2 { color: var(--local-navy); }
.local-panel > p, .local-office > p { color: var(--local-muted); line-height: 1.65; }
.local-office { top: 106px; border-top: 5px solid var(--local-navy); }
.local-office-phone { display: block; margin: 0.75rem 0 1.15rem; color: var(--local-navy); font-size: 1.45rem; font-weight: 900; }
.local-hours { margin: 1rem 0 1.25rem; padding: 1rem; color: var(--local-muted); background: #eef2f6; border-radius: 5px; line-height: 1.7; }

.local-list { gap: 0.8rem; margin-top: 1.5rem; }
.local-list li { position: relative; min-height: 68px; display: flex; align-items: center; padding: 0.9rem 0.9rem 0.9rem 2.7rem; color: var(--local-navy); background: #eef2f6; border: 1px solid #dfe6ed; border-left: 1px solid #dfe6ed; border-radius: 5px; font-weight: 800; }
.local-list li::before { content: "\2713"; position: absolute; left: 0.9rem; display: grid; width: 24px; height: 24px; place-items: center; color: #fff; background: var(--local-navy); border-radius: 50%; font-size: 0.75rem; }

.local-process { margin: 2.5rem 0; }
.local-process-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.9rem; }
.local-step { padding: 1.35rem; border: 1px solid var(--local-line); background: #fff; }
.local-step-number { color: var(--local-red); font-size: 0.8rem; font-weight: 900; }
.local-step h3 { margin: 0.45rem 0; color: var(--local-navy); font-size: 1.05rem; }
.local-step p { margin: 0; color: var(--local-muted); font-size: 0.9rem; line-height: 1.55; }

.local-cta { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; margin-top: 2.5rem; padding: 2rem; color: #fff; background: var(--local-navy); border-radius: 7px; }
.local-cta h2 { margin: 0 0 0.35rem; color: #fff; font-size: 1.65rem; }
.local-cta p { margin: 0; color: #cad7e6; }
.local-cta .local-button { flex: 0 0 auto; color: var(--local-navy) !important; background: #fff; border-color: #fff; }

.local-nearby a { padding: 0.65rem 0.8rem; background: #fff; border: 1px solid var(--local-line); border-radius: 5px; }
.local-footer { background: #001a3d; }
.local-footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.local-footer img { width: 230px; height: auto; }

@media (max-width: 991.98px) {
  .local-trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .local-trust-item:nth-child(2) { border-right: 0; }
  .local-trust-item:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, 0.18); }
  .local-photo-badge { left: 16px; }
}

@media (max-width: 767.98px) {
  .local-nav .container { min-height: 72px; gap: 0.75rem; }
  .local-brand img { width: 170px; }
  .local-nav-links { gap: 0; }
  .local-nav-links .local-button { min-height: 42px; padding: 0.65rem 0.8rem; font-size: 0.8rem; }
  .local-hero { padding: 2.75rem 0 2.25rem; }
  .local-hero h1 { font-size: 2.45rem; }
  .local-actions { display: grid; grid-template-columns: 1fr; }
  .local-actions .local-button { width: 100%; }
  .local-photo-badge { position: static; max-width: none; margin-top: 0.75rem; }
  .local-trust-item { min-height: 112px; padding: 1.1rem 0.8rem; }
  .local-main { padding: 3rem 0; }
  .local-list, .local-process-grid { grid-template-columns: 1fr; }
  .local-cta { align-items: stretch; flex-direction: column; padding: 1.5rem; }
  .local-cta .local-button { width: 100%; }
  .local-footer-inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 390px) {
  .local-brand img { width: 145px; }
  .local-nav-links .local-button { max-width: 118px; padding: 0.55rem 0.6rem; }
}
