/* ================================================================
   晋中 · 汇通算韵 —— jinzhong_design_huitong
   设计指纹：hero G 不对称拼贴 / bizcard C 横排数字卡 / news B 左大图右2列
   process C 大数字卡 / cta E 双按钮行 / trust B 2×2 数字卡 / nav A 实色分离
   footer E 不对称 / sep D 算珠账线 / heading A 左对齐珠串线 / corner D 胶囊
   density D 变奏（叙事140 / 常规88）/ order δ
   ================================================================ */

/* ===== 0. 变量与基础 ===== */
:root {
  --brand: #2F5D7E;            /* 账房靛（主色） */
  --brand-deep: #1F4258;       /* 深靛：浅底文字 ≥7:1 */
  --brand-soft: rgba(47, 93, 126, .09);
  --accent: #8A4A5E;           /* 紫檀（辅色，算珠木） */
  --accent-deep: #6E3648;      /* 深紫檀：浅底文字 ≥7:1 */
  --night: #23272E;            /* 墨玉（深色容器） */
  --night-soft: #2C323B;
  --gold: #C9A45C;             /* 铜线金：深底文字/线条 ≥6:1 */
  --gold-soft: rgba(201, 164, 92, .32);
  --ink: #262B33;
  --text: #363C46;
  --text-soft: #566373;        /* 次要文字 ≥5.5:1 */
  --text-light: #566373;
  --gray: #7D8B99;             /* 分隔/装饰，不用于正文 */
  --gray-light: #C4CED8;       /* border 下限内 */
  --border: #CBD4DD;
  --bg: #F8F6F1;               /* 宣纸米 */
  --bg-alt: #EDEBE4;           /* 青砖灰 */
  --surface: #FFFFFF;
  --radius: 26px;              /* 胶囊 D */
  --radius-sm: 18px;
  --pill: 999px;
  --sec-pad: 88px;             /* 常规段 */
  --sec-pad-wide: 140px;       /* 叙事段（变奏密度） */
  --head-h: 66px;
  --shadow: 0 10px 30px rgba(31, 42, 55, .08);
  --shadow-lg: 0 20px 50px rgba(31, 42, 55, .14);
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-display: "Songti SC", "STSong", "SimSun", "Noto Serif SC", Georgia, serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-deep); text-decoration: none; transition: color .25s; }
a:hover { color: var(--brand); }
ul, ol { list-style-position: inside; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.3; font-weight: 700; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.sec { padding: var(--sec-pad) 0; position: relative; }
.sec--alt { background: var(--bg-alt); }
.sec--wide { padding: var(--sec-pad-wide) 0; }
.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; }

/* ===== 1. 滚动进度算珠（顶部） ===== */
.scroll-rod {
  position: fixed; top: 0; left: 0; right: 0; height: 5px;
  z-index: 1200; pointer-events: none;
  background: linear-gradient(90deg, rgba(47,93,126,.16), rgba(47,93,126,.30));
}
.scroll-rod__bead {
  position: absolute; top: 50%; left: 0;
  width: 15px; height: 15px; margin-top: -7.5px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 32%, #E8C98B, var(--gold) 70%);
  border: 2px solid var(--brand-deep);
  box-shadow: 0 0 0 3px rgba(201, 164, 92, .25), 0 2px 8px rgba(31, 42, 55, .35);
  will-change: transform;
}

/* ===== 2. 导航 A 实色分离 ===== */
.site-nav {
  position: sticky; top: 0; z-index: 1000;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; gap: 26px; height: var(--head-h); }
.nav-logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 21px; font-weight: 700; color: var(--brand-deep);
  white-space: nowrap;
}
.nav-logo svg { color: var(--brand); flex: none; }
.nav-logo:hover { color: var(--brand); }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links > a, .nav-item__label {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 8px 13px; border-radius: var(--pill);
  font-size: 15.5px; color: var(--text); font-weight: 500;
}
.nav-links > a:hover, .nav-item:hover > .nav-item__label { color: var(--brand-deep); background: var(--brand-soft); }
.nav-links .is-active, .nav-item.is-active > .nav-item__label {
  color: #fff; background: var(--brand); font-weight: 600;
}
.nav-links .is-active:hover { color: #fff; }
.nav-item { position: relative; }
.nav-item__chev { color: inherit; opacity: .7; }
/* 下拉面板 */
.dd {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 172px; padding: 10px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transition: all .26s ease; z-index: 60;
}
.nav-item:hover .dd { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dd a {
  display: block; padding: 8px 16px; border-radius: var(--pill);
  font-size: 14.5px; color: var(--text); white-space: nowrap;
}
.dd a::before { content: ''; display: inline-block; width: 6px; height: 6px; margin-right: 9px; border-radius: 50%; background: var(--accent); vertical-align: 2px; opacity: .75; }
.dd a:hover { background: var(--brand-soft); color: var(--brand-deep); }
.nav-phone {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  font-size: 15px; font-weight: 600; color: var(--brand-deep);
  padding: 7px 16px; border: 1.5px solid var(--brand); border-radius: var(--pill);
}
.nav-phone:hover { background: var(--brand); color: #fff; }
.nav-phone svg { color: inherit; }
.nav-toggle {
  display: none; margin-left: auto;
  width: 44px; height: 44px; border: 1px solid var(--border); border-radius: var(--pill);
  background: var(--surface); color: var(--ink); cursor: pointer; align-items: center; justify-content: center;
}

/* 移动端抽屉 */
.drawer-mask {
  position: fixed; inset: 0; z-index: 1300;
  background: rgba(35, 39, 46, .5); opacity: 0; visibility: hidden; transition: all .3s;
}
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 1310;
  width: min(320px, 85vw); padding: 22px 24px 34px;
  background: var(--surface);
  transform: translateX(102%); transition: transform .34s cubic-bezier(.22, .9, .3, 1);
  display: flex; flex-direction: column; gap: 8px;
  overflow-y: auto; scrollbar-width: none; -ms-overflow-style: none;
}
.drawer::-webkit-scrollbar { display: none; }
body.drawer-open .drawer { transform: translateX(0); }
body.drawer-open .drawer-mask { opacity: 1; visibility: visible; }
body.drawer-open { overflow: hidden; }
.drawer__close {
  align-self: flex-end; width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--border); background: none; color: var(--ink); font-size: 20px; line-height: 1; cursor: pointer;
}
.drawer__logo { display: flex; align-items: center; gap: 9px; font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--brand-deep); padding: 4px 0 10px; }
.drawer__logo svg { color: var(--brand); }
.drawer nav { display: flex; flex-direction: column; gap: 2px; }
.drawer nav > a { padding: 11px 14px; border-radius: var(--pill); font-size: 15.5px; color: var(--text); font-weight: 500; }
.drawer nav > a:hover, .drawer nav > a.is-active { background: var(--brand-soft); color: var(--brand-deep); }
.drawer .dd-item { padding: 14px 14px 6px; font-size: 13px; color: var(--text-soft); letter-spacing: .08em; }
.drawer .dd-sub { display: flex; flex-direction: column; gap: 1px; padding-left: 10px; }
.drawer .dd-sub a { padding: 8px 14px; border-radius: var(--pill); font-size: 14.5px; color: var(--text); }
.drawer .dd-sub a::before { content: ''; display: inline-block; width: 5px; height: 5px; margin-right: 8px; border-radius: 50%; background: var(--accent); vertical-align: 2px; }
.drawer__phone {
  margin-top: auto; display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px; border-radius: var(--pill); background: var(--brand); color: #fff; font-weight: 600;
}

/* ===== 3. Hero G 不对称拼贴 ===== */
.hero-g {
  position: relative; overflow: hidden;
  background:
    repeating-linear-gradient(0deg, rgba(47, 93, 126, .045) 0 1px, transparent 1px 58px),
    repeating-linear-gradient(90deg, rgba(47, 93, 126, .035) 0 1px, transparent 1px 58px),
    var(--bg);
  padding: 74px 0 96px;
}
.hero-g::after {
  content: ''; position: absolute; right: -160px; bottom: -220px; width: 560px; height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(138, 74, 94, .10), transparent 65%);
  pointer-events: none;
}
.hero-g__inner { display: grid; grid-template-columns: 1.06fr .94fr; gap: 56px; align-items: center; position: relative; z-index: 2; }

/* 轮播（grid 叠放铁律 §2.3） */
.hero-slides { display: grid; }
.hero-slide {
  grid-area: 1 / 1; display: flex; flex-direction: column; align-items: flex-start; gap: 18px;
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity .6s ease, transform .6s ease, visibility .6s;
}
.hero-slide.is-on { opacity: 1; visibility: visible; transform: none; }
.hero-g__eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 14px; font-weight: 600; letter-spacing: .14em; color: var(--accent-deep);
  padding: 7px 18px; border-radius: var(--pill);
  background: rgba(138, 74, 94, .08); border: 1px solid rgba(138, 74, 94, .22);
}
.hero-g__eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.hero-g__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.6vw, 50px); line-height: 1.22; letter-spacing: .01em;
  color: var(--ink); max-width: 560px;
}
.hero-g__title em { font-style: normal; color: var(--brand); position: relative; }
.hero-g__title em::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 4px; height: 8px;
  background: var(--gold-soft); z-index: -1; border-radius: 4px;
}
.hero-g__sub { font-size: 17px; color: var(--text-soft); max-width: 480px; }
.hero-g__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 6px; }

/* 轮播控制 */
.hero-ctrl { display: flex; align-items: center; gap: 18px; margin-top: 34px; }
.hero-dots { display: flex; gap: 9px; }
.hero-dots .dot {
  width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--brand);
  background: transparent; cursor: pointer; padding: 0; transition: all .3s;
}
.hero-dots .dot.is-on { background: var(--brand); transform: scale(1.18); box-shadow: 0 0 0 4px var(--brand-soft); }
.hero-arr {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1.5px solid var(--border); background: var(--surface); color: var(--brand-deep);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: all .28s;
}
.hero-arr:hover { background: var(--brand); border-color: var(--brand); color: #fff; transform: translateY(-2px); }

/* 拼贴面板（右列） */
.hero-g__collage { position: relative; min-height: 560px; }
.hero-g__panel {
  position: absolute; top: 6px; right: 12px; width: min(400px, 86%);
  border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(158deg, #1F4258 0%, #2F5D7E 58%, #3A6D90 100%);
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(201, 164, 92, .25);
  padding: 26px 18px;
}
.hero-g__panel .hero-g__abacus { width: 100%; height: auto; display: block; }
.hero-g__panel-cap {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  color: var(--gold); font-size: 13.5px; letter-spacing: .3em; margin-top: 14px;
}
.hero-g__panel-cap::before, .hero-g__panel-cap::after { content: ''; width: 30px; height: 1.5px; background: var(--gold-soft); }
/* 算珠滑动动画（珠向上/下滑动） */
.hero-g__abacus .bd { transform-box: fill-box; transform-origin: center; }
.hero-g__abacus .bd-a { animation: beadSlide 4.6s ease-in-out infinite; }
.hero-g__abacus .bd-b { animation: beadSlide 5.8s ease-in-out -1.2s infinite; }
.hero-g__abacus .bd-c { animation: beadSlide 6.6s ease-in-out -2.6s infinite; }
.hero-g__abacus .bd-d { animation: beadSlide 5.2s ease-in-out -3.4s infinite; }
.hero-g__abacus .bd-e { animation: beadSlide 6.2s ease-in-out -.6s infinite; }
.hero-g__abacus .bd-f { animation: beadSlide 4.9s ease-in-out -2.1s infinite; }
.hero-g__abacus .bd-g { animation: beadSlide 7s ease-in-out -4.2s infinite; }
.hero-g__abacus .bd-h { animation: beadSlide 5.5s ease-in-out -1.8s infinite; }
@keyframes beadSlide {
  0%, 100% { transform: translateY(0); }
  42% { transform: translateY(26px); }
  58% { transform: translateY(26px); }
}
/* 浮层小卡 */
.hero-card {
  position: absolute; z-index: 5;
  display: flex; align-items: center; gap: 12px;
  background: var(--surface); border-radius: var(--radius-sm);
  padding: 14px 20px; box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.hero-card svg { color: var(--brand); flex: none; }
.hero-card b { display: block; font-size: 15px; color: var(--ink); line-height: 1.35; }
.hero-card span { font-size: 12.5px; color: var(--text-soft); }
.hero-card--a { left: -14px; top: 92px; animation: floatY 5.2s ease-in-out infinite; }
.hero-card--b { left: 6px; bottom: 74px; animation: floatY 6.1s ease-in-out -2.4s infinite; }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-11px); } }
/* 印章 */
.hero-seal {
  position: absolute; z-index: 6; top: -14px; right: -6px;
  width: 74px; height: 74px; border-radius: 14px;
  background: linear-gradient(145deg, #9A5668, var(--accent));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 38px; font-weight: 700;
  box-shadow: 0 12px 28px rgba(138, 74, 94, .4), inset 0 0 0 2px rgba(255, 255, 255, .35);
  transform: rotate(-7deg);
  animation: stampIn .8s cubic-bezier(.2, 1.6, .4, 1) .5s both;
}
@keyframes stampIn {
  0% { opacity: 0; transform: rotate(-16deg) scale(1.7); }
  62% { opacity: 1; transform: rotate(-5deg) scale(.94); }
  100% { opacity: 1; transform: rotate(-7deg) scale(1); }
}
/* 漂浮算珠 */
.float-bead { position: absolute; border-radius: 50%; z-index: 4; }
.float-bead--1 { width: 22px; height: 22px; background: var(--gold); opacity: .8; left: 44%; top: 30px; animation: floatY 7s ease-in-out -1s infinite; }
.float-bead--2 { width: 14px; height: 14px; background: var(--accent); opacity: .55; right: 4%; top: 46%; animation: floatY 5.6s ease-in-out -3s infinite; }
.float-bead--3 { width: 10px; height: 10px; background: var(--brand); opacity: .45; left: 30%; bottom: 8px; animation: floatY 6.4s ease-in-out -4.4s infinite; }

/* ===== 4. 按钮 ===== */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 30px; border-radius: var(--pill); border: none; cursor: pointer;
  font-size: 15.5px; font-weight: 600; letter-spacing: .02em;
  background: var(--brand); color: #fff;
  transition: transform .28s, box-shadow .28s, background .28s;
  overflow: hidden; text-decoration: none;
}
.btn:hover { background: var(--brand-deep); color: #fff; transform: translateY(-3px); box-shadow: 0 14px 30px rgba(47, 93, 126, .35); }
.btn::before {
  content: ''; position: absolute; top: 0; left: -80%; width: 46%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .35), transparent);
  transform: skewX(-22deg); transition: left .55s ease;
}
.btn:hover::before { left: 130%; }
.btn__arr { display: inline-flex; transition: transform .28s; }
.btn:hover .btn__arr { transform: translateX(5px); }
.btn--sm { padding: 9px 22px; font-size: 14px; }
.btn--ghost { background: transparent; color: var(--brand-deep); border: 1.5px solid var(--brand); }
.btn--ghost:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.btn--light { background: var(--gold); color: var(--night); }
.btn--light:hover { background: #D8B574; color: var(--night); }
.btn--ghost-inv { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, .65); }
.btn--ghost-inv:hover { background: rgba(255, 255, 255, .14); color: #fff; border-color: #fff; }

/* ===== 5. 区块标题 A（左对齐 + 算珠串线） ===== */
.sec-head { margin-bottom: 46px; }
.sec-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 700; letter-spacing: .18em; color: var(--accent-deep);
}
.sec-eyebrow::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.sec-title { font-family: var(--font-display); font-size: clamp(26px, 3.4vw, 38px); margin-top: 10px; letter-spacing: .01em; }
.sec-sub { margin-top: 12px; color: var(--text-soft); font-size: 16px; max-width: 640px; }
.sec-rule { display: flex; align-items: center; gap: 7px; margin-top: 18px; }
.sec-rule::before { content: ''; width: 62px; height: 3.5px; border-radius: 3px; background: var(--brand); transform-origin: left; }
.sec-rule i { border-radius: 50%; }
.sec-rule i:nth-child(1) { width: 8px; height: 8px; background: var(--accent); }
.sec-rule i:nth-child(2) { width: 12px; height: 12px; background: var(--brand); }
.sec-rule i:nth-child(3) { width: 8px; height: 8px; background: var(--gold); }
.sec-head .sec-rule { animation: ruleGrow .9s ease .25s both; }
@keyframes ruleGrow { from { opacity: 0; transform: translateX(-16px); } to { opacity: 1; transform: none; } }

/* ===== 6. 账线分隔（sep D 母题贯穿） ===== */
.ledger-sep { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 0; }
.ledger-sep::before, .ledger-sep::after {
  content: ''; flex: 0 1 210px; height: 2px; border-radius: 2px;
  background: repeating-linear-gradient(90deg, var(--gray-light) 0 14px, transparent 14px 26px);
  animation: dashFlow 1.6s linear infinite;
}
.ledger-sep i { border-radius: 50%; flex: none; }
.ledger-sep i:nth-child(1), .ledger-sep i:nth-child(5) { width: 7px; height: 7px; background: var(--gray-light); }
.ledger-sep i:nth-child(2), .ledger-sep i:nth-child(4) { width: 10px; height: 10px; background: var(--accent); opacity: .75; }
.ledger-sep i:nth-child(3) { width: 14px; height: 14px; background: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
@keyframes dashFlow { from { background-position: 0 0; } to { background-position: 26px 0; } }

/* ===== 7. 信任条 B（2×2 数字卡，紧贴 hero 下沿） ===== */
.trust-b { padding: 0 0 var(--sec-pad); }
.trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.trust-card {
  position: relative; display: flex; align-items: center; gap: 22px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 34px; overflow: hidden;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.trust-card::after {
  content: ''; position: absolute; right: -34px; top: -34px;
  width: 110px; height: 110px; border-radius: 50%;
  background: radial-gradient(circle, var(--brand-soft), transparent 68%);
}
.trust-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--brand); }
.trust-card__icon {
  flex: none; width: 58px; height: 58px; border-radius: 50%;
  background: var(--brand-soft); color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  transition: transform .3s;
}
.trust-card:hover .trust-card__icon { transform: scale(1.1) rotate(-6deg); }
.stat-num {
  font-family: var(--font-display); font-size: 44px; font-weight: 700; color: var(--brand-deep); line-height: 1.1;
  display: block;
}
.trust-card__label { display: block; font-size: 15px; color: var(--text-soft); margin-top: 4px; }
.trust-card__note { display: block; font-size: 12.5px; color: var(--gray); margin-top: 2px; }

/* ===== 8. 业务卡 C（横排数字卡 01-04） ===== */
.num-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.num-card {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 56px 26px 30px;
  transition: transform .32s, box-shadow .32s, border-color .32s;
  will-change: transform;
}
.num-card:hover { box-shadow: var(--shadow-lg); border-color: var(--brand); }
.num-card__bead {
  position: absolute; top: -24px; left: 26px;
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(150deg, #3A6D90, var(--brand));
  color: #fff; font-family: var(--font-display); font-size: 21px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(47, 93, 126, .35), inset 0 0 0 2.5px rgba(255, 255, 255, .4);
  transition: transform .34s;
}
.num-card__bead::before, .num-card__bead::after {
  content: ''; position: absolute; left: 50%; width: 3px; margin-left: -1.5px;
  height: 20px; border-radius: 2px; background: var(--border);
}
.num-card__bead::before { top: -20px; }
.num-card__bead::after { bottom: -20px; }
.num-card:hover .num-card__bead { transform: translateY(-4px) scale(1.06); }
.num-card__icon { color: var(--accent); margin-bottom: 14px; transition: transform .34s; }
.num-card:hover .num-card__icon { transform: scale(1.12) rotate(8deg); color: var(--accent-deep); }
.num-card h3 { font-size: 20px; margin-bottom: 10px; }
.num-card p { font-size: 14.5px; color: var(--text-soft); min-height: 78px; }
.num-card__link {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 6px;
  font-size: 14.5px; font-weight: 600; color: var(--brand-deep);
}
.num-card__link:hover { color: var(--brand); }
.num-card__link .btn__arr { transition: transform .26s; }
.num-card__link:hover .btn__arr { transform: translateX(4px); }

/* ===== 9. 母题叙事带（算珠故事 + 晋商精神 marquee） ===== */
.motif-band { background: var(--bg-alt); overflow: hidden; }
.motif-band__inner { display: grid; grid-template-columns: 340px 1fr; gap: 64px; align-items: center; }
.motif-band__figure { color: var(--brand); }
.motif-band__figure svg { width: 100%; height: auto; }
.motif-band__figure .bd { transform-box: fill-box; transform-origin: center; }
.motif-band__figure .bd-a { animation: beadSlide 5.4s ease-in-out -1s infinite; }
.motif-band__figure .bd-b { animation: beadSlide 6.6s ease-in-out -2.8s infinite; }
.motif-band__figure .bd-c { animation: beadSlide 4.8s ease-in-out -.4s infinite; }
.motif-band__figure .bd-d { animation: beadSlide 6s ease-in-out -3.6s infinite; }
.motif-band__figure .bd-e { animation: beadSlide 5.7s ease-in-out -1.9s infinite; }
.motif-band__figure .bd-f { animation: beadSlide 6.9s ease-in-out -4.5s infinite; }
.motif-band__text .sec-title { max-width: 520px; }
.motif-band__text p { color: var(--text-soft); max-width: 560px; margin-top: 14px; }
/* 晋商精神 marquee */
.spirit-marquee { margin-top: 58px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 15px 0; overflow: hidden; }
.spirit-marquee__track { display: flex; align-items: center; gap: 34px; width: max-content; animation: marqueeMove 26s linear infinite; }
.spirit-item { display: inline-flex; align-items: center; gap: 34px; font-family: var(--font-display); font-size: 17px; letter-spacing: .22em; color: var(--brand-deep); white-space: nowrap; }
.bead-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); display: inline-block; flex: none; }
.spirit-item:nth-child(even) .bead-dot { background: var(--gold); }
@keyframes marqueeMove { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===== 10. 流程 C（大数字卡） ===== */
.step-wrap { position: relative; }
.step-line {
  position: absolute; top: 30px; left: 9%; right: 9%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--brand) 0 12px, transparent 12px 24px);
  opacity: .45; animation: dashFlow 1.3s linear infinite;
}
.step-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; }
.step-card {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 58px 24px 28px; overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}
.step-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.step-card__ghost {
  position: absolute; right: 6px; bottom: -32px;
  font-family: var(--font-display); font-size: 128px; font-weight: 700; line-height: 1;
  color: rgba(47, 93, 126, .08); pointer-events: none; user-select: none;
}
.step-card__node {
  position: absolute; top: -13px; left: 24px;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--surface); border: 2.5px solid var(--brand); color: var(--brand-deep);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 16px; font-weight: 700;
  animation: nodeBreathe 3.2s ease-in-out infinite;
}
.step-card:hover .step-card__node { animation-play-state: paused; transform: scale(1.16); }
@keyframes nodeBreathe {
  0%, 100% { box-shadow: 0 0 0 0 rgba(47, 93, 126, .32); }
  55% { box-shadow: 0 0 0 11px rgba(47, 93, 126, 0); }
}
.step-card h3 { font-size: 19px; margin-bottom: 10px; position: relative; }
.step-card p { font-size: 14px; color: var(--text-soft); position: relative; }
.step-card__outs { position: relative; margin-top: 14px; font-size: 12.5px; color: var(--accent-deep); }

/* ===== 11. 案例精选 ===== */
.case-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: transform .32s, box-shadow .32s, border-color .32s;
  display: flex; flex-direction: column;
}
.case-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); border-color: var(--brand); }
.case-card__graphic {
  background: linear-gradient(150deg, #EAF0F5, #E3E9EF);
  color: var(--brand-deep); display: flex; align-items: center; justify-content: center;
  height: 172px; border-bottom: 1px solid var(--border);
  transition: background .3s;
}
.case-card:hover .case-card__graphic { background: linear-gradient(150deg, #E2EBF2, #D8E2EB); }
.case-card__graphic svg { transition: transform .4s; }
.case-card:hover .case-card__graphic svg { transform: scale(1.07) translateY(-2px); }
.case-card__body { padding: 24px 26px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.case-card__tag {
  align-self: flex-start; font-size: 12.5px; font-weight: 600; color: var(--accent-deep);
  background: rgba(138, 74, 94, .09); border: 1px solid rgba(138, 74, 94, .22);
  padding: 4px 14px; border-radius: var(--pill);
}
.case-card__title { font-size: 19px; }
.case-card__title a { color: var(--ink); }
.case-card__title a:hover { color: var(--brand); }
.case-card__desc { font-size: 14px; color: var(--text-soft); flex: 1; }
.case-card__more { display: inline-flex; align-items: center; gap: 7px; font-size: 14.5px; font-weight: 600; color: var(--brand-deep); }
.case-card__more .btn__arr { transition: transform .26s; }
.case-card__more:hover .btn__arr { transform: translateX(4px); }
.case-foot { text-align: center; margin-top: 44px; }

/* ===== 12. 资讯 B（左大图右 2 列） ===== */
.news-b { display: grid; grid-template-columns: 1.02fr 1.6fr; gap: 30px; align-items: start; }
.feat-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: transform .3s, box-shadow .3s;
  display: flex; flex-direction: column; height: 100%;
}
.feat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.feat-card__graphic {
  height: 224px; background: linear-gradient(150deg, #EAF0F5, #E0E8EF);
  color: var(--brand-deep); display: flex; align-items: center; justify-content: center;
  border-bottom: 1px solid var(--border);
}
.feat-card__body { padding: 24px 28px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.feat-card__meta { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--text-soft); }
.feat-card__meta .cat {
  color: var(--accent-deep); background: rgba(138, 74, 94, .09);
  padding: 3px 13px; border-radius: var(--pill); font-weight: 600;
}
.feat-card__title { font-size: 21px; line-height: 1.4; }
.feat-card__title a { color: var(--ink); }
.feat-card__title a:hover { color: var(--brand); }
.feat-card__desc { font-size: 14.5px; color: var(--text-soft); flex: 1; }
.news-b__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.news-item {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 18px 20px; transition: transform .28s, box-shadow .28s, border-color .28s;
  display: flex; flex-direction: column; gap: 6px;
}
.news-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand); }
.news-item__date { font-size: 12.5px; color: var(--text-soft); display: inline-flex; align-items: center; gap: 8px; }
.news-item__date::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.news-item__title { font-size: 15px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-item__title a { color: var(--text); }
.news-item__title a:hover { color: var(--brand); }

/* ===== 13. 地域服务带 ===== */
.county-band { }
.county-band__inner { display: flex; flex-direction: column; gap: 26px; align-items: center; }
.county-band__head { text-align: center; }
.county-pills { display: flex; flex-wrap: wrap; gap: 13px; justify-content: center; }
.county-pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 22px; border-radius: var(--pill);
  background: var(--surface); border: 1px solid var(--border);
  font-size: 14.5px; color: var(--text); font-weight: 500;
  transition: all .28s;
}
.county-pill::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); transition: transform .28s; }
.county-pill:hover { background: var(--brand); border-color: var(--brand); color: #fff; transform: translateY(-3px); box-shadow: 0 10px 22px rgba(47, 93, 126, .28); }
.county-pill:hover::before { background: var(--gold); transform: scale(1.25); }

/* ===== 14. CTA E（底部双按钮行） ===== */
.cta-duo {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 46px),
    linear-gradient(140deg, #1B1F26 0%, var(--night) 46%, #2C3A46 100%);
  color: #fff; text-align: center;
  padding: 72px 40px;
}
.cta-duo::before, .cta-duo::after {
  content: ''; position: absolute; border-radius: 50%; pointer-events: none;
}
.cta-duo::before { width: 240px; height: 240px; left: -90px; top: -90px; background: radial-gradient(circle, rgba(201, 164, 92, .18), transparent 66%); }
.cta-duo::after { width: 300px; height: 300px; right: -110px; bottom: -130px; background: radial-gradient(circle, rgba(138, 74, 94, .22), transparent 66%); animation: ctaBreathe 6s ease-in-out infinite; }
@keyframes ctaBreathe { 0%, 100% { transform: scale(1); opacity: .8; } 50% { transform: scale(1.14); opacity: 1; } }
.cta-duo h2 { font-family: var(--font-display); font-size: clamp(26px, 3.2vw, 36px); color: #fff; }
.cta-duo p { color: rgba(255, 255, 255, .72); margin: 14px auto 0; max-width: 560px; }
.cta-duo__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 34px; position: relative; z-index: 2; }
.cta-duo__beads { position: absolute; top: 26px; left: 50%; transform: translateX(-50%); display: flex; gap: 14px; opacity: .8; }
.cta-duo__beads i { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); animation: beadBob 2.6s ease-in-out infinite; }
.cta-duo__beads i:nth-child(2) { animation-delay: .4s; }
.cta-duo__beads i:nth-child(3) { animation-delay: .8s; }
@keyframes beadBob { 0%, 100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(-8px); opacity: 1; } }

/* ===== 15. 页脚 E（不对称） ===== */
.site-footer { background: var(--night); color: rgba(255, 255, 255, .72); margin-top: var(--sec-pad); }
.footer-top .container { display: grid; grid-template-columns: 1.55fr .75fr .75fr; gap: 56px; padding: 64px 0 48px; }
.f-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.f-name { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-size: 23px; font-weight: 700; color: #fff; }
.f-name svg { color: var(--gold); }
.f-intro { font-size: 14.5px; line-height: 1.85; color: rgba(255, 255, 255, .62); max-width: 430px; }
.f-phone {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 19px; font-weight: 700; color: var(--gold);
  padding: 10px 24px; border: 1.5px solid var(--gold-soft); border-radius: var(--pill);
}
.f-phone:hover { background: rgba(201, 164, 92, .12); color: var(--gold); }
.f-lines { display: flex; flex-direction: column; gap: 6px; }
.f-lines p { font-size: 13.5px; color: rgba(255, 255, 255, .58); }
.f-col { display: flex; flex-direction: column; gap: 4px; }
.f-col h4 { font-size: 15px; color: #fff; margin-bottom: 10px; letter-spacing: .12em; display: inline-flex; align-items: center; gap: 9px; }
.f-col h4::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.f-col a { display: inline-block; padding: 5px 0; font-size: 14.5px; color: rgba(255, 255, 255, .62); }
.f-col a:hover { color: var(--gold); }
.f-col p { padding: 5px 0; font-size: 14.5px; color: rgba(255, 255, 255, .62); }
.footer-ledger { display: block; width: 100%; height: auto; color: var(--gold); opacity: .5; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .09); padding: 18px 0; }
.footer-bottom p { font-size: 13.5px; color: rgba(255, 255, 255, .55); }
.footer-bottom a { color: rgba(255, 255, 255, .55); display: inline; margin: 0; }
.footer-bottom a:hover { color: var(--gold); }
.fb-legal { display: inline; }

/* ===== 16. 内页 Page Hero ===== */
.page-hero {
  position: relative; overflow: hidden;
  background:
    repeating-linear-gradient(0deg, rgba(47, 93, 126, .04) 0 1px, transparent 1px 58px),
    var(--bg-alt);
  padding: 64px 0 58px;
  border-bottom: 1px solid var(--border);
}
.page-hero__motif { position: absolute; right: -50px; top: 50%; transform: translateY(-50%); color: var(--brand); opacity: .1; pointer-events: none; }
.page-hero__motif svg .bd { transform-box: fill-box; }
.page-hero__motif .bd-a { animation: beadSlide 6s ease-in-out -1s infinite; }
.page-hero__motif .bd-b { animation: beadSlide 7.2s ease-in-out -3s infinite; }
.page-hero__motif .bd-c { animation: beadSlide 5.2s ease-in-out -2s infinite; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 13.5px; color: var(--text-soft); margin-bottom: 18px; }
.breadcrumb a { color: var(--text-soft); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb .sep { color: var(--gray); }
.page-hero__title { font-family: var(--font-display); font-size: clamp(28px, 3.6vw, 40px); }
.page-hero__desc { margin-top: 12px; color: var(--text-soft); max-width: 640px; }

/* ===== 17. 双栏布局与侧栏 ===== */
.layout { display: grid; grid-template-columns: 1fr 312px; gap: 40px; align-items: start; }
.side-panel {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 28px; margin-bottom: 22px;
}
.side-title { font-size: 16px; color: var(--ink); margin-bottom: 14px; display: inline-flex; align-items: center; gap: 9px; }
.side-title::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.cat-nav { display: flex; flex-direction: column; gap: 2px; }
.cat-nav a, .cat-nav .cat-plain { display: flex; align-items: center; gap: 9px; padding: 9px 12px; border-radius: var(--pill); font-size: 14.5px; color: var(--text); }
.cat-nav a::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gray-light); transition: all .25s; flex: none; }
.cat-nav a:hover { background: var(--brand-soft); color: var(--brand-deep); }
.cat-nav a:hover::before { background: var(--accent); transform: scale(1.3); }
.cat-nav a.is-active { background: var(--brand); color: #fff; font-weight: 600; }
.cat-nav a.is-active::before { background: var(--gold); }
.cat-sub { display: flex; flex-direction: column; gap: 1px; padding-left: 16px; margin: 2px 0 6px; }
.cat-sub a { font-size: 13.5px; color: var(--text-soft); }
.cat-sub a::before { width: 4px; height: 4px; }
.side-cta { background: linear-gradient(150deg, #1F4258, #2F5D7E); border: none; color: #fff; }
.side-cta .side-title { color: #fff; }
.side-cta .side-title::before { background: var(--gold); }
.side-cta p { font-size: 14px; color: rgba(255, 255, 255, .75); margin-bottom: 16px; }
.side-cta .btn { width: 100%; justify-content: center; background: var(--gold); color: var(--night); }
.side-cta .btn:hover { background: #D8B574; color: var(--night); }
.side-phone { display: block; text-align: center; font-size: 21px; font-weight: 700; color: var(--gold); margin-bottom: 14px; }
.side-phone:hover { color: #D8B574; }

/* ===== 18. 文章列表 / 详情 ===== */
.art-list { display: flex; flex-direction: column; gap: 20px; }
.art-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 30px; transition: transform .28s, box-shadow .28s, border-color .28s;
}
.art-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--brand); }
.art-card__meta { display: flex; align-items: center; gap: 14px; font-size: 13px; color: var(--text-soft); margin-bottom: 10px; }
.art-card__meta .cat { color: var(--accent-deep); background: rgba(138, 74, 94, .09); padding: 3px 13px; border-radius: var(--pill); font-weight: 600; }
.art-card__title { font-size: 20px; margin-bottom: 8px; }
.art-card__title a { color: var(--ink); }
.art-card__title a:hover { color: var(--brand); }
.art-card__desc { font-size: 14.5px; color: var(--text-soft); }

.detail__meta { display: flex; flex-wrap: wrap; gap: 20px; font-size: 13.5px; color: var(--text-soft); padding-bottom: 20px; border-bottom: 1px solid var(--border); margin-bottom: 28px; }
.detail__meta span { display: inline-flex; align-items: center; gap: 8px; }
.detail__meta span::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.detail__content, .page-content { font-size: 16px; color: var(--text); line-height: 1.95; overflow-wrap: break-word; }
.detail__content h2, .page-content h2 { font-family: var(--font-display); font-size: 24px; margin: 40px 0 16px; padding-left: 16px; border-left: 4px solid var(--brand); }
.detail__content h3, .page-content h3 { font-size: 19px; margin: 30px 0 12px; }
.detail__content p, .page-content p { margin: 14px 0; }
.detail__content ul, .page-content ul, .detail__content ol, .page-content ol { margin: 14px 0; padding-left: 6px; }
.detail__content li, .page-content li { margin: 7px 0; }
.detail__content img, .page-content img { border-radius: var(--radius-sm); margin: 18px 0; }
.detail__content table, .page-content table { display: block; max-width: 100%; overflow-x: auto; margin: 18px 0; border-collapse: collapse; }
.detail__content pre, .page-content pre { overflow-x: auto; background: var(--night); color: #E8E6DF; padding: 18px 20px; border-radius: var(--radius-sm); }
.detail__content blockquote, .page-content blockquote { border-left: 4px solid var(--gold); background: var(--bg-alt); padding: 14px 20px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 16px 0; }

/* 上一篇/下一篇（§1.12 结构铁律） */
.detail__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 34px 0; min-width: 0; }
.detail__nav-cell { display: block; min-width: 0; padding: 18px 22px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); transition: border-color .26s, box-shadow .26s; }
.detail__nav-cell:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.detail__nav-cell--next { text-align: right; }
.nav-label { display: block; font-size: 12.5px; color: var(--text-soft); margin-bottom: 6px; }
.nav-title { display: block; font-size: 14.5px; color: var(--ink); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }

/* 相关阅读 / 热门 */
.rel-panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 28px; margin-top: 28px; }
.rel-item { display: flex; align-items: baseline; gap: 14px; padding: 10px 0; border-bottom: 1px dashed var(--border); }
.rel-item:last-child { border-bottom: none; }
.rel-item .idx { font-family: var(--font-display); font-size: 17px; font-weight: 700; color: var(--gold); flex: none; }
.rel-title { font-size: 14.5px; color: var(--text); line-height: 1.6; }
.rel-title:hover { color: var(--brand); }

/* ===== 19. 表单 ===== */
.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px 38px; margin-top: 28px; box-shadow: var(--shadow); }
.form-card h3 { font-size: 21px; }
.form-tip { font-size: 13.5px; color: var(--text-soft); margin: 8px 0 24px; }
.form-tip em { color: var(--accent-deep); font-style: normal; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field label em { color: var(--accent-deep); font-style: normal; margin-left: 2px; }
.field input, .field textarea {
  font-family: var(--font-body); font-size: 15px; color: var(--text);
  background: var(--bg); border: 1.5px solid var(--border); border-radius: var(--pill);
  padding: 12px 22px; outline: none; transition: border-color .25s, box-shadow .25s;
}
.field textarea { border-radius: var(--radius-sm); min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.field input::placeholder, .field textarea::placeholder { color: var(--gray); }
.form-grid .btn { justify-content: center; }
.flash { border-radius: var(--pill); padding: 13px 26px; font-size: 14.5px; margin-bottom: 24px; }
.flash--ok { background: rgba(47, 93, 126, .1); color: var(--brand-deep); border: 1px solid rgba(47, 93, 126, .3); }
.flash--err { background: rgba(138, 74, 94, .1); color: var(--accent-deep); border: 1px solid rgba(138, 74, 94, .3); }

/* ===== 20. 分页 / 空状态 / 筛选 ===== */
.pagination { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.pagination a, .pagination .is-current {
  min-width: 42px; height: 42px; padding: 0 16px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--pill); border: 1px solid var(--border);
  font-size: 14.5px; color: var(--text); background: var(--surface); transition: all .25s;
}
.pagination a:hover { border-color: var(--brand); color: var(--brand-deep); background: var(--brand-soft); }
.pagination .is-current { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }
.empty-state {
  background: var(--surface); border: 1px dashed var(--border); border-radius: var(--radius);
  padding: 64px 30px; text-align: center; color: var(--text-soft);
}
.empty-state svg { margin: 0 auto 16px; color: var(--gray); }
.case-filter { display: flex; flex-wrap: wrap; gap: 11px; margin-bottom: 36px; }
.filter-chip {
  padding: 9px 24px; border-radius: var(--pill); border: 1.5px solid var(--border);
  font-size: 14.5px; color: var(--text); background: var(--surface); transition: all .26s; font-weight: 500;
}
.filter-chip:hover { border-color: var(--brand); color: var(--brand-deep); }
.filter-chip.is-on { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }
.search-bar { display: flex; gap: 12px; margin-bottom: 30px; }
.search-bar input {
  flex: 1; font-family: var(--font-body); font-size: 15px; color: var(--text);
  border: 1.5px solid var(--border); border-radius: var(--pill); padding: 13px 26px; outline: none; background: var(--surface);
  transition: border-color .25s, box-shadow .25s;
}
.search-bar input:focus { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.search-bar input::placeholder { color: var(--gray); }

/* ===== 21. 服务页 / 流程页 / 案例详情 ===== */
.svc-rows { display: flex; flex-direction: column; gap: 24px; }
.svc-row {
  position: relative; display: grid; grid-template-columns: 96px 1fr; gap: 30px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 36px 38px; transition: box-shadow .3s, border-color .3s, transform .3s;
}
.svc-row:hover { box-shadow: var(--shadow-lg); border-color: var(--brand); transform: translateX(6px); }
.svc-row__bead {
  width: 66px; height: 66px; border-radius: 50%;
  background: linear-gradient(150deg, #3A6D90, var(--brand)); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 22px; font-weight: 700;
  box-shadow: inset 0 0 0 2.5px rgba(255, 255, 255, .35), 0 8px 20px rgba(47, 93, 126, .3);
}
.svc-row h3 { font-size: 21px; margin-bottom: 8px; }
.svc-row .desc { font-size: 14.5px; color: var(--text-soft); margin-bottom: 16px; max-width: 720px; }
.svc-row__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.svc-row__chips a {
  font-size: 13px; color: var(--brand-deep); background: var(--brand-soft);
  padding: 6px 16px; border-radius: var(--pill); border: 1px solid transparent; transition: all .25s;
}
.svc-row__chips a:hover { border-color: var(--brand); background: #fff; }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.faq-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 30px; transition: transform .28s, box-shadow .28s;
}
.faq-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.faq-card h3 { font-size: 17px; display: flex; align-items: center; gap: 11px; margin-bottom: 10px; }
.faq-card h3 .qbead { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-deep); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; }
.faq-card p { font-size: 14.5px; color: var(--text-soft); }
.case-facts { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.case-fact {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 500;
  color: var(--brand-deep); background: var(--brand-soft);
  border: 1px solid rgba(47, 93, 126, .2); padding: 7px 18px; border-radius: var(--pill);
}
.case-fact::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.results-panel {
  background: linear-gradient(150deg, #1F4258, #2F5D7E); color: #fff;
  border-radius: var(--radius); padding: 30px 34px; margin-top: 30px;
}
.results-panel h3 { color: #fff; font-size: 19px; margin-bottom: 14px; display: inline-flex; align-items: center; gap: 10px; }
.results-panel h3::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); }
.results-panel ul { list-style: none; }
.results-panel li { display: flex; align-items: center; gap: 12px; padding: 9px 0; font-size: 15px; color: rgba(255, 255, 255, .88); border-bottom: 1px dashed rgba(255, 255, 255, .14); }
.results-panel li:last-child { border-bottom: none; }
.results-panel .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex: none; }
.results-panel p { color: rgba(255, 255, 255, .88); }

/* ===== 22. 关于 / 区县 / 地图 / 404 ===== */
.value-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 34px 30px; transition: transform .3s, box-shadow .3s;
}
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.value-card__icon {
  width: 56px; height: 56px; border-radius: 50%; margin-bottom: 18px;
  background: rgba(138, 74, 94, .1); color: var(--accent);
  display: flex; align-items: center; justify-content: center; transition: transform .3s;
}
.value-card:hover .value-card__icon { transform: rotate(-8deg) scale(1.08); }
.value-card h3 { font-size: 19px; margin-bottom: 10px; font-family: var(--font-display); }
.value-card p { font-size: 14.5px; color: var(--text-soft); }
.county-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.county-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 34px 30px; transition: transform .3s, box-shadow .3s;
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
}
.county-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--brand); }
.county-card__icon {
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--brand-soft); color: var(--brand);
  display: flex; align-items: center; justify-content: center; transition: transform .3s;
}
.county-card:hover .county-card__icon { transform: scale(1.1) rotate(6deg); }
.county-card h3 { font-size: 20px; }
.county-card p { font-size: 14.5px; color: var(--text-soft); flex: 1; }
.sitemap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.sm-col { display: flex; flex-direction: column; gap: 4px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 26px; }
.sm-col h3 { font-size: 16px; margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--border); display: inline-flex; align-items: center; gap: 9px; }
.sm-col h3::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.sm-col h3 a { color: var(--ink); }
.sm-col a { padding: 5px 0; font-size: 14px; color: var(--text-soft); }
.sm-col a:hover { color: var(--brand-deep); }
.notfound { text-align: center; padding: 70px 20px 90px; }
.notfound__code {
  font-family: var(--font-display); font-size: clamp(90px, 16vw, 150px); font-weight: 700;
  line-height: 1; color: var(--brand); opacity: .92; letter-spacing: .04em;
}
.notfound__beads { display: flex; justify-content: center; gap: 16px; margin: 26px 0; }
.notfound__beads i { width: 11px; height: 11px; border-radius: 50%; background: var(--gold); animation: beadBob 2.4s ease-in-out infinite; }
.notfound__beads i:nth-child(2) { animation-delay: .3s; background: var(--accent); }
.notfound__beads i:nth-child(3) { animation-delay: .6s; background: var(--brand); }
.notfound__beads i:nth-child(4) { animation-delay: .9s; background: var(--accent); }
.notfound__beads i:nth-child(5) { animation-delay: 1.2s; background: var(--gold); }
.notfound h1 { font-family: var(--font-display); font-size: clamp(22px, 3vw, 30px); margin-bottom: 10px; }
.notfound p { color: var(--text-soft); margin-bottom: 30px; }
.notfound__actions { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }

/* ===== 23. reveal 滚动入场 ===== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
[data-stagger] > *:nth-child(1) { transition-delay: 0s; }
[data-stagger] > *:nth-child(2) { transition-delay: .09s; }
[data-stagger] > *:nth-child(3) { transition-delay: .18s; }
[data-stagger] > *:nth-child(4) { transition-delay: .27s; }
[data-stagger] > *:nth-child(5) { transition-delay: .36s; }
[data-stagger] > *:nth-child(6) { transition-delay: .45s; }
[data-stagger] > *:nth-child(7) { transition-delay: .54s; }
[data-stagger] > *:nth-child(8) { transition-delay: .63s; }

/* ===== 24. no-js 降级 ===== */
.no-js .hero-slide + .hero-slide { display: none; }
.no-js .hero-ctrl { display: none; }
.no-js .reveal { opacity: 1; transform: none; }
.no-js .scroll-rod { display: none; }

/* ===== 25. zfkf 悬浮客服（统一标准组件 §1.7） ===== */
.zfkf-float { position: fixed; right: 20px; bottom: 120px; z-index: 9999; display: flex; flex-direction: column; gap: 10px; }
.zfkf-item { position: relative; width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; text-decoration: none; box-shadow: 0 4px 14px rgba(0, 0, 0, .18); transition: all .25s; cursor: pointer; }
.zfkf-item:hover { transform: scale(1.08); color: #fff; }
.zfkf-phone { background: #2563eb; }
.zfkf-wechat { background: #07c160; }
.zfkf-consult { background: #f59e0b; }
.zfkf-top { background: #334155; }
.zfkf-tip { position: absolute; right: calc(100% + 12px); top: 50%; transform: translateY(-50%); white-space: nowrap; background: rgba(0, 0, 0, .78); color: #fff; font-size: 12px; padding: 5px 10px; border-radius: 6px; opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 10001; }
.zfkf-item:hover .zfkf-tip { opacity: 1; }
.zfkf-wechat-mask { position: fixed; inset: 0; background: rgba(0, 0, 0, .5); z-index: 10000; display: none; align-items: center; justify-content: center; }
.zfkf-wechat-mask.zfkf-show { display: flex; }
.zfkf-wechat-box { background: #fff; border-radius: 12px; padding: 24px; text-align: center; position: relative; max-width: 80vw; }
.zfkf-wechat-box img { width: 180px; height: 180px; object-fit: contain; border: 1px solid #eee; border-radius: 8px; }
.zfkf-wechat-noimg { width: 180px; height: 80px; display: flex; align-items: center; justify-content: center; background: #f6f7f9; border-radius: 8px; font-size: 16px; color: #07c160; font-weight: 600; }
.zfkf-wechat-box p { margin: 12px 0 0; font-size: 14px; color: #333; }
.zfkf-wechat-close { position: absolute; top: 8px; right: 12px; font-size: 22px; color: #666; cursor: pointer; line-height: 1; }

/* ===== 26. 响应式 ===== */
@media (max-width: 1080px) {
  .nav-phone { display: none; }
  .hero-g__inner { grid-template-columns: 1fr .92fr; gap: 40px; }
  .num-cards { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
  .step-cards { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
  .step-line { display: none; }
  .case-cards { grid-template-columns: repeat(2, 1fr); }
  .footer-top .container { grid-template-columns: 1.3fr 1fr 1fr; gap: 36px; }
  .sitemap-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  .nav-links, .site-nav .nav-phone { display: none; }
  .nav-toggle { display: inline-flex; }
  .hero-g__inner { grid-template-columns: 1fr; }
  .hero-g__collage { min-height: 0; margin-top: 40px; }
  .hero-g__panel { position: relative; width: 100%; right: 0; top: 0; padding: 22px 16px; }
  .hero-card--a { left: 0; }
  .hero-card--b { left: 0; }
  .motif-band__inner { grid-template-columns: 1fr; gap: 40px; }
  .motif-band__figure { max-width: 320px; }
  .news-b { grid-template-columns: 1fr; }
  .layout { grid-template-columns: 1fr; }
  .value-cards, .county-cards { grid-template-columns: 1fr 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .page-hero__motif { display: none; }
}
@media (max-width: 768px) {
  :root { --sec-pad: 64px; --sec-pad-wide: 92px; }
  .sec { padding: var(--sec-pad) 0; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-card { padding: 24px 26px; }
  .stat-num { font-size: 38px; }
  .case-cards { grid-template-columns: 1fr; }
  .value-cards, .county-cards { grid-template-columns: 1fr; }
  .footer-top .container { grid-template-columns: 1fr; gap: 34px; padding: 48px 0 36px; }
  .form-grid { grid-template-columns: 1fr; }
  .detail__nav { grid-template-columns: 1fr; }
  .cta-duo { padding: 54px 24px; }
  .hero-g { padding: 48px 0 64px; }
  .sitemap-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .num-cards { grid-template-columns: 1fr; row-gap: 46px; }
  .step-cards { grid-template-columns: 1fr; row-gap: 46px; }
  .news-b__grid { grid-template-columns: 1fr; }
  .form-card { padding: 26px 22px; }
  .svc-row { grid-template-columns: 1fr; gap: 18px; }
  .hero-card--b { display: none; }
  .hero-seal { width: 60px; height: 60px; font-size: 30px; top: -8px; }
  .sitemap-grid { grid-template-columns: 1fr; }
}

/* ===== 27. reduced-motion 降级 ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .spirit-marquee__track { animation: none; }
  .scroll-rod { display: none; }
}

/* ===== tz-rich-text typography (auto-appended) ===== */
:where(.rich-text,.detail__content,.detail-content,.article-body,.article-content,.article__body,.article--body,.rich-content,.prose,.detail-body,.detail-body__content,.page-content,.content-card,.hd-article-body,.lf-article-body,.cq-article-body,.sq-article-body,.lh-article)>:first-child{margin-top:0}
:where(.rich-text,.detail__content,.detail-content,.article-body,.article-content,.article__body,.article--body,.rich-content,.prose,.detail-body,.detail-body__content,.page-content,.content-card,.hd-article-body,.lf-article-body,.cq-article-body,.sq-article-body,.lh-article)>:last-child{margin-bottom:0}
:where(.rich-text,.detail__content,.detail-content,.article-body,.article-content,.article__body,.article--body,.rich-content,.prose,.detail-body,.detail-body__content,.page-content,.content-card,.hd-article-body,.lf-article-body,.cq-article-body,.sq-article-body,.lh-article) p{margin:0 0 1.05em;line-height:1.9}
:where(.rich-text,.detail__content,.detail-content,.article-body,.article-content,.article__body,.article--body,.rich-content,.prose,.detail-body,.detail-body__content,.page-content,.content-card,.hd-article-body,.lf-article-body,.cq-article-body,.sq-article-body,.lh-article) h1,:where(.rich-text,.detail__content,.detail-content,.article-body,.article-content,.article__body,.article--body,.rich-content,.prose,.detail-body,.detail-body__content,.page-content,.content-card,.hd-article-body,.lf-article-body,.cq-article-body,.sq-article-body,.lh-article) h2{margin:1.6em 0 .7em;line-height:1.4;font-weight:700}
:where(.rich-text,.detail__content,.detail-content,.article-body,.article-content,.article__body,.article--body,.rich-content,.prose,.detail-body,.detail-body__content,.page-content,.content-card,.hd-article-body,.lf-article-body,.cq-article-body,.sq-article-body,.lh-article) h1{font-size:1.6em}
:where(.rich-text,.detail__content,.detail-content,.article-body,.article-content,.article__body,.article--body,.rich-content,.prose,.detail-body,.detail-body__content,.page-content,.content-card,.hd-article-body,.lf-article-body,.cq-article-body,.sq-article-body,.lh-article) h2{font-size:1.4em}
:where(.rich-text,.detail__content,.detail-content,.article-body,.article-content,.article__body,.article--body,.rich-content,.prose,.detail-body,.detail-body__content,.page-content,.content-card,.hd-article-body,.lf-article-body,.cq-article-body,.sq-article-body,.lh-article) h3{margin:1.4em 0 .6em;font-size:1.2em;line-height:1.45;font-weight:700}
:where(.rich-text,.detail__content,.detail-content,.article-body,.article-content,.article__body,.article--body,.rich-content,.prose,.detail-body,.detail-body__content,.page-content,.content-card,.hd-article-body,.lf-article-body,.cq-article-body,.sq-article-body,.lh-article) h4{margin:1.2em 0 .5em;font-size:1.08em;font-weight:700}
:where(.rich-text,.detail__content,.detail-content,.article-body,.article-content,.article__body,.article--body,.rich-content,.prose,.detail-body,.detail-body__content,.page-content,.content-card,.hd-article-body,.lf-article-body,.cq-article-body,.sq-article-body,.lh-article) h5,:where(.rich-text,.detail__content,.detail-content,.article-body,.article-content,.article__body,.article--body,.rich-content,.prose,.detail-body,.detail-body__content,.page-content,.content-card,.hd-article-body,.lf-article-body,.cq-article-body,.sq-article-body,.lh-article) h6{margin:1.1em 0 .5em;font-size:1em;font-weight:700}
:where(.rich-text,.detail__content,.detail-content,.article-body,.article-content,.article__body,.article--body,.rich-content,.prose,.detail-body,.detail-body__content,.page-content,.content-card,.hd-article-body,.lf-article-body,.cq-article-body,.sq-article-body,.lh-article) ul,:where(.rich-text,.detail__content,.detail-content,.article-body,.article-content,.article__body,.article--body,.rich-content,.prose,.detail-body,.detail-body__content,.page-content,.content-card,.hd-article-body,.lf-article-body,.cq-article-body,.sq-article-body,.lh-article) ol{margin:0 0 1.05em;padding-left:1.7em}
:where(.rich-text,.detail__content,.detail-content,.article-body,.article-content,.article__body,.article--body,.rich-content,.prose,.detail-body,.detail-body__content,.page-content,.content-card,.hd-article-body,.lf-article-body,.cq-article-body,.sq-article-body,.lh-article) li{margin:.35em 0;line-height:1.8}
:where(.rich-text,.detail__content,.detail-content,.article-body,.article-content,.article__body,.article--body,.rich-content,.prose,.detail-body,.detail-body__content,.page-content,.content-card,.hd-article-body,.lf-article-body,.cq-article-body,.sq-article-body,.lh-article) img{max-width:100%;height:auto;border-radius:8px}
:where(.rich-text,.detail__content,.detail-content,.article-body,.article-content,.article__body,.article--body,.rich-content,.prose,.detail-body,.detail-body__content,.page-content,.content-card,.hd-article-body,.lf-article-body,.cq-article-body,.sq-article-body,.lh-article) figure{margin:1.2em 0}
:where(.rich-text,.detail__content,.detail-content,.article-body,.article-content,.article__body,.article--body,.rich-content,.prose,.detail-body,.detail-body__content,.page-content,.content-card,.hd-article-body,.lf-article-body,.cq-article-body,.sq-article-body,.lh-article) figcaption{margin-top:.5em;font-size:.85em;opacity:.7;text-align:center}
:where(.rich-text,.detail__content,.detail-content,.article-body,.article-content,.article__body,.article--body,.rich-content,.prose,.detail-body,.detail-body__content,.page-content,.content-card,.hd-article-body,.lf-article-body,.cq-article-body,.sq-article-body,.lh-article) blockquote{margin:1.2em 0;padding:.2em 0 .2em 1em;border-left:3px solid currentColor;opacity:.85}
:where(.rich-text,.detail__content,.detail-content,.article-body,.article-content,.article__body,.article--body,.rich-content,.prose,.detail-body,.detail-body__content,.page-content,.content-card,.hd-article-body,.lf-article-body,.cq-article-body,.sq-article-body,.lh-article) table{width:100%;border-collapse:collapse;margin:1.2em 0;font-size:.96em}
:where(.rich-text,.detail__content,.detail-content,.article-body,.article-content,.article__body,.article--body,.rich-content,.prose,.detail-body,.detail-body__content,.page-content,.content-card,.hd-article-body,.lf-article-body,.cq-article-body,.sq-article-body,.lh-article) th,:where(.rich-text,.detail__content,.detail-content,.article-body,.article-content,.article__body,.article--body,.rich-content,.prose,.detail-body,.detail-body__content,.page-content,.content-card,.hd-article-body,.lf-article-body,.cq-article-body,.sq-article-body,.lh-article) td{border:1px solid rgba(127,127,127,.3);padding:.5em .75em;text-align:left}
:where(.rich-text,.detail__content,.detail-content,.article-body,.article-content,.article__body,.article--body,.rich-content,.prose,.detail-body,.detail-body__content,.page-content,.content-card,.hd-article-body,.lf-article-body,.cq-article-body,.sq-article-body,.lh-article) th{font-weight:700;background:rgba(127,127,127,.06)}
:where(.rich-text,.detail__content,.detail-content,.article-body,.article-content,.article__body,.article--body,.rich-content,.prose,.detail-body,.detail-body__content,.page-content,.content-card,.hd-article-body,.lf-article-body,.cq-article-body,.sq-article-body,.lh-article) hr{margin:1.6em 0;border:0;border-top:1px solid rgba(127,127,127,.28)}
:where(.rich-text,.detail__content,.detail-content,.article-body,.article-content,.article__body,.article--body,.rich-content,.prose,.detail-body,.detail-body__content,.page-content,.content-card,.hd-article-body,.lf-article-body,.cq-article-body,.sq-article-body,.lh-article) pre{overflow:auto;padding:.8em 1em;border-radius:8px;background:rgba(127,127,127,.1);font-size:.92em}
:where(.rich-text,.detail__content,.detail-content,.article-body,.article-content,.article__body,.article--body,.rich-content,.prose,.detail-body,.detail-body__content,.page-content,.content-card,.hd-article-body,.lf-article-body,.cq-article-body,.sq-article-body,.lh-article) code{font-size:.94em}
:where(.rich-text,.detail__content,.detail-content,.article-body,.article-content,.article__body,.article--body,.rich-content,.prose,.detail-body,.detail-body__content,.page-content,.content-card,.hd-article-body,.lf-article-body,.cq-article-body,.sq-article-body,.lh-article) strong,:where(.rich-text,.detail__content,.detail-content,.article-body,.article-content,.article__body,.article--body,.rich-content,.prose,.detail-body,.detail-body__content,.page-content,.content-card,.hd-article-body,.lf-article-body,.cq-article-body,.sq-article-body,.lh-article) b{font-weight:700}
:where(.rich-text) ul{list-style:disc}
:where(.rich-text) ol{list-style:decimal}
:where(.rich-text) a{text-decoration:underline;text-underline-offset:3px}

/* ===== tz-footer-legal (auto-appended) ===== */
.zf-legal-line a{color:inherit;text-decoration:none;opacity:.92}
.zf-legal-line a:hover{opacity:1;text-decoration:underline;text-underline-offset:3px}
.zf-legal-line .zf-legal-all{font-weight:600}
.zf-legal-line .zf-legal-copy{opacity:.95}
.zf-legal-line .zf-legal-addr{opacity:.82}
.zf-legal-line .zf-legal-police{text-decoration:none}
@media (max-width:640px){.zf-legal-line{column-gap:.55em;line-height:1.7}}
