/* ==========================================================
   香港国际印刷及包装展 · 官网样式
   主视觉配色（取自官方 KV 实测）：CMYK 印刷四色
   - 品牌黄  #FFF103  （主背景/强调，占海报 68%）
   - 印刷青  #00AEEF  （装饰；文字用 #0088CC 保证对比度）
   - 印刷品红 #E00080 （按钮/强调）
   - 印刷黑  #141414  （文字/主按钮）
   ========================================================== */

:root {
  --brand-yellow: #FFF103;
  --brand-yellow-soft: #FFFBE0;
  --brand-yellow-deep: #F5E400;
  --brand-cyan: #00AEEF;       /* 装饰用（图形/边框） */
  --brand-cyan-text: #0088CC;  /* 文字用（对比度达标） */
  --brand-cyan-deep: #0077B8;  /* 小字青色 */
  --brand-magenta: #E00080;
  --brand-magenta-deep: #C00070;
  --brand-magenta-light: #FDEBF4;
  --ink: #141414;
  --ink-2: #454550;
  --ink-3: #8A8A92;
  --line: #E8E8E8;
  --bg: #FFFFFF;
  --bg-soft: #F7F7F8;
  --bg-dark: #101014;

  /* 兼容别名（历史页面内联样式引用） */
  --red: var(--brand-magenta);
  --red-dark: var(--brand-magenta-deep);
  --red-light: var(--brand-magenta-light);
  --gold: var(--brand-yellow);

  --radius: 10px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06);
  --shadow: 0 4px 20px rgba(0,0,0,.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.12);
  --maxw: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- 顶部通栏 ---------- */
/* ---------- 导航 ---------- */
.nav {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 100;
  box-shadow: var(--shadow-sm);
}
.nav .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 108px;
}
.logo-block { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-sub {
  display: flex; gap: 4px; align-items: baseline;
  font-size: 12.5px; color: var(--ink-3); line-height: 1;
  white-space: nowrap; overflow: hidden;
}
.logo-h {
  height: 62px; width: auto; display: block;
  transition: transform .2s;
}
.logo-h:hover { transform: scale(1.02); }
.logo-mark {
  width: 46px; height: 46px; border-radius: 8px;
  background: var(--brand-yellow);
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 17px; letter-spacing: -.5px;
  flex-shrink: 0;
  box-shadow: inset 0 -3px 0 rgba(0,0,0,.12);
}
.logo-text b {
  display: block; font-size: 17px; font-weight: 700; letter-spacing: .5px;
  line-height: 1.25;
}
.logo-text span {
  display: block; font-size: 10.5px; color: var(--ink-3);
  letter-spacing: .3px; text-transform: uppercase;
}

.menu { display: flex; gap: 2px; align-items: center; }
.menu > li > a {
  display: block; padding: 10px 13px; border-radius: 6px;
  font-size: 15px; font-weight: 500; transition: all .2s;
  white-space: nowrap;
}
.menu > li > a:hover { background: var(--bg-soft); color: var(--brand-magenta); }
.menu > li > a.active { color: var(--brand-magenta); font-weight: 600; background: var(--brand-magenta-light); }
.menu .btn-cta {
  background: var(--ink); color: var(--brand-yellow) !important; font-weight: 600;
  padding: 10px 20px; margin-left: 8px;
}
.menu .btn-cta:hover { background: #000; }

.nav-toggle {
  display: none; background: none; border: none; font-size: 24px;
  cursor: pointer; color: var(--ink);
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-block; padding: 12px 28px; border-radius: 6px;
  font-size: 15px; font-weight: 600; cursor: pointer; border: none;
  transition: all .22s; text-align: center; font-family: inherit;
}
.btn-primary { background: var(--brand-yellow); color: var(--ink); }
.btn-primary:hover { background: #FFEB00; transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid rgba(0,0,0,.5); }
.btn-ghost:hover { background: rgba(0,0,0,.07); }
.btn-outline { background: transparent; color: var(--brand-magenta); border: 1.5px solid var(--brand-magenta); }
.btn-outline:hover { background: var(--brand-magenta); color: #fff; }
.btn-sm { padding: 8px 18px; font-size: 13.5px; }
/* no-hover：悬停不变色，直接点击 */
.no-hover, .no-hover:hover { transition: none; transform: none !important; box-shadow: none !important; }
.btn-primary.no-hover:hover { background: var(--brand-yellow); transform: none; box-shadow: none; }
.btn-outline.no-hover:hover { background: transparent; color: var(--brand-magenta); }
.btn-block { display: block; width: 100%; }

/* ---------- Hero（品牌黄主视觉） ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(115deg, #FFEC00 0%, var(--brand-yellow) 55%, #FCE800 100%);
  color: var(--ink); padding: 88px 0 96px;
}
/* 印刷网点纹理（致敬海报 halftone） */
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(20,20,20,.08) 1.4px, transparent 1.4px);
  background-size: 26px 26px;
  pointer-events: none;
}
/* 青色/品红光晕（CMYK 色彩飞溅） */
.hero::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 84% 16%, rgba(0,174,239,.28), transparent 40%),
    radial-gradient(circle at 8% 88%, rgba(224,0,128,.20), transparent 42%),
    radial-gradient(circle at 96% 78%, rgba(0,174,239,.16), transparent 30%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 2; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.55); border: 1.5px solid rgba(0,0,0,.35);
  padding: 7px 16px; border-radius: 100px; font-size: 13px;
  font-weight: 600; margin-bottom: 24px;
  backdrop-filter: blur(6px);
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand-magenta); box-shadow: 0 0 8px var(--brand-magenta); }
.hero h1 {
  font-size: 46px; line-height: 1.25; font-weight: 800;
  letter-spacing: -.5px; margin-bottom: 14px; max-width: 820px;
}
.hero h1 em { font-style: normal; }
.hero h1 .c-cyan { color: var(--brand-cyan-text); }
.hero h1 .c-magenta { color: var(--brand-magenta); }
.hero .sub-en {
  font-size: 14px; letter-spacing: 1.6px; text-transform: uppercase;
  color: rgba(20,20,20,.55); margin-bottom: 26px;
}
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 12px 34px; margin-bottom: 36px;
  font-size: 16.5px;
}
.hero-meta .item { display: flex; align-items: center; gap: 9px; }
.hero-meta .ico { opacity: .75; font-size: 17px; }
.hero-meta b { font-weight: 700; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-note {
  margin-top: 30px; padding-top: 22px;
  border-top: 1.5px solid rgba(0,0,0,.18);
  font-size: 13.5px; color: rgba(20,20,20,.68);
  display: flex; flex-wrap: wrap; gap: 8px 26px;
}

/* ---------- 数据条 ---------- */
.stats {
  background: #fff; position: relative; z-index: 3;
  margin-top: -44px;
}
.stats-inner {
  background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: repeat(4, 1fr);
  overflow: hidden; border: 1px solid var(--line);
}
.stat { padding: 30px 20px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: none; }
.stat .num {
  font-size: 38px; font-weight: 800; color: var(--brand-magenta);
  line-height: 1.1; letter-spacing: -1px;
  font-variant-numeric: tabular-nums;
}
.stat .num small { font-size: 18px; font-weight: 700; margin-left: 2px; }
.stat .lbl { font-size: 13.5px; color: var(--ink-2); margin-top: 6px; }
.stat .lbl em { display: block; font-style: normal; font-size: 11px; color: var(--ink-3); margin-top: 2px; }

/* ---------- 通用区块 ---------- */
.section { padding: 78px 0; }
.section.soft { background: var(--bg-soft); }
.section-head { margin-bottom: 46px; }
.section-head.center { text-align: center; }
.eyebrow {
  display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: 2px;
  color: var(--brand-magenta); text-transform: uppercase; margin-bottom: 12px;
}
.section-head h2 {
  font-size: 34px; font-weight: 800; letter-spacing: -.5px;
  line-height: 1.28; margin-bottom: 12px;
}
.section-head p { color: var(--ink-2); font-size: 16px; max-width: 720px; }
.section-head.center p { margin: 0 auto; }

/* ---------- 卡片网格 ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; transition: all .24s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: #DCDCDC; }
.card .ico-box {
  width: 50px; height: 50px; border-radius: 10px; background: var(--brand-yellow-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 18px;
}
.card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.card p { color: var(--ink-2); font-size: 14.5px; line-height: 1.75; }
.card ul li {
  color: var(--ink-2); font-size: 14.5px; padding-left: 18px;
  position: relative; margin-bottom: 8px;
}
.card ul li::before {
  content: ''; position: absolute; left: 0; top: 10px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--brand-magenta);
}

/* ---------- 优势列表 ---------- */
.adv { display: flex; gap: 18px; align-items: flex-start; }
.adv .num {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%;
  background: var(--brand-magenta); color: #fff; font-weight: 800; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
}
.adv-body h4 { font-size: 17px; font-weight: 700; margin-bottom: 7px; }
.adv-body p { color: var(--ink-2); font-size: 14.5px; }

/* ---------- 专区标签 ---------- */
.zones { display: flex; flex-wrap: wrap; gap: 12px; }
.zone-tag {
  display: inline-flex; align-items: center; gap: 9px;
  background: #fff; border: 1px solid var(--line); border-radius: 100px;
  padding: 11px 22px; font-size: 15px; font-weight: 500;
  transition: all .2s;
}
.zone-tag:hover { border-color: var(--brand-cyan); color: var(--brand-cyan-text); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.zone-tag .e { font-size: 18px; }
.zone-tag.new { border-color: var(--brand-magenta); background: var(--brand-magenta-light); }
.zone-tag.new::after {
  content: 'NEW'; font-size: 10px; font-weight: 800; background: var(--brand-magenta);
  color: #fff; padding: 2px 6px; border-radius: 4px; letter-spacing: .5px;
}

/* ---------- 新闻卡片 ---------- */
.news-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: all .24s; display: flex; flex-direction: column;
}
.news-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.news-cover {
  height: 170px; background: linear-gradient(135deg, #26262E, #42424E);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.35); font-size: 34px;
  overflow: hidden;
}
.news-cover img { width: 100%; height: 100%; object-fit: cover; }
.news-body { padding: 22px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.news-cat {
  display: inline-block; font-size: 12px; font-weight: 700; color: var(--brand-magenta);
  background: var(--brand-magenta-light); padding: 3px 10px; border-radius: 4px;
  margin-bottom: 12px; align-self: flex-start;
}
.news-body h3 {
  font-size: 16.5px; font-weight: 700; line-height: 1.5; margin-bottom: 10px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-body p {
  color: var(--ink-2); font-size: 14px; line-height: 1.7; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.news-meta {
  margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line);
  font-size: 12.5px; color: var(--ink-3); display: flex; justify-content: space-between;
}

/* ---------- 表格 ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table.tb { width: 100%; border-collapse: collapse; font-size: 14.5px; background: #fff; }
table.tb th {
  background: var(--bg-soft); text-align: left; padding: 14px 16px;
  font-weight: 600; font-size: 13.5px; color: var(--ink-2);
  border-bottom: 1px solid var(--line); white-space: nowrap;
}
table.tb td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.tb tr:last-child td { border-bottom: none; }
table.tb tbody tr:hover { background: #FAFAFB; }

/* ---------- 表单 ---------- */
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 38px 40px; box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px;
  color: var(--ink-2);
}
.form-group label .req { color: var(--brand-magenta); margin-left: 2px; }
.form-group input[type=text],
.form-group input[type=email],
.form-group input[type=tel],
.form-group input[type=password],
.form-group input[type=date],
.form-group select,
.form-group textarea {
  width: 100%; padding: 12px 15px; border: 1px solid #DCDCDC; border-radius: 7px;
  font-size: 15px; font-family: inherit; color: var(--ink);
  transition: border .2s, box-shadow .2s; background: #fff;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--brand-magenta); box-shadow: 0 0 0 3px rgba(224,0,128,.1);
}
.form-group textarea { resize: vertical; min-height: 100px; line-height: 1.7; }
.form-hint { font-size: 12.5px; color: var(--ink-3); margin-top: 6px; }

.check-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.check-item {
  display: flex; align-items: center; gap: 8px; padding: 11px 14px;
  border: 1px solid #DCDCDC; border-radius: 7px; cursor: pointer;
  font-size: 14px; transition: all .2s;
}
.check-item:hover { border-color: var(--brand-cyan); background: #F2FAFE; }
.check-item input { accent-color: var(--brand-magenta); }

.alert {
  padding: 14px 18px; border-radius: 8px; font-size: 14.5px;
  margin-bottom: 24px; display: flex; align-items: center; gap: 10px;
}
.alert-success { background: #EAF7EE; color: #1B7A3D; border: 1px solid #BFE5CC; }
.alert-error { background: #FDECEE; color: #B00050; border: 1px solid #F5C6CD; }

/* ---------- 页面头（内页，品牌黄） ---------- */
.page-head {
  position: relative; overflow: hidden;
  background: linear-gradient(115deg, #FFEC00 0%, var(--brand-yellow) 55%, #FCE800 100%);
  color: var(--ink); padding: 56px 0 52px;
}
.page-head::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(20,20,20,.07) 1.4px, transparent 1.4px);
  background-size: 26px 26px;
  pointer-events: none;
}
.page-head .wrap { position: relative; z-index: 2; }
.page-head h1 { font-size: 34px; font-weight: 800; letter-spacing: -.5px; margin-bottom: 8px; }
.page-head .crumb { font-size: 13.5px; color: rgba(20,20,20,.55); }
.page-head .crumb a:hover { color: var(--ink); }

/* ---------- 文章正文 ---------- */
.article { max-width: 820px; margin: 0 auto; }
.article-head { margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.article-head h1 { font-size: 30px; font-weight: 800; line-height: 1.4; margin-bottom: 14px; }
.article-meta { font-size: 13.5px; color: var(--ink-3); display: flex; gap: 20px; flex-wrap: wrap; }
.article-body { font-size: 16px; line-height: 1.95; color: #2A2A2A; }
.article-body p { margin-bottom: 18px; }
.article-body h3 {
  font-size: 19px; font-weight: 700; margin: 32px 0 14px;
  padding-left: 13px; border-left: 4px solid var(--brand-cyan);
}
.article-body ul { margin: 0 0 18px; }
.article-body ul li {
  position: relative; padding-left: 22px; margin-bottom: 10px;
}
.article-body ul li::before {
  content: ''; position: absolute; left: 4px; top: 12px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--brand-magenta);
}
.article-body strong { color: var(--ink); font-weight: 700; }

/* ---------- 成功故事语录卡片 ---------- */
.qcard {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 22px; border: 1px solid var(--line); border-radius: 12px;
  margin-bottom: 18px; background: #fff;
}
.qcard-photo {
  width: 110px; height: 140px; border-radius: 10px; object-fit: cover;
  flex-shrink: 0; border: 1px solid var(--line);
}
.qcard-body { flex: 1; min-width: 0; }
.qcard-quote {
  font-size: 15px; line-height: 1.85; color: #2A2A2A;
  margin-bottom: 12px !important;
}
.qcard-quote::before { content: '“'; color: var(--brand-magenta); font-weight: 800; }
.qcard-quote::after { content: '”'; color: var(--brand-magenta); font-weight: 800; }
.qcard-who { font-size: 13.5px; color: var(--ink-3); line-height: 1.7; }
.qcard-who b { color: var(--ink); font-size: 14.5px; }
.qcard-tag {
  display: inline-block; font-size: 11.5px; padding: 1px 9px;
  border-radius: 20px; background: var(--brand-yellow-soft);
  color: var(--ink); margin-left: 8px; vertical-align: 1px;
}
.qcard-source { font-size: 12.5px; color: var(--ink-3); margin-top: 26px !important; }
@media (max-width: 520px) {
  .qcard { flex-direction: column; }
  .qcard-photo { width: 90px; height: 114px; }
}
.article-nav {
  margin-top: 42px; padding-top: 26px; border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 12px; font-size: 14.5px;
}
.article-nav a { color: var(--ink-2); transition: color .2s; }
.article-nav a:hover { color: var(--brand-magenta); }
.article-nav .lbl { color: var(--ink-3); font-size: 13px; margin-right: 6px; }

/* ---------- 分页 ---------- */
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 44px; }
.pager a, .pager span {
  min-width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 7px; font-size: 14.5px;
  padding: 0 13px; transition: all .2s; background: #fff;
}
.pager a:hover { border-color: var(--brand-magenta); color: var(--brand-magenta); }
.pager .cur { background: var(--brand-magenta); color: #fff; border-color: var(--brand-magenta); font-weight: 600; }
.pager .dis { color: #CCC; cursor: not-allowed; }

/* ---------- CTA 区块（印刷黑底 + 品牌黄标题） ---------- */
.cta {
  position: relative; overflow: hidden;
  background: #fff;
  border-top: 1px solid var(--line);
  color: var(--ink); padding: 68px 0; text-align: center;
}
.cta::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 12% 20%, rgba(0,174,239,.07), transparent 36%),
    radial-gradient(circle at 88% 80%, rgba(224,0,128,.07), transparent 38%);
  pointer-events: none;
}
.cta .wrap { position: relative; z-index: 2; }
.cta h2 { font-size: 32px; font-weight: 800; margin-bottom: 14px; color: var(--ink); }
.cta p { color: var(--ink-3); font-size: 16px; margin-bottom: 32px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta .btn-primary { background: var(--brand-yellow); color: var(--ink); box-shadow: 0 2px 10px rgba(0,0,0,.08); }
.cta .btn-primary:hover { background: #FFEB00; box-shadow: 0 6px 18px rgba(0,0,0,.14); }
.cta .btn-ghost { color: var(--ink); border-color: rgba(20,20,20,.35); }
.cta .btn-ghost:hover { background: rgba(20,20,20,.05); }

/* ---------- 页脚（白底） ---------- */
.footer { background: #fff; border-top: 1px solid var(--line); color: var(--ink-2); padding: 58px 0 0; font-size: 14px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 42px; }
.footer h4 { color: var(--ink); font-size: 15px; font-weight: 700; margin-bottom: 18px; }
.footer-brand .footer-logo { height: 42px; width: auto; margin-bottom: 16px; }
.footer-brand .nm { color: var(--ink); font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.footer-brand .en { font-size: 11px; color: var(--ink-3); letter-spacing: .4px; margin-bottom: 16px; }
.footer-brand p { line-height: 1.8; font-size: 13.5px; }
.footer ul li { margin-bottom: 11px; }
.footer ul a { transition: color .2s; }
.footer ul a:hover { color: var(--brand-magenta); }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 13px; line-height: 1.6; }
.footer-contact .k { color: var(--ink-3); flex-shrink: 0; }
.footer-contact .v { color: var(--ink-2); }
.footer-contact a.v:hover { color: var(--brand-magenta); }
.footer-bottom {
  border-top: 1px solid var(--line); padding: 22px 0;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 12.5px; color: var(--ink-3);
}
.footer-bottom .orgs { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom .orgs b { color: var(--ink-2); font-weight: 600; }

/* ---------- 404 ---------- */
.err-page { text-align: center; padding: 110px 0; }
.err-page .code { font-size: 96px; font-weight: 800; color: var(--brand-magenta); line-height: 1; }
.err-page h1 { font-size: 26px; margin: 18px 0 10px; }
.err-page p { color: var(--ink-2); margin-bottom: 30px; }

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

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .logo-h { height: 46px; }
  .logo-sub { display: none; }
  .nav .wrap { height: 84px; }
  .menu {
    display: none; position: absolute; top: 84px; left: 0; right: 0;
    background: #fff; flex-direction: column; gap: 0; padding: 12px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .menu.open { display: flex; }
  .menu > li { width: 100%; }
  .menu > li > a { width: 100%; padding: 13px 16px; }
  .menu .btn-cta { margin: 8px 0 0; text-align: center; }
  .hero { padding: 60px 0 74px; }
  .hero h1 { font-size: 32px; }
  .hero-meta { font-size: 15px; gap: 10px 22px; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
  .section { padding: 54px 0; }
  .section-head h2 { font-size: 26px; }
  .page-head h1 { font-size: 26px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-card { padding: 26px 22px; }
  .article-head h1 { font-size: 23px; }
  .article-body { font-size: 15.5px; }
  .cta h2 { font-size: 24px; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .check-grid { grid-template-columns: 1fr 1fr; }
  .wrap { padding: 0 18px; }
}

@media (max-width: 480px) {
  .check-grid { grid-template-columns: 1fr; }
  .logo-h { height: 38px; }
  .nav .wrap { height: 70px; }
  .menu { top: 70px; }
  .hero h1 { font-size: 26px; }
}

/* ---------- 微信浮标 ---------- */
.wx-float {
  position: fixed;
  right: 22px;
  bottom: 26px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
}
.wx-float-btn {
  width: 58px; height: 58px; border-radius: 50%;
  background: #07C160;              /* 微信绿 */
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 22px rgba(7,193,96,.38);
  transition: transform .22s, box-shadow .22s;
  border: none; padding: 0;
}
.wx-float-btn svg { width: 32px; height: 32px; fill: #fff; }
.wx-float:hover .wx-float-btn {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 28px rgba(7,193,96,.5);
}
.wx-float-label {
  background: #07C160;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: .5px;
  box-shadow: 0 3px 10px rgba(7,193,96,.3);
  white-space: nowrap;
}

/* 二维码弹层（悬停/点击显示） */
.wx-float-pop {
  position: absolute;
  right: 72px;
  bottom: 0;
  width: 196px;
  background: #fff;
  border-radius: 14px;
  padding: 14px 14px 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,.16);
  border: 1px solid var(--line);
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px) scale(.96);
  transform-origin: right bottom;
  transition: opacity .22s, transform .22s, visibility .22s;
}
.wx-float-pop::after {                 /* 指向浮标的小箭头 */
  content: '';
  position: absolute;
  right: -7px; bottom: 26px;
  width: 14px; height: 14px;
  background: #fff;
  border-right: 1px solid var(--line);
  border-top: 1px solid var(--line);
  transform: rotate(45deg);
}
.wx-float:hover .wx-float-pop,
.wx-float.open .wx-float-pop {
  opacity: 1; visibility: visible;
  transform: translateX(0) scale(1);
}
.wx-float-pop img {
  width: 100%; aspect-ratio: 1/1;
  object-fit: contain; display: block;
  border-radius: 8px;
  background: var(--bg-soft);
}
.wx-float-pop .tip {
  margin-top: 9px;
  font-size: 12px;
  color: var(--ink-2);
  text-align: center;
  line-height: 1.5;
}
.wx-float-pop .tip b { color: #07C160; }

@media (max-width: 820px) {
  .wx-float { right: 14px; bottom: 18px; gap: 6px; }
  .wx-float-btn { width: 50px; height: 50px; }
  .wx-float-btn svg { width: 27px; height: 27px; }
  .wx-float-label { font-size: 11px; padding: 2px 8px; }
  /* 移动端默认隐藏弹层，点击展开 */
  .wx-float:hover .wx-float-pop { opacity: 0; visibility: hidden; transform: translateX(10px) scale(.96); }
  .wx-float.open .wx-float-pop { opacity: 1; visibility: visible; transform: translateX(0) scale(1); }
  .wx-float-pop { right: auto; left: 58px; bottom: -10px; transform-origin: left bottom; width: 176px; }
  .wx-float-pop::after { right: auto; left: -7px; transform: rotate(-135deg); }
}

/* ---------- 打印 ---------- */
@media print {
  .nav, .footer, .cta, .hero-actions, .wx-float { display: none; }
}
