/* ============================================================
   primerachina 全站样式（沿用旧站蓝白色调：深蓝 #004080 + 亮蓝 #5eafcd）
   ============================================================ */
:root {
  --brand: #004080;
  --brand-2: #0a5fbf;
  --brand-3: #e8f1fb;
  --accent: #5eafcd;
  --blue-grad: linear-gradient(115deg, #003a72, #0a5fbf 70%, #1779cc);
  --ink: #12212e;
  --ink-2: #46586a;
  --ink-3: #74869a;
  --line: #e3e6ed;
  --soft: #f4f7fb;
  --radius: 6px;
  --shadow: 0 6px 20px rgba(11, 42, 74, .08);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 16px/1.75 "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: #fff;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; border: 0; }
ul, ol { margin: 0; }
h1, h2, h3, h4 { line-height: 1.35; }
.wrap { max-width: 1220px; margin: 0 auto; padding: 0 22px; }
.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;
}

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 20px; border-radius: 4px; border: 1px solid transparent;
  font-size: 15px; font-weight: 600; cursor: pointer; transition: .18s;
  white-space: nowrap;
}
.btn-primary { background: var(--brand); color: #fff; border-color: var(--brand); }
.btn-primary:hover { background: var(--brand-2); border-color: var(--brand-2); }
.btn-ghost { background: #fff; color: var(--ink-2); border-color: #d7dee8; }
.btn-ghost:hover { color: var(--brand); border-color: var(--brand); }

/* ---------------- 顶部信息条 ---------------- */
.topbar {
  background: #003a72;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  font-size: 13px;
  color: #c3d7ec;
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 36px; }
.tb-right { display: flex; align-items: center; gap: 16px; }
.tb-right .tb-tel { white-space: nowrap; }
.tb-right .tb-tel:first-child { color: #fff; font-weight: 600; }
.tb-mail:hover, .tb-tel:hover { color: #fff; }

/* ---------------- 页头 ---------------- */
.site-header {
  background-image: var(--blue-grad);
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  position: relative; z-index: 30;
}
.site-header .wrap { display: flex; align-items: center; gap: 20px; min-height: 74px; }
.logo { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.logo-img { height: 42px; width: auto; display: block; }
.logo small {
  font-size: 12.5px; color: rgba(255, 255, 255, .78); letter-spacing: .5px;
  padding-left: 12px; border-left: 1px solid rgba(255, 255, 255, .3);
}
.nav { margin-left: auto; }
.nav > ul { display: flex; list-style: none; padding: 0; gap: 2px; }
.nav > ul > li { position: relative; }
.nav > ul > li > a {
  display: block; padding: 0 15px; line-height: 74px;
  font-size: 16px; font-weight: 600; color: #fff; transition: .16s;
}
.nav > ul > li > a:hover { color: #fff; background: rgba(255, 255, 255, .15); }
.nav .sub {
  position: absolute; top: 100%; left: 0; min-width: 196px; display: none;
  background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--brand);
  box-shadow: var(--shadow); padding: 8px 0; border-radius: 0 0 4px 4px;
}
.nav .sub a {
  display: block; padding: 9px 16px; font-size: 14.5px; color: var(--ink-2); white-space: nowrap;
}
.nav .sub a:hover { background: var(--soft); color: var(--brand); }
.nav li:hover > .sub { display: block; }
.nav-toggle {
  display: none; margin-left: auto; padding: 7px 14px; font: inherit; font-size: 14px;
  background: transparent; border: 1px solid rgba(255, 255, 255, .5); border-radius: 4px; color: #fff;
}

/* ---------------- 子导航 ---------------- */
.subnav { background: var(--soft); border-bottom: 1px solid var(--line); }
.subnav-inner { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 10px 0; }
.subnav-label { font-size: 13.5px; font-weight: 700; color: var(--brand); }
.subnav-inner ul { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; }
.subnav-inner a {
  display: block; padding: 6px 12px; border-radius: 4px; font-size: 14px;
  color: var(--ink-2); border: 1px solid transparent;
}
.subnav-inner a:hover { background: #fff; border-color: var(--line); color: var(--brand); }
.subnav-inner a.on { background: #fff; border-color: var(--line); color: var(--brand); font-weight: 600; }

/* ---------------- 首页 Banner ---------------- */
.hero-stage { position: relative; overflow: hidden; background: #fff; aspect-ratio: 1024 / 335; border-bottom: 1px solid var(--line); }
.hero-slide:first-child { position: relative; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .55s ease; }
.hero-slide.on { opacity: 1; z-index: 2; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 4;
  width: 42px; height: 42px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(0, 40, 80, .35); color: #fff; font-size: 24px; line-height: 1;
  display: flex; align-items: center; justify-content: center; transition: .18s;
}
.hero-arrow:hover { background: rgba(0, 40, 80, .68); }
.hero-arrow.prev { left: 18px; }
.hero-arrow.next { right: 18px; }
.hero-dots { position: absolute; left: 0; right: 0; bottom: 14px; z-index: 4; display: flex; justify-content: center; gap: 8px; }
.hero-dots button {
  width: 26px; height: 4px; border: 0; border-radius: 2px; padding: 0;
  background: rgba(255, 255, 255, .45); cursor: pointer; transition: .18s;
}
.hero-dots button.on { background: #fff; width: 40px; }

.hero-bar { background-image: var(--blue-grad); color: #fff; padding: 24px 0; }
.hero-bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 34px; }
.hero-copy h1 { font-size: clamp(20px, 2.35vw, 30px); margin: 0 0 10px; font-weight: 700; letter-spacing: .3px; }
.hero-copy h1 em { font-style: normal; color: #9fe0f5; }
.hero-copy p { margin: 0 0 16px; font-size: 15px; line-height: 1.8; color: rgba(255, 255, 255, .86); max-width: 760px; }
.hero-copy .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-bar .btn-primary { background: #fff; color: var(--brand); border-color: #fff; }
.hero-bar .btn-primary:hover { background: #eaf4ff; }
.hero-bar .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
.hero-bar .btn-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; border-color: #fff; }
.hero-stats { display: flex; gap: 30px; flex: 0 0 auto; }
.hero-stats div { text-align: center; }
.hero-stats b { display: block; font-size: 22px; line-height: 1.3; }
.hero-stats span { font-size: 12.5px; color: rgba(255, 255, 255, .78); }

/* ---------------- 区块 ---------------- */
.section { padding: 54px 0; }
.section.soft { background: var(--soft); }
.section-head { display: flex; align-items: baseline; gap: 14px; padding-bottom: 14px; margin-bottom: 28px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.section-head h2 { position: relative; margin: 0; padding-left: 15px; font-size: 24px; }
.section-head h2::before {
  content: ""; position: absolute; left: 0; top: 5px; bottom: 5px; width: 4px;
  border-radius: 2px; background: linear-gradient(var(--brand), var(--accent));
}
.section-head p { margin: 0; font-size: 14px; color: var(--ink-3); }
.section-head .more { margin-left: auto; font-size: 14px; font-weight: 600; color: var(--brand); white-space: nowrap; }
.section-head .more:hover { color: var(--brand-2); }

.grid { display: grid; gap: 18px; }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* 产品 / 内容卡片 */
.card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px; transition: .2s;
}
.card:hover { border-color: #bcd4ee; box-shadow: var(--shadow); transform: translateY(-2px); }
.card .thumb {
  display: flex; align-items: center; justify-content: center; background: #fafbfd;
  border-radius: 4px; padding: 10px; aspect-ratio: 4 / 3; overflow: hidden;
}
.card .thumb img { max-height: 100%; width: auto; object-fit: contain; }
.card h3 { font-size: 16px; margin: 13px 0 6px; }
.card .model { font-size: 13px; color: var(--ink-3); margin-bottom: 6px; }
.card p {
  margin: 0 0 12px; font-size: 13.5px; line-height: 1.7; color: var(--ink-2);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card .arrow { margin-top: auto; font-size: 13.5px; font-weight: 600; color: var(--brand); }

/* 方案/入口卡片 */
.card-sol {
  position: relative; overflow: hidden; padding: 20px;
  background:
    radial-gradient(120% 120% at 100% 0, rgba(94, 175, 205, .16), transparent 60%),
    linear-gradient(160deg, #f7fbff, #fff 60%, #f3f8ff);
}
.card-sol .sol-no {
  position: absolute; right: 12px; top: -6px; font-size: 52px; font-weight: 800;
  color: rgba(0, 64, 128, .07); line-height: 1; letter-spacing: -2px;
}
.card-sol h3 { margin: 0 0 10px; font-size: 16.5px; position: relative; }
.card-sol .arrow { position: relative; }
.card-line { padding: 18px 20px; }
.card-line h3 { margin: 0 0 8px; font-size: 16px; }

/* 产品类目格 */
.cat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.cat-grid.wide { margin: 28px 0 34px; }
.cat-card {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 13px 15px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); font-weight: 600; color: #1b2b3a; transition: .18s;
}
.cat-thumb {
  flex: 0 0 64px; height: 64px; display: flex; align-items: center; justify-content: center;
  background: #fafbfd; border-radius: 4px; overflow: hidden; padding: 4px;
}
.cat-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.cat-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1 1 auto; }
.cat-name { font-weight: 600; font-size: 15px; line-height: 1.45; color: #1b2b3a; transition: .18s; }
.cat-card:hover { background: var(--brand-3); border-color: #bcd4ee; }
.cat-card:hover .cat-name { color: var(--brand); }
.cat-card:hover .cat-count { color: var(--ink-3); }
.cat-count { font-size: 12.5px; font-weight: 400; color: var(--ink-3); white-space: nowrap; }

/* ---------------- 新闻列表 ---------------- */
.news-list { display: grid; gap: 10px; }
.news-item {
  display: flex; gap: 18px; padding: 16px 18px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); transition: .18s;
}
.news-item:hover { border-color: #bcd4ee; box-shadow: var(--shadow); }
.news-item .date {
  flex: 0 0 76px; align-self: flex-start; text-align: center;
  background: var(--soft); border-radius: 4px; padding: 7px 0;
}
.news-item .date b { display: block; font-size: 22px; line-height: 1.2; color: var(--brand); }
.news-item .date span { font-size: 12px; color: var(--ink-3); }
.news-item h3 { margin: 0 0 6px; font-size: 16px; }
.news-item .ni-body p {
  margin: 0; font-size: 13.5px; color: var(--ink-2);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-item.lg { padding: 18px 20px; }
.news-wrap { padding: 26px 0 40px; max-width: 940px; margin: 0 auto; }
.year-sep { display: flex; align-items: center; gap: 12px; margin: 22px 0 12px; }
.year-sep span { font-size: 15px; font-weight: 700; color: var(--brand); }
.year-sep::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.pager { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 32px 0 8px; }
.pager .pg {
  min-width: 40px; padding: 8px 13px; text-align: center; font-size: 14px;
  border: 1px solid var(--line); border-radius: 4px; color: var(--ink-2); background: #fff;
}
.pager a.pg:hover { border-color: var(--brand); color: var(--brand); }
.pager .pg.on { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }
.pager .gap { align-self: center; color: var(--ink-3); }

/* ---------------- 页头（内页） ---------------- */
.page-head {
  background: linear-gradient(180deg, #f4f7fb, #fff);
  border-bottom: 1px solid var(--line); padding: 22px 0 20px;
}
.crumb { font-size: 13px; color: var(--ink-3); }
.crumb a:hover { color: var(--brand); }
.crumb i { font-style: normal; margin: 0 6px; opacity: .55; }
.page-head h1, .page-head .art-title { font-size: clamp(20px, 2.15vw, 27px); margin: 8px 0 6px; }
.page-head .sub { margin: 0; font-size: 14px; color: var(--ink-3); }

/* ---------------- 正文 ---------------- */
.article { max-width: 900px; margin: 0 auto; padding: 30px 0 14px; }
.prose { font-size: 16px; line-height: 1.95; color: #243447; }
.prose > *:first-child { margin-top: 0; }
.prose p { margin: 0 0 16px; }
.prose img { max-width: 100%; height: auto !important; display: block; margin: 14px auto; }
.prose h2 { font-size: 21px; margin: 30px 0 14px; color: #0d2b45; }
.prose h3 { font-size: 18px; margin: 24px 0 12px; color: #0d2b45; }
.prose h4 { font-size: 16px; margin: 20px 0 10px; }
.prose ul, .prose ol { padding-left: 24px; margin: 0 0 16px; }
.prose li { margin: 6px 0; }
.prose a { color: var(--brand); text-decoration: underline; }
.prose table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 9px 11px; text-align: left; vertical-align: top; }
.prose th { background: var(--soft); font-weight: 600; }
.prose iframe, .prose video { max-width: 100%; }
.prose blockquote {
  margin: 18px 0; padding: 12px 18px; background: var(--soft);
  border-left: 3px solid var(--accent); color: var(--ink-2);
}
/* 旧站正文里常见的 Word 粘贴残留 */
.prose .MsoNormal, .prose .MsoNormalCxSpFirst, .prose .MsoNormalCxSpMiddle { margin-bottom: 14px; }
.prose span[style*="16px"] { font-size: inherit !important; }
.prose p[style*="text-align:center"], .prose p[style*="text-align: center"] { text-align: center; }

.arti-nav {
  display: flex; gap: 20px; justify-content: space-between; margin-top: 30px;
  padding-top: 18px; border-top: 1px solid var(--line); font-size: 14.5px;
}
.arti-nav a { max-width: 48%; color: var(--brand); }
.arti-nav a span { display: block; font-size: 12.5px; color: var(--ink-3); }
.arti-nav a.next { text-align: right; margin-left: auto; }
.back { margin: 18px 0 0; font-size: 14px; }
.back a:hover { color: var(--brand); }

.page-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  margin: 30px 0 10px; padding: 22px 24px; background: var(--soft);
  border: 1px solid var(--line); border-radius: var(--radius); flex-wrap: wrap;
}
.page-cta h3 { margin: 0 0 6px; font-size: 17px; }
.page-cta p { margin: 0; font-size: 14px; color: var(--ink-2); }

/* ---------------- 产品类目页 ---------------- */
.prod-layout { display: grid; grid-template-columns: 232px minmax(0, 1fr); gap: 28px; padding: 28px 0 46px; }
.prod-side { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; height: fit-content; position: sticky; top: 16px; }
.prod-side h2 { margin: 0 0 10px; padding: 0 6px; font-size: 15px; color: var(--brand); }
.prod-side ul { list-style: none; padding: 0; }
.prod-side li a { display: block; padding: 9px 10px; border-radius: 4px; font-size: 14px; color: var(--ink-2); }
.prod-side li a:hover { background: var(--soft); color: var(--brand); }
.prod-side li.on a { background: var(--brand-3); color: var(--brand); font-weight: 600; }
.prod-main { min-width: 0; }
.prod-group { margin: 0 0 46px; }
.pg-head { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.pg-head h2 { margin: 0; font-size: 19px; }
.pg-head .more { margin-left: auto; font-size: 14px; font-weight: 600; color: var(--brand); }

/* ---------------- 产品详情 ---------------- */
.pd { padding: 26px 0 46px; }
.pd-hero { display: grid; grid-template-columns: minmax(0, 430px) minmax(0, 1fr); gap: 34px; align-items: start; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.pd-pic {
  display: flex; align-items: center; justify-content: center; min-height: 0;
  padding: 18px; background: #fafbfd; border: 1px solid var(--line); border-radius: 8px;
}
.pd-pic img { display: block; max-width: 100%; max-height: 380px; object-fit: contain; }
.pd-nopic { color: var(--ink-3); font-size: 14px; }
.pd-info h2 { margin: 0 0 16px; font-size: 24px; }
.pd-meta { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 9px; }
.pd-meta li { display: flex; gap: 12px; font-size: 14.5px; }
.pd-meta span { flex: 0 0 78px; color: var(--ink-3); }
.pd-desc { margin: 0 0 4px; font-size: 15px; color: var(--ink-2); }
.pd-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.pd-body { max-width: none; padding-top: 28px; }

/* ---------------- 表单 ---------------- */
.form-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 30px; padding: 30px 0 50px; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
.fp { display: flex; flex-direction: column; gap: 6px; }
.fp label { font-size: 14px; color: var(--ink-2); }
.fp label i { font-style: normal; color: #c62828; }
.fp input, .fp textarea {
  font: inherit; font-size: 15px; padding: 10px 12px; color: var(--ink);
  border: 1px solid #d7dee8; border-radius: 4px; background: #fff; width: 100%;
}
.fp input:focus, .fp textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(0, 64, 128, .08); }
.fp.full { grid-column: 1 / -1; }
.fp.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fp.submit { flex-direction: row; align-items: center; gap: 14px; flex-wrap: wrap; }
.form-tip { font-size: 12.5px; color: var(--ink-3); }
.form-side { background: var(--soft); border-radius: var(--radius); padding: 20px; height: fit-content; }
.form-side h3 { margin: 0 0 14px; font-size: 16px; }
.form-note { margin: 16px 0 0; font-size: 13.5px; color: var(--ink-2); }
.form-note a { color: var(--brand); }

/* ---------------- 提交成功 / 404 ---------------- */
.ok-wrap { padding: 56px 0 80px; text-align: center; }
.ok-icon {
  width: 64px; height: 64px; line-height: 64px; margin: 0 auto 18px; border-radius: 50%;
  background: #e6f4ea; color: #2e7d32; font-size: 30px;
}
.ok-wrap h2 { margin: 0 0 10px; font-size: 22px; }
.ok-wrap p { margin: 0; color: var(--ink-2); }
.ok-links { display: flex; gap: 12px; justify-content: center; margin-top: 22px !important; }
.nf { padding: 90px 0; text-align: center; }
.nf h1 { font-size: 64px; margin: 0 0 6px; color: var(--brand); }
.nf p { color: var(--ink-2); }
.nf-links { display: flex; gap: 12px; justify-content: center; margin-top: 22px; flex-wrap: wrap; }
.empty { padding: 24px 0; color: var(--ink-3); }
.empty a { color: var(--brand); }

/* ---------------- CTA 横幅 ---------------- */
.cta-band { background-image: var(--blue-grad); color: #fff; padding: 34px 0; }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap; }
.cta-band h2 { margin: 0 0 6px; font-size: 22px; }
.cta-band p { margin: 0; font-size: 14.5px; color: rgba(255, 255, 255, .85); }
.cta-actions { display: flex; gap: 12px; flex: 0 0 auto; }
.cta-band .btn-primary { background: #fff; color: var(--brand); border-color: #fff; }
.cta-band .btn-primary:hover { background: #eaf4ff; }
.cta-band .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
.cta-band .btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; color: #fff; }

/* ---------------- 页脚 ---------------- */
.site-footer { background-image: var(--blue-grad); color: #d7e6f5; margin-top: 24px; padding: 44px 0 0; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.15fr; gap: 34px; padding-bottom: 34px; }
.footer-grid > * { min-width: 0; }
.f-brand .brandline { font-size: 26px; font-weight: 700; letter-spacing: 2px; color: #fff; margin-bottom: 12px; }
.f-brand p { margin: 0 0 8px; color: #c8dcf0; font-size: 13.5px; line-height: 1.8; }
.f-cta { margin-top: 16px !important; }
.footer-grid h4 { margin: 0 0 14px; font-size: 15px; color: #fff; }
.f-links { list-style: none; padding: 0; display: grid; gap: 9px; }
.site-footer .f-links a, .site-footer .f-contact a { color: #cfe1f3; font-size: 13.8px; }
.site-footer .f-links a:hover, .site-footer .f-contact a:hover { color: #fff; text-decoration: underline; }
.f-contact { list-style: none; padding: 0; display: grid; gap: 10px; }
.f-contact li { display: flex; justify-content: space-between; gap: 12px; font-size: 13.8px; }
.f-contact li span { color: var(--ink-3); flex: 0 0 auto; }
.f-contact li b { color: var(--ink); font-weight: 600; white-space: nowrap; }
.site-footer .f-contact li span { color: #b3cbe3; }
.site-footer .f-contact li b { color: #fff; }
.copyright {
  border-top: 1px solid rgba(255, 255, 255, .18); padding: 16px 0; text-align: center;
  font-size: 12.8px; color: #c2d7ec; line-height: 1.9;
}
.copyright a { color: #d7e7f7; }
.copyright a:hover { color: #fff; }
.copyright .police img { width: 15px; height: auto; vertical-align: -2px; margin-right: 4px; }
.site-footer .btn-primary { background: #fff; color: var(--brand); border-color: #fff; }
.site-footer .btn-primary:hover { background: #eaf4ff; color: var(--brand); }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .g4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .topbar .wrap { height: auto; padding: 6px 0; flex-wrap: wrap; gap: 4px 14px; }
  .tb-right { gap: 12px; flex-wrap: wrap; }
  .logo small { display: none; }
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.open { display: block; }
  .nav > ul { flex-direction: column; padding: 6px 0; }
  .nav > ul > li > a { line-height: 44px; padding: 0 22px; color: #1b2b3a; }
  .nav > ul > li > a:hover { color: var(--brand); background: var(--brand-3); }
  .nav .sub { position: static; display: block; border: 0; box-shadow: none; padding: 0 0 8px; background: var(--soft); }
  .nav .sub a { padding: 7px 34px; white-space: normal; }
  .hero-bar .wrap { flex-direction: column; align-items: flex-start; gap: 20px; }
  .hero-stats { gap: 24px; }
  .g3, .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat-grid, .cat-grid.wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prod-layout { grid-template-columns: minmax(0, 1fr); }
  .prod-side { position: static; }
  .prod-side ul { display: flex; flex-wrap: wrap; gap: 4px; }
  .prod-side li a { padding: 7px 10px; }
  .pd-hero { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .form-wrap { grid-template-columns: minmax(0, 1fr); }
  .article, .news-wrap { max-width: none; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .topbar .wrap { flex-direction: column; align-items: flex-start; gap: 2px; padding: 7px 0; }
  .tb-left { line-height: 1.5; }
  .tb-right { gap: 10px; }
  .section { padding: 38px 0; }
  .section-head h2 { font-size: 20px; }
  .section-head p { display: none; }
  .hero-copy h1 { font-size: 20px; }
  .hero-copy p { font-size: 14px; }
  .hero-stats { display: none; }
  .g3, .g4, .cat-grid, .cat-grid.wide { grid-template-columns: minmax(0, 1fr); }
  .form { grid-template-columns: minmax(0, 1fr); }
  .news-item { gap: 12px; padding: 14px; }
  .news-item .date { flex-basis: 62px; }
  .news-item .date b { font-size: 18px; }
  .tb-right .tb-tel:not(:first-child) { display: none; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .cta-band .wrap { flex-direction: column; align-items: flex-start; }
  .pd-pic { min-height: 200px; }
  .page-head { padding: 16px 0 14px; }
}

/* ---------------- 视频 / 多媒体块 ---------------- */
.video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 0 0 24px; }
.video-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.video-frame { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 4px; overflow: hidden; }
.video-frame iframe, .video-frame embed, .video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-item h3 { margin: 12px 0 6px; font-size: 16px; }
.video-item p { margin: 0 0 6px; font-size: 14px; color: var(--ink-2); }
@media (max-width: 900px) { .video-grid { grid-template-columns: minmax(0, 1fr); } }

/* 产品详情小节标题（由旧标签页拆分而来） */
.pd-sec {
  margin: 34px 0 14px; padding-left: 12px; font-size: 19px; position: relative;
  border-left: 4px solid var(--brand); line-height: 1.2;
}
.pd-sec + .prose > *:first-child { margin-top: 0; }

/* 类目页说明 */
.cat-intro {
  margin: 0 0 20px; padding: 12px 16px; background: var(--soft); border-left: 3px solid var(--accent);
  border-radius: 0 4px 4px 0; font-size: 14.5px; color: var(--ink-2);
}

/* 联系我们页顶部提示条 */
.contact-lead {
  margin: 0 0 22px; padding: 14px 18px; background: var(--brand-3);
  border-left: 4px solid var(--brand); border-radius: 0 4px 4px 0;
}
.contact-lead p { margin: 0; font-size: 15.5px; }
.contact-lead b { color: var(--brand); font-size: 18px; }
