/* =========================================================
   上海木圣网络科技有限公司 官网原型
   设计变量（全站唯一色值来源，禁止硬编码色值）
   ========================================================= */
:root {
  /* 默认主题：方案一 · 藏青香槟金（经典商务 · 金融质感） */
  --navy: #0B1F3A;          /* 藏青 顶栏/深底 */
  --navy-deep: #061428;     /* 更深的页脚底 */
  --navy-2: #122C4E;        /* 藏青标题深色 */
  --blue: #B08D57;          /* 香槟金主色 */
  --blue-dark: #96774A;     /* 香槟金 hover */
  --blue-soft: #F6F1E7;     /* 浅金底 */
  --teal: #6E87A8;          /* 灰蓝点缀 */
  --bg: #FFFFFF;
  --bg-soft: #F8F6F1;       /* 暖白浅底分节 */
  --border: #E6E1D4;        /* 米灰细边框 */
  --title: #0B1F3A;
  --text: #4C5566;
  --text-light: #8B8578;
  --white: #FFFFFF;
  --header-h: 72px;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 10px rgba(11, 31, 58, .06);
  --shadow-md: 0 10px 30px rgba(11, 31, 58, .10);
  --shadow-lg: 0 18px 48px rgba(11, 31, 58, .16);
  /* 香槟金透明度助手（全站金色半透明均引用这些变量，禁止硬编码） */
  --gold-08: rgba(176, 141, 87, .08);
  --gold-12: rgba(176, 141, 87, .12);
  --gold-25: rgba(176, 141, 87, .25);
  --gold-40: rgba(176, 141, 87, .40);
  --gold-14: rgba(176, 141, 87, .14);
  --gold-glow: 0 10px 24px var(--gold-40);
  --gold-glow-strong: 0 14px 30px rgba(176, 141, 87, .48);
  --font: "Microsoft YaHei", "PingFang SC", sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  padding-top: var(--header-h);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input { font-family: inherit; }
h1, h2, h3, h4 { color: var(--title); line-height: 1.3; font-weight: 700; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 4px; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 112px 0; }
.section-soft { background: var(--bg-soft); }

/* 区块标题（居中标题 + 金色短线 节奏） */
.sec-head { text-align: center; max-width: 760px; margin: 0 auto 64px; }
.sec-eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .28em;
  color: var(--blue); text-transform: uppercase; margin-bottom: 14px;
}
.sec-head h2 { font-size: 40px; letter-spacing: .01em; }
.sec-head h2::after {
  content: ""; display: block; width: 52px; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, var(--blue), var(--gold-08));
  margin: 22px auto 0;
}
.sec-head p { color: var(--text-light); font-size: 17px; margin-top: 18px; }
.sec-head.left { text-align: left; margin-left: 0; }
.sec-head.left h2::after { margin-left: 0; background: linear-gradient(90deg, var(--blue), var(--gold-08)); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 999px;
  font-size: 16px; font-weight: 600; line-height: 1;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%); color: var(--white); box-shadow: var(--gold-glow); }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: var(--gold-glow-strong); }
.btn-ghost { border: 1.5px solid rgba(255, 255, 255, .55); color: var(--white); background: rgba(255, 255, 255, .04); backdrop-filter: blur(2px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: var(--white); transform: translateY(-2px); }
.btn-outline { border: 1.5px solid var(--blue); color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: var(--white); transform: translateY(-2px); }

/* =========================================================
   顶栏（对标 sightp：深 navy 底 + 白字 + 蓝色高亮）
   ========================================================= */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 1000; height: var(--header-h);
  background: rgba(7, 26, 48, .96);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 36px; width: auto; }
.header-inner nav { height: 100%; display: flex; }
.main-nav { display: flex; align-items: center; height: 100%; }
.nav-item { position: relative; height: 100%; display: flex; align-items: center; }
.nav-link {
  position: relative; display: flex; align-items: center; gap: 5px;
  height: 100%; padding: 0 22px;
  color: rgba(255, 255, 255, .86); font-size: 15.5px; font-weight: 500;
  transition: color .2s var(--ease);
}
.nav-link .caret { width: 12px; height: 12px; transition: transform .25s var(--ease); opacity: .7; }
.nav-link::after {
  content: ""; position: absolute; left: 22px; right: 22px; bottom: 0; height: 3px;
  background: var(--blue); border-radius: 3px 3px 0 0;
  transform: scaleX(0); transform-origin: center; transition: transform .28s var(--ease);
}
.nav-link:hover, .nav-item.open > .nav-link { color: var(--white); }
.nav-item.open .nav-link .caret { transform: rotate(180deg); }
.nav-item.active > .nav-link { color: var(--blue); }
.nav-item.active > .nav-link::after { transform: scaleX(1); }

/* 产品下拉（黑底白字竖排） */
.dd-panel {
  position: absolute; top: calc(100% + 1px); left: 50%;
  background: var(--navy-deep);
  border: 1px solid rgba(255, 255, 255, .1); border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translate(-50%, 10px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
  pointer-events: none;
}
.nav-item.open .dd-panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); pointer-events: auto; }
.dd-product { width: 300px; padding: 10px; }
.dd-item {
  display: block; padding: 14px 16px; border-radius: var(--radius-sm);
  transition: background .2s var(--ease);
}
.dd-item strong { display: block; color: var(--white); font-size: 15.5px; font-weight: 600; margin-bottom: 3px; }
.dd-item span { display: block; color: rgba(255, 255, 255, .55); font-size: 13px; line-height: 1.5; }
.dd-item:hover { background: var(--gold-12); }
.dd-item:hover strong { color: var(--blue); }

/* 解决方案 Mega 菜单（宽面板按行业分列） */
.dd-mega { width: min(880px, 94vw); padding: 28px 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.mega-col h4 {
  color: var(--teal); font-size: 13px; letter-spacing: .1em; font-weight: 600;
  padding-bottom: 10px; margin-bottom: 10px; border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.mega-col .dd-item { padding: 10px 12px; }
.mega-col .dd-item strong { font-size: 15px; }

/* 移动端导航 */
.nav-toggle { display: none; width: 44px; height: 44px; color: var(--white); align-items: center; justify-content: center; }
.nav-toggle svg { width: 26px; height: 26px; }
.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 999;
  background: var(--navy-deep); padding: 24px; overflow-y: auto;
  transform: translateX(100%); transition: transform .3s var(--ease);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a.mn-link {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 8px; color: var(--white); font-size: 17px; font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.mn-group > .mn-sub { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); }
.mn-group.open > .mn-sub { max-height: 600px; }
.mn-sub a { display: block; padding: 11px 20px; color: rgba(255, 255, 255, .72); font-size: 15px; }
.mn-sub .mn-cat { padding: 12px 12px 2px; color: var(--teal); font-size: 12.5px; letter-spacing: .08em; }
.mn-link .caret { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.mn-group.open > .mn-link .caret { transform: rotate(180deg); }

/* =========================================================
   首页 Hero（深蓝科技感大横幅）
   ========================================================= */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  background: var(--navy-deep); color: var(--white); overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url("../hero_hex.png") center top / cover no-repeat;
  opacity: .5;
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7, 26, 48, .55) 0%, rgba(7, 26, 48, .35) 45%, rgba(7, 26, 48, .92) 100%);
}
.hero-inner { position: relative; z-index: 1; padding: 120px 24px 140px; text-align: center; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; letter-spacing: .3em; color: var(--blue); font-weight: 600;
  padding: 9px 22px; border: 1px solid var(--gold-40); border-radius: 999px; margin-bottom: 30px;
  background: var(--gold-08);
}
.hero h1 {
  color: var(--white); font-size: 66px; letter-spacing: .02em; line-height: 1.18; margin-bottom: 22px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, .35);
}
.hero h1 em { font-style: normal; color: var(--blue); }
.hero-mission { font-size: 26px; color: rgba(255, 255, 255, .92); font-weight: 500; letter-spacing: .1em; margin-bottom: 20px; }
.hero-desc { max-width: 720px; margin: 0 auto 48px; color: rgba(255, 255, 255, .68); font-size: 17px; line-height: 1.85; }
.hero-cta { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

/* ---------- 核心数据 ---------- */
.stats {
  background:
    radial-gradient(ellipse at 12% 18%, var(--gold-14), transparent 42%),
    radial-gradient(ellipse at 88% 85%, rgba(255, 255, 255, .05), transparent 45%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  padding: 72px 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.stat { text-align: center; color: var(--white); position: relative; }
.stat + .stat::before {
  content: ""; position: absolute; left: -12px; top: 18%; bottom: 18%; width: 1px;
  background: var(--gold-40);
}
.stat-num { font-size: 50px; font-weight: 800; color: var(--blue); line-height: 1.1; font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.stat-num i { font-style: normal; color: var(--blue); font-size: 30px; margin-left: 2px; opacity: .85; }
.stat-label { margin-top: 10px; color: rgba(255, 255, 255, .72); font-size: 15px; letter-spacing: .06em; }

/* ---------- 公司简介 ---------- */
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.about-text h2 { font-size: 34px; margin-bottom: 22px; }
.about-text p { margin-bottom: 16px; font-size: 16.5px; }
.about-text p strong { color: var(--navy-2); }
.about-points { margin-top: 26px; display: grid; gap: 12px; }
.about-points li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; color: var(--text); }
.about-points svg { width: 20px; height: 20px; color: var(--teal); flex: none; margin-top: 3px; }
.about-media { position: relative; }
.about-media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; height: 420px; object-fit: cover; }
.about-media::after {
  content: ""; position: absolute; inset: auto -18px -18px auto; width: 60%; height: 60%;
  border: 2px solid var(--blue); border-radius: var(--radius); z-index: -1;
}

/* ---------- 资质 ---------- */
.qual-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.qual-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 34px 26px; text-align: center;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.qual-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--blue); }
.qual-ic {
  width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 18px;
  background: var(--blue-soft); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
}
.qual-ic svg { width: 30px; height: 30px; }
.qual-card h3 { font-size: 17.5px; margin-bottom: 8px; }
.qual-card p { font-size: 14px; color: var(--text-light); }

/* 客户logo墙 */
.client-wall { margin-top: 48px; text-align: center; }
.client-wall h3 { font-size: 22px; color: var(--navy-2); letter-spacing: .02em; margin-bottom: 22px; }
.client-wall h3 em { font-style: normal; color: var(--blue); font-weight: 800; }
.cw-board { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 10px; }
.cw-board img { width: 100%; display: block; border-radius: calc(var(--radius) - 4px); }

/* ---------- 产品入口（首页） ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.prod-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.prod-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.prod-card .pc-img { height: 200px; overflow: hidden; }
.prod-card .pc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.prod-card:hover .pc-img img { transform: scale(1.06); }
.pc-body { padding: 26px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.pc-body h3 { font-size: 20px; margin-bottom: 10px; }
.pc-body p { font-size: 14.5px; color: var(--text-light); flex: 1; }
.pc-link { margin-top: 18px; display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-weight: 600; font-size: 15px; }
.pc-link svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.prod-card:hover .pc-link svg { transform: translateX(4px); }

/* ---------- 客户群体 ---------- */
.client-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.client-card {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.client-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--blue); }
.client-ic {
  flex: none; width: 56px; height: 56px; border-radius: 14px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--navy-2) 100%);
  color: var(--white); display: flex; align-items: center; justify-content: center;
}
.client-ic svg { width: 26px; height: 26px; }
.client-card h3 { font-size: 17.5px; margin-bottom: 6px; }
.client-card p { font-size: 14px; color: var(--text-light); }

/* ---------- CTA 横幅 ---------- */
.cta-band {
  background:
    radial-gradient(ellipse at 82% 15%, var(--gold-14), transparent 48%),
    radial-gradient(ellipse at 10% 90%, rgba(255, 255, 255, .05), transparent 44%),
    linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 60%, var(--blue-dark) 100%);
  color: var(--white); text-align: center; padding: 100px 0;
}
.cta-band h2 { color: var(--white); font-size: 34px; margin-bottom: 14px; }
.cta-band p { color: rgba(255, 255, 255, .75); margin-bottom: 34px; font-size: 17px; }

/* =========================================================
   子页深色横幅（产品/方案详情、案例、联系 共用）
   ========================================================= */
.page-hero {
  position: relative; background: var(--navy-deep); color: var(--white);
  padding: 96px 0 88px; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: url("../hero_hex.png") center top / cover no-repeat; opacity: .35;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 78% 22%, var(--gold-14), transparent 52%),
    radial-gradient(ellipse at 8% 90%, rgba(255, 255, 255, .04), transparent 46%),
    linear-gradient(180deg, rgba(7, 26, 48, .4), rgba(7, 26, 48, .88));
}
.page-hero .container { position: relative; z-index: 1; }
.crumb { font-size: 14px; color: rgba(255, 255, 255, .55); margin-bottom: 20px; }
.crumb a:hover { color: var(--blue); }
.crumb span { margin: 0 8px; }
.page-hero h1 { color: var(--white); font-size: 44px; margin-bottom: 16px; }
.page-hero h1 em { font-style: normal; color: var(--blue); }
.page-hero .ph-tag { font-size: 19px; color: rgba(255, 255, 255, .85); margin-bottom: 12px; font-weight: 500; }
.page-hero .ph-desc { max-width: 720px; color: rgba(255, 255, 255, .65); font-size: 16px; margin-bottom: 34px; }
.ph-cta { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- 特点卡网格 ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.feat-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 34px 28px; position: relative; overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.feat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--blue); }
.feat-ic {
  width: 58px; height: 58px; border-radius: 16px; margin-bottom: 20px;
  background: var(--blue-soft); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.feat-card:hover .feat-ic { background: var(--blue); color: var(--white); }
.feat-ic svg { width: 27px; height: 27px; }
.feat-card h3 { font-size: 18px; margin-bottom: 10px; }
.feat-card p { font-size: 14.5px; color: var(--text-light); }

/* ---------- 图文区（左右交替） ---------- */
.hl-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 44px 0; }
.hl-row + .hl-row { border-top: 1px solid var(--border); }
.hl-row.flip .hl-media { order: 2; }
.hl-media { border-radius: var(--radius); overflow: hidden; }
.hl-media img { border-radius: var(--radius); box-shadow: var(--shadow-md); width: 100%; max-height: 720px; object-fit: contain; transition: transform .6s var(--ease); }
.hl-media:hover img { transform: scale(1.03); }
.hl-text .hl-no { font-size: 14px; font-weight: 700; color: var(--teal); letter-spacing: .12em; margin-bottom: 10px; }
.hl-text h3 { font-size: 26px; margin-bottom: 14px; }
.hl-text p { color: var(--text); font-size: 15.5px; }
/* 三联图（手机截图类） */
.hl-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 36px; }
.hl-gallery figure {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px; text-align: center; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.hl-gallery figure:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--blue); }
.hl-gallery img { border-radius: var(--radius-sm); max-height: 480px; width: auto; max-width: 100%; margin: 0 auto 14px; }
.hl-gallery figcaption { font-size: 14.5px; color: var(--text); font-weight: 600; }
/* 应用场景备注小字 */
.scenes-note { margin-top: 30px; text-align: center; font-size: 13px; font-style: italic; color: var(--text-light); letter-spacing: .02em; }

/* ---------- 架构模块 ---------- */
.arch-modules { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-top: 40px; }
.arch-mod {
  position: relative; background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px 18px; text-align: center;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.arch-mod:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--blue); }
.arch-mod .am-no {
  width: 34px; height: 34px; margin: 0 auto 12px; border-radius: 50%;
  background: var(--blue); color: var(--white); font-weight: 700; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
}
.arch-mod h3 { font-size: 15.5px; line-height: 1.5; }
.arch-img { margin-top: 44px; }
.arch-img img { border-radius: var(--radius); box-shadow: var(--shadow-md); width: 100%; }

/* ---------- 部署方式 ---------- */
.deploy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.deploy-card {
  border-radius: var(--radius); padding: 40px 36px; color: var(--white);
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  position: relative; overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.deploy-card.alt { background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%); }
.deploy-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.deploy-card h3 { color: var(--white); font-size: 22px; margin-bottom: 12px; }
.deploy-card p { color: rgba(255, 255, 255, .8); font-size: 15px; margin-bottom: 18px; }
.deploy-card ul { display: grid; gap: 10px; }
.deploy-card li { display: flex; gap: 9px; align-items: flex-start; font-size: 14.5px; color: rgba(255, 255, 255, .9); }
.deploy-card li svg { width: 18px; height: 18px; color: var(--teal); flex: none; margin-top: 3px; }

/* =========================================================
   案例页
   ========================================================= */
.case-filter {
  display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between;
  margin-bottom: 44px;
}
.case-tabs { display: flex; flex-wrap: wrap; gap: 10px; }
.case-tab {
  padding: 10px 22px; border-radius: 999px; font-size: 15px; font-weight: 500;
  color: var(--text); background: var(--bg); border: 1px solid var(--border);
  transition: all .25s var(--ease);
}
.case-tab:hover { border-color: var(--blue); color: var(--blue); }
.case-tab.on { background: linear-gradient(135deg, var(--blue), var(--blue-dark)); border-color: var(--blue-dark); color: var(--white); box-shadow: var(--gold-glow); }
.case-search { position: relative; }
.case-search input {
  width: 260px; padding: 11px 16px 11px 42px; font-size: 15px;
  border: 1px solid var(--border); border-radius: 999px; background: var(--bg); color: var(--text);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.case-search input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--gold-25); }
.case-search svg {
  position: absolute; left: 15px; top: 50%; transform: translateY(-50%);
  width: 17px; height: 17px; color: var(--text-light); pointer-events: none;
}
.case-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.case-card {
  border-radius: var(--radius); overflow: hidden; background: var(--bg);
  border: 1px solid var(--border);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--blue); }
.cc-img { position: relative; height: 180px; overflow: hidden; }
.cc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.case-card:hover .cc-img img { transform: scale(1.08); }
.cc-img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(7, 26, 48, .55));
  opacity: 0; transition: opacity .3s var(--ease);
}
.case-card:hover .cc-img::after { opacity: 1; }
.cc-body { padding: 18px 20px 20px; }
.cc-cat {
  display: inline-block; font-size: 12.5px; font-weight: 600; color: var(--blue);
  background: var(--blue-soft); padding: 3px 12px; border-radius: 999px; margin-bottom: 10px;
}
.cc-body h3 { font-size: 16px; line-height: 1.5; }
.case-empty {
  display: none; text-align: center; padding: 80px 0; color: var(--text-light); font-size: 16px;
}
.case-empty.show { display: block; }

/* =========================================================
   联系我们
   ========================================================= */
.contact-grid { display: grid; grid-template-columns: 1.25fr .85fr; gap: 28px; align-items: stretch; }
.contact-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 44px 40px; box-shadow: var(--shadow-sm);
}
.contact-card h2 { font-size: 24px; margin-bottom: 26px; }
.cc-row { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border); align-items: flex-start; }
.cc-row:last-child { border-bottom: none; }
.cc-row .cc-ic {
  flex: none; width: 44px; height: 44px; border-radius: 12px;
  background: var(--blue-soft); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
}
.cc-row .cc-ic svg { width: 21px; height: 21px; }
.cc-row h3 { font-size: 15px; color: var(--text-light); font-weight: 500; margin-bottom: 3px; }
.cc-row p, .cc-row a.cval { font-size: 16.5px; color: var(--title); font-weight: 600; }
.cc-row a.cval:hover { color: var(--blue); }
.mgr-table { margin-top: 8px; display: grid; gap: 14px; }
.mgr {
  display: grid; grid-template-columns: 88px 1fr; gap: 4px 18px; align-items: center;
  border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px 20px;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.mgr:hover { border-color: var(--blue); box-shadow: var(--shadow-sm); }
.mgr-name { font-size: 17px; font-weight: 700; color: var(--title); grid-row: span 2; }
.mgr-name small { display: block; font-size: 13px; color: var(--blue); font-weight: 600; margin-top: 2px; }
.mgr p { font-size: 14.5px; color: var(--text); }
.mgr p b { color: var(--title); font-weight: 600; }
/* 右侧品牌蓝卡片（对标 sightp 黄卡） */
.contact-side {
  background: linear-gradient(160deg, var(--blue) 0%, var(--blue-dark) 55%, var(--navy-2) 100%);
  border-radius: var(--radius); padding: 44px 40px; color: var(--white);
  display: flex; flex-direction: column; box-shadow: var(--shadow-md);
}
.contact-side h2 { color: var(--white); font-size: 24px; margin-bottom: 8px; }
.contact-side > p { color: rgba(255, 255, 255, .8); font-size: 15px; margin-bottom: 30px; }
.cs-row { padding: 18px 0; border-bottom: 1px solid rgba(255, 255, 255, .2); }
.cs-row h3 { color: rgba(255, 255, 255, .72); font-size: 14px; font-weight: 500; margin-bottom: 5px; }
.cs-row a { color: var(--white); font-size: 21px; font-weight: 700; letter-spacing: .02em; }
.cs-row a:hover { text-decoration: underline; }
.cs-qr { margin-top: auto; padding-top: 30px; text-align: center; }
.cs-qr img {
  width: 168px; height: 168px; margin: 0 auto 12px; border-radius: var(--radius-sm);
  background: var(--white); padding: 10px;
}
.cs-qr p { color: rgba(255, 255, 255, .85); font-size: 14px; }

/* =========================================================
   页脚
   ========================================================= */
.site-footer {
  position: relative; background: var(--navy-deep); color: rgba(255, 255, 255, .66); padding: 76px 0 0;
}
/* 顶部金色细线 */
.site-footer::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--blue) 22%, var(--blue) 78%, transparent 100%);
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 44px; padding-bottom: 52px; }
.footer-brand img { height: 38px; margin-bottom: 18px; }
.footer-brand p { font-size: 14.5px; max-width: 300px; }
.footer-col h4 {
  color: var(--white); font-size: 15px; letter-spacing: .14em; margin-bottom: 20px;
  padding-bottom: 12px; border-bottom: 1px solid rgba(255, 255, 255, .1); position: relative;
}
.footer-col h4::after {
  content: ""; position: absolute; left: 0; bottom: -1px; width: 28px; height: 1px;
  background: var(--blue);
}
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { font-size: 14.5px; transition: color .2s var(--ease); }
.footer-col a:hover { color: var(--blue); }
.footer-contact li { display: flex; gap: 10px; font-size: 14.5px; align-items: flex-start; }
.footer-contact svg { width: 17px; height: 17px; color: var(--blue); flex: none; margin-top: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 13.5px; color: rgba(255, 255, 255, .42);
}

/* =========================================================
   右侧常驻悬浮联系栏
   ========================================================= */
.float-bar {
  position: fixed; right: 18px; top: 50%; transform: translateY(-50%); z-index: 900;
  display: flex; flex-direction: column; gap: 12px; align-items: flex-end;
}
.fb-qr {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 12px 12px 8px; text-align: center; box-shadow: var(--shadow-md); width: 118px;
}
.fb-qr img { width: 94px; height: 94px; border-radius: 6px; }
.fb-qr span { display: block; font-size: 12px; color: var(--text-light); margin-top: 6px; }
.fb-btn {
  position: relative; width: 48px; height: 48px; border-radius: 50%;
  background: var(--navy); color: var(--white); box-shadow: var(--shadow-md);
  display: flex; align-items: center; justify-content: center;
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.fb-btn:hover { background: var(--blue); transform: translateX(-3px); }
.fb-btn svg { width: 21px; height: 21px; }
.fb-tip {
  position: absolute; right: calc(100% + 12px); top: 50%; transform: translateY(-50%);
  background: var(--navy); color: var(--white); font-size: 13.5px; white-space: nowrap;
  padding: 8px 14px; border-radius: 8px; opacity: 0; visibility: hidden; transition: all .22s var(--ease);
  pointer-events: none;
}
.fb-tip::after {
  content: ""; position: absolute; left: 100%; top: 50%; transform: translateY(-50%);
  border: 6px solid transparent; border-left-color: var(--navy);
}
.fb-btn:hover .fb-tip { opacity: 1; visibility: visible; }

/* =========================================================
   动效：滚动淡入
   ========================================================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   响应式：平板 ≤1024 / 手机 ≤768 / 小屏 ≤520
   ========================================================= */
@media (max-width: 1024px) {
  .section { padding: 80px 0; }
  .hero h1 { font-size: 48px; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); gap: 36px 20px; }
  .stat + .stat::before { display: none; }
  .qual-grid { grid-template-columns: repeat(2, 1fr); }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .case-grid { grid-template-columns: repeat(3, 1fr); }
  .arch-modules { grid-template-columns: repeat(3, 1fr); }
  .about-grid { gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .dd-mega { width: min(760px, 96vw); padding: 22px; gap: 18px; }
  .nav-link { padding: 0 14px; }
  .nav-link::after { left: 14px; right: 14px; }
}
@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .sec-head { margin-bottom: 40px; }
  .sec-head h2 { font-size: 28px; }
  .sec-head h2::after { margin-top: 16px; }
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .hero { min-height: 92vh; }
  .hero-inner { padding: 90px 20px 110px; }
  .hero h1 { font-size: 33px; }
  .hero-mission { font-size: 18px; }
  .hero-desc { font-size: 15px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-num { font-size: 36px; }
  .about-grid, .hl-row, .contact-grid, .deploy-grid { grid-template-columns: 1fr; }
  .hl-row { gap: 28px; padding: 36px 0; }
  .hl-row.flip .hl-media { order: 0; }
  .about-media img { height: 300px; }
  .prod-grid, .client-grid, .feat-grid { grid-template-columns: 1fr; }
  .qual-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .case-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .case-filter { flex-direction: column; align-items: stretch; }
  .case-search input { width: 100%; }
  .arch-modules { grid-template-columns: repeat(2, 1fr); }
  .hl-gallery { grid-template-columns: 1fr; max-width: 380px; margin-left: auto; margin-right: auto; }
  .page-hero { padding: 64px 0 60px; }
  .page-hero h1 { font-size: 30px; }
  .contact-card, .contact-side { padding: 30px 24px; }
  .mgr { grid-template-columns: 1fr; }
  .mgr-name { grid-row: auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  /* 悬浮栏移动端只留回到顶部 */
  .float-bar { top: auto; bottom: 20px; right: 16px; transform: none; }
  .fb-qr, .fb-btn.fb-phone, .fb-btn.fb-mail { display: none; }
}
@media (max-width: 520px) {
  .case-grid { grid-template-columns: 1fr; }
  .qual-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 28px 12px; }
  .hero h1 { font-size: 28px; }
  .btn { padding: 13px 26px; font-size: 15px; }
}

/* ============================================================
   配色主题（商务高级感 3 套，body[data-theme] 切换）
   ============================================================ */

/* 方案一 · 藏青香槟金（经典商务 · 金融质感） */
body[data-theme="gold"] {
  --navy: #0B1F3A;
  --navy-deep: #061428;
  --navy-2: #122C4E;
  --blue: #B08D57;
  --blue-dark: #96774A;
  --blue-soft: #F6F1E7;
  --teal: #6E87A8;
  --bg-soft: #F8F6F1;
  --border: #E6E1D4;
  --title: #0B1F3A;
  --text: #4C5566;
  --text-light: #8B8578;
  --shadow-sm: 0 2px 10px rgba(11, 31, 58, .06);
  --shadow-md: 0 10px 30px rgba(11, 31, 58, .10);
  --shadow-lg: 0 18px 48px rgba(11, 31, 58, .16);
}

/* 方案二 · 炭黑克莱因蓝（现代科技 · 商务锐利） */
body[data-theme="klein"] {
  --navy: #10131A;
  --navy-deep: #090B10;
  --navy-2: #1B2334;
  --blue: #2F54EB;
  --blue-dark: #1D3FC0;
  --blue-soft: #ECF0FD;
  --teal: #7C9CFF;
  --bg-soft: #F5F6FA;
  --border: #E2E5EE;
  --title: #10131A;
  --text: #484E5E;
  --text-light: #8A90A2;
  --shadow-sm: 0 2px 10px rgba(16, 19, 26, .07);
  --shadow-md: 0 10px 30px rgba(16, 19, 26, .11);
  --shadow-lg: 0 18px 48px rgba(16, 19, 26, .17);
}

/* 方案三 · 墨玉绿古铜金（高端制造 · 沉稳东方） */
body[data-theme="jade"] {
  --navy: #0B2926;
  --navy-deep: #051B19;
  --navy-2: #123B35;
  --blue: #A87C4F;
  --blue-dark: #8A6540;
  --blue-soft: #F5F0E8;
  --teal: #3AAFA9;
  --bg-soft: #F7F5F1;
  --border: #E4E1D7;
  --title: #0B2926;
  --text: #49534F;
  --text-light: #8A918B;
  --shadow-sm: 0 2px 10px rgba(11, 41, 38, .06);
  --shadow-md: 0 10px 30px rgba(11, 41, 38, .10);
  --shadow-lg: 0 18px 48px rgba(11, 41, 38, .16);
}
