/* ===== 联系我们 lianxi 专属样式 ===== */

/* 首屏：满幅照片，居中白字 */
.hero-contact {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 130px 0 120px;
}
.hero-contact .ph-bg {
  position: absolute;
  inset: 0;
}
.hero-contact .ph-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-contact .ph-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(21,50,56,.55), rgba(21,50,56,.72));
}
.hero-contact .ph-main {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.hero-contact .sec-kicker {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--yellow-400);
  font-weight: 600;
  letter-spacing: 3px;
}
.hero-contact .hero-title {
  font-size: 44px;
  line-height: 1.25;
  margin: 0 0 18px;
  color: #fff;
  background: none;
  -webkit-text-fill-color: #fff;
}
.hero-contact .ph-desc {
  font-size: 17px;
  color: #EAF6EF;
  line-height: 1.8;
  margin: 0 auto 28px;
  max-width: 600px;
}
.hero-contact .hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-contact .hero-actions .btn-line-green {
  border-color: #fff;
  color: #fff;
}

/* 折线分割 */
.split {
  position: relative;
  height: 60px;
  overflow: hidden;
  line-height: 0;
}
.split svg { width: 100%; height: 100%; display: block; }
.split-green { color: var(--green-500); }
.split-blue { color: var(--blue-500); }
.split-yellow { color: var(--yellow-400); }
.split.flip { transform: scaleY(-1); }

/* 三卡 */
.info-grid { gap: 22px; margin-top: 36px; }
.info-card {
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.info-card h3 { margin: 6px 0 0; font-size: 20px; color: var(--ink-900); }
.info-big {
  font-size: 26px;
  font-weight: 700;
  color: var(--blue-500);
  margin: 0;
  line-height: 1.5;
}
.info-big-sm { font-size: 17px; color: var(--ink-900); font-weight: 600; }
.info-card p { color: var(--ink-700); line-height: 1.8; margin: 0; }
.info-card .btn { margin-top: auto; align-self: flex-start; }

/* 到访指引 */
.dao-flex {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  margin-top: 30px;
  align-items: start;
}
.dao-img img {
  width: 100%;
  border-radius: 14px;
  display: block;
  box-shadow: 0 14px 40px rgba(21,50,56,.14);
}
.dao-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: dao;
}
.dao-steps li {
  counter-increment: dao;
  position: relative;
  padding: 0 0 22px 56px;
}
.dao-steps li::before {
  content: counter(dao);
  position: absolute;
  left: 0;
  top: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--green-500);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dao-steps h3 { margin: 0 0 6px; font-size: 18px; color: var(--ink-900); }
.dao-steps p { margin: 0; color: var(--ink-700); line-height: 1.8; }

/* 注意事项 */
.tips-grid { gap: 20px; margin-top: 34px; }
.tip-card { padding: 26px 24px; border-left: 4px solid var(--yellow-400); }
.tip-card h3 { margin: 0 0 10px; font-size: 18px; color: var(--ink-900); }
.tip-card p { margin: 0; color: var(--ink-700); line-height: 1.8; }
#tips .notice { margin-top: 26px; }

/* 注意事项配图 */
.tips-imgs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 26px;
}
.tip-fig { margin: 0; }
.tip-fig img {
  width: 100%;
  border-radius: 12px;
  display: block;
  box-shadow: 0 12px 30px rgba(21,50,56,.12);
}
.tip-fig figcaption {
  margin-top: 8px;
  font-size: 13px;
  color: var(--ink-500);
}
@media (max-width: 640px) {
  .tips-imgs { grid-template-columns: 1fr; }
}

/* 握手图文 */
.hs-flex {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hs-txt h2 { margin: 10px 0 16px; }
.hs-txt p { color: var(--ink-700); line-height: 1.9; margin: 0 0 14px; }
.hs-img img {
  width: 100%;
  border-radius: 14px;
  display: block;
  box-shadow: 0 14px 40px rgba(21,50,56,.14);
}

/* 相关导航 */
.rel-grid { gap: 18px; margin-top: 28px; }
.rel-card { padding: 22px 20px; display: block; color: inherit; text-decoration: none; }
.rel-card h3 { margin: 0 0 8px; font-size: 18px; color: var(--blue-500); }
.rel-card p { margin: 0; color: var(--ink-700); line-height: 1.7; font-size: 14px; }

/* ===== 响应式 ===== */
@media (max-width: 960px) {
  .dao-flex, .hs-flex { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 640px) {
  .hero-contact { padding: 100px 0 80px; }
  .hero-contact .hero-title { font-size: 30px; }
  .hero-contact .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-contact .hero-actions .btn { width: 100%; }
  .split { height: 36px; }
  .info-grid, .tips-grid, .rel-grid { grid-template-columns: 1fr; }
}

/* 首屏标题强制可见 */
.hero-contact .hero-title,
.hero-contact .hero-title .line,
.hero-contact .hero-title .line > span,
.hero-contact .ph-desc,
.hero-contact .ph-actions,
.hero-contact .sec-kicker {
  opacity: 1 !important;
  transform: none !important;
}
