/* ===== 联系我们页 ===== */
.page--contact {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.page--contact > .site-nav {
  flex-shrink: 0;
}

.contact-hero {
  flex: 1 0 auto;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background-image: var(--contact-background);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #eef4f9; /* 图片加载前的兜底底色 */
  border-bottom: 1px solid var(--line);
}

.contact-inner {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(64px, 10vw, 140px) 0;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) auto;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.contact-col + .contact-col {
  border-left: 1px solid var(--line);
  padding-left: clamp(32px, 5vw, 72px);
}

.contact-title {
  font-family: var(--sans);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 28px;
}

/* 线下门店 */
.store + .store { margin-top: 24px; }
.store h3 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.store p {
  font-size: 14px;
  color: var(--muted);
}

/* 联系我们 */
.contact-line {
  font-size: 17px;
  margin-bottom: 12px;
}
.contact-line strong { font-weight: 700; letter-spacing: 0.04em; }
.contact-sep { color: var(--muted); margin: 0 4px; }
.contact-line a { color: #4a6a80; }
.contact-line a:hover { color: var(--accent-deep); text-decoration: underline; }

.contact-address {
  margin-top: 32px;
  font-size: 14px;
  color: var(--muted);
}

/* 社交图标：2×2 雪碧图 images/footer/social-icon.png（158×165，四等分） */
.contact-social {
  display: grid;
  grid-template-columns: repeat(2, 64px);
  gap: 22px;
  padding-top: 12px;
}

.social-icon {
  display: block;
  width: 64px;
  height: 67px;
  border-radius: 14px;
  background-image: url("../images/footer/social-icon.png");
  background-size: 128px 134px; /* 158×165 ×2 显示尺寸的一半 */
  background-repeat: no-repeat;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.social-icon:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 22px rgba(61, 90, 108, 0.18);
}
.icon-douyin { background-position: 0 0; }
.icon-wechat { background-position: 100% 0; }
.icon-xhs    { background-position: 0 100%; }
.icon-weibo  { background-position: 100% 100%; }

/* ===== 响应式 ===== */
@media (max-width: 900px) {
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 64px 0;
  }
  .contact-col + .contact-col {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-left: 0;
    padding-top: 40px;
  }
  .contact-social {
    justify-content: start;
    padding-top: 0;
  }
}
