/* ============================================================
   工贸企业营销型官网 · 全局样式
   配色：主色深藏青 / 辅助浅灰蓝+纯白 / 强调深蓝 / 弱势浅灰
   风格：商务稳重、工业极简、高可信、低花哨
   ============================================================ */

:root {
  --navy: #1e3a5f;          /* 主色：深藏青 */
  --navy-dark: #16293f;     /* 深色背景 */
  --blue: #1d5fa6;          /* 强调色：深蓝（按钮/重点标题/高亮） */
  --blue-deep: #174a82;     /* 按钮 hover 深蓝 */
  --gray-blue: #eef2f6;     /* 辅助色：浅灰蓝 */
  --gray-weak: #8b95a1;     /* 弱势色：浅灰（劣势对比文字） */
  --white: #ffffff;         /* 纯白 */
  --text-main: #2b3440;     /* 正文 */
  --text-title: #1e3a5f;    /* 标题 */
  --line: #dde4ea;          /* 分隔线 */
}

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

html { scroll-behavior: smooth; scroll-padding-top: 76px; }

body {
  font-family: "Microsoft YaHei", "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-main);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

/* 英文/数字优先 Montana / 苹方 */
h1, h2, h3, p, li, a, button {
  font-family: "Microsoft YaHei", "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", sans-serif;
}

img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
a { text-decoration: none; color: inherit; }

/* PC 端内容区统一限宽 1440px；全屏区块单独放开 */
.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
}
.container-narrow { max-width: 1440px; }
/* 保持全屏 100%：顶部导航 / 页脚 / 子页横幅 / 首屏 Banner / 数据信任带 */
.header-inner,
.page-hero .container,
.hero-content,
.stats .container {
  max-width: none;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-title);
  text-align: center;
  line-height: 1.4;
  margin-bottom: 48px;
}

/* ---------- 按钮（点击区域 ≥44px） ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 36px;
  font-size: 17px;
  font-weight: 700;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn-primary { background: var(--blue); color: var(--white); }
.btn-secondary { background: transparent; color: var(--white); border-color: rgba(255,255,255,.75); }

/* ============================================================
   顶部导航
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 68px;
  background: rgba(30, 58, 95, .96);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  backdrop-filter: blur(6px);
}
.header-inner {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
}
.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 4px;
  background: var(--blue);
  color: var(--white);
  font-size: 19px;
  font-weight: 700;
}
.logo-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .5px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  font-size: 15px;
  color: #cdd8e4;
  border-radius: 4px;
  transition: color .2s, background-color .2s;
}
.nav-link.active { color: var(--white); background: rgba(255,255,255,.1); }
.nav-link.nav-cta {
  margin-left: 10px;
  padding: 0 20px;
  background: var(--blue);
  color: var(--white);
  font-weight: 700;
}
/* 头部联系电话 */
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  font-size: 16.5px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .5px;
  white-space: nowrap;
}
.header-phone svg { width: 17px; height: 17px; color: #7fb3e8; }
/* Logo 图片占位符 */
img.logo-mark { background: transparent; object-fit: contain; }
/* 汉堡按钮：PC 隐藏 */
.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  transition: transform .2s, opacity .2s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   模块1：全屏首屏 Banner
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy-dark);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .35;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(22,41,63,.72) 0%, rgba(30,58,95,.82) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-top: 64px;
  padding-bottom: 64px;
}
.hero-title {
  font-size: 46px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.35;
  letter-spacing: 1px;
  max-width: 1200px;
  margin: 0 auto 20px;
}
.hero-subtitle {
  font-size: 20px;
  color: #cdd8e4;
  margin-bottom: 18px;
}
.hero-desc {
  font-size: 16px;
  color: #aebccb;
  max-width: 720px;
  margin: 0 auto 40px;
  line-height: 1.9;
}
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* ============================================================
   模块2：核心差异对比区
   ============================================================ */
.compare {
  padding: 88px 0;
  background: var(--white);
}
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.compare-col {
  padding: 36px 32px;
  border-radius: 6px;
}
.compare-col-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.compare-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 14px;
  line-height: 1.75;
}
.compare-list li::before {
  position: absolute;
  left: 0;
  top: 0;
}
/* 左栏：灰色弱化 */
.compare-weak { background: var(--gray-blue); }
.compare-weak .compare-col-title { color: var(--gray-weak); }
.compare-weak .compare-list li { color: var(--gray-weak); }
.compare-weak .compare-list li::before { content: "✕"; color: var(--gray-weak); }
/* 右栏：高亮突出 */
.compare-strong {
  background: var(--navy);
  box-shadow: 0 10px 30px rgba(30,58,95,.25);
}
.compare-strong .compare-col-title {
  color: var(--white);
  border-bottom-color: rgba(255,255,255,.2);
}
.compare-strong .compare-list li { color: #e6edf4; }
.compare-strong .compare-list li::before { content: "✓"; color: #7fb3e8; }
.compare-conclusion {
  margin-top: 40px;
  text-align: center;
  font-size: 17px;
  font-weight: 700;
  color: var(--blue);
  line-height: 1.8;
}

/* ============================================================
   模块3：四大核心服务优势
   ============================================================ */
.advantages {
  padding: 88px 0;
  background: var(--gray-blue);
}
.adv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.adv-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 32px 24px;
  transition: transform .2s, box-shadow .2s;
}
.adv-icon {
  width: 48px;
  height: 48px;
  color: var(--blue);
  margin-bottom: 18px;
}
.adv-icon svg { width: 100%; height: 100%; }
.adv-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 12px;
  line-height: 1.5;
}
.adv-card-text { font-size: 14.5px; color: #5a6572; line-height: 1.85; }

/* ============================================================
   模块4：垂直业务定位
   ============================================================ */
.positioning {
  padding: 88px 0;
  background: var(--white);
}
.pos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.pos-item {
  text-align: center;
  padding: 36px 24px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--gray-blue);
  transition: transform .2s, box-shadow .2s;
}
.pos-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 16px;
  color: var(--navy);
}
.pos-icon svg { width: 100%; height: 100%; }
.pos-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 12px;
}
.pos-text { font-size: 15px; color: #5a6572; line-height: 1.85; }

/* ============================================================
   模块5：标准化建站流程（PC 横向时间轴）
   ============================================================ */
.process {
  padding: 88px 0;
  background: var(--gray-blue);
}
.timeline {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  position: relative;
}
.step {
  position: relative;
  text-align: center;
  padding: 0 6px;
}
/* 横向连接线 */
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 22px;
  left: calc(50% + 28px);
  right: calc(-50% + 28px);
  height: 2px;
  background: #c4d0dc;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}
.step-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 8px;
}
.step-text { font-size: 13.5px; color: #5a6572; line-height: 1.7; }

/* ============================================================
   模块6：FAQ 折叠问答（默认收起，点击展开）
   ============================================================ */
.faq {
  padding: 88px 0;
  background: var(--white);
}
.faq-item {
  border: 1px solid var(--line);
  border-radius: 6px;
  margin-bottom: 14px;
  overflow: hidden;
  background: var(--white);
}
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 56px;
  padding: 16px 22px;
  font-size: 16.5px;
  font-weight: 700;
  color: var(--text-title);
  text-align: left;
  background: var(--gray-blue);
  border: none;
  cursor: pointer;
  line-height: 1.6;
  transition: background-color .2s;
}
.faq-arrow {
  flex: none;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(45deg);
  transition: transform .2s;
}
.faq-item.open .faq-arrow { transform: rotate(-135deg); }
.faq-a {
  display: none;
  padding: 18px 22px;
  font-size: 15px;
  color: #5a6572;
  line-height: 1.9;
  border-top: 1px solid var(--line);
}
.faq-item.open .faq-a { display: block; }

/* ============================================================
   模块7：底部全屏 CTA 转化区
   ============================================================ */
.cta {
  padding: 96px 0;
  background: var(--navy-dark);
  text-align: center;
}
.cta-title {
  font-size: 34px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.45;
  margin-bottom: 16px;
}
.cta-subtitle {
  font-size: 17px;
  color: #aebccb;
  margin-bottom: 40px;
}
.cta .btn-primary {
  min-height: 52px;
  padding: 0 48px;
  font-size: 18px;
}
.cta-note {
  margin-top: 24px;
  font-size: 14px;
  color: #7d8b9c;
}

/* ============================================================
   页脚
   ============================================================ */
.site-footer {
  background: var(--navy-dark);
  color: #aebccb;
  padding: 64px 0 0;
  border-top: 3px solid var(--blue);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-about .logo { margin-bottom: 18px; }
.footer-desc {
  font-size: 14px;
  line-height: 1.9;
  color: #8b9aab;
  max-width: 320px;
}
.footer-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 18px;
}
.footer-list li { margin-bottom: 12px; font-size: 14.5px; float: left; margin-right:18px; }
.footer-list a {
  color: #aebccb;
  transition: color .2s;
}
.footer-contact li { line-height: 1.7; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 22px 0;
  text-align: center;
}
.footer-bottom p { font-size: 13.5px; color: #7d8b9c; }

/* ============================================================
   子页横幅 + 面包屑（频道页 / 新闻页通用）
   ============================================================ */
.page-hero {
  position: relative;
  padding: 148px 0 64px;
  background: var(--navy);
  text-align: center;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 120%, rgba(29,95,166,.35) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero-title {
  font-size: 34px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 12px;
}
.page-hero-sub {
  font-size: 16px;
  color: #aebccb;
  max-width: 880px;
  margin: 0 auto;
}
.breadcrumb {
  margin-top: 22px;
  font-size: 13.5px;
  color: #7d8b9c;
}
.breadcrumb a { color: #9db0c2; transition: color .2s; }
.breadcrumb .sep { margin: 0 8px; }

/* ============================================================
   营销区块一：数据信任带（数字背书）
   ============================================================ */
.stats {
  background: var(--navy-dark);
  padding: 52px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat-item { text-align: center; }
.stat-num {
  font-size: 40px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  font-family: "Montana", "PingFang SC", "Microsoft YaHei", sans-serif;
}
.stat-num span { font-size: 22px; color: #7fb3e8; margin-left: 2px; }
.stat-label {
  margin-top: 8px;
  font-size: 15px;
  color: #8b9aab;
}

/* ============================================================
   营销区块二：新闻资讯（首页卡片 + 列表页通用）
   ============================================================ */
.news {
  padding: 88px 0;
  background: var(--white);
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.news-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.news-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: var(--gray-blue);
}
.news-card-body { padding: 20px 20px 22px; }
.news-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--gray-weak);
  margin-bottom: 10px;
}
.news-tag {
  display: inline-block;
  padding: 2px 10px;
  background: rgba(29,95,166,.1);
  color: var(--blue);
  border-radius: 3px;
  font-size: 12.5px;
}
.news-card-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-title);
  line-height: 1.55;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card-excerpt {
  font-size: 14px;
  color: #5a6572;
  line-height: 1.8;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-more {
  margin-top: 40px;
  text-align: center;
}
.news-more .btn { border: 2px solid var(--blue); color: var(--blue); background: transparent; }

/* 新闻列表页：行式卡片 */
.news-list { display: flex; flex-direction: column; gap: 20px; }
.news-row {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.news-row .news-card-img { height: 100%; min-height: 170px; }
.news-row .news-card-body { padding: 24px 26px 24px 0; display: flex; flex-direction: column; justify-content: center; }
.news-row .news-card-excerpt { -webkit-line-clamp: 3; }

/* 分页 */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 44px;
}
.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 15px;
  color: var(--text-main);
  background: var(--white);
  transition: background-color .2s, color .2s;
}
.pagination .current { background: var(--blue); border-color: var(--blue); color: var(--white); font-weight: 700; }

/* ============================================================
   新闻内容页：正文 + 侧栏
   ============================================================ */
.article-wrap {
  padding: 64px 0 88px;
  background: var(--gray-blue);
}
.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  align-items: start;
}
.article {
  background: var(--white);
  border-radius: 6px;
  border: 1px solid var(--line);
  padding: 44px 48px;
}
.article-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-title);
  line-height: 1.5;
  margin-bottom: 16px;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13.5px;
  color: var(--gray-weak);
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}
.article-body { font-size: 16px; color: var(--text-main); line-height: 2; }
.article-body p { margin-bottom: 18px; }
.article-body h3 {
  font-size: 19px;
  color: var(--text-title);
  margin: 30px 0 14px;
  padding-left: 12px;
  border-left: 4px solid var(--blue);
}
.article-body blockquote {
  margin: 22px 0;
  padding: 16px 20px;
  background: var(--gray-blue);
  border-left: 4px solid var(--blue);
  color: #4a5563;
  font-size: 15px;
}
.article-body img {
  width: 100%;
  border-radius: 4px;
  margin: 22px 0;
}
.article-body ul.dots { list-style: none; margin-bottom: 18px; }
.article-body ul.dots li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
}
.article-body ul.dots li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 13px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
}
.article-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
}
.article-nav a {
  flex: 1;
  padding: 14px 18px;
  background: var(--gray-blue);
  border-radius: 4px;
  color: var(--text-main);
  line-height: 1.6;
  transition: background-color .2s, color .2s;
}
.article-nav a.next { text-align: right; }
.article-nav em { font-style: normal; color: var(--gray-weak); display: block; font-size: 13px; margin-bottom: 4px; }

/* 侧栏 */
.side-block {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 24px;
  margin-bottom: 20px;
}
.side-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-title);
  padding-bottom: 12px;
  border-bottom: 2px solid var(--blue);
  margin-bottom: 16px;
}
.side-list li { margin-bottom: 4px; }
.side-list a {
  display: block;
  padding: 9px 0 9px 18px;
  position: relative;
  font-size: 14.5px;
  color: var(--text-main);
  line-height: 1.6;
  border-bottom: 1px dashed var(--line);
  transition: color .2s;
}
.side-list li:last-child a { border-bottom: none; }
.side-list a::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 18px;
  width: 6px;
  height: 6px;
  background: var(--gray-weak);
  transition: background-color .2s;
}
.side-cta {
  background: var(--navy);
  border: none;
  text-align: center;
  color: #cdd8e4;
}
.side-cta .side-title { color: var(--white); border-bottom-color: rgba(255,255,255,.25); }
.side-cta p { font-size: 14px; margin-bottom: 18px; line-height: 1.8; }
.side-cta .btn { width: 100%; }

/* 通用配图占位 */
.figure-img {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.section-figure { margin: 0 0 48px; }
.section-figure .figure-img { max-height: 420px; object-fit: cover; }
.section-figure figcaption {
  margin-top: 10px;
  text-align: center;
  font-size: 13.5px;
  color: var(--gray-weak);
}

/* ============================================================
   联系我们页
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}
.contact-info-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 24px;
}
.contact-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.contact-ico {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 6px;
  background: rgba(29,95,166,.1);
  color: var(--blue);
}
.contact-ico svg { width: 21px; height: 21px; }
.contact-list em {
  font-style: normal;
  display: block;
  font-size: 13px;
  color: var(--gray-weak);
  margin-bottom: 2px;
}
.contact-list span, .contact-list a { font-size: 16px; color: var(--text-main); }
.contact-tel {
  font-size: 22px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: .5px;
}
.contact-qr {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
  padding: 20px;
  background: var(--gray-blue);
  border-radius: 6px;
}
.contact-qr img { flex: none; border-radius: 4px; }
.contact-qr p { font-size: 14.5px; color: #5a6572; line-height: 1.8; }
.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 36px 34px;
  box-shadow: 0 10px 30px rgba(30,58,95,.08);
}
.contact-map { padding: 0 0 88px; }

/* 关于我们页 */
.about-intro { padding: 72px 0; background: var(--white); }
.about-lead {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  font-size: 16.5px;
  color: #4a5563;
  line-height: 2.1;
}
.about-lead strong { color: var(--blue); }
.about-cases { padding: 88px 0; background: var(--white); }
.case-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.case-grid .section-figure { margin-bottom: 0; }

/* ============================================================
   营销区块三：留资表单区
   ============================================================ */
.lead {
  padding: 88px 0;
  background: var(--gray-blue);
}
.lead-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  background: var(--white);
  border-radius: 8px;
  border: 1px solid var(--line);
  padding: 52px 56px;
  box-shadow: 0 10px 30px rgba(30,58,95,.08);
}
.lead-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-title);
  line-height: 1.5;
  margin-bottom: 14px;
}
.lead-desc { font-size: 15.5px; color: #5a6572; margin-bottom: 22px; }
.lead-points li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  font-size: 15px;
  color: var(--text-main);
}
.lead-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
}
.lead-form { display: flex; flex-direction: column; gap: 14px; }
.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text-main);
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  appearance: none;
  transition: border-color .2s, box-shadow .2s;
}
.lead-form textarea { min-height: 88px; resize: vertical; }
.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(29,95,166,.15);
}
.lead-form .btn { width: 100%; margin-top: 6px; }
.lead-tip { font-size: 13px; color: var(--gray-weak); text-align: center; }

/* ============================================================
   移动端底部浮动营销栏（仅 ≤768px 显示）
   ============================================================ */
.mobile-bar { display: none; }
@media (max-width: 768px) {
  .mobile-bar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99;
    background: var(--white);
    border-top: 1px solid var(--line);
    box-shadow: 0 -4px 16px rgba(30,58,95,.12);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .mb-item {
    flex: 0 0 24%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-height: 56px;
    font-size: 12px;
    color: var(--text-main);
    line-height: 1.4;
  }
  .mb-item svg { width: 21px; height: 21px; color: var(--blue); }
  .mb-item strong { font-size: 12px; font-weight: 700; }
  .mb-cta {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    background: var(--blue);
    color: var(--white);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
  }
  /* 防止浮动栏遮挡页脚内容 */
  body { padding-bottom: 60px; }
}

/* 首屏整块文案轮播 */
.hero-carousel { position: relative; }
.carousel-viewport {
  position: relative;
  min-height: 320px;
}
.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease, visibility .6s;
}
.carousel-slide.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
/* 轮播内沿用原首屏排版 */
.carousel-slide .hero-title { margin-bottom: 18px; }
.carousel-slide .hero-subtitle { margin-bottom: 14px; }
.carousel-slide .hero-desc { margin-bottom: 36px; }
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 26px;
}
.dot {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
}
.dot::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.35);
  transition: background .25s ease, transform .25s ease;
}
.dot.active::after { background: var(--white); transform: scale(1.25); }
@media (max-width: 768px) {
  .carousel-viewport { min-height: 460px; }
  .carousel-dots { margin-top: 10px; }
}

/* ============================================================
   右侧常驻挂件 / 弹出提示层 / 返回顶部
   ============================================================ */
/* 左侧挂件：圆形头像按钮，吸附屏幕右缘 */
.side-widget {
  position: fixed;
  left: 0;
  top: 55%;
  z-index: 98;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 0 50% 50% 0;
  background: var(--blue);
  color: var(--white);
  cursor: pointer;
  box-shadow: -4px 4px 14px rgba(30,58,95,.25);
  transition: background .25s ease, transform .25s ease;
}
.side-widget svg { width: 26px; height: 26px; }

/* 弹出层遮罩：默认隐藏，.active 显示 */
.popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
.popup-overlay.active { opacity: 1; visibility: visible; }

/* 弹出层内容卡片 */
.popup-content {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: var(--white);
  border-radius: 8px;
  border-top: 4px solid var(--blue);
  padding: 32px 28px 28px;
  box-shadow: 0 20px 50px rgba(30,58,95,.3);
  transform: translateY(24px) scale(.96);
  transition: transform .3s ease;
}
.popup-overlay.active .popup-content { transform: translateY(0) scale(1); }
.popup-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 12px;
}
.popup-text {
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-main);
}
.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  font-size: 26px;
  line-height: 1;
  color: var(--gray-weak);
  cursor: pointer;
  transition: color .2s ease;
}

/* 返回顶部：默认隐藏，.show 显示 */
.back-to-top {
  position: fixed;
  right: 28px;
  bottom: 36px;
  z-index: 97;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(29,95,166,.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .3s ease, visibility .3s ease, transform .3s ease, background .25s ease;
}
.back-to-top svg { width: 22px; height: 22px; }
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }

/* 移动端：挂件上移避开底部浮动栏，返回顶部门靠安全区 */
@media (max-width: 768px) {
  .side-widget { top: auto; bottom: 130px; width: 48px; height: 48px; }
  .side-widget svg { width: 22px; height: 22px; }
  .back-to-top { right: 16px; bottom: 76px; width: 44px; height: 44px; }
  .popup-content { max-width: 100%; padding: 28px 20px 24px; }
  .popup-title { font-size: 18px; }
  .popup-text { font-size: 14.5px; }
}

/* ============================================================
   PC 端 hover 交互（仅 hover-capable 设备生效）
   ============================================================ */
@media (hover: hover) and (pointer: fine) {
  .nav-link:hover { color: var(--white); background: rgba(255,255,255,.08); }
  .nav-link.nav-cta:hover { background: var(--blue-deep); }
  .side-widget:hover { background: var(--blue-deep); transform: translateX(-4px); }
  .close-btn:hover { color: var(--text-title); }
  .back-to-top:hover { background: var(--blue-deep); }
  .footer-list a:hover { color: var(--white); }
  .btn-primary:hover { background: var(--blue-deep); }
  .btn-secondary:hover { background: rgba(255,255,255,.12); border-color: var(--white); }
  .adv-card:hover,
  .pos-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 32px rgba(30,58,95,.14);
  }
  .faq-q:hover { background: #e3eaf1; }
  .news-card:hover,
  .news-row:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 32px rgba(30,58,95,.14);
  }
  .news-card:hover .news-card-title,
  .news-row:hover .news-card-title { color: var(--blue); }
  .news-more .btn:hover { background: var(--blue); color: var(--white); }
  .side-list a:hover { color: var(--blue); }
  .side-list a:hover::before { background: var(--blue); }
  .article-nav a:hover { background: #e3eaf1; color: var(--blue); }
  .breadcrumb a:hover { color: var(--white); }
}

/* ============================================================
   移动端适配（≤768px）：横版改竖排、取消 hover、按钮铺满
   ============================================================ */
@media (max-width: 768px) {
  body { font-size: 15px; line-height: 1.9; }

  .container { padding: 0 18px; }
  .section-title { font-size: 24px; margin-bottom: 32px; }

  /* 顶部导航：汉堡菜单 + 下拉面板 */
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--navy);
    border-bottom: 1px solid rgba(255,255,255,.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease;
  }
  .main-nav.open { max-height: 420px; }
  .nav-link {
    min-height: 48px;
    padding: 0 20px;
    border-bottom: 1px solid rgba(255,255,255,.06);
    font-size: 16px;
  }
  .nav-link.nav-cta {
    margin: 12px 20px 16px;
    justify-content: center;
    border-bottom: none;
    border-radius: 8px;
  }
  .logo-text { font-size: 16px; }
  .header-phone { padding: 0 6px; font-size: 14px; letter-spacing: 0; }
  .header-phone svg { width: 15px; height: 15px; }

  /* 页脚：多栏改单列堆叠 */
  .site-footer { padding-top: 44px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; padding-bottom: 32px; }
  .footer-desc { max-width: none; }

  /* 模块1：文字居中堆叠、按钮铺满 85% */
  .hero { min-height: 100svh; }
  .hero-title { font-size: 27px; }
  .hero-subtitle { font-size: 15.5px; }
  .hero-desc { font-size: 14.5px; margin-bottom: 32px; }
  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }
  .hero-actions .btn {
    width: 85%;
    min-height: 50px;
    border-radius: 10px;
    font-size: 16.5px;
  }

  /* 模块2：左右对比改上下堆叠（风险+价值） */
  .compare { padding: 56px 0; }
  .compare-grid { grid-template-columns: 1fr; gap: 18px; }
  .compare-col { padding: 26px 20px; }
  .compare-conclusion { margin-top: 26px; font-size: 15.5px; }

  /* 模块3：四卡片改单列 */
  .advantages { padding: 56px 0; }
  .adv-grid { grid-template-columns: 1fr; gap: 16px; }
  .adv-card { padding: 26px 20px; }

  /* 模块4：三栏改单列 */
  .positioning { padding: 56px 0; }
  .pos-grid { grid-template-columns: 1fr; gap: 16px; }

  /* 模块5：横向时间轴改纵向 */
  .process { padding: 56px 0; }
  .timeline { grid-template-columns: 1fr; gap: 0; }
  .step {
    display: grid;
    grid-template-columns: 44px 1fr;
    grid-template-rows: auto auto;
    column-gap: 16px;
    text-align: left;
    padding-bottom: 28px;
  }
  .step:not(:last-child)::after {
    top: 52px;
    bottom: 6px;
    left: 21px;
    right: auto;
    width: 2px;
    height: auto;
  }
  .step-num { margin-bottom: 0; grid-row: 1 / span 2; align-self: start; }
  .step-title { margin-bottom: 4px; }

  /* 模块6：FAQ 精简 */
  .faq { padding: 56px 0; }
  .faq-q { font-size: 15.5px; padding: 15px 16px; }
  .faq-a { padding: 14px 16px; font-size: 14.5px; }

  /* 模块7：CTA 按钮铺满 */
  .cta { padding: 64px 0; }
  .cta-title { font-size: 24px; }
  .cta-subtitle { font-size: 15px; margin-bottom: 30px; }
  .cta .btn-primary { display: flex; width: 85%; margin: 0 auto; border-radius: 10px; font-size: 17px; }

  /* 子页横幅 */
  .page-hero { padding: 120px 0 44px; }
  .page-hero-title { font-size: 25px; }
  .page-hero-sub { font-size: 14.5px; }
  .breadcrumb { margin-top: 16px; }

  /* 数据信任带：2×2 网格 */
  .stats { padding: 40px 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .stat-num { font-size: 32px; }

  /* 新闻资讯：三列改单列 */
  .news { padding: 56px 0; }
  .news-grid { grid-template-columns: 1fr; gap: 18px; }
  .news-more { margin-top: 28px; }
  .news-more .btn { width: 85%; }

  /* 列表页行式卡片：图上文下 */
  .news-row { grid-template-columns: 1fr; gap: 0; }
  .news-row .news-card-img { min-height: 0; height: 190px; }
  .news-row .news-card-body { padding: 18px 18px 20px; }
  .pagination { margin-top: 30px; }

  /* 文章页：侧栏移至正文下方 */
  .article-wrap { padding: 36px 0 56px; }
  .article-layout { grid-template-columns: 1fr; gap: 22px; }
  .article { padding: 26px 20px; }
  .article-title { font-size: 22px; }
  .article-body { font-size: 15.5px; line-height: 1.95; }
  .article-body h3 { font-size: 17px; }
  .article-nav { flex-direction: column; }
  .article-nav a.next { text-align: left; }

  /* 留资表单：两栏改单列 */
  .lead { padding: 56px 0; }
  .lead-box { grid-template-columns: 1fr; gap: 30px; padding: 32px 22px; }
  .lead-title { font-size: 23px; }
  .lead-form .btn { min-height: 50px; border-radius: 10px; }

  /* 联系我们页：双栏改单列堆叠 */
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-info-title { font-size: 20px; margin-bottom: 16px; }
  .contact-list li { padding: 14px 0; }
  .contact-tel { font-size: 20px; }
  .contact-qr { margin-top: 20px; padding: 16px; }
  .contact-form-wrap { padding: 26px 18px; }
  .contact-form-wrap .lead-form input,
  .contact-form-wrap .lead-form select,
  .contact-form-wrap .lead-form textarea { min-height: 50px; border-radius: 8px; }
  .contact-map { padding-bottom: 56px; }

  /* 关于我们页：案例图单列 */
  .about-intro { padding: 44px 0; }
  .about-lead { font-size: 15px; line-height: 2; }
  .about-cases { padding: 56px 0; }
  .case-grid { grid-template-columns: 1fr; gap: 18px; }
}
