:root {
  --primary: #0f5cad;
  --primary-dark: #0a3a70;
  --accent: #f0a020;
  --bg-soft: #f2f5f9;
  --footer-bg: #0b1626;

  --text: #212936;
  --text-soft: #5c6675;
  --border: #dfe4ec;
  --radius: 6px;
  --wrap: 1240px;
  --topbar-h: 62px;
}

* { 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.75;
  -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 顶栏 ---------------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--footer-bg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.topbar-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--topbar-h);
}
.logo {
  font-size: 19px;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
}
.logo-region { font-size: 12px; font-weight: 600; color: var(--accent); margin-left: 8px; }
.nav {
  display: flex;
  gap: 2px;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav::-webkit-scrollbar { display: none; }
.nav-link {
  flex: none;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
  padding: 6px 12px;
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover { color: #fff; background: rgba(255, 255, 255, 0.1); }
.topbar-tel {
  flex: none;
  font-size: 14px;
  font-weight: 700;
  color: var(--footer-bg);
  background: var(--accent);
  border-radius: var(--radius);
  padding: 8px 16px;
  white-space: nowrap;
  transition: filter 0.2s;
}
.topbar-tel:hover { filter: brightness(1.08); }

/* ---------------- 深色 Hero 横带：左文案右联系卡（纯色渐变打底） ---------------- */
.hero {
  background: linear-gradient(135deg, var(--primary-dark), var(--footer-bg));
  color: #fff;
  padding: 64px 0;
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 48px;
  align-items: center;
}
.hero-kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 4px 14px;
  margin-bottom: 18px;
}
.hero-title {
  font-size: clamp(28px, 4.2vw, 42px);
  font-weight: 800;
  line-height: 1.3;
}
.hero-sub {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.78);
  margin-top: 14px;
  max-width: 640px;
}
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.hero-tags li {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 4px 13px;
}
.hero-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  padding: 26px 24px;
  text-align: center;
}
.hero-card-label { font-size: 13px; color: rgba(255, 255, 255, 0.65); }
.hero-card-tel {
  display: block;
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin-top: 6px;
  white-space: nowrap;
}
.hero-card-tel:hover { color: var(--accent); }
.hero-card-tel[href^="tel:"]::before { display: none; }
.btn {
  display: inline-block;
  font-size: 15px;
  font-weight: 700;
  color: var(--footer-bg);
  background: var(--accent);
  border-radius: var(--radius);
  padding: 11px 28px;
  transition: filter 0.2s, transform 0.2s;
}
.btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.hero-card-btn { display: block; margin-top: 16px; }

/* ---------------- 照片带：banner 轮播（与版块同宽居中） ----------------
   高随图，JS(fit) 两段式封顶：h = 容器宽×首图比例，上限 = 视口高 − 顶栏；
   min-height 仅作 JS 就位前占位，fit() 内会清零 */
.bandsec { padding-top: 64px; }
.photoband {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.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: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(11, 22, 38, 0.45);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s;
}
.photoband-arrow:hover { background: rgba(11, 22, 38, 0.7); }
.photoband-prev { left: 20px; }
.photoband-next { right: 20px; }
.photoband-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  z-index: 5;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.photoband-dot {
  width: 24px;
  height: 4px;
  border: 0;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.2s;
}
.photoband-dot.is-active { background: var(--accent); }

/* ---------------- 版块全宽色带：白/浅底交替，stats 深色带 ---------------- */
.band {
  padding: 64px 0;
  scroll-margin-top: var(--topbar-h);
}
main .band:nth-of-type(even) { background: var(--bg-soft); }
.sec-head {
  display: flex;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 32px;
}
.sec-no {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.14em;
  margin-bottom: 4px;
}
.sec-title {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.35;
}
.sec-subtitle {
  font-size: 14px;
  color: var(--text-soft);
  margin-top: 6px;
}
/* 版块头右侧延伸线 */
.sec-rule {
  flex: 1;
  height: 1px;
  background: var(--border);
  margin-bottom: 12px;
}

/* 段落型 */
.prose { font-size: 15px; color: var(--text); max-width: 900px; }
.prose a { color: var(--primary); }
.prose a:hover { text-decoration: underline; }
.about-local { margin-top: 14px; color: var(--text-soft); font-size: 14px; }
/* about：宽容器左文右名片图两栏 */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(260px, 32%, 380px);
  gap: 40px;
  align-items: start;
}
.bizcard {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
}
.bizcard img { width: 100%; }

/* 指标型：深色带四格大数字（band-stats 整条压深色） */
.band-stats { background: var(--footer-bg) !important; color: #fff; }
.band-stats .sec-title { color: #fff; }
.band-stats .sec-subtitle { color: rgba(255, 255, 255, 0.6); }
.band-stats .sec-rule { background: rgba(255, 255, 255, 0.14); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
}
.stat {
  text-align: center;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  padding: 8px 12px;
}
.stat:first-child { border-left: 0; }
.stat-value {
  display: block;
  font-size: 38px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.2;
}
.stat-label {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 6px;
}

/* 产品型：四列图卡 */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.prod {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
}
.prod:hover {
  transform: translateY(-3px);
  /* 阴影双行回退：不支持 color-mix 的浏览器用中性灰 */
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.1);
  box-shadow: 0 12px 30px color-mix(in srgb, var(--primary) 18%, transparent);
}
.prod-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-soft);
}
.prod-img img { width: 100%; height: 100%; object-fit: cover; }
.prod-name {
  font-size: 15px;
  font-weight: 700;
  padding: 12px 14px;
  text-align: center;
}

/* 问答型：单列 Q 圆标卡 */
.faq-list { display: grid; gap: 14px; max-width: 960px; }
.faq-item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.faq-mark {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  background: var(--primary);
  border-radius: 50%;
}
.faq-q { font-size: 15px; font-weight: 700; }
.faq-a { font-size: 14px; color: var(--text-soft); margin-top: 6px; }

/* 流程型：双列大数字水印卡 */
.flow-grid {
  display: flex; flex-wrap: wrap;
  gap: 20px;
}
.flow-grid > * { flex: 1 1 210px; }
.flow {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 24px 22px;
  overflow: hidden;
}
.flow-no {
  position: absolute;
  right: 12px;
  top: -6px;
  font-size: 68px;
  font-weight: 800;
  line-height: 1;
  color: var(--bg-soft);
  pointer-events: none;
}
.flow-title { position: relative; font-size: 17px; font-weight: 700; }
.flow-desc { position: relative; font-size: 14px; color: var(--text-soft); margin-top: 6px; }

/* 卡片型：四列顶边框卡 */
.card-grid {
  display: flex; flex-wrap: wrap;
  gap: 20px;
}
.card-grid > * { flex: 1 1 210px; }
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--primary);
  border-radius: var(--radius);
  padding: 22px 22px 20px;
  transition: box-shadow 0.25s;
}
.card:hover {
  box-shadow: 0 10px 26px rgba(17, 24, 39, 0.08);
  box-shadow: 0 10px 26px color-mix(in srgb, var(--primary) 14%, transparent);
}
.card-title { font-size: 16px; font-weight: 700; }
.card-desc { font-size: 14px; color: var(--text-soft); margin-top: 8px; }

/* ---------------- 深色 CTA 带 ---------------- */
.cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  padding: 44px 0;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-title { font-size: 24px; font-weight: 800; }
.cta-sub { font-size: 14px; opacity: 0.82; margin-top: 4px; }
.cta-btn { font-size: 18px; }

/* ---------------- 页脚 ---------------- */
.footer {
  background: var(--footer-bg);
  color: rgba(255, 255, 255, 0.72);
  padding: 40px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-name { font-size: 17px; font-weight: 700; color: #fff; }
.footer-desc { font-size: 13px; margin-top: 8px; }
.foot-sites { font-size: 13px; margin-top: 14px; }
.foot-sites a { color: rgba(255, 255, 255, 0.85); }
.foot-sites a:hover { color: #fff; text-decoration: underline; }
.footer-copy { font-size: 12px; margin-top: 16px; opacity: 0.6; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .hero-card { max-width: 380px; }
  .about-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  /* 窄容器：名片图单列堆叠限尺寸 */
  .bizcard { max-width: 440px; }
  .prod-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .nav { display: none; }
  .topbar-inner { justify-content: space-between; }
  .hero { padding: 44px 0; }
  .prod-grid { grid-template-columns: minmax(0, 1fr); }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 0; }
  .sec-rule { display: none; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}

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

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

/* ---------- 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; } }
