/* Figma-matched contact page. */

.contact-page {
  background: #f5f8fb;
}

.contact-page .page {
  background: #f5f8fb;
}

.contact-page .float-rail {
  display: none;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.contact-hero {
  position: relative;
  width: 1920px;
  height: 454px;
  overflow: hidden;
  background: #0b1838;
  isolation: isolate;
}

.contact-hero__bg {
  position: absolute;
  inset: 0;
  width: 1920px;
  height: 454px;
  max-width: none;
  object-fit: cover;
  object-position: center;
  z-index: -2;
}

.contact-hero__shade {
  position: absolute;
  inset: 0 0 auto;
  width: 1920px;
  height: 179px;
  z-index: -1;
  background: linear-gradient(180deg, #132054 0%, rgba(19, 32, 84, 0) 100%);
}

.contact-hero .nav {
  z-index: 20;
}

.contact-hero__title {
  position: absolute;
  top: 168px;
  left: 50%;
  width: 985px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 33px;
  pointer-events: none;
}

.contact-hero__calligraphy {
  display: block;
  width: 985px;
  height: 129px;
  filter: drop-shadow(0 4px 4px rgba(40, 66, 101, 0.5));
}

.contact-hero__subtitle {
  display: block;
  width: 447px;
  height: 25px;
}

/* --------------------------------------------------------------------------
   Main contact area
   -------------------------------------------------------------------------- */
.contact-main {
  width: 1920px;
  background: #f5f8fb;
}

.contact-main__section {
  width: 1920px;
  height: 866px;
  padding: 64px 240px;
  box-sizing: border-box;
}

.contact-main__container {
  width: 1440px;
  height: 738px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.contact-overview {
  width: 1440px;
  height: 518px;
  display: flex;
  align-items: center;
  gap: 120px;
}

.contact-overview__media {
  width: 672px;
  height: 518px;
  margin: 0;
  flex: none;
  overflow: hidden;
  background: #d9e1eb;
}

.contact-overview__media img {
  display: block;
  width: 672px;
  height: 518px;
  object-fit: cover;
}

.contact-overview__details {
  width: 648px;
  height: 518px;
  flex: none;
  display: grid;
  grid-template-rows: 113px 145px 145px 115px;
}

.contact-detail {
  min-width: 0;
  padding-top: 34px;
  display: flex;
  align-items: flex-start;
  gap: 32px;
  box-sizing: border-box;
}

.contact-detail:first-child {
  padding-top: 0;
}

.contact-detail:not(:last-child) {
  border-bottom: 1px solid #dce4ed;
}

.contact-detail__icon {
  width: 42px;
  height: 42px;
  flex: none;
  display: grid;
  place-items: center;
  color: #0e2553;
}

.contact-detail__icon--phone {
  display: grid;
  place-items: center;
}

.contact-detail__icon--business {
  display: grid;
  place-items: center;
}

.contact-detail__icon--support {
  display: grid;
  place-items: center;
}

.contact-detail__icon--link {
  display: grid;
  place-items: center;
}
.contact-detail__icon img {
  display: block;
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.contact-detail__icon--link svg {
  display: block;
  width: 42px;
  height: 42px;
}

.contact-detail__copy {
  min-width: 0;
  min-height: 78px;
  padding-left: 20px;
  border-left: 1px solid #dce4ed;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.contact-detail__label {
  color: #0e2553;
  font-family: "Source Han Sans SC", "Noto Sans SC", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 16px;
}

.contact-detail__value {
  display: block;
  margin-top: 11px;
  color: #0e2553;
  font-family: Inter, Manrope, "Source Han Sans SC", sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 31px;
  white-space: nowrap;
}

a.contact-detail__value {
  transition: color 0.2s ease;
}

a.contact-detail__value:hover,
a.contact-detail__value:focus-visible {
  color: #1f74ff;
  outline: none;
}

.contact-detail__note {
  margin-top: 6px;
  color: #4e5969;
  font-family: "Source Han Sans SC", "Noto Sans SC", sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 18px;
}

.contact-main__rule {
  display: block;
  width: 1440px;
  height: 1px;
  background: #e1e7ef;
}

.contact-dialogue {
  width: 1440px;
  height: 147px;
  display: grid;
  grid-template-columns: 442px 648px;
  column-gap: 350px;
  align-items: center;
}

.contact-dialogue__title {
  margin: 0;
  display: flex;
  flex-direction: column;
  color: #0e2553;
  font-family: "Source Han Sans SC", "Noto Sans SC", sans-serif;
  font-size: 49.444px;
  font-weight: 400;
  line-height: 74px;
  white-space: nowrap;
}

.contact-dialogue__title span:first-child {
  color: #1f74ff;
}

.contact-address {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.contact-address__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0e2553;
  font-family: "Source Han Sans SC", "Noto Sans SC", sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 24px;
}

.contact-address__label svg {
  width: 24px;
  height: 24px;
  flex: none;
}

.contact-address__value {
  margin-top: 8px;
  color: #0e2553;
  font-family: "Source Han Sans SC", "Noto Sans SC", sans-serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 31px;
}

.contact-address__note {
  margin-top: 6px;
  color: #4e5969;
  font-family: "Source Han Sans SC", "Noto Sans SC", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

/* --------------------------------------------------------------------------
   WeChat section
   -------------------------------------------------------------------------- */
.contact-wechat {
  width: 1920px;
  height: 340px;
  background: #e8eef4;
}

.contact-wechat__container {
  width: 1440px;
  height: 340px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.contact-wechat__copy {
  width: 920px;
  flex: none;
}

.contact-wechat__eyebrow {
  color: #1f74ff;
  font-family: "Source Han Sans SC", "Noto Sans SC", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
  letter-spacing: 0;
}

.contact-wechat__title {
  margin-top: 27px;
  color: #0e2553;
  font-family: "Source Han Sans SC", "Noto Sans SC", sans-serif;
  font-size: 40px;
  font-weight: 400;
  line-height: 50px;
}

.contact-wechat__desc {
  margin-top: 26px;
  color: #86909c;
  font-family: "Source Han Sans SC", "Noto Sans SC", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

.contact-wechat__hours {
  margin-top: 23px;
  color: #0e2553;
  font-family: "Source Han Sans SC", "Noto Sans SC", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
}

.contact-wechat__card {
  width: 228px;
  height: 260px;
  flex: none;
  overflow: hidden;
  background: #fff;
}

.contact-wechat__card img {
  display: block;
  width: 228px;
  height: 228px;
  object-fit: cover;
}

.contact-wechat__card-foot {
  height: 32px;
  padding: 0 7px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #a5acb8;
  font-family: "Source Han Sans SC", "Noto Sans SC", sans-serif;
  font-size: 12px;
  line-height: 16px;
}

.contact-wechat__card-foot strong {
  color: #0e2553;
  font-family: Manrope, sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.contact-footer {
  width: 1920px;
  height: 403px;
  padding: 64px 0 18px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #192547 0%, #0d1838 100%);
}

.contact-footer .footer__grid {
  width: 1592px;
  flex: none;
  grid-template-columns: 740px 334px 1fr;
}

.contact-footer .footer__links li + li,
.contact-footer .footer__contact li + li {
  margin-top: 10px;
}

.contact-footer .footer__bottom {
  width: 1592px;
  margin-top: auto;
  padding-top: 18px;
}

@media (prefers-reduced-motion: reduce) {
  .contact-detail__value {
    transition: none;
  }
}
