:root {
  --primary: #e10600;
  --primary-dark: #b00500;
  --accent: #111111;
  --bg-soft: #f4f4f4;
  --footer-bg: #111111;
  --ink: #111111;
  --muted: #6b6b6b;
  --line: #111111;
  --wrap: 1140px;
}

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

.friend-links { display:none }

body {
  font-family: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* 取消整屏 snap，改常规块 */
.screen { min-height: auto; display: block; padding: 0; }
.scroll-hint { display: none; }
.dots { display: none; }

/* ---------- 顶栏（固定黑边横条） ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  border-bottom: 2px solid var(--line);
}
.topbar-inner {
  max-width: var(--wrap); margin: 0 auto;
  padding: 18px 32px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo { font-size: 19px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--ink); }
.logo-region { font-size: 12px; font-weight: 500; margin-left: 8px; color: var(--primary); letter-spacing: 0; }
.topbar-tel { font-size: 15px; font-weight: 700; color: var(--primary); }

/* ---------- 首屏 ---------- */
.hero { border-bottom: 2px solid var(--line); padding: 90px 0 70px; }
.hero-title {
  font-size: clamp(40px, 7vw, 88px);
  font-weight: 800; line-height: .98;
  letter-spacing: -2px; text-transform: uppercase;
  white-space: nowrap;
}
.hero-sub {
  margin-top: 28px; font-size: 18px; color: var(--muted);
  max-width: 60ch; border-left: 4px solid var(--primary); padding-left: 20px;
}
.hero-tags { list-style: none; display: flex; width: fit-content; max-width: 100%; flex-wrap: wrap; gap: 0; margin-top: 34px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.hero-tags li {
  padding: 12px 22px; font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.btn {
  display: inline-block; margin-top: 36px;
  padding: 16px 44px; background: var(--primary); color: #fff;
  font-size: 15px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px;
  border: 2px solid var(--primary); transition: background .15s, color .15s;
}
.btn:hover { background: #fff; color: var(--primary); }

/* ---------- 照片带 ---------- */
.bandsec { padding: 0; border-bottom: 2px solid var(--line); }
.photoband { position: relative; width: 100%; overflow: hidden; min-height: 200px; border: 2px solid var(--line); }
.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: 44px; height: 44px; border: 2px solid #fff;
  background: var(--primary); color: #fff; font-size: 22px; cursor: pointer;
}
.photoband-prev { left: 16px; }
.photoband-next { right: 16px; }
.photoband-dots { position: absolute; bottom: 16px; left: 0; right: 0; display: flex; gap: 8px; justify-content: center; z-index: 5; }
.photoband-dot { width: 14px; height: 6px; border: none; background: rgba(255,255,255,.6); cursor: pointer; }
.photoband-dot.is-active { background: var(--primary); width: 28px; }

/* ---------- 版块（网格） ---------- */
.block { padding: 70px 0; border-bottom: 1px solid var(--line); }
.screen-soft { background: var(--bg-soft); }
.block-head { display: grid; grid-template-columns: 120px 1fr; gap: 24px; align-items: baseline; margin-bottom: 44px; }
.block-no { font-size: 15px; font-weight: 800; color: var(--primary); }
.block-title { font-size: clamp(26px, 3.4vw, 44px); font-weight: 800; text-transform: uppercase; letter-spacing: -1px; }
.block-subtitle { grid-column: 2; font-size: 15px; color: var(--muted); margin-top: -30px; }

/* ---------- 段落 ---------- */
.prose { max-width: 68ch; font-size: 16px; color: #333; margin-left: 144px; }
.about-local { margin-top: 18px; }
.about-local a { color: var(--primary); font-weight: 700; border-bottom: 1px solid var(--primary); }
.bizcard { max-width: 420px; margin: 30px 0 0 144px; }
.bizcard img { width: 100%; border: 2px solid var(--line); display: block; }

/* ---------- 指标 ---------- */
.stats { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); border-top: 2px solid var(--line); border-left: 1px solid var(--line); }
.stat { padding: 30px 24px; border-right: 1px solid var(--line); border-bottom: 2px solid var(--line); }
.stat-value { display: block; font-size: clamp(32px, 4.2vw, 52px); font-weight: 800; line-height: 1; }
.stat-label { display: block; margin-top: 10px; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); }

/* ---------- 产品 ---------- */
.prod-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.prod { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.prod img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; border-bottom: 1px solid var(--line); }
.prod-name { padding: 16px; font-size: 16px; font-weight: 700; }

/* ---------- 问答 ---------- */
.faq { list-style: none; border-top: 1px solid var(--line); }
.faq-item { padding: 24px 0 24px 144px; border-bottom: 1px solid var(--line); position: relative; }
.faq-q { font-size: 17px; font-weight: 800; }
.faq-q::before { content: "Q"; position: absolute; left: 0; color: var(--primary); font-size: 24px; }
.faq-a { margin-top: 10px; color: var(--muted); font-size: 15px; }

/* ---------- 流程 ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.step { padding: 28px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.step-no { font-size: 40px; font-weight: 800; color: var(--primary); line-height: 1; }
.step-title { margin-top: 14px; font-size: 18px; font-weight: 800; text-transform: uppercase; }
.step-desc { margin-top: 8px; color: var(--muted); font-size: 14px; }

/* ---------- 卡片 ---------- */
.card-grid { list-style: none; display: flex; flex-wrap: wrap; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.card-grid > * { flex: 1 1 210px; }


.card { padding: 28px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .15s; }
.card:hover { background: var(--bg-soft); }
.card-title { font-size: 18px; font-weight: 800; }
.card-title::before { content: "→ "; color: var(--primary); }
.card-desc { margin-top: 10px; color: var(--muted); font-size: 15px; }

/* ---------- CTA ---------- */
.cta { padding: 80px 0; background: var(--primary); color: #fff; }
.cta-title { font-size: clamp(28px, 4vw, 48px); font-weight: 800; text-transform: uppercase; letter-spacing: -1px; }
.cta-sub { margin-top: 14px; font-size: 16px; opacity: .9; }
.cta-btn { background: #fff; color: var(--primary); border-color: #fff; }
.cta-btn:hover { background: transparent; color: #fff; }

/* ---------- 页脚 ---------- */
.footer { background: var(--footer-bg); color: rgba(255,255,255,.8); padding: 54px 0 40px; }
.footer-name { font-size: 20px; font-weight: 800; text-transform: uppercase; color: #fff; }
.footer-desc { margin-top: 12px; font-size: 14px; opacity: .65; max-width: 60ch; }
.foot-sites { margin-top: 18px; font-size: 14px; }
.foot-sites a { color: #fff; border-bottom: 1px solid var(--primary); }
.footer-copy { margin-top: 20px; font-size: 13px; opacity: .5; }

/* ---------- 响应式 ---------- */
@media (max-width: 720px) {
  .block-head { grid-template-columns: 1fr; gap: 4px; }
  .block-subtitle { grid-column: 1; margin-top: 0; }
  .prose, .bizcard { margin-left: 0; }
  .faq-item { padding-left: 32px; }
}

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

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