.contact-page {
  color: #243447;
  background: #fff;
}

.contact-page *,
.contact-page *::before,
.contact-page *::after {
  box-sizing: border-box;
}

.contact-page .position {
  border-bottom: 1px solid #e9eef4;
}

.contact-page .position .p {
  padding-bottom: 30px;
}

.contact-page main {
  overflow: hidden;
}

.contact-section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: #4177b7;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.contact-section-kicker::before {
  width: 34px;
  height: 2px;
  content: "";
  background: #4177b7;
}

.contact-intro {
  padding: 92px 0 96px;
  background:
    linear-gradient(90deg, rgba(65, 119, 183, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(65, 119, 183, 0.035) 1px, transparent 1px),
    #fff;
  background-size: 48px 48px;
}

.contact-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(340px, 0.7fr);
  gap: 92px;
  align-items: start;
}

.contact-intro-copy h1,
.contact-section-heading h2,
.contact-company-summary h2 {
  margin: 0;
  color: #1f2f42;
  font-size: 38px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.01em;
}

.contact-page-content {
  margin-top: 32px;
  color: #526276;
  font-size: 16px;
  line-height: 2;
}

.contact-page-content p {
  margin: 0 0 18px;
}

.contact-page-content p:last-child {
  margin-bottom: 0;
}

.contact-page-content img {
  max-width: 100%;
  height: auto;
}

.contact-quick {
  position: relative;
  padding: 40px 38px 36px;
  overflow: hidden;
  color: #fff;
  background: #203954;
  box-shadow: 0 24px 60px rgba(27, 54, 82, 0.16);
}

.contact-quick::after {
  position: absolute;
  right: -42px;
  bottom: -50px;
  width: 150px;
  height: 150px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}

.contact-quick-label {
  display: block;
  margin-bottom: 16px;
  color: #9db9d8;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.contact-quick-phone {
  position: relative;
  z-index: 1;
  display: inline-block;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 34px;
  line-height: 1.25;
}

.contact-quick-phone:hover {
  color: #9dc6f3;
}

.contact-quick > p {
  position: relative;
  z-index: 1;
  margin: 22px 0 30px;
  color: #b9c9d9;
  font-size: 14px;
  line-height: 1.8;
}

.contact-quick-email {
  position: relative;
  z-index: 1;
  display: block;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.contact-quick-email span,
.contact-quick-email strong {
  display: block;
}

.contact-quick-email span {
  margin-bottom: 8px;
  color: #8fa8c0;
  font-size: 12px;
}

.contact-quick-email strong {
  color: #fff;
  font-size: 15px;
  font-weight: 400;
  word-break: break-all;
}

.contact-people {
  padding: 92px 0 100px;
  background: #f3f6f9;
}

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

.contact-section-heading > p {
  width: 440px;
  margin: 0 0 7px;
  color: #68788a;
  font-size: 15px;
  line-height: 1.85;
}

.contact-people-list {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 20px;
  margin-top: 50px;
}

.contact-person-card {
  grid-column: span 2;
  position: relative;
  min-height: 252px;
  padding: 30px 26px 28px;
  overflow: hidden;
  border: 1px solid #dde5ed;
  background: #fff;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

/* 不满四人的末行保持居中，适配 5、6、7 人等常见数量。 */
.contact-person-card:nth-child(4n + 1):nth-last-child(3) {
  grid-column: 2 / span 2;
}

.contact-person-card:nth-child(4n + 1):nth-last-child(2) {
  grid-column: 3 / span 2;
}

.contact-person-card:nth-child(4n + 1):last-child {
  grid-column: 4 / span 2;
}

.contact-person-card::after {
  position: absolute;
  top: -48px;
  right: -52px;
  width: 130px;
  height: 130px;
  content: "";
  border: 1px solid #e5ebf1;
  border-radius: 50%;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.contact-person-card:hover {
  border-color: #b7cce2;
  transform: translateY(-6px);
  box-shadow: 0 20px 42px rgba(40, 70, 100, 0.12);
}

.contact-person-card:hover::after {
  border-color: #aac5e1;
  transform: scale(1.15);
}

.contact-person-number {
  margin-bottom: 38px;
  color: #9aabba;
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.contact-person-role {
  margin-bottom: 8px;
  color: #4177b7;
  font-size: 13px;
  font-weight: 600;
}

.contact-person-card h3 {
  margin: 0;
  color: #273a4f;
  font-size: 23px;
  font-weight: 600;
}

.contact-person-card a {
  position: absolute;
  right: 26px;
  bottom: 26px;
  left: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid #e5ebf0;
  color: #526a82;
  font-family: Arial, sans-serif;
  font-size: 16px;
}

.contact-person-card a i {
  display: flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  font-family: Arial, sans-serif;
  font-style: normal;
  background: #4177b7;
}

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

.contact-company-panel {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
  min-height: 410px;
  background: #203954;
}

.contact-company-summary {
  position: relative;
  padding: 62px 54px;
  overflow: hidden;
  background: #4177b7;
}

.contact-company-summary::after {
  position: absolute;
  right: -90px;
  bottom: -100px;
  width: 270px;
  height: 270px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
}

.contact-company-summary .contact-section-kicker,
.contact-company-summary h2 {
  color: #fff;
}

.contact-company-summary .contact-section-kicker::before {
  background: #fff;
}

.contact-company-summary > p {
  position: relative;
  z-index: 1;
  margin: 28px 0 0;
  color: #dceafa;
  font-size: 15px;
  line-height: 1.9;
}

.contact-company-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: center;
  padding: 44px 52px;
}

.contact-detail {
  padding: 25px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

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

.contact-detail-wide {
  grid-column: 1 / -1;
}

.contact-detail span,
.contact-detail strong,
.contact-detail a {
  display: block;
}

.contact-detail span {
  margin-bottom: 9px;
  color: #8fa8c0;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.contact-detail strong,
.contact-detail a {
  padding-right: 24px;
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
}

.contact-detail a:hover {
  color: #9dc6f3;
}

.contact-process {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 26px;
  border-top: 1px solid #dfe6ed;
  border-left: 1px solid #dfe6ed;
}

.contact-process-item {
  display: flex;
  gap: 20px;
  padding: 28px 30px;
  border-right: 1px solid #dfe6ed;
  border-bottom: 1px solid #dfe6ed;
}

.contact-process-item > span {
  flex: 0 0 auto;
  padding-top: 3px;
  color: #4177b7;
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
}

.contact-process-item h3 {
  margin: 0 0 8px;
  color: #2b3e52;
  font-size: 17px;
  font-weight: 600;
}

.contact-process-item p {
  margin: 0;
  color: #728191;
  font-size: 13px;
  line-height: 1.7;
}

@media screen and (max-width: 1280px) {
  .contact-intro-grid {
    gap: 54px;
  }

  .contact-intro-copy h1,
  .contact-section-heading h2,
  .contact-company-summary h2 {
    font-size: 34px;
  }

  .contact-quick {
    padding-right: 30px;
    padding-left: 30px;
  }

  .contact-quick-phone {
    font-size: 29px;
  }
}

@media screen and (max-width: 1024px) {
  .contact-page .position .center,
  .contact-page section .center {
    width: auto;
    padding-right: 28px;
    padding-left: 28px;
  }

  .contact-page .position .bt {
    padding-top: 26px;
  }

  .contact-page .position .bt .float_l {
    font-size: 26px;
  }

  .contact-page .position .bt .float_r {
    display: none;
  }

  .contact-intro {
    padding: 68px 0 74px;
  }

  .contact-intro-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .contact-people,
  .contact-company {
    padding-top: 72px;
    padding-bottom: 78px;
  }

  .contact-section-heading {
    display: block;
  }

  .contact-section-heading > p {
    width: auto;
    max-width: 630px;
    margin-top: 18px;
  }

  .contact-people-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .contact-person-card,
  .contact-person-card:nth-child(4n + 1):nth-last-child(3),
  .contact-person-card:nth-child(4n + 1):nth-last-child(2),
  .contact-person-card:nth-child(4n + 1):last-child {
    grid-column: auto;
  }

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

  .contact-company-summary {
    padding: 48px 44px;
  }

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

@media screen and (max-width: 679px) {
  .contact-page .position .center,
  .contact-page section .center {
    padding-right: 18px;
    padding-left: 18px;
  }

  .contact-page .position .bt {
    padding-top: 18px;
  }

  .contact-page .position .bt .float_l {
    font-size: 23px;
    line-height: 44px;
  }

  .contact-intro {
    padding: 50px 0 58px;
    background-size: 32px 32px;
  }

  .contact-intro-copy h1,
  .contact-section-heading h2,
  .contact-company-summary h2 {
    font-size: 27px;
    line-height: 1.42;
  }

  .contact-section-kicker {
    margin-bottom: 13px;
    font-size: 11px;
  }

  .contact-page-content {
    margin-top: 25px;
    font-size: 15px;
    line-height: 1.9;
  }

  .contact-quick {
    padding: 30px 24px 28px;
  }

  .contact-quick-phone {
    font-size: 27px;
  }

  .contact-people,
  .contact-company {
    padding-top: 56px;
    padding-bottom: 62px;
  }

  .contact-people-list {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 34px;
  }

  .contact-person-card {
    min-height: 250px;
    padding: 28px 24px 26px;
  }

  .contact-person-number {
    margin-bottom: 34px;
  }

  .contact-person-card a {
    right: 24px;
    bottom: 24px;
    left: 24px;
  }

  .contact-person-card:hover {
    transform: none;
  }

  .contact-company-summary {
    padding: 38px 26px 42px;
  }

  .contact-company-details {
    display: block;
    padding: 20px 26px 26px;
  }

  .contact-detail,
  .contact-detail:nth-last-child(-n + 2) {
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  }

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

  .contact-process-item {
    padding: 24px;
  }
}

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