/* ============================================================
   秐麦智联 · 全站样式 v2
   ------------------------------------------------------------
   设计约束：
   1. 不引入任何 Web 字体 —— 使用系统字体栈，消除字体请求与
      字体加载时的布局抖动（对 LCP / CLS 影响最大的两项）
   2. 浅色主题，正文对比度全部达到 WCAG AA（≥4.5:1）
   3. 焦点样式一律保留，不做 outline:none
   4. 移动端优先适配，断点 1040px / 900px / 620px
   ------------------------------------------------------------
   视觉语言：
   品牌渐变 --grad-brand 是全站唯一的强调语言，只出现在四处 ——
   首屏氛围、区块标题锚点条、卡片悬停线、CTA 与页脚顶线。
   其余部分保持安静的白与浅蓝灰。
   ============================================================ */

:root {
  --ink: #0b1526;
  --body: #334155;
  --muted: #52627a;
  --line: #e4eaf4;
  --line-strong: #c9d5e6;
  --bg: #ffffff;
  --bg-soft: #f5f8fd;
  --bg-mute: #ecf2fb;
  --brand: #1652d4;
  --brand-dark: #0e3a99;
  --brand-2: #2f7bff;
  --brand-light: #e8eefc;
  --accent: #0e8f78;
  --accent-light: #e2f4f0;
  --warn: #a35a06;
  --warn-light: #fdf3e3;
  --radius: 14px;
  --radius-sm: 9px;
  --radius-lg: 20px;
  --grad-brand: linear-gradient(135deg, #0e3a99 0%, #1652d4 55%, #2f7bff 100%);
  --shadow-sm: 0 1px 2px rgba(11, 21, 38, .05), 0 4px 14px -8px rgba(11, 21, 38, .10);
  --shadow: 0 2px 4px rgba(11, 21, 38, .05), 0 12px 32px -14px rgba(11, 21, 38, .16);
  --shadow-lg: 0 4px 8px rgba(11, 21, 38, .06), 0 20px 44px -18px rgba(11, 21, 38, .22);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", Roboto, Helvetica,
    Arial, sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.78;
  color: var(--body);
  background: var(--bg);
  font-feature-settings: "tnum" 1;
}

h1, h2, h3, h4 { color: var(--ink); line-height: 1.35; margin: 0 0 .6em; font-weight: 800; }
h1 { font-size: 2.1rem; letter-spacing: -.02em; }
/* H2 只靠字号与上方留白分节。原先每条 H2 下方都带一段品牌渐变短线，
   首页九个小节重复九次之后它就不再是信息，而是装饰噪音，故移除；
   品牌渐变归拢到首屏、卡片悬停线、CTA 与页脚顶线四处使用。 */
h2 { font-size: 1.52rem; letter-spacing: 0; margin-top: 2.1em; margin-bottom: .8em; }
h3 { font-size: 1.16rem; margin-top: 1.7em; font-weight: 700; }
p { margin: 0 0 1.1em; }
a { color: var(--brand); text-decoration: none; text-underline-offset: 3px; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
strong { color: var(--ink); }
ul, ol { margin: 0 0 1.2em; padding-left: 1.35em; }
li { margin: .38em 0; }
li::marker { color: var(--brand); }

::selection { background: rgba(22, 82, 212, .16); }

/* 粘性页头遮挡锚点目标的补偿 */
h2[id], h3[id], [id] { scroll-margin-top: 88px; }

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

.container { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--brand); color: #fff; padding: 12px 18px;
  border-radius: 0 0 8px 0; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ---------------------------------------------- 待填占位符
   业务方补齐 config.py 的对应字段后，这些标记会自动消失。 */
.ph {
  display: inline-block;
  background: var(--warn-light);
  border: 1px dashed #d9a441;
  border-radius: 6px;
  padding: 0 7px;
  color: var(--warn);
  font-size: .92em;
  font-weight: 600;
  line-height: 1.6;
}
.ph-btn {
  cursor: help;
  border: 1px dashed #d9a441 !important;
  background: var(--warn-light) !important;
  color: var(--warn) !important;
}
.ph-btn .btn-k { color: var(--warn); }
.ph-btn .btn-v { color: var(--warn); opacity: .85; }

/* ---------------------------------------------- 页头 */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 28px -22px rgba(11, 21, 38, .28);
}
.header-inner {
  display: flex; align-items: center; gap: 24px;
  min-height: 68px;
}
.brand { flex: 0 0 auto; display: flex; align-items: center; }
.brand-logo { width: 128px; height: 40px; }

/* 导航下的栏目 banner */
.page-banner { background: #0a1428; line-height: 0; border-bottom: 1px solid var(--line); }
.page-banner img {
  width: 100%; height: auto; display: block;
}

.nav { margin-left: auto; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.nav-item { position: relative; margin: 0; }
.nav-link {
  position: relative;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 10px 13px; border-radius: var(--radius-sm);
  color: var(--ink); font-weight: 600; font-size: .95rem;
  transition: background .15s ease, color .15s ease;
}
.nav-link:hover { background: var(--bg-soft); text-decoration: none; }
/* 当前栏目的底部指示条 */
.nav-link.is-active { color: var(--brand); background: var(--brand-light); }
.nav-link.is-active::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 3px;
  height: 2px; border-radius: 2px; background: var(--grad-brand);
}
.caret {
  width: 7px; height: 7px; border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-1px);
  opacity: .6;
}
.submenu {
  position: absolute; top: 100%; left: 0; min-width: 300px;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.nav-item:hover > .submenu,
.nav-item:focus-within > .submenu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.submenu ul { list-style: none; margin: 0; padding: 0; }
.submenu a {
  display: block; padding: 9px 12px; border-radius: var(--radius-sm);
  color: var(--ink);
  transition: background .14s ease;
}
.submenu a:hover { background: var(--bg-soft); text-decoration: none; }
.sub-t { display: block; font-weight: 600; font-size: .94rem; }
.sub-n { display: block; font-size: .8rem; color: var(--muted); line-height: 1.5; }

.header-actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }

/* 内联二维码（信任表、联系页等静态展示） */
.qr-inline {
  display: inline-block; vertical-align: middle;
  border-radius: 8px; border: 1px solid var(--line); background: #fff;
}
.qr-note {
  display: inline-block; vertical-align: middle;
  margin-left: 8px; font-size: .8rem; color: var(--muted);
}

/* 页脚与正文里的微信二维码入口 */
.foot-wx .header-qr { width: 36px; height: 36px; border-radius: 8px; }
.hero-actions .header-wx, .cta-actions .header-wx { width: 100%; }

/* 页头微信二维码：小图常驻显示，悬停/点击放大便于扫码 */
.header-wx { position: relative; }
.header-qr {
  display: block; width: 48px; height: 48px; padding: 0;
  border: 1px solid var(--line-strong); border-radius: 10px;
  background: #fff; cursor: pointer; overflow: hidden;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.header-qr img { display: block; width: 100%; height: 100%; object-fit: cover; }
.header-qr:hover {
  border-color: var(--brand);
  box-shadow: 0 6px 16px -8px rgba(22, 82, 212, .45);
}
.header-qr:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

/* 弹出层默认锚定按钮左缘、向右展开（首屏/CTA/页脚的按钮都在内容左侧） */
.wx-pop {
  position: absolute; left: 0; right: auto; top: calc(100% + 10px); z-index: 60;
  width: 252px; padding: 12px;
  background: #fff; border: 1px solid var(--line-strong);
  border-radius: var(--radius-md, 12px);
  box-shadow: 0 14px 34px -12px rgba(15, 34, 74, .28);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.header-wx:hover .wx-pop,
.header-wx:focus-within .wx-pop,
.header-wx.open .wx-pop { opacity: 1; visibility: visible; transform: translateY(0); }
.wx-pop::before {
  content: ""; position: absolute; top: -5px; left: 24px;
  width: 10px; height: 10px; background: #fff;
  border-left: 1px solid var(--line-strong); border-top: 1px solid var(--line-strong);
  transform: rotate(45deg);
}
/* 页头的二维码小图贴屏幕右上角，弹出层必须向左展开，否则超出视口 */
.site-header .header-wx .wx-pop { left: auto; right: 0; }
.site-header .wx-pop::before { left: auto; right: 16px; }
.wx-pop img {
  display: block; width: 220px; height: auto; margin: 0 auto;
  border-radius: 8px; border: 1px solid var(--line);
}

.menu-btn {
  display: none; margin-left: auto; width: 44px; height: 44px;
  background: #fff; border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm); cursor: pointer; padding: 11px 10px;
}
.menu-btn:hover { background: var(--bg-soft); }
.menu-bar {
  display: block; height: 2px; background: var(--ink); border-radius: 2px;
  margin: 4px 0; transition: transform .2s ease, opacity .2s ease;
}
.menu-btn[aria-expanded="true"] .menu-bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-bar:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] .menu-bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------------------------------------------- 按钮 */
.btn {
  display: inline-flex; flex-direction: column; align-items: flex-start;
  gap: 1px; padding: 10px 20px; border-radius: 12px;
  border: 1px solid transparent; cursor: pointer;
  font-family: inherit; text-align: left; text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease,
    border-color .15s ease, color .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-k { font-size: .74rem; opacity: .82; letter-spacing: .04em; }
.btn-v { font-size: 1rem; font-weight: 700; line-height: 1.3; }
.btn-primary {
  background: var(--grad-brand); color: #fff;
  box-shadow: 0 8px 22px -8px rgba(22, 82, 212, .55);
}
.btn-primary:hover { box-shadow: 0 12px 26px -8px rgba(22, 82, 212, .65); }
.btn-wechat { background: var(--accent-light); color: #0b6d5c; border-color: #b6e0d7; position: relative; }
.btn-wechat:hover { background: #d3ede7; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.linklike {
  background: none; border: 0; padding: 0; font: inherit; color: var(--brand);
  cursor: pointer; text-decoration: underline;
}
.copy-hint {
  position: absolute; right: 8px; top: -10px; font-size: .7rem;
  background: var(--ink); color: #fff; border-radius: 6px;
  padding: 1px 7px; opacity: 0; transition: opacity .18s ease;
}
.copy-hint.is-on { opacity: 1; }

/* ---------------------------------------------- 首屏 */
.hero {
  background:
    radial-gradient(920px 420px at 88% -24%, rgba(79, 140, 255, .16) 0%, rgba(79, 140, 255, 0) 62%),
    radial-gradient(680px 320px at -12% 118%, rgba(14, 143, 120, .09) 0%, rgba(14, 143, 120, 0) 60%),
    radial-gradient(rgba(11, 21, 38, .045) 1px, rgba(11, 21, 38, 0) 1px),
    linear-gradient(180deg, #f7fafe 0%, #ffffff 100%);
  background-size: auto, auto, 22px 22px, auto;
  border-bottom: 1px solid var(--line);
  padding: 72px 0 58px;
}
/* 首屏定位行：只交代位置，不做标签装饰（无胶囊底、无前置圆点）。
   内页不再使用该行 —— 栏目归属由 banner 与面包屑说明，避免同一信息三处重复。 */
.kicker {
  margin: 0 0 12px; font-size: .86rem; font-weight: 600;
  color: var(--brand-dark); letter-spacing: .02em;
}
.hero h1 { font-size: 2.45rem; max-width: 22em; letter-spacing: -.02em; }
.lede { font-size: 1.08rem; max-width: 46em; color: var(--body); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 6px; }
/* 同一组动作等宽，避免两个按钮因文案长短而参差 */
.hero-actions .btn { min-width: 172px; }
.hero-facts {
  list-style: none; margin: 30px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px;
}
.hero-facts li {
  margin: 0; padding: 15px 17px;
  background: rgba(255, 255, 255, .82);
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  backdrop-filter: blur(4px);
}
.hf-k { display: block; font-size: .78rem; color: var(--muted); letter-spacing: .04em; }
.hf-v { display: block; font-size: .99rem; font-weight: 700; color: var(--ink); }

/* ---------------------------------------------- 区块 */
/* 节奏原则：单侧内边距 + 收掉末元素外边距，两节相接的空带控制在 ~80px 内 */
.section { padding: 44px 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-soft { background: var(--bg-soft); }
.section-tight { padding: 32px 0; }
.lead { font-size: 1.08rem; color: var(--ink); }
.section > .container > h2:first-child { margin-top: 0; }
.section > .container > :last-child { margin-bottom: 0; }

/* ---------------------------------------------- 卡片 */
.card-grid {
  list-style: none; margin: 28px 0 0; padding: 0;
  display: grid; gap: 18px;
  grid-template-columns: repeat(3, 1fr);
}
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  position: relative; overflow: hidden;
  margin: 0; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px 22px;
  display: flex; flex-direction: column;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
/* 悬停时顶部品牌渐变线自左向右展开 */
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad-brand);
  transform: scaleX(0); transform-origin: left;
  transition: transform .24s ease;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: var(--line-strong); }
.card:hover::before { transform: scaleX(1); }
.card-tag {
  align-self: flex-start; font-size: .74rem; font-weight: 700;
  color: var(--brand-dark); background: var(--brand-light);
  border-radius: 999px; padding: 2px 11px; margin-bottom: 11px;
}
.card-t { font-size: 1.07rem; margin: 0 0 8px; }
.card-t a { color: var(--ink); }
.card-t a:hover { color: var(--brand); }
.card-d { margin: 0; font-size: .93rem; flex: 1 1 auto; }
.card-link { margin-top: 14px; font-weight: 600; font-size: .9rem; }

/* ---------------------------------------------- 表格 */
.table-scroll {
  overflow-x: auto; margin: 24px 0; border-radius: var(--radius);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
table { width: 100%; border-collapse: collapse; font-size: .93rem; background: #fff; min-width: 560px; }
caption { text-align: left; padding: 12px 16px; font-weight: 700; color: var(--ink); background: var(--bg-soft); border-bottom: 1px solid var(--line); }
th, td { padding: 12px 15px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--bg-mute); color: var(--ink); font-weight: 700; white-space: nowrap; font-size: .88rem; letter-spacing: .02em; }
tbody tr:nth-child(even) { background: #fafbfe; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
tbody tr { transition: background .12s ease; }
tbody tr:hover { background: #f1f6ff; }
.nowrap { white-space: nowrap; }
.cell-sub { display: block; color: var(--muted); font-size: .86rem; line-height: 1.55; }

/* ---------------------------------------------- 提示块 */
.callout {
  margin: 24px 0; padding: 17px 20px; border-radius: var(--radius);
  border-left: 4px solid var(--brand); background: var(--bg-soft);
}
.callout-t { margin: 0 0 4px; font-weight: 700; color: var(--ink); }
.callout p:last-child { margin-bottom: 0; }
.callout-warn { border-left-color: var(--warn); background: var(--warn-light); }
.callout-warn .callout-t { color: var(--warn); }

/* ---------------------------------------------- 图示 */
.fig { margin: 28px 0; }
.fig img, .fig svg { width: 100%; height: auto; display: block; border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.fig figcaption { margin-top: 10px; font-size: .86rem; color: var(--muted); }

/* ---------------------------------------------- 数据条 */
.stat-row {
  list-style: none; margin: 24px 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
}
.stat-row li {
  margin: 0; text-align: center; padding: 20px 12px;
  background: var(--bg-soft); border-radius: var(--radius); border: 1px solid var(--line);
  transition: transform .18s ease, box-shadow .18s ease;
}
.stat-row li:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.stat-v {
  display: block; font-size: 1.5rem; font-weight: 800; color: var(--brand-dark);
  background: var(--grad-brand); -webkit-background-clip: text;
  background-clip: text; -webkit-text-fill-color: transparent;
}
.stat-l { display: block; font-size: .86rem; color: var(--ink); font-weight: 600; }
.stat-n { display: block; font-size: .76rem; color: var(--muted); }

/* ---------------------------------------------- FAQ */
.faq-list { margin: 24px 0; }
.faq-item {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; margin-bottom: 10px; overflow: hidden;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.faq-item:hover { border-color: var(--line-strong); }
.faq-item[open] { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.faq-item summary {
  display: flex; align-items: center; gap: 12px;
  padding: 15px 18px; cursor: pointer; list-style: none;
  transition: background .14s ease;
}
.faq-item summary:hover { background: var(--bg-soft); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q { font-weight: 700; color: var(--ink); flex: 1 1 auto; }
.faq-mark { position: relative; width: 16px; height: 16px; flex: 0 0 auto; }
.faq-mark::before, .faq-mark::after {
  content: ""; position: absolute; background: var(--brand); border-radius: 2px;
}
.faq-mark::before { left: 0; top: 7px; width: 16px; height: 2px; }
.faq-mark::after { left: 7px; top: 0; width: 2px; height: 16px; transition: transform .18s ease; }
.faq-item[open] .faq-mark::after { transform: scaleY(0); }
.faq-a { padding: 0 18px 16px; border-top: 1px solid var(--line); background: var(--bg-soft); }
.faq-a p { margin: 14px 0 0; }
/* FAQ 锚点：id 保留在 <details id="qN"> 上，供外部分享与 AI/搜索
   引用单条答案（…/faq/#q3）；页面内不再输出可见的独立链接 */
.faq-item:target { border-color: var(--brand); box-shadow: var(--shadow-sm); }

/* ---------------------------------------------- CTA */
.cta-band {
  position: relative;
  /* 装饰全靠 background 径向渐变，天然不溢出圆角，不能用 overflow:hidden——
     会把「微信咨询」弹出的二维码卡片裁掉（弹出层从按钮下方展开越过横幅边界） */
  margin: 44px 0 0; padding: 34px 32px;
  background:
    radial-gradient(620px 300px at 90% -40%, rgba(255, 255, 255, .18) 0%, rgba(255, 255, 255, 0) 60%),
    radial-gradient(420px 260px at -6% 130%, rgba(255, 255, 255, .12) 0%, rgba(255, 255, 255, 0) 60%),
    var(--grad-brand);
  border-radius: var(--radius-lg); color: #fff;
  display: flex; flex-wrap: wrap; align-items: center; gap: 22px;
  justify-content: space-between;
}
.cta-t { margin: 0 0 4px; font-size: 1.24rem; font-weight: 800; color: #fff; }
.cta-d { margin: 0; color: #d7e2fb; font-size: .94rem; max-width: 40em; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
/* 深色横幅里的主次：微信＝白底实心（主），电话＝白描边透明（次）。
   微信是主转化通道，按钮权重必须压过电话。 */
.cta-band .btn-primary { background: #fff; border-color: #fff; color: #0e3a99; box-shadow: none; }
.cta-band .btn-primary:hover { background: #eef3ff; box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .4); }
.cta-band .btn-ghost {
  background: transparent; color: #eaf1ff; border-color: rgba(255, 255, 255, .55);
}
.cta-band .btn-ghost:hover { background: rgba(255, 255, 255, .14); border-color: #fff; color: #fff; }

/* ---------------------------------------------- 相关内容 */
.related { margin-top: 46px; padding-top: 28px; border-top: 1px solid var(--line); }
.rel-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
.rel-list li {
  margin: 0; background: var(--bg-soft); border: 1px solid transparent;
  border-radius: var(--radius-sm); padding: 14px 17px;
  transition: border-color .16s ease, background .16s ease;
}
.rel-list li:hover { border-color: var(--line-strong); background: #fff; }
.rel-list a { font-weight: 600; }
.rel-d { display: block; font-size: .85rem; color: var(--muted); }

/* ---------------------------------------------- 面包屑 */
/* 位置条：白底细线。banner 已是深色块，此处不再叠一层浅蓝色带 */
.crumb { background: transparent; border-bottom: 1px solid var(--line); font-size: .82rem; }
.crumb ol { list-style: none; margin: 0; padding: 12px 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumb li { margin: 0; color: var(--muted); }
.crumb li + li::before { content: "/"; margin-right: 6px; color: var(--line-strong); }
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--brand); }

/* ---------------------------------------------- 页脚 */
.site-footer { position: relative; background: #0a1428; color: #b9c6dd; margin-top: 64px; padding: 50px 0 26px; font-size: .9rem; }
/* 品牌渐变顶线 —— 与 CTA 呼应 */
.site-footer::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #1652d4 0%, #2f7bff 55%, #0e8f78 100%);
}
/* 品牌区 + 5 个导航列（服务/能力/方案/关于/联系），少一列「联系我们」会折行错位 */
.foot-grid { display: grid; grid-template-columns: 1.35fr repeat(5, 1fr); gap: 30px 22px; }
/* 原始图 255×80（比例 3.1875），不要用 width+height 双固定，否则会被拉伸变形 */
.foot-logo { width: auto; height: 40px; }
.foot-tag { margin: 14px 0 18px; line-height: 1.8; }
.foot-nap { list-style: none; margin: 0; padding: 0; }
.foot-nap li { margin: 0 0 9px; display: flex; gap: 8px; }
.foot-nap .k { flex: 0 0 74px; color: #8195b5; }
.foot-nap .v { color: #dbe4f4; }
/* 禁拆行工具类：时间段、编号等整体内容不允许从中间断开 */
.nb { white-space: nowrap; }
.site-footer a { color: #dbe4f4; }
.site-footer a:hover { color: #fff; }
.foot-h { font-size: .92rem; color: #fff; margin: 0 0 12px; letter-spacing: .06em; }
.foot-col ul { list-style: none; margin: 0; padding: 0; }
.foot-col li { margin: 0 0 7px; }
.foot-bottom {
  margin-top: 36px; padding-top: 20px; border-top: 1px solid #1e2c48;
  display: flex; flex-wrap: wrap; gap: 8px 26px; align-items: center;
  font-size: .84rem; color: #8195b5;
}
.foot-bottom p { margin: 0; }
.foot-note { flex: 1 1 100%; }
.linklike-light { background: none; border: 0; padding: 0; font: inherit; color: #dbe4f4; cursor: pointer; text-decoration: underline; }

/* ---------------------------------------------- 返回顶部 */
.gotop {
  position: fixed; right: 22px; bottom: 26px; z-index: 40;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: #fff; color: var(--brand);
  font-size: 1.15rem; cursor: pointer; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s,
    background .15s ease;
}
.gotop.is-on { opacity: 1; visibility: visible; }
.gotop:hover { background: var(--brand-light); }

/* ---------------------------------------------- 页尾补充版式 */
.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 36px; align-items: start; }
.aside-card {
  background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px;
}
.aside-card h2, .aside-card h3 { margin-top: 0; }
.aside-card .k { color: var(--muted); font-size: .82rem; display: block; }
.aside-card .v { font-weight: 700; color: var(--ink); display: block; margin-bottom: 12px; }
.check-list { list-style: none; padding: 0; }
.check-list li { padding-left: 26px; position: relative; }
.check-list li::before {
  content: ""; position: absolute; left: 2px; top: .55em;
  width: 11px; height: 6px; border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent); transform: rotate(-45deg);
}
.anchor-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 6px; }
.anchor-list li { margin: 0; }
.anchor-list a {
  display: inline-block; padding: 5px 13px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); color: var(--ink);
  font-size: .87rem; font-weight: 600;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.anchor-list a:hover {
  background: var(--brand-light); border-color: var(--brand-light);
  color: var(--brand-dark); text-decoration: none;
}
.page-meta { font-size: .86rem; color: var(--muted); margin: 0 0 18px; }
.subnav { margin: -18px 0 8px; padding: 10px 0 0; border-top: 1px dashed var(--line); }
.subnav .anchor-list a[aria-current="page"] {
  background: var(--brand); border-color: var(--brand); color: #fff;
}
.subnav .anchor-list a[aria-current="page"]:hover { background: var(--brand-dark); border-color: var(--brand-dark); }

/* ---------------------------------------------- 响应式 */
@media (max-width: 1040px) {
  .foot-grid { grid-template-columns: 1fr 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}

/* 导航 7 项后，平板宽度（900–1120px）桌面导航会偏挤：压缩导航项内边距与字号，
   保证这一区间仍用桌面导航且不溢出；900px 以下仍走汉堡菜单。 */
@media (min-width: 901px) and (max-width: 1120px) {
  .header-inner { gap: 14px; }
  .nav-link { padding: 10px 8px; font-size: .88rem; }
  .header-actions .btn { padding: 8px 10px; }
}

@media (max-width: 900px) {
  h1 { font-size: 1.66rem; }
  .hero { padding: 42px 0 36px; }
  .hero h1 { font-size: 1.74rem; }
  .section { padding: 34px 0; }
  .split { grid-template-columns: 1fr; gap: 22px; }
  .card-grid, .card-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .rel-list { grid-template-columns: 1fr; }
  h2::after { width: 36px; }

  .menu-btn { display: block; }
  .nav {
    position: fixed; inset: 68px 0 auto 0; margin: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    max-height: calc(100dvh - 68px); overflow-y: auto;
    display: none; box-shadow: var(--shadow-lg);
  }
  .nav.is-open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 22px; }
  .nav-link { padding: 13px 8px; font-size: 1rem; justify-content: space-between; }
  .nav-link.is-active::after { display: none; }
  .caret { transform: rotate(135deg); }
  .submenu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; border-left: 2px solid var(--line);
    border-radius: 0; margin: 0 0 6px 10px; padding: 4px 0 4px 8px; min-width: 0;
  }
}

@media (max-width: 620px) {
  body { font-size: 15.5px; }
  .header-inner { gap: 12px; }
  .header-actions { gap: 8px; }
  .header-qr { width: 40px; height: 40px; border-radius: 8px; }
  .wx-pop { width: 200px; padding: 10px; }
  .wx-pop img { width: 176px; }
  .hero { padding: 36px 0 30px; }
  .hero h1 { font-size: 1.52rem; }
  .card-grid, .card-grid.cols-2, .card-grid.cols-4 { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .btn { width: 100%; align-items: center; }
  .hero-actions, .cta-actions { flex-direction: column; width: 100%; }
  .cta-band { padding: 24px 19px; }
  .gotop { right: 14px; bottom: 18px; }
  .header-actions .btn { padding: 7px 10px; }
  .header-actions .btn-k { display: none; }
  .header-actions .btn-v { font-size: .85rem; }
  .container { padding: 0 18px; }
}
