:root {
  --primary: #b91c1c;
  --primary-dark: #7f1d1d;
  --accent: #a16207;
  --bg-soft: #f3efe7;
  --footer-bg: #201d1a;
  --ink: #26221e;
  --muted: #7a7168;
  --line: #ddd5c7;
  --wrap: 1000px;
  --serif: "Songti SC", "SimSun", Georgia, "Times New Roman", serif;
}

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

.friend-links { display:none }

body {
  font-family: var(--serif);
  color: var(--ink);
  background: #faf7f0;
  line-height: 2;
  -webkit-font-smoothing: antialiased;
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 34px; }
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: rgba(250, 247, 240, .9); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.topbar-inner { max-width: var(--wrap); margin: 0 auto; padding: 20px 34px; display: flex; align-items: center; justify-content: space-between; }
.logo { font-size: 20px; font-weight: 700; letter-spacing: 4px; }
.logo-region { font-size: 12px; font-weight: 400; margin-left: 8px; color: var(--primary); letter-spacing: 1px; }
.topbar-tel { font-size: 15px; font-weight: 700; color: var(--primary); letter-spacing: 1px; }

/* ---------- 首屏 ---------- */
.hero { padding: 120px 0 96px; text-align: center; }
.hero-title { font-size: clamp(32px, 5vw, 58px); font-weight: 700; line-height: 1.5; letter-spacing: 6px; }
.hero-sub { margin-top: 30px; font-size: 17px; color: var(--muted); letter-spacing: 2px; max-width: 40ch; margin-left: auto; margin-right: auto; }
.hero-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 0; justify-content: center; margin-top: 40px; }
.hero-tags li { padding: 6px 22px; font-size: 14px; letter-spacing: 2px; color: var(--muted); border-right: 1px solid var(--line); }
.hero-tags li:last-child { border-right: 0; }
.btn { display: inline-block; margin-top: 46px; padding: 15px 52px; background: var(--primary); color: #faf7f0; font-size: 15px; font-weight: 700; letter-spacing: 4px; border-radius: 2px; transition: background .2s; }
.btn:hover { background: var(--primary-dark); }

/* ---------- 照片带 ---------- */
.bandsec { padding: 40px 0 0; }
.photoband { position: relative; width: 100%; overflow: hidden; min-height: 200px; }
.photoband-track { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s; }
.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: 1px solid rgba(255,255,255,.7); background: rgba(38,34,30,.4); color: #fff; font-size: 20px; cursor: pointer; border-radius: 2px; }
.photoband-prev { left: 16px; }
.photoband-next { right: 16px; }
.photoband-dots { position: absolute; bottom: 16px; left: 0; right: 0; display: flex; gap: 10px; justify-content: center; z-index: 5; }
.photoband-dot { width: 8px; height: 8px; border: none; border-radius: 50%; background: rgba(255,255,255,.6); cursor: pointer; }
.photoband-dot.is-active { background: var(--primary); }

/* ---------- 版块（竖排标题在左，内容在右） ---------- */
.block { padding: 80px 0; }
.screen-soft { background: var(--bg-soft); }
.block .wrap { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 40px; align-items: start; }
.block-head { position: relative; display: flex; flex-wrap: wrap; align-items: flex-start; }
.block-no { width: 100%; text-align: center; font-size: 13px; color: var(--primary); letter-spacing: 2px; margin-bottom: 14px; }
.block-title {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 700;
  letter-spacing: 6px;
  line-height: 1.4;
  border-right: 2px solid var(--primary);
  padding-right: 18px;
  min-height: 160px;
}
.block-subtitle { writing-mode: vertical-rl; margin-left: 14px; font-size: 13px; color: var(--muted); letter-spacing: 3px; }

/* 内容列 */
.block .wrap > :not(.block-head) { grid-column: 2; }

/* ---------- 段落 ---------- */
.prose { font-size: 16px; color: #3a352f; letter-spacing: 1px; }
.about-local { margin-top: 18px; }
.about-local a { color: var(--primary); border-bottom: 1px solid var(--primary); }
.bizcard { max-width: 420px; margin-top: 28px; }
.bizcard img { width: 100%; display: block; }

/* ---------- 指标 ---------- */
.stats { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 30px 20px; }
.stat { text-align: center; }
.stat-value { display: block; font-size: clamp(26px, 3.4vw, 38px); font-weight: 700; color: var(--primary); line-height: 1.1; }
.stat-label { display: block; margin-top: 12px; font-size: 14px; color: var(--muted); letter-spacing: 2px; }

/* ---------- 产品 ---------- */
.prod-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.prod img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.prod-name { padding: 14px 4px; font-size: 15px; font-weight: 700; text-align: center; letter-spacing: 1px; border-bottom: 1px solid var(--line); }

/* ---------- 问答 ---------- */
.faq { list-style: none; }
.faq-item { padding: 24px 0; border-bottom: 1px solid var(--line); }
.faq-q { font-size: 17px; font-weight: 700; letter-spacing: 1px; }
.faq-q::before { content: "問  "; color: var(--primary); }
.faq-a { margin-top: 8px; color: var(--muted); font-size: 15px; }
.faq-a::before { content: "答  "; color: var(--accent); }

/* ---------- 流程 ---------- */
.steps { list-style: none; display: grid; gap: 0; }
.step { display: grid; grid-template-columns: 60px 1fr; gap: 24px; align-items: baseline; padding: 24px 0; border-bottom: 1px solid var(--line); }
.step-no { font-size: 30px; font-weight: 700; color: var(--primary); }
.step-title { font-size: 18px; font-weight: 700; letter-spacing: 1px; }
.step-desc { color: var(--muted); font-size: 15px; grid-column: 2; }

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


.card { border-top: 2px solid var(--primary); padding: 22px 4px 0; }
.card-title { font-size: 17px; font-weight: 700; letter-spacing: 1px; }
.card-desc { margin-top: 10px; color: var(--muted); font-size: 15px; }

/* ---------- CTA ---------- */
.cta { padding: 96px 0; text-align: center; background: var(--bg-soft); }
.cta .wrap { display: block; }
.cta-title { font-size: clamp(26px, 4vw, 42px); font-weight: 700; letter-spacing: 4px; }
.cta-sub { margin-top: 16px; font-size: 16px; color: var(--muted); letter-spacing: 2px; }
.cta-btn { margin-top: 34px; }

/* ---------- 页脚 ---------- */
.footer { background: var(--footer-bg); color: rgba(250,247,240,.8); padding: 56px 0 42px; text-align: center; }
.footer .wrap { display: block; }
.footer-name { font-size: 20px; font-weight: 700; letter-spacing: 4px; color: #faf7f0; }
.footer-desc { margin-top: 14px; font-size: 14px; opacity: .68; letter-spacing: 1px; max-width: 44ch; margin-left: auto; margin-right: auto; }
.foot-sites { margin-top: 18px; font-size: 14px; letter-spacing: 1px; }
.foot-sites a { color: #d97706; }
.footer-copy { margin-top: 20px; font-size: 13px; opacity: .55; letter-spacing: 1px; }

/* ---------- 响应式：窄屏标题转横排 ---------- */
@media (max-width: 700px) {
  .block .wrap { grid-template-columns: 1fr; gap: 20px; }
  .block .wrap > :not(.block-head) { grid-column: 1; }
  .block-head { display: block; }
  .block-no { text-align: left; margin-bottom: 14px; }
  .block-title { writing-mode: horizontal-tb; border-right: 0; border-bottom: 2px solid var(--primary); padding-right: 0; padding-bottom: 12px; min-height: 0; }
  .block-subtitle { writing-mode: horizontal-tb; margin: 14px 0 0; }
}

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