:root {
  --primary: #2563eb;
  --primary-dark: #1e40af;
  --accent: #f43f5e;
  --c-yellow: #facc15;
  --c-teal: #14b8a6;
  --bg-soft: #fff7ed;
  --footer-bg: #111827;
  --ink: #111827;
  --muted: #4b5563;
  --line: #111827;
  --wrap: 1120px;
}

* { 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: #fffdf8;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ---------- 顶栏 ---------- */
.topbar { position: sticky; top: 0; z-index: 50; background: #fffdf8; border-bottom: 3px solid var(--ink); }
.topbar-inner { max-width: var(--wrap); margin: 0 auto; padding: 15px 28px; display: flex; align-items: center; justify-content: space-between; }
.logo { font-size: 20px; font-weight: 900; color: var(--primary); }
.logo-region { font-size: 12px; font-weight: 700; margin-left: 6px; color: var(--accent); }
.topbar-tel { font-size: 15px; font-weight: 800; color: var(--ink); border: 2px solid var(--ink); padding: 6px 16px; border-radius: 999px; background: var(--c-yellow); }

/* ---------- 首屏（几何点缀） ---------- */
.hero { position: relative; padding: 90px 0 80px; background: var(--bg-soft); overflow: hidden; border-bottom: 3px solid var(--ink); }
.hero::before { content: ""; position: absolute; top: 40px; right: 8%; width: 90px; height: 90px; border: 6px solid var(--accent); border-radius: 50%; }
.hero::after { content: ""; position: absolute; bottom: 30px; left: 6%; width: 70px; height: 70px; background: var(--c-teal); transform: rotate(20deg); }
.hero .wrap { position: relative; z-index: 2; }
.hero-title { font-size: clamp(36px, 6vw, 70px); font-weight: 900; line-height: 1.05; }
.hero-title::after { content: ""; display: block; width: 120px; height: 12px; margin-top: 14px; background: repeating-linear-gradient(90deg, var(--primary) 0 12px, transparent 12px 24px); }
.hero-sub { margin-top: 22px; font-size: 18px; color: var(--muted); max-width: 600px; }
.hero-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-tags li { padding: 8px 18px; border: 2px solid var(--ink); border-radius: 999px; font-size: 14px; font-weight: 700; background: #fff; }
.hero-tags li:nth-child(3n+1) { background: var(--c-yellow); }
.hero-tags li:nth-child(3n+2) { background: var(--c-teal); color: #fff; }
.hero-tags li:nth-child(3n) { background: var(--accent); color: #fff; }
.btn { display: inline-block; margin-top: 32px; padding: 15px 44px; background: var(--primary); color: #fff; font-size: 16px; font-weight: 800; border: 2px solid var(--ink); border-radius: 999px; box-shadow: 5px 5px 0 var(--ink); transition: transform .18s, box-shadow .18s; }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--ink); }

/* ---------- 照片带 ---------- */
.bandsec { padding: 22px 0 0; }
.photoband { position: relative; width: 100%; overflow: hidden; min-height: 200px; border: 3px solid var(--ink); border-radius: 18px; box-shadow: 8px 8px 0 var(--c-yellow); }
.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%); z-index: 5; width: 42px; height: 42px; border: 2px solid var(--ink); border-radius: 50%; background: #fff; color: var(--ink); font-size: 20px; cursor: pointer; }
.photoband-prev { left: 14px; }
.photoband-next { right: 14px; }
.photoband-dots { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; gap: 8px; justify-content: center; z-index: 5; }
.photoband-dot { width: 10px; height: 10px; border: 2px solid #fff; border-radius: 50%; background: transparent; cursor: pointer; }
.photoband-dot.is-active { background: var(--c-yellow); border-color: var(--c-yellow); width: 24px; border-radius: 5px; }

/* ---------- 版块 ---------- */
.block { padding: 60px 0; }
.screen-soft { background: var(--bg-soft); }
.block-head { margin-bottom: 34px; }
.block-no { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 2px solid var(--ink); border-radius: 50%; background: var(--c-yellow); font-size: 15px; font-weight: 900; }
.block-title { margin-top: 14px; font-size: clamp(26px, 4vw, 44px); font-weight: 900; line-height: 1.1; }
.block-title::after { content: ""; display: block; width: 80px; height: 6px; background: var(--accent); margin-top: 10px; border-radius: 3px; }
.block-subtitle { margin-top: 12px; font-size: 15px; color: var(--muted); }

/* ---------- 段落 ---------- */
.prose { max-width: 68ch; font-size: 16px; color: #333; }
.about-local { margin-top: 16px; }
.about-local a { color: var(--primary); font-weight: 700; text-decoration: underline wavy var(--accent); }
.bizcard { max-width: 440px; margin-top: 24px; }
.bizcard img { width: 100%; border: 3px solid var(--ink); border-radius: 16px; box-shadow: 6px 6px 0 var(--c-teal); }

/* ---------- 指标 ---------- */
.stats { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 20px; }
.stat { border: 3px solid var(--ink); border-radius: 16px; padding: 24px 16px; text-align: center; background: #fff; }
.stat:nth-child(4n+1) { background: var(--c-yellow); }
.stat:nth-child(4n+2) { background: var(--c-teal); color: #fff; }
.stat:nth-child(4n+3) { background: var(--accent); color: #fff; }
.stat-value { display: block; font-size: clamp(34px, 5vw, 52px); font-weight: 900; line-height: 1; }
.stat-label { display: block; margin-top: 8px; font-size: 14px; font-weight: 600; }

/* ---------- 产品 ---------- */
.prod-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; }
.prod { border: 3px solid var(--ink); border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 5px 5px 0 var(--primary); transition: transform .18s; }
.prod:hover { transform: translate(-2px, -2px); }
.prod img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; border-bottom: 3px solid var(--ink); }
.prod-name { padding: 14px; font-size: 15px; font-weight: 800; }

/* ---------- 问答 ---------- */
.faq { list-style: none; display: grid; gap: 16px; }
.faq-item { border: 3px solid var(--ink); border-radius: 16px; padding: 20px 24px; background: #fff; }
.faq-q { font-size: 16px; font-weight: 800; }
.faq-q::before { content: "Q "; color: var(--accent); font-weight: 900; }
.faq-a { margin-top: 10px; color: var(--muted); font-size: 15px; }

/* ---------- 流程 ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 22px; }
.step { border: 3px solid var(--ink); border-radius: 16px; padding: 24px 18px; text-align: center; background: #fff; }
.step-no { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 20px; font-weight: 900; border: 3px solid var(--ink); }
.step:nth-child(even) .step-no { background: var(--accent); }
.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: 22px; }
.card-grid > * { flex: 1 1 210px; }


.card { border: 3px solid var(--ink); border-radius: 16px; padding: 26px 22px; background: #fff; box-shadow: 5px 5px 0 var(--c-teal); transition: transform .18s; }
.card:nth-child(3n+2) { box-shadow: 5px 5px 0 var(--c-yellow); }
.card:nth-child(3n) { box-shadow: 5px 5px 0 var(--accent); }
.card:hover { transform: translate(-2px, -2px); }
.card-title { font-size: 17px; font-weight: 800; }
.card-desc { margin-top: 10px; color: var(--muted); font-size: 15px; }

/* ---------- CTA ---------- */
.cta { padding: 66px 0; }
.cta .wrap { background: var(--c-yellow); border: 3px solid var(--ink); border-radius: 24px; padding: 46px 30px; text-align: center; box-shadow: 10px 10px 0 var(--ink); }
.cta-title { font-size: clamp(24px, 3.8vw, 40px); font-weight: 900; }
.cta-sub { margin-top: 12px; font-size: 16px; color: var(--muted); }
.cta-btn { background: var(--primary); color: #fff; box-shadow: 5px 5px 0 var(--ink); }

/* ---------- 页脚 ---------- */
.footer { background: var(--footer-bg); color: rgba(255,255,255,.8); padding: 48px 0 38px; }
.footer-name { font-size: 20px; font-weight: 900; color: #fff; }
.footer-desc { margin-top: 12px; font-size: 14px; opacity: .66; max-width: 60ch; }
.foot-sites { margin-top: 16px; font-size: 14px; }
.foot-sites a { color: var(--c-yellow); font-weight: 600; }
.footer-copy { margin-top: 18px; font-size: 13px; opacity: .5; }

/* ---------- 响应式 ---------- */
@media (max-width: 640px) {
  .hero::before, .hero::after { 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: 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: 16px;
}

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

.article-list-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  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 #e5e7eb;
}

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