:root {
  --primary: #0d9488;
  --primary-dark: #0f766e;
  --accent: #f59e0b;
  --bg-soft: #f0fdfa;
  --footer-bg: #042f2e;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --wrap: 1080px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
}

.friend-links { display:none }

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

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

.center { text-align: center; }

a { color: inherit; text-decoration: none; }

/* ---------- fixed 顶行 ---------- */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  /* 行业色深底（palette 注入会覆盖 --footer-bg），color-mix 不支持时降级实底 */
  background: var(--footer-bg);
  background: color-mix(in srgb, var(--footer-bg) 85%, transparent);
  backdrop-filter: blur(6px);
}
.topbar-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
}
.logo-region {
  font-size: 12px;
  font-weight: 600;
  margin-left: 6px;
  opacity: .8;
}
.topbar-tel {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

/* ---------- 右侧屏点指示器 ---------- */
.dots {
  position: fixed;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.dots a {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .5px;
  color: var(--muted);
  opacity: .55;
  transition: all .2s;
  mix-blend-mode: difference;
}
.dots a:hover {
  opacity: 1;
  color: var(--accent);
  transform: scale(1.25);
}

/* ---------- 整屏通用 ---------- */
.screen {
  min-height: 100vh;
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  padding: 96px 0;
}
.screen-soft { background: var(--bg-soft); }

/* ---------- 首屏 ---------- */
.hero {
  background:
    radial-gradient(1000px 600px at 70% 20%, rgba(13, 148, 136, .16), transparent),
    linear-gradient(160deg, #ffffff, var(--bg-soft));
}
.hero-title {
  font-size: clamp(38px, 6vw, 72px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1px;
  color: var(--primary-dark);
}
.hero-sub {
  margin-top: 22px;
  font-size: clamp(16px, 2vw, 21px);
  color: var(--muted);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.hero-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 30px;
}
.hero-tags li {
  padding: 9px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-dark);
  box-shadow: 0 6px 18px rgba(13, 148, 136, .08);
}
.btn {
  display: inline-block;
  margin-top: 38px;
  padding: 16px 46px;
  background: var(--primary);
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  border-radius: 999px;
  box-shadow: 0 14px 34px rgba(13, 148, 136, .34);
  transition: transform .2s, box-shadow .2s;
}
.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 44px rgba(13, 148, 136, .44);
}
.scroll-hint {
  display: block;
  width: 16px;
  height: 16px;
  margin: 54px auto 0;
  border-right: 3px solid var(--primary);
  border-bottom: 3px solid var(--primary);
  transform: rotate(45deg);
  animation: bounce 1.8s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0) rotate(45deg); opacity: .5; }
  50% { transform: translateY(10px) rotate(45deg); opacity: 1; }
}

/* ---------- 照片带屏 ---------- */
.bandsec { background: #0b1220; }
.photoband {
  position: relative;
  width: 100%;
  overflow: hidden;
  min-height: 220px;
  border-radius: 18px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .5);
}
.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: 46px; height: 46px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, .4);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}
.photoband-prev { left: 16px; }
.photoband-next { right: 16px; }
.photoband-dots {
  position: absolute;
  bottom: 16px; left: 0; right: 0;
  display: flex;
  gap: 9px;
  justify-content: center;
  z-index: 5;
}
.photoband-dot {
  width: 10px; height: 10px;
  border: none; border-radius: 50%;
  background: rgba(255, 255, 255, .5);
  cursor: pointer;
}
.photoband-dot.is-active { background: var(--accent); width: 26px; border-radius: 6px; }

/* ---------- 版块头 ---------- */
.block { text-align: center; }
.block .wrap { width: 100%; }
.block-head { margin-bottom: 48px; }
.block-no {
  display: block;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 3px;
  color: var(--accent);
}
.block-title {
  margin-top: 10px;
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -.5px;
}
.block-subtitle {
  margin-top: 14px;
  font-size: 16px;
  color: var(--muted);
}

/* ---------- 段落型 ---------- */
.prose {
  max-width: 760px;
  margin: 0 auto;
  font-size: 16px;
  color: #334155;
}
.about-local { margin-top: 20px; }
.about-local a { color: var(--primary); font-weight: 600; }
.bizcard {
  max-width: 420px;
  margin: 34px auto 0;
}
.bizcard img {
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 20px 44px rgba(0, 0, 0, .12);
}

/* ---------- 指标型 ---------- */
.stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 28px;
  width: 100%;
}
.stat-value {
  display: block;
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}
.stat-label {
  display: block;
  margin-top: 10px;
  font-size: 15px;
  color: var(--muted);
}

/* ---------- 产品型 ---------- */
.prod-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  width: 100%;
}
.prod {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .06);
  transition: transform .2s;
}
.prod:hover { transform: translateY(-6px); }
.prod img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.prod-name {
  padding: 16px;
  font-size: 16px;
  font-weight: 700;
}

/* ---------- 问答型 ---------- */
.faq {
  list-style: none;
  max-width: 760px;
  margin: 0 auto;
  text-align: left;
  display: grid;
  gap: 18px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 26px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .05);
}
.faq-q {
  font-size: 17px;
  font-weight: 800;
  color: var(--primary-dark);
}
.faq-q::before { content: "Q "; color: var(--accent); }
.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));
  gap: 30px;
  width: 100%;
}
.step-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px; height: 62px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 22px;
  font-weight: 900;
}
.step-title { margin-top: 16px; font-size: 18px; font-weight: 800; }
.step-desc { margin-top: 8px; color: var(--muted); font-size: 14px; }

/* ---------- 卡片型 ---------- */
.card-grid {
  list-style: none;
  display: flex; flex-wrap: wrap;
  gap: 24px;
  width: 100%;
  text-align: left;
}
.card-grid > * { flex: 1 1 210px; }


.card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--primary);
  border-radius: 14px;
  padding: 26px 24px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .06);
  transition: transform .2s;
}
.card:hover { transform: translateY(-6px); }
.card-title { font-size: 18px; font-weight: 800; color: var(--ink); }
.card-desc { margin-top: 10px; color: var(--muted); font-size: 15px; }

/* ---------- CTA 屏 ---------- */
.cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
}
.cta-title { font-size: clamp(26px, 4vw, 42px); font-weight: 900; }
.cta-sub { margin-top: 14px; font-size: 16px; opacity: .85; }
.cta-btn {
  background: #fff;
  color: var(--primary-dark);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .28);
}
.cta-btn:hover { box-shadow: 0 20px 44px rgba(0, 0, 0, .36); }

/* ---------- 页脚 ---------- */
.footer {
  background: var(--footer-bg);
  color: rgba(255, 255, 255, .82);
  padding: 54px 0 40px;
  text-align: center;
  scroll-snap-align: start;
}
.footer-name { font-size: 22px; font-weight: 800; color: #fff; }
.footer-desc { margin-top: 12px; font-size: 14px; opacity: .7; max-width: 640px; margin-left: auto; margin-right: auto; }
.foot-sites { margin-top: 18px; font-size: 14px; }
.foot-sites a { color: var(--accent); }
.footer-copy { margin-top: 20px; font-size: 13px; opacity: .55; }

/* ---------- 响应式 ---------- */
@media (max-width: 720px) {
  .dots { display: none; }
  .screen { min-height: auto; padding: 72px 0; }
  html { scroll-snap-type: 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: 14px;
}

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