/* ============================================================
   PEGASUS FASTENERS (MALAYSIA) — 官网样式
   视觉语言：深海军蓝 + 工业银 + 信号红（源自宣传册 VI）
   ============================================================ */

:root {
  --navy-950: #04122B;
  --navy-900: #071D3D;
  --navy-800: #0A2B5C;
  --navy-700: #123B77;
  --blue-600: #1657B0;
  --blue-500: #1E6FDC;
  --blue-300: #6FA8F0;
  --blue-100: #DCE9FA;
  --silver-50: #F7F9FC;
  --silver-100: #F1F4F9;
  --silver-200: #E4EAF3;
  --ink-900: #131A26;
  --ink-600: #48566A;
  --ink-400: #7A8798;
  --red-500: #D92632;
  --red-600: #B81E2A;
  --white: #FFFFFF;

  --font-display: 'Rajdhani', 'Noto Sans SC', 'Microsoft YaHei', 'PingFang SC', sans-serif;
  --font-body: 'Noto Sans SC', 'Segoe UI', 'Microsoft YaHei', 'PingFang SC', sans-serif;

  --header-h: 76px;
  --radius: 14px;
  --shadow-card: 0 10px 30px rgba(7, 29, 61, 0.08);
  --shadow-lift: 0 18px 44px rgba(7, 29, 61, 0.16);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
:focus-visible { outline: 2px solid var(--blue-500); outline-offset: 2px; border-radius: 4px; }

.container {
  width: min(1200px, 92vw);
  margin-inline: auto;
}

/* ---------- 通用章节 ---------- */
.section { padding: 96px 0; }
.section-light { background: var(--silver-50); }
.section-white { background: var(--white); }
.section-dark { background: var(--navy-900); color: var(--white); }

.section-head { margin-bottom: 48px; max-width: 820px; }
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--red-500);
  text-transform: uppercase;
}
.section-tag::before {
  content: "";
  width: 26px;
  height: 3px;
  background: var(--red-500);
  border-radius: 2px;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.22;
  letter-spacing: 0.01em;
  color: var(--navy-900);
  margin-top: 14px;
  text-wrap: balance;
}
/* 关于页 hero 主标题：桌面/平板(≥761px)强制单行；手机端在下方 max-width:760px 媒体查询里
   恢复自然换行并收窄字号，避免长标题在窄屏横向溢出 */
.section-title.about-hero-title { white-space: nowrap; text-wrap: nowrap; }
.section-sub { color: var(--ink-600); font-size: 16px; margin-top: 14px; }
.section-head-light .section-title { color: var(--white); }
.section-sub-light { color: rgba(255, 255, 255, 0.78); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn-primary { background: var(--red-500); color: #fff; }
.btn-primary:hover { background: var(--red-600); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(217, 38, 50, 0.35); }
.btn-ghost { border: 2px solid rgba(255, 255, 255, 0.55); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); transform: translateY(-2px); }

/* ---------- 顶部导航 ----------
   fixed 悬浮 + 毛玻璃（backdrop-filter），深蓝底白字；
   高度固定为 --header-h，全站内容块用该变量留出顶部空间。 */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(7, 29, 61, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(4, 18, 43, 0.35); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}
/* 页头品牌区（.brand）= 横版 Logo 直放深蓝页头。
   2026-09-24 二次换标：用户提供白字版 logo（蓝圆徽 + 白色 PEGASUS 字标，
   资产 305×80 自 1771×465 原图等比缩放，未改颜色版式），
   白色字标在深蓝底上可读，此前的白色圆角底衬随之移除。
   .brand-mark 按高度缩放（桌面 40px / ≤760 32px）、宽度 auto 保持原图比例；
   flex:0 0 auto 防止 Logo 在窄屏被压缩变形。后台覆盖层
   （site-content.js brand.logoSrc）换图时同样适用。 */
.brand {
  display: flex;
  align-items: center;
}
.brand-mark {
  width: auto;
  height: 40px;
  flex: 0 0 auto;
  object-fit: contain;
  display: block;
}
.brand-mark {
  width: auto;
  height: 40px;
  flex: 0 0 auto;
  object-fit: contain;
  display: block;
}

.main-nav { display: flex; gap: 4px; }
.main-nav a {
  padding: 8px 14px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease;
}
.main-nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.main-nav a.active { color: #fff; background: rgba(255, 255, 255, 0.14); }
.main-nav a.active::after {
  content: "";
  display: block;
  height: 2px;
  margin-top: 4px;
  background: var(--red-500);
  border-radius: 2px;
}

.header-actions { display: flex; align-items: center; gap: 16px; }
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
}
.lang-btn { font-size: 13px; font-weight: 700; color: rgba(255, 255, 255, 0.6); padding: 2px 8px; border-radius: 999px; transition: all 0.2s ease; }
.lang-btn.active { color: var(--navy-900); background: #fff; }
.lang-sep { color: rgba(255, 255, 255, 0.3); font-size: 12px; }
/* 暂锁英文：隐藏语言切换（放在上方 .lang-switch 原规则之后，靠源码顺序覆盖其 display）。
   走 CSS 而非 JS 隐藏，保证浏览器禁用 JS 时按钮同样不可见；
   HTML 里的 .lang-switch 标记保留未删——恢复双语时删除本条规则即可
   （app.js 侧对应开关为 LANG_LOCK）。 */
.lang-switch { display: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
  margin-right: -8px;
  border-radius: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: transform 0.25s ease, opacity 0.25s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 首页公告条（#site-notice） ----------
   内容由 site-content.js 覆盖层渲染（app.js applySiteContent）：
   无公告或用户已关闭时保持 hidden、完全不占位。
   页头是 fixed 定位不占文档流，因此公告条用 margin-top 压到页头下方，
   后续内容自然下移、互不遮挡。 */
.site-notice {
  margin-top: var(--header-h);
  background: linear-gradient(90deg, var(--blue-600), var(--navy-800));
  color: #fff;
}
.site-notice-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.site-notice-text {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 14px;
  min-width: 0;
  font-size: 13.5px;
}
.site-notice-date {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--blue-100);
}
.site-notice-title { font-weight: 700; font-size: 14.5px; }
.site-notice-body {
  color: rgba(255, 255, 255, 0.82);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}
.site-notice-close {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #fff;
  font-size: 18px;
  line-height: 1;
  background: rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.site-notice-close:hover { background: rgba(255, 255, 255, 0.28); }
/* 公告条可见时压缩 hero 顶部内边距：hero 原有 padding-top 是为清出 fixed 页头的
   空间，公告条已让出该空间，不清会多出一段空白（:not([hidden]) 保证隐藏时不生效） */
.site-notice:not([hidden]) ~ .hero { padding-top: 72px; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-800) 55%, var(--blue-600) 130%);
  color: #fff;
  padding: calc(var(--header-h) + 72px) 0 140px;
  overflow: hidden;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 56px;
}
.hero-eyebrow {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-300);
  margin-bottom: 20px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(44px, 6.4vw, 76px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.01em;
}
.hero-title span { display: block; }
.hero-title-accent { color: var(--blue-300); }
.hero-desc {
  margin-top: 24px;
  max-width: 520px;
  font-size: 17px;
  color: rgba(255, 255, 255, 0.85);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 36px; }
.hero-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}
.hero-note-dot {
  width: 9px; height: 9px;
  background: var(--red-500);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(217, 38, 50, 0.25);
  flex: none;
}

.hero-visual { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.hero-disc { position: relative; width: min(420px, 88%); aspect-ratio: 1; }
.hero-disc img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 30px 70px rgba(2, 10, 30, 0.55);
}
.hero-disc-ring {
  position: absolute;
  inset: -18px;
  border: 1px dashed rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  animation: spin 36s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.hero-welcome {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
}
.hero-wave {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  line-height: 0;
}
.hero-wave svg { width: 100%; height: 64px; display: block; }

/* ---------- 数据条 ---------- */
.stats {
  background: var(--white);
  padding: 40px 0;
  border-bottom: 1px solid var(--silver-200);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 18px 10px;
  border-left: 1px solid var(--silver-200);
}
.stat:first-child { border-left: none; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.6vw, 52px);
  font-weight: 700;
  color: var(--navy-800);
  line-height: 1;
}
.stat-num sup { font-size: 0.5em; color: var(--red-500); }
.stat-label { margin-top: 10px; font-size: 14px; color: var(--ink-600); font-weight: 500; }

/* ---------- 关于我们 ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: center;
}
.about-media { position: relative; }
.about-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}
.about-media-badge {
  position: absolute;
  left: 22px;
  bottom: 22px;
  background: var(--navy-800);
  color: #fff;
  border-radius: 12px;
  padding: 14px 20px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lift);
}
.about-media-badge strong { font-family: var(--font-display); font-size: 20px; letter-spacing: 0.02em; }
.about-media-badge span { font-size: 12px; color: rgba(255, 255, 255, 0.7); }
.about-copy p { margin-bottom: 18px; color: var(--ink-600); font-size: 15.5px; }
.about-quote {
  margin-top: 22px;
  padding: 20px 24px;
  border-left: 4px solid var(--red-500);
  background: var(--white);
  border-radius: 0 12px 12px 0;
  box-shadow: var(--shadow-card);
}
.about-quote span { font-size: 18px; font-weight: 700; color: var(--navy-900); }

.advantage-grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.adv-card {
  background: var(--white);
  border: 1px solid var(--silver-200);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.adv-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); border-color: var(--blue-300); }
.adv-index {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--red-500);
  letter-spacing: 0.1em;
}
.adv-card h3 { margin-top: 12px; font-size: 18px; font-weight: 700; color: var(--navy-900); }
.adv-card p { margin-top: 10px; font-size: 14px; color: var(--ink-600); }

/* ---------- 核心产品：三级交互目录 ---------- */
.px {
  display: grid;
  grid-template-columns: 272px minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}

/* L1 大类侧栏 */
.px-rail {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.px-fam {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 15px 16px 15px 20px;
  border: 1px solid var(--silver-200);
  border-radius: 12px;
  background: var(--silver-50);
  text-align: left;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.px-fam::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 4px;
  border-radius: 0 3px 3px 0;
  background: var(--red-500);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.px-fam:hover { border-color: var(--blue-300); transform: translateX(4px); }
.px-fam.active {
  background: var(--navy-800);
  border-color: var(--navy-800);
  box-shadow: var(--shadow-card);
  transform: translateX(4px);
}
.px-fam.active::before { opacity: 1; }
.px-fam-no {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink-400);
}
.px-fam.active .px-fam-no { color: var(--blue-300); }
.px-fam-name {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1.35;
}
.px-fam.active .px-fam-name { color: #fff; }

/* 工具行：面包屑 + 搜索 */
.px-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.px-crumb {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 26px;
}
.px-crumb-fam { font-family: var(--font-display); font-size: 14px; font-weight: 600; color: var(--ink-400); letter-spacing: 0.02em; }
.px-crumb-sep { color: var(--ink-400); }
.px-crumb-now { font-family: var(--font-display); font-size: 19px; font-weight: 700; color: var(--navy-900); letter-spacing: 0.02em; }
.px-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  height: 42px;
  border: 1px solid var(--silver-200);
  border-radius: 999px;
  background: var(--silver-50);
  color: var(--ink-400);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.px-search:focus-within { border-color: var(--blue-500); box-shadow: 0 0 0 3px var(--blue-100); }
.px-search svg { width: 17px; height: 17px; flex: none; }
.px-search input {
  border: none;
  outline: none;
  background: transparent;
  width: 210px;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink-900);
}

/* L2 系列胶囊 */
.px-groups {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 14px;
}
.px-grp {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 15px;
  border: 1px solid var(--silver-200);
  border-radius: 999px;
  background: var(--white);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-600);
  transition: all 0.2s ease;
}
.px-grp:hover { border-color: var(--blue-300); color: var(--navy-900); transform: translateY(-1px); }
.px-grp.active {
  background: var(--navy-800);
  border-color: var(--navy-800);
  color: #fff;
}

/* 系列描述 */
.px-desc {
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-600);
  border-left: 3px solid var(--red-500);
  padding-left: 14px;
  margin-bottom: 24px;
  max-width: 720px;
}

/* L3 产品网格 */
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.px-grid { animation: fadeUp 0.35s ease; }
.px-empty { padding: 48px 0; text-align: center; color: var(--ink-400); font-size: 15px; }
.px-noscript { padding: 32px 0; color: var(--ink-600); }

/* 弹窗前后导航与计数 */
.prod-modal-media { position: relative; }
.pm-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--navy-800);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px rgba(2, 10, 30, 0.35);
  transition: background 0.2s ease, opacity 0.2s ease;
}
.pm-nav svg { width: 20px; height: 20px; }
.pm-nav:hover { background: var(--red-500); }
.pm-nav:disabled { opacity: 0.25; cursor: default; }
.pm-nav:disabled:hover { background: var(--navy-800); }
.pm-prev { left: 12px; }
.pm-next { right: 12px; }
.pm-count {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink-400);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--silver-200);
  border-radius: 999px;
  padding: 2px 12px;
}
.chip {
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--blue-100);
  color: var(--blue-600);
  font-size: 13px;
  font-weight: 600;
}
.prod-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.pcard {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0;
  background: var(--white);
  border: 1px solid var(--silver-200);
  border-radius: 12px;
  overflow: hidden;
  text-align: left;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.pcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); border-color: var(--blue-300); }
.pcard:focus-visible { outline-offset: 3px; }
.pcard::after {
  content: "+";
  position: absolute;
  top: 12px;
  right: 12px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--navy-800);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  line-height: 26px;
  text-align: center;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 2;
}
.pcard:hover::after, .pcard:focus-visible::after { opacity: 1; transform: scale(1); }
.pcard img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; background: #fff; padding: 14px; }
.pcard-cap {
  display: block;
  padding: 11px 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-600);
  text-align: center;
  border-top: 1px solid var(--silver-200);
  background: var(--silver-50);
}

/* ---------- 产品详情弹窗 ---------- */
body.modal-open { overflow: hidden; }
.prod-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.prod-modal.open { visibility: visible; opacity: 1; }
.prod-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 18, 43, 0.68);
  backdrop-filter: blur(4px);
}
.prod-modal-dialog {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  width: min(920px, 100%);
  max-height: min(84vh, 760px);
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(2, 10, 30, 0.5);
  animation: modalIn 0.28s ease;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(18px) scale(0.98); } to { opacity: 1; transform: none; } }
.prod-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--navy-800);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}
.prod-modal-close:hover { background: var(--red-500); transform: rotate(90deg); }
.prod-modal-media {
  background: var(--silver-50);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 34px;
  min-height: 320px;
}
.prod-modal-media img { max-width: 100%; max-height: 440px; object-fit: contain; }
.prod-modal-body {
  padding: 44px 40px 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  overflow-y: auto;
}
.prod-modal-cat {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red-500);
  margin-bottom: 10px;
}
.prod-modal-name-en {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1.15;
  letter-spacing: 0.01em;
}
.prod-modal-name-zh { margin-top: 6px; font-size: 15px; font-weight: 600; color: var(--ink-600); }
.prod-modal-desc {
  margin-top: 18px;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--ink-600);
}
.prod-modal-cta { margin-top: 28px; }
@media (max-width: 760px) {
  .prod-modal-dialog { grid-template-columns: 1fr; max-height: 88vh; overflow-y: auto; }
  .prod-modal-media { min-height: 0; padding: 22px 18px 0; }
  .prod-modal-media img { max-height: 260px; }
  .prod-modal-body { padding: 22px 20px 28px; }
  .prod-modal { padding: 14px; }
}

/* ---------- 加工中心 ---------- */
.machining { position: relative; overflow: hidden; }
.machining-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
/* 2026-10-15 调亮 + 卡片移出：设备图 0.34→0.55 并轻微提亮；能力卡片移出照片区后
   右侧已无文字，遮罩右端进一步减淡至 0.15，设备主体完全可见；
   左侧文字区保持深色以确保白字可读 */
.machining-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.55; filter: brightness(1.1); }
.machining-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(4, 18, 43, 0.90) 6%, rgba(7, 29, 61, 0.55) 50%, rgba(7, 29, 61, 0.15) 100%),
    linear-gradient(to top, rgba(4, 18, 43, 0.30), transparent 34%);
}
.machining-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}
.mach-lead { margin-top: 18px; font-size: 17px; color: rgba(255, 255, 255, 0.85); }
.mach-list { margin-top: 34px; display: flex; flex-direction: column; gap: 22px; }
.mach-list li {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.mach-list li::before {
  content: "";
  width: 10px;
  height: 10px;
  border: 2px solid var(--red-500);
  border-radius: 50%;
  flex: none;
  align-self: center;
}
.mach-item-title { font-size: 18px; font-weight: 700; color: #fff; white-space: nowrap; }
.mach-item-desc { font-size: 14.5px; color: rgba(255, 255, 255, 0.72); }

/* 2026-10-15 能力卡片移出照片区（machining 照片区只留左侧 mach-list 文字），
   坐在 mach-specs 纯色深蓝带上：卡片与胶囊恢复原版玻璃质感，且不再遮挡设备照片 */
.mach-spec { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.mach-specs {
  background: linear-gradient(180deg, #04122B 0%, var(--navy-900) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 52px 0 72px;
}
.spec-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  padding: 26px 24px;
}
.spec-card-wide { grid-column: 1 / -1; }
.spec-label { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; color: var(--blue-300); text-transform: uppercase; }
.spec-value {
  display: block;
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: 46px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.spec-unit { font-size: 22px; color: var(--blue-300); }
.spec-note { display: block; margin-top: 8px; font-size: 13.5px; color: rgba(255, 255, 255, 0.65); }
.spec-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.spec-chip {
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 13.5px;
  color: #fff;
}

/* ---------- 智能管理 CLOUDHUB ---------- */
.cloud-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: start;
}
.cloud-devices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.device-card {
  background: var(--white);
  border: 1px solid var(--silver-200);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.device-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
/* 智能柜/货架设备照为竖幅长图，contain + 白底 padding 保证整机完整可见，避免 cover 裁切（同 .lab-card img） */
.device-card img { width: 100%; aspect-ratio: 9 / 14; object-fit: contain; background: #fff; padding: 10px; }
.device-card figcaption {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
}
.device-card strong { font-size: 16px; color: var(--navy-900); }
.device-card span { font-size: 13px; color: var(--ink-400); margin-top: 2px; }

.cloud-features { display: flex; flex-direction: column; gap: 20px; }
.cloud-feature {
  display: flex;
  gap: 20px;
  background: var(--white);
  border: 1px solid var(--silver-200);
  border-radius: var(--radius);
  padding: 24px 26px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.cloud-feature:hover { transform: translateX(6px); box-shadow: var(--shadow-card); }
.cf-num {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--red-500);
  flex: none;
  padding-top: 2px;
}
.cloud-feature h3 { font-size: 18px; font-weight: 700; color: var(--navy-900); }
.cloud-feature p { margin-top: 8px; font-size: 14px; color: var(--ink-600); }

.cloud-why { margin-top: 64px; }
.cloud-why-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 26px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.cloud-why-title::before { content: ""; width: 26px; height: 3px; background: var(--red-500); border-radius: 2px; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why-card {
  background: var(--white);
  border: 1px solid var(--silver-200);
  border-radius: var(--radius);
  padding: 26px 22px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.why-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.why-card h4 { font-size: 16.5px; font-weight: 700; color: var(--navy-900); }
.why-card p { margin-top: 10px; font-size: 13.5px; color: var(--ink-600); }

.cloud-banner {
  position: relative;
  margin-top: 64px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-lift);
}
.cloud-banner img { width: 100%; max-height: 460px; object-fit: cover; }
.cloud-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4, 18, 43, 0.82), rgba(4, 18, 43, 0.05) 70%);
}
.cloud-banner-caption {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 24px;
  z-index: 1;
  color: #fff;
  display: flex;
  flex-direction: column;
}
.cloud-banner-caption strong { font-size: 26px; font-weight: 700; font-family: var(--font-display); letter-spacing: 0.02em; }
.cloud-banner-caption span { font-size: 14px; color: rgba(255, 255, 255, 0.8); margin-top: 4px; }

/* ---------- 检测能力 ---------- */
.test-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.test-card {
  background: var(--silver-50);
  border: 1px solid var(--silver-200);
  border-radius: var(--radius);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.test-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); }
.test-name { font-size: 17px; font-weight: 700; color: var(--navy-900); }
.test-desc { margin-top: 8px; font-size: 13.5px; color: var(--ink-600); flex: 1; }
.test-spec {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--silver-200);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--blue-600);
}

.test-lab { margin-top: 64px; }
.test-lab-title { font-size: 22px; font-weight: 700; color: var(--navy-900); margin-bottom: 26px; }
.lab-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.lab-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--silver-200);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}
.lab-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); border-color: var(--blue-300); }
/* 实验室设备照多为竖幅机器图，用 contain + 白底 padding 完整显示设备；若用 cover 会把设备裁掉（用户报过此 Bug） */
.lab-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #fff; padding: 10px; }
.lab-card figcaption { padding: 12px 14px; font-size: 13px; font-weight: 600; color: var(--ink-600); text-align: center; background: var(--silver-50); border-top: 1px solid var(--silver-200); }

/* ---------- 联系我们 ---------- */
.contact {
  position: relative;
  background: linear-gradient(140deg, var(--navy-950) 0%, var(--navy-800) 70%, var(--blue-600) 140%);
  color: #fff;
  overflow: hidden;
}
.contact-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.contact-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 34px; }
.contact-cards { display: flex; flex-direction: column; gap: 18px; }
.contact-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  padding: 24px 26px;
  backdrop-filter: blur(4px);
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 6px 18px;
  align-items: start;
}
.contact-card svg { width: 40px; height: 40px; color: var(--blue-300); grid-row: 1 / span 2; }
.contact-card h3 { font-size: 16px; font-weight: 700; }
.contact-card p { font-size: 14px; color: rgba(255, 255, 255, 0.82); }
.contact-card a:hover { color: var(--blue-300); }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--navy-950); color: rgba(255, 255, 255, 0.7); padding: 44px 0 0; }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 30px;
}
.footer-brand p { font-size: 13px; margin-top: 4px; }
.footer-meta { text-align: right; font-size: 13px; line-height: 1.9; }

/* 底部版权条 */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
  padding: 15px 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.5);
}
.footer-bottom strong { color: rgba(255, 255, 255, 0.72); font-weight: 600; }

/* ---------- 滚动动效 ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-disc-ring { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 响应式 ----------
   书写顺序规则：max-width 媒体查询必须“宽断点在前、窄断点在后”（1280 -> 1080 -> 760 -> 480 -> 420），
   否则宽的会覆盖窄的、手机端样式失效。此处 761-1024px 用 min-width 单独兜住中等屏的专属布局
   （此前该区间曾被 max-width:1024px 覆盖导致规则失效，故改用 min-width 表达）。
   同理，>1280px 的桌面横向导航态由下方 min-width:1281px 块单独承载（导航项 nowrap + 临界压缩），
   与 max-width 块互不重叠、书写顺序无关。 */
/* 导航抽屉断点：压缩后 header 内容（品牌名 + 7 项导航 + 语言开关）实测约 1158px（EN：287+729+110+2×16），
   而容器宽 = min(1200px,92vw)，1251px 处容器仅 1151px → 真实余量 ≈0px（甚至为负）；
   字体已回退系统栈，Windows(Segoe UI)/macOS(SF/Helvetica) 度量不同，零余量临界下任一平台文本略宽
   即会让 header 重新溢出、被 body overflow-x:hidden 静默裁切。
   故 ≤1280px 即切换为汉堡抽屉（1281px 处实测余量约 21px，留跨平台安全余量），避免导航项被裁掉而不可点。
   下方 760 块内不再重复定义这些导航规则（≤760 ⊂ ≤1280，自动继承）。
   —— 断点书写顺序：max-width 宽断点在前、窄断点在后。 */
@media (max-width: 1280px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    background: var(--navy-900);
    padding: 14px 20px calc(26px + env(safe-area-inset-bottom));
    gap: 4px;
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.28s ease, opacity 0.28s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .main-nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .main-nav a { padding: 13px 14px; font-size: 16px; }
}

/* 桌面横向导航态（>1280px）：导航项文字强制不换行——nowrap 仅作用于横向导航，抽屉态（≤1280）保持默认换行不受影响。
   注意：header 容器宽度上限为 min(1200px,92vw)，即使超宽屏导航可用宽度也仅约 1200px，
   故默认尺寸下 7 项英文即便在 1920 也会折 2 行；nowrap 后固有宽度进一步增大，需对横向导航态整体适度压缩，
   使 ≥1281px 均能一行放下且 header 内容不越出容器/视口。
   压缩手段按优先级：nav gap（4→1px）→ nav 左右 padding（14→8px）→ font-size（15→13px）
   → header-inner gap（24→16px；配合 space-between，宽屏下富余空间本就被均分，此收紧几乎无视觉影响，仅临界区间生效）。
   断点取 1280 而非 1250：压缩后 header 内容实测约 1158px（EN），92vw@1251=1151px → 余量≈0px（零余量临界），
   而系统字体栈跨平台度量不同，余量≈0 时任一平台字体略宽即溢出被裁；1281px 处实测余量约 21px，可容跨平台差异。
   实测：1281/1300/1366/1440/1920 × 中英双语均单行、documentElement 零横向溢出、header 零越出容器。 */
@media (min-width: 1281px) {
  .header-inner { gap: 16px; }
  .main-nav { gap: 1px; }
  .main-nav a { padding: 8px 8px; font-size: 13px; white-space: nowrap; }
}

@media (max-width: 1080px) {
  .section { padding: 76px 0; }
  .prod-grid { grid-template-columns: repeat(4, 1fr); }
  .px { grid-template-columns: 1fr; gap: 22px; }
  .px-rail {
    position: static;
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: thin;
  }
  .px-fam { flex: 0 0 auto; grid-template-columns: auto 1fr; }
  .px-fam-name { white-space: nowrap; }
  .px-fam:hover, .px-fam.active { transform: none; }
  .lab-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .advantage-grid { grid-template-columns: repeat(2, 1fr); }
  .test-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .machining-grid, .cloud-grid, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  /* ≤1080 单列后加工区文字横跨照片，遮罩改纵向（上深下浅）：保文字可读、底部仍见设备 */
  .machining-bg::after {
    background:
      linear-gradient(180deg, rgba(4, 18, 43, 0.90) 0%, rgba(7, 29, 61, 0.62) 60%, rgba(7, 29, 61, 0.38) 100%);
  }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .hero-desc { margin-inline: auto; }
  .hero-cta, .hero-note { justify-content: center; }
  .hero-disc { width: min(340px, 80%); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-left: none; }
}

@media (max-width: 760px) {
  .section { padding: 60px 0; }
  .summary-section { padding: 60px 0; }
  .section-head { margin-bottom: 32px; }
  .page-hero { padding: calc(var(--header-h) + 36px) 0 44px; }
  .prod-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .px-search { flex: 1 1 100%; }
  .px-search input { width: 100%; }
  .prod-modal-dialog { grid-template-columns: 1fr; max-height: 88vh; overflow-y: auto; }
  .pm-nav { width: 36px; height: 36px; top: 190px; }
  .pm-prev { left: 8px; }
  .pm-next { right: 8px; }
  .lab-grid { grid-template-columns: repeat(2, 1fr); }
  .cloud-devices { grid-template-columns: 1fr; }
  .device-card { max-width: 320px; margin-inline: auto; }
  .device-card img { aspect-ratio: 3 / 4; }
  .mach-spec { grid-template-columns: 1fr; }
  .mach-item-title { white-space: normal; }
  /* 手机端：取消 nowrap 硬撑，允许自然换行并用更小字号防止长标题横向溢出 */
  .section-title.about-hero-title { white-space: normal; text-wrap: balance; font-size: clamp(24px, 7vw, 30px); }
  .hero { padding-top: calc(var(--header-h) + 48px); }
  .hero-title { font-size: clamp(36px, 10vw, 52px); }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-meta { text-align: center; }
  .brand-mark { height: 32px; }
  /* 公告条手机端放宽为两行摘要，避免长公告被裁成一行后信息缺失 */
  .site-notice-body { -webkit-line-clamp: 2; }
}

@media (min-width: 761px) and (max-width: 1024px) {
  .cloud-devices { grid-template-columns: repeat(2, 1fr); }
  .prod-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 480px) {
  .hero { padding-top: calc(var(--header-h) + 36px); padding-bottom: 116px; }
  .hero-title { font-size: clamp(34px, 10.5vw, 46px); }
  .hero-disc { width: min(300px, 82%); }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .hero-wave svg { height: 42px; }
  .stats-grid { gap: 8px; }
  .stat { padding: 14px 4px; }
  .stat-num { font-size: clamp(30px, 9.5vw, 42px); }
  .stat-label { font-size: 12.5px; margin-top: 6px; }
  .cta-banner-actions { flex-direction: column; align-items: stretch; }
  .cta-banner-actions .btn { width: 100%; }
  .spec-card { padding: 22px 18px; }
  .spec-value { font-size: 40px; }
  .contact-card-light { padding: 22px 20px; }
  .about-media-badge { left: 14px; bottom: 14px; padding: 12px 16px; }
  .cloud-banner-caption strong { font-size: 21px; }
  .series-mini img { width: 56px; height: 56px; }
}

@media (max-width: 420px) {
  .advantage-grid { grid-template-columns: 1fr; }
  .test-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   多页面结构样式（首页门户 + 详情页）
   ============================================================ */

/* ---------- 详情页页头 ---------- */
.page-hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-800) 62%, var(--blue-600) 140%);
  color: #fff;
  padding: calc(var(--header-h) + 64px) 0 72px;
  overflow: hidden;
}
.page-hero-inner { position: relative; }
.page-hero .section-tag { color: var(--blue-300); }
.page-hero .section-title { color: #fff; }
.page-hero .section-sub { color: rgba(255, 255, 255, 0.8); }
.page-hero-crumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.page-hero-crumb a { color: var(--blue-300); }
.page-hero-crumb a:hover { text-decoration: underline; }

.page-main { padding-top: 0; }
.page-main .section:first-child { padding-top: 84px; }

/* ---------- 首页摘要区 ---------- */
.summary-section { padding: 84px 0; }
.summary-section-alt { background: var(--silver-50); }
.summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}
.summary-card {
  background: var(--white);
  border: 1px solid var(--silver-200);
  border-radius: var(--radius);
  padding: 34px 32px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.summary-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.summary-card .adv-index { font-size: 14px; }
.summary-card h3 { margin-top: 14px; font-size: 22px; font-weight: 700; color: var(--navy-900); font-family: var(--font-display); letter-spacing: 0.01em; }
.summary-card > p { margin-top: 12px; font-size: 14.5px; color: var(--ink-600); }
.summary-link {
  margin-top: auto;
  padding-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  color: var(--red-500);
}
.summary-link svg { width: 16px; height: 16px; transition: transform 0.2s ease; }
.summary-card:hover .summary-link svg { transform: translateX(4px); }

.series-mini {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.series-mini a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 18px 12px;
  background: var(--white);
  border: 1px solid var(--silver-200);
  border-radius: 12px;
  text-align: center;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.series-mini a:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: var(--blue-300); }
.series-mini img { width: 64px; height: 64px; object-fit: contain; }
.series-mini span { font-size: 13px; font-weight: 600; color: var(--ink-600); line-height: 1.4; }

.mini-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mini-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--silver-50);
  border: 1px solid var(--silver-200);
  border-radius: 10px;
  font-size: 14px;
  color: var(--ink-600);
}
.mini-list li::before {
  content: "";
  width: 8px; height: 8px;
  background: var(--red-500);
  border-radius: 50%;
  flex: none;
}
.mini-list strong { color: var(--navy-900); font-weight: 700; }

.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }

/* ---------- 联系横幅 ---------- */
.cta-banner {
  position: relative;
  background: linear-gradient(120deg, var(--navy-900), var(--blue-600));
  color: #fff;
  padding: 84px 0;
  overflow: hidden;
}
.cta-banner-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.6vw, 38px);
  font-weight: 700;
  line-height: 1.25;
}
.cta-banner p { margin-top: 10px; font-size: 15px; color: rgba(255, 255, 255, 0.8); max-width: 560px; }
.cta-banner-actions { display: flex; gap: 16px; flex-wrap: wrap; }

@media (max-width: 1080px) {
  .summary-grid { grid-template-columns: 1fr; }
  .series-mini { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .series-mini { grid-template-columns: repeat(2, 1fr); }
  .mini-list { grid-template-columns: 1fr; }
  .page-main .section:first-child { padding-top: 56px; }
}

/* ---------- 联系页浅色卡片 ---------- */
.contact-page .contact-cards { max-width: 640px; margin-inline: auto; }
.contact-card-light {
  background: var(--white);
  border: 1px solid var(--silver-200);
  border-radius: 16px;
  padding: 26px 28px;
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 8px 20px;
  align-items: start;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.contact-card-light:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.contact-card-light svg { width: 46px; height: 46px; color: var(--blue-600); grid-row: 1 / span 2; }
.contact-card-light h3 { font-size: 16px; font-weight: 700; color: var(--navy-900); }
.contact-card-light p { font-size: 14.5px; color: var(--ink-600); line-height: 1.8; }
.contact-card-light a { color: var(--blue-600); }
.contact-card-light a:hover { text-decoration: underline; }
.contact-intro {
  max-width: 560px;
  margin: 0 auto 44px;
  text-align: center;
}
.contact-intro .section-tag { justify-content: center; }
.contact-intro h2 { margin-top: 14px; }
.contact-intro p { margin-top: 12px; color: var(--ink-600); font-size: 15.5px; }
