:root {
  --primary: #334155;
  --primary-dark: #1e293b;
  --accent: #0ea5e9;
  --bg-soft: #f6f8fa;
  --footer-bg: #0f172a;

  --text: #26313f;
  --text-soft: #74839a;
  --border: #e3e8ef;
  --paper-w: 1000px;
  --pad-x: 56px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
.friend-links { display:none }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: #e9eaee;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; }

/* ---------------- 白纸大容器 ---------------- */
.paper {
  max-width: var(--paper-w);
  margin: 28px auto;
  background: #fff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.15);
  padding: 40px var(--pad-x) 0;
}

/* ---------------- 纸内顶行（非 sticky，双细线下） ---------------- */
.tophead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 16px;
  border-bottom: 3px double var(--border);
}
.logo { font-size: 17px; font-weight: 800; letter-spacing: 0.02em; }
.logo-region {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  border: 1px solid currentColor;
  border-radius: 3px;
  padding: 1px 8px;
  margin-left: 10px;
  vertical-align: 2px;
}
.tophead-tel { font-size: 16px; font-weight: 800; color: var(--primary-dark); white-space: nowrap; }
.tophead-tel:hover { color: var(--accent); }

/* ---------------- Hero：左标题右 meta ---------------- */
.hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  padding: 38px 0 30px;
}
.hero-main { flex: 1; min-width: 0; }
.hero-title {
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 800;
  line-height: 1.4;
}
.hero-sub { font-size: 15px; color: var(--text-soft); margin-top: 10px; max-width: 560px; }
.hero-meta { flex: 0 0 auto; text-align: right; }
.hero-tags { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; max-width: 260px; }
.hero-tags li {
  font-size: 12px;
  color: var(--text-soft);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 2px 10px;
}
.btn {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: var(--primary);
  border-radius: 4px;
  padding: 10px 28px;
  margin-top: 14px;
  white-space: nowrap;
  transition: background 0.2s;
}
.btn:hover { background: var(--primary-dark); }

/* ---------------- 细目录行 ---------------- */
.toc {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  font-size: 13px;
  color: var(--text-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}
.toc a { transition: color 0.2s; }
.toc a:hover { color: var(--accent); }
.toc-dot { color: var(--border); }

/* ---------------- 照片带：banner 轮播（纸内通宽） ----------------
   高随图，JS(fit) 两段式封顶：h = 容器宽×首图比例，上限 = 视口高（无 topbar，减 0）；
   min-height 仅作 JS 就位前占位，fit() 内会清零 */
.photoband {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  margin-top: 28px;
}
.photoband-track { position: absolute; inset: 0; }
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s;
}
.slide.is-active { opacity: 1; }
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.photoband-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  color: var(--text);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s;
}
.photoband-arrow:hover { background: #fff; }
.photoband-prev { left: 12px; }
.photoband-next { right: 12px; }
.photoband-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  z-index: 5;
  display: flex;
  justify-content: center;
  gap: 7px;
}
.photoband-dot {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: background 0.2s;
}
.photoband-dot.is-active { background: var(--accent); }

/* ---------------- 版块流：细线分隔 + 标题左小方块 ---------------- */
.block {
  padding: 40px 0 6px;
  border-bottom: 1px solid var(--border);
}
.block:last-child { border-bottom: 0; }
.block-head { margin-bottom: 20px; }
.block-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.4;
}
.block-title::before {
  content: "";
  flex: 0 0 12px;
  height: 12px;
  background: var(--accent);
}
.block-subtitle { font-size: 13px; color: var(--text-soft); margin-top: 6px; padding-left: 24px; }

/* 段落型：about 双栏排版 */
.prose { font-size: 15px; margin-bottom: 26px; }
.prose-cols {
  columns: 2;
  column-gap: 40px;
}
.prose a { color: var(--accent); }
.prose a:hover { text-decoration: underline; }
.about-local { color: var(--text-soft); font-size: 14px; }
.bizcard {
  max-width: 440px;
  margin-bottom: 26px;
  border: 1px solid var(--border);
  overflow: hidden;
}
.bizcard img { width: 100%; }

/* 指标型：上下双细线表格风（不限个数，均分一行） */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 20px;
  border-top: 2px solid var(--primary-dark);
  border-bottom: 1px solid var(--border);
  padding: 24px 6px;
  margin-bottom: 34px;
}
.stat { text-align: center; }
.stat-value {
  display: block;
  font-size: 30px;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.2;
}
.stat-label { display: block; font-size: 13px; color: var(--text-soft); margin-top: 5px; }

/* 产品型：三列极简描边小图卡 */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 34px;
}
.prod {
  border: 1px solid var(--border);
  transition: border-color 0.2s;
}
.prod:hover { border-color: var(--accent); }
.prod img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.prod-name {
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  padding: 9px 10px;
  border-top: 1px solid var(--border);
}

/* 问答型：编号列表 */
.faq { display: grid; gap: 18px; margin-bottom: 34px; }
.faq-q { font-size: 15px; font-weight: 700; }
.faq-no {
  font-size: 13px;
  font-weight: 800;
  color: var(--accent);
  margin-right: 10px;
}
.faq-a { font-size: 14px; color: var(--text-soft); margin-top: 4px; padding-left: 30px; }

/* 流程型：编号行内横排 */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
  margin-bottom: 34px;
}
.step { display: flex; gap: 12px; }
.step-no {
  flex: 0 0 auto;
  font-size: 24px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.2;
}
.step-title { font-size: 15px; font-weight: 700; }
.step-desc { font-size: 13px; color: var(--text-soft); margin-top: 2px; }

/* 卡片型：双列极简，上细线 */
.card-grid {
  display: flex; flex-wrap: wrap;
  gap: 20px 34px;
  margin-bottom: 34px;
}
.card-grid > * { flex: 1 1 210px; }
.card { border-top: 2px solid var(--primary-dark); padding-top: 12px; }
.card-title { font-size: 15px; font-weight: 800; }
.card-desc { font-size: 14px; color: var(--text-soft); margin-top: 5px; }

/* ---------------- CTA：纸内深色反白条 ---------------- */
.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  background: var(--primary-dark);
  color: #fff;
  padding: 28px 32px;
  margin-top: 40px;
}
.cta-title { font-size: 20px; font-weight: 800; }
.cta-sub { font-size: 13px; opacity: 0.8; margin-top: 4px; }
.cta-btn { background: var(--accent); font-size: 16px; margin-top: 0; }
.cta-btn:hover { background: #fff; color: var(--primary-dark); }

/* ---------------- 页脚：纸内底部细线上灰小字 ---------------- */
.footer {
  border-top: 1px solid var(--border);
  margin-top: 36px;
  padding: 20px 0 26px;
  font-size: 12px;
  color: var(--text-soft);
}
.footer-name { font-weight: 700; }
.foot-sites { margin-top: 6px; }
.foot-sites a { color: var(--accent); }
.foot-sites a:hover { text-decoration: underline; }
.footer-copy { margin-top: 6px; opacity: 0.85; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 900px) {
  .paper { margin: 0 auto; padding: 28px 26px 0; }
  .hero { flex-direction: column; align-items: flex-start; }
  .hero-meta { text-align: left; }
  .hero-tags { justify-content: flex-start; max-width: none; }
  .prose-cols { columns: 1; }
  .prod-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta { flex-direction: column; text-align: center; }
}
@media (max-width: 560px) {
  .hero-title { font-size: 24px; }
  .prod-grid { grid-template-columns: 1fr; }
}

/* 文章内容板块（详情页）：标题/时间 + 正文 + 侧栏推荐列表 */
.section-article {
  padding: 64px 0;
}

.article-head {
  text-align: center;
  margin-bottom: 44px;
}

.article-title {
  font-size: 28px;
  font-weight: 800;
  color: inherit;
  position: relative;
  display: inline-block;
  padding-bottom: 14px;
}

.article-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 48px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

.article-time {
  margin-top: 14px;
  font-size: 14px;
  opacity: 0.65;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  grid-template-rows: auto 1fr;
  gap: 36px;
  align-items: start;
}

.article-clamp {
  min-width: 0;
}

.article-clamp.is-clamped {
  max-height: 600px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(#000 calc(100% - 90px), transparent);
  mask-image: linear-gradient(#000 calc(100% - 90px), transparent);
}

.article-clamp-btn {
  grid-column: 1;
  grid-row: 2;
  align-self: start;
  justify-self: center;
  margin-top: 4px;
  padding: 9px 34px;
  font-size: 14px;
  color: var(--primary);
  background: transparent;
  border: 1px solid var(--primary);
  border-radius: 20px;
  cursor: pointer;
}

.article-clamp-btn:hover {
  color: #fff;
  background: var(--primary);
}

.article-body {
  font-size: 16px;
  line-height: 1.9;
  opacity: 0.88;
  text-align: justify;
}

.article-body p {
  margin-bottom: 16px;
}

.article-body img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 18px auto;
  border-radius: 3px;
}

.article-side {
  grid-column: 2;
  grid-row: 1 / 3;
  display: grid;
  gap: 24px;
  min-width: 0;
}

.article-list-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 20px 22px;
  min-width: 0;
  overflow: hidden;
}

.article-list-title {
  font-size: 17px;
  font-weight: 700;
  padding-bottom: 12px;
  margin-bottom: 10px;
  border-bottom: 2px solid var(--primary);
}

.article-list li {
  list-style: none;
  padding: 7px 0;
  border-bottom: 1px dashed var(--border);
}

.article-list li:last-child {
  border-bottom: none;
}

.article-list a {
  display: block;
  font-size: 14px;
  color: inherit;
  opacity: 0.8;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.article-list a:hover {
  color: var(--primary);
  opacity: 1;
}

@media (max-width: 860px) {
  .article-layout {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .article-side {
    grid-column: 1;
    grid-row: 3;
  }
}

/* 关于我们双列：文字左 + 名片卡右 */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(260px, 34%, 400px);
  gap: 36px;
  align-items: start;
}

.about-grid .bizcard {
  margin: 0;
}

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

  .about-grid .bizcard {
    margin: 24px auto 0;
  }
}

/* ---------- logo 牌匾字标（圆角矩形色块） ---------- */
.logo-word { position: relative; display: inline-block; vertical-align: middle; white-space: nowrap; line-height: 1.2; padding: .26em .72em; background: linear-gradient(115deg, var(--primary-dark), var(--primary) 55%, var(--primary-dark)); color: #fff; -webkit-text-fill-color: #fff; /*border-radius: .35em;*/ box-shadow: 0 3px 10px color-mix(in srgb, var(--primary) 40%, transparent); overflow: hidden; }
.logo-word-in { display: inline-block; }
.logo-word::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 45%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent); transform: translateX(-160%); animation: logoShine 2.4s ease-in-out infinite; }
@keyframes logoShine { 0% { transform: translateX(-160%); } 100% { transform: translateX(320%); } }
@media (prefers-reduced-motion: reduce) { .logo-word::after { animation: none; } }
