/* =========================================================================
   联系客服页样式 —— 仅微信二维码
   ========================================================================= */
.contact-hero { text-align: center; padding: 40px 0 10px; }
.contact-hero h1 {
  font-size: 34px; font-weight: 900;
  background: linear-gradient(120deg, var(--gold), var(--gold-2) 60%, #fff 110%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.contact-hero p { color: var(--text-2); margin-top: 10px; }

.wx-card {
  max-width: 420px; margin: 22px auto 0; text-align: center;
  background: linear-gradient(180deg, #131a2f, #0d1325);
  border: 1px solid rgba(255,255,255,.09); border-radius: var(--radius);
  padding: 32px 30px; box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.06); position: relative; overflow: hidden;
}
.wx-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(232,181,73,.5), transparent);
  pointer-events: none;
}
.wx-card .wx-title { font-size: 19px; font-weight: 800; display: flex; align-items: center; justify-content: center; gap: 8px; }
.wx-card .wx-sub { color: var(--text-3); font-size: 13px; margin: 8px 0 22px; }
.wx-card .qr-box {
  width: 230px; height: 230px; margin: 0 auto; padding: 12px;
  background: #fff; border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,.4);
}
.wx-card .qr-box img { width: 100%; height: 100%; object-fit: contain; }
.wx-card .wx-name { margin-top: 18px; font-size: 15px; color: var(--text); }
.wx-card .wx-name b { color: var(--gold); }
/* 备注胶囊(参考图: 添加客服时请备注: 天枢) */
.wx-card .wx-tip { display: inline-block; margin: 0 auto 22px; padding: 8px 18px; border-radius: 999px; font-size: 13px; color: var(--gold); background: rgba(232,181,73,.08); border: 1px solid rgba(232,181,73,.35); }
/* 一键添加客服(金色按钮, 适中宽度居中, 协调不超长也不短) */
.wx-add { display: block; width: min(320px, 84%); margin: 16px auto 0; padding: 13px 0; border-radius: 999px; font-size: 15px; font-weight: 700; letter-spacing: .5px; cursor: pointer; border: none; color: var(--bg); background: linear-gradient(120deg, var(--gold), var(--gold-2)); box-shadow: 0 8px 22px rgba(232,181,73,.38); transition: all .2s ease; }
.wx-add:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(232,181,73,.5); }
.wx-add:active { transform: translateY(0); }

/* ===== 客服页移动端适配 ===== */
@media (max-width: 768px) {
  .contact-hero { padding: 22px 0 10px; }
  .contact-hero h1 { font-size: 26px; }
  .wx-card { padding: 18px 14px; }
  .qr-box { width: 220px; height: 220px; }
  .wx-add { font-size: 14px; padding: 12px 0; }
}
@media (max-width: 480px) {
  .contact-hero h1 { font-size: 23px; }
  .wx-title { font-size: 17px; }
  .wx-sub { font-size: 12px; }
  .qr-box { width: 200px; height: 200px; }
  .wx-tip { font-size: 11px; padding: 6px 12px; }
  .wx-name { font-size: 14px; }
}
/* ===== 一键添加客服: 系统摄像头扫码遮罩 ===== */
.scan-modal { position: fixed; inset: 0; z-index: 1500; background: rgba(6,9,18,.92); display: flex; align-items: center; justify-content: center; }
.scan-box { position: relative; width: min(340px, 86vw); text-align: center; }
.scan-tip { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 14px; }
.scan-video { width: 100%; aspect-ratio: 1; border-radius: 18px; object-fit: cover; background: #000; display: block; }
.scan-frame { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 62%; height: 62%; border: 3px solid var(--gold); border-radius: 18px; box-shadow: 0 0 0 9999px rgba(0,0,0,.35), 0 0 24px rgba(232,181,73,.4); pointer-events: none; }
.scan-close { margin-top: 16px; padding: 10px 32px; border-radius: 999px; font-size: 14px; font-weight: 700; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.08); color: var(--text); cursor: pointer; }
.scan-close:hover { background: rgba(255,255,255,.16); }