/* ============================================================
   澳维科技官网主题 v1.0 — 工程图纸亮色风（融合 Kimi 设计语言）
   亮色为主 + 场景案例暗色区块；hairline + mono + 方格纸
   ============================================================ */
:root {
  --ink: #0b0d12;
  --royal: #0a3d91;
  --signal: #ff550c;
  --line: rgba(11, 13, 18, 0.14);
  --line-soft: rgba(11, 13, 18, 0.08);
  --paper: #fafbfc;
  --imgbg: #f5f7fa;
  --wline: rgba(255, 255, 255, 0.14);
  /* 右下角浮层：聊天钮与返回顶部同轴（宽 58 / 48，右缘对齐会视觉偏心，按中心对齐） */
  --fab-right: 26px;
  --fab-bottom: 26px;
  --fab-chat: 58px;
  --fab-back: 48px;
  --fab-stack-gap: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #fff;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", Arial, sans-serif;
  line-height: 1.75;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
::selection { background: var(--royal); color: #fff; }

.wrap { max-width: 1440px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .wrap { padding: 0 40px; } }

.mono { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: 0.14em; }

/* 通用链接下划线 */
.u-link { position: relative; }
.u-link::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px;
  height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right;
  transition: transform .5s cubic-bezier(.625, .05, 0, 1);
}
.u-link:hover::before { transform: scaleX(1); transform-origin: left; }

/* 滚动入场 */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.22, 1, .36, 1), transform .9s cubic-bezier(.22, 1, .36, 1); }
.reveal.in { opacity: 1; transform: none; }

/* 方格纸底纹 */
.grid-paper {
  background-image:
    linear-gradient(rgba(11, 13, 18, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 13, 18, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
}

/* ============ 顶部跑马灯（黑底） ============ */
.topbar { background: var(--ink); color: rgba(255, 255, 255, 0.85); overflow: hidden; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.topbar-track { display: flex; width: max-content; animation: topbarX 30s linear infinite; }
.topbar-track span { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 11px; letter-spacing: 0.14em; padding: 8px 0; white-space: nowrap; }
.topbar-track span::after { content: "/"; color: var(--signal); margin: 0 18px; }
@keyframes topbarX { to { transform: translate3d(-50%, 0, 0); } }

/* ============ Header ============ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-bottom-color: var(--line-soft); box-shadow: 0 1px 0 rgba(11, 13, 18, 0.06); }
.header-inner { display: flex; align-items: center; gap: 30px; height: 66px; }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-img { width: 38px; height: 38px; border-radius: 50%; display: block; }
.logo-text { font-weight: 800; font-size: 17px; letter-spacing: 1px; display: flex; flex-direction: column; gap: 3px; line-height: 1; }
.logo-text i { font-style: normal; font-family: ui-monospace, Menlo, Consolas, monospace; font-weight: 400; font-size: 9px; letter-spacing: 3px; color: rgba(11, 13, 18, 0.5); }
.main-nav { display: flex; gap: 26px; margin-left: auto; }
.main-nav a { display: flex; flex-direction: column; line-height: 1.3; padding: 4px 0; }
.main-nav a b { font-weight: 600; font-size: 14px; }
.main-nav a i { font-style: normal; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 9px; letter-spacing: 0.14em; color: rgba(11, 13, 18, 0.4); text-transform: uppercase; }
.header-phone { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13px; letter-spacing: 0.08em; color: rgba(11, 13, 18, 0.7); white-space: nowrap; }
.header-cta {
  background: var(--ink); color: #fff; font-size: 14px; font-weight: 600;
  padding: 10px 22px; white-space: nowrap; transition: background .2s;
}
.header-cta:hover { background: var(--royal); }

/* 汉堡（桌面隐藏） */
.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px; padding: 0 9px;
  background: transparent; border: 1px solid var(--line); cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; width: 100%; background: var(--ink); transition: transform .25s, opacity .2s; }
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 移动端抽屉（白色全屏） */
.mobile-drawer { position: fixed; inset: 0; z-index: 90; pointer-events: none; }
.drawer-mask { position: absolute; inset: 0; background: rgba(11, 13, 18, 0.4); opacity: 0; transition: opacity .3s; }
.drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(80vw, 340px);
  background: #fff; border-left: 1px solid var(--line);
  transform: translateX(100%); transition: transform .3s cubic-bezier(.22, 1, .36, 1);
  display: flex; flex-direction: column; padding: 84px 0 28px;
}
.mobile-drawer.open { pointer-events: auto; }
.mobile-drawer.open .drawer-mask { opacity: 1; }
.mobile-drawer.open .drawer-panel { transform: none; }
.drawer-panel a {
  display: flex; align-items: baseline; gap: 14px;
  padding: 16px 26px; font-size: 18px; font-weight: 600;
  border-bottom: 1px solid var(--line-soft); min-height: 44px;
}
.drawer-panel a i { font-style: normal; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 11px; color: var(--signal); letter-spacing: 0.14em; }
.drawer-cta { margin-top: auto; border: 1px solid var(--ink) !important; text-align: center; font-size: 15px !important; }
.drawer-cta:hover { background: var(--ink); color: #fff; }

/* ============ Hero ============ */
.hero { position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.trace-line { position: absolute; top: 0; bottom: 0; width: 1px; background: rgba(11, 13, 18, 0.06); overflow: hidden; }
.trace-line::after {
  content: ""; position: absolute; left: 0; right: 0; height: 26vh;
  background: linear-gradient(to bottom, transparent, rgba(10, 61, 145, 0.85), transparent);
  animation: traceMove var(--td, 8s) linear infinite;
  animation-delay: var(--tdel, 0s);
}
@keyframes traceMove { from { top: -26vh; } to { top: 100%; } }
.hero-fade { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(255, 255, 255, 0.3), transparent 40%, #fff); }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 64px; min-height: 78vh; }
.hero-eyebrow {
  font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 11px;
  letter-spacing: 0.14em; color: var(--royal); margin: 0 0 22px;
}
.hero h1 { font-size: clamp(40px, 5.6vw, 80px); line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 26px; }
.mask-line { display: block; overflow: hidden; }
.mask-line > span { display: block; transform: translateY(112%); animation: maskUp 1.1s cubic-bezier(.22, 1, .36, 1) forwards; }
.mask-line:nth-child(2) > span { animation-delay: .12s; }
.mask-line .royal { color: var(--royal); }
@keyframes maskUp { to { transform: none; } }
.hero-sub { color: rgba(11, 13, 18, 0.65); font-size: 16px; max-width: 520px; margin: 0 0 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 52px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 30px; font-size: 15px; font-weight: 600; transition: background .2s, border-color .2s, color .2s; }
.btn-primary { background: var(--royal); color: #fff; }
.btn-primary:hover { background: var(--ink); }
.btn-ghost { border: 1px solid rgba(11, 13, 18, 0.25); color: var(--ink); }
.btn-ghost:hover { border-color: var(--signal); color: var(--signal); }

/* hero 视频卡（白底细框） */
.hero-visual { position: relative; min-width: 0; opacity: 0; animation: heroFade 1s .3s ease forwards; }
@keyframes heroFade { to { opacity: 1; } }
.hv-main {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  background: var(--ink); border: 1px solid var(--line);
  animation: hvFloat 8s ease-in-out infinite alternate;
}
.hv-main video, .hv-sub video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hv-sub {
  position: absolute; left: -36px; bottom: -36px; width: 44%;
  aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink);
  border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(11, 13, 18, 0.18);
  animation: hvFloat 10s ease-in-out infinite alternate-reverse;
}
@keyframes hvFloat { from { transform: translateY(0); } to { transform: translateY(-10px); } }
.hv-chip {
  position: absolute; left: 10px; top: 10px;
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(11, 13, 18, 0.78); color: #cfe0ff;
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 11px; letter-spacing: 0.1em; padding: 4px 10px;
}
.hv-chip.bottom { top: auto; bottom: 10px; }
.hv-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--signal); animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: 0.25; } }

/* hero 数据条（hairline 表格） */
.hero-stats {
  position: relative;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(6px);
}
.hero-stats li { display: flex; flex-direction: column; gap: 4px; padding: 20px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hero-stats b { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 34px; font-weight: 700; line-height: 1; }
.hero-stats span { color: rgba(11, 13, 18, 0.6); font-size: 13px; }
.hero-stats i { font-style: normal; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 9px; letter-spacing: 0.14em; color: rgba(11, 13, 18, 0.35); text-transform: uppercase; }

/* ============ 区块公式 ============ */
.section { padding: 88px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); padding-top: 22px; margin-bottom: 44px; }
.section-head .sh-left { display: flex; align-items: baseline; gap: 18px; }
.section-head .sh-num { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13px; color: var(--signal); letter-spacing: 0.14em; }
.section-head .sh-en { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 10px; letter-spacing: 0.14em; color: rgba(11, 13, 18, 0.4); text-transform: uppercase; }
.section-head h2 { font-size: clamp(26px, 3vw, 40px); letter-spacing: -0.02em; margin: 0; }
.section-head .sh-line { flex: 1; height: 1px; background: var(--line); align-self: center; }
.section-head .more-link { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13px; color: var(--royal); white-space: nowrap; }
.section-head .more-link:hover { color: var(--ink); }
.section-desc { color: rgba(11, 13, 18, 0.6); font-size: 15px; margin: 10px 0 0; }

/* ============ 场景案例（唯一暗色区块） ============ */
.section-scenes { background: #fff; color: var(--ink); }
.cards { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); align-items: start; }
.cards .scene-featured { grid-column: span 2; }
/* 双列主卡加宽但不加高：与同行普通卡封面等高，避免右侧卡被 grid 撑出大块空白 */
.scene-featured .card-cover { aspect-ratio: 32 / 9; }
@media (max-width: 680px) {
  .cards .scene-featured { grid-column: auto; }
  .scene-featured .card-cover { aspect-ratio: 16 / 9; }
}
.scene-card {
  position: relative; display: block;
  border: 1px solid var(--line); background: #fff; overflow: hidden;
  transition: border-color .2s, transform .3s;
}
.scene-card:hover { border-color: var(--royal); transform: translateY(-4px); }
.scene-card .card-cover { position: relative; aspect-ratio: 16 / 9; }
.scene-card .card-cover .cover-art { height: 100%; }
.scene-card .card-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.scene-meta, .card-meta {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 14px; border-top: 1px solid var(--line); min-height: 52px;
}
.scene-meta-main { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; }
.scene-meta b { font-size: 13px; font-weight: 600; color: var(--royal); white-space: nowrap; flex-shrink: 0; }
.scene-meta i { font-style: normal; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 10px; color: rgba(11, 13, 18, 0.45); letter-spacing: 0.14em; }
.scene-name { font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.35; }
.plan-card .card-cover { aspect-ratio: 16 / 9; }
.plan-card .card-cover .cover-art { height: 100%; }
.play-chip {
  position: absolute; right: 10px; bottom: 10px; z-index: 2;
  background: rgba(255, 255, 255, 0.88); color: var(--royal);
  border: 1px solid rgba(10, 61, 145, 0.4);
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 11px; padding: 3px 10px; letter-spacing: 0.1em;
}

/* ============ AI 方案（亮色 hairline，封面片段亮色覆写） ============ */
.covers-light .cover-v0 { --ac: #0a3d91; background: radial-gradient(220px 130px at 78% 16%, rgba(10, 61, 145, .10), transparent 70%), linear-gradient(160deg, #f2f6ff, #eef2f8); }
.covers-light .cover-v1 { --ac: #0c9f74; background: radial-gradient(220px 130px at 22% 20%, rgba(12, 159, 116, .10), transparent 70%), linear-gradient(160deg, #effaf5, #ecf3f0); }
.covers-light .cover-v2 { --ac: #e05a1e; background: radial-gradient(220px 130px at 80% 78%, rgba(224, 90, 30, .10), transparent 70%), linear-gradient(160deg, #fff3ec, #f6efe9); }
.covers-light .cover-v3 { --ac: #6450e0; background: radial-gradient(220px 130px at 20% 80%, rgba(100, 80, 224, .10), transparent 70%), linear-gradient(160deg, #f1effc, #eeecf7); }
.covers-light .cv-label { fill: rgba(11, 13, 18, 0.45); }
.covers-light .cv-name { fill: var(--ink); }
.covers-light .cv-scan { fill: rgba(224, 90, 30, 0.75); }
.covers-light .cv-grid path { stroke: rgba(11, 13, 18, 0.08); }
.plan-card { border: 1px solid var(--line); background: #fff; transition: border-color .2s, transform .3s; }
.plan-card:hover { border-color: var(--royal); transform: translateY(-4px); }

/* ============ 软件业务（7 产品 hairline 网格 + 手风琴） ============ */
.prod-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.prod-cell { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px; background: #fff; display: flex; flex-direction: column; }
.img-cell { padding: 0 !important; overflow: hidden; }
.img-frame { overflow: hidden; background: var(--imgbg); aspect-ratio: 16 / 9; }
.img-frame img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s cubic-bezier(.22, 1, .36, 1); }
.prod-cell .img-frame, .svc-cell .img-frame { background: #fff; }
.prod-cell .img-frame img, .svc-cell .img-frame img { object-fit: contain; padding: 6% 8%; }
.prod-cell .img-frame img.prod-photo { object-fit: cover; padding: 0; }
.card-cover .cat-photo { object-fit: cover; padding: 0; background: #071428; }
.twin-gallery { display: grid; gap: 14px; max-width: 820px; margin: 0 0 28px; }
.twin-gallery img { width: 100%; display: block; border: 1px solid var(--line); background: #071428; }
.prod-cell:hover .img-frame img, .svc-cell:hover .img-frame img { transform: scale(1.04); }
.prod-idx { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; color: var(--signal); letter-spacing: 0.14em; }
.prod-en { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 9px; letter-spacing: 0.14em; color: rgba(11, 13, 18, 0.4); text-transform: uppercase; margin: 4px 0 10px; }
.prod-cell h3 { font-size: 19px; margin: 0 0 8px; letter-spacing: -0.01em; }
.prod-cell .prod-summary { color: rgba(11, 13, 18, 0.6); font-size: 14px; margin: 0 0 14px; }
.prod-link { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; color: var(--royal); margin-top: auto; }
.acc-btn {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 14px;
  background: none; border: none; cursor: pointer; padding: 0;
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 12px; letter-spacing: 0.14em; color: var(--ink);
}
.acc-btn::after { content: "+"; font-size: 14px; color: var(--signal); transition: transform .3s; }
.acc-item.open .acc-btn::after { transform: rotate(45deg); }
.expandable { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s cubic-bezier(.22, 1, .36, 1); }
.acc-item.open .expandable, .expandable.open { grid-template-rows: 1fr; }
.expandable > div { overflow: hidden; }
.expandable p { color: rgba(11, 13, 18, 0.65); font-size: 13.5px; line-height: 1.8; margin: 12px 0 0; }
.tail-cta { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding: 46px 0 4px; }
.tail-cta b { font-size: 17px; }
.tail-cta .mono { font-size: 11px; color: rgba(11, 13, 18, 0.45); }

/* ============ 行业案例（unDraw 渲染图） ============ */
.ind-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.ind-cell { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0; }
.ind-cell .img-frame { aspect-ratio: 4 / 3; }
.ind-cell img { object-fit: contain; padding: 10%; transition: transform .7s cubic-bezier(.22, 1, .36, 1); }
.ind-cell:hover img { transform: scale(1.06); }
.ind-cell figcaption { padding: 10px 14px; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.ind-cell figcaption b { font-size: 14px; font-weight: 600; }
.ind-cell figcaption i { font-style: normal; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 8.5px; letter-spacing: 0.12em; color: rgba(11, 13, 18, 0.4); text-transform: uppercase; }

/* ============ 企业资质（暗色） ============ */
.section-certs { background: var(--ink); color: #fff; }
.section-certs .section-head { border-top-color: var(--wline); }
.section-certs .sh-en { color: rgba(255, 255, 255, 0.5); }
.cert-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--wline); border-left: 1px solid var(--wline); }
.cert-cell { border-right: 1px solid var(--wline); border-bottom: 1px solid var(--wline); margin: 0; }
.cert-cell .img-frame { aspect-ratio: 4 / 3; background: #1a1e26; }
.cert-cell .img-frame img { object-fit: contain; }
.cert-cell figcaption { padding: 10px 14px; color: rgba(255, 255, 255, 0.75); font-size: 13px; }
.cert-dash { display: grid; place-items: center; aspect-ratio: 4 / 3; min-width: 0; overflow: hidden; text-align: center; padding: 0 10px; border: 1px dashed rgba(255, 255, 255, 0.25); color: rgba(255, 255, 255, 0.45); font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 10px; letter-spacing: 0.14em; }
.cert-since { display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; }
.cert-since i { font-style: normal; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 10px; letter-spacing: 0.14em; color: rgba(255, 255, 255, 0.5); }
.cert-since b { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 56px; color: var(--signal); line-height: 1; margin-top: 10px; }

/* ============ 关于我们 ============ */
.about-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; }
.about-copy h3 { font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -0.01em; margin: 0 0 20px; line-height: 1.35; }
.about-copy p { color: rgba(11, 13, 18, 0.65); font-size: 15px; margin: 0 0 16px; }
.ms-list { border-top: 1px solid var(--line); }
.ms-item { display: grid; grid-template-columns: 110px 1fr; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line-soft); }
.ms-item b { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 30px; color: var(--royal); line-height: 1.1; }
.ms-item span { color: rgba(11, 13, 18, 0.7); font-size: 14.5px; align-self: center; }

/* ============ 服务支持 ============ */
.svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.svc-cell { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-bottom: 18px; }
.svc-cell .img-frame { aspect-ratio: 16 / 10; }
.svc-cell h3 { font-size: 17px; margin: 14px 18px 6px; }
.svc-cell p { color: rgba(11, 13, 18, 0.6); font-size: 13.5px; margin: 0 18px; }

/* ============ 联系 ============ */
.contact-grid { display: grid; grid-template-columns: 6fr 6fr; gap: 64px; align-items: center; }
.contact-copy h2 { font-size: clamp(30px, 3.6vw, 48px); letter-spacing: -0.02em; margin: 0 0 30px; line-height: 1.25; }
.contact-copy .royal { color: var(--royal); }
.btn-signal { background: var(--signal); color: #fff; font-size: 16px; padding: 15px 34px; }
.btn-signal:hover { background: var(--ink); }
.contact-note { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 11px; letter-spacing: 0.12em; color: rgba(11, 13, 18, 0.45); margin-top: 16px; }
.qr-row { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 8px; }
.qr-row figure { margin: 0; border: 1px solid var(--line); background: #fff; padding: 12px; text-align: center; }
.qr-row img { width: 100%; aspect-ratio: 1; object-fit: contain; display: block; }
.qr-row figcaption { font-size: 12px; color: var(--dim, rgba(11,13,18,.55)); margin-top: 8px; }
.qr-hint { grid-column: 1 / -1; font-size: 12.5px; color: var(--dim, rgba(11,13,18,.55)); }
.contact-list { border-top: 1px solid var(--line); list-style: none; padding: 0; margin: 0; }
.contact-list li { display: grid; grid-template-columns: 72px 1fr; gap: 18px; padding: 15px 0; border-bottom: 1px solid var(--line-soft); align-items: start; }
.contact-list i { font-style: normal; font-size: 16px; font-weight: 650; letter-spacing: 0.04em; color: var(--ink); padding-top: 1px; }
.contact-list span { font-size: 14.5px; color: rgba(11, 13, 18, 0.8); }
.contact-list .phones span { display: block; line-height: 1.85; }

/* ============ Footer ============ */
.site-footer { margin-top: auto; flex-shrink: 0; background: var(--ink); color: rgba(255, 255, 255, 0.6); padding: 56px 0 0; }
.footer-grid { display: grid; grid-template-columns: 4fr 3fr 3fr 3fr; gap: 40px; padding-bottom: 44px; }
.footer-brand .f-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand .logo-img { background: #fff; padding: 2px; }
.footer-brand p { font-size: 13px; margin: 0; color: rgba(255, 255, 255, 0.5); }
.footer-brand .f-en { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 9px; letter-spacing: 0.12em; margin-top: 8px; color: rgba(255, 255, 255, 0.35); }
.footer-col h4 { color: #fff; font-size: 13px; margin: 0 0 14px; }
.footer-col a { display: block; font-size: 13.5px; padding: 5px 0; color: rgba(255, 255, 255, 0.6); }
.footer-col a:hover { color: #fff; }
.footer-icp { border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 18px 0; text-align: center; font-size: 12px; color: rgba(255, 255, 255, 0.4); }

/* ============ 分类/文章/归档 内页 ============ */
.page-hero { padding: 64px 0 10px; }
.page-hero .crumb { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 11px; letter-spacing: 0.12em; color: rgba(11, 13, 18, 0.45); margin: 0 0 14px; }
.page-hero .crumb a:hover { color: var(--royal); }
.page-hero h1 { font-size: clamp(30px, 4vw, 46px); letter-spacing: -0.02em; margin: 0 0 8px; }
.page-hero-sub { color: rgba(11, 13, 18, 0.55); font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; letter-spacing: 0.1em; margin: 0; }
.page-cards { padding: 40px 0 80px; }

.post { padding: 56px 0 88px; }
.post .crumb { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 11px; letter-spacing: 0.12em; color: rgba(11, 13, 18, 0.45); margin: 0 0 18px; }
.post-title { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.3; letter-spacing: -0.02em; margin: 0 0 14px; max-width: 900px; }
.post-meta { display: flex; gap: 20px; color: rgba(11, 13, 18, 0.5); font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; letter-spacing: 0.1em; padding-bottom: 24px; border-bottom: 1px solid var(--line); margin-bottom: 34px; }
.post-cover { width: 100%; border: 1px solid var(--line); margin-bottom: 40px; display: block; }
.post-illu { object-fit: contain; background: #fff; padding: 28px 8%; aspect-ratio: 16 / 9; }
.card-cover .cat-illu { width: 100%; height: 100%; object-fit: contain; padding: 8%; background: #fff; display: block; }
.post-content { max-width: 820px; font-size: 16px; }
.post-content h2 { font-size: 26px; margin: 44px 0 14px; padding-left: 14px; border-left: 3px solid var(--royal); }
.post-content h3 { font-size: 20px; margin: 32px 0 10px; }
.post-content p { margin: 14px 0; color: rgba(11, 13, 18, 0.82); }
.post-content img { border: 1px solid var(--line); display: block; margin: 24px auto; }
.post-content video { width: 100%; border: 1px solid var(--line); background: #000; }
.post-content ul, .post-content ol { padding-left: 24px; color: rgba(11, 13, 18, 0.82); }
.post-content li { margin: 6px 0; }
.post-content table { border-collapse: collapse; width: 100%; margin: 20px 0; font-size: 14.5px; }
.post-content th, .post-content td { border: 1px solid var(--line); padding: 9px 14px; text-align: left; }
.post-content th { background: var(--paper); }
.post-content blockquote { margin: 20px 0; padding: 12px 20px; border-left: 3px solid var(--signal); background: var(--paper); color: rgba(11, 13, 18, 0.75); }
.post-content code { background: var(--paper); border: 1px solid var(--line-soft); padding: 2px 7px; font-size: 13.5px; }
.post-content a { color: var(--royal); }
.post-foot { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); }
.post-foot .btn-ghost { font-size: 14px; padding: 11px 24px; }

.archive-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); max-width: 900px; }
.archive-list li { border-bottom: 1px solid var(--line-soft); }
.archive-list a { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 16px 6px; }
.archive-list a:hover { background: var(--paper); }
.archive-list b { font-size: 16px; font-weight: 600; }
.archive-list i { font-style: normal; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 11px; color: rgba(11, 13, 18, 0.4); }

/* ============ 进度条/返回顶部（亮色） ============ */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 99;
  transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--royal), var(--signal));
}
.back-top {
  position: fixed;
  right: calc(var(--fab-right) + (var(--fab-chat) - var(--fab-back)) / 2);
  bottom: var(--fab-bottom);
  width: var(--fab-back); height: var(--fab-back);
  border-radius: 50%; border: 1px solid var(--line); cursor: pointer; z-index: 98;
  background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(8px);
  color: var(--ink); opacity: 0; visibility: hidden;
  transform: translateY(14px); transition: .3s;
}
.back-top.show { opacity: 1; visibility: visible; transform: none; }
.back-top:hover { border-color: var(--royal); color: var(--royal); }
.back-top svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.back-top circle { fill: none; stroke: var(--royal); stroke-width: 2; stroke-dasharray: 151; stroke-dashoffset: 151; }
.back-top .arrow { position: relative; font-size: 16px; }

/* ============ 响应式 ============ */
@media (max-width: 1080px) {
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .ind-grid { grid-template-columns: repeat(3, 1fr); }
  .cert-grid { grid-template-columns: repeat(3, 1fr); }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .qr-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .main-nav, .header-phone { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }
  .header-cta { display: none; }
  .hero-inner { grid-template-columns: 1fr; gap: 44px; padding: 56px 0 48px; min-height: 0; }
  .hv-sub { display: none; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 60px 0; }
  .cards { grid-template-columns: 1fr; }
  .prod-grid, .ind-grid, .cert-grid, .svc-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .ms-item { grid-template-columns: 74px 1fr; gap: 14px; }
  .ms-item b { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .topbar-track, .trace-line::after, .hv-main, .hv-sub, .hv-dot { animation: none !important; }
  .mask-line > span { animation: none; transform: none; }
  .hero-visual { opacity: 1; animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============ 场景封面暗色体系（cover 片段基础样式） ============ */
.cv-grid path { stroke: rgba(148, 170, 220, 0.10); stroke-width: 1; fill: none; }
.cv-frame path { stroke: var(--ac, #5b9bff); stroke-width: 2.4; fill: none; }
.cv-icon path, .cv-icon rect, .cv-icon circle {
  stroke: var(--ac, #5b9bff); stroke-width: 3.5; fill: none;
  stroke-linecap: round; stroke-linejoin: round;
}
.cv-icon text { fill: var(--ac, #5b9bff); stroke: none; font-weight: 700; }
.cv-dot { fill: var(--ac, #5b9bff); }
.cv-name {
  fill: #f2f6fc; font-size: 19px; font-weight: 600;
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
}
.cv-label { fill: rgba(151, 161, 176, 0.85); font-size: 10px; letter-spacing: 3px; }
.cv-scan { fill: rgba(255, 94, 94, 0.8); font-size: 10px; letter-spacing: 2px; }
.cover-v0 { --ac: #5b9bff; background: radial-gradient(220px 130px at 78% 16%, rgba(76, 143, 251, 0.28), transparent 70%), linear-gradient(160deg, #151b26, #0d1117); }
.cover-v1 { --ac: #3fd6a0; background: radial-gradient(220px 130px at 22% 20%, rgba(63, 214, 160, 0.24), transparent 70%), linear-gradient(160deg, #12201d, #0d1117); }
.cover-v2 { --ac: #ff9a52; background: radial-gradient(220px 130px at 80% 78%, rgba(255, 138, 61, 0.22), transparent 70%), linear-gradient(160deg, #1d1812, #0d1117); }
.cover-v3 { --ac: #a58bff; background: radial-gradient(220px 130px at 20% 80%, rgba(165, 139, 255, 0.22), transparent 70%), linear-gradient(160deg, #171426, #0d1117); }
/* 真实场景帧封面：照片打底，SVG 仅留文字角标（无图 slug 自动回退渐变底） */
.cover-photo { position: relative; overflow: hidden; }
.cover-photo .cv-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cover-photo svg { display: none; }
.card:hover .cv-frame path, .card:hover .cv-icon path { stroke-width: 4; }

/* 产品格：图片通栏 + 收尾格跨两列 */
.prod-cell .img-frame { margin: -22px -22px 16px; }
.prod-cell.img-cell .img-frame { margin: 0; }


/* ============ 场景卡悬停视频 ============ */
.scene-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; transition: opacity .35s; background: #000;
}
.scene-card:hover .scene-video { opacity: 1; }
/* 视频预览为功能性内容：不再在 prefers-reduced-motion 下隐藏
   （此前导致关闭系统动画的电脑悬停预览完全失效） */


/* ============ 文章页实录视频 ============ */
.post-video {
  width: 100%; border: 1px solid var(--line); background: #000;
  display: block; margin-bottom: 40px;
}


/* ============ 详情页渲染封面横幅 ============ */
.post-cover.covers-light {
  position: relative; overflow: hidden;
  background: #fff; border: 1px solid var(--line);
  max-width: 820px; aspect-ratio: 21 / 9;
}
.post-cover.covers-light .cover-art { height: 100%; min-height: 100%; }


/* ============ hero 第三卡：工步列表聚焦 ============ */
.hv-step {
  position: absolute; right: -18px; top: -14px; width: 52%;
  aspect-ratio: 1.859; overflow: hidden; background: var(--ink);
  border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(11, 13, 18, 0.18);
  animation: hvFloat 11s ease-in-out infinite alternate;
}
.hv-step video {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.hv-step .hv-chip { top: auto; bottom: 10px; left: 10px; }
@media (max-width: 960px) { .hv-step { display: none; } }


/* ============ 行业区扁平插画（替代传统照片） ============ */
.ind-cell .img-frame { background: #fff; }
.ind-cell svg { width: 100%; height: 100%; display: block; transition: transform .7s cubic-bezier(.22, 1, .36, 1); }
.ind-cell:hover svg { transform: scale(1.06); }
.ind-t0 { background: linear-gradient(160deg, #eaf1ff, #f7faff); }
.ind-t1 { background: linear-gradient(160deg, #e9f7f2, #f5fbf8); }
.ind-t2 { background: linear-gradient(160deg, #fff1e9, #fdf6f1); }
.ind-t3 { background: linear-gradient(160deg, #efedfb, #f7f6fd); }
