/* ==========================================================================
   南鹏物联 NPIoT · 官网首页重构
   设计基准：华为官网式信息层级（大留白 / 细分割线 / 克制的色彩 / 强主视觉）
   品牌色取自企业 LOGO：深蓝 #183260 / 橙 #EB5F1F
   ========================================================================== */

:root {
  /* 品牌 */
  --navy: #183260;
  --navy-800: #10254B;
  --navy-900: #0B1B36;
  --navy-950: #07142B;
  --orange: #EB5F1F;
  --orange-600: #D2500F;
  --blue-link: #1D5FD0;

  /* 中性 */
  --ink: #16181D;
  --ink-2: #414A57;
  --ink-3: #6B7280;
  --ink-4: #9AA1AC;
  --line: #E7E9EE;
  --line-2: #F0F2F5;
  --bg: #FFFFFF;
  --bg-soft: #F6F7F9;
  --bg-soft-2: #FBFBFC;

  --shadow-s: 0 2px 8px rgba(16, 37, 75, .06);
  --shadow-m: 0 12px 32px rgba(16, 37, 75, .10);
  --shadow-l: 0 24px 60px rgba(9, 24, 51, .16);

  --radius: 4px;
  --radius-l: 8px;
  --container: 1200px;
  --header-h: 68px;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --font: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Hiragino Sans GB",
          -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  /* 顶栏是 fixed 的：用 padding 预留高度，这样收合服务条时页面内容不会上下跳，
     锚点滚动也不会因此偏 36px（原先 sticky + 高度过渡会有这个位移）。 */
  padding-top: var(--header-offset, 104px);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; border: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
button { font-family: inherit; cursor: pointer; }
svg { display: block; }

::selection { background: rgba(235, 95, 31, .18); }

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

/* ---------- 通用文本 ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; letter-spacing: .16em; color: var(--orange);
  font-weight: 600; margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--orange); display: block; }
.eyebrow--light { color: #FF8A4C; }
.eyebrow--light::before { background: #FF8A4C; }

.sec-title { font-size: 34px; line-height: 1.35; font-weight: 600; color: var(--ink); letter-spacing: .01em; }
.sec-title--light { color: #fff; }
.sec-desc { margin-top: 16px; font-size: 16px; color: var(--ink-3); max-width: 760px; }
.sec-desc--light { color: rgba(255, 255, 255, .68); }

.section { padding: 96px 0; }
.section--soft { background: var(--bg-soft); }
.section--tight { padding: 72px 0; }

.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 48px; }
.sec-head__left { max-width: 760px; }
.sec-head .sec-desc { margin-top: 14px; }

.link-more {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  font-size: 15px; color: var(--navy); font-weight: 500;
  padding-bottom: 2px; border-bottom: 1px solid transparent; transition: all .25s var(--ease);
}
.link-more svg { transition: transform .25s var(--ease); }
.link-more:hover { color: var(--orange); border-bottom-color: var(--orange); }
.link-more:hover svg { transform: translateX(4px); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 46px; padding: 0 30px; border-radius: 2px; border: 1px solid transparent;
  font-size: 15px; font-weight: 500; letter-spacing: .02em;
  transition: all .25s var(--ease); white-space: nowrap;
}
.btn--primary { background: var(--orange); color: #fff; }
.btn--primary:hover { background: var(--orange-600); box-shadow: 0 10px 24px rgba(235, 95, 31, .32); transform: translateY(-1px); }
.btn--ghost { border-color: rgba(255, 255, 255, .45); color: #fff; background: transparent; }
.btn--ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn--outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--sm { height: 38px; padding: 0 20px; font-size: 14px; }

/* ==========================================================================
   顶部：服务条 + 主导航
   ========================================================================== */
.topbar {
  background: var(--navy-950); color: rgba(255, 255, 255, .66);
  font-size: 13px; height: 36px; overflow: hidden;
  transition: height .3s var(--ease), opacity .3s var(--ease);
}
.topbar > .container { display: flex; align-items: center; justify-content: space-between; height: 36px; }
.topbar__region { display: inline-flex; align-items: center; gap: 7px; }
.topbar__region svg { opacity: .7; }
.topbar__links { display: flex; align-items: center; gap: 26px; }
.topbar__links a { transition: color .2s; }
.topbar__links a:hover { color: #fff; }
.topbar__links a.is-hl { color: #FF9257; }

.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 200; background: #fff; }
.site-header .navbar {
  border-bottom: 1px solid var(--line-2); background: #fff;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.site-header.is-scrolled .navbar { box-shadow: 0 6px 24px rgba(16, 37, 75, .08); border-color: transparent; }
.site-header.is-scrolled .topbar { height: 0; opacity: 0; }

/* 注意：必须用子选择器。否则下拉面板里的 .container 会被这条规则命中，
   拿到 height:68px + flex 居中，把整块通栏菜单压塌成一条线（下拉面板变透明）。 */
.navbar > .container { display: flex; align-items: center; height: var(--header-h); gap: 8px; }

.brand { display: flex; align-items: center; gap: 12px; margin-right: 30px; flex: none; }
.brand img { height: 40px; width: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__cn { font-size: 17px; font-weight: 700; color: var(--navy); letter-spacing: .08em; }
.brand__en { font-size: 10px; color: var(--ink-4); letter-spacing: .22em; text-transform: uppercase; }

.nav-menu { display: flex; align-items: center; height: 100%; flex: 1; }
.nav-item { height: 100%; position: static; }
.nav-item > a {
  display: flex; align-items: center; height: var(--header-h); padding: 0 17px;
  font-size: 15px; color: var(--ink); position: relative; transition: color .2s;
}
.nav-item > a::after {
  content: ""; position: absolute; left: 17px; right: 17px; bottom: 0; height: 2px;
  background: var(--orange); transform: scaleX(0); transform-origin: center; transition: transform .28s var(--ease);
}
.nav-item:hover > a, .nav-item.is-active > a { color: var(--orange); }
.nav-item:hover > a::after, .nav-item.is-active > a::after { transform: scaleX(1); }
.nav-item > a .caret { margin-left: 6px; opacity: .45; transition: transform .25s var(--ease); }
.nav-item:hover > a .caret { transform: rotate(180deg); opacity: 1; }

/* 下拉（华为式通栏面板） */
.dropdown {
  position: absolute; left: 0; right: 0; top: 100%;
  background: #fff; border-top: 1px solid var(--line-2);
  box-shadow: 0 24px 40px rgba(16, 37, 75, .12);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: all .28s var(--ease);
}
.nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
/* 面板内的容器恢复成普通块级流：整块菜单由内容撑高 */
.dropdown > .container { display: block; height: auto; padding: 0 24px; max-width: var(--container); margin: 0 auto; }
.dropdown__inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px 40px; padding: 34px 0 38px; }
.dropdown__inner--wide { grid-template-columns: repeat(3, 1fr); }
.dropdown__item { display: block; padding: 12px 14px; border-radius: var(--radius); transition: all .2s var(--ease); }
.dropdown__item:hover { background: var(--bg-soft); }
.dropdown__item strong { display: block; font-size: 15px; font-weight: 500; color: var(--ink); transition: color .2s; }
.dropdown__item:hover strong { color: var(--orange); }
.dropdown__item span { display: block; font-size: 13px; color: var(--ink-4); margin-top: 3px; }
.dropdown__item--ext strong::after { content: "↗"; font-size: 12px; margin-left: 6px; color: var(--ink-4); }

.nav-actions { display: flex; align-items: center; gap: 6px; flex: none; }
.icon-btn {
  width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  border: 0; background: transparent; border-radius: 50%; color: var(--ink-2); transition: all .2s;
}
.icon-btn:hover { background: var(--bg-soft); color: var(--orange); }
.nav-divider { width: 1px; height: 20px; background: var(--line); margin: 0 10px; }
.nav-login {
  height: 36px; padding: 0 20px; display: inline-flex; align-items: center;
  border: 1px solid var(--navy); color: var(--navy); border-radius: 2px; font-size: 14px;
  transition: all .25s var(--ease);
}
.nav-login:hover { background: var(--navy); color: #fff; }
.nav-toggle { display: none; }

/* ==========================================================================
   首屏
   ========================================================================== */
.hero {
  position: relative; overflow: hidden; color: #fff;
  min-height: 620px; padding: 108px 0 0;
  background:
    radial-gradient(1100px 620px at 78% 18%, rgba(35, 92, 178, .55), transparent 62%),
    radial-gradient(720px 520px at 12% 92%, rgba(235, 95, 31, .16), transparent 60%),
    linear-gradient(118deg, #061229 0%, #0C2450 48%, #123163 100%);
}
.hero__grid {
  position: absolute; inset: 0; opacity: .5;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(900px 520px at 40% 40%, #000 30%, transparent 78%);
  mask-image: radial-gradient(900px 520px at 40% 40%, #000 30%, transparent 78%);
}
.hero__net { position: absolute; right: -60px; top: 40px; width: 720px; opacity: .85; pointer-events: none; }
.hero .container { position: relative; z-index: 2; }
.hero__inner { max-width: 720px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .06);
  border-radius: 100px; padding: 7px 16px; font-size: 13px; color: rgba(255, 255, 255, .82);
  backdrop-filter: blur(6px); margin-bottom: 26px;
}
.hero__badge i { width: 6px; height: 6px; border-radius: 50%; background: #3DDC97; box-shadow: 0 0 0 4px rgba(61, 220, 151, .18); }
.hero h1 {
  font-size: clamp(30px, 3.15vw, 46px); line-height: 1.3; font-weight: 600; letter-spacing: .01em; color: #fff;
}
.hero h1 em { font-style: normal; color: #FF9A5E; }
.hero__sub { margin-top: 24px; font-size: 17px; line-height: 1.9; color: rgba(255, 255, 255, .72); max-width: 600px; }
.hero__actions { margin-top: 38px; display: flex; gap: 14px; flex-wrap: wrap; }

.hero__stats {
  position: relative; z-index: 2; margin-top: 78px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.hero__stat { padding: 30px 8px 34px 0; }
.hero__stat b { display: block; font-size: 34px; font-weight: 600; color: #fff; letter-spacing: .01em; }
.hero__stat b i { font-style: normal; color: #FF9A5E; font-size: 24px; margin-left: 2px; }
.hero__stat span { display: block; margin-top: 6px; font-size: 14px; color: rgba(255, 255, 255, .55); }

/* ==========================================================================
   主营简介
   ========================================================================== */
.biz-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.biz-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.biz-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-m); border-color: transparent; }
.biz-card__media { background: #fff; padding: 26px 26px 6px; }
.biz-card__media img { width: 100%; height: 232px; object-fit: contain; transition: transform .6s var(--ease); }
.biz-card:hover .biz-card__media img { transform: scale(1.04); }
.biz-card__body { padding: 22px 28px 30px; }
.biz-card__body h3 { font-size: 20px; font-weight: 600; color: var(--ink); }
.biz-card__body p { margin-top: 10px; font-size: 14px; color: var(--ink-3); line-height: 1.8; min-height: 76px; }
.biz-card__more { margin-top: 16px; font-size: 14px; color: var(--navy); display: inline-flex; align-items: center; gap: 6px; }
.biz-card:hover .biz-card__more { color: var(--orange); }

/* ==========================================================================
   产品中心
   ========================================================================== */
.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 40px; overflow-x: auto; }
.tab {
  position: relative; border: 0; background: transparent; padding: 0 22px 16px;
  font-size: 16px; color: var(--ink-3); white-space: nowrap; transition: color .25s;
}
.tab::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--orange);
  transform: scaleX(0); transition: transform .3s var(--ease);
}
.tab:hover { color: var(--ink); }
.tab.is-active { color: var(--ink); font-weight: 600; }
.tab.is-active::after { transform: scaleX(1); }

.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.prod-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 20px 22px; text-align: center; display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.prod-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-m); border-color: transparent; }
.prod-card__media { height: 168px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.prod-card__media img { max-height: 100%; max-width: 100%; object-fit: contain; transition: transform .5s var(--ease); }
.prod-card:hover .prod-card__media img { transform: scale(1.06); }
.prod-card h4 { font-size: 15px; font-weight: 500; color: var(--ink); line-height: 1.55; min-height: 46px; }
.prod-card .tag { margin-top: auto; font-size: 12px; color: var(--ink-4); letter-spacing: .05em; }
.prod-card .arrow { margin-top: 12px; font-size: 13px; color: var(--navy); opacity: 0; transform: translateY(4px); transition: all .3s var(--ease); }
.prod-card:hover .arrow { opacity: 1; transform: translateY(0); color: var(--orange); }
.prod-foot { margin-top: 44px; text-align: center; }
.grid-empty { padding: 60px 0; text-align: center; color: var(--ink-4); }

/* ==========================================================================
   解决方案
   ========================================================================== */
.sol-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sol-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px 30px; overflow: hidden; transition: all .4s var(--ease);
}
.sol-card::before {
  content: ""; position: absolute; left: 0; top: 0; width: 3px; height: 100%;
  background: var(--orange); transform: scaleY(0); transform-origin: top; transition: transform .4s var(--ease);
}
.sol-card:hover { box-shadow: var(--shadow-m); transform: translateY(-4px); border-color: transparent; }
.sol-card:hover::before { transform: scaleY(1); }
.sol-card__icon {
  width: 52px; height: 52px; border-radius: 3px; background: rgba(24, 50, 96, .06);
  display: flex; align-items: center; justify-content: center; color: var(--navy); margin-bottom: 22px;
  transition: all .4s var(--ease);
}
.sol-card:hover .sol-card__icon { background: var(--orange); color: #fff; }
.sol-card h3 { font-size: 19px; font-weight: 600; color: var(--ink); }
.sol-card p { margin-top: 12px; font-size: 14px; color: var(--ink-3); line-height: 1.85; }
.sol-card__tags { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.sol-card__tags span { font-size: 12px; color: var(--ink-3); background: var(--bg-soft); padding: 4px 10px; border-radius: 2px; }

/* ==========================================================================
   深色技术专题
   ========================================================================== */
.feature {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(115deg, #08172F 0%, #10254B 60%, #173A72 100%);
}
.feature::after {
  content: ""; position: absolute; right: -180px; top: -120px; width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle, rgba(235, 95, 31, .22), transparent 62%);
}
.feature__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.feature h2 { font-size: 36px; line-height: 1.35; font-weight: 600; }
.feature__list { margin-top: 34px; display: grid; gap: 22px; }
.feature__list li { display: flex; gap: 16px; }
.feature__list .num {
  flex: none; width: 30px; height: 30px; border-radius: 2px; border: 1px solid rgba(255, 255, 255, .28);
  font-size: 13px; display: flex; align-items: center; justify-content: center; color: #FF9A5E;
}
.feature__list strong { display: block; font-size: 16px; font-weight: 500; color: #fff; }
.feature__list span { font-size: 14px; color: rgba(255, 255, 255, .6); }
.feature__panel {
  border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .04);
  border-radius: var(--radius-l); padding: 30px; backdrop-filter: blur(8px);
}
.feature__panel img { width: 100%; border-radius: var(--radius); background: #fff; padding: 18px; }
.feature__metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 22px; }
.feature__metric { border: 1px solid rgba(255, 255, 255, .1); border-radius: 3px; padding: 14px; text-align: center; }
.feature__metric b { display: block; font-size: 22px; color: #FF9A5E; font-weight: 600; }
.feature__metric span { font-size: 12px; color: rgba(255, 255, 255, .58); }

/* ==========================================================================
   我们的优势
   ========================================================================== */
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.adv-item { padding: 44px 36px 8px 0; border-right: 1px solid var(--line); }
.adv-item:last-child { border-right: 0; }
.adv-item:not(:first-child) { padding-left: 36px; }
.adv-item__icon { width: 56px; height: 56px; margin-bottom: 22px; }
.adv-item__icon img { width: 100%; height: 100%; object-fit: contain; }
.adv-item h3 { font-size: 20px; font-weight: 600; color: var(--ink); }
.adv-item p { margin-top: 14px; font-size: 14px; color: var(--ink-3); line-height: 1.9; }

/* ==========================================================================
   新闻
   ========================================================================== */
.news-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 20px; align-items: stretch; }
.news-lead, .news-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; transition: all .4s var(--ease);
}
.news-lead:hover, .news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-m); border-color: transparent; }
.news-lead__media { height: 216px; overflow: hidden; background: var(--bg-soft); }
.news-card__media { height: 140px; overflow: hidden; background: var(--bg-soft); }
.news-lead__media img, .news-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.news-lead:hover img, .news-card:hover img { transform: scale(1.05); }
.news-lead__body, .news-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.news-meta { font-size: 12px; color: var(--ink-4); letter-spacing: .06em; margin-bottom: 10px; }
.news-lead h3 { font-size: 19px; font-weight: 600; color: var(--ink); line-height: 1.55; }
.news-card h3 { font-size: 15px; font-weight: 500; color: var(--ink); line-height: 1.65; }
.news-lead p { margin-top: 12px; font-size: 14px; color: var(--ink-3); line-height: 1.85; }
.news-card .link-more { margin-top: auto; padding-top: 16px; font-size: 13px; }
.news-lead .news-foot { margin-top: auto; padding-top: 16px; }

/* ==========================================================================
   关于我们（深色）
   ========================================================================== */
.about { background: var(--navy-950); color: #fff; position: relative; overflow: hidden; }
.about::before {
  content: ""; position: absolute; inset: 0; opacity: .35;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(800px 420px at 85% 30%, #000, transparent 75%);
  mask-image: radial-gradient(800px 420px at 85% 30%, #000, transparent 75%);
}
.about__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 70px; }
.about p.lead { margin-top: 20px; color: rgba(255, 255, 255, .68); font-size: 15px; line-height: 2; }
.about__honors { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.about__honors span {
  font-size: 13px; color: rgba(255, 255, 255, .78); border: 1px solid rgba(255, 255, 255, .16);
  padding: 6px 13px; border-radius: 2px; transition: all .3s var(--ease);
}
.about__honors span:hover { border-color: var(--orange); color: #fff; background: rgba(235, 95, 31, .14); }
.about__cards { display: grid; gap: 16px; }
.about__card {
  border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); padding: 26px 28px;
  background: rgba(255, 255, 255, .03); transition: all .35s var(--ease);
}
.about__card:hover { background: rgba(255, 255, 255, .06); border-color: rgba(255, 154, 94, .5); transform: translateX(4px); }
.about__card h4 { font-size: 17px; font-weight: 600; color: #fff; display: flex; align-items: center; gap: 10px; }
.about__card h4 i { width: 6px; height: 6px; background: var(--orange); border-radius: 50%; display: block; }
.about__card p { margin-top: 10px; font-size: 14px; color: rgba(255, 255, 255, .58); line-height: 1.85; }

/* ==========================================================================
   合作伙伴
   ========================================================================== */
.partner-strip { display: grid; grid-template-columns: repeat(6, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.partner {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  height: 122px; border-right: 1px solid var(--line); background: #fff;
  transition: all .3s var(--ease); padding: 0 12px; text-align: center;
}
.partner:last-child { border-right: 0; }
.partner b { font-size: 19px; font-weight: 700; color: var(--ink-3); letter-spacing: .04em; transition: color .3s; }
.partner span { font-size: 12px; color: var(--ink-4); }
.partner:hover { background: var(--bg-soft); }
.partner:hover b { color: var(--navy); }

/* ==========================================================================
   联系 / CTA
   ========================================================================== */
.contact-band { background: var(--bg-soft); border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 40px; align-items: start; }
.contact-item { display: flex; gap: 16px; }
.contact-item__icon { flex: none; width: 42px; height: 42px; border-radius: 50%; background: #fff; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--navy); }
.contact-item h4 { font-size: 14px; color: var(--ink-4); font-weight: 400; letter-spacing: .06em; margin-bottom: 2px; }

/* ==========================================================================
   产品搜索浮层
   ========================================================================== */
.search-overlay { position: fixed; inset: 0; z-index: 400; display: none; }
.search-overlay.is-open { display: block; }
.search-overlay__mask { position: absolute; inset: 0; background: rgba(7, 20, 43, .55); backdrop-filter: blur(3px); animation: fadeIn .25s var(--ease); }
.search-overlay__panel {
  position: relative; max-width: 780px; margin: 96px auto 0; background: #fff; border-radius: var(--radius-l);
  box-shadow: var(--shadow-l); overflow: hidden; animation: slideDown .3s var(--ease);
}
.search-overlay__bar { display: flex; align-items: center; gap: 14px; padding: 20px 22px; border-bottom: 1px solid var(--line-2); color: var(--ink-4); }
.search-overlay__bar input {
  flex: 1; border: 0; outline: 0; font-size: 17px; font-family: inherit; color: var(--ink); background: transparent;
}
.search-overlay__hint { padding: 12px 22px 0; font-size: 13px; color: var(--ink-4); }
.search-overlay__results { max-height: 52vh; overflow-y: auto; padding: 14px 14px 18px; }
.search-hit { display: flex; align-items: center; gap: 16px; padding: 12px 14px; border-radius: var(--radius); transition: background .2s; }
.search-hit:hover { background: var(--bg-soft); }
.search-hit img { width: 54px; height: 54px; object-fit: contain; background: #fff; flex: none; }
.search-hit span { flex: 1; min-width: 0; }
.search-hit b { display: block; font-size: 15px; font-weight: 500; color: var(--ink); }
.search-hit i { font-style: normal; font-size: 12px; color: var(--ink-4); }
.search-hit em { font-style: normal; font-size: 13px; color: var(--navy); opacity: 0; transition: opacity .2s; }
.search-hit:hover em { opacity: 1; color: var(--orange); }
.search-empty { padding: 26px 14px 30px; text-align: center; color: var(--ink-4); font-size: 14px; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideDown { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }

@media (max-width: 760px) {
  .search-overlay__panel { margin: 0; border-radius: 0; height: 100%; }
  .search-overlay__results { max-height: none; }
}
.search-overlay__bar input::-webkit-search-cancel-button,
.search-overlay__bar input::-webkit-search-decoration { -webkit-appearance: none; appearance: none; }

/* ==========================================================================
   页脚
   ========================================================================== */
.footer { background: var(--navy-950); color: rgba(255, 255, 255, .58); padding: 72px 0 0; font-size: 14px; }
.footer__top { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr) 1.1fr; gap: 40px; padding-bottom: 54px; }
.footer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.footer__brand img { height: 42px; background: #fff; border-radius: 3px; padding: 4px 6px; }
.footer__brand strong { color: #fff; font-size: 17px; letter-spacing: .06em; }
.footer address { font-style: normal; line-height: 2; }
.footer address a:hover { color: var(--orange); }
.footer h4 { color: #fff; font-size: 15px; font-weight: 500; margin-bottom: 18px; letter-spacing: .04em; }
.footer li { margin-bottom: 11px; }
.footer li a { transition: color .2s, padding-left .25s var(--ease); }
.footer li a:hover { color: #fff; padding-left: 4px; }
.footer__qr { text-align: center; }
.footer__qr img { width: 116px; height: 116px; margin: 0 auto 12px; background: #fff; padding: 6px; border-radius: 3px; }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .08); padding: 22px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13px;
}
.footer__bottom a:hover { color: #fff; }
.footer__links { display: flex; gap: 20px; flex-wrap: wrap; }

/* 回到顶部 */
.to-top {
  position: fixed; right: 26px; bottom: 30px; width: 46px; height: 46px; z-index: 150;
  border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--navy);
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-s);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s var(--ease);
}
.to-top.is-on { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--orange); color: #fff; border-color: var(--orange); }

/* 入场动画 */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .75s var(--ease), transform .75s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1180px) {
  .prod-grid { grid-template-columns: repeat(3, 1fr); }
  .hero__net { right: -160px; opacity: .5; }
  .partner-strip { grid-template-columns: repeat(3, 1fr); }
  .partner { border-bottom: 1px solid var(--line); }
  .partner:nth-child(3n) { border-right: 0; }
  .footer__top { grid-template-columns: 1.4fr 1fr 1fr; row-gap: 40px; }
  .footer__qr { text-align: left; }
  .footer__qr img { margin: 0 0 12px; }
}

@media (max-width: 1024px) {
  .section { padding: 76px 0; }
  .hero h1 { font-size: 42px; }
  .biz-grid { grid-template-columns: 1fr 1fr; }
  .sol-grid { grid-template-columns: 1fr 1fr; }
  .news-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .news-grid > a:nth-child(4) { display: none; }
  .feature__inner { grid-template-columns: 1fr; gap: 44px; }
  .about__inner { grid-template-columns: 1fr; gap: 44px; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .nav-menu { display: none; }
  .nav-toggle { display: inline-flex; }
}

@media (max-width: 760px) {
  .topbar { display: none; }
  :root { --header-h: 60px; --header-offset: 60px; }
  .container { padding: 0 18px; }
  .section { padding: 56px 0; }
  .sec-title { font-size: 26px; }
  .hero { min-height: auto; padding: 62px 0 0; }
  .hero h1 { font-size: 26px; line-height: 1.42; }
  .hero h1 br { display: none; }
  .hero__sub { font-size: 15px; }
  .hero__stats { grid-template-columns: 1fr 1fr; margin-top: 48px; }
  .hero__stat { padding: 20px 0 24px; }
  .hero__stat b { font-size: 26px; }
  .hero__net { display: none; }
  .biz-grid, .sol-grid, .news-grid, .prod-grid, .adv-grid, .contact-grid { grid-template-columns: 1fr; }
  .news-grid > a:nth-child(4) { display: flex; }
  .news-lead { grid-column: span 1; }
  .news-lead__media { height: 190px; }
  .adv-item { border-right: 0; border-bottom: 1px solid var(--line); padding: 32px 0 !important; }
  .adv-item:last-child { border-bottom: 0; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 18px; margin-bottom: 32px; }
  .brand__text { display: none; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .partner-strip { grid-template-columns: 1fr 1fr; }
  .partner:nth-child(3n) { border-right: 1px solid var(--line); }
  .partner:nth-child(2n) { border-right: 0; }
  .btn { height: 44px; padding: 0 24px; }
}

/* 移动端抽屉 */
.mobile-drawer {
  position: fixed; inset: 0; z-index: 300; display: none;
}
.mobile-drawer.is-open { display: block; }
.mobile-drawer__mask { position: absolute; inset: 0; background: rgba(7, 20, 43, .5); }
.mobile-drawer__panel {
  position: absolute; right: 0; top: 0; bottom: 0; width: 84%; max-width: 360px; background: #fff;
  overflow-y: auto; padding: 22px 22px 40px; transform: translateX(100%); transition: transform .3s var(--ease);
}
.mobile-drawer.is-open .mobile-drawer__panel { transform: none; }
.mobile-drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.mobile-nav > li > a, .mobile-nav__group > button {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: 14px 4px; border: 0; background: transparent; border-bottom: 1px solid var(--line-2);
  font-size: 16px; color: var(--ink); text-align: left;
}
.mobile-nav__sub { display: none; padding: 6px 0 10px; }
.mobile-nav__sub.is-open { display: block; }
.mobile-nav__sub a { display: block; padding: 10px 4px 10px 16px; font-size: 14px; color: var(--ink-3); }
.mobile-drawer .btn { width: 100%; margin-top: 22px; }
