/* =====================================================================
 * tpl-base.css — 分站模板统一设计系统（v1.17 重构）
 * 设计原则：
 *  1. 全部尺寸/间距/圆角由 CSS 变量驱动，禁止 AI 写内联样式（sanitizePage 已剥离）。
 *  2. 所有内容统一进入 .tpl-container（最大宽度 + 居中 + 横向内边距）→ 文章页等也有边界。
 *  3. 产品图统一 aspect-ratio + object-fit:cover → 大小完全一致。
 *  4. 统一栅格间距、统一卡片圆角/阴影 → 全站观感一致。
 *  5. 配色由 :root 变量控制（--primary/--accent/--bg/--text），外壳注入覆盖即可换肤。
 * ===================================================================== */

:root {
  --primary: #1f6feb;
  --primary-dark: #17509f;
  --primary-light: #4c93f5;
  --accent: #ff7a18;
  --accent-light-solid: #ffa15c;
  --bg: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --border: #e6eaf0;
  --card: #ffffff;
  --soft: #f5f8fc;
  --accent-light: rgba(255, 122, 24, .14);
  --on-primary: #ffffff;

  --container: 1240px;
  --container-pad: 24px;
  --gap: 28px;
  /* v2.0 圆角体系：对齐参考站（卡片 22 / 小件 14 / 大件 34 / 胶囊 999） */
  --radius: 22px;
  --radius-sm: 14px;
  --radius-lg: 34px;
  --radius-pill: 999px;
  /* v2.0 留白体系：参考站 section 上下 80px，这里 76px 起步（移动端断点自动收敛） */
  --section-pad: 76px;
  --block-gap: 30px;
  /* v2.0 阴影体系：更通透（参考站 rgba(0,0,0,.02~.04)），hover 才加重 */
  --shadow-sm: 0 6px 14px rgba(20, 40, 80, .04);
  --shadow: 0 10px 24px rgba(20, 40, 80, .06);
  --shadow-lift: 0 20px 34px -12px rgba(20, 40, 80, .16);
  --lift: -6px;
  /* 媒体比例（产品/卡片图），可由 [data-media] 变体覆盖 */
  --media-ratio: 4 / 3;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; border: 0; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0 0 14px; line-height: 1.3; font-weight: 700; color: var(--text); }
p { margin: 0 0 14px; }

/* ---------- 布局骨架 ---------- */
.tpl-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  width: 100%;
}
/* 防御：双层 .tpl-container 嵌套时内层不再重复加横向内边距（避免内容区被挤窄） */
.tpl-container .tpl-container { padding-left: 0; padding-right: 0; max-width: none; }
/* 仅控制纵向留白，横向内边距交给 .tpl-container（避免 tpl-section.tpl-container 组合时横向 padding 被覆盖导致移动端满屏） */
.tpl-section { padding-top: var(--section-pad); padding-bottom: var(--section-pad); }
.tpl-section-soft { background: var(--soft); }
.tpl-section-dark { background: var(--primary); color: #fff; }
.tpl-section-dark h1,
.tpl-section-dark h2,
.tpl-section-dark h3,
.tpl-section-dark .tpl-subtitle { color: #fff; }

/* ---------- 区块头（统一每个区块起始） ---------- */
.tpl-block-head { text-align: center; max-width: 760px; margin: 0 auto 28px; }
.tpl-eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 700; letter-spacing: 1px;
  color: var(--accent);
  background: var(--accent-light);
  padding: 5px 14px; border-radius: 999px; margin-bottom: 14px;
}
.tpl-title { font-size: clamp(24px, 3vw, 34px); color: var(--text); letter-spacing: -.2px; }
.tpl-subtitle { font-size: 16px; color: var(--muted); margin-top: 10px; }
.tpl-divider {
  width: 64px; height: 4px; border-radius: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  margin: 18px auto 0; border: 0;
}

/* ---------- 顶部导航（纯 CSS 折叠，零 JS） ---------- */
.tpl-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff; color: #111;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
  border-bottom: 1px solid rgba(0, 0, 0, .08);
}
.tpl-navwrap {
  position: relative;
  max-width: var(--container); margin: 0 auto; padding: 0 20px;
  height: 62px; display: flex; align-items: center; justify-content: space-between;
}
.tpl-logo { font-size: 19px; font-weight: 800; color: var(--primary); white-space: nowrap; }
.tpl-nav { display: flex; align-items: center; gap: 26px; }
.tpl-nav a { color: #111; font-size: 15px; opacity: .92; transition: color .2s, opacity .2s; }
.tpl-nav a:hover { color: var(--primary); opacity: 1; }
.tpl-phone-btn {
  background: var(--primary); color: #fff !important;
  padding: 7px 16px; border-radius: 999px; font-weight: 700; opacity: 1 !important;
}
.tpl-phone-btn:hover { color: #fff !important; filter: brightness(1.08); }
.tpl-nav-cb { display: none; }
.tpl-nav-btn { display: none; cursor: pointer; color: #111; font-size: 24px; line-height: 1; user-select: none; }

/* ---------- 按钮 ---------- */
.tpl-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 12px 26px; border-radius: 999px;
  background: var(--accent); color: #fff; font-weight: 700; font-size: 15px;
  transition: transform .15s, box-shadow .15s; box-shadow: var(--shadow-sm);
}
.tpl-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.tpl-btn-ghost {
  background: transparent; color: var(--primary);
  border: 1.5px solid var(--primary);
}
.tpl-section-dark .tpl-btn-ghost,
.tpl-hero .tpl-btn-ghost { color: #fff; border-color: #fff; }
.tpl-section-dark .tpl-btn-ghost:hover,
.tpl-hero .tpl-btn-ghost:hover { background: #fff; color: var(--primary); }

/* ---------- Hero（通栏品牌色，内容居中） ---------- */
.tpl-hero {
  background: var(--primary); color: #fff;
  padding: 84px 0 88px; text-align: center;
}
.tpl-hero .tpl-container { display: block; }
.tpl-hero-text { max-width: 900px; margin: 0 auto; }
.tpl-hero h1 { color: #fff; font-size: clamp(28px, 4.4vw, 48px); margin-bottom: 18px; letter-spacing: -.5px; }
.tpl-hero .tpl-eyebrow { color: #fff; background: rgba(255, 255, 255, .16); }
.tpl-lead { font-size: 17px; line-height: 1.9; color: var(--muted); max-width: 820px; margin-left: auto; margin-right: auto; }
/* .tpl-lead 默认深色（用于浅底区块：关于/导语等）；仅 Hero 深色背景上保持白字 */
.tpl-hero .tpl-lead { color: rgba(255, 255, 255, .92); }
.tpl-hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0; justify-content: center; }
.tpl-tag {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .14); color: #fff; font-size: 14px;
}
.tpl-hero-feats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 26px; margin: 22px auto; max-width: 680px; }
.tpl-hero-feats li { font-size: 15px; color: rgba(255, 255, 255, .95); }
.tpl-hero-btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; justify-content: center; }
.tpl-hero-btns .tpl-btn-ghost { color: #fff; border-color: #fff; }

/* Hero 实体速览 4 宫格 */
.tpl-hero-entity {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  margin: 34px auto 0; max-width: 960px;
}
.tpl-hero-entity .item {
  background: rgba(255, 255, 255, .12); border-radius: var(--radius-sm);
  padding: 16px 18px; backdrop-filter: blur(2px);
}
.tpl-hero-entity .k { font-size: 13px; color: rgba(255, 255, 255, .8); margin-bottom: 4px; }
.tpl-hero-entity .v { font-size: 17px; font-weight: 700; color: #fff; }

/* ---------- 关于企业（左文案 + 右图及信任侧栏，协调比例） ---------- */
.tpl-about { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: start; }
.tpl-about p { color: var(--text); }
.tpl-about-main { min-width: 0; }
.tpl-about-aside { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.tpl-about-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lift); }
.tpl-about-side {
  background: var(--soft); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px 20px;
}
.tpl-about-side .side-h { font-size: 15px; font-weight: 700; color: var(--primary); margin-bottom: 10px; }
.tpl-about-contact { font-size: 14px; color: var(--muted); line-height: 1.8; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--border); }
.tpl-about-contact a { color: var(--primary); font-weight: 700; }
.tpl-about-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap);
  margin-top: 30px;
}
.tpl-about-stat {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px 16px; text-align: center; box-shadow: var(--shadow-sm);
}
.tpl-about-stat .num { font-size: 30px; font-weight: 800; color: var(--primary); }
.tpl-about-stat .label { font-size: 14px; color: var(--muted); margin-top: 4px; }

/* ---------- 产品网格（统一图片尺寸，桌面 4 列 / 移动 2 列） ---------- */
.tpl-product-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}
.tpl-product-card {
  display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s;
}
.tpl-product-card:hover { transform: translateY(var(--lift)); box-shadow: var(--shadow-lift); }
.tpl-product-media {
  position: relative; width: 100%; aspect-ratio: var(--media-ratio); overflow: hidden;
  background: var(--soft);
}
.tpl-product-media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .35s;
}
.tpl-product-card:hover .tpl-product-media img { transform: scale(1.05); }
.tpl-product-body { padding: 16px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.tpl-product-title { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.tpl-product-desc { font-size: 14px; color: var(--muted); line-height: 1.7; flex: 1; }

/* ---------- 核心优势 ---------- */
.tpl-advantage-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.tpl-advantage {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 22px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s;
}
.tpl-advantage:hover { transform: translateY(var(--lift)); box-shadow: var(--shadow-lift); }
.tpl-advantage-icon { font-size: 30px; margin-bottom: 12px; }
.tpl-advantage-title { font-size: 17px; font-weight: 700; margin-bottom: 8px; color: var(--primary); }
.tpl-advantage-text { font-size: 14px; color: var(--muted); line-height: 1.75; }

/* ---------- 应用场景 ---------- */
.tpl-scene-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.tpl-scene {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 22px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.tpl-scene::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(180deg, var(--primary), var(--accent)); opacity: 0; transition: opacity .2s;
}
.tpl-scene:hover { transform: translateY(var(--lift)); box-shadow: var(--shadow-lift); }
.tpl-scene:hover::before { opacity: 1; }
.tpl-scene .ico { font-size: 30px; margin-bottom: 10px; }
.tpl-scene h3 { font-size: 17px; color: var(--primary); margin-bottom: 8px; }
.tpl-scene p { font-size: 14px; color: var(--muted); line-height: 1.75; }

/* ---------- 服务边界标签云 ---------- */
.tpl-boundary { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.tpl-boundary .tag {
  display: inline-block; padding: 9px 18px; border-radius: 999px;
  background: var(--soft); border: 1px solid var(--border);
  color: var(--text); font-size: 14px; transition: all .2s;
}
.tpl-boundary .tag:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.tpl-boundary .tag.off { opacity: .55; }

/* ---------- 长尾词云 / 信任标签 ---------- */
.tpl-topic-tags, .tpl-trust-labels { display: flex; flex-wrap: wrap; gap: 10px; }
.tpl-topic-tags .tag {
  padding: 6px 14px; border-radius: 8px; background: var(--soft);
  border: 1px solid var(--border); font-size: 13px; color: var(--muted);
}
.tpl-trust-labels .label {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: 999px; background: var(--accent-light);
  color: var(--accent); font-weight: 600; font-size: 14px;
}
.tpl-trust-labels.on-light .label { background: var(--soft); color: var(--primary); }

/* ---------- 图集 ---------- */
.tpl-image-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: var(--gap); }
.tpl-image-grid img { width: 100%; aspect-ratio: var(--media-ratio); object-fit: cover; border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); }

/* ---------- 企业动态列表 ---------- */
.tpl-news-list { display: flex; flex-direction: column; gap: 14px; }
.tpl-news-list .item {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 16px 20px; background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-sm); transition: all .2s;
}
.tpl-news-list .item:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.tpl-news-list .t { font-size: 16px; font-weight: 600; color: var(--text); }
.tpl-news-list .d { font-size: 13px; color: var(--muted); white-space: nowrap; }

/* ---------- 相关站点矩阵 ---------- */
.tpl-site-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.tpl-site-links a {
  display: block; padding: 16px 18px; background: var(--card);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  color: var(--text); font-weight: 600; text-align: center; transition: all .2s;
}
.tpl-site-links a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ---------- 通用卡片栅格 ---------- */
.tpl-grid { display: grid; gap: var(--gap); }
.tpl-grid-2 { grid-template-columns: repeat(2, 1fr); }
.tpl-grid-3 { grid-template-columns: repeat(3, 1fr); }
.tpl-grid-4 { grid-template-columns: repeat(4, 1fr); }
.tpl-more { text-align: center; margin-top: 24px; }
.tpl-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s;
}
.tpl-card:hover { transform: translateY(var(--lift)); box-shadow: var(--shadow-lift); }
.tpl-card-media { width: 100%; aspect-ratio: var(--media-ratio); overflow: hidden; background: var(--soft); }
.tpl-card-media img { width: 100%; height: 100%; object-fit: cover; }
.tpl-card-body { padding: 18px 20px; }
.tpl-card-title { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.tpl-card-text { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ---------- 文章列表（系统注入 <ul class="tpl-article-list">） ---------- */
.tpl-article-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: var(--gap); margin: 0; }
.tpl-article-list li { list-style: none; }
.tpl-article-list a {
  display: block; height: 100%;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px 22px; box-shadow: var(--shadow-sm); transition: all .2s;
}
.tpl-article-list a:hover { border-color: var(--primary); box-shadow: var(--shadow-lift); transform: translateY(var(--lift)); }
.tpl-article-list .t-title { font-size: 17px; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.tpl-article-list .t-desc { font-size: 14px; color: var(--muted); line-height: 1.7; }
.tpl-article-list .t-date { display: inline-block; margin-top: 12px; font-size: 13px; color: var(--accent); }

/* ---------- 分页（{文章分页} / {产品分页}） ---------- */
.tpl-pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin: 28px 0 4px; }
.tpl-pager a, .tpl-pager span {
  display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px;
  padding: 0 12px; border-radius: 10px; background: var(--card); border: 1px solid var(--border);
  color: var(--text); font-size: 14px; transition: all .2s;
}
.tpl-pager a:hover { border-color: var(--primary); color: var(--primary); }
.tpl-pager .cur { background: var(--primary); border-color: var(--primary); color: #fff; font-weight: 700; }
.tpl-pager .dots { background: transparent; border: 0; color: var(--muted); }

/* ---------- 同企业分站（复用 .tpl-site-links，标题由区块头提供） ---------- */
.tpl-site-links-title { font-size: 15px; font-weight: 700; color: var(--primary); margin: 18px 0 12px; }

/* ---------- CTA 行动号召 ---------- */
.tpl-cta-block {
  text-align: center; max-width: 880px; margin: 0 auto;
  background: linear-gradient(120deg, var(--primary), var(--accent));
  color: #fff; border-radius: var(--radius); padding: 48px 32px; box-shadow: var(--shadow);
}
.tpl-cta-block h2 { color: #fff; font-size: 26px; }
.tpl-cta-block p { color: rgba(255, 255, 255, .92); margin: 12px 0 22px; }
.tpl-cta-block .tpl-btn { background: #fff; color: var(--primary); }

/* ---------- 详情两栏（正文 + 侧栏，整体约束为统一容器宽度） ---------- */
.tpl-detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; max-width: var(--container); margin: 0 auto; padding: 32px 20px; }
.tpl-article { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px 40px; box-shadow: var(--shadow-sm); }
.tpl-article h1 { color: var(--primary); font-size: 30px; margin-bottom: 16px; }
.tpl-article h2 { font-size: 22px; margin: 28px 0 12px; }
.tpl-article h3 { font-size: 18px; margin: 22px 0 10px; }
.tpl-article p { font-size: 16px; line-height: 1.9; color: var(--text); }
.tpl-article ul, .tpl-article ol { padding-left: 22px; margin: 0 0 16px; }
.tpl-article li { margin-bottom: 8px; line-height: 1.8; }
.tpl-content { font-size: 16px; line-height: 1.9; }
.tpl-content p { margin-bottom: 16px; }
/* 正文图片：设定最大显示尺寸，过大自动缩放，避免撑破布局 */
.tpl-content img { max-width: 100%; height: auto; border-radius: var(--radius-sm); margin: 18px 0; box-shadow: var(--shadow-sm); }
.tpl-content img.align-center { display: block; margin-left: auto; margin-right: auto; }
.tpl-crumb { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.tpl-crumb a { color: var(--accent); }
.tpl-meta { font-size: 14px; color: var(--muted); margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
/* 企业名片：正文上方，带主图的公司信息块，高度限制 ≤250px 保持紧凑 */
.tpl-company-card { display: flex; align-items: center; gap: 16px; max-height: 250px; overflow: hidden; background: var(--soft); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; margin: 4px 0 22px; }
.tpl-company-card-media { flex: 0 0 104px; width: 104px; height: 104px; border-radius: 10px; overflow: hidden; background: var(--card); box-shadow: var(--shadow-sm); }
.tpl-company-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tpl-company-card-body { flex: 1 1 auto; min-width: 0; }
.tpl-company-card-name { font-size: 17px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.tpl-company-card-desc { font-size: 13px; line-height: 1.6; color: var(--muted); margin: 0 0 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tpl-company-card-contact { font-size: 13px; color: var(--muted); }
.tpl-article-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.tpl-article-tags .tpl-tag { background: var(--soft); color: var(--primary); border: 1px solid var(--border); padding: 6px 14px; border-radius: 999px; font-size: 13px; }
.tpl-detail-aside { position: sticky; top: 82px; display: flex; flex-direction: column; gap: 22px; }
.tpl-detail-aside .tpl-card,
.tpl-detail-aside .tpl-article-list { box-shadow: var(--shadow-sm); }
.tpl-detail-aside h3 { font-size: 18px; margin-bottom: 4px; }

/* ---------- FAQ 微数据 ---------- */
.geo-faq { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 30px; box-shadow: var(--shadow-sm); }
.geo-faq h2 { font-size: 22px; margin-bottom: 18px; }
.geo-faq .faq-item { padding: 16px 0; border-bottom: 1px solid var(--border); }
.geo-faq .faq-item:last-child { border-bottom: 0; }
.geo-faq .q { font-weight: 700; color: var(--text); margin-bottom: 6px; }
.geo-faq .a { color: var(--muted); font-size: 15px; line-height: 1.8; }
/* FAQ 用 .tpl-card 卡片：补齐内边距（避免文字顶边），并中和 AI 偶发的嵌套 tpl-container 横向 padding */
.geo-faq .tpl-card { padding: 18px 20px; }
.geo-faq .tpl-card:hover { transform: translateY(var(--lift)); box-shadow: var(--shadow-lift); }
.geo-faq .tpl-card-title { color: var(--text); }
.geo-faq .tpl-card-text { color: var(--muted); font-size: 14px; line-height: 1.7; margin-top: 6px; }
.geo-faq .tpl-container .tpl-container { padding-left: 0; padding-right: 0; }

/* ---------- 页脚（精简、统一、移动端友好） ---------- */
.tpl-footer { background: var(--primary); color: #fff; padding: 44px 0 22px; margin-top: 0; }
.tpl-footer .tpl-container { width: 100%; }
.tpl-footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 28px; }
.tpl-footer h4 { font-size: 15px; margin-bottom: 12px; color: #fff; }
.tpl-footer-brand-name { font-size: 19px; font-weight: 800; color: #fff; margin-bottom: 10px; }
.tpl-footer-brand p { color: rgba(255, 255, 255, .82); font-size: 13.5px; line-height: 1.8; margin: 0; }
.tpl-footer p, .tpl-footer a { color: rgba(255, 255, 255, .85); font-size: 13.5px; line-height: 1.9; }
.tpl-footer a:hover { color: #fff; text-decoration: underline; }
.tpl-footer-bottom { margin-top: 28px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .18); text-align: center; }
.tpl-footer-bottom p { color: rgba(255, 255, 255, .7); font-size: 13px; margin: 0; }

/* ---------- 浮动一键拨号 ---------- */
.tpl-float-dial {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  display: none; align-items: center; gap: 8px;
  background: var(--accent); color: #fff; font-weight: 700;
  padding: 12px 20px; border-radius: 999px; box-shadow: var(--shadow);
}
.tpl-float-dial .ico { font-size: 18px; }
.tpl-float-dial.is-show { display: inline-flex; }

/* ---------- 滚动渐显（data-reveal + tpl-reveal.js） ---------- */
[data-reveal] { opacity: 0; transition: opacity .6s ease, transform .6s ease; will-change: opacity, transform; }
[data-reveal="fade-up"] { transform: translateY(26px); }
[data-reveal="fade-left"] { transform: translateX(26px); }
[data-reveal="fade-right"] { transform: translateX(-26px); }
[data-reveal="zoom"] { transform: scale(.94); }
[data-reveal].is-revealed { opacity: 1; transform: none; }

/* 动效强度（配合 body 类） */
body.reveal-light [data-reveal] { transition-duration: .45s; }
body.reveal-heavy [data-reveal] { transition-duration: .85s; }
body.reveal-none [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }

/* 无障碍：减少动效偏好 → 直接显示 */
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* =====================================================================
 * 响应式（统一断点，全站一致）
 * ===================================================================== */
@media (max-width: 1024px) {
  :root { --section-pad: 40px; }
  .tpl-detail-layout { grid-template-columns: 1fr; }
  .tpl-detail-aside { position: static; }
  .tpl-about { grid-template-columns: 1fr; gap: 28px; }
  .tpl-hero-entity { grid-template-columns: repeat(2, 1fr); }
  .tpl-advantage-grid, .tpl-scene-grid { grid-template-columns: repeat(2, 1fr); }
  .tpl-about-stats { grid-template-columns: repeat(2, 1fr); }
  .tpl-product-grid { grid-template-columns: repeat(3, 1fr); }
  .tpl-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --section-pad: 32px; --gap: 14px; }
  body { font-size: 15px; }
  .tpl-title { font-size: 24px; }
  .tpl-hero { padding: 56px 0 60px; }
  .tpl-hero h1 { font-size: 30px; }
  .tpl-hero-feats { grid-template-columns: 1fr; }
  .tpl-hero-entity { grid-template-columns: 1fr 1fr; }
  /* 核心优势 / 服务领域：移动端一行 2 个，且卡片紧凑降低高度 */
  .tpl-advantage-grid, .tpl-scene-grid, .tpl-grid-3, .tpl-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .tpl-advantage, .tpl-scene { padding: 18px 14px; }
  .tpl-advantage-icon, .tpl-scene .ico { font-size: 24px; margin-bottom: 8px; }
  .tpl-advantage-title, .tpl-scene h3 { font-size: 15px; margin-bottom: 6px; }
  .tpl-advantage-text, .tpl-scene p { font-size: 12.5px; line-height: 1.6; }
  .tpl-grid-2 { grid-template-columns: 1fr; }
  /* 关于企业数据背书：移动端一行 2 个、卡片紧凑缩小 */
  .tpl-about-stats { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .tpl-about-stat { padding: 14px 8px; }
  .tpl-about-stat .num { font-size: 22px; }
  .tpl-about-stat .label { font-size: 12.5px; margin-top: 2px; }
  .tpl-product-grid { grid-template-columns: repeat(2, 1fr); }
  /* 页脚移动端紧凑：2 列网格，限制品牌段落高度，降低整体占用 */
  .tpl-footer-grid { grid-template-columns: repeat(2, 1fr); gap: 14px 16px; }
  .tpl-footer { padding: 28px 0 16px; }
  .tpl-footer h4 { font-size: 14px; margin-bottom: 8px; }
  .tpl-footer-brand-name { font-size: 17px; margin-bottom: 6px; }
  .tpl-footer-brand p { font-size: 12.5px; line-height: 1.6; -webkit-line-clamp: 2; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
  .tpl-footer p, .tpl-footer a { font-size: 12.5px; line-height: 1.7; }
  .tpl-footer-bottom { margin-top: 18px; padding-top: 12px; }
  .tpl-article { padding: 24px 18px; }
  .tpl-cta-block { padding: 36px 20px; }
  /* 关于侧栏（图 + 信任标签/联系方式）移动端紧凑 */
  .tpl-about-aside { gap: 14px; }
  .tpl-about-side { padding: 16px; }
  .tpl-about-media img { aspect-ratio: 16 / 10; }
  .tpl-detail-layout { padding: 24px 16px; gap: 28px; }
  /* 详情页企业名片移动端：缩小主图、保持横向紧凑 */
  .tpl-company-card { gap: 12px; padding: 12px 14px; }
  .tpl-company-card-media { flex-basis: 84px; width: 84px; height: 84px; }
  /* 详情页相关推荐移动端紧凑 */
  .tpl-detail-aside .tpl-article-list a { padding: 14px 16px; }
  .tpl-detail-aside .tpl-article-list .t-title { font-size: 15px; }
  .tpl-detail-aside .tpl-article-list .t-desc { display: none; }

  /* 纯 CSS 折叠导航 */
  .tpl-nav-btn { display: block; }
  .tpl-nav {
    display: none; position: absolute; top: 62px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: 8px 20px 16px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, .15);
  }
  .tpl-nav a { padding: 12px 0; border-bottom: 1px solid rgba(0, 0, 0, .08); }
  .tpl-phone-btn { margin-top: 10px; text-align: center; }
  .tpl-nav-cb:checked ~ .tpl-nav { display: flex; }
}

@media (max-width: 480px) {
  .tpl-hero-entity { grid-template-columns: 1fr 1fr; }
  .tpl-product-grid { grid-template-columns: repeat(2, 1fr); }
}

/* =====================================================================
 * 主题切换（AI 百变模板 · 阶段2 / v1.29）
 * 静态主题通过 [data-theme="key"] 覆盖设计令牌，支持运行时换肤。
 * 仅覆盖「配色 + 圆角」令牌；布局令牌（--container/--gap/--shadow/--font/
 * --section-pad 等）仍由上方 :root 默认提供，全主题共享。
 * 旧(html 格式)模板的 <html> 不含 data-theme 属性 → 命中 :root 默认蓝，向后兼容。
 * data-theme 块声明在 :root 之后、特异性相同 → 后者胜出，正确覆盖。
 * ===================================================================== */

[data-theme="biz_blue"] {
  --primary: #1e3a8a; --accent: #2563eb; --bg: #f8fafc; --text: #1f2937;
  --muted: #64748b; --border: #e2e8f0; --card: #ffffff; --soft: #eaf0fb;
  --accent-light: rgba(37,99,235,.14); --on-primary: #ffffff;
}
[data-theme="lux_gold"] {
  --primary: #8a6d3b; --accent: #c9a86a; --bg: #fdfbf7; --text: #3a3a3a;
  --muted: #8a7f6d; --border: #efe7d8; --card: #ffffff; --soft: #faf4e8;
  --accent-light: rgba(201,168,106,.16); --on-primary: #ffffff;
}
[data-theme="forest"] {
  --primary: #2f6b4f; --accent: #4caf7d; --bg: #f3f8f4; --text: #243b30;
  --muted: #5c7a6b; --border: #dcebe2; --card: #ffffff; --soft: #e7f3ec;
  --accent-light: rgba(76,175,125,.16); --on-primary: #ffffff;
}
[data-theme="tech_purple"] {
  --primary: #5b21b6; --accent: #8b5cf6; --bg: #f6f4fb; --text: #2a2140;
  --muted: #6d5b8a; --border: #e7e0f5; --card: #ffffff; --soft: #f0ebfb;
  --accent-light: rgba(139,92,246,.16); --on-primary: #ffffff;
}
[data-theme="soft_pink"] {
  --primary: #c2567f; --accent: #f4a6c0; --bg: #fff5f8; --text: #4a2c39;
  --muted: #9a6b7e; --border: #f6dde6; --card: #ffffff; --soft: #fdeef4;
  --accent-light: rgba(244,166,192,.18); --on-primary: #ffffff;
}
[data-theme="gray_min"] {
  --primary: #374151; --accent: #6b7280; --bg: #f9fafb; --text: #111827;
  --muted: #6b7280; --border: #e5e7eb; --card: #ffffff; --soft: #f3f4f6;
  --accent-light: rgba(107,114,128,.16); --on-primary: #ffffff;
}
[data-theme="lake_cyan"] {
  --primary: #0f766e; --accent: #2dd4bf; --bg: #f0fbfa; --text: #134e4a;
  --muted: #4f7d79; --border: #d4efeb; --card: #ffffff; --soft: #e2f7f4;
  --accent-light: rgba(45,212,191,.16); --on-primary: #ffffff;
}


/* =====================================================================
 * v2.0 视觉升级层（对标参考站质量）· 2026-08-04
 * 目标：整体风格统一到「精致企业官网」水准，同时通过 data-* 变体维度
 *       让每次生成的模板在圆角/阴影/密度/图片比例/Hero 版式上都不同，
 *       避免千篇一律。所有变体只覆盖设计令牌，不改结构与类名，向后兼容。
 *
 * 变体维度（由 buildShell 按模板种子随机注入到 <body> 上）：
 *   data-radius = sharp | soft | round           圆角气质
 *   data-shadow = flat  | soft  | lifted         阴影气质
 *   data-density= compact | normal | airy        留白密度
 *   data-media  = photo | square | wide          图片比例
 *   data-hero   = solid | light | mesh | split   首屏版式
 * ===================================================================== */

/* ---------- 变体：圆角 ---------- */
[data-radius="sharp"] { --radius: 8px;  --radius-sm: 6px;  --radius-lg: 14px; }
[data-radius="soft"]  { --radius: 18px; --radius-sm: 12px; --radius-lg: 26px; }
[data-radius="round"] { --radius: 28px; --radius-sm: 18px; --radius-lg: 44px; }

/* ---------- 变体：阴影 ---------- */
[data-shadow="flat"] {
  --shadow-sm: 0 0 0 1px rgba(20,40,80,.05);
  --shadow: 0 2px 8px rgba(20,40,80,.05);
  --shadow-lift: 0 8px 18px -6px rgba(20,40,80,.14);
  --lift: -3px;
}
[data-shadow="soft"] {
  --shadow-sm: 0 6px 14px rgba(20,40,80,.04);
  --shadow: 0 10px 24px rgba(20,40,80,.06);
  --shadow-lift: 0 20px 34px -12px rgba(20,40,80,.16);
  --lift: -6px;
}
[data-shadow="lifted"] {
  --shadow-sm: 0 10px 20px rgba(20,40,80,.06);
  --shadow: 0 18px 36px rgba(20,40,80,.10);
  --shadow-lift: 0 30px 48px -14px rgba(20,40,80,.24);
  --lift: -9px;
}

/* ---------- 变体：留白密度 ---------- */
[data-density="compact"] { --section-pad: 56px; --gap: 20px; --block-gap: 22px; }
[data-density="normal"]  { --section-pad: 76px; --gap: 28px; --block-gap: 30px; }
[data-density="airy"]    { --section-pad: 96px; --gap: 34px; --block-gap: 38px; }

/* ---------- 变体：图片比例 ---------- */
[data-media="photo"]  { --media-ratio: 4 / 3; }
[data-media="square"] { --media-ratio: 1 / 1; }
[data-media="wide"]   { --media-ratio: 16 / 10; }

/* =====================================================================
 * Hero 多版式（同一份 HTML 结构，靠 data-hero 切换气质）
 * ===================================================================== */
/* light：浅色渐变 + 角落光斑（轻盈高级，参考站主流做法） */
[data-hero="light"] .tpl-hero {
  background: linear-gradient(115deg, var(--soft) 0%, var(--bg) 78%);
  color: var(--text);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
[data-hero="light"] .tpl-hero::after {
  content: ""; position: absolute; bottom: -90px; left: -90px;
  width: 320px; height: 320px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, var(--accent-light) 0%, rgba(0,0,0,0) 70%);
}
[data-hero="light"] .tpl-hero h1 { color: var(--primary-dark, var(--primary)); }
[data-hero="light"] .tpl-hero .tpl-lead { color: var(--muted); }
[data-hero="light"] .tpl-hero .tpl-eyebrow { color: var(--accent); background: var(--accent-light); }
[data-hero="light"] .tpl-hero .tpl-tag {
  background: var(--card); color: var(--primary);
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
[data-hero="light"] .tpl-hero-feats li { color: var(--text); }
[data-hero="light"] .tpl-hero-entity .item {
  background: var(--card); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
[data-hero="light"] .tpl-hero-entity .k { color: var(--muted); }
[data-hero="light"] .tpl-hero-entity .v { color: var(--primary); }
[data-hero="light"] .tpl-hero .tpl-btn-ghost { color: var(--primary); border-color: var(--primary); }
[data-hero="light"] .tpl-hero .tpl-btn-ghost:hover { background: var(--primary); color: #fff; }

/* mesh：深色主色 + 双光晕（科技/工业感） */
[data-hero="mesh"] .tpl-hero {
  background:
    radial-gradient(900px 380px at 12% -10%, rgba(255,255,255,.20), rgba(255,255,255,0) 60%),
    radial-gradient(700px 320px at 92% 8%, var(--accent-light), rgba(255,255,255,0) 62%),
    linear-gradient(135deg, var(--primary) 0%, var(--primary-dark, var(--primary)) 100%);
  position: relative; overflow: hidden;
}

/* split：左对齐排版（不居中，更像传统企业官网） */
[data-hero="split"] .tpl-hero { text-align: left; }
[data-hero="split"] .tpl-hero-text { max-width: none; margin: 0; }
[data-hero="split"] .tpl-hero-tags,
[data-hero="split"] .tpl-hero-btns { justify-content: flex-start; }
[data-hero="split"] .tpl-hero-feats { margin-left: 0; margin-right: 0; max-width: none; }
[data-hero="split"] .tpl-hero-entity { margin-left: 0; margin-right: 0; max-width: none; }

/* =====================================================================
 * 新增组件（补齐参考站同款表达力，也为 AI 提供更多可选区块）
 * ===================================================================== */

/* 胶囊统计条：白底细边胶囊一行排开 */
.tpl-stat-pills { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 26px; }
.tpl-stat-pills .pill {
  background: var(--card); color: var(--primary); font-weight: 600; font-size: 14.5px;
  padding: 8px 20px; border-radius: var(--radius-pill);
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
.tpl-hero .tpl-stat-pills .pill { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.24); }
[data-hero="light"] .tpl-hero .tpl-stat-pills .pill { background: var(--card); color: var(--primary); border-color: var(--border); }

/* 数据卡组：横排关键数字 */
.tpl-data-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 22px 0; }
.tpl-data-card {
  background: var(--soft); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 16px 14px; text-align: center;
}
.tpl-data-card .num { font-size: 26px; font-weight: 800; color: var(--primary); line-height: 1.25; }
.tpl-data-card .label { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* 通栏强调条：大圆角深色渐变 */
.tpl-banner {
  background: linear-gradient(105deg, var(--primary) 0%, var(--primary-dark, var(--primary)) 100%);
  border-radius: var(--radius-lg); padding: 40px 34px; text-align: center;
  color: #fff; box-shadow: var(--shadow);
}
.tpl-banner h3 { color: #fff; font-size: clamp(20px, 2.4vw, 28px); margin-bottom: 10px; }
.tpl-banner p { color: rgba(255,255,255,.9); margin-bottom: 0; }
.tpl-banner .tpl-btn { margin-top: 18px; }

/* 左对齐标题（主色竖条），与居中 .tpl-block-head 形成版式差异 */
.tpl-head-left { text-align: left; max-width: none; margin: 0 0 26px; }
.tpl-head-left .tpl-title {
  padding-left: 14px; border-left: 6px solid var(--accent);
  text-align: left; margin-bottom: 8px;
}
.tpl-head-left .tpl-subtitle { text-align: left; margin-left: 20px; }
.tpl-head-left .tpl-divider { display: none; }

/* 卡片风格变体（AI 按区块挑选，形成同页层次） */
.tpl-card--flat { box-shadow: none; background: var(--soft); }
.tpl-card--outline { box-shadow: none; background: transparent; border: 1.5px solid var(--border); }
.tpl-card--outline:hover { border-color: var(--primary); }
.tpl-card--accent { border-top: 4px solid var(--accent); }
.tpl-card--pad { padding: 26px 24px; }

/* 自适应栅格（卡片自动排布，不必指定列数） */
.tpl-grid--auto { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.tpl-grid--auto-lg { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }

/* =====================================================================
 * AI 高频自定义区块转正（原先是无样式孤儿类 → "没边距/布局乱"的根源）
 * ===================================================================== */
.tpl-ai-lead {
  font-size: 16.5px; line-height: 1.9; color: var(--text);
  max-width: 860px; margin: 0 auto 26px; text-align: center;
}
.tpl-head-left + .tpl-ai-lead, .tpl-ai-lead.left { text-align: left; margin-left: 0; }

.tpl-ai-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.tpl-ai-step {
  position: relative; background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px 22px 22px;
  box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s;
}
.tpl-ai-step:hover { transform: translateY(var(--lift)); box-shadow: var(--shadow-lift); }
.tpl-ai-step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--primary); color: #fff; font-weight: 800; font-size: 16px;
  margin-bottom: 12px;
}
.tpl-ai-step h3, .tpl-ai-step h4 { font-size: 16px; margin-bottom: 8px; color: var(--primary); }
.tpl-ai-step p { font-size: 14px; color: var(--muted); line-height: 1.75; margin-bottom: 0; }

.tpl-ai-qa {
  background: var(--card); border: 1px solid var(--border); border-left: 4px solid var(--primary);
  border-radius: var(--radius-sm); padding: 20px 22px; margin-bottom: 14px;
}
.tpl-ai-qa h3, .tpl-ai-qa .q { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.tpl-ai-qa p, .tpl-ai-qa .a { font-size: 14.5px; color: var(--muted); line-height: 1.8; margin-bottom: 0; }

.tpl-ai-stat {
  background: var(--soft); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 18px 14px; text-align: center;
}
.tpl-ai-stat strong, .tpl-ai-stat .num { display: block; font-size: 26px; font-weight: 800; color: var(--primary); }
.tpl-ai-stat span, .tpl-ai-stat .label { font-size: 13px; color: var(--muted); }

.tpl-ai-note {
  background: var(--accent-light); border-radius: var(--radius-sm);
  padding: 16px 20px; font-size: 14.5px; color: var(--text); line-height: 1.8;
  border-left: 4px solid var(--accent);
}

/* 文章面包屑 */
.tpl-article-crumb { font-size: 13.5px; color: var(--muted); margin-bottom: 16px; }
.tpl-article-crumb a { color: var(--primary); }
.tpl-article-crumb a:hover { text-decoration: underline; }

/* =====================================================================
 * v2.0 响应式补强
 * ===================================================================== */
@media (max-width: 1024px) {
  .tpl-ai-steps { grid-template-columns: repeat(2, 1fr); }
  [data-hero="split"] .tpl-hero-entity { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  :root { --container-pad: 16px; }
  [data-density="compact"] { --section-pad: 34px; }
  [data-density="normal"]  { --section-pad: 42px; }
  [data-density="airy"]    { --section-pad: 52px; }
  [data-radius="round"] { --radius: 20px; --radius-lg: 28px; }
  [data-hero="split"] .tpl-hero { text-align: center; }
  [data-hero="split"] .tpl-hero-tags,
  [data-hero="split"] .tpl-hero-btns { justify-content: center; }
  .tpl-ai-steps { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .tpl-ai-step { padding: 16px 14px; }
  .tpl-ai-step-num { width: 30px; height: 30px; font-size: 14px; margin-bottom: 8px; }
  .tpl-ai-step h3, .tpl-ai-step h4 { font-size: 14.5px; }
  .tpl-ai-step p { font-size: 12.5px; line-height: 1.65; }
  .tpl-data-cards { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .tpl-data-card { padding: 12px 8px; }
  .tpl-data-card .num { font-size: 19px; }
  .tpl-data-card .label { font-size: 12px; }
  .tpl-stat-pills { gap: 8px; margin-top: 18px; }
  .tpl-stat-pills .pill { font-size: 12.5px; padding: 5px 14px; }
  .tpl-banner { padding: 26px 18px; border-radius: var(--radius); }
  .tpl-ai-lead { font-size: 15px; line-height: 1.8; margin-bottom: 18px; }
  .tpl-ai-qa { padding: 15px 16px; }
  .tpl-head-left .tpl-title { padding-left: 10px; border-left-width: 4px; }
  .tpl-head-left .tpl-subtitle { margin-left: 14px; }
}
@media (max-width: 480px) {
  .tpl-ai-steps { grid-template-columns: 1fr; }
}

/* =====================================================================
 * v2.1 豆包 GEO 可提取性组件（NAP 顶条 / 参数对照表 / 结论前置 / 量化指标 / SVG 图标底）
 * 目标：让大模型零成本提取「是谁·在哪·做什么·参数多少·怎么联系」
 * ===================================================================== */

/* ---------- 顶部 NAP 信息条（系统外壳注入，位于导航之上，不 sticky） ---------- */
.tpl-topbar {
  background: var(--primary); color: rgba(255, 255, 255, .92);
  font-size: 13px; line-height: 1.6;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}
.tpl-topbar .tpl-topbar-wrap {
  max-width: var(--container); margin: 0 auto; padding: 7px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.tpl-topbar .nap { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; min-width: 0; }
.tpl-topbar .nap span { white-space: nowrap; opacity: .9; }
.tpl-topbar .tel { font-weight: 700; color: #fff; white-space: nowrap; }
.tpl-topbar a.tel:hover { text-decoration: underline; }

/* ---------- Hero NAP 速览（首屏三要素闭环，配合 .tpl-hero-entity 使用） ---------- */
.tpl-hero-nap {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px;
  margin: 20px auto 0; max-width: 900px;
  font-size: 14px; color: rgba(255, 255, 255, .88);
}
.tpl-hero-nap i { font-style: normal; opacity: .7; margin-right: 6px; }
.tpl-hero-nap b { color: #fff; font-weight: 700; }

/* ---------- 参数 / 选型对照表（大模型零成本提取的最强结构） ---------- */
.tpl-table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tpl-spec-table {
  width: 100%; border-collapse: collapse; min-width: 560px;
  background: var(--card); border-radius: var(--radius-sm); overflow: hidden;
  box-shadow: var(--shadow-sm); font-size: 14.5px;
}
.tpl-spec-table caption {
  caption-side: top; text-align: left; padding: 0 0 12px;
  font-size: 14px; color: var(--muted);
}
.tpl-spec-table th, .tpl-spec-table td {
  padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--border);
  vertical-align: top; line-height: 1.7;
}
.tpl-spec-table thead th {
  background: var(--primary); color: #fff; font-weight: 700; white-space: nowrap;
  border-bottom: 0;
}
.tpl-spec-table tbody tr:nth-child(even) { background: var(--soft); }
.tpl-spec-table tbody tr:last-child td { border-bottom: 0; }
.tpl-spec-table tbody th { font-weight: 700; color: var(--text); white-space: nowrap; }
.tpl-spec-table td em { font-style: normal; color: var(--accent); font-weight: 700; }

/* ---------- 结论前置句（区块/问答首句直接给答案，便于摘录） ---------- */
.tpl-qa-lead {
  position: relative; margin: 0 0 10px; padding: 12px 16px 12px 40px;
  background: var(--accent-light);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 15px; line-height: 1.8; color: var(--text); font-weight: 600;
}
.tpl-qa-lead::before {
  content: "答"; position: absolute; left: 12px; top: 12px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent); color: #fff;
  font-size: 12px; font-weight: 700; line-height: 20px; text-align: center;
}
.geo-faq .tpl-qa-lead, .tpl-card .tpl-qa-lead { margin-bottom: 8px; }

/* ---------- 量化指标行（案例 / 服务成效的可提取数字） ---------- */
.tpl-metrics {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px;
  padding-top: 14px; border-top: 1px dashed var(--border);
}
.tpl-metrics .tpl-metric {
  flex: 1 1 90px; min-width: 90px; text-align: center;
  background: var(--soft);
  border-radius: var(--radius-sm); padding: 10px 8px;
}
.tpl-metrics .tpl-metric b { display: block; font-size: 18px; font-weight: 800; color: var(--primary); line-height: 1.3; }
.tpl-metrics .tpl-metric span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 3px; }

/* ---------- 内联 SVG 图标圆底（替代外链图标，零失效） ---------- */
.tpl-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 14px; margin-bottom: 12px;
  background: var(--accent-light); color: var(--primary);
}
.tpl-ico svg { width: 24px; height: 24px; display: block; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tpl-ico--accent { background: var(--accent); color: #fff; }
.tpl-ico--sm { width: 36px; height: 36px; border-radius: 10px; }
.tpl-ico--sm svg { width: 18px; height: 18px; }

/* ---------- 服务覆盖区县标签（本地专属度信号） ---------- */
.tpl-area-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tpl-area-tags span {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: var(--soft); border: 1px solid var(--border);
  font-size: 13.5px; color: var(--text);
}

@media (max-width: 768px) {
  .tpl-topbar { font-size: 12px; }
  .tpl-topbar .tpl-topbar-wrap { padding: 6px 14px; gap: 6px 12px; justify-content: center; }
  .tpl-topbar .nap { gap: 10px; justify-content: center; }
  .tpl-topbar .nap span.hide-sm { display: none; }
  .tpl-hero-nap { gap: 8px 16px; font-size: 13px; }
  .tpl-spec-table { min-width: 480px; font-size: 13.5px; }
  .tpl-spec-table th, .tpl-spec-table td { padding: 10px 11px; }
  .tpl-qa-lead { font-size: 14px; padding: 10px 13px 10px 36px; }
  .tpl-metrics .tpl-metric b { font-size: 16px; }
  .tpl-metrics .tpl-metric span { font-size: 11.5px; }
  .tpl-ico { width: 42px; height: 42px; border-radius: 12px; }
  .tpl-ico svg { width: 21px; height: 21px; }
}
