/* ==========================================================================
   家谱久久 官网样式表  www.jiapu99.cn
   设计系统：宣纸暖底 + 铜棕品牌色（取自 LOGO 实色 #9F6B39）+ 宋体大标题
   适配：移动优先，1024 / 860 / 640 三档断点
   ========================================================================== */

/* ---------- 1. 设计令牌 ---------- */
:root {
  /* 品牌铜棕（取自 LOGO 主色采样 #9F6B39） */
  --brand: #9f6b39;
  --brand-deep: #6e4520;
  --brand-dark: #4e3018;
  --brand-light: #b98a55;
  --brand-tint: #f6ede0;
  --brand-050: #fbf5ec;

  /* 中性 */
  --paper: #fbf8f3;
  --surface: #ffffff;
  --surface-2: #f7f2ea;
  --ink: #241f1a;
  --ink-2: #4a423a;
  --ink-3: #7a6f63;
  --ink-4: #a79c8e;
  --line: #eae1d5;
  --line-2: #f3ece2;

  /* 强调 */
  --wx: #07c160;
  --wx-dark: #05974b;
  --seal: #a8332f;

  /* 圆角 / 阴影 */
  --r-xs: 6px;
  --r-sm: 10px;
  --r: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --sh-1: 0 1px 2px rgba(78, 48, 24, .05), 0 4px 16px rgba(78, 48, 24, .05);
  --sh-2: 0 2px 6px rgba(78, 48, 24, .07), 0 16px 40px rgba(78, 48, 24, .09);
  --sh-brand: 0 6px 20px rgba(159, 107, 57, .28);

  --maxw: 1180px;
  --pad: 24px;
  --header-h: 72px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 2. 基础重置 ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Source Han Sans SC", "Noto Sans CJK SC", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .01em;
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }

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

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- 3. 布局容器 ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: 88px 0; }
.section--tight { padding: 60px 0; }
.section--alt { background: var(--surface); }
.section--paper { background: var(--brand-050); }

/* 章节标题组 */
.head { max-width: 760px; margin-bottom: 44px; }
.head--center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .16em;
  color: var(--brand); text-transform: uppercase;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--brand), var(--brand-light));
}
.head--center .eyebrow::after {
  content: ""; width: 22px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--brand-light), var(--brand));
}
.head h2 {
  font-family: "Songti SC", "STSong", "SimSun", "Source Han Serif SC", serif;
  font-size: clamp(27px, 3.4vw, 38px);
  line-height: 1.32;
}
.head p { margin-top: 14px; color: var(--ink-3); font-size: 16.5px; }
.head strong { color: var(--ink); font-weight: 600; }

/* ---------- 4. 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 26px;
  border-radius: var(--r);
  font-size: 16px; font-weight: 600; white-space: nowrap;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background-color .18s var(--ease), color .18s var(--ease);
}
.btn:active { transform: scale(.97); }
.btn--primary {
  background: linear-gradient(135deg, var(--brand-light), var(--brand) 55%, var(--brand-deep));
  color: #fff; box-shadow: var(--sh-brand);
}
.btn--primary:hover { box-shadow: 0 10px 26px rgba(159, 107, 57, .34); }
.btn--wx { background: var(--wx); color: #fff; box-shadow: 0 6px 20px rgba(7, 193, 96, .26); }
.btn--wx:hover { background: var(--wx-dark); }
.btn--ghost {
  background: var(--surface); color: var(--brand-deep);
  border: 1px solid var(--line); box-shadow: var(--sh-1);
}
.btn--ghost:hover { border-color: var(--brand-light); color: var(--brand); }
.btn--line { background: transparent; color: var(--brand-deep); border: 1px solid var(--brand-light); }
.btn--line:hover { background: var(--brand-tint); }
.btn--sm { height: 40px; padding: 0 18px; font-size: 15px; border-radius: var(--r-sm); }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- 5. 顶部导航 ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(251, 248, 243, .86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease);
}
.header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 1px 20px rgba(78, 48, 24, .07); }
.header__inner { height: 100%; display: flex; align-items: center; gap: 20px; }

.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand__logo {
  width: 40px; height: 40px; border-radius: 11px; object-fit: cover;
  box-shadow: 0 2px 8px rgba(78, 48, 24, .16);
}
.brand__name {
  font-family: "Songti SC", "STSong", "SimSun", serif;
  font-size: 21px; font-weight: 700; letter-spacing: .06em; color: var(--brand-dark);
  line-height: 1.1;
}
.brand__slogan { display: block; font-size: 11.5px; color: var(--ink-4); letter-spacing: .14em; font-weight: 500; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative; padding: 9px 14px; border-radius: var(--r-sm);
  font-size: 15px; color: var(--ink-2); font-weight: 500;
  transition: color .18s var(--ease), background-color .18s var(--ease);
}
.nav a:hover { color: var(--brand-deep); background: var(--brand-050); }
.nav a.is-active { color: var(--brand-deep); font-weight: 600; }
.nav a.is-active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px;
  height: 2px; border-radius: 2px; background: var(--brand);
}
.header .btn { margin-left: 10px; }

.burger {
  display: none; margin-left: auto;
  width: 44px; height: 44px; border-radius: var(--r-sm);
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.burger span {
  display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--brand-dark);
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--header-h) 0 auto 0; z-index: 99;
  background: var(--paper); border-bottom: 1px solid var(--line);
  box-shadow: var(--sh-2);
  padding: 10px var(--pad) 22px;
  display: none;
}
.mobile-menu.is-open { display: block; }
.mobile-menu a {
  display: block; padding: 13px 4px; border-bottom: 1px solid var(--line-2);
  font-size: 16px; color: var(--ink); font-weight: 500;
}
.mobile-menu a:last-of-type { border-bottom: 0; }
.mobile-menu .btn { margin-top: 14px; }

/* ---------- 6. Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 76px 0 84px;
  background:
    radial-gradient(1100px 460px at 78% -8%, rgba(185, 138, 85, .16), transparent 62%),
    radial-gradient(760px 420px at 6% 8%, rgba(168, 51, 47, .06), transparent 60%),
    var(--paper);
}
.hero::after {
  content: ""; position: absolute; right: -140px; bottom: -190px;
  width: 460px; height: 460px; border-radius: 50%;
  border: 1px solid rgba(159, 107, 57, .16);
  pointer-events: none;
}
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; position: relative; z-index: 1; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 15px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  font-size: 13.5px; color: var(--ink-2); box-shadow: var(--sh-1);
  margin-bottom: 22px;
}
.hero__badge b { color: var(--brand-deep); font-weight: 600; }
.hero h1 {
  font-family: "Songti SC", "STSong", "SimSun", "Source Han Serif SC", serif;
  font-size: clamp(36px, 5.6vw, 60px);
  line-height: 1.18;
  letter-spacing: .02em;
  color: var(--brand-dark);
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--brand), var(--brand-light) 60%, var(--seal));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lead { margin-top: 20px; font-size: 17px; color: var(--ink-2); max-width: 560px; }
.hero__lead b { color: var(--ink); font-weight: 600; }
.hero__cta { margin-top: 32px; }
.hero__note { margin-top: 16px; font-size: 13.5px; color: var(--ink-4); }

/* Hero 扫码卡 */
.qr-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-xl); padding: 26px 26px 22px;
  box-shadow: var(--sh-2); text-align: center;
}
.qr-card__title { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.qr-card__desc { font-size: 13.5px; color: var(--ink-3); margin-bottom: 18px; }
.qr-card__codes { display: flex; justify-content: center; gap: 18px; }
.qr-card__item { flex: 1; }
.qr-card__item img {
  width: 100%; max-width: 150px; margin: 0 auto;
  border-radius: var(--r); border: 1px solid var(--line-2); background: #fff;
}
.qr-card__item--mp img { border-radius: 50%; }
.qr-card__label { display: block; margin-top: 10px; font-size: 13px; color: var(--ink-2); font-weight: 600; }
.qr-card__tip { margin-top: 16px; padding-top: 15px; border-top: 1px dashed var(--line); font-size: 13px; color: var(--ink-4); }
.qr-card__tel { display: inline-flex; align-items: center; gap: 6px; color: var(--brand-deep); font-weight: 600; }
.qr-card__tel a { border-bottom: 1px solid rgba(110, 69, 32, .35); }

/* ---------- 7. 价值主张 ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 28px 26px;
  box-shadow: var(--sh-1);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: #dccdb9; }
.pillar__ic {
  width: 46px; height: 46px; border-radius: 13px; margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand-tint); color: var(--brand-deep);
}
.pillar__ic svg { width: 24px; height: 24px; }
.pillar h3 { font-size: 19px; margin-bottom: 8px; }
.pillar p { font-size: 14.5px; color: var(--ink-3); }

/* ---------- 8. 功能宫格 ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feat {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 24px 22px;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.feat:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: #dccdb9; }
.feat__no {
  display: inline-block; font-family: "Songti SC", "SimSun", serif;
  font-size: 15px; font-weight: 700; color: var(--brand-light); letter-spacing: .08em;
  margin-bottom: 10px;
}
.feat h3 { font-size: 17.5px; margin-bottom: 8px; }
.feat p { font-size: 14px; color: var(--ink-3); }
.feat__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.tag {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  background: var(--brand-050); border: 1px solid var(--line-2);
  font-size: 12.5px; color: var(--ink-2);
}
.tag--wx { background: rgba(7, 193, 96, .08); border-color: rgba(7, 193, 96, .25); color: var(--wx-dark); }
.tag--seal { background: rgba(168, 51, 47, .07); border-color: rgba(168, 51, 47, .22); color: var(--seal); }

/* ---------- 9. 步骤流程 ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: s; }
.step {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 26px 20px 22px;
  counter-increment: s;
}
.step::before {
  content: counter(s, decimal-leading-zero);
  display: block; font-family: "Songti SC", "SimSun", serif;
  font-size: 30px; font-weight: 700; color: var(--brand-light);
  line-height: 1; margin-bottom: 12px;
}
.step h3 { font-size: 16.5px; margin-bottom: 7px; }
.step p { font-size: 13.5px; color: var(--ink-3); }
.step__arrow {
  position: absolute; right: -13px; top: 50%; transform: translateY(-50%);
  color: var(--brand-light); font-size: 18px; z-index: 2;
}
.step:last-child .step__arrow { display: none; }

/* ---------- 10. 双栏图文 ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split--rev .split__media { order: -1; }
.split__media img { border-radius: var(--r-lg); box-shadow: var(--sh-2); }
.split h2 {
  font-family: "Songti SC", "STSong", "SimSun", serif;
  font-size: clamp(25px, 3vw, 34px); margin-bottom: 16px;
}
.split p { color: var(--ink-3); font-size: 16px; }
.split ul { margin-top: 22px; display: grid; gap: 12px; }
.split ul li { position: relative; padding-left: 28px; font-size: 15px; color: var(--ink-2); }
.split ul li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--brand); box-shadow: 0 0 0 4px var(--brand-tint);
}
/* check-list 自带 svg 图标，不再叠加圆点 */
.split ul.check-list li { padding-left: 0; }
.split ul.check-list li::before { content: none; }

/* 列表勾选 */
.check-list { display: grid; gap: 14px; margin-top: 24px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink-2); }
.check-list svg { flex-shrink: 0; width: 20px; height: 20px; margin-top: 3px; color: var(--brand); }

/* ---------- 11. 套餐 ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 30px 26px 28px;
  display: flex; flex-direction: column;
  box-shadow: var(--sh-1);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.plan--hot {
  border-color: var(--brand); box-shadow: var(--sh-brand);
  background: linear-gradient(180deg, var(--brand-050), var(--surface) 38%);
}
.plan__badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  padding: 4px 14px; border-radius: 999px; background: var(--brand); color: #fff;
  font-size: 12.5px; font-weight: 600; letter-spacing: .06em; white-space: nowrap;
}
.plan__name { font-size: 19px; font-weight: 700; }
.plan__desc { font-size: 13.5px; color: var(--ink-3); margin-top: 4px; }
.plan__price { display: flex; align-items: baseline; gap: 6px; margin: 20px 0 4px; }
.plan__cur { font-size: 17px; color: var(--ink-2); font-weight: 600; }
.plan__num { font-family: "Songti SC", "SimSun", serif; font-size: 42px; font-weight: 700; color: var(--brand-deep); line-height: 1; }
.plan__per { font-size: 13.5px; color: var(--ink-4); }
.plan__list { margin: 22px 0 26px; display: grid; gap: 11px; flex: 1; }
.plan__list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); }
.plan__list svg { flex-shrink: 0; width: 17px; height: 17px; margin-top: 4px; color: var(--brand); }
.plan__list b { color: var(--ink); font-weight: 600; }

/* ---------- 12. FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq--center { margin: 0 auto; }
.qa {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.qa[open] { border-color: var(--brand-light); box-shadow: var(--sh-1); }
.qa summary {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 18px 22px; cursor: pointer; list-style: none;
  font-size: 16px; font-weight: 600; color: var(--ink);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: "+"; margin-left: auto; flex-shrink: 0;
  font-size: 20px; font-weight: 400; color: var(--brand); line-height: 1.3;
  transition: transform .22s var(--ease);
}
.qa[open] summary::after { transform: rotate(45deg); }
.qa__body { padding: 0 22px 20px; font-size: 15px; color: var(--ink-3); }
.qa__body p + p { margin-top: 10px; }
.qa__body b { color: var(--ink-2); font-weight: 600; }

/* ---------- 13. CTA 横幅 ---------- */
.cta {
  position: relative; overflow: hidden;
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, var(--brand-dark), var(--brand-deep) 45%, var(--brand));
  color: #fff; padding: 54px 48px;
  display: grid; grid-template-columns: 1.25fr .75fr; gap: 40px; align-items: center;
}
.cta::before {
  content: ""; position: absolute; right: -60px; top: -110px;
  width: 340px; height: 340px; border-radius: 50%;
  background: rgba(255, 255, 255, .06);
}
.cta h2 {
  font-family: "Songti SC", "STSong", "SimSun", serif;
  font-size: clamp(25px, 3.2vw, 34px); position: relative;
}
.cta p { margin-top: 14px; color: rgba(255, 255, 255, .82); font-size: 15.5px; position: relative; max-width: 560px; }
.cta__actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; position: relative; }
.cta__actions .btn--ghost { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .3); box-shadow: none; }
.cta__actions .btn--ghost:hover { background: rgba(255, 255, 255, .2); }
.cta__codes { display: flex; gap: 16px; position: relative; justify-content: center; }
.cta__codes figure { margin: 0; text-align: center; }
.cta__codes img {
  width: 132px; height: 132px; padding: 8px;
  background: #fff; border-radius: var(--r);
}
.cta__codes figure:first-child img { border-radius: 50%; }
.cta__codes figcaption { margin-top: 9px; font-size: 12.5px; color: rgba(255, 255, 255, .8); }

/* ---------- 14. 联系条 ---------- */
.contact-strip {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.cbox {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 26px 24px;
}
.cbox h3 { font-size: 16.5px; margin-bottom: 10px; display: flex; align-items: center; gap: 9px; }
.cbox h3 svg { width: 19px; height: 19px; color: var(--brand); }
.cbox p { font-size: 14.5px; color: var(--ink-3); }
.cbox a.tel { font-size: 20px; font-weight: 700; color: var(--brand-deep); letter-spacing: .02em; }
.cbox a.tel:hover { color: var(--brand); }

/* ---------- 15. 内容页通用 ---------- */
.page-hero {
  padding: 62px 0 52px;
  background: radial-gradient(900px 340px at 76% -12%, rgba(185, 138, 85, .16), transparent 60%), var(--paper);
  border-bottom: 1px solid var(--line-2);
}
.page-hero h1 {
  font-family: "Songti SC", "STSong", "SimSun", serif;
  font-size: clamp(29px, 4.4vw, 44px); color: var(--brand-dark);
}
.page-hero p { margin-top: 16px; font-size: 16.5px; color: var(--ink-3); max-width: 720px; }

.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 13.5px; color: var(--ink-4); margin-bottom: 16px; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb span::before { content: "/"; margin-right: 8px; color: var(--line); }

.prose { max-width: 800px; }
.prose h2 {
  font-family: "Songti SC", "STSong", "SimSun", serif;
  font-size: 24px; margin: 40px 0 14px;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 18px; margin: 28px 0 10px; }
.prose p { color: var(--ink-2); font-size: 16px; margin-bottom: 14px; }
.prose ul { margin: 0 0 18px; display: grid; gap: 9px; }
.prose ul li { position: relative; padding-left: 20px; color: var(--ink-2); font-size: 15.5px; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: .68em; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-light); }
.prose table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 14.5px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 11px 14px; text-align: left; vertical-align: top; }
.prose th { background: var(--brand-050); font-weight: 600; color: var(--brand-deep); }
.prose td { color: var(--ink-2); }
.prose a { color: var(--brand-deep); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--brand); }

.callout {
  background: var(--brand-050); border: 1px solid var(--line);
  border-left: 3px solid var(--brand);
  border-radius: var(--r); padding: 20px 22px; margin: 24px 0;
}
.callout p { margin: 0; font-size: 15px; color: var(--ink-2); }
.callout strong { color: var(--brand-deep); }

/* ---------- 16. 页脚 ---------- */
.footer { background: var(--brand-dark); color: rgba(255, 255, 255, .72); padding: 60px 0 26px; margin-top: 0; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; }
.footer .brand__name { color: #fff; }
.footer .brand__slogan { color: rgba(255, 255, 255, .5); }
.footer__about { margin-top: 16px; font-size: 14px; line-height: 1.8; color: rgba(255, 255, 255, .62); max-width: 330px; }
.footer h4 { font-size: 14.5px; color: #fff; margin-bottom: 14px; font-weight: 600; }
.footer li { margin-bottom: 9px; }
.footer li a { font-size: 14px; color: rgba(255, 255, 255, .62); transition: color .18s var(--ease); }
.footer li a:hover { color: #fff; }
.footer__tel { font-size: 19px; font-weight: 700; color: #fff; letter-spacing: .02em; }
.footer__qr { display: flex; gap: 14px; margin-top: 6px; }
.footer__qr img { width: 84px; height: 84px; padding: 5px; background: #fff; border-radius: var(--r-sm); }
.footer__qr figure { margin: 0; text-align: center; }
.footer__qr figcaption { font-size: 11.5px; margin-top: 6px; color: rgba(255, 255, 255, .55); }
.footer__qr figure:first-child img { border-radius: 50%; }
.footer__bottom {
  margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center;
  font-size: 13px; color: rgba(255, 255, 255, .5);
}
.footer__bottom a { color: rgba(255, 255, 255, .62); }
.footer__bottom a:hover { color: #fff; }

/* ---------- 17. 返回顶部 ---------- */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--sh-2); color: var(--brand-deep);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.to-top.is-show { opacity: 1; visibility: visible; transform: none; }
.to-top:active { transform: scale(.94); }
.to-top svg { width: 20px; height: 20px; }

/* ---------- 18. 滚动进场 ---------- */
.rv { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.rv.is-in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .06s; }
.rv-d2 { transition-delay: .12s; }
.rv-d3 { transition-delay: .18s; }
.rv-d4 { transition-delay: .24s; }

/* ---------- 19. 响应式 ---------- */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; gap: 44px; }
  .hero__lead { max-width: none; }
  .qr-card { max-width: 460px; }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step__arrow { display: none; }
  .split { gap: 38px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .nav, .header .btn { display: none; }
  .burger { display: flex; }
  .section { padding: 64px 0; }
  .head { margin-bottom: 34px; }
  .pillars, .plans, .contact-strip { grid-template-columns: 1fr; }
  .cta { grid-template-columns: 1fr; padding: 40px 28px; }
  .cta__codes { justify-content: flex-start; }
  .split, .split--rev .split__media { grid-template-columns: 1fr; }
  .split--rev .split__media { order: 0; }
  .faq { max-width: none; }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  :root { --pad: 18px; }
  .section { padding: 52px 0; }
  .hero { padding: 48px 0 60px; }
  .feat-grid, .steps { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .plan__num { font-size: 36px; }
  .qr-card { padding: 22px 18px 18px; }
  .qr-card__codes { flex-direction: column; align-items: center; }
  .qr-card__item img { max-width: 168px; }
  .cta__codes img { width: 118px; height: 118px; }
  .btn { width: 100%; }
  .btn-row .btn { width: 100%; }
  .header .btn { width: auto; }
  .to-top { right: 14px; bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

@media print {
  .header, .to-top, .mobile-menu, .cta { display: none; }
  body { background: #fff; }
}
