/* ============================================================
   CMS 动态页补充样式：分页、详情页辅助、卡片节奏
   依赖：/assets/geo/css/style.css（站点主样式）
   ============================================================ */

/* ---------- 分页 ---------- */
.pager { margin: 34px 0 6px; text-align: center; }
.pager ul.pagination {
  display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 8px;
  margin: 0; padding: 0; list-style: none;
}
.pager ul.pagination li a,
.pager ul.pagination li span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 38px; height: 38px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: 10px;
  background: #fff; color: var(--text);
  font-size: 13.5px; font-weight: 700; text-decoration: none;
  transition: border-color .16s ease, color .16s ease, box-shadow .16s ease;
}
.pager ul.pagination li a:hover {
  border-color: rgba(26, 107, 255, .45); color: var(--brand);
  box-shadow: 0 8px 18px rgba(16, 36, 92, .08);
}
.pager ul.pagination li.active span {
  background: var(--brand); border-color: var(--brand); color: #fff;
}
.pager ul.pagination li.disabled span { color: #b7c0d4; background: #f6f8fc; }

/* ---------- 详情页正文 ---------- */
.article-wrap { max-width: 880px; }
.article-body { line-height: 1.85; }
.article-body img { max-width: 100%; height: auto; border-radius: 10px; }
.article-body table {
  width: 100%; border-collapse: collapse; margin: 14px 0;
}
.article-body table th,
.article-body table td {
  border: 1px solid var(--line); padding: 9px 12px; font-size: 14px; text-align: left;
}
.article-body table th { background: #f6f8fc; }
.article-body blockquote {
  margin: 14px 0; padding: 12px 18px; border-left: 3px solid var(--brand);
  background: #f6f8fc; border-radius: 0 10px 10px 0; color: var(--muted);
}
.article-meta {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-bottom: 14px; color: var(--muted); font-size: 13px;
}
.article-meta .q-cat { margin: 0; }

/* ---------- 列表空态 ---------- */
.list-empty {
  padding: 60px 0; text-align: center; color: var(--muted);
}
.list-empty h3 { margin-bottom: 8px; }

/* ---------- 栏目页子栏目卡 ---------- */
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.chip-row a.chip-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 16px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .28); color: #fff;
  font-size: 14px; font-weight: 700; text-decoration: none;
  transition: background .16s ease, border-color .16s ease;
}
.chip-row a.chip-link:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .55); }

/* ---------- 案例正文内的数据表（正文用 .data-table，与列表页 table.data 区分） ---------- */
.table-scroll {
  width: 100%; overflow-x: auto; border: 1px solid var(--line);
  border-radius: 10px; background: #fff;
  scrollbar-width: thin; scrollbar-color: #ccd8ea transparent;
}
.table-scroll::-webkit-scrollbar { height: 8px; }
.table-scroll::-webkit-scrollbar-thumb { background: #ccd8ea; border-radius: 999px; }
table.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
table.data-table th, table.data-table td {
  padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap;
}
table.data-table thead th {
  background: #f2f6ff; color: var(--ink); font-size: 13px; font-weight: 800;
  border-bottom: 1px solid #dbe6ff;
}
table.data-table tbody tr:last-child td { border-bottom: 0; }
table.data-table tbody tr { transition: background .18s; }
table.data-table tbody tr:hover { background: #f6f9ff; }
table.data-table td:first-child { color: var(--text); font-weight: 700; }
table.data-table td { color: var(--muted); }
/* 含表格的两列卡片内容不等高，禁止 stretch 造成表格被拉出大片空白 */
.grid.g-2:has(.data-table) > .card { align-self: start; }
@media (max-width: 900px) { table.data-table { min-width: 560px; } }

/* ---------- TAG 分组内容列表 ---------- */
.tag-archives-list { margin-top: 40px; }
.tag-group {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 24px;
  margin-bottom: 24px;
}
.tag-group-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.tag-group-head .tag { pointer-events: none; }
.tag-count {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}

/* ---------- 卡片列表节奏 ---------- */
.archives-grid { display: grid; gap: 18px; }
.archives-grid .card { margin-bottom: 0; }

/* ---------- 详情上下篇 ---------- */
.doc-nav { display: flex; gap: 14px; margin-top: 28px; }
.doc-nav a {
  flex: 1; display: block; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 14px 18px; text-decoration: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.doc-nav a:hover { border-color: rgba(26, 107, 255, .45); box-shadow: 0 10px 24px rgba(16, 36, 92, .08); }
.doc-nav a span {
  display: block; margin-bottom: 4px; font-size: 12px; font-weight: 700;
  color: var(--muted); letter-spacing: .06em;
}
.doc-nav a b { display: block; font-size: 14.5px; line-height: 1.5; color: var(--text); }
.doc-nav a.next { text-align: right; }
@media (max-width: 680px) {
  .doc-nav { flex-direction: column; }
  .doc-nav a.next { text-align: left; }
}
/* ---------- FAQ 列表卡片 ---------- */
.faq-card { display: flex; flex-direction: column; }
.faq-card h4 { font-size: 17px; line-height: 1.5; margin: 10px 0 8px; }
.faq-card p {
  font-size: 14.5px; line-height: 1.7; color: var(--muted);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.faq-card-head { display: flex; align-items: center; gap: 10px; }
.faq-card-head .q-cat { margin: 0; }
.faq-more {
  margin-top: auto; padding-top: 12px; display: inline-flex; align-items: center; gap: 5px;
  font-size: 13px; font-weight: 800; color: var(--brand);
}
.faq-card:hover .faq-more { color: #0b3fb0; }
/* ---------- 表单提交反馈 ---------- */
.form-error {
  display: none; margin: 14px 0 0; padding: 12px 16px;
  border: 1px solid #f3c1c1; border-left: 3px solid #e5484d;
  border-radius: var(--radius); background: #fdf3f3;
  font-size: 13.5px; color: #b3261e;
}
.form-error.show { display: block; }
/* ---------- tabs 以链接呈现（栏目页） ---------- */
.tabs a.tab {
  text-decoration: none; display: inline-flex;
  align-items: center; justify-content: center;
  line-height: 1; white-space: nowrap;
}
.tabs a.tab:hover { color: var(--brand); }
/* 选中态：改为浅底 + 主题色描边，避免强渐变像按钮 */
.tabs .tab.active {
  background: rgba(26, 107, 255, .08) !important;
  border-color: rgba(26, 107, 255, .35) !important;
  color: var(--brand) !important;
  box-shadow: none !important;
}
.tabs .tab.active:hover {
  background: rgba(26, 107, 255, .12) !important;
  border-color: rgba(26, 107, 255, .5) !important;
}
/* ---------- 详情页侧栏（目录 + 附加卡片 竖排） ---------- */
.article-side {
  position: sticky; top: 96px;
  display: flex; flex-direction: column; gap: 16px;
}
.article-side .toc { position: static; top: auto; }
@media (max-width: 1080px) {
  .article-side { position: static; }
}

/* 侧栏卡片 */
.side-card {
  padding: 18px 20px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff;
}
.side-card h6 { font-size: 14.5px; font-weight: 700; margin: 0 0 6px; color: var(--text); }
.side-card p { font-size: 12.5px; line-height: 1.6; color: var(--muted); margin: 0 0 12px; }

/* 侧栏按钮：不受 .toc a 影响，按标准按钮排版 */
.side-card .btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%; height: 42px; padding: 0 16px;
  border-radius: 10px; border-left: 0; font-size: 14px; line-height: 1;
}
.side-card .btn + .btn { margin-top: 8px; }
.side-card .btn.btn-primary { color: #fff; }
.side-card .btn.btn-outline { color: var(--brand); background: #fff; }

/* 侧栏 TAG 云 */
.side-tags { background: linear-gradient(180deg, #ffffff, #f5f8ff); }
.side-tags h6 { font-size: 13px; letter-spacing: .04em; color: var(--muted); margin-bottom: 10px; }
.side-tags .tag {
  display: inline-flex; align-items: center;
  margin: 0 6px 6px 0; padding: 5px 11px;
  border: 1px solid var(--line); border-left: 1px solid var(--line);
  border-radius: 999px; background: #fff;
  font-size: 12.5px; font-weight: 600; color: var(--text);
}
.side-tags .tag:hover { border-color: rgba(26, 107, 255, .45); color: var(--brand); }
/* ---------- 左对齐区块的装饰线跟随标题（否则会被 margin:auto 推到中间） ---------- */
.sec-head.left .glow-line { margin-left: 0; }
.sec-head.left .sec-desc { max-width: 720px; }
/* ---------- 导航当前项高亮（主样式由 style.css 提供，这里补下拉项与抽屉） ---------- */
.drawer-nav a.active { color: var(--brand); font-weight: 800; background: var(--brand-soft); }
.drawer-nav a.sub.active { box-shadow: inset 3px 0 0 var(--brand); }
/* 顶部导航：命中子项时父级为实心蓝，子项用浅蓝底 + 左侧蓝条呼应 */
.nav .submenu a.active { background: var(--brand-soft); color: var(--brand-600); }
.nav .submenu a.active em.st { color: var(--brand-600); }
.nav .submenu a.active::after {
  content: ""; position: absolute; left: 0; top: 9px; bottom: 9px; width: 3px;
  border-radius: 0 3px 3px 0; background: var(--brand);
}
.nav .submenu a { position: relative; }

/* ---------- 卡片：封面通栏，内间距由 body 控制 ---------- */
.card.case-card, .card.news-card { padding: 0; }
.card.case-card .case-body, .card.news-card .news-body { padding: 22px; }

/* ---------- 筛选 tab：文字垂直居中（a 标签需要 flex） ---------- */
.tabs .tab {
  display: inline-flex; align-items: center; justify-content: center;
  line-height: 1; text-decoration: none; padding-top: 0; padding-bottom: 0;
}
/* 左对齐标题下的筛选条跟随左对齐，不要悬在中间 */
.sec-head.left + .tabs { justify-content: flex-start; }
/* ---------- 正文 CTA：编辑器可能剥离 class，按位置兜底成按钮 ---------- */
.hero-cta > a {
  display: inline-flex; align-items: center; gap: 8px;
  height: 46px; padding: 0 24px; border-radius: 999px;
  font-size: 15px; font-weight: 700; line-height: 1; text-decoration: none;
  color: #fff; background: linear-gradient(100deg, var(--brand), var(--brand-2));
  box-shadow: 0 10px 24px rgba(26, 107, 255, .32);
  transition: all .24s ease;
}
.hero-cta > a:hover { transform: translateY(-2px); }
.hero-cta > a + a {
  background: rgba(255, 255, 255, .14); color: #fff;
  border: 1px solid rgba(255, 255, 255, .4); box-shadow: none;
}
/* ---------- 列表卡片统一骨架：封面带 + 正文 + 底部条 ---------- */
.card.case-card, .card.news-card, .card.faq-card { padding: 0; display: flex; flex-direction: column; }
.card .news-thumb, .card .case-cover { height: 150px; }

.card .news-body, .card .case-body, .card .faq-body {
  padding: 22px; flex: 1; display: flex; flex-direction: column; min-height: 0;
}
.card .faq-body .date {
  font-size: 13px; color: var(--muted); font-weight: 600; margin-bottom: 8px;
}
.card .faq-body h4 { margin-bottom: 8px; line-height: 1.45; }

/* 摘要统一 3 行，避免同类卡片高度参差 */
.card .news-body p, .card .case-body p, .card .faq-body p {
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden; flex: 1;
}

/* 底部信息/链接统一贴底 */
.card .case-meta, .card .faq-more { margin-top: auto; }
.card .faq-more { padding-top: 12px; }
/* 卡片底部链接（新闻/问答通用，与案例 chip 行同样贴底） */
.card .card-more {
  margin-top: auto; padding-top: 12px;
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 13px; font-weight: 800; color: var(--brand);
}
.card:hover .card-more { color: #0b3fb0; }
/* ---------- 下拉菜单：子栏目副标题 ---------- */
.nav .submenu { min-width: 256px; }
.nav .submenu a span { white-space: nowrap; }
.nav .submenu a span { font-size: 12px; line-height: 1.35; }
/* 移动端抽屉子栏目副标题 */
.drawer-nav a.sub { display: block; padding: 9px 4px 9px 16px; border-bottom-color: #f0f3fa; }
.drawer-nav a.sub em.st { display: block; font-style: normal; font-weight: 700; }
.drawer-nav a.sub span { display: block; margin-top: 2px; font-size: 12px; font-weight: 500; color: var(--muted); }
/* 下拉项不加下划线：hover 只用底色与文字变色，避免与一级导航下划线混在一起 */
.nav .submenu a em.st {
  display: inline-block; font-style: normal; font-weight: 700; line-height: 1.35;
  padding-bottom: 0; border-bottom: 0; text-decoration: none;
}
.nav .submenu a:hover,
.nav .submenu a.active { text-decoration: none; }
.nav .submenu a:hover em.st,
.nav .submenu a.active em.st { text-decoration: none; }
.nav .submenu a span { display: block; margin-top: 3px; text-decoration: none; color: var(--muted); }
.nav .submenu a:hover span { color: inherit; opacity: .78; }
/* ---------- 首页五项服务矩阵 ---------- */
.svc-sub { margin: 6px 0 0; font-size: 13.5px; font-weight: 700; color: var(--brand); }
.svc-foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 16px; padding-top: 12px; border-top: 1px dashed var(--line);
}
.svc-price { font-size: 13.5px; font-weight: 800; color: var(--ink); }
.card .svc-foot .next-go { font-size: 13px; }
/* ---------- 四档价格网格（全域智托套餐） ---------- */
.price-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1080px) { .price-grid.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .price-grid.cols-4 { grid-template-columns: 1fr; } }
.price-value b { white-space: nowrap; }
/* 价格卡：四列时标签与单位不换行 */
.price-tag { white-space: nowrap; max-width: max-content; }
.price-value span { white-space: nowrap; }
/* 套餐卡底部说明贴底，四档卡片等高时保持对齐 */
.price-card .price-note { margin-top: auto; }
/* 套餐卡底部说明贴底，四档卡片等高时保持对齐 */
.price-card .price-note { margin-top: auto; }
/* ---------- 单页首屏：左文案 + 右专项表单卡 ---------- */
.page-hero .hero-grid { gap: 44px; }
.page-hero .hero-grid > div > p { max-width: 560px; }
.page-hero .diag-card { padding: 26px; }
.page-hero .diag-card h3 { font-size: 20px; }
.page-hero .diag-card .sub { margin-bottom: 16px; }
.page-hero .diag-card .diag-field { margin-bottom: 12px; }

/* 深色卡里的多行输入 */
.diag-card textarea {
  width: 100%; min-height: 76px; padding: 12px 14px; border-radius: 10px;
  font: inherit; font-size: 15px; line-height: 1.5; color: #fff;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18);
  outline: none; resize: vertical; transition: all .2s ease;
}
.diag-card textarea::placeholder { color: rgba(255, 255, 255, .45); }
.diag-card textarea:focus { border-color: rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .14); }

/* 校验失败态（通用 .invalid 在浅色表单里用，这里补深色卡版本） */
.diag-field.invalid input, .diag-field.invalid textarea {
  border-color: #ff8a8a !important;
  box-shadow: 0 0 0 3px rgba(255, 138, 138, .16);
}

/* 深色卡里的成功/错误提示 */
.diag-card .form-success {
  margin-top: 12px; background: rgba(18, 183, 106, .18);
  border-color: rgba(18, 183, 106, .45); color: #b9f6d3;
}
.diag-card .form-error {
  background: rgba(229, 72, 77, .16); border-color: rgba(229, 72, 77, .4); color: #ffc9c9;
}
/* ---------- 全域智托：个性化定制模块 ---------- */
.custom-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 20px; margin-top: 28px; }
.custom-col {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l);
  padding: 26px 26px 20px;
}
.custom-col h3 { font-size: 17.5px; margin-bottom: 6px; }
.custom-col > p { color: var(--muted); font-size: 13.5px; margin-bottom: 12px; }
.custom-col .list-check li { font-size: 14.5px; margin-bottom: 10px; line-height: 1.6; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.chip-row .chip { 
  background: #f1f6ff; 
  color: #26508f; 
  border: 1px solid #e2ecff; 
  padding: 10px 18px; 
  border-radius: 999px; 
  font-size: 14px; 
  font-weight: 700;
  transition: all .2s ease;
}
.chip-row .chip:hover { background: #e6f0ff; transform: translateY(-2px); }

/* 多彩 chip 样式 */
.chip-row .chip:nth-child(12n+1) { background: #e8f4ff; color: #1a6bff; border-color: #d0e8ff; }
.chip-row .chip:nth-child(12n+2) { background: #e6f9f9; color: #0e93b0; border-color: #ccf0f0; }
.chip-row .chip:nth-child(12n+3) { background: #f0ecff; color: #6d5cff; border-color: #e0d8ff; }
.chip-row .chip:nth-child(12n+4) { background: #fff4e6; color: #d97706; border-color: #ffe8cc; }
.chip-row .chip:nth-child(12n+5) { background: #e6f9ee; color: #0d8a4f; border-color: #ccf0dd; }
.chip-row .chip:nth-child(12n+6) { background: #ffe6f0; color: #c92a6c; border-color: #ffd0e4; }
.chip-row .chip:nth-child(12n+7) { background: #e8f4ff; color: #1a6bff; border-color: #d0e8ff; }
.chip-row .chip:nth-child(12n+8) { background: #e6f9f9; color: #0e93b0; border-color: #ccf0f0; }
.chip-row .chip:nth-child(12n+9) { background: #f0ecff; color: #6d5cff; border-color: #e0d8ff; }
.chip-row .chip:nth-child(12n+10) { background: #fff4e6; color: #d97706; border-color: #ffe8cc; }
.chip-row .chip:nth-child(12n+11) { background: #e6f9ee; color: #0d8a4f; border-color: #ccf0dd; }
.chip-row .chip:nth-child(12n) { background: #ffe6f0; color: #c92a6c; border-color: #ffd0e4; }

.custom-adv { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 20px; }
.custom-adv .card { padding: 22px; }
.custom-adv h4 { font-size: 15.5px; margin: 12px 0 8px; }
.custom-adv p { font-size: 13.5px; color: var(--muted); line-height: 1.68; }

.custom-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 20px; }
.custom-flow .cf {
  position: relative; background: linear-gradient(180deg, #fff, #fbfdff);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px 16px;
}
.custom-flow .cf .n { font-size: 11.5px; font-weight: 800; letter-spacing: .08em; color: var(--brand); }
.custom-flow .cf h5 { font-size: 14.5px; margin: 6px 0 6px; }
.custom-flow .cf p { font-size: 13px; color: var(--muted); line-height: 1.6; }
.custom-flow .cf:not(:last-child)::after {
  content: ""; position: absolute; right: -13px; top: 50%; width: 10px; height: 10px;
  border-top: 2px solid #cfdcf5; border-right: 2px solid #cfdcf5; transform: translateY(-50%) rotate(45deg);
}

.custom-cta {
  display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center;
  margin-top: 26px; padding: 30px 34px; border-radius: var(--radius-l); color: #fff;
  background:
    radial-gradient(700px 320px at 4% -30%, rgba(26, 107, 255, .6), transparent 62%),
    radial-gradient(560px 300px at 104% 140%, rgba(61, 127, 255, .45), transparent 62%),
    linear-gradient(118deg, var(--night) 0%, var(--night-2) 56%, var(--night) 100%);
}
.custom-cta h2 { color: #fff; font-size: 22px; margin-bottom: 8px; }
.custom-cta p { color: rgba(255, 255, 255, .76); font-size: 14.5px; }
.custom-cta .btns { display: flex; gap: 12px; flex-wrap: wrap; }

@media (max-width: 1080px) {
  .custom-grid { grid-template-columns: 1fr; }
  .custom-adv, .custom-flow { grid-template-columns: repeat(2, 1fr); }
  .custom-flow .cf::after { display: none; }
}
@media (max-width: 680px) {
  .custom-adv, .custom-flow { grid-template-columns: 1fr; }
  .custom-cta { grid-template-columns: 1fr; padding: 24px 22px; }
  .custom-cta h2 { font-size: 19px; }
}
/* ---------- 服务项目：五张服务卡均衡排布（3 + 2） ---------- */
.grid.svc-five { grid-template-columns: repeat(6, 1fr); }
.grid.svc-five > * { grid-column: span 2; }
.grid.svc-five > *:nth-child(4),
.grid.svc-five > *:nth-child(5) { grid-column: span 3; }
@media (max-width: 1080px) {
  .grid.svc-five { grid-template-columns: repeat(2, 1fr); }
  .grid.svc-five > *:nth-child(n) { grid-column: span 1; }
  .grid.svc-five > *:nth-child(5) { grid-column: span 2; }
}
@media (max-width: 680px) {
  .grid.svc-five { grid-template-columns: 1fr; }
  .grid.svc-five > *:nth-child(n) { grid-column: span 1; }
  .grid.svc-five > *:nth-child(5) { grid-column: span 1; }
}
/* ---------- 顶栏：中小屏只留一句 slogan，避免中英混排被截断 ---------- */
@media (max-width: 900px) {
  .topbar .tb-right { display: none; }
  .topbar .tb-left span { font-size: 12.5px; }
}
/* ---------- 首页底部 CTA 表单：深色底上的提示 ---------- */
.mini-form .form-success,
.cta-panel .form-success {
  background: rgba(18, 183, 106, .18); border-color: rgba(18, 183, 106, .45); color: #b9f6d3;
}
.mini-form .form-error { background: rgba(229, 72, 77, .16); border-color: rgba(229, 72, 77, .4); color: #ffc9c9; }
.mini-form input { width: 100%; }
/* ---------- FAQ 卡封面：随机 tag 文字，替代数字编号 ---------- */
.news-thumb.faq-thumb .glyph {
  display: inline-flex; flex-direction: column; align-items: center;
  font-size: 54px; line-height: 1; font-weight: 900; letter-spacing: 0; opacity: .96;
  font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1;
}
.news-thumb.faq-thumb .glyph::after {
  content: ""; display: block; width: 32px; height: 3px; margin-top: 12px;
  border-radius: 999px; background: rgba(255, 255, 255, .6);
}
/* tag 文字样式：允许换行、去掉底部横线 */
.news-thumb.faq-thumb .glyph.tag-text {
  font-size: 22px; font-weight: 800; line-height: 1.35;
  max-width: 80%; text-align: center; white-space: normal;
  letter-spacing: .02em;
}
.news-thumb.faq-thumb .glyph.tag-text::after { display: none; }

/* ---------- 站内搜索：hero 搜索框 / 排序 / 空态 / 搜索层 ---------- */
.page-hero-search p { margin-bottom: 26px; }
.search-hero-form {
  display: flex; align-items: center; gap: 0; max-width: 640px;
  background: #fff; border-radius: 12px; padding: 6px 6px 6px 18px;
  box-shadow: 0 14px 40px rgba(8, 15, 52, .25);
}
.search-hero-form > i { color: #8a93ad; flex: none; margin-right: 10px; }
.search-hero-form input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: transparent;
  font-size: 15px; color: #1c2340; height: 44px;
}
.search-hero-form button {
  flex: none; height: 44px; padding: 0 26px; border: 0; border-radius: 9px;
  background: var(--primary, #2563eb); color: #fff; font-weight: 700; font-size: 15px;
  cursor: pointer; transition: filter .18s;
}
.search-hero-form button:hover { filter: brightness(1.08); }

.search-order { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.search-order a {
  padding: 6px 16px; border-radius: 999px; font-size: 13px; font-weight: 600;
  color: #5b6478; background: #fff; border: 1px solid #e3e8f2; transition: all .18s;
}
.search-order a.active, .search-order a:hover { background: #1c2340; border-color: #1c2340; color: #fff; }

.empty-links { display: flex; gap: 12px; justify-content: center; margin-top: 22px; flex-wrap: wrap; }

.search-overlay { position: fixed; inset: 0; z-index: 300; display: none; }
.search-overlay.open { display: block; }
.so-backdrop { position: absolute; inset: 0; background: rgba(10, 14, 35, .62); backdrop-filter: blur(3px); }
/* 面板用纵向 flex：头部与搜索框固定不滚动，仅内容区可滚动，
   这样关闭按钮始终停在右上角，且面板自身不会出现滚动条 */
.so-panel {
  position: relative; max-width: 1080px; max-height: 88vh;
  display: flex; flex-direction: column; overflow: hidden;
  margin: 5vh auto 0; background: #fff;
  border-radius: 18px; padding: 22px 28px 28px; box-shadow: 0 30px 80px rgba(8, 15, 52, .35);
  animation: soIn .22s ease;
}
@keyframes soIn { from { transform: translateY(14px); opacity: 0; } to { transform: none; opacity: 1; } }

/* 头部：关闭按钮独立成行，固定在面板右上；加不透明底与层级，滚动时不被内容盖住 */
.so-head {
  flex: none; position: relative; z-index: 3; background: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-bottom: 16px;
}
.so-head-txt b { display: block; font-size: 17px; font-weight: 800; color: #1c2340; }
.so-head-txt span { display: block; margin-top: 2px; font-size: 12.5px; color: #98a1b8; }
.so-close {
  flex: none; width: 36px; height: 36px; display: inline-grid; place-items: center;
  border: 1px solid #e3e8f2; border-radius: 10px; background: #f7f9fd;
  color: #5b6478; cursor: pointer; transition: all .18s;
}
.so-close:hover { background: #eaf1ff; border-color: #c9dcff; color: #1a6bff; }

/* 搜索表单：同样固定在顶部 */
.so-form { flex: none; display: flex; align-items: center; gap: 10px; border: 2px solid #cfddff; border-radius: 12px; padding: 6px 6px 6px 16px; }
.so-form:focus-within { border-color: #1a6bff; box-shadow: 0 0 0 4px rgba(26, 107, 255, .1); }
.so-form > i { color: #1a6bff; flex: none; }
.so-form input { flex: 1; min-width: 0; border: 0; outline: 0; font-size: 16px; color: #1c2340; height: 46px; background: transparent; }
.so-submit {
  flex: none; display: inline-flex; align-items: center; gap: 6px; height: 46px; padding: 0 22px;
  border: 0; border-radius: 9px; background: #1a6bff; color: #fff; font-size: 15px; font-weight: 700; cursor: pointer;
}
.so-submit:hover { background: #0b53d8; }
.so-tip { flex: none; margin: 10px 2px 0; font-size: 12.5px; color: #98a1b8; }

/* 内容区：唯一可滚动的部分，滚动条隐藏（不占位、不出现在右侧） */
.so-body {
  flex: 1 1 auto; min-height: 0; margin-top: 22px; padding-right: 2px;
  overflow-y: auto; overflow-x: hidden;
  scrollbar-width: none; -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  box-shadow: inset 0 10px 5px -10px rgb(182 198 245 / 18%);
  padding-top: 20px;
}
.so-body::-webkit-scrollbar { width: 0; height: 0; display: none; }
.so-sec { margin-bottom: 24px; }
.so-sec-head { display: flex !important; align-items: baseline !important; gap: 12px !important; padding-bottom: 10px; margin-bottom: 14px; border-bottom: 1px dashed #dfe6f2; }
.so-sec-head b { font-size: 15px; font-weight: 800; color: #1a6bff; }
.so-sec-head span { font-size: 12.5px; color: #98a1b8; margin-left: 4px; }

/* 经常搜索词 */
.so-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.so-chips a {
  padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 700;
  color: #26508f; background: #f1f6ff; border: 1px solid #e2ecff; transition: all .18s;
}
.so-chips a:nth-child(6n+1) { background: #e8f4ff; color: #1a6bff; border-color: #d0e8ff; }
.so-chips a:nth-child(6n+2) { background: #e6f9f9; color: #0e93b0; border-color: #ccf0f0; }
.so-chips a:nth-child(6n+3) { background: #f0ecff; color: #6d5cff; border-color: #e0d8ff; }
.so-chips a:nth-child(6n+4) { background: #fff4e6; color: #d97706; border-color: #ffe8cc; }
.so-chips a:nth-child(6n+5) { background: #e6f9ee; color: #0d8a4f; border-color: #ccf0dd; }
.so-chips a:nth-child(6n)   { background: #ffe6f0; color: #c92a6c; border-color: #ffd0e4; }
.so-chips a:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(26, 107, 255, .16); }

/* 热门 TAG */
.so-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.so-tags a {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px;
  border-radius: 8px; font-size: 13px; font-weight: 600;
  background: #f7f9fd; border: 1px solid #e6ebf5; color: #46506a;
}
.so-tags a:hover { background: #eaf1ff; border-color: #c9dcff; color: #1a6bff; }
.so-tags a b { font-size: 11.5px; font-weight: 700; color: #98a1b8; }

/* 栏目 / 推荐：三列分组，参考下拉菜单的「标题 + 副标题 + 虚线 + 列表」 */
.so-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.so-col {
  --sc: #1a6bff; --sc-soft: #eef4ff;
  background: #fbfcff; border: 1px solid #e8edf7; border-radius: 14px;
  padding: 14px 16px 8px; min-width: 0;
}
.so-col.c-blue   { --sc: #1a6bff; --sc-soft: #eef4ff; }
.so-col.c-cyan   { --sc: #0e93b0; --sc-soft: #e8f9fb; }
.so-col.c-violet { --sc: #6d5cff; --sc-soft: #f1eeff; }
.so-col.c-green  { --sc: #0d8a4f; --sc-soft: #e9f8f0; }
.so-col.c-orange { --sc: #d97706; --sc-soft: #fff5e8; }
.so-col.c-pink   { --sc: #c92a6c; --sc-soft: #ffedf4; }
.so-col-head { padding-bottom: 10px; margin-bottom: 6px; border-bottom: 1px dashed #dfe6f2; }
.so-col-head b { display: block; font-size: 14px; font-weight: 800; color: var(--sc); }
.so-col-head span { display: block; margin-top: 3px; font-size: 12px; color: #98a1b8; }
.so-col-list a { display: block; padding: 9px 10px; margin: 0 -6px; border-radius: 9px; transition: background .16s; }
.so-col-list a:hover { background: var(--sc-soft); }
.so-col-list a em.st {
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
  font-style: normal; font-size: 13.5px; font-weight: 800; color: #1c2340; line-height: 1.4;
}
.so-col-list a span {
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
  margin-top: 3px; font-size: 12px; color: #98a1b8;
}

@media (max-width: 900px) {
  .so-cols { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .so-panel { margin: 3vh 12px 0; padding: 18px 16px 20px; max-height: 92vh; }
  .so-cols { grid-template-columns: 1fr; }
  .so-submit { padding: 0 14px; }
  .search-hero-form button { padding: 0 16px; }
}

/* ============================================================
   服务项目子页主题化：品牌蓝为站点主色，各服务页取自己的强调色
   页面外层包 <div class="svc-scope [t-cyan|t-green|t-orange|t-violet]">
   顺序与首页服务矩阵 5 色循环一致：蓝 / 青 / 绿 / 橙 / 紫
   ============================================================ */
.svc-scope { --sv: #1a6bff; --sv-rgb: 26, 107, 255; --sv-hi: #8db9ff; --sv-d: #1246c8; }
.svc-scope.t-cyan   { --sv: #0891b2; --sv-rgb: 8, 145, 178;  --sv-hi: #67e8f9; --sv-d: #0a6b82; }
.svc-scope.t-green  { --sv: #059669; --sv-rgb: 5, 150, 105;  --sv-hi: #6ee7b7; --sv-d: #047857; }
.svc-scope.t-orange { --sv: #d97706; --sv-rgb: 217, 119, 6;  --sv-hi: #fcd34d; --sv-d: #b45309; }
.svc-scope.t-violet { --sv: #7c3aed; --sv-rgb: 124, 58, 237; --sv-hi: #c4b5fd; --sv-d: #5b21b6; }

/* ---------- 服务单页：主题色固定为蓝，模块内容按序多彩 ----------
   --sv  = 品牌主题色（按钮、链接、光斑、callout 边框）
   --sc  = 当前模块的强调色，蓝/青/绿/橙/紫循环，驱动图标、眉标、勾选点
   这样整页基调统一为蓝，但每个模块都有自己的识别色，不再一片单色。
   ============================================================ */
.svc-scope > section:nth-of-type(5n+1) { --sc: #4d8dff; --sc-rgb: 77, 141, 255;  --sc-hi: #b3d9ff; --sc-d: #2563eb; }
.svc-scope > section:nth-of-type(5n+2) { --sc: #22c8e0; --sc-rgb: 34, 200, 224;   --sc-hi: #a5f3fc; --sc-d: #0e7490; }
.svc-scope > section:nth-of-type(5n+3) { --sc: #22c55e; --sc-rgb: 34, 197, 94;    --sc-hi: #a7f3d0; --sc-d: #15803d; }
.svc-scope > section:nth-of-type(5n+4) { --sc: #fb923c; --sc-rgb: 251, 146, 60;   --sc-hi: #fed7a5; --sc-d: #c2740b; }
.svc-scope > section:nth-of-type(5n+5) { --sc: #8b7bff; --sc-rgb: 139, 123, 255;  --sc-hi: #ddd6fe; --sc-d: #7c3aed; }

/* ---------- 首屏：主题色光斑 ---------- */
.svc-scope .page-hero::before {
  background:
    radial-gradient(920px 460px at 10% -22%, rgba(var(--sv-rgb), .88), transparent 62%),
    radial-gradient(720px 480px at 96% 122%, rgba(var(--sv-rgb), .4), transparent 62%),
    linear-gradient(168deg, var(--night) 0%, var(--night-2) 56%, var(--night) 100%);
  background-color: var(--night);
}
.svc-scope .page-hero h1 em.hl {
  font-style: normal;
  background: linear-gradient(100deg, #5fe0f5 0%, #8fc0ff 55%, #d8e9ff 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* 首屏徽章行 */
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero-badges span {
  display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px;
  border-radius: 999px; background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  font-size: 13px; font-weight: 700; color: rgba(255, 255, 255, .92);
}
.hero-badges span svg { width: 15px; height: 15px; color: var(--sv-hi); }

/* 首屏表单卡：主题描边 + 顶部光条 */
.svc-scope .diag-card { position: relative; overflow: hidden; border-color: rgba(var(--sv-rgb), .5); box-shadow: 0 26px 70px rgba(var(--sv-rgb), .26), 0 10px 30px rgba(8, 15, 52, .3); }
.svc-scope .diag-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--sv), transparent);
}
/* 表单按钮：主题色渐变，覆盖 style.css 的蓝色渐变 */
.svc-scope .diag-card .btn-white {
  color: #fff;
  background: linear-gradient(100deg, var(--sv-d) 0%, var(--sv) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .34), 0 12px 26px rgba(var(--sv-rgb), .36);
}
.svc-scope .diag-card .btn-white:hover {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .42), 0 16px 34px rgba(var(--sv-rgb), .46);
}

/* ---------- 正文组件主题化 ---------- */
/* 眉标：实心主题渐变 + 白字。选择器带 section 提升优先级，
   覆盖 style.css 里 section:nth-of-type(3n+2/3n) 的青/紫渐变，避免绿字配青底 */
.svc-scope section .eyebrow:not(.light),
.svc-scope.svc-scope .eyebrow:not(.light) {
  background: linear-gradient(100deg, var(--sc-d, var(--sv-d)) 0%, var(--sc, var(--sv)) 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 10px 22px rgba(var(--sc-rgb, var(--sv-rgb)), .28);
}
.svc-scope section .eyebrow:not(.light)::before,
.svc-scope.svc-scope .eyebrow:not(.light)::before {
  background: #fff;
  box-shadow: 0 0 8px rgba(255, 255, 255, .85);
}
/* 深色首屏上的浅色眉标：圆点与文字统一主题色 */
.svc-scope .eyebrow.light { color: #fff; }
.svc-scope .eyebrow.light::before {
  background: linear-gradient(135deg, var(--sv-hi), var(--sv));
  box-shadow: 0 0 12px rgba(var(--sv-rgb), .9);
}
.svc-scope .icon-box:not(.cyan):not(.green):not(.orange):not(.pink) {
  background: linear-gradient(135deg, var(--sc, var(--sv)), var(--sc-hi, var(--sv-hi)));
  color: #fff;
  box-shadow: 0 12px 26px rgba(var(--sc-rgb, var(--sv-rgb)), .32), inset 0 1px 0 rgba(255, 255, 255, .28);
}
/* 勾选列表：圆底与勾跟随模块强调色 */
.svc-scope .list-check:not(.dark) li::before { background: rgba(var(--sc-rgb, var(--sv-rgb)), .15); }
.svc-scope .list-check:not(.dark) li::after { background: var(--sc, var(--sv)); }
/* FAQ 题号：跟随模块强调色 */
.svc-scope .q-mark { color: var(--sc, var(--sv)); }
/* 卡片顶部/悬停细节：跟随模块强调色 */
.svc-scope .card:hover .card-more,
.svc-scope .card:hover .next-go { color: var(--sc, var(--sv)); }

/* ---------- 按钮 / 链接 / 标签：品牌蓝改为主题色 ---------- */
.svc-scope .btn-primary {
  background: linear-gradient(100deg, var(--sv-d) 0%, var(--sv) 100%);
  box-shadow: 0 12px 28px rgba(var(--sv-rgb), .34);
}
.svc-scope .btn-primary:hover { box-shadow: 0 18px 40px rgba(var(--sv-rgb), .46); }
.svc-scope .btn-outline { border-color: rgba(var(--sv-rgb), .3); color: var(--sv); }
.svc-scope .btn-outline:hover { border-color: var(--sv); color: var(--sv); background: rgba(var(--sv-rgb), .06); }
.svc-scope .link-more,
.svc-scope .card-more,
.svc-scope .next-go,
.svc-scope .svc-sub,
.svc-scope .card:hover .card-more,
.svc-scope .card:hover .next-go { color: var(--sv); }
.svc-scope .chip:hover { background: rgba(var(--sv-rgb), .12); color: var(--sv); }
/* 勾选列表保留多彩圆底 */
.svc-scope .jump-card:hover { border-color: rgba(var(--sv-rgb), .42); }
.svc-scope .price-card.hot {
  background: linear-gradient(#fff, #fff) padding-box,
              linear-gradient(135deg, var(--sv), var(--sv-hi)) border-box;
  box-shadow: 0 26px 60px rgba(var(--sv-rgb), .22);
}
.svc-scope .tab.active { background: linear-gradient(100deg, var(--sv-d), var(--sv)); box-shadow: 0 8px 18px rgba(var(--sv-rgb), .26); }
.svc-scope .pager .p-btn.active { background: linear-gradient(100deg, var(--sv-d), var(--sv)); }
.svc-scope .callout {
  border-left: 3px solid var(--sv);
  background: linear-gradient(120deg, rgba(var(--sv-rgb), .08), rgba(var(--sv-rgb), .02) 60%, #fff) !important;
  border-color: rgba(var(--sv-rgb), .2) !important;
  color: var(--text) !important;
  box-shadow: none !important;
}
.svc-scope .callout h4, .svc-scope .callout strong, .svc-scope .callout a { color: var(--sv) !important; }
.svc-scope .callout p { color: var(--text) !important; }

/* 交替浅底（跳过深色 hero / cta 与自带底色的 section） */
.svc-scope > section.section-sm:nth-of-type(even) {
  background: linear-gradient(180deg, #f7f9ff, #fdfeff);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* KPI 数字保留多彩渐变 */
.svc-scope .kpi-mini { padding: 18px 20px; }

/* ---------- 分色体系：品牌元素用主题蓝，内容组件按模块循环多彩 ---------- */

/* 表格：表头与行悬停跟随模块强调色 + 斑马纹 */
.svc-scope .card table thead th {
  background: rgba(var(--sc-rgb, var(--sv-rgb)), .08);
  color: var(--sc-d, var(--sv-d));
  font-weight: 800;
}
.svc-scope .card table tbody tr:nth-child(even) td { background: #fafcff; }
.svc-scope .card table tbody tr { transition: background .15s ease; }
.svc-scope .card table tbody tr:hover td { background: rgba(var(--sc-rgb, var(--sv-rgb)), .05); }

/* 交付物 / 模块卡：四档多彩浅底，避免整组同色 */
.svc-scope .card.c1,
.svc-scope .card.c2,
.svc-scope .card.c3,
.svc-scope .card.c4 { transition: transform .22s ease, box-shadow .22s ease; }
.svc-scope .card.c1 { background: linear-gradient(180deg, rgba(77, 141, 255, .17), #fff 76%); border-color: rgba(77, 141, 255, .32); }
.svc-scope .card.c2 { background: linear-gradient(180deg, rgba(34, 200, 224, .17), #fff 76%); border-color: rgba(34, 200, 224, .32); }
.svc-scope .card.c3 { background: linear-gradient(180deg, rgba(34, 197, 94, .16), #fff 76%); border-color: rgba(34, 197, 94, .32); }
.svc-scope .card.c4 { background: linear-gradient(180deg, rgba(251, 146, 60, .18), #fff 76%); border-color: rgba(251, 146, 60, .34); }
.svc-scope .card.c1:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(77, 141, 255, .2); }
.svc-scope .card.c2:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(34, 200, 224, .2); }
.svc-scope .card.c3:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(34, 197, 94, .2); }
.svc-scope .card.c4:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(251, 146, 60, .22); }

/* ---------- 同网格内每张卡片按位次换色 ----------
   一个模块里常并排 2~4 张卡，若图标同色会显得整块单色；
   这里按卡片位次给图标与勾选点循环四色，卡片之间彼此可区分。 */
.svc-scope .grid > .card:nth-child(4n+1) .icon-box:not(.cyan):not(.green):not(.orange):not(.pink),
.svc-scope .grid > .card:nth-child(4n+1) .icon-box.sm:not(.cyan):not(.green):not(.orange):not(.pink),
.svc-scope .card.c1 .icon-box:not(.cyan):not(.green):not(.orange):not(.pink) {
  background: linear-gradient(135deg, #4d8dff 0%, #b3d9ff 100%);
  color: #fff;
  box-shadow: 0 12px 26px rgba(77, 141, 255, .32), inset 0 1px 0 rgba(255, 255, 255, .5);
}
.svc-scope .grid > .card:nth-child(4n+2) .icon-box:not(.cyan):not(.green):not(.orange):not(.pink),
.svc-scope .grid > .card:nth-child(4n+2) .icon-box.sm:not(.cyan):not(.green):not(.orange):not(.pink),
.svc-scope .card.c2 .icon-box:not(.cyan):not(.green):not(.orange):not(.pink) {
  background: linear-gradient(135deg, #22c8e0 0%, #a5f3fc 100%);
  color: #fff;
  box-shadow: 0 12px 26px rgba(34, 200, 224, .32), inset 0 1px 0 rgba(255, 255, 255, .5);
}
.svc-scope .grid > .card:nth-child(4n+3) .icon-box:not(.cyan):not(.green):not(.orange):not(.pink),
.svc-scope .grid > .card:nth-child(4n+3) .icon-box.sm:not(.cyan):not(.green):not(.orange):not(.pink),
.svc-scope .card.c3 .icon-box:not(.cyan):not(.green):not(.orange):not(.pink) {
  background: linear-gradient(135deg, #22c55e 0%, #a7f3d0 100%);
  color: #fff;
  box-shadow: 0 12px 26px rgba(34, 197, 94, .32), inset 0 1px 0 rgba(255, 255, 255, .5);
}
.svc-scope .grid > .card:nth-child(4n+4) .icon-box:not(.cyan):not(.green):not(.orange):not(.pink),
.svc-scope .grid > .card:nth-child(4n+4) .icon-box.sm:not(.cyan):not(.green):not(.orange):not(.pink),
.svc-scope .card.c4 .icon-box:not(.cyan):not(.green):not(.orange):not(.pink) {
  background: linear-gradient(135deg, #fb923c 0%, #fed7a5 100%);
  color: #fff;
  box-shadow: 0 12px 26px rgba(251, 146, 60, .34), inset 0 1px 0 rgba(255, 255, 255, .5);
}
.svc-scope .card.c5 .icon-box:not(.cyan):not(.green):not(.orange):not(.pink) {
  background: linear-gradient(135deg, #8b7bff 0%, #ddd6fe 100%);
  color: #fff;
  box-shadow: 0 12px 26px rgba(139, 123, 255, .32), inset 0 1px 0 rgba(255, 255, 255, .5);
}

/* 勾选点与卡片同色 */
.svc-scope .grid > .card:nth-child(4n+1) .list-check:not(.dark) li::before { background: rgba(77, 141, 255, .2); }
.svc-scope .grid > .card:nth-child(4n+1) .list-check:not(.dark) li::after { background: #4d8dff; }
.svc-scope .grid > .card:nth-child(4n+2) .list-check:not(.dark) li::before { background: rgba(34, 200, 224, .2); }
.svc-scope .grid > .card:nth-child(4n+2) .list-check:not(.dark) li::after { background: #22c8e0; }
.svc-scope .grid > .card:nth-child(4n+3) .list-check:not(.dark) li::before { background: rgba(34, 197, 94, .2); }
.svc-scope .grid > .card:nth-child(4n+3) .list-check:not(.dark) li::after { background: #22c55e; }
.svc-scope .grid > .card:nth-child(4n+4) .list-check:not(.dark) li::before { background: rgba(251, 146, 60, .22); }
.svc-scope .grid > .card:nth-child(4n+4) .list-check:not(.dark) li::after { background: #fb923c; }

/* 交付卡上的图标：保留多彩，仅调整阴影融入主题色 */
.svc-scope .icon-box.sm,
.svc-scope .icon-box.cyan,
.svc-scope .icon-box.green,
.svc-scope .icon-box.orange,
.svc-scope .icon-box.pink {
  box-shadow: 0 10px 22px rgba(var(--sv-rgb), .18), inset 0 1px 0 rgba(255, 255, 255, .28);
}

/* 套餐卡内的分色元素（顶光 / 价格数字 / 促销胶囊 / 热款描边）保留多彩 */
/* 价格数字保留原多彩渐变 */
/* 促销胶囊保留原多彩样式 */
/* 套餐卡标签保留原多彩样式 */
.svc-scope .price-card.hot {
  animation: none;
  background: linear-gradient(180deg, #fff, rgba(var(--sv-rgb), .05));
  border-color: rgba(var(--sv-rgb), .38);
  box-shadow: 0 0 0 3px rgba(var(--sv-rgb), .12), 0 26px 60px rgba(var(--sv-rgb), .2);
}

/* ---------- 衔接跳转卡 ---------- */
.jump-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.jump-card {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px;
  border-radius: 12px; border: 1px solid var(--line); background: #fff;
  text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.jump-card:hover { transform: translateY(-2px); border-color: rgba(26, 107, 255, .35); box-shadow: 0 12px 26px rgba(16, 36, 92, .1); }
.jump-card .ji { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; flex: none; }
.jump-card .ji svg { width: 19px; height: 19px; }
.jump-card .jt { display: block; min-width: 0; }
.jump-card .jt b { display: block; font-size: 14px; color: var(--ink); }
.jump-card .jt span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
/* 奇数个跳转卡时，最后一张横跨整行，避免半行留空 */
.jump-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; }
/* 跳转卡图标：按五项服务分配主题色 */
.jump-card.jc1 .ji { background: rgba(26, 107, 255, .12); color: #1a6bff; }
.jump-card.jc2 .ji { background: rgba(14, 147, 176, .12); color: #0e93b0; }
.jump-card.jc3 .ji { background: rgba(109, 92, 255, .12); color: #6d5cff; }
.jump-card.jc4 .ji { background: rgba(217, 119, 6, .12); color: #d97706; }
.jump-card.jc5 .ji { background: rgba(13, 138, 79, .12); color: #0d8a4f; }
/* 无类名时默认蓝色 */
.jump-card .ji { background: rgba(26, 107, 255, .12); color: #1a6bff; }
.svc-scope .jump-card:hover {
  border-color: rgba(var(--sv-rgb), .42);
  box-shadow: 0 12px 26px rgba(var(--sv-rgb), .16);
}
.svc-scope .jump-card:hover .jt b { color: var(--sv); }

@media (max-width: 680px) {
  .jump-grid { grid-template-columns: 1fr; }
  .hero-badges { margin-top: 20px; }
}

/* ============================================================
   布局修复：栅格项收缩 / 移动端表格与卡片适配
   ============================================================ */

/* 栅格项默认 min-width:auto，会被内部 nowrap 表格、长串数字撑爆，
   导致整块超宽后被父级 overflow:hidden 裁切 —— 统一改为可收缩 */
.grid > *,
.jump-grid > *,
.price-grid > *,
.steps-5 > *,
.steps-4 > * { min-width: 0; }

/* 表格外层：极窄屏时给出可横滑的视觉提示 */
@media (max-width: 680px) {
  .table-wrap { border-radius: 10px; }
  .table-wrap table.data { min-width: 520px; }
  .svc-scope .card[style*="overflow-x"] table {
    font-size: 13px;
  }
  .svc-scope .card[style*="overflow-x"] th,
  .svc-scope .card[style*="overflow-x"] td { padding: 10px 12px; }

  /* 可横滑容器统一露出细滚动条，提醒「右边还有内容」 */
  .table-wrap,
  .svc-scope .card[style*="overflow-x"],
  .svc-scope .card:has(> table) {
    scrollbar-width: thin;
    scrollbar-color: #ccd8ea transparent;
  }
  .table-wrap::-webkit-scrollbar,
  .svc-scope .card[style*="overflow-x"]::-webkit-scrollbar,
  .svc-scope .card:has(> table)::-webkit-scrollbar { height: 7px; }
  .table-wrap::-webkit-scrollbar-thumb,
  .svc-scope .card[style*="overflow-x"]::-webkit-scrollbar-thumb,
  .svc-scope .card:has(> table)::-webkit-scrollbar-thumb { background: #ccd8ea; border-radius: 999px; }
  .svc-scope .card[style*="overflow-x"],
  .svc-scope .card:has(> table) { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

/* 极窄屏（<=380px）：标题与卡片内边距略收，避免文字挤压断行 */
@media (max-width: 380px) {
  .container { padding-left: 16px; padding-right: 16px; }
  .svc-scope .page-hero h1 { font-size: 26px; }
  .jump-card { padding: 12px 13px; gap: 10px; }
  /* 首屏胶囊文案是定高 inline-flex，窄屏会挤成错行，改为自动换行 */
  .hero-kicker {
    display: inline-block; height: auto; padding: 8px 14px;
    font-size: 12.5px; line-height: 1.5; border-radius: 14px;
    text-align: left; max-width: 100%;
  }
  .hero h1 { font-size: 30px; }
}

/* 极窄屏（<=360px）：顶部导航收紧，避免右侧按钮被裁切、logo 文字换行 */
@media (max-width: 360px) {
  .header .container { gap: 8px; }
  .header-actions { gap: 8px; }
  .logo { font-size: 16.5px; gap: 8px; white-space: nowrap; }
  .logo-mark { width: 34px; height: 34px; border-radius: 10px; font-size: 15px; }
  .logo small { display: none; }
  .header-icon-link { width: 32px; height: 32px; }
  .header-actions .btn-primary {
    height: 36px; padding: 0 10px; font-size: 12.5px; border-radius: 10px;
  }
  .burger { width: 36px; height: 36px; border-radius: 10px; }
}

/* 超窄屏（<=340px）：顶部导航只保留搜索与菜单，主 CTA 让位给抽屉 */
@media (max-width: 340px) {
  .header-actions .btn-primary { display: none; }
  .logo { font-size: 16px; }
}

/* ============================================================
   服务项目配色：品牌蓝为主色，点缀元素走协调的五色循环
   主色（导航 / 按钮 / hero / 链接）保持 --brand 蓝；
   服务卡图标、模块卡、跳转卡等按蓝→青→绿→橙→紫分配，形成层次。
   色值取自 style.css 的 .icon-box 原生变体，保证全站一致。
   ============================================================ */
:root {
  --svc-blue:   #1a6bff; --svc-blue-2:   #4d8dff;
  --svc-cyan:   #0891b2; --svc-cyan-2:   #22d3ee;
  --svc-green:  #0d9f6e; --svc-green-2:  #34d399;
  --svc-orange: #ea580c; --svc-orange-2: #fb923c;
  --svc-violet: #9333ea; --svc-violet-2: #c084fc;
}

/* 1) 服务矩阵 / 五项服务入口 / 八个模块：按位置分配 5 色
   （用 :is 兼容 .section 与 .section-sm 两种外层，覆盖 style.css 的 3 色循环） */
:is(.section, .section-sm) .grid:is(.svc-matrix, .svc-five, .svc-modules) > .card .icon-box {
  color: #fff;
  box-shadow: 0 10px 22px rgba(16, 36, 92, .22), inset 0 1px 0 rgba(255, 255, 255, .28);
}
:is(.section, .section-sm) .grid:is(.svc-matrix, .svc-five, .svc-modules) > .card:nth-child(5n+1) .icon-box {
  background: linear-gradient(135deg, var(--svc-blue), var(--svc-blue-2));
}
:is(.section, .section-sm) .grid:is(.svc-matrix, .svc-five, .svc-modules) > .card:nth-child(5n+2) .icon-box {
  background: linear-gradient(135deg, var(--svc-cyan), var(--svc-cyan-2));
}
:is(.section, .section-sm) .grid:is(.svc-matrix, .svc-five, .svc-modules) > .card:nth-child(5n+3) .icon-box {
  background: linear-gradient(135deg, var(--svc-green), var(--svc-green-2));
}
:is(.section, .section-sm) .grid:is(.svc-matrix, .svc-five, .svc-modules) > .card:nth-child(5n+4) .icon-box {
  background: linear-gradient(135deg, var(--svc-orange), var(--svc-orange-2));
}
:is(.section, .section-sm) .grid:is(.svc-matrix, .svc-five, .svc-modules) > .card:nth-child(5n+5) .icon-box {
  background: linear-gradient(135deg, var(--svc-violet), var(--svc-violet-2));
}

/* ============================================================
   按词起价：区域词 / 全国词 两档
   品牌智衍单页与首页共用；浅色渐变 + 大号数字，突出单价
   ============================================================ */
.quote-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 820px) { .quote-grid { grid-template-columns: 1fr; } }

.quote-card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  padding: 26px 26px 22px; border-radius: 20px;
  border: 1px solid rgba(26, 107, 255, .14);
  background: linear-gradient(150deg, #f8fbff 0%, #e9f1ff 100%);
  box-shadow: 0 14px 34px rgba(16, 36, 92, .08), inset 0 1px 0 #fff;
}
.quote-card::after {
  content: ""; position: absolute; right: -70px; top: -80px;
  width: 200px; height: 200px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(77, 141, 255, .18), transparent 70%);
}
.quote-card.q-region {
  border-color: rgba(8, 145, 178, .16);
  background: linear-gradient(150deg, #f5feff 0%, #e5fafd 100%);
  box-shadow: 0 14px 34px rgba(8, 145, 178, .1), inset 0 1px 0 #fff;
}
.quote-card.q-region::after { background: radial-gradient(circle, rgba(34, 211, 238, .22), transparent 70%); }

.quote-badge {
  display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
  padding: 6px 13px; border-radius: 999px;
  font-size: 12.5px; font-weight: 800; letter-spacing: .3px; color: #fff;
  background: linear-gradient(135deg, var(--svc-blue), var(--svc-blue-2));
  box-shadow: 0 8px 18px rgba(26, 107, 255, .28), inset 0 1px 0 rgba(255, 255, 255, .45);
}
.quote-card.q-region .quote-badge {
  background: linear-gradient(135deg, var(--svc-cyan), var(--svc-cyan-2));
  box-shadow: 0 8px 18px rgba(8, 145, 178, .26), inset 0 1px 0 rgba(255, 255, 255, .45);
}

.quote-num { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px; margin: 18px 0 6px; }
.quote-num .q-cur { font-size: 21px; font-weight: 800; color: #0f2a5c; }
.quote-num .q-num {
  font-size: 46px; line-height: 1; font-weight: 800; letter-spacing: -.03em;
  background: linear-gradient(135deg, #1a6bff, #6aa8ff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.quote-card.q-region .quote-num .q-num { background: linear-gradient(135deg, #0e7490, #22c8e0); -webkit-background-clip: text; background-clip: text; }
.quote-num .q-unit { font-size: 13.5px; font-weight: 700; color: #5a6f8f; margin-left: 8px; }
.quote-card h3 { font-size: 18px; margin-bottom: 6px; }
.quote-sub { font-size: 13.5px; color: var(--muted); margin-bottom: 4px; }
.quote-card .list-check { margin-top: 12px; }
.quote-example {
  margin-top: auto; padding: 10px 14px; border-radius: 12px;
  background: rgba(255, 255, 255, .78);
  border: 1px dashed rgba(26, 107, 255, .22);
  font-size: 13px; line-height: 1.6; color: #26508f;
}
.quote-card.q-region .quote-example { border-color: rgba(8, 145, 178, .24); color: #0e6f86; }
.quote-note { font-size: 13px; color: var(--muted); text-align: center; margin-top: 22px; line-height: 1.8; }
.quote-note a {
  display: inline-flex; align-items: center; gap: 4px;
  margin-left: 6px; white-space: nowrap; font-weight: 700;
}

/* 勾选点跟随各自档位的主色（区域词青 / 全国词蓝），不被外层模块色覆盖 */
.quote-card.q-region .list-check:not(.dark) li::before { background: rgba(34, 200, 224, .2); }
.quote-card.q-region .list-check:not(.dark) li::after { background: #22c8e0; }
.quote-card.q-nation .list-check:not(.dark) li::before { background: rgba(77, 141, 255, .2); }
.quote-card.q-nation .list-check:not(.dark) li::after { background: #4d8dff; }

/* 品牌智基尝鲜版（紫）/ 完整底座（石板灰）：同结构换色 */
.quote-card.q-base {
  border-color: rgba(139, 123, 255, .22);
  background: linear-gradient(150deg, #faf8ff 0%, #efe9ff 100%);
  box-shadow: 0 14px 34px rgba(124, 58, 237, .1), inset 0 1px 0 #fff;
}
.quote-card.q-base::after { background: radial-gradient(circle, rgba(196, 181, 253, .3), transparent 70%); }
.quote-card.q-base .quote-badge {
  background: linear-gradient(135deg, #8b7bff, #c4b5fd);
  box-shadow: 0 8px 18px rgba(124, 58, 237, .26), inset 0 1px 0 rgba(255, 255, 255, .45);
}
.quote-card.q-base .quote-num .q-num { background: linear-gradient(135deg, #7c3aed, #a78bfa); -webkit-background-clip: text; background-clip: text; }
.quote-card.q-base .quote-example { border-color: rgba(139, 123, 255, .28); color: #5b3fa8; }
.quote-card.q-base .list-check:not(.dark) li::before { background: rgba(139, 123, 255, .2); }
.quote-card.q-base .list-check:not(.dark) li::after { background: #8b7bff; }

.quote-card.q-full {
  border-color: rgba(71, 85, 105, .14);
  background: linear-gradient(150deg, #f8fafc 0%, #eef2f7 100%);
  box-shadow: 0 14px 34px rgba(30, 41, 59, .07), inset 0 1px 0 #fff;
}
.quote-card.q-full::after { background: radial-gradient(circle, rgba(148, 163, 184, .22), transparent 70%); }
.quote-card.q-full .quote-badge {
  background: linear-gradient(135deg, #475569, #94a3b8);
  box-shadow: 0 8px 18px rgba(51, 65, 85, .22), inset 0 1px 0 rgba(255, 255, 255, .45);
}
.quote-card.q-full .quote-example { border-color: rgba(71, 85, 105, .2); color: #3c4d6b; }
.quote-card.q-full .list-check:not(.dark) li::before { background: rgba(148, 163, 184, .24); }
.quote-card.q-full .list-check:not(.dark) li::after { background: #94a3b8; }

/* 非数字型价位：用文字承重，避免大号数字占位过大 */
.quote-num .q-word {
  font-size: 19px; font-weight: 800; letter-spacing: -.01em; color: #1f3147;
  margin-left: 4px;
}

/* 多选标签组：点击切换，选中值汇总到隐藏字段（如「目标平台」） */
.chk-group { display: flex; flex-wrap: wrap; gap: 8px; }
.chk-group .chk {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  padding: 8px 15px; border-radius: 999px;
  border: 1px solid #dbe6f7; background: #f7faff;
  font-size: 13.5px; font-weight: 600; color: #33507d;
  font-family: inherit; line-height: 1.4;
  transition: background .18s, border-color .18s, box-shadow .18s;
}
.chk-group .chk:hover { background: #eef5ff; border-color: #a9c8f5; color: #1a4fa0; }
.chk-group .chk:focus-visible { outline: 2px solid rgba(26, 107, 255, .45); outline-offset: 2px; }
.chk-group .chk.on {
  color: #fff; border-color: transparent;
  background: linear-gradient(135deg, #1a6bff, #4d8dff);
  box-shadow: 0 8px 18px rgba(26, 107, 255, .26), inset 0 1px 0 rgba(255, 255, 255, .4);
}
.chk-group .chk.on:hover { color: #fff; }
.chk-hint { display: block; margin-top: 8px; font-size: 12.5px; color: var(--muted); }

/* 首页：尝鲜版横条（挂在按词起价模块下，作为轻量入口） */
.quote-strip {
  display: flex; align-items: center; flex-wrap: wrap; gap: 16px;
  margin-top: 20px; padding: 18px 22px; border-radius: 16px;
  border: 1px dashed rgba(139, 123, 255, .38);
  background: linear-gradient(120deg, #f9f6ff 0%, #f3f8ff 100%);
}
.quote-strip .qs-ico {
  width: 44px; height: 44px; flex: 0 0 auto; border-radius: 13px;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, #8b7bff, #c4b5fd);
  box-shadow: 0 10px 22px rgba(139, 123, 255, .3), inset 0 1px 0 rgba(255, 255, 255, .45);
}
.quote-strip .qs-text { flex: 1 1 320px; font-size: 14px; line-height: 1.75; color: #3c4d6b; }
.quote-strip .qs-text b { color: #0f2a5c; }
.quote-strip .qs-price {
  font-size: 15.5px; font-weight: 800; color: #7c3aed; white-space: nowrap;
}
.quote-strip .qs-go {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 13.5px; font-weight: 800; color: var(--brand); white-space: nowrap;
}
.quote-strip .qs-go:hover { color: #0b3fb0; }


/* 2) 服务详情页：图标盒沿用模板声明的 cyan/green/orange/pink 变体（主按钮仍为品牌蓝） */

/* 3) 服务总览页三张服务卡：蓝 / 青 / 紫三色 */
.card[data-svc="1"] { --svc1: #0f4fe0; --svc2: #4d8dff; }
.card[data-svc="2"] { --svc1: #0b6f88; --svc2: #22c8e0; }
.card[data-svc="3"] { --svc1: #4a3fb5; --svc2: #8b7bff; }

/* 4) 服务项目下拉与其他栏目下拉使用同一套通用样式（.submenu 基准），不做差异化 */