#primary .contact-page--locations {
  --contact-navy: #071428;
  --contact-ink: #102a43;
  --contact-link: #194c75;
  --contact-muted: #47596d;
  --contact-gap: clamp(24px, 4vw, 56px);
  --contact-header-space: 88px;
  padding: 0 0 var(--contact-gap);
  row-gap: 0;
}

.contact-page--locations .contact-page__inner {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.contact-page--locations .contact-page__title {
  padding-block: calc(var(--contact-header-space) + clamp(24px, 3vw, 40px)) clamp(24px, 3vw, 40px);
  background: var(--contact-navy);
}

#primary .contact-page--locations .contact-page__title h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 800;
  line-height: 1.1;
}

.contact-page--locations .contact-page__overview {
  padding-top: var(--contact-gap);
}

.contact-page--locations .contact-page__map-section {
  margin-top: var(--contact-gap);
}

#primary .contact-page--locations :is(.contact-page__details, .contact-page__area) {
  border: 1px solid #dbe5ef;
  border-top: 3px solid #f3ad2f;
  border-radius: 8px;
  background: #fff;
}

#primary .contact-page--locations .contact-page__details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 16px 0 0;
}

.contact-page--locations :is(.contact-page__detail, .contact-page__area) {
  min-width: 0;
  padding: clamp(16px, 2.5vw, 28px);
}

.contact-page--locations .contact-page__detail:nth-child(2) {
  border-inline-start: 1px solid #dbe5ef;
}

#primary .contact-page--locations :is(.contact-page__details dt, .contact-page__area h2) {
  margin: 0 0 4px;
  color: var(--contact-muted);
  font-weight: 700;
}

#primary .contact-page--locations .contact-page__details dd {
  margin: 0;
  color: var(--contact-ink);
}

#primary .contact-page--locations .contact-page__area {
  box-sizing: border-box;
  margin-top: var(--contact-gap);
}

#primary .contact-page--locations .contact-page__service-area {
  margin: 0 0 16px;
}

#primary .contact-page--locations .contact-page__service-area strong {
  font-size: clamp(19px, 2vw, 23px) !important;
  line-height: 1.3;
}

.contact-page--locations .contact-page__states {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 16px clamp(18px, 4vw, 48px);
}

#primary .contact-page--locations .contact-page__states p {
  margin: 0;
  color: var(--contact-muted);
  line-height: 1.6;
}

#primary .contact-page--locations .contact-page__states strong {
  display: inline-block;
  margin-bottom: 4px;
  color: var(--contact-ink);
}

#primary .contact-page--locations :is(.contact-page__overview, .contact-page__locations, .contact-page__map-section) h2 {
  margin: 0;
  color: var(--contact-ink);
  font-size: clamp(25px, 2.6vw, 34px);
  line-height: 1.2;
}

.contact-page--locations .contact-page__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 24px);
  padding: 0;
  margin: 16px 0 0;
  list-style: none;
}

.contact-page--locations .contact-page__card {
  padding: clamp(16px, 2.5vw, 26px);
  border: 1px solid #dbe5ef;
  border-radius: 8px;
  background: #f7fafd;
}

#primary .contact-page--locations .contact-page__card h3 {
  margin: 0 0 6px;
  color: var(--contact-ink);
  font-size: 20px;
  line-height: 1.3;
}

.contact-page--locations :is(.contact-page__card, .leaflet-popup-content) address {
  margin: 0;
  color: var(--contact-muted);
  font-style: normal;
  line-height: 1.5;
}

#primary .contact-page--locations .contact-page__phone {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--contact-link);
}

#primary .contact-page--locations :is(.contact-page__phone, .request-panel__direct-phone a) {
  text-decoration: none !important;
}

#primary .contact-page--locations .contact-page__phone strong {
  font-size: clamp(27px, 3.25vw, 42px) !important;
  font-weight: 800 !important;
  line-height: 1.1;
}

#primary .contact-page--locations .contact-page__hours strong {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: clamp(19px, 2.2vw, 27px) !important;
  line-height: 1.25;
}

.contact-page--locations .contact-page__phone:focus-visible {
  outline: 2px solid var(--contact-link);
  outline-offset: 3px;
}

#primary .contact-page--locations #request-service {
  box-sizing: border-box;
  width: min(1180px, calc(100% - 48px));
  margin: var(--contact-gap) auto;
  scroll-margin-top: var(--contact-header-space);
}

#primary .contact-page--locations #request-service :is(.request-panel__copy, .request-panel__form-card) {
  min-width: 0;
  box-sizing: border-box;
}

.contact-page--locations .contact-page__map {
  display: grid;
  place-items: center;
  height: clamp(350px, 42vw, 480px);
  margin-top: 16px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid #dbe5ef;
  border-radius: 8px;
  background: #edf2f6;
}

.contact-page--locations .contact-page__map.leaflet-container {
  display: block;
}

.contact-page--locations .contact-page__map-note {
  position: relative;
  z-index: 401;
  width: fit-content;
  max-width: calc(100% - 32px);
  margin: 0;
  padding: 8px 12px;
  border-radius: 6px;
  background: #fff;
  color: var(--contact-muted);
  text-align: center;
}

.contact-page--locations .leaflet-container .contact-page__map-note {
  margin: 12px auto;
  pointer-events: none;
}

.contact-page--locations .contact-page__marker {
  border: 3px solid #fff;
  border-radius: 50%;
  background: #075a9c;
  box-shadow: 0 1px 5px #07142880;
}

.contact-page--locations .contact-page__map .leaflet-tooltip {
  color: var(--contact-ink);
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 700px) {
  #primary .contact-page--locations {
    --contact-header-space: 72px;
  }

  .contact-page--locations .contact-page__inner,
  #primary .contact-page--locations #request-service {
    width: calc(100% - 32px);
  }

  .contact-page--locations .contact-page__cards {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 540px) {
  #primary .contact-page--locations .contact-page__details,
  .contact-page--locations .contact-page__states {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-page--locations .contact-page__detail:nth-child(2) {
    border-inline-start: 0;
    border-top: 1px solid #dbe5ef;
  }
}

@media (max-width: 760px) {
  #primary .contact-page--locations #request-service {
    grid-template-columns: minmax(0, 1fr);
  }
}
