.contact-page {
  --contact-ink: #17243d;
  --contact-navy: #142b4b;
  --contact-muted: #667182;
  --contact-line: #d9dce2;
  color: var(--contact-ink);
}

.contact-page h1,
.contact-page h2,
.contact-page h3 {
  font-family: var(--font-display);
  letter-spacing: -0.04em;
}

.contact-page .section-pad {
  padding-block: clamp(3.75rem, 6vw, 5.5rem);
}

.contact-intro {
  padding-block: clamp(11rem, 17vw, 14rem) clamp(3rem, 5vw, 4.5rem);
  background: #fff;
}

.contact-eyebrow {
  margin: 0 0 0.85rem;
  color: #74839a;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.5;
  text-transform: uppercase;
}

.contact-intro h1 {
  margin: 0;
  color: var(--contact-ink);
  font-size: clamp(2.8rem, 5.8vw, 5rem);
  font-weight: 600;
  line-height: 1.08;
}

.contact-section-heading {
  margin-bottom: 2rem;
}

.contact-section-heading h2,
.branch-offices h2 {
  margin: 0;
  color: var(--contact-ink);
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  font-weight: 600;
  line-height: 1.16;
}

.headquarters-section {
  background: #fff;
}

.headquarters-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  border-top: 1px solid var(--contact-line);
  border-bottom: 1px solid var(--contact-line);
}

.headquarters-address,
.headquarters-contacts {
  min-width: 0;
  padding: clamp(1.75rem, 4vw, 3rem);
}

.headquarters-address {
  border-right: 1px solid var(--contact-line);
}

.contact-icon {
  display: inline-flex;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  color: #5c718c;
}

.contact-icon svg {
  width: 25px;
  height: 25px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.65;
}

.headquarters-address h3 {
  margin: 1rem 0 0.75rem;
  color: var(--contact-ink);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.005em;
  line-height: 1.45;
}

.headquarters-address address {
  color: #586579;
  font-size: 1rem;
  font-style: normal;
  line-height: 1.85;
}

.address-phones {
  margin-top: 1.4rem;
}

.address-phones p {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.45rem 0 0;
  color: #586579;
  line-height: 1.65;
}

.address-phones p > span {
  min-width: 3.5rem;
  color: var(--contact-ink);
  font-weight: 600;
}

.address-phones a,
.contact-detail a {
  color: inherit;
  text-decoration: none;
  transition: color 160ms ease;
}

.address-phones a:hover,
.contact-detail a:hover {
  color: #52779a;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.headquarters-contacts {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-detail > div {
  min-width: 0;
}

.contact-detail-title {
  margin: 0;
  color: var(--contact-ink);
  font-size: 1.03rem;
  font-weight: 600;
}

.contact-detail-label {
  margin: 0.3rem 0 0.1rem;
  color: var(--contact-muted);
  font-size: 0.9rem;
}

.contact-detail-link {
  color: #526781 !important;
  overflow-wrap: anywhere;
}

.branch-offices {
  background: #f5f7fa;
}

.branch-offices-content {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: start;
  gap: clamp(2rem, 7vw, 6rem);
}

.branch-offices-copy p {
  margin: 0;
  color: #586579;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.8;
}

.branch-offices-copy p + p {
  margin-top: 0.9rem;
}

.healthcare-network {
  background: #fff;
}

.network-heading > p:last-child {
  margin: 0.8rem 0 0;
  color: #586579;
  line-height: 1.75;
}

.healthcare-stats {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr) minmax(0, 1.5fr);
  border-top: 1px solid var(--contact-line);
  border-bottom: 1px solid var(--contact-line);
}

.healthcare-stat {
  display: flex;
  min-height: 150px;
  flex-direction: column;
  justify-content: center;
  padding: 1.5rem clamp(1rem, 3vw, 2.2rem);
}

.healthcare-stat + .healthcare-stat,
.healthcare-stat-detail {
  border-left: 1px solid var(--contact-line);
}

.healthcare-stat strong {
  color: var(--contact-navy);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1.05;
}

.healthcare-stat span {
  margin-top: 0.5rem;
  color: #596779;
  font-size: 0.95rem;
  line-height: 1.5;
}

.healthcare-stat-detail {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 1.5rem clamp(1rem, 3vw, 2.2rem);
  color: #586579;
  font-size: 0.96rem;
  line-height: 1.8;
}

.network-sources {
  margin-top: 1.5rem;
  color: var(--contact-muted);
  font-size: 0.85rem;
  line-height: 1.7;
}

.network-source-label {
  margin: 0 0 0.4rem;
  color: var(--contact-ink);
  font-weight: 600;
}

.network-sources ul {
  display: grid;
  gap: 0.35rem;
  margin: 0;
  padding-left: 1.1rem;
}

.network-sources a {
  color: #526781;
  overflow-wrap: anywhere;
  text-underline-offset: 2px;
}

.network-sources a:hover {
  color: var(--contact-navy);
}

.facility-summary {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr);
  align-items: start;
  gap: 2rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--contact-line);
}

.facility-summary > p {
  max-width: 850px;
  margin: 0;
  color: #586579;
  line-height: 1.85;
}

.facility-summary .network-sources {
  margin-top: 0;
}

.regional-network {
  background: #f5f7fa;
}

.network-map {
  display: flex;
  min-height: 280px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: clamp(1rem, 3vw, 2rem);
  background: #fff;
}

.network-map img {
  display: block;
  width: 100%;
  max-width: 1350px;
  height: auto;
  max-height: 720px;
  object-fit: contain;
}

.service-centers {
  background: #fff;
}

.service-center-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.service-center-photo {
  aspect-ratio: 1.1;
  margin: 0;
  overflow: hidden;
  background: #e7edf3;
}

.service-center-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease;
}

.service-center-photo:hover img {
  transform: scale(1.025);
}

@media (max-width: 900px) {
  .healthcare-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .healthcare-stat-detail {
    grid-column: 1 / -1;
    min-height: auto;
    border-top: 1px solid var(--contact-line);
    border-left: 0;
  }

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

@media (max-width: 600px) {
  .contact-page .section-pad {
    padding-block: 3.5rem;
  }

  .contact-intro {
    padding-block: 9.5rem 2.75rem;
  }

  .contact-section-heading {
    margin-bottom: 1.4rem;
  }

  .headquarters-layout,
  .branch-offices-content,
  .facility-summary {
    grid-template-columns: 1fr;
  }

  .headquarters-address,
  .headquarters-contacts {
    padding: 1.5rem 0;
  }

  .headquarters-address {
    border-right: 0;
    border-bottom: 1px solid var(--contact-line);
  }

  .headquarters-contacts {
    gap: 1.5rem;
  }

  .branch-offices-content {
    gap: 1.2rem;
  }

  .healthcare-stats {
    grid-template-columns: 1fr 1fr;
  }

  .healthcare-stat {
    min-height: 125px;
    padding: 1rem;
  }

  .healthcare-stat + .healthcare-stat {
    border-left: 1px solid var(--contact-line);
  }

  .healthcare-stat-detail {
    padding: 1.15rem 1rem;
  }

  .facility-summary {
    gap: 0.7rem;
  }

  .network-map {
    min-height: 0;
    padding: 0.75rem;
  }

  .service-center-grid {
    gap: 0.65rem;
  }

  .service-center-photo {
    aspect-ratio: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .address-phones a,
  .contact-detail a,
  .service-center-photo img {
    transition: none;
  }
}

.contact-page {
  --contact-accent: #4b7895;
  overflow: clip;
  padding-top: var(--company-header-offset);
}

.contact-page .contact-hero {
  position: relative;
  display: flex;
  min-height: clamp(295px, 38svh, 380px);
  height: 38svh;
  max-height: 380px;
  align-items: stretch;
  overflow: hidden;
  isolation: isolate;
  padding-block: 32px;
  background: var(--contact-navy);
}

.contact-page .contact-hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgb(9 29 54 / 93%) 0%, rgb(13 44 79 / 82%) 42%, rgb(18 52 88 / 45%) 72%, rgb(17 43 73 / 20%) 100%),
    linear-gradient(0deg, rgb(9 29 54 / 35%), transparent 50%);
  content: "";
}

.contact-hero-image {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}

.contact-hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-block: 32px;
}

.contact-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.contact-hero .contact-eyebrow {
  color: rgb(255 255 255 / 76%);
}

.contact-hero-copy h1 {
  max-width: 650px;
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(1.8rem, 2.25vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 1;
  text-transform: uppercase;
}

.contact-hero-copy h1 span {
  color: #9dc9f4;
}

.contact-hero-copy > p:not(.contact-eyebrow) {
  max-width: 550px;
  margin: 0 0 12px;
  color: rgb(255 255 255 / 82%);
  font-size: var(--text-base);
  line-height: 1.45;
}

.contact-hero-link {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.contact-hero-link span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 60%);
  border-radius: 50%;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.contact-hero-link:hover span {
  transform: translateY(3px);
  color: var(--contact-navy);
  background: #fff;
}

.contact-hero-index {
  position: absolute;
  right: 0;
  bottom: 0;
  color: rgb(255 255 255 / 70%);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.contact-page .headquarters-section {
padding-top: clamp(4rem, 1vw, 6.5rem);
   padding-bottom: clamp(4.5rem, 0vw, 7.5rem);
}

.contact-section-heading {
  margin-bottom: clamp(2rem, 4vw, 3.4rem);
}

.contact-section-heading h2,
.branch-offices h2 {
      margin: 0;
    font-size: clamp(2rem, 1.8vw, 3.35rem);
    font-weight: 600;
    line-height: 1.08;
}

.headquarters-layout {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  border: 1px solid #cbd3da;
  
}

.headquarters-address,
.headquarters-contacts {
  padding: clamp(2rem, 4vw, 3.7rem) clamp(1rem, 3.5vw, 3rem);
}

.headquarters-address {
  position: relative;
  display: flex;
  min-height: 390px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  border-right: 1px solid #cbd3da;
  background: #f3f6f8;
}

.headquarters-pin {
  width: 50px;
  height: 60px;
  margin-bottom: 1.8rem;
  stroke: var(--contact-accent);
  stroke-width: 2;
}

.headquarters-pin circle {
  fill: var(--contact-accent);
  stroke: none;
}

.address-kicker,
.address-coordinate {
  margin: 0;
  color: #74839a;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.headquarters-address h3 {
      max-width: 370px;
  margin: 0.75rem 0 0.8rem;
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
}

.headquarters-address address {
  color: #43536a;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.8;
}

.address-coordinate {
  margin-top: 2rem;
}

.headquarters-contacts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: center;
  gap: 0;
}

.contact-row {
  display: flex;
  min-width: 0;
  gap: 0.85rem;
  padding: 1.4rem 0.8rem;
  border-bottom: 1px solid #e0e4e8;
}

.contact-row:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.contact-row .contact-icon {
  width: 30px;
  height: 30px;
  color: var(--contact-accent);
}

.contact-row-body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.28rem;
}

.contact-row-label {
  margin: 0 0 0.25rem;
  color: #718094;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-row-body a {
  width: fit-content;
  color: var(--contact-ink);
  font-size: 0.95rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.contact-row-body a:hover {
  color: var(--contact-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.branch-offices {
  padding-block: clamp(3.75rem, 4vw, 5.5rem);
  color: #fff;
  background: var(--contact-navy);
}

.branch-offices-content {
  grid-template-columns: minmax(0, 900px);
  align-items: start;
  gap: 0;
  max-width: 900px;
  margin-bottom: 0;
}

.branch-offices h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  font-weight: 600;
  line-height: 1.15;
}

.branch-offices h2 span {
  color: var(--contact-accent);
}

.branch-offices-copy {
  padding: 0;
}

.branch-offices-copy p {
  margin: 1.25rem 0 0;
  color: rgb(255 255 255 / 84%);
  font-size: 1rem;
  line-height: 1.85;
}

.branch-offices-copy p + p {
  margin-top: 0.8rem;
}

.branch-offices-visual {
  position: relative;
  height: clamp(260px, 42vw, 540px);
  margin: 0;
  overflow: hidden;
  background: #dce5eb;
}

.branch-offices-visual img {
  transition: transform 500ms ease;
}

.branch-offices-visual:hover img {
  transform: scale(1.025);
}

.branch-offices-visual figcaption {
  position: absolute;
  right: 1.5rem;
  bottom: 1.25rem;
  left: 1.5rem;
  color: #fff;
  font-size: 0.83rem;
  text-shadow: 0 1px 8px rgb(0 0 0 / 55%);
}

.healthcare-network {
  padding-block: clamp(4.5rem, 8vw, 7rem) !important;
}

.network-heading > p:last-child {
  font-size: 1.05rem;
}

.healthcare-stats {
  grid-template-columns: minmax(0, 0.65fr) minmax(0, 0.85fr) minmax(0, 1.3fr);
  border-top-color: #bac6d0;
  border-bottom-color: #bac6d0;
}

.healthcare-stat {
  min-height: 200px;
  padding-inline: clamp(1rem, 3vw, 2.5rem);
}

.healthcare-stat strong,
.facility-stat strong {
  color: var(--contact-navy);
  font-size: clamp(3.2rem, 6.8vw, 6.4rem);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  letter-spacing: -0.07em;
  line-height: 1;
}

.healthcare-stat span,
.facility-stat span {
  color: #53647a;
  font-size: 0.95rem;
}

.healthcare-stat-detail {
  font-size: 1rem;
}

.facility-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2rem;
  padding-block: 1.4rem;
  border-bottom: 1px solid var(--contact-line);
}

.facility-stat {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.55rem;
  padding: 0.6rem clamp(1rem, 2.5vw, 2rem);
}

.facility-stat + .facility-stat {
  border-left: 1px solid var(--contact-line);
}

.facility-stat strong {
  font-size: clamp(2.3rem, 4.3vw, 4rem);
}

.network-sources {
  margin-top: 1.8rem;
  font-size: 0.8rem;
}

.network-sources ul {
  gap: 0.5rem;
}

.facility-summary {
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: 3rem;
  margin-top: 1.8rem;
  padding-top: 1.8rem;
}

.facility-summary > p {
  font-size: 0.97rem;
}

.facility-summary .network-sources a {
  overflow-wrap: anywhere;
}

.regional-network {
  padding-block: clamp(4.5rem, 8vw, 7rem) !important;
  background: #edf2f5;
}

.regional-network .contact-section-heading {
  margin-bottom: 2rem;
}

.network-map {
  min-height: 0;
  padding: clamp(1rem, 3vw, 2rem);
  background: #fff;
}

.network-map img {
  max-width: none;
  max-height: 800px;
  object-fit: contain;
}

.service-centers {
  padding-block: clamp(4.5rem, 8vw, 7rem) !important;
}

.service-center-grid {
  grid-template-columns: 1.3fr 0.85fr 0.85fr;
  grid-template-rows: repeat(2, minmax(180px, 23vw));
  gap: 1rem;
}

.service-center-photo {
  aspect-ratio: auto;
  background: #e2e8ed;
}

.service-center-featured {
  grid-row: span 2;
}

.service-center-photo img {
  filter: saturate(0.9);
}

.service-center-photo:hover img {
  transform: scale(1.035);
}

.contact-motion-ready .contact-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.contact-motion-ready .contact-reveal.is-visible {
  
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .contact-hero-inner {
    min-height: 0;
  }

  .headquarters-layout {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  }

  .headquarters-contacts {
    grid-template-columns: 1fr;
  }

  .contact-row:nth-last-child(-n + 2) {
    border-bottom: 1px solid #e0e4e8;
  }

  .contact-row:last-child {
    border-bottom: 0;
  }

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

  .healthcare-stat-detail {
    grid-column: 1 / -1;
    min-height: auto;
    border-top: 1px solid var(--contact-line);
    border-left: 0;
  }

  .service-center-grid {
    grid-template-columns: 1.1fr 0.9fr;
    grid-template-rows: repeat(2, minmax(190px, 32vw));
  }
}

@media (max-width: 600px) {
  .contact-page .section-pad {
    padding-block: 3.5rem !important;
  }

  .contact-page .contact-hero {
    min-height: clamp(295px, 38svh, 340px);
    height: auto;
    max-height: 340px;
  }

  .contact-hero-inner {
    min-height: 0;
    padding-block: 32px;
  }

  .contact-hero-copy {
    padding-block: 0;
  }

  .contact-hero-image {
    object-position: 58% center;
  }

  .contact-page .contact-hero::after {
    background:
      linear-gradient(90deg, rgb(9 29 54 / 88%) 0%, rgb(13 44 79 / 70%) 68%, rgb(18 52 88 / 35%) 100%),
      linear-gradient(0deg, rgb(9 29 54 / 42%), transparent 60%);
  }

  .contact-hero-copy > p:not(.contact-eyebrow) {
    max-width: 430px;
  }

  .contact-hero-link {
    margin-top: 0.8rem;
  }

  .contact-hero-index {
    display: none;
  }

  .contact-section-heading h2 {
    font-size: clamp(2.25rem, 11vw, 3.4rem);
  }

  .headquarters-layout,
  .branch-offices-content,
  .facility-summary {
    grid-template-columns: 1fr;
  }

  .headquarters-address,
  .headquarters-contacts {
    padding: 1.8rem 1rem;
  }

  .headquarters-address {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid #cbd3da;
  }

  .headquarters-contacts {
    gap: 0;
  }

  .contact-row {
    padding-inline: 0;
  }

  .contact-row:last-child {
    border-bottom: 0;
  }

  .branch-offices-content {
    gap: 0;
    margin-bottom: 0;
  }

  .branch-offices h2 br {
    display: none;
  }

  .branch-offices-visual {
    height: 300px;
  }

  .healthcare-stats {
    grid-template-columns: 1fr 1fr;
  }

  .healthcare-stat {
    min-height: 145px;
    padding: 1rem;
  }

  .healthcare-stat strong {
    font-size: clamp(2.8rem, 13vw, 4rem);
  }

  .healthcare-stat-detail {
    padding: 1.2rem 1rem;
  }

  .facility-stats {
    grid-template-columns: 1fr;
    margin-top: 1rem;
    padding-block: 0.5rem;
  }

  .facility-stat {
    padding: 1.1rem 0;
  }

  .facility-stat + .facility-stat {
    border-top: 1px solid var(--contact-line);
    border-left: 0;
  }

  .facility-stat strong {
    font-size: 3.4rem;
  }

  .facility-summary {
    gap: 0.6rem;
  }

  .network-map {
    padding: 0.6rem;
  }

  .service-center-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1.15fr 0.85fr 0.85fr;
    gap: 0.65rem;
  }

  .service-center-featured {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .service-center-photo {
    min-height: 130px;
  }
}

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

  .contact-motion-ready .contact-reveal {
    opacity: 1;
    transform: none;
  }
}
