/* ==========================================================================
   商鼎云官网 · 全站样式
   视觉母题：工程蓝图（网格线 + 角标刻度 + 等宽编号），深浅分区交替
   ========================================================================== */

/* ---------- 字体（本地托管，仅含拉丁字符，用于数字与英文标签） ---------- */
@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/barlow-condensed-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/barlow-condensed-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

/* ---------- 设计变量 ---------- */
:root {
  --navy-950: #071530;
  --navy-900: #0B1F44;
  --navy-800: #102a5c;
  --navy-700: #16357A;
  --blue: #2F6BFF;
  --blue-300: #8FB4FF;
  --blue-100: #C7D7F5;
  --amber: #F5A623;
  --amber-50: #FFF7E8;
  --ink: #1E293B;
  --ink-2: #475569;
  --muted: #64748B;
  --line: #E2E8F0;
  --paper: #F3F6FC;
  --white: #FFFFFF;

  --font-cn: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", sans-serif;
  --font-num: "Barlow Condensed", var(--font-cn);
  --font-mono: "JetBrains Mono", "Consolas", "PingFang SC", "Microsoft YaHei", monospace;

  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --radius: 4px;
  --radius-lg: 10px;
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 18px 40px -22px rgba(11, 31, 68, .35);
}

/* ---------- 重置与基础 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-cn);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
button.phone, button.footer-phone { padding: 0; border: 0; background: none; text-align: left; }
button.phone:hover, button.footer-phone:hover { text-decoration: underline; text-underline-offset: 6px; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  padding: 10px 16px; background: var(--amber); color: var(--navy-900); font-weight: 700;
}
.skip-link:focus { top: 12px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- 排版工具 ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue);
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.section--dark .eyebrow, .page-hero .eyebrow, .hero .eyebrow, .cta-band .eyebrow, .contact-card .eyebrow, .geo-callout .eyebrow { color: var(--amber); }

.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2 {
  margin-top: 14px;
  font-size: clamp(28px, 3.6vw, 42px); line-height: 1.25; font-weight: 800; letter-spacing: -.01em;
}
.section-head p { margin-top: 16px; color: var(--muted); font-size: 17px; }
.section--dark .section-head p { color: var(--blue-100); }
.section-head--split { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.section-head--split > div { max-width: 720px; }

.num { font-family: var(--font-num); font-weight: 700; letter-spacing: -.01em; line-height: 1; }
.mono { font-family: var(--font-mono); }
.text-amber { color: var(--amber); }
.text-blue { color: var(--blue); }

.conclusion {
  position: relative; margin-top: 40px; padding: 18px 22px 18px 26px;
  background: var(--amber-50); border-left: 3px solid var(--amber); color: var(--ink); font-weight: 600;
}
.section--dark .conclusion { background: rgba(245, 166, 35, .08); color: var(--white); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border: 1px solid transparent; border-radius: var(--radius);
  font-size: 15px; font-weight: 700; line-height: 1; letter-spacing: .02em; white-space: nowrap;
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s;
}
.btn svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { background: var(--amber); color: var(--navy-900); }
.btn--primary:hover { background: #ffb63f; box-shadow: 0 10px 26px -10px rgba(245, 166, 35, .7); }
.btn--blue { background: var(--blue); color: var(--white); }
.btn--blue:hover { background: #1f5af0; }
.btn--ghost { border-color: rgba(199, 215, 245, .35); color: var(--white); background: transparent; }
.btn--ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, .06); }
.btn--line { border-color: var(--line); color: var(--ink); background: var(--white); }
.btn--line:hover { border-color: var(--blue); color: var(--blue); }

/* ---------- 页头 ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  color: var(--white); transition: background .3s, box-shadow .3s, height .3s;
}
.site-header.is-scrolled {
  background: rgba(7, 21, 48, .88);
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 rgba(143, 180, 255, .14);
}
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
/* 品牌图标为深蓝透明底，置于白色圆角底上以保证深色页头/页脚中的对比度 */
.logo-mark { width: 36px; height: 36px; padding: 4px; border-radius: 6px; background: var(--white); object-fit: contain; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text strong { font-size: 19px; font-weight: 800; letter-spacing: .08em; }
.logo-text small { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .2em; color: var(--blue-300); }

.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-list a {
  position: relative; display: block; padding: 8px 14px; font-size: 15px; color: rgba(255, 255, 255, .82);
  transition: color .2s;
}
.nav-list a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px;
  background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav-list a:hover, .nav-list a[aria-current="page"] { color: var(--white); }
.nav-list a:hover::after, .nav-list a[aria-current="page"]::after { transform: scaleX(1); }

.header-cta { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; font-size: 14px; }
.header-cta .mono { font-size: 13px; letter-spacing: .04em; }

.nav-toggle {
  display: none; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(199, 215, 245, .3);
  border-radius: var(--radius); background: transparent; color: var(--white);
}
.nav-toggle span { display: block; width: 18px; height: 2px; margin: 4px auto; background: currentColor; transition: transform .3s, opacity .3s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 蓝图背景 ---------- */
.blueprint {
  background-color: var(--navy-900);
  background-image:
    linear-gradient(rgba(143, 180, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143, 180, 255, .07) 1px, transparent 1px),
    linear-gradient(rgba(143, 180, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143, 180, 255, .035) 1px, transparent 1px);
  background-size: 96px 96px, 96px 96px, 24px 24px, 24px 24px;
}

/* 角标刻度：给任意块加四角线框 */
.ticks { position: relative; }
.ticks::before, .ticks::after {
  content: ""; position: absolute; width: 18px; height: 18px; pointer-events: none; z-index: 2;
  border-color: var(--amber); border-style: solid;
}
.ticks::before { top: -8px; left: -8px; border-width: 2px 0 0 2px; }
.ticks::after { bottom: -8px; right: -8px; border-width: 0 2px 2px 0; }

/* ---------- 首页 Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--white);
  padding: calc(var(--header-h) + clamp(48px, 8vw, 96px)) 0 clamp(64px, 9vw, 120px);
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0; height: 160px; pointer-events: none;
  background: linear-gradient(to bottom, transparent, rgba(7, 21, 48, .6));
}
.hero-glow {
  position: absolute; width: 720px; height: 720px; right: -160px; top: -120px; border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 107, 255, .38), transparent 62%); pointer-events: none;
}
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 {
  margin-top: 22px; font-size: clamp(38px, 5.6vw, 72px); line-height: 1.12; font-weight: 900; letter-spacing: -.02em;
}
.hero h1 .line { display: block; }
.hero h1 em { font-style: normal; position: relative; white-space: nowrap; }
.hero h1 em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .16em; z-index: -1;
  background: var(--amber); transform-origin: left; animation: sweep 1s .9s var(--ease) both;
}
.hero-lead { margin-top: 26px; max-width: 560px; font-size: clamp(16px, 1.4vw, 18px); color: var(--blue-100); }
.hero-actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-tags { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 10px 22px; font-family: var(--font-mono); font-size: 12px; color: var(--blue-300); letter-spacing: .06em; }
.hero-tags li::before { content: "▸ "; color: var(--amber); }

.hero-visual { position: relative; }
.hero-visual .media { border-radius: var(--radius-lg); border: 1px solid rgba(143, 180, 255, .25); }
.hero-note {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border: 1px solid rgba(143, 180, 255, .3); border-radius: var(--radius);
  background: rgba(7, 21, 48, .82); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-size: 13px; color: var(--white); box-shadow: 0 16px 30px -16px rgba(0, 0, 0, .6);
}
.hero-note .mono { font-size: 11px; color: var(--amber); }
.hero-note--a { left: -28px; bottom: 18%; animation: float 6s ease-in-out infinite; }
.hero-note--b { right: -18px; top: 12%; animation: float 6s 1.5s ease-in-out infinite; }
.hero-note s { color: var(--muted); }

/* 首屏入场 */
.hero [data-enter] { animation: rise .9s var(--ease) both; }
.hero [data-enter="1"] { animation-delay: .05s; }
.hero [data-enter="2"] { animation-delay: .18s; }
.hero [data-enter="3"] { animation-delay: .32s; }
.hero [data-enter="4"] { animation-delay: .46s; }
.hero [data-enter="5"] { animation-delay: .6s; }

@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes sweep { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes shimmer { from { background-position: -200% 0; } to { background-position: 200% 0; } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- 子页面 Hero ---------- */
.page-hero {
  position: relative; overflow: hidden; color: var(--white);
  padding: calc(var(--header-h) + clamp(40px, 6vw, 72px)) 0 clamp(48px, 6vw, 80px);
}
.page-hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.page-hero h1 { margin-top: 18px; font-size: clamp(34px, 4.6vw, 56px); line-height: 1.15; font-weight: 900; letter-spacing: -.02em; }
.page-hero p.lead { margin-top: 20px; max-width: 620px; font-size: 17px; color: var(--blue-100); }
.page-hero .media { border-radius: var(--radius-lg); border: 1px solid rgba(143, 180, 255, .25); }
.page-hero [data-enter] { animation: rise .9s var(--ease) both; }
.page-hero [data-enter="2"] { animation-delay: .15s; }
.page-hero [data-enter="3"] { animation-delay: .3s; }

.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--font-mono); font-size: 12px; color: var(--blue-300); letter-spacing: .06em; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: rgba(143, 180, 255, .45); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb [aria-current] { color: var(--amber); }

/* ---------- 分区 ---------- */
.section { position: relative; padding: clamp(72px, 9vw, 120px) 0; }
.section--paper { background: var(--paper); }
.section--dark { color: var(--white); }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }

/* ---------- 图片骨架屏 ---------- */
.media {
  position: relative; overflow: hidden; background: #dfe7f5;
  background-image: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%);
  background-size: 200% 100%; animation: shimmer 1.4s linear infinite;
}
.section--dark .media, .hero .media, .page-hero .media, .media--dark {
  background-color: var(--navy-800);
  background-image: linear-gradient(100deg, transparent 30%, rgba(143, 180, 255, .14) 50%, transparent 70%);
}
.media.is-loaded { animation: none; background-image: none; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.js .media img { opacity: 0; transition: opacity .6s var(--ease); }
.js .media img.is-loaded { opacity: 1; }
.media--contain img { object-fit: contain; }

/* 浏览器窗口外框（用于产品后台截图） */
.browser {
  border-radius: var(--radius-lg); overflow: hidden; background: var(--white);
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.browser-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; background: #eef2f9; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #cbd5e1; }
.browser-bar i:first-child { background: #f87171; }
.browser-bar i:nth-child(2) { background: var(--amber); }
.browser-bar i:nth-child(3) { background: #34d399; }
.browser-bar span { margin-left: 12px; font-family: var(--font-mono); font-size: 11px; color: var(--muted); }

/* ---------- KPI 数据条 ---------- */
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kpi { padding: 34px 28px; border-left: 1px solid var(--line); }
.kpi:first-child { border-left: 0; padding-left: 0; }
.kpi .num { display: block; font-size: clamp(48px, 6vw, 76px); color: var(--navy-700); }
.kpi .num sup { font-size: .45em; color: var(--amber); vertical-align: top; margin-left: 2px; }
.kpi strong { display: block; margin-top: 10px; font-size: 16px; }
.kpi p { margin-top: 4px; font-size: 14px; color: var(--muted); }
.section--dark .kpis, .section--dark .kpi { border-color: rgba(143, 180, 255, .18); }
.section--dark .kpi .num { color: var(--white); }
.section--dark .kpi p { color: var(--blue-300); }

/* ---------- 两栏通用 ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--wide-left { grid-template-columns: 1.15fr .85fr; }
.split--top { align-items: start; }
.prose p + p { margin-top: 16px; }
.prose p { color: var(--ink-2); }
.section--dark .prose p { color: var(--blue-100); }
.prose h3 { font-size: 24px; font-weight: 800; margin-bottom: 14px; }

/* ---------- 服务矩阵 ---------- */
.matrix { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--line); background: var(--white); }
.matrix--4 { grid-template-columns: repeat(4, 1fr); }
.matrix-item {
  position: relative; padding: 32px 24px 36px; border-left: 1px solid var(--line);
  transition: background .3s, color .3s;
}
.matrix-item:first-child { border-left: 0; }
.matrix-item .mono { font-size: 12px; color: var(--blue); letter-spacing: .1em; }
.matrix-item h3 { margin-top: 36px; font-size: 20px; line-height: 1.4; font-weight: 800; }
.matrix-item p { margin-top: 10px; font-size: 14px; color: var(--muted); }
.matrix-item::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--amber);
  transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.matrix-item:hover { background: var(--navy-900); color: var(--white); }
.matrix-item:hover p { color: var(--blue-100); }
.matrix-item:hover .mono { color: var(--amber); }
.matrix-item:hover::after { transform: scaleX(1); }

/* ---------- 产品卡片 ---------- */
.products-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.product-card {
  display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--blue-100); }
.product-card .media { aspect-ratio: 16 / 10; border-bottom: 1px solid var(--line); }
.product-card .media img { object-position: top left; transition: transform .8s var(--ease); }
.product-card:hover .media img { transform: scale(1.04); }
.product-card-body { padding: 26px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.product-card .mono { font-size: 12px; letter-spacing: .1em; color: var(--blue); }
.product-card h3 { margin-top: 10px; font-size: 22px; font-weight: 800; }
.product-card p { margin-top: 10px; color: var(--muted); font-size: 15px; flex: 1; }
.link-arrow { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--blue); font-size: 15px; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
a:hover > .link-arrow svg, .link-arrow:hover svg { transform: translateX(4px); }

.badge {
  display: inline-block; padding: 3px 10px; border-radius: 99px; font-size: 12px; font-weight: 700;
  background: var(--amber-50); color: #b26f00; border: 1px solid #f8d59a; vertical-align: middle;
}

/* ---------- 降本增效结果卡 ---------- */
.results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.result {
  position: relative; padding: 34px 30px 30px; border: 1px solid rgba(143, 180, 255, .2);
  background: rgba(16, 42, 92, .55); border-radius: var(--radius-lg); overflow: hidden;
}
.result::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 3px;
  background: linear-gradient(90deg, var(--amber), var(--blue));
}
.result .tag { font-family: var(--font-mono); font-size: 12px; color: var(--blue-300); letter-spacing: .08em; }
.result .num { display: block; margin-top: 18px; font-size: clamp(64px, 7vw, 92px); color: var(--white); }
.result .num small { font-size: .5em; color: var(--amber); }
.result h3 { margin-top: 6px; font-size: 18px; font-weight: 800; }
.result dl { margin-top: 22px; border-top: 1px dashed rgba(143, 180, 255, .25); }
.result dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px dashed rgba(143, 180, 255, .18); font-size: 14px; }
.result dt { color: var(--blue-300); }
.result dd { font-weight: 700; text-align: right; }
.result dd b { color: var(--amber); }
.result p { margin-top: 18px; font-size: 14px; color: var(--blue-100); }

/* ---------- 四步流程 ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: step; position: relative; }
.steps::before {
  content: ""; position: absolute; left: 0; right: 0; top: 23px; height: 1px;
  background: repeating-linear-gradient(90deg, var(--blue-100) 0 6px, transparent 6px 12px);
}
.step { position: relative; padding-right: 28px; }
.step-dot {
  position: relative; z-index: 1; width: 47px; height: 47px; display: grid; place-items: center;
  border: 1px solid var(--blue); border-radius: 50%; background: var(--white);
  font-family: var(--font-num); font-weight: 700; font-size: 20px; color: var(--blue);
  transition: background .3s, color .3s;
}
.step:hover .step-dot { background: var(--blue); color: var(--white); }
.step .mono { display: block; margin-top: 22px; font-size: 12px; color: var(--amber); letter-spacing: .08em; }
.step h3 { margin-top: 6px; font-size: 21px; font-weight: 800; }
.step p { margin-top: 10px; font-size: 15px; color: var(--muted); }
.section--paper .step-dot { background: var(--paper); }
.section--paper .step:hover .step-dot { background: var(--blue); }

/* ---------- 品牌 / 名企基因跑马灯 ---------- */
.marquee { overflow: hidden; border-top: 1px solid rgba(143, 180, 255, .15); border-bottom: 1px solid rgba(143, 180, 255, .15); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { display: inline-flex; align-items: center; gap: 28px; padding: 22px 28px; font-size: 20px; font-weight: 800; color: rgba(255, 255, 255, .78); white-space: nowrap; }
.marquee-track span::after { content: "◆"; font-size: 10px; color: var(--amber); }

/* ---------- 合作伙伴 ---------- */
.partners-frame { padding: clamp(20px, 3vw, 36px); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.partners-frame .media { aspect-ratio: 1100 / 384; background-color: var(--white); }
.industry-tags { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.industry-tags li { padding: 7px 16px; border: 1px solid var(--line); border-radius: 99px; font-size: 14px; color: var(--ink-2); background: var(--white); }

/* ---------- CTA 横幅 ---------- */
.cta-band { position: relative; overflow: hidden; color: var(--white); padding: clamp(64px, 8vw, 104px) 0; }
.cta-band .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center; }
.cta-band h2 { font-size: clamp(28px, 3.8vw, 46px); line-height: 1.2; font-weight: 900; }
.cta-band p { margin-top: 16px; color: var(--blue-100); font-size: 17px; max-width: 620px; }
.cta-box { padding: 28px; border: 1px solid rgba(143, 180, 255, .3); border-radius: var(--radius-lg); background: rgba(7, 21, 48, .6); }
.cta-box .mono { font-size: 12px; color: var(--blue-300); letter-spacing: .1em; }
.cta-box .phone { display: block; margin-top: 8px; font-family: var(--font-num); font-weight: 700; font-size: clamp(34px, 3.4vw, 44px); color: var(--amber); letter-spacing: .02em; }
.cta-box p { margin-top: 6px; font-size: 14px; color: var(--blue-100); }
.cta-box .btn { margin-top: 20px; width: 100%; justify-content: center; }

/* ---------- 页内子导航（产品页） ---------- */
.subnav { position: sticky; top: var(--header-h); z-index: 50; background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.subnav ul { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: block; padding: 16px 18px; font-size: 15px; color: var(--muted); white-space: nowrap; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.subnav a:hover { color: var(--ink); }
.subnav a.is-active { color: var(--blue); border-color: var(--blue); font-weight: 700; }

/* ---------- 产品详情 ---------- */
.product-detail + .product-detail { border-top: 1px solid var(--line); }
.product-detail .split { align-items: start; }
.product-detail--flip .split > :first-child { order: 2; }
.product-detail h2 { margin-top: 14px; font-size: clamp(28px, 3.2vw, 38px); line-height: 1.25; font-weight: 900; }
.product-detail .position { margin-top: 18px; padding: 16px 20px; background: var(--paper); border-left: 3px solid var(--blue); font-size: 17px; font-weight: 700; }
.product-detail .position small { display: block; font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .1em; color: var(--blue); margin-bottom: 4px; }
.product-detail figcaption { margin-top: 14px; font-size: 13px; color: var(--muted); }
.feature-grid { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.feature { padding: 20px 20px 22px; background: var(--white); }
.feature h3 { font-size: 17px; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.feature h3::before { content: ""; width: 8px; height: 8px; background: var(--amber); transform: rotate(45deg); flex-shrink: 0; }
.feature p { margin-top: 8px; font-size: 14px; color: var(--muted); }
.impact { margin-top: 24px; display: flex; gap: 14px; align-items: flex-start; font-size: 15px; font-weight: 600; color: var(--ink); }
.impact .mono { flex-shrink: 0; padding: 3px 8px; background: var(--navy-900); color: var(--amber); font-size: 11px; letter-spacing: .1em; border-radius: 2px; }

.geo-callout { margin-top: clamp(40px, 5vw, 64px); padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-lg); color: var(--white); }
.geo-callout h3 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 900; }
.geo-callout p { margin-top: 14px; color: var(--blue-100); max-width: 880px; }
.flow { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.flow li { padding: 10px 18px; border: 1px solid rgba(143, 180, 255, .3); border-radius: var(--radius); font-weight: 700; font-size: 15px; background: rgba(7, 21, 48, .5); }
.flow li:not(:last-child)::after { content: "→"; margin-left: 18px; color: var(--amber); }
.flow li { display: inline-flex; align-items: center; }

/* ---------- 案例 ---------- */
.case-feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.case-feature + .case-feature { margin-top: clamp(56px, 7vw, 96px); }
.case-feature:nth-child(even) > :first-child { order: 2; }
.case-feature .media { border-radius: var(--radius-lg); border: 1px solid var(--line); }
.case-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; font-family: var(--font-mono); font-size: 12px; color: var(--blue); letter-spacing: .08em; }
.case-meta span:first-child { color: var(--amber); }
.case-feature h3 { margin-top: 12px; font-size: clamp(26px, 3vw, 34px); font-weight: 900; line-height: 1.25; }
.case-feature h3 small { display: block; margin-bottom: 6px; font-size: 16px; font-weight: 600; color: var(--muted); }
.case-feature p { margin-top: 16px; color: var(--ink-2); }
.chips { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 6px 14px; font-size: 13px; font-weight: 700; background: var(--paper); color: var(--navy-700); border-radius: var(--radius); }

.case-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.case-list--2 { grid-template-columns: 1fr 1fr; }
.case-list li { display: flex; align-items: center; gap: 14px; padding: 20px 22px; background: var(--white); font-weight: 600; transition: background .25s; }
.case-list li:hover { background: var(--paper); }
.case-list .mono { font-size: 12px; color: var(--blue); }

/* ---------- 关于：主体卡片 / 团队 ---------- */
.entity-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.entity { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); }
.entity .mono { font-size: 11px; color: var(--blue); letter-spacing: .1em; }
.entity h3 { margin-top: 10px; font-size: 18px; font-weight: 800; }
.entity p { margin-top: 6px; font-size: 14px; color: var(--muted); }

.brand-grid { display: grid; grid-template-columns: repeat(6, 1fr); border: 1px solid rgba(143, 180, 255, .2); }
.brand-grid li { padding: 26px 12px; text-align: center; font-size: 18px; font-weight: 800; border-left: 1px solid rgba(143, 180, 255, .2); transition: background .3s, color .3s; }
.brand-grid li:first-child { border-left: 0; }
.brand-grid li:hover { background: var(--amber); color: var(--navy-900); }

.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.person { position: relative; padding: 30px 28px 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); transition: border-color .3s, box-shadow .3s; }
.person:hover { border-color: var(--blue-100); box-shadow: var(--shadow); }
.person-head { display: flex; align-items: center; gap: 16px; }
.avatar { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: var(--navy-900); color: var(--amber); font-size: 22px; font-weight: 900; flex-shrink: 0; }
.person h3 { font-size: 22px; font-weight: 900; }
.person .role { font-family: var(--font-mono); font-size: 12px; color: var(--blue); letter-spacing: .1em; }
.person p { margin-top: 18px; font-size: 15px; color: var(--ink-2); }
.person .duty { margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--line); font-size: 14px; font-weight: 700; color: var(--navy-700); }

.photo-figure .media { border-radius: var(--radius-lg); }
.photo-figure figcaption { margin-top: 12px; font-family: var(--font-mono); font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.section--dark .photo-figure figcaption { color: var(--blue-300); }

.values { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
.value { padding: 22px; border: 1px solid rgba(143, 180, 255, .22); border-radius: var(--radius-lg); }
.value strong { display: block; font-size: 24px; font-weight: 900; color: var(--amber); }
.value span { font-size: 14px; color: var(--blue-100); }

.cert-list { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px; }
.cert-list li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--radius); font-size: 14px; background: var(--white); }
.cert-list li::before { content: "©"; font-family: var(--font-mono); color: var(--blue); font-size: 12px; }

/* ---------- 服务页：能力卡 / 技术栈 / 质量 ---------- */
.cap-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.cap { padding: clamp(26px, 3vw, 38px); border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--white); }
.cap .mono { font-size: 12px; color: var(--blue); letter-spacing: .1em; }
.cap h3 { margin-top: 12px; font-size: 24px; font-weight: 900; }
.cap p { margin-top: 12px; color: var(--ink-2); }
.cap ul { margin-top: 18px; }
.cap li { position: relative; padding: 8px 0 8px 22px; font-size: 15px; border-top: 1px dashed var(--line); }
.cap li::before { content: ""; position: absolute; left: 2px; top: 18px; width: 7px; height: 7px; background: var(--amber); transform: rotate(45deg); }

.stack { display: flex; flex-wrap: wrap; gap: 10px; }
.stack li { padding: 10px 18px; font-family: var(--font-mono); font-size: 14px; border: 1px solid rgba(143, 180, 255, .3); border-radius: var(--radius); color: var(--white); background: rgba(16, 42, 92, .5); transition: border-color .25s, color .25s; }
.stack li:hover { border-color: var(--amber); color: var(--amber); }

.quality { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quality li { padding: 28px; border-top: 3px solid var(--navy-900); background: var(--white); }
.quality .num { font-size: 52px; color: var(--blue); }
.quality h3 { margin-top: 12px; font-size: 18px; font-weight: 800; }
.quality p { margin-top: 8px; font-size: 14px; color: var(--muted); }

/* ---------- 联系页 ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: stretch; }
.contact-card { padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-lg); color: var(--white); }
.contact-card dl > div { padding: 20px 0; border-bottom: 1px dashed rgba(143, 180, 255, .25); }
.contact-card dt { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; color: var(--blue-300); }
.contact-card dd { margin-top: 6px; font-size: 20px; font-weight: 800; }
.contact-card dd a:hover { color: var(--amber); }
.contact-card .phone { font-family: var(--font-num); font-size: clamp(40px, 4.4vw, 56px); color: var(--amber); letter-spacing: .02em; }
.contact-actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.next-steps { display: grid; gap: 16px; }
.next-step { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); }
.next-step .num { font-size: 40px; color: var(--blue); }
.next-step h3 { font-size: 18px; font-weight: 800; }
.next-step p { margin-top: 4px; font-size: 14px; color: var(--muted); }
.toast {
  position: fixed; left: 50%; bottom: 32px; z-index: 300; transform: translate(-50%, 20px); opacity: 0;
  padding: 12px 22px; border-radius: var(--radius); background: var(--navy-900); color: var(--white); font-size: 14px;
  box-shadow: var(--shadow); transition: opacity .3s, transform .3s var(--ease); pointer-events: none;
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 404 ---------- */
.notfound { min-height: 100vh; display: grid; place-items: center; text-align: center; color: var(--white); padding: 120px 20px 80px; }
.notfound .num { font-size: clamp(120px, 22vw, 260px); color: transparent; -webkit-text-stroke: 2px var(--blue-300); }
.notfound h1 { margin-top: 10px; font-size: clamp(26px, 3vw, 36px); font-weight: 900; }
.notfound p { margin-top: 12px; color: var(--blue-100); }
.notfound .hero-actions { justify-content: center; }

/* ---------- 页脚 ---------- */
.site-footer { color: var(--blue-100); background: var(--navy-950); padding-top: 72px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; }
.footer-brand p { margin-top: 18px; max-width: 340px; color: var(--blue-300); }
.site-footer h2 { font-size: 13px; font-family: var(--font-mono); font-weight: 500; color: var(--white); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer li + li { margin-top: 10px; }
.site-footer a { color: var(--blue-100); transition: color .2s; }
.site-footer a:hover { color: var(--amber); }
.footer-phone { font-family: var(--font-num); font-weight: 700; font-size: 30px; color: var(--amber) !important; letter-spacing: .02em; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 22px 0 28px; border-top: 1px solid rgba(143, 180, 255, .14); font-size: 13px; color: var(--muted); }
.site-footer .footer-icp { color: var(--muted); }
.site-footer .footer-icp:hover { color: var(--amber); }

/* ---------- 滚动显现（仅在 JS 可用时隐藏初始态） ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js [data-reveal-delay="1"] { transition-delay: .1s; }
.js [data-reveal-delay="2"] { transition-delay: .2s; }
.js [data-reveal-delay="3"] { transition-delay: .3s; }
.js [data-reveal-delay="4"] { transition-delay: .4s; }

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1200px) {
  .matrix { grid-template-columns: repeat(3, 1fr); }
  .matrix-item:nth-child(4) { border-left: 0; }
  .matrix-item:nth-child(n+4) { border-top: 1px solid var(--line); }
  .matrix--4 { grid-template-columns: repeat(2, 1fr); }
  .matrix--4 .matrix-item:nth-child(3) { border-left: 0; }
  .matrix--4 .matrix-item:nth-child(4) { border-left: 1px solid var(--line); }
  .matrix--4 .matrix-item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .brand-grid { grid-template-columns: repeat(3, 1fr); }
  .brand-grid li:nth-child(4) { border-left: 0; }
  .brand-grid li:nth-child(n+4) { border-top: 1px solid rgba(143, 180, 255, .2); }
}

@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .nav-toggle { display: block; }
  .header-cta { display: none; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 0; z-index: 99; padding: 24px var(--gutter) 40px;
    background: var(--navy-950); overflow-y: auto;
    transform: translateX(100%); visibility: hidden; transition: transform .35s var(--ease), visibility .35s;
  }
  .nav-open .site-nav { transform: none; visibility: visible; }
  .nav-open .site-header { background: var(--navy-950); }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list a { padding: 18px 4px; font-size: 18px; border-bottom: 1px solid rgba(143, 180, 255, .12); }
  .nav-list a::after { left: 4px; right: auto; width: 28px; bottom: -1px; }
  .site-nav .mobile-cta { display: flex; margin-top: 28px; justify-content: center; }

  .hero .container, .page-hero .container, .split, .split--wide-left, .case-feature, .cta-band .container, .contact-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; }
  .hero-note--a { left: 8px; }
  .hero-note--b { right: 8px; }
  .page-hero .media { display: none; }
  .product-detail--flip .split > :first-child, .case-feature:nth-child(even) > :first-child { order: 0; }
  .section-head--split { flex-direction: column; align-items: flex-start; }

  .kpis { grid-template-columns: repeat(2, 1fr); }
  .kpi:nth-child(3) { border-left: 0; padding-left: 0; }
  .kpi:nth-child(n+3) { border-top: 1px solid var(--line); }
  .section--dark .kpi:nth-child(n+3) { border-color: rgba(143, 180, 255, .18); }

  .results, .people, .quality, .entity-grid { grid-template-columns: 1fr; }
  .products-grid, .cap-grid { grid-template-columns: 1fr; }
  .case-list { grid-template-columns: repeat(2, 1fr); }

  .steps { grid-template-columns: 1fr; gap: 28px; padding-left: 4px; }
  .steps::before { left: 27px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; background: repeating-linear-gradient(180deg, var(--blue-100) 0 6px, transparent 6px 12px); }
  .step { display: grid; grid-template-columns: 47px 1fr; column-gap: 20px; padding-right: 0; }
  .step-dot { grid-row: span 3; }
  .step .mono { margin-top: 4px; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 961px) {
  .site-nav .mobile-cta { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .matrix, .feature-grid, .case-list, .values { grid-template-columns: 1fr; }
  .matrix-item { border-left: 0; border-top: 1px solid var(--line); }
  .matrix-item:first-child { border-top: 0; }
  .matrix--4 .matrix-item:nth-child(4) { border-left: 0; }
  .matrix-item { padding: 18px 20px 20px; }
  .matrix-item h3 { margin-top: 4px; font-size: 18px; }
  .matrix-item h3 br { display: none; }
  .matrix-item p { margin-top: 4px; }
  .brand-grid { grid-template-columns: repeat(2, 1fr); }
  .brand-grid li:nth-child(odd) { border-left: 0; }
  .brand-grid li:nth-child(4) { border-left: 1px solid rgba(143, 180, 255, .2); }
  .brand-grid li:nth-child(n+3) { border-top: 1px solid rgba(143, 180, 255, .2); }
  .kpi { padding: 24px 16px; }
  .kpi:nth-child(odd) { padding-left: 0; }
  .hero-note { display: none; }
  .hero-actions .btn { flex: 1; justify-content: center; padding-left: 12px; padding-right: 12px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .flow li:not(:last-child)::after { margin-left: 10px; }
}

/* ---------- 减少动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}
