:root {
  --primary: #1f2937;
  --primary-dark: #111827;
  --accent: #dc2626;
  --bg-soft: #f7f7f7;
  --footer-bg: #111111;

  --text: #1c1c1c;
  --text-soft: #737373;
  --border: #e8e8e8;
  --wrap: 1020px;
}

* { 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: #fff;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; }

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

/* ---------------- 极简顶行（非 sticky） ---------------- */
.top { padding: 26px 0; }
.top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { font-size: 18px; font-weight: 800; letter-spacing: 0.02em; }
.logo-region { margin-left: 8px; font-size: 13px; font-weight: 400; color: var(--text-soft); }
.top-tel {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-dark);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 2px;
}
.top-tel:hover { color: var(--accent); }

/* ---------------- 首屏：超大标题 + 大留白 ---------------- */
.hero { padding: 96px 0 0; }
.hero-kicker {
  font-size: 13px;
  color: var(--text-soft);
  letter-spacing: 0.22em;
  margin-bottom: 22px;
}
.hero-title {
  font-size: clamp(38px, 6vw, 66px);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: 0.01em;
  max-width: 900px;
}
.hero-sub {
  font-size: 18px;
  color: var(--text-soft);
  margin-top: 24px;
  max-width: 640px;
}
.hero-row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 36px;
}
.btn {
  display: inline-block;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  background: var(--primary-dark);
  padding: 13px 36px;
  white-space: nowrap;
  transition: background 0.2s;
}
.btn:hover { background: var(--accent); }
.hero-tags { font-size: 13px; color: var(--text-soft); letter-spacing: 0.04em; }

/* 锚点索引行 */
.index {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin-top: 64px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}
.index a {
  font-size: 13px;
  color: var(--text-soft);
  transition: color 0.2s;
}
.index a:hover { color: var(--primary-dark); }
.index i {
  font-style: normal;
  font-size: 11px;
  color: var(--accent);
  margin-right: 6px;
}

/* ---------------- 照片带：banner 轮播（版心宽居中，直角细边） ----------------
   高随图，JS(fit) 两段式封顶：h = 容器宽×首图比例，上限 = 视口高；
   min-height 仅作 JS 就位前占位，fit() 内会清零 */
.bandsec { padding-top: 72px; }
.photoband {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
}
.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: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  color: var(--text);
  font-size: 21px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s;
}
.photoband-arrow:hover { background: #fff; }
.photoband-prev { left: 14px; }
.photoband-next { right: 14px; }
.photoband-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 13px;
  z-index: 5;
  display: flex;
  justify-content: center;
  gap: 7px;
}
.photoband-dot {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: background 0.2s;
}
.photoband-dot.is-active { background: var(--accent); }

/* ---------------- 版块流：大间距、无边框无底色 ---------------- */
.block {
  padding: 104px 0 0;
  scroll-margin-top: 24px;
}
main > .block:last-child { padding-bottom: 12px; }
.block-head { margin-bottom: 36px; }
.block-no {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.18em;
  margin-bottom: 10px;
}
.block-title {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 800;
  line-height: 1.3;
}
.block-subtitle {
  font-size: 14px;
  color: var(--text-soft);
  margin-top: 12px;
}

/* 段落型 */
.prose { font-size: 16px; max-width: 760px; }
.prose a { color: var(--accent); }
.prose a:hover { text-decoration: underline; }
.about-local { margin-top: 16px; color: var(--text-soft); font-size: 14px; }
.bizcard { max-width: 460px; margin-top: 24px; border: 1px solid var(--border); }
.bizcard img { width: 100%; }

/* 指标型：超大数字横排，无框无底色（3~5 个自适应均分铺满） */
.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 48px;
}
.stat {
  flex: 1 1 auto;
  min-width: 0;
}
.stat-value {
  display: block;
  white-space: nowrap;
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--primary-dark);
}
.stat-label {
  display: block;
  font-size: 13px;
  color: var(--text-soft);
  letter-spacing: 0.06em;
  margin-top: 8px;
}

/* 产品型：三列直角图 + 名称小字（无框无阴影） */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.prod img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: opacity 0.25s;
}
.prod:hover img { opacity: 0.85; }
.prod-name {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-top: 12px;
}

/* 问答型：纯文字列表 */
.faq { display: grid; gap: 34px; max-width: 760px; }
.faq-q { font-size: 17px; font-weight: 700; }
.faq-a { font-size: 15px; color: var(--text-soft); margin-top: 8px; }

/* 流程型：浅灰超大编号顶部，纯文字横排列 */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 36px;
}
.step-no {
  display: block;
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
  color: var(--border);
}
.step-title { font-size: 17px; font-weight: 700; margin-top: 14px; }
.step-desc { font-size: 14px; color: var(--text-soft); margin-top: 6px; }

/* 卡片型：双列纯文字，大间距无卡 */
.list-grid {
  display: flex; flex-wrap: wrap;
  gap: 40px 56px;
}
.list-grid > * { flex: 1 1 210px; }
.list-title { font-size: 18px; font-weight: 700; }
.list-desc { font-size: 15px; color: var(--text-soft); margin-top: 8px; }

/* ---------------- CTA：超大文字居中，无色块 ---------------- */
.cta { padding: 120px 0 96px; text-align: center; }
.cta-title {
  font-size: clamp(24px, 3.4vw, 36px);
  font-weight: 800;
  line-height: 1.3;
}
.cta-tel {
  display: inline-block;
  font-size: clamp(30px, 4.4vw, 48px);
  font-weight: 800;
  color: var(--accent);
  margin-top: 18px;
  border-bottom: 3px solid var(--accent);
  line-height: 1.3;
}
.cta-tel:hover { color: var(--primary-dark); border-color: var(--primary-dark); }
.cta-sub { font-size: 14px; color: var(--text-soft); margin-top: 18px; }

/* ---------------- 页脚（深色全宽，极简单列） ---------------- */
.footer {
  background: var(--footer-bg);
  color: rgba(255, 255, 255, 0.66);
  padding: 40px 0 46px;
}
.footer-name { font-size: 15px; font-weight: 700; color: #fff; }
.footer-desc { font-size: 13px; margin-top: 6px; }
.foot-sites { font-size: 13px; margin-top: 12px; }
.foot-sites a { color: rgba(255, 255, 255, 0.9); border-bottom: 1px solid rgba(255, 255, 255, 0.35); }
.foot-sites a:hover { color: #fff; border-color: #fff; }
.footer-copy { font-size: 12px; margin-top: 14px; opacity: 0.7; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 960px) {
  .hero { padding-top: 64px; }
  .block { padding-top: 76px; }
  .prod-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { gap: 30px 48px; }
}
@media (max-width: 640px) {
  .hero { padding-top: 44px; }
  .hero-sub { font-size: 16px; }
  .index { margin-top: 44px; gap: 8px 18px; }
  .bandsec { padding-top: 52px; }
  .block { padding-top: 60px; }
  .prod-grid { grid-template-columns: minmax(0, 1fr); }
  .list-grid { gap: 28px; }
  .photoband-arrow { width: 32px; height: 32px; font-size: 17px; }
  .cta { padding: 84px 0 64px; }
}

/* 文章内容板块（详情页）：标题/时间 + 正文 + 侧栏推荐列表 */
.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: 0;
}

.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: 0;
  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; } }
