@charset "UTF-8";
/* ===========================================================
   游戏手柄维修网站 - 公共样式（现代化版）
   方向：干净、留白充足、层级清晰的现代服务站点风格
   配色与圆角、阴影统一在 :root 中维护
   =========================================================== */

:root {
  /* 颜色 */
  --c-page-bg: #f6f7f9;
  --c-surface: #ffffff;
  --c-surface-soft: #fafbfc;
  --c-text: #16181d;
  --c-text-soft: #5c6371;
  --c-text-mute: #8a919e;
  --c-line: #e6e8ec;
  --c-line-soft: #f0f1f4;
  --c-accent: #1f5fd0;
  --c-accent-dark: #17489f;
  --c-accent-soft: #eef4ff;
  --c-placeholder: #f1f3f6;

  /* 尺寸 */
  --maxw: 1160px;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --gap: 24px;

  /* 阴影 */
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .04);
  --shadow-md: 0 4px 16px rgba(16, 24, 40, .07);
  --shadow-lg: 0 12px 32px rgba(16, 24, 40, .10);
}

/* ---------- 基础 ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* 粘性导航锚点偏移 */
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  background: var(--c-page-bg);
  color: var(--c-text);
  font: 16px/1.75 -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--c-accent); text-decoration: none; }
a:hover { text-decoration: none; }

h1, h2, h3, h4 {
  margin: 0 0 14px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--c-text);
}
h1 { font-size: clamp(28px, 3.6vw, 40px); }
h2 { font-size: clamp(22px, 2.4vw, 28px); }
h3 { font-size: 18px; }
h4 { font-size: 16px; }

p { margin: 0 0 14px; }
ul, ol { margin: 0 0 14px; padding-left: 22px; }
li { margin-bottom: 8px; }
li:last-child { margin-bottom: 0; }

strong { font-weight: 600; }

:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- 布局 ---------- */
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gap);
}

.section {
  background: var(--c-surface);
  padding: 60px 0;
}
.section--alt { background: var(--c-page-bg); }
.section > .wrap > h2 {
  position: relative;
  padding-left: 14px;
  margin-bottom: 10px;
}
.section > .wrap > h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: .42em;
  bottom: .42em;
  width: 4px;
  border-radius: 2px;
  background: var(--c-accent);
}

.section-lead {
  color: var(--c-text-soft);
  font-size: 16px;
  margin-bottom: 28px;
  max-width: 800px;
}

.grid { display: grid; gap: 18px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.stack-sm > * + * { margin-top: 10px; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--c-line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--c-text);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.01em;
  white-space: nowrap;
}
.brand::before {
  content: "";
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--c-accent), #4b8bf5);
  box-shadow: var(--shadow-sm);
  flex: none;
}
.brand small {
  display: block;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--c-text-mute);
  margin-top: 1px;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
}
.site-nav a {
  display: block;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  color: var(--c-text-soft);
  font-size: 15px;
  font-weight: 500;
  transition: background .16s ease, color .16s ease;
}
.site-nav a:hover { background: var(--c-surface-soft); color: var(--c-text); }
.site-nav a.is-active {
  color: var(--c-accent);
  font-weight: 600;
  background: var(--c-accent-soft);
}

.nav-toggle {
  display: none;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sm);
  color: var(--c-text);
  font-size: 15px;
  padding: 8px 14px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border: 1px solid var(--c-accent);
  border-radius: var(--radius-sm);
  background: var(--c-accent);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: background .16s ease, transform .16s ease, box-shadow .16s ease;
}
.btn:hover {
  background: var(--c-accent-dark);
  border-color: var(--c-accent-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn--ghost {
  background: var(--c-surface);
  color: var(--c-accent);
  box-shadow: none;
}
.btn--ghost:hover {
  background: var(--c-accent-soft);
  color: var(--c-accent-dark);
  box-shadow: none;
}
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }

/* ---------- 主视觉 ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(900px 380px at 88% -8%, rgba(31, 95, 208, .10), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
  padding: 64px 0 56px;
  border-bottom: 1px solid var(--c-line-soft);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 44px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--c-accent);
  background: var(--c-accent-soft);
  border: 1px solid #d9e5fb;
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 18px;
}
.hero h1 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 16px; }
.hero-sub { color: var(--c-text-soft); font-size: 17px; margin-bottom: 0; max-width: 560px; }
.hero-tips {
  margin-top: 24px;
  font-size: 14px;
  color: var(--c-text-soft);
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 12px 16px;
  box-shadow: var(--shadow-sm);
}
.trust-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 22px 0 0;
  padding: 0;
  font-size: 14px;
  color: var(--c-text-soft);
}
.trust-list li { display: flex; align-items: center; gap: 7px; margin: 0; }
.trust-list li::before {
  content: "";
  width: 16px;
  height: 16px;
  flex: none;
  border-radius: 50%;
  background: var(--c-accent-soft) url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.4l3 3 6-6.4' fill='none' stroke='%231f5fd0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* ---------- 图片占位 ---------- */
.img-slot {
  margin: 0;
  background: var(--c-placeholder);
  border: 1px dashed #ccd2da;
  border-radius: var(--radius);
  overflow: hidden;
}
.img-slot img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--c-placeholder);
}
.img-slot--square img { aspect-ratio: 4 / 3; }
.img-slot__note {
  font-size: 13px;
  color: var(--c-text-mute);
  background: var(--c-surface-soft);
  border-top: 1px solid var(--c-line-soft);
  padding: 8px 12px;
}
.img-slot.is-missing { min-height: 180px; }
.img-slot.is-missing img { display: none; }

/* ---------- 实拍图专区（供搜索引擎出图） ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.gallery-item {
  margin: 0;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: #cfd9ea;
}
.gallery-item .img-slot {
  border: none;
  border-radius: 0;
  background: var(--c-placeholder);
}
.gallery-item .img-slot img {
  aspect-ratio: 4 / 3;
  transition: transform .3s ease;
}
.gallery-item:hover .img-slot img { transform: scale(1.02); }
.gallery-item figcaption {
  padding: 14px 18px 16px;
  border-top: 1px solid var(--c-line-soft);
}
.gallery-item h3 {
  font-size: 16px;
  margin: 0 0 6px;
}
.gallery-item h3 a { color: var(--c-text); }
.gallery-item h3 a:hover { color: var(--c-accent); }
.gallery-item p {
  margin: 0;
  font-size: 14px;
  color: var(--c-text-soft);
}
.gallery-meta {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: var(--c-text-mute);
}

/* ---------- 卡片 / 模块 ---------- */
.card {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover {
  transform: translateY(-2px);
  border-color: #d6dde8;
  box-shadow: var(--shadow-md);
}
.card h3 { font-size: 17px; margin-bottom: 8px; }
.card h3 a { color: var(--c-text); }
.card h3 a:hover { color: var(--c-accent); }
.card p { margin-bottom: 8px; font-size: 15px; color: var(--c-text-soft); }
.card p:last-child { margin-bottom: 0; }
.card ul { font-size: 15px; color: var(--c-text-soft); }
.card--plain { background: var(--c-surface); }

.fault-grid .card { padding: 18px 20px; }
.fault-grid .card h3 { font-size: 16px; margin-bottom: 6px; }
.fault-grid .card p { font-size: 14px; margin-bottom: 8px; }
.more-link { font-size: 14px; font-weight: 500; }
.more-link a::after { content: " →"; }

/* ---------- 流程列表 ---------- */
.steps {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 20px 46px;
  margin: 0 0 0 16px;
  border-left: 2px solid var(--c-line);
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: -17px;
  top: -2px;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--c-accent);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(31, 95, 208, .28);
}
.steps li:last-child { border-left-color: transparent; padding-bottom: 0; }
.steps li strong { display: block; margin-bottom: 2px; }
.steps li { color: var(--c-text-soft); font-size: 15px; }

/* ---------- 表格 ---------- */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: var(--c-surface);
  box-shadow: var(--shadow-sm);
}
table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  min-width: 620px;
}
table.data caption {
  text-align: left;
  font-size: 14px;
  color: var(--c-text-soft);
  padding: 14px 16px;
  border-bottom: 1px solid var(--c-line-soft);
}
table.data th,
table.data td {
  border-bottom: 1px solid var(--c-line-soft);
  padding: 13px 16px;
  text-align: left;
  vertical-align: top;
}
table.data thead th {
  background: var(--c-surface-soft);
  font-weight: 600;
  color: var(--c-text);
  white-space: nowrap;
}
table.data tbody tr:hover { background: #fbfcfe; }
table.data tbody tr:last-child td { border-bottom: none; }
table.data tbody th { font-weight: 600; white-space: nowrap; }

/* ---------- 标签 / 提示 ---------- */
.tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  padding: 2px 9px;
  border-radius: 999px;
  border: 1px solid var(--c-line);
  color: var(--c-text-soft);
  background: var(--c-surface-soft);
  margin-left: 6px;
  vertical-align: 2px;
  white-space: nowrap;
}
.tag--accent { border-color: #c7dbfb; color: var(--c-accent); background: var(--c-accent-soft); }
.tag--warn { border-color: #eed9a8; color: #8a6a1f; background: #fdf7e9; }

.note {
  background: var(--c-surface-soft);
  border: 1px solid var(--c-line);
  border-left: 3px solid var(--c-accent);
  border-radius: var(--radius);
  padding: 16px 18px;
  font-size: 15px;
  color: var(--c-text-soft);
  box-shadow: var(--shadow-sm);
}
.note strong { color: var(--c-text); }
.note p:last-child { margin-bottom: 0; }

.status-box {
  border: 1px dashed #ccd2da;
  background: var(--c-surface-soft);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  color: var(--c-text-soft);
}
.status-box h3 { color: var(--c-text); margin-bottom: 8px; }
.status-box p { max-width: 640px; margin-left: auto; margin-right: auto; }

/* ---------- FAQ ---------- */
.faq-item {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
}
.faq-item:last-child { margin-bottom: 0; }
.faq-item h3 { font-size: 16px; margin-bottom: 6px; }
.faq-item p { margin-bottom: 0; color: var(--c-text-soft); font-size: 15px; }

/* ---------- 面包屑 ---------- */
.breadcrumb {
  font-size: 13px;
  color: var(--c-text-mute);
  padding: 18px 0 4px;
}
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb a { color: var(--c-text-soft); }
.breadcrumb a:hover { color: var(--c-accent); }
.breadcrumb li::after { content: "›"; margin-left: 6px; color: #b6bcc7; }
.breadcrumb li:last-child::after { content: ""; }

/* ---------- 咨询条 ---------- */
.cta-band {
  position: relative;
  background:
    radial-gradient(700px 260px at 12% 0%, rgba(31, 95, 208, .10), transparent 60%),
    linear-gradient(180deg, #f2f6fd 0%, #eaf0fa 100%);
  border-top: 1px solid #dde5f2;
  border-bottom: 1px solid #dde5f2;
  padding: 52px 0;
}
.cta-band h2 { margin-bottom: 10px; }
.cta-band p { color: var(--c-text-soft); max-width: 780px; }
.cta-band ul { margin-top: 18px; }

/* ---------- 页脚 ---------- */
.site-footer {
  background: #171a20;
  color: #aeb5c0;
  padding: 48px 0 28px;
  font-size: 14px;
}
.site-footer a { color: #d7dee8; }
.site-footer a:hover { color: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.site-footer h4 {
  color: #fff;
  font-size: 15px;
  margin-bottom: 12px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 7px; }
.footer-bottom {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid #2a2e36;
  color: #8b929d;
  font-size: 13px;
}
.footer-bottom p { margin-bottom: 6px; }

/* ---------- 联系信息占位 ---------- */
.cfg-empty { color: #a17b1f; }
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li {
  border-bottom: 1px solid var(--c-line-soft);
  padding: 11px 0;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.contact-list li:last-child { border-bottom: none; }
.contact-list .k { width: 92px; flex: none; color: var(--c-text-soft); }

/* ---------- 页头咨询按钮 ---------- */
.header-cta {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  background: var(--c-accent);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
  transition: background .16s ease, transform .16s ease;
}
.header-cta:hover {
  background: var(--c-accent-dark);
  color: #fff;
  transform: translateY(-1px);
}

/* ---------- 页面要点摘要（便于搜索引擎与 AI 抓取要点） ---------- */
.page-summary {
  margin-top: 20px;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-left: 3px solid var(--c-accent);
  border-radius: var(--radius);
  padding: 16px 18px 6px;
  box-shadow: var(--shadow-sm);
}
.page-summary__title {
  font-size: 15px;
  margin-bottom: 8px;
  color: var(--c-text);
}
.page-summary ul { margin: 0 0 10px; padding-left: 20px; }
.page-summary li { font-size: 15px; color: var(--c-text-soft); margin-bottom: 6px; }

/* ---------- 主视觉图片动效 ---------- */
.img-slot--hero {
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  background: var(--c-placeholder);
  overflow: hidden;
}
.img-slot--hero img { aspect-ratio: 4 / 3; }
.hero-media {
  animation: heroFadeIn .9s cubic-bezier(.2, .7, .3, 1) both,
             heroDrift 16s ease-in-out 1s infinite alternate;
}
@keyframes heroFadeIn {
  from { opacity: 0; transform: scale(1.06) translateY(10px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes heroDrift {
  from { transform: scale(1); }
  to   { transform: scale(1.045); }
}

/* ---------- 侧边微信悬浮按钮 ---------- */
.wx-float {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 60;
}
.wx-float__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--c-accent);
  color: #fff;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: background .16s ease, transform .16s ease;
}
.wx-float__btn::before {
  content: "";
  width: 26px;
  height: 26px;
  flex: none;
  background: url(    "data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M9.2 3C5.3 3 2.2 5.7 2.2 9c0 1.9 1 3.6 2.6 4.7L4 16.5l2.9-1.5c.7.2 1.5.3 2.3.3h.5a5.3 5.3 0 0 1-.2-1.4c0-3.1 3-5.6 6.7-5.6h.6C15.9 5 12.9 3 9.2 3Zm-2.5 3.6a.9.9 0 1 1 0 1.8.9.9 0 0 1 0-1.8Zm5 0a.9.9 0 1 1 0 1.8.9.9 0 0 1 0-1.8Z'/%3E%3Cpath d='M21.8 13.6c0-2.6-2.6-4.7-5.8-4.7s-5.8 2.1-5.8 4.7c0 2.6 2.6 4.7 5.8 4.7.7 0 1.4-.1 2-.3l2.4 1.2-.6-2c1.3-.9 2-2.1 2-3.6Zm-7.7-1a.75.75 0 1 1 0 1.5.75.75 0 0 1 0-1.5Zm3.8 0a.75.75 0 1 1 0 1.5.75.75 0 0 1 0-1.5Z'/%3E%3C/svg%3E") center/26px no-repeat;
}
.wx-float__btn:hover { background: var(--c-accent-dark); transform: translateY(-1px); }
.wx-float__panel {
  display: none;
  position: absolute;
  right: 68px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 16px;
  text-align: center;
  width: 210px;
}
.wx-float.is-open .wx-float__panel { display: block; animation: panelIn .18s ease-out both; }
@keyframes panelIn {
  from { opacity: 0; transform: translateY(-50%) translateX(8px); }
  to { opacity: 1; transform: translateY(-50%) translateX(0); }
}
.wx-float__panel img {
  width: 180px;
  height: auto;
  margin: 0 auto 10px;
  border-radius: var(--radius-sm);
}
.wx-float__panel p { margin: 0; font-size: 13px; color: var(--c-text-soft); }

/* ---------- 页脚二维码与备案号 ---------- */
.footer-qr {
  width: 130px;
  height: auto;
  border-radius: var(--radius-sm);
  background: #fff;
  padding: 6px;
  margin-bottom: 8px;
}
.footer-qr-tip { margin: 0; font-size: 13px; color: #98a0a8; }
.icp { margin-bottom: 8px; }
.icp a { color: #c3cad4; text-decoration: none; border-bottom: 1px dotted #6d7580; }
.icp a:hover { color: #fff; }

/* 微信二维码（由 config.js 的 wechatQrImage 渲染） */
[data-config-qr] img {
  width: 220px;
  height: auto;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
[data-config-qr] .cfg-empty {
  font-size: 14px;
  margin: 0;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1000px) {
  .grid--4 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .hero { padding: 44px 0 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 46px 0; }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; align-items: center; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--c-surface);
    border-bottom: 1px solid var(--c-line);
    box-shadow: var(--shadow-md);
    max-height: calc(100vh - 68px);
    overflow-y: auto;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 2px; padding: 8px; }
  .site-nav a { padding: 13px 14px; }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  :root { --gap: 18px; }
  .section { padding: 38px 0; }
  .hero { padding: 32px 0 30px; }
  .grid--2, .grid--3, .grid--4, .gallery { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 22px; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .steps li { padding-left: 40px; }
  .card { padding: 18px; }
  .header-cta { display: none; }
  .wx-float { right: 12px; }
  .wx-float__btn { width: 50px; height: 50px; }
  .wx-float__panel { right: 60px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

/* ---------- 打印 ---------- */
@media print {
  .site-header, .site-footer, .cta-band, .nav-toggle, .wx-float, .header-cta { display: none; }
  .card, .gallery-item, .faq-item { box-shadow: none; }
}
