/* ===== 联系我们 (M1风格: 白色+主题色+渐变光晕) ===== */

/* ===== 水印大字（同首页新闻模块风格） ===== */
.watermark-text {
  position: absolute;
  bottom: -6px;
  left: 0;
  font-size: 52px;
  font-weight: 900;
  letter-spacing: 2px;
  color: rgba(0, 0, 0, 0.035);
  white-space: nowrap;
  pointer-events: none;
  line-height: 1;
  z-index: 0;
}

/* ===== 首屏：左文右图 ===== */
.contact-hero {
  position: relative;
  padding: 130px 0 80px;
  background: #fff;
  overflow: hidden;
}

/* M1 光晕 */
.contact-hero::before {
  content: '';
  position: absolute;
  top: -10%;
  left: -10%;
  width: 50%;
  height: 80%;
  background: radial-gradient(ellipse at center, #b0d0ff 0%, transparent 70%);
  filter: blur(80px);
  opacity: 0.6;
  pointer-events: none;
}

.contact-hero::after {
  content: '';
  position: absolute;
  top: 10%;
  right: -5%;
  width: 40%;
  height: 70%;
  background: radial-gradient(ellipse at center, #ffd6e7 0%, transparent 70%);
  filter: blur(80px);
  opacity: 0.5;
  pointer-events: none;
}

.contact-hero .section-content {
  position: relative;
  z-index: 2;
}

.hero-layout {
  display: flex;
  align-items: center;
  gap: 90px;
}

.hero-text {
  flex: 1;
}

.hero-title {
  position: relative;
  margin-bottom: 26px;
}

.hero-title h1 {
  position: relative;
  font-size: 40px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.5px;
  z-index: 1;
}

.hero-title .watermark-text {
  font-size: 64px;
  bottom: -8px;
}

.hero-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 2;
  margin-bottom: 30px;
  max-width: 560px;
}

.hero-tags {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-tags span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 999px;
  background: rgba(45, 119, 255, 0.06);
  color: var(--text-secondary);
  font-size: 13px;
}

.hero-tags span i {
  color: var(--primary);
  font-size: 13px;
}

.hero-visual {
  position: relative;
  flex-shrink: 0;
  width: 520px;
}

.hero-visual img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.hero-float-card {
  position: absolute;
  left: -32px;
  bottom: -24px;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 16px 24px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.hero-float-card .float-label {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}

.hero-float-card .float-label i {
  color: var(--primary);
}

.hero-float-card .float-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

/* ===== 通用 Section ===== */
.contact-section {
  padding: 90px 0;
  position: relative;
  background: #fff;
  overflow: hidden;
}

.contact-section.bg-light {
  background: var(--bg-light);
}

.contact-section .section-content {
  position: relative;
  z-index: 2;
}

.contact-title {
  position: relative;
  margin-bottom: 50px;
}

.contact-title h2 {
  position: relative;
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary);
  z-index: 1;
}

/* ===== 联系方式：bento 拼格 ===== */
.contact-bento {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
}

/* 左侧主卡：跨两行，白底简约 */
.contact-main {
  grid-row: 1 / 3;
  border-radius: 12px;
  position: relative;
  background: #fff;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.contact-main:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}

.contact-main-inner {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px 32px;
}

.main-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary-light) 0%, #ede9fe 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.main-icon i {
  font-size: 22px;
  background: var(--gradient-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-main-inner h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.contact-main-inner p {
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-secondary);
  margin-bottom: 26px;
}

.main-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  align-self: flex-start;
  padding: 10px 32px;
  border-radius: 6px;
  background: var(--gradient-blue);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(22, 119, 255, 0.2);
  transition: all 0.3s ease;
}

.main-btn:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(22, 119, 255, 0.35);
}

/* 右侧小卡 */
.contact-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 24px 22px;
  display: flex;
  gap: 16px;
  transition: all 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-light) 0%, #ede9fe 100%);
  flex-shrink: 0;
}

.contact-icon i {
  font-size: 20px;
  background: var(--gradient-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.card-body {
  flex: 1;
  min-width: 0;
}

.card-body h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.card-body > p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 10px;
}

.card-value {
  font-size: 18px !important;
  font-weight: 700;
  color: var(--primary) !important;
  font-variant-numeric: tabular-nums;
  word-break: break-all;
}

.card-value-sm {
  font-size: 15px !important;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  text-decoration: none;
  transition: gap 0.3s ease;
}

.card-link:hover {
  gap: 9px;
  color: var(--primary);
}

.card-desc {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== 微信二维码 ===== */
.wechat-cards {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.wechat-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 28px 36px;
  text-align: center;
  transition: all 0.3s ease;
}

.wechat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}

.wechat-card img {
  width: 160px;
  height: 160px;
  border-radius: 8px;
  margin: 0 auto 16px;
  object-fit: cover;
}

.wechat-card h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

/* ===== 问题处理流程 ===== */
.process-flow {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 8px;
}

.process-step {
  flex: 1;
  max-width: 260px;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 28px 24px;
  position: relative;
  transition: all 0.3s ease;
}

.process-step:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}

.step-no {
  display: block;
  font-size: 30px;
  font-weight: 900;
  color: rgba(45, 119, 255, 0.16);
  line-height: 1;
  margin-bottom: 14px;
  font-variant-numeric: tabular-nums;
}

.process-step h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.process-step p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.8;
}

.process-arrow {
  display: flex;
  align-items: center;
  color: #cbd5e1;
  font-size: 20px;
}

/* ===== 响应式 ===== */
@media (max-width: 1200px) {
  .hero-visual {
    width: 420px;
  }
  .hero-layout {
    gap: 50px;
  }
}

@media (max-width: 1024px) {
  .contact-bento {
    grid-template-columns: 1fr 1fr;
  }
  .contact-main {
    grid-row: auto;
    grid-column: 1 / 3;
  }
  .process-flow {
    flex-wrap: wrap;
  }
  .process-arrow {
    display: none;
  }
  .process-step {
    flex: 1 1 40%;
    max-width: none;
  }
}

@media (max-width: 768px) {
  .contact-hero {
    padding: 100px 0 60px;
  }
  .hero-layout {
    flex-direction: column;
    gap: 50px;
  }
  .hero-title h1 {
    font-size: 30px;
  }
  .hero-visual {
    width: 100%;
  }
  .hero-visual img {
    height: 240px;
  }
  .hero-float-card {
    left: 16px;
    bottom: -24px;
  }
  .contact-section {
    padding: 56px 0;
  }
  .contact-bento {
    grid-template-columns: 1fr;
  }
  .contact-main {
    grid-column: auto;
  }
  .process-step {
    flex: 1 1 100%;
  }
  .wechat-cards {
    gap: 20px;
  }
}
