/* ==========================================================================
   精衡精密传感 · 前台设计系统
   方向 A：深钢蓝 + 工业橙。深色只用于 Hero / 页脚 / 强调区块，内容区大面积留白。
   约定：8px 间距体系、1px 细线分隔、圆角 4~10px、阴影极轻。
   ========================================================================== */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/inter-latin-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/inter-latin-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* 品牌色 */
  --brand-900: #0B2C46;
  --brand-800: #0F3D5C;
  --brand-700: #13547A;
  --brand-600: #1A6EA3;
  --brand-400: #7FA6C0;
  --brand-100: #DCE8F1;
  --brand-50: #EEF4F9;
  --accent: #F97316;
  --accent-dark: #DE6408;
  --accent-50: #FFF4EA;

  /* 中性色 */
  --ink: #12181F;
  --ink-2: #3C4650;
  --muted: #6B7787;
  --faint: #93A2B1;
  --line: #E3E8EF;
  --line-2: #EFF3F7;
  --bg: #FFFFFF;
  --soft: #F5F7FA;

  /* 尺度 */
  --container: 1200px;
  --r-xs: 3px;
  --r-sm: 5px;
  --r: 8px;
  --r-lg: 12px;
  --sh-1: 0 1px 2px rgba(16, 32, 48, .05);
  --sh-2: 0 1px 3px rgba(16, 32, 48, .06), 0 12px 32px -18px rgba(16, 32, 48, .22);
  --sh-3: 0 24px 60px -30px rgba(11, 44, 70, .38);
  --ease: cubic-bezier(.22, .61, .36, 1);

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB',
    'Microsoft YaHei', 'Noto Sans SC', sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace;
}

*, *::before, *::after { box-sizing: border-box; }

/* hidden 属性必须优先于组件自身的 display，否则挂件初始就是展开的 */
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
/* 移动端抽屉用 transform 移出屏幕会产生横向溢出；clip 不像 hidden 那样
   把 body 变成滚动容器，因此不会破坏页头的 sticky 定位。 */
html, body { overflow-x: clip; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5 {
  color: var(--ink);
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -.012em;
  margin: 0;
}
p { margin: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .18s var(--ease); }
a:hover { color: var(--brand-700); }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
time, em { font-style: normal; }

:focus-visible {
  outline: 2px solid var(--brand-600);
  outline-offset: 2px;
  border-radius: 2px;
}

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--brand-800); color: #fff; padding: 10px 16px; border-radius: 0 0 var(--r) 0;
}
.skip-link:focus { left: 0; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- 图标 ---------- */
.ico { width: 20px; height: 20px; flex: none; }
.ico.flip { transform: scaleX(-1); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 20px;
  border: 1px solid transparent; border-radius: var(--r-sm);
  font-size: 15px; font-weight: 600; letter-spacing: .01em;
  white-space: nowrap; cursor: pointer;
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn .ico { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn--lg { height: 50px; padding: 0 26px; font-size: 16px; }
.btn--sm { height: 36px; padding: 0 14px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--accent { background: var(--accent); color: #fff; box-shadow: 0 1px 2px rgba(224, 100, 8, .25); }
.btn--accent:hover { background: var(--accent-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 6px 18px -6px rgba(224, 100, 8, .5); }
.btn--ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--brand-600); color: var(--brand-700); background: var(--brand-50); }
.btn--ghost-light { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .38); color: #fff; backdrop-filter: blur(6px); }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .18); color: #fff; }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border: 1px solid transparent; border-radius: var(--r-sm);
  background: transparent; color: var(--ink-2); transition: all .18s var(--ease);
}
.icon-btn:hover { background: var(--brand-50); color: var(--brand-700); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--brand-700); font-size: 14px; font-weight: 600;
}
.link-arrow .ico { width: 17px; height: 17px; transition: transform .2s var(--ease); }
.link-arrow:hover { color: var(--accent); }
.link-arrow:hover .ico { transform: translateX(4px); }
.link-arrow--lg { font-size: 15px; }

/* ---------- 标签 ---------- */
.tag {
  display: inline-flex; align-items: center; height: 24px; padding: 0 9px;
  border-radius: var(--r-xs); font-size: 12.5px; font-weight: 600; letter-spacing: .02em;
}
.tag--model { font-family: var(--font-mono); background: var(--brand-50); color: var(--brand-700); border: 1px solid var(--brand-100); }
.tag--soft { background: var(--soft); color: var(--muted); border: 1px solid var(--line); font-weight: 500; }

/* ---------- 顶部信息条 ---------- */
.topbar { background: var(--brand-900); color: rgba(255, 255, 255, .82); font-size: 13.5px; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; height: 40px; gap: 16px; }
.topbar__slogan { letter-spacing: .06em; color: rgba(255, 255, 255, .68); }
.topbar__right { display: flex; align-items: center; gap: 22px; }
.topbar__tel { display: inline-flex; align-items: center; gap: 7px; color: #fff; }
.topbar__tel strong { font-family: var(--font-mono); font-weight: 600; letter-spacing: .03em; }
.topbar__tel .ico { width: 16px; height: 16px; color: var(--accent); }
.topbar__tel:hover { color: var(--accent); }
.topbar__lang {
  padding: 2px 10px; border: 1px solid rgba(255, 255, 255, .3); border-radius: var(--r-xs);
  font-size: 12.5px; letter-spacing: .08em; color: #fff;
}
.topbar__lang:hover { background: rgba(255, 255, 255, .12); color: #fff; }

/* ---------- 头部与导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line-2);
  transition: box-shadow .25s var(--ease);
}
.site-header.is-scrolled { box-shadow: var(--sh-2); }
.header__inner { display: flex; align-items: center; gap: 28px; height: 76px; }

.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand__mark { width: 42px; height: 42px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.25; }
.brand__text strong { font-size: 19px; color: var(--ink); letter-spacing: .01em; }
.brand__text em { font-size: 10.5px; color: var(--faint); letter-spacing: .04em; text-transform: uppercase; max-width: 220px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
/* 抽屉标题栏只在移动端抽屉里出现 */
.nav__drawer-head { display: none; }
.nav__item { position: relative; }
.nav__link {
  display: block; padding: 0 14px; height: 76px; line-height: 76px;
  font-size: 15.5px; font-weight: 500; color: var(--ink-2); white-space: nowrap;
}
.nav__link::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 20px; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav__item:hover .nav__link, .nav__link.is-active { color: var(--brand-800); }
.nav__item:hover .nav__link::after, .nav__link.is-active::after { transform: scaleX(1); }

.megamenu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px);
  width: min(760px, calc(100vw - 48px));
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--sh-3); padding: 24px;
  opacity: 0; visibility: hidden; transition: all .22s var(--ease);
}
.nav__item:hover .megamenu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.megamenu__inner { display: grid; grid-template-columns: 1fr 220px; gap: 24px; }
.megamenu__col h4 { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin-bottom: 12px; font-weight: 600; }
.megamenu__col ul { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 18px; }
.megamenu__col a { display: block; padding: 6px 8px; border-radius: var(--r-xs); font-size: 14.5px; }
.megamenu__col a:hover { background: var(--brand-50); color: var(--brand-700); }
.megamenu__promo { background: var(--soft); border-radius: var(--r-sm); padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.megamenu__promo p { font-size: 13.5px; color: var(--muted); line-height: 1.7; }

.header__actions { display: flex; align-items: center; gap: 10px; flex: none; }
.nav-toggle { display: none; }

.search-panel { border-top: 1px solid var(--line-2); background: #fff; }
.search-panel__form { display: flex; align-items: center; gap: 12px; padding-top: 16px; padding-bottom: 16px; }
.search-panel__form .ico { color: var(--faint); }
.search-panel__form input {
  flex: 1; height: 46px; border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 0 16px; background: var(--soft); transition: all .2s var(--ease);
}
.search-panel__form input:focus { background: #fff; border-color: var(--brand-600); outline: none; box-shadow: 0 0 0 3px var(--brand-50); }

/* ---------- Hero 轮播 ---------- */
.hero { position: relative; height: 600px; overflow: hidden; background: var(--brand-900); }
.hero__slide {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0; inset: 0; opacity: 0; visibility: hidden;
  transition: opacity .8s var(--ease), visibility .8s;
}
.hero__slide.is-active { opacity: 1; visibility: visible; }
.hero__img { position: absolute; top: 0; right: 0; bottom: 0; left: 0; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); }
.hero__scrim {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0; inset: 0;
  background:
    linear-gradient(100deg, rgba(9, 32, 50, .94) 0%, rgba(11, 44, 70, .82) 38%, rgba(15, 61, 92, .42) 68%, rgba(15, 61, 92, .22) 100%),
    linear-gradient(180deg, rgba(11, 44, 70, .3), rgba(11, 44, 70, .55));
}
.hero__content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-bottom: 60px; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--brand-400); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 20px;
}
.hero__eyebrow::before { content: ''; width: 34px; height: 2px; background: var(--accent); }
.hero__title {
  color: #fff; font-size: clamp(30px, 4.2vw, 56px); line-height: 1.16; letter-spacing: -.02em;
  max-width: 16em; margin-bottom: 20px;
}
.hero__sub { color: rgba(255, 255, 255, .78); font-size: clamp(15px, 1.35vw, 18px); max-width: 34em; margin-bottom: 34px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__nav {
  position: absolute; left: 0; right: 0; bottom: 30px; z-index: 3;
  max-width: var(--container); margin: 0 auto; padding: 0 28px;
  display: flex; align-items: center; gap: 18px;
}
.hero__arrow {
  width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%;
  background: rgba(255, 255, 255, .06); color: #fff; backdrop-filter: blur(4px);
  transition: all .2s var(--ease);
}
.hero__arrow:hover { background: var(--accent); border-color: var(--accent); }
.hero__dots { display: flex; gap: 9px; margin-left: auto; margin-right: auto; }
.hero__dot {
  width: 30px; height: 3px; border: 0; border-radius: 2px; padding: 0;
  background: rgba(255, 255, 255, .32); transition: all .3s var(--ease);
  /* 细线本身只有 3px 高，手指点不中：用伪元素把热区撑到 27px，视觉与布局都不变 */
  position: relative;
}
.hero__dot::after { content: ''; position: absolute; top: -12px; right: -4px; bottom: -12px; left: -4px; inset: -12px -4px; }
.hero__dot.is-active { background: var(--accent); width: 46px; }

/* ---------- 数据条（与 Hero 底部重叠）---------- */
.stats-strip { position: relative; z-index: 4; margin-top: -46px; }
.stats-strip__inner {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--sh-2); overflow: hidden;
}
.stat { padding: 26px 24px; text-align: center; border-right: 1px solid var(--line-2); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--font-mono); font-size: 32px; font-weight: 600; color: var(--brand-800); letter-spacing: -.01em; }
.stat span { display: block; margin-top: 2px; font-size: 13.5px; color: var(--muted); }

/* ---------- 区块 ---------- */
.section { padding: 92px 0; }
.section--soft { background: var(--soft); }
.section--tight { padding-top: 56px; }
.section--dark { background: var(--brand-900); color: rgba(255, 255, 255, .8); position: relative; overflow: hidden; }
.section--dark::before {
  content: ''; position: absolute; top: 0; right: 0; bottom: 0; left: 0; inset: 0;
  background-image: linear-gradient(rgba(127, 166, 192, .09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(127, 166, 192, .09) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(circle at 78% 40%, #000 0%, transparent 72%);
}
.section--dark .container { position: relative; }
.section--dark .section__title { color: #fff; }
.section--dark .section__sub { color: rgba(255, 255, 255, .62); }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 46px; }
.section__title { font-size: clamp(24px, 2.4vw, 34px); position: relative; padding-left: 18px; }
.section__title::before {
  content: ''; position: absolute; left: 0; top: .16em; bottom: .16em; width: 4px;
  background: var(--accent); border-radius: 2px;
}
.section__sub { margin-top: 12px; padding-left: 18px; color: var(--muted); font-size: 15px; max-width: 60ch; }
.section__foot { margin-top: 36px; }
.block-title { font-size: 20px; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--line); position: relative; }
.block-title::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 48px; height: 2px; background: var(--accent); }

/* ---------- 网格 ---------- */
.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- 卡片 ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: var(--brand-100); }
.card__media { position: relative; display: block; background: var(--soft); aspect-ratio: 4 / 3; overflow: hidden; }
.card__media--wide { aspect-ratio: 16 / 10; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
/* 产品图要能看全（宽幅照片按 cover 会切掉两端），新闻与案例的配图仍用 cover */
.card--product .card__media img { object-fit: contain; }
.card:hover .card__media img { transform: scale(1.035); }
.pimg { background: linear-gradient(180deg, #F8FAFC, #E9EFF5); }
.card__flag {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--accent); color: #fff; font-size: 12px; font-weight: 600;
  padding: 3px 9px; border-radius: var(--r-xs); letter-spacing: .02em;
}
.card__flag--soft { background: rgba(11, 44, 70, .82); backdrop-filter: blur(4px); }
.card__body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.card__cat { font-size: 12.5px; color: var(--faint); }
.card__title { font-size: 16.5px; line-height: 1.5; }
.card__title a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__desc {
  color: var(--muted); font-size: 14px; line-height: 1.72; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card__date { font-family: var(--font-mono); font-size: 13px; color: var(--faint); letter-spacing: .02em; }
.card__foot { margin-top: 2px; }
.card__client { font-size: 13px; color: var(--faint); }

/* 分类卡 */
.card--cat { padding: 26px 22px 22px; gap: 12px; display: flex; flex-direction: column; }
.card--cat__icon {
  width: 52px; height: 52px; border-radius: var(--r-sm); background: var(--brand-50); color: var(--brand-700);
  display: inline-flex; align-items: center; justify-content: center;
  transition: all .25s var(--ease);
}
.cat-ico { width: 26px; height: 26px; }
.card--cat:hover .card--cat__icon { background: var(--brand-800); color: #fff; }
.card--cat__title { font-size: 17px; }
.card--cat__desc {
  color: var(--muted); font-size: 13.5px; line-height: 1.7; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.card--cat__more { font-size: 13.5px; font-weight: 600; color: var(--brand-700); display: inline-flex; align-items: center; gap: 6px; }
.card--cat__more .ico { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.card--cat:hover .card--cat__more { color: var(--accent); }
.card--cat:hover .card--cat__more .ico { transform: translateX(4px); }

/* ---------- 图文分栏 ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split__media { position: relative; border-radius: var(--r); overflow: hidden; box-shadow: var(--sh-2); }
.split__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split__badge {
  position: absolute; left: 20px; bottom: 20px;
  background: rgba(255, 255, 255, .95); backdrop-filter: blur(6px);
  border-radius: var(--r-sm); padding: 12px 18px; box-shadow: var(--sh-1);
  display: flex; flex-direction: column;
}
.split__badge strong { font-family: var(--font-mono); font-size: 17px; color: var(--brand-800); }
.split__badge span { font-size: 12.5px; color: var(--muted); }
.split__body .section__head { margin-bottom: 26px; }
.cap-list { display: flex; flex-direction: column; gap: 20px; margin-bottom: 30px; }
.cap-list li { display: flex; gap: 14px; }
.cap-list__ico {
  width: 28px; height: 28px; flex: none; border-radius: 50%;
  background: var(--accent-50); color: var(--accent); display: inline-flex; align-items: center; justify-content: center;
}
.cap-list__ico .ico { width: 16px; height: 16px; }
.cap-list strong { display: block; color: var(--ink); font-size: 15.5px; margin-bottom: 2px; }
.cap-list p { font-size: 14px; color: var(--muted); line-height: 1.72; }

/* ---------- 行业标签 ---------- */
.chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.chip {
  display: flex; align-items: center; gap: 12px;
  padding: 18px 20px; border: 1px solid rgba(127, 166, 192, .28); border-radius: var(--r-sm);
  color: rgba(255, 255, 255, .9); font-size: 15px;
  transition: all .25s var(--ease);
}
.chip span { font-family: var(--font-mono); font-size: 12px; color: var(--brand-400); letter-spacing: .06em; }
.chip:hover { background: rgba(127, 166, 192, .12); border-color: var(--brand-400); transform: translateY(-2px); }

/* ---------- CTA 条 ---------- */
.cta-band { background: linear-gradient(120deg, var(--brand-800), var(--brand-700) 60%, #175E85); color: #fff; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 52px 28px; }
.cta-band h2 { color: #fff; font-size: clamp(21px, 2vw, 28px); margin-bottom: 8px; }
.cta-band p { color: rgba(255, 255, 255, .74); font-size: 15px; max-width: 56ch; }
.cta-band__actions { display: flex; align-items: center; gap: 24px; flex: none; }
.cta-band__tel { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-family: var(--font-mono); font-size: 19px; font-weight: 600; letter-spacing: .02em; }
.cta-band__tel .ico { color: var(--accent); }
.cta-band__tel:hover { color: var(--accent); }

/* ---------- 内页头部与面包屑 ---------- */
.page-hero {
  position: relative; background: var(--brand-900); color: #fff; overflow: hidden;
  padding: 62px 0 54px;
}
.page-hero--img::after {
  content: ''; position: absolute; top: 0; right: 0; bottom: 0; left: 0; inset: 0;
  background: linear-gradient(100deg, rgba(9, 32, 50, .95) 0%, rgba(11, 44, 70, .88) 45%, rgba(15, 61, 92, .72) 100%);
}
.page-hero__bg { position: absolute; top: 0; right: 0; bottom: 0; left: 0; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero__inner { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: clamp(26px, 2.8vw, 38px); letter-spacing: -.015em; margin-bottom: 12px; max-width: 22em; }
.page-hero p { color: rgba(255, 255, 255, .76); font-size: 15.5px; max-width: 68ch; }
.page-hero--404 { padding: 110px 0; text-align: center; }
.page-hero--404 .page-hero__inner { display: flex; flex-direction: column; align-items: center; }
.nf__code { font-family: var(--font-mono); font-size: 84px; font-weight: 600; color: rgba(255, 255, 255, .12); line-height: 1; margin-bottom: 8px; }
.page-hero--404 h1 { margin-bottom: 10px; }
.page-hero--404 .hero__actions { margin-top: 28px; justify-content: center; }

.crumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255, 255, 255, .6); margin-bottom: 18px; flex-wrap: wrap; }
.crumb a { color: rgba(255, 255, 255, .72); }
.crumb a:hover { color: #fff; }
/* 面包屑链接只有 26×23，手机上偏小：伪元素把热区撑到 39px 高，不影响视觉排布 */
.crumb a { position: relative; }
.crumb a::after { content: ''; position: absolute; top: -9px; right: -6px; bottom: -9px; left: -6px; inset: -9px -6px; }
.crumb__sep { opacity: .45; }
.crumb__cur { color: var(--accent); }

/* ---------- 列表页 ---------- */
.listing { display: grid; grid-template-columns: 268px 1fr; gap: 40px; padding-top: 56px; padding-bottom: 92px; }
.listing--wide { grid-template-columns: 1fr; }
.listing__side { display: flex; flex-direction: column; gap: 22px; align-self: start; position: sticky; top: 96px; }
.side-block { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #fff; }
.side-block__title { font-size: 15px; padding: 16px 18px; border-bottom: 1px solid var(--line-2); background: var(--soft); }
.side-nav { display: flex; flex-direction: column; }
.side-nav a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 18px; font-size: 14.5px; border-left: 3px solid transparent; border-bottom: 1px solid var(--line-2);
  transition: all .18s var(--ease);
}
.side-nav a:last-child { border-bottom: 0; }
.side-nav a span { font-family: var(--font-mono); font-size: 12px; color: var(--faint); }
.side-nav a:hover { background: var(--brand-50); color: var(--brand-700); }
.side-nav a.is-active { border-left-color: var(--accent); background: var(--brand-50); color: var(--brand-800); font-weight: 600; }
.side-nav__all { font-weight: 600; }
.side-block--cta { padding: 20px 18px; background: var(--brand-900); border-color: var(--brand-900); color: rgba(255, 255, 255, .76); display: flex; flex-direction: column; gap: 12px; }
.side-block--cta h3 { color: #fff; font-size: 16px; }
.side-block--cta p { font-size: 13.5px; line-height: 1.7; }
.side-block--cta .btn { gap: 8px; }
.side-block--cta .btn--ghost { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .28); color: #fff; }
.side-block--cta .btn--ghost:hover { background: rgba(255, 255, 255, .16); color: #fff; }

.listing__main { min-width: 0; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 18px; margin-bottom: 26px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.toolbar__count { font-size: 14px; color: var(--muted); }
.toolbar__count strong { color: var(--brand-800); font-family: var(--font-mono); font-size: 16px; }
.toolbar__sort { display: flex; gap: 4px; }
.toolbar__sort a { padding: 6px 12px; font-size: 13.5px; border-radius: var(--r-xs); color: var(--muted); }
.toolbar__sort a:hover { background: var(--soft); color: var(--brand-700); }
.toolbar__sort a.is-active { background: var(--brand-800); color: #fff; }

.pager { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 46px; flex-wrap: wrap; }
.page__num {
  min-width: 40px; height: 40px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: var(--r-sm); font-size: 14px; font-family: var(--font-mono); color: var(--ink-2);
  transition: all .18s var(--ease);
}
.page__num:hover { border-color: var(--brand-600); color: var(--brand-700); }
.page__num.is-current { background: var(--brand-800); border-color: var(--brand-800); color: #fff; }
.page__num--nav { font-family: var(--font-sans); padding: 0 16px; }
.page__gap { padding: 0 4px; color: var(--faint); }
.empty { text-align: center; padding: 70px 20px; border: 1px dashed var(--line); border-radius: var(--r); color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 18px; }

/* ---------- 产品详情 ---------- */
.detail { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 54px; padding-top: 56px; }
.detail__stage { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--soft); }
.detail__stage img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #fff; }
.detail__thumbs { display: flex; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.detail__thumb {
  width: 84px; height: 64px; padding: 0; border: 1px solid var(--line); border-radius: var(--r-xs);
  overflow: hidden; background: #fff; transition: all .18s var(--ease);
}
.detail__thumb img { width: 100%; height: 100%; object-fit: contain; }
.detail__thumb.is-active { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-50); }
.detail__meta { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.detail__title { font-size: clamp(22px, 2.3vw, 30px); margin-bottom: 14px; }
.detail__summary { color: var(--muted); font-size: 15.5px; line-height: 1.8; margin-bottom: 26px; }
.quick-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; margin-bottom: 28px; }
.quick-specs li { background: #fff; padding: 14px 16px; }
.quick-specs span { display: block; font-size: 12.5px; color: var(--faint); margin-bottom: 3px; }
.quick-specs strong { font-family: var(--font-mono); font-size: 14.5px; color: var(--brand-800); font-weight: 600; }
.detail__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 26px; }
.detail__assure { display: flex; flex-direction: column; gap: 10px; padding-top: 24px; border-top: 1px solid var(--line); }
.detail__assure li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.detail__assure .ico { width: 17px; height: 17px; color: var(--accent); }
.detail__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 54px; align-items: start; }

.spec-table { width: 100%; border-collapse: collapse; border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; }
.spec-table th, .spec-table td { padding: 13px 16px; font-size: 14.5px; text-align: left; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.spec-table th { width: 40%; background: var(--soft); color: var(--ink-2); font-weight: 500; }
.spec-table td { font-family: var(--font-mono); color: var(--brand-800); font-size: 14px; }
.spec-table tr.is-alt td, .spec-table tr.is-alt th { background: #FBFCFE; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }

/* ---------- 正文排版 ---------- */
.prose { color: var(--ink-2); font-size: 15.5px; line-height: 1.9; }
.prose > * + * { margin-top: 18px; }
.prose h3 { font-size: 18px; margin-top: 34px; padding-left: 14px; position: relative; }
.prose h3::before { content: ''; position: absolute; left: 0; top: .22em; bottom: .22em; width: 3px; background: var(--accent); border-radius: 2px; }
.prose h4 { font-size: 16px; margin-top: 26px; }
.prose ul, .prose ol { padding-left: 22px; list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-top: 8px; }
.prose li::marker { color: var(--brand-400); }
.prose a { color: var(--brand-700); border-bottom: 1px solid var(--brand-100); }
.prose a:hover { color: var(--accent); border-color: var(--accent); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose img { border-radius: var(--r-sm); margin: 24px 0; }
.prose table { width: 100%; border-collapse: collapse; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; font-size: 14.5px; }
.prose blockquote { border-left: 3px solid var(--brand-100); padding: 4px 0 4px 18px; color: var(--muted); }
.prose--tight { font-size: 14.5px; }

/* ---------- 文章 ---------- */
.article { max-width: 860px; padding-top: 46px; padding-bottom: 84px; }
.article--page { max-width: 820px; }
.article__head { margin-bottom: 26px; }
.article__meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 13.5px; color: var(--faint); }
.article__meta time { font-family: var(--font-mono); }
.article__meta > * + *::before { content: '·'; margin-right: 14px; color: var(--line); }
.article__cover { margin: 0 0 34px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.article__cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.article__nav {
  display: flex; justify-content: space-between; gap: 20px; margin-top: 54px; padding-top: 26px;
  border-top: 1px solid var(--line); font-size: 14.5px;
}
.article__nav a { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); max-width: 46%; }
.article__nav a:hover { color: var(--brand-700); }
.article__nav .ico { width: 16px; height: 16px; flex: none; }
.article__back { margin-top: 34px; }
.article__views { font-family: var(--font-mono); }

/* ---------- 联系页 ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; padding-top: 56px; padding-bottom: 92px; }
.contact__info { display: flex; flex-direction: column; gap: 30px; }
.info-list { display: flex; flex-direction: column; gap: 22px; }
.info-list li { display: flex; gap: 14px; }
.info-list .ico { width: 22px; height: 22px; color: var(--brand-600); margin-top: 3px; }
.info-list span { display: block; font-size: 12.5px; color: var(--faint); letter-spacing: .04em; }
.info-list strong { display: block; font-size: 16px; color: var(--ink); font-weight: 600; line-height: 1.6; }
.info-list strong + em { display: block; font-family: var(--font-mono); font-size: 14px; color: var(--muted); }
.map-card {
  position: relative; display: block; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
  min-height: 190px; background: var(--brand-50); transition: all .25s var(--ease);
}
.map-card__grid {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0; inset: 0;
  background-image: linear-gradient(rgba(15, 61, 92, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(15, 61, 92, .08) 1px, transparent 1px);
  background-size: 32px 32px;
}
.map-card__pin { position: absolute; right: 26px; top: 50%; transform: translateY(-50%); color: var(--accent); }
.map-card__pin .ico { width: 42px; height: 42px; }
.map-card__text { position: relative; padding: 26px; display: flex; flex-direction: column; gap: 5px; max-width: 66%; }
.map-card__text strong { font-size: 16px; color: var(--ink); }
.map-card__text em { font-size: 13.5px; color: var(--muted); line-height: 1.65; }
.map-card:hover { border-color: var(--brand-600); box-shadow: var(--sh-2); }

/* ---------- 表单 ---------- */
.form { display: flex; flex-direction: column; gap: 20px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field > span { font-size: 13.5px; color: var(--ink-2); font-weight: 500; }
.field > span i { color: var(--accent); font-style: normal; }
.field input, .field textarea, .field select {
  width: 100%; border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 12px 14px; background: #fff; font-size: 15px; transition: all .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; line-height: 1.7; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--brand-600); box-shadow: 0 0 0 3px var(--brand-50);
}
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.form__product { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--brand-50); border: 1px solid var(--brand-100); border-radius: var(--r-sm); font-size: 14px; }
.form__product span { color: var(--muted); }
.form__product strong { color: var(--brand-800); }
.form__foot { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.form__hint { font-size: 13px; color: var(--faint); flex: 1; min-width: 200px; line-height: 1.7; }
.form__msg { font-size: 14px; min-height: 22px; }
.form__msg.is-ok { color: #15803D; }
.form__msg.is-err { color: #C2410C; }

.inquiry { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
.inquiry__intro h2 { font-size: clamp(22px, 2.1vw, 28px); margin-bottom: 14px; }
.inquiry__intro > p { color: var(--muted); margin-bottom: 30px; }
.section--form { background: var(--soft); }

/* ---------- 招聘 ---------- */
.jobs { max-width: 940px; padding-top: 46px; padding-bottom: 92px; }
.job { border: 1px solid var(--line); border-radius: var(--r); background: #fff; margin-bottom: 14px; overflow: hidden; transition: all .2s var(--ease); }
.job[open] { border-color: var(--brand-100); box-shadow: var(--sh-2); }
.job summary {
  list-style: none; cursor: pointer; padding: 22px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.job summary::-webkit-details-marker { display: none; }
.job__head { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.job__head h3 { font-size: 17.5px; }
.job__tags { display: flex; gap: 8px; flex-wrap: wrap; }
.job__toggle { color: var(--faint); transition: transform .25s var(--ease); }
.job[open] .job__toggle { transform: rotate(90deg); color: var(--accent); }
.job__body { padding: 4px 24px 26px; border-top: 1px solid var(--line-2); margin-top: -1px; }
.job__body .prose { padding-top: 20px; font-size: 15px; }
.job__apply { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line-2); font-size: 14px; color: var(--muted); }
.job__apply a { color: var(--brand-700); font-family: var(--font-mono); }

/* ---------- 站点地图 ---------- */
.sitemap { padding-top: 56px; padding-bottom: 92px; }
.sitemap__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.sm-col h3 { font-size: 16px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--line); position: relative; }
.sm-col h3::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 40px; height: 2px; background: var(--accent); }
.sm-col li { margin-bottom: 9px; font-size: 14.5px; }
.sm-col a { color: var(--muted); }
.sm-col a:hover { color: var(--brand-700); }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--brand-900); color: rgba(255, 255, 255, .68); font-size: 14.5px; }
.footer__main { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; padding: 68px 28px 52px; }
.footer__brand .brand__mark { margin-bottom: 18px; }
.footer__brand h3 { color: #fff; font-size: 17px; margin-bottom: 12px; }
.footer__brand p { color: rgba(255, 255, 255, .6); line-height: 1.8; font-size: 14px; max-width: 34em; }
.footer__contact { margin-top: 22px; display: flex; flex-direction: column; gap: 11px; }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact .ico { width: 17px; height: 17px; color: var(--accent); margin-top: 3px; flex: none; }
.footer__contact a { color: rgba(255, 255, 255, .82); font-family: var(--font-mono); }
.footer__contact a:hover { color: var(--accent); }
.footer__col h4 { color: #fff; font-size: 15px; margin-bottom: 18px; }
.footer__col li { margin-bottom: 10px; }
.footer__col a { color: rgba(255, 255, 255, .64); }
.footer__col a:hover { color: #fff; }
.footer__qr { width: 116px; height: 116px; border-radius: var(--r-sm); background: #fff; padding: 6px; object-fit: contain; }
.footer__qr-ph {
  width: 116px; height: 116px; border: 1px dashed rgba(255, 255, 255, .28); border-radius: var(--r-sm);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center;
  font-size: 12px; color: rgba(255, 255, 255, .5); padding: 10px;
}
.footer__qr-ph .ico { width: 22px; height: 22px; color: var(--accent); }
.footer__col--qr span { display: block; margin-top: 10px; font-size: 12.5px; color: rgba(255, 255, 255, .5); }
.footer__hours { margin-top: 16px; }
.footer__hours li { display: flex; gap: 8px; align-items: center; font-size: 13px; color: rgba(255, 255, 255, .58); }
.footer__hours .ico { width: 15px; height: 15px; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); }
.footer__bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 20px; padding-bottom: 20px; font-size: 13px; color: rgba(255, 255, 255, .48); flex-wrap: wrap; }
.footer__icp { display: flex; gap: 20px; }
.footer__icp a { color: rgba(255, 255, 255, .48); }
.footer__icp a:hover { color: rgba(255, 255, 255, .8); }

/* ---------- 在线客服挂件 ---------- */
.chat { position: fixed; right: 24px; bottom: 24px; z-index: 120; }
.chat__bubble {
  position: relative; width: 58px; height: 58px; border: 0; border-radius: 50%;
  background: var(--brand-800); color: #fff; box-shadow: 0 10px 30px -8px rgba(11, 44, 70, .55);
  display: flex; align-items: center; justify-content: center;
  transition: all .25s var(--ease);
}
.chat__bubble .ico { width: 26px; height: 26px; }
.chat__bubble:hover { background: var(--brand-700); transform: translateY(-2px); }
.chat__bubble.is-open { background: var(--accent); }
.chat__badge {
  position: absolute; top: -3px; right: -3px; min-width: 20px; height: 20px; padding: 0 5px;
  background: var(--accent); border: 2px solid #fff; border-radius: 10px;
  font-size: 11.5px; font-weight: 600; display: flex; align-items: center; justify-content: center;
}
.chat__panel {
  position: absolute; right: 0; bottom: 72px; width: 384px; max-width: calc(100vw - 32px);
  height: 560px; max-height: calc(100vh - 130px);
  background: #fff; border-radius: var(--r-lg); box-shadow: var(--sh-3);
  display: flex; flex-direction: column; overflow: hidden;
  animation: chat-in .28s var(--ease);
}
@keyframes chat-in { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.chat__head {
  background: var(--brand-800); color: #fff; padding: 16px 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.chat__head-main { display: flex; align-items: center; gap: 12px; }
.chat__avatar {
  width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .14);
  display: inline-flex; align-items: center; justify-content: center; flex: none;
}
.chat__head strong { display: block; font-size: 15px; }
.chat__status { font-size: 12px; color: rgba(255, 255, 255, .7); display: flex; align-items: center; gap: 6px; }
.chat__status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--faint); }
.chat__status.is-online::before { background: #34D399; }
.chat__head .icon-btn { color: rgba(255, 255, 255, .8); }
.chat__head .icon-btn:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.chat__log { flex: 1; overflow-y: auto; padding: 18px; background: var(--soft); display: flex; flex-direction: column; gap: 14px; }
.chat__log::-webkit-scrollbar { width: 6px; }
.chat__log::-webkit-scrollbar-thumb { background: #CFD8E0; border-radius: 3px; }
.msg { display: flex; flex-direction: column; max-width: 82%; }
.msg__body { padding: 10px 14px; border-radius: 10px; font-size: 14.5px; line-height: 1.65; word-break: break-word; }
.msg__time { font-size: 11.5px; color: var(--faint); margin-top: 5px; font-family: var(--font-mono); }
.msg--agent { align-self: flex-start; }
.msg--agent .msg__body { background: #fff; border: 1px solid var(--line); border-top-left-radius: 3px; color: var(--ink-2); }
.msg--me { align-self: flex-end; align-items: flex-end; }
.msg--me .msg__body { background: var(--brand-800); color: #fff; border-top-right-radius: 3px; }
.msg--system { align-self: center; max-width: 100%; }
.msg--system .msg__body { background: rgba(15, 61, 92, .07); color: var(--muted); font-size: 13px; border-radius: 20px; padding: 7px 14px; }
.msg__img { max-width: 220px; border-radius: var(--r-sm); border: 1px solid var(--line); }
.chat__presets { display: flex; gap: 8px; padding: 12px 14px 0; flex-wrap: wrap; background: #fff; }
.chat__preset {
  border: 1px solid var(--brand-100); background: var(--brand-50); color: var(--brand-700);
  font-size: 12.5px; padding: 6px 11px; border-radius: 20px; transition: all .18s var(--ease);
}
.chat__preset:hover { background: var(--brand-800); border-color: var(--brand-800); color: #fff; }
.chat__form { display: flex; align-items: flex-end; gap: 10px; padding: 14px; background: #fff; border-top: 1px solid var(--line-2); }
.chat__form textarea {
  flex: 1; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 10px 12px;
  resize: none; max-height: 96px; font-size: 14.5px; line-height: 1.6; background: var(--soft);
}
.chat__form textarea:focus { outline: none; background: #fff; border-color: var(--brand-600); }

/* ---------- 返回顶部 ---------- */
.to-top {
  position: fixed; right: 24px; bottom: 96px; z-index: 110;
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line);
  background: #fff; color: var(--ink-2); box-shadow: var(--sh-2);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all .25s var(--ease);
}
.to-top.is-show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--brand-800); border-color: var(--brand-800); color: #fff; }

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

/* ---------- 响应式 ---------- */
@media (max-width: 1180px) {
  .nav { gap: 0; }
  .nav__link { padding: 0 10px; font-size: 15px; }
  .grid--4 { grid-template-columns: repeat(3, 1fr); }
  .chips { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
  /* 抽屉是 position:fixed，而页头上的 backdrop-filter 会成为 fixed 子元素的包含块，
     抽屉于是被压成页头那一条（实测 335×76，菜单项全被裁掉）。移动端去掉毛玻璃即可：
     页头底色本来就有 96% 不透明度，观感几乎无差别；桌面端保留毛玻璃，不受影响。 */
  .site-header { backdrop-filter: none; }
  .nav {
    position: fixed; top: 0; right: 0; bottom: 0; left: auto; inset: 0 0 0 auto; width: min(400px, 86vw); z-index: 130;
    background: #fff; flex-direction: column; align-items: stretch; gap: 0;
    padding: 0 0 40px; overflow-y: auto; overscroll-behavior: contain;
    box-shadow: -20px 0 60px -30px rgba(11, 44, 70, .5);
    transform: translateX(100%); transition: transform .3s var(--ease);
  }
  .nav.is-open { transform: none; }
  /* 抽屉自带标题栏，遮住页头时仍有明确的关闭入口 */
  .nav__drawer-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 18px; border-bottom: 1px solid var(--line-2);
    position: sticky; top: 0; background: #fff; z-index: 2;
  }
  .nav__drawer-title { display: flex; align-items: center; gap: 10px; }
  .nav__drawer-title .brand__mark { width: 30px; height: 30px; }
  .nav__drawer-title strong { font-size: 15px; color: var(--ink); }
  .nav__link { height: auto; line-height: 1.5; padding: 15px 26px; border-bottom: 1px solid var(--line-2); font-size: 16px; }
  .nav__link::after { display: none; }
  .nav__link.is-active { background: var(--brand-50); color: var(--brand-800); font-weight: 600; }
  .megamenu { position: static; transform: none; width: auto; opacity: 1; visibility: visible; box-shadow: none; border: 0; border-radius: 0; padding: 0 26px 18px; }
  /* 触屏点过之后 :hover 会粘在导航项上，而桌面的 .nav__item:hover .megamenu（两个类 + 伪类）
     比上面这条 .megamenu（一个类）优先级高，会把抽屉里的二级菜单左移半个身位、左边一列被裁掉。
     移动端把这两个状态一起钉死，桌面端不受影响。 */
  .nav__item:hover .megamenu, .nav__item:focus-within .megamenu { transform: none; }
  .megamenu__inner { grid-template-columns: 1fr; gap: 16px; }
  .megamenu__col h4 { display: none; }
  .megamenu__col ul { grid-template-columns: 1fr 1fr; }
  .megamenu__col a { padding: 8px 0; font-size: 14px; color: var(--muted); }
  .nav-toggle { display: inline-flex; }
  .listing { grid-template-columns: 1fr; gap: 28px; padding-top: 36px; }
  .listing__side { position: static; }
  .side-nav { flex-direction: row; flex-wrap: wrap; padding: 8px; gap: 6px; }
  .side-nav a { padding: 8px 12px; border: 1px solid var(--line); border-left-width: 1px; border-radius: var(--r-xs); border-bottom: 1px solid var(--line) !important; font-size: 14px; }
  .side-nav a.is-active { border-color: var(--brand-800); background: var(--brand-800); color: #fff; }
  .side-nav a span { margin-left: 6px; }
  .side-block--cta { display: none; }
  .detail, .detail__body, .contact, .inquiry, .split { grid-template-columns: 1fr; gap: 36px; }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer__main { grid-template-columns: 1fr 1fr; gap: 36px; padding-top: 52px; }
  .sitemap__grid { grid-template-columns: repeat(2, 1fr); }
  .cta-band__inner { flex-direction: column; align-items: flex-start; gap: 26px; padding: 44px 28px; }
  .section { padding: 68px 0; }
}

@media (max-width: 720px) {
  .container { padding: 0 18px; }
  .topbar__slogan { display: none; }
  .topbar__inner { justify-content: flex-end; }
  .brand__text em { display: none; }
  .header__cta { display: none; }
  .hero { height: 520px; }
  .hero__content { padding-bottom: 84px; }
  /* 数据条以 -34px 压住 hero 底部，圆点若还按 22px 会被它盖住（手机端箭头是隐藏的，
     圆点就等于没了）；抬到 48px，落在数据条上方 14px 处 */
  .hero__nav { bottom: 48px; padding: 0 18px; }
  .hero__arrow { display: none; }
  .hero__dots { margin: 0 auto; }
  .stats-strip { margin-top: -34px; }
  .stats-strip__inner { grid-template-columns: 1fr 1fr; }
  .stat { padding: 18px 14px; border-bottom: 1px solid var(--line-2); }
  .stat:nth-child(2n) { border-right: 0; }
  .stat:nth-child(3), .stat:nth-child(4) { border-bottom: 0; }
  .stat strong { font-size: 25px; }
  .section { padding: 52px 0; }
  .section__head { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 32px; }
  .grid--2, .grid--3, .grid--4, .grid--cats { grid-template-columns: 1fr; gap: 16px; }
  .chips { grid-template-columns: 1fr 1fr; }
  .chip { padding: 14px; font-size: 14px; }
  .quick-specs { grid-template-columns: 1fr; }
  .form__grid { grid-template-columns: 1fr; }
  .footer__main { grid-template-columns: 1fr; gap: 32px; }
  /* 触屏上卡片只有标题和「查看详情」两处细链接可点，空白处点了没反应、很容易点空。
     卡内所有链接本来就指向同一目标，所以让标题链接铺满整张卡（桌面端维持原样）。 */
  .card--news, .card--product { position: relative; }
  .card__title a::after { content: ''; position: absolute; top: 0; right: 0; bottom: 0; left: 0; inset: 0; z-index: 1; }

  /* 页脚文字链的热区只有 17px 高，手机上容易点空：撑到 27px，行距略收紧保持观感 */
  .footer__col a, .footer__icp a { display: inline-block; padding: 5px 0; }
  .footer__col li { margin-bottom: 6px; }
  .footer__bottom-inner { flex-direction: column; align-items: flex-start; }
  .page-hero { padding: 42px 0 36px; }
  .article, .jobs, .sitemap, .contact, .listing { padding-top: 30px; padding-bottom: 60px; }
  .article__nav { flex-direction: column; gap: 14px; }
  .article__nav a { max-width: 100%; }
  .chat { right: 14px; bottom: 14px; }
  .chat__panel { position: fixed; right: 0; left: 0; bottom: 0; width: 100%; height: 78vh; max-width: 100%; border-radius: var(--r-lg) var(--r-lg) 0 0; }
  .to-top { right: 14px; bottom: 84px; width: 40px; height: 40px; }
  .split__badge { left: 12px; bottom: 12px; padding: 10px 14px; }
  .map-card__pin { right: 16px; }
}

/* ---------- 老内核兜底 ----------
   Chromium 86（360 极速浏览器 13 的内核）缺三样新特性：inset（Chrome 87）、
   aspect-ratio（Chrome 88）、overflow: clip（Chrome 90）。inset 已经在用到的地方
   就地写了 top/right/bottom/left 长写；下面两处用 @supports 做降级。 */
@supports not (aspect-ratio: 4 / 3) {
  /* 没有 aspect-ratio 时卡片图容器高度会塌成 0，用 padding-top 按比例撑开，
     图片绝对定位铺满（.card__media 本身是 position: relative）。 */
  .card__media { height: 0; padding-top: 75%; }        /* 4:3 */
  .card__media--wide { padding-top: 62.5%; }           /* 16:10 */
  .card__media img { position: absolute; top: 0; right: 0; bottom: 0; left: 0; }
}
@supports not (overflow: clip) {
  /* 抽屉用 transform 移出屏幕会造成横向溢出。只给根元素上 hidden、不动 body：
     body 一旦成为滚动容器，页头的 sticky 会失效。 */
  html { overflow-x: hidden; }
}

/* ---------- 打印 ---------- */
@media print {
  .site-header, .topbar, .chat, .to-top, .cta-band, .site-footer { display: none; }
  body { color: #000; font-size: 12pt; }
  .page-hero { background: #fff; color: #000; padding: 0 0 20px; }
  .page-hero h1, .page-hero p { color: #000; }
  .spec-table th, .spec-table td { color: #000; }
}
