.contact-page {
  color: #173664;
  background: #f5f7fb;
}

.contact-page #main-content {
  overflow: hidden;
}

.contact-page__hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: clamp(520px, 67vw, 720px);
  padding: clamp(148px, 18vw, 220px) max(5vw, calc((100vw - 1244px) / 2)) clamp(70px, 9vw, 116px);
  color: #fff;
  background: linear-gradient(90deg, rgb(18 48 94 / 94%) 0%, rgb(22 53 99 / 76%) 44%, rgb(22 53 99 / 10%) 76%),
    url("../client-feedback/about-hero-20260918.png") center / cover no-repeat;
}

.contact-page__hero-copy {
  width: min(650px, 92vw);
}

.contact-page__hero .eyebrow {
  color: #cfe0ff;
}

.contact-page__hero h1 {
  max-width: 640px;
  margin: 14px 0 22px;
  color: #fff;
  font: 400 clamp(52px, 7vw, 96px) / .94 "Bebas Neue", sans-serif;
  letter-spacing: .015em;
  text-wrap: balance;
}

.contact-page__hero-copy > p:not(.eyebrow) {
  max-width: 590px;
  margin: 0;
  font-size: clamp(17px, 1.7vw, 22px);
  line-height: 1.65;
}

.contact-page__hero-actions,
.contact-page__visit-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 26px;
  margin-top: 32px;
}

.contact-page__hero .button {
  color: #173664;
  background: #fff;
}

.contact-page__hero .button:hover,
.contact-page__hero .button:focus-visible {
  color: #fff;
  background: #315fb5;
}

.contact-page__text-link {
  color: inherit;
  font-weight: 700;
  text-underline-offset: 5px;
}

.contact-page__visit {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(430px, 1.2fr);
  gap: clamp(32px, 5vw, 80px);
  width: min(90%, 1244px);
  margin: clamp(64px, 8vw, 112px) auto;
  padding: clamp(28px, 4vw, 58px);
  background: #fff;
  border: 1px solid rgb(49 95 181 / 12%);
  border-radius: 30px;
  box-shadow: 0 26px 70px rgb(20 52 101 / 12%);
}

.contact-page__details h2,
.contact-page__choices h2 {
  margin: 12px 0 20px;
  color: #173664;
  font: 400 clamp(42px, 5vw, 68px) / 1 "Bebas Neue", sans-serif;
  letter-spacing: .015em;
  text-wrap: balance;
}

.contact-page__details > p:not(.eyebrow) {
  max-width: 560px;
  line-height: 1.7;
}

.contact-page__details address {
  display: grid;
  gap: 8px;
  margin-top: 28px;
  font-style: normal;
  line-height: 1.55;
}

.contact-page__details address strong {
  font-size: 18px;
}

.contact-page__details address a,
.contact-page__choice-grid a {
  color: #315fb5;
  font-weight: 700;
  text-underline-offset: 4px;
}

.contact-page__map {
  width: 100%;
  min-height: 480px;
  border: 0;
  border-radius: 22px;
}

.contact-page__choices {
  width: min(90%, 1244px);
  margin: 0 auto clamp(76px, 10vw, 140px);
}

.contact-page__choices > div:first-child {
  max-width: 680px;
  margin-bottom: 30px;
}

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

.contact-page__choice-grid article {
  display: flex;
  flex-direction: column;
  min-height: 280px;
  padding: clamp(26px, 3vw, 38px);
  background: #fff;
  border: 1px solid rgb(49 95 181 / 13%);
  border-radius: 22px;
  box-shadow: 0 16px 44px rgb(20 52 101 / 8%);
}

.contact-page__choice-grid article > span {
  color: #789bd5;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .18em;
}

.contact-page__choice-grid h3 {
  margin: 30px 0 12px;
  color: #173664;
  font-size: 24px;
}

.contact-page__choice-grid p {
  margin: 0 0 28px;
  line-height: 1.65;
}

.contact-page__choice-grid a {
  margin-top: auto;
}

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

  .contact-page__map {
    min-height: 360px;
  }

  .contact-page__choice-grid {
    grid-template-columns: 1fr;
  }

  .contact-page__choice-grid article {
    min-height: 230px;
  }
}

@media (max-width: 620px) {
  .contact-page__hero {
    min-height: 660px;
    padding: 142px 20px 68px;
    background-position: 64% center;
  }

  .contact-page__hero::before {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(180deg, rgb(15 43 86 / 40%), rgb(15 43 86 / 93%) 65%);
  }

  .contact-page__hero-copy {
    position: relative;
  }

  .contact-page__hero h1 {
    font-size: clamp(50px, 15vw, 70px);
  }

  .contact-page__hero-actions,
  .contact-page__visit-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-page__hero-actions .button,
  .contact-page__visit-actions .button {
    width: 100%;
    text-align: center;
  }

  .contact-page__visit,
  .contact-page__choices {
    width: calc(100% - 24px);
  }

  .contact-page__visit {
    padding: 24px 18px;
    border-radius: 22px;
  }
}
