/* ==========================================================================
   天安信达财税 — 首页专属样式
   仅首页使用；通用件（按钮/栅格/标题/页头页脚）在 base.css
   ========================================================================== */

/* ---------- 1. HERO（浅底 + 红色强调 + banner 背景，对标参考站气质） ---------- */
.hero {
  position: relative; overflow: hidden;
  /* 光晕用 background 层实现而非伪元素，避免伪元素超出容器撑大 scrollWidth */
  background:
    radial-gradient(circle at 88% 6%, rgba(192, 0, 0, .09) 0%, rgba(192, 0, 0, 0) 30%),
    var(--c-paper) url('../assets/hero-banner.jpg') 78% center / cover no-repeat;
  color: var(--c-text);
  padding: 88px 0 84px;
  border-bottom: 1px solid var(--c-line);
}
/*
  超宽屏（≥1600px，含 2K/4K / 高缩放桌面）：
  cover 会按视口宽度放大背景图，屏越宽垂直裁得越狠（2560 裁 333px/边、3840 裁 718px/边），
  人物头部会被整段切掉、脸部放成特写。改为按 Hero 高度贴合、靠右对齐，
  图片不再随视口宽度放大，人物完整且大小稳定；左侧本就是纯色渐变蒙版，无缝。
  ≤1600px 继续走原 cover 规则，视觉逐像素不变。
*/
@media (min-width: 1600px) {
  .hero {
    background:
      radial-gradient(circle at 88% 6%, rgba(192, 0, 0, .09) 0%, rgba(192, 0, 0, 0) 30%),
      var(--c-paper) url('../assets/hero-banner.jpg') right center / auto 100% no-repeat;
  }
}
/* 左侧白色渐变蒙版：0~32% 完全不透明保证文字清晰，右侧 68% 后透出办公场景人物 */
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(100deg, var(--c-paper) 0%, var(--c-paper) 32%, rgba(250, 248, 244, .9) 44%, rgba(250, 248, 244, .38) 56%, rgba(250, 248, 244, .04) 68%, rgba(250, 248, 244, 0) 100%);
}
/* 底部向米白过渡，与下一区块自然衔接 */
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; pointer-events: none;
  background: linear-gradient(to bottom, rgba(250, 248, 244, 0), var(--c-paper));
}
/* 左文案+资质卡 / 右人物（banner 透出） */
.hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.12fr .82fr; gap: 40px; align-items: center; }
.hero__visual { min-height: 100%; }

.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13px; font-weight: 600; letter-spacing: .1em; color: var(--c-brand);
  padding: 7px 15px; border: 1px solid rgba(192, 0, 0, .22); border-radius: 100px;
  background: rgba(255, 255, 255, .8); backdrop-filter: blur(6px);
}
.hero__title {
  font-size: 54px; line-height: 1.18; color: var(--c-ink); margin: 22px 0 20px; letter-spacing: -.02em;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .6);
}
.hero__title em {
  font-style: normal; color: var(--c-brand);
  position: relative; white-space: nowrap;
}
.hero__title em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 12px;
  background: rgba(192, 0, 0, .1); z-index: -1; border-radius: 2px;
}
/* pretty：避免末行只剩「心。」这类孤字（不支持的浏览器自动降级，无副作用） */
.hero__lead { font-size: 17px; line-height: 1.95; max-width: 540px; color: var(--c-muted); text-wrap: pretty; }
.hero__lead b { color: var(--c-ink); font-weight: 600; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

/* Hero 资质卡：白底 + 暖金描边，横向紧凑排布（位于左栏文案下方） */
.hero__card {
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(10px);
  border: 1px solid var(--c-gold);
  border-radius: var(--r-lg);
  padding: 18px 24px 16px;
  box-shadow: var(--shadow);
  margin-top: 32px;
  max-width: 540px;
}
.hero__card-head { display: flex; align-items: center; gap: 9px; padding-bottom: 14px; border-bottom: 1px solid var(--c-line); }
.hero__card-head svg { width: 17px; height: 17px; color: var(--c-brand); flex: none; }
.hero__card-head span { font-size: 14px; font-weight: 700; color: var(--c-ink); letter-spacing: .04em; }
.hero__card-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 26px; padding-top: 4px; }
.hero__card-item {
  display: flex; flex-direction: column; gap: 4px;
  padding: 10px 0; border-bottom: 1px dashed var(--c-line-2);
}
.hero__card-item:nth-last-child(-n+2) { border-bottom: 0; }
.hero__card-label { font-size: 12px; color: var(--c-muted-2); letter-spacing: .05em; }
.hero__card-val { font-size: 14px; color: var(--c-ink); font-weight: 600; line-height: 1.5; }
.hero__card-val--em, .hero__card-val em { font-style: normal; color: var(--c-brand); }
.hero__card-foot {
  margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--c-line);
  font-size: 12.5px; color: var(--c-muted); display: flex; align-items: center; gap: 8px;
}
.hero__card-foot svg { width: 14px; height: 14px; color: var(--c-gold); flex: none; }

/* ---------- 2. 数据背书（深红横幅，作为中段呼吸点 + 红色聚焦） ---------- */
/* ---------- 顶部数据信任条（小栏目体现数据） ---------- */
.stats { background: var(--c-band); border-bottom: 1px solid var(--c-line); padding: 30px 0; }
.stats__inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats__item { text-align: center; padding: 6px 20px; border-left: 1px solid var(--c-line); }
.stats__item:first-child { border-left: 0; }
.stats__value {
  font-family: var(--f-serif); font-size: 40px; font-weight: 700; color: var(--c-brand);
  line-height: 1; letter-spacing: -.01em;
}
.stats__value sup { font-size: .46em; top: -.6em; margin-left: 2px; }
.stats__value--text { font-size: 32px; }
.stats__label { margin-top: 10px; font-size: 13px; color: var(--c-muted); letter-spacing: .01em; }

/* ---------- 服务承诺（深红横幅 · 中段呼吸点） ---------- */
.numbers--band {
  background: linear-gradient(100deg, #6e0000 0%, #c00000 55%, #d62828 100%);
  color: #fff; padding: 76px 0; position: relative; overflow: hidden;
}
.commit__inner { max-width: 820px; margin: 0 auto; text-align: center; }
.commit__lead {
  font-family: var(--f-serif); font-size: 30px; font-weight: 700; color: #fff;
  line-height: 1.5; letter-spacing: .01em;
}
.commit__sub { margin-top: 18px; font-size: 15px; color: rgba(255, 255, 255, .78); line-height: 1.85; }

/* ---------- 3. 核心优势（照片背景卡片：实拍底图 + 深色蒙版 + 白色文字浮层） ---------- */
.adv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.adv-card {
  position: relative; overflow: hidden;
  min-height: 206px; border-radius: var(--r-lg);
  background: #17181c;                 /* 底图未加载时的兜底色，避免白闪 */
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
  /* 注意：不做 :hover 位移 —— .js-motion .reveal.is-in 优先级更高会把 transform 打回 none，
     悬浮反馈交给底图放大 + 阴影加深 */
  transition: box-shadow .4s var(--ease);
}
.adv-card:hover { box-shadow: var(--shadow-lg); }

/* 底图：与 hero 同套约定，相对 css/ 目录写 ../assets/
   重要：底图必须写在 CSS 里，不能写在 HTML 行内的 var() 上——
   行内值代入 css 文件的 var() 后，相对路径会相对 css/ 目录解析，
   实际请求会变成 css/assets/adv-1.jpg 而报 LOAD_ERROR（整卡纯黑）。
   换真实照片：同名覆盖 assets/adv-1~6.jpg 即可，不用改代码。 */
.adv-card__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform 1s var(--ease);
}
.adv-card:nth-child(1) .adv-card__bg { background-image: url('../assets/adv-1.jpg'); }
.adv-card:nth-child(2) .adv-card__bg { background-image: url('../assets/adv-2.jpg'); }
.adv-card:nth-child(3) .adv-card__bg { background-image: url('../assets/adv-3.jpg'); }
.adv-card:nth-child(4) .adv-card__bg { background-image: url('../assets/adv-4.jpg'); }
.adv-card:nth-child(5) .adv-card__bg { background-image: url('../assets/adv-5.jpg'); }
.adv-card:nth-child(6) .adv-card__bg { background-image: url('../assets/adv-6.jpg'); }
.adv-card:hover .adv-card__bg { transform: scale(1.06); }

/* 蒙版：暖色调（红棕系）而非中性灰——既保证白字在任何底图上都可读，
   又把不同照片的统一到同一色温，避免室内暖调与夜景冷调混在一起显脏 */
.adv-card__mask {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom,
    rgba(44,21,14,.5) 0%,
    rgba(28,15,11,.68) 42%,
    rgba(18,10,8,.84) 78%,
    rgba(14,8,6,.9) 100%);
  transition: opacity .4s var(--ease);
}
.adv-card:hover .adv-card__mask { opacity: .92; }

.adv-card__body {
  position: relative; z-index: 2;
  width: 100%; padding: 24px 26px; text-align: center;
}
.adv-card__title {
  font-size: 21px; font-weight: 700; line-height: 1.4; color: #fff;
  margin-bottom: 10px; text-shadow: 0 2px 14px rgba(0, 0, 0, .45);
}
/* 装饰细线已删除：为压低卡片高度，标题与正文的间距改由 title 的 margin-bottom 承担 */
.adv-card__text {
  font-size: 14px; line-height: 1.75; color: rgba(255, 255, 255, .88);
  max-width: 306px; margin: 0 auto; text-shadow: 0 1px 9px rgba(0, 0, 0, .5);
}

@media (max-width: 680px) {
  /* 移动端核心优势改一排 2 个（列数见下方响应式段）：161px 的窄卡里
     原来的 21px 标题 / 14px 正文会折成窄条，这里同步收紧卡内排版，
     text-wrap:balance 避免中文标题出现孤字收尾。 */
  .adv-card { min-height: 156px; }
  .adv-card__body { padding: 16px 12px; }
  /* 标题再收一档；正文精简为一句核心后卡片相应变矮 */
  .adv-card__title { font-size: 15px; margin-bottom: 6px; text-wrap: balance; }
  .adv-card__text { font-size: 12.5px; line-height: 1.65; }
}

/* ---------- 4. 业务范围（Tab） ---------- */
.biz { background: var(--c-band); }
.biz__layout { display: grid; grid-template-columns: 268px 1fr; gap: 46px; align-items: start; }
.biz__tabs { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 10px; }
.biz__tab {
  text-align: left; padding: 21px 24px; border-radius: var(--r);
  background: var(--c-white); border: 1px solid var(--c-line);
  transition: all .28s var(--ease); position: relative; overflow: hidden;
}
.biz__tab strong { display: block; font-size: 16.5px; color: var(--c-ink); font-weight: 700; }
.biz__tab span { display: block; margin-top: 5px; font-size: 12.5px; color: var(--c-muted); }
.biz__tab i {
  position: absolute; right: 20px; top: 50%; transform: translateY(-50%) rotate(-45deg);
  width: 8px; height: 8px; border-right: 1.5px solid var(--c-muted-2); border-bottom: 1.5px solid var(--c-muted-2);
  transition: all .28s var(--ease);
}
.biz__tab:hover { border-color: var(--c-line-2); transform: translateX(3px); }
.biz__tab.is-active { background: var(--c-brand); border-color: var(--c-brand); box-shadow: 0 12px 28px rgba(192, 0, 0, .24); }
.biz__tab.is-active strong { color: #fff; }
.biz__tab.is-active span { color: rgba(255, 255, 255, .62); }
.biz__tab.is-active i { border-color: var(--c-gold-2); transform: translateY(-50%) rotate(-45deg) translate(-3px, -3px); }

.biz__panel { display: none; }
.biz__panel.is-active { display: block; animation: panelIn .45s var(--ease); }
/* 无 JS 时不隐藏任何面板，保证四大业务线内容全部可读 */
.no-js .biz__panel { display: block; animation: none; }
.no-js .biz__tabs { display: none; }
.no-js .biz__layout { grid-template-columns: 1fr; }
.no-js .biz__panel + .biz__panel { margin-top: 44px; padding-top: 36px; border-top: 1px solid var(--c-line-2); }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.biz__panel-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 8px; }
.biz__panel-head h3 { font-size: 26px; }
.biz__panel-head .num-badge { color: var(--c-muted-2); }
.biz__panel-intro { font-size: 15px; color: var(--c-muted); margin-bottom: 28px; max-width: 760px; line-height: 1.9; }
.biz__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.biz__item {
  background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--r);
  padding: 20px 22px; transition: all .26s var(--ease);
}
.biz__item:hover { border-color: var(--c-brand); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.biz__item h4 { font-size: 15.5px; margin-bottom: 7px; display: flex; align-items: center; gap: 9px; }
.biz__item h4::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--c-brand); flex: none;
}
.biz__item p { font-size: 13.5px; color: #565656; line-height: 1.8; min-height: 48px; }

/* ---------- 5. 资质代办（按类别分组矩阵，区别于均匀九宫格） ---------- */
.qual { background: var(--c-white); }
.qual__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.qual__group {
  background: var(--c-paper); border: 1px solid var(--c-line); border-radius: var(--r-lg);
  padding: 26px 26px 28px; transition: all .3s var(--ease);
}
.qual__group:hover { background: #fff; border-color: var(--c-line-2); box-shadow: var(--shadow); transform: translateY(-4px); }
.qual__group-head {
  display: flex; align-items: center; gap: 12px; margin-bottom: 16px;
  padding-bottom: 14px; border-bottom: 1px solid var(--c-line);
}
.qual__group-icon {
  width: 42px; height: 42px; border-radius: 11px; flex: none; display: grid; place-items: center;
  background: var(--c-brand-soft); color: var(--c-brand); border: 1px solid rgba(192, 0, 0, .16);
}
.qual__group-icon svg { width: 19px; height: 19px; }
.qual__group-title { font-size: 16.5px; font-weight: 700; color: var(--c-ink); }
.qual__list { display: flex; flex-direction: column; }
.qual__row { padding: 11px 0; border-bottom: 1px dashed var(--c-line-2); }
.qual__row:last-child { border-bottom: 0; padding-bottom: 0; }
.qual__row h4 { font-size: 14.5px; color: var(--c-ink); margin-bottom: 4px; }
.qual__row p { font-size: 12.5px; color: #565656; line-height: 1.75; }

/* ---------- 6. 服务流程 ---------- */
.flow { background: var(--c-white); }
.flow__track { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.flow__track::before {
  content: ""; position: absolute; left: 8%; right: 8%; top: 31px; height: 2px;
  background: var(--c-brand); opacity: .35;
}
.flow__step { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.flow__no {
  width: 62px; height: 62px; margin: 0 auto 22px; border-radius: 50%;
  background: var(--c-white); border: 2px solid var(--c-brand);
  display: grid; place-items: center; position: relative; z-index: 1;
  font-family: var(--f-serif); font-size: 22px; font-weight: 700; color: var(--c-brand);
  transition: all .3s var(--ease); flex: none;
  box-shadow: 0 8px 20px rgba(192, 0, 0, .12);
}
.flow__step:hover .flow__no { background: var(--c-brand); border-color: var(--c-brand); color: #fff; box-shadow: 0 10px 26px rgba(192, 0, 0, .26); }
.flow__step h4 { font-size: 16.5px; margin-bottom: 10px; }
.flow__step p { font-size: 13.5px; color: #565656; line-height: 1.85; }
/* 各步描述行数不同，统一最小高度让卡片底部对齐（13.5px × 1.85 ≈ 25px/行） */
.flow__step p { min-height: 104px; }

/* ---------- 7. 我们怎么做事（默认浅色编辑式版块 A；可挂 section--ink 切 B 深色反转） ---------- */
.values { background: var(--c-band); position: relative; overflow: hidden; }
.values h2, .values h3, .values h4 { color: var(--c-ink); }
.values .sec-head__desc { color: var(--c-muted); }
.values::before {
  content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--c-brand) 50%, transparent);
}
/* A：巨型半透明红色序号水印（米底用，破单调；B 深色时改为极淡白，见下） */
.values::after {
  content: "06";
  position: absolute; right: 18px; bottom: -78px;
  font-family: var(--f-serif); font-weight: 700; line-height: 1; letter-spacing: -.03em;
  font-size: 460px; color: var(--c-brand); opacity: .06; z-index: 0; pointer-events: none;
}
.values__layout { display: grid; grid-template-columns: .82fr 1.18fr; gap: 64px; align-items: center; position: relative; z-index: 2; }
.values__quote {
  font-size: 28px; line-height: 1.6; color: var(--c-ink); font-weight: 700; margin-top: 26px;
  padding-left: 22px; border-left: 4px solid var(--c-brand);
}
.values__sign { margin-top: 18px; font-size: 13.5px; color: var(--c-muted); padding-left: 25px; }
.values__list { display: flex; flex-direction: column; }
.values__item { display: flex; gap: 18px; align-items: flex-start; padding: 22px 0; border-bottom: 1px solid var(--c-line); }
.values__item:first-child { padding-top: 0; }
.values__item:last-child { border-bottom: 0; padding-bottom: 0; }
.values__num {
  flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  font-family: var(--f-serif); font-size: 17px; font-weight: 700; color: var(--c-brand);
  background: var(--c-white); border: 1.5px solid rgba(192, 0, 0, .25);
  transition: all .3s var(--ease);
}
.values__item:hover .values__num { background: var(--c-brand); color: #fff; border-color: var(--c-brand); }
.values__body h3 { font-size: 17px; color: var(--c-ink); margin-bottom: 7px; }
.values__body p { font-size: 14px; color: #565656; line-height: 1.8; }

/* B：整块反转深色（挂 section--ink + sec-index--light）。复用站点深色版块 token #241010。 */
.values.section--ink { background: #241010; color: rgba(255, 255, 255, .82); }
.values.section--ink h2, .values.section--ink h3, .values.section--ink h4 { color: #fff; }
.values.section--ink .sec-head__desc { color: rgba(255, 255, 255, .62); }
/* 深色底改为极淡白色序号水印，延续“大号 06 锚点”概念 */
.values.section--ink::after { color: #fff; opacity: .05; }
/* 编号反白（覆盖 sec-index--light 默认金色，避免用户不喜的金黄） */
.values.section--ink .sec-index--light::before { color: #fff; }
.values.section--ink .values__quote { color: #fff; }
.values.section--ink .values__sign { color: rgba(255, 255, 255, .5); }
.values.section--ink .values__item { border-bottom-color: rgba(255, 255, 255, .12); }
.values.section--ink .values__num {
  background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .34); color: #fff;
}
.values.section--ink .values__item:hover .values__num { background: var(--c-brand); border-color: var(--c-brand); color: #fff; }
.values.section--ink .values__body h3 { color: #fff; }
.values.section--ink .values__body p { color: rgba(255, 255, 255, .72); }

/* ---------- 8. 联系方式 + CTA ---------- */
.contact { background: var(--c-white); }
.contact__layout { display: grid; grid-template-columns: .95fr 1.05fr; gap: 66px; align-items: start; }
.contact__cards { display: grid; gap: 16px; }
.contact__card {
  display: flex; gap: 17px; padding: 24px 26px;
  background: var(--c-paper); border: 1px solid var(--c-line); border-radius: var(--r-lg);
  transition: all .28s var(--ease);
}
.contact__card:hover { background: #fff; border-color: var(--c-line-2); box-shadow: var(--shadow-sm); }
.contact__card-icon {
  width: 42px; height: 42px; border-radius: 10px; flex: none; display: grid; place-items: center;
  background: var(--c-brand-soft); color: var(--c-brand); border: 1px solid rgba(192, 0, 0, .12);
}
.contact__card:hover .contact__card-icon { background: var(--c-brand); color: #fff; border-color: var(--c-brand); }
.contact__card-icon svg { width: 19px; height: 19px; }
.contact__card-body { min-width: 0; }
.contact__card-body dt { font-size: 12.5px; color: var(--c-muted); letter-spacing: .06em; margin-bottom: 5px; }
.contact__card-body dd { margin: 0; font-size: 15.5px; font-weight: 600; color: var(--c-ink); line-height: 1.6; word-break: break-all; }
.contact__card-body dd small { display: block; margin-top: 4px; font-size: 12.5px; font-weight: 400; color: var(--c-muted); }
.contact__form-box {
  background: var(--c-paper); border: 1px solid var(--c-line); border-radius: var(--r-xl); padding: 38px 40px;
}
.contact__form-box h3 { font-size: 21px; margin-bottom: 8px; }
.contact__form-box > p { font-size: 13.5px; color: var(--c-muted); margin-bottom: 26px; }

/* ---------- 9. 底部 CTA 条 ---------- */
.ctabar {
  /* 光晕用 background 层实现，不用伪元素 —— 伪元素超出容器会撑大 scrollWidth 导致整页横向滚动 */
  background:
    radial-gradient(circle at 88% 12%, rgba(201, 149, 30, .22) 0%, rgba(201, 149, 30, 0) 28%),
    linear-gradient(100deg, rgba(110,0,0,.86) 0%, rgba(192,0,0,.8) 50%, rgba(214,40,40,.82) 100%),
    url('../assets/cta-bg.jpg') center/cover no-repeat;
  padding: 70px 0; position: relative; overflow: hidden;
}
.ctabar__inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.ctabar__title { font-size: 33px; color: #fff; font-weight: 700; overflow-wrap: anywhere; }
.ctabar__desc { margin-top: 10px; font-size: 15px; color: rgba(255, 255, 255, .72); overflow-wrap: anywhere; }
.ctabar__actions { display: flex; gap: 14px; flex: none; }
/* 红底上用白底按钮，比金色更清爽、对比更干净 */
.ctabar .btn--gold { background: #fff; color: var(--c-brand); }
.ctabar .btn--gold:hover { background: var(--c-gold-2); color: var(--c-brand-dark); box-shadow: 0 10px 26px rgba(0, 0, 0, .2); }
/* CTA 条在窄屏必须允许收缩，否则内部内容撑破整页宽度 */
.ctabar__inner > div:first-child { min-width: 0; }

/* ---------- 10. 响应式 ---------- */
@media (max-width: 1200px) {
  .hero__title { font-size: 50px; }
  .hero__inner { gap: 50px; }
  .qual__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  .hero { padding: 72px 0 68px; }
  .hero__inner { grid-template-columns: 1fr; gap: 0; }
  .hero__visual { display: none; }
  /* 平板及以下：banner 退为氛围底图，人物不抢文字 */
  .hero {
    background-position: 88% center;
  }
  .hero::before {
    background: linear-gradient(180deg, var(--c-paper) 0%, rgba(250, 248, 244, .96) 46%, rgba(250, 248, 244, .88) 72%, rgba(250, 248, 244, .68) 100%);
  }
  .hero__title { font-size: 42px; }
  .hero__lead { font-size: 16px; }
  .hero__card { max-width: 560px; margin-top: 32px; }
  .adv { grid-template-columns: repeat(2, 1fr); }
  .biz__layout { grid-template-columns: 1fr; gap: 30px; }
  .biz__tabs { position: static; flex-direction: row; flex-wrap: wrap; }
  .biz__tab { flex: 1 1 calc(50% - 10px); }
  .biz__tab i { display: none; }
  .values__layout { grid-template-columns: 1fr; gap: 44px; }
  .contact__layout { grid-template-columns: 1fr; gap: 40px; }
  .flow__track { grid-template-columns: repeat(2, 1fr); gap: 34px 24px; }
  .flow__track::before { display: none; }
  .stats__inner { grid-template-columns: repeat(2, 1fr); }
  .stats__item:nth-child(3) { border-left: 0; border-top: 1px solid var(--c-line); }
  .stats__item:nth-child(4) { border-top: 1px solid var(--c-line); }
  .stats__value { font-size: 34px; }
}

@media (max-width: 680px) {
  /* Hero 移动端重做（C 方案 · 方向 A：顶部通栏人物横幅）
     原方案在 390px 下用 cover 把右侧人物整个裁出画面，叠加近全白蒙版后
     首屏只剩文字、显得空。改为复用已有的 .hero__visual 空节点，上移成一条
     通栏人物横幅：人物在右、面朝左（朝向文案，延续 PC 端「右图左文」气质），
     底部渐隐自然过渡到米白文案区；文字不压在人物上，可读性不受影响。
     零 HTML 改动，仅在 ≤680px 生效，≥681px 与 4K 大屏规则完全不变。 */
  .hero { padding: 0 0 52px; background: var(--c-paper); }
  .hero::before, .hero::after { display: none; }
  .hero__inner { display: flex; flex-direction: column; gap: 0; }
  .hero__inner .hero__visual {
    display: block; order: -1; min-height: 0;
    width: calc(100% + 40px); margin: 0 -20px 30px;
    height: 196px; position: relative; overflow: hidden;
    background: var(--c-paper) url('../assets/hero-banner.jpg') 72% 20% / cover no-repeat;
  }
  .hero__visual::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(to bottom, rgba(250, 248, 244, 0) 52%, var(--c-paper) 100%);
  }
  .hero__copy { padding-top: 0; }
  /* 390px 下两列会把《代理记账许可证》/「2025 年度纳税信用」挤断词，改单列整行显示 */
  .hero__card-list { grid-template-columns: 1fr; gap: 0; }
  .hero__card-item:nth-last-child(-n+2) { border-bottom: 1px dashed var(--c-line-2); }
  .hero__card-item:last-child { border-bottom: 0; }
  .hero__title { font-size: 31px; }
  .hero__title em { white-space: normal; }
  .hero__title em::after { display: none; }
  .hero__stats { grid-template-columns: 1fr; gap: 26px; margin-top: 48px; }
  .hero__stat { padding-left: 0; border-left: 0; display: flex; align-items: baseline; gap: 14px; }
  .hero__stat-value { font-size: 38px; }
  .hero__stat-label { margin-top: 0; }
  .stats__value { font-size: 30px; }
  .stats__value--text { font-size: 26px; }
  .adv { grid-template-columns: 1fr; }
  /* 移动端水印缩小并移出内容区，避免大字露笔画显突兀 */
  .values::after { font-size: 188px; right: -12px; bottom: -34px; opacity: .05; }
  .qual__grid { grid-template-columns: 1fr; }
  /* 核心优势：移动端一排 2 个；卡内字号/padding 由上方组件级 ≤680 规则配套收紧 */
  .adv { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .biz__grid { grid-template-columns: 1fr; }
  /* 业务范围 · 方案 A（仅 ≤680px）：原结构把 4 张 103px 大卡堆在内容前，
     共 441px 占掉半屏，点完分类内容还在下面，滚进内容后又够不着分类。
     压成 2×2 等宽胶囊并吸顶：4 个栏目全部可见、零横滑（横滑时第 4 个常被漏看）。
     配合 home.js 点击后把面板标题送到网格下方。
     PC（≥1025）左侧 sticky 侧栏、平板（681–1024）2×2 卡片完全不变。 */
  .biz__layout { gap: 16px; }
  .biz__tabs {
    position: sticky; top: var(--header-h); z-index: 20;
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px;
    padding: 8px 0; margin: 0;
    background: var(--c-band);
  }
  .biz__tab {
    width: 100%; min-width: 0; height: 40px; padding: 0 8px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 999px; white-space: nowrap;
  }
  .biz__tab strong { font-size: 12.5px; line-height: 1; }
  .biz__tab span { display: none; }
  .biz__tab:hover { transform: none; }
  .biz__tab.is-active { box-shadow: 0 6px 16px rgba(192, 0, 0, .22); }
  /* 徽标与标题并排时 "02 / 财税服务" 会被挤折行，窄屏改上下排 */
  .biz__panel-head { flex-direction: column; align-items: flex-start; gap: 6px; }
  /* 吸顶网格高 = 8 + 40 + 8 + 40 + 8 = 104px，锚点直达时给标题让位 */
  .biz__panel { scroll-margin-top: calc(var(--header-h) + 104px); }
  /* 服务流程 · 移动端时间轴：原单列每步 220px、区块 1599px（近两屏），
     且 PC 为 5 列底部对齐设的 p{min-height:104px} 在窄屏白撑 255px。
     圆圈缩到 40px 移到左侧、竖线贯穿、取消 min-height。PC/平板规则不动。 */
  .flow__track { display: block; }
  .flow__step {
    position: relative; display: block; text-align: left;
    padding: 0 0 20px 56px;
  }
  .flow__step:last-child { padding-bottom: 0; }
  .flow__step::after {
    content: ""; position: absolute; left: 19px; top: 46px; bottom: -2px;
    width: 2px; background: var(--c-brand); opacity: .25;
  }
  .flow__step:last-child::after { display: none; }
  .flow__no {
    position: absolute; left: 0; top: 0; width: 40px; height: 40px; margin: 0;
    font-size: 15px; box-shadow: 0 4px 12px rgba(192, 0, 0, .12);
  }
  .flow__step h4 { font-size: 15.5px; margin-bottom: 6px; }
  .flow__step p { font-size: 13px; line-height: 1.7; min-height: 0; }
  .values__quote { font-size: 21px; }
  .contact__form-box { padding: 28px 22px; }
  .ctabar__inner { flex-direction: column; align-items: flex-start; }
  .ctabar__title { font-size: 24px; }
  .ctabar__actions { width: 100%; flex-wrap: wrap; }
}
