:root {
  --primary: #0e7490;
  --primary-dark: #155e75;
  --accent: #e58f0c;
  --bg-soft: #f3f7f8;
  --footer-bg: #102a30;

  --text: #222831;
  --text-soft: #5d6670;
  --border: #e1e6ea;
  --radius: 8px;
  --wrap: 1100px;
  --topbar-h: 58px;
}

* { 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: #fff;
  line-height: 1.75;
  -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 22px;
}

/* ---------------- 细线顶栏：sticky ---------------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.topbar-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  height: var(--topbar-h);
}
.logo {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary-dark);
  white-space: nowrap;
}
.logo-region { font-size: 12px; font-weight: 600; color: var(--accent); margin-left: 8px; }
.nav {
  display: flex;
  gap: 2px;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav::-webkit-scrollbar { display: none; }
.nav-link {
  flex: none;
  font-size: 13px;
  color: var(--text-soft);
  padding: 6px 11px;
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover { color: var(--primary); background: var(--bg-soft); }
.topbar-tel {
  flex: none;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-dark);
  border: 1px solid var(--primary);
  border-radius: 999px;
  padding: 6px 15px;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}
.topbar-tel:hover { color: #fff; background: var(--primary); }

/* ---------------- 首屏：版心左对齐大标题区（纯文字） ---------------- */
.hero { padding: 64px 0 8px; }
.hero-kicker {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.hero-title {
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 800;
  line-height: 1.25;
  max-width: 880px;
}
.hero-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-top: 18px;
}
.hero-sub {
  font-size: 16px;
  color: var(--text-soft);
  max-width: 640px;
}
.btn {
  display: inline-block;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  background: var(--primary);
  border-radius: 999px;
  padding: 11px 30px;
  white-space: nowrap;
  transition: background 0.2s, transform 0.2s;
}
.btn:hover { background: var(--primary-dark); transform: translateY(-1px); }
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.hero-tags li {
  font-size: 12px;
  color: var(--text-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px 13px;
}

/* ---------------- 照片带：banner 轮播（版心宽居中） ----------------
   高随图，JS(fit) 两段式封顶：h = 容器宽×首图比例，上限 = 视口高 − 顶栏；
   min-height 仅作 JS 就位前占位，fit() 内会清零 */
.bandsec { padding-top: 40px; }
.photoband {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.photoband-track { position: absolute; inset: 0; }
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.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, 0.85);
  color: var(--text);
  font-size: 21px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s;
}
.photoband-arrow:hover { background: #fff; }
.photoband-prev { left: 16px; }
.photoband-next { right: 16px; }
.photoband-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 13px;
  z-index: 5;
  display: flex;
  justify-content: center;
  gap: 7px;
}
.photoband-dot {
  width: 22px;
  height: 4px;
  border: 0;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: background 0.2s;
}
.photoband-dot.is-active { background: var(--accent); }

/* ---------------- 版块流：左 1/3 sticky 标题栏 + 右 2/3 内容流 ---------------- */
main.wrap { padding-top: 24px; padding-bottom: 24px; }
.row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 48px;
  padding: 52px 0;
  border-bottom: 1px solid var(--border);
  scroll-margin-top: var(--topbar-h);
}
.row:last-child { border-bottom: 0; }
.row-head-stick {
  position: sticky;
  top: calc(var(--topbar-h) + 24px);
}
.row-no {
  display: block;
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--primary);
  margin-bottom: 12px;
}
.row-title {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.4;
}
.row-subtitle {
  font-size: 13px;
  color: var(--text-soft);
  margin-top: 8px;
}

/* 段落型 */
.prose { font-size: 15px; color: var(--text); }
.prose a { color: var(--primary); }
.prose a:hover { text-decoration: underline; }
.about-local { margin-top: 14px; color: var(--text-soft); font-size: 14px; }
/* 名片图：右栏窄列单列堆叠限尺寸 */
.bizcard {
  max-width: 460px;
  margin-top: 18px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.bizcard img { width: 100%; }

/* 指标型：双列左竖线大数字 */
.stats-grid {
  display: flex; flex-wrap: wrap;
  gap: 22px;
}
.stats-grid > * { flex: 1 1 200px; }
.stat {
  border-left: 3px solid var(--accent);
  padding: 4px 0 4px 18px;
}
.stat-value {
  display: block;
  font-size: 34px;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.2;
}
.stat-label {
  display: block;
  font-size: 13px;
  color: var(--text-soft);
  margin-top: 4px;
}

/* 产品型：三列简洁图卡 */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.prod {
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  transition: box-shadow 0.25s, transform 0.25s;
}
.prod:hover {
  transform: translateY(-3px);
  /* 阴影双行回退：不支持 color-mix 的浏览器用中性灰 */
  box-shadow: 0 10px 26px rgba(17, 24, 39, 0.09);
  box-shadow: 0 10px 26px color-mix(in srgb, var(--primary) 16%, transparent);
}
.prod-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-soft);
}
.prod-img img { width: 100%; height: 100%; object-fit: cover; }
.prod-name {
  font-size: 14px;
  font-weight: 700;
  padding: 11px 13px;
}

/* 问答型：左边框问答列表 */
.faq-list { display: grid; gap: 16px; }
.faq-item {
  border-left: 3px solid var(--primary);
  background: var(--bg-soft);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 15px 18px;
}
.faq-q { font-size: 15px; font-weight: 700; }
.faq-a { font-size: 14px; color: var(--text-soft); margin-top: 6px; }

/* 流程型：方块序号紧凑行（无连接线） */
.steps { display: grid; gap: 14px; }
.step {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 15px;
}
.step-no {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  background: var(--primary);
  border-radius: var(--radius);
}
.step-title { font-size: 16px; font-weight: 700; }
.step-desc { font-size: 14px; color: var(--text-soft); margin-top: 3px; }

/* 卡片型：双列浅底圆角块（无边框） */
.tile-grid {
  display: flex; flex-wrap: wrap;
  gap: 16px;
}
.tile-grid > * { flex: 1 1 210px; }
.tile {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 20px 20px 18px;
}
.tile-title { font-size: 16px; font-weight: 700; }
.tile-desc { font-size: 14px; color: var(--text-soft); margin-top: 7px; }

/* ---------------- CTA 带 ---------------- */
.cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  padding: 44px 0;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-title { font-size: 24px; font-weight: 800; }
.cta-sub { font-size: 14px; opacity: 0.82; margin-top: 4px; }
.cta-btn {
  color: var(--primary-dark);
  background: #fff;
  font-size: 18px;
}
.cta-btn:hover { background: var(--bg-soft); }

/* ---------------- 页脚 ---------------- */
.footer {
  background: var(--footer-bg);
  color: rgba(255, 255, 255, 0.72);
  padding: 40px 0 30px;
}
.footer-name { font-size: 17px; font-weight: 700; color: #fff; }
.footer-desc { font-size: 13px; margin-top: 8px; }
.foot-sites { font-size: 13px; margin-top: 14px; }
.foot-sites a { color: rgba(255, 255, 255, 0.85); }
.foot-sites a:hover { color: #fff; text-decoration: underline; }
.footer-copy { font-size: 12px; margin-top: 16px; opacity: 0.6; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 960px) {
  /* 两栏退化单列：标题栏变普通块 */
  .row { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 40px 0; }
  .row-head-stick { position: static; }
  .row-no { font-size: 34px; margin-bottom: 8px; }
  .prod-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .nav { display: none; }
  .topbar-inner { justify-content: space-between; }
  .hero { padding: 44px 0 4px; }
  .hero-row { flex-direction: column; align-items: flex-start; gap: 16px; }
  .prod-grid { grid-template-columns: minmax(0, 1fr); }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}

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