/* =========================================================
   双耀智能 · 首页样式
   设计令牌来自 Ardot 设计稿
   主色 #17335A · 辅助蓝 #2E6FD8 · 浅底 #F7F8FA · 深色渐变 #1B3E6B→#0C1E38
   ========================================================= */

:root {
  --navy: #17335A;
  --navy-deep: #0C1E38;
  --blue: #2E6FD8;
  --bg-light: #F7F8FA;
  --ink: #0A1628;
  --muted: #4A5568;
  --muted-light: rgba(255, 255, 255, 0.72);
  --border: #E2E6EC;
  --radius: 24px;
  --radius-sm: 16px;
  --shadow-card: 0 8px 24px rgba(5, 18, 45, 0.05);
  --container: 1200px;
  --nav-h: 72px;
  --font: "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ===================== 全局动效层 ===================== */
/* 自定义光标：柔光环 + 精准点（仅精确指针设备） */
.cursor, .cursor-dot {
  position: fixed;
  top: 0; left: 0;
  z-index: 9999;
  pointer-events: none;
  border-radius: 50%;
  will-change: transform;
  opacity: 0;
  transition: opacity .3s ease;
}
.cursor {
  width: 40px; height: 40px;
  margin: -20px 0 0 -20px;
  border: 1.5px solid rgba(46,111,216,.55);
  background: rgba(46,111,216,.06);
  backdrop-filter: blur(2px);
}
.cursor-dot {
  width: 6px; height: 6px;
  margin: -3px 0 0 -3px;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(46,111,216,.35);
}
.cursor.is-visible, .cursor-dot.is-visible { opacity: 1; }
.cursor.is-hover {
  width: 64px; height: 64px;
  margin: -32px 0 0 -32px;
  border-color: rgba(46,111,216,.9);
  background: rgba(46,111,216,.12);
}
.cursor.is-active {
  width: 30px; height: 30px;
  margin: -15px 0 0 -15px;
  border-color: #6FA0FF;
  background: rgba(111,160,255,.22);
}
.cursor-dot.is-hover { transform: scale(0.4); }

/* 颗粒噪点纹理（subtle grain） */
.grain {
  position: fixed; inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: .05;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="140" height="140"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.82" numOctaves="2" stitchTiles="stitch"/><feColorMatrix type="saturate" values="0"/></filter><rect width="140" height="140" filter="url(%23n)"/></svg>');
}

/* 顶部滚动进度条 */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 9997;
  height: 2px;
  background: transparent;
  pointer-events: none;
}
.scroll-progress span {
  display: block; height: 100%; width: 100%;
  background: linear-gradient(90deg, #2E6FD8, #6FA0FF);
  transform-origin: left center;
  transform: scaleX(0);
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

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

/* ===================== 导航 ===================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background .35s ease, box-shadow .35s ease, height .35s ease;
  background: transparent;
}
.nav.scrolled {
  background: rgba(12, 30, 56, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
  height: 64px;
}
.nav__inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 10px; color: #fff; }
.brand__logo { width: 40px; height: 40px; display: block; flex: none; object-fit: contain; }
.brand__word { height: 30px; width: auto; display: block; flex: none; object-fit: contain; }

.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__link {
  color: rgba(255,255,255,.85);
  font-size: 15px;
  font-weight: 500;
  position: relative;
  transition: color .25s ease;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 2px; background: var(--blue); transition: width .25s ease;
}
.nav__link:hover { color: #fff; }
.nav__link:hover::after { width: 100%; }
.nav__cta {
  background: var(--blue);
  color: #fff !important;
  padding: 9px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  transition: transform .2s ease, box-shadow .2s ease;
}
.nav__cta:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(46,111,216,.45); }

.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav__toggle span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: .3s; }

/* ===================== Hero 视频背景 + 缩屏转场 ===================== */
/* 外层包装：提供滚动空间，让第一屏随滚动「缩小」为下一屏顶部的画框 */
.hero-wrap {
  position: relative;
  height: 185vh;   /* 预留滚动行程，驱动缩屏转场 */
  scroll-margin-top: 0;
  background: #fff; /* 缩屏后四周露出的底色，与第二屏浅色无缝衔接 */
}
.hero {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, #1B3E6B 0%, #0C1E38 100%);
  border-radius: 0;
  /* 由 JS 通过 CSS 变量驱动缩放/位移/圆角 */
  --hero-scale: 1;
  --hero-ty: 0px;
  --hero-radius: 0px;
  transform: scale(var(--hero-scale)) translateY(var(--hero-ty));
  transform-origin: center center;
  border-radius: var(--hero-radius);
  will-change: transform, border-radius;
}
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  /* 变色：由 JS 驱动饱和/色相/亮度，滚动后画面转为品牌深蓝调 */
  --hero-sat: 1;
  --hero-hue: 0deg;
  --hero-bright: 1;
  filter: saturate(var(--hero-sat)) hue-rotate(var(--hero-hue)) brightness(var(--hero-bright));
  will-change: filter;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(120% 120% at 50% 30%, rgba(12,30,56,.25) 0%, rgba(12,30,56,.65) 70%, rgba(8,18,38,.85) 100%),
    linear-gradient(180deg, rgba(12,30,56,.45) 0%, rgba(12,30,56,.30) 50%, rgba(8,18,38,.80) 100%);
}
/* 变色叠加层：滚动时淡入品牌深蓝，把画面「染」成深蓝调 */
.hero__tint {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(120% 120% at 50% 40%, rgba(27,62,107,.35), rgba(12,30,56,.78) 100%),
    linear-gradient(160deg, #1B3E6B 0%, #0C1E38 100%);
  mix-blend-mode: normal;
  opacity: 0;
  will-change: opacity;
}

/* 滚动标语 Born for the Brand：上下三行，各行左右交替错开滚动 */
.hero__marquee {
  position: absolute;
  left: 0; right: 0;
  bottom: 4vh;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: .18em;
  overflow: hidden;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  will-change: opacity;
}
.hero__marquee-row {
  overflow: hidden;
  line-height: 1;
}
.hero__marquee-track {
  display: inline-flex;
  gap: 0;
  width: max-content;
  will-change: transform;
  animation: marquee-ltr 34s linear infinite;
}
/* 偶数行反向（右→左）滚动 */
.hero__marquee-row--2 .hero__marquee-track {
  animation-name: marquee-rtl;
}
.hero__marquee-word {
  display: inline-block;
  padding-right: .55em;
  font-size: clamp(48px, 9.5vw, 130px);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: .01em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255,255,255,.30);
  text-transform: uppercase;
}
/* 中间行加实心，形成视觉重心 */
.hero__marquee-row--2 .hero__marquee-word { color: rgba(255,255,255,.9); -webkit-text-stroke: 0; }
@keyframes marquee-ltr {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes marquee-rtl {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 0 24px;
  max-width: 980px;
}
.hero__title {
  color: #fff;
  font-size: clamp(30px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 1px;
  text-shadow: 0 4px 24px rgba(0,0,0,.35);
}
/* 标题每行独立成块并禁止折行：保证第一行永远在第一行、第二行永远在第二行 */
.hero__line {
  display: inline-block;
  white-space: nowrap;
}

.hero__sub {
  margin-top: 24px;
  color: var(--muted-light);
  font-size: clamp(14px, 1.6vw, 18px);
  font-weight: 400;
  letter-spacing: .5px;
}
.hero__scroll {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 56px;
  color: rgba(255,255,255,.8);
}
.hero__scroll-text { font-size: 13px; letter-spacing: 2px; }
.hero__scroll-dot {
  width: 22px; height: 36px;
  border: 2px solid rgba(255,255,255,.55);
  border-radius: 12px;
  position: relative;
}
.hero__scroll-dot::after {
  content: ""; position: absolute; left: 50%; top: 7px;
  width: 4px; height: 8px; border-radius: 2px; background: #fff;
  transform: translateX(-50%);
  animation: scrollDot 1.6s infinite;
}
@keyframes scrollDot {
  0% { opacity: 0; transform: translate(-50%, 0); }
  40% { opacity: 1; }
  80% { opacity: 0; transform: translate(-50%, 12px); }
  100% { opacity: 0; }
}

/* ===================== 通用 section ===================== */
.section { padding: 100px 0; scroll-margin-top: var(--nav-h); }
.section--light { background: #fff; }
.section--dark { background: var(--navy-deep); }

/* ===================== 业务左右图文屏（软件/营销/集成/工控） ===================== */
.biz {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
}
.biz--rev { direction: rtl; }
.biz--rev > * { direction: ltr; }

.biz__text { max-width: 520px; }
.biz__desc {
  font-size: 17px;
  line-height: 1.85;
  color: var(--muted);
  margin: 20px 0 28px;
}
.section--dark .biz__desc { color: rgba(255,255,255,.72); }

.biz__tags {
  display: flex; flex-wrap: wrap; gap: 12px;
  list-style: none;
}
.biz__tags li {
  font-size: 14px; font-weight: 600;
  padding: 9px 18px; border-radius: 999px;
  color: var(--navy);
  background: #EDF3FF;
  border: 1px solid rgba(46,111,216,.14);
}
.section--dark .biz__tags li {
  color: #CFE0FF;
  background: rgba(46,111,216,.16);
  border-color: rgba(111,160,255,.22);
}

.biz__media {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(5,18,45,.24);
  transform-style: preserve-3d;
}
.biz__media img {
  width: 100%; height: auto;
  display: block;
  transition: transform .7s cubic-bezier(.22,.61,.36,1);
}
.biz__media:hover img { transform: scale(1.04); }
.section--dark .biz__media {
  box-shadow: 0 30px 70px rgba(0,0,0,.4);
  border: 1px solid rgba(111,160,255,.18);
}

.section__head { margin-bottom: 48px; }
.eyebrow {
  display: inline-block;
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.eyebrow--light { color: #6FA0FF; }
.section__head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.section__title {
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  max-width: 760px;
}
.section__title--light { color: #fff; }

.ghost-btn {
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 11px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  transition: border-color .25s ease, color .25s ease, transform .2s ease;
}
.ghost-btn:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-1px); }

/* ===================== 品牌咨询设计 · 横向滚动平铺 ===================== */
.brand-scroll {
  position: relative;
  scroll-margin-top: var(--nav-h);
  /* 背景色由 JS 按 brandCurrent(0→1) 驱动渐变：浅蓝白 → 深蓝 */
  background: var(--brand-bg, #F7F8FA);
}
.brand-stage {
  position: sticky; top: 0;
  height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
  background: var(--brand-bg, #F7F8FA);
  transition: background .2s linear;
}
/* 粒子特效层：覆盖整个第二屏，随滚动变色 */
.brand-particles {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
}
.brand-head {
  position: relative;
  z-index: 2;
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px;
}
.brand-head .section__head { margin-bottom: 0; }
.brand-head .section__title { color: var(--brand-ink, var(--ink)); transition: color .2s linear; }
.brand-head .eyebrow { color: var(--brand-ink, var(--ink)); }

/* 横向轨道：拼贴画廊，图片错落散布，随滚轮 translateX 滑动 */
.brand-track {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: clamp(48px, 6vw, 110px);
  margin-top: 40px;
  /* 首项从流体球保护区右侧起步，尾部留白收束 */
  padding-left: calc(max(24px, (100vw - var(--container)) / 2) + clamp(260px, 24vw, 380px) + 5vw);
  padding-right: 10vw;
  will-change: transform;
}

/* 拼贴图项：小标注 + 图片，交替上下错落 */
.brand-item {
  flex: none;
  display: flex;
  flex-direction: column;
}
.brand-item__cap {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--muted);
  margin-bottom: 12px;
  white-space: nowrap;
}
.brand-item__imgwrap {
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 24px 60px rgba(5,18,45,.16);
  background: var(--navy-deep);
}
.brand-item__imgwrap img {
  width: 100%; height: auto;
  display: block;
  transition: transform .7s cubic-bezier(.22,.61,.36,1), filter .5s ease;
}
.brand-item:hover .brand-item__imgwrap img { transform: scale(1.05); }

/* 完整展示：不裁切，容器随图片原始比例（16:9 版面）自适应 */
/* 三行错位展示：卡片循环落在上/中/下三个行位，形成 2~3 行参差布局 */
.brand-item:nth-child(3n+1) { margin-top: -110px; }  /* 上行 */
.brand-item:nth-child(3n+2) { margin-top: 0; }        /* 中行 */
.brand-item:nth-child(3n)   { margin-top: 130px; }    /* 下行 */
.brand-item .brand-item__imgwrap { width: clamp(420px, 38vw, 560px); }
.brand-item:nth-child(3n) .brand-item__imgwrap { width: clamp(360px, 32vw, 480px); }

/* 流体球体：固定在左侧区域（原引言位置），不随轨道滑动 */
.brand-fluid {
  position: absolute;
  z-index: 1;
  left: max(24px, calc((100vw - var(--container)) / 2));
  top: 50%;
  transform: translateY(-46%);
  width: clamp(260px, 24vw, 380px);
  height: clamp(260px, 24vw, 380px);
  pointer-events: none;
}
.brand-fluid canvas {
  width: 100%; height: 100%;
  display: block;
  filter:
    drop-shadow(0 30px 70px rgba(23,51,90,.28))
    drop-shadow(0 0 46px rgba(46,111,216,.22));
}

/* 横向滑动进度线 */
.brand-progress {
  position: relative;
  z-index: 2;
  margin: 18px auto 0;
  width: min(300px, 44vw);
  height: 2px;
  background: rgba(23,51,90,.12);
  border-radius: 2px;
  overflow: hidden;
}
.brand-progress span {
  display: block; height: 100%; width: 100%;
  background: linear-gradient(90deg, var(--navy), var(--blue));
  transform-origin: left center;
  transform: scaleX(0);
}

/* ===================== 卡片网格（案例 / 动态） ===================== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cards--3 > article {
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.case-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }
.case-card:hover, .news-card:hover { transform: translateY(-6px); box-shadow: 0 22px 48px rgba(0,0,0,.30); }
.news-card { background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-card); }

.case-card__media, .news-card__media {
  width: 100%; height: 200px; overflow: hidden;
}
.case-card__media img, .news-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.case-card:hover .case-card__media img,
.news-card:hover .news-card__media img { transform: scale(1.06); }

/* 3D 倾斜 + 光标视差（桌面端，由 JS 加 is-tilt 态） */
.tilt {
  transform-style: preserve-3d;
  will-change: transform;
}
.tilt .tilt-inner { transform: translateZ(0); }
.tilt.is-tilting { transition: transform .18s ease-out; }
.tilt.is-tilting .tilt-media {
  transform: scale(1.08);
}
.tilt-media { transition: transform .5s ease; }

.case-card__body, .news-card__body { padding: 26px 26px 30px; }
.case-card__tag {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: 1px;
  color: #6FA0FF;
  background: rgba(46,111,216,.14);
  padding: 4px 12px; border-radius: 999px;
  margin-bottom: 14px;
}
.case-card__title, .news-card__title { font-size: 20px; font-weight: 700; margin-bottom: 10px; color: #fff; }
.news-card__title { color: var(--ink); }
.case-card__desc, .news-card__desc { font-size: 15px; line-height: 1.7; color: rgba(255,255,255,.66); }
.news-card__desc { color: var(--muted); }
.news-card__date { font-size: 13px; font-weight: 700; color: var(--blue); letter-spacing: 1px; }

/* ===================== 页脚 ===================== */
.footer { background: #fff; color: #17335A; border-top: 1px solid rgba(23, 51, 90, 0.08); }
.footer__inner {
  display: grid;
  grid-template-columns: 1.3fr 2fr;
  gap: 48px;
  padding: 72px 24px 56px;
}
.brand--footer { color: #17335A; margin-bottom: 22px; }
.footer__slogan { color: #5A6474; font-size: 15px; line-height: 1.8; }
.footer__cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.footer__col-title { font-size: 16px; font-weight: 700; margin-bottom: 18px; color: #17335A; }
.footer__link {
  display: block;
  font-size: 14px;
  color: #5A6474;
  margin-bottom: 12px;
  line-height: 1.6;
  transition: color .2s ease;
}
a.footer__link:hover { color: var(--blue); }
.footer__bar { border-top: 1px solid rgba(23, 51, 90, 0.1); }
.footer__bar-inner {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  padding: 20px 24px;
  font-size: 13px; color: #8A93A3;
}

/* ===================== 滚动渐显 ===================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s cubic-bezier(.22,.61,.36,1), transform .8s cubic-bezier(.22,.61,.36,1);
}
.reveal.in-view { opacity: 1; transform: none; }

/* 标题逐字浮现（由 JS 拆分 .split-char） */
.split-title {
  /* 标题本身不做整体位移，交由逐字动画呈现 */
  opacity: 1 !important;
  transform: none !important;
}
.split-title .split-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.5em) rotate(4deg);
  transform-origin: left bottom;
  transition: opacity .6s cubic-bezier(.22,.61,.36,1), transform .6s cubic-bezier(.22,.61,.36,1);
  transition-delay: var(--d, 0s);
  will-change: transform, opacity;
}
.split-title.in-view .split-char {
  opacity: 1;
  transform: translateY(0) rotate(0);
}


/* ===================== 响应式 ===================== */
@media (max-width: 900px) {
  /* 触屏设备：隐藏自定义光标与噪点 */
  .cursor, .cursor-dot { display: none; }
  /* 缩屏转场：移动端不做滚动钉住，第一屏占满视口 */
  .hero-wrap { height: 100vh !important; }
  .hero { position: relative; }
  .hero__marquee { display: none; }
  .nav__links {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: rgba(12,30,56,.98);
    backdrop-filter: blur(10px);
    padding: 16px 24px 24px;
    transform: translateY(-120%);
    transition: transform .35s ease;
    box-shadow: 0 12px 30px rgba(0,0,0,.3);
  }
  .nav__links.open { transform: translateY(0); }
  .nav__link { width: 100%; padding: 12px 0; font-size: 16px; }
  .nav__cta { margin-top: 8px; text-align: center; }
  .nav__toggle { display: flex; }

  .cards { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 36px; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .section { padding: 72px 0; }
  .biz { grid-template-columns: 1fr; gap: 36px; }
  .biz--rev { direction: ltr; }
  .biz__text { max-width: none; }

  /* 品牌设计：移动端退化为原生横向轻扫，不做滚动钉住 */
  .brand-scroll { height: auto !important; }
  .brand-stage { position: static; height: auto; padding: 72px 0; }
  .brand-head { flex-direction: column; align-items: flex-start; }
  .brand-track { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; transform: none !important; padding: 24px 24px 32px; gap: 32px; }
  .brand-item { scroll-snap-align: center; }
  .brand-item:nth-child(3n+1), .brand-item:nth-child(3n+2), .brand-item:nth-child(3n) { margin-top: 0; }
  .brand-item .brand-item__imgwrap,
  .brand-item:nth-child(3n) .brand-item__imgwrap { width: min(86vw, 480px); }
  /* 流体球体：动画仅在桌面端运行，移动端直接隐藏，避免 200px 空白占位 */
  .brand-fluid { display: none; }
  .brand-progress { display: none; }
}

@media (max-width: 560px) {
  .footer__cols { grid-template-columns: 1fr; }
  .hero__title { font-size: clamp(17px, 4.6vw, 28px); }
}

/* 减弱动画偏好 */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .split-title .split-char { opacity: 1; transform: none; transition: none; }
  .hero__scroll-dot::after { animation: none; }
  .cursor, .cursor-dot, .grain, .scroll-progress { display: none; }
  .hero-wrap { height: 100vh !important; }
  .hero { position: relative; transform: none !important; }
  .hero__marquee { display: none; }
  .hero__content { opacity: 1 !important; transform: none !important; }
  /* 品牌设计：不做滚动钉住，静态横向展示 */
  .brand-scroll { height: auto !important; }
  .brand-stage { position: static; height: auto; padding: 72px 0; }
  .brand-track { overflow-x: auto; transform: none !important; }
  .brand-progress { display: none; }
}

/* ===== 软件系统开发 · 左右图夹中，滚动向中间收缩 ===== */
.soft {
  position: relative;
  height: 220vh;
  background: #F4F5F7;
}
.soft__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2vw;
  padding: 0 4vw;
}
/* 设备样机容器：随滚动向中间收缩 */
.soft__device {
  flex: none;
  will-change: transform;
}
.soft__device--left  { transform: translateX(var(--soft-shift, 0)); }
.soft__device--right { transform: translateX(calc(-1 * var(--soft-shift, 0))); }

/* --- MacBook 样机 --- */
.mac { width: clamp(300px, 30vw, 540px); }
.mac__screen {
  aspect-ratio: 16 / 10;
  background: #0d0f14;
  border: 3px solid #2a2e38;
  border-bottom: none;
  border-radius: 14px 14px 0 0;
  padding: 1.6%;
  box-shadow: 0 30px 60px rgba(12, 30, 56, 0.28);
}
.mac__base {
  position: relative;
  height: 14px;
  margin: 0 -7%;
  background: linear-gradient(#e8eaee, #c9cdd6);
  border-radius: 0 0 16px 16px;
  box-shadow: 0 8px 18px rgba(12, 30, 56, 0.22);
}
.mac__base::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 14%;
  height: 6px;
  transform: translateX(-50%);
  background: #b6bac4;
  border-radius: 0 0 8px 8px;
}

/* --- iPhone 样机 --- */
.iphone {
  width: clamp(200px, 15.5vw, 270px);
  aspect-ratio: 620 / 1240;
  background: #0d0f14;
  border-radius: 42px;
  padding: 9px;
  box-shadow: 0 30px 60px rgba(12, 30, 56, 0.3), inset 0 0 0 2px #2a2e38;
}
.iphone__screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 34px;
  overflow: hidden;
  background: #fff;
}
.iphone__island {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 34%;
  height: 22px;
  background: #0d0f14;
  border-radius: 999px;
}

/* --- 屏幕内容轮播（交叉淡入） --- */
.soft__screens {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.mac__screen .soft__screens { border-radius: 4px; }
.soft__screens img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  opacity: 0;
  transition: opacity 0.7s ease;
}
.soft__screens img.is-on { opacity: 1; }

.soft__center {
  position: relative;
  z-index: 2;
  flex: 1;
  min-width: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(24px, 4vh, 44px);
}
.soft__cols {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(48px, 7vw, 120px);
  justify-content: center;
}
.soft__col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: 340px;
}
.soft__title {
  margin: 0;
  font-size: clamp(40px, 6vw, 88px);
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--navy, #17335A);
  line-height: 1.05;
}
.soft__sub {
  margin: 0;
  font-size: clamp(15px, 1.3vw, 20px);
  font-weight: 700;
  color: var(--navy, #17335A);
}
.soft__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: #5A6474;
}
.soft__btn {
  width: 46px;
  height: 46px;
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--blue, #2E6FD8);
  color: #fff;
  font-size: 18px;
  text-decoration: none;
  transition: background 0.25s ease, transform 0.25s ease;
}
.soft__btn:hover { background: var(--navy, #17335A); }

@media (max-width: 900px) {
  .soft { height: auto; }
  .soft__sticky {
    position: static;
    height: auto;
    flex-direction: column;
    padding: 72px 24px;
    gap: 40px;
  }
  .soft__device {
    position: static;
    transform: none !important;
  }
  .mac { width: min(88vw, 520px); }
  .iphone { width: min(56vw, 250px); }
  .soft__center { padding: 0; }
  .soft__cols { flex-direction: column; gap: 40px; }
}

/* 减弱动画：软件屏不做收缩 */
@media (prefers-reduced-motion: reduce) {
  .soft { height: auto; }
  .soft__sticky { position: static; height: auto; padding: 72px 0; }
  .soft__device { position: static; transform: none !important; }
  .mac { width: min(80vw, 480px); }
  .iphone { width: min(46vw, 220px); }
}

/* 软件屏：Lando 式动态等高线背景 */
.soft__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.soft__device, .soft__center { position: relative; z-index: 1; }

/* 右侧能力体系列表 */
.soft__layers {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}
.soft__layers li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 13px;
  color: #5A6474;
  border-left: 3px solid var(--blue, #2E6FD8);
  padding-left: 10px;
}
.soft__layers strong {
  flex: none;
  font-size: 14px;
  color: var(--navy, #17335A);
}

/* 顶层设计与技术开发：单栏标题缩小，列表双列防溢出 */
.soft__title--sm { font-size: clamp(28px, 3.2vw, 52px); letter-spacing: 0.06em; }
.soft__col--wide { max-width: 560px; }
.soft__col--wide .soft__layers { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }

/* 标题强制单行，随视口缩放（含移动端） */
.soft__title--sm {
  white-space: nowrap;
  font-size: clamp(24px, 4vw, 56px);
}
@media (max-width: 900px) {
  .soft__title--sm { font-size: clamp(24px, 7vw, 40px); }
  /* 顶层设计能力清单：移动端改单列，避免文字挤成细条（置于基础规则之后以确保生效） */
  .soft__col--wide .soft__layers { grid-template-columns: 1fr; }
}

/* ===== 全网数字营销 · 环形平台矩阵 ===== */
.orbit {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 90px 0;
}
.orbit__ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
}
.orbit__ring--1 { animation: orbitSpin 70s linear infinite; }
.orbit__ring--2 { animation: orbitSpinRev 100s linear infinite; }
.orbit__ring--3 { animation: orbitSpin 130s linear infinite; }

.chip {
  position: absolute;
  left: 0;
  top: 0;
  transform: rotate(var(--a)) translateY(calc(-1 * var(--r))) rotate(calc(-1 * var(--a)));
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #243044;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(4, 12, 30, 0.35);
  will-change: transform;
}
.chip i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--c, #2E6FD8);
  flex: none;
}
/* 抵消圆环整体旋转，保持文字水平 */
.orbit__ring--1 .chip { --r: min(200px, 26vw); animation: orbitSpinRev 70s linear infinite; }
.orbit__ring--2 .chip { --r: min(300px, 38vw); animation: orbitSpin 100s linear infinite; }
.orbit__ring--3 .chip { --r: min(405px, 50vw); animation: orbitSpinRev 130s linear infinite; }

.orbit__center {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 520px;
  padding: 40px 44px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(6px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.orbit__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.72);
}
.biz__tags--center { justify-content: center; }

@keyframes orbitSpin   { to { transform: rotate(360deg); } }
@keyframes orbitSpinRev{ to { transform: rotate(-360deg); } }

@media (max-width: 900px) {
  .orbit { padding: 70px 0; }
  .chip { font-size: 11px; padding: 5px 9px; gap: 4px; }
  .orbit__center { margin: 0 20px; padding: 30px 22px; }
  .orbit__ring--3 .chip { display: none; }
  .orbit__ring--2 .chip { --r: min(280px, 42vw); }
  .orbit__ring--1 .chip { --r: min(170px, 27vw); }
}

/* 减弱动画：圆环静止 */
@media (prefers-reduced-motion: reduce) {
  .orbit__ring, .orbit__ring .chip { animation: none !important; }
}

/* 修正：用独立 rotate 属性做反向自旋，避免覆盖定位 transform */
.orbit__ring--1 .chip { animation: chipSpinRev 70s linear infinite; }
.orbit__ring--2 .chip { animation: chipSpin 100s linear infinite; }
.orbit__ring--3 .chip { animation: chipSpinRev 130s linear infinite; }
@keyframes chipSpin   { to { rotate: 360deg; } }
@keyframes chipSpinRev{ to { rotate: -360deg; } }

/* ===== 全网数字营销 · 矩阵图版式 ===== */
.mkt {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
  padding-top: 90px;
  padding-bottom: 90px;
}
.mkt__figure {
  margin: 14px 0 6px;
  width: min(880px, 92%);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
  background: #fff;
}
.mkt__figure img {
  display: block;
  width: 100%;
  height: auto;
}
.mkt__copy { max-width: 720px; }
.mkt__lead {
  margin: 0 0 10px;
  font-size: clamp(15px, 1.4vw, 19px);
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}
.mkt__tags-line {
  margin: 0;
  font-size: 14px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.62);
}
@media (max-width: 900px) {
  .mkt { padding-top: 64px; padding-bottom: 64px; }
}

/* ===== 全网数字营销 · 纯色扇形竖卡（手牌展开 + 悬停让位） ===== */
.mkt { padding-top: 96px; padding-bottom: 96px; }
.mkt__head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.mkt__head .section__title { margin-bottom: 16px; }
.mkt__lead {
  margin: 0 auto;
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.72);
  max-width: 640px;
}
.mkt__figure, .mkt__copy { display: none; }

.mkt__deck {
  display: flex;
  flex-wrap: nowrap;
  gap: -12px;
  justify-content: center;
  align-items: flex-end;
  padding: 24px 8px 24px;
}

.mkt-card {
  position: relative;
  flex: 0 0 auto;
  width: clamp(150px, 12.4vw, 252px);
  min-height: 430px;
  padding: 30px 24px 28px;
  border-radius: 22px;
  /* 纯色卡面 */
  background: var(--accent);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  /* 扇形展开：底部对齐，绕底部中心旋转（顶部向外张开，卡片完整可见） */
  transform: rotate(var(--tilt, 0deg));
  transform-origin: 50% 100%;
  transition: transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1),
              box-shadow 0.3s ease;
  will-change: transform;
}
/* 扇形角度：中间竖直，两侧依次向外辐射 */
.mkt-card:nth-child(1) { --tilt: -12deg; }
.mkt-card:nth-child(2) { --tilt: -8deg; }
.mkt-card:nth-child(3) { --tilt: -4deg; }
.mkt-card:nth-child(4) { --tilt: 0deg; }
.mkt-card:nth-child(5) { --tilt: 4deg; }
.mkt-card:nth-child(6) { --tilt: 8deg; }
.mkt-card:nth-child(7) { --tilt: 12deg; }

/* 悬停卡片：转正、上移、放大、置顶 */
.mkt-card:hover {
  transform: rotate(calc(var(--tilt) * 0.1)) translateY(-34px) scale(1.06);
  z-index: 10;
  box-shadow: 0 34px 64px rgba(0, 0, 0, 0.45);
}
/* 相邻卡片向两侧避让（保持自身倾角） */
.mkt-card:hover + .mkt-card { transform: translateX(26px) rotate(var(--tilt)); }
.mkt-card:has(+ .mkt-card:hover) { transform: translateX(-26px) rotate(var(--tilt)); }

.mkt-card__num {
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.55);
}
.mkt-card__icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.26);
  margin-bottom: 22px;
}
.mkt-card__icon svg { width: 28px; height: 28px; }
.mkt-card__title {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
}
.mkt-card__desc {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.82);
}
.mkt-card__bar {
  margin-top: 20px;
  width: 100%;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(255,255,255,0.75), rgba(255,255,255,0.05));
}

/* 平板：卡片随视口等比缩小，7 张仍全部一行可见（不滚动） */
@media (max-width: 1100px) {
  .mkt-card { min-height: 380px; padding: 22px 16px 20px; }
  .mkt-card__icon { width: 48px; height: 48px; border-radius: 13px; margin-bottom: 16px; }
  .mkt-card__icon svg { width: 23px; height: 23px; }
  .mkt-card__title { font-size: 16px; }
  .mkt-card__desc { font-size: 12px; line-height: 1.65; }
}

/* 手机：卡片放不下，转横向滚动逐张查看 */
@media (max-width: 620px) {
  .mkt { padding-top: 64px; padding-bottom: 64px; }
  .mkt__deck {
    width: 100%;
    max-width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    gap: 10px;
    padding: 24px 16px 30px;
    scrollbar-width: none;
  }
  .mkt__deck::-webkit-scrollbar { display: none; }
  .mkt-card { width: 200px; min-height: 380px; padding: 26px 20px 24px; opacity: 1; }
  /* 移动端取消扇形倾斜，横滑时卡片摆正 */
  .mkt-card:nth-child(1n) { --tilt: 0deg; transform: rotate(0deg); }
  .mkt-card__title { font-size: 18px; }
  .mkt-card__desc { font-size: 13px; }
}

/* 减弱动画：关闭悬停位移，仅保留静态扇形 */
@media (prefers-reduced-motion: reduce) {
  .mkt-card, .mkt-card:hover, .mkt-card:hover + .mkt-card, .mkt-card:has(+ .mkt-card:hover) {
    transition: none;
  }
  .mkt-card:hover { transform: rotate(var(--tilt)) translateY(-20px); }
  .mkt-card:hover + .mkt-card { transform: rotate(var(--tilt)); }
  .mkt-card:has(+ .mkt-card:hover) { transform: rotate(var(--tilt)); }
}

/* 屏间滚动过渡：参与动效的容器开启合成层，避免重排 */
#marketing .container,
#integration .container,
#automation .container,
#updates .container {
  will-change: transform, opacity;
}



/* ===== 工业自动控制 · 双入口布局（圆环 + 衬线标题 + MORE） ===== */
.auto2 {
  position: relative;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: stretch;
}
.auto2__pane {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 84px 56px 64px;
}
/* 左右区域：悬停整区颜色变化 */
.auto2__pane {
  transition: background 0.35s ease;
}
/* 左侧数据服务：微亮蓝渐变，右缘斜切 */
.auto2__pane--data {
  background: linear-gradient(165deg, rgba(46, 111, 216, 0.10), rgba(23, 51, 90, 0.02) 60%);
  clip-path: polygon(0 0, 100% 0, calc(100% - 70px) 100%, 0 100%);
  padding-right: 96px;
}
.auto2__pane--mfg {
  margin-left: -70px;
  padding-left: 130px;
  background: linear-gradient(200deg, rgba(255,255,255,0.015), transparent 40%);
}
/* 悬停：对应区域整体高亮 */
.auto2__pane--data:hover {
  background: linear-gradient(165deg, rgba(46, 111, 216, 0.30), rgba(29, 79, 168, 0.12) 60%);
}
.auto2__pane--mfg:hover {
  background: linear-gradient(200deg, rgba(46, 111, 216, 0.22), rgba(29, 79, 168, 0.06) 55%);
}

/* 渐变圆环图标 */
.auto2__ring {
  position: relative;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 50%, #0E2240 0 36%, #3D82E8 44%, #1D4FA8 68%, #17335A 100%);
  box-shadow: 0 20px 50px rgba(29, 79, 168, 0.4), inset 0 0 24px rgba(255, 255, 255, 0.08);
  transition: transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.auto2__ring::before {
  content: "";
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  background: radial-gradient(circle at 36% 30%, #142E55, #0B1B33 75%);
}
.auto2__ring svg {
  position: relative;
  width: 30%;
  height: 30%;
  color: #9CC2FF;
}
.auto2__ring--lg { width: 190px; height: 190px; }
.auto2__ring--sm { width: 160px; height: 160px; }
.auto2__pane:hover .auto2__ring { transform: translateY(-6px) scale(1.04); }

/* 衬线大标题 + 小副标 */
.auto2__title {
  margin: 34px 0 10px;
  font-family: Georgia, "Songti SC", "STSong", "SimSun", serif;
  font-size: clamp(28px, 2.6vw, 40px);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #fff;
}
.auto2__sub {
  margin: 0 0 30px;
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(156, 194, 255, 0.66);
}

/* 数据服务：能力清单 */
.auto2__list {
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.auto2__list li {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.82);
  letter-spacing: 0.04em;
}

/* 汽车行业：细分两列 */
.auto2__grid {
  list-style: none;
  margin: 0 0 34px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 26px;
  text-align: left;
  width: 100%;
}
.auto2__grid li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.auto2__tag {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: radial-gradient(circle at 32% 28%, #3D82E8, #17335A 82%);
}
.auto2__grid strong {
  display: block;
  margin-bottom: 2px;
  font-size: 14px;
  color: #fff;
}
.auto2__grid em {
  font-style: normal;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.58);
}

@media (max-width: 900px) {
  .auto2 { grid-template-columns: 1fr; }
  .auto2__pane { padding: 64px 28px 52px; }
  .auto2__pane--data {
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 48px), 0 100%);
    padding-right: 28px;
  }
  .auto2__pane--mfg { margin-left: 0; padding-left: 28px; padding-top: 84px; }
  .auto2__grid { grid-template-columns: 1fr; }
}

/* ===== 信息系统集成 · 集控系统画廊 ===== */
.ig__head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}
.ig__head .section__title { margin-bottom: 16px; }
.ig__lead {
  margin: 0 auto;
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.9;
  color: #5A6474;
  max-width: 620px;
}
.ig__gallery {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  padding: 8px max(4vw, 24px) 26px;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}
.ig__gallery::-webkit-scrollbar { display: none; }
.ig__card {
  flex: 0 0 auto;
  width: clamp(320px, 36vw, 540px);
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 18px 44px rgba(12, 30, 56, 0.14);
  scroll-snap-align: center;
  transition: transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.3s ease;
}
.ig__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 60px rgba(12, 30, 56, 0.22);
}
.ig__card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.ig__card figcaption {
  padding: 16px 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ig__card figcaption strong {
  font-size: 16px;
  color: #17335A;
}
.ig__card figcaption span {
  font-size: 12.5px;
  color: #7A8494;
  letter-spacing: 0.04em;
}
/* 首尾卡片贴边出血 */
.ig__gallery::before,
.ig__gallery::after { content: ""; flex: 0 0 2vw; }
@media (max-width: 900px) {
  .ig__gallery { gap: 16px; padding-bottom: 20px; }
  .ig__card { width: 78vw; opacity: 1; transform: none; }
  .ig__head { margin-bottom: 40px; }
}

/* ===== 全局 UX 优化 ===== */
/* 锚点定位补偿固定导航高度（覆盖非 .section 的 hero/品牌/软件屏） */
section[id], footer[id] { scroll-margin-top: calc(var(--nav-h, 72px) + 12px); }

/* 键盘焦点可见性（WCAG AA） */
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}
a:focus-visible, button:focus-visible, .nav__link:focus-visible, .nav__cta:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

/* 导航当前屏高亮 */
.nav__link.active { color: #fff; }
.nav__link.active::after { width: 100%; }

/* 回到顶部按钮 */
.back-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 90;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 12px 30px rgba(12, 30, 56, 0.35);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s, background .25s ease;
}
.back-top svg { width: 22px; height: 22px; }
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { background: var(--blue); }
@media (max-width: 620px) {
  .back-top { right: 18px; bottom: 18px; width: 44px; height: 44px; }
}

/* 工控自动化屏标题区（SEO 语义标题） */
.auto2__head { text-align: center; margin-bottom: 48px; }
.auto2__head .section__title { margin-top: 12px; }
