/* reset & base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  font-family: "Microsoft YaHei", Arial, sans-serif;
  color: #222;
  background: #f7f9fc;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* flow full-width container */
.container {
  width: 94%;
  max-width: 1200px;
  margin: 0 auto;
}

/* header */
.header {
  position: sticky;
  top: 0;
  width: 100%;
  background: #fff;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

.logo-wrap {
  display: flex;
  align-items: center;
}

.logo-wrap a {
  color: inherit;
}

.logo-wrap a:hover {
  text-decoration: none;
}

.logo-wrap .logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  /* 去掉下划线 */
  color: inherit;
  /* 保持文字颜色一致 */
}

.logo-wrap .logo-link:hover {
  text-decoration: none;
  color: #0a58ca;
  /* 鼠标悬停时微亮，可选 */
}

.logo-text {
  font-family: "Segoe UI Semibold", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: 0.8px;
  text-transform: uppercase; /* 英文副名时会显得更规范 */
  color: #00408f;
}

.logo-img {
  height: 44px;
  width: auto;
  margin-right: 10px;
  display: block;
}


/* nav */
.nav {
  display: flex;
  gap: 18px;
  align-items: center;
}

.nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  padding: 8px;
  border-radius: 6px;
  transition: background .18s, color .18s;
}

.nav a:hover {
  background: rgba(11, 108, 240, 0.06);
  color: #0b6cf0;
}

/* 基础样式 */
.btn-top {
  font-size: 13px;
  /* 字体小 */
  height: 40px;
  /* 固定高度 */
  line-height: 40px;
  /* 垂直居中 */
  padding: 0 14px;
  background: #0b6cf0;
  /* 固定蓝色背景 */
  color: #fff !important;
  /* 强制白色文字 */
  border-radius: 6px;
  box-shadow: 0 6px 20px rgba(11, 108, 240, 0.12);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.18s;
}

/* 悬停状态 */
.nav a.btn-top:hover {
  background: #0b6cf0 !important;
  /* 保持蓝色背景 */
  color: #fff !important;
  /* 保持白色文字 */
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(11, 108, 240, 0.16);
}

/* hero */
.hero {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 100px 0 60px;
  background: linear-gradient(120deg, #eef6ff 0%, #ffffff 60%);
}

.hero-inner {
  display: flex;
  width: 100%;
  gap: 30px;
  align-items: center;
}

.hero-left {
  flex: 1;
  min-width: 260px;
}

.hero-right {
  flex: 1;
  text-align: right;
}

.hero-left h1 {
  font-size: 32px;
  color: #062a5b;
  margin-bottom: 14px;
  line-height: 1.2;
}

.lead {
  color: #4b586a;
  font-size: 16px;
  margin-bottom: 18px;
  max-width: 720px;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(90deg, #0b6cf0, #075ec3);
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(11, 108, 240, 0.12);
  transition: transform .18s, box-shadow .18s;
}

.cta-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 38px rgba(11, 108, 240, 0.16);
}

.cta-arrow {
  display: inline-block;
  transform: translateX(0);
  transition: transform .28s cubic-bezier(.2, .9, .3, 1);
}

.cta-btn:hover .cta-arrow {
  transform: translateX(8px);
}

.hero-illustration {
  width: 100%;
  max-width: 520px;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(12, 30, 60, 0.06);
}

/* section common */
.section {
  padding: 60px 0;
}

.section.alt {
  background: #fbfdff;
}

h2 {
  font-size: 24px;
  color: #062a5b;
  text-align: center;
  margin-bottom: 6px;
}

.section-line {
  width: 64px;
  height: 4px;
  background: #0b6cf0;
  margin: 12px auto 28px;
  border-radius: 2px;
}

/* grid & cards */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 10px;
}

.card {
  background: #fff;
  border-radius: 10px;
  padding: 18px;
  box-shadow: 0 6px 20px rgba(12, 30, 60, 0.04);
  transition: transform .18s ease, box-shadow .18s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(12, 30, 60, 0.08);
}

.card h3,
.card h4 {
  color: #0b3b7a;
  margin-bottom: 8px;
}

.card p {
  color: #46505a;
  font-size: 14px;
}

/* 服务场景专业化美化 */
.scenarios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 18px;
}

.scenario-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  padding: 0;
  text-align: center;
  box-shadow: 0 10px 30px rgba(11, 108, 240, 0.06);
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}

.scenario-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(11, 108, 240, 0.12);
}

.scenario-img-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.scenario-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  margin-bottom: 16px;
  transition: transform 0.25s ease;
}

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

/* 服务场景文字统一核心服务样式 */
.scenario-card h4 {
  color: #0b3b7a;
  /* 与核心服务标题一致 */
  font-size: 16px;
  /* 保持可读性 */
  margin-bottom: 8px;
  /* 与核心服务标题间距一致 */
}

.scenario-card p {
  color: #46505a;
  /* 与核心服务描述一致 */
  font-size: 14px;
  /* 与核心服务描述一致 */
  line-height: 1.6;
  margin-bottom: 16px;
  padding: 0 12px;
  text-align: left;
}

.trade-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.trade-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  padding: 24px;
  text-align: center;
  transition: all 0.3s ease;
}

.trade-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.trade-icon img {
  width: 60px;
  height: 60px;
  margin-bottom: 16px;
}

.trade-card h4 {
  font-size: 18px;
  color: #111;
  margin-bottom: 8px;
}

.trade-products {
  font-size: 14px;
  color: #666;
  margin-bottom: 16px;
}

.trade-scenes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.scene-tag {
  display: inline-block;
  background: #eef4ff;
  color: #2563eb;
  padding: 5px 12px;
  margin: 4px;
  border-radius: 20px;
  font-size: 13px;
  transition: all 0.2s ease;
}

.scene-tag:hover {
  background: #dbeafe;
}

/* flow steps */
.flow-wrap {
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-top: 18px;
  flex-wrap: wrap;
}

.flow-step {
  display: flex;
  flex-direction: column;
  /* 垂直排列 */
  align-items: center;
  /* 子元素水平居中 */
  justify-content: flex-start;
  gap: 8px;
  flex: 1 1 180px;
  background: #fff;
  padding: 16px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(11, 108, 240, 0.04);
  transition: transform 0.2s, box-shadow 0.2s;
  text-align: center;
  /* 标题和描述居中 */
}

.flow-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(11, 108, 240, 0.08);
}

/* 数字圆圈居中 */
.step-num {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(90deg, #0b6cf0, #075ec3);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  margin: 0 auto;
  /* 水平居中 */
}

/* 图标居中 */
.step-icon {
  font-size: 28px;
  margin-bottom: 8px;
  display: block;
}

/* 标题与描述居中 */
.step-body h4 {
  font-size: 16px;
  color: #07386f;
  margin-bottom: 6px;
  text-align: center;
}

.step-body p {
  font-size: 14px;
  color: #49545a;
  margin-bottom: 4px;
  text-align: center;
}

.step-tip {
  font-size: 12px;
  color: #0b6cf0;
  font-weight: 500;
  text-align: center;
}

/* news */
/* news */
.news-section {
  background-color: #f9fafb;
  padding: 60px 0;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.news-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* 上图 */
.news-thumb {
  width: 100%;
  height: 160px;
  background-color: #e8eef5;
  object-fit: cover;
  display: block;
}

/* 下文 */
.news-body {
  padding: 16px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.news-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #0b3b7a;
  margin-bottom: 8px;
  line-height: 1.4;
}

.meta {
  font-size: 0.88rem;
  color: #888;
  margin-bottom: 10px;
}

.news-actions {
  margin-top: auto;
}

.news-actions .more {
  color: #0b6cf0;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.news-actions .more:hover {
  color: #074fb8;
  text-decoration: underline;
}


/* about us */
#about p {
  margin-bottom: 16px;
  /* 段落间距 */
  line-height: 1.8;
  /* 行高，增加可读性 */
  font-size: 15px;
  /* 字体大小可根据需要微调 */
  color: #46505a;
  /* 字色柔和 */
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #e0e6ef;
  border-radius: 8px;
  font-size: 14px;
  font-family: "Microsoft YaHei", sans-serif;
  background-color: #fff;
  color: #666;
  /* ✅ 统一的字体颜色 */
  -webkit-text-fill-color: #666;
  /* ✅ 修复 select 在 Chrome 中偏黑的问题 */
  box-sizing: border-box;
  appearance: none;
  font-weight: 400;
  flex: 1;
}

.contact-form select {
  flex: 1;
  padding: 12px 14px;
  border: 1px solid #e0e6ef;
  border-radius: 8px;
  font-size: 14px;
  font-family: "Microsoft YaHei", sans-serif;
  background-color: #fff;
  color: #666;
  -webkit-text-fill-color: #666;
  box-sizing: border-box;
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  font-weight: 400;
  background-image: url("data:image/svg+xml;charset=UTF-8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8'><path fill='%23999' d='M1 1l5 5 5-5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px 8px;
  /* ✅ 修复右边框被裁掉 */
  background-clip: padding-box;
  border-right: 1px solid #e0e6ef;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #aaa;
  /* 输入框占位符的颜色 */
}

.contact-form select {
  appearance: none;
  cursor: pointer;
}

.contact-form select option:first-child {
  color: #666;
}


/* 输入区聚焦时样式 */
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: #0b6cf0;
  outline: none;
}

/* 留言输入区统一样式 */
.contact-form textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.6;
  font-size: 14px;
  color: #222;
  font-family: "Microsoft YaHei", sans-serif;
}

/* 表单行样式 */
.form-row {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

/* 提交按钮 */
.btn-submit {
  background: linear-gradient(90deg, #0b6cf0, #075ec3);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 22px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
  display: block;
  margin: 20px auto 0;
  text-align: center;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(11, 108, 240, 0.18);
}

.contact-form select:focus {
  border-color: #0b6cf0;
  outline: none;
}

/* footer */
.footer {
  margin-top: 40px;
  background: linear-gradient(180deg, #0b4fa8, #0b66c6);
  color: #fff;
  padding: 42px 0 18px;
}

.footer-inner {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-col {
  flex: 1;
  min-width: 220px;
}

.footer-col h4 {
  margin: 0 0 8px;
  color: #fff;
}

.footer-col p {
  margin: 6px 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
}

.qr-wrap {
  text-align: center;
}

.qr-wrap img {
  width: 120px;
  height: 142px;
  border-radius: 6px;
  background: #fff;
  padding: 6px;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.12);
}

.icp {
  color: #fff; /* 白色文字 */
  text-decoration: none; /* 去掉下划线 */
  font-size: 14px;
}

.icp a {
  color: #fff; /* 链接文字白色 */
  text-decoration: none; /* 无下划线 */
}

.icp a:hover {
  color: #ddd; /* 鼠标悬停变浅一点 */
  text-decoration: none; /* 悬停也不要下划线 */
}

/* footer bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 0;
  margin-top: 18px;
  text-align: center;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
}

/* float consult button */
.float-btn {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: linear-gradient(90deg, #0b6cf0, #075ec3);
  color: #fff;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 12px;
  box-shadow: 0 12px 32px rgba(11, 108, 240, 0.18);
  z-index: 2000;
  transition: transform .18s;
}

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

/* responsive */
@media (max-width: 1100px) {
  .news-section .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .flow-wrap {
    flex-direction: column;
    gap: 14px;
  }

  .hero-inner {
    flex-direction: column-reverse;
    align-items: center;
    gap: 18px;
    padding-top: 40px;
  }

  .hero-right {
    width: 80%;
    text-align: center;
  }
}

@media (max-width: 700px) {
  .nav {
    display: none;
  }

  /* 简化：可后续替换为汉堡菜单 */
  .logo-text {
    font-size: 1.3rem;
    display: inline-block;
    max-width: 120px; /* 控制文字宽度避免溢出 */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero-left h1 {
    font-size: 22px;
    text-align: center;
  }

  .lead {
    text-align: center;
  }

  .cta-btn {
    width: 100%;
    justify-content: center;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .news-section .news-grid {
    grid-template-columns: 1fr;
  }

  .trade-table thead {
    display: none;
  }

  .trade-table,
  .trade-table tbody,
  .trade-table tr,
  .trade-table td {
    display: block;
    width: 100%;
  }

  .trade-table td {
    border-bottom: none;
    padding: 10px 6px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}


/* article detail */
.article-section {
  background: #f9fafb;
  padding: 60px 0;
}

.article-title {
  font-size: 28px;
  color: #062a5b;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
  text-align: center;
  /* 标题居中 */
}

.article-meta {
  font-size: 0.95rem;
  color: #888;
  margin-bottom: 24px;
}

.article-body {
  background: #fff;
  padding: 24px;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(12, 30, 60, 0.06);
  line-height: 1.8;
  color: #46505a;
}

.article-body p {
  margin-bottom: 16px;
  text-indent: 2em;
}

.btn-return {
  display: inline-block;
  /* 让按钮宽度跟内容走 */
  margin: 20px auto 0;
  /* 上间距 20px，水平居中 */
  text-align: center;
  /* 文字居中 */
  background: linear-gradient(90deg, #0b6cf0, #075ec3);
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  padding: 10px 18px;
  transition: transform .2s;
}

.btn-return:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(11, 108, 240, 0.12);
}

.article-section .container {
  text-align: center;
  /* 让按钮整体在容器内居中 */
}

/* 修复正文不居中 */
.article-body {
  text-align: left;
  /* 左对齐正文 */
  margin: 0 auto;
  /* 保持整体居中布局 */
  max-width: 800px;
  /* 可选：限制正文宽度，让排版更舒服 */
}

/* 新闻资讯 - 查看更多按钮 */
.news-more {
  text-align: center;
  margin-top: 24px;
}

.btn-more {
  display: inline-block;
  background-color: #0b6cf0;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 28px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s;
  margin: 0 auto;
}

.btn-more:hover {
  background-color: #094eb0;
}

/* =========== 文章列表页（独立样式，避免覆盖首页 news-grid） ========= */

.article-list-section {
  padding: 100px 0 80px;
}

.article-list-section .section-title {
  font-size: 32px;
  text-align: center;
  font-weight: 600;
  margin-bottom: 48px;
  color: #222;
}

.section-title {
  color:#062a5b !important;
}

/* 两列 × 6 行（每页 12 条）卡片网格 */
.article-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  /* 强制两列，仅作用于文章列表页 */
  gap: 30px 40px;
  /* 行距30px，列距40px */
}

/* 单张卡片（仿首页风格） */
.article-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(12, 30, 60, 0.04);
  transition: transform .18s ease, box-shadow .18s ease;
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 36px rgba(12, 30, 60, 0.08);
}

.article-thumb img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.article-body {
  padding: 14px 16px 18px;
}

.article-title {
  font-size: 16px;
  color: #0b3b7a;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.4;
  text-decoration: none;
  text-align: left;
}

.article-date {
  color: #999;
  font-size: 13px;
  text-align: left;
}

/* 卡片里链接行为 */
.article-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* 分页（圆角数字） */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-btn {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 20px;
  border: 1px solid #e3e6ea;
  background: #fff;
  color: #333;
  text-decoration: none;
  transition: all .18s;
  min-width: 40px;
  text-align: center;
}

.page-btn:hover {
  background: #0b6cf0;
  color: #fff;
  border-color: #0b6cf0;
}

.page-btn.active {
  background: #0b6cf0;
  color: #fff;
  border-color: #0b6cf0;
}

/* 响应式：移动端单列 */
@media (max-width: 768px) {
  .article-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .article-thumb img {
    height: 180px;
  }
}

/* 新闻卡片统一风格（首页3列） */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 28px;
}

.news-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform .25s ease;
}

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

.news-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(12, 30, 60, 0.04);
  transition: box-shadow .25s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  box-shadow: 0 12px 32px rgba(12, 30, 60, 0.08);
}

.news-thumb {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.news-body {
  padding: 16px;
}

.news-title {
  font-size: 16px;
  font-weight: 600;
  color: #0b3b7a;
  margin-bottom: 8px;
}

.news-summary {
  font-size: 14px;
  color: #555;
  margin-bottom: 10px;
  line-height: 1.5;
}

.meta {
  font-size: 12px;
  color: #999;
}

/* 查看更多按钮外层容器，居中布局 */
.text-center {
  text-align: center;
  margin-top: 32px;
}

/* 新闻详情页标题居中 */
.article-detailtitle {
  text-align: center;
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 10px;
}

/* 发布时间信息样式（可选优化） */
.article-meta {
  text-align: center;
  color: #888;
  margin-bottom: 30px;
  font-size: 14px;
}

/* 通用文章图片样式 */
.article-body img,
.article-image img {
  width: 100%;
  height: auto;
  display: block;
  margin: 16px auto;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

/* 仅限制 PC 端 banner 图宽度 */
@media (min-width: 900px) {
  .article-image img {
    max-width: 800px;
  }
}

/* 移动端优化（防止左右留白） */
@media (max-width: 768px) {
  .article-body img,
  .article-image img {
    width: 100vw;       /* 图片占满视口宽度 */
    margin-left: -4vw;  /* 抵消容器内边距，左右贴边 */
    border-radius: 0;   /* 移动端可去掉圆角，避免边缘空白 */
  }
}


/* 桌面端导航样式 */
.header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
}

.nav {
  display: flex;
  gap: 24px;
  align-items: center;
}

/* 汉堡按钮默认隐藏（仅移动端显示） */
.nav-toggle {
  display: none;
  font-size: 26px;
  background: none;
  border: none;
  cursor: pointer;
}

/* ✅ 响应式控制：移动端下隐藏菜单，用按钮展开 */
@media (max-width: 768px) {
  .nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 6px 16px rgba(0,0,0,0.1);
    padding: 16px 0;
    z-index: 999;
  }

  .nav.active {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .btn-top {
    margin-top: 12px;
  }
}


/* 立即咨询按钮移动端优化 */
@media (max-width: 768px) {
  .hero-inner {
    flex-direction: column;
    text-align: center;
  }

  .cta-btn {
    display: inline-block;
    width: auto;  /* ← 防止撑满整行 */
    margin-top: 12px;
  }

  .hero-illustration {
    max-width: 90%;
    margin: 0 auto;
  }
}

/* 移动端优化 hero-left 区域文字布局 */
@media (max-width: 768px) {
  .hero-left {
    padding: 0 16px;       /* 左右各留 16px 空白 */
    text-align: center;    /* 让文字更居中舒展，可选 */
  }

  .hero-left h1,
  .hero-left h2,
  .hero-left p {
    line-height: 1.6;      /* 稍微加大行距，让排版更舒服 */
  }

  .hero-left p {
    font-size: 15px;       /* 适配小屏文字 */
    margin-top: 12px;
  }
}
