.contact-page {
  color: #183153;
  background: #f4f7fb;
}

.contact-kicker {
  margin: 0 0 14px;
  color: #1168c8;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
}

.contact-hero {
  position: relative;
  min-height: 700px;
  overflow: hidden;
  background: #020d29;
}

.contact-hero__image {
  position: absolute;
  inset: 0;
}

.contact-hero__image::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,12,52,.96) 0%, rgba(0,22,77,.86) 47%, rgba(0,0,0,.38) 100%),
    linear-gradient(0deg, rgba(0,13,49,.3), transparent 45%);
  content: "";
}

.contact-hero__image img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

.contact-hero .container {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 700px;
  align-items: center;
}

.contact-hero__content { max-width: 870px; padding: 75px 0 90px; }
.contact-hero .contact-kicker { color: #7fdaf3; }

.contact-hero h1 {
  margin: 0 0 27px;
  color: #fff;
  font-size: clamp(50px, 6.6vw, 88px);
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: -.04em;
}

.contact-hero h1 span { color: #8ddff6; }

.contact-hero__content > p:not(.contact-kicker) {
  max-width: 720px;
  margin: 0;
  color: rgba(255,255,255,.76);
  font-size: 18px;
  line-height: 1.9;
}

.contact-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 35px; }

.contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-width: 210px;
  padding: 15px 19px 15px 23px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.contact-button--primary { border-color: #fff; background: #fff; color: #002794; }
.contact-button--ghost:hover { border-color: #fff; background: #fff; color: #002794; }
.contact-button--primary:hover { border-color: #8ddff6; background: #8ddff6; color: #00225f; }

.contact-overview { padding: 110px 0 120px; background: #f4f7fb; }

.contact-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 35px;
  margin-bottom: 46px;
}

.contact-section-heading h2,
.contact-office-card h2,
.contact-email__heading h2,
.contact-map__heading h2 {
  margin: 0;
  color: #10285f;
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -.025em;
}

.contact-section-heading > p {
  max-width: 410px;
  margin: 0 0 7px;
  color: #647590;
  font-size: 17px;
  line-height: 1.85;
}

.contact-phone-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.contact-phone-card {
  position: relative;
  display: flex;
  min-height: 390px;
  flex-direction: column;
  overflow: hidden;
  padding: 29px;
  border: 1px solid #dde6f0;
  border-radius: 25px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 14px 38px rgba(0,39,148,.045);
  transition: transform .25s ease, box-shadow .25s ease;
}

.contact-phone-card::after {
  position: absolute;
  right: -75px;
  bottom: -85px;
  width: 215px;
  height: 215px;
  border: 1px solid rgba(17,104,200,.1);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 40px rgba(17,104,200,.03);
}

.contact-phone-card:hover {
  color: inherit;
  transform: translateY(-7px);
  box-shadow: 0 25px 55px rgba(0,39,148,.11);
}

.contact-phone-card--featured { border-color: #002794; background: #002794; }
.contact-phone-card--featured::after { border-color: rgba(255,255,255,.12); box-shadow: 0 0 0 40px rgba(255,255,255,.025); }

.contact-phone-card__index { color: #1168c8; font-size: 12px; font-weight: 700; }
.contact-phone-card__badge { align-self: flex-start; margin: 32px 0 12px; padding: 6px 10px; border-radius: 999px; background: #edf5ff; color: #075fc7; font-size: 10px; font-weight: 700; letter-spacing: .08em; }
.contact-phone-card > strong { color: #10285f; font-size: clamp(27px, 2.5vw, 35px); font-weight: 650; letter-spacing: -.025em; }
.contact-phone-card__label { display: block; margin-top: 8px; color: #334d71; font-size: 18px; font-weight: 600; }
.contact-phone-card__description { display: block; margin-top: 9px; color: #718198; font-size: 15px; line-height: 1.7; }

.contact-phone-card__action {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 25px;
  border-top: 1px solid #e4ebf3;
  color: #075fc7;
  font-size: 14px;
  font-weight: 650;
}

.contact-phone-card__action i { font-size: 21px; font-style: normal; }
.contact-phone-card--featured .contact-phone-card__index { color: #83ddf5; }
.contact-phone-card--featured .contact-phone-card__badge { background: rgba(255,255,255,.12); color: #8ddff6; }
.contact-phone-card--featured > strong,
.contact-phone-card--featured .contact-phone-card__label { color: #fff; }
.contact-phone-card--featured .contact-phone-card__description { color: rgba(255,255,255,.68); }
.contact-phone-card--featured .contact-phone-card__action { border-top-color: rgba(255,255,255,.16); color: #fff; }

.contact-information { padding: 110px 0; background: #fff; }

.contact-office-card,
.contact-hours-card {
  height: 100%;
  min-height: 510px;
  padding: clamp(31px, 4vw, 52px);
  border: 1px solid #dfe8f1;
  border-radius: 28px;
}

.contact-office-card { background: #f5f9fe; }
.contact-office-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 25px; }
.contact-office-card h2 { font-size: clamp(30px, 3.5vw, 45px); }
.contact-office-card__top > div > span { display: block; margin-top: 6px; color: #75859c; font-size: 14px; letter-spacing: .03em; }

.contact-office-card__mark {
  display: grid;
  width: 62px;
  height: 62px;
  flex: 0 0 62px;
  place-items: center;
  border-radius: 50%;
  background: #002794;
  color: #fff;
  font-size: 27px;
  font-weight: 650;
}

.contact-office-card address { margin: 55px 0 45px; color: #334e72; font-size: clamp(22px, 2.4vw, 31px); font-style: normal; line-height: 1.65; }
.contact-office-card__meta { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding-top: 26px; border-top: 1px solid #d7e3ef; }
.contact-office-card__meta > div,
.contact-office-card__meta > a { color: inherit; text-decoration: none; }
.contact-office-card__meta span { display: block; margin-bottom: 6px; color: #7a899e; font-size: 13px; }
.contact-office-card__meta strong { color: #173466; font-size: 15px; font-weight: 650; }
.contact-office-card__meta i { margin-left: 7px; font-style: normal; }

.contact-hours-card { position: relative; overflow: hidden; background: #071c4d; color: #fff; }
.contact-hours-card::after { position: absolute; top: -80px; right: -90px; width: 260px; height: 260px; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; content: ""; box-shadow: 0 0 0 48px rgba(255,255,255,.025); }
.contact-hours-card__icon { position: relative; z-index: 1; display: grid; width: 58px; height: 58px; margin-bottom: 40px; place-items: center; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; }
.contact-hours-card__icon::before { width: 17px; height: 17px; border: 2px solid #83ddf5; border-radius: 50%; content: ""; }
.contact-hours-card__icon span { position: absolute; top: 21px; left: 28px; width: 6px; height: 2px; background: #83ddf5; transform: rotate(35deg); transform-origin: left center; }
.contact-hours-card .contact-kicker { color: #83ddf5; }
.contact-hours-card h3 { margin: 0 0 28px; color: #fff; font-size: 36px; font-weight: 650; }
.contact-hours-card__row { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 21px 0; border-top: 1px solid rgba(255,255,255,.15); border-bottom: 1px solid rgba(255,255,255,.15); }
.contact-hours-card__row span { color: rgba(255,255,255,.65); font-size: 15px; }
.contact-hours-card__row strong { color: #fff; font-size: 16px; }
.contact-hours-card__hotline { margin-top: 30px; }
.contact-hours-card__hotline > span { display: block; color: #83ddf5; font-size: 13px; font-weight: 650; }
.contact-hours-card__hotline > strong { display: block; margin: 4px 0 12px; color: rgba(255,255,255,.7); font-size: 15px; font-weight: 500; }
.contact-hours-card__hotline a { display: flex; align-items: center; justify-content: space-between; color: #fff; font-size: 25px; font-weight: 650; text-decoration: none; }
.contact-hours-card__hotline i { font-style: normal; font-size: 20px; }

.contact-email { padding: 115px 0 125px; background: #fff; }
.contact-email__heading { max-width: 720px; margin-bottom: 45px; }
.contact-email__heading > p:last-child { margin: 18px 0 0; color: #657691; font-size: 17px; line-height: 1.85; }
.contact-email__list { border-top: 1px solid #d7e2ed; }

.contact-email__list > a {
  display: grid;
  grid-template-columns: minmax(220px, .75fr) minmax(320px, 1fr) 45px;
  gap: 24px;
  align-items: center;
  padding: 27px 6px;
  border-bottom: 1px solid #d7e2ed;
  color: inherit;
  text-decoration: none;
  transition: padding .2s ease, background .2s ease;
}

.contact-email__list > a:hover { padding-inline: 20px; background: #fff; }
.contact-email__list strong { color: #10285f; font-size: clamp(22px, 2.5vw, 31px); font-weight: 700; }
.contact-email__list small { color: #55708f; font-size: clamp(15px, 1.35vw, 18px); font-weight: 550; text-align: right; }
.contact-email__list i { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid #cbd9e7; border-radius: 50%; color: #075fc7; font-size: 18px; font-style: normal; }

.contact-map { padding-top: 105px; background: #fff; scroll-margin-top: 90px; }
.contact-map__heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 40px; }
.contact-map__heading > a { display: inline-flex; gap: 20px; margin-bottom: 8px; padding: 13px 18px; border: 1px solid #ccdae8; border-radius: 999px; color: #075fc7; font-size: 14px; font-weight: 650; text-decoration: none; }
.contact-map__heading > a:hover { background: #002794; color: #fff; border-color: #002794; }
.contact-map__frame { height: 590px; overflow: hidden; border-top: 1px solid #dbe5ef; background: #e8eef5; }
.contact-map__frame iframe { width: 100%; height: 100%; border: 0; filter: saturate(.82) contrast(.96); }

@media (max-width: 991px) {
  .contact-phone-grid { grid-template-columns: 1fr 1fr; }
  .contact-phone-card--featured { grid-column: 1 / -1; }
  .contact-section-heading { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 767px) {
  .contact-hero,
  .contact-hero .container { min-height: 660px; }
  .contact-hero__image::after { background: linear-gradient(90deg, rgba(0,12,52,.95), rgba(0,10,36,.72)); }
  .contact-hero__content { padding: 65px 0 75px; }
  .contact-hero h1 { font-size: 47px; }
  .contact-hero__content > p:not(.contact-kicker) { font-size: 17px; }
  .contact-overview,
  .contact-information,
  .contact-email { padding: 78px 0; }
  .contact-phone-grid { grid-template-columns: 1fr; }
  .contact-phone-card--featured { grid-column: auto; }
  .contact-phone-card { min-height: 350px; }
  .contact-office-card,
  .contact-hours-card { min-height: auto; }
  .contact-map { padding-top: 75px; }
  .contact-map__heading { align-items: flex-start; flex-direction: column; }
  .contact-map__frame { height: 470px; }
}

@media (max-width: 575px) {
  .contact-hero h1 { font-size: 42px; }
  .contact-button { width: 100%; }
  .contact-office-card__top { flex-direction: column-reverse; }
  .contact-office-card address { margin: 37px 0 33px; font-size: 22px; }
  .contact-office-card__meta { grid-template-columns: 1fr; }
  .contact-hours-card__row { align-items: flex-start; flex-direction: column; }
  .contact-email__list > a { grid-template-columns: 1fr 38px; gap: 7px 10px; }
  .contact-email__list strong { font-size: 20px; }
  .contact-email__list small { grid-column: 1; overflow-wrap: anywhere; font-size: 15px; text-align: left; }
  .contact-email__list i { grid-column: 2; grid-row: 1 / span 2; }
  .contact-email__list i { width: 36px; height: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  .contact-button,
  .contact-phone-card,
  .contact-email__list > a { transition: none; }
}
