:root {
  --primary: #0e7490;
  --primary-dark: #155e75;
  --accent: #f59e0b;
  --bg-soft: #f0f7f9;
  --footer-bg: #0c2b33;

  --text: #22292e;
  --text-soft: #5c6970;
  --border: #dde5e8;
  --radius: 8px;
  --wrap: 1200px;
  --navbar-h: 62px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
.friend-links { display:none }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: #f6f8f9;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

.btn {
  display: inline-block;
  padding: 11px 30px;
  border-radius: var(--radius);
  background: var(--accent);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
  transition: filter 0.2s, transform 0.2s;
}
.btn:hover { filter: brightness(0.92); transform: translateY(-1px); }

/* ---------------- 双层顶栏 ---------------- */
.topstrip { background: var(--primary-dark); color: rgba(255, 255, 255, 0.85); font-size: 13px; }
.topstrip-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 7px;
  padding-bottom: 7px;
}
.topstrip-tel { font-weight: 600; color: #fff; }

.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 10px rgba(15, 30, 40, 0.05);
}
.navbar-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  height: var(--navbar-h);
}
.logo { font-size: 21px; font-weight: 700; white-space: nowrap; }
.logo-region { margin-left: 8px; color: var(--primary); font-size: 16px; }
.nav {
  display: flex;
  gap: 4px;
  flex: 1;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}
.nav::-webkit-scrollbar { display: none; }
.nav-link {
  padding: 8px 14px;
  font-size: 15px;
  color: var(--text-soft);
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover { color: var(--primary); background: var(--bg-soft); }
.nav-cta {
  padding: 9px 20px;
  border-radius: var(--radius);
  background: var(--primary);
  color: #fff;
  font-size: 14px;
  white-space: nowrap;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--primary-dark); }

/* ---------------- 照片带（版心宽居中） ----------------
   高随图，JS(fit) 两段式封顶：h = 容器宽×首图比例，上限 = 视口高 − 导航行；
   min-height 仅作 JS 就位前占位，fit() 内会清零 */
.bandsec { padding-top: 24px; }
.photoband {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.photoband-track, .slide { position: absolute; inset: 0; }
.slide { opacity: 0; transition: opacity 0.6s ease; }
.slide.is-active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.band-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 8;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(12, 30, 40, 0.32);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s;
}
.band-arrow:hover { background: rgba(12, 30, 40, 0.58); }
.band-arrow.prev { left: 18px; }
.band-arrow.next { right: 18px; }
.band-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  z-index: 8;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.band-dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.band-dot.is-active { background: #fff; transform: scale(1.2); }

/* ---------------- Hero 横幅条（版心宽居中圆角色块） ---------------- */
.herostrip { padding-top: 24px; }
.herostrip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
  padding: 30px 28px;
  background: linear-gradient(120deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-radius: var(--radius);
}
.hero-title { font-size: clamp(22px, 2.8vw, 32px); font-weight: 700; margin-bottom: 8px; }
.hero-sub { font-size: 15px; color: rgba(255, 255, 255, 0.85); }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 12px; }
.hero-tags li {
  font-size: 13px;
  padding: 3px 12px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.92);
}
.hero-cta { flex-shrink: 0; }

/* ---------------- 主体：左主列 + 右侧栏 ---------------- */
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
  align-items: start;
  padding-top: 24px;
  padding-bottom: 40px;
}
.main { display: grid; gap: 24px; min-width: 0; }

/* 面板卡：白卡 + 标题头左色条 */
.panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  scroll-margin-top: calc(var(--navbar-h) + 10px);
}
.panel-head {
  padding: 16px 22px;
  border-bottom: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  background: linear-gradient(90deg, var(--bg-soft), #fff 70%);
}
.panel-title { font-size: 19px; font-weight: 700; }
.panel-subtitle { font-size: 13px; color: var(--text-soft); margin-top: 2px; }
.panel-body { padding: 22px; }

/* ---- 段落 / 关于 ---- */
.prose { font-size: 15px; line-height: 2; color: var(--text-soft); }
.prose p + p { margin-top: 12px; }
.prose a { color: var(--primary); }
.prose a:hover { text-decoration: underline; }
.bizcard {
  max-width: 460px;
  margin: 18px 0 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.bizcard img { width: 100%; }
.about-local { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--border); }

/* ---- stats：横排格 ---- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 14px;
}
.stat {
  background: var(--bg-soft);
  border-radius: var(--radius);
  text-align: center;
  padding: 20px 12px;
}
.stat-value { display: block; font-size: clamp(24px, 2.6vw, 34px); font-weight: 700; color: var(--primary); line-height: 1.3; }
.stat-label { font-size: 13px; color: var(--text-soft); }

/* ---- products：双列图卡 ---- */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.prod {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.prod:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(15, 30, 40, 0.1);
  box-shadow: 0 12px 28px color-mix(in srgb, var(--primary) 18%, transparent);
}
.prod-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft); }
.prod-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.prod:hover .prod-img img { transform: scale(1.05); }
.prod-name {
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---- faq：列表 ---- */
.faq-list { display: grid; gap: 12px; }
.faq-item {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 14px 18px;
}
.faq-q { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.faq-q::before { content: "Q. "; color: var(--primary); }
.faq-a { font-size: 14px; color: var(--text-soft); line-height: 1.9; }
.faq-a::before { content: "A. "; color: var(--accent); font-weight: 700; }

/* ---- process：竖向编号列表 + 左侧竖线 ---- */
.timeline { position: relative; padding-left: 8px; }
.tl-item { position: relative; display: flex; gap: 16px; padding: 0 0 22px 0; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 36px;
  bottom: -2px;
  width: 2px;
  background: var(--border);
}
.tl-item:last-child::before { display: none; }
.tl-no {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}
.tl-title { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.tl-desc { font-size: 14px; color: var(--text-soft); line-height: 1.8; }

/* ---- 卡片型：双列小卡 ---- */
.mini-grid {
  display: flex; flex-wrap: wrap;
  gap: 16px;
}
.mini-grid > * { flex: 1 1 210px; }
.mini {
  background: var(--bg-soft);
  border-radius: var(--radius);
  border-left: 3px solid var(--accent);
  padding: 16px 18px;
}
.mini-title { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.mini-desc { font-size: 14px; color: var(--text-soft); line-height: 1.9; }

/* ---------------- 右侧栏 ---------------- */
.side { min-width: 0; }
.side-stick {
  position: sticky;
  top: calc(var(--navbar-h) + 16px);
  display: grid;
  gap: 16px;
}
.widget {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.widget-title {
  font-size: 15px;
  font-weight: 700;
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 2px solid var(--primary);
}
.widget-contact { background: linear-gradient(150deg, var(--primary), var(--primary-dark)); border: 0; color: #fff; text-align: center; }
.widget-contact-label { font-size: 13px; color: rgba(255, 255, 255, 0.8); }
.widget-contact-tel { display: block; font-size: 24px; font-weight: 700; margin: 6px 0 14px; color: #fff; }
.widget-contact-btn { display: block; }
.widget-toc { display: grid; gap: 2px; }
.widget-toc a {
  display: block;
  padding: 8px 10px;
  font-size: 14px;
  color: var(--text-soft);
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
.widget-toc a:hover { color: var(--primary); background: var(--bg-soft); }
.widget-toc a::before { content: "› "; color: var(--primary); }
.widget-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.widget-tags a,
.widget-tags span {
  padding: 4px 12px;
  font-size: 13px;
  color: var(--text-soft);
  background: var(--bg-soft);
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}
.widget-tags a:hover { color: #fff; background: var(--primary); }

/* ---------------- 页脚 ---------------- */
.footer { background: var(--footer-bg); color: rgba(255, 255, 255, 0.7); padding: 40px 0; }
.footer-inner { text-align: center; }
.footer-name { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.footer-desc { font-size: 13px; line-height: 1.9; max-width: 720px; margin: 0 auto 14px; }
.foot-sites { font-size: 13px; line-height: 2; margin-bottom: 12px; }
.foot-sites a { color: rgba(255, 255, 255, 0.7); }
.foot-sites a:hover { color: #fff; text-decoration: underline; }
.footer-copy { font-size: 12px; color: rgba(255, 255, 255, 0.45); }

/* ---------------- 响应式 ---------------- */
@media (max-width: 960px) {
  .topstrip { display: none; }
  .layout { grid-template-columns: 1fr; }
  .side-stick { position: static; }
  .photoband { min-height: 200px; }
}
@media (max-width: 640px) {
  .navbar-inner { gap: 12px; }
  .nav-cta { display: none; }
  .herostrip-inner { flex-direction: column; align-items: flex-start; }
  .panel-body { padding: 16px; }
  .prod-grid { grid-template-columns: 1fr; }
  .photoband { min-height: 150px; }
}

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

.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(--border);
  border-radius: 6px;
  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(--border);
}

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