/* ============ 联系我们页面专属样式（中英文模板共用） ============ */
.contact-page {
  background: #fff;
  overflow: hidden;
}

/* ---- 通用标题（与公司简介页同风格） ---- */
.contact-page .section-title {
  text-align: center;
  margin-bottom: 50px;
}
.contact-page .section-title .sub {
  font-size: 14px;
  letter-spacing: 4px;
  color: var(--primary-color);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 10px;
}
.contact-page .section-title h2 {
  font-size: 36px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 16px;
}
.contact-page .section-title .bar {
  width: 60px;
  height: 4px;
  background: var(--primary-color);
  margin: 0 auto;
  border-radius: 4px;
}
.contact-page .section-title p {
  color: #666;
  font-size: 15px;
  line-height: 1.8;
  margin-top: 18px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* ---- 1. 联系方式卡片 ---- */
.contact-channels {
  padding: 80px 0 64px;
  background: linear-gradient(180deg, #f6f9ff 0%, #ffffff 100%);
}
.channel-card {
  position: relative;
  height: 100%;
  background: #fff;
  border: 1px solid #e8eef8;
  border-radius: 12px;
  padding: 40px 24px 34px;
  text-align: center;
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.channel-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), #1e40af);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}
.channel-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(36, 96, 242, .14);
  border-color: transparent;
}
.channel-card:hover::before {
  transform: scaleX(1);
}
.channel-icon {
  width: 78px;
  height: 78px;
  margin: 0 auto 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary-color), #1e40af);
  box-shadow: 0 10px 24px rgba(36, 96, 242, .28);
  transition: transform .5s ease;
}
.channel-card:hover .channel-icon {
  transform: rotateY(360deg);
}
.channel-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 12px;
}
.channel-card .channel-value {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--primary-color);
  line-height: 1.6;
  word-break: break-all;
  margin-bottom: 8px;
  text-decoration: none;
}
a.channel-value:hover {
  color: #1e40af;
}
.channel-card .channel-desc {
  font-size: 13px;
  color: #98a2b3;
  margin: 0;
}

/* 微信 / QQ 附加联系方式 */
.contact-social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 24px;
  margin-top: 40px;
}
.contact-social .social-box {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 26px;
  background: #fff;
  border: 1px solid #e8eef8;
  border-radius: 50px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.contact-social .social-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(36, 96, 242, .12);
}
.contact-social .social-box .fa {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary-color), #1e40af);
}
.contact-social .social-box h5 {
  margin: 0 0 2px;
  font-size: 15px;
  font-weight: 700;
  color: #1a1a2e;
}
.contact-social .social-box p {
  margin: 0;
  font-size: 13px;
  color: #98a2b3;
}
.contact-social .wx-box img {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  border: 1px solid #eef1f6;
}

/* ---- 2. 询盘表单区（复用全局 .inquiry-* 深色样式） ---- */
.contact-inquiry .inquiry-main,
.contact-inquiry .inquiry-side {
  min-height: 1px;
}
.contact-inquiry .inquiry-title,
.contact-inquiry .inquiry-desc {
  visibility: visible;
}

/* ---- 3. 服务流程 ---- */
.contact-process {
  padding: 84px 0 80px;
  background: #fff;
}
.process-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px;
}
.process-steps::before {
  content: "";
  position: absolute;
  top: 39px;
  left: 12%;
  right: 12%;
  border-top: 2px dashed #cfdcf5;
}
.process-step {
  position: relative;
  text-align: center;
  padding: 0 8px;
}
.step-num {
  position: relative;
  z-index: 1;
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  font-size: 30px;
  font-weight: 800;
  transition: all .35s ease;
}
.step-num em {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #ffd700;
  color: #1a2b45;
  font-size: 12px;
  font-weight: 700;
  font-style: normal;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .12);
}
.process-step:hover .step-num {
  background: linear-gradient(135deg, var(--primary-color), #1e40af);
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0 12px 26px rgba(36, 96, 242, .3);
}
.process-step h4 {
  font-size: 17px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 10px;
}
.process-step p {
  font-size: 14px;
  color: #7a8699;
  line-height: 1.85;
  margin: 0;
}
.process-note {
  margin-top: 44px;
  text-align: center;
}
.process-note span {
  display: inline-block;
  padding: 12px 30px;
  background: #f2f7ff;
  border-radius: 50px;
  font-size: 14px;
  color: var(--primary-color);
  font-weight: 600;
}
.process-note span i {
  margin-right: 6px;
}

/* ---- 4. 地图 ---- */
.contact-mapsec {
  padding: 0 0 84px;
  background: #fff;
}
.contact-mapsec .map-box {
  height: 480px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 14px 44px rgba(0, 0, 0, .12);
  border: 1px solid #eef1f6;
}
.contact-mapsec .map-box #container {
  width: 100%;
  height: 100%;
  overflow: hidden;
  margin: 0;
}
.contact-mapsec .map-box .google-map {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #eef1f6;
}
.contact-mapsec .map-actions {
  margin-top: 26px;
  text-align: center;
}
.contact-mapsec .map-dir-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 34px;
  border-radius: 999px;
  background: linear-gradient(135deg, #1a56a8, #0e3d7d);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .5px;
  box-shadow: 0 10px 26px rgba(26, 86, 168, .28);
  transition: transform .3s ease, box-shadow .3s ease;
}
.contact-mapsec .map-dir-btn:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(26, 86, 168, .38);
}

/* ---- 响应式 ---- */
@media (max-width: 991px) {
  .contact-channels { padding: 60px 0 46px; }
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px 26px;
  }
  .process-steps::before { display: none; }
}
@media (max-width: 767px) {
  .contact-page .section-title h2 { font-size: 26px; }
  .contact-mapsec .map-box { height: 320px; border-radius: 10px; }
  .contact-social .social-box { padding: 12px 18px; }
}
@media (max-width: 575px) {
  .contact-channels { padding: 50px 0 36px; }
  .contact-process { padding: 60px 0 56px; }
  .process-steps {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .step-num { width: 68px; height: 68px; font-size: 26px; }
}
