/* ============================================================
   档案专题页 style.css
   设计基准：纬衡科技官网-档案专题-8553（1920 宽 / 版心 1528）
   区块节奏：section padding 88 / 标题 28-500 / 副标题 20-400
   ============================================================ */

:root {
  --main: #1677ff;
  --main-deep: #0e58c1;
  --grad-main: linear-gradient(94deg, #0e58c1 0%, #1677ff 100%);
  --title: #303333;
  --body: #606666;
  --muted: #909999;
  --gray: #f7f8fa;
  --line: #e5e5e5;
  --radius: 8px;
}

/* ---------- reset ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family:
    "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--title);
  font-size: 16px;
  line-height: 28px;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
ul {
  list-style: none;
}
h1,
h2,
h3,
h4 {
  font-weight: 500;
}

/* 版心 1528：≥1600 时无内边距，正好 1528 */
.container {
  max-width: 1528px;
  margin: 0 auto;
  padding: 0 36px;
}
@media (min-width: 1600px) {
  .container {
    padding: 0;
  }
}

/* ---------- 通用区块 ---------- */
.section {
  padding: 88px 0;
}
.section-gray {
  background: var(--gray);
}
.section-dark {
  background: linear-gradient(96deg, #13234c 0%, #1a2a50 100%);
}

.section-head {
  text-align: center;
  margin-bottom: 64px;
}
.section-head h2 {
  font-size: 28px;
  font-weight: 500;
  line-height: 39px;
  color: var(--title);
  margin-bottom: 24px;
}
.section-head h2:last-child {
  margin-bottom: 0;
}
.section-sub {
  font-size: 20px;
  font-weight: 400;
  line-height: 28px;
  color: var(--muted);
}
.section-dark .section-head h2 {
  color: #fafafa;
}
.section-dark .section-sub {
  color: #e5e5e5;
}

/* ---------- 左侧悬浮锚点（滚动进度轨道） ---------- */
.side-nav {
  position: fixed;
  left: 24px;
  top: 343px;
  z-index: 50;
  /* 仅覆盖文字所需宽度，避免点击热区向右延伸到 FAQ 翻页箭头下方 */
  width: 120px;
  --side-progress: 36px;
}
.side-nav::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 2px;
  height: 360px;
  background: #dcdfe6;
}
.side-nav::after {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 2px;
  height: var(--side-progress);
  background: var(--main);
}
.side-item {
  position: relative;
  display: block;
  height: 36px;
  line-height: 36px;
  padding-left: 20px;
  font-size: 14px;
  font-weight: 400;
  color: #c0c4cc;
  white-space: nowrap;
  transition: color 0.2s;
}
.side-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 8px;
  height: 1px;
  margin-top: -1px;
  background: #dcdfe6;
}
.side-item:hover {
  color: var(--main);
}
.side-item.active {
  font-size: 16px;
  font-weight: 500;
  color: var(--main);
}
.side-item.active::before {
  width: 12px;
  height: 2px;
  background: var(--main);
}
@media (max-width: 1440px) {
  .side-nav {
    display: none;
  }
}

/* ---------- 顶部导航 ---------- */
/* 设计稿：头部总高 92（顶部 1px #E1E2E6 + 1px #F3F3F5 分割线 + 91 内容） */
.site-header {
  background: #fff;
  border-top: 1px solid #e1e2e6;
  box-shadow: inset 0 -1px 0 #f3f3f5; /* 画在头部内部底边，高度不变 */
}
.header-inner {
  max-width: 1250px;
  margin: 0 auto;
  height: 91px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.logo {
  flex: 0 0 auto;
  display: block;
}
.logo img {
  display: block;
  width: 222px;
  height: 70px;
}
.header-main {
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.header-top {
  display: flex;
  align-items: center;
  gap: 21px;
  margin-top: 9px;
  font-size: 12px;
  line-height: 20px;
  color: var(--muted);
}
.header-top .tel {
  color: #e4002b;
  font-weight: 500;
}
.header-top a:hover {
  color: var(--main);
}
.main-nav {
  min-width: 0;
  max-width: 100%;
  margin-top: 17px;
}
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 48px;
}
.main-nav a {
  position: relative;
  display: inline-block;
  font-size: 15px;
  line-height: 20px;
  color: var(--body);
  white-space: nowrap;
  transition: color 0.2s;
}
.main-nav a:hover {
  color: var(--main);
}
.main-nav li.active a {
  color: var(--main);
  font-weight: 500;
}
.main-nav li.active a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -20px;
  height: 4px;
  background: var(--main);
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s,
    box-shadow 0.2s;
}
.btn-primary {
  background: var(--main);
  color: #fff;
  box-shadow: 0 2px 32px rgba(22, 119, 255, 0.3);
}
.btn-primary:hover {
  background: var(--main-deep);
}
.btn-outline {
  background: transparent;
  color: var(--main);
  border-color: var(--main);
}
.btn-outline:hover {
  background: #e6f4ff;
}
.btn-block {
  display: flex;
  width: 100%;
  height: 48px;
}

/* ---------- 1. Banner 首屏（92 ~ 692） ---------- */
.hero {
  background: url("../images/banner.png") center top / cover no-repeat;
  min-height: 600px;
}
.hero-inner {
  padding-top: 113px;
}
.hero-text {
  max-width: 900px;
}
.hero-text h1 {
  font-size: 44px;
  font-weight: 600;
  line-height: 58px;
  color: var(--main);
  margin-bottom: 28px;
}
.hero-sub {
  font-size: 28px;
  font-weight: 500;
  line-height: 36px;
  color: #242424;
  margin-bottom: 27px;
}
.hero-desc {
  max-width: 540px;
  font-size: 20px;
  font-weight: 400;
  line-height: 28px;
  color: var(--muted);
  margin-bottom: 21px;
}
.hero-btns {
  display: flex;
  gap: 24px;
  margin-bottom: 25px;
}
.hero-tip {
  font-size: 14px;
  line-height: 20px;
  color: var(--muted);
}
/* banner.png 已整屏作背景 */
.hero-img {
  display: none;
}

/* ---------- 2. 合规背景（692 ~ 1255，白底） ---------- */
.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}
.card h3 {
  font-size: 20px;
  font-weight: 500;
  line-height: 28px;
  color: var(--title);
  margin-bottom: 24px;
}
.card p {
  font-size: 16px;
  font-weight: 400;
  line-height: 28px;
  color: var(--body);
}
/* 设计稿：段内仅「GB/T 17678-2025」为蓝色带下划线，其余为正文色 */
.card .standard {
  color: var(--main);
  text-decoration: underline;
}

/* ---------- 3. 行业痛点（1255 ~ 2273，#F7F8FA） ---------- */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 330px;
  gap: 32px;
}
.pain-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}
.pain-card:nth-child(1) {
  background: radial-gradient(
    72.09% 95.57% at 87.5% 18.23%,
    #fbfdff 0%,
    #fff 100%
  );
}
.pain-card:nth-child(2) {
  background: radial-gradient(
    72.09% 95.57% at 87.5% 18.23%,
    #f0f6ff 0%,
    #fff 100%
  );
}
.pain-card:nth-child(3) {
  background: radial-gradient(
    54.05% 111.04% at 84.84% 7.95%,
    #fefcff 0%,
    #fffdfd 100%
  );
  grid-row: span 2;
}
.pain-card:nth-child(4) {
  background: radial-gradient(
    45.02% 89.59% at 76.02% 22.14%,
    #fffcfc 0%,
    #fffdfd 100%
  );
}
.pain-card:nth-child(5) {
  background: radial-gradient(
    45.02% 89.59% at 76.02% 22.14%,
    #fafeff 0%,
    #fdffff 100%
  );
}
.pain-card h3 {
  position: relative;
  z-index: 1;
  font-size: 20px;
  font-weight: 500;
  line-height: 28px;
  color: var(--title);
  margin-bottom: 8px;
}
.pain-desc {
  position: relative;
  z-index: 1;
  font-size: 16px;
  font-weight: 400;
  line-height: 28px;
  color: var(--body);
}
/* 插图原始导出为「整卡 + 12/13px 出血」的白底图，需垫在文字下方 */
.pain-card img {
  position: absolute;
  left: -13px;
  bottom: -16px;
  z-index: 0;
  height: calc(100% + 26px);
  width: auto;
  max-width: none;
}

/* ---------- 4. 解决方案架构（2273 ~ 3072，深蓝） ---------- */
.layer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}
.layer-card {
  padding: 32px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
}
/* 1920 基准：四层色块等高，文字同顶 */
@media (min-width: 1600px) {
  .layer-card {
    min-height: 463px;
    padding: 54px 32px 0;
  }
}
.layer-card h3 {
  font-size: 20px;
  font-weight: 500;
  line-height: 28px;
  color: #fafafa;
  margin-bottom: 32px;
}
.layer-card .tag {
  display: inline-block;
  margin-left: 12px;
  padding: 0 8px;
  height: 28px;
  line-height: 28px;
  /* 抵消 inline-block 撑高的 2px 行盒，使四列标题/列表同基线 */
  margin-bottom: -2px;
  border-radius: 4px;
  background: #e6f4ff;
  font-size: 16px;
  font-weight: 500;
  color: var(--main);
}
.layer-card ul li {
  position: relative;
  padding-left: 20px;
  font-size: 16px;
  font-weight: 500;
  line-height: 22px;
  color: #fafafa;
}
.layer-card ul li + li {
  margin-top: 24px;
}
.layer-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fafafa;
}

/* ---------- 5. 核心产品能力 tab（3072 ~ 3953，白底） ---------- */
.cap-wrap {
  display: grid;
  grid-template-columns: 358px minmax(0, 1fr);
}
.cap-tabs {
  background: #fff;
  border-radius: var(--radius) 0 0 var(--radius);
  overflow: hidden;
}
.cap-tab {
  display: flex;
  align-items: center;
  gap: 22px;
  height: 110px;
  padding-left: 30px;
  font-size: 20px;
  font-weight: 500;
  color: var(--body);
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
}
/* 图标为设计稿裁切整块（含本地背景），尺寸固定 40x40，不参与压缩 */
.cap-tab-icon {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
}
.cap-tab:hover {
  color: var(--main);
}
.cap-tab.active {
  background: var(--grad-main);
  color: #fff;
}
.cap-panel {
  border-radius: 0 var(--radius) var(--radius) 0;
  overflow: hidden;
}
.cap-pane {
  display: none;
}
.cap-pane.active {
  display: block;
}
.cap-pane img {
  width: 100%;
  height: auto;
}

/* ---------- 6. 核心差异（3953 ~ 4946，#F7F8FA） ---------- */
.compare-wrap {
  position: relative;
  height: 714px;
}
/* 我方：右侧斜切梯形（顶 834 → 底 732），压在白卡之上（设计稿 layerIndex 251 > 250） */
.compare-us {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  width: 834px;
  height: 714px;
  padding: 48px;
  isolation: isolate;
  /* drop-shadow 加在外层，作用于 ::before 裁切后的梯形轮廓 */
  filter: drop-shadow(8px 0 12px rgba(22, 119, 255, 0.12));
}
.compare-us::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: var(--radius);
  background: var(--grad-main);
  clip-path: polygon(0 0, 100% 0, calc(100% - 102px) 100%, 0 100%);
}
.compare-others {
  position: absolute;
  left: 727px;
  top: 16px;
  width: 801px;
  height: 682px;
  padding: 32px 32px 32px 137px;
  background: #fff;
  border-radius: var(--radius);
}
.compare-col h3 {
  font-size: 24px;
  font-weight: 500;
  line-height: 34px;
  margin-bottom: 24px;
}
.compare-col .compare-item + .compare-item {
  margin-top: 10px;
}
.compare-item b {
  position: relative;
  display: block;
  padding-left: 20px;
  font-size: 16px;
  font-weight: 500;
  line-height: 28px;
}
/* 设计稿：标签前 12×12 空心圆点（2px 描边，含边框共 12），标签比正文右缩进 20px */
.compare-item b::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  box-sizing: border-box;
  width: 12px;
  height: 12px;
  border: 2px solid currentColor;
  border-radius: 50%;
}
.compare-item p {
  font-size: 16px;
  font-weight: 400;
  line-height: 28px;
  margin-top: 6px;
}
.compare-us h3,
.compare-us .compare-item b,
.compare-us .compare-item p {
  color: #fafafa;
}
.compare-others h3 {
  color: var(--title);
}
.compare-others .compare-item b,
.compare-others .compare-item p {
  color: var(--body);
}
.vs-badge {
  position: absolute;
  left: 748px;
  top: 325px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: var(--grad-main);
  font-size: 24px;
  font-weight: 500;
  color: #fafafa;
}

/* ---------- 7. 应用场景（4946 ~ 5912，白底） ---------- */
.scene-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 51px;
  height: 46px;
  margin: 0 0 48px;
}
.scene-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 108px;
  height: 41px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  font-size: 15px;
  font-weight: 500;
  color: var(--title);
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.2s;
}
.scene-tab:hover {
  color: var(--main);
}
.scene-tab.active {
  width: 112px;
  height: 46px;
  font-size: 16px;
  color: var(--main);
}
.scene-panel {
  border-radius: var(--radius);
  overflow: hidden;
}
.scene-pane {
  display: none;
  position: relative;
  /* 浮层随底图等比缩放：基准宽 1528（设计版心），1cqw = 15.28px @1920 */
  container-type: inline-size;
}
.scene-pane.active {
  display: block;
}
.scene-pane > img {
  width: 100%;
  height: auto;
}
/* 左侧渐变遮罩，非浮层卡片 */
.scene-mask {
  position: absolute;
  left: 0;
  top: 0;
  width: 40.84%; /* 624 / 1528 */
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0) 100%
  );
}
.scene-info {
  position: absolute;
  left: 2.094%; /* 32 / 1528 */
  top: 13.024cqw; /* 199 / 1528 */
  width: 36.65%; /* 560 / 1528 */
  color: #fff;
}
.scene-info h3 {
  display: flex;
  align-items: center;
  gap: 0.785cqw; /* 12px @1528 */
  font-size: 1.309cqw; /* 20px @1528 */
  font-weight: 500;
  line-height: 1.832cqw; /* 28px @1528 */
  color: #fff;
  margin-bottom: 1.571cqw; /* 24px @1528 */
}
.scene-info .tag {
  display: inline-flex;
  align-items: center;
  height: 1.832cqw; /* 28px @1528 */
  padding: 0 0.524cqw; /* 8px @1528 */
  border-radius: 0.262cqw; /* 4px @1528 */
  background: #e6f4ff;
  font-size: 1.047cqw; /* 16px @1528 */
  font-weight: 500;
  color: var(--main);
}
.scene-info p {
  font-size: 1.047cqw; /* 16px @1528 */
  font-weight: 400;
  line-height: 1.832cqw; /* 28px @1528 */
  color: #fff;
  margin-bottom: 0.524cqw; /* 8px @1528 */
}
.scene-info p b {
  font-weight: 400;
}

/* ---------- 8. 落地案例（5912 ~ 6633，#F7F8FA） ---------- */
.case-card {
  position: relative;
  border-radius: var(--radius);
}
.case-img {
  position: relative;
  height: 263px;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
  background: #e8eef7;
}
.case-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* 压暗效果已随图裁切烘焙进图片（设计稿即 40% 黑叠加），故不再用伪元素叠加 */
.case-tag {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  height: 38px;
  padding: 0 12px;
  border-radius: var(--radius) 0 var(--radius) 0;
  background: var(--main);
  font-size: 16px;
  font-weight: 500;
  color: #fff;
}
.case-body {
  position: relative;
  z-index: 2;
  margin-top: -26px;
  min-height: 205px;
  padding: 24px 32px 35px;
  border-radius: var(--radius);
  background: #fff;
  display: flex;
  flex-direction: column;
}
.case-desc {
  font-size: 14px;
  line-height: 22px;
  color: var(--title);
}
.case-name {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  font-size: 14px;
  line-height: 20px;
  color: var(--title);
}
.case-name::before {
  content: "";
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.2), var(--line));
}

/* ---------- 9. 业务 FAQ（6633 ~ 7402，白底，3 列 × 2 行） ---------- */
.faq-carousel {
  position: relative;
}
.faq-page {
  display: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.faq-page.active {
  display: grid;
}
.faq-card {
  padding: 33px;
  min-height: 203px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}
.faq-card h3 {
  font-weight: 500;
  color: var(--title);
}
.faq-arrow {
  position: absolute;
  top: 204px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 50px;
  border: none;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  color: #c0c4cc;
  cursor: pointer;
  transition: color 0.2s;
}
.faq-arrow:hover {
  color: var(--main);
}
.faq-prev {
  /* 靠右贴近版心左边缘，与左侧悬浮锚点的点击区拉开距离 */
  left: -60px;
}
.faq-next {
  right: -60px;
}

/* ---------- 10. 实施价值（7402 ~ 7855，背景图） ---------- */
.section-value {
  background: url("../images/价值背景.png") center / cover no-repeat;
  color: #fff;
}
.section-value .section-head h2 {
  color: #fff;
}
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}
.value-card {
  min-height: 174px;
  padding: 32px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
}
.value-card h3 {
  font-size: 20px;
  font-weight: 500;
  line-height: 28px;
  color: #fff;
  margin-bottom: 24px;
}
.value-card p {
  font-size: 16px;
  font-weight: 400;
  line-height: 28px;
  color: #fff;
}

/* ---------- 11. 预约咨询（7855 ~ 8553，#F7F8FA） ---------- */
.contact-btns {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 24px;
}
.contact-form {
  max-width: 748px;
  margin: 0 auto;
}
.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  margin-bottom: 16px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  font-family: inherit;
  font-size: 16px;
  color: var(--title);
  outline: none;
  transition: border-color 0.2s;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--muted);
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--main);
}
.contact-form textarea {
  height: 96px;
  padding: 12px 16px;
  line-height: 24px;
  resize: vertical;
  margin-bottom: 24px;
}
/* 提交提示：红色文案（与参考页 app/login.html 的 #error 一致），无内容时不占位 */
.form-error {
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 22px;
  color: red;
}
.form-error:empty {
  display: none;
}
/* 校验不通过的输入框标红（放在 :focus 规则之后，聚焦时也保持红色） */
.contact-form input.is-invalid,
.contact-form textarea.is-invalid {
  border-color: red;
}

/* ---------- 底部 ---------- */
.site-footer {
  background: #13234c;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  padding: 24px 0;
  font-size: 14px;
}

/* ============================================================
   响应式降级：<1600 版心收窄，<1200 结构性重排，<960 单列
   ============================================================ */
/* 核心差异：视口 <1600 时改为上下堆叠（原为绝对定位，需容器内宽 ≥1528） */
@media (max-width: 1599px) {
  .compare-wrap {
    height: auto;
  }
  .compare-us,
  .compare-others {
    position: static;
    width: auto;
    height: auto;
    padding: 32px;
    clip-path: none;
    border-radius: var(--radius);
  }
  .compare-us::before {
    display: none;
  }
  .compare-us {
    background: var(--grad-main);
  }
  .compare-others {
    margin-top: 16px;
  }
  .vs-badge {
    position: static;
    margin: 20px auto 0;
  }
}

/* FAQ 箭头：视口不足 1528 + 2×80 时收进位心内 */
@media (max-width: 1687px) {
  .faq-prev {
    left: -24px;
  }
  .faq-next {
    right: -24px;
  }
}

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

@media (max-width: 1280px) {
  .header-inner {
    gap: 24px;
  }
  .main-nav ul {
    gap: 28px;
  }
  .header-top {
    gap: 16px;
  }
}

@media (max-width: 1200px) {
  .section {
    padding: 64px 0;
  }
  .section-head {
    margin-bottom: 40px;
  }
  .section-head h2 {
    font-size: 24px;
    line-height: 34px;
  }
  .section-sub {
    font-size: 16px;
  }

  .header-inner {
    height: auto;
    padding: 16px 24px;
    flex-wrap: wrap;
    gap: 16px;
  }
  .header-main {
    align-items: flex-start;
    width: 100%;
    height: auto;
  }
  .header-top {
    order: 2;
    margin-top: 0;
  }
  .main-nav {
    margin-top: 8px;
  }
  .main-nav ul {
    gap: 24px;
    overflow-x: auto;
    padding-bottom: 4px;
  }
  .main-nav a {
    padding: 6px 0;
  }
  .main-nav li.active a::after {
    bottom: 0;
    height: 3px;
  }

  .hero {
    min-height: 0;
  }
  .hero-inner {
    padding: 64px 36px;
  }
  .hero-text h1 {
    font-size: 30px;
    line-height: 42px;
  }
  .hero-sub {
    font-size: 20px;
    line-height: 30px;
  }
  .hero-desc {
    font-size: 16px;
    max-width: 520px;
  }
  .hero-btns {
    flex-wrap: wrap;
  }

  /* 核心能力 tab：横向排列 */
  .cap-wrap {
    grid-template-columns: minmax(0, 1fr);
  }
  .cap-tabs {
    display: flex;
    border-radius: var(--radius) var(--radius) 0 0;
    overflow-x: auto;
  }
  .cap-tab {
    flex: 0 0 auto;
    gap: 8px;
    height: auto;
    padding: 16px 20px;
    font-size: 16px;
    white-space: nowrap;
  }
  .cap-tab-icon {
    width: 24px;
    height: 24px;
  }
  .cap-panel {
    border-radius: 0 0 var(--radius) var(--radius);
  }

  /* 应用场景：容器变窄时浮层改为图片下方深色信息块，避免文字被面板裁切 */
  .scene-mask {
    display: none;
  }
  .scene-info {
    position: static;
    width: auto;
    padding: 24px;
    background: #13234c;
  }
  .scene-info h3 {
    gap: 12px;
    font-size: 20px;
    line-height: 28px;
    margin-bottom: 16px;
  }
  .scene-info .tag {
    height: 28px;
    padding: 0 8px;
    border-radius: 4px;
    font-size: 16px;
  }
  .scene-info p {
    font-size: 15px;
    line-height: 26px;
    margin-bottom: 8px;
  }
}

@media (max-width: 960px) {
  .card-grid-3,
  .faq-page,
  .value-grid,
  .form-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .pain-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-auto-rows: auto;
  }
  .pain-card {
    min-height: 330px;
  }
  .pain-card:nth-child(3) {
    grid-row: auto;
    min-height: 692px;
  }

  .layer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .scene-tabs {
    gap: 12px;
    height: auto;
    flex-wrap: wrap;
    margin: 32px 0 32px;
  }
  .scene-tab,
  .scene-tab.active {
    width: auto;
    padding: 0 20px;
    height: 40px;
    font-size: 15px;
  }

  .faq-arrow {
    display: none;
  }
  /* 移动端无翻页箭头，FAQ 全部展开，避免后续分页内容不可达 */
  .faq-page {
    display: grid;
  }
  .faq-page + .faq-page {
    margin-top: 32px;
  }

  .contact-btns {
    flex-wrap: wrap;
  }
  .contact-btns .btn {
    flex: 1 1 auto;
  }
}
