:root {
  --navy: #0c2748;
  --navy-2: #123a64;
  --gold: #c99a2e;
  --gold-dark: #9f7418;
  --ink: #172235;
  --muted: #5b6676;
  --line: #dfe6ef;
  --soft: #f6f8fb;
  --soft-blue: #edf4fb;
  --sage: #eaf5ef;
  --white: #ffffff;
  --shadow: 0 16px 40px rgba(12, 39, 72, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

a {
  color: var(--navy);
  text-underline-offset: 3px;
}

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

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  padding: 10px 14px;
  background: var(--white);
  color: var(--navy);
  z-index: 1000;
}

.skip-link:focus {
  left: 10px;
}

.topbar {
  background: var(--navy);
  color: var(--white);
  font-size: 0.92rem;
}

.topbar-row {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.topbar p {
  margin: 0;
}

.topbar a {
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
}

.site-header {
  position: relative;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 3px solid var(--gold);
  box-shadow: 0 1px 0 rgba(12, 39, 72, 0.04);
}

.header-row {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 310px;
  color: var(--ink);
  text-decoration: none;
}

.brand strong,
.footer-brand span {
  display: block;
  line-height: 1.1;
  font-size: 1rem;
  letter-spacing: 0;
}

.text-brand strong {
  color: var(--navy);
  font-size: 1.34rem;
  line-height: 1.05;
}

.brand small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-weight: 700;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  flex-wrap: wrap;
}

.primary-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  padding: 10px 11px;
  border-radius: 8px;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  background: var(--soft-blue);
  color: var(--navy);
}

.primary-nav .nav-button {
  background: var(--gold);
  color: #17130b;
  margin-left: 4px;
}

.primary-nav .nav-button:hover {
  background: #ddb14a;
  color: #17130b;
}

.hero {
  background: var(--soft);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  gap: 56px;
  align-items: center;
  padding: 72px 0;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold-dark);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0 0 18px;
  color: var(--navy);
  font-size: 3.55rem;
  line-height: 1.04;
  letter-spacing: 0;
}

h2 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 2.08rem;
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 1.12rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.lead,
.hero-subheadline {
  color: #334155;
  font-size: 1.18rem;
  line-height: 1.62;
}

.hero-subheadline {
  margin: 0 0 12px;
  color: var(--navy-2);
  font-weight: 900;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 2px solid transparent;
  border-radius: 8px;
  padding: 11px 17px;
  font-weight: 900;
  text-decoration: none;
  text-align: center;
  line-height: 1.15;
  cursor: pointer;
}

.button-primary {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.button-secondary,
.button-gold {
  background: var(--gold);
  border-color: var(--gold);
  color: #17130b;
}

.button-outline {
  background: var(--white);
  border-color: var(--navy);
  color: var(--navy);
}

.button-light {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(12, 39, 72, 0.14);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}

.trust-grid span {
  min-height: 48px;
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  background: var(--white);
  padding: 10px 12px;
  color: var(--navy);
  font-weight: 900;
}

.portrait-panel {
  position: relative;
}

.portrait-frame {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
  padding: 14px;
}

.portrait-frame img {
  width: 100%;
  border-radius: 6px;
  object-fit: cover;
}

.portrait-caption {
  width: calc(100% - 34px);
  margin: -32px auto 0;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-radius: 8px;
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 14px 28px rgba(12, 39, 72, 0.2);
}

.portrait-caption strong,
.portrait-caption span {
  display: block;
}

.portrait-caption span {
  color: #e8edf5;
  font-weight: 800;
}

.section {
  padding: 70px 0;
}

.section-tight {
  padding: 52px 0;
}

.alt {
  background: var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading p,
.content p,
.city-card p,
.service-card p,
.notice-panel p,
.side-panel p,
.link-panel p {
  color: var(--muted);
}

.intro-grid,
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
  gap: 44px;
  align-items: start;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.step-grid div,
.service-card,
.city-card,
.link-panel,
.notice-panel,
.side-panel,
.appointment-form,
.hero-contact {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.step-grid div {
  padding: 18px;
}

.step-grid span {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-weight: 900;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.service-card,
.city-card {
  padding: 22px;
  box-shadow: 0 10px 24px rgba(12, 39, 72, 0.06);
}

.service-card p,
.city-card p {
  margin-bottom: 14px;
}

.text-link {
  font-weight: 900;
  color: var(--navy);
}

.area-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.area-buttons a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--navy);
  padding: 8px 13px;
  font-weight: 900;
  text-decoration: none;
}

.map-section {
  padding-bottom: 52px;
}

.service-map {
  width: 100%;
  height: 460px;
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--soft-blue);
  box-shadow: var(--shadow);
}

.map-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.map-fallback div {
  max-width: 560px;
}

.map-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.notice-panel,
.side-panel,
.hero-contact {
  padding: 26px;
  box-shadow: var(--shadow);
}

.notice-panel {
  border-left: 4px solid var(--gold);
}

.inline-notice {
  margin-top: 28px;
  box-shadow: none;
}

.side-panel {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  position: sticky;
  top: 112px;
}

.side-panel h2,
.side-panel h3 {
  color: var(--white);
}

.side-panel p,
.side-panel .check-list li {
  color: #e8edf5;
}

.side-panel .button {
  width: 100%;
  margin-top: 10px;
}

.on-dark {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.65);
  color: var(--white);
}

.warning-panel {
  background: #23314a;
}

.urgent-panel {
  background: #132f4f;
  border-left: 4px solid var(--gold);
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 18px 0;
}

.check-list li {
  position: relative;
  padding: 8px 0 8px 30px;
  color: #334155;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--sage);
  border: 3px solid #5aa775;
}

.appointment-location-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0 28px;
}

.appointment-location-grid li {
  min-height: 64px;
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 14px 14px 14px 42px;
  box-shadow: 0 10px 24px rgba(12, 39, 72, 0.05);
  font-weight: 800;
}

.appointment-location-grid li::before {
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
}

@media (max-width: 720px) {
  .appointment-location-grid {
    grid-template-columns: 1fr;
  }
}

.page-hero {
  background: var(--soft);
  border-bottom: 1px solid var(--line);
  padding: 52px 0;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 36px;
  align-items: end;
}

.breadcrumb {
  margin: 0 0 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.94rem;
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--navy);
  text-decoration: underline;
}

.breadcrumb [aria-hidden="true"] {
  color: #9aa5b1;
}

.hero-contact-label {
  margin: 0 0 4px;
  color: var(--gold-dark);
  font-weight: 900;
  text-transform: uppercase;
}

.hero-contact-phone {
  margin: 0;
  font-size: 1.7rem;
  font-weight: 900;
  line-height: 1.1;
}

.content {
  max-width: 780px;
}

.content h2 + p {
  margin-top: 0;
}

.content h2:not(:first-child) {
  margin-top: 34px;
}

.link-panel {
  padding: 24px;
}

.link-panel ul {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.link-panel a {
  display: block;
  padding: 11px 12px;
  border-radius: 8px;
  background: var(--soft);
  color: var(--navy);
  font-weight: 900;
  text-decoration: none;
}

.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.sitemap-grid .link-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 24px rgba(12, 39, 72, 0.06);
}

.city-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.coverage-preview {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.coverage-preview h3 {
  margin-bottom: 6px;
}

.area-buttons.compact a {
  font-size: 0.94rem;
  min-height: 38px;
}

.subsection-heading {
  margin-top: 46px;
}

.county-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.county-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 22px;
  box-shadow: 0 10px 24px rgba(12, 39, 72, 0.06);
}

.county-card h3 a {
  color: var(--navy);
  text-decoration: none;
}

.community-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 20px;
}

.community-list span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  color: var(--navy);
  padding: 6px 10px;
  font-weight: 850;
}

.compact-list {
  margin-top: 14px;
}

.compact-list span {
  font-size: 0.9rem;
}

.cta-band {
  background: var(--navy);
  color: var(--white);
  padding: 48px 0;
}

.cta-band h2 {
  color: var(--white);
}

.cta-band p {
  color: #e8edf5;
}

.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.form-section {
  grid-template-columns: minmax(0, 0.78fr) minmax(360px, 1fr);
}

.appointment-form {
  padding: 24px;
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-wide {
  grid-column: 1 / -1;
}

label {
  display: block;
  margin: 0 0 6px;
  color: var(--navy);
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid #c7d2df;
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

textarea {
  resize: vertical;
}

.form-button {
  margin-top: 18px;
  width: 100%;
}

.form-note {
  margin: 14px 0 0;
  padding: 12px;
  border-radius: 8px;
  background: #fff7df;
  color: #5d4b19;
  font-size: 0.94rem;
}

.honey {
  position: absolute;
  left: -9999px;
}

.narrow {
  max-width: 860px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 16px 18px;
}

summary {
  cursor: pointer;
  color: var(--navy);
  font-size: 1.08rem;
  font-weight: 900;
}

details p {
  margin-bottom: 0;
  color: var(--muted);
}

.about-split {
  grid-template-columns: 0.75fr 1fr;
  align-items: center;
}

.about-photo {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.about-photo img {
  border-radius: 6px;
}

.site-footer {
  background: #081f3a;
  color: var(--white);
  padding: 48px 0 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.72fr 0.86fr 0.82fr 0.82fr 0.78fr;
  gap: 20px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  text-decoration: none;
  font-weight: 900;
}

.text-footer-brand {
  display: block;
}

.text-footer-brand span {
  font-size: 1.08rem;
}

.text-footer-brand small {
  display: block;
  margin-top: 4px;
  color: #dfe8f4;
  font-weight: 700;
  line-height: 1.3;
}

.site-footer h2 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 12px;
}

.site-footer p,
.site-footer li {
  color: #dce7f3;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 7px;
}

.site-footer a {
  color: var(--white);
  font-weight: 800;
}

.footer-note {
  font-size: 0.88rem;
}

.footer-cta {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  border-radius: 8px;
  background: var(--gold);
  color: #17130b !important;
  padding: 9px 12px;
  text-decoration: none;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  margin-top: 32px;
  padding-top: 18px;
  font-size: 0.9rem;
}

.mobile-cta {
  display: none;
}

@media (max-width: 980px) {
  .header-row {
    align-items: flex-start;
    flex-direction: column;
    padding: 12px 0;
  }

  .primary-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .hero-grid,
  .intro-grid,
  .split,
  .page-hero-grid,
  .sitemap-grid,
  .form-section,
  .about-split {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 36px;
    padding: 54px 0;
  }

  h1 {
    font-size: 2.65rem;
  }

  h2 {
    font-size: 1.82rem;
  }

  .card-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .step-grid {
    grid-template-columns: 1fr;
  }

  .side-panel {
    position: static;
  }

  .cta-band-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  body {
    padding-bottom: 76px;
  }

  .container {
    width: min(100% - 28px, 1120px);
  }

  .topbar-row {
    min-height: auto;
    padding: 9px 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .brand {
    min-width: 0;
  }

  .primary-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    overflow: visible;
    width: 100%;
    padding-bottom: 0;
  }

  .primary-nav a {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 8px;
    white-space: normal;
    text-align: center;
    line-height: 1.15;
    font-size: 0.86rem;
  }

  .primary-nav .nav-button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .hero-grid {
    padding: 42px 0;
  }

  h1 {
    font-size: 2.16rem;
  }

  h2 {
    font-size: 1.55rem;
  }

  .lead,
  .hero-subheadline {
    font-size: 1.04rem;
  }

  .button-row,
  .cta-actions {
    width: 100%;
  }

  .button-row .button,
  .cta-actions .button {
    flex: 1 1 100%;
  }

  .hero .button-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .hero .button-row .button {
    width: 100%;
  }

  .hero .button-row .button-outline {
    display: none;
  }

  .trust-grid,
  .card-grid,
  .city-grid,
  .county-grid,
  .footer-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding: 38px 0;
  }

  .section {
    padding: 52px 0;
  }

  .section-tight {
    padding: 42px 0;
  }

  .service-map {
    height: 360px;
  }

  .portrait-caption {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .mobile-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
    background: rgba(8, 31, 58, 0.98);
    box-shadow: 0 -8px 24px rgba(8, 31, 58, 0.24);
  }

  .mobile-cta a {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--gold);
    color: #17130b;
    font-size: 0.78rem;
    font-weight: 950;
    text-align: center;
    text-decoration: none;
    line-height: 1.1;
    padding: 8px 4px;
  }

  .mobile-cta a:first-child {
    background: var(--white);
    color: var(--navy);
  }
}

@media (max-width: 420px) {
  .container {
    width: min(100% - 22px, 1120px);
  }

  h1 {
    font-size: 1.92rem;
  }

  .button {
    padding-left: 12px;
    padding-right: 12px;
  }

  .appointment-form,
  .notice-panel,
  .side-panel,
  .hero-contact,
  .service-card,
  .city-card,
  .county-card,
  .link-panel {
    padding: 18px;
  }
}

:root {
  --navy: #0b2b4f;
  --navy-2: #123a63;
  --gold: #d8a62b;
  --gold-dark: #9a7118;
  --ink: #102033;
  --muted: #5f6d7d;
  --line: #e3e9f1;
  --soft: #f8fafc;
  --soft-blue: #eef5fb;
  --sage: #e9f6ee;
  --white: #ffffff;
  --shadow: 0 16px 42px rgba(11, 43, 79, 0.09);
}

body {
  background: var(--white);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.68;
}

.container {
  width: min(1180px, calc(100% - 48px));
}

.topbar {
  display: none;
}

.site-header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 3px solid var(--gold);
  box-shadow: 0 8px 24px rgba(11, 43, 79, 0.05);
}

.header-row {
  min-height: 86px;
  gap: 28px;
}

.brand {
  min-width: 360px;
}

.primary-nav {
  gap: 6px;
}

.primary-nav a {
  color: #243448;
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 0.94rem;
  font-weight: 800;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  background: var(--soft-blue);
  color: var(--navy);
}

.primary-nav .nav-button {
  background: var(--navy);
  border: 1px solid var(--navy);
  color: var(--white);
  padding-inline: 16px;
}

.primary-nav .nav-button:hover {
  background: var(--navy-2);
  color: var(--white);
}

.hero {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.premium-hero-grid {
  grid-template-columns: minmax(0, 1.02fr) minmax(330px, 0.62fr);
  gap: 64px;
  padding: 74px 0 60px;
}

.hero-note-after-visual {
  grid-column: 1 / -1;
  margin-top: -34px;
  max-width: 980px;
}

.premium-hero-copy {
  max-width: 780px;
}

.eyebrow {
  color: var(--gold-dark);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
}

.section-kicker {
  max-width: 680px;
  margin: 8px 0 12px;
  color: var(--navy);
  font-size: 1.06rem;
  font-weight: 850;
  line-height: 1.45;
}

.rural-service-section {
  max-width: 980px;
}

.rural-inline-checks,
.quote-inline-checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px 20px;
  max-width: 880px;
  margin: 12px 0 22px;
}

@media (max-width: 720px) {
  .rural-inline-checks,
  .quote-inline-checks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2px 10px;
  }
}

h1 {
  max-width: 780px;
  color: var(--navy);
  font-size: 3.38rem;
  line-height: 1.05;
  letter-spacing: 0;
}

h2 {
  color: var(--navy);
  font-size: 2rem;
  line-height: 1.18;
}

h3 {
  color: var(--navy);
}

.lead {
  max-width: 690px;
  color: #3d4a5d;
  font-size: 1.12rem;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  min-height: 48px;
  border-radius: 8px;
  padding: 12px 18px;
  box-shadow: none;
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.button:hover {
  box-shadow: 0 12px 24px rgba(11, 43, 79, 0.12);
}

.button-primary {
  background: var(--navy);
  border-color: var(--navy);
}

.button-secondary,
.button-gold {
  background: var(--gold);
  border-color: var(--gold);
  color: #211909;
}

.button-outline {
  background: var(--white);
  border-color: #cbd6e3;
  color: var(--navy);
}

.hero-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-weight: 750;
}

.premium-hero-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 24px;
  box-shadow: var(--shadow);
}

.profile-row {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
  align-items: center;
}

.profile-row img {
  width: 72px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.profile-row h2 {
  margin: 2px 0 2px;
  font-size: 1.2rem;
}

.profile-row p {
  margin: 0;
  color: var(--muted);
  font-weight: 750;
}

.profile-kicker {
  color: var(--gold-dark) !important;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.quick-list {
  display: grid;
  gap: 10px;
  margin: 24px 0;
}

.quick-list span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 850;
}

.quick-list span::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  flex: 0 0 auto;
}

.panel-phone {
  display: flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--soft-blue);
  color: var(--navy);
  font-size: 1.15rem;
  font-weight: 950;
  text-decoration: none;
}

.section {
  padding: 72px 0;
}

.trust-section {
  padding: 26px 0 46px;
  background: var(--white);
}

.premium-trust-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.premium-trust-grid span {
  min-height: 92px;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-left: 0;
  border-top: 4px solid var(--gold);
  padding: 16px;
  color: var(--ink);
  box-shadow: 0 8px 22px rgba(11, 43, 79, 0.05);
}

.home-map-section {
  background: var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.home-map-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(360px, 1fr);
  gap: 34px;
  align-items: center;
}

.service-tier-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-directory-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.service-tier-map {
  margin-top: 34px;
}

.home-service-map,
.service-map {
  height: 430px;
  margin-top: 0;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 30px;
}

.section-heading p,
.content p,
.city-card p,
.service-card p,
.notice-panel p,
.side-panel p,
.link-panel p,
.county-card p {
  color: var(--muted);
}

.premium-card-grid,
.card-grid,
.document-grid {
  gap: 18px;
}

.service-card,
.city-card,
.county-card,
.link-panel,
.notice-panel,
.appointment-form,
.hero-contact {
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(11, 43, 79, 0.06);
}

.service-card,
.city-card,
.county-card {
  padding: 24px;
}

.service-card h3,
.city-card h3,
.county-card h3 {
  font-size: 1.05rem;
}

.text-link {
  color: var(--navy);
  font-weight: 900;
  text-decoration-thickness: 2px;
}

.alt {
  background: var(--soft);
}

.quote-section {
  background: var(--white);
}

.appointment-form {
  padding: 26px;
  box-shadow: var(--shadow);
}

label {
  color: #243448;
  font-size: 0.92rem;
}

input,
select,
textarea {
  border-color: #d3dde8;
  border-radius: 8px;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(216, 166, 43, 0.24);
  border-color: var(--gold);
}

.side-panel {
  background: var(--navy);
  border-color: var(--navy);
  box-shadow: var(--shadow);
}

.check-list li::before {
  background: var(--gold);
  border: 0;
}

.page-hero {
  background: var(--soft);
  padding: 50px 0;
}

.site-footer {
  background: #08213d;
}

.footer-grid {
  grid-template-columns: 1.25fr 0.8fr 0.9fr 0.82fr 0.82fr 0.8fr;
  gap: 24px;
}

.mobile-cta {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 1100px) {
  .premium-trust-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .header-row {
    min-height: auto;
    padding: 14px 0;
  }

  .premium-hero-grid,
  .home-map-grid {
    grid-template-columns: 1fr;
  }

  .premium-hero-grid {
    gap: 32px;
    padding: 52px 0 44px;
  }

  h1 {
    font-size: 2.55rem;
  }

  .premium-trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  body {
    padding-bottom: 74px;
  }

  .container {
    width: min(100% - 24px, 1180px);
  }

  .site-header {
    position: relative;
    background: rgba(255, 255, 255, 0.98);
  }

  .header-row {
    gap: 8px;
    padding: 8px 0 10px;
  }

  .brand {
    width: 100%;
    min-width: 0;
  }

  .text-brand strong {
    font-size: 1.12rem;
  }

  .brand small {
    display: none;
  }

  .primary-nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 5px;
    overflow: visible;
    width: 100%;
    padding-bottom: 0;
  }

  .primary-nav a {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e8f0;
    background: var(--soft);
    padding: 6px 4px;
    white-space: normal;
    text-align: center;
    line-height: 1.15;
    font-size: 0.74rem;
  }

  .primary-nav .nav-button {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 40px;
    background: var(--gold);
    border-color: var(--gold);
    color: #17130b;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .hero-actions .button-outline {
    grid-column: 1 / -1;
  }

  .premium-hero-grid {
    gap: 20px;
    padding: 30px 0 28px;
  }

  h1 {
    font-size: 1.92rem;
    line-height: 1.08;
  }

  h2 {
    font-size: 1.38rem;
  }

  .lead {
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .hero-note {
    margin-top: 12px;
    font-size: 0.92rem;
    line-height: 1.45;
  }

  .premium-hero-panel {
    padding: 18px;
  }

  .profile-row {
    grid-template-columns: 58px 1fr;
    gap: 12px;
  }

  .profile-row img {
    width: 58px;
  }

  .quick-list {
    gap: 8px;
    margin: 18px 0;
  }

  .quick-list span {
    font-size: 0.95rem;
  }

  .premium-trust-grid,
  .card-grid,
  .document-grid,
  .city-grid,
  .county-grid,
  .footer-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .premium-trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .premium-trust-grid span {
    min-height: 0;
    border-left: 1px solid var(--line);
    padding: 10px;
    font-size: 0.82rem;
    line-height: 1.25;
  }

  .section-heading {
    margin-bottom: 20px;
  }

  .section {
    padding: 42px 0;
  }

  .trust-section {
    padding: 16px 0 34px;
  }

  .service-card,
  .city-card,
  .county-card,
  .link-panel,
  .notice-panel,
  .side-panel {
    padding: 18px;
  }

  .home-service-map,
  .service-map {
    height: 300px;
  }

  .appointment-form {
    padding: 18px;
  }

  input,
  select,
  textarea {
    min-height: 48px;
    font-size: 16px;
  }

  .footer-grid {
    gap: 22px;
  }

  .site-footer {
    padding-bottom: 96px;
  }

  .mobile-cta a {
    min-height: 48px;
    font-size: 0.84rem;
    letter-spacing: 0;
  }

  .mobile-cta {
    gap: 8px;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    background: rgba(8, 33, 61, 0.98);
  }

  .mobile-cta a {
    border-radius: 8px;
  }
}

@media (max-width: 420px) {
  body {
    padding-bottom: 70px;
  }

  .container {
    width: min(100% - 20px, 1180px);
  }

  h1 {
    font-size: 1.66rem;
  }

  .primary-nav a {
    min-height: 32px;
    font-size: 0.68rem;
  }

  .primary-nav .nav-button {
    min-height: 38px;
    font-size: 0.76rem;
  }

  .premium-hero-grid {
    padding: 24px 0 24px;
  }

  .hero-actions {
    gap: 8px;
  }

  .button {
    min-height: 46px;
    padding: 10px 12px;
  }

  .premium-hero-panel,
  .appointment-form,
  .service-card,
  .city-card,
  .county-card,
  .link-panel,
  .notice-panel,
  .side-panel {
    padding: 15px;
  }

  .premium-trust-grid span {
    font-size: 0.78rem;
    padding: 9px;
  }

  .home-service-map,
  .service-map {
    height: 270px;
  }

  .mobile-cta {
    gap: 6px;
    padding-inline: 8px;
  }

  .mobile-cta a {
    min-height: 46px;
    font-size: 0.78rem;
  }
}

/* Keep the upgraded map while leaving the rest of the site in the prior design. */
.map-frame {
  position: relative;
  z-index: 0;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  box-shadow: var(--shadow);
}

.map-toolbar {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  color: var(--white);
}

.map-toolbar span {
  color: #dce8f3;
  font-size: 0.84rem;
  font-weight: 850;
  text-transform: uppercase;
}

.map-toolbar strong {
  color: #f4c85a;
  font-size: 0.92rem;
}

.map-frame .service-map {
  height: 450px;
  margin-top: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0;
  box-shadow: none;
}

.service-map-frame .service-map {
  height: 520px;
}

.leaflet-container {
  background: #112f4e;
  font: inherit;
}

.leaflet-tile-pane {
  filter: saturate(0.92) contrast(1.03) sepia(0.06);
}

.leaflet-control-zoom a {
  color: var(--navy);
  font-weight: 900;
}

.map-pin {
  background: transparent;
  border: 0;
}

.map-pin span {
  display: block;
  border-radius: 999px;
  background: #1d7d76;
  box-shadow:
    0 0 0 4px rgba(29, 125, 118, 0.18),
    0 10px 22px rgba(12, 39, 72, 0.28);
}

.map-pin-city span {
  width: 14px;
  height: 14px;
  margin: 3px;
  border: 2px solid var(--white);
}

.map-pin-base span {
  position: relative;
  width: 24px;
  height: 24px;
  margin: 2px;
  border: 3px solid var(--white);
  background: var(--gold);
  box-shadow:
    0 0 0 7px rgba(201, 154, 46, 0.2),
    0 16px 30px rgba(12, 39, 72, 0.35);
}

.map-pin-base span::after {
  display: none;
}

.map-popup strong,
.map-popup span {
  display: block;
}

.map-popup strong {
  color: var(--navy);
  font-size: 1rem;
}

.map-popup span {
  color: #1d7d76;
  font-weight: 850;
}

.map-popup p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.35;
}

.map-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.92rem;
}

.map-legend {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
}

.map-legend li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 700;
}

.map-legend-dot {
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  flex: 0 0 auto;
}

.map-legend-base {
  width: 20px;
  height: 20px;
  background: var(--gold);
  color: #17130b;
  border: 2px solid var(--white);
  box-shadow: 0 0 0 3px rgba(201, 154, 46, 0.2);
  font-size: 11px;
  line-height: 1;
}

.map-legend-linked {
  width: 16px;
  height: 16px;
  background: #1d7d76;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 1px rgba(29, 125, 118, 0.35);
}

.map-legend-unlinked {
  width: 13px;
  height: 13px;
  background: #80a8a3;
  border: 2px solid var(--white);
  box-shadow: 0 0 0 1px rgba(128, 168, 163, 0.4);
}

@media (max-width: 980px) {
  .map-frame .service-map,
  .service-map-frame .service-map {
    height: 390px;
  }
}

@media (max-width: 720px) {
  .map-toolbar {
    min-height: 44px;
    padding: 10px 12px;
  }

  .map-toolbar span,
  .map-toolbar strong {
    font-size: 0.76rem;
  }

  .map-frame .service-map,
  .service-map-frame .service-map {
    height: 320px;
  }
}

@media (max-width: 420px) {
  .map-frame .service-map,
  .service-map-frame .service-map {
    height: 290px;
  }
}

/* Menu bar enhancements. */
.site-header {
  box-shadow: 0 10px 28px rgba(12, 39, 72, 0.08);
}

.header-row {
  min-height: 80px;
}

.text-brand strong {
  position: relative;
  display: inline-block;
  padding-bottom: 3px;
}

.text-brand strong::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  border-radius: 999px;
  background: var(--gold);
}

.primary-nav {
  border: 1px solid rgba(223, 230, 239, 0.95);
  border-radius: 8px;
  background: rgba(246, 248, 251, 0.88);
  padding: 5px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.primary-nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  transition: background 140ms ease, border-color 140ms ease, color 140ms ease;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  border-color: rgba(201, 154, 46, 0.26);
}

.primary-nav a[aria-current="page"] {
  background: var(--white);
  box-shadow: 0 6px 16px rgba(12, 39, 72, 0.08);
}

.primary-nav .nav-button {
  min-width: 168px;
  background: linear-gradient(180deg, #d8aa42, var(--gold));
  border-color: #b9851f;
  color: #17130b;
  box-shadow: 0 8px 18px rgba(159, 116, 24, 0.18);
}

.primary-nav .nav-button:hover {
  background: linear-gradient(180deg, #e3b84f, #d0a035);
  border-color: #a4771c;
  color: #17130b;
}

@media (max-width: 980px) {
  .primary-nav {
    justify-content: stretch;
  }

  .primary-nav a {
    flex: 1 1 auto;
  }
}

@media (max-width: 720px) {
  .header-row {
    padding: 10px 0;
  }

  .text-brand strong {
    font-size: 1.2rem;
  }

  .text-brand strong::after {
    width: 100%;
  }

  .primary-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    padding: 7px;
    background: #f8fafc;
  }

  .primary-nav a {
    min-height: 42px;
    border-color: #dfe6ef;
    background: var(--white);
    font-size: 0.84rem;
    font-weight: 900;
    padding: 8px 8px;
  }

  .primary-nav a[aria-current="page"] {
    border-color: rgba(201, 154, 46, 0.5);
    background: #fff9e8;
  }

  .primary-nav .nav-button {
    grid-column: 1 / -1;
    min-width: 0;
    min-height: 44px;
    font-size: 0.9rem;
  }
}

@media (max-width: 420px) {
  .primary-nav {
    gap: 6px;
    padding: 6px;
  }

  .primary-nav a {
    min-height: 40px;
    font-size: 0.78rem;
  }

  .primary-nav .nav-button {
    min-height: 42px;
    font-size: 0.84rem;
  }
}


/* Platform 1.1 public website enhancements. */
.hero-actions-wide {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hero-actions-wide .button {
  min-width: 142px;
}
.button-small {
  min-height: 38px;
  padding: 8px 12px;
  font-size: 0.86rem;
}
.platform-form .form-wide,
.appointment-form .form-wide {
  grid-column: 1 / -1;
}
.visually-hidden-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.checkbox-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 16px 0 10px;
  color: var(--navy);
  font-weight: 750;
  line-height: 1.4;
}
.checkbox-line input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--gold);
}
.privacy-warning,
.form-note,
.chat-privacy,
.chat-platform-note {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}
.privacy-warning {
  padding: 12px 14px;
  border: 1px solid rgba(201, 154, 46, 0.32);
  border-radius: 8px;
  background: #fffaf0;
}
.form-status[data-kind="error"] {
  color: #9b1c1c;
  font-weight: 800;
}
.form-status[data-kind="success"] {
  color: #176b43;
  font-weight: 800;
}
.calendar-card {
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.calendar-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid #e8edf3;
}
.calendar-card-head h3 {
  margin: 0;
  font-size: 1rem;
}
.availability-list {
  display: grid;
  gap: 8px;
  padding: 14px;
}
.availability-slot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: #f8fafc;
  color: var(--navy);
  padding: 12px;
  text-align: left;
  cursor: pointer;
}
.availability-slot:hover,
.availability-slot[aria-pressed="true"] {
  border-color: rgba(201, 154, 46, 0.65);
  background: #fff9e8;
}
.availability-slot strong,
.availability-slot span {
  display: block;
}
.availability-slot span {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 800;
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}
.button-stack {
  display: grid;
  gap: 10px;
}
.footer-chat-button {
  border: 0;
  cursor: pointer;
  font: inherit;
}
.mobile-cta a,
.mobile-cta button {
  appearance: none;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}
.mobile-cta a:last-child,
.mobile-cta button:last-child {
  border-right: 0;
}
.platform-chat {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9999;
  font: inherit;
}
.platform-chat-bubble {
  border: 0;
  border-radius: 999px;
  background: var(--gold);
  color: #17130b;
  font-weight: 950;
  padding: 14px 18px;
  box-shadow: 0 18px 34px rgba(12, 39, 72, 0.28);
  cursor: pointer;
}
.platform-chat-panel {
  position: absolute;
  right: 0;
  bottom: 58px;
  width: min(380px, calc(100vw - 28px));
  max-height: min(680px, calc(100vh - 110px));
  overflow: hidden;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 24px 60px rgba(12, 39, 72, 0.28);
}
.platform-chat-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: var(--navy);
  color: var(--white);
}
.platform-chat-header strong,
.platform-chat-header span {
  display: block;
}
.platform-chat-header span {
  color: rgba(255,255,255,0.75);
  font-size: 0.84rem;
  margin-top: 3px;
}
.platform-chat-header button {
  border: 0;
  background: transparent;
  color: var(--white);
  font-size: 1.35rem;
  cursor: pointer;
}
.platform-chat-body {
  max-height: calc(min(680px, 100vh - 110px) - 64px);
  overflow: auto;
  padding: 16px;
}
.platform-chat label {
  display: grid;
  gap: 6px;
  margin-bottom: 10px;
  color: var(--navy);
  font-weight: 850;
}
.platform-chat input,
.platform-chat textarea {
  width: 100%;
  border: 1px solid #d7e0eb;
  border-radius: 8px;
  padding: 10px;
  font: inherit;
}
.chat-messages {
  display: grid;
  gap: 10px;
  max-height: 230px;
  overflow: auto;
  margin-bottom: 12px;
}
.chat-message {
  border: 1px solid #e0e7ef;
  border-radius: 8px;
  background: #f8fafc;
  padding: 10px 12px;
}
.chat-message strong,
.chat-message p {
  margin: 0;
}
.chat-message p {
  margin-top: 4px;
  color: var(--muted);
}
@media (max-width: 760px) {
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
  .hero-actions-wide .button {
    flex: 1 1 calc(50% - 8px);
    min-width: 0;
  }
  .platform-chat {
    right: 12px;
    bottom: 68px;
  }
  .platform-chat-bubble {
    padding: 12px 14px;
    max-width: calc(100vw - 24px);
  }
  .platform-chat-panel {
    right: -2px;
    bottom: 54px;
    width: calc(100vw - 24px);
  }
}
@media (max-width: 480px) {
  .hero-actions-wide .button {
    flex-basis: 100%;
  }
  .calendar-card-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .availability-slot {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Final customer-experience polish. */
:root {
  --gold-soft: #fff4d6;
  --surface: #fbfcfe;
  --surface-strong: #f2f6fb;
  --focus-ring: rgba(216, 166, 43, 0.38);
  --shadow-soft: 0 14px 34px rgba(11, 43, 79, 0.09);
  --shadow-lift: 0 20px 42px rgba(11, 43, 79, 0.14);
}

html {
  text-size-adjust: 100%;
}

body {
  background: var(--surface);
  text-rendering: optimizeLegibility;
}

a,
button,
input,
select,
textarea,
summary {
  -webkit-tap-highlight-color: rgba(216, 166, 43, 0.18);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}

@media (min-width: 981px) {
  .site-header {
    position: sticky;
    top: 0;
    z-index: 80;
  }
}

.site-header {
  backdrop-filter: saturate(1.05) blur(10px);
}

.brand small,
.footer-brand small,
.hero-note,
.form-note,
.privacy-warning {
  overflow-wrap: normal;
}

h1 {
  text-wrap: balance;
}

h2,
h3,
.lead,
.section-heading p {
  text-wrap: pretty;
}

.lead,
.hero-subheadline {
  color: #314258;
}

.button,
.footer-cta,
.availability-slot,
.primary-nav a,
.area-buttons a,
.link-panel a,
.mobile-cta a,
.mobile-cta button {
  touch-action: manipulation;
}

.button {
  min-height: 52px;
  border-radius: 8px;
  font-weight: 950;
}

.button-primary {
  box-shadow: 0 12px 24px rgba(11, 43, 79, 0.18);
}

.button-secondary,
.button-gold {
  box-shadow: 0 12px 22px rgba(154, 113, 24, 0.2);
}

.button-outline:hover,
.button-light:hover {
  border-color: var(--gold);
  background: var(--gold-soft);
}

.button:active,
.primary-nav a:active,
.area-buttons a:active,
.link-panel a:active,
.mobile-cta a:active,
.mobile-cta button:active {
  transform: translateY(1px);
}

.premium-hero-grid {
  align-items: center;
}

.hero-visual-stack {
  display: grid;
  gap: 14px;
}

.local-hero-photo,
.made-in-card,
.local-visual-card,
.local-badge-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.local-hero-photo {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
}

.local-hero-photo img,
.local-visual-card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.local-hero-photo img {
  object-position: 50% 46%;
}

.local-hero-photo figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  margin: 0;
  border-radius: 10px;
  border-top: 2px solid rgba(216, 166, 43, 0.55);
  background: rgba(8, 33, 61, 0.78);
  backdrop-filter: blur(14px) saturate(1.6);
  -webkit-backdrop-filter: blur(14px) saturate(1.6);
  color: var(--white);
  padding: 12px 14px;
  font-size: 0.9rem;
  font-weight: 850;
  line-height: 1.35;
  box-shadow:
    0 8px 24px rgba(8, 25, 48, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.local-hero-photo figcaption strong,
.local-hero-photo figcaption span {
  display: block;
}

.local-hero-photo figcaption strong {
  margin-bottom: 4px;
  color: var(--gold);
  font-size: 0.94rem;
  letter-spacing: 0.01em;
}

.local-hero-photo figcaption span {
  line-height: 1.45;
  opacity: 0.92;
}

.made-in-card {
  padding: 14px;
}

.made-in-card img {
  width: 100%;
  height: auto;
}

.page-hero {
  background:
    linear-gradient(180deg, rgba(255, 244, 214, 0.46), rgba(248, 250, 252, 0.94)),
    var(--soft);
}

.page-hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  align-items: center;
}

.local-visual-card {
  display: grid;
  align-self: stretch;
}

.altoona-visual-card > img {
  aspect-ratio: 16 / 10;
  object-position: 50% 42%;
}

.visual-card-body {
  padding: 20px;
}

.visual-card-body p {
  margin-top: 0;
}

.visual-card-body p:last-child {
  margin-bottom: 0;
}

.local-badge-card {
  display: grid;
  align-content: start;
  padding: 18px;
}

.blair-badge-marks {
  display: grid;
  gap: 0;
  justify-items: center;
}

.blair-seal-frame {
  display: grid;
  place-items: center;
  width: min(262px, 78%);
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 12px 28px rgba(12, 39, 72, 0.12);
}

.blair-seal-mark {
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
  border: 0;
  border-radius: 50%;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.blair-badge-card .visual-card-body {
  padding-top: 16px;
}

.content h2 {
  padding-top: 8px;
  border-top: 1px solid rgba(227, 233, 241, 0.88);
}

.content h2:first-child {
  padding-top: 0;
  border-top: 0;
}

.service-card,
.city-card,
.county-card,
.link-panel,
.notice-panel,
.side-panel,
.appointment-form,
.hero-contact,
.local-visual-card,
.local-badge-card {
  box-shadow: var(--shadow-soft);
}

.service-card:hover,
.city-card:hover,
.county-card:hover,
.link-panel a:hover,
.area-buttons a:hover {
  border-color: rgba(216, 166, 43, 0.46);
  box-shadow: var(--shadow-lift);
}

input,
select,
textarea {
  min-height: 50px;
  border-color: #cbd7e4;
}

textarea {
  min-height: 116px;
}

.checkbox-line input,
.checkbox-row input {
  min-height: 0;
}

.calendar-card,
.appointment-form {
  background: linear-gradient(180deg, var(--white), #fbfdff);
}

.availability-slot {
  min-height: 58px;
}

.platform-chat-bubble {
  border-radius: 8px;
}

@media (max-width: 980px) {
  .page-hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual-stack {
    max-width: 680px;
  }

  .local-badge-card {
    max-width: 520px;
  }
}

@media (max-width: 720px) {
  .site-header {
    backdrop-filter: none;
  }

  .primary-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .primary-nav a {
    min-height: 44px;
  }

  .hero-actions {
    grid-template-columns: 1fr;
  }

  .hero-actions-wide .button {
    min-width: 0;
  }

  .local-hero-photo {
    aspect-ratio: 4 / 3;
  }

  .local-hero-photo img {
    aspect-ratio: auto;
    height: 100%;
  }

  .local-hero-photo figcaption {
    left: 10px;
    right: 10px;
    bottom: 10px;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 0.84rem;
  }

  .altoona-visual-card > img {
    aspect-ratio: 4 / 3;
  }

  .visual-card-body,
  .local-badge-card {
    padding: 16px;
  }

  .mobile-cta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .mobile-cta a,
  .mobile-cta button {
    min-width: 0;
    min-height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    font-size: 0.78rem;
    line-height: 1.1;
    padding: 7px 4px;
  }

  .mobile-cta a:first-child {
    background: var(--gold);
    border-color: var(--gold);
    color: #17130b;
  }

  .mobile-cta button:last-child {
    border-right: 1px solid rgba(255, 255, 255, 0.24);
  }

  .platform-chat-bubble {
    display: none;
  }

  .platform-chat-panel {
    bottom: 8px;
  }
}

@media (max-width: 420px) {
  .text-brand strong {
    font-size: 1.08rem;
  }

  .primary-nav a {
    font-size: 0.76rem;
  }

  .hero-actions {
    gap: 8px;
  }

  .button {
    min-height: 48px;
  }

  .blair-seal-frame {
    width: min(210px, 80%);
  }

  .mobile-cta a,
  .mobile-cta button {
    font-size: 0.72rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Header badge and hamburger menu. */
.header-row {
  position: relative;
  display: grid !important;
  grid-template-columns: minmax(220px, 1fr) auto;
  align-items: center;
  gap: 8px 18px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand > span {
  display: grid;
  justify-items: start;
  gap: 2px;
  max-width: 100%;
  min-width: 0;
}

.header-local-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: auto;
  max-width: 100%;
  margin-top: 2px;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  color: var(--navy);
  text-decoration: none;
  box-shadow: none;
  line-height: 1;
}

.header-badge-flag {
  position: relative;
  flex: 0 0 auto;
  width: 30px;
  height: 20px;
  border: 0;
  border-radius: 1px;
  background: repeating-linear-gradient(
    to bottom,
    var(--navy) 0 2px,
    transparent 2px 4px
  );
  overflow: hidden;
}

.header-badge-flag::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 13px;
  height: 11px;
  background: var(--navy);
}

.header-badge-flag::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 4px;
  width: 5px;
  height: 5px;
  background: var(--white);
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.header-badge-copy {
  display: block;
  min-width: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--navy);
  font-family: Rockwell, "Roboto Slab", Georgia, "Times New Roman", serif;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.menu-toggle {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid var(--navy);
  border-radius: 8px;
  background: var(--navy);
  color: var(--white);
  padding: 10px 14px;
  font: inherit;
  font-weight: 950;
  line-height: 1;
  cursor: pointer;
  touch-action: manipulation;
}

.menu-toggle:hover,
.menu-toggle[aria-expanded="true"] {
  background: var(--navy-2);
}

.menu-toggle-lines {
  display: grid;
  gap: 4px;
  width: 18px;
}

.menu-toggle-lines span {
  display: block;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.primary-nav {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 120;
  width: min(360px, calc(100vw - 40px));
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 8px;
  border: 1px solid rgba(11, 43, 79, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  padding: 12px;
  box-shadow: 0 24px 54px rgba(11, 43, 79, 0.2);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  visibility: hidden;
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.site-header.menu-open .primary-nav {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
}

.primary-nav a {
  width: 100%;
  min-height: 46px;
  justify-content: flex-start;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 10px 12px;
  text-align: left;
}

.primary-nav .nav-button {
  min-width: 0;
  justify-content: center;
}

@media (max-width: 980px) {
  .header-row {
    grid-template-columns: minmax(180px, 1fr) auto;
  }
}

@media (max-width: 720px) {
  .header-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
  }

  .menu-toggle {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    min-height: 42px;
    padding: 9px 12px;
  }

  .header-local-badge {
    justify-self: start;
    margin-top: 2px;
    max-width: 100%;
  }

  .primary-nav {
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    width: 100%;
  }

  .primary-nav a,
  .primary-nav a:nth-child(5),
  .primary-nav .nav-button {
    grid-column: auto;
    min-height: 44px;
  }
}

@media (max-width: 420px) {
  .header-badge-flag {
    width: 26px;
    height: 17px;
  }

  .header-badge-copy {
    font-size: 0.63rem;
    line-height: 1.12;
    white-space: normal;
  }

  .menu-toggle span:last-child {
    font-size: 0.82rem;
  }
}

/* Premium navigation and live chat refinements. */
.menu-toggle {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(216, 166, 43, 0.42);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--navy), #143f6f);
  box-shadow: 0 12px 24px rgba(11, 43, 79, 0.18);
}

.menu-toggle::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  pointer-events: none;
}

.menu-toggle-lines span {
  transition: transform 160ms ease, opacity 160ms ease;
  transform-origin: center;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.primary-nav {
  width: min(420px, calc(100vw - 40px));
  gap: 8px;
  border: 1px solid rgba(11, 43, 79, 0.12);
  border-top: 4px solid var(--gold);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 250, 252, 0.99));
  padding: 10px;
  box-shadow: 0 28px 70px rgba(11, 43, 79, 0.24);
}

.primary-nav a {
  position: relative;
  min-height: 50px;
  border-color: rgba(11, 43, 79, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
  font-weight: 900;
  padding: 12px 42px 12px 14px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

.primary-nav a::after {
  content: ">";
  position: absolute;
  right: 14px;
  color: rgba(11, 43, 79, 0.48);
  font-weight: 950;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  border-color: rgba(216, 166, 43, 0.62);
  background: var(--gold-soft);
  color: var(--navy);
}

.primary-nav .nav-button {
  border-color: var(--gold);
  background: var(--gold);
  color: #17130b;
  box-shadow: 0 12px 26px rgba(216, 166, 43, 0.24);
}

.primary-nav .nav-button::after {
  color: rgba(23, 19, 11, 0.54);
}

.platform-chat [hidden] {
  display: none !important;
}

.platform-chat {
  right: 22px;
  bottom: 22px;
  z-index: 10000;
}

.platform-chat-bubble {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), #f3cb62);
  color: #17130b;
  padding: 12px 18px 12px 12px;
  box-shadow: 0 18px 40px rgba(11, 43, 79, 0.28);
}

.chat-bubble-icon {
  position: relative;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--navy);
}

.chat-bubble-icon::before,
.chat-bubble-icon::after {
  content: "";
  position: absolute;
  background: var(--white);
}

.chat-bubble-icon::before {
  left: 8px;
  top: 9px;
  width: 14px;
  height: 8px;
  border-radius: 8px;
}

.chat-bubble-icon::after {
  left: 18px;
  top: 15px;
  width: 7px;
  height: 7px;
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

.platform-chat-panel {
  bottom: 70px;
  width: min(430px, calc(100vw - 28px));
  max-height: min(720px, calc(100vh - 110px));
  border: 1px solid rgba(11, 43, 79, 0.14);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 32px 86px rgba(11, 43, 79, 0.32);
}

.platform-chat-header {
  align-items: center;
  padding: 16px 18px;
  background: linear-gradient(135deg, var(--navy), #173f6d);
}

.platform-chat-header strong {
  font-size: 1rem;
  letter-spacing: 0;
}

.platform-chat-header span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.platform-chat-header span i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6ee7a8;
  box-shadow: 0 0 0 5px rgba(110, 231, 168, 0.14);
}

.platform-chat-header button {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  line-height: 1;
}

.platform-chat-body {
  max-height: calc(min(720px, 100vh - 110px) - 70px);
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  padding: 16px;
}

.chat-intro {
  border: 1px solid rgba(216, 166, 43, 0.28);
  border-radius: 14px;
  background: var(--gold-soft);
  padding: 12px 14px;
  margin-bottom: 12px;
}

.chat-intro strong,
.chat-intro p {
  display: block;
  margin: 0;
}

.chat-intro strong {
  color: var(--navy);
  font-size: 1rem;
}

.chat-intro p {
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.45;
}

.chat-start-form,
.chat-reply-form {
  display: grid;
  gap: 12px;
}

.platform-chat label {
  margin: 0;
  color: var(--navy);
  font-size: 0.9rem;
}

.platform-chat input,
.platform-chat textarea {
  min-height: 46px;
  border-color: rgba(11, 43, 79, 0.16);
  border-radius: 12px;
  background: var(--white);
  padding: 11px 12px;
}

.platform-chat textarea {
  resize: vertical;
}

.chat-privacy,
.chat-platform-note {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
  margin: 0;
}

.chat-waiting {
  display: grid;
  justify-items: center;
  gap: 9px;
  min-height: 238px;
  border: 1px solid rgba(11, 43, 79, 0.1);
  border-radius: 16px;
  background:
    radial-gradient(circle at top, rgba(216, 166, 43, 0.18), transparent 42%),
    #ffffff;
  padding: 28px 18px;
  text-align: center;
}

.chat-waiting h3,
.chat-waiting p {
  margin: 0;
}

.chat-waiting h3 {
  color: var(--navy);
  font-size: 1.08rem;
}

.chat-waiting p {
  color: var(--muted);
  max-width: 270px;
  line-height: 1.5;
}

.chat-waiting-pulse {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--navy);
  box-shadow: 0 0 0 0 rgba(11, 43, 79, 0.26);
  animation: chatPulse 1.7s ease-in-out infinite;
}

.chat-waiting-pulse::before {
  content: "";
  display: block;
  width: 20px;
  height: 12px;
  border-radius: 10px;
  background: var(--white);
  margin: 18px auto 0;
}

@keyframes chatPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(11, 43, 79, 0.26);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(11, 43, 79, 0);
  }
}

.chat-messages {
  gap: 12px;
  max-height: 330px;
  border: 1px solid rgba(11, 43, 79, 0.1);
  border-radius: 16px;
  background: #f4f7fb;
  padding: 14px;
}

.chat-message {
  max-width: 84%;
  border: 0;
  padding: 11px 13px;
  box-shadow: 0 10px 20px rgba(11, 43, 79, 0.09);
}

.chat-message strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.chat-message p {
  margin: 0;
  line-height: 1.45;
}

.chat-message-agent {
  justify-self: start;
  border-radius: 15px 15px 15px 4px;
  background: var(--navy);
  color: var(--white);
}

.chat-message-agent strong,
.chat-message-agent p {
  color: var(--white);
}

.chat-message-customer {
  justify-self: end;
  border: 1px solid rgba(216, 166, 43, 0.34);
  border-radius: 15px 15px 4px 15px;
  background: var(--gold-soft);
  color: var(--navy);
}

.chat-message-customer strong,
.chat-message-customer p {
  color: var(--navy);
}

.chat-reply-form {
  border-top: 1px solid rgba(11, 43, 79, 0.1);
  margin-top: 12px;
  padding-top: 12px;
}

.chat-reply-form .button,
.chat-start-form .button {
  width: 100%;
  justify-content: center;
}

@media (max-width: 720px) {
  .platform-chat {
    left: 10px;
    right: 10px;
    bottom: 74px;
  }

  .platform-chat-panel {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 74px;
    width: auto;
    max-height: calc(100vh - 110px);
  }

  .platform-chat-body {
    max-height: calc(100vh - 182px);
  }

  .primary-nav {
    width: 100%;
    border-radius: 14px;
  }
}

.platform-chat-panel {
  overflow: hidden;
  border: 1px solid rgba(60, 60, 67, 0.16);
  border-radius: 26px;
  background: #f2f2f7;
  box-shadow: 0 24px 80px rgba(11, 43, 79, 0.28);
}

.platform-chat-header {
  padding: 13px 16px 12px;
  border-bottom: 1px solid rgba(60, 60, 67, 0.13);
  background: rgba(255, 255, 255, 0.94);
  color: #1c1c1e;
  backdrop-filter: blur(16px);
}

.platform-chat-header > div {
  display: grid;
  gap: 2px;
}

.platform-chat-header strong {
  color: #1c1c1e;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0;
}

.platform-chat-header span {
  color: #6c6c70;
  font-size: 0.78rem;
}

.platform-chat-header span i {
  width: 7px;
  height: 7px;
  background: #34c759;
  box-shadow: 0 0 0 4px rgba(52, 199, 89, 0.12);
}

.platform-chat-header button {
  width: 32px;
  height: 32px;
  background: #e5e5ea;
  color: #3a3a3c;
}

.platform-chat-body {
  background: #f2f2f7;
  padding: 14px 12px 12px;
}

.chat-start-form {
  gap: 10px;
  padding: 2px;
}

.platform-chat label {
  color: #3a3a3c;
  font-size: 0.78rem;
  font-weight: 800;
}

.platform-chat input,
.platform-chat textarea {
  border: 1px solid rgba(60, 60, 67, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  color: #1c1c1e;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.platform-chat input:focus,
.platform-chat textarea:focus {
  border-color: #0a84ff;
  box-shadow: 0 0 0 3px rgba(10, 132, 255, 0.16);
  outline: none;
}

.chat-start-form .button {
  min-height: 44px;
  border-color: #0a84ff;
  border-radius: 999px;
  background: #0a84ff;
  box-shadow: none;
  color: #ffffff;
  font-weight: 800;
}

.chat-privacy,
.chat-platform-note {
  color: #6c6c70;
  font-size: 0.76rem;
  line-height: 1.42;
  text-align: center;
}

.chat-waiting {
  min-height: 238px;
  border: 0;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: inset 0 0 0 1px rgba(60, 60, 67, 0.08);
}

.chat-waiting h3 {
  color: #1c1c1e;
}

.chat-waiting p {
  color: #6c6c70;
}

.chat-waiting-pulse {
  position: relative;
  width: 62px;
  height: 42px;
  border-radius: 22px;
  background: #e5e5ea;
  box-shadow: none;
  animation: chatTypingBubble 1.8s ease-in-out infinite;
}

.chat-waiting-pulse::before {
  content: "";
  display: block;
  width: 7px;
  height: 7px;
  margin: 18px 0 0 17px;
  border-radius: 50%;
  background: #8e8e93;
  box-shadow: 11px 0 0 #8e8e93, 22px 0 0 #8e8e93;
}

@keyframes chatTypingBubble {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

.chat-messages {
  gap: 8px;
  max-height: 360px;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 4px;
}

.chat-message {
  position: relative;
  max-width: 78%;
  border: 0;
  padding: 9px 12px 10px;
  box-shadow: none;
  font-size: 0.92rem;
}

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

.chat-message p {
  color: inherit;
  line-height: 1.35;
}

.chat-message-agent {
  justify-self: start;
  border-radius: 18px 18px 18px 5px;
  background: #e5e5ea;
  color: #1c1c1e;
}

.chat-message-agent p {
  color: #1c1c1e;
}

.chat-message-customer {
  justify-self: end;
  border: 0;
  border-radius: 18px 18px 5px 18px;
  background: #0a84ff;
  color: #ffffff;
}

.chat-message-customer p {
  color: #ffffff;
}

.chat-reply-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 8px;
  margin: 12px -12px -12px;
  padding: 10px 12px 12px;
  border-top: 1px solid rgba(60, 60, 67, 0.14);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.chat-reply-form label {
  grid-column: 1;
}

.chat-reply-form textarea {
  min-height: 40px;
  max-height: 100px;
  border-radius: 20px;
  background: #ffffff;
  padding: 9px 13px;
  resize: none;
}

.chat-reply-form .button {
  grid-column: 2;
  width: auto;
  min-width: 58px;
  min-height: 40px;
  align-self: end;
  border-color: #0a84ff;
  border-radius: 999px;
  background: #0a84ff;
  box-shadow: none;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 800;
}

.chat-reply-form .chat-platform-note,
.chat-reply-form .form-status {
  grid-column: 1 / -1;
  margin: 0;
  text-align: center;
}

@media (max-width: 720px) {
  .platform-chat-panel {
    bottom: 76px;
    border-radius: 24px;
    max-height: calc(100vh - 116px);
  }

  .platform-chat-body {
    max-height: calc(100vh - 184px);
  }

  .chat-message {
    max-width: 82%;
  }
}

.mobile-cta {
  display: none !important;
}

.platform-chat {
  display: grid;
  justify-items: end;
  gap: 10px;
}

.platform-chat-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.platform-call-bubble,
.platform-chat-bubble {
  min-height: 54px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  padding: 12px 18px 12px 12px;
  font-weight: 950;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 18px 40px rgba(11, 43, 79, 0.24);
}

.platform-call-bubble {
  background: var(--navy);
  color: #ffffff;
}

.platform-chat-bubble {
  background: linear-gradient(135deg, var(--gold), #f3cb62);
  color: #17130b;
}

.call-bubble-icon,
.chat-bubble-icon {
  flex: 0 0 auto;
}

.call-bubble-icon {
  position: relative;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #ffffff;
}

.call-bubble-icon::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 8px;
  width: 12px;
  height: 12px;
  border: 3px solid var(--navy);
  border-top-color: transparent;
  border-right-color: transparent;
  border-radius: 50%;
  transform: rotate(-32deg);
}

.platform-chat-panel {
  bottom: 72px;
}

@media (max-width: 720px) {
  body {
    padding-bottom: 0 !important;
  }

  .site-footer {
    padding-bottom: 44px;
  }

  .platform-chat {
    left: 12px;
    right: 12px;
    bottom: 12px;
    justify-items: stretch;
    pointer-events: none;
  }

  .platform-chat-actions,
  .platform-chat-panel {
    pointer-events: auto;
  }

  .platform-chat-actions {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
    gap: 8px;
  }

  .platform-call-bubble,
  .platform-chat-bubble {
    width: 100%;
    min-height: 50px;
    padding: 10px 12px;
    font-size: 0.9rem;
  }

  .call-bubble-icon,
  .chat-bubble-icon {
    width: 28px;
    height: 28px;
  }

  .platform-chat-panel {
    left: 0;
    right: 0;
    bottom: 62px;
    width: auto;
    max-height: calc(100vh - 86px);
  }

  .platform-chat-body {
    max-height: calc(100vh - 154px);
  }
}

@media (max-width: 420px) {
  body {
    padding-bottom: 0 !important;
  }

  .platform-call-bubble,
  .platform-chat-bubble {
    font-size: 0.84rem;
  }
}

/* Reliable SVG icons for the floating call and live chat bubbles. */
.call-bubble-icon,
.chat-bubble-icon {
  position: relative;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.call-bubble-icon {
  background: #ffffff;
  color: var(--navy);
}

.chat-bubble-icon {
  background: var(--navy);
  color: #ffffff;
}

.call-bubble-icon::before,
.chat-bubble-icon::before,
.chat-bubble-icon::after {
  content: none !important;
  display: none !important;
}

.bubble-svg {
  width: 17px;
  height: 17px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Compact mobile dock for iOS and small screens. */
@media (max-width: 720px) {
  body {
    padding-bottom: calc(92px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .site-footer {
    padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px));
  }

  .platform-chat {
    left: 0;
    right: 0;
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    justify-items: center;
    pointer-events: none;
  }

  .platform-chat-actions,
  .platform-chat-panel {
    pointer-events: auto;
  }

  .platform-chat-actions {
    width: min(318px, calc(100vw - 28px));
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 6px;
    padding: 6px;
    border: 1px solid rgba(12, 39, 72, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 16px 34px rgba(11, 43, 79, 0.2);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }

  .platform-call-bubble,
  .platform-chat-bubble {
    width: 100%;
    min-height: 42px;
    padding: 8px 10px;
    gap: 8px;
    font-size: 0.84rem;
    box-shadow: none;
  }

  .call-bubble-icon,
  .chat-bubble-icon {
    width: 26px;
    height: 26px;
  }

  .bubble-svg {
    width: 15px;
    height: 15px;
    stroke-width: 2.25;
  }

  .platform-chat-panel {
    left: 12px;
    right: 12px;
    bottom: calc(76px + env(safe-area-inset-bottom, 0px));
    width: auto;
    max-height: calc(100svh - 112px - env(safe-area-inset-bottom, 0px));
  }

  .platform-chat-body {
    max-height: calc(100svh - 190px - env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 380px) {
  .platform-chat-actions {
    width: min(292px, calc(100vw - 24px));
  }

  .platform-call-bubble,
  .platform-chat-bubble {
    min-height: 40px;
    padding-inline: 8px;
    font-size: 0.8rem;
  }

  .call-bubble-icon,
  .chat-bubble-icon {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 720px) {
  .rural-inline-checks li,
  .quote-inline-checks li {
    padding-left: 24px;
    font-size: 0.9rem;
    line-height: 1.35;
  }

  .rural-inline-checks li::before,
  .quote-inline-checks li::before {
    width: 11px;
    height: 11px;
    top: 13px;
  }
}

/* Modern appointment and quote form polish. */
.form-section,
#appointment-calendar .split {
  align-items: start;
  gap: clamp(24px, 4vw, 48px);
}

.appointment-section {
  background:
    linear-gradient(180deg, #f6f8fb 0%, #edf4fb 100%);
}

.appointment-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(360px, 1.06fr);
  gap: clamp(24px, 4vw, 46px);
  align-items: start;
}

.appointment-intro {
  min-width: 0;
}

.appointment-intro > p:not(.eyebrow) {
  max-width: 680px;
  color: #334155;
  font-size: 1.05rem;
  line-height: 1.58;
}

.appointment-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0;
}

.appointment-highlights div {
  min-width: 0;
  border: 1px solid rgba(12, 39, 72, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  padding: 12px;
  box-shadow: 0 8px 22px rgba(12, 39, 72, 0.06);
}

.appointment-highlights strong,
.appointment-highlights span {
  display: block;
}

.appointment-highlights strong {
  color: var(--navy);
  font-size: 0.84rem;
  line-height: 1.2;
}

.appointment-highlights span {
  margin-top: 4px;
  color: #566579;
  font-size: 0.8rem;
  line-height: 1.36;
}

.platform-form {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(12, 39, 72, 0.13);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  box-shadow: 0 20px 52px rgba(12, 39, 72, 0.13);
  padding: clamp(20px, 3vw, 30px);
}

.platform-form::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--gold), #efc85f 46%, var(--navy));
}

.appointment-form-head {
  margin: 0 0 18px;
  border-bottom: 1px solid #e3ebf4;
  padding: 0 0 16px;
}

.appointment-form-head .eyebrow {
  margin-bottom: 6px;
}

.appointment-form-head h3 {
  margin: 0;
  font-size: 1.32rem;
  line-height: 1.18;
}

.appointment-form-head p {
  margin: 7px 0 0;
  color: #506176;
  font-size: 0.94rem;
  line-height: 1.45;
}

.platform-form .form-grid {
  gap: 16px;
}

.platform-form .form-grid > div {
  min-width: 0;
}

.platform-form .form-grid > div:has(select[name="service_type"]),
.platform-form .form-wide {
  grid-column: 1 / -1;
}

.platform-form label:not(.checkbox-line) {
  margin: 0 0 7px;
  color: #1f3148;
  font-size: 0.88rem;
  font-weight: 900;
  line-height: 1.2;
}

.platform-form input,
.platform-form select,
.platform-form textarea {
  min-height: 52px;
  border: 1px solid #d8e1ec;
  border-radius: 8px;
  background-color: #f8fafc;
  color: var(--ink);
  padding: 12px 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
  transition: border-color 140ms ease, background-color 140ms ease, box-shadow 140ms ease;
}

.platform-form select {
  appearance: none;
  padding-right: 42px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--navy) 50%),
    linear-gradient(135deg, var(--navy) 50%, transparent 50%);
  background-position:
    calc(100% - 20px) 50%,
    calc(100% - 14px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.platform-form textarea {
  min-height: 126px;
  line-height: 1.5;
}

.platform-form input:hover,
.platform-form select:hover,
.platform-form textarea:hover {
  border-color: #bdcbd9;
  background-color: #ffffff;
}

.platform-form input:focus,
.platform-form select:focus,
.platform-form textarea:focus {
  outline: 0;
  border-color: var(--gold);
  background-color: #ffffff;
  box-shadow: 0 0 0 4px rgba(201, 154, 46, 0.2);
}

.platform-form .checkbox-line {
  align-items: center;
  margin: 18px 0 12px;
  border: 1px solid #dce6f0;
  border-radius: 8px;
  background: #f7fbff;
  padding: 12px 14px;
  color: #253751;
  font-size: 0.94rem;
  font-weight: 800;
}

.platform-form .checkbox-line input {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin: 0;
}

.platform-form .privacy-warning {
  margin: 0 0 16px;
  border-color: rgba(201, 154, 46, 0.36);
  background: #fffaf0;
  color: #655126;
}

.platform-form .form-button {
  min-height: 54px;
  margin-top: 0;
  border-radius: 8px;
  font-size: 1rem;
  letter-spacing: 0;
}

.platform-form .form-note {
  border: 1px solid rgba(201, 154, 46, 0.32);
  background: #fff9e8;
  color: #5a4818;
}

.platform-form .form-status {
  margin: 12px 0 0;
  min-height: 1.4em;
}

.calendar-card {
  overflow: hidden;
  border-color: rgba(12, 39, 72, 0.13);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #fbfdff);
  box-shadow: 0 18px 46px rgba(12, 39, 72, 0.13);
}

.calendar-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid #e1e9f2;
  padding: 16px 18px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.calendar-card-head h3 {
  margin: 2px 0 0;
  font-size: 1.06rem;
}

.calendar-label {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border: 1px solid rgba(201, 154, 46, 0.28);
  border-radius: 999px;
  background: #fff8e8;
  color: #735719;
  padding: 3px 9px;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.1;
}

.asap-request-row {
  border-bottom: 1px solid #e8eef5;
  background: #fbfdff;
  padding: 16px 16px 14px;
}

.availability-slot {
  position: relative;
  width: 100%;
  min-height: 72px;
  border: 1px solid #d9e3ef;
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  padding: 13px 14px;
  text-align: left;
  box-shadow: 0 8px 18px rgba(12, 39, 72, 0.06);
  cursor: pointer;
  transition: border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.availability-slot:hover,
.availability-slot[aria-pressed="true"] {
  border-color: var(--gold);
  box-shadow: 0 12px 26px rgba(12, 39, 72, 0.12);
  transform: translateY(-1px);
}

.availability-slot[aria-pressed="true"]::after {
  content: "Selected";
  position: absolute;
  top: 12px;
  right: 12px;
  border-radius: 999px;
  background: var(--navy);
  color: #ffffff;
  padding: 4px 8px;
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1;
}

.availability-slot strong,
.availability-slot span {
  display: block;
}

.availability-slot strong {
  padding-right: 78px;
  color: var(--navy);
  font-size: 0.98rem;
  line-height: 1.22;
}

.availability-slot span {
  margin-top: 5px;
  color: #5e6b7e;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.28;
}

.availability-slot-asap {
  min-height: 96px;
  border-color: rgba(201, 154, 46, 0.44);
  background:
    linear-gradient(135deg, #fff8e8 0%, #ffffff 58%, #f3f7fb 100%);
}

.availability-slot-asap strong {
  padding-right: 0;
  font-size: 1.12rem;
}

.availability-slot-asap .slot-badge {
  display: inline-flex;
  width: max-content;
  margin: 0 0 7px;
  border-radius: 999px;
  background: var(--gold);
  color: #181208;
  padding: 4px 9px;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
}

.availability-list {
  display: grid;
  gap: 10px;
  padding: 16px;
}

@media (max-width: 720px) {
  .appointment-shell {
    grid-template-columns: 1fr;
  }

  .appointment-highlights {
    grid-template-columns: 1fr;
    margin: 18px 0;
  }

  .platform-form {
    padding: 20px;
  }

  .platform-form .form-grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .platform-form .checkbox-line {
    align-items: flex-start;
  }

  .calendar-card-head {
    align-items: stretch;
    flex-direction: column;
  }

  .calendar-card-head .button {
    width: 100%;
  }
}

/* Cleaner compact footer rows. */
.site-footer {
  padding: 36px 0 22px;
}

.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1.1fr;
  gap: 28px 32px;
  align-items: start;
}

.site-footer .footer-grid > div:first-child {
  max-width: 640px;
}

.site-footer .footer-grid > nav {
  min-width: 0;
}

.site-footer .footer-grid > div:last-child {
  min-width: 0;
}

.site-footer h2 {
  margin: 0 0 9px;
  font-size: 0.9rem;
  line-height: 1.2;
}

.site-footer p {
  margin: 8px 0 0;
}

.site-footer ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
}

.site-footer li {
  line-height: 1.22;
}

.site-footer a {
  font-size: 0.88rem;
  line-height: 1.22;
}

.site-footer .footer-note {
  max-width: 660px;
  font-size: 0.82rem;
  line-height: 1.45;
}

.site-footer .footer-cta {
  margin-top: 4px;
}

.footer-bottom {
  margin-top: 24px;
  padding-top: 16px;
}

@media (max-width: 960px) {
  .site-footer .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 26px;
  }

  .site-footer .footer-grid > div:first-child,
  .site-footer .footer-grid > div:last-child,
  .site-footer .footer-grid > nav,
  .site-footer .footer-grid > nav:nth-of-type(1),
  .site-footer .footer-grid > nav:nth-of-type(2),
  .site-footer .footer-grid > nav:nth-of-type(3),
  .site-footer .footer-grid > nav:nth-of-type(4),
  .site-footer .footer-grid > nav:nth-of-type(5) {
    grid-column: auto;
    grid-row: auto;
    justify-self: stretch;
    width: 100%;
  }

  .site-footer .footer-grid > div:first-child,
  .site-footer .footer-grid > div:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .site-footer {
    padding-top: 30px;
  }

  .site-footer .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 18px;
  }

  .site-footer .footer-grid > div:first-child,
  .site-footer .footer-grid > div:last-child {
    grid-column: 1 / -1;
  }

  .site-footer .footer-grid > nav:nth-of-type(1),
  .site-footer .footer-grid > nav:nth-of-type(2),
  .site-footer .footer-grid > nav:nth-of-type(5) {
    grid-column: 1 / -1;
  }

  .site-footer .footer-grid > nav:nth-of-type(3) {
    grid-column: 1;
  }

  .site-footer .footer-grid > nav:nth-of-type(4) {
    grid-column: 2;
  }

  .site-footer .footer-grid > div:last-child {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px 16px;
  }

  .site-footer .footer-grid > div:last-child h2,
  .site-footer .footer-grid > div:last-child p:nth-of-type(3),
  .site-footer .footer-grid > div:last-child p:nth-of-type(4) {
    grid-column: 1 / -1;
  }

  .site-footer .footer-grid > div:last-child p {
    margin: 0;
  }

  .site-footer a {
    font-size: 0.9rem;
  }
}

@media (max-width: 390px) {
  .site-footer .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Final header brand spacing polish. */
.site-header .header-row {
  min-height: 76px;
  padding-top: 9px;
  padding-bottom: 9px;
}

.site-header .brand {
  min-width: 0;
  transform: translateY(2px);
}

.site-header .brand > span {
  display: inline-grid;
  gap: 4px;
  justify-items: start;
  inline-size: clamp(194px, 18.9vw, 242px);
  max-width: min(100%, calc(100vw - 148px));
  line-height: 1;
}

.site-header .text-brand strong {
  margin: 0;
  padding-bottom: 5px;
  color: var(--navy);
  font-size: clamp(1.28rem, 2.1vw, 1.5rem);
  line-height: 0.98;
}

.site-header .text-brand strong::after {
  height: 3px;
  bottom: 0;
}

.site-header .header-local-badge {
  align-items: flex-end;
  width: 100%;
  gap: 6px;
  justify-content: flex-start;
  margin-top: 0;
  line-height: 1;
}

.site-header .header-badge-flag {
  width: 28px;
  height: 18px;
  transform: translateY(3px);
}

.site-header .header-badge-flag::before {
  width: 12px;
  height: 10px;
}

.site-header .header-badge-copy {
  flex: 1 1 auto;
  font-size: clamp(0.66rem, 1.02vw, 0.82rem);
  line-height: 0.95;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .site-header .header-row {
    min-height: 68px;
    gap: 8px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .site-header .brand > span {
    gap: 3px;
    inline-size: 194px;
    max-width: calc(100vw - 132px);
  }

  .site-header .text-brand strong {
    padding-bottom: 4px;
    font-size: clamp(1.02rem, 4.8vw, 1.2rem);
  }

  .site-header .header-local-badge {
    gap: 5px;
    margin-top: 0;
  }

  .site-header .header-badge-flag {
    width: 24px;
    height: 16px;
    transform: translateY(3px);
  }

  .site-header .header-badge-flag::before {
    width: 11px;
    height: 9px;
  }

  .site-header .header-badge-copy {
    font-size: clamp(0.64rem, 2.6vw, 0.76rem);
  }
}

/* Area search box */
.area-search {
  margin: 28px 0 8px;
  max-width: 560px;
  position: relative;
}

.area-search-label {
  display: block;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.area-search-input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  padding: 10px 16px;
  font-size: 1rem;
  font-family: inherit;
}

.area-search-input:focus {
  outline: 3px solid var(--focus-ring);
  outline-offset: 1px;
}

.area-search-results {
  list-style: none;
  margin: 6px 0 0;
  padding: 6px;
  position: absolute;
  z-index: 20;
  width: 100%;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-lift);
}

.area-search-results[hidden] { display: none; }

.area-search-results li a {
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--navy);
  text-decoration: none;
}

.area-search-results li a:hover,
.area-search-results li a:focus {
  background: var(--surface);
}

.area-search-hint {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.92rem;
}

.local-hero-photo picture,
.local-visual-card picture,
.about-photo picture,
.blair-seal-frame picture {
  display: block;
}

.area-search-results [role="option"][aria-selected="true"],
.area-search-results [role="option"]:hover,
.area-search-results [role="option"]:focus {
  background: var(--soft-blue);
  color: var(--navy);
  outline: 2px solid rgba(201, 154, 46, 0.42);
  outline-offset: -2px;
}

.map-pin-base span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 3px solid var(--white);
  background: var(--gold);
  color: #17130b;
  box-shadow: 0 10px 24px rgba(12, 39, 72, 0.28);
  font-size: 17px;
  line-height: 1;
}

.map-pin-linked span,
.map-pin-unlinked span {
  display: block;
  border-radius: 999px;
  box-shadow: 0 7px 18px rgba(12, 39, 72, 0.24);
}

.map-pin-linked span {
  width: 22px;
  height: 22px;
  border: 3px solid var(--white);
  background: #1d7d76;
}

.map-pin-unlinked span {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.86);
  background: #80a8a3;
  opacity: 0.88;
}

.leaflet-marker-icon.marker-cluster-small,
.leaflet-marker-icon.marker-cluster-medium,
.leaflet-marker-icon.marker-cluster-large,
.marker-cluster-small,
.marker-cluster-medium,
.marker-cluster-large {
  background: rgba(29, 125, 118, 0.2) !important;
}

.leaflet-marker-icon.marker-cluster-small div,
.leaflet-marker-icon.marker-cluster-medium div,
.leaflet-marker-icon.marker-cluster-large div,
.marker-cluster-small div,
.marker-cluster-medium div,
.marker-cluster-large div {
  background: #1d7d76 !important;
  color: var(--white) !important;
  font-weight: 900;
}

.leaflet-marker-icon.marker-cluster-medium div,
.marker-cluster-medium div {
  background: #17615c !important;
}

.leaflet-marker-icon.marker-cluster-large div,
.marker-cluster-large div {
  background: var(--navy) !important;
}

.map-popup-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 12px;
}

.map-popup-actions a,
.map-reset-control {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  background: var(--navy);
  color: var(--white) !important;
  cursor: pointer;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.2;
  padding: 9px 12px;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

.map-popup-actions a[href^="sms:"] {
  background: var(--gold);
  color: #17130b !important;
}

.map-popup-actions a:not([href^="tel:"]):not([href^="sms:"]) {
  background: var(--soft-blue, #eef3fb);
  color: var(--navy) !important;
  border: 1px solid var(--line);
  white-space: normal;
}

.map-reset-control {
  box-shadow: 0 10px 24px rgba(12, 39, 72, 0.18);
}

@media (max-width: 720px) {
  .platform-chat {
    right: max(14px, env(safe-area-inset-right));
    bottom: max(18px, env(safe-area-inset-bottom));
  }

  .platform-chat-actions {
    gap: 8px;
  }

  .platform-call-bubble,
  .platform-chat-bubble {
    min-height: 48px;
    padding: 9px 12px;
  }

  .visual-card-body .button-row,
  .hero-contact .button-row {
    padding-bottom: 74px;
  }
}

/* Areas served directory: dense chip cloud for the full service-area list */
.areas-served {
  margin-top: 36px;
}

.areas-served > h2,
.areas-served > h3 {
  margin-bottom: 6px;
}

.areas-served > p {
  max-width: 68ch;
  color: var(--muted, #4a5568);
}

.areas-served .area-buttons {
  gap: 8px;
  margin-top: 18px;
}

.areas-served .area-buttons a {
  min-height: 0;
  padding: 7px 13px;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 999px;
}

/* Desktop navigation: show the primary nav inline and hide the hamburger.
   Placed last on purpose -- earlier unconditional .primary-nav rules in this
   file (multiple redesign passes) otherwise win the cascade at all widths. */
@media (min-width: 981px) {
  body .site-header .menu-toggle {
    display: none !important;
  }

  body .site-header .primary-nav {
    position: static !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    gap: 2px !important;
    border: 0 !important;
    border-top: 0 !important;
    border-radius: 0 !important;
    background: none !important;
    padding: 0 !important;
    box-shadow: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: none !important;
    visibility: visible !important;
  }

  body .site-header .primary-nav a {
    position: relative !important;
    width: auto !important;
    min-height: 0 !important;
    border: 0 !important;
    background: none !important;
    padding: 10px 12px !important;
    text-align: left !important;
  }

  body .site-header .primary-nav a::after {
    content: none !important;
  }

  body .site-header .primary-nav .nav-button {
    margin-left: 6px !important;
    padding: 10px 16px !important;
  }
}

/* Glass polish and scroll-triggered floating action dock. */
:root {
  --glass-surface: rgba(255, 255, 255, 0.64);
  --glass-surface-strong: rgba(255, 255, 255, 0.74);
  --glass-surface-soft: rgba(248, 250, 252, 0.58);
  --glass-border: rgba(255, 255, 255, 0.66);
  --glass-line: rgba(12, 39, 72, 0.12);
  --glass-shadow: 0 18px 46px rgba(11, 43, 79, 0.12);
  --glass-shadow-soft: 0 10px 28px rgba(11, 43, 79, 0.08);
  --glass-dark: rgba(8, 33, 61, 0.76);
  --browser-chrome-bottom: 0px;
  --mobile-browser-bar-offset: 0px;
}

body {
  background:
    linear-gradient(135deg, rgba(216, 166, 43, 0.12) 0%, transparent 32%),
    linear-gradient(215deg, rgba(29, 125, 118, 0.1) 0%, transparent 36%),
    linear-gradient(180deg, #f7f5ed 0%, #ffffff 38%, #eef4f7 100%);
}

.site-header {
  border-bottom: 3px solid var(--gold);
  background: rgba(255, 255, 255, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 14px 38px rgba(11, 43, 79, 0.14);
  backdrop-filter: blur(22px) saturate(1.45);
  -webkit-backdrop-filter: blur(22px) saturate(1.45);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 3px;
  background: linear-gradient(90deg, rgba(216, 166, 43, 0.62), var(--gold), rgba(216, 166, 43, 0.62));
  pointer-events: none;
}

.menu-toggle,
.primary-nav,
.area-search-results {
  background: var(--glass-surface-strong);
  border-color: var(--glass-line);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
}

.menu-toggle {
  background: linear-gradient(135deg, rgba(11, 43, 79, 0.94), rgba(20, 63, 111, 0.86));
  border-color: rgba(216, 166, 43, 0.54);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 16px 34px rgba(11, 43, 79, 0.22);
}

.primary-nav {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 250, 252, 0.86));
}

.primary-nav a,
.area-buttons a,
.link-panel a,
.footer-cta,
.calendar-label,
.map-reset-control {
  backdrop-filter: blur(10px) saturate(1.2);
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
}

.primary-nav a {
  background: rgba(255, 255, 255, 0.72);
}

.hero,
.page-hero,
.alt,
.appointment-section {
  background:
    linear-gradient(135deg, rgba(216, 166, 43, 0.16), rgba(255, 255, 255, 0.58) 44%, rgba(29, 125, 118, 0.14)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(246, 241, 229, 0.52)),
    var(--soft);
}

.service-card,
.city-card,
.county-card,
.link-panel,
.notice-panel,
.appointment-form,
.hero-contact,
.premium-hero-panel,
.portrait-frame,
.about-photo,
.local-hero-photo,
.local-visual-card,
.local-badge-card,
.made-in-card,
.calendar-card,
.appointment-highlights div,
.trust-grid span,
.premium-trust-grid span,
.sitemap-grid .link-panel,
details,
.area-search-input,
.availability-slot,
.platform-form {
  border-color: rgba(255, 255, 255, 0.76);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.66), rgba(255, 255, 255, 0.42));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 22px 48px rgba(11, 43, 79, 0.15);
  backdrop-filter: blur(22px) saturate(1.34);
  -webkit-backdrop-filter: blur(22px) saturate(1.34);
}

.service-card:hover,
.city-card:hover,
.county-card:hover,
.link-panel a:hover,
.area-buttons a:hover,
.availability-slot:hover,
.availability-slot[aria-pressed="true"] {
  box-shadow: var(--glass-shadow);
}

.hero-contact,
.premium-hero-panel,
.platform-form,
.appointment-form,
.calendar-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(250, 253, 255, 0.5));
  border-color: rgba(255, 255, 255, 0.82);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 20px 48px rgba(11, 43, 79, 0.14);
}

.side-panel,
.cta-band,
.site-footer {
  background:
    linear-gradient(180deg, rgba(11, 43, 79, 0.94), rgba(8, 33, 61, 0.96));
}

.side-panel {
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 44px rgba(8, 33, 61, 0.18);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
}

.cta-band {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.button,
.platform-call-bubble,
.platform-chat-bubble,
.platform-text-bubble,
.platform-action-dismiss {
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.platform-chat {
  display: grid;
  justify-items: end;
  gap: 10px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px);
  visibility: hidden;
  transition: opacity 220ms ease, transform 220ms ease, visibility 220ms ease;
}

.platform-chat.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
}

.platform-chat-actions {
  position: relative;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.platform-call-bubble,
.platform-chat-bubble,
.platform-text-bubble {
  min-height: 54px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 12px 18px 12px 12px;
  font-weight: 950;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.platform-call-bubble {
  background: rgba(11, 43, 79, 0.94);
  color: #ffffff;
}

.platform-chat-bubble {
  background: linear-gradient(135deg, rgba(216, 166, 43, 0.96), rgba(243, 203, 98, 0.96));
  color: #17130b;
}

.platform-text-bubble {
  background: rgba(255, 255, 255, 0.9);
  color: var(--navy);
  border-color: rgba(12, 39, 72, 0.12);
}

.platform-call-bubble:hover,
.platform-chat-bubble:hover,
.platform-text-bubble:hover,
.platform-action-dismiss:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(11, 43, 79, 0.16);
}

.call-bubble-icon,
.chat-bubble-icon,
.text-bubble-icon {
  position: relative;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 50%;
}

.call-bubble-icon {
  background: #ffffff;
  color: var(--navy);
}

.chat-bubble-icon {
  background: var(--navy);
  color: #ffffff;
}

.text-bubble-icon {
  background: var(--soft-blue);
  color: var(--navy);
}

.text-bubble-icon::before,
.text-bubble-icon::after {
  content: none !important;
  display: none !important;
}

.platform-action-dismiss {
  width: 32px;
  height: 32px;
  min-height: 32px;
  align-self: center;
  border: 1px solid rgba(12, 39, 72, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  color: var(--navy);
  cursor: pointer;
  font: inherit;
  font-size: 1.1rem;
  font-weight: 900;
  line-height: 1;
}

.platform-chat-panel {
  background: rgba(242, 242, 247, 0.88);
  box-shadow: 0 30px 90px rgba(11, 43, 79, 0.3);
  backdrop-filter: blur(22px) saturate(1.35);
  -webkit-backdrop-filter: blur(22px) saturate(1.35);
}

.platform-chat-header,
.chat-reply-form {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
}

body.floating-actions-visible {
  scroll-padding-bottom: 104px;
}

@media (min-width: 981px) {
  body .site-header .primary-nav a {
    border-radius: 999px !important;
  }

  body .site-header .primary-nav a:hover,
  body .site-header .primary-nav a[aria-current="page"] {
    background: rgba(255, 255, 255, 0.74) !important;
    box-shadow: 0 10px 24px rgba(11, 43, 79, 0.08) !important;
  }

  body .site-header .primary-nav .nav-button {
    background: rgba(216, 166, 43, 0.92) !important;
  }
}

@media (max-width: 720px) {
  :root {
    --mobile-browser-bar-offset: max(92px, var(--browser-chrome-bottom, 0px));
  }

  body {
    padding-bottom: 0 !important;
  }

  body.floating-actions-visible {
    padding-bottom: calc(168px + env(safe-area-inset-bottom, 0px)) !important;
    scroll-padding-bottom: calc(184px + env(safe-area-inset-bottom, 0px));
  }

  .site-footer {
    padding-bottom: calc(34px + env(safe-area-inset-bottom, 0px));
  }

  body.floating-actions-visible .site-footer {
    padding-bottom: calc(154px + env(safe-area-inset-bottom, 0px));
  }

  .site-header {
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(20px) saturate(1.35);
    -webkit-backdrop-filter: blur(20px) saturate(1.35);
  }

  .platform-chat {
    left: 0;
    right: 0;
    bottom: calc(var(--mobile-browser-bar-offset) + 12px + env(safe-area-inset-bottom, 0px));
    justify-items: center;
    transform: translateY(20px);
  }

  .platform-chat.is-visible {
    transform: translateY(0);
  }

  .platform-chat-actions {
    width: min(420px, calc(100vw - 24px));
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.05fr) minmax(0, 1fr) 32px;
    gap: 5px;
    border: 1px solid var(--glass-line);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 18px 48px rgba(11, 43, 79, 0.22);
    backdrop-filter: blur(20px) saturate(1.45);
    -webkit-backdrop-filter: blur(20px) saturate(1.45);
    padding: 6px;
  }

  .platform-call-bubble,
  .platform-chat-bubble,
  .platform-text-bubble {
    width: 100%;
    min-width: 0;
    min-height: 42px;
    gap: 6px;
    padding: 8px 7px;
    font-size: 0.76rem;
  }

  .platform-action-dismiss {
    width: 30px;
    height: 30px;
    min-height: 30px;
  }

  .call-bubble-icon,
  .chat-bubble-icon,
  .text-bubble-icon {
    width: 24px;
    height: 24px;
  }

  .bubble-svg {
    width: 14px;
    height: 14px;
  }

  .platform-chat-panel {
    bottom: calc(var(--mobile-browser-bar-offset) + 72px + env(safe-area-inset-bottom, 0px));
  }

  .visual-card-body .button-row,
  .hero-contact .button-row {
    padding-bottom: 0;
  }
}

@media (max-width: 390px) {
  .platform-chat-actions {
    width: min(350px, calc(100vw - 18px));
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr) minmax(0, 0.92fr) 28px;
    gap: 4px;
    padding: 5px;
  }

  .platform-call-bubble,
  .platform-chat-bubble,
  .platform-text-bubble {
    min-height: 40px;
    gap: 4px;
    padding-inline: 4px;
    font-size: 0.66rem;
  }

  .call-bubble-icon,
  .chat-bubble-icon,
  .text-bubble-icon {
    width: 20px;
    height: 20px;
  }

  .platform-action-dismiss {
    width: 28px;
    height: 28px;
    min-height: 28px;
  }
}

@media (max-width: 980px) and (max-height: 520px) {
  :root {
    --mobile-browser-bar-offset: max(76px, var(--browser-chrome-bottom, 0px));
  }

  body.floating-actions-visible {
    padding-bottom: calc(142px + env(safe-area-inset-bottom, 0px)) !important;
    scroll-padding-bottom: calc(156px + env(safe-area-inset-bottom, 0px));
  }

  .platform-chat {
    bottom: calc(var(--mobile-browser-bar-offset) + 8px + env(safe-area-inset-bottom, 0px));
  }

  .platform-chat-actions {
    width: min(560px, calc(100vw - 48px));
  }

  .platform-chat-panel {
    bottom: calc(var(--mobile-browser-bar-offset) + 62px + env(safe-area-inset-bottom, 0px));
    max-height: calc(100svh - 112px - var(--mobile-browser-bar-offset));
  }
}

/* Button, map, and footer interface polish. */
.menu-toggle {
  min-height: 54px;
  border: 1px solid rgba(216, 166, 43, 0.72);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(10, 39, 72, 0.94), rgba(18, 69, 116, 0.86)),
    rgba(10, 39, 72, 0.82);
  color: var(--white);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 18px 36px rgba(11, 43, 79, 0.2);
  backdrop-filter: blur(18px) saturate(1.35);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
}

.menu-toggle:hover,
.menu-toggle[aria-expanded="true"] {
  border-color: rgba(216, 166, 43, 0.9);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 20px 40px rgba(11, 43, 79, 0.26);
}

.menu-toggle-lines {
  width: 30px;
  height: 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.menu-toggle-lines span {
  height: 3px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.14);
}

@media (min-width: 981px) {
  body .site-header .primary-nav {
    gap: 6px !important;
  }

  body .site-header .primary-nav a {
    border: 1px solid rgba(255, 255, 255, 0.56) !important;
    border-radius: 999px !important;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.44)) !important;
    color: var(--navy) !important;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.86),
      0 10px 24px rgba(11, 43, 79, 0.08) !important;
    backdrop-filter: blur(14px) saturate(1.25);
    -webkit-backdrop-filter: blur(14px) saturate(1.25);
  }

  body .site-header .primary-nav a:hover,
  body .site-header .primary-nav a[aria-current="page"] {
    border-color: rgba(216, 166, 43, 0.5) !important;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 252, 0.62)) !important;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.94),
      0 14px 28px rgba(11, 43, 79, 0.12) !important;
    transform: translateY(-1px);
  }

  body .site-header .primary-nav .nav-button {
    border-color: rgba(159, 116, 24, 0.36) !important;
    background:
      linear-gradient(180deg, #f0c65d, var(--gold)) !important;
    color: #17130b !important;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.34),
      0 14px 30px rgba(159, 116, 24, 0.22) !important;
  }
}

.hero-contact .button-row,
.appointment-form .button-row,
.visual-card-body .button-row {
  gap: 12px;
}

.hero-contact .button,
.appointment-form .button,
.visual-card-body .button,
.button[href^="tel:"],
.button[href^="sms:"] {
  border-radius: 10px;
  border-width: 1px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    0 16px 34px rgba(11, 43, 79, 0.14);
}

.button[href^="tel:"],
.hero-contact .button-primary,
.appointment-form .button-primary {
  background:
    linear-gradient(180deg, rgba(17, 60, 105, 0.98), var(--navy));
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--white);
}

.button[href^="sms:"],
.hero-contact .button-secondary,
.appointment-form .button-secondary {
  background:
    linear-gradient(180deg, #efc85f, var(--gold));
  border-color: rgba(159, 116, 24, 0.34);
  color: #17130b;
}

.hero-contact .button:hover,
.appointment-form .button:hover,
.visual-card-body .button:hover,
.button[href^="tel:"]:hover,
.button[href^="sms:"]:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 20px 42px rgba(11, 43, 79, 0.18);
}

.map-frame {
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.34));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.74),
    0 28px 70px rgba(11, 43, 79, 0.16);
  backdrop-filter: blur(22px) saturate(1.32);
  -webkit-backdrop-filter: blur(22px) saturate(1.32);
}

.map-toolbar {
  min-height: 58px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
  background:
    linear-gradient(135deg, rgba(10, 39, 72, 0.92), rgba(18, 69, 116, 0.78));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 14px 28px rgba(11, 43, 79, 0.16);
}

.map-toolbar span {
  color: #f1c65e;
  letter-spacing: 0.05em;
}

.map-toolbar strong {
  color: var(--white);
}

.map-frame .service-map {
  border-top: 0;
}

.map-reset-control,
.map-popup-actions a,
.leaflet-control-zoom a {
  border: 1px solid rgba(255, 255, 255, 0.68) !important;
  border-radius: 10px !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.6)) !important;
  color: var(--navy) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 12px 28px rgba(11, 43, 79, 0.14) !important;
  backdrop-filter: blur(14px) saturate(1.25);
  -webkit-backdrop-filter: blur(14px) saturate(1.25);
}

.map-reset-control:hover,
.map-popup-actions a:hover,
.leaflet-control-zoom a:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 16px 32px rgba(11, 43, 79, 0.18) !important;
}

.map-popup-actions a[href^="tel:"],
.map-popup-actions a[href^="sms:"] {
  background:
    linear-gradient(180deg, rgba(17, 60, 105, 0.98), var(--navy)) !important;
  color: var(--white) !important;
}

.map-popup-actions a[href^="sms:"] {
  background:
    linear-gradient(180deg, #efc85f, var(--gold)) !important;
  color: #17130b !important;
}

.leaflet-control-zoom {
  border: 0 !important;
  box-shadow: none !important;
}

.leaflet-popup-content-wrapper {
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 24px 54px rgba(11, 43, 79, 0.22);
  backdrop-filter: blur(18px) saturate(1.26);
  -webkit-backdrop-filter: blur(18px) saturate(1.26);
}

.leaflet-popup-tip {
  background: rgba(255, 255, 255, 0.82);
}

.site-footer {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(216, 166, 43, 0.36);
  background:
    linear-gradient(135deg, rgba(216, 166, 43, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(10, 39, 72, 0.96), rgba(5, 24, 46, 0.98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.06), transparent 24%, rgba(255, 255, 255, 0.04) 68%, transparent);
  pointer-events: none;
}

.site-footer .footer-grid > div,
.site-footer .footer-grid > nav {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 18px 40px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(16px) saturate(1.18);
  -webkit-backdrop-filter: blur(16px) saturate(1.18);
}

.site-footer h2 {
  color: #f2c964;
}

.site-footer a {
  border-radius: 8px;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.site-footer a:hover {
  color: #ffe29a;
}

.site-footer .footer-cta {
  border: 1px solid rgba(159, 116, 24, 0.42);
  border-radius: 10px;
  background:
    linear-gradient(180deg, #efc85f, var(--gold));
  color: #17130b !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    0 16px 34px rgba(0, 0, 0, 0.18);
}

.footer-bottom {
  position: relative;
  border-top-color: rgba(255, 255, 255, 0.12);
}

@media (max-width: 720px) {
  .menu-toggle {
    min-height: 52px;
    padding-inline: 16px;
  }

  .hero-contact .button-row,
  .appointment-form .button-row,
  .visual-card-body .button-row {
    gap: 10px;
  }

  .hero-contact .button,
  .appointment-form .button,
  .visual-card-body .button {
    border-radius: 9px;
  }

  .map-frame {
    border-radius: 10px;
  }

  .map-toolbar {
    min-height: 54px;
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .site-footer .footer-grid > div,
  .site-footer .footer-grid > nav {
    border-radius: 10px;
  }
}

/* Restrained Apple-inspired Liquid Glass hierarchy. */
:root {
  --navy: #173c73;
  --navy-2: #0b2b4f;
  --gold: #e3b12d;
  --gold-dark: #9f7418;
  --page-soft: #f7f8fa;
  --glass-white: rgba(255, 255, 255, 0.68);
  --glass-white-strong: rgba(255, 255, 255, 0.78);
  --glass-white-soft: rgba(255, 255, 255, 0.58);
  --glass-border-premium: rgba(255, 255, 255, 0.55);
  --glass-shadow-premium: rgba(18, 36, 67, 0.14);
  --glass-shadow-deep: rgba(18, 36, 67, 0.24);
  --liquid-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

body {
  background:
    linear-gradient(145deg, rgba(227, 177, 45, 0.055), transparent 34rem),
    linear-gradient(220deg, rgba(23, 60, 115, 0.06), transparent 38rem),
    var(--page-soft);
}

.hero,
.page-hero,
.alt,
.appointment-section {
  background:
    linear-gradient(145deg, rgba(227, 177, 45, 0.055), rgba(255, 255, 255, 0.72) 42%, rgba(23, 60, 115, 0.045)),
    var(--page-soft);
}

.site-header {
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 2px solid rgba(227, 177, 45, 0.86);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    0 10px 26px rgba(18, 36, 67, 0.08);
  backdrop-filter: blur(12px) saturate(1.12);
  -webkit-backdrop-filter: blur(12px) saturate(1.12);
}

.site-header::after {
  bottom: -2px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(227, 177, 45, 0.86), transparent);
}

.site-header .text-brand strong::after {
  background: var(--gold);
}

.eyebrow,
.hero-contact-label,
.calendar-label {
  color: var(--gold-dark);
}

.service-card,
.city-card,
.county-card,
.link-panel,
.notice-panel,
.portrait-frame,
.local-visual-card,
.local-badge-card,
.made-in-card,
.appointment-highlights div,
.trust-grid span,
.premium-trust-grid span,
.sitemap-grid .link-panel,
details,
.availability-slot {
  border: 1px solid var(--glass-border-premium);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.66));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 16px 38px var(--glass-shadow-premium);
  backdrop-filter: blur(14px) saturate(1.18);
  -webkit-backdrop-filter: blur(14px) saturate(1.18);
  transition:
    background 420ms var(--liquid-ease),
    border-color 420ms var(--liquid-ease),
    box-shadow 420ms var(--liquid-ease),
    transform 260ms var(--liquid-ease);
}

.service-card.is-in-view,
.city-card.is-in-view,
.county-card.is-in-view,
.link-panel.is-in-view,
.notice-panel.is-in-view,
.portrait-frame.is-in-view,
.local-visual-card.is-in-view,
.local-badge-card.is-in-view,
.made-in-card.is-in-view,
.calendar-card.is-in-view,
.hero-contact.is-in-view,
.premium-hero-panel.is-in-view,
.appointment-form.is-in-view,
.platform-form.is-in-view,
.map-frame.is-in-view {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.7));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 20px 44px rgba(18, 36, 67, 0.16);
}

.hero-contact,
.premium-hero-panel,
.calendar-card,
.appointment-form,
.platform-form,
.cta-band {
  border: 1px solid rgba(255, 255, 255, 0.62);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.58));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 24px 58px rgba(18, 36, 67, 0.16);
  backdrop-filter: blur(16px) saturate(1.22);
  -webkit-backdrop-filter: blur(16px) saturate(1.22);
}

.cta-band {
  color: var(--navy);
}

.cta-band h2,
.cta-band p {
  color: var(--navy);
}

.portrait-caption,
.local-hero-photo figcaption {
  transform: translateY(-10px);
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-top-color: rgba(227, 177, 45, 0.76);
  background:
    linear-gradient(135deg, rgba(23, 60, 115, 0.78), rgba(7, 24, 46, 0.72));
  color: var(--white);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 22px 48px rgba(7, 24, 46, 0.34);
  backdrop-filter: blur(20px) saturate(1.36);
  -webkit-backdrop-filter: blur(20px) saturate(1.36);
}

.portrait-caption strong,
.local-hero-photo figcaption strong {
  color: var(--gold);
}

.button,
.primary-nav a,
.menu-toggle,
.platform-chat,
.platform-chat-actions,
.platform-call-bubble,
.platform-chat-bubble,
.platform-text-bubble,
.platform-action-dismiss,
.map-reset-control,
.map-popup-actions a,
.leaflet-control-zoom a,
.area-search-input,
.area-search-results {
  transition:
    opacity 260ms var(--liquid-ease),
    transform 260ms var(--liquid-ease),
    background 360ms var(--liquid-ease),
    border-color 360ms var(--liquid-ease),
    box-shadow 360ms var(--liquid-ease),
    filter 360ms var(--liquid-ease);
}

.button-primary,
.button[href*="appointment"],
.button[href^="tel:"],
.hero-contact .button-primary,
.appointment-form .button-primary,
body .site-header .primary-nav .nav-button {
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  background:
    linear-gradient(180deg, #1b477e, var(--navy)) !important;
  color: var(--white) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 16px 34px rgba(18, 36, 67, 0.2) !important;
}

.button-secondary,
.button-outline,
.button-light,
.button[href^="sms:"],
.hero-contact .button-secondary,
.appointment-form .button-secondary {
  border: 1px solid rgba(18, 36, 67, 0.12) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.82)) !important;
  color: var(--navy) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 12px 26px rgba(18, 36, 67, 0.12) !important;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 20px 42px rgba(18, 36, 67, 0.18) !important;
}

.button:active,
.menu-toggle:active,
.platform-call-bubble:active,
.platform-chat-bubble:active,
.platform-text-bubble:active,
.map-reset-control:active,
.map-popup-actions a:active {
  transform: translateY(1px) scale(0.985);
}

body .site-header .primary-nav a {
  background: rgba(255, 255, 255, 0.72) !important;
  border-color: rgba(255, 255, 255, 0.52) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    0 8px 18px rgba(18, 36, 67, 0.08) !important;
}

body .site-header .primary-nav a:hover,
body .site-header .primary-nav a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.86) !important;
  border-color: rgba(227, 177, 45, 0.46) !important;
}

.menu-toggle {
  isolation: isolate;
  border: 1px solid rgba(255, 255, 255, 0.62);
  background:
    radial-gradient(circle at 28% 18%, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.48) 34%, rgba(255, 255, 255, 0.24) 72%),
    rgba(255, 255, 255, 0.68);
  color: var(--navy);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    inset 0 -1px 0 rgba(18, 36, 67, 0.06),
    0 18px 42px rgba(18, 36, 67, 0.18);
  backdrop-filter: blur(28px) saturate(1.45);
  -webkit-backdrop-filter: blur(28px) saturate(1.45);
}

.menu-toggle::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.16));
  opacity: 0.72;
}

.menu-toggle:hover,
.menu-toggle[aria-expanded="true"] {
  color: var(--navy);
  border-color: rgba(255, 255, 255, 0.78);
  filter: saturate(1.06);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 24px 52px rgba(18, 36, 67, 0.22);
}

.menu-toggle:active {
  filter: saturate(1.12) brightness(0.98);
}

.menu-toggle-lines {
  background: rgba(23, 60, 115, 0.08);
}

.menu-toggle-lines span {
  background: var(--navy);
}

.platform-chat {
  transform: translateY(20px) scale(0.98);
  transition:
    opacity 360ms var(--liquid-ease),
    transform 420ms var(--liquid-ease),
    visibility 360ms var(--liquid-ease),
    filter 360ms var(--liquid-ease);
}

.platform-chat.is-visible {
  transform: translateY(0) scale(1);
}

.platform-chat-actions {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.48));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    inset 0 -1px 0 rgba(18, 36, 67, 0.06),
    0 24px 56px rgba(18, 36, 67, 0.22);
  backdrop-filter: blur(30px) saturate(1.48);
  -webkit-backdrop-filter: blur(30px) saturate(1.48);
}

.platform-call-bubble,
.platform-chat-bubble,
.platform-text-bubble {
  min-height: 48px;
  border-radius: 999px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 10px 22px rgba(18, 36, 67, 0.14);
}

.platform-call-bubble {
  background:
    linear-gradient(180deg, #1b477e, var(--navy));
}

.platform-chat-bubble {
  background:
    linear-gradient(180deg, #f1ca62, var(--gold));
  color: #17130b;
}

.platform-text-bubble,
.platform-action-dismiss {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.78));
  border-color: rgba(18, 36, 67, 0.08);
  color: var(--navy);
}

body.is-scrolling .platform-chat.is-visible .platform-chat-actions,
body.is-scrolling .menu-toggle,
body.is-scrolling .map-reset-control,
body.is-scrolling .area-search-input {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.42));
  filter: saturate(1.05);
}

.map-frame {
  border-color: rgba(255, 255, 255, 0.62);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.54));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 24px 54px rgba(18, 36, 67, 0.15);
  backdrop-filter: blur(12px) saturate(1.12);
  -webkit-backdrop-filter: blur(12px) saturate(1.12);
}

.map-toolbar {
  border-bottom: 1px solid rgba(255, 255, 255, 0.56);
  background:
    linear-gradient(180deg, rgba(23, 60, 115, 0.94), rgba(11, 43, 79, 0.9));
}

.map-toolbar span {
  color: var(--gold);
}

.map-reset-control,
.map-popup-actions a,
.leaflet-control-zoom a,
.area-search-input,
.area-search-results {
  border: 1px solid rgba(255, 255, 255, 0.64) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.52)) !important;
  color: var(--navy) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    0 18px 42px rgba(18, 36, 67, 0.16) !important;
  backdrop-filter: blur(28px) saturate(1.4);
  -webkit-backdrop-filter: blur(28px) saturate(1.4);
}

.area-search-input::placeholder {
  color: rgba(23, 60, 115, 0.5);
}

.map-popup-actions a[href^="tel:"],
.map-popup-actions a[href^="sms:"] {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.78)) !important;
  color: var(--navy) !important;
}

.leaflet-popup-content-wrapper,
.platform-chat-panel {
  border: 1px solid rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 28px 70px rgba(18, 36, 67, 0.24);
  backdrop-filter: blur(28px) saturate(1.36);
  -webkit-backdrop-filter: blur(28px) saturate(1.36);
}

.site-footer {
  background:
    linear-gradient(145deg, rgba(227, 177, 45, 0.08), transparent 34%),
    linear-gradient(180deg, #0e2f59, #07182e);
  border-top-color: rgba(227, 177, 45, 0.32);
}

.site-footer .footer-grid > div,
.site-footer .footer-grid > nav {
  border-color: rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.045);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 14px 34px rgba(0, 0, 0, 0.1);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.site-footer h2 {
  color: var(--gold);
}

.site-footer .footer-cta {
  background:
    linear-gradient(180deg, #1b477e, var(--navy));
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--white) !important;
}

@media (max-width: 720px) {
  .site-header {
    background: rgba(255, 255, 255, 0.74);
    backdrop-filter: blur(16px) saturate(1.18);
    -webkit-backdrop-filter: blur(16px) saturate(1.18);
  }

  .platform-chat-actions {
    width: min(420px, calc(100vw - 24px));
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.04fr) minmax(0, 0.96fr) 32px;
    gap: 5px;
    padding: 6px;
  }

  .platform-call-bubble,
  .platform-chat-bubble,
  .platform-text-bubble {
    min-height: 42px;
  }

  .portrait-caption,
  .local-hero-photo figcaption {
    transform: translateY(-8px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .button,
  .menu-toggle,
  .platform-chat,
  .platform-chat-actions,
  .platform-call-bubble,
  .platform-chat-bubble,
  .platform-text-bubble,
  .map-reset-control,
  .map-popup-actions a,
  .leaflet-control-zoom a,
  .service-card,
  .city-card,
  .county-card,
  .link-panel,
  .notice-panel,
  .hero-contact,
  .premium-hero-panel,
  .calendar-card,
  .appointment-form,
  .platform-form {
    transition: none !important;
  }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .service-card,
  .city-card,
  .county-card,
  .link-panel,
  .notice-panel,
  .hero-contact,
  .premium-hero-panel,
  .calendar-card,
  .appointment-form,
  .platform-form,
  .menu-toggle,
  .platform-chat-actions,
  .map-reset-control,
  .map-popup-actions a,
  .leaflet-control-zoom a,
  .area-search-input,
  .area-search-results,
  .portrait-caption,
  .local-hero-photo figcaption {
    background-color: rgba(255, 255, 255, 0.94) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .portrait-caption,
  .local-hero-photo figcaption {
    background-color: rgba(11, 43, 79, 0.94) !important;
  }
}

/* Homepage map-card refinement from the Liquid Glass reference. */
.home-map-section {
  background:
    linear-gradient(145deg, rgba(23, 60, 115, 0.08), transparent 30rem),
    linear-gradient(220deg, rgba(227, 177, 45, 0.07), transparent 28rem),
    var(--page-soft);
}

.home-map-grid.service-tier-map {
  align-items: start;
  margin-bottom: clamp(26px, 5vw, 48px);
}

.home-map-grid .text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 10px;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.58));
  color: var(--navy);
  padding: 10px 18px;
  text-decoration: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 18px 42px rgba(18, 36, 67, 0.14);
  backdrop-filter: blur(28px) saturate(1.38);
  -webkit-backdrop-filter: blur(28px) saturate(1.38);
  transition:
    transform 260ms var(--liquid-ease),
    background 360ms var(--liquid-ease),
    box-shadow 360ms var(--liquid-ease);
}

.home-map-grid .text-link:hover {
  transform: translateY(-2px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.7));
}

.home-map-grid .map-frame {
  overflow: hidden;
  border-radius: 18px;
}

.home-map-grid .map-toolbar {
  min-height: 52px;
}

.home-map-grid .home-service-map {
  border-radius: 0;
  box-shadow: none;
  filter: saturate(0.96) contrast(1.02);
}

.home-map-grid .map-legend {
  align-self: start;
}

.hero-actions .button[href^="tel:"],
.hero-actions .button[href*="title-company"] {
  border: 1px solid rgba(18, 36, 67, 0.12) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.8)) !important;
  color: var(--navy) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 12px 26px rgba(18, 36, 67, 0.12) !important;
}

@media (max-width: 720px) {
  .home-map-grid {
    gap: 18px;
  }

  .home-map-grid .map-frame {
    border-radius: 16px;
  }

  .home-map-grid .map-toolbar {
    display: none;
  }

  .home-service-map {
    height: 360px;
  }

  .home-map-grid .map-legend {
    margin-top: 0;
    margin-bottom: 8px;
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, 0.58);
    border-radius: 999px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.54));
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.9),
      0 16px 34px rgba(18, 36, 67, 0.14);
    backdrop-filter: blur(24px) saturate(1.34);
    -webkit-backdrop-filter: blur(24px) saturate(1.34);
  }
}

/* ============================================================
   Medium-premium liquid-glass system (v2). Supersedes the earlier
   full-page photo-backdrop + glossy-button passes above: warm
   cream background sitewide, restrained frosted-glass cards, and
   the strongest photo/glass treatment reserved for the homepage
   hero photo only (a real <img>, not a page-wide background).
   Vanilla CSS only, reuses classes already present in every page.
   ============================================================ */

/* ---- Design tokens ---- */
:root {
  --cream-bg: #faf7f0;
  --cream-bg-soft: #f3ede0;
  --glass-card-bg: rgba(255, 255, 255, 0.7);
  --glass-card-bg-strong: rgba(255, 255, 255, 0.86);
  --glass-border: rgba(18, 36, 67, 0.1);
  --glass-border-light: rgba(255, 255, 255, 0.65);
  --radius-card: 16px;
  --radius-pill: 999px;
  --shadow-card: 0 10px 28px rgba(18, 36, 67, 0.08);
  --shadow-card-hover: 0 14px 36px rgba(18, 36, 67, 0.12);
  --gold-accent: #c99a2e;
  --cta-height: 58px;
  --cta-gap: 14px;
  --space-section: clamp(40px, 6vw, 72px);
  --space-card: 22px;
}

/* ---- Page background: flat warm cream sitewide, no photo ---- */
body {
  position: static;
  isolation: auto;
  background: linear-gradient(180deg, var(--cream-bg) 0%, var(--cream-bg-soft) 100%);
}

body::before {
  content: none;
}

/* Sections read as plain warm-cream bands, not floating photo panels.
   Only the homepage hero keeps a stronger treatment (below). */
.hero,
.page-hero,
.alt,
.appointment-section,
.home-map-section,
.trust-section,
.quote-section {
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background:
    linear-gradient(180deg, rgba(227, 177, 45, 0.045), transparent 45%),
    var(--cream-bg);
}

.alt,
.trust-section {
  background: var(--cream-bg-soft);
}

.hero {
  background:
    linear-gradient(160deg, rgba(227, 177, 45, 0.07), transparent 55%),
    var(--cream-bg);
}

/* ---- Buttons: flat 3-tier system, no gloss/gel effects ---- */
.button {
  border-radius: var(--radius-pill);
  box-shadow: none;
}

.button-primary,
.button-primary.button-primary {
  background: var(--navy) !important;
  border-color: var(--navy) !important;
  color: var(--white) !important;
  box-shadow: 0 6px 16px rgba(12, 39, 72, 0.18) !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.button-primary:hover {
  background: var(--navy-2) !important;
  box-shadow: 0 8px 20px rgba(12, 39, 72, 0.22) !important;
}

.button-outline,
.button-outline.button-outline,
.button-secondary {
  background: var(--glass-card-bg-strong) !important;
  border: 1px solid var(--glass-border) !important;
  color: var(--navy) !important;
  box-shadow: none !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.button-outline:hover,
.button-secondary:hover {
  background: var(--white) !important;
  border-color: rgba(18, 36, 67, 0.18) !important;
}

.button-gold {
  background: rgba(201, 154, 46, 0.14) !important;
  border: 1px solid rgba(201, 154, 46, 0.4) !important;
  color: var(--gold-dark) !important;
  box-shadow: none !important;
}

.button-gold:hover {
  background: rgba(201, 154, 46, 0.22) !important;
}

.button-light {
  background: rgba(255, 255, 255, 0.14) !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  color: var(--white) !important;
  box-shadow: none !important;
}

.button-primary.button-primary::before,
.button-outline.button-outline::before {
  content: none;
  display: none;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .button-outline,
  .button-secondary {
    background: rgba(255, 255, 255, 0.96) !important;
  }
}

/* ---- Cards: one restrained glass treatment, no random per-page styles ---- */
.service-card,
.city-card,
.county-card,
.link-panel,
.notice-panel,
.calendar-card,
details {
  background: var(--glass-card-bg) !important;
  border: 1px solid var(--glass-border) !important;
  border-radius: var(--radius-card) !important;
  box-shadow: var(--shadow-card) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  padding: var(--space-card);
}

.service-card:hover,
.city-card:hover,
.county-card:hover {
  box-shadow: var(--shadow-card-hover) !important;
  border-color: rgba(18, 36, 67, 0.16) !important;
}

.card-grid {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .service-card,
  .city-card,
  .county-card,
  .link-panel,
  .notice-panel,
  .calendar-card,
  details {
    background: rgba(255, 255, 255, 0.96) !important;
  }
}

/* ---- Header: soft glass bar, edge to edge (no inset "floating pill") ---- */
.site-header {
  position: relative;
  z-index: 200;
  margin: 0;
  border-radius: 0;
  border: 0;
  border-bottom: 1px solid var(--glass-border);
}

.site-header::after {
  display: none;
}

/* ---- Menu button: calm glass pill, no dark-navy open state ---- */
.menu-toggle {
  background: var(--glass-card-bg-strong);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-pill);
  color: var(--navy);
  box-shadow: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.menu-toggle::before {
  content: none;
}

.menu-toggle:hover,
.menu-toggle[aria-expanded="true"] {
  background: var(--white);
  border-color: rgba(18, 36, 67, 0.18);
  box-shadow: none;
}

.menu-toggle-lines {
  background: none;
}

.menu-toggle-lines span {
  background: var(--navy);
}

/* ---- Mobile nav dropdown: soft glass panel + grouped sections ---- */
.primary-nav {
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.primary-nav a {
  background: rgba(255, 255, 255, 0.98);
  border: 0;
  color: var(--navy);
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  background: rgba(18, 36, 67, 0.06);
}

.primary-nav .nav-group {
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid var(--glass-border);
  margin-top: 8px;
  padding-top: 8px;
}

.primary-nav .nav-group-label {
  display: block;
  padding: 8px 12px 4px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* The Popular Services / Contact groups are a mobile dropdown feature.
   Desktop (>=981px) renders .primary-nav inline in the header at all
   times (no toggle), which was sized for the original 5 short links;
   the injected groups would overflow/overlap the header there. */
@media (min-width: 981px) {
  body .site-header .primary-nav .nav-group {
    display: none !important;
  }
}

body .site-header .primary-nav .nav-button.nav-button {
  background: var(--gold) !important;
  color: #17130b !important;
  box-shadow: none !important;
}

/* ---- Floating CTA: one authoritative position rule, real safe area ---- */
.platform-chat {
  right: 18px;
  bottom: calc(var(--cta-gap) + env(safe-area-inset-bottom, 0px));
}

.platform-chat-actions {
  background: var(--glass-card-bg-strong);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.platform-call-bubble,
.platform-chat-bubble,
.platform-text-bubble {
  min-height: var(--cta-height);
  box-shadow: none;
}

body.floating-actions-visible {
  padding-bottom: calc(var(--cta-height) + var(--cta-gap) * 2 + env(safe-area-inset-bottom, 0px)) !important;
  scroll-padding-bottom: calc(var(--cta-height) + var(--cta-gap) * 3 + env(safe-area-inset-bottom, 0px));
}

@media (max-width: 720px) {
  body {
    padding-bottom: 0 !important;
  }

  .platform-chat {
    left: 0;
    right: 0;
    bottom: calc(var(--cta-gap) + env(safe-area-inset-bottom, 0px) + var(--browser-chrome-bottom, 0px));
    justify-items: center;
  }

  .platform-chat-actions {
    width: min(420px, calc(100vw - 24px));
  }

  body.floating-actions-visible {
    padding-bottom: calc(var(--cta-height) + var(--cta-gap) * 2 + env(safe-area-inset-bottom, 0px) + var(--browser-chrome-bottom, 0px)) !important;
    scroll-padding-bottom: calc(var(--cta-height) + var(--cta-gap) * 3 + env(safe-area-inset-bottom, 0px) + var(--browser-chrome-bottom, 0px));
  }

  .site-footer {
    padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px)) !important;
  }

  body.floating-actions-visible .site-footer {
    padding-bottom: calc(var(--cta-height) + var(--cta-gap) * 2 + env(safe-area-inset-bottom, 0px)) !important;
  }
}

/* Hide the CTA bar while a form control has focus, so it never covers
   the field being edited or the on-screen keyboard. Toggled by
   platform.js via body.form-focused. Restores automatically on blur. */
body.form-focused .platform-chat {
  transform: translateY(140%);
  opacity: 0;
  pointer-events: none;
  transition: transform 220ms ease, opacity 220ms ease;
}

/* Hide the CTA dock (not the chat panel itself) while chat is open,
   toggled by platform.js via body.chat-open. */
body.chat-open .platform-chat-actions {
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
}

/* .platform-chat carries its own show/hide transform (for the CTA dock's
   entrance animation), but any transform on an ancestor creates a new
   containing block for position:fixed descendants -- which breaks the
   mobile bottom sheet's bottom:0 (it resolves against the widget's own
   box instead of the viewport). Neutralize it while chat is open, since
   the dock's entrance animation isn't visible during a chat session. */
@media (max-width: 720px) {
  body.chat-open .platform-chat {
    transform: none;
  }
}

/* ---- Live chat: cream/glass palette + mobile bottom sheet ---- */
.platform-chat-panel {
  border: 1px solid var(--glass-border);
  background: var(--glass-card-bg-strong);
  box-shadow: 0 24px 60px rgba(18, 36, 67, 0.22);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.platform-chat-header {
  background: var(--cream-bg);
  border-bottom: 1px solid var(--glass-border);
}

.platform-chat-header strong,
.platform-chat-header span {
  color: var(--navy);
}

.chat-message-agent {
  background: rgba(18, 36, 67, 0.06);
  color: var(--navy);
}

.chat-message-agent strong,
.chat-message-agent p {
  color: var(--navy);
}

.chat-message-customer {
  background: var(--navy);
  color: var(--white);
}

.chat-message-customer strong,
.chat-message-customer p {
  color: var(--white);
}

.chat-start-form .button,
.chat-reply-form .button {
  background: var(--navy) !important;
  color: var(--white) !important;
  box-shadow: none !important;
}

@media (max-width: 720px) {
  .platform-chat-panel {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    width: auto;
    max-height: min(86vh, 720px);
    border-radius: 22px 22px 0 0;
    border-bottom: 0;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    transform: translateY(100%);
    transition: transform 260ms ease;
  }

  .platform-chat-panel[data-open="true"] {
    transform: translateY(0);
  }

  .platform-chat-panel::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 50%;
    width: 36px;
    height: 4px;
    border-radius: var(--radius-pill);
    background: rgba(18, 36, 67, 0.18);
    transform: translateX(-50%);
  }

  .platform-chat-body {
    max-height: calc(min(86vh, 720px) - 70px);
  }
}

/* ---- Homepage hero photo: the one place glass + glow stay bold ---- */
.local-hero-photo,
.portrait-frame,
.about-photo,
.local-visual-card {
  border: 1px solid var(--glass-border-light);
  box-shadow:
    0 20px 44px rgba(18, 36, 67, 0.16),
    0 0 34px rgba(201, 154, 46, 0.12);
}

.local-hero-photo figcaption,
.portrait-caption {
  background: linear-gradient(135deg, rgba(11, 43, 79, 0.9), rgba(7, 24, 46, 0.86));
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-top-color: rgba(150, 210, 255, 0.45);
  box-shadow: 0 16px 34px rgba(7, 24, 46, 0.28);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* ---- Map: compact popups, legend text fits naturally ---- */
.map-popup {
  max-width: 220px;
}

.map-popup strong {
  font-size: 0.92rem;
}

.map-popup span {
  font-size: 0.78rem;
}

.map-popup p {
  display: none;
}

.map-popup-actions {
  margin-top: 8px;
}

.map-popup-actions a {
  padding: 7px 10px;
  font-size: 0.82rem;
}

.map-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
}

.map-legend li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  min-width: 0;
}

.map-legend-dot {
  flex: 0 0 auto;
}

.service-area-map-tall .service-map {
  height: 460px;
}

@media (max-width: 720px) {
  .service-area-map-tall .service-map {
    height: 420px;
  }
}

/* ---- Trust badges: glass pill row, line icons, approved copy only ---- */
.trust-badges {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.trust-badges li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 0;
  padding: 8px 14px;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-pill);
  background: var(--glass-card-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  list-style: none;
}

.page-hero .trust-badges li:first-child,
.hero-contact .trust-badges li:first-child {
  order: 3;
  grid-column: 1 / -1;
}

.page-hero .trust-badges li:nth-child(2),
.hero-contact .trust-badges li:nth-child(2) {
  order: 1;
}

.page-hero .trust-badges li:last-child,
.hero-contact .trust-badges li:last-child {
  order: 2;
}

.page-hero .trust-badges li:nth-child(3):not(:last-child),
.hero-contact .trust-badges li:nth-child(3):not(:last-child) {
  order: 4;
  grid-column: 1 / -1;
}

.trust-badges svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  stroke: var(--gold-dark);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---- FAQ: smoother accordions, no schema/content impact ---- */
details {
  transition: box-shadow 180ms ease;
}

summary {
  padding: 4px 0;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "";
  width: 9px;
  height: 9px;
  margin-left: auto;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  transition: transform 200ms ease;
  flex: 0 0 auto;
}

details[open] summary::after {
  transform: rotate(-135deg);
}

details[open] {
  box-shadow: var(--shadow-card-hover) !important;
}

/* ---- Footer: cleaner spacing, softer dividers, same links ---- */
.site-footer {
  padding-block: var(--space-section);
}

.footer-grid {
  gap: 32px 28px;
}

.footer-grid nav h2,
.footer-grid > div h2 {
  margin-bottom: 12px;
  opacity: 0.85;
}

.footer-grid ul {
  gap: 9px;
}

.footer-bottom {
  border-top-color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 720px) {
  .footer-grid {
    gap: 26px 20px;
  }
}

/* ---- Appointment form: grouped glass sections ---- */
.form-section-group {
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--glass-border);
}

.form-section-group:last-of-type {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.form-section-label {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

input,
select,
textarea {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--glass-border);
}

input:focus,
select:focus,
textarea:focus {
  outline: 0;
  border-color: var(--gold-accent);
  box-shadow: 0 0 0 3px rgba(201, 154, 46, 0.22);
}

.checkbox-line {
  background: var(--glass-card-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-card);
  padding: 12px 14px;
}

.form-button {
  background: var(--navy) !important;
  border-color: var(--navy) !important;
  color: var(--white) !important;
  box-shadow: none !important;
  position: relative;
}

.form-button::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  transform: translateY(-50%);
}

/* Pre-existing bug, surfaced by verifying the header CTA: the nav-button
   carries aria-current="page", which matched a higher-specificity
   "current page" link rule and overwrote its gold background with
   near-white, hiding its white label text. Restore the gold pill. */
body .site-header .primary-nav .nav-button.nav-button {
  background: linear-gradient(180deg, #f0c65d, var(--gold)) !important;
  color: #17130b !important;
}

/* Performance: pages like /service-areas/ render 200+ .area-buttons a
   pill links (the full town/city directory). A pre-existing rule gave
   every one its own backdrop-filter blur, which is imperceptible at
   that size but stacks into hundreds of simultaneous blur layers --
   a real jank/battery cost on mobile. Drop the per-pill blur; the
   translucent background alone reads the same at this scale. */
.area-buttons a {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* Performance: .map-frame is the single largest glass panel on the
   site (routinely 1000+ x 500+ px) and sits directly over a live
   Leaflet map that's already compositing dozens of tile/marker
   layers. Blurring that stack is the single biggest jank source on
   /service-areas/ and similar pages, and buys little visually since
   the "backdrop" is opaque map imagery, not page content. Keep the
   frame's border/gradient/shadow glass look, drop the blur. */
.map-frame,
.map-toolbar {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* ============================================================
   Final liquid-glass direction (v3): homepage uses the stronger
   blurred local-photo backdrop from the mockup; all other pages use
   the cooler pale-blue glass scheme shown in the map reference.
   ============================================================ */
:root {
  --liquid-blue-page: #edf5ff;
  --liquid-blue-page-2: #f8fbff;
  --liquid-blue-wash: #dfeeff;
  --liquid-glass-bg: rgba(255, 255, 255, 0.72);
  --liquid-glass-strong: rgba(255, 255, 255, 0.86);
  --liquid-glass-border: rgba(255, 255, 255, 0.72);
  --liquid-ink: #0b2a50;
  --liquid-teal: #10959a;
  --liquid-teal-dark: #08757f;
  --liquid-shadow: 0 22px 54px rgba(31, 67, 112, 0.15);
  --liquid-shadow-soft: 0 12px 28px rgba(31, 67, 112, 0.11);
  --liquid-radius: 30px;
  --cta-gap: 8px;
}

body {
  color: var(--liquid-ink);
}

body:not(.home-page) {
  background:
    linear-gradient(180deg, var(--liquid-blue-page) 0%, var(--liquid-blue-page-2) 46%, #eef6fb 100%) !important;
}

body.home-page {
  position: relative;
  isolation: isolate;
  overflow-x: hidden;
  background: #dbe8f3 !important;
}

body.home-page::before {
  content: "" !important;
  position: fixed;
  inset: -34px;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(219, 233, 246, 0.12), rgba(237, 245, 255, 0.48) 58%, rgba(245, 248, 252, 0.88)),
    url("/assets/images/altoona-aerial-downtown-960.jpg") center top / cover no-repeat;
  filter: blur(22px) saturate(1.08);
  transform: scale(1.07);
  opacity: 0.92;
}

body.home-page::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(229, 241, 253, 0.16) 0%, rgba(238, 245, 251, 0.44) 42%, rgba(246, 249, 252, 0.92) 78%);
}

body.home-page > * {
  position: relative;
  z-index: 1;
}

.site-header {
  z-index: 800 !important;
  padding: 18px 0 8px !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.site-header .header-row {
  position: relative;
  min-height: 118px;
  padding: 24px 28px !important;
  border: 1px solid var(--liquid-glass-border);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.58)),
    rgba(255, 255, 255, 0.62);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 18px 48px rgba(31, 67, 112, 0.15);
  overflow: hidden;
  backdrop-filter: blur(26px) saturate(1.18);
  -webkit-backdrop-filter: blur(26px) saturate(1.18);
}

.site-header .header-row::after {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(201, 154, 46, 0.8), rgba(201, 154, 46, 0.12), rgba(201, 154, 46, 0.8));
  pointer-events: none;
}

.site-header .text-brand strong {
  color: var(--liquid-ink) !important;
  font-size: clamp(1.72rem, 3vw, 2.35rem);
  line-height: 1.02;
}

.site-header .text-brand strong::after {
  height: 3px;
  background: linear-gradient(90deg, var(--gold), rgba(201, 154, 46, 0.35));
}

.site-header .header-local-badge {
  color: var(--liquid-ink);
  letter-spacing: 0;
}

.menu-toggle {
  min-height: 60px;
  padding: 0 24px !important;
  border-radius: 28px !important;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.66)) !important;
  border: 1px solid rgba(255, 255, 255, 0.78) !important;
  color: var(--liquid-ink) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 12px 28px rgba(31, 67, 112, 0.16) !important;
  backdrop-filter: blur(20px) saturate(1.15);
  -webkit-backdrop-filter: blur(20px) saturate(1.15);
}

.menu-toggle:hover,
.menu-toggle[aria-expanded="true"] {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.74)) !important;
  border-color: rgba(255, 255, 255, 0.86) !important;
  color: var(--liquid-ink) !important;
}

.menu-toggle-lines span {
  background: var(--liquid-ink) !important;
}

.primary-nav {
  background: rgba(255, 255, 255, 0.9) !important;
  border: 1px solid rgba(255, 255, 255, 0.76) !important;
  border-radius: 26px !important;
  box-shadow: var(--liquid-shadow-soft) !important;
  backdrop-filter: blur(24px) saturate(1.14) !important;
  -webkit-backdrop-filter: blur(24px) saturate(1.14) !important;
}

.primary-nav a,
.primary-nav .nav-group {
  background: rgba(255, 255, 255, 0.62) !important;
}

.primary-nav .nav-group-label {
  letter-spacing: 0;
}

.button {
  min-height: 52px;
  border-radius: 999px !important;
  gap: 10px;
  letter-spacing: 0;
}

.button-icon {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: currentColor;
}

.button-icon svg {
  width: 19px;
  height: 19px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button-primary,
.button-primary.button-primary {
  background: linear-gradient(180deg, #14345c, #071f3d) !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
  color: var(--white) !important;
  box-shadow: 0 16px 34px rgba(5, 30, 62, 0.22) !important;
}

.button-primary .button-icon {
  color: var(--liquid-ink);
}

.button-outline,
.button-outline.button-outline,
.button-secondary {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.52)) !important;
  border-color: rgba(255, 255, 255, 0.78) !important;
  color: var(--liquid-ink) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 12px 28px rgba(31, 67, 112, 0.1) !important;
  backdrop-filter: blur(18px) saturate(1.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
}

.button-gold {
  background: linear-gradient(180deg, #ffe483, #e9ad1e) !important;
  border-color: rgba(255, 255, 255, 0.56) !important;
  color: #14120a !important;
  box-shadow: 0 14px 30px rgba(188, 132, 16, 0.22) !important;
}

.service-card,
.city-card,
.county-card,
.link-panel,
.notice-panel,
.calendar-card,
.appointment-form,
.platform-form,
.hero-contact,
.premium-hero-panel,
.area-search,
details {
  border: 1px solid var(--liquid-glass-border) !important;
  border-radius: var(--liquid-radius) !important;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(246, 250, 255, 0.56)) !important;
  box-shadow: var(--liquid-shadow-soft) !important;
  backdrop-filter: blur(18px) saturate(1.12) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.12) !important;
}

body:not(.home-page) .page-hero,
body:not(.home-page) .hero,
body:not(.home-page) .section,
body:not(.home-page) .alt,
body:not(.home-page) .appointment-section,
body:not(.home-page) .map-section {
  background: transparent !important;
}

body:not(.home-page) .page-hero-grid {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--liquid-glass-border);
  border-radius: 34px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.64), rgba(241, 247, 255, 0.42));
  box-shadow: var(--liquid-shadow-soft);
  backdrop-filter: blur(18px) saturate(1.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
}

.home-page .hero {
  padding: 0 0 26px !important;
  background: transparent !important;
}

.home-page .premium-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(340px, 1.14fr);
  grid-template-areas:
    "copy visual"
    "actions visual";
  gap: 18px 24px;
  align-items: start;
}

.home-page .premium-hero-copy {
  grid-area: copy;
  padding: clamp(24px, 3.4vw, 38px);
  border: 1px solid var(--liquid-glass-border);
  border-radius: 34px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.66), rgba(255, 255, 255, 0.38));
  box-shadow: var(--liquid-shadow);
  backdrop-filter: blur(24px) saturate(1.14);
  -webkit-backdrop-filter: blur(24px) saturate(1.14);
}

.home-page .hero-action-stack {
  grid-area: actions;
  display: grid;
  gap: 14px;
  margin-top: 0 !important;
}

.home-page .hero-action-stack .button {
  width: 100%;
  min-height: 72px;
  justify-content: center;
  font-size: 1.04rem;
  font-weight: 850;
  border-radius: 28px !important;
}

.home-page .hero-visual-stack {
  grid-area: visual;
}

.home-page .local-hero-photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: auto !important;
  border: 1px solid var(--liquid-glass-border);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.44);
  box-shadow:
    0 26px 64px rgba(5, 30, 62, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.34) inset;
  backdrop-filter: blur(16px) saturate(1.12);
  -webkit-backdrop-filter: blur(16px) saturate(1.12);
}

.home-page .local-hero-photo picture {
  display: block;
  height: clamp(390px, 48vw, 580px);
}

.home-page .local-hero-photo img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
}

.home-page .local-hero-photo figcaption {
  left: clamp(18px, 3vw, 28px);
  right: clamp(18px, 3vw, 28px);
  bottom: clamp(18px, 3vw, 28px);
  padding: clamp(22px, 3vw, 34px);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(9, 32, 57, 0.86), rgba(5, 24, 43, 0.76));
  border: 1px solid rgba(143, 210, 233, 0.5);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 18px 42px rgba(3, 18, 34, 0.34);
  backdrop-filter: blur(22px) saturate(1.18);
  -webkit-backdrop-filter: blur(22px) saturate(1.18);
}

.home-page .local-hero-photo figcaption strong {
  color: #ffd465 !important;
}

.home-page .local-hero-photo figcaption span {
  color: rgba(255, 255, 255, 0.94) !important;
}

.home-page .home-map-section {
  background: transparent !important;
  padding-top: 12px;
}

.home-page .home-map-section > .container {
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--liquid-glass-border);
  border-radius: 34px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.76), rgba(244, 249, 255, 0.56));
  box-shadow: var(--liquid-shadow);
  backdrop-filter: blur(24px) saturate(1.12);
  -webkit-backdrop-filter: blur(24px) saturate(1.12);
}

.home-service-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 22px;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 12px 28px rgba(31, 67, 112, 0.12);
}

.home-service-actions .button {
  min-height: 60px;
  justify-content: center;
}

.map-frame {
  overflow: hidden;
  border: 1px solid var(--liquid-glass-border) !important;
  border-radius: 28px !important;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.68), rgba(239, 248, 255, 0.48)) !important;
  box-shadow: var(--liquid-shadow) !important;
}

.map-toolbar {
  margin: 10px 10px 0;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 24px rgba(31, 67, 112, 0.1);
}

.leaflet-container {
  background: #edf6f8;
}

.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
  background: rgba(255, 255, 255, 0.92) !important;
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 36px rgba(31, 67, 112, 0.22) !important;
  backdrop-filter: blur(18px) saturate(1.12);
  -webkit-backdrop-filter: blur(18px) saturate(1.12);
}

.leaflet-popup-content-wrapper {
  border-radius: 18px !important;
}

.leaflet-popup-content {
  margin: 12px 14px !important;
}

.map-popup {
  max-width: 190px;
}

.map-popup strong {
  color: var(--liquid-ink);
  font-size: 0.92rem;
  line-height: 1.15;
}

.map-popup span {
  color: rgba(11, 42, 80, 0.72);
  font-size: 0.76rem;
  line-height: 1.25;
}

.map-popup-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, #14345c, #071f3d) !important;
  color: var(--white) !important;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 850;
}

.map-legend {
  width: fit-content;
  max-width: 100%;
  margin-top: 12px;
  padding: 10px 14px;
  border: 1px solid var(--liquid-glass-border);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 26px rgba(31, 67, 112, 0.1);
  backdrop-filter: blur(16px) saturate(1.1);
  -webkit-backdrop-filter: blur(16px) saturate(1.1);
}

.map-legend li {
  color: var(--liquid-ink);
  font-size: 0.88rem;
}

.map-pin-city,
.marker-cluster-small,
.marker-cluster-medium,
.marker-cluster-large {
  filter: drop-shadow(0 8px 12px rgba(8, 117, 127, 0.24));
}

.service-areas-page .service-area-map-tall .service-map {
  height: clamp(440px, 62vh, 640px);
}

.platform-chat {
  bottom: calc(var(--cta-gap) + env(safe-area-inset-bottom, 0px) + var(--browser-chrome-bottom, 0px)) !important;
}

.platform-chat-actions {
  padding: 7px;
  border: 1px solid var(--liquid-glass-border) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.62) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 16px 36px rgba(31, 67, 112, 0.18) !important;
  backdrop-filter: blur(24px) saturate(1.16) !important;
  -webkit-backdrop-filter: blur(24px) saturate(1.16) !important;
}

.platform-call-bubble,
.platform-chat-bubble,
.platform-text-bubble {
  border-radius: 999px !important;
  min-height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  font-weight: 850;
}

.platform-call-bubble {
  background: linear-gradient(180deg, #14345c, #071f3d) !important;
  color: var(--white) !important;
}

.platform-chat-bubble {
  background: linear-gradient(180deg, #ffe483, #e9ad1e) !important;
  color: #14120a !important;
}

.platform-text-bubble {
  background: rgba(255, 255, 255, 0.8) !important;
  color: var(--liquid-ink) !important;
}

.platform-action-dismiss {
  background: rgba(255, 255, 255, 0.82) !important;
  color: var(--liquid-ink) !important;
}

.platform-chat-panel {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(239, 247, 255, 0.74)) !important;
  border-color: var(--liquid-glass-border) !important;
}

.platform-chat-header {
  background: rgba(255, 255, 255, 0.68) !important;
}

@media (min-width: 981px) {
  body .site-header .primary-nav {
    position: static !important;
    width: auto !important;
    padding: 6px !important;
    border-radius: 999px !important;
    gap: 4px !important;
  }

  body .site-header .primary-nav a {
    border-radius: 999px !important;
    background: transparent !important;
  }
}

@media (max-width: 980px) {
  .home-page .premium-hero-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "visual"
      "actions"
      "copy";
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 24px, 1120px);
  }

  .site-header {
    padding: 12px 0 8px !important;
  }

  .site-header .header-row {
    min-height: 126px;
    align-items: center;
    padding: 20px 18px !important;
    border-radius: 28px;
    gap: 10px;
  }

  .site-header .brand {
    min-width: 0;
    flex: 1 1 auto;
  }

  .site-header .brand > span,
  .site-header .text-brand {
    min-width: 0;
  }

  .menu-toggle {
    flex: 0 0 auto;
  }

  .site-header .text-brand strong {
    font-size: clamp(1.28rem, 5.4vw, 1.6rem);
  }

  .menu-toggle {
    min-height: 56px;
    padding: 0 16px !important;
  }

  .home-page .premium-hero-grid {
    gap: 14px;
  }

  .home-page .premium-hero-copy {
    padding: 22px;
    border-radius: 28px;
  }

  .home-page .hero-action-stack .button {
    min-height: 68px;
  }

  .home-page .local-hero-photo {
    border-radius: 28px;
  }

  .home-page .local-hero-photo picture {
    height: 420px;
  }

  .home-page .local-hero-photo figcaption {
    border-radius: 24px;
    padding: 22px;
  }

  .home-page .home-map-section > .container {
    border-radius: 28px;
    padding: 22px 18px;
  }

  .home-service-actions {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 8px;
  }

  .home-service-actions .button {
    min-height: 58px;
    padding-inline: 10px;
  }

  .home-service-actions .button-icon {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }

  .map-frame {
    border-radius: 24px !important;
  }

  .map-toolbar {
    margin: 8px 8px 0;
  }

  .map-legend {
    display: grid;
    width: 100%;
    gap: 8px;
    border-radius: 22px;
  }

  .service-areas-page .service-area-map-tall .service-map {
    height: min(58vh, 520px);
    min-height: 430px;
  }

  .platform-chat-actions {
    width: min(396px, calc(100vw - 24px)) !important;
  }

  .platform-call-bubble,
  .platform-chat-bubble,
  .platform-text-bubble {
    min-height: 56px;
  }
}

@media (max-width: 430px) {
  .site-header .header-row {
    min-height: 116px;
    padding: 18px 14px !important;
  }

  .site-header .header-local-badge {
    font-size: 0.8rem;
  }

  .menu-toggle span:last-child {
    display: inline;
  }

  .home-page .hero-action-stack .button {
    min-height: 64px;
    font-size: 0.98rem;
  }

  .home-page .local-hero-photo picture {
    height: 395px;
  }

  .button-icon {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }
}

/* Targeted mobile fit fixes after visual QA. */
.site-header,
.site-header .header-row {
  overflow: visible !important;
}

.site-header.menu-open {
  z-index: 3200 !important;
}

@media (max-width: 980px) {
  .site-header .primary-nav {
    left: 0 !important;
    right: 0 !important;
    width: auto !important;
    max-width: 100% !important;
    z-index: 3300 !important;
  }
}

.map-legend {
  box-sizing: border-box;
  min-width: 0;
}

.map-legend li {
  min-width: 0;
  white-space: normal;
}

@media (max-width: 720px) {
  .home-map-grid .map-legend,
  .map-legend {
    display: grid !important;
    grid-template-columns: 1fr;
    align-items: stretch;
    width: 100% !important;
    max-width: 100% !important;
    padding: 10px;
    gap: 8px;
    border-radius: 20px;
  }

  .map-legend li {
    display: grid !important;
    grid-template-columns: 22px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    width: 100%;
    line-height: 1.2;
    font-size: 0.82rem;
  }

  .map-legend-dot {
    justify-self: center;
  }
}

.site-footer .footer-grid > div,
.site-footer .footer-grid > nav {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: 0 !important;
}

@media (max-width: 720px) {
  .site-footer .footer-grid {
    display: grid;
    gap: 18px;
  }

  .site-footer .footer-grid > div:first-child,
  .site-footer .footer-grid > div:last-child,
  .site-footer .footer-grid > nav {
    padding: 18px !important;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    background: rgba(255, 255, 255, 0.055) !important;
  }

  .site-footer .footer-grid > div:last-child p {
    overflow-wrap: anywhere;
  }
}

/* Homepage business services CTA polish. */
.home-page .cta-band {
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 217, 116, 0.18), transparent 30%),
    linear-gradient(145deg, rgba(7, 28, 54, 0.96), rgba(14, 51, 88, 0.94)) !important;
  color: #fff !important;
  border-block: 1px solid rgba(255, 255, 255, 0.18);
}

.home-page .cta-band h2,
.home-page .cta-band p {
  color: #fff !important;
}

.home-page .cta-band .eyebrow {
  color: #f1c451 !important;
}

.home-page .cta-band-inner {
  align-items: center;
  gap: clamp(22px, 4vw, 42px);
}

.home-page .cta-band .cta-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  min-width: min(100%, 440px);
}

.home-page .cta-band .cta-actions .button {
  width: 100%;
  min-height: 58px;
  justify-content: center;
  padding-inline: 18px;
  text-align: center;
  line-height: 1.15;
  white-space: normal;
}

.home-page .cta-band .cta-actions .button-gold {
  background: linear-gradient(180deg, #ffe37d, #e5ac24) !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
  color: #14120a !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.58),
    0 16px 30px rgba(0, 0, 0, 0.2) !important;
}

.home-page .cta-band .cta-actions .button-light {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08)) !important;
  border-color: rgba(255, 255, 255, 0.42) !important;
  color: #fff !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 16px 30px rgba(0, 0, 0, 0.18) !important;
  backdrop-filter: blur(16px) saturate(1.08);
  -webkit-backdrop-filter: blur(16px) saturate(1.08);
}

@media (max-width: 720px) {
  .home-page .cta-band {
    padding-block: 38px !important;
  }

  .home-page .cta-band-inner {
    border-radius: 28px;
    padding: 24px 18px;
  }

  .home-page .cta-band .cta-actions {
    grid-template-columns: 1fr;
    width: 100%;
    min-width: 0;
  }

.home-page .cta-band .cta-actions .button {
    min-height: 56px;
  }
}

/* Inner-page CTA bands: calmer glass panel with balanced action buttons. */
body:not(.home-page) .cta-band {
  padding-block: clamp(34px, 5vw, 56px) !important;
  background:
    linear-gradient(180deg, rgba(226, 238, 250, 0.32), rgba(242, 247, 252, 0.66)) !important;
  color: var(--liquid-ink) !important;
}

body:not(.home-page) .cta-band-inner {
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 32px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.62), rgba(241, 248, 255, 0.36));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    0 22px 52px rgba(7, 30, 61, 0.12);
  backdrop-filter: blur(24px) saturate(1.16);
  -webkit-backdrop-filter: blur(24px) saturate(1.16);
}

body:not(.home-page) .cta-band h2,
body:not(.home-page) .cta-band p {
  color: var(--liquid-ink) !important;
}

body:not(.home-page) .cta-band .cta-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  min-width: min(100%, 560px);
}

body:not(.home-page) .cta-band .cta-actions .button {
  width: 100%;
  min-height: 56px;
  justify-content: center;
  padding-inline: 14px;
  text-align: center;
  line-height: 1.12;
  white-space: normal;
}

body:not(.home-page) .cta-band .cta-actions .button-gold {
  background:
    linear-gradient(180deg, rgba(17, 58, 102, 0.9), rgba(7, 30, 61, 0.82)) !important;
  border-color: rgba(255, 255, 255, 0.34) !important;
  color: #fff !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 16px 32px rgba(7, 30, 61, 0.18) !important;
}

body:not(.home-page) .cta-band .cta-actions .button-light {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.28)) !important;
  border-color: rgba(255, 255, 255, 0.64) !important;
  color: var(--liquid-ink) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.74),
    0 12px 26px rgba(7, 30, 61, 0.1) !important;
  backdrop-filter: blur(18px) saturate(1.12);
  -webkit-backdrop-filter: blur(18px) saturate(1.12);
}

@media (max-width: 720px) {
  body:not(.home-page) .cta-band-inner {
    align-items: stretch;
    border-radius: 28px;
    padding: 22px 16px;
  }

  body:not(.home-page) .cta-band .cta-actions {
    grid-template-columns: 1fr;
    width: 100%;
    min-width: 0;
  }
}

/* Homepage translucency pass: let the local photo backdrop show through. */
body.home-page::before {
  background:
    linear-gradient(180deg, rgba(219, 233, 246, 0.03), rgba(237, 245, 255, 0.22) 58%, rgba(245, 248, 252, 0.58)),
    url("/assets/images/altoona-aerial-downtown-960.jpg") center top / cover no-repeat !important;
  filter: blur(14px) saturate(1.18) contrast(1.04);
  transform: scale(1.045);
  opacity: 1;
}

body.home-page::after {
  background:
    linear-gradient(180deg, rgba(229, 241, 253, 0.05) 0%, rgba(238, 245, 251, 0.2) 42%, rgba(246, 249, 252, 0.68) 78%) !important;
}

body.home-page .site-header .header-row,
body.home-page .premium-hero-copy,
body.home-page .home-map-section > .container {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.18)) !important;
  border-color: rgba(255, 255, 255, 0.58) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 22px 54px rgba(7, 30, 61, 0.13) !important;
  backdrop-filter: blur(28px) saturate(1.22) !important;
  -webkit-backdrop-filter: blur(28px) saturate(1.22) !important;
}

body.home-page .site-header,
body.home-page .site-header .header-row {
  border: 0 !important;
  border-color: transparent !important;
  outline: 0 !important;
}

body.home-page .site-header .header-row {
  box-shadow:
    0 18px 46px rgba(7, 30, 61, 0.11) !important;
  background-clip: padding-box;
}

body.home-page .site-header::after,
body.home-page .site-header .header-row::after {
  content: none !important;
  display: none !important;
}

body.home-page .menu-toggle,
body.home-page .menu-toggle:hover,
body.home-page .menu-toggle[aria-expanded="true"] {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 24% 14%, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.26) 34%, rgba(255, 255, 255, 0.08) 68%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.14)),
    rgba(24, 66, 108, 0.14) !important;
  border-color: rgba(255, 255, 255, 0.62) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    inset 0 -8px 18px rgba(7, 30, 61, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.48),
    0 16px 32px rgba(7, 30, 61, 0.17) !important;
  backdrop-filter: blur(30px) saturate(1.34) !important;
  -webkit-backdrop-filter: blur(30px) saturate(1.34) !important;
}

body.home-page .menu-toggle::before {
  content: "" !important;
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: inherit;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.08) 54%, rgba(8, 42, 79, 0.08));
  opacity: 0.82;
  pointer-events: none;
  display: block !important;
}

body.home-page .menu-toggle:hover,
body.home-page .menu-toggle[aria-expanded="true"] {
  background:
    radial-gradient(circle at 24% 14%, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.32) 34%, rgba(255, 255, 255, 0.1) 68%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.18)),
    rgba(24, 66, 108, 0.16) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    inset 0 -8px 18px rgba(7, 30, 61, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.54),
    0 18px 36px rgba(7, 30, 61, 0.2) !important;
}

body.home-page .menu-toggle-lines {
  background: rgba(11, 42, 80, 0.08) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.36),
    0 6px 12px rgba(7, 30, 61, 0.08);
}

body.home-page .primary-nav {
  background: rgba(255, 255, 255, 0.54) !important;
  border-color: rgba(255, 255, 255, 0.58) !important;
}

body.home-page .primary-nav a,
body.home-page .primary-nav .nav-group {
  background: rgba(255, 255, 255, 0.38) !important;
}

body.home-page .button-primary,
body.home-page .button-primary.button-primary,
body.home-page .hero-action-stack .button-primary,
body.home-page .home-service-actions .button-primary {
  background:
    linear-gradient(180deg, rgba(16, 55, 95, 0.84), rgba(7, 30, 61, 0.72)) !important;
  border-color: rgba(255, 255, 255, 0.34) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 16px 34px rgba(5, 30, 62, 0.2) !important;
  backdrop-filter: blur(14px) saturate(1.08);
  -webkit-backdrop-filter: blur(14px) saturate(1.08);
}

body.home-page .button-outline,
body.home-page .button-outline.button-outline,
body.home-page .button-secondary,
body.home-page .button-light,
body.home-page .hero-action-stack .button:not(.button-primary):not(.button-gold),
body.home-page .home-service-actions .button:not(.button-primary):not(.button-gold) {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.46), rgba(255, 255, 255, 0.22)) !important;
  border-color: rgba(255, 255, 255, 0.6) !important;
  color: var(--liquid-ink) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    0 14px 30px rgba(31, 67, 112, 0.11) !important;
  backdrop-filter: blur(18px) saturate(1.16);
  -webkit-backdrop-filter: blur(18px) saturate(1.16);
}

body.home-page .button-icon {
  background: rgba(255, 255, 255, 0.68);
}

body.home-page .home-service-actions,
body.home-page .platform-chat-actions,
body.home-page .map-legend,
body.home-page .map-toolbar {
  background: rgba(255, 255, 255, 0.4) !important;
  border-color: rgba(255, 255, 255, 0.56) !important;
}

@media (max-width: 720px) {
  body.home-page .site-header .header-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 98px;
    align-items: center;
    column-gap: 8px;
    box-sizing: border-box;
  }

  body.home-page .site-header .brand {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
  }

  body.home-page .site-header .brand > span,
  body.home-page .site-header .text-brand {
    max-width: 100%;
  }

  body.home-page .site-header .text-brand strong {
    font-size: clamp(1.2rem, 5.05vw, 1.48rem);
  }

  body.home-page .menu-toggle {
    justify-self: end;
    width: 98px !important;
    max-width: 98px !important;
    min-height: 52px !important;
    padding: 0 11px !important;
    gap: 7px !important;
    box-sizing: border-box;
    font-size: 0.95rem;
  }

  body.home-page .menu-toggle-lines {
    width: 24px !important;
    height: 20px !important;
    flex: 0 0 24px;
  }
}

@media (max-width: 380px) {
  body.home-page .site-header .header-row {
    grid-template-columns: minmax(0, 1fr) 88px;
    padding-inline: 12px !important;
  }

  body.home-page .site-header .text-brand strong {
    font-size: clamp(1.12rem, 4.9vw, 1.28rem);
  }

  body.home-page .menu-toggle {
    width: 88px !important;
    max-width: 88px !important;
    min-height: 50px !important;
    padding-inline: 9px !important;
    font-size: 0.9rem;
  }

  body.home-page .menu-toggle-lines {
    width: 22px !important;
    flex-basis: 22px;
  }
}

/* Inner-page header translucency: match the lighter liquid-glass system. */
body:not(.home-page) .site-header {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body:not(.home-page) .site-header .header-row {
  border-color: rgba(255, 255, 255, 0.46) !important;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.48), rgba(241, 248, 255, 0.2)) !important;
  box-shadow:
    0 18px 44px rgba(7, 30, 61, 0.1) !important;
  backdrop-filter: blur(28px) saturate(1.2) !important;
  -webkit-backdrop-filter: blur(28px) saturate(1.2) !important;
}

body:not(.home-page) .site-header::after,
body:not(.home-page) .site-header .header-row::after {
  content: none !important;
  display: none !important;
}

body:not(.home-page) .menu-toggle,
body:not(.home-page) .menu-toggle:hover,
body:not(.home-page) .menu-toggle[aria-expanded="true"] {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 24% 14%, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.24) 34%, rgba(255, 255, 255, 0.08) 68%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0.13)),
    rgba(24, 66, 108, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.56) !important;
  color: var(--liquid-ink) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    inset 0 -8px 18px rgba(7, 30, 61, 0.07),
    0 1px 0 rgba(255, 255, 255, 0.42),
    0 14px 30px rgba(7, 30, 61, 0.14) !important;
  backdrop-filter: blur(28px) saturate(1.28) !important;
  -webkit-backdrop-filter: blur(28px) saturate(1.28) !important;
}

body:not(.home-page) .menu-toggle::before {
  content: "" !important;
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: inherit;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.56), rgba(255, 255, 255, 0.08) 54%, rgba(8, 42, 79, 0.06));
  opacity: 0.78;
  pointer-events: none;
  display: block !important;
}

body:not(.home-page) .menu-toggle:hover,
body:not(.home-page) .menu-toggle[aria-expanded="true"] {
  background:
    radial-gradient(circle at 24% 14%, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.3) 34%, rgba(255, 255, 255, 0.1) 68%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.46), rgba(255, 255, 255, 0.16)),
    rgba(24, 66, 108, 0.14) !important;
}

body:not(.home-page) .menu-toggle-lines {
  background: rgba(11, 42, 80, 0.07) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    0 6px 12px rgba(7, 30, 61, 0.07);
}

body:not(.home-page) .menu-toggle-lines span {
  background: var(--liquid-ink) !important;
}
