/* ============================================================
   合肥芯仪科技有限公司 官网 - 全局样式
   设计基调：简约 / 大气 / 留白充足 / 企业级蓝
   ============================================================ */

:root {
  --brand: #0b57a4;
  --brand-dark: #08427e;
  --brand-light: #eaf2fc;
  --brand-2: #2e8bff;
  --ink: #0f172a;
  --body: #475569;
  --muted: #7b8794;
  --line: #e6eaf0;
  --line-soft: #f0f3f7;
  --bg-soft: #f6f8fb;
  --white: #fff;
  --danger: #dc2626;
  --success: #16a34a;
  --warn: #d97706;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
  --shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.12);
  /* 版心宽度 —— 2026-10-10 客户反馈修复：2K 屏上 banner 文字「往中间缩」。
     根因：容器固定 1200px 居中，屏幕越宽左右留白越大，文字左缘被推向中间
     （实测标题左缘 1920→384、2048→448、2560→704）。
     规则：≤1920 视口保持 1200px（原有观感完全不变）；
     1920~2280 之间随视口线性放宽，左右边距恒为 360px —— 文字左缘固定不漂；
     超过 2280 封顶 1560px，避免正文行长过宽。
     实测：2048 视口（2K@125%）标题左缘 384px，与 1920 完全一致。 */
  --maxw: clamp(1200px, 100vw - 720px, 1560px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  /* 中英文字体统一（参考 x-phor.com）：中文用微软雅黑，英文同族回退 */
  font-family: "Microsoft YaHei", "微软雅黑", "PingFang SC", "Hiragino Sans GB",
    "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--body);
  background: var(--white);
  line-height: 1.75;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 { color: var(--ink); margin: 0 0 16px; line-height: 1.35; font-weight: 700; }
h1 { font-size: 44px; letter-spacing: -0.5px; }
h2 { font-size: 32px; }
h3 { font-size: 20px; }
h4 { font-size: 16px; }
p { margin: 0 0 14px; }
a { color: var(--brand); text-decoration: none; transition: color .2s; }
a:hover { color: var(--brand-dark); }
img { max-width: 100%; display: block; }
ul { margin: 0 0 14px; padding-left: 20px; }

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

/* ------------------------------ 按钮 ------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 44px; padding: 0 22px; border-radius: 999px;
  font-size: 14px; font-weight: 600; border: 1px solid transparent;
  cursor: pointer; transition: all .2s ease; white-space: nowrap; font-family: inherit;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(11, 87, 164, .22); }
.btn-primary:hover { background: var(--brand-dark); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-outline-light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.4); }
.btn-outline-light:hover { background: #fff; color: var(--brand); }
.btn-link { background: none; border: none; color: var(--muted); padding: 0 4px; height: auto; }
.btn-link:hover { color: var(--danger); }
.btn-sm { height: 34px; padding: 0 14px; font-size: 13px; }
.btn-danger { background: #fff; color: var(--danger); border-color: #fecaca; }
.btn-danger:hover { background: var(--danger); color: #fff; border-color: var(--danger); }
.btn:disabled { opacity: .55; cursor: not-allowed; }

/* ------------------------------ 顶部导航 ------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
/* position: relative —— 页眉下拉面板（宽幅通栏）以它为定位基准，
   这样面板能横跨整个内容宽度（1200 容器 − 48 padding），而不是只有导航文字那么宽 */
.header-inner { display: flex; align-items: center; gap: 30px; height: 84px; position: relative; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); flex: none; }
.logo:hover { color: var(--ink); }
.logo-mark {
  width: 38px; height: 38px; border-radius: 10px; flex: none;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  color: #fff; display: grid; place-items: center; font-size: 19px; font-weight: 700;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.25; }
.logo-text strong { font-size: 20px; color: var(--ink); }
.logo-text em { font-size: 13px; font-style: normal; color: var(--muted); letter-spacing: .3px; }
.site-nav { display: flex; gap: 6px; margin-left: auto; }
.site-nav a {
  position: relative; padding: 9px 15px; border-radius: 8px;
  color: var(--body); font-size: 17px; font-weight: 500; white-space: nowrap;
}
.site-nav a:hover { color: var(--brand); background: var(--brand-light); }
.site-nav a.active { color: var(--brand); font-weight: 600; }
.site-nav a.active::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: -1px;
  height: 2px; background: var(--brand); border-radius: 2px;
}
/* ---------------- 页眉下拉菜单（解决方案 / 产品中心，简洁小面板） ---------------- */
/* 触发项：与 .site-nav a 同一档视觉（字号、padding、hover），末尾多一个小箭头。
   面板相对 .nav-drop 定位（relative），挂在导航项正下方、水平居中 */
.nav-drop { position: relative; }
.nav-drop-toggle {
  display: inline-flex; align-items: center; gap: 5px;
  position: relative; padding: 9px 15px; border-radius: 8px;
  color: var(--body); font-size: 17px; font-weight: 500; white-space: nowrap;
  transition: color .2s, background .2s;
}
.nav-drop-toggle:hover { color: var(--brand); background: var(--brand-light); }
.nav-drop-toggle.active { color: var(--brand); font-weight: 600; }
.nav-drop-toggle.active::after {
  content: ''; position: absolute; left: 14px; right: 32px; bottom: -1px;
  height: 2px; background: var(--brand); border-radius: 2px;
}
.nav-caret { transition: transform .22s ease; opacity: .7; }
.nav-drop:hover .nav-caret { transform: rotate(180deg); }

/* 面板：实心白卡片下拉。
   历史坑：曾用「透明底 + 白色柔光描边」来适配深色 Banner，结果内页页头下方就是
   深蓝 Banner，深灰字直接压在深色底上（白描边在深色背景里只会让字发虚），
   看上去就是一片模糊。改成实心白底卡片后，任何页面底色下都清晰可读，也不必再
   分「浅色页面 / overlay 深色页面」两套配色（下方 media 里的浅色字规则已删除）。
   定位相对 .nav-drop（relative）：左边缘与导航项文字左边缘对齐，垂直挂在正下方，
   不再用 translateX(-50%) 居中——那样面板会向左探出去一截，看着像偏了。
   宽度按内容自适应（min-width 只是保底），条目长时自然向右展开 */
.nav-drop-panel {
  position: absolute; top: calc(100% + 10px); left: 0; z-index: 60;
  min-width: 236px; max-width: 340px; width: max-content; padding: 16px 10px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.nav-drop:hover .nav-drop-panel,
.nav-drop:focus-within .nav-drop-panel { opacity: 1; visibility: visible; transform: translateY(0); }
/* 鼠标从导航文字移到面板的路上有空隙，用一段透明撑开 hover 区域，避免中途收起 */
.nav-drop-panel::before { content: ''; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }

/* 分组：方向名 + 其下条目作为一个视觉块；组与组之间留出明显空档，
   否则两个方向名会跟普通条目混成一列，看不出归属关系 */
.nav-drop-group + .nav-drop-group { margin-top: 20px; }
/* 分组名：加粗 + 近黑色，与条目同字号——层级只靠字重和颜色拉开，不靠放大字号 */
.nav-drop-group-title {
  padding: 0 12px; margin-bottom: 5px;
  font-size: 15px; font-weight: 700; line-height: 1.5; color: var(--ink);
}
.nav-drop-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1px; }
/* 条目：行距放宽；长条目折行显示而不是省略号截断——面板宽度已放到 340px 上限，
   常规中文条目仍单行，英文或后续更长的名称会自然换行，这一行是那种情况的兜底 */
.nav-drop-panel .nav-drop-list a {
  display: block; padding: 8px 12px; border-radius: var(--radius-sm); white-space: normal;
  font-size: 15px; line-height: 1.55; color: var(--body);
  transition: color .18s, background .18s;
}
.nav-drop-panel .nav-drop-list a:hover { color: var(--brand); background: var(--brand-light); }

/* 首页透明导航（overlay）上，导航文字是白的，箭头跟着变白 */
.site-header.is-overlay:not(.scrolled) .nav-drop-toggle { color: rgba(226,238,255,.86); }
.site-header.is-overlay:not(.scrolled) .nav-drop-toggle:hover { color: #fff; background: rgba(255,255,255,.12); }
.site-header.is-overlay:not(.scrolled) .nav-drop-toggle.active { color: #fff; }
.site-header.is-overlay:not(.scrolled) .nav-drop-toggle.active::after { background: #4da3ff; }

/* 手机端（≤768px）汉堡菜单里没有 hover：面板静态展开成一列文字，
   颜色沿用菜单自身配色（白底菜单深色字、首页深色菜单浅色字） */
@media (max-width: 768px) {
  .nav-drop-panel {
    position: static; min-width: 0; max-width: none; opacity: 1; visibility: visible; transform: none;
    background: transparent; border: 0; box-shadow: none; backdrop-filter: none;
    padding: 2px 0 10px 12px;
  }
  .nav-drop-panel::before { display: none; }
  /* 手机端分组名比桌面端小一号以省纵向空间，但仍保持「比条目更醒目」的方向：
     加粗 + 不降透明度。若改成灰色小字，层级会反过来——分组名看着比它管的条目还弱 */
  .nav-drop-group + .nav-drop-group { margin-top: 12px; }
  .nav-drop-group-title {
    padding: 0 6px; margin-bottom: 3px;
    font-size: 13.5px; font-weight: 700; letter-spacing: .02em; color: var(--ink);
  }
  .nav-drop-panel .nav-drop-list a {
    padding: 8px 6px; font-size: 15px; white-space: normal; color: inherit; text-shadow: none;
  }
  .nav-drop-panel .nav-drop-list a:hover { color: inherit; background: rgba(127, 182, 240, .16); }
  /* 手机端面板透明，首页深色菜单（overlay）下文字跟着变浅 */
  .site-header.is-overlay:not(.scrolled) .nav-drop-panel .nav-drop-list a { color: rgba(226, 238, 255, .86); }
  .site-header.is-overlay:not(.scrolled) .nav-drop-panel .nav-drop-list a:hover { color: #fff; background: rgba(255, 255, 255, .12); }
  /* 首页深色菜单里分组名用纯白加粗，条目是 86% 白——标题必须比条目更亮才立得住层级 */
  .site-header.is-overlay:not(.scrolled) .nav-drop-group-title { color: #fff; }
}

.header-actions { display: flex; align-items: center; gap: 10px; }
/* 页头右侧：EN 语言切换 + 登录 / 咨询方案，字号与导航同档，整体观感更统一 */
.header-actions .lang-switch {
  font-size: 15px; font-weight: 600; color: var(--muted);
  padding: 0 6px; letter-spacing: .5px;
}
.header-actions .lang-switch:hover { color: var(--brand); }
.header-actions .btn { font-size: 15px; }
/* 页眉搜索框：胶囊形、低调不抢导航；聚焦时提亮（「咨询方案」按钮已按需求移除，位置让给搜索框） */
.header-search {
  display: flex; align-items: center; gap: 7px; flex: none;
  height: 40px; width: 190px; padding: 0 14px;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px;
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.header-search:focus-within {
  background: #fff; border-color: #bcd4f2;
  box-shadow: 0 0 0 3px rgba(46, 139, 255, .13);
}
.header-search svg { width: 15px; height: 15px; color: var(--muted); flex: none; }
.header-search input {
  border: 0; outline: 0; background: transparent; width: 100%; min-width: 0;
  font-size: 14px; font-family: inherit; color: var(--ink);
}
.header-search input::placeholder { color: var(--muted); }
.header-search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.user-chip {
  font-size: 13px; color: var(--brand); background: var(--brand-light);
  padding: 5px 12px; border-radius: 999px; font-weight: 600; white-space: nowrap;
}
.nav-toggle {
  display: none; width: 40px; height: 40px; border: 1px solid var(--line);
  background: #fff; border-radius: 10px; cursor: pointer; padding: 11px 10px;
}
.nav-toggle span { display: block; height: 2px; background: var(--ink); margin: 3px 0; border-radius: 2px; }

/* 首页：导航透明叠加在 Banner 之上，向下滚动后恢复白底 */
.site-header.is-overlay { position: fixed; top: 0; left: 0; right: 0; }
.site-header.is-overlay:not(.scrolled) {
  background: transparent; border-bottom-color: transparent;
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
.site-header.is-overlay:not(.scrolled) .logo-text strong { color: #fff; }
.site-header.is-overlay:not(.scrolled) .logo-text em { color: rgba(190,215,255,.6); }
/* 注意：这里必须用子选择器 .site-nav > a。
   写成后代选择器 .site-nav a 时，特异性（.site-header + .is-overlay + :not(.scrolled) + .site-nav = 4 个类）
   会压过下拉面板自己的 `.nav-drop-panel .nav-drop-list a`（2 个类），
   于是首页（is-overlay 透明页头）下拉白卡片里的字被刷成近白色 —— 白底白字，看起来就是「一片模糊」。
   下拉触发项 .nav-drop-toggle 不在这一层，它另有一套 overlay 规则（见上）。 */
.site-header.is-overlay:not(.scrolled) .site-nav > a { color: rgba(226,238,255,.86); }
.site-header.is-overlay:not(.scrolled) .site-nav > a:hover { color: #fff; background: rgba(255,255,255,.12); }
.site-header.is-overlay:not(.scrolled) .site-nav > a.active { color: #fff; }
.site-header.is-overlay:not(.scrolled) .site-nav > a.active::after { background: #4da3ff; }
.site-header.is-overlay:not(.scrolled) .btn-ghost { color: #fff; border-color: rgba(255,255,255,.34); }
.site-header.is-overlay:not(.scrolled) .btn-ghost:hover { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.62); }
.site-header.is-overlay:not(.scrolled) .user-chip { background: rgba(255,255,255,.16); color: #fff; }
.site-header.is-overlay:not(.scrolled) .btn-link { color: rgba(226,238,255,.72); }
.site-header.is-overlay:not(.scrolled) .btn-link:hover { color: #fff; }
.site-header.is-overlay:not(.scrolled) .nav-toggle { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.3); }
.site-header.is-overlay:not(.scrolled) .nav-toggle span { background: #fff; }
/* 首页深色 Banner 上的搜索框：玻璃态，滚动恢复白底后回到上面的浅色样式 */
.site-header.is-overlay:not(.scrolled) .header-search {
  background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .28);
}
.site-header.is-overlay:not(.scrolled) .header-search:focus-within {
  background: rgba(255, 255, 255, .18); border-color: rgba(255, 255, 255, .5); box-shadow: none;
}
.site-header.is-overlay:not(.scrolled) .header-search svg { color: rgba(226, 238, 255, .75); }
.site-header.is-overlay:not(.scrolled) .header-search input { color: #fff; }
.site-header.is-overlay:not(.scrolled) .header-search input::placeholder { color: rgba(226, 238, 255, .55); }
/* 汉堡菜单里的搜索框（仅 ≤768px 显示）：放在导航下拉面板的最上方 */
.header-search.nav-search { display: none; }

/* ------------------------------ 首页 Banner ------------------------------ */
/* 区块：Banner 图 + 其上的解决方案入口（两者重叠、透视） */
.hero-banner {
  position: relative; overflow: hidden; background: #050b18;
  min-height: 100vh;
  /* 文字块自顶部起排，块高 = --chip-bottom（见下方 .hero-brand），
     于是文字块的「下边缘」正好钉在 --chip-bottom 那条水平线上 */
  display: flex; align-items: flex-start;
}
/* Banner 图：芯片靠右的构图已经烘焙进图片（tools/make-banner-e.py 把原图右移、左侧补暗色板），
   所以这里保持「原图比例 + 居中 cover」即可——芯片在 16:9/16:10/2:1 下稳定落在视口 64%~76% 处。
   图片比例 1920×1076，等于常见桌面视口，cover 只会裁掉很少的边，图片基本不放大。 */
.hero-banner .banner-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 50%;
}
.hero-banner::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  /* 四层黑蒙版，整体「左重右轻、下重上轻」：
     ① 顶部收边——透明导航压在图上，加一条窄暗带让 logo/菜单有底
     ② 对角主蒙版（左 → 右下）——左侧标题区压到 0.9，向右快速放开，右侧留给芯片辉光
     ③ 底部托底——原先（.86 → .62）是为压住叠在 Banner 底部的两个方案框；
        两个框已整体移除，Banner 下沿现在直接接「合作伙伴」白色板块，
        过重的压边会在白块上方留出一条黑带，故降到 .30：
        只保留一点轻微收边，画面下沿亮度回到图内本身的暗部水平，与白块干净直切
     ④ 右侧过渡——芯片右缘（图内约 78%）以外没有主视觉、只剩零散走线和器件，
        从 70% 起一路加深到 84%，把那片「没有芯片的区域」平滑压成暗场，
        画面右端不再发飘，也顺手收住取景裁切处的硬边 */
  background:
    linear-gradient(to bottom, rgba(2,7,16,.62) 0%, rgba(2,7,16,.20) 11%, rgba(2,7,16,0) 20%),
    linear-gradient(112deg, rgba(2,7,16,.94) 0%, rgba(2,7,16,.82) 20%, rgba(3,9,20,.62) 36%, rgba(4,11,24,.28) 50%, rgba(4,11,24,.08) 64%, rgba(4,11,24,0) 80%),
    linear-gradient(to top, rgba(2,7,16,.30) 0%, rgba(2,8,18,.19) 18%, rgba(3,9,20,.07) 36%, rgba(3,9,20,0) 50%),
    linear-gradient(to right, rgba(2,7,16,0) 68%, rgba(2,8,18,.14) 76%, rgba(2,8,18,.38) 84%, rgba(2,8,18,.64) 91%, rgba(2,8,18,.80) 96%, rgba(2,7,16,.86) 100%);
}
.hero-banner .container { position: relative; z-index: 2; width: 100%; }

/* 首页 Banner 只展示公司名称与 slogan。
   位置规则（客户 2026-10-08 二次调整）：
     · 「芯仪科技」这行的下边缘 —— 与底图里芯片封装的下边缘齐平（--chip-bottom 那条线）
     · slogan —— 放到芯片线「下方」--slogan-gap 处，用下方留白撑住画面，
       原来是紧贴标题排在芯片线上方，文字全挤在画面上部、下半幅发空
   做法：.hero-brand 高度锁成 --chip-bottom，标题 absolute 贴底、slogan absolute 落到线下方；
   这样标题字号怎么改，标题底边都钉在同一条线上，不需要写死 padding-top。
   --chip-bottom = 42.9vh 的来历：底图 1920×1076，cover 在常见视口下按高度铺满、
   纵向不裁切，图片高度百分比可直接当视口高度用；图内芯片封装那条下沿高光边
   位于 y 450–462px（41.8%–42.9%），下缘即 42.9%。
   视口比图更宽时（宽高比 > 1920/1076）图片改由宽度决定缩放、上下被裁掉，
   芯片下缘抬到约 40.6%，在文末的媒体查询里单独修正。
   --hero-out 归零：文字回到容器左边距，与右侧芯片形成左右呼应的留白 */
.hero-banner {
  --hero-out: 0px;
  --chip-bottom: 42.9vh;
  /* 标题下边缘 → slogan 上边缘的间距。用 vh 让矮窗口自动收紧，
     桌面 900 高约 77px、1080 高约 92px，既拉开层次又不至于掉出画面 */
  --slogan-gap: clamp(52px, 12.5vh, 160px);
}
.hero-brand {
  position: relative;
  height: var(--chip-bottom);
  padding: 0;
  margin-left: calc(-1 * var(--hero-out));
  max-width: 860px; color: #fff;
}
/* 视口比底图更宽扁时（宽高比 > 1920/1076，例如 21:9 全屏），
   图片改由宽度决定缩放、上下各被裁掉一部分，芯片下缘随之上移。
   按 cover 换算：宽高比 2.0 时约 42.0vh，2.3 时约 40.8vh，2.37 时约 40.6vh。
   16:9（1.778）及更方的视口不会命中这两条，仍用上面的 42.9vh */
@media (min-aspect-ratio: 2/1)   { .hero-banner { --chip-bottom: 42vh; } }
@media (min-aspect-ratio: 23/10) { .hero-banner { --chip-bottom: 40.6vh; } }
.hero-name {
  /* 绝对定位贴住容器底边（= 芯片下边缘那条线），slogan 才能独立落到线下方。
     负的下边距 = 行框在字面下方留的那半个行距（(1.18−1)/2 = .09em），
     抵消后「芯仪科技」四个字的字面下缘正好落在芯片线上，否则会高出约 8px */
  position: absolute; left: 0; bottom: 0;
  margin: 0 0 -0.09em; color: #fff; font-weight: 700;
  /* 客户 2026-10-08：公司名放大一档（原来 clamp(36px, 5vw, 74px)，
     1440 宽下 74px；现在 1440 下约 83.5px、1920 满 88px） */
  font-size: clamp(40px, 5.8vw, 88px);
  line-height: 1.18; letter-spacing: 4px;
  text-shadow: 0 4px 30px rgba(0, 20, 45, .5);
}
.hero-slogan {
  /* 落到芯片线下方 --slogan-gap 处：画面下半幅不再发空，
     标题在上、slogan 在下，与右侧芯片形成上下错落的层次 */
  position: absolute; left: 0;
  top: calc(var(--chip-bottom) + var(--slogan-gap));
  margin: 0; color: rgba(216,234,255,.94); font-weight: 400;
  /* 客户 2026-10-08：slogan 换成「精于芯，准于仪，赋能科技创新」（字少了），
     字号相应放大一档：1440 下 18px → 22px，短句才不会显得空。
     2026-10-09 再放大：客户要求「slogan 字尾超过上方『芯仪科技』的『技』字尾巴」。
     实测（tools/measure-icons-banner.js）标题「技」右缘距左缘：1440 下 341px、1680+ 下 360px；
     slogan 实时用 1.72vw（1440→24.8px、1920+ 封顶 27px）时文字宽 356/388px，
     各视口下都比标题长出 15~28px，且远小于 max-width 700px 不会换行。 */
  font-size: clamp(19px, 1.72vw, 27px);
  line-height: 1.7; letter-spacing: 1px;
  max-width: 700px; text-shadow: 0 2px 16px rgba(0, 20, 45, .45);
}
/* 入场动画：淡入 + 轻微上浮，两句错开出场（先名后 slogan）
   用 transform/opacity 合成属性，不触发重排，不会让文字跳动 */
@keyframes heroRise {
  from { opacity: 0; transform: translateY(28px) scale(.985); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.hero-name   { animation: heroRise 1s cubic-bezier(.22, .61, .36, 1) .12s both; }
.hero-slogan { animation: heroRise 1s cubic-bezier(.22, .61, .36, 1) .34s both; }

/* 大屏（>1920 视口）字号按屏宽等比跟住 —— 2026-10-10 客户反馈修复的一部分。
   问题：字号上限写死在 88px / 27px，屏幕越宽标题占屏比越小
   （实测占屏宽 1920→4.58%、2560→3.44%，2K 屏上字显得「缩」了）；
   版心已按 360px 恒定边距放宽，字号不跟上的话两头仍然不协调。
   系数 = 1080p 下的实际字号 ÷ 屏宽：88/1920 = 4.583vw、27/1920 = 1.406vw，
   于是 1920 处与上面的 clamp 上限严丝合缝，1920 及以下完全不受影响（媒体查询兜住）。
   120px / 38px 是 4K 级的封顶，避免超宽屏上标题吃掉半屏。 */
@media (min-width: 1921px) {
  .hero-name { font-size: min(4.583vw, 120px); }
  .hero-slogan { font-size: min(1.406vw, 38px); }
}
/* 系统开启「减弱动态效果」时直接静态显示，尊重无障碍设置 */
@media (prefers-reduced-motion: reduce) {
  .hero-name, .hero-slogan { animation: none; }
}
/* 视口被压得很矮时（窗口拖成扁条、手机横屏），芯片下边缘那条线离顶部太近，
   原字号会把标题顶进透明导航。这里按高度收紧字号与行距，块高降下来后
   仍贴着芯片下边缘，只是整体小一号。
   注意：这条必须放在上面 .hero-name/.hero-slogan 主规则「之后」，
   否则同特异性下会被主规则的 font-size 覆盖掉（踩过一次） */
@media (max-height: 660px) {
  .hero-banner { --slogan-gap: 44px; }
  /* 只改字号，不动 margin-bottom —— 那 -0.09em 是「字面下缘贴芯片线」的行距补偿，
     写成正数会把标题抬离对齐线 */
  .hero-name { font-size: clamp(28px, 4.2vw, 54px); }
  .hero-slogan { font-size: clamp(13px, 1.1vw, 16px); }
}
/* 再扁一档（窗口拖成细条），继续收字号，让标题始终落在导航下方 */
@media (max-height: 520px) {
  .hero-banner { --slogan-gap: 30px; }
  .hero-name { font-size: clamp(22px, 3vw, 40px); }
  .hero-slogan { font-size: 13px; }
}

/* ------------------------------ 通用区块 ------------------------------ */
.section { padding: 88px 0; }
.section.soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 2px;
  color: var(--brand); text-transform: uppercase; margin-bottom: 12px;
}
.section-head p { color: var(--muted); font-size: 16px; margin: 0; }
.section-head-left { text-align: left; margin-left: 0; margin-right: 0; max-width: 760px; }

/* ------------------------------ 品牌 Logo 图片 ------------------------------ */
.logo-img { height: 56px; width: auto; display: block; flex: none; }
/* 深色底（首页透明导航 / 页脚）上把 logo 反白，保证对比度 */
.site-header.is-overlay:not(.scrolled) .logo-img,
.site-footer .logo-img { filter: brightness(0) invert(1); }
.footer-logo { height: 38px; }

/* 方案分组页 / 列表页共用的区块编号与英文副标题 */
.sol-index {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 2px;
  color: var(--brand); background: #eaf3ff; border-radius: 6px; padding: 3px 10px; margin-bottom: 16px;
}
.sol-en { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin: 0 0 16px; }

/* ------------------- 解决方案总览页：应用方向切换 / 文字索引 ------------------- */
.group-switch { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.group-switch-label { font-size: 13px; color: var(--muted); letter-spacing: 1px; }
.group-switch-list { display: flex; gap: 10px; flex-wrap: wrap; }
.group-switch-item {
  font-size: 14px; padding: 9px 20px; border-radius: 999px; color: var(--body);
  background: #fff; border: 1px solid var(--line); transition: color .22s, border-color .22s, background .22s;
}
.group-switch-item:hover { border-color: #bcd6f2; color: var(--brand); }
.group-switch-item.is-active { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }

/* ------------- 分组页「应用方向介绍」区（左文右图的白卡片） ------------- */
.group-intro { background: linear-gradient(180deg, #f2f6fc 0%, #f9fcff 100%); padding: 42px 0 52px; }
.group-intro .breadcrumb { margin-bottom: 24px; }
.group-intro-card {
  position: relative; display: grid; grid-template-columns: 1.04fr .96fr;
  gap: 46px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 48px 54px; overflow: hidden;
  box-shadow: 0 26px 64px rgba(12, 42, 88, .07);
}
/* 左侧品牌蓝渐变竖条 */
.group-intro-card::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 5px;
  background: linear-gradient(180deg, #3f8fe0 0%, #0b57a4 100%);
}
.group-intro-text h1 {
  margin: 0 0 18px; color: var(--ink);
  font-size: clamp(24px, 2.5vw, 34px); line-height: 1.35; letter-spacing: .5px;
}
.group-intro-text p { margin: 0 0 28px; max-width: 620px; color: var(--body); font-size: 15.5px; line-height: 1.98; }
.group-intro-btn { display: inline-flex; align-items: center; gap: 10px; }
.group-intro-btn svg { transition: transform .28s ease; }
.group-intro-btn:hover svg { transform: translateX(5px); }
.group-intro-media { display: flex; align-items: center; justify-content: center; }
.group-intro-media img { max-width: 100%; max-height: 300px; width: auto; object-fit: contain; border-radius: 10px; }
/* 切换应用方向：介绍区与深色列表区之间的一条浅色带 */
.group-switch-band { padding: 30px 0 58px; }

/* ============================== 解决方案总览页：Tab 切换 ============================== */
.sol-tabs-body {
  background: #f8fbff;
  padding: 28px 0 96px;
}
/* 标签导航 */
/* 标签导航：纯文字横排，无框无背景，居中，中间竖线分隔 */
.sol-tabs-nav {
  display: flex; align-items: center; justify-content: center;
  gap: 0; padding-bottom: 32px; margin-bottom: 8px;
  border-bottom: 1px solid rgba(11, 87, 164, .10);
}
.sol-tab-btn {
  position: relative;
  padding: 10px 28px; border-radius: 0;
  font-size: 24px; font-weight: 700; letter-spacing: .6px;
  color: rgba(110, 128, 158, .85);
  background: none;
  border: 0;
  cursor: pointer; transition: color .28s ease; white-space: nowrap;
}
.sol-tab-btn:hover {
  color: var(--brand);
  background: none;
}
.sol-tab-btn.is-active {
  color: var(--brand);
  background: none;
  border: 0;
  box-shadow: none;
}
.sol-tab-btn.is-active::after { display: none; }
/* 竖线分隔符（按钮之间的 | ） */
.sol-tab-btn + .sol-tab-btn::before {
  content: '|';
  position: absolute; left: 0; top: 50%; transform: translate(-50%, -50%);
  color: rgba(160, 178, 200, .45);
  font-size: 18px; font-weight: 300;
}
/* 面板 */
.sol-tabs-panels { position: relative; }
.sol-tab-panel { display: none; }
.sol-tab-panel.is-active { display: block; animation: panelFadeIn .45s ease both; }
@keyframes panelFadeIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
/* 面板头部（只留标题：原来的「共 N 项，点击…」提示文案已按需求去掉） */
.sol-tab-head { padding: 22px 0 26px; }
.sol-tab-title {
  margin: 0; color: var(--ink); font-size: 28px; font-weight: 700;
  line-height: 1.35; letter-spacing: .8px;
}

/* 本页（白底 Tab 区）的横框：与「产品中心」的卡片同一套配色——
   纯白底 + 浅描边 + 深色标题，品牌蓝只保留在右侧箭头圆钮上，
   和它下面的产品卡看起来是同一套东西（原先的青蓝渐变底已按要求换成白底） */
.sol-tabs-body .sg-item {
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  /* fill-mode 用 backwards：延迟期间保持「未入场」状态（隐藏＋左移），
     动画结束后元素回到自身样式，:hover 的位移/阴影才不会被动画终态压住 */
  animation: sgSlideIn .55s cubic-bezier(.22, .61, .36, 1) backwards;
}
/* 偶数框不再做深浅层次：白底下一排白卡本身就是齐的，再加层次会显脏 */
.sol-tabs-body .sg-item:nth-child(even) { background: #fff; }
/* 逐个滑出：每项依次延迟 0.10s */
.sol-tabs-body .sg-item:nth-child(1) { animation-delay: .06s; }
.sol-tabs-body .sg-item:nth-child(2) { animation-delay: .15s; }
.sol-tabs-body .sg-item:nth-child(3) { animation-delay: .25s; }
.sol-tabs-body .sg-item:nth-child(4) { animation-delay: .35s; }
.sol-tabs-body .sg-item:nth-child(5) { animation-delay: .45s; }
.sol-tabs-body .sg-item:nth-child(6) { animation-delay: .55s; }
@keyframes sgSlideIn {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}
/* hover 规格与产品卡一致：浅蓝描边 + 标准投影 */
.sol-tabs-body .sg-item:hover {
  color: var(--ink);
  background: #fff;
  border-color: #bcd4f2;
  box-shadow: var(--shadow);
}
.sol-tabs-body .sg-item:nth-child(even):hover { background: #fff; }
.sol-tabs-body .sg-item-title { color: var(--ink); font-size: 19px; font-weight: 700; }
/* 描述色取 --body（#475569，对白底 7.4:1），与产品卡的 .prod-desc 完全一致；
   用 --muted 只有 3.66:1，一排白卡里会显得发灰读不动 */
.sol-tabs-body .sg-item-desc {
  color: var(--body);
  border-left-color: var(--line);
}
/* 箭头圆钮：白底卡片上默认用浅蓝底 + 品牌蓝箭头，hover 时整体填充品牌蓝 */
.sol-tabs-body .sg-item-arrow {
  background: var(--brand-light);
  border-color: #d3e3f8;
  color: var(--brand);
}
.sol-tabs-body .sg-item:hover .sg-item-arrow {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

/* ------------- 分组页解决方案列表：深底 + 半透明横框（仅标题 + 简述） ------------- */
.sol-glass {
  background: linear-gradient(180deg, #0a2240 0%, #0b2d52 52%, #091f3c 100%);
  padding: 84px 0 92px;
}
.sol-glass .section-head h2 { color: #fff; }
.sol-glass .section-head .eyebrow { color: #8fc3ff; }
.sg-list { display: flex; flex-direction: column; gap: 16px; }
/* 横框配色与首页 Banner 上的方案框完全一致（同为「青 → 蓝」两套渐变、同样的描边与投影），
   保证同一个「解决方案」视觉元素在首页和分组页看起来是同一个东西 */
.sg-item {
  --sg-glow: radial-gradient(125% 175% at 88% 118%, rgba(126, 220, 244, .20) 0%, rgba(126, 220, 244, 0) 58%);
  display: grid; align-items: center;
  grid-template-columns: minmax(0, 22%) minmax(0, 1fr) auto;
  grid-template-areas: 'title desc arrow';
  gap: 30px; padding: 26px 32px; border-radius: 14px; color: #fff;
  background-image: var(--sg-glow), linear-gradient(115deg, rgba(30, 93, 128, .52) 0%, rgba(42, 126, 166, .48) 48%, rgba(61, 156, 192, .52) 100%);
  border: 1px solid rgba(150, 206, 238, .34);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .10), 0 18px 44px rgba(2, 12, 32, .45);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
  transition: transform .3s ease, background .3s ease, border-color .3s ease, box-shadow .3s ease;
}
/* 与首页一致：偶数框用更深一档的青蓝，做层次 */
.sg-item:nth-child(even) {
  background-image: var(--sg-glow), linear-gradient(115deg, rgba(26, 81, 112, .56) 0%, rgba(36, 112, 143, .52) 48%, rgba(53, 137, 173, .56) 100%);
}
.sg-item:hover {
  transform: translateX(8px); color: #fff;
  background-image: var(--sg-glow), linear-gradient(115deg, rgba(37, 109, 148, .60) 0%, rgba(50, 145, 187, .56) 48%, rgba(74, 173, 207, .60) 100%);
  border-color: rgba(190, 226, 250, .50);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 18px 44px rgba(2, 12, 32, .45);
}
.sg-item:nth-child(even):hover {
  background-image: var(--sg-glow), linear-gradient(115deg, rgba(32, 95, 131, .64) 0%, rgba(43, 129, 163, .60) 48%, rgba(61, 154, 192, .64) 100%);
}
.sg-item-title { grid-area: title; margin: 0; color: #fff; font-size: 18px; font-weight: 700; line-height: 1.5; letter-spacing: .4px; }
.sg-item-desc {
  grid-area: desc; margin: 0; padding-left: 30px;
  border-left: 1px solid rgba(160, 198, 255, .28);
  color: rgba(208, 226, 250, .86); font-size: 14px; line-height: 1.9;
}
.sg-item-arrow {
  grid-area: arrow; display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 38px; height: 38px; border-radius: 50%; color: #fff;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .34);
  transition: transform .3s ease, background .3s ease, color .3s ease, border-color .3s ease;
}
.sg-item:hover .sg-item-arrow { transform: translateX(4px); background: rgba(255, 255, 255, .28); }

.group-cover {
  border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: #f5f8fc;
  display: flex; align-items: center; justify-content: center; padding: 18px;
}
.group-cover img { max-width: 100%; max-height: 320px; width: auto; object-fit: contain; }
.sol-index-group { margin-bottom: 34px; }
.sol-index-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  border-bottom: 2px solid var(--line); padding-bottom: 12px; margin-bottom: 4px;
}
.sol-index-head h3 { font-size: 20px; margin: 0; }
.sol-index-list { list-style: none; padding: 0; margin: 0; }
.sol-index-list li { border-bottom: 1px dashed var(--line); }
.sol-index-list a {
  display: flex; align-items: center; gap: 22px; padding: 15px 4px;
  color: var(--ink); transition: color .2s, padding-left .2s;
}
.sol-index-list a:hover { color: var(--brand); padding-left: 10px; }
.sol-index-name { flex: 0 0 auto; min-width: 210px; font-size: 15px; font-weight: 600; }
.sol-index-brief { font-size: 13px; color: var(--muted); }

/* --------------------------- 解决方案卡片（分组页/总览页） --------------------------- */
.solution-card {
  display: block; background: #fff; border: 1px solid var(--line); border-radius: 16px;
  overflow: hidden; color: inherit; transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.solution-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #cfe0f5; color: inherit; }
.solution-card-cover {
  height: 170px; background: #f5f8fc; display: flex; align-items: center; justify-content: center;
  padding: 16px; color: var(--brand); font-size: 26px; font-weight: 700; letter-spacing: 2px;
}
.solution-card-cover img { max-width: 100%; max-height: 140px; width: auto; object-fit: contain; }
.solution-card-body { padding: 22px 24px 26px; }
.solution-card-body h3 { font-size: 19px; margin: 0 0 10px; }
.solution-card-body p { color: var(--muted); font-size: 14px; line-height: 1.8; margin: 0 0 14px; }
.spec-inline { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.spec-inline li {
  font-size: 12px; color: var(--brand); background: #eef5ff;
  border: 1px solid #dbe9fb; border-radius: 999px; padding: 4px 11px;
}

/* --------------------------- 解决方案 / 产品详情 --------------------------- */
.detail-figure {
  background: #f5f8fc; border: 1px solid var(--line); border-radius: 14px;
  padding: 22px; margin-bottom: 26px; display: flex; align-items: center; justify-content: center;
}
.detail-figure img { max-width: 100%; max-height: 340px; width: auto; }
.spec-block { margin-top: 34px; }
.spec-block h3 { font-size: 20px; margin-bottom: 16px; }
.spec-list {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
}
.spec-list li {
  background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--brand);
  border-radius: 10px; padding: 13px 16px; font-size: 14px; color: var(--ink); font-weight: 500;
}

/* --------------------------- 合作伙伴（单排无限滚动） --------------------------- */
.partner-marquee {
  position: relative; overflow: hidden; padding: 6px 0 12px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}
.partner-track { display: flex; width: max-content; animation: partnerScroll 40s linear infinite; }
.partner-marquee:hover .partner-track { animation-play-state: paused; }
.partner-set { display: flex; align-items: stretch; gap: 18px; padding-right: 18px; }
@keyframes partnerScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.partner-item {
  flex: 0 0 auto; width: 224px; height: 104px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.partner-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #cfe0f5; }
/* 保留 logo 原始彩色，不做灰度/降透明处理 */
.partner-item img { max-height: 48px; max-width: 100%; width: auto; object-fit: contain; }
.partner-item span { font-size: 12px; color: var(--muted); text-align: center; line-height: 1.5; }
@media (prefers-reduced-motion: reduce) {
  .partner-track { animation: none; }
  .partner-marquee { overflow-x: auto; }
}

/* 首页合作伙伴：紧接满屏 Banner 的过渡条，收紧留白让整页节奏更稳 */
.partners-band { padding: 62px 0 58px; }
.partners-band .section-head { margin-bottom: 30px; }

/* ------------------------------ 关于我们 ------------------------------ */
.about-figure { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.about-figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.credential-card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  transition: transform .28s ease, box-shadow .28s ease;
}
.credential-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.credential-figure { background: #f5f8fc; padding: 20px; display: flex; align-items: center; justify-content: center; height: 240px; }
.credential-figure img { max-width: 100%; max-height: 200px; width: auto; object-fit: contain; }
.credential-card h3 { font-size: 18px; margin: 22px 24px 8px; }
.credential-card p { color: var(--muted); font-size: 14px; line-height: 1.8; margin: 0 24px 26px; }

/* ------------------------------ 联系页二维码 ------------------------------ */
/* 微信盒子：现在挂在联系方式卡片内部，用浅底块区分层级，
   不再自套一层白底描边（否则卡片里套卡片，显得琐碎） */
.wechat-box {
  margin-top: 22px; background: var(--bg-soft); border: 0; border-radius: var(--radius-sm);
  padding: 18px; display: flex; align-items: center; gap: 18px;
}
.wechat-box img { width: 92px; height: 92px; border-radius: 10px; flex: none; }
.wechat-box h4 { margin: 0 0 8px; font-size: 15px; }
.wechat-box p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.75; }

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

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d3e0f0; }
.card-icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--brand-light); color: var(--brand); font-weight: 700; font-size: 15px; margin-bottom: 18px;
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 14px; margin: 0; }

/* ------------------------------ 产品卡片 ------------------------------ */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.product-card {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d3e0f0; }
.product-cover { height: 160px; background: linear-gradient(135deg, #eaf2fc 0%, #dbeafe 100%); display: grid; place-items: center; color: var(--brand); font-size: 20px; font-weight: 700; }
.product-cover img { width: 100%; height: 100%; object-fit: cover; }
.product-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.tag { font-size: 12px; color: var(--brand); background: var(--brand-light); padding: 3px 10px; border-radius: 999px; }
.product-body h3 { margin-bottom: 10px; font-size: 18px; }
.product-body p { color: var(--muted); font-size: 14px; flex: 1; margin-bottom: 16px; }
.more-link { font-size: 14px; font-weight: 600; color: var(--brand); }
.more-link::after { content: ' →'; }

/* ------------------------------ 新闻列表 ------------------------------ */
.news-item {
  display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
  padding: 24px 0; border-bottom: 1px solid var(--line);
}
.news-item:last-child { border-bottom: none; }
.news-meta { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.news-meta .cat { color: var(--brand); background: var(--brand-light); padding: 2px 10px; border-radius: 999px; font-weight: 600; }
.news-item h3 { margin: 0 0 6px; font-size: 18px; }
.news-item p { margin: 0; color: var(--muted); font-size: 14px; }
.news-date { text-align: right; color: var(--muted); font-size: 13px; white-space: nowrap; }

/* ------------------------------ 筛选 ------------------------------ */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.filter-bar a {
  padding: 7px 16px; border-radius: 999px; border: 1px solid var(--line);
  color: var(--body); font-size: 14px; background: #fff;
}
.filter-bar a:hover { border-color: var(--brand); color: var(--brand); }
.filter-bar a.active { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ------------------------------ 站内搜索 ------------------------------ */
/* 搜索页内的大搜索框：方便直接改关键词再搜 */
.search-page-form {
  display: flex; align-items: center; gap: 10px;
  max-width: 720px; margin: 0 0 34px; padding: 8px 8px 8px 20px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.search-page-form:focus-within { border-color: #bcd4f2; box-shadow: 0 0 0 4px rgba(46, 139, 255, .10); }
.search-page-form svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
.search-page-form input {
  flex: 1 1 auto; min-width: 0; border: 0; outline: 0; background: transparent;
  font-size: 15px; font-family: inherit; color: var(--ink);
}
.search-page-form input::-webkit-search-cancel-button { -webkit-appearance: none; }
.search-page-form .btn { flex: none; }
.search-summary { margin: 0 0 30px; color: var(--muted); font-size: 14.5px; }

/* 结果按「解决方案 / 产品 / 新闻」分组；条目复用白卡规格，与产品中心同一套观感 */
.search-group { margin-bottom: 40px; }
.search-group:last-child { margin-bottom: 0; }
.search-group-title {
  display: flex; align-items: center; gap: 10px;
  margin: 0 0 16px; font-size: 22px; letter-spacing: .4px;
}
.search-group-title span {
  font-size: 13px; font-weight: 600; color: var(--brand);
  background: var(--brand-light); border-radius: 999px; padding: 2px 10px;
}
.search-item {
  display: flex; align-items: center; gap: 20px;
  padding: 20px 24px; margin-bottom: 12px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.search-item:hover { border-color: #bcd4f2; box-shadow: var(--shadow-sm); transform: translateX(4px); }
.search-item-body { flex: 1 1 auto; min-width: 0; }
.search-item-title { display: block; color: var(--ink); font-size: 16.5px; font-weight: 700; margin-bottom: 4px; }
.search-item-desc {
  display: block; color: var(--body); font-size: 14px; line-height: 1.75;
  overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.search-item-arrow {
  flex: none; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; color: var(--brand);
  background: var(--brand-light); border: 1px solid #d3e3f8;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.search-item:hover .search-item-arrow { background: var(--brand); border-color: var(--brand); color: #fff; }
@media (max-width: 640px) {
  .search-page-form { padding-left: 16px; }
  .search-item { padding: 16px 18px; gap: 14px; }
  .search-item-arrow { display: none; }
}

/* ------------------------------ 关于我们 ------------------------------ */
.timeline { position: relative; padding-left: 34px; }
.timeline::before { content: ''; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(180deg, var(--brand), #dbeafe); }
.timeline-item { position: relative; padding-bottom: 30px; }
.timeline-item::before {
  content: ''; position: absolute; left: -30px; top: 6px; width: 12px; height: 12px;
  border-radius: 50%; background: #fff; border: 3px solid var(--brand);
}
.timeline-year { font-size: 15px; font-weight: 700; color: var(--brand); margin-bottom: 4px; }
.timeline-item h4 { margin-bottom: 6px; }
.timeline-item p { margin: 0; color: var(--muted); font-size: 14px; }

/* 公司简介：左右两列等高（stretch），图片填满整列高度 →
   文字块底边与右侧图片底边自然落在同一条水平线上；
   行距从正文默认 1.75 提到 1.95，文字块更饱满，也更容易与图片配平 */
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: stretch; }
/* 段间距（2026-10-10 客户反馈「两段之间的行间距有点大，让两段更协调，整体高度不变」）：
   左列高度由右侧配图撑开（格子 align-items:stretch，实测 343.25px），文字只有 6 行，
   必然有约 56px 余量。旧写法把余量全部塞在两段之间（末段 margin-top:auto）→ 段间距 66px，
   接近 2 倍行距，两段被拉得不像一段连贯的简介。
   现改为 justify-content:space-around：余量均分到「标题上／标题与正文之间／两段之间／正文下」，
   段间距收到约 29px（≈0.8 倍行距，清楚但不脱节），文字块仍填满整列 → 整体高度分毫不变。
   英文版正文比配图高、没有余量，space-around 自动不起作用，中英排版都不受影响。
   改动前写法：末段 { margin-bottom:0; margin-top:auto } */
.about-intro { display: flex; flex-direction: column; justify-content: space-around; }
/* 行距（line-height）加大到 2.2，段间距反而收紧到 10px —— 用户要的是「行与行之间更松」，
   不是「段落之间更空」；段落之间只留一点点分隔感 */
/* 字距（2026-10-10 客户反馈「字间距很窄，松一点但整体宽高不能变大」）：
   用「等占位替换」——字号 16.5→16px（-0.5px），letter-spacing 补回 +0.5px，
   每个字的横向总占位仍是 16.5px，所以每行容纳字数、换行位置、文本块宽度都与改动前一致；
   line-height 用 2.27（≈36.3px，等于改动前 16.5×2.2 的像素行高），
   整块高度与右侧配图高度也保持不变。改字号时请同步换算 line-height 与 letter-spacing。 */
.about-intro p { font-size: 16px; letter-spacing: 0.5px; line-height: 2.27; color: var(--body); margin-bottom: 10px; }
/* 末段取消下外边距；余量的分配交给容器 justify-content:space-around，
   不再用 margin-top:auto 把余量全压在两段之间（那会让段间距达到 66px） */
.about-intro p:last-child { margin-bottom: 0; }
.about-media { display: flex; }
/* 图片跟随左列文字高度（min-height 兜底，文字很短时图片也不会塌成一条） */
.about-figure { flex: 1; min-height: 340px; }

/* ------------- 关于我们 · 加入我们（原「核心能力」） ------------- */
/* 上半：两张招聘二维码卡并排（居中收窄到 780，单卡尺寸与原来一致）；
   下半：在招岗位整幅排在下方，与二维码区同宽同轴对齐 */
/* 在招岗位：整块全宽，排在二维码区上方 */
.join-box {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 30px;
}
/* 暂无在招岗位（后台选择「只显示欢迎加入我们」）：只有一句居中的欢迎语，
   岗位与二维码的结构都保留在模板里，随时可切回来 */
/* 暂无在招岗位时的欢迎语：整句较长，用引言式的排版（正常字距、限宽居中），
   不再按短标题那样放大加宽字距，避免折行后松散 */
.join-welcome {
  margin: 0 auto 4px; max-width: 860px; text-align: center;
  font-size: clamp(20px, 2.15vw, 27px); font-weight: 600;
  line-height: 1.7; letter-spacing: .3px; color: var(--ink);
}
.join-welcome::after {
  content: ''; display: block; width: 56px; height: 3px; border-radius: 2px;
  background: var(--brand); margin: 18px auto 0;
}
/* 蓝色横杆下方的投递入口：文字弱化、邮箱做主色链接，整体不抢欢迎语的视觉重心 */
.join-apply-now {
  margin: 20px auto 0; text-align: center;
  font-size: 15.5px; color: var(--muted); letter-spacing: .3px;
}
.join-apply-now a {
  margin-left: 10px; font-weight: 600; color: var(--brand);
  border-bottom: 1px solid transparent; transition: border-color .2s ease;
}
.join-apply-now a:hover { border-bottom-color: var(--brand); }
.join-box h3 { margin: 0 0 16px; font-size: 19px; color: var(--ink); }
/* 岗位：一排铺开不分行（窄屏放不下时再自动换行兜底） */
.join-roles {
  margin: 0; padding: 0; list-style: none;
  display: flex; flex-wrap: wrap; gap: 8px 28px;
}
.join-roles li {
  flex: 1 1 210px; position: relative; padding-left: 17px;
  font-size: 15.5px; line-height: 1.7; color: var(--body);
}
.join-roles li::before {
  content: ''; position: absolute; left: 2px; top: 9px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--brand);
}
/* 简历邮箱：单独一行，不折行 */
.join-mail {
  margin: 20px 0 0; padding-top: 16px; border-top: 1px solid var(--line-soft);
  font-size: 15px; color: var(--muted); white-space: nowrap;
}
.join-mail a { font-weight: 600; }
/* 「直接投递」：二维码区上方的居中小标题，与二维码区同宽 */
.join-apply {
  margin: 34px auto 16px; max-width: 720px;
  text-align: center; font-size: 16px; font-weight: 600; letter-spacing: 3px; color: var(--ink);
}
.join-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px; align-items: stretch;
  max-width: 720px; margin: 0 auto;
}
.qr-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; text-align: center; display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.qr-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d3e0f0; }
/* 二维码区：正方形，图片居中；还没放图时用虚线框占位 */
.qr-figure {
  aspect-ratio: 1 / 1; display: grid; place-items: center; padding: 14px;
  background: #f5f8fc; border-radius: 12px; margin-bottom: 18px;
}
.qr-figure img { max-width: 100%; max-height: 100%; object-fit: contain; }
.qr-figure.is-empty { border: 1.5px dashed #b9c8db; background: #fafcfe; }
.qr-placeholder { font-size: 14px; line-height: 1.9; color: #9fb2c9; text-align: center; }
.qr-body { margin-top: auto; }
.qr-body h3 { margin: 0 0 6px; font-size: 17px; color: var(--ink); }
.qr-body p { margin: 0; font-size: 14px; color: var(--muted); }
/* 中等宽度：英文岗位名较长，一行放不下 4 个，改竖排 */
@media (max-width: 900px) {
  .join-roles { flex-direction: column; gap: 4px; }
}
/* 窄屏（≤768）：岗位块收窄内距、二维码卡单列、邮箱行允许折行 */
@media (max-width: 768px) {
  .join-grid { grid-template-columns: 1fr; gap: 20px; }
  .join-box { padding: 22px 20px; }
  .join-mail { white-space: normal; }
  .join-apply { margin: 26px auto 12px; }
  .qr-figure { max-width: 300px; margin: 0 auto 16px; }
  .about-figure { min-height: 240px; }
}
.about-lead { font-size: 17px; color: var(--body); }
.culture-box { background: var(--bg-soft); border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); }
.culture-box p { margin-bottom: 8px; }
.culture-box p:last-child { margin-bottom: 0; }

/* ------------- 内页页眉 Banner（解决方案 / 产品中心 / 关于我们 / 新闻资讯 / 联系我们） ------------- */
/* 用一张纯色系横幅图作背景，叠加压暗蒙层，标题与面包屑反白显示 */
.page-hero {
  position: relative; overflow: hidden; background: #0e2135;
  padding: 80px 0 70px;
}
.page-hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 50%;
}
.page-hero-mask {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(4, 12, 24, .88) 0%, rgba(4, 12, 24, .64) 46%, rgba(4, 12, 24, .38) 100%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero .breadcrumb { color: rgba(198, 220, 248, .8); }
.page-hero .breadcrumb a { color: rgba(212, 232, 255, .92); }
.page-hero .breadcrumb a:hover { color: #fff; }
.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(206, 226, 248, .92); }

/* ------------------------------ 详情页 ------------------------------ */
.detail-hero { background: linear-gradient(135deg, #f6f9fd 0%, #eef4fb 100%); border-bottom: 1px solid var(--line); padding: 64px 0; }
.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--brand); }
/* 技术文档下载按钮（产品详情页标题下方；样式参考 ADI 产品页的 Data Sheet 按钮：实心蓝底 + 白色文档图标） */
/* 「技术文档」按钮：图标 + 文字作为一整组在按钮内严格居中。
   两个容易看出「没居中」的细节都处理掉了：
   ① 文字 span 默认行高（继承 1.6）比图标高，flex 居中后汉字视觉重心偏下 —— 收成 line-height:1；
   ② SVG 里文档图形的墨迹重心比视框中心略高，补 0.5px 下沉做光学对齐。 */
.doc-download {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 44px; padding: 0 20px; margin-top: 6px;
  background: var(--brand); color: #fff; border-radius: 8px;
  font-size: 15px; font-weight: 600; letter-spacing: .2px;
  box-shadow: 0 6px 18px rgba(11, 87, 164, .22);
  transition: background .2s, transform .2s, box-shadow .2s;
}
.doc-download:hover {
  background: var(--brand-dark); color: #fff; transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(11, 87, 164, .3);
}
.doc-download svg { flex: none; display: block; }
.doc-download > span { display: block; line-height: 1; white-space: nowrap; }
/* 待上传态（span，非链接）：外观与真下载按钮完全一致，点击无反应，光标保持箭头 */
.doc-download--pending { cursor: default; }
@media (max-width: 640px) {
  .doc-download { height: 42px; padding: 0 16px; font-size: 14px; }
}
/* 注意：.detail-layout 与 .container 同为单类选择器、特异性相同，谁写在后面谁赢。
   原来这里写 padding: 64px 0，把 .container 的左右 24px 内边距整个覆盖掉了：
   手机端详情正文与参数卡贴着屏幕边缘，电脑端正文比页头版心左移 24px（审计第 08 项）。
   改成 64px 24px，垂直内边距照旧、左右留白交还给容器。 */
.detail-layout { display: grid; grid-template-columns: 1fr 320px; gap: 48px; padding: 64px 24px; align-items: start; }
/* 左栏是网格项，min-width 默认 auto：会被内部「技术参数」那张 min-width:520px 的宽表撑开，
   窄屏（单手手机）下整页横向溢出。显式置 0，把横向滚动收回 .spec-table-wrap 内部 */
.detail-layout > div { min-width: 0; }
.article-body { font-size: 16px; line-height: 1.95; color: var(--body); }
.article-body h3 { margin-top: 34px; font-size: 19px; }
.article-body p { white-space: pre-wrap; }
.feature-list { list-style: none; padding: 0; margin: 20px 0; }
.feature-list li { position: relative; padding-left: 26px; margin-bottom: 12px; }
.feature-list li::before {
  content: ''; position: absolute; left: 0; top: 10px; width: 8px; height: 8px;
  border-radius: 50%; background: var(--brand);
}
/* 产品详情：技术参数表
   表是「参数 / 性能指标 / 备注」三列，但备注只有个别行有值。
   交给浏览器自动分列时，备注列会被压到 140px 上下 —— 9 个字的备注被拆成两行、
   末字单独占一行，看着像「没显示全」。这里改成：
   ① 列宽用 colgroup 明确分配（参数 22% / 备注 22%，其余全给最长的性能指标列）；
   ② 备注列 nowrap + 字号小一档，保证一句短备注放得下、不再折行；
   ③ 没有备注的行显式填「—」，避免出现大片空白格子。
   窄屏（≤640）另有「一行一卡片」的排版，见文件末尾响应式一节。 */
.spec-table-wrap { margin: 20px 0 6px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.7; min-width: 520px; }
.spec-table .col-name { width: 22%; }
.spec-table .col-value { width: auto; }
.spec-table .col-note { width: 22%; }
.spec-table thead th {
  text-align: center; font-weight: 700; font-size: 14px; letter-spacing: .02em;
  color: #fff; background: linear-gradient(115deg, #4a67c8 0%, #2f6ec6 100%);
  padding: 12px 16px; border: 1px solid rgba(47, 110, 198, .35);
}
/* 表头原带 10px 上圆角，圆角处会露出页面底色，看着像「左右上角各缺了一个透明的角」；
   改为直角后渐变铺满整条表头，不再有缺口 */
.spec-table thead th:first-child { border-top-left-radius: 0; }
.spec-table thead th:last-child { border-top-right-radius: 0; }
/* 单元格内容一律「上下居中 + 左右居中」：原来 vertical-align:top，性能指标写成多行时
   参数名/备注只有一个字宽，会紧贴单元格上沿，看起来像没对齐（客户反馈 FA 位置分辨率那行） */
.spec-table tbody th,
.spec-table tbody td { padding: 13px 16px; border: 1px solid var(--line); vertical-align: middle; text-align: center; }
/* 性能指标里带分号的条目按分号拆行（如「<120 nm @ 20 kHz；<160 nm @ 50 kHz」分两行显示） */
.spec-table .spec-value .spec-line { display: block; }
.spec-table tbody th { font-weight: 600; color: var(--ink); background: var(--bg-soft); white-space: nowrap; }
.spec-table .spec-value { color: var(--body); overflow-wrap: break-word; }
.spec-table .spec-note { padding: 13px 14px; font-size: 13px; line-height: 1.6; color: var(--muted); white-space: nowrap; }
.spec-table .spec-note.is-empty { color: #b9c4d6; }
.spec-table tbody tr:nth-child(even) th { background: #f2f6fd; }
.spec-table tbody tr:nth-child(even) td { background: #fbfcff; }
/* 典型应用里的配图：铺满左栏内容宽度（原先是 560px 封顶，右边会空出一大块白） */
.app-block img { width: 100%; max-width: 100%; height: auto; border-radius: 12px; margin: 4px 0 18px; display: block; }
.app-block p { margin-bottom: 12px; }
@media (max-width: 768px) {
  .spec-table { font-size: 14px; }
  .spec-table .col-name { width: 26%; }
  .spec-table .col-note { width: 27%; }
  .spec-table .spec-note { font-size: 13px; }
}
/* 产品中心：两两并列简洁卡片（图 + 名称） */
.prod-grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
/* 分组页「本方向的产品」数量不定（1~3 件），按最小列宽自适应：
   只有 1 件时不会占掉半行显得空旷，3 件时也不会挤压封面 */
.prod-grid2.is-auto { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.prod-card2 {
  display: flex; flex-direction: column; text-align: center; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.prod-card2:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #bcd4f2; }
/* 封面比例 16:10（原 4:3）：产品图自带的上下白边已裁掉，比例再压扁一档，
   大卡（404→333）与三列卡（350→291）一起矮下来，卡片上下不再空一截 */
.prod-cover2 {
  aspect-ratio: 16 / 10; display: grid; place-items: center; padding: 24px;
  background: #fff;
}
.prod-cover2 img { max-width: 100%; max-height: 100%; object-fit: contain; transition: transform .3s ease; }
.prod-card2:hover .prod-cover2 img { transform: scale(1.035); }
.prod-fallback2 { color: var(--brand); font-size: 26px; font-weight: 700; }
.prod-card2 h3 {
  margin: 0; padding: 17px 22px 19px; font-size: 18px; color: var(--ink);
  border-top: 1px solid var(--line-soft); background: #fff; transition: color .2s;
}
.prod-card2:hover h3 { color: var(--brand); }
@media (max-width: 768px) { .prod-grid2 { grid-template-columns: 1fr; } }

/* 产品中心页：同一个应用方向下的产品一排三列（粒子加速器正好三款并排） */
.prod-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
/* 标题长短不一（如「…处理器电源模块」会折成两行）时，让标题区吸收行高差并垂直居中，
   三张卡片的封面顶边与卡片底边依然齐平，一排看起来是整整齐齐的 */
.prod-grid3 .prod-card2 h3 {
  flex: 1 1 auto; display: flex; align-items: center; justify-content: center;
  padding: 16px 18px 18px; font-size: 19px; font-weight: 700; line-height: 1.45;
}
/* 方向分组页（.prod-grid2.is-auto）用的是同一张卡片，标题规格跟着一起放大加粗 */
.prod-grid2.is-auto .prod-card2 h3 { font-size: 19px; font-weight: 700; letter-spacing: .2px; }
/* 卡片够宽（视口 ≥1160px，一排三列，单卡内容宽 ≥315px）时产品名再大一档、并锁成一行：
   20px 下最长的「数字束流位置测量处理器电源模块」15 字 ≈ 300px，留 15px 余量。
   960~1160 之间仍是三列但卡片更窄，硬 nowrap 会被卡片 overflow:hidden 裁掉，
   所以这一档保持自然折行（标题区 flex 居中，折行也不会让一排卡片错开）。
   注：微软雅黑只有 Regular/Bold 两档，700 已是它能给到的最粗，再往上是无效的字重。 */
@media (min-width: 1160px) {
  .prod-grid3 .prod-card2:not(.prod-card2--wide) h3,
  .prod-grid2.is-auto .prod-card2:not(.prod-card2--wide) h3 { font-size: 20px; }
  body.lang-zh .prod-grid3 .prod-card2:not(.prod-card2--wide) h3,
  body.lang-zh .prod-grid2.is-auto .prod-card2:not(.prod-card2--wide) h3 { white-space: nowrap; }
}
/* 三列一直保留到 960px（桌面/横屏平板都是一排三款），再窄才退成两列、单列 */
@media (max-width: 960px) { .prod-grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .prod-grid3 { grid-template-columns: 1fr; } }

/* --------- 方向下只有 1~2 款产品时的排布（否则网格会空出整列，看着很空） ---------
   产品中心页（.prod-grid3）与方向分组页（.prod-grid2.is-auto）共用这套宽卡样式 */
/* 单款：整行一张横向特色卡（左图右文）。它比三列卡片宽得多，所以补上标题、简介与入口，
   高度与「一排三款」那一排接近，两页 / 两个 Tab 之间视觉重量是对得上的 */
.prod-grid3.prod-grid--single { grid-template-columns: minmax(0, 1fr); }
.prod-grid2.is-auto.prod-grid--single { grid-template-columns: minmax(0, 1fr); }
/* 两款：桌面也是两列（三列网格会空出一格）。≤960 时 .prod-grid3 本身就是两列，不用重复 */
@media (min-width: 961px) { .prod-grid3.prod-grid--pair { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* 特色卡的「文」这一侧：窄屏（≤640）回落成卡片下方的一段文字，所以默认按竖排写。
   选择器用两个类叠在一起，是为了压过 .prod-grid3 .prod-card2 h3 的 flex:1 1 auto */
.prod-card2.prod-card2--wide .prod-body {
  display: flex; flex-direction: column; justify-content: center; gap: 14px;
  padding: 24px 26px 28px; border-top: 1px solid var(--line-soft); text-align: center;
}
.prod-card2.prod-card2--wide h3 {
  margin: 0; padding: 0; border: 0; background: none; display: block;
  flex: 0 0 auto;                     /* 否则标题会把上下间距拉开 */
  font-size: 20px; line-height: 1.45; color: var(--ink); transition: color .2s;
}
.prod-card2.prod-card2--wide .prod-desc { margin: 0; font-size: 14.5px; line-height: 1.85; color: var(--body); }
/* 入口样式（当前未使用：宽卡已去掉「查看产品详情」与箭头，卡片只留标题 + 简介。
   保留这段是为了用户再要一个入口时能一行加回来 —— 模板里补 <span class="prod-more"> 即可） */
.prod-card2.prod-card2--wide .prod-more {
  align-self: center;
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--line); border-radius: 50%; background: #fff;
  color: var(--brand);
  transition: background .25s ease, border-color .25s ease, color .25s ease, box-shadow .25s ease;
}
.prod-card2.prod-card2--wide .prod-more svg { width: 19px; height: 19px; transition: transform .25s ease; }
.prod-card2.prod-card2--wide:hover .prod-more {
  background: var(--brand); border-color: var(--brand); color: #fff;
  box-shadow: 0 10px 22px rgba(11, 87, 164, .22);
}
.prod-card2.prod-card2--wide:hover .prod-more svg { transform: translateX(4px); }
/* :hover 让标题变品牌色（上面这条 h3 规则会盖掉 .prod-card2:hover h3，这里显式补回） */
.prod-card2.prod-card2--wide:hover h3 { color: var(--brand); }

/* ≥641px：图片与文字左右并排。封面用固定 16:10 比例撑出整卡高度，
   文字侧拉伸同高并垂直居中，这样卡高与一排三款的卡片接近 */
@media (min-width: 641px) {
  .prod-card2.prod-card2--wide { flex-direction: row; text-align: left; align-items: stretch; }
  /* 封面占比略放大、内边距收窄，产品图在大卡里更有存在感 */
  .prod-card2.prod-card2--wide .prod-cover2 {
    flex: 0 0 46%; max-width: 46%; padding: 20px 26px;
    border-right: 1px solid var(--line-soft);
  }
  .prod-card2.prod-card2--wide .prod-body {
    flex: 1 1 auto; min-width: 0; padding: 28px 44px; border-top: 0; text-align: left;
  }
  .prod-card2.prod-card2--wide h3 { font-size: 25px; }
  .prod-card2.prod-card2--wide .prod-desc { font-size: 15px; max-width: 620px; }
  .prod-card2.prod-card2--wide .prod-more { align-self: flex-start; }
}

/* 方向标签在窄屏的适配：英文站的方向名很长（Signal Measurement /
   Particle Accelerators），两个 nowrap 按钮并排会撑破页面 —— 允许换行、缩小一档，
   并去掉竖线分隔（换行后分隔线会落到行首变成孤零零一个「|」） */
@media (max-width: 640px) {
  .sol-tabs-nav { flex-wrap: wrap; gap: 10px 18px; }
  .sol-tab-btn { font-size: 15px; padding: 8px 10px; white-space: normal; max-width: 100%; }
  .sol-tab-btn + .sol-tab-btn::before { display: none; }
}

/* 产品中心页 Tab 面板里的产品卡：与解决方案横框一致的错峰滑入。
   用 animation-fill-mode: backwards（而不是 forwards）——动画结束后元素回到自身样式，
   这样 :hover 的位移/阴影不会被动画的终态压住 */
.sol-tabs-panels .prod-card2 {
  animation: sgSlideIn .55s cubic-bezier(.22, .61, .36, 1) backwards;
}
.sol-tabs-panels .prod-card2:nth-child(1) { animation-delay: .04s; }
.sol-tabs-panels .prod-card2:nth-child(2) { animation-delay: .16s; }
.sol-tabs-panels .prod-card2:nth-child(3) { animation-delay: .28s; }

.side-card { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; margin-bottom: 20px; }.side-card h4 { margin-bottom: 14px; font-size: 15px; }
.side-card p { font-size: 14px; margin-bottom: 8px; }

/* --------- 解决方案详情页：左栏正文滚动、右栏（咨询/联系/相关方案）固定 --------- */
/* 右栏吸顶：页面往下滚时右栏「不动」，左侧正文在它旁边自然滑过。
   top 值 = 吸顶导航高度(84px) + 一点呼吸间距；容器已 align-items:start，
   所以 aside 高度等于内容高度，sticky 才有可移动的空间。
   内容偶发超过一屏时（小屏笔记本）才出现内部滚动条，正常情况不会有。 */
.detail-layout--sticky > aside {
  position: sticky;
  top: 104px;
  align-self: start;
  max-height: calc(100vh - 132px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}
.detail-layout--sticky > aside::-webkit-scrollbar { width: 6px; }
.detail-layout--sticky > aside::-webkit-scrollbar-thumb { background: #d3dce8; border-radius: 3px; }
.detail-layout--sticky > aside::-webkit-scrollbar-track { background: transparent; }

/* 左栏内容随滚动逐块「滑入」：默认完全正常显示，
   只有 JS 打开了 .reveal-on（且用户没开「减弱动效」）才启用初态隐藏，
   这样即使脚本没跑起来，正文也不会消失。
   缓动用长缓出曲线：起步快、收尾长，读起来是「稳稳落位」而不是「弹一下」；
   translate3d + will-change 把动画放到合成层，滚动时不会掉帧 */
.reveal-on .reveal-item {
  opacity: 0;
  transform: translate3d(0, 30px, 0);
  transition:
    opacity .85s cubic-bezier(.16, .84, .28, 1),
    transform .85s cubic-bezier(.16, .84, .28, 1);
}
.reveal-on .reveal-item.will-animate {
  will-change: opacity, transform;
  backface-visibility: hidden;
}
.reveal-on .reveal-item.is-in { opacity: 1; transform: translate3d(0, 0, 0); }
@media (prefers-reduced-motion: reduce) {
  .reveal-on .reveal-item { opacity: 1; transform: none; transition: none; }
}

/* 详情页左栏分块：每块一个 .detail-block，包住「小标题 + 内容」以便逐块滑入。
   块本身不设内边距，所以内部 h3 的 margin 会照常与相邻块折叠，
   视觉间距与改造前一致 */
.detail-block > h3:first-child { margin-top: 0; }
.detail-block + .detail-block { margin-top: 34px; }
/* 窄屏下右栏不再吸顶：留一屏高度做 sticky 反而挤掉正文 */
@media (max-width: 992px) {
  .detail-layout--sticky > aside { position: static; max-height: none; overflow: visible; }
}
.side-list { list-style: none; padding: 0; margin: 0; }
.side-list li { padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.side-list li:last-child { border-bottom: none; }

/* ------------------------------ 联系页 ------------------------------ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: stretch; }
.contact-grid > div { min-width: 0; }
/* 两列等高对齐：左列内容自然排布、微信盒子用 margin-top:auto 贴到列底，
   右列表单卡 flex 撑满整列——左右两列的顶边与底边因此严格齐平，
   不再出现「微信盒子比表单卡底部长出一截」的错位 */
.contact-grid > div:first-child { display: flex; flex-direction: column; }
.contact-grid > div:first-child .wechat-box { margin-top: auto; }
/* auto 在「左列本身更高」时会归零，这里保底 26px，微信盒子不会贴到上面的条目 */
.contact-grid > div:first-child .contact-info-item:last-of-type { margin-bottom: 26px; }
.contact-grid > div:last-child { display: flex; flex-direction: column; }
.contact-grid > div:last-child .form-card { flex: 1 1 auto; display: flex; flex-direction: column; }
/* 表单卡被拉高后，多出来的高度让「咨询内容」输入框吃掉，
   而不是在提交按钮下方留一截空白 */
.form-card form { flex: 1 1 auto; display: flex; flex-direction: column; }
.form-card form .form-group:last-of-type { flex: 1 1 auto; display: flex; flex-direction: column; }
.form-card form .form-group:last-of-type textarea { flex: 1 1 auto; min-height: 130px; }
/* 图标与右侧「标题 + 内容」整体上下居中（原来图标固定贴顶，两行内容时就显得偏上） */
.contact-info-item { display: flex; gap: 15px; padding: 15px 0; border-bottom: 1px solid var(--line); align-items: center; }
.contact-info-item:last-child { border-bottom: none; }
/* 联系方式的图标：客户要求去掉原来的 42×42 浅蓝圆角底框，只留线条小图标，视觉更简约。
   2026-10-09 客户再要求「全部放大一点、上下居中」：20px → 26px，
   并改用 align-items: center 让图标对齐整条内容的垂直中心（不再用 margin-top 硬顶） */
/* 图标本身在 contact.ejs 里已归一化到「同一外接框 + 同一中心」（见 tools/normalize-icons.js），
   这里只统一渲染尺寸：22px（客户 2026-10-09 反馈 26px 偏大，要求五个图标一致且稍小、上下居中） */
.contact-ico { width: 22px; height: 22px; color: var(--brand); display: grid; place-items: center; flex: none; }
.contact-ico svg { display: block; width: 22px; height: 22px; }
.contact-info-item h4 { margin: 0 0 3px; font-size: 15px; }
.contact-info-item p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; overflow-wrap: anywhere; text-wrap: pretty; }
.contact-info-item p a { color: var(--brand); }
.contact-info-item p a:hover { text-decoration: underline; }

/* 联系方式卡片：与右侧「在线留言」卡片同款外观（白底 / 描边 / 圆角 / 阴影 / 同内边距），
   左右两块因此对称；标题字号也统一到 19px，不再左大右小 */
.contact-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.contact-card-title { font-size: 19px; margin: 0 0 4px; }
.contact-card .eyebrow { margin-bottom: 6px; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-size: 14px; font-family: inherit; color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(11, 87, 164, .1);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-tip { font-size: 12px; color: var(--muted); margin-top: 6px; }
.alert { padding: 12px 16px; border-radius: var(--radius-sm); font-size: 14px; margin-bottom: 18px; }
.alert-error { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.alert-success { background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }
/* 留言表单：字段级校验提示（审计第 09 / 12 项）。
   原来只在表单顶部弹一条总提示，手机端提交后提示落在屏幕上方看不见；
   现在除了把总提示滚进视野，还在出错字段下方就地给出说明、并高亮该字段。 */
.form-group input.is-invalid,
.form-group select.is-invalid,
.form-group textarea.is-invalid { border-color: #e79a9a; background: #fffbfb; }
.form-group input.is-invalid:focus,
.form-group select.is-invalid:focus,
.form-group textarea.is-invalid:focus { border-color: #d98080; box-shadow: 0 0 0 3px rgba(217, 128, 128, .18); }
.field-error { display: block; margin-top: 6px; font-size: 12.5px; line-height: 1.5; color: #b91c1c; }

/* ------------------------------ 登录页 ------------------------------ */
.auth-wrap { min-height: 74vh; display: grid; place-items: center; padding: 60px 24px; background: var(--bg-soft); }
.auth-card { width: 100%; max-width: 420px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 38px; box-shadow: var(--shadow); }
.auth-card h2 { font-size: 24px; text-align: center; margin-bottom: 6px; }
.auth-sub { text-align: center; color: var(--muted); font-size: 14px; margin-bottom: 26px; }
.auth-switch { text-align: center; font-size: 14px; color: var(--muted); margin-top: 20px; }
.demo-tip { margin-top: 18px; padding: 12px 14px; background: var(--bg-soft); border: 1px dashed var(--line); border-radius: var(--radius-sm); font-size: 12.5px; color: var(--muted); line-height: 1.7; }

/* ------------------------------ CTA ------------------------------ */
.cta-band { background: linear-gradient(120deg, #073d75 0%, #0b57a4 58%, #1e6fd0 100%); color: #fff; padding: 64px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-inner h2 { color: #fff; margin: 0 0 8px; font-size: 30px; }
.cta-inner p { color: rgba(255, 255, 255, .82); margin: 0; font-size: 15px; }
/* CTA 右侧：与原来一样横排——「在线留言」按钮 + 电话（原来是拨号按钮，现按客户要求改纯文字） */
.cta-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.cta-actions .cta-tel { display: inline-flex; align-items: baseline; gap: 8px; white-space: nowrap; }
.cta-actions .cta-label { font-size: 13px; color: rgba(255, 255, 255, .62); }
.cta-actions .cta-num { font-size: 20px; font-weight: 600; color: #fff; letter-spacing: .5px; }

/* ------------------------------ 页脚 ------------------------------ */
.site-footer { background: #0d1b2a; color: #9fb0c4; padding: 60px 0 52px; }
/* 客户 2026-10-08：原来四列是 1.6/1/1.3/1 的偏置宽度，视觉上不对称 → 改成四列等宽。
   客户 2026-10-09：等宽后「列框」间距虽然都是 40px，但各列文字宽窄不同
   （品牌简介占满整列、快速导航只有 4 个字），文字与文字之间的空隙实测 47 / 238 / 75px，
   看上去仍然不匀。改为最后一列用 auto 宽度（列宽贴合各自内容）+ space-between 均分剩余空间，
   三处空隙才真正一样大。品牌列固定 258px 保持不变，简介的换行位置与原来完全一致。 */
.footer-grid {
  display: grid;
  grid-template-columns: 258px auto auto auto;
  justify-content: space-between;
  gap: 40px;
}
/* 内容自适应的兜底：英文站地址那一行特别长，会把「联系方式」列撑到 500px 宽、挤扁其余列。
   限个上限，列宽就不会失控（中文各列本来就 60~230px，不受影响） */
.footer-col { max-width: 320px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1); padding: 20px 24px 0;
  display: flex; justify-content: center; align-items: center; gap: 26px; flex-wrap: wrap;
  font-size: 13px; color: rgba(159, 176, 196, .78);
}
/* 最底部现在是「版权声明 + 公安备案 + ICP 备案」三项，窄屏换行后 26px 间距显得松散 */
@media (max-width: 640px) {
  .footer-bottom { gap: 8px 18px; padding: 18px 16px 0; }
}
.police-record { display: inline-flex; align-items: center; gap: 6px; color: rgba(159, 176, 196, .78); }
a.police-record:hover { color: #cfe0f5; }
/* ICP 备案号：做成可点击的官方查询入口（审计第 20 项），与上面公安备案链接同款 */
.icp-record { color: rgba(159, 176, 196, .78); }
a.icp-record:hover { color: #cfe0f5; }
.police-record svg { width: 15px; height: 16px; color: #4da3ff; flex: none; }
.site-footer .logo-text strong { color: #fff; }
.site-footer .logo { margin-bottom: 16px; }
.footer-desc { font-size: 14px; line-height: 1.8; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer-col a { display: block; color: #9fb0c4; font-size: 14px; padding: 4px 0; }
.footer-col a:hover { color: #fff; }
.footer-col p { font-size: 14px; margin: 0 0 8px; }
/* 「快速导航」列的链接要竖排（display:block），但「联系方式」列里段落内的邮箱链接
   必须和「邮箱：」标签同行 —— 不重置的话它会独占一行（客户 2026-10-08 反馈） */
.footer-col p a { display: inline; padding: 0; }
/* 地址按数据里的换行符断行（后台地址栏可自行控制在哪里换行），
   pre-line 保留换行、其余空白照常折叠；仍走转义输出，不引入 HTML 注入面 */
.footer-addr, .contact-addr { white-space: pre-line; }

/* ------------------------------ 后台管理 ------------------------------ */
.admin-body { background: var(--bg-soft); }
.admin-layout { display: grid; grid-template-columns: 224px 1fr; min-height: 100vh; }
.admin-side {
  background: #0d1b2a; color: #9fb0c4; padding: 22px 0; position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.admin-side .side-logo { display: flex; align-items: center; gap: 10px; padding: 0 22px 20px; border-bottom: 1px solid rgba(255,255,255,.08); margin-bottom: 16px; }
.admin-side .side-logo .logo-mark { background: linear-gradient(135deg, var(--brand-2), var(--brand)); }
.admin-side .side-logo b { color: #fff; font-size: 14px; }
.admin-menu a {
  display: flex; align-items: center; gap: 10px; padding: 11px 22px; color: #9fb0c4;
  font-size: 14px; border-left: 3px solid transparent;
}
.admin-menu a:hover { color: #fff; background: rgba(255,255,255,.05); }
.admin-menu a.active { color: #fff; background: rgba(46,139,255,.14); border-left-color: var(--brand-2); }
.admin-menu .menu-label { padding: 16px 22px 6px; font-size: 11px; letter-spacing: 1.5px; color: #5b6b7f; text-transform: uppercase; }
.admin-main { display: flex; flex-direction: column; min-width: 0; }
.admin-top {
  height: 64px; background: #fff; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; padding: 0 28px; position: sticky; top: 0; z-index: 20;
}
.admin-top h1 { font-size: 18px; margin: 0; }
.admin-top .who { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }
.admin-content { padding: 28px; flex: 1; }

.stat-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 24px; }
.stat-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.stat-card span { font-size: 13px; color: var(--muted); }
.stat-card b { display: block; font-size: 30px; color: var(--ink); line-height: 1.3; margin-top: 4px; }
.stat-card.accent b { color: var(--brand); }

.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 22px; }
.panel-head { padding: 18px 24px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.panel-head h3 { margin: 0; font-size: 16px; }
.panel-body { padding: 24px; }

.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: 14px; }
table.data th {
  text-align: left; padding: 12px 24px; background: var(--bg-soft); color: var(--muted);
  font-weight: 600; font-size: 13px; border-bottom: 1px solid var(--line); white-space: nowrap;
}
table.data td { padding: 14px 24px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
table.data tr:last-child td { border-bottom: none; }
table.data tr:hover td { background: #fafcff; }
.row-actions { display: flex; gap: 8px; justify-content: flex-end; }

.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.badge-green { background: #ecfdf5; color: #15803d; }
.badge-gray { background: #f1f5f9; color: #64748b; }
.badge-blue { background: var(--brand-light); color: var(--brand); }
.badge-orange { background: #fff7ed; color: #c2410c; }
.badge-red { background: #fef2f2; color: #b91c1c; }

.empty { text-align: center; padding: 56px 24px; color: var(--muted); font-size: 14px; }

.media-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.media-item { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.media-thumb { height: 120px; background: var(--bg-soft); display: grid; place-items: center; overflow: hidden; color: var(--muted); font-size: 13px; }
.media-thumb img { width: 100%; height: 100%; object-fit: cover; }
.media-meta { padding: 12px 14px; font-size: 13px; }
.media-meta .name { display: block; color: var(--ink); font-weight: 600; margin-bottom: 4px; word-break: break-all; }
.media-meta .size { color: var(--muted); }
.media-actions { display: flex; gap: 8px; padding: 0 14px 14px; }
.media-actions a { flex: 1; text-align: center; font-size: 12px; }

.msg-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; margin-bottom: 14px; }
.msg-card.unread { border-left: 3px solid var(--brand); }
.msg-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.msg-head b { color: var(--ink); font-size: 15px; }
.msg-head .meta { color: var(--muted); font-size: 13px; }
.msg-body { color: var(--body); font-size: 14px; white-space: pre-wrap; margin-bottom: 14px; }
.msg-actions { display: flex; gap: 10px; justify-content: flex-end; }

.admin-form { display: grid; grid-template-columns: 1fr 320px; gap: 22px; align-items: start; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 10px 13px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-size: 14px; font-family: inherit; color: var(--ink); background: #fff;
}
.field textarea { min-height: 260px; line-height: 1.8; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(11, 87, 164, .1);
}
.field-hint { font-size: 12px; color: var(--muted); margin-top: 5px; }
.cover-preview { width: 100%; aspect-ratio: 16/9; border: 1px dashed var(--line); border-radius: var(--radius-sm); display: grid; place-items: center; color: var(--muted); font-size: 13px; overflow: hidden; background: var(--bg-soft); margin-top: 8px; }
.cover-preview img { width: 100%; height: 100%; object-fit: cover; }

.toast {
  position: fixed; right: 24px; bottom: 24px; z-index: 999;
  background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 10px;
  font-size: 14px; box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(10px);
  transition: opacity .25s, transform .25s; pointer-events: none;
}
.toast.show { opacity: 1; transform: translateY(0); }
.toast.error { background: var(--danger); }
.toast.success { background: var(--success); }

/* ------------------------------ 分页 ------------------------------ */
.pager { display: flex; gap: 8px; justify-content: center; margin-top: 40px; }
.pager a { padding: 7px 14px; border: 1px solid var(--line); border-radius: 8px; font-size: 14px; color: var(--body); background: #fff; }
.pager a.active { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ------------------------------ 响应式 ------------------------------ */
/* 1024–1200：页头要在 6 个中文导航 + EN + 登录 + 咨询方案 之间塞下放大后的字号，
   这一档空间最紧（右边缘的按钮曾经被挤出屏幕），单独收紧横向留白与内边距来让位 */
@media (max-width: 1200px) {
  .header-inner { gap: 20px; padding-left: 18px; padding-right: 18px; }
  .site-header .logo-img { height: 52px; }
  .site-nav { gap: 3px; }
  .site-nav a { padding: 8px 10px; }
  .site-nav a.active::after { left: 10px; right: 10px; }
  .header-actions { gap: 8px; }
  .header-actions .btn { padding: 0 18px; }
  /* 页头收窄时搜索框跟着收，别顶破一行 */
  .header-search { width: 148px; height: 38px; padding: 0 12px; }
}
/* ≤1100px 页头排不下「logo + 六项导航 + 搜索框 + EN + 登录」（该项目在 769~990px
   本就有页眉溢出的老问题），这一档把搜索框从页头收起；
   手机端（≤768px）的搜索入口放在汉堡菜单里（见下方 .nav-search 规则）。 */
@media (max-width: 1100px) {
  .header-actions .header-search { display: none; }
}

@media (max-width: 1024px) {
  .about-split, .contact-grid, .detail-layout, .admin-form { grid-template-columns: 1fr; }
  /* 满屏 Banner 下不再需要上下不对称的大 padding（那会把文字顶偏、破坏居中） */
  .hero-brand { max-width: 700px; }
  .hero-name { letter-spacing: 3px; }
  .page-hero { padding: 66px 0 58px; }
  .grid-4, .stat-cards { grid-template-columns: repeat(2, 1fr); }
  .product-grid, .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  /* 两列/单列时栅格轨道本来就是 1fr 铺满，上限会白留一道空，这里放掉 */
  .footer-col { max-width: none; }
  .media-grid { grid-template-columns: repeat(3, 1fr); }
  .detail-layout { gap: 32px; }
  /* 分组页：介绍区改单栏；半透明横框改「标题一行 + 简述一行」 */
  .group-intro-card { grid-template-columns: 1fr; gap: 32px; padding: 40px 38px; }
  .group-intro-media img { max-height: 230px; }
  .sg-item {
    grid-template-columns: 1fr auto;
    grid-template-areas: 'title arrow' 'desc desc';
    gap: 14px 20px; padding: 22px 24px;
  }
  .sg-item-desc { padding-left: 0; border-left: 0; padding-top: 14px; border-top: 1px solid rgba(160, 198, 255, .22); }
  /* 白底 Tab 页用的是浅色分隔线，深色分组页那条淡蓝在这里太荧光 */
  .sol-tabs-body .sg-item-desc { border-top-color: var(--line); }
}

@media (max-width: 768px) {
  h1 { font-size: 30px; }
  h2 { font-size: 24px; }
  .section { padding: 56px 0; }
  /* 窄屏取景已把芯片推出画面（见下面 object-position 的说明），
     「与芯片下边缘对齐」无从落点，文字改回垂直居中，上下留白相等 */
  .hero-banner { min-height: 100vh; align-items: center; }
  /* 窄屏取景把芯片推出画面、没有对齐落点，两块文字回到常规流（取消绝对定位），
     改由父级 flex 居中，标题与 slogan 按正常间距上下排 */
  .hero-brand { max-width: none; height: auto; display: flex; flex-direction: column; justify-content: flex-start; }
  .hero-name { position: static; letter-spacing: 2px; margin-bottom: 24px; }
  .hero-slogan { position: static; margin: 0; line-height: 1.7; }
  /* 窄屏 cover 只取到烘焙图 ~29% 宽的画面：默认 50% 正好切到芯片左侧那块亮斑，
     压在标题后面很吵。这里往左取景到干净的暗色板区（30% 同时也把左侧镜像补边的
     接缝推出了画面），窄屏不再管芯片在不在画面里 —— 底图干净、标题最清楚。 */
  .hero-banner .banner-img { object-position: 30% 50%; }
  /* 窄屏没有大面积的暗部可利用，蒙版改成「上窄带 + 中部整体压暗 + 底部轻收边」 */
  .hero-banner::after {
    background:
      linear-gradient(to bottom, rgba(2,7,16,.72) 0%, rgba(2,7,16,.34) 10%, rgba(2,7,16,.16) 20%),
      linear-gradient(to right, rgba(2,7,16,.50) 0%, rgba(2,7,16,.30) 46%, rgba(2,7,16,.10) 100%),
      linear-gradient(to bottom, rgba(2,7,16,0) 18%, rgba(2,7,16,.16) 44%, rgba(2,7,16,.30) 74%, rgba(2,7,16,.48) 100%);
  }
  .page-hero { padding: 52px 0 46px; }
  /* 分组页：介绍区与深色列表区在窄屏收紧 */
  .group-intro { padding: 28px 0 38px; }
  .group-intro-card { padding: 28px 24px; gap: 22px; border-radius: 14px; }
  .group-intro-text p { font-size: 14.5px; line-height: 1.9; }
  .group-intro-media img { max-height: 190px; }
  .group-switch-band { padding: 22px 0 44px; }
  .sol-glass { padding: 56px 0 64px; }
  .sg-item { padding: 18px 20px; }
  .sg-item-title { font-size: 16px; }
  /* 解决方案 Tab 页：窄屏适配 */
  .sol-tabs-body { padding: 18px 0 64px; }
  .sol-tabs-nav { gap: 8px; padding-bottom: 20px; }
  .sol-tab-btn { padding: 10px 18px; font-size: 14.5px; }
  .sol-tab-btn.is-active::after { bottom: -21px; width: 18px; }
  .sol-tab-head { padding: 16px 0 20px; }
  .sol-tab-title { font-size: 22px; }
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: 68px; left: 0; right: 0; background: #fff;
    flex-direction: column; gap: 0; padding: 8px 16px 16px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    display: none;
  }
  .site-nav.open { display: flex; }
  /* 展开的菜单必须自己能在视口内滚动（审计第 01 项）：
     原先只有 display:flex，菜单高度约 905 px（390×844 视口），「关于我们 / 联系我们」
     落到屏幕外，而背景页面却在滚 —— 手机访客点不到最后两项。
     这里给菜单一个「视口高 − 页头高」的上限并允许内部滚动；
     同时 body.nav-open（由 main.js 切换）锁住背景滚动，避免手指滑出菜单时页面跟着跑。 */
  .site-nav.open {
    max-height: calc(100vh - 68px);
    max-height: calc(100dvh - 68px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
  body.nav-open { overflow: hidden; }
  /* 汉堡菜单展开时，搜索框显示在菜单最上方（桌面页头那个搜索框此时是隐藏的） */
  .site-nav .header-search.nav-search { display: flex; width: 100%; height: 44px; margin: 4px 0 12px; }
  .site-nav a { padding: 12px 8px; border-bottom: 1px solid var(--line-soft); }
  .site-nav a.active::after { display: none; }
  .site-header.is-overlay:not(.scrolled) .site-nav {
    background: #0b1526; border-bottom-color: rgba(255, 255, 255, .1);
  }
  .site-header.is-overlay:not(.scrolled) .site-nav a { border-bottom-color: rgba(255, 255, 255, .08); }
  .site-header.is-overlay.scrolled .site-nav { background: #fff; }
  .header-actions { margin-left: auto; flex: none; gap: 8px; }
  .header-inner { gap: 12px; height: 68px; }
  .site-header .logo-img { height: 46px; }
  .header-actions .btn-primary { display: none; }
  /* 登录状态下窄屏空间不够，隐藏用户名标签与「进入后台」，避免按钮被裁切 */
  .user-chip { display: none; }
  .header-actions .admin-entry { display: none; }
  .partners-band { padding: 44px 0 40px; }
  .partners-band .section-head { margin-bottom: 22px; }
  .partner-item { width: 176px; height: 92px; padding: 12px 14px; }
  .partner-item img { max-height: 40px; }
  .sol-index-name { min-width: 0; }
  .sol-index-list a { flex-direction: column; align-items: flex-start; gap: 4px; }
  .grid-3, .grid-4, .grid-2, .product-grid, .stat-cards, .footer-grid, .media-grid, .spec-list { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-side { position: static; height: auto; }
  .admin-menu { display: flex; flex-wrap: wrap; }
  .admin-menu .menu-label { display: none; }
  .admin-menu a { padding: 8px 14px; }
  .admin-content { padding: 18px; }
  .panel-head { padding: 14px 16px; }
  table.data th, table.data td { padding: 10px 14px; }
  .news-item { grid-template-columns: 1fr; }
  .news-date { text-align: left; }
  .cta-inner h2 { font-size: 22px; }
  /* 窄屏改成两行堆叠：按钮一行、电话一行，靠左 */
  .cta-actions { align-items: flex-start; gap: 14px; }
  .cta-actions .cta-num { font-size: 18px; }
}

/* 手机（≤640）技术参数表：三列并排时一屏放不下、要左右来回看，很容易被当成
   「显示不全」。这里把每一行摊成一张小卡片 —— 参数名当卡头，性能指标/备注各占
   一行并自动带上字段名，整表不再需要横向滚动 */
@media (max-width: 640px) {
  .spec-table-wrap { overflow-x: visible; margin: 16px 0 4px; }
  .spec-table { min-width: 0; font-size: 14px; }
  .spec-table colgroup,
  .spec-table thead { display: none; }
  .spec-table,
  .spec-table tbody,
  .spec-table tr,
  .spec-table tbody th,
  .spec-table tbody td { display: block; }
  .spec-table tbody tr {
    border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
    background: #fff; margin-bottom: 12px;
  }
  .spec-table tbody tr:nth-child(even) td { background: #fff; }
  .spec-table tbody tr:nth-child(even) th,
  .spec-table tbody tr:nth-child(even) th.spec-name { background: #f2f6fd; }
  .spec-table tbody th,
  .spec-table tbody td { border: 0; padding: 12px 15px; }
  .spec-table tbody th.spec-name {
    background: #f2f6fd; font-weight: 600; white-space: normal;
    border-bottom: 1px solid var(--line);
  }
  .spec-table .spec-note { white-space: normal; font-size: 13px; border-top: 1px solid var(--line-soft); }
  .spec-table .spec-value::before,
  .spec-table .spec-note::before {
    content: attr(data-label) '：'; color: var(--muted); font-size: 13px;
  }
}

/* ---------------------------------------------------------------------------
   长正文段落两端对齐（2026-10-12 客户要求）
   —— 原先只有解决方案详情页做了两端对齐（`.article-body--justify p`），
      产品详情、关于我们、卡片简介、页脚简介等都还是默认左对齐，中英双站均如此。
   —— 中文用 `inter-ideograph`（均分汉字间隙，不会把标点挤在一起）；
      英文按词间距拉伸。
   —— 规则写在基础层（不在任何媒体查询内），所以手机版一并生效；
      窄屏下字号与行宽由各自的媒体查询负责，这里不再覆盖 text-align。
   —— 刻意不做的：标题、表格单元格、列表条目、地址/电话行、按钮旁短句
      （它们要么单行，要么两端对齐反而难看）。
   --------------------------------------------------------------------------- */
.article-body p,
.about-intro p,
.credential-card p,
.prod-desc,
.sg-item-desc,
.sg-item-desc span,
.search-item-desc,
.footer-desc,
.side-card p,
.cta-band p,
.section-head-left p,
.page-hero .container > p,
.detail-hero .container > p {
  text-align: justify;
  text-justify: inter-ideograph;
}

/* 解决方案详情页原有的类保留：老模板里它写在容器上，留着向后兼容 */
.article-body--justify p { text-align: justify; text-justify: inter-ideograph; }
