:root {
  --primary: #1456b8;
  --primary-dark: #0e3f8a;
  --accent: #f5a623;
  --text: #1f2937;
  --text-soft: #5b6675;
  --bg-soft: #f4f7fb;
  --border: #e5e9f0;
  --radius: 10px;
  --shadow: 0 6px 20px rgba(17, 24, 39, 0.08);
  --container: 1200px;
}

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

.friend-links {
  display: none
}

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

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

img {
  max-width: 100%;
  display: block;
}

ul,
ol {
  list-style: none;
}

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

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 40px;
  font-size: 16px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
  /* 回退：不支持 color-mix 的旧浏览器用中性阴影 */
  box-shadow: 0 8px 18px color-mix(in srgb, var(--accent) 35%, transparent);
  /* 辉光跟随 accent 色板 */
}

.btn-light {
  background: #fff;
  color: var(--primary);
}

/* ---------------- 顶部导航 ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  height: 66px;
  gap: 24px;
}

.logo {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  white-space: nowrap;
}

.nav {
  flex: 1;
  display: flex;
  gap: 22px;
  overflow-x: auto;
  /* 栏目多（8+）时仍可横向滑动，但隐藏滚动条视觉 */
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.nav::-webkit-scrollbar {
  display: none;
}

/* 栏目超 8 个时自动收紧间距与字号，尽量一行放下 */
.nav:has(a:nth-child(8)) {
  gap: 14px;
}

.nav:has(a:nth-child(8)) a {
  font-size: 14px;
}

.nav a {
  font-size: 15px;
  color: var(--text-soft);
  white-space: nowrap;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.nav a:hover {
  color: var(--primary);
  border-color: var(--primary);
}

.header-tel {
  font-size: 17px;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}

/* ---------------- 首屏 Hero ---------------- */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  text-align: center;
  padding: 90px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -120px;
  width: 360px;
  height: 360px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
}

.hero-title {
  font-size: 46px;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 18px;
}

.hero-subtitle {
  font-size: 19px;
  opacity: 0.92;
  max-width: 760px;
  margin: 0 auto 26px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 34px;
}

.hero-tags .tag {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 14px;
}

.hero-cta {
  position: relative;
  z-index: 1;
}

/* ---------------- 照片带：banner 轮播（版心宽居中） ----------------
   高随图，JS(fit) 两段式封顶：h = 容器宽×首图比例，上限 = 视口高 − 顶栏；
   min-height 仅作 JS 就位前占位，fit() 内会清零 */
.photoband-sec {
  padding-top: 48px;
}

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

.photoband-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.photoband-slide.is-active {
  opacity: 1;
}

.photoband-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: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  color: var(--text);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s;
}

.photoband-arrow:hover {
  background: #fff;
}

.photoband-arrow.prev {
  left: 16px;
}

.photoband-arrow.next {
  right: 16px;
}

.photoband-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  z-index: 5;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.photoband-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.photoband-dot.is-active {
  background: var(--accent);
  transform: scale(1.25);
}

/* ---------------- 通用版块 ---------------- */
.section {
  padding: 70px 0;
}

.section:nth-child(even) {
  background: var(--bg-soft);
}

.section-head {
  text-align: center;
  margin-bottom: 44px;
}

.section-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--text);
  position: relative;
  display: inline-block;
  padding-bottom: 14px;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 48px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

.section-subtitle {
  margin-top: 14px;
  color: var(--text-soft);
  font-size: 16px;
}

/* 段落型 */
.prose {
  max-width: 860px;
  margin: 0 auto;
  font-size: 16px;
  color: var(--text-soft);
  text-align: justify;
}

/* about 末尾的站群本地化 + 联系方式：与正文拉开间距，浅分隔线区分 */
.about-local {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px dashed rgba(0, 0, 0, 0.08);
  font-size: 15px;
}

/* AI 生成的企业名片图（品牌/标语/电话已烧进图内，纯展示） */
.biz-card {
  margin: 24px auto 0;
  max-width: 720px;
}

.biz-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* 关于我们：图文两栏（左文右名片图） */
.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(260px, 32%, 380px);
  gap: 48px;
  align-items: start;
  max-width: 1120px;
  margin: 0 auto;
}

.about-layout .prose {
  max-width: none;
  margin: 0;
}

.about-layout .about-local {
  margin-top: 20px;
  padding-top: 18px;
}

.about-layout .biz-card {
  margin: 0;
  max-width: none;
}

@media (max-width: 860px) {
  .about-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* 指标型 stats */
.stats-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.stat-item {
  flex: 1 1 200px;
  max-width: 260px;
  text-align: center;
  padding: 28px 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.stat-value {
  display: block;
  font-size: 40px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
}

.stat-label {
  display: block;
  margin-top: 8px;
  color: var(--text-soft);
  font-size: 15px;
}

/* 卡片型 advantages / pain / cases：flex 拉伸铺满，3-5 张均不留空、无孤行 */
.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card {
  flex: 1 1 210px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--primary);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.14);
}

.card-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.card-desc {
  font-size: 15px;
  color: var(--text-soft);
}

/* 产品型 products：grid 自适应列数，孤行由公共裁剪脚本收口 */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease;
}

.product-card:hover {
  transform: translateY(-4px);
}

.product-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-soft);
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .product-img img {
  transform: scale(1.05);
}

.product-name {
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
}

/* 问答型 faq */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow);
}

.faq-q {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.faq-a {
  font-size: 15px;
  color: var(--text-soft);
}

/* 流程型 process：flex 拉伸铺满，3-5 步均不留空、无孤行 */
.process-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  counter-reset: step;
}

.process-step {
  flex: 1 1 210px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  box-shadow: var(--shadow);
}

.step-no {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
}

.step-desc {
  font-size: 14px;
  color: var(--text-soft);
}

/* ---------------- 联系 CTA 带 ---------------- */
.cta-band {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  padding: 50px 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  text-align: center;
}

.cta-text {
  font-size: 22px;
  font-weight: 700;
}

/* ---------------- 页脚 ---------------- */
.site-footer {
  background: var(--footer-bg, #16202e);
  color: #9aa7b8;
  text-align: center;
  padding: 40px 0;
}

.footer-name {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.footer-desc {
  font-size: 14px;
  max-width: 700px;
  margin: 0 auto 16px;
}

.footer-copy {
  font-size: 13px;
  opacity: 0.7;
}

/* ---------------- 响应式 ---------------- */
@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .hero {
    padding: 60px 0 70px;
  }

  .photoband-sec {
    padding-top: 32px;
  }

  .photoband-arrow {
    width: 36px;
    height: 36px;
    font-size: 22px;
  }

  .photoband-arrow.prev {
    left: 10px;
  }

  .photoband-arrow.next {
    right: 10px;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .section {
    padding: 50px 0;
  }

  .section-title {
    font-size: 26px;
  }

  .cta-text {
    font-size: 18px;
  }
}
/* 文章内容板块（详情页）：标题/时间 + 正文 + 侧栏推荐列表 */
.article-head {
  text-align: center;
  margin-bottom: 44px;
}

.article-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
  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;
  color: var(--text-soft);
  font-size: 14px;
}

.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: #fff;
  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;
  color: var(--text-soft);
  text-align: justify;
}

.article-body p {
  margin-bottom: 16px;
}

.article-body img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 18px auto;
  border-radius: var(--radius);
}

.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: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px 22px;
  min-width: 0;
  overflow: hidden;
}

.article-list-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  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: var(--text-soft);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.article-list a:hover {
  color: var(--primary);
}

@media (max-width: 860px) {
  .article-layout {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .article-side {
    grid-column: 1;
    grid-row: 3;
  }
}

/* ---------- 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; } }
.logo-region{ margin-left:6px }
