/* ==========================================================================
   快速备案印章刻制 · 前台样式
   红色系 · 公文质感：暖白底 + 印章红 + 小圆角扁平化，不用卡片堆叠与轮播
   结构约定：内容按 section.sect 分节，标题带序号；正文单栏；内链集中在正文之后
   ========================================================================== */

:root {
  --red: #b02a22;          /* 印章红（主色，用于强调、按钮、序号） */
  --red-d: #8a1c16;        /* 深红（hover、页脚底色） */
  --red-l: #fcf3f1;        /* 极浅红（CTA 底） */
  --ink: #232323;          /* 正文墨色 */
  --ink2: #575757;         /* 次要文字 */
  --ink3: #8b8b8b;         /* 辅助文字 */
  --paper: #fff;
  --bg: #faf8f5;           /* 页面暖白底 */
  --line: #e7e1d9;         /* 暖灰分隔线 */
  --line2: #d3c9bb;        /* 较深分隔线 */
  --r: 3px;                /* 统一小圆角，保持方正 */
  --sunken: #f4f0ea;       /* 下沉块通用背景（表头 / 清单 / 卡片） */
}

* { box-sizing: border-box; }

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

img { max-width: 100%; height: auto; display: block; }
a { color: var(--red-d); text-decoration: none; }
a:hover { color: var(--red); }

/* 跳过导航（无障碍） */
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 99; background: #fff; padding: 8px 14px; border: 1px solid var(--line2); }

/* ── 布局容器 ───────────────────────────────────────────── */
.shell { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.shell-narrow { max-width: 880px; }
.page-flow { padding-bottom: 8px; }

/* ── 顶栏 ──────────────────────────────────────────────── */
.masthead { background: var(--paper); border-bottom: 2px solid var(--red); }
.mast-grid {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap; min-height: 74px;
}
.brand { display: flex; align-items: center; gap: 11px; color: var(--ink); }
.seal {
  width: 38px; height: 38px; flex: 0 0 auto; border-radius: 50%;
  background: var(--red); color: #fff; font-size: 20px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .55);
}
.brand-txt strong { display: block; font-size: 18px; letter-spacing: .3px; }
.brand-txt em { font-style: normal; display: block; font-size: 11.5px; color: var(--ink3); }

.mainnav ul { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; margin: 0; padding: 0; }
.mainnav a { display: block; padding: 8px 14px; font-size: 14.5px; color: var(--ink); border-radius: var(--r); }
.mainnav a:hover { background: var(--red-l); color: var(--red-d); }
.nav-toggle { display: none; }

.mast-tel { margin-left: auto; text-align: right; }
.mast-tel span { display: block; font-size: 11.5px; color: var(--ink3); }
.mast-tel a { font-size: 18px; font-weight: 600; color: var(--red); white-space: nowrap; }

/* ── 面包屑 ────────────────────────────────────────────── */
.trail { padding-top: 14px; }
.trail ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; font-size: 12.5px; color: var(--ink3); }
.trail li + li::before { content: "/"; margin-right: 6px; color: var(--line2); }
.trail a { color: var(--ink3); }
.trail a:hover { color: var(--red); }

/* ── 首屏通栏轮播 ──────────────────────────────────────── */
.hero-slider { position: relative; height: 420px; background: #5a110d; overflow: hidden; }
.hs-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility .7s; }
.hs-slide.is-active { opacity: 1; visibility: visible; }
.hs-pic { position: absolute; top: 0; right: 0; width: 56%; height: 100%; overflow: hidden; }
.hs-pic img { width: 100%; height: 100%; object-fit: cover; object-position: center 46%; }
.hs-pic::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, #5a110d, rgba(90, 17, 13, .86) 24%, rgba(90, 17, 13, .2) 66%, rgba(90, 17, 13, .44));
}
.hs-g1 { background: linear-gradient(120deg, #8a1c16, #5a110d 72%); }
.hs-g2 { background: linear-gradient(120deg, #6d1510, #3d0c09 72%); }
.hs-g3 { background: linear-gradient(120deg, #b02a22, #8a1c16 72%); }
.hs-g4 { background: linear-gradient(120deg, #7d1a13, #5a110d 72%); }
.hs-body { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; color: #fff; }
.hs-tag { align-self: flex-start; margin: 0 0 14px; padding: 4px 13px; border: 1px solid rgba(255, 255, 255, .34); border-radius: 99px; font-size: 12.5px; color: #eac9c6; }
.hs-body h1, .hs-title { margin: 0 0 12px; font-size: 32px; line-height: 1.36; color: #fff; max-width: 620px; }
.hs-sub { margin: 0 0 22px; font-size: 14.5px; color: #e8d2cf; max-width: 560px; }
.hs-act { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.hs-body .btn-solid { background: #fff; color: var(--red-d); }
.hs-body .btn-solid:hover { background: #f6e9e7; color: var(--red-d); }
.hs-body .btn-line { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.hs-body .btn-line:hover { border-color: #fff; color: #fff; }
.hs-ctrl { position: absolute; z-index: 3; left: 0; right: 0; bottom: 18px; }
.hs-ctrl-in { display: flex; align-items: center; gap: 16px; }
.hs-dots { display: flex; gap: 8px; }
.hs-dots button { width: 26px; height: 3px; padding: 0; border: 0; border-radius: 99px; background: rgba(255, 255, 255, .34); cursor: pointer; }
.hs-dots button[aria-selected="true"] { background: #fff; width: 38px; }
.hs-arrows { margin-left: auto; display: flex; gap: 8px; }
.hs-arrows button {
  width: 36px; height: 36px; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .34);
  background: rgba(90, 17, 13, .42); color: #fff; font-size: 16px;
}
.hs-arrows button:hover { background: rgba(90, 17, 13, .72); }

/* ── 按钮 ──────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; padding: 11px 26px; border-radius: var(--r); font-size: 14.5px; font-weight: 600; border: 1px solid transparent; }
.btn-solid { background: var(--red); color: #fff; }
.btn-solid:hover { background: var(--red-d); color: #fff; }
.btn-line { background: #fff; color: var(--red-d); border-color: var(--line2); }
.btn-line:hover { border-color: var(--red); color: var(--red); }

/* ── 数据条 / 信任条 ───────────────────────────────────── */
.facts { background: var(--red-d); color: #fff; }
.facts ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 18px; list-style: none; margin: 0; padding: 22px 0; }
.facts li { text-align: center; }
.facts b { display: block; font-size: 26px; line-height: 1.2; }
.facts span { font-size: 12.5px; color: #eac9c6; }

.trust { background: var(--paper); border-bottom: 1px solid var(--line); }
.trust ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); list-style: none; margin: 0; padding: 0; }
.trust li { padding: 18px 22px; border-left: 1px solid var(--line); }
.trust li:first-child { border-left: 0; }
.trust b { display: block; font-size: 14.5px; }
.trust span { font-size: 12.5px; color: var(--ink3); }

/* ── 分节（替代卡片堆叠） ──────────────────────────────── */
.sect { border-top: 1px solid var(--line); padding: 26px 0 2px; }
.sect:first-child { border-top: 0; padding-top: 8px; }
.sect-h {
  display: flex; align-items: center; gap: 10px;
  margin: 0 0 14px; padding-bottom: 10px; font-size: 19px; line-height: 1.5;
  border-bottom: 1px solid var(--line); position: relative;
}
.sect-h::after {
  content: ""; position: absolute; left: 0; bottom: -1px;
  width: 48px; height: 2px; background: var(--red);
}
.sect-no {
  flex: 0 0 auto; min-width: 26px; padding: 3px 5px; border-radius: 2px;
  background: var(--red); color: #fff; text-align: center;
  font: 600 12.5px/1.4 ui-monospace, "SFMono-Regular", Consolas, monospace;
}
.sect-note { margin: -6px 0 15px; font-size: 12.5px; color: var(--ink3); }
.lead { border-top: 0; padding-top: 22px; }
.lead p { margin: 0 0 15px; color: var(--ink2); }
.lead p:first-child { font-size: 15.5px; color: var(--ink); }

/* ── 服务网格 ──────────────────────────────────────────── */
.svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; list-style: none; margin: 0; padding: 0; }
.svc-grid li { min-width: 0; }
.svc-grid a {
  display: flex; flex-direction: column; gap: 8px; height: 100%;
  padding: 15px 16px 16px; background: var(--sunken);
  border: 1px solid var(--line); border-top: 3px solid var(--line2); border-radius: var(--r);
}
.svc-grid a:hover { border-top-color: var(--red); background: var(--paper); }
.svc-svg { width: 22px; height: 22px; stroke: var(--red); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.svc-grid b { font-size: 15px; color: var(--ink); line-height: 1.55; }
.svc-grid span { font-size: 12.5px; color: var(--ink3); line-height: 1.8; flex: 1 1 auto; }
.svc-grid em { font-style: normal; font-size: 12.5px; color: var(--red); }

/* ── 流程 ──────────────────────────────────────────────── */
.flow-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; list-style: none; margin: 0 0 4px; padding: 0; }
.flow-strip li { padding: 14px 16px; background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--red); border-radius: var(--r); }
.flow-strip b { display: block; font-size: 14px; }
.flow-strip span { font-size: 12.5px; color: var(--ink3); }

/* 横向流程（首页）：大号序号 + 竖分隔线，与分节的方块序号在视觉上分层 */
.flow-line { display: grid; grid-template-columns: repeat(auto-fit, minmax(148px, 1fr)); list-style: none; margin: 0; padding: 0; counter-reset: fl; }
.flow-line li { counter-increment: fl; padding: 2px 16px 2px 18px; border-left: 1px solid var(--line); }
.flow-line li:first-child { border-left: 0; padding-left: 0; }
.flow-line li::before {
  content: counter(fl, decimal-leading-zero);
  display: block; margin-bottom: 10px;
  font: 600 19px/1 ui-monospace, "SFMono-Regular", Consolas, monospace; color: var(--red);
}
.flow-line li b { display: block; font-size: 14.5px; margin-bottom: 4px; }
.flow-line li span { display: block; font-size: 12.5px; color: var(--ink3); line-height: 1.65; }

/* 竖排步骤（服务页的分步说明，文案较长） */
.step-list { list-style: none; margin: 0 0 12px; padding: 18px 20px; background: var(--sunken); border-radius: var(--r); counter-reset: sl; }
.step-list li { position: relative; padding: 0 0 18px 38px; counter-increment: sl; }
.step-list li:last-child { padding-bottom: 0; }
.step-list li::before {
  content: counter(sl, decimal-leading-zero);
  position: absolute; left: 0; top: 1px;
  font: 600 13px/1.7 ui-monospace, Consolas, monospace; color: var(--red);
}
.step-list li b { display: block; font-size: 15px; margin-bottom: 4px; }
.step-list li span { font-size: 14px; color: var(--ink2); line-height: 1.88; }

/* ── 重点服务 ──────────────────────────────────────────── */
.hi-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; list-style: none; margin: 0; padding: 0; }
.hi-list li { display: flex; flex-direction: column; padding: 18px; background: var(--sunken); border: 1px solid var(--line); border-radius: var(--r); }
.hi-tag { margin: 0 0 8px; font-size: 12.5px; color: var(--red); }
.hi-list h3 { margin: 0 0 8px; font-size: 16px; }
.hi-list p { margin: 0 0 12px; font-size: 13px; color: var(--ink2); line-height: 1.8; flex: 1 1 auto; }
.hi-list li > a { font-size: 12.5px; }

/* ── 区域 / 菜单式链接 ─────────────────────────────────── */
.link-cols { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 7px; list-style: none; margin: 0 0 6px; padding: 0; }
.link-cols a { display: block; padding: 7px 12px; font-size: 13px; color: var(--ink2); background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); }
.link-cols a:hover { border-color: var(--red); color: var(--red); }

.dir-group { margin-bottom: 16px; }
.dir-city { margin: 0 0 8px; font-size: 14.5px; font-weight: 600; }
.dir-city a { color: var(--ink); }
.dir-city a:hover { color: var(--red); }

/* ── 文章列表 ──────────────────────────────────────────── */
.art-list { list-style: none; margin: 0; padding: 0; }
.art-list li {
  padding: 15px 18px; margin-bottom: 10px;
  background: var(--sunken); border: 1px solid var(--line); border-radius: var(--r);
}
.art-list li:last-child { margin-bottom: 0; }
.art-list a { font-size: 15.5px; font-weight: 600; color: var(--ink); }
.art-list a:hover { color: var(--red); }
.art-list p { margin: 6px 0 5px; font-size: 13.5px; color: var(--ink2); line-height: 1.8; }
.art-list em { font-style: normal; font-size: 12.5px; color: var(--ink3); }
.art-wide li { padding: 18px 20px; }

/* ── 表格 ──────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; border-top: 2px solid var(--red); margin-bottom: 10px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; background: var(--paper); }
th { text-align: left; font-size: 13px; font-weight: 600; color: var(--ink2); padding: 11px 14px; background: var(--sunken); border-bottom: 1px solid var(--line); }
td { padding: 11px 14px; border-bottom: 1px solid var(--line); color: var(--ink2); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
td:first-child { color: var(--ink); white-space: nowrap; }
.table-note { margin: 0 0 6px; font-size: 12.5px; color: var(--ink3); }

/* ── 引擎生成的正文块 ──────────────────────────────────── */
.sect > p { margin: 0 0 16px; color: var(--ink2); }

ol.steps { list-style: none; margin: 0 0 12px; padding: 18px 20px; background: var(--sunken); border-radius: var(--r); }
ol.steps > li { padding-bottom: 16px; }
ol.steps > li:last-child { padding-bottom: 0; }
ol.steps > li h3 { margin: 0 0 6px; font-size: 15.5px; }
ol.steps > li p { margin: 0; font-size: 14px; color: var(--ink2); line-height: 1.88; }
/* 步骤附注：与步骤正文同块，但用左侧细线与浅色区分层次 */
ol.steps > li p.step-tip { margin: 7px 0 0; padding-left: 11px; border-left: 2px solid var(--line2); font-size: 13px; color: var(--ink3); }
/* 港澳台口径声明：置于引导段最前，需要比正文更醒目 */
.sect.lead p.offshore-note { padding: 12px 16px; background: var(--red-l); border-left: 3px solid var(--red); border-radius: var(--r); color: var(--ink2); font-size: 13.5px; line-height: 1.85; }

ul.materials, ul.why { list-style: none; margin: 0 0 10px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 8px; }
ul.materials li, ul.why li { padding: 11px 15px; font-size: 14px; color: var(--ink2); line-height: 1.85; background: var(--sunken); border: 1px solid var(--line); border-radius: var(--r); }
ul.why li { border-left: 3px solid var(--red); }

ul.scenarios { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 8px; }
ul.scenarios li { padding: 12px 15px; background: var(--sunken); border: 1px solid var(--line); border-top: 2px solid var(--red); border-radius: var(--r); }
ul.scenarios strong { display: block; font-size: 14.5px; margin-bottom: 3px; }
ul.scenarios span { font-size: 13px; color: var(--ink3); }

ul.mistakes { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 8px; }
ul.mistakes li { padding: 11px 15px; background: var(--sunken); border-left: 3px solid var(--red); font-size: 14px; line-height: 1.85; }
ul.mistakes strong { display: block; color: var(--red-d); font-size: 14.5px; margin-bottom: 3px; }
ul.mistakes span { color: var(--ink2); }

/* ── 材料清单 ──────────────────────────────────────────── */
.checklist { list-style: none; margin: 0 0 10px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 8px; }
.checklist li { position: relative; padding: 11px 14px 11px 34px; font-size: 14px; color: var(--ink2); line-height: 1.85; background: var(--sunken); border: 1px solid var(--line); border-radius: var(--r); }
.checklist li::before { content: ""; position: absolute; left: 14px; top: 17px; width: 7px; height: 7px; background: var(--red); }

/* ── 定义式说明（确认事项 / 咨询要件） ─────────────────── */
.facts-dl { margin: 0; }
.facts-dl dt { font-weight: 600; font-size: 14.5px; margin-top: 12px; }
.facts-dl dt:first-child { margin-top: 0; }
.facts-dl dd { margin: 3px 0 0; font-size: 14px; color: var(--ink2); }

/* ── 问答 ──────────────────────────────────────────────── */
.qa details { background: var(--sunken); border-left: 3px solid var(--line2); margin-bottom: 8px; }
.qa details[open] { border-left-color: var(--red); }
.qa summary { padding: 13px 16px; font-size: 14.5px; font-weight: 600; cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; float: right; color: var(--red); font-weight: 600; }
.qa details[open] summary::after { content: "−"; }
.qa-a { padding: 0 16px 14px; font-size: 14px; color: var(--ink2); }

/* ── 数字条（聚合页） ──────────────────────────────────── */
.ticker { background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--red); border-radius: var(--r); margin: 14px 0; }
.ticker ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 20px 22px; }
.ticker li { text-align: center; }
.ticker b { display: block; font-size: 22px; color: var(--red); }
.ticker span { font-size: 12.5px; color: var(--ink3); }

/* ── 两栏布局 ──────────────────────────────────────────── */
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 274px; gap: 32px; align-items: start; padding-top: 6px; }
.col-main { min-width: 0; }
.col-side { display: grid; gap: 12px; }

/* 桌面端侧栏吸顶：侧栏已瘦到一屏之内，因此不需要内部滚动 */
@media (min-width: 961px) {
  .col-side { position: sticky; top: 16px; }
}

/* ── 右侧栏 ────────────────────────────────────────────── */
.aside-cta { background: var(--red-d); color: #fff; padding: 16px 18px; border-radius: var(--r); }
.aside-cta-t {
  position: relative; margin: 0 0 12px; padding-bottom: 8px;
  font-size: 12.5px; color: #e3bfbb; letter-spacing: .3px;
  border-bottom: 1px solid rgba(255, 255, 255, .2);
}
.aside-cta-t::after {
  content: ""; position: absolute; left: 0; bottom: -1px;
  width: 26px; height: 2px; background: #e2705f;
}
.aside-tel { display: block; font-size: 20px; font-weight: 600; color: #fff; margin-bottom: 8px; }
.aside-tel:hover { color: #fff; }
.aside-cta-d { margin: 0 0 12px; font-size: 12.5px; line-height: 1.6; color: #ddc2bf; }
.aside-qr { width: 116px; height: 116px; margin: 2px auto 12px; background: #fff; padding: 5px; border-radius: var(--r); }
.btn-block { display: flex; justify-content: center; width: 100%; }
.aside-box { background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--red); border-radius: var(--r); padding: 14px 16px; }
.aside-box h3 {
  position: relative; margin: 0 0 9px; padding-bottom: 7px;
  font-size: 14px; line-height: 1.5;
  border-bottom: 1px solid var(--line);
}
.aside-box h3::after {
  content: ""; position: absolute; left: 0; bottom: -1px;
  width: 30px; height: 2px; background: var(--red);
}
.aside-box ul, .aside-toc ol { list-style: none; margin: 0; padding: 0; }
.aside-box li { padding: 2px 0; font-size: 12.5px; line-height: 1.6; }
.aside-toc ol { counter-reset: at; }
.aside-toc li { counter-increment: at; padding: 2px 0 2px 20px; position: relative; }
.aside-toc li::before {
  content: counter(at, decimal-leading-zero);
  position: absolute; left: 0; top: 5px;
  font: 600 11px/1.5 ui-monospace, Consolas, monospace; color: var(--red);
}

/* 主栏底部的内链区（原侧栏内链移到这里） */
.rel-bar {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 8px 28px;
  margin-top: 26px; padding: 20px 22px;
  background: var(--sunken); border: 1px solid var(--line); border-radius: var(--r);
}
.rel-bar h3 {
  position: relative; margin: 0 0 11px; padding-bottom: 8px;
  font-size: 14px; border-bottom: 1px solid var(--line);
}
.rel-bar h3::after {
  content: ""; position: absolute; left: 0; bottom: -1px;
  width: 26px; height: 2px; background: var(--red);
}
.rel-bar ul { list-style: none; margin: 0; padding: 0; }
.rel-bar li { padding: 3px 0; font-size: 13px; }

/* 侧栏服务导航（带图标，把侧栏撑起来，用于无目录页） */
.aside-svc ul { margin: 0; padding: 0; }
.aside-svc li { padding: 0; }
.aside-svc a {
  display: flex; align-items: center; gap: 7px;
  padding: 5px 0; font-size: 12.5px; line-height: 1.5; color: var(--ink2);
  border-bottom: 1px dashed var(--line);
}
.aside-svc li:last-child a { border-bottom: 0; }
.aside-svc .aside-more { margin: 9px 0 0; font-size: 12.5px; }
.aside-svc a:hover { color: var(--red); }
.aside-svg { width: 14px; height: 14px; flex: 0 0 auto; stroke: var(--red); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* 侧栏服务承诺：红色对勾标记 */
.aside-promise ul { margin: 0; padding: 0; list-style: none; }
.aside-promise li { position: relative; padding: 3px 0 3px 18px; font-size: 12.5px; color: var(--ink2); line-height: 1.6; }
.aside-promise li::before {
  content: ""; position: absolute; left: 1px; top: 10px;
  width: 8px; height: 4px;
  border-left: 2px solid var(--red); border-bottom: 2px solid var(--red);
  transform: rotate(-45deg);
}

/* 正文内的横向内链（related 模块） */
.rel-inline { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 8px 24px; }
.rel-inline h3 {
  position: relative; margin: 0 0 12px; padding-bottom: 8px;
  font-size: 14.5px; border-bottom: 1px solid var(--line);
}
.rel-inline h3::after {
  content: ""; position: absolute; left: 0; bottom: -1px;
  width: 28px; height: 2px; background: var(--red);
}
.rel-inline ul { list-style: none; margin: 0; padding: 0; }
.rel-inline li { font-size: 13px; padding: 3px 0; }

/* ── CTA / 提示 ────────────────────────────────────────── */
.ask { margin: 26px 0 10px; padding: 26px 28px; background: var(--red-l); border: 1px solid #efd9d5; border-left: 4px solid var(--red); border-radius: var(--r); }
.ask h2 { margin: 0 0 10px; font-size: 19px; }
.ask p { margin: 0 0 6px; color: var(--ink2); font-size: 14.5px; }
.ask-act { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px !important; }

.notice { margin: 14px 0; padding: 14px 18px; background: var(--sunken); border-radius: var(--r); }
.notice p { margin: 0; font-size: 12.5px; color: var(--ink3); }

/* ── 页头 ──────────────────────────────────────────────── */
.page-hd { padding: 28px 0 6px; }
.page-hd h1 {
  position: relative; margin: 0 0 16px; padding-bottom: 12px;
  font-size: 27px; line-height: 1.42;
  border-bottom: 1px solid var(--line);
}
.page-hd h1::after {
  content: ""; position: absolute; left: 0; bottom: -1px;
  width: 56px; height: 2px; background: var(--red);
}
.page-desc { margin: 0; color: var(--ink2); font-size: 14.5px; }

/* ── 分页 ──────────────────────────────────────────────── */
.pager { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; margin: 22px 0 6px; font-size: 13.5px; }
.pager a, .pager span { padding: 6px 11px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); color: var(--ink2); }
.pager a:hover { border-color: var(--red); color: var(--red); }
.pager .cur { background: var(--red); border-color: var(--red); color: #fff; }
.pager .off { color: #bdbdbd; }
.pager .gap { border: 0; background: transparent; }
.pager-info { border: 0; background: transparent; color: var(--ink3); }

/* ── 文章正文 ──────────────────────────────────────────── */
.post { padding-top: 28px; }
.post h1 { margin: 0 0 12px; font-size: 27px; line-height: 1.45; }
.post-meta { margin: 0 0 16px; font-size: 12.5px; color: var(--ink3); }
.post-meta span + span::before { content: " · "; }
.post-sum { margin: 0 0 18px; padding: 14px 18px; background: var(--red-l); border-left: 3px solid var(--red); border-radius: var(--r); font-size: 14.5px; color: var(--ink2); }
.toc { margin: 0 0 18px; padding: 16px 20px; background: var(--paper); border: 1px solid var(--line2); border-radius: var(--r); }
.toc b {
  position: relative; display: block; margin-bottom: 12px; padding-bottom: 8px;
  font-size: 14px; border-bottom: 1px solid var(--line);
}
.toc b::after {
  content: ""; position: absolute; left: 0; bottom: -1px;
  width: 26px; height: 2px; background: var(--red);
}
.toc ol { margin: 0; padding-left: 20px; font-size: 13.5px; }
.toc li { padding: 2px 0; }
.post-body {
  padding: 24px 26px;
  background: var(--sunken); border: 1px solid var(--line); border-radius: var(--r);
  font-size: 15.5px;
}
.post-body > h2:first-child { margin-top: 0; }
.post-body h2 {
  position: relative; margin: 32px 0 14px; padding-bottom: 10px;
  font-size: 19px; line-height: 1.5;
  border-bottom: 1px solid var(--line);
}
.post-body h2::after {
  content: ""; position: absolute; left: 0; bottom: -1px;
  width: 40px; height: 2px; background: var(--red);
}
.post-body h3 { margin: 22px 0 8px; font-size: 16px; }
.post-body p { margin: 0 0 17px; color: var(--ink2); }
.post-body ul { margin: 0 0 16px; padding-left: 22px; color: var(--ink2); }
.post-body li { margin-bottom: 6px; }
.post-body strong { color: var(--ink); }

/* ── 联系页 ────────────────────────────────────────────── */
.contact-flex { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 26px; align-items: start; }
.qr-box { text-align: center; padding: 16px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); }
.qr-box img { margin: 0 auto 10px; }
.qr-box p { margin: 0 0 4px; font-size: 14px; font-weight: 600; }
.qr-box span { font-size: 12.5px; color: var(--ink3); }

/* ── 页脚 ──────────────────────────────────────────────── */
.foot { background: #2a2320; color: #b7ada6; margin-top: 44px; font-size: 13px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1fr; gap: 30px; padding-top: 36px; padding-bottom: 30px; }
.foot h3 {
  position: relative; margin: 0 0 14px; padding-bottom: 9px;
  font-size: 14px; color: #f0e9e4; letter-spacing: .3px;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}
.foot h3::after {
  content: ""; position: absolute; left: 0; bottom: -1px;
  width: 30px; height: 2px; background: #cf4b3f;
}
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { padding: 3px 0; }
.foot a { color: #b7ada6; }
.foot a:hover { color: #fff; }
.foot-logo { display: flex; align-items: center; gap: 9px; margin: 0 0 12px; }
.foot-logo b { font-size: 16px; color: #f0e9e4; }
.foot-logo .seal { width: 30px; height: 30px; font-size: 16px; }
.foot-about { margin: 0 0 12px; line-height: 1.7; }
.foot-tel { margin: 0 0 14px; }
.foot-tel span { display: block; font-size: 11.5px; color: #8d837c; }
.foot-tel { font-size: 19px; font-weight: 600; color: #fff; }
.foot-qr { margin: 0; }
.foot-qr img { border-radius: var(--r); background: #fff; padding: 5px; margin-bottom: 6px; }
.foot-qr span { font-size: 11.5px; color: #8d837c; }
.foot-base { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; padding-top: 14px; padding-bottom: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 12px; }
.foot-base p { margin: 0; }
.foot-legal a { margin-left: 14px; }

/* ── 移动端底栏 ────────────────────────────────────────── */
.mobile-bar { display: none; }

/* ── 响应式 ────────────────────────────────────────────── */
@media (max-width: 960px) {
  .hero-slider { height: 360px; }
  .hs-body h1, .hs-title { font-size: 24px; }
  .hs-sub { font-size: 13.5px; }
  .two-col { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hi-list { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}

@media (max-width: 720px) {
  body { font-size: 14.5px; padding-bottom: 62px; }
  .shell { padding: 0 16px; }
  .mast-grid { min-height: 62px; gap: 10px; }
  .brand-txt em { display: none; }
  .brand-txt strong { font-size: 16px; }
  .nav-toggle {
    display: block; margin-left: auto; padding: 7px 14px; font-size: 13.5px;
    background: #fff; border: 1px solid var(--line2); border-radius: var(--r); color: var(--ink2);
  }
  .mainnav { display: none; flex-basis: 100%; }
  .mainnav.is-open { display: block; padding-bottom: 12px; }
  .mainnav ul { flex-direction: column; gap: 0; }
  .mainnav a { padding: 11px 4px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .mast-tel { margin-left: 0; flex-basis: 100%; text-align: left; display: none; }
  .page-hd h1, .post h1 { font-size: 22px; }
  .hero-slider { height: 320px; }
  .hs-pic { width: 100%; opacity: .34; }
  .hs-body h1, .hs-title { font-size: 21px; }
  .hs-sub { display: none; }
  .hs-arrows { display: none; }
  .sect-h { font-size: 17px; }
  .post-body h2 { font-size: 17px; }
  .checklist, .flow-strip, .flow-line { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow-line li { border-left: 0; border-top: 1px solid var(--line); padding: 12px 0 0; }
  .flow-line li:first-child { border-top: 0; padding-top: 0; }
  .link-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-legal a { margin-left: 0; margin-right: 14px; }
  .facts ul { grid-template-columns: repeat(2, 1fr); gap: 14px; padding: 18px 0; }
  .trust li { border-left: 0; border-top: 1px solid var(--line); }
  .trust li:first-child { border-top: 0; }
  .mobile-bar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
    background: #fff; border-top: 1px solid var(--line); padding: 8px 14px; gap: 10px;
  }
  .mobile-bar a { flex: 1; text-align: center; padding: 10px; border-radius: var(--r); font-size: 14.5px; font-weight: 600; }
  .mb-call { background: var(--red); color: #fff; }
  .mb-chat { background: var(--red-l); color: var(--red-d); border: 1px solid #efd9d5; }
}


@media (max-width: 520px) {
  .svc-grid { grid-template-columns: 1fr; }
}