/* ==========================================================================
   合信科技 · 前台样式
   白底 + 品牌红（#C30E18）+ 大图版式。整站零内联样式，全部走这里，
   以满足 CSP 的 style-src 'self' 'nonce-…'。
   ========================================================================== */

:root {
  --brand: #0a7d95;
  --brand-dark: #075e70;
  --brand-soft: #e8f4f7;
  --ink: #17181a;
  --text: #47494d;
  --muted: #8b8e94;
  --line: #e5e6e8;
  --line-strong: #d5d7da;
  --soft: #f4f5f6;
  --soft-2: #eceef0;
  --dark: #2b2c2e;
  --dark-2: #212224;
  --white: #fff;
  --accent: #dd8a2e;
  --accent-soft: #fbf1e4;
  --ink-2: #16323c;
  --wrap: 1200px;
  --header-h: 158px;
  --shadow: 0 12px 32px rgba(20, 22, 26, .10);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

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

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; vertical-align: middle; border: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

h1, h2, h3, h4, h5 {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: .01em;
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

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

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--brand); color: #fff; padding: 10px 18px;
}
.skip:focus { top: 12px; }

/* ---------------- 顶栏 ----------------
   三层结构（信息条 / 品牌与搜索 / 频道条），是老站「logo + 搜索 + 青色菜单栏」
   的现代化版本：把联系电话、搜索、八个频道放在同一屏内，访客不用展开汉堡菜单。
   固定高度 34 + 80 + 44 = 158px，与 --header-h 严格对齐 ——
   main 的让位、锚点定位、吸顶子导航都依赖这一个变量。 */
.topbar { height: 34px; background: #0e2b33; color: rgba(255, 255, 255, .74); font-size: 12.5px; }
.topbar__in { display: flex; align-items: center; justify-content: space-between; height: 34px; gap: 20px; }
.topbar__tags { display: flex; gap: 14px; overflow: hidden; white-space: nowrap; }
.topbar__tags span { position: relative; }
.topbar__tags span + span::before {
  content: ""; position: absolute; left: -7px; top: 50%; width: 1px; height: 10px;
  margin-top: -5px; background: rgba(255, 255, 255, .22);
}
.topbar__meta { display: flex; align-items: center; gap: 18px; white-space: nowrap; }
.topbar__meta a { color: rgba(255, 255, 255, .74); }
.topbar__meta a:hover { color: #fff; }
.topbar__hot { color: #fff; font-weight: 600; letter-spacing: .02em; }
.topbar__hot b { color: #ffce8a; font-weight: 700; font-size: 13.5px; }

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 90;
  background: #fff;
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s var(--ease);
}
.site-header.scrolled { box-shadow: 0 8px 26px rgba(14, 43, 51, .12); }

.head { display: flex; align-items: center; gap: 24px; height: 80px; }

.brand { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand__logo { height: 46px; width: auto; display: block; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-size: 19px; font-weight: 700; color: var(--ink); letter-spacing: .04em; }
.brand__slogan { font-size: 12px; color: var(--muted); letter-spacing: .16em; }

.head__search {
  display: flex; align-items: stretch; margin-left: auto;
  width: min(380px, 34vw); height: 42px;
  border: 2px solid var(--brand); background: #fff;
}
.head__search input {
  flex: 1; min-width: 0; border: 0; padding: 0 14px; font-size: 14px; color: var(--ink);
  background: #fff; outline: none;
}
.head__search input::placeholder { color: #9aa4a8; }
.head__search button {
  width: 86px; border: 0; background: var(--brand); color: #fff;
  font-size: 14.5px; letter-spacing: .08em; cursor: pointer;
  transition: background .18s var(--ease);
}
.head__search button:hover { background: var(--brand-dark); }

.head__tel { text-align: right; line-height: 1.25; padding-left: 22px; border-left: 1px solid var(--line); }
.head__tel span { display: block; font-size: 12px; color: var(--muted); letter-spacing: .08em; }
.head__tel strong { font-size: 21px; color: var(--brand); letter-spacing: .02em; }

/* 频道条：整条用品牌色，是整站最强的导航信号 */
.navbar { background: var(--brand); }
.navbar__in { display: flex; align-items: stretch; height: 44px; }
.nav { display: flex; align-items: stretch; height: 44px; margin: 0 auto; }

.nav__item { position: relative; display: flex; align-items: stretch; }
.nav__item > a {
  display: flex; align-items: center; padding: 0 19px;
  font-size: 15.5px; color: #fff; letter-spacing: .04em;
  transition: background .16s var(--ease);
}
.nav__item > a:hover { background: rgba(0, 0, 0, .15); }
.nav__item.is-current > a { background: rgba(0, 0, 0, .22); font-weight: 600; }

.nav__drop {
  position: absolute; top: 100%; left: 50%;
  transform: translate(-50%, 6px);
  min-width: 188px; padding: 6px 0;
  background: #fff; border-top: 3px solid var(--accent);
  box-shadow: 0 16px 36px rgba(14, 43, 51, .18);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}
.nav__item:hover > .nav__drop,
.nav__item:focus-within > .nav__drop {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translate(-50%, 0);
}
.nav__drop a {
  display: block; padding: 9px 20px; font-size: 14px; color: #3d4a4f;
  white-space: nowrap; transition: background .15s, color .15s;
}
.nav__drop a:hover { background: var(--brand-soft); color: var(--brand-dark); }
.nav__drop a.is-current { color: var(--brand); font-weight: 600; }

.nav__icon {
  display: flex; align-items: center; justify-content: center;
  width: 54px; color: #fff; border-left: 1px solid rgba(255, 255, 255, .18);
}
.nav__icon svg { width: 18px; height: 18px; }
.nav__icon:hover { background: rgba(0, 0, 0, .15); }

.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin-left: auto;
  background: none; border: 1px solid var(--line); cursor: pointer;
  font-size: 20px; line-height: 1; color: var(--ink);
}

.mobile-menu {
  display: none; border-top: 1px solid var(--line);
  background: #fff; max-height: calc(100vh - var(--header-h)); overflow-y: auto;
}
.menu-open .mobile-menu { display: block; }
.mobile-menu a {
  display: block; padding: 13px 24px; border-bottom: 1px solid #f0f1f2;
  font-size: 15.5px; color: #2c2f33;
}
.mobile-menu a.is-current { color: var(--brand); font-weight: 600; }
.mobile-menu__sub { padding-left: 40px !important; font-size: 14px !important; color: #5b6669 !important; background: #fafbfb; }
.mobile-menu__group { padding: 14px 24px 4px; font-size: 12px; letter-spacing: .18em; color: var(--muted); }
.mobile-search { display: flex; gap: 10px; padding: 14px 24px; background: var(--soft); }
.mobile-search input {
  flex: 1; min-width: 0; height: 40px; padding: 0 12px;
  border: 1px solid var(--line-strong); background: #fff; font-size: 14px;
}
.mobile-search button {
  height: 40px; padding: 0 18px; border: 0; background: var(--brand); color: #fff;
  font-size: 14px; cursor: pointer;
}

/* ---------------- 首屏 Hero ---------------- */
/* 按原站构图：整幅厂区照片铺满，中央压一枚红色「合信印象」印章，
   主张放在右上角。不做左对齐大标题 —— 印章是这个站识别度最高的元素。 */
.hero {
  position: relative; margin-top: var(--header-h);
  background: #0e1012; color: #fff; overflow: hidden;
  height: clamp(400px, 46vw, 600px);
}
.hero__bg {
  position: absolute; inset: 0;
  background-image: url(/assets/yeyazhijia/hero-wide.jpg);
  background-size: cover; background-position: center 55%;
}
.hero__veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 10, 12, .58) 0%, rgba(8, 10, 12, .12) 34%, rgba(8, 10, 12, .34) 100%),
    linear-gradient(255deg, rgba(8, 10, 12, .52) 0%, transparent 42%);
}
.hero__top {
  position: absolute; right: max(24px, calc((100vw - var(--wrap)) / 2)); top: 54px;
  text-align: right; max-width: 30em;
}
.hero__slogan {
  font-size: 15px; letter-spacing: .12em; color: rgba(255, 255, 255, .82);
}
.hero h1 {
  margin-top: 10px; color: #fff;
  font-size: clamp(20px, 2.1vw, 30px); font-weight: 700; letter-spacing: .06em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .45);
}
.hero__go {
  display: inline-flex; align-items: center; height: 34px; padding: 0 16px;
  margin-top: 18px; border: 1px solid rgba(255, 255, 255, .42);
  font-size: 13px; letter-spacing: .08em; color: #fff;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.hero__go:hover { background: var(--brand); border-color: var(--brand); }
.hero__stamp {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: grid; grid-template-columns: repeat(2, 1fr);
  border: 3px solid var(--brand); outline: 1px solid rgba(255, 255, 255, .9); outline-offset: -7px;
  background: var(--brand); color: #fff; box-shadow: 0 10px 40px rgba(0, 0, 0, .35);
}
.hero__stamp span {
  display: block; width: 46px; padding: 12px 0;
  font-size: 21px; line-height: 1.15; letter-spacing: 0; text-align: center;
}
/* 照片下方那条红色主张：原站把口号重复一遍，是版面上的一条分割线 */
.hero-line { background: #fff; padding: 30px 0 0; text-align: center; }
.hero-line p { font-size: 17px; font-weight: 700; letter-spacing: .06em; color: var(--brand); }
.hero-line span { margin: 0 14px; color: var(--line-strong); font-weight: 400; }

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 47px; padding: 0 30px; border: 1px solid transparent;
  font-size: 15px; letter-spacing: .04em; cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn--brand { background: var(--brand); color: #fff; }
.btn--brand:hover { background: var(--brand-dark); }
.btn--ghost { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--line { border-color: var(--line-strong); color: var(--ink); background: #fff; }
.btn--line:hover { border-color: var(--brand); color: var(--brand); }
.btn--sm { height: 40px; padding: 0 22px; font-size: 14px; }

/* ---------------- 认证条 ---------------- */
.certs { border-bottom: 1px solid var(--line); background: #fff; }
.certs__grid {
  display: grid; grid-template-columns: repeat(8, 1fr);
  border-left: 1px solid var(--line);
}
.cert {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; padding: 30px 10px; text-align: center;
  border-right: 1px solid var(--line);
}
.cert img { width: 42px; height: 42px; object-fit: contain; filter: grayscale(1); opacity: .82; }
.cert span { font-size: 12.5px; line-height: 1.5; color: #5c6066; }

/* ---------------- 区块通用 ---------------- */
.section { padding: 86px 0; }
.section--soft { background: var(--soft); }
.section--tight { padding: 62px 0; }
.section--dark { background: var(--dark-2); color: rgba(255, 255, 255, .76); }
.section--dark h2, .section--dark h3 { color: #fff; }

.sec-head { text-align: center; margin-bottom: 48px; }
.sec-head__eyebrow {
  font-size: 12px; letter-spacing: .32em; color: var(--brand); text-transform: uppercase;
  margin-bottom: 12px;
}
.sec-head h2 { font-size: clamp(24px, 2.4vw, 32px); letter-spacing: .04em; }
.sec-head__rule { width: 46px; height: 3px; background: var(--brand); margin: 18px auto 0; }
.sec-head__lead { margin: 16px auto 0; max-width: 42em; color: var(--muted); font-size: 15px; }

.sec-bar {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: 40px;
}
.sec-bar h2 { font-size: clamp(22px, 2.2vw, 30px); letter-spacing: .04em; }
.sec-bar__more { font-size: 14px; color: var(--muted); white-space: nowrap; }
.sec-bar__more:hover { color: var(--brand); }

/* ---------------- 产品专区 ---------------- */
.pblock { display: grid; grid-template-columns: 1fr 1.06fr; background: var(--soft); overflow: hidden; }
.pblock__media { position: relative; overflow: hidden; background: #141618; }
.pblock__media img {
  width: 100%; height: 100%; min-height: 268px; object-fit: cover;
  transition: transform .7s var(--ease);
}
.pblock:hover .pblock__media img { transform: scale(1.04); }
.pblock__body { padding: 34px 38px 30px; display: flex; flex-direction: column; }
.pblock__body h3 { font-size: 21px; letter-spacing: .03em; }
.pblock__body h3 a:hover { color: var(--brand); }
.pblock__body p { margin-top: 14px; font-size: 14.5px; line-height: 1.95; color: #5b5f65; }
.pblock__list {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px;
  margin-top: 18px; border-top: 1px solid var(--line-strong);
}
.pblock__list a {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 0; border-bottom: 1px solid var(--line-strong);
  font-size: 14px; color: #35383c;
}
.pblock__list a::before {
  content: ""; width: 4px; height: 4px; background: var(--brand);
  border-radius: 50%; flex: 0 0 auto;
}
.pblock__list a:hover { color: var(--brand); }
.pblock__more { margin-top: auto; padding-top: 20px; font-size: 13.5px; color: var(--brand); }
.pblock__more:hover { text-decoration: underline; }

.pgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }

.pfilter { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 40px; }
.pfilter a {
  display: inline-flex; align-items: center; height: 42px; padding: 0 24px;
  border: 1px solid var(--line-strong); border-radius: 22px;
  font-size: 14.5px; color: #3c4045; background: #fff;
  transition: all .18s var(--ease);
}
.pfilter a:hover { border-color: var(--brand); color: var(--brand); }
.pfilter a.is-current { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); font-weight: 600; }

.pcards {
  /* minmax(0, 1fr) 而不是 1fr：栅格项默认 min-width:auto，
     型号条里有 nowrap 的长串（Φ63/Φ80/Φ100/Φ125/Φ140）时，
     它会把所在那一列撑到 490px，四列于是变成「窄 窄 超宽 窄」。 */
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px; background: var(--line); border: 1px solid var(--line);
}
.pcard {
  background: #fff; display: flex; flex-direction: column;
  transition: box-shadow .25s var(--ease), transform .25s var(--ease);
}
.pcard:hover { box-shadow: var(--shadow); transform: translateY(-2px); position: relative; z-index: 2; }
.pcard__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #f2f3f4; }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.05); }
.pcard__body { padding: 22px 24px 26px; }
.pcard__cat { font-size: 12px; letter-spacing: .12em; color: var(--brand); }
.pcard__body h3 { margin-top: 8px; font-size: 17px; }
.pcard__body p {
  margin-top: 10px; font-size: 13.5px; line-height: 1.85; color: var(--muted);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pcard__model {
  display: inline-block; margin-top: 14px; font-size: 12.5px; color: #7c8087;
  border-top: 1px solid var(--line); padding-top: 12px; width: 100%;
}

/* ---------------- 新闻 ---------------- */
.ntabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 38px; flex-wrap: wrap; }
.ntabs a { padding: 9px 22px; font-size: 14.5px; color: #4a4e53; border-bottom: 2px solid transparent; }
.ntabs a.is-current { color: var(--brand); border-bottom-color: var(--brand); font-weight: 600; }

.ncards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.ncard { display: flex; flex-direction: column; }
.ncard__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #eee; }
.ncard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.ncard:hover .ncard__media img { transform: scale(1.05); }
.ncard__date {
  position: absolute; left: 0; bottom: 0;
  background: #fff; padding: 8px 14px; line-height: 1.2; text-align: center;
  border-top: 2px solid var(--brand); min-width: 74px;
}
.ncard__date b { display: block; font-size: 18px; color: var(--ink); letter-spacing: .02em; }
.ncard__date span { font-size: 11px; color: var(--muted); }
.ncard__body { padding: 18px 2px 0; }
.ncard__body h3 {
  font-size: 15px; line-height: 1.62; font-weight: 600;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ncard:hover h3 { color: var(--brand); }
.ncard__meta { margin-top: 10px; font-size: 12px; color: var(--muted); }

/* ---------------- 首页资讯版式（左大图 + 右列表） ----------------
   日期块是所有资讯条目的公共零件：白底、细框、两行（月日 + 年），
   原站把这一块压在图片左下角，列表里则单独占一格。 */
.ndate {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 62px; padding: 5px 8px; background: #fff;
  border: 1px solid var(--line-strong);
}
.ndate b { font-size: 15px; line-height: 1.25; color: var(--ink); letter-spacing: .02em; }
.ndate i { font-style: normal; font-size: 11px; color: var(--muted); }

.news-split { display: grid; grid-template-columns: 1.06fr 1fr; gap: 34px; }

.nlead { display: block; }
.nlead__media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--soft); }
.nlead__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.nlead:hover .nlead__media img { transform: scale(1.03); }
.nlead__tag {
  position: absolute; left: 0; top: 0; padding: 6px 12px;
  background: var(--brand); color: #fff; font-size: 12.5px; letter-spacing: .06em;
}
.nlead__bar { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border: 1px solid var(--line); border-top: 0; }
.nlead__title {
  font-size: 17px; font-weight: 600; line-height: 1.6; color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}
.nlead:hover .nlead__title { color: var(--brand); }

.nright { display: flex; flex-direction: column; }
.nlist { border-top: 1px solid var(--line); }
.nlist li { border-bottom: 1px solid var(--line); }
.nlist a { display: grid; grid-template-columns: 84px 74px 1fr; align-items: center; gap: 10px; padding: 16px 4px; }
.nlist__cat { font-size: 13px; color: #3f4348; }
.nlist__title {
  font-size: 14.5px; line-height: 1.6; color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.nlist a:hover .nlist__title { color: var(--brand); }

.nright__foot { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 22px; }
/* 资讯不足 6 条时右下只剩红色资质块，占满整行，不留下半个空位 */
.nright__foot.is-single { grid-template-columns: 1fr; }

/* 红色资质块：整页唯一一块大面积实色，用来压住版面重心 */
.npromo {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; padding: 22px 16px; background: var(--brand); color: #fff; text-align: center;
}
.npromo span { font-size: 12px; color: rgba(255, 255, 255, .78); letter-spacing: .04em; }
.npromo b { margin-top: 6px; font-size: 15px; letter-spacing: .1em; }
.npromo strong { font-size: 16px; line-height: 1.5; }
.npromo:hover { background: var(--dark); }

.nmini { display: flex; flex-direction: column; gap: 12px; }
.nmini__item { display: grid; grid-template-columns: 66px 1fr; align-items: center; gap: 10px; }
.nmini__item > span:last-child {
  font-size: 13.5px; line-height: 1.55; color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.nmini__item:hover > span:last-child { color: var(--brand); }
.nmini .ndate { min-width: 0; width: 66px; padding: 4px 4px; }
.nmini .ndate b { font-size: 13px; }
.nmini .ndate i { font-size: 10.5px; }

/* 区块底部的「查看全部」 */
.sec-more { margin-top: 40px; text-align: center; }
.sec-more a { font-size: 14px; color: var(--muted); letter-spacing: .04em; }
.sec-more a:hover { color: var(--brand); }

/* ---------------- 首页产品缩略图墙 ---------------- */
.pthumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.pthumb { display: block; }
.pthumb__media {
  display: block; aspect-ratio: 4 / 5; overflow: hidden; background: #141618;
}
.pthumb__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.pthumb:hover .pthumb__media img { transform: scale(1.05); }
.pthumb__name {
  display: block; padding: 13px 2px 0; font-size: 14px; line-height: 1.55; color: #3f4348;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pthumb:hover .pthumb__name { color: var(--brand); }

/* ---------------- 我们的客户 ---------------- */
.clients {
  display: grid; grid-template-columns: repeat(8, 1fr);
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.clients li {
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 1 / 1; padding: 18px;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
/* 默认灰度、hover 还原：八张彩色 logo 一起摆会互相抢，灰度后整齐，指到哪张哪张亮 */
.clients img { max-width: 100%; max-height: 100%; object-fit: contain; filter: grayscale(1); opacity: .72; transition: filter .3s var(--ease), opacity .3s var(--ease); }
.clients li:hover img { filter: none; opacity: 1; }

/* ---------------- 首页科研图卡 ---------------- */
.rdcards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.rdcard { position: relative; display: block; overflow: hidden; }
.rdcard__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #141618; }
.rdcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.rdcard:hover .rdcard__media img { transform: scale(1.06); }
.rdcard__body {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 34px 18px 16px; color: #fff;
  background: linear-gradient(0deg, rgba(8, 10, 12, .82), transparent);
}
.rdcard__body b { display: block; font-size: 16px; font-weight: 600; letter-spacing: .04em; }
.rdcard__body i { display: block; margin-top: 4px; font-style: normal; font-size: 11.5px; letter-spacing: .18em; color: rgba(255, 255, 255, .6); text-transform: uppercase; }

/* ---------------- 关于条 ---------------- */
.about-strip { display: grid; grid-template-columns: 1.02fr 1fr; gap: 64px; align-items: center; }
.about-strip__media { position: relative; }
.about-strip__media img { width: 100%; display: block; }
.about-strip h2 { font-size: clamp(24px, 2.6vw, 34px); letter-spacing: .04em; }
.about-strip h2 em { font-style: normal; color: var(--brand); }
.about-strip p { margin-top: 22px; color: #565a60; line-height: 2.05; }
.fact-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  margin: 34px 0 36px; padding-top: 26px; border-top: 1px solid var(--line);
}
.fact b { display: block; font-size: 28px; color: var(--brand); letter-spacing: .02em; line-height: 1.2; }
.fact b em { font-style: normal; font-size: 15px; margin-left: 2px; }
.fact span { font-size: 13px; color: var(--muted); }

/* ---------------- 内页横幅 + 栏目导航 ---------------- */
.page-banner {
  position: relative; margin-top: var(--header-h);
  height: 158px; background-color: #1b1d20; background-size: cover; background-position: center;
}
.page-banner::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(12, 14, 16, .72), rgba(12, 14, 16, .18));
}
.page-banner__title {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; justify-content: center; height: 100%;
  color: #fff;
}
.page-banner__title b,
.page-banner__title .page-banner__h {
  margin: 0; font-size: 22px; letter-spacing: .14em; font-weight: 600; line-height: 1.3;
}
.page-banner__title span { font-size: 12px; letter-spacing: .3em; color: rgba(255, 255, 255, .66); text-transform: uppercase; margin-top: 6px; }

.banner--product { background-image: url(/assets/yeyazhijia/banner-product.jpg); }
.banner--about { background-image: url(/assets/yeyazhijia/banner-about.jpg); }
.banner--news { background-image: url(/assets/yeyazhijia/banner-news.jpg); }
.banner--contact { background-image: url(/assets/yeyazhijia/banner-contact.jpg); }

.subnav { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: var(--header-h); z-index: 40; }
.subnav__row { display: flex; align-items: center; height: 62px; gap: 0; }
.subnav__parent {
  font-size: 16px; font-weight: 600; color: var(--ink); white-space: nowrap;
  padding-right: 22px; margin-right: 22px; border-right: 1px solid var(--line);
}
.subnav__parent:hover { color: var(--brand); }
.subnav__link {
  padding: 0 20px; font-size: 15px; color: #4d5157; white-space: nowrap;
  line-height: 62px; transition: color .16s;
}
.subnav__link:hover { color: var(--brand); }
.subnav__link.is-current { color: var(--brand); font-weight: 600; }
.subnav__search { margin-left: auto; display: flex; align-items: center; gap: 0; }
.subnav__search input {
  width: 210px; height: 36px; padding: 0 12px;
  border: 1px solid var(--line-strong); border-right: 0; background: #fff; font-size: 13.5px;
}
.subnav__search button {
  width: 42px; height: 36px; border: 1px solid var(--line-strong);
  background: #fff; color: #575b61; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.subnav__search button:hover { color: var(--brand); border-color: var(--brand); }
.subnav__search svg { width: 15px; height: 15px; }

/* 面包屑 */
.crumbs {
  /* 内页第一块永远是面包屑：固定头部是浮在上面的，这里必须自己让开 158px，
     否则面包屑被压在头部下面，产品详情页的标题还会被切掉半行。 */
  margin-top: var(--header-h);
  border-bottom: 1px solid var(--line); background: #fff;
}
.crumbs__row {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
  padding: 12px 0; font-size: 13px; color: var(--muted);
}
.crumbs a { color: #6a6e74; }
.crumbs a:hover { color: var(--brand); }
.crumbs__sep { color: #c6c9cd; }
.crumbs [aria-current="page"] { color: #35383c; }

/* ---------------- 产品详情 ---------------- */
.pdetail__tabs { display: flex; align-items: center; gap: 0; border-bottom: 1px solid var(--line); background: #fff; }
.pdetail__tab {
  padding: 16px 4px; margin-right: 34px; font-size: 15px; color: #4c5055;
  border-bottom: 2px solid transparent;
}
.pdetail__tab.is-current { color: var(--brand); border-bottom-color: var(--brand); font-weight: 600; }
.pdetail__nav { margin-left: auto; display: flex; gap: 8px; }
.pdetail__nav a {
  width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-strong); color: #5b5f65; font-size: 15px;
}
.pdetail__nav a:hover { border-color: var(--brand); color: var(--brand); }

.pdetail__plate { background: #101214; }
.pdetail__plate img { width: 100%; max-height: 620px; object-fit: contain; display: block; margin: 0 auto; }

.pdetail__body { padding: 64px 0 0; }
.pdetail__lead { max-width: 60em; font-size: 16px; line-height: 2.1; color: #4e5258; }
.pdetail h2 { font-size: clamp(22px, 2.2vw, 30px); margin-bottom: 10px; }
.pdetail__rule { width: 40px; height: 3px; background: var(--brand); margin: 14px 0 26px; }

.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 42px; margin-top: 18px; border-top: 1px solid var(--line); }
.specs__row {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14.5px;
}
.specs__row dt { color: var(--muted); flex: 0 0 auto; }
.specs__row dd { margin: 0; color: #2f3236; text-align: right; }

.pdetail__cta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 18px;
  margin-top: 42px; padding: 26px 30px; background: var(--soft);
}
.pdetail__cta p { flex: 1 1 260px; font-size: 15px; color: #4a4e54; }
.pdetail__cta b { color: var(--ink); }

.pdetail__foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line);
  font-size: 14px; color: var(--muted);
}
.pdetail__foot a:hover { color: var(--brand); }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 40px; }
.gallery a { display: block; position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #f0f1f2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery a:hover img { transform: scale(1.06); }

/* ---------------- 图文正文 ---------------- */
.article { max-width: 60em; }
.article__lead {
  font-size: 16px; line-height: 2.05; color: #4e5258;
  padding-left: 18px; border-left: 3px solid var(--brand); margin-bottom: 30px;
}
.prose { font-size: 15.5px; line-height: 2.1; color: #45494f; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: 22px; margin: 42px 0 16px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.prose h3 { font-size: 18px; margin: 32px 0 12px; }
.prose p { margin: 0 0 18px; }
.prose ul, .prose ol { margin: 0 0 20px; padding-left: 22px; }
.prose ul li { list-style: disc; margin-bottom: 8px; }
.prose ol li { list-style: decimal; margin-bottom: 8px; }
.prose a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote { margin: 26px 0; padding: 18px 24px; background: var(--soft); border-left: 3px solid var(--brand); color: #4c5056; }
.prose img { display: block; margin: 24px 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 22px 0; font-size: 14px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
.prose th { background: var(--soft); font-weight: 600; }
.prose code { background: var(--soft); padding: 2px 6px; font-size: 13.5px; }

.article__title { font-size: clamp(24px, 2.8vw, 34px); line-height: 1.4; margin: 10px 0 22px; }
.article__cover { display: block; width: 100%; margin: 0 0 30px; background: #f0f1f2; }

/* 文末引导带：读完一条内容后，给一个明确的下一步 */
.cta-band {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 20px; margin-top: 54px; padding: 30px 34px; background: var(--soft);
  border-left: 3px solid var(--brand);
}
.cta-band p { flex: 1 1 320px; font-size: 15.5px; color: #3f4348; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------------- 独立页 ---------------- */
.page-body { padding: 54px 0 84px; }
.page-cols { display: grid; grid-template-columns: minmax(0, 1fr) 288px; gap: 56px; }

.aside__head { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 18px; }
.aside__head::before { content: "→"; color: var(--brand); font-size: 15px; }
.aside-card { position: relative; display: block; overflow: hidden; margin-bottom: 12px; aspect-ratio: 16 / 9; background: #1a1c1f; }
.aside-card img { width: 100%; height: 100%; object-fit: cover; opacity: .62; transition: transform .6s var(--ease), opacity .3s; }
.aside-card:hover img { transform: scale(1.05); opacity: .78; }
.aside-card span { position: absolute; left: 18px; bottom: 16px; color: #fff; font-size: 15px; letter-spacing: .08em; }
.aside-card span::after { content: ""; display: block; width: 24px; height: 2px; background: var(--brand); margin-top: 8px; }
.aside-note { margin-top: 22px; padding: 20px; background: var(--soft); font-size: 13.5px; line-height: 1.9; color: #5a5e64; }
.aside-note b { display: block; color: var(--ink); margin-bottom: 8px; font-size: 14px; }

/* ---------------- 资质 ---------------- */
.qgroup { margin-bottom: 64px; }
.qgroup__head { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.qgroup__head h2 { font-size: 20px; letter-spacing: .04em; }
.qgroup__head span { font-size: 12px; color: var(--muted); letter-spacing: .2em; text-transform: uppercase; }
.qgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.qitem { background: #fff; border: 1px solid var(--line); }
.qitem__media {
  background: var(--soft-2); aspect-ratio: 3 / 4;
  display: flex; align-items: center; justify-content: center; padding: 14px;
}
.qitem__media img { max-width: 100%; max-height: 100%; object-fit: contain; }
.qitem figcaption { padding: 13px 16px; font-size: 13.5px; text-align: center; color: #3f4348; border-top: 1px solid var(--line); }

/* ---------------- 联系 ---------------- */
.contact-grid { display: grid; grid-template-columns: 1.05fr 1fr 300px; gap: 0; align-items: stretch; }
.contact-photo { background: #1b1d20; }
.contact-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.contact-info { background: var(--soft); padding: 34px 36px; }
.contact-tabs { display: flex; gap: 24px; border-bottom: 1px solid var(--line-strong); margin-bottom: 22px; }
.contact-tabs span { padding-bottom: 10px; font-size: 14px; color: var(--muted); }
.contact-tabs span.is-current { color: var(--brand); border-bottom: 2px solid var(--brand); font-weight: 600; }
/* 区域运营中心：原站用 JS 切换两组内容，这里改成一条一条列全 —— 六条信息不值得多一次点击。
   一行一条而不是两列：中栏实际只有 300 多像素宽，两列会把「河北 · 甘肃片区」挤成三行。 */
.branches { border: 1px solid var(--line); margin: 0 0 24px; }
.branch { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 9px 12px; border-bottom: 1px solid var(--line); background: #fff; }
.branch:last-child { border-bottom: 0; }
.branch b { font-size: 13px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.branch span { font-size: 12px; color: var(--muted); text-align: right; }
.contact-info h3 { font-size: 17px; margin-bottom: 18px; }
.contact-info dl { margin: 0; }
.contact-info dt { font-size: 12px; color: var(--muted); margin-top: 14px; }
.contact-info dd { margin: 3px 0 0; font-size: 15px; color: #2f3236; }
.contact-info dd a:hover { color: var(--brand); }
.qrs { display: flex; gap: 26px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line-strong); }
.qr { text-align: center; }
.qr img { width: 96px; height: 96px; display: block; background: #fff; padding: 4px; }
.qr span { display: block; margin-top: 8px; font-size: 12.5px; color: #5c6066; }

.traffic { padding-left: 34px; }
.traffic h3 { display: flex; align-items: center; gap: 8px; font-size: 15px; margin-bottom: 16px; }
.traffic h3::before { content: "→"; color: var(--brand); }
.traffic__item { margin-bottom: 20px; border: 1px solid var(--line); }
.traffic__item img { width: 100%; display: block; }
.traffic__item dl { margin: 0; padding: 14px 16px; font-size: 13px; }
.traffic__item dt { color: var(--muted); display: inline; }
.traffic__item dd { margin: 0 0 6px; display: inline; color: #35383c; }
.traffic__item dd::after { content: ""; display: block; }

/* 来访预约提示：放在联系信息与询盘区之间，是「到厂怎么走」的最后一句话 */
.map-note { margin-top: 44px; padding: 22px 26px; border: 1px solid var(--line); border-left: 3px solid var(--brand); background: var(--soft); }
.map-note h3 { font-size: 16px; margin-bottom: 10px; }
.map-note p { font-size: 14px; line-height: 1.95; color: #4a4e53; }
.map-note a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }

/* ---------------- 询盘表单 ---------------- */
.inq { background: var(--dark-2); color: rgba(255, 255, 255, .74); }
.inq__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 70px; padding: 74px 0; }
.inq h2 { color: #fff; font-size: clamp(22px, 2.2vw, 30px); letter-spacing: .04em; }
.inq__lead { margin-top: 18px; font-size: 14.5px; line-height: 2; color: rgba(255, 255, 255, .62); }
.inq__contacts { margin-top: 30px; border-top: 1px solid rgba(255, 255, 255, .14); }
.inq__contact {
  display: flex; gap: 16px; padding: 13px 0; border-bottom: 1px solid rgba(255, 255, 255, .1);
  font-size: 13.5px;
}
.inq__contact dt { flex: 0 0 62px; color: rgba(255, 255, 255, .45); }
.inq__contact dd { margin: 0; color: #fff; }
.inq__contact a { color: #fff; }
.inq__contact a:hover { color: #ff8b91; }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
/* 静态快照（导出成静态站的版本）没有真正的输入框，整块改成单列，避免右边空半屏 */
.form--static { display: block; }
.form--static .form__ok { margin-top: 14px; }
.form__row--wide { grid-column: 1 / -1; }
.form label { display: block; font-size: 12.5px; letter-spacing: .06em; color: rgba(255, 255, 255, .5); margin-bottom: 7px; }
.form input, .form select, .form textarea {
  width: 100%; padding: 12px 14px; background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .16); color: #fff; font-size: 14px;
  font-family: inherit;
}
.form input::placeholder, .form textarea::placeholder { color: rgba(255, 255, 255, .3); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--brand); background: rgba(255, 255, 255, .1); }
.form select option { color: #1a1c1f; }
.form textarea { min-height: 118px; resize: vertical; }
.form__captcha { display: flex; gap: 10px; align-items: center; }
.form__captcha input { flex: 1; }
.form__captcha img { height: 44px; width: auto; background: #fff; cursor: pointer; }
.form__check { display: flex; align-items: flex-start; gap: 9px; font-size: 12.5px; color: rgba(255, 255, 255, .55); }
.form__check input { width: 15px; height: 15px; margin-top: 3px; flex: 0 0 auto; }
.form__check a { color: #ff8b91; text-decoration: underline; }
.form__foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form__hint { font-size: 12.5px; color: rgba(255, 255, 255, .45); }
.form-errors {
  grid-column: 1 / -1; padding: 13px 16px; background: rgba(195, 14, 24, .16);
  border-left: 3px solid var(--brand); color: #ffd7d9; font-size: 13.5px;
}
.form-errors ul { padding-left: 18px; }
.form-errors li { list-style: disc; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.sent-note {
  grid-column: 1 / -1; padding: 26px; background: rgba(255, 255, 255, .06);
  border-left: 3px solid var(--brand); color: #fff; font-size: 15px;
}

.inq--light { background: transparent; color: var(--text); }
.inq--light h2 { color: var(--ink); }
.inq--light .inq__contact dd, .inq--light .inq__contact a { color: var(--ink); }
.inq--light .inq__contact { border-color: var(--line); }
.inq--light .inq__contact dt { color: var(--muted); }
.inq--light .form label { color: var(--muted); }
.inq--light .form input, .inq--light .form select, .inq--light .form textarea {
  background: #fff; border-color: var(--line-strong); color: var(--ink);
}
.inq--light .form input::placeholder, .inq--light .form textarea::placeholder { color: #a8abb0; }
.inq--light .form__check { color: var(--muted); }
.inq--light .form__check a { color: var(--brand); }
.inq--light .sent-note { background: var(--soft); color: var(--ink); }
.inq--light .form-errors { background: var(--brand-soft); color: #8c1018; }
.inq--light .inq__lead { color: var(--muted); }

/* ---------------- 搜索 ---------------- */
.search-page { padding: 56px 0 86px; }
.search-box { display: flex; max-width: 620px; margin: 0 auto 14px; }
.search-box input {
  flex: 1; height: 52px; padding: 0 18px; font-size: 16px;
  border: 1px solid var(--line-strong); border-right: 0; background: #fff;
}
.search-box input:focus { outline: none; border-color: var(--brand); }
.search-box button { width: 108px; height: 52px; border: 0; background: var(--brand); color: #fff; font-size: 15px; cursor: pointer; }
.search-box button:hover { background: var(--brand-dark); }
.search-note { text-align: center; font-size: 13.5px; color: var(--muted); }
.search-meta { margin: 34px 0 22px; font-size: 13.5px; color: var(--muted); }
.search-meta b { color: var(--brand); }
.search-list { border-top: 1px solid var(--line); }
.search-hit { padding: 22px 0; border-bottom: 1px solid var(--line); }
.search-hit__kind {
  display: inline-block; padding: 1px 9px; font-size: 11.5px; color: var(--brand);
  border: 1px solid #f0c4c7; background: var(--brand-soft); margin-right: 10px;
}
.search-hit h3 { display: inline; font-size: 17px; font-weight: 600; }
.search-hit h3 a:hover { color: var(--brand); }
.search-hit p { margin-top: 8px; font-size: 14px; line-height: 1.9; color: #5c6066; }
.search-hit mark { background: #ffe9a8; color: #8a4b00; padding: 0 2px; }
.search-suggest { margin-top: 46px; text-align: center; font-size: 14px; color: var(--muted); }
.search-suggest a { color: #44484d; margin: 0 10px; }
.search-suggest a:hover { color: var(--brand); }

.pager { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 46px; flex-wrap: wrap; }
.pager a, .pager span {
  min-width: 40px; height: 40px; padding: 0 12px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-strong); font-size: 14px; color: #43474c; background: #fff;
}
.pager a:hover { border-color: var(--brand); color: var(--brand); }
.pager .is-current { background: var(--brand); border-color: var(--brand); color: #fff; }
.pager .is-off { color: #c3c6ca; }

/* ---------------- 404 ---------------- */
.err { padding: 120px 0 130px; text-align: center; }
.err__code { font-size: clamp(64px, 11vw, 132px); line-height: 1; font-weight: 700; color: var(--brand); letter-spacing: .04em; }
.err h1 { font-size: 24px; margin-top: 14px; }
.err p { margin-top: 14px; color: var(--muted); }
.err .search-box { margin-top: 40px; margin-bottom: 0; }
.err-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.err-links a { padding: 9px 22px; border: 1px solid var(--line-strong); font-size: 14px; color: #43474c; }
.err-links a:hover { border-color: var(--brand); color: var(--brand); }

/* ---------------- 页脚 ---------------- */
.site-footer { background: var(--dark); color: rgba(255, 255, 255, .6); font-size: 13.5px; }
.f-main { display: grid; grid-template-columns: repeat(5, 1fr) 220px; gap: 34px; padding: 60px 0 46px; }
.f-col h3 { font-size: 15px; color: #fff; margin-bottom: 18px; letter-spacing: .06em; font-weight: 600; }
.f-col a { display: block; padding: 6px 0; color: rgba(255, 255, 255, .58); }
.f-col a:hover { color: #fff; }
.f-qr { display: flex; gap: 16px; }
.f-qr figure { margin: 0; text-align: center; }
.f-qr img { width: 88px; height: 88px; background: #fff; padding: 3px; }
.f-qr figcaption { margin-top: 8px; font-size: 12px; color: rgba(255, 255, 255, .5); }

.f-tags { padding-bottom: 34px; }
.f-tags h3 { font-size: 14px; color: #fff; margin-bottom: 14px; }
.f-tags ul { display: flex; flex-wrap: wrap; gap: 10px; }
.f-tags a {
  display: inline-block; padding: 5px 12px; font-size: 12.5px;
  border: 1px solid rgba(255, 255, 255, .18); color: rgba(255, 255, 255, .55);
}
.f-tags a:hover { border-color: var(--brand); color: #fff; }

.f-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1); padding: 20px 0 26px;
  display: flex; flex-wrap: wrap; gap: 8px 26px; align-items: center;
  font-size: 12.5px; color: rgba(255, 255, 255, .42);
}
.f-bottom a { color: rgba(255, 255, 255, .55); }
.f-bottom a:hover { color: #fff; }

/* ---------------- 右侧客服 / 回顶 / 移动条 ---------------- */
.side-tab {
  position: fixed; right: 0; top: 46%; z-index: 70;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  background: #fff; border: 1px solid var(--line); border-right: 0;
  padding: 14px 9px; box-shadow: -4px 0 16px rgba(20, 22, 26, .06);
  font-size: 12.5px; color: #3d4146; writing-mode: vertical-rl; letter-spacing: .14em;
}
.side-tab:hover { color: var(--brand); }
.side-tab svg { width: 16px; height: 16px; writing-mode: horizontal-tb; }

.to-top {
  position: fixed; right: 26px; bottom: 30px; z-index: 70;
  width: 42px; height: 42px; display: flex; align-items: center; justify-content: center;
  background: rgba(23, 24, 26, .82); color: #fff; border: 0; cursor: pointer;
  opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s, background .2s;
  font-size: 11px; letter-spacing: .06em;
}
.to-top.is-on { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--brand); }

.mobile-bar { display: none; }

/* ---------------- 公告条 / 弹窗 ---------------- */
.ann-bar {
  position: relative; z-index: 95;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 9px 44px; background: var(--brand); color: #fff; font-size: 13.5px;
}
.ann-bar--info { background: #2f3338; }
.ann-bar--warn { background: #b26b00; }
/* 标题可能很长（公告是后台一句话随便写的），单行截断而不是把整条撑成两行 */
.ann-bar__text { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ann-bar__link { text-decoration: underline; text-underline-offset: 3px; }
.ann-bar__close {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  background: none; border: 0; color: inherit; font-size: 18px; cursor: pointer;
  line-height: 1; padding: 4px 8px;
}
.ann-modal {
  border: 0; padding: 0; max-width: 520px; width: calc(100% - 40px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
}
.ann-modal::backdrop { background: rgba(12, 14, 16, .56); }
.ann-modal__inner { padding: 34px 36px 28px; background: #fff; }
.ann-modal__eyebrow { font-size: 11.5px; letter-spacing: .24em; color: var(--brand); }
.ann-modal__title { font-size: 21px; margin: 10px 0 16px; }
.ann-modal__body { font-size: 14.5px; line-height: 1.95; color: #4b4f55; }
.ann-modal__body p { margin-bottom: 8px; }
.ann-modal__foot { display: flex; gap: 12px; margin-top: 24px; }
.ann-modal__go {
  padding: 10px 22px; background: var(--brand); color: #fff; font-size: 14px;
}
.ann-modal__close {
  padding: 10px 22px; background: #fff; border: 1px solid var(--line-strong);
  font-size: 14px; cursor: pointer;
}

/* 移动菜单里的二级项 */
.mobile-menu a.mobile-menu__sub {
  padding-left: 40px; font-size: 14px; color: #63676d; background: #fafbfb;
}
.mobile-menu a.mobile-menu__sub::before { content: "· "; color: var(--brand); }

/* ---------------- 进场动画 ---------------- */
.reveal { opacity: 1; }
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero__scroll::after { animation: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   询盘区
   标记沿用 _Inquiry.cshtml 里的类名（row2 / captcha-row / consent / hp …），
   这些名字与「字段是否显示」的后台配置一一对应，改名要同步改视图与服务端校验，
   不值得为样式重构去动它 —— 因此这里只做「换皮」，不改结构。
   ========================================================================== */
.inquiry { background: var(--dark-2); color: rgba(255, 255, 255, .74); padding: 74px 0; }
.inquiry .eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: 12px; letter-spacing: .3em; color: rgba(255, 255, 255, .5);
  text-transform: uppercase; margin-bottom: 14px;
}
.inquiry .eyebrow .rule { width: 38px; height: 1px; background: var(--brand); }
.inquiry h2 { color: #fff; font-size: clamp(22px, 2.2vw, 30px); letter-spacing: .04em; }

.inquiry-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 70px; margin-top: 40px; }

.inquiry .contact { border-top: 1px solid rgba(255, 255, 255, .14); align-self: start; }
.inquiry .ci {
  display: flex; gap: 16px; padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .1); font-size: 13.5px;
}
.inquiry .ci .k { flex: 0 0 62px; color: rgba(255, 255, 255, .45); }
.inquiry .ci .v { color: #fff; }
.inquiry .ci .v a { color: #fff; }
.inquiry .ci .v a:hover { color: #ff8b91; }
.inquiry .ci .v.cnv { letter-spacing: .02em; }

.inquiry .form { display: flex; flex-direction: column; gap: 14px; }
.inquiry .form h3 { color: #fff; font-size: 16px; margin-bottom: 2px; }
.inquiry .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.inquiry .row2 > * { min-width: 0; }
.inquiry .captcha-row { display: flex; gap: 10px; align-items: center; }
.inquiry .captcha-row input { flex: 1; min-width: 0; }
.inquiry .captcha-row img { height: 44px; width: auto; background: #fff; cursor: pointer; }
.inquiry .captcha-row__swap {
  background: none; border: 0; color: rgba(255, 255, 255, .55);
  font-size: 13px; cursor: pointer; white-space: nowrap; text-decoration: underline;
}
.inquiry .captcha-row__swap:hover { color: #fff; }
.inquiry .consent {
  display: flex; align-items: flex-start; gap: 9px;
  font-size: 12.5px; line-height: 1.7; color: rgba(255, 255, 255, .55);
}
.inquiry .consent input { width: 15px; height: 15px; margin-top: 3px; flex: 0 0 auto; }
.inquiry .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.inquiry .form > button[type="submit"] {
  align-self: flex-start; height: 46px; padding: 0 34px;
  background: var(--brand); color: #fff; border: 0; font-size: 15px;
  letter-spacing: .04em; cursor: pointer;
}
.inquiry .form > button[type="submit"]:hover { background: var(--brand-dark); }
.inquiry .form > button[type="submit"]:disabled { opacity: .6; cursor: default; }
.inquiry .form__ok {
  padding: 16px 18px; background: rgba(255, 255, 255, .08);
  border-left: 3px solid var(--brand); color: #fff; font-size: 14px;
}
.inquiry .form__err {
  padding: 13px 16px; background: rgba(195, 14, 24, .18);
  border-left: 3px solid var(--brand); color: #ffd7d9; font-size: 13.5px;
}
.inquiry .form__err strong { display: block; margin-bottom: 6px; }
.inquiry .form__err ul { padding-left: 18px; }
.inquiry .form__err li { list-style: disc; }
.inquiry .hint { font-size: 12.5px; color: rgba(255, 255, 255, .45); }
.inquiry .btn--primary {
  display: inline-flex; align-items: center; height: 44px; padding: 0 26px;
  background: var(--brand); color: #fff; font-size: 14.5px;
}

/* 浅色版：联系页与独立页里的表单 */
.inquiry--light { background: transparent; color: var(--text); padding: 0; }
.inquiry--light h2 { color: var(--ink); }
.inquiry--light .eyebrow { color: var(--muted); }
.inquiry--light .form h3 { color: var(--ink); }
.inquiry--light .contact { border-top-color: var(--line); }
.inquiry--light .ci { border-bottom-color: var(--line); }
.inquiry--light .ci .k { color: var(--muted); }
.inquiry--light .ci .v, .inquiry--light .ci .v a { color: var(--ink); }
.inquiry--light .form input, .inquiry--light .form select, .inquiry--light .form textarea {
  background: #fff; border-color: var(--line-strong); color: var(--ink);
}
.inquiry--light .form input::placeholder, .inquiry--light .form textarea::placeholder { color: #a8abb0; }
.inquiry--light .consent { color: var(--muted); }
.inquiry--light .captcha-row__swap { color: var(--muted); }
.inquiry--light .captcha-row__swap:hover { color: var(--brand); }
.inquiry--light .form__err { background: var(--brand-soft); color: #8c1018; }
.inquiry--light .form__ok { background: var(--soft); color: var(--ink); }
.inquiry--light .hint { color: var(--muted); }

/* ---------------- 1280 / 1120 ---------------- */
@media (max-width: 1280px) {
  .nav__item > a { padding: 0 12px; font-size: 15px; }
  .nav__item.is-current::after { left: 12px; right: 12px; }
  .f-main { grid-template-columns: repeat(3, 1fr) 200px; }
}

@media (max-width: 1120px) {
  .certs__grid { grid-template-columns: repeat(4, 1fr); }
  .cert { border-bottom: 1px solid var(--line); }
  .qgrid { grid-template-columns: repeat(3, 1fr); }
  .ncards { grid-template-columns: repeat(3, 1fr); }
  .news-split { grid-template-columns: 1fr; gap: 28px; }
  .pthumbs { grid-template-columns: repeat(4, 1fr); }
  .rdcards { grid-template-columns: repeat(2, 1fr); }
  .clients { grid-template-columns: repeat(4, 1fr); }
  .pcards { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .traffic { grid-column: 1 / -1; padding: 26px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
  .traffic h3 { grid-column: 1 / -1; }
  .inq__grid { grid-template-columns: 1fr; gap: 40px; padding: 60px 0; }
  .inquiry { padding: 60px 0; }
  .inquiry-grid { grid-template-columns: 1fr; gap: 38px; }
  .page-cols { grid-template-columns: minmax(0, 1fr) 250px; gap: 36px; }
}

/* ---------------- 平板 ---------------- */
@media (max-width: 980px) {
  :root { --header-h: 62px; }
  .brand__logo { height: 34px; }
  .nav { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }
  .hero { min-height: 520px; }
  .hero__inner { padding: 66px 0 80px; }
  .hero__stamp { display: none; }
  .section { padding: 62px 0; }
  .pgrid { grid-template-columns: 1fr; }
  .hero { height: clamp(340px, 56vw, 460px); }
  .hero__top { top: 34px; }
  .hero__stamp span { width: 38px; padding: 9px 0; font-size: 18px; }
  .hero-line { padding: 24px 0 0; }
  .hero-line p { font-size: 15px; }
  .pthumbs { grid-template-columns: repeat(3, 1fr); }
  .nright__foot { grid-template-columns: 1fr 1fr; }
  .about-strip { grid-template-columns: 1fr; gap: 34px; }
  .ncards { grid-template-columns: repeat(2, 1fr); }
  .qgrid { grid-template-columns: repeat(2, 1fr); }
  .page-cols { grid-template-columns: 1fr; }
  .aside { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .aside__head { grid-column: 1 / -1; margin-bottom: 0; }
  .aside-note { grid-column: 1 / -1; }
  .aside-card { margin-bottom: 0; }
  .subnav__search { display: none; }
  .subnav__row { height: 54px; overflow-x: auto; }
  .subnav__link { line-height: 54px; padding: 0 15px; font-size: 14.5px; }
  .subnav__parent { font-size: 15px; padding-right: 16px; margin-right: 16px; }
  .page-banner { height: 132px; }
  .contact-grid { grid-template-columns: 1fr; }
  .branches { grid-template-columns: 1fr; }
  .contact-photo img { max-height: 320px; }
  .traffic { grid-template-columns: 1fr; }
  .side-tab { display: none; }
  .f-main { grid-template-columns: repeat(2, 1fr); gap: 26px; padding: 44px 0 36px; }
  .f-qr { grid-column: 1 / -1; }
  .pdetail__plate img { max-height: 460px; }
  .specs { grid-template-columns: 1fr; gap: 0; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .inq__grid { padding: 52px 0; }
}

/* ---------------- 手机 ---------------- */
@media (max-width: 640px) {
  body { font-size: 14.5px; }
  .wrap { padding: 0 18px; }
  .brand__logo { height: 30px; }
  /* 手机上首屏压到 300px：主张移到图片下方一条，不然照片只剩一条缝 */
  .hero { height: 300px; }
  .hero__top { position: static; text-align: center; padding: 28px 18px 0; max-width: none; }
  .hero__veil { background: linear-gradient(180deg, rgba(8, 10, 12, .5), rgba(8, 10, 12, .2)); }
  .hero h1 { font-size: 21px; }
  .hero__slogan { font-size: 13px; }
  .hero__go { height: 30px; margin-top: 12px; }
  .hero__stamp { display: grid; }
  .hero__stamp span { width: 30px; padding: 6px 0; font-size: 14px; }
  .hero-line { padding: 18px 0 0; }
  .hero-line p { font-size: 13px; line-height: 1.9; }
  .hero-line span { margin: 0 6px; }
  .pthumbs { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .news-split { gap: 22px; }
  .nlead__bar { padding: 13px 14px; gap: 12px; }
  .nlead__title { font-size: 15px; }
  .nlist a { grid-template-columns: 62px 1fr; gap: 8px 10px; padding: 13px 2px; }
  .nlist__cat { display: none; }
  .nright__foot { grid-template-columns: 1fr; gap: 14px; }
  .rdcards { grid-template-columns: 1fr 1fr; gap: 12px; }
  .clients { grid-template-columns: repeat(3, 1fr); }
  .clients li { padding: 12px; }
  .rdcard__body { padding: 24px 12px 11px; }
  .rdcard__body b { font-size: 14px; }
  .certs__grid { grid-template-columns: repeat(2, 1fr); }
  .cert { padding: 20px 8px; }
  .cert img { width: 34px; height: 34px; }
  .section, .section--tight { padding: 46px 0; }
  .sec-head { margin-bottom: 30px; }
  .sec-bar { flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 26px; }
  .pcards, .ncards, .qgrid { grid-template-columns: 1fr; }
  .pgrid { gap: 18px; }
  .pblock { grid-template-columns: 1fr; }
  .pblock__media img { min-height: 200px; }
  .pblock__body { padding: 22px 20px 24px; }
  .pblock__list { grid-template-columns: 1fr; }
  .article__lead { font-size: 15px; padding-left: 14px; }
  .prose { font-size: 15px; }
  .form { grid-template-columns: 1fr; }
  .inquiry .row2 { grid-template-columns: 1fr; }
  .inquiry { padding: 46px 0; }
  .inquiry-grid { margin-top: 28px; }
  .inq__grid { padding: 42px 0; }
  .inq__contact dt { flex-basis: 54px; }
  .search-box { max-width: none; }
  .search-box input { height: 46px; font-size: 15px; }
  .search-box button { width: 82px; height: 46px; font-size: 14px; }
  .err { padding: 80px 0 90px; }
  .f-main { grid-template-columns: 1fr 1fr; gap: 22px; }
  .f-col h3 { font-size: 14px; margin-bottom: 10px; }
  .site-footer { padding-bottom: 62px; }
  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 75;
    display: grid; grid-template-columns: 1fr 1fr;
    background: #fff; border-top: 1px solid var(--line);
    box-shadow: 0 -4px 18px rgba(20, 22, 26, .08);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; height: 52px; font-size: 15px; letter-spacing: .04em; }
  .mobile-bar__quote { background: var(--brand); color: #fff; }
  .mobile-bar__call { color: var(--ink); border-left: 1px solid var(--line); }
  .to-top { right: 16px; bottom: 68px; width: 38px; height: 38px; }
  .pdetail__tabs { overflow-x: auto; }
  .pdetail__tab { margin-right: 22px; white-space: nowrap; }
  .pdetail__plate img { max-height: 320px; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .pdetail__cta { padding: 20px; }
  .qitem__media { aspect-ratio: 4 / 3; }
  .contact-info { padding: 24px 20px; }
  .qrs { gap: 16px; }
  .qr img { width: 82px; height: 82px; }
  .page-body { padding: 36px 0 56px; }
  .aside { grid-template-columns: 1fr 1fr; }
  .aside-card span { font-size: 13px; left: 12px; bottom: 12px; }
}

/* ==========================================================================
   目录型站点补充组件（液压支架配件站）
   --------------------------------------------------------------------------
   这一组是「老站信息架构 + 现代版式」的落点：
     · 首屏分栏（左主张 / 右实拍），替代原来整幅压图的印章版式；
     · 主机厂适配条、分类墙、四列产品卡，替代原来一屏八排缩略图的做法；
     · 列表页左侧分类树 + 右侧产品网格，让 126 个型号有地方可翻。
   颜色只取 --brand / --accent 两个，画面靠留白与细线分层，不用大面积色块。
   ========================================================================== */

/* ---------------- 首屏 ---------------- */
.hhero {
  position: relative; margin-top: var(--header-h);
  background: #0d272e; color: #fff; overflow: hidden;
}
.hhero__bg { position: absolute; inset: 0; }
.hhero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.hhero__veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(96deg, rgba(9, 32, 39, .94) 0%, rgba(9, 32, 39, .86) 38%, rgba(9, 32, 39, .38) 68%, rgba(9, 32, 39, .18) 100%),
    linear-gradient(180deg, rgba(9, 32, 39, .35), rgba(9, 32, 39, .1));
}
.hhero__in { position: relative; padding: 74px 0 58px; max-width: 760px; }
.hhero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: .26em; color: #7fd2e4; text-transform: uppercase;
}
.hhero__eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .7; }
.hhero__title {
  margin: 18px 0 0; color: #fff;
  font-size: clamp(30px, 3.6vw, 50px); line-height: 1.16; letter-spacing: .01em;
}
.hhero__lead {
  margin-top: 20px; max-width: 620px;
  font-size: 16px; line-height: 1.95; color: rgba(255, 255, 255, .8);
}
.hhero__acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hhero__acts .btn { height: 48px; padding: 0 26px; font-size: 15px; }
.hhero__acts .btn--ghost {
  border-color: rgba(255, 255, 255, .38); color: #fff; background: transparent;
}
.hhero__acts .btn--ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.hhero__facts {
  display: flex; flex-wrap: wrap; gap: 0; margin-top: 42px;
  border-top: 1px solid rgba(255, 255, 255, .16); padding-top: 22px;
}
.hhero__facts li { padding-right: 34px; margin-right: 34px; border-right: 1px solid rgba(255, 255, 255, .16); }
.hhero__facts li:last-child { border-right: 0; margin-right: 0; }
.hhero__facts b { display: block; font-size: 26px; line-height: 1.2; color: #fff; letter-spacing: .01em; }
.hhero__facts span { font-size: 12.5px; color: rgba(255, 255, 255, .62); letter-spacing: .06em; }

/* ---------------- 主机厂适配条 ---------------- */
.fitbar { background: var(--soft); border-bottom: 1px solid var(--line); }
.fitbar__in { display: flex; align-items: center; gap: 26px; height: 74px; }
.fitbar__label {
  flex: 0 0 auto; font-size: 13px; color: var(--brand-dark); font-weight: 700;
  letter-spacing: .1em; display: flex; align-items: center; gap: 9px;
}
.fitbar__label::before { content: ""; width: 4px; height: 16px; background: var(--accent); }
.fitbar__list {
  display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 0; flex: 1;
  font-size: 14px; color: #4c565b;
}
.fitbar__list a {
  padding: 5px 13px; border: 1px solid var(--line-strong); background: #fff;
  font-size: 13.5px; color: #3d4a4f; transition: all .16s var(--ease);
}
.fitbar__list a:hover { border-color: var(--brand); color: var(--brand-dark); background: var(--brand-soft); }
.fitbar__more { flex: 0 0 auto; font-size: 13.5px; color: var(--brand-dark); font-weight: 600; }
.fitbar__more:hover { color: var(--accent); }

/* ---------------- 页头（列表页 / 栏目页） ---------------- */
.pagehead {
  padding: 34px 0 30px;
  background: linear-gradient(180deg, #f6fafb 0%, #fff 100%);
  border-bottom: 1px solid var(--line);
}
.pagehead__eyebrow {
  font-size: 11.5px; letter-spacing: .24em; color: var(--brand); text-transform: uppercase;
  display: flex; align-items: center; gap: 9px;
}
.pagehead__eyebrow::before { content: ""; width: 20px; height: 1px; background: currentColor; }
.pagehead__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-top: 12px; }
.pagehead__title { font-size: clamp(24px, 2.4vw, 34px); letter-spacing: .01em; }
.pagehead__lead { margin-top: 10px; max-width: 720px; font-size: 14.5px; line-height: 1.9; color: #5b6669; }
.pagehead__count { flex: 0 0 auto; text-align: right; font-size: 13px; color: var(--muted); }
.pagehead__count b { display: block; font-size: 30px; color: var(--brand); line-height: 1.1; }

/* ---------------- 分类墙 ---------------- */
.catwall { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.catcard {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--line); transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.catcard:hover { border-color: #bcd8e0; box-shadow: 0 14px 30px rgba(14, 43, 51, .1); transform: translateY(-2px); }
.catcard__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--soft); }
.catcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--ease); }
.catcard:hover .catcard__media img { transform: scale(1.04); }
.catcard__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.catcard__name { font-size: 16.5px; font-weight: 700; color: var(--ink); display: flex; align-items: baseline; gap: 8px; }
.catcard__count { font-size: 11.5px; color: var(--brand); font-weight: 500; letter-spacing: .04em; }
.catcard__desc { font-size: 13px; line-height: 1.8; color: #6b757a; }
.catcard__go { margin-top: auto; font-size: 12.5px; color: var(--brand-dark); letter-spacing: .04em; }

/* ---------------- 产品列表：左分类树 + 右网格 ---------------- */
.catalog { display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: 34px; align-items: start; }
.catnav { position: sticky; top: calc(var(--header-h) + 16px); border: 1px solid var(--line); background: #fff; }
.catnav__head {
  padding: 15px 18px; background: var(--brand); color: #fff;
  font-size: 15px; font-weight: 600; letter-spacing: .06em;
  display: flex; align-items: center; justify-content: space-between;
}
.catnav__head span { font-size: 11.5px; font-weight: 400; opacity: .8; letter-spacing: .1em; }
.catnav ul { padding: 6px 0; }
.catnav a {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 10px 18px; font-size: 14px; color: #3d4a4f; border-left: 3px solid transparent;
  transition: background .15s, color .15s, border-color .15s;
}
.catnav a:hover { background: var(--soft); color: var(--brand-dark); }
.catnav a.is-current {
  background: var(--brand-soft); color: var(--brand-dark);
  border-left-color: var(--brand); font-weight: 600;
}
.catnav__count { font-size: 11.5px; color: var(--muted); font-weight: 400; }
.catnav a.is-current .catnav__count { color: var(--brand); }
.catnav__help { padding: 16px 18px; border-top: 1px solid var(--line); background: #fafcfc; }
.catnav__help b { display: block; font-size: 13.5px; color: var(--ink); }
.catnav__help p { margin-top: 6px; font-size: 12.5px; line-height: 1.8; color: #6b757a; }
.catnav__help a { display: inline-block; margin-top: 10px; font-size: 13px; color: var(--brand); font-weight: 600; }
.catnav__help a:hover { color: var(--accent); }

.pcards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.pcards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }

.pcard--tight .pcard__media { aspect-ratio: 4 / 3; }
.pcard--tight .pcard__body { display: flex; flex-direction: column; flex: 1 1 auto; padding: 13px 14px 15px; gap: 5px; }
/* 标题 1～3 行不等，型号条靠 margin-top:auto 压到卡片底部，一整排看过去是对齐的 */
.pcard--tight .pcard__model {
  margin-top: auto; align-self: flex-start;
  /* 型号条必须单行：Φ63/Φ80/Φ100/Φ125/Φ140 这种会在窄栏里折成两行，整排就歪了 */
  max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pcard--tight h3 { font-size: 14px; line-height: 1.55; }
.pcard--tight p { font-size: 12.5px; line-height: 1.7; color: #6f797e; }
.pcard--tight .pcard__cat { font-size: 11px; }
.pcard__model {
  display: inline-block; margin-top: 2px; padding: 2px 7px;
  background: var(--soft); border: 1px solid var(--line);
  font-size: 11.5px; color: #5b6669; letter-spacing: .02em;
  font-family: "SF Mono", Consolas, monospace;
}

.listbar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line);
  font-size: 13px; color: var(--muted);
}
.listbar b { color: var(--ink); }

/* ---------------- 分页 ---------------- */
.pager { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 40px; }
.pager a, .pager span {
  min-width: 38px; height: 38px; padding: 0 12px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-strong); background: #fff;
  font-size: 14px; color: #3d4a4f;
}
.pager a:hover { border-color: var(--brand); color: var(--brand-dark); }
.pager .is-current { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }
.pager .is-disabled { color: #c3c9cc; }

/* ---------------- 产品详情（图文分栏） ---------------- */
.pd { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 44px; align-items: start; }
.pd__media { border: 1px solid var(--line); background: #fff; }
/* 右栏是网格的第二个轨道：不写 min-width:0 的话，型号里那串 ZT00-06/2 会把列撑宽 */
.pd__info { min-width: 0; }
.pd__main { aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; overflow: hidden; background: #f7f9fa; }
.pd__main img { width: 100%; height: 100%; object-fit: contain; }
.pd__thumbs { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--line); overflow-x: auto; }
.pd__thumbs a { flex: 0 0 74px; height: 62px; border: 1px solid var(--line); overflow: hidden; background: #fff; }
.pd__thumbs a.is-current { border-color: var(--brand); }
.pd__thumbs img { width: 100%; height: 100%; object-fit: cover; }

.pd__cat { font-size: 12.5px; color: var(--brand); letter-spacing: .08em; }
.pd__title { margin-top: 10px; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.4; }
.pd__model {
  display: inline-block; margin-top: 12px; padding: 4px 10px;
  background: var(--brand-soft); color: var(--brand-dark);
  font-family: "SF Mono", Consolas, monospace; font-size: 13px;
}
.pd__summary { margin-top: 16px; font-size: 14.5px; line-height: 1.9; color: #5b6669; }
.pd__facts { margin-top: 22px; border-top: 1px solid var(--line); }
.pd__facts div {
  display: grid; grid-template-columns: 88px 1fr; gap: 14px;
  padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px;
}
.pd__facts dt { color: var(--muted); }
.pd__facts dd { color: var(--ink); margin: 0; }
.pd__acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.pd__acts .btn { height: 48px; padding: 0 28px; }
.pd__note { margin-top: 14px; font-size: 12.5px; color: var(--muted); line-height: 1.8; }

/* 详情页正文：老站的表格直接搬过来，这里给表格一个能横向滚动的容器 */
.prose table {
  width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 13.5px;
  border: 1px solid var(--line-strong);
}
.prose th, .prose td {
  border: 1px solid var(--line); padding: 9px 11px; text-align: left;
  vertical-align: top; line-height: 1.7;
}
.prose thead th, .prose tr:first-child td { background: #f3f8f9; font-weight: 600; color: var(--ink); }
.prose tr:nth-child(even) td { background: #fbfcfc; }
.prose img { max-width: 100%; height: auto; }

/* ---------------- 资讯列表 ---------------- */
.newslay { display: grid; grid-template-columns: minmax(0, 1fr) 292px; gap: 40px; align-items: start; }
/* 列表容器只为分组存在：条目自带分隔线，这里不再加边框，只把 .newsitem:first-child 的顶部让出去 */
.newslist { display: flow-root; }
.newsitem {
  display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 22px;
  padding: 22px 0; border-bottom: 1px solid var(--line);
}
.newsitem:first-child { padding-top: 0; }
.newsitem__date {
  text-align: center; border: 1px solid var(--line); background: #fafcfc; align-self: start;
  padding: 10px 0 8px;
}
.newsitem__date b { display: block; font-size: 26px; line-height: 1.1; color: var(--brand); font-weight: 700; }
.newsitem__date span { font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.newsitem__body h3 { font-size: 17px; line-height: 1.6; }
.newsitem__body h3 a:hover { color: var(--brand-dark); }
.newsitem__meta { margin-top: 7px; font-size: 12.5px; color: var(--muted); display: flex; gap: 12px; }
.newsitem__sum { margin-top: 9px; font-size: 13.5px; line-height: 1.85; color: #66716f; }
.newsitem__thumb { float: right; width: 168px; margin: 0 0 10px 18px; border: 1px solid var(--line); }
.newsitem__thumb img { width: 100%; height: 112px; object-fit: cover; display: block; }

.newsside { position: sticky; top: calc(var(--header-h) + 16px); display: grid; gap: 18px; }
.sidebox { border: 1px solid var(--line); background: #fff; }
.sidebox__head {
  padding: 13px 18px; background: var(--soft); border-bottom: 1px solid var(--line);
  font-size: 14.5px; font-weight: 700; color: var(--ink); letter-spacing: .04em;
  display: flex; align-items: center; justify-content: space-between;
}
.sidebox__head span { font-size: 11.5px; color: var(--muted); font-weight: 400; letter-spacing: .1em; }
.sidebox ul { padding: 6px 0; }
.sidebox li a {
  display: flex; justify-content: space-between; gap: 10px;
  padding: 9px 18px; font-size: 13.5px; color: #3d4a4f;
}
.sidebox li a:hover { background: var(--soft); color: var(--brand-dark); }
.sidebox li a em { font-style: normal; color: var(--muted); font-size: 11.5px; }
.sidebox__body { padding: 18px; font-size: 13.5px; line-height: 1.9; color: #5b6669; }
.sidebox__body b { color: var(--ink); }
.sidebox__tel { display: block; margin-top: 8px; font-size: 21px; color: var(--brand); font-weight: 700; }

/* ---------------- 文章详情 ---------------- */
.article--narrow { max-width: 900px; }
.article__head { padding-bottom: 20px; border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.article__meta {
  display: flex; flex-wrap: wrap; gap: 16px; margin-top: 14px;
  font-size: 12.5px; color: var(--muted);
}
.article__meta a { color: var(--brand-dark); }

/* ---------------- 关于/单页的两栏 ---------------- */
.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 46px; align-items: start; }
.split__media { border: 1px solid var(--line); }
.split__media img { width: 100%; display: block; }
.split__body h2 { margin-top: 26px; font-size: 19px; }
.split__body h2:first-child { margin-top: 0; }
.split__body p { margin-top: 12px; font-size: 14.5px; line-height: 2; color: #4d585c; }
.split__body ul { margin-top: 12px; }
.split__body li { position: relative; padding-left: 18px; margin-top: 8px; font-size: 14.5px; line-height: 1.9; color: #4d585c; }
.split__body li::before {
  content: ""; position: absolute; left: 0; top: 12px; width: 6px; height: 6px;
  background: var(--accent); transform: rotate(45deg);
}

/* ---------------- 联系页 ---------------- */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ccard { border: 1px solid var(--line); background: #fff; padding: 24px 22px; }
.ccard__k { font-size: 11.5px; letter-spacing: .18em; color: var(--brand); text-transform: uppercase; }
.ccard__v { margin-top: 10px; font-size: 21px; color: var(--ink); font-weight: 700; line-height: 1.5; }
.ccard p { margin-top: 8px; font-size: 13px; line-height: 1.85; color: #6b757a; }

/* ---------------- 适配小屏 ---------------- */
@media (max-width: 1120px) {
  .catwall { grid-template-columns: repeat(3, 1fr); }
  .pcards--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .catalog { grid-template-columns: 210px minmax(0, 1fr); gap: 26px; }
  .pd { gap: 30px; }
  .newslay { grid-template-columns: minmax(0, 1fr) 260px; gap: 28px; }
}

@media (max-width: 980px) {
  .topbar { display: none; }
  .navbar { display: none; }
  .head__search, .head__tel { display: none; }
  .head { height: var(--header-h); }
  .brand__name { font-size: 16.5px; }
  .brand__slogan { font-size: 10.5px; letter-spacing: .1em; }
  .hhero__in { padding: 48px 0 40px; }
  .hhero__facts { margin-top: 28px; }
  .hhero__facts b { font-size: 22px; }
  .fitbar__in { height: auto; padding: 14px 0; flex-wrap: wrap; gap: 12px; }
  .fitbar__list { font-size: 13px; }
  .fitbar__more { display: none; }
  .catalog { grid-template-columns: 1fr; }
  .catnav { position: static; }
  .catnav ul { display: flex; flex-wrap: wrap; padding: 10px; gap: 6px; }
  .catnav a { border: 1px solid var(--line); border-left-width: 1px; padding: 7px 12px; font-size: 13px; }
  .catnav a.is-current { border-color: var(--brand); }
  .catnav__help { display: none; }
  .pcards--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pd { grid-template-columns: 1fr; }
  .newslay { grid-template-columns: 1fr; }
  .newsside { position: static; grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .contact-cards { grid-template-columns: 1fr; }
  .pagehead { padding: 26px 0 22px; }
  .pagehead__row { flex-direction: column; align-items: flex-start; gap: 8px; }
  .pagehead__count { display: none; }
}

@media (max-width: 640px) {
  .hhero__title { font-size: 26px; }
  .hhero__lead { font-size: 14px; }
  /* 四格数字条在 390px 下用 flex + 竖分隔线会挤成「126 8 230 / 3」两段错位，
     换成 2×2 网格：每格等宽、左对齐，分隔线改竖线只出现在右列。 */
  .hhero__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 0; }
  .hhero__facts li {
    padding: 0 0 0 16px; margin: 0;
    border-right: 0; border-left: 1px solid rgba(255, 255, 255, .16);
  }
  .hhero__facts li:nth-child(2n + 1) { padding-left: 0; border-left: 0; }
  .hhero__facts b { font-size: 21px; }
  .hhero__facts span { font-size: 11.5px; letter-spacing: .04em; }
  .catwall { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .catcard__body { padding: 12px 13px 14px; }
  .catcard__name { font-size: 14.5px; }
  .catcard__desc { display: none; }
  .pcards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .pcards--3 { grid-template-columns: minmax(0, 1fr); }
  .pcard--tight h3 { font-size: 13px; }
  .pcard--tight p { display: none; }
  .newsitem { grid-template-columns: 66px minmax(0, 1fr); gap: 14px; padding: 18px 0; }
  .newsitem__date b { font-size: 20px; }
  .newsitem__thumb { display: none; }
  .newsside { grid-template-columns: 1fr; }
  .pd__acts .btn { flex: 1; padding: 0 12px; }
  .prose table { font-size: 12.5px; }
  .prose th, .prose td { padding: 7px 8px; }
}

/* ---------------- 页脚（本站在封装包底色上换成深青） ---------------- */
.site-footer { background: #0f2b33; color: rgba(255, 255, 255, .62); }
.f-contact h3 { font-size: 15px; color: #fff; margin-bottom: 16px; letter-spacing: .06em; font-weight: 600; }
.f-contact p { font-size: 12.5px; line-height: 1.9; color: rgba(255, 255, 255, .55); }
.f-contact__tel { font-size: 24px !important; color: #fff !important; font-weight: 700; letter-spacing: .02em; }
.f-contact__tel2 { color: rgba(255, 255, 255, .8) !important; font-size: 14px !important; }
.f-contact__go { display: inline-block; margin-top: 14px; font-size: 13px; color: #8fd3e2; border-bottom: 1px solid rgba(143, 211, 226, .4); }
.f-contact__go:hover { color: #fff; border-color: #fff; }

/* ---------------- 无实拍图占位块 ----------------
   老站有四十多款产品只在旧广告图上出现过，那批图已整体滤掉（图上印着旧电话）。
   与其放一张广告，不如给一个说得清楚的占位：线稿 + 型号 + 「可按图定制」。
   底色用品牌浅青，和卡片白底区分开，整屏看过去是一格一格的目录感，不像坏图。 */
.nomedia {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; width: 100%; height: 100%; padding: 14px;
  background:
    radial-gradient(120% 90% at 50% 0%, #f4fafc 0%, #e9f2f5 100%);
  color: #6f8f9b; text-align: center;
}
.nomedia__art { width: 78px; height: auto; color: var(--brand); opacity: .5; }
.nomedia__model {
  font-style: normal; font-size: 12px; font-weight: 700; color: var(--brand-dark);
  letter-spacing: .04em; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.nomedia__tip { font-style: normal; font-size: 11.5px; color: #7d919a; letter-spacing: .02em; }

/* 详情页主图区更大，线稿与字号跟着放大 */
.pd__main .nomedia { gap: 12px; }
.pd__main .nomedia__art { width: 148px; }
.pd__main .nomedia__model { font-size: 16px; }
.pd__main .nomedia__tip { font-size: 13px; }

/* 卡片里空间小：型号与提示压成一行，避免三行挤在一起 */
.pcard--tight .nomedia { gap: 4px; padding: 10px; }
.pcard--tight .nomedia__art { width: 58px; }
.pcard--tight .nomedia__tip { font-size: 10.5px; }

@media (max-width: 640px) {
  .pcard--tight .nomedia__art { width: 46px; }
  .pcard--tight .nomedia__tip { display: none; }
}

/* ==========================================================================
   接听电话名单（页脚 + 页头）
   —— 后台「联系电话」页维护，前台按访客轮流/随机分配；名单整份摊出来，
      让访客看得见「还有别人在接」，而不是一个不知道有没有人接的号。
   ========================================================================== */
.head__tel strong a { color: inherit; text-decoration: none; }
.head__tel strong a:hover { color: var(--brand-dark); }

.f-phones { display: grid; gap: 2px; margin: 6px 0 12px; }
.f-phones li { display: flex; align-items: baseline; gap: 8px; }
.f-phones a {
  font-size: 14px; color: rgba(255, 255, 255, .82);
  letter-spacing: .03em; font-variant-numeric: tabular-nums;
}
.f-phones a:hover { color: #fff; }
.f-phones span { font-size: 11.5px; color: rgba(255, 255, 255, .38); }
/* 这一位就是当前访客被分配到的经理：标出来，页脚才不是一份冷名单 */
.f-phones li.is-live a { color: #8fd3e2; }
.f-phones li.is-live a::after {
  content: "· 您的专属"; margin-left: 6px; font-size: 10.5px; color: rgba(143, 211, 226, .7);
}

/* ==========================================================================
   友情链接（页脚出站链接带）
   —— 出站一律 nofollow：换链是给访客的第二选择，不拿来传递权重。
   ========================================================================== */
.f-friends {
  display: grid; gap: 10px;
  padding: 22px 0 4px; margin-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.f-friends__head { font-size: 14px; color: #fff; margin: 0; }
.f-friends__row { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.f-friends__k {
  flex: none; font-size: 12px; color: rgba(255, 255, 255, .6);
  letter-spacing: .1em;
}
.f-friends ul { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; padding: 0; list-style: none; }
.f-friends a { font-size: 12.5px; color: rgba(255, 255, 255, .72); }
.f-friends a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================================
   引流弹窗（停留 N 秒后出现）
   —— 与公告弹窗同一套 <dialog> 用法，但视觉上更「像一张名片」：
      品牌色顶条 + 号码最大 + 两条去路（打 / 留言）。
   ========================================================================== */
.lead {
  width: min(460px, calc(100vw - 32px));
  padding: 0; border: 0; border-radius: 2px;
  background: transparent; overflow: visible;
}
.lead::backdrop { background: rgba(9, 24, 28, .62); }

.lead__in {
  position: relative;
  padding: 30px 34px 26px;
  background: #fff;
  border-top: 3px solid var(--brand);
  box-shadow: 0 24px 60px rgba(9, 24, 28, .28);
  /* 小屏（360×640、320×568 这类）卡片比视口高，不给滚动就等于把「关闭」和
     「留言询价」按到屏幕外 —— 弹窗变成一层关不掉的遮罩。 */
  max-height: calc(100vh - 24px);
  overflow-y: auto;
}
.lead__close {
  position: absolute; top: 8px; right: 10px;
  width: 34px; height: 34px; padding: 0;
  border: 0; background: none; cursor: pointer;
  font-size: 24px; line-height: 1; color: #9aa6ad;
}
.lead__close:hover { color: var(--ink); }

.lead__kicker {
  display: inline-block; font-size: 11.5px; letter-spacing: .18em;
  color: var(--brand); text-transform: uppercase;
}
.lead__title { margin: 8px 0 10px; font-size: 21px; line-height: 1.35; color: var(--ink); }
.lead__text { font-size: 13.5px; line-height: 1.9; color: #59636a; }

.lead__acts { display: grid; gap: 10px; margin-top: 20px; }
.lead__call {
  display: flex; align-items: baseline; justify-content: center; gap: 10px;
  padding: 13px 18px; background: var(--brand); color: #fff;
  font-size: 14px; letter-spacing: .04em;
}
.lead__call:hover { background: var(--brand-dark); color: #fff; }
.lead__call b { font-size: 20px; letter-spacing: .03em; font-variant-numeric: tabular-nums; }
.lead__quote {
  display: block; padding: 11px 18px; text-align: center;
  border: 1px solid var(--line); color: var(--ink); font-size: 13.5px;
}
.lead__quote:hover { border-color: var(--brand); color: var(--brand); }

.lead__roster { margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--line); }
.lead__roster > span { font-size: 11.5px; color: var(--muted); letter-spacing: .04em; }
.lead__roster ul {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px 14px;
  margin: 8px 0 0; padding: 0; list-style: none;
}
.lead__roster li { display: flex; align-items: baseline; gap: 6px; }
.lead__roster a {
  font-size: 13px; color: #45525a; font-variant-numeric: tabular-nums;
}
.lead__roster li.is-live a { color: var(--brand); font-weight: 700; }
.lead__roster em { font-style: normal; font-size: 11px; color: var(--muted); }

.lead__note { margin-top: 14px; font-size: 11.5px; color: #9aa6ad; line-height: 1.7; }

@media (max-width: 640px) {
  .lead__in { padding: 24px 20px 20px; }
  .lead__title { font-size: 18.5px; }
  .lead__call { flex-direction: column; gap: 2px; padding: 12px; }
  .lead__call b { font-size: 21px; }
  .lead__roster ul { grid-template-columns: 1fr; }
  .f-friends__row { gap: 6px 12px; }
}
