/* ==========================================================================
   中绘云 · 组件与布局
   ========================================================================== */

/* ---------- 基础 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 var(--fs-body)/1.75 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: var(--tracking-display);
}
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--brand); color: var(--text-on-brand);
  padding: 10px 18px; border-radius: 0 0 var(--radius-sm) 0;
}
.skip:focus { left: 0; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--space-section); }
.section--soft { background: var(--bg-soft); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- 区块标题 ---------- */
.sec-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }
.sec-head--center { margin-inline: auto; text-align: center; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--fs-xs); letter-spacing: .16em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 14px;
}
.kicker::before { content: ""; width: 22px; height: 1px; background: var(--brand); }
.sec-title { font-size: var(--fs-h2); }
.sec-desc { margin-top: 14px; color: var(--text-2); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: var(--fs-sm); font-weight: 700; letter-spacing: .02em;
  border: 1px solid transparent; cursor: pointer;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease),
              color var(--dur) var(--ease), transform .2s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--brand); color: var(--text-on-brand); }
.btn--primary:hover { background: var(--brand-light); }
.btn--ghost { border-color: var(--line-2); color: var(--text); background: transparent; }
/* 点击复制的联系按钮：复制成功后短暂给出反馈态 */
.btn.is-copied { border-color: var(--brand); color: var(--brand); background: transparent; }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn--sm { padding: 11px 22px; font-size: 13px; }
.btn--block { width: 100%; }

/* ---------- 顶栏：悬浮胶囊导航（参考 Aceternity UI navbar-menu） ---------- */
.site-header {
  position: fixed; inset: 14px 0 auto 0; z-index: 100;
  padding-inline: var(--gutter);
  transition: transform var(--dur) var(--ease);
}
.header-shell {
  width: 100%; max-width: var(--maxw); margin-inline: auto;
  display: flex; align-items: center; gap: 28px;
  padding: 17px 18px 17px 30px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-pill);
  /* 状态切换（深/浅底反转）走同一套过渡，避免颜色硬跳 */
  transition: background-color .34s var(--ease), border-color .34s var(--ease),
              box-shadow .34s var(--ease), backdrop-filter .34s var(--ease);
}
/* 向下滚时把整条顶栏移出视口，避免遮挡内容（.site-header 已有 transform 过渡，出场是滑动的）。
   向上滚 / 回到顶部 / 操作导航时会立刻复原。 */
.site-header.is-hidden { transform: translateY(calc(-100% - 14px)); pointer-events: none; }
.site-header.is-stuck .header-shell {
  box-shadow: var(--shadow-panel);
  border-color: var(--line-2);
}

.brand { display: flex; align-items: center; gap: 10px; flex: none; color: var(--text); }
.brand-mark { width: 28px; height: 28px; flex: none; color: var(--text); }
.brand-logo { height: 48px; width: auto; flex: none; display: block; }
.site-footer .brand-logo { height: 38px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--font-display); font-size: 21px; font-weight: 800; letter-spacing: .02em; }
.brand-sub { font-size: 11.5px; letter-spacing: .16em; color: var(--text-3); }

.nav { margin-inline: auto; }
.pill-list { position: relative; display: flex; align-items: center; gap: 2px; }
.pill-glow {
  position: absolute; top: 0; left: 0; height: 100%; width: 0;
  border-radius: var(--radius-pill); background: var(--brand-soft);
  opacity: 0; pointer-events: none;
  transition: transform .38s var(--ease-out), width .38s var(--ease-out), opacity .25s var(--ease);
}
.pill-list.is-hovering .pill-glow { opacity: 1; }

.pill-item { position: relative; }
.pill-link {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 17px 26px; border: 0; background: transparent; cursor: pointer;
  border-radius: var(--radius-pill);
  font: 500 17px/1 var(--font); color: var(--text-2);
  white-space: nowrap;
  transition: color .25s var(--ease);
}
.pill-link:hover, .pill-link[aria-current="page"] { color: var(--text); }
.pill-caret { width: 11px; height: 11px; opacity: .5; transition: transform .3s var(--ease); }
.pill-item.is-open .pill-caret { transform: rotate(180deg); }

/* 悬停展开面板 */
.pill-panel {
  position: absolute; top: calc(100% + 16px); left: 50%;
  padding: 8px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-panel);
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translate(-50%, -8px) scale(.97);
  transform-origin: top center;
  transition: opacity .24s var(--ease), transform .3s var(--ease-out),
              visibility .24s, box-shadow .3s;
}
.pill-item.is-open .pill-panel { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0) scale(1); }
.pill-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }

.panel-list { display: grid; gap: 2px; width: 268px; }
.panel-link {
  display: flex; flex-direction: column; gap: 3px;
  padding: 10px 13px; border-radius: 11px;
  transition: background .22s var(--ease);
}
.panel-label { font-size: var(--fs-sm); font-weight: 500; color: var(--text); }
.panel-desc { font-size: 12px; font-weight: 400; color: var(--text-3); line-height: 1.45; }
.panel-link:hover { background: var(--brand-soft); }
.panel-link:hover .panel-desc { color: var(--text-2); }

/* ---------- 语言 / 地区切换 ---------- */
.lang { position: relative; }
.lang-btn {
  width: 46px; height: 46px; flex: none;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  border: 1px solid var(--line); border-radius: 50%;
  background: var(--bg-deep); color: var(--text);
  transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.lang-btn:hover { background: var(--panel-2); border-color: var(--line-2); }
.lang-globe {
  width: 19px; height: 19px; fill: none; stroke: currentColor;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.lang-panel {
  position: absolute; top: calc(100% + 14px); right: 0; z-index: 5;
  width: 218px; padding: 8px;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 18px; box-shadow: var(--shadow-panel);
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(-8px) scale(.97); transform-origin: top right;
  transition: opacity .24s var(--ease), transform .3s var(--ease-out), visibility .24s;
}
.lang.is-open .lang-panel { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0) scale(1); }
.lang-title { font-size: var(--fs-xs); color: var(--text-3); padding: 8px 12px 10px; }
.lang-opt {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 11px 12px; border: 0; background: transparent; cursor: pointer;
  border-radius: 12px; font-size: var(--fs-sm); color: var(--text); text-align: left;
  transition: background .2s var(--ease);
}
.lang-opt:hover { background: var(--bg-deep); }
.lang-opt.is-active { background: var(--brand-soft); font-weight: 700; }
.lang-check {
  width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: 0;
}
.lang-opt.is-active .lang-check { opacity: 1; }

.panel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; width: 452px; padding: 2px; }
.prod-item {
  display: flex; gap: 11px; align-items: flex-start;
  padding: 9px; border-radius: 13px;
  transition: background .22s var(--ease);
}
.prod-item:hover { background: var(--brand-soft); }
.prod-thumb { width: 78px; height: 54px; flex: none; border-radius: 9px; object-fit: cover; background: var(--bg-deep); }
.prod-body { display: flex; flex-direction: column; gap: 3px; }
.prod-title { font-size: var(--fs-sm); font-weight: 700; color: var(--text); letter-spacing: -.01em; }
.prod-desc { font-size: 12px; color: var(--text-3); line-height: 1.45; }

.header-side { display: flex; align-items: center; gap: 12px; flex: none; }
.header-tel { font-size: var(--fs-sm); color: var(--text-2); font-variant-numeric: tabular-nums; }
.header-tel:hover { color: var(--text); }

.nav-toggle {
  display: none; width: 40px; height: 40px; border: 1px solid var(--line-2);
  background: transparent; border-radius: var(--radius-pill); cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle span { display: block; width: 16px; height: 1.5px; background: var(--text); position: relative; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 16px; height: 1.5px; background: var(--text);
  transition: transform .3s var(--ease);
}
.nav-toggle span::before { top: -5px; }
.nav-toggle span::after { top: 5px; }

/* ---------- 首屏 ----------
   两种形态共用同一套轮播机制：
   .hero--full    通栏铺满的视频首屏（首页）
   .hero--framed  桌面上的「屏幕」容器（内页头图） */
.hero { position: relative; overflow: hidden; background: var(--bg-deep); }
.hero-stage { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  transition: opacity .9s var(--ease), visibility .9s;
}
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-media, .hero-slide > img {
  width: 100%; height: 100%; object-fit: cover; display: block; background: #0A0A0A;
}
.hero-slide::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
}

.hero-copy { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; }
.hero-copy-inner { width: 100%; }
.hero-eyebrow {
  display: inline-block; font-size: var(--fs-xs); letter-spacing: .18em;
  color: rgba(255,255,255,.86); margin-bottom: 16px;
}
.hero-title { font-family: var(--font-display); font-weight: 800; letter-spacing: var(--tracking-display); margin-bottom: 18px; }
.hero-desc { color: rgba(255,255,255,.78); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-copy, .hero-copy * { color: #fff; }
.hero-desc { color: rgba(255,255,255,.78); }
.hero-cta .btn--primary { background: #fff; color: #09090B; }
.hero-cta .btn--primary:hover { background: rgba(255,255,255,.86); color: #09090B; }
.hero-cta .btn--ghost { border-color: rgba(255,255,255,.38); color: #fff; }
.hero-cta .btn--ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.12); }

/* ---- 形态 A：通栏铺满（首页）---- */
.hero--full { height: 100svh; min-height: 580px; }
.hero--full .hero-slide::after {
  background:
    radial-gradient(120% 80% at 50% 45%, rgba(9,9,11,.28) 0%, rgba(9,9,11,.62) 100%),
    linear-gradient(180deg, rgba(9,9,11,.6) 0%, rgba(9,9,11,.24) 38%, rgba(9,9,11,.62) 100%);
}
.hero--full .hero-copy { justify-content: center; text-align: center; padding-top: var(--header-h); }
.hero--full .hero-copy-inner { max-width: 880px; margin-inline: auto; padding-inline: var(--gutter); }
.hero--full .hero-title { font-size: clamp(30px, 5vw, 62px); margin-bottom: 36px; }
.hero--full .hero-desc { max-width: 720px; margin: 0 auto 34px; font-size: clamp(13px, 1.15vw, 16px); }
.hero--full .hero-cta { justify-content: center; }

/* ---- 关于页：通栏头图 · 文字靠左 + 整体垂直居中 ----
   双类名选择器（.hero--full.hero--about）确保压过上面居中的 .hero--full 规则。
   水平仍左对齐；垂直方向让整块文字居中（相当于比原来顶对齐时下移一些）。 */
.hero--full.hero--about .hero-copy {
  justify-content: center; align-items: stretch;
  text-align: left;
  padding-top: var(--header-h);
  padding-bottom: clamp(20px, 4vh, 44px);
}
.hero--full.hero--about .hero-copy-inner {
  max-width: none; margin-inline: 0; width: 100%;
  padding-inline: var(--gutter);
  display: flex; flex-direction: column; justify-content: center; flex: 1;
}
.hero--full.hero--about .hero-title { font-size: clamp(30px, 4.4vw, 56px); margin-bottom: 18px; }
.hero--full.hero--about .hero-desc { max-width: 660px; margin: 0 0 26px; }
.hero--full.hero--about .hero-cta { justify-content: flex-start; }
.hero--full.hero--about .hero-scroll { display: none; }

.about-intro {
  margin-top: 26px;            /* 紧跟大标题下方（不再压底） */
  max-width: 640px;
  padding-bottom: clamp(34px, 7vh, 80px);
}
.about-intro .ai-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: var(--fs-xs); letter-spacing: .18em;
  color: rgba(255,255,255,.86); margin-bottom: 12px;
}
.about-intro .ai-kicker::before { content: ""; width: 22px; height: 1px; background: rgba(255,255,255,.7); }
.about-intro h2 {
  font-family: var(--font-display); font-weight: 800; letter-spacing: var(--tracking-display);
  font-size: clamp(19px, 2vw, 28px); margin-bottom: 12px;
}
.about-intro p { font-size: 13.5px; line-height: 1.85; color: rgba(255,255,255,.82); margin-bottom: 8px; }
.about-intro .ai-quote {
  margin-top: 14px; display: inline-block;
  border-left: 2px solid rgba(255,255,255,.55);
  background: rgba(255,255,255,.08); border-radius: 0 8px 8px 0;
  padding: 10px 16px; font-size: 13px; color: rgba(255,255,255,.92);
}
@media (max-width: 760px) {
  .hero--full.hero--about { height: auto; min-height: 100svh; }
  .hero--full.hero--about .hero-copy { padding-top: calc(var(--header-h) + clamp(48px, 12vh, 96px)); }
  .about-intro { margin-top: 44px; padding-bottom: 44px; }
}

/* ---- 形态 B：屏幕容器（内页）---- */
.hero--framed { padding: calc(var(--header-h) + 14px) var(--gutter) 0; background: transparent; }
.hero--framed .hero-frame {
  position: relative; width: 100%; max-width: var(--maxw); margin-inline: auto;
  aspect-ratio: 21 / 9; min-height: 340px;
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--bg-deep); border: 1px solid var(--line);
  box-shadow: 0 26px 64px rgba(9,9,11,.16), 0 2px 8px rgba(9,9,11,.06);
}
.hero--framed .hero-slide::after {
  background: linear-gradient(90deg, rgba(9,9,11,.82) 0%, rgba(9,9,11,.55) 48%, rgba(9,9,11,.16) 100%);
}
.hero--framed .hero-copy-inner { padding: clamp(26px, 4.2vw, 68px); max-width: 660px; }
.hero--framed .hero-title { font-size: clamp(26px, 3.6vw, 46px); }

/* 极简头图（.hero--solo）：图上只有一个居中大标题，没有小标签/说明/按钮。
   选择器写成「双类名」是为了压过上面 .hero--framed 的左对齐与 660px 宽度限制。 */
.hero--framed.hero--solo .hero-copy { justify-content: center; text-align: center; }
.hero--framed.hero--solo .hero-copy-inner { max-width: none; padding-inline: clamp(24px, 6vw, 96px); }
.hero--framed.hero--solo .hero-title {
  font-size: clamp(48px, 8.4vw, 132px);
  margin-bottom: 0; letter-spacing: .04em; line-height: 1.04;
  text-shadow: 0 6px 34px rgba(0, 0, 0, .38);
}
@media (max-width: 620px) {
  .hero--framed.hero--solo .hero-title { font-size: clamp(38px, 15vw, 64px); }
}
/* booking 页页首：纯文字标题（无背景图） */
.page-intro { padding: clamp(88px, 12vw, 150px) 0 0; text-align: center; }
/* 标题与表单之间的空隙收紧（用户反馈中间太空） */
#booking.section { padding-top: clamp(24px, 3.5vw, 48px); }
.page-intro-title { font-size: clamp(28px, 3.6vw, 50px); font-weight: 800; letter-spacing: .02em; line-height: 1.15; }
/* solo 头图小字号版（预约演示页）：用户反馈默认标题太大 */
.hero--framed.hero--solo.hero--solo-sm .hero-title { font-size: clamp(34px, 4.6vw, 68px); }
@media (max-width: 620px) {
  .hero--framed.hero--solo.hero--solo-sm .hero-title { font-size: clamp(26px, 8vw, 40px); }
}
/* 省市区三级下拉（booking 页） */
.airform .region-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 12px; }
.airform .region-row > div { display: grid; gap: 6px; }
@media (max-width: 620px) {
  .airform .region-row { grid-template-columns: 1fr; }
}
.hero--framed .hero-desc { margin-bottom: 30px; font-size: clamp(13px, 1.15vw, 16px); max-width: 660px; }

/* ---- 轮播控件 ---- */
.hero-nav {
  position: absolute; z-index: 3; bottom: 26px; left: 26px;
  display: flex; align-items: center; gap: 16px;
}
.hero-dots { display: flex; gap: 8px; }
.hero-dot {
  width: 30px; height: 3px; border: 0; padding: 0; cursor: pointer;
  background: rgba(255,255,255,.32); border-radius: 2px;
  transition: background .3s var(--ease);
}
.hero-dot.is-active { background: #fff; }
.hero-arrows { display: flex; gap: 8px; }
.hero-arrow {
  width: 38px; height: 38px; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(255,255,255,.34); background: rgba(9,9,11,.34); color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: border-color .25s, color .25s, background-color .25s;
}
.hero-arrow:hover { border-color: #fff; background: rgba(9,9,11,.5); }

/* ---- 底部下拉提示（仅首页）---- */
.hero-scroll {
  position: absolute; z-index: 3; left: 50%; bottom: 26px;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: .22em; color: rgba(255,255,255,.62);
  transition: opacity .4s var(--ease);
}
.hero-scroll::before {
  content: ""; width: 1px; height: 38px;
  background: linear-gradient(rgba(255,255,255,.05), rgba(255,255,255,.7));
}
.hero-scroll.is-hidden { opacity: 0; }

/* ---- 响应式 ---- */
@media (max-width: 900px) {
  .hero--full { height: 88svh; min-height: 520px; }
  .hero--full .hero-copy { padding-top: var(--header-h); }
  .hero--framed { padding-top: calc(var(--header-h) + 8px); }
  .hero--framed .hero-frame { aspect-ratio: auto; min-height: 0; border-radius: var(--radius); }
  .hero--framed .hero-stage { position: relative; inset: auto; }
  .hero--framed .hero-slide { position: relative; inset: auto; display: none; }
  .hero--framed .hero-slide.is-active { display: block; }
  .hero--framed .hero-media, .hero--framed .hero-slide > img { height: 42vh; }
  .hero--framed .hero-copy { position: relative; inset: auto; margin-top: -34%; }
  .hero--framed .hero-copy-inner { padding: 22px 20px 26px; }
  .hero--framed .hero-nav { position: static; margin-top: 14px; padding: 0 20px 18px; justify-content: flex-end; }
  .hero--full .hero-nav { left: 50%; bottom: 18px; transform: translateX(-50%); }
  .hero-scroll { display: none; }
  .hero--full .hero-title { font-size: clamp(26px, 7.4vw, 40px); }
}

/* ---------- 悬浮咨询按钮 ---------- */
@media (max-width: 560px) {
}

/* ---------- 能力条 ---------- */
.strip { border-block: 1px solid var(--line); background: var(--bg-soft); }
.strip-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 20px 40px; padding-block: 26px;
}
.strip-item { display: flex; align-items: baseline; gap: 10px; }
.strip-num { font-family: var(--font-display); font-size: 26px; font-weight: 800; color: var(--brand); font-variant-numeric: tabular-nums; }
.strip-label { font-size: var(--fs-sm); color: var(--text-2); }

/* ---------- 卡片 ---------- */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow-card);
  border-radius: var(--radius); overflow: hidden;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.card:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: var(--shadow-panel); }
.card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #0F1128; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card:hover .card-media img { transform: scale(1.05); }
.card-tag {
  position: absolute; left: 14px; top: 14px; z-index: 2;
  padding: 5px 12px; border-radius: var(--radius-pill);
  background: rgba(9,9,11,.6); backdrop-filter: blur(8px);
  font-size: var(--fs-xs); color: #fff; border: 1px solid rgba(255,255,255,.18);
}
.card-body { padding: 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card-title { font-size: var(--fs-h3); }
.card-text { color: var(--text-2); font-size: var(--fs-sm); flex: 1; }
.card-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--fs-sm); color: var(--brand); margin-top: 6px;
}
.card-link::after { content: "→"; transition: transform .3s var(--ease); }
.card:hover .card-link::after { transform: translateX(5px); }

/* 图标型卡片（服务能力） */
.card--icon { padding: 30px 26px; gap: 14px; }
.card-icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--brand-soft); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; margin-bottom: 6px;
}
.card-icon svg { width: 22px; height: 22px; stroke: var(--text); fill: none; stroke-width: 1.6; }

/* ---------- 成果展示 ---------- */
.showcase { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.shot {
  margin: 0; /* figure 默认 margin 1em 40px，不清掉会让图卡缩在轨道里、四周多出大缝 */
  position: relative; overflow: hidden; border-radius: var(--radius-sm);
  background: var(--bg-deep); cursor: zoom-in; aspect-ratio: 4 / 3; border: 1px solid var(--line);
}
/* 照片行：竖版实拍（4 列 7:10，与实拍图原比例一致）与两张横版成果（2 列 16:9）
   —— 与 .showcase 共用 .shot，只覆盖列数与比例，避免重复定义卡片样式 */
.showcase--portrait { grid-template-columns: repeat(4, 1fr); }
.showcase--portrait .shot { aspect-ratio: 7 / 10; }
.showcase--duo { grid-template-columns: repeat(2, 1fr); }
.showcase--duo .shot { aspect-ratio: 16 / 9; }
@media (max-width: 1000px) { .showcase--portrait { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) {
  .showcase--portrait, .showcase--duo { grid-template-columns: 1fr; }
}

.shot--wide { grid-column: span 2; aspect-ratio: 16 / 9; }
/* 首图跨 2×2 的变体：主图占左半幅，其余 4 张在右侧组成 2×2，整体无空格。
   高度由右列小图（4:3）撑出，主图拉伸填满，不再单独设比例 */
.shot--tall { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
@media (max-width: 1000px) {
  .shot--tall { grid-row: auto; aspect-ratio: 16 / 9; }
}
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.shot:hover img { transform: scale(1.06); }
.shot figcaption {
  position: absolute; inset: auto 0 0 0; padding: 26px 16px 14px;
  background: linear-gradient(transparent, rgba(15,17,40,.9));
  font-size: var(--fs-xs); color: var(--text-2); opacity: 0;
  transition: opacity .35s var(--ease);
}
.shot:hover figcaption { opacity: 1; }

.video-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.video-card { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--bg-deep); box-shadow: var(--shadow-card); }
.video-card img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; opacity: .72; transition: opacity .4s, transform .7s var(--ease); }
.video-card:hover img { opacity: .9; transform: scale(1.04); }
.play {
  position: absolute; inset: 0; margin: auto; width: 58px; height: 58px;
  border-radius: 50%; border: 1px solid rgba(255,255,255,.5);
  background: rgba(9,9,11,.4); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: background .3s, border-color .3s, transform .3s var(--ease);
}
.play:hover { background: var(--brand); border-color: var(--brand); transform: scale(1.08); }
.play svg { width: 18px; height: 18px; fill: #fff; margin-left: 3px; }
.video-card:hover .play svg { fill: var(--text-on-brand); }
.video-label {
  position: absolute; inset: auto 0 0 0; padding: 30px 18px 14px;
  background: linear-gradient(transparent, rgba(9,9,11,.9));
  font-size: var(--fs-sm);
}

/* ---------- 数据 / 行业 ---------- */
.taglist { display: flex; flex-wrap: wrap; gap: 10px; }
.tag {
  padding: 8px 16px; border-radius: var(--radius-pill);
  border: 1px solid var(--line); font-size: var(--fs-sm); color: var(--text-2);
  transition: border-color .25s, color .25s;
}
.tag:hover { border-color: var(--brand); color: var(--brand); }

/* ---------- 图文两栏 ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split-media { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.split-media img { width: 100%; }
.prose p + p { margin-top: 18px; }
.prose { color: var(--text-2); }
.quote {
  margin-top: 28px; padding: 18px 22px; border-left: 2px solid var(--brand);
  background: var(--brand-soft); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text); font-size: var(--fs-sm);
}

/* 服务清单（编号列表） */
.svc-list { display: grid; gap: 0; margin-top: 34px; border-top: 1px solid var(--line); }
.svc-item {
  display: grid; grid-template-columns: 54px 1fr auto; gap: 18px; align-items: center;
  padding: 20px 4px; border-bottom: 1px solid var(--line);
  transition: background .3s var(--ease), padding-left .3s var(--ease);
}
.svc-item:hover { background: var(--panel); padding-left: 14px; }
.svc-idx { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--brand); }
.svc-name { font-size: var(--fs-h3); letter-spacing: var(--tracking-display); }
.svc-meta { font-size: var(--fs-sm); color: var(--text-3); }

/* ---------- 联系 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 72px); }
.info-list { display: grid; gap: 22px; margin-top: 30px; }
.info-item { display: flex; gap: 14px; }
.info-item dt { font-size: var(--fs-xs); color: var(--text-3); min-width: 62px; padding-top: 3px; }
.info-item dd { margin: 0; font-size: var(--fs-body); }
.info-item a:hover { color: var(--brand); }
/* 左侧只剩标题+说明时，跟右侧卡片在垂直方向对齐，避免上重下空 */
.contact-copy { align-self: center; }

.form {
  background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow-card);
  border-radius: var(--radius); padding: clamp(24px, 3vw, 38px);
  display: grid; gap: 18px;
}
.field { display: grid; gap: 8px; }
.field label { font-size: var(--fs-sm); color: var(--text-2); }
.field .req { color: var(--brand); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; font: inherit; font-size: var(--fs-sm);
  color: var(--text); background: var(--panel); border: 1px solid var(--line-2);
  border-radius: var(--radius-sm); transition: border-color .25s var(--ease);
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand);
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-3); }
.field-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-note { font-size: var(--fs-xs); color: var(--text-3); }

/* ---------- 空域咨询申请表单（航测页）----------
   字段排布沿用参考表单：单列全宽的「项目类型」，其后两两一行，最后是留言与验证码。
   视觉上收进一张白卡片里，和站内其它卡片同一套语言。 */
.airform {
  display: grid; gap: 18px;
  padding: clamp(22px, 3.2vw, 40px);
  margin-top: clamp(26px, 3.6vw, 44px);
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-card);
}
.airform .field-2 > .field + .field { margin-top: 0; }
.req { color: #D24040; font-style: normal; margin-left: 2px; }
.field-err {
  display: block; min-height: 0; margin-top: 6px;
  font-size: var(--fs-xs); color: #D24040;
}
.field-err:empty { display: none; }
.field.has-err input, .field.has-err textarea { border-color: #D24040; }
.af-cap-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.af-cap-row input { max-width: 180px; }
.af-cap-img {
  border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  background: var(--bg-soft); cursor: pointer;
}
.af-cap-refresh { flex: none; }
.af-actions {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  margin-top: 4px; padding-top: 18px; border-top: 1px solid var(--line);
}
.af-actions .btn { min-width: 148px; }
.af-note { font-size: var(--fs-xs); color: var(--text-3); max-width: 46em; line-height: 1.7; }
.af-done {
  margin: 0; padding: 14px 18px; border-radius: var(--radius-sm);
  border: 1px solid var(--brand); color: var(--brand); font-size: var(--fs-sm); line-height: 1.7;
}
@media (max-width: 620px) {
  .airform .field-2 { grid-template-columns: 1fr; }
  .af-cap-row input { max-width: none; flex: 1 1 120px; }
}
.form-msg {
  display: none; padding: 12px 16px; border-radius: var(--radius-sm); font-size: var(--fs-sm);
  border: 1px solid var(--line-2);
}
.form-msg.is-on { display: block; }
.form-msg.is-ok { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }
.form-msg.is-err { border-color: #FF7A7A; color: #FFB3B3; background: rgba(255,122,122,.10); }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--bg-soft); border-top: 1px solid var(--line); padding-block: 64px 32px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.footer-title { font-size: var(--fs-sm); font-weight: 700; color: var(--text); margin-bottom: 18px; }
.footer-links { display: grid; gap: 11px; }
.footer-links a { font-size: var(--fs-sm); color: var(--text-2); }
.footer-links a:hover { color: var(--brand); }
.footer-about { font-size: var(--fs-sm); color: var(--text-2); margin-top: 16px; max-width: 34ch; }
.footer-bottom {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between;
  font-size: var(--fs-xs); color: var(--text-3);
}
/* 页脚 ICP 备案号（按规范悬挂，链到工信部备案系统） */
.footer-icp a { color: var(--text-3); text-decoration: none; transition: color .25s var(--ease); }
.footer-icp a:hover { color: var(--text); text-decoration: underline; }

/* ---------- 视频弹层 ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: none;
  align-items: center; justify-content: center; padding: 5vw;
  background: rgba(9,9,11,.88); backdrop-filter: blur(8px);
}
.lightbox.is-on { display: flex; }
.lightbox video { width: min(1100px, 100%); border-radius: var(--radius); background: #000; }
.lightbox-close {
  position: absolute; top: 24px; right: 28px; width: 44px; height: 44px;
  border-radius: 50%; border: 1px solid var(--line-2); background: transparent;
  color: var(--text); font-size: 22px; cursor: pointer; line-height: 1;
}
.lightbox-close:hover { border-color: var(--brand); color: var(--brand); }

/* ---------- 入场动效 ---------- */
.reveal { opacity: 0; transform: translateY(22px); }
.reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .pill-link { padding: 14px 19px; }
  .header-tel { display: none; }
  .panel-grid { width: 400px; }
}

@media (max-width: 900px) {
  :root { --header-h: 82px; }
  .header-shell { padding: 12px 13px 12px 20px; }
  .brand-logo { height: 36px; }
  .brand-logo { height: 26px; }
  .nav {
    position: absolute; top: calc(100% + 10px); left: 0; right: 0;
    display: none; margin: 0;
  }
  .nav.is-open { display: block; }
  .pill-list {
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 10px; background: var(--panel);
    border: 1px solid var(--line); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-panel);
  }
  .pill-glow { display: none; }
  .pill-item { position: static; }
  .pill-link { width: 100%; justify-content: space-between; padding: 13px 14px; border-radius: 12px; font-size: var(--fs-body); }
  .pill-panel {
    position: static; width: auto; padding: 0 0 8px;
    opacity: 1; visibility: visible; pointer-events: auto;
    transform: none; box-shadow: none; border: 0; background: transparent;
    display: none;
  }
  .pill-panel::before { display: none; }
  .pill-item.is-open .pill-panel { display: block; }
  .panel-list, .panel-grid { width: auto; grid-template-columns: 1fr; }
  .prod-thumb { width: 64px; height: 46px; }
  .nav-toggle { display: flex; }
  .grid--3, .grid--2, .video-row, .split, .contact-grid { grid-template-columns: 1fr; }
  .showcase { grid-template-columns: repeat(2, 1fr); }
  .hero { height: auto; min-height: 0; padding-block: 150px 96px; }
  .hero-slide { position: relative; inset: auto; }
  .hero-slide:not(.is-active) { display: none; }
  .hero-slide img { height: 44vh; }
  .hero-nav { position: relative; bottom: auto; right: auto; margin-top: 34px; }
  .hero-scroll { display: none; }
}

@media (max-width: 560px) {
  .grid--3, .grid--4, .showcase, .field-2, .footer-grid { grid-template-columns: 1fr; }
  .shot--wide, .shot--tall { grid-column: span 1; }
  .strip-inner { justify-content: flex-start; }
  /* 小屏空间紧张：CTA 收进导航，保留语言切换与汉堡 */
  .header-side > .btn { display: none; }
  .lang-btn { width: 36px; height: 36px; }
  .lang-panel { width: 200px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-slide img { transform: none; }
}

/* ---------- 自适应导航 ----------
   顶栏中线扫过带 data-nav-theme="dark" 的区块时，整条顶栏反转为浅色；
   离开深色区块自动还原为白底深色字。仅桌面端启用，移动端保持白胶囊。 */
.logo-on-dark { display: none; }
.brand-logos { display: grid; }
.brand-logos > .brand-logo { grid-area: 1 / 1; }
/* 参与反转的元素统一加过渡，切换时是渐变而不是闪变 */
.brand-name, .brand-sub, .header-tel, .site-header .btn { transition: color .34s var(--ease), background-color .34s var(--ease), border-color .34s var(--ease); }
.site-header .pill-list > .pill-item > .pill-link { transition: color .34s var(--ease); }

@media (min-width: 901px) {
  .site-header.is-on-dark .header-shell {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }
  .site-header.is-on-dark.is-stuck .header-shell {
    background: rgba(9,9,11,.3);
    border-color: rgba(255,255,255,.14);
    backdrop-filter: blur(12px);
    box-shadow: none;
  }
  .site-header.is-on-dark .logo-on-light { display: none; }
  .site-header.is-on-dark .logo-on-dark { display: block; }
  .site-header.is-on-dark .brand-name { color: #fff; }
  .site-header.is-on-dark .brand-sub { color: rgba(255,255,255,.68); }
  .site-header.is-on-dark .header-tel { color: rgba(255,255,255,.82); }
  .site-header.is-on-dark .header-tel:hover { color: #fff; }
  .site-header.is-on-dark .pill-list > .pill-item > .pill-link { color: rgba(255,255,255,.84); }
  .site-header.is-on-dark .pill-list > .pill-item > .pill-link:hover,
  .site-header.is-on-dark .pill-list > .pill-item > .pill-link[aria-current="page"] { color: #fff; }
  .site-header.is-on-dark .pill-glow { background: rgba(255,255,255,.16); }
  .site-header.is-on-dark .btn--primary { background: #fff; color: #09090B; }
  .site-header.is-on-dark .btn--primary:hover { background: rgba(255,255,255,.88); }
  .site-header.is-on-dark .nav-toggle { border-color: rgba(255,255,255,.3); }
  .site-header.is-on-dark .nav-toggle span,
  .site-header.is-on-dark .nav-toggle span::before,
  .site-header.is-on-dark .nav-toggle span::after { background: #fff; }
  /* 展开面板始终是白色实体面，内部文字不受反转影响 */
  .site-header.is-on-dark .pill-panel { background: var(--panel); border-color: var(--line); }
  .site-header.is-on-dark .lang-btn { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.22); color: #fff; }
  .site-header.is-on-dark .lang-btn:hover { background: rgba(255,255,255,.22); }
  .site-header.is-on-dark .lang-panel { background: var(--panel); border-color: var(--line); }
}


/* ---------- 空间扫描仪 · 选型卡片列表 ----------
   参考其域创新的「图标 + 名称 + 定位」骨架，差异在于：
   图标加浅灰底托并在悬停时填充品牌色、整行可点、右侧给方向箭头。 */
.scanner-list { display: grid; gap: 12px; }
.scanner-row {
  display: flex; align-items: center; gap: 20px;
  padding: 20px 24px;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-card);
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.scanner-row:hover { transform: translateY(-3px); border-color: var(--line-2); box-shadow: var(--shadow-panel); }
.scanner-icon {
  width: 64px; height: 64px; flex: none;
  display: grid; place-items: center;
  border-radius: 15px; background: var(--bg-deep); color: var(--text);
  transition: background-color .35s var(--ease), color .35s var(--ease);
}
.scanner-icon svg {
  width: 38px; height: 38px; fill: none; stroke: currentColor;
  stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round;
}
.scanner-row:hover .scanner-icon { background: var(--brand); color: var(--text-on-brand); }
.scanner-body { flex: 1; display: flex; flex-direction: column; gap: 5px; }
.scanner-name {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: var(--fs-h3);
  font-weight: 800; letter-spacing: var(--tracking-display); color: var(--text);
}
.scanner-desc { font-size: var(--fs-sm); color: var(--text-3); }
.badge {
  font-family: var(--font); font-style: normal; font-size: 11px; font-weight: 700;
  letter-spacing: .02em; padding: 3px 10px; border-radius: var(--radius-pill);
  background: var(--logo-blue); color: #fff;
}
.scanner-go { flex: none; font-size: 18px; color: var(--text-3); transition: transform .35s var(--ease), color .35s var(--ease); }
.scanner-row:hover .scanner-go { transform: translateX(5px); color: var(--text); }

@media (max-width: 560px) {
  .scanner-row { padding: 16px; gap: 14px; }
  .scanner-icon { width: 52px; height: 52px; border-radius: 13px; }
  .scanner-icon svg { width: 30px; height: 30px; }
  .scanner-name { flex-wrap: wrap; }
}


/* ---------- 移动边界按钮（Moving Border）----------
   参考 Aceternity UI 的 moving-border：一个锥形渐变元素在容器内持续旋转，
   配合容器的 overflow:hidden + 胶囊圆角，裁成一条绕着按钮流动的光边。
   不需要 JS，也不需要额外 DOM —— 用 ::before 承载渐变层。 */
.moving-border {
  position: relative; display: inline-flex;
  padding: 2px; border-radius: var(--radius-pill);
  overflow: hidden; isolation: isolate;
}
.moving-border::before {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 260%; aspect-ratio: 1;
  transform: translate(-50%, -50%) rotate(0deg);
  background: conic-gradient(from 0deg,
    transparent 0deg 268deg,
    #7DD3FC 300deg,
    #FDBA74 330deg,
    #F9A8D4 354deg,
    transparent 360deg);
  animation: mb-spin 5s linear infinite;
  z-index: 0;
  will-change: transform;
}
.moving-border > * { position: relative; z-index: 1; }
@keyframes mb-spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}
/* 顶栏处于深色影像上时，光边对比更明显，稍微提亮 */
.site-header.is-on-dark .moving-border::before { filter: saturate(1.15) brightness(1.1); }

@media (prefers-reduced-motion: reduce) {
  .moving-border::before { animation: none; background: var(--line-2); }
}


/* ---------- 首屏滚动收起 ----------
   --sp 是滚动进度（0→1），由 JS 写入；这里只做纯 transform / opacity 变换，
   不改变布局，因此不会触发重排。transform-origin 设为顶部居中，
   缩小时底边向上抬，视觉上就是「向上收起」。 */
.hero--full { --sp: 0; background: var(--bg); }
.hero--full .hero-stage {
  transform-origin: center top;
  transform: translateY(calc(var(--sp) * -20%)) scale(calc(1 - var(--sp) * .1));
  border-radius: calc(var(--sp) * 28px);
  overflow: hidden;
  backface-visibility: hidden;
  will-change: transform;
}
.hero--full .hero-copy { opacity: calc(1 - var(--sp) * 1.6); }
.hero--full .hero-scroll { opacity: calc(1 - var(--sp) * 2.4); }

@media (prefers-reduced-motion: reduce) {
  .hero--full .hero-stage { transform: none; border-radius: 0; }
  .hero--full .hero-copy, .hero--full .hero-scroll { opacity: 1; }
}


/* ---------- 首页 · 产品矩阵 ----------
   版式参考其域创新的产品卡（图 + 名称 + 定位 + 要点 + 了解更多），
   产品图底色统一为 #F6F7FA，与卡片图片区同色，接缝不可见。 */
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.pcard {
  display: flex; flex-direction: column;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card);
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.pcard:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: var(--shadow-panel); }
.pcard-media {
  height: 268px; padding: 22px 24px 0;
  display: flex; align-items: flex-end; justify-content: center;
  background: #F6F7FA;
}
.pcard-media img { max-width: 100%; max-height: 100%; width: auto; object-fit: contain; }
.pcard-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.pcard-name {
  font-family: var(--font-display); font-size: 20px; font-weight: 800;
  letter-spacing: var(--tracking-display); color: var(--text);
}
.pcard-pos { font-size: var(--fs-sm); color: var(--text-2); }
.pcard-specs { display: grid; gap: 7px; margin-top: 6px; flex: 1; }
.pcard-specs li {
  position: relative; padding-left: 15px;
  font-size: var(--fs-sm); color: var(--text-2); line-height: 1.6;
}
.pcard-specs li::before {
  content: ""; position: absolute; left: 0; top: .6em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--text-3);
}
.pcard-more {
  display: inline-flex; align-items: center; gap: 6px; margin-top: auto;
  font-size: var(--fs-sm); font-weight: 500; color: var(--logo-blue);
}
.pcard-more::after { content: "\2192"; transition: transform .3s var(--ease); }
.pcard:hover .pcard-more::after { transform: translateX(4px); }

@media (max-width: 1080px) {
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .prod-grid { grid-template-columns: 1fr; }
  .pcard-media { height: 210px; padding: 18px 18px 0; }
}


/* ---------- 产品矩阵 · 扇形堆叠卡片 ----------
   参考 Aceternity「界面工艺卡」：卡片横向扇形叠放，点击一张飞到最前并展开说明，
   其余卡片下沉、后退、降透明度。全部用 transform 完成，不改布局。 */
.stack {
  --spacing: 170;      /* 卡片横向间距（无单位，供 calc 使用） */
  --front-y: 110;      /* 选中卡片上移量(px) */
  --recede: 350;       /* 其余卡片下移量(px) */
  --cw: 300px;         /* 卡片宽 */
  --ch: 540px;         /* 卡片高：要能容下 7 条参数 */
  position: relative; height: 830px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.stack-stage { position: relative; width: 100%; height: 100%; }

.stack-card {
  position: absolute; left: 50%; top: 50%;
  -webkit-tap-highlight-color: transparent;
  width: var(--cw); height: var(--ch);
  margin-left: calc(var(--cw) / -2); margin-top: calc(var(--ch) / -2);
  display: flex; flex-direction: column; text-align: left;
  padding: 0 0 20px; cursor: pointer;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 20px; overflow: hidden;
  box-shadow: var(--shadow-card);
  z-index: var(--z, 1);
  /* 扇形位姿：--x 由「序号 × 间距」算出，无需逐个算 */
  transform: translate3d(calc(var(--x) * 1px), calc(var(--y) * 1px), 0) rotate(calc(var(--r) * 1deg)) scale(1);
  transition: transform .62s var(--ease-out), opacity .45s var(--ease),
              box-shadow .45s var(--ease), border-color .45s var(--ease);
  will-change: transform;
}
.stack-card:hover { border-color: var(--line-2); box-shadow: var(--shadow-panel); }

.stack-media {
  height: 200px; flex: none;
  display: flex; align-items: flex-end; justify-content: center;
  padding: 18px 20px 0; background: #F6F7FA;
}
.stack-media img { max-width: 100%; max-height: 100%; width: auto; object-fit: contain; }

.stack-info { padding: 18px 22px 0; display: flex; flex-direction: column; gap: 6px; }
.stack-name {
  font-family: var(--font-display); font-size: 19px; font-weight: 800;
  letter-spacing: var(--tracking-display); color: var(--text);
}
.stack-pos { font-size: var(--fs-sm); color: var(--text-2); }

.stack-detail {
  padding: 0 22px; margin-top: 0;
  max-height: 0; opacity: 0; visibility: hidden; overflow: hidden;
  transition: max-height .5s var(--ease-out), opacity .35s var(--ease),
              visibility .5s, margin-top .5s var(--ease-out);
}
.stack-detail ul { display: grid; gap: 7px; padding-top: 12px; }
.stack-detail li {
  position: relative; padding-left: 15px;
  font-size: var(--fs-sm); color: var(--text-2); line-height: 1.55;
}
.stack-detail li::before {
  content: ""; position: absolute; left: 0; top: .58em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--text-3);
}
.stack-more {
  display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 14px;
  font-size: var(--fs-sm); font-weight: 500; color: var(--logo-blue);
}
.stack-more::after { content: "\2192"; }

/* 选中态：当前卡片飞到最前展开，其余下沉后退 */
.stack.is-active .stack-card:not(.is-front) {
  transform: translate3d(calc(var(--x) * 0.78px), calc(var(--recede) * 1px), 0) rotate(calc(var(--r) * 0.3deg)) scale(.6);
  opacity: .92;
}
.stack.is-active .stack-card.is-front {
  z-index: 50;
  transform: translate3d(0, calc(var(--front-y) * -1px), 0) rotate(0deg) scale(1.05);
  border-color: var(--line-2); box-shadow: var(--shadow-panel);
}
.stack.is-active .stack-card:not(.is-front):hover {
  transform: translate3d(calc(var(--x) * 0.78px), calc((var(--recede) - 12) * 1px), 0) rotate(calc(var(--r) * 0.3deg)) scale(.67);
  opacity: 1;
}
.stack-card.is-front .stack-detail {
  max-height: 300px; opacity: 1; visibility: visible; margin-top: 4px;
  display: flex; flex-direction: column; flex: 1 1 auto;
}

@media (max-width: 900px) {
  .stack { --spacing: 86; --cw: 240px; --ch: 520px; height: 800px; }
  .stack-media { height: 176px; padding: 14px 16px 0; }
  .stack-info { padding: 15px 18px 0; }
  .stack-detail { padding: 0 18px; }
  .stack-card.is-front .stack-detail { max-height: 300px; }
}
@media (max-width: 640px) {
  .stack { --spacing: 60; --cw: 208px; --ch: 480px; height: 760px; --front-y: 60; }
  .stack-name { font-size: 17px; }
  .stack-media { height: 150px; }
}

@media (prefers-reduced-motion: reduce) {
  .stack-card { transition: opacity .3s; }
}


/* ---------- 文本揭示（现实 ⇄ 数字）----------
   底层文字默认压暗，鼠标移到词上时，由跟随光标的径向遮罩揭出另一层文字，
   形成「现实 → 数字」的就地切换。纯 CSS 遮罩，不需要 canvas。 */
.reveal-word { position: relative; display: inline-block; cursor: default; }
.rw-base { opacity: .42; transition: opacity .35s var(--ease); }
.rw-swap {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; color: #fff;
  -webkit-mask-image: radial-gradient(circle 66px at var(--mx, 50%) var(--my, 50%),
      #000 0%, rgba(0,0,0,.45) 56%, transparent 100%);
  mask-image: radial-gradient(circle 66px at var(--mx, 50%) var(--my, 50%),
      #000 0%, rgba(0,0,0,.45) 56%, transparent 100%);
  transition: opacity .22s var(--ease);
  pointer-events: none;
}
/* 悬停：由跟随光标的遮罩揭出另一个词 —— 现实 ⇄ 数字 */
.reveal-word:hover .rw-base { opacity: .1; }
.reveal-word:hover .rw-swap { opacity: 1; text-shadow: 0 0 26px rgba(255,255,255,.45); }

@media (prefers-reduced-motion: reduce) {
  .rw-base { transition: none; }
  .reveal-word:hover .rw-swap { transition: none; }
}


/* ---------- 揭示词的粒子层 ----------
   粒子画在 canvas 上，再套上跟文字完全相同的径向遮罩，
   所以只有在光标光斑范围内才看得到，效果与参考实现一致。 */
.rw-canvas {
  position: absolute; inset: 0; pointer-events: none;
  opacity: .55;                       /* 暗淡状态下常驻可见，压暗一档避免抢字 */
  transition: opacity .3s var(--ease);
}
.reveal-word:hover .rw-canvas { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .rw-canvas { display: none; }
}


/* ---------- 行业应用六宫格 ---------- */
/* 首页 · 荣誉与资质（两张资质图，纵向堆叠，宽度受限保证证书文字可读） */
.quals {
  display: grid; gap: 20px;
  max-width: 1020px; margin-inline: auto;
}
.quals img {
  width: 100%; height: auto; display: block;
  border-radius: var(--radius); border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}

/* ---------- 关于页 · 行业落地（文字版）----------
   刻意区别于首页的图片卡 .ind-card：这里是纯文字列表，动效全在文字上——
   悬停时底色从左横扫、序号/名称/说明一起右移、名称出现下划线、箭头滑入。 */
.ir-list { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: clamp(30px, 5vw, 76px); }

.ir-item {
  position: relative; display: grid; grid-template-columns: auto 1fr auto;
  align-items: start; gap: 18px; padding: 24px 10px 26px;
  border-top: 1px solid var(--line); overflow: hidden;
}
.ir-item::before {                       /* 底色横扫 */
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: var(--brand-soft);
  transform: scaleX(0); transform-origin: left center;
  transition: transform .55s var(--ease);
}
.ir-item:hover::before { transform: scaleX(1); }
.ir-item > * { position: relative; z-index: 1; }

.ir-idx {
  font-family: var(--font-display); font-size: 12px; font-weight: 700;
  letter-spacing: .16em; color: var(--text-3); padding-top: 6px;
  transition: transform .5s var(--ease), color .35s var(--ease);
}
.ir-item:hover .ir-idx { transform: translateX(6px); color: var(--text-2); }

.ir-body { display: flex; flex-direction: column; gap: 7px; }
.ir-name {
  position: relative; display: inline-block;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(19px, 1.9vw, 27px); letter-spacing: var(--tracking-display);
  transition: transform .5s var(--ease);
}
.ir-name::after {                        /* 名称下划线扫出 */
  content: ""; position: absolute; left: 0; bottom: -4px; height: 2px; width: 100%;
  background: var(--text); transform: scaleX(0); transform-origin: left center;
  transition: transform .5s var(--ease);
}
.ir-item:hover .ir-name { transform: translateX(6px); }
.ir-item:hover .ir-name::after { transform: scaleX(1); }

.ir-desc {
  font-size: 13px; line-height: 1.6; color: var(--text-3);
  transition: transform .5s var(--ease), color .4s var(--ease);
}
.ir-item:hover .ir-desc { transform: translateX(6px); color: var(--text-2); }

.ir-go {
  font-size: 15px; color: var(--text-3);
  opacity: 0; transform: translateX(-12px);
  transition: opacity .4s var(--ease), transform .5s var(--ease);
}
.ir-item:hover .ir-go { opacity: 1; transform: translateX(0); }

@media (max-width: 760px) {
  .ir-list { grid-template-columns: 1fr; }
  .ir-item { padding: 20px 6px 22px; gap: 14px; }
}

/* ---------- 服务子页 · 图集与视频卡 ----------
   图片图集 .gal（可 2 列 / 4 列）+ 分组 .gal-group；视频卡 .vgal（controls + preload=none，
   海报图先显示，点了才加载，避免一进页就拖 5 个视频）。 */
.gal { display: grid; gap: 16px; }
.gal--2 { grid-template-columns: repeat(2, 1fr); }
.gal--3 { grid-template-columns: repeat(3, 1fr); }
.gal--4 { grid-template-columns: repeat(4, 1fr); }

.gal figure {
  position: relative; margin: 0; overflow: hidden;
  border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--bg-deep);
}
.gal img {
  width: 100%; height: 100%; aspect-ratio: 16 / 10;
  object-fit: cover; display: block;
  transition: transform .7s var(--ease);
}
.gal figure:hover img { transform: scale(1.04); }
.gal figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 30px 16px 13px;
  font-family: var(--font-display); font-size: 15px; font-weight: 700;
  letter-spacing: var(--tracking-display); color: #fff;
  background: linear-gradient(rgba(9,9,11,0), rgba(9,9,11,.74));
}
/* 原图横竖不一（如「采集方式」有竖图）时用 fit：按原比例完整显示，不裁切 */
.gal--fit img { height: auto; aspect-ratio: 4 / 3; object-fit: contain; padding: 12px; }

.gal-group + .gal-group { margin-top: 34px; }
.gal-title {
  font-family: var(--font-display); font-size: clamp(17px, 1.5vw, 21px);
  font-weight: 800; letter-spacing: var(--tracking-display);
  margin: 0 0 14px; padding-left: 12px; border-left: 3px solid var(--text);
}

.vgal { display: grid; gap: 16px; }
.vgal--2 { grid-template-columns: repeat(2, 1fr); }
.vgal--3 { grid-template-columns: repeat(3, 1fr); }
.vgal figure { margin: 0; }
.vgal video {
  width: 100%; aspect-ratio: 16 / 10; display: block;
  object-fit: cover; background: #000;
  border-radius: var(--radius); border: 1px solid var(--line);
}

@media (max-width: 900px) {
  .gal--4, .vgal--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .gal--2, .gal--3, .gal--4, .vgal--2, .vgal--3 { grid-template-columns: 1fr; }
}

.ind-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ind-card {
  position: relative; overflow: hidden;
  border-radius: var(--radius); background: var(--bg-deep);
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
}
.ind-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.ind-card:hover img { transform: scale(1.05); }
.ind-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(9,9,11,.84) 0%, rgba(9,9,11,.34) 46%, rgba(9,9,11,.06) 100%);
}
.ind-body {
  position: absolute; inset: auto 0 0 0; z-index: 2;
  display: flex; align-items: center; gap: 11px;
  padding: 26px 28px; color: #fff;
}
.ind-icon {
  width: 44px; height: 44px; flex: none; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.24);
}
.ind-icon svg { width: 21px; height: 21px; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ind-name { font-size: 18px; font-weight: 700; letter-spacing: var(--tracking-display); }

/* 联系区块里的两个二维码（微信 / 公众号），放在复制电话按钮上方 */
.qr-row { display: flex; gap: 16px; margin: 2px 0 4px; }
.qr-row .qr {
  flex: 1; margin: 0; display: flex; flex-direction: column;
  align-items: center; gap: 7px;
}
.qr-row img {
  width: 100%; max-width: 116px; height: auto; aspect-ratio: 1 / 1;
  padding: 6px; background: #fff;
  border: 1px solid var(--line); border-radius: 10px;
}
.qr-row figcaption { font-size: 12px; color: var(--text-3); }

/* 3D 卡牌效果（参考 Aceternity UI 的 3d-card，静态站用原生 JS 复刻）
   perspective 放在网格上 → 子卡片沿指针方向做 rotateX/rotateY 倾斜；
   ::before 是跟着指针走的高光，.is-tilt 期间用更短的 transition 保证跟手。 */
.ind-grid { perspective: 1100px; }
.ind-card {
  transform-style: preserve-3d;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  will-change: transform;
}
.ind-card.is-tilt {
  transition: transform .12s linear, box-shadow .35s var(--ease);
  box-shadow: 0 26px 52px rgba(9,9,11,.20);
}
.ind-card::before {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  opacity: 0; transition: opacity .35s var(--ease);
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%),
              rgba(255,255,255,.26), rgba(255,255,255,0) 62%);
}
.ind-card:hover::before { opacity: 1; }
.ind-card .ind-body { transition: transform .45s var(--ease); }
.ind-card.is-tilt .ind-body { transform: translateY(-4px); }

@media (prefers-reduced-motion: reduce) {
  .ind-grid { perspective: none; }
  .ind-card, .ind-card.is-tilt { transition: none; transform: none !important; box-shadow: none; }
  .ind-card::before { display: none; }
}

@media (max-width: 900px) { .ind-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .ind-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .ind-grid { grid-template-columns: 1fr; }
  .ind-card { aspect-ratio: 3 / 2; }
  .ind-body { padding: 16px 18px; }
}


/* ---------- 区块标题·特大号（居中大标题） ---------- */
.sec-title--xl { font-size: clamp(30px, 4.4vw, 52px); }


/* ---------- 携手共创 · 跑马灯 ----------
   轨道里放两组相同的 logo，位移到 -50% 时第二组正好顶上来，形成无缝循环。
   两侧用 mask 渐隐（参考图那种边缘淡出），悬停暂停，方便看清。 */
.mq {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
}
.mq-track {
  display: flex; align-items: center; gap: 20px;
  width: max-content;
  animation: mq-scroll 40s linear infinite;
}
.mq:hover .mq-track { animation-play-state: paused; }

.mq-item {
  flex: none; display: flex; align-items: center; justify-content: center;
  height: 84px; padding: 0 26px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.mq-item img {
  height: 42px; width: auto; object-fit: contain;
  filter: grayscale(1); opacity: .72;
  transition: filter .35s var(--ease), opacity .35s var(--ease);
}
.mq-item:hover { border-color: var(--line-2); transform: translateY(-3px); }
.mq-item:hover img { filter: grayscale(0); opacity: 1; }

@keyframes mq-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (max-width: 760px) {
  .mq-item { height: 68px; padding: 0 18px; }
  .mq-item img { height: 32px; }
  .mq-track { gap: 14px; animation-duration: 30s; }
}

@media (prefers-reduced-motion: reduce) {
  .mq-track { animation: none; }
}


/* ---------- 三款产品展示 ---------- */
.prow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.prow-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; }
.prow-media { height: 250px; display: flex; align-items: flex-end; justify-content: center; }
.prow-media img { max-height: 100%; width: auto; object-fit: contain; }
.prow-name {
  margin-top: 14px; font-family: var(--font-display); font-size: 19px;
  font-weight: 800; letter-spacing: var(--tracking-display); color: var(--text);
}
.prow-pos { font-size: var(--fs-sm); color: var(--text-3); }

/* ---------- 产品对比表 ---------- */
.cmp-scroll {
  overflow-x: auto;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-card);
}
.cmp { width: 100%; min-width: 800px; border-collapse: collapse; font-size: var(--fs-sm); }
.cmp th, .cmp td { padding: 15px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.cmp thead th {
  background: var(--bg-soft); color: var(--text); white-space: nowrap;
  font-family: var(--font-display); font-size: var(--fs-h3);
  font-weight: 800; letter-spacing: var(--tracking-display);
}
.cmp thead th:first-child { font-family: var(--font); font-size: var(--fs-sm); font-weight: 500; color: var(--text-3); }
.cmp tbody th { width: 132px; font-weight: 500; color: var(--text-2); white-space: nowrap; }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }
.cmp tbody tr:hover th, .cmp tbody tr:hover td { background: var(--bg-soft); }
.cmp ul { display: grid; gap: 5px; }
.cmp li { color: var(--text-2); line-height: 1.55; }
.cmp td { color: var(--text-2); }

@media (max-width: 760px) {
  .prow { grid-template-columns: 1fr; gap: 38px; }
  .prow-media { height: 216px; }
  .cmp th, .cmp td { padding: 12px 14px; }
}


/* ---------- 对比表·表头产品图行 ---------- */
.cmp-media td, .cmp-media th {
  padding: 30px 20px 4px;
  background: var(--panel);
  border-bottom: 0;
  vertical-align: bottom;
  text-align: center;
}
.cmp-media th:first-child { background: var(--panel); }
.cmp-media img {
  display: block; margin: 0 auto;
  height: 200px; width: auto; max-width: 100%; object-fit: contain;
}
.cmp-media + tr th { padding-top: 18px; }

@media (max-width: 760px) {
  .cmp-media td, .cmp-media th { padding: 20px 12px 4px; }
  .cmp-media img { height: 140px; }
}


/* ---------- 卷轴首屏（空间扫描仪页） ----------
   --p 是滚动进度（0→1，由 JS 写入）。卡片初始后仰 22°，
   随页面滚动逐渐转平并微微放大，标题同时上移——即「卷轴」展开的观感。 */
.cscroll {
  --p: 0;
  position: relative; overflow: hidden;
  display: flex; align-items: flex-start;      /* 顶对齐：动画跑完时卡片还在画面里 */
  padding: calc(var(--header-h) + 40px) var(--gutter) clamp(64px, 7vw, 96px);
  background: var(--bg-soft);
}
.cscroll-view { width: 100%; max-width: var(--maxw); margin-inline: auto; perspective: 900px; }

.cscroll-head {
  text-align: center;
  transform-origin: center top;                       /* 收缩时朝顶部收，像被"吸"上去 */
  transform: translateY(calc(var(--p) * -104px)) scale(calc(1 - var(--p) * .18));
  opacity: calc(1 - var(--p) * .55);
}
.cscroll-kicker {
  display: inline-block; font-size: var(--fs-xs); letter-spacing: .18em;
  color: var(--text-3); margin-bottom: 14px;
}
.cscroll-title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(30px, 4.6vw, 58px); letter-spacing: var(--tracking-display);
  color: var(--text); margin-bottom: 14px;
}
.cscroll-sub { font-size: clamp(13px, 1.1vw, 16px); color: var(--text-2); margin-bottom: 28px; }
.cscroll-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

.cscroll-card {
  /* 上间距必须大于仪器探出量（poke 68 - 卡片内边距 14 = 54），否则仪器会顶到按钮上 */
  margin-top: clamp(96px, 9.4vw, 144px);
  padding: 14px;
  border-radius: 26px;
  background: linear-gradient(180deg, #2B2B30 0%, #1B1B1F 100%);
  border: 1px solid rgba(255,255,255,.09);
  box-shadow: 0 44px 80px rgba(9,9,11,.26), 0 4px 12px rgba(9,9,11,.12);
  transform-origin: center;      /* 与参考实现一致：绕自身中心转，下边也不会被透视放大到溢出容器 */
  /* 幅度是这段动画的关键：.78 → 1 让高度变化约 +50%，从"躺着"到"立起来"才看得出来。
     不要再加与滚动同方向的 translateY —— 那会和页面的自然上移混在一起，等于没动。 */
  transform: rotateX(calc((1 - var(--p)) * 30deg))
             scale(calc(.78 + var(--p) * .22));
}
.cscroll-screen {
  position: relative; border-radius: 16px; background: #FFFFFF;
  overflow: visible;              /* 允许仪器越过上沿，做出「破框」的立体感 */
  display: flow-root;             /* 阻断子元素负 margin 的外塌，屏幕高度才能跟着收紧 */
}
/* 地面上的一层柔光，让产品「站」在空间里 */
.cscroll-screen::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 42%; pointer-events: none;
  background: radial-gradient(120% 100% at 50% 100%, rgba(9,9,11,.08), rgba(9,9,11,0) 72%);
}

/* 三款仪器的 3D 站位：两侧后撤并内转，中间靠前 */
.cstage {
  position: relative;
  display: flex; align-items: flex-end; justify-content: center;
  gap: clamp(20px, 6.2vw, 104px);           /* 三台之间的横向留白 */
  --poke: clamp(36px, 4.6vw, 68px);          /* 仪器探出边框的高度（会改变屏幕高度 → 会动边框） */
  --lift: clamp(28px, 3.6vw, 52px);          /* 纯视觉上移量：不参与布局，边框尺寸完全不受影响 */
  padding: 0 clamp(14px, 3.6vw, 48px) 14px;
  margin-bottom: calc(-1 * var(--poke));    /* 抵消上移，屏幕底部不留空 */
  perspective: 1100px; transform-style: preserve-3d;
}
.cprod {
  position: relative; flex: none;
  /* 只在视觉上上移，父容器（屏幕）尺寸不动：--poke 决定探出多少、--lift 决定整体再抬多高。
     top 是相对定位偏移，不参与布局 —— 所以这两个值怎么调都不会带动边框。 */
  top: calc(-1 * var(--poke) - var(--lift));
  transform-style: preserve-3d;
  /* top 必须一起过渡：悬停时 top 会再抬 14px，如果只过渡 transform，
     这 14px 是硬跳，看起来就"僵"（这就是之前手感生硬的原因）。 */
  transition: transform .7s var(--ease-out), top .7s var(--ease-out);
}
.cprod img { display: block; height: clamp(230px, 30vw, 470px); width: auto; animation: cfloat 6s var(--ease) infinite; }
.cprod::after {
  content: ""; position: absolute; left: 50%; bottom: -4px;
  width: 76%; height: 14px; transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(9,9,11,.17), rgba(9,9,11,0) 72%);
}
.cprod:nth-child(1) { transform: translateZ(-70px) rotateY(15deg); }
.cprod:nth-child(2) { transform: translateZ(52px) scale(1.05); }
.cprod:nth-child(3) { transform: translateZ(-70px) rotateY(-15deg); }
.cprod:nth-child(1) img { animation-delay: .9s; }
.cprod:nth-child(3) img { animation-delay: 1.8s; }
.cprod:hover { top: calc(-1 * var(--poke) - var(--lift) - 14px); transform: translateZ(112px) rotateY(0deg) scale(1.06); }

/* ---------- 双机舞台（航测首屏）：两台飞机头对头、机头下压 ----------
   1) 镜像与倾斜必须挂在 .cprod-tilt 上 —— img 上有 cfloat 浮动动画，
      动画期间会覆盖 img 自己的静态 transform，静态变换放 img 上会被吃掉。
   2) 上面 .cprod:nth-child() 那组「三台错落」的深度规则是按三仪器写的，
      两个飞机时会变成左右不对称，所以要在这里覆盖掉。
   3) 左机水平镜像后机头朝右，与右机相对；两侧都压 -9deg，镜像那侧视觉上变成 +9deg，
      同样是机头朝下 —— 最后形成对称的「对飞下压」姿态。
   4) 飞机图已用 AI 抠图去白底（prod-v500-cut.png / prod-v600-cut.png），所以能像仪器那样
      「破框」露出卡片上沿。**若换回未抠图的白底原图，必须把 --poke/--lift 归零并给屏幕
      加 .cscroll-screen--clip，否则破框处会露出白色矩形。** */
/* 航测首屏：这一屏就是要突出两台飞机，所以卡框比机身还窄 —— 机身向两侧"溢出"卡框，
   而不是把机身缩进卡框里。宽度上限只控制卡框，与机身尺寸互不影响。 */
.cscroll--duo .cscroll-view { max-width: min(1400px, 100%); }
/* 起始态也别压太狠：全站默认是 .78 缩 + 30° 倾，一进页面看着整体偏小。
   这一屏改用 .88 缩 + 24°，首屏观感更接近最终大小，滚动时仍有明显的"立起来"过程。 */
.cscroll--duo .cscroll-card {
  transform: rotateX(calc((1 - var(--p)) * 24deg)) scale(calc(.88 + var(--p) * .12));
}

.cstage--duo {
  /* 卡框比机身窄 → 「两端对齐」会因自由空间为负而失效（右机被挤出右边框），
     改用居中：溢出的部分会**左右均分**，两台机始终对称。 */
  justify-content: center;
  /* 中间留出间距：卡框窄 + 机身大，两机容易在中路撞在一起（机翼交叠）。
     居中布局下 gap 就是两机之间的净距，直接决定它们分开多少；
     机身尺寸不受 gap 影响 —— 间距不够就只加这里，别去缩机身。 */
  gap: clamp(56px, 7.6vw, 176px);
  /* --lift 归零：机身不再整体上抬，卡片底边才能贴着机身收（--lift 只会把底部留白撑出来）。
     上沿破框改由 --poke 单独负责（poke 同时会把屏幕底边往上收，一举两得）。 */
  --poke: clamp(40px, 5vw, 80px);
  --lift: 0px;
  padding: clamp(8px, 1.4vw, 18px) clamp(4px, 0.8vw, 10px) clamp(4px, 0.8vw, 10px);
}
/* 机身尺寸只由这里决定，与卡框宽度无关（用户要求：卡框缩小、飞机不缩） */
.cstage--duo .cprod img { height: clamp(146px, 17.5vw, 310px); }
/* 再往两侧各探出一点：向外负边距，机身比卡框略宽，头对头更舒展 */
.cstage--duo .cprod--left { margin-left: clamp(-32px, -1.8vw, -12px); }
.cstage--duo .cprod--right { margin-right: clamp(-32px, -1.8vw, -12px); }
.cprod-tilt { display: block; transform-origin: 50% 62%; transition: transform .7s var(--ease-out); }
.cstage--duo .cprod--left .cprod-tilt { transform: scaleX(-1) rotate(-9deg); }
.cstage--duo .cprod--right .cprod-tilt { transform: rotate(-9deg); }
.cstage--duo .cprod:nth-child(1),
.cstage--duo .cprod:nth-child(2),
.cstage--duo .cprod:nth-child(3) { transform: none; }
.cstage--duo .cprod--left { transform: translateZ(-26px) rotateY(7deg); }
.cstage--duo .cprod--right { transform: translateZ(34px) rotateY(-7deg); }
.cstage--duo .cprod:nth-child(2) img { animation-delay: 0s; }
/* 落影收窄压淡：两台飞机并排时，原来的椭圆影会连成一条灰杠 */
.cstage--duo .cprod::after { width: 46%; height: 10px; bottom: 2px; opacity: .55; }
@media (max-width: 620px) {
  .cstage--duo { gap: 0; --poke: clamp(12px, 4vw, 20px); --lift: clamp(10px, 3vw, 16px); }
  .cstage--duo .cprod img { height: clamp(86px, 31vw, 140px); }
}

@keyframes cfloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-9px); }
}

@media (max-width: 760px) {
  .cscroll { padding-top: calc(var(--header-h) + 32px); padding-bottom: 56px; }
  .cscroll-card { margin-top: 56px; }
  .cscroll-card { padding: 9px; border-radius: 18px; }
  .cscroll-screen { border-radius: 12px; }
  .cstage { gap: 12px; --poke: 26px; --lift: 16px; padding: 0 10px 10px; perspective: 700px; }
  .cprod img { height: clamp(120px, 34vw, 190px); }
  .cprod:nth-child(1) { transform: translateZ(-40px) rotateY(12deg); }
  .cprod:nth-child(3) { transform: translateZ(-40px) rotateY(-12deg); }
}

@media (prefers-reduced-motion: reduce) {
  .cprod img { animation: none; }
  .cscroll-head, .cscroll-card { transition: none; }
}


/* ---------- 单机型页（L3 / K2 / L2 Pro）----------
   序列首屏：与总览页同构的卷轴卡片，内部换成「序列帧查看器」。
   序列帧本身是黑底，所以屏幕底色改成近黑，让画面无缝铺满。 */
/* 单机型页的主角就是仪器，上部不留大段空白：区块上内边距收到最小，卡片上间距也压到最小 */
.cscroll--prod { padding-top: calc(var(--header-h) + 10px); }
/* 视觉上空白的真正来源：卡片绕自身中心做 scale(.78)+rotateX(30°)，顶边会被"压"下去约 135px。
   所以布局间距即使为 0，看着仍有大段空白 —— 用负上间距把整块屏幕提上来。
   量算：桌面 -70px 后，按钮底到卡片可见顶边的间距由 155px 收到约 85px。 */
.cscroll--prod .cscroll-card { margin-top: clamp(-72px, -5vw, -16px); }
.cscroll-screen--dark { background: #08080A; box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); }
.cscroll-screen--dark::after { display: none; }         /* 去掉白色地面柔光 */

.seq {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9;
  cursor: grab; touch-action: pan-y;                      /* 横向自己处理，纵向仍可滚页面 */
  border-radius: 12px; overflow: hidden;
}
.seq:focus-visible { outline: 2px solid #FFFFFF; outline-offset: 3px; }
.seq.is-dragging { cursor: grabbing; }
.seq-canvas { display: block; width: 100%; height: 100%; }

/* ---------- 视频首屏（飞马 V500 / V600）：与仪器首屏同构，载体换成产品动图 ----------
   视频按自身比例铺满（不设 16:9 固定框），所以既不裁切也不留黑边。
   屏幕底色跟视频边缘色对齐，加载中不会闪一块突兀的白/黑。 */
.cscroll-screen--clip { overflow: hidden; }   /* 双机舞台：飞机图是不透明白底，必须裁在屏内 */
.cscroll-screen--video { background: #DFDFE1; }        /* 浅底视频（V500） */
.cscroll-screen--video-dark { background: #1B2126; }   /* 深底视频（V600） */
.cscroll-video-wrap { display: flow-root; }
.cscroll-video { display: block; width: 100%; height: auto; border-radius: 12px; }

/* ---------- 官方动图卡：静帧海报 + 播放按钮，点击走全站视频弹层 ---------- */
.vrow { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.vrow--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 820px) { .vrow, .vrow--3 { grid-template-columns: 1fr; } }
.vcard {
  position: relative; margin: 0; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg-deep); box-shadow: var(--shadow-card);
}
.vcard-media { position: relative; }
.vcard-media img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.vcard-cap { display: flex; flex-direction: column; gap: 4px; padding: 16px 20px 20px; }
.vcard-cap strong { font-family: var(--font-display); font-weight: 800; font-size: 16px; color: var(--text); }
.vcard-cap span { font-size: 13px; line-height: 1.68; color: var(--text-2); }
.seq-fallback { display: block; width: 100%; height: 100%; object-fit: contain; }
.seq-hint {
  position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); white-space: nowrap;
  font-size: 12px; letter-spacing: .06em; color: rgba(255,255,255,.74);
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.16);
  padding: 7px 14px; border-radius: var(--radius-pill);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: opacity .4s var(--ease), transform .4s var(--ease); pointer-events: none;
}
.seq.is-touched .seq-hint { opacity: 0; transform: translateX(-50%) translateY(8px); }
.seq-load {
  position: absolute; inset: 0; display: grid; place-items: center; background: #08080A;
  color: #FFFFFF; font: 700 12px/1 var(--font-display); letter-spacing: .14em;
  transition: opacity .45s var(--ease); pointer-events: none;
}
.seq.is-ready .seq-load { opacity: 0; }

/* 大号参数条 */
.statbar {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
}
.statbar-item { background: var(--panel); padding: 30px 26px; display: flex; flex-direction: column; gap: 8px; }
.statbar-v {
  font-family: var(--font-display); font-weight: 800; letter-spacing: var(--tracking-display);
  font-size: clamp(24px, 2.6vw, 36px); color: var(--text); line-height: 1.1;
}
.statbar-k { font-size: var(--fs-sm); color: var(--text-3); }

/* 硬件模块卡（深色，配官方黑底特写） */
.modgrid { display: grid; gap: 18px; }
.modgrid--3 { grid-template-columns: repeat(3, 1fr); }
.modcard {
  display: flex; flex-direction: column; overflow: hidden; border-radius: 22px;
  background: linear-gradient(180deg, #2B2B30 0%, #1B1B1F 100%);
  border: 1px solid rgba(255,255,255,.09);
}
.modcard-media {
  aspect-ratio: 16 / 10; background: #0B0B0D;
  /* min-height:0 必须写：flex 列容器的子项默认 min-height:auto，
     会被内部竖版图片的固有高度顶住，导致 aspect-ratio 失效、卡片被撑高 */
  min-height: 0; overflow: hidden;
}
.modcard-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.modcard-body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 22px 22px 24px; }
.modcard-t {
  margin: 0; color: #FAFAFA; letter-spacing: -.012em;
  font-family: var(--font-display); font-weight: 800; font-size: 18px;
}
.modcard-d { margin: 0; font-size: 13.5px; line-height: 1.72; color: rgba(255,255,255,.66); }
.modcard-specs {
  margin: auto 0 0; padding: 14px 0 0; list-style: none;
  border-top: 1px solid rgba(255,255,255,.10); display: flex; flex-direction: column; gap: 6px;
}
.modcard-specs li { position: relative; padding-left: 14px; font-size: 12.5px; color: rgba(255,255,255,.82); }
.modcard-specs li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--logo-blue);
}

/* 三格等宽图组（同场景多成果） */
.trigrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tricard { display: flex; flex-direction: column; gap: 14px; margin: 0; }
.tricard-media { aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: var(--bg-deep); min-height: 0; }
.tricard-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-out); }
.tricard:hover .tricard-media img { transform: scale(1.04); }
.tricard figcaption { display: flex; flex-direction: column; gap: 4px; }
.tricard figcaption strong { font-family: var(--font-display); font-weight: 800; font-size: 16px; color: var(--text); }
.tricard figcaption span { font-size: 13px; line-height: 1.68; color: var(--text-2); }

@media (max-width: 980px) { .modgrid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .statbar { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 820px) { .trigrid { grid-template-columns: 1fr; } }
/* 源图分辨率有限的图组：收窄整组 + 按源图比例取景，做到 1:1 不被放大拉糊 */
.trigrid--fit { max-width: 1080px; margin-inline: auto; }
.trigrid--fit .tricard-media { aspect-ratio: 16 / 9; }
@media (max-width: 640px) {
  .modgrid--3 { grid-template-columns: 1fr; }
  .statbar-item { padding: 22px 18px; }
}
@media (max-width: 760px) {
  .seq { aspect-ratio: 4 / 3; border-radius: 10px; }
  .seq-hint { bottom: 14px; font-size: 11px; padding: 6px 12px; }
}
