:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --accent: #06b6d4;
  --bg-soft: #eef2ff;
  --footer-bg: #0f172a;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e5e9f2;
  --wrap: 900px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

.friend-links { display:none }

body {
  font-family: "PingFang SC", "Microsoft YaHei", -apple-system, sans-serif;
  color: var(--ink);
  background: #f2f4f9;
  line-height: 1.7;
  padding-bottom: 72px; /* 让位底部拨号栏 */
  -webkit-font-smoothing: antialiased;
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 18px; }
a { color: inherit; text-decoration: none; }

.screen { min-height: auto; display: block; padding: 0; }
.scroll-hint { display: none; }
.dots { display: none; }

/* ---------- 底部固定拨号栏（topbar 复用为底栏） ---------- */
.topbar {
  position: fixed; bottom: 0; left: 0; right: 0; top: auto;
  z-index: 60;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 24px rgba(15, 23, 42, .08);
}
.topbar-inner {
  max-width: var(--wrap); margin: 0 auto;
  padding: 12px 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.logo { font-size: 16px; font-weight: 800; color: var(--primary); }
.logo-region { font-size: 11px; font-weight: 600; margin-left: 8px; color: var(--muted); }
.topbar-tel {
  flex: 1; text-align: center; max-width: 260px;
  padding: 12px 20px; border-radius: 999px;
  background: var(--primary); color: #fff;
  font-size: 16px; font-weight: 800;
  box-shadow: 0 8px 20px rgba(37, 99, 235, .38);
}
.topbar-tel::before { content: "📞 "; }

/* ---------- 首屏 ---------- */
.hero {
  margin: 18px auto 0; padding: 44px 26px 40px;
  max-width: var(--wrap);
  text-align: center;
  background: linear-gradient(160deg, var(--primary), var(--accent));
  color: #fff;
  border-radius: 26px;
  box-shadow: 0 20px 46px rgba(37, 99, 235, .3);
}
.hero .wrap { padding: 0; }
.hero-title { font-size: clamp(28px, 5vw, 44px); font-weight: 900; line-height: 1.15; }
.hero-sub { margin-top: 16px; font-size: 16px; opacity: .92; }
.hero-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 22px; }
.hero-tags li { padding: 8px 16px; background: rgba(255, 255, 255, .22); border-radius: 999px; font-size: 13px; font-weight: 600; }
.btn {
  display: inline-block; margin-top: 26px;
  padding: 14px 40px; background: #fff; color: var(--primary);
  font-size: 16px; font-weight: 800; border-radius: 999px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .18);
}

/* ---------- 照片带 ---------- */
.bandsec { padding: 18px 0 0; }
.photoband { position: relative; width: 100%; overflow: hidden; min-height: 180px; border-radius: 22px; box-shadow: 0 14px 34px rgba(15, 23, 42, .12); }
.photoband-track { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity .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%); width: 40px; height: 40px; border: none; border-radius: 50%; background: rgba(255,255,255,.85); color: var(--primary); font-size: 22px; cursor: pointer; z-index: 5; }
.photoband-prev { left: 12px; }
.photoband-next { right: 12px; }
.photoband-dots { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; gap: 8px; justify-content: center; z-index: 5; }
.photoband-dot { width: 8px; height: 8px; border: none; border-radius: 50%; background: rgba(255,255,255,.7); cursor: pointer; }
.photoband-dot.is-active { background: var(--primary); width: 22px; border-radius: 4px; }

/* ---------- 版块（卡片流） ---------- */
.block { padding: 26px 0 0; }
.block .wrap {
  background: #fff;
  border-radius: 22px;
  padding: 30px 26px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .06);
}
.screen-soft .wrap { background: var(--bg-soft); }
.block-head { margin-bottom: 24px; }
.block-no { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--bg-soft); color: var(--primary); font-size: 12px; font-weight: 800; }
.block-title { margin-top: 12px; font-size: clamp(22px, 3.4vw, 32px); font-weight: 900; }
.block-subtitle { margin-top: 8px; font-size: 15px; color: var(--muted); }

/* ---------- 段落 ---------- */
.prose { font-size: 16px; color: #334155; }
.about-local { margin-top: 16px; }
.about-local a { color: var(--primary); font-weight: 600; }
.bizcard { margin-top: 22px; }
.bizcard img { width: 100%; border-radius: 18px; box-shadow: 0 12px 30px rgba(0,0,0,.1); }

/* ---------- 指标 ---------- */
.stats { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 14px; }
.stat { background: var(--bg-soft); border-radius: 18px; padding: 22px 16px; text-align: center; }
.stat-value { display: block; font-size: clamp(28px, 4.2vw, 40px); font-weight: 900; color: var(--primary); line-height: 1; }
.stat-label { display: block; margin-top: 8px; font-size: 14px; color: var(--muted); }

/* ---------- 产品 ---------- */
.prod-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.prod { background: var(--bg-soft); border-radius: 18px; overflow: hidden; }
.prod img { width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block; }
.prod-name { padding: 14px; font-size: 15px; font-weight: 700; text-align: center; }

/* ---------- 问答 ---------- */
.faq { list-style: none; display: grid; gap: 14px; }
.faq-item { background: var(--bg-soft); border-radius: 18px; padding: 20px 22px; }
.faq-q { font-size: 16px; font-weight: 800; color: var(--primary-dark); }
.faq-a { margin-top: 10px; color: var(--muted); font-size: 15px; }

/* ---------- 流程 ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }
.step { background: var(--bg-soft); border-radius: 18px; padding: 22px 18px; text-align: center; }
.step-no { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 20px; font-weight: 900; }
.step-title { margin-top: 14px; font-size: 17px; font-weight: 800; }
.step-desc { margin-top: 8px; color: var(--muted); font-size: 14px; }

/* ---------- 卡片 ---------- */
.card-grid { list-style: none; display: flex; flex-wrap: wrap; gap: 16px; }
.card-grid > * { flex: 1 1 210px; }


.card { background: var(--bg-soft); border-radius: 18px; padding: 24px 20px; transition: transform .2s; }
.card:hover { transform: translateY(-4px); }
.card-title { font-size: 17px; font-weight: 800; }
.card-desc { margin-top: 10px; color: var(--muted); font-size: 15px; }

/* ---------- CTA ---------- */
.cta { padding: 26px 0 0; }
.cta .wrap { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; border-radius: 24px; padding: 40px 28px; text-align: center; box-shadow: 0 18px 40px rgba(37,99,235,.3); }
.cta-title { font-size: clamp(22px, 3.6vw, 34px); font-weight: 900; }
.cta-sub { margin-top: 12px; font-size: 15px; opacity: .9; }
.cta-btn { background: #fff; color: var(--primary); }

/* ---------- 页脚 ---------- */
.footer { margin-top: 26px; background: var(--footer-bg); color: rgba(255,255,255,.8); padding: 40px 0 34px; text-align: center; border-radius: 24px 24px 0 0; }
.footer-name { font-size: 19px; font-weight: 800; color: #fff; }
.footer-desc { margin-top: 12px; font-size: 14px; opacity: .65; }
.foot-sites { margin-top: 16px; font-size: 14px; }
.foot-sites a { color: var(--accent); }
.footer-copy { margin-top: 18px; font-size: 13px; opacity: .5; }

/* ---------- 响应式 ---------- */
@media (max-width: 520px) {
  .topbar-tel { font-size: 15px; padding: 11px 16px; }
  .logo-region { display: none; }
}

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

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

.article-list-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  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(--line);
}

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

/* 关于我们双列：文字左 + 名片卡右 */
.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: .6em;*/ 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; } }
