/* ============================================================
   知本咨询 · C 端 H5 设计系统
   风格：私人银行 / 高端金融顾问
   深藏青 + 香槟金 + 暖白纸感 + 极细描边 + 克制留白
   ============================================================ */

:root {
  /* 主色阶 */
  --navy-900: #071527;
  --navy-800: #0A1F3C;
  --navy-700: #0E2A4D;
  --navy-600: #143A66;
  --accent:   #1B5FA8;
  --accent-soft: #E9F0F9;

  /* 金 */
  --gold:      #C8A45C;
  --gold-lt:   #E2C88E;
  --gold-dk:   #9A7B3C;
  --gold-wash: #FBF6EA;

  /* 中性 */
  --paper:  #FBFAF7;
  --card:   #FFFFFF;
  --line:   #EAE5DA;
  --line-2: #F1EDE4;
  --text:   #17202E;
  --text-2: #5A6577;
  --text-3: #98A1AF;

  /* 语义 */
  --ok:     #16794F;
  --warn:   #A9761B;
  --danger: #B02A1E;

  /* 结构 */
  --shell: 900px;
  --r:   16px;
  --r-sm: 10px;
  --shadow-1: 0 1px 2px rgba(11,27,50,.04), 0 10px 30px -18px rgba(11,27,50,.16);
  --shadow-2: 0 2px 8px rgba(11,27,50,.06), 0 24px 60px -28px rgba(11,27,50,.26);
  --ease: cubic-bezier(.22,.8,.28,1);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
               "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1;
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
button { cursor: pointer; border: none; background: none; }

/* 页面容器 */
.page {
  display: none;
  max-width: var(--shell);
  margin: 0 auto;
  min-height: 100vh;
  padding-bottom: 96px;
}
.page.active { display: block; animation: fadeUp .38s var(--ease); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

/* ============ 顶部导航 ============ */
.site-head {
  position: sticky; top: 0; z-index: 60;
  background: rgba(251,250,247,.82);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--line-2);
}
.head-inner {
  max-width: var(--shell); margin: 0 auto;
  height: 66px; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 11px; }
.brand-seal {
  width: 34px; height: 34px; border-radius: 9px; flex: 0 0 34px;
  display: grid; place-items: center;
  background: linear-gradient(155deg, var(--navy-700), var(--navy-900));
  color: var(--gold-lt);
  font-size: 16px; font-weight: 700; letter-spacing: 0;
  box-shadow: 0 1px 0 rgba(255,255,255,.14) inset, 0 6px 16px -8px rgba(10,31,60,.6);
  border: 1px solid rgba(200,164,92,.45);
}
.brand-seal.sm { width: 26px; height: 26px; flex: 0 0 26px; font-size: 13px; border-radius: 7px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text b {
  font-size: 16px; font-weight: 700; color: var(--navy-800); letter-spacing: .14em;
}
.brand-text i {
  font-style: normal; font-size: 8.5px; letter-spacing: .26em;
  color: var(--text-3); margin-top: 3px; font-weight: 500;
}

.head-nav { display: flex; align-items: center; gap: 4px; }
.head-nav a {
  position: relative; padding: 8px 14px; font-size: 14px; color: var(--text-2);
  border-radius: 8px; transition: color .2s, background .2s; letter-spacing: .02em;
}
.head-nav a:hover { color: var(--navy-800); background: rgba(234,229,218,.5); }
.head-nav a.active { color: var(--navy-800); font-weight: 600; }
.head-nav a.active::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 2px;
  height: 1.5px; background: var(--gold); border-radius: 1px;
}

/* ============ Hero ============ */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 90% at 84% -20%, rgba(200,164,92,.26) 0%, transparent 58%),
    radial-gradient(90% 80% at 6% 108%, rgba(27,95,168,.42) 0%, transparent 62%),
    linear-gradient(158deg, #0E2A4D 0%, #0A1F3C 46%, #071527 100%);
  color: #fff;
  padding: 64px 24px 92px;
}
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.032) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(72% 66% at 52% 38%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(72% 66% at 52% 38%, #000 0%, transparent 78%);
}
.hero::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,164,92,.75), transparent);
}
.hero-glow {
  position: absolute; top: -140px; right: -100px; width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(200,164,92,.24) 0%, transparent 68%);
  filter: blur(12px); pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; }

/* 首屏右侧装饰：同心金环 */
.hero-deco {
  position: absolute; right: -90px; top: 50%; transform: translateY(-50%);
  width: 460px; height: 460px; pointer-events: none; z-index: 1;
  display: none;
}
.hero-deco .ring {
  position: absolute; left: 50%; top: 50%; border-radius: 50%;
  border: 1px solid rgba(200,164,92,.22);
  transform: translate(-50%, -50%);
}
.hero-deco .r1 { width: 460px; height: 460px; }
.hero-deco .r2 { width: 336px; height: 336px; border-color: rgba(200,164,92,.16); }
.hero-deco .r3 { width: 212px; height: 212px; border-color: rgba(200,164,92,.3); }
.hero-deco .arc {
  position: absolute; left: 50%; top: 50%; width: 336px; height: 336px;
  margin: -168px 0 0 -168px; border-radius: 50%;
  border: 1.5px solid transparent;
  border-top-color: rgba(226,200,142,.65);
  border-right-color: rgba(226,200,142,.28);
  animation: spinArc 26s linear infinite;
}
@keyframes spinArc { to { transform: rotate(360deg); } }

.hero-eyebrow {
  font-size: 10.5px; letter-spacing: .28em; color: var(--gold-lt);
  font-weight: 600; margin-bottom: 22px;
  display: flex; align-items: center; gap: 12px;
}
.hero-eyebrow::before {
  content: ''; width: 26px; height: 1px; background: var(--gold); opacity: .8;
}
.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(34px, 8vw, 54px);
  line-height: 1.18;
  font-weight: 600;
  letter-spacing: .04em;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--gold-lt) 10%, var(--gold) 55%, #B08E4A 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  letter-spacing: .06em;
}
.hero-sub {
  margin: 0 0 34px; font-size: 14.5px; line-height: 2;
  color: rgba(255,255,255,.72); font-weight: 400; max-width: 440px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-metrics {
  display: flex; align-items: center; gap: 22px;
  margin-top: 46px; padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.metric { display: flex; flex-direction: column; gap: 3px; }
.metric b {
  font-size: 22px; font-weight: 600; letter-spacing: .04em;
  font-variant-numeric: tabular-nums; color: #fff;
}
.metric span { font-size: 11px; color: rgba(255,255,255,.5); letter-spacing: .12em; }
.metric-sep { width: 1px; height: 26px; background: rgba(255,255,255,.12); }

/* ============ 按钮 ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 26px; border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14.5px; font-weight: 600; letter-spacing: .04em;
  transition: transform .18s var(--ease), box-shadow .22s, background .22s, border-color .22s, color .2s;
  white-space: nowrap;
}
.btn:active { transform: scale(.985); }
.btn:disabled { opacity: .42; cursor: not-allowed; transform: none; box-shadow: none; }

.btn-gold {
  background: linear-gradient(178deg, #D9BA7C 0%, var(--gold) 52%, #BB9650 100%);
  color: #2A1D06; border-color: #B08E4A;
  box-shadow: 0 1px 0 rgba(255,255,255,.45) inset, 0 10px 24px -12px rgba(200,164,92,.85);
}
.btn-gold:hover { box-shadow: 0 1px 0 rgba(255,255,255,.5) inset, 0 14px 30px -12px rgba(200,164,92,.95); }

.btn-navy, .btn-primary {
  background: linear-gradient(178deg, var(--navy-600) 0%, var(--navy-800) 100%);
  color: #fff; border-color: var(--navy-800);
  box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 10px 24px -14px rgba(10,31,60,.7);
}
.btn-navy:hover, .btn-primary:hover { background: linear-gradient(178deg, #17406E, var(--navy-700)); }
.btn-primary-2 { background: var(--accent); color: #fff; border-color: var(--accent); }

.btn-outline {
  background: rgba(255,255,255,.07); color: #fff;
  border-color: rgba(255,255,255,.28);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.btn-outline:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.45); }

.btn-line-dark, .btn-ghost {
  background: #fff; color: var(--navy-800); border-color: var(--line);
}
.btn-line-dark:hover, .btn-ghost:hover { border-color: var(--gold); color: var(--navy-700); }

.btn-block { width: 100%; }
.btn-lg { min-height: 54px; font-size: 15.5px; }
.btn-row { display: flex; gap: 10px; }
.btn-row .btn { flex: 1; }

/* ============ 信任条 ============ */
.trust-bar {
  display: flex; align-items: center; justify-content: center; gap: 0;
  margin: -34px auto 0; position: relative; z-index: 5;
  max-width: calc(var(--shell) - 48px);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-1);
  padding: 18px 8px;
}
.trust-item {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 7px;
  font-size: 12px; color: var(--text-2); letter-spacing: .04em;
  border-right: 1px solid var(--line-2);
}
.trust-item:last-child { border-right: none; }
.trust-item svg { width: 20px; height: 20px; color: var(--gold-dk); }

/* ============ 区块 ============ */
.section { padding: 56px 24px 8px; }
.section.tight { padding: 32px 20px 8px; }
.sec-head { margin-bottom: 26px; }
.kicker {
  font-size: 10px; letter-spacing: .3em; font-weight: 700;
  color: var(--gold-dk); margin-bottom: 10px;
}
.kicker.light { color: var(--gold-lt); }
.sec-head h2, .page-head h2 {
  margin: 0 0 10px; font-size: 25px; font-weight: 600;
  color: var(--navy-800); letter-spacing: .04em; line-height: 1.35;
}
.sec-head p, .page-head p {
  margin: 0; font-size: 13.5px; color: var(--text-2); line-height: 1.85; max-width: 560px;
}
.page-head { padding: 44px 24px 4px; }
.page-head .kicker { margin-bottom: 12px; }
.page-head::after {
  content: ''; display: block; width: 34px; height: 2px;
  background: var(--gold); margin-top: 20px; border-radius: 1px;
}

/* ============ 文章卡片 ============ */
.article-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.article-card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  min-height: 176px; padding: 22px 20px 18px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r); cursor: pointer;
  transition: transform .28s var(--ease), box-shadow .28s, border-color .28s;
}
.article-card::before {
  content: ''; position: absolute; left: 20px; right: 20px; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.article-card:hover {
  transform: translateY(-3px); border-color: #DED4C0; box-shadow: var(--shadow-2);
}
.article-card:hover::before { transform: scaleX(1); }
.article-card:active { transform: translateY(-1px) scale(.995); }

.article-top { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; }
.article-no {
  font-size: 11px; font-weight: 700; letter-spacing: .16em; color: var(--gold-dk);
  font-variant-numeric: tabular-nums;
}
.article-cat {
  font-size: 10.5px; color: var(--text-3); letter-spacing: .1em;
  padding: 2px 9px; border: 1px solid var(--line); border-radius: 999px;
}
.article-title {
  font-size: 16px; font-weight: 600; color: var(--navy-800);
  line-height: 1.55; letter-spacing: .015em; margin-bottom: 9px;
}
.article-summary {
  font-size: 12.5px; color: var(--text-2); line-height: 1.8; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.article-more {
  font-size: 12px; font-weight: 600; color: var(--gold-dk);
  margin-top: 14px; letter-spacing: .06em;
  display: flex; align-items: center; gap: 6px;
}
.article-more::after {
  content: '›'; font-size: 15px; transition: transform .25s var(--ease);
}
.article-card:hover .article-more::after { transform: translateX(4px); }

/* ============ FAQ ============ */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; min-height: 58px; padding: 18px 4px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-size: 15px; font-weight: 500; color: var(--text); text-align: left;
  letter-spacing: .01em; transition: color .2s;
}
.faq-q:hover { color: var(--navy-700); }
.faq-ico {
  flex: 0 0 22px; width: 22px; height: 22px; position: relative;
}
.faq-ico::before, .faq-ico::after {
  content: ''; position: absolute; left: 50%; top: 50%; background: var(--gold-dk);
  transition: transform .28s var(--ease), opacity .2s;
}
.faq-ico::before { width: 12px; height: 1.2px; transform: translate(-50%,-50%); }
.faq-ico::after  { width: 1.2px; height: 12px; transform: translate(-50%,-50%); }
.faq-item.open .faq-ico::after { transform: translate(-50%,-50%) rotate(90deg); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .34s var(--ease); }
.faq-item.open .faq-a { max-height: 900px; }
.faq-a > div {
  font-size: 13.5px; color: var(--text-2); line-height: 1.95;
  padding: 0 34px 20px 4px;
}

/* ============ CTA 面板 ============ */
.cta-panel {
  position: relative; overflow: hidden;
  border-radius: 20px; padding: 40px 32px;
  background:
    radial-gradient(110% 120% at 92% -20%, rgba(200,164,92,.22) 0%, transparent 58%),
    linear-gradient(150deg, #0E2A4D 0%, #08182C 100%);
  color: #fff;
  box-shadow: var(--shadow-2);
}
.cta-panel::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.026) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(80% 80% at 100% 0%, #000, transparent 70%);
  -webkit-mask-image: radial-gradient(80% 80% at 100% 0%, #000, transparent 70%);
  pointer-events: none;
}
.cta-copy { position: relative; margin-bottom: 26px; }
.cta-copy h2 {
  margin: 0 0 10px; font-size: 24px; font-weight: 600; letter-spacing: .04em;
}
.cta-copy p {
  margin: 0; font-size: 13.5px; color: rgba(255,255,255,.68); line-height: 1.85; max-width: 440px;
}
.cta-actions { position: relative; display: flex; flex-wrap: wrap; gap: 10px; }

/* ============ 页脚 ============ */
.site-foot {
  margin-top: 64px; padding: 40px 24px 44px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(247,244,237,.5), rgba(243,239,230,.85));
}
.foot-brand {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; color: var(--navy-800); letter-spacing: .06em;
  margin-bottom: 16px;
}
.foot-links { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.foot-links a {
  font-size: 12px; color: var(--text-2); letter-spacing: .04em;
  transition: color .2s;
}
.foot-links a:hover { color: var(--navy-800); }
.foot-links .sep { width: 1px; height: 10px; background: var(--line); }
.foot-legal {
  margin: 0 0 16px; font-size: 11px; line-height: 1.95;
  color: #8B95A4; letter-spacing: .01em;
  max-width: 720px;
}
.foot-copy { font-size: 10.5px; color: #B4BCC7; letter-spacing: .04em; }

/* ============ 通用面板 / 卡片 ============ */
.panel, .card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 22px;
  box-shadow: var(--shadow-1);
}
.panel + .panel, .card + .card { margin-top: 14px; }
.panel-title, .card-title {
  font-size: 13px; font-weight: 700; letter-spacing: .1em;
  color: var(--navy-800); margin: 0 0 12px;
  text-transform: uppercase;
}
.panel-text, .section-desc {
  font-size: 13.5px; color: var(--text-2); line-height: 1.85; margin: 0 0 16px;
}
.section-desc { margin: -6px 0 14px; }
.micro-note {
  margin: 16px 0 0; font-size: 10.5px; color: var(--text-3); line-height: 1.8;
}
.text-link {
  display: inline-block; margin-top: 20px;
  font-size: 13px; color: var(--text-2); letter-spacing: .04em;
  border-bottom: 1px solid var(--line); padding-bottom: 2px;
}
.text-link:hover { color: var(--navy-800); border-color: var(--gold); }

/* 咨询入口按钮（咨询中心页） */
.consult-entry {
  width: 100%; display: flex; align-items: center; gap: 16px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r); padding: 20px;
  box-shadow: var(--shadow-1); text-align: left;
  transition: transform .22s var(--ease), box-shadow .24s, border-color .22s;
  margin-bottom: 14px;
}
.consult-entry:hover { transform: translateY(-2px); border-color: #DED4C0; box-shadow: var(--shadow-2); }
.ce-icon {
  flex: 0 0 46px; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(155deg, var(--navy-700), var(--navy-900));
  color: var(--gold-lt);
  box-shadow: 0 1px 0 rgba(255,255,255,.15) inset, 0 8px 20px -10px rgba(10,31,60,.7);
}
.ce-icon svg { width: 21px; height: 21px; }
.ce-body { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.ce-body b { font-size: 15px; font-weight: 600; color: var(--navy-800); }
.ce-body i { font-style: normal; font-size: 12px; color: var(--text-3); }
.ce-arrow { color: var(--gold-dk); font-size: 22px; line-height: 1; }

/* ============ 表单 ============ */
.form-step { padding: 24px 20px 0; }
.step-heading { font-size: 22px; font-weight: 600; color: var(--navy-800); margin: 0 0 6px; letter-spacing: .04em; }
.step-desc { font-size: 13px; color: var(--text-2); margin: 0 0 20px; line-height: 1.8; }
.field { margin-bottom: 20px; }
.field-label {
  display: block; font-size: 12.5px; font-weight: 600; margin-bottom: 9px;
  color: var(--text); letter-spacing: .06em;
}
.req { color: var(--gold-dk); margin-right: 4px; }
.optional { color: var(--text-3); font-size: 10.5px; font-weight: 400; margin-left: 7px; letter-spacing: .04em; }

.field input[type=text], .field input[type=number], .field input[type=date],
.field input[type=month], .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 14px;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  background: #fff; color: var(--text); outline: none;
  font-size: 14.5px;
  transition: border-color .18s, box-shadow .18s, background .18s;
}
.field textarea { min-height: 92px; resize: vertical; line-height: 1.75; }
.field input::placeholder, .field textarea::placeholder { color: #B8BFC9; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,164,92,.14);
}
.field-error {
  color: var(--danger); font-size: 11.5px; margin-top: 7px; display: none;
  letter-spacing: .02em;
}
.field.invalid input, .field.invalid select, .field.invalid textarea,
.field.invalid .option-group { border-color: var(--danger); }
.field.invalid .field-error { display: block; }
.field-hint { font-size: 11px; color: var(--text-3); margin-top: 6px; }
.field.hidden { display: none; }

.option-group { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.option {
  min-height: 46px; display: inline-flex; align-items: center; justify-content: center;
  padding: 0 12px; width: 100%; border: 1px solid var(--line); border-radius: 999px;
  background: #fff; color: var(--text-2); font-size: 13.5px;
  transition: all .18s var(--ease);
}
.option:hover { border-color: #D8CEB9; color: var(--navy-700); }
.option.selected {
  border-color: var(--navy-700); background: var(--navy-800); color: #fff; font-weight: 600;
  box-shadow: 0 6px 16px -10px rgba(10,31,60,.7);
}

/* 授权勾选 */
.auth-item {
  border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 15px 16px; margin-bottom: 11px; background: #fff;
  transition: border-color .2s, background .2s;
}
.auth-item:has(input:checked) { border-color: #E0D2B0; background: var(--gold-wash); }
.auth-item label { display: flex; align-items: flex-start; gap: 11px; cursor: pointer; }
.auth-item input[type=checkbox] {
  width: 18px; height: 18px; margin-top: 2px; flex: 0 0 18px;
  accent-color: var(--navy-800); cursor: pointer;
}
.auth-item b { font-size: 13.5px; font-weight: 600; color: var(--text); letter-spacing: .02em; }
.auth-item a { color: var(--accent); }
.auth-text { display: block; font-size: 11.5px; color: var(--text-3); line-height: 1.75; margin-top: 5px; }

.form-footer { margin-top: 26px; padding-top: 4px; }
.notice, .form-notice {
  background: var(--gold-wash);
  border: 1px solid #EFE4CA;
  border-left: 2px solid var(--gold);
  border-radius: var(--r-sm);
  padding: 13px 16px; font-size: 11.5px; color: #7A6535; line-height: 1.8;
}
.form-notice { margin: 4px 0 20px; }
.notice strong { color: #6B5628; font-weight: 600; }

/* ============ 成功页 ============ */
.success-hero {
  text-align: center; padding: 70px 24px 26px;
}
.success-mark {
  width: 66px; height: 66px; border-radius: 50%; margin: 0 auto 22px;
  display: grid; place-items: center;
  background: linear-gradient(155deg, var(--navy-700), var(--navy-900));
  color: var(--gold-lt);
  border: 1px solid rgba(200,164,92,.45);
  box-shadow: 0 1px 0 rgba(255,255,255,.16) inset, 0 14px 34px -16px rgba(10,31,60,.7);
}
.success-mark svg { width: 28px; height: 28px; }
.success-hero h2 {
  margin: 0 0 26px; font-size: 23px; font-weight: 600;
  color: var(--navy-800); letter-spacing: .05em;
}
.success-label {
  font-size: 10px; letter-spacing: .28em; color: var(--text-3);
  margin-bottom: 8px;
}
.success-no {
  font-size: 21px; font-weight: 600; color: var(--navy-800);
  letter-spacing: .1em; font-variant-numeric: tabular-nums;
}

/* ============ 时间线 / 状态 ============ */
.timeline { position: relative; padding-left: 24px; margin-top: 4px; }
.timeline::before {
  content: ''; position: absolute; left: 4px; top: 8px; bottom: 8px;
  width: 1px; background: var(--line);
}
.tl-item { position: relative; padding-bottom: 24px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot {
  position: absolute; left: -24px; top: 5px; width: 9px; height: 9px;
  border-radius: 50%; background: #fff; border: 1.5px solid var(--line);
}
.tl-item.done .tl-dot { background: var(--navy-700); border-color: var(--navy-700); }
.tl-item.cur .tl-dot {
  background: var(--gold); border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(200,164,92,.18);
}
.tl-title { font-size: 14px; font-weight: 600; color: var(--text); letter-spacing: .02em; }
.tl-time { font-size: 11px; color: var(--text-3); margin-top: 3px; font-variant-numeric: tabular-nums; }
.tl-remark {
  font-size: 12px; color: var(--warn); background: var(--gold-wash);
  padding: 9px 12px; border-radius: 8px; margin-top: 8px; line-height: 1.7;
}

.status-badge {
  display: inline-flex; align-items: center; padding: 4px 13px; border-radius: 999px;
  font-size: 12px; font-weight: 600; letter-spacing: .04em;
  background: var(--accent-soft); color: var(--navy-700);
}
.status-badge.INFO_SUPPLEMENT { background: #FDF3E2; color: var(--warn); }
.status-badge.ACCEPTED { background: #E8F5EF; color: var(--ok); }
.status-badge.CLOSED { background: #F0F1F3; color: var(--text-2); }

/* ============ 咨询对话 ============ */
.chat-fab {
  position: fixed; right: 22px; bottom: 92px; z-index: 70;
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(155deg, var(--navy-600), var(--navy-900));
  color: var(--gold-lt);
  border: 1px solid rgba(200,164,92,.55);
  box-shadow: 0 1px 0 rgba(255,255,255,.16) inset, 0 16px 34px -14px rgba(10,31,60,.85);
  transition: transform .22s var(--ease), box-shadow .24s;
}
.hide-fab .chat-fab { opacity: 0; transform: scale(.82); pointer-events: none; }
.chat-fab:hover { transform: translateY(-3px); box-shadow: 0 1px 0 rgba(255,255,255,.2) inset, 0 22px 42px -14px rgba(10,31,60,.9); }
.chat-fab svg { width: 23px; height: 23px; }
.chat-fab::after {
  content: ''; position: absolute; inset: -5px; border-radius: 50%;
  border: 1px solid rgba(200,164,92,.35);
  animation: pulseRing 2.8s ease-out infinite;
}
@keyframes pulseRing {
  0%   { transform: scale(.9); opacity: .9; }
  70%  { transform: scale(1.22); opacity: 0; }
  100% { transform: scale(1.22); opacity: 0; }
}

.chat-window {
  position: fixed; right: 16px; bottom: 16px; z-index: 80;
  width: min(400px, calc(100vw - 24px));
  height: min(620px, calc(100vh - 32px));
  display: none; flex-direction: column; overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 32px 80px -24px rgba(7,21,39,.5), 0 0 0 1px rgba(255,255,255,.6) inset;
}
.chat-window.open { display: flex; animation: chatIn .3s var(--ease); }
@keyframes chatIn {
  from { opacity: 0; transform: translateY(14px) scale(.985); }
  to   { opacity: 1; transform: none; }
}
.chat-head {
  padding: 16px 18px; display: flex; align-items: center; justify-content: space-between;
  background:
    radial-gradient(100% 140% at 90% -30%, rgba(200,164,92,.24) 0%, transparent 60%),
    linear-gradient(150deg, var(--navy-700), var(--navy-900));
  color: #fff; border-bottom: 1px solid rgba(200,164,92,.3);
}
.ch-left { display: flex; align-items: center; gap: 11px; }
.ch-avatar {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.1); border: 1px solid rgba(200,164,92,.5);
  color: var(--gold-lt); font-size: 14px; font-weight: 600;
}
.ch-meta b { display: block; font-size: 14.5px; font-weight: 600; letter-spacing: .08em; }
.chat-status { font-size: 10.5px; color: rgba(255,255,255,.6); margin-top: 2px; letter-spacing: .04em; }
.chat-status .dot {
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  margin-right: 5px; vertical-align: 1px;
}
.chat-status .dot.on { background: #4ADE80; box-shadow: 0 0 0 3px rgba(74,222,128,.18); }
.chat-status .dot.off { background: #8B95A4; }
.chat-head .close {
  color: rgba(255,255,255,.7); font-size: 24px; line-height: 1;
  padding: 4px 8px; border-radius: 6px; transition: background .2s, color .2s;
}
.chat-head .close:hover { background: rgba(255,255,255,.1); color: #fff; }

.chat-body { flex: 1; overflow-y: auto; padding: 18px 16px; scroll-behavior: smooth; }
.chat-body::-webkit-scrollbar { width: 4px; }
.chat-body::-webkit-scrollbar-thumb { background: #DDD8CC; border-radius: 4px; }
.chat-date { text-align: center; font-size: 10.5px; color: var(--text-3); margin: 4px 0 16px; letter-spacing: .02em; }
#chatOfflineHint { color: var(--warn); padding-bottom: 8px; }

.msg { max-width: 84%; margin-bottom: 14px; display: flex; flex-direction: column; }
.msg .bubble {
  padding: 11px 14px; border-radius: 14px; font-size: 13.5px; line-height: 1.7;
  word-break: break-word; white-space: pre-wrap;
}
.msg .time { font-size: 10px; color: var(--text-3); margin-top: 5px; font-variant-numeric: tabular-nums; }
.msg.visitor { align-items: flex-end; margin-left: auto; }
.msg.visitor .bubble {
  background: linear-gradient(178deg, var(--navy-600), var(--navy-700));
  color: #fff; border-bottom-right-radius: 4px;
  box-shadow: 0 8px 20px -14px rgba(10,31,60,.8);
}
.msg.agent, .msg.system { align-items: flex-start; }
.msg.agent .bubble, .msg.system .bubble {
  background: #fff; color: var(--text); border: 1px solid var(--line);
  border-bottom-left-radius: 4px;
}
.msg.system .bubble { background: var(--gold-wash); border-color: #EFE4CA; color: #7A6535; font-size: 11.5px; }

.quick-q {
  display: flex; flex-wrap: nowrap; gap: 6px; padding: 0 14px 10px;
  overflow-x: auto; scrollbar-width: none;
}
.quick-q::-webkit-scrollbar { display: none; }
.quick-q button { flex: none; white-space: nowrap; }
.quick-q button {
  background: #fff; border: 1px solid var(--line); color: var(--text-2);
  border-radius: 999px; padding: 7px 12px; font-size: 11.5px; min-height: 32px;
  transition: all .18s; letter-spacing: .01em;
}
.quick-q button:hover { border-color: var(--gold); color: var(--navy-700); background: var(--gold-wash); }

.chat-input-row {
  display: flex; gap: 8px; padding: 12px 14px;
  background: #fff; border-top: 1px solid var(--line);
}
.chat-input-row input {
  flex: 1; min-height: 44px; border: 1px solid var(--line);
  border-radius: 999px; padding: 8px 16px; outline: none; font-size: 13.5px;
  transition: border-color .18s, box-shadow .18s; background: var(--paper);
}
.chat-input-row input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,164,92,.13); background: #fff; }
.chat-input-row .btn { min-height: 44px; padding: 0 20px; font-size: 13.5px; }

/* 消息身份标签 */
.msg-tag {
  font-size: 9.5px; letter-spacing: .12em; color: var(--text-3);
  margin: 0 0 4px 3px; text-transform: uppercase;
}
.msg-tag.agent { color: var(--gold-deep, #9C7C3C); }
.msg.bot { align-items: flex-start; }
.msg.bot .bubble {
  background: #fff; color: var(--text); border: 1px solid var(--line);
  border-bottom-left-radius: 4px;
  box-shadow: 0 10px 24px -22px rgba(10,31,60,.6);
}
.msg.bot .bubble::before { content: none; }

/* 智能客服消息里的轻量动作入口（如「查看顾问微信」），刻意做得很轻 */
.msg-act {
  margin: 7px 0 0 2px; padding: 0 0 2px;
  background: none; border: 0; border-bottom: 1px solid rgba(200,164,92,.45);
  color: var(--gold-deep, #9C7C3C); font-size: 11.5px; letter-spacing: .02em;
  cursor: pointer; transition: color .18s, border-color .18s;
}
.msg-act:hover { color: var(--navy-700); border-color: var(--navy-700); }
.msg-act span { margin-left: 3px; }

/* 对话内微信卡片 */
.wechat-inline {
  margin: 0 14px 10px; border: 1px solid #E7DCC2; border-radius: 12px;
  background: linear-gradient(180deg, #FEFCF6, #FBF7EC);
  padding: 12px 14px 14px;
}
.wi-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.wi-head b { font-size: 12.5px; color: var(--navy-700); letter-spacing: .04em; }
.wi-close {
  border: 0; background: transparent; color: var(--text-3); font-size: 16px;
  cursor: pointer; line-height: 1; padding: 2px 4px;
}
/* 二维码是这张卡的主角：竖排给足尺寸，手机对着扫得动才算可用。
   80px 级别的缩略图在手机上几乎扫不出来，所以改成整宽居中 + 保持比例（不裁切）。 */
.wi-body { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.wi-qr {
  width: 100%; max-width: 196px; flex: none; border-radius: 10px; overflow: hidden;
  background: #fff; border: 1px solid #EDE3CC; display: grid; place-items: center;
  padding: 6px;
}
.wi-qr img { width: 100%; height: auto; display: block; object-fit: contain; }
.qr-ph {
  font-size: 10.5px; color: var(--text-3); text-align: center; line-height: 1.6;
  text-decoration: none; padding: 26px 0;
}
.wi-meta { font-size: 11.5px; color: var(--text); line-height: 1.7; min-width: 0; width: 100%; text-align: left; }
.wi-note { color: var(--text-3); font-size: 10.5px; line-height: 1.6; margin: 4px 0 8px; }
.wi-meta .btn { min-height: 30px; font-size: 11px; padding: 0 12px; }

/* ============ 底部导航 ============ */
.bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 75;
  height: 62px; max-width: var(--shell); margin: 0 auto;
  display: none; align-items: stretch;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-top: 1px solid var(--line-2);
}
.bottom-nav a {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px; font-size: 10px; color: var(--text-3); letter-spacing: .04em;
  transition: color .2s; padding-bottom: 2px;
}
.bottom-nav svg { width: 21px; height: 21px; }
.bottom-nav a.active { color: var(--navy-800); font-weight: 600; }
.bottom-nav a.active svg { color: var(--gold-dk); }

/* ============ Toast / Modal ============ */
.toast {
  position: fixed; top: 84px; left: 50%; transform: translateX(-50%) translateY(-6px);
  background: rgba(7,21,39,.93); color: #fff;
  padding: 11px 22px; border-radius: 999px;
  font-size: 13px; z-index: 200; opacity: 0; pointer-events: none;
  transition: opacity .24s, transform .24s var(--ease);
  max-width: 82%; text-align: center;
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 32px -12px rgba(7,21,39,.6);
  border: 1px solid rgba(255,255,255,.08);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.modal-mask {
  position: fixed; inset: 0; z-index: 190; display: none;
  align-items: center; justify-content: center; padding: 20px;
  background: rgba(7,21,39,.46);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.modal-mask.open { display: flex; animation: fadeIn .2s; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal {
  background: var(--card); border-radius: 18px;
  max-width: 560px; width: 100%; max-height: 82vh;
  display: flex; flex-direction: column; overflow: hidden;
  box-shadow: 0 40px 90px -30px rgba(7,21,39,.6);
  animation: modalIn .3s var(--ease);
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(12px) scale(.985); }
  to   { opacity: 1; transform: none; }
}
.modal h3 {
  margin: 0; padding: 20px 24px 16px;
  font-size: 16px; font-weight: 600; color: var(--navy-800); letter-spacing: .06em;
  border-bottom: 1px solid var(--line-2);
}
.modal .modal-body {
  padding: 20px 24px; overflow-y: auto;
  font-size: 13px; line-height: 1.95; color: var(--text-2);
}
.modal .modal-body p { margin: 0 0 12px; }
.modal .modal-body b { color: var(--navy-800); font-weight: 600; }
.modal .modal-foot {
  padding: 16px 24px; border-top: 1px solid var(--line-2);
  display: flex; justify-content: flex-end; gap: 10px;
}

/* ============ 空态 / 加载 ============ */
.empty { text-align: center; color: var(--text-2); padding: 56px 24px; font-size: 13.5px; }
.empty .big { font-size: 34px; opacity: .28; margin-bottom: 14px; }
.loading { text-align: center; padding: 40px; color: var(--text-3); font-size: 13px; letter-spacing: .08em; }

/* ============ 文章详情 ============ */
.article-body { padding: 40px 24px 0; }
.article-body .article-cat { display: inline-block; margin-bottom: 16px; }
.article-h2 {
  font-size: clamp(22px, 5vw, 30px); font-weight: 600; color: var(--navy-800);
  margin: 0 0 12px; line-height: 1.45; letter-spacing: .03em;
}
.article-meta { font-size: 11px; color: var(--text-3); letter-spacing: .1em; margin-bottom: 28px; }
.article-content { font-size: 15px; line-height: 2.05; color: #2A3340; }
.article-content p { margin: 0 0 18px; }
.article-content b { color: var(--navy-800); font-weight: 600; }
.article-body .btn-ghost { margin-bottom: 8px; min-height: 40px; padding: 0 18px; font-size: 13px; }
.article-body .notice { margin-top: 26px; }

/* ============ 响应式 ============ */
@media (max-width: 860px) {
  .head-inner { height: 58px; padding: 0 18px; }
  .head-nav { display: none; }
  .bottom-nav { display: flex; }
  .page { padding-bottom: 92px; }
  .hero { padding: 50px 20px 82px; }
  .hero-metrics { gap: 18px; margin-top: 38px; padding-top: 22px; }
  .metric b { font-size: 19px; }
  .section { padding: 44px 18px 6px; }
  .section.tight { padding: 24px 18px 6px; }
  .page-head { padding: 34px 18px 2px; }
  .trust-bar { margin: -30px 18px 0; max-width: none; padding: 15px 4px; }
  .trust-item { font-size: 11px; gap: 6px; }
  .trust-item svg { width: 18px; height: 18px; }
  .article-grid { gap: 11px; }
  .article-card { padding: 16px 14px 14px; min-height: 148px; }
  .article-title { font-size: 14.5px; }
  .article-summary { font-size: 11.5px; -webkit-line-clamp: 2; }
  .cta-panel { padding: 32px 22px; border-radius: 18px; }
  .cta-copy h2 { font-size: 21px; }
  .cta-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .cta-actions .btn:first-child { grid-column: 1 / -1; }
  .cta-actions .btn { width: 100%; padding: 0 12px; font-size: 13.5px; }
  .form-step { padding: 18px 16px 0; }
  .page-head::after { margin-top: 16px; }
  .section-head h2, .sec-head h2, .page-head h2 { font-size: 21px; }
  .site-foot { padding: 32px 18px 36px; }
  .chat-fab { bottom: 80px; right: 16px; width: 50px; height: 50px; }
  .chat-fab svg { width: 21px; height: 21px; }
}

@media (max-width: 359px) {
  .article-grid { grid-template-columns: 1fr; }
  .metric-sep { display: none; }
  .hero-metrics { justify-content: space-between; }
}

@media (min-width: 861px) {
  .page { padding-bottom: 40px; }
  .chat-fab { bottom: 28px; }
  .article-grid { grid-template-columns: repeat(3, 1fr); }
  .sec-head p { max-width: 620px; }
  /* 桌面：文案左对齐，右侧让位给金环装饰 */
  .hero-inner { max-width: 540px; margin: 0; }
  .hero-deco { display: block; right: -110px; }
  .hero { padding-left: 40px; padding-right: 40px; }
  .section { padding-left: 40px; padding-right: 40px; }
  .page-head { padding-left: 40px; padding-right: 40px; }
  .site-foot { padding-left: 40px; padding-right: 40px; }
  .form-step { padding-left: 40px; padding-right: 40px; }
  .trust-bar { max-width: calc(var(--shell) - 80px); }
  .option-group { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* 入口异常兜底提示（仅在主入口探测失败时出现） */
.entry-fallback {
  position: sticky; top: 0; z-index: 60;
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  padding: 9px 14px; font-size: 12px; line-height: 1.6;
  color: #6B5320; background: #FBF4E2; border-bottom: 1px solid #EBDCBB;
}
.entry-fallback .ef-text { flex: 1 1 100%; }
.entry-fallback .ef-links { display: inline-flex; flex-wrap: wrap; gap: 8px; }
.entry-fallback a {
  display: inline-flex; align-items: center; min-height: 26px; padding: 0 11px;
  border-radius: 999px; background: #fff; border: 1px solid #E4D2AC;
  color: #24456E; font-size: 12px; text-decoration: none;
}
.entry-fallback a:active { background: #F6EEDC; }
.entry-fallback button {
  margin-left: auto; border: 0; background: transparent; cursor: pointer;
  font-size: 16px; line-height: 1; color: #8A6A28; padding: 0 4px;
}
