:root {
  --primary: #d97706;
  --primary-dark: #b45309;
  --accent: #0ea5e9;
  --bg-soft: #fdf7ec;
  --footer-bg: #44362a;
  --ink: #44362a;
  --muted: #8a7a68;
  --line: #eadfcd;
  --tape: rgba(250, 204, 21, .55);
  --wrap: 1060px;
}

* { 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: #faf4e8 radial-gradient(rgba(68, 54, 42, .05) 1px, transparent 1px);
  background-size: 22px 22px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

/* ---------- 顶栏 ---------- */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(250, 244, 232, .92); backdrop-filter: blur(8px); border-bottom: 2px dashed var(--line); }
.topbar-inner { max-width: var(--wrap); margin: 0 auto; padding: 14px 26px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.logo { font-size: 20px; font-weight: 800; }
.logo-region { display: inline-block; white-space: nowrap; font-size: 12px; font-weight: 700; margin-left: 8px; padding: 2px 10px; background: var(--tape); border-radius: 4px; transform: rotate(-3deg); }
.nav { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 14px; }
.nav a { color: var(--muted); font-weight: 600; padding: 2px 4px; }
.nav a:hover { color: var(--primary); background: var(--tape); border-radius: 4px; }
.topbar-tel { font-size: 15px; font-weight: 800; color: #fff; background: var(--primary); padding: 8px 18px; border-radius: 10px 14px 10px 14px; box-shadow: 2px 3px 0 rgba(68, 54, 42, .25); }

/* ---------- 首屏（大便签卡） ---------- */
.hero { padding: 72px 0 56px; }
.hero-box { position: relative; background: #fff; border-radius: 6px; padding: 56px 48px; box-shadow: 0 10px 28px rgba(68, 54, 42, .12); transform: rotate(-.6deg); }
.hero-box::before { content: ""; position: absolute; top: -16px; left: 50%; width: 150px; height: 32px; margin-left: -75px; background: var(--tape); transform: rotate(-2deg); border-radius: 2px; }
.hero-title { font-size: clamp(32px, 5vw, 56px); font-weight: 900; line-height: 1.15; }
.hero-sub { margin-top: 18px; font-size: 17px; color: var(--muted); max-width: 620px; }
.hero-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.hero-tags li { padding: 7px 16px; font-size: 13px; font-weight: 700; background: var(--bg-soft); border: 1px dashed var(--primary); border-radius: 4px; transform: rotate(-1.5deg); }
.hero-tags li:nth-child(even) { transform: rotate(1.5deg); border-color: var(--accent); }
.btn { display: inline-block; margin-top: 30px; padding: 14px 40px; background: var(--primary); color: #fff; font-size: 16px; font-weight: 800; border-radius: 10px 14px 10px 14px; box-shadow: 3px 4px 0 rgba(68, 54, 42, .25); transition: transform .18s; }
.btn:hover { transform: translateY(-2px) rotate(-1deg); }

/* ---------- 照片带（相片贴纸框） ---------- */
.bandsec { padding: 6px 0 0; }
.photoband { position: relative; width: 100%; overflow: hidden; min-height: 200px; background: #fff; border: 10px solid #fff; border-radius: 4px; box-shadow: 0 10px 24px rgba(68, 54, 42, .16); transform: rotate(.5deg); }
.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: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--ink); font-size: 20px; cursor: pointer; box-shadow: 0 2px 8px rgba(68, 54, 42, .25); }
.photoband-prev { left: 14px; }
.photoband-next { right: 14px; }
.photoband-dots { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; gap: 8px; justify-content: center; z-index: 5; }
.photoband-dot { width: 10px; height: 10px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .7); cursor: pointer; }
.photoband-dot.is-active { background: var(--primary); }

/* ---------- 版块 ---------- */
.block { padding: 64px 0; }
.block-alt { background: var(--bg-soft); }
.block-head { position: relative; display: inline-block; margin-bottom: 34px; padding: 14px 26px 14px 18px; background: #fff; border-radius: 4px; box-shadow: 0 6px 16px rgba(68, 54, 42, .1); transform: rotate(-.8deg); }
.deco { position: absolute; top: -12px; left: 22px; width: 82px; height: 24px; background: var(--tape); transform: rotate(-3deg); border-radius: 2px; }
.block-no { font-size: 13px; font-weight: 900; color: var(--accent); letter-spacing: 1px; }
.block-title { margin-top: 4px; font-size: clamp(24px, 3.4vw, 38px); font-weight: 900; line-height: 1.15; }
.block-subtitle { margin-top: 8px; font-size: 14px; color: var(--muted); }

/* ---------- 段落 ---------- */
.prose { max-width: 68ch; font-size: 16px; color: #5b4c3d; }
.about-local { margin-top: 16px; }
.about-local a { color: var(--accent); font-weight: 700; border-bottom: 2px dashed var(--accent); }
.bizcard { position: relative; max-width: 430px; margin-top: 26px; background: #fff; padding: 10px; border-radius: 4px; box-shadow: 0 8px 20px rgba(68, 54, 42, .14); transform: rotate(1deg); }
.bizcard::before { content: ""; position: absolute; top: -12px; right: 26px; width: 90px; height: 24px; background: var(--tape); transform: rotate(3deg); border-radius: 2px; }
.bizcard img { width: 100%; display: block; border-radius: 2px; }

/* ---------- 指标（便签块） ---------- */
.stats { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 18px; }
.stat { background: #fef9c3; padding: 24px 16px; text-align: center; border-radius: 4px; box-shadow: 2px 4px 10px rgba(68, 54, 42, .12); transform: rotate(-1deg); }
.stat:nth-child(even) { background: #e0f2fe; transform: rotate(1deg); }
.stat-value { display: block; font-size: clamp(30px, 4.4vw, 46px); font-weight: 900; color: var(--primary-dark); line-height: 1.05; }
.stat-label { display: block; margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--muted); }

/* ---------- 产品（相片卡） ---------- */
.prod-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.prod { background: #fff; padding: 10px 10px 0; border-radius: 4px; box-shadow: 0 8px 18px rgba(68, 54, 42, .12); transform: rotate(-.8deg); transition: transform .18s; }
.prod:nth-child(even) { transform: rotate(.8deg); }
.prod:hover { transform: rotate(0) translateY(-4px); }
.prod img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; border-radius: 2px; }
.prod-name { padding: 12px 4px; font-size: 15px; font-weight: 700; text-align: center; }

/* ---------- 问答（便签条） ---------- */
.faq { list-style: none; display: grid; gap: 16px; max-width: 820px; }
.faq-item { background: #fff; padding: 20px 24px; border-radius: 4px; border-left: 6px solid var(--tape); box-shadow: 0 5px 14px rgba(68, 54, 42, .1); }
.faq-q { font-size: 16px; font-weight: 800; }
.faq-a { margin-top: 8px; color: var(--muted); font-size: 15px; }

/* ---------- 流程（圆贴纸编号） ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 22px; }
.step { background: #fff; padding: 26px 18px; text-align: center; border-radius: 4px; box-shadow: 0 6px 16px rgba(68, 54, 42, .1); transform: rotate(-.6deg); }
.step:nth-child(even) { transform: rotate(.6deg); }
.step-no { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 19px; font-weight: 900; box-shadow: 2px 3px 0 rgba(68, 54, 42, .2); }
.step-title { margin-top: 14px; font-size: 17px; font-weight: 800; }
.step-desc { margin-top: 6px; 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 { position: relative; background: #fff; padding: 28px 22px 24px; border-radius: 4px; box-shadow: 0 6px 16px rgba(68, 54, 42, .1); transform: rotate(-.7deg); transition: transform .18s; }
.card:nth-child(even) { transform: rotate(.7deg); }
.card:hover { transform: rotate(0) translateY(-4px); }
.card::before { content: ""; position: absolute; top: -10px; left: 50%; width: 70px; height: 20px; margin-left: -35px; background: var(--tape); transform: rotate(-2deg); border-radius: 2px; }
.card-title { font-size: 17px; font-weight: 800; }
.card-desc { margin-top: 10px; color: var(--muted); font-size: 15px; }

/* ---------- CTA（大胶带横幅） ---------- */
.cta { padding: 70px 0; }
.cta .wrap { position: relative; background: #fff; border-radius: 6px; padding: 48px 30px; text-align: center; box-shadow: 0 10px 26px rgba(68, 54, 42, .14); transform: rotate(.4deg); }
.cta .wrap::before { content: ""; position: absolute; top: -14px; left: 8%; width: 120px; height: 28px; background: var(--tape); transform: rotate(-3deg); border-radius: 2px; }
.cta .wrap::after { content: ""; position: absolute; bottom: -14px; right: 8%; width: 120px; height: 28px; background: var(--tape); transform: rotate(3deg); border-radius: 2px; }
.cta-title { font-size: clamp(24px, 3.6vw, 38px); font-weight: 900; }
.cta-sub { margin-top: 10px; font-size: 15px; color: var(--muted); }
.cta-btn { margin-top: 26px; }

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

/* ---------- 响应式 ---------- */
@media (max-width: 720px) {
  .nav { display: none; }
  .hero-box { padding: 40px 24px; }
  .hero-tags li, .hero-tags li:nth-child(even), .stat, .stat:nth-child(even), .prod, .prod:nth-child(even), .card, .card:nth-child(even), .step, .step:nth-child(even), .hero-box, .photoband, .block-head, .bizcard, .cta .wrap { transform: 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: 4px;
}

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