/* 启栅自动化 · 静态站样式
   设计原则：白底、细线、单一强调色，不使用阴影与渐变。
   换主题只需改下面 6 个色彩变量。 */

:root {
  --ink: #12181f;
  --ink-2: #586572;
  --ink-3: #8b95a1;
  --line: #e5e8ec;
  --bg: #ffffff;
  --bg-2: #f7f9fa;
  --brand: #1c4b3c;
  --brand-dark: #123329;
  --brand-50: #eef4f1;
  --radius: 6px;
  --container: 1180px;
}

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

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

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
               "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }
h1, h2, h3 { margin: 0; font-weight: 600; line-height: 1.35; }
ul { margin: 0; padding: 0; list-style: none; }

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

/* 顶部：只保留标识、导航、电话，去掉多层堆叠 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 40px;
  height: 64px;
}
.logo {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: .5px;
  color: var(--ink);
  white-space: nowrap;
}
.logo span { color: var(--brand); }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a {
  font-size: 14px;
  color: var(--ink-2);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover,
.nav a[aria-current="page"] { color: var(--brand); border-bottom-color: var(--brand); }
.header-tel {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* 面包屑 */
.breadcrumb {
  padding: 18px 0 0;
  font-size: 13px;
  color: var(--ink-3);
}
.breadcrumb a { color: var(--ink-3); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb span { margin: 0 6px; }

/* 产品头部：左图右信息 */
.product-detail {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  padding: 28px 0 48px;
}

.gallery__main {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-2);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.gallery__main img { width: 100%; height: 100%; object-fit: contain; padding: 24px; }
.gallery__thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.gallery__thumbs button {
  width: 66px;
  height: 66px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--bg-2);
  cursor: pointer;
  overflow: hidden;
  transition: border-color .15s;
}
.gallery__thumbs button:hover,
.gallery__thumbs button[aria-selected="true"] { border-color: var(--brand); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }

.product-info__title { font-size: 27px; margin-bottom: 14px; }
.product-info__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  font-size: 13px;
  color: var(--ink-3);
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.product-info__meta b { color: var(--ink-2); font-weight: 500; }
.product-info__brief {
  font-size: 15px;
  color: var(--ink-2);
  margin: 20px 0 24px;
}

/* 关键参数摘要：把选型最关心的 4 条提到首屏 */
.key-specs {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 26px;
}
.key-specs__row {
  display: grid;
  grid-template-columns: 110px 1fr;
  font-size: 14px;
  border-bottom: 1px solid var(--line);
}
.key-specs__row:last-child { border-bottom: 0; }
.key-specs__row dt {
  padding: 11px 14px;
  background: var(--bg-2);
  color: var(--ink-2);
  border-right: 1px solid var(--line);
}
.key-specs__row dd { margin: 0; padding: 11px 14px; }

.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 26px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-dark); color: #fff; }
.btn--ghost { border-color: var(--line); color: var(--ink-2); background: var(--bg); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }

/* 内容区块统一节奏 */
.section { padding: 44px 0; border-top: 1px solid var(--line); }
.section__title {
  font-size: 19px;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section__title::before {
  content: "";
  width: 3px;
  height: 16px;
  background: var(--brand);
  border-radius: 2px;
}

/* 技术参数：单一紧凑表格，分组作为整行标题 */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  line-height: 1.55;
  border: 1px solid var(--line);
}
.spec-table th,
.spec-table td {
  text-align: left;
  padding: 7px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.spec-table th[scope="row"] {
  width: 180px;
  font-weight: 400;
  color: var(--ink-2);
  background: #fafbfa;
  border-right: 1px solid var(--line);
}
.spec-table tr.is-group th {
  background: var(--brand-50);
  color: var(--brand-dark);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .3px;
  border-right: 0;
}
.spec-table tbody tr:last-child th,
.spec-table tbody tr:last-child td { border-bottom: 0; }

/* 订货号 */
.order-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.order-table th, .order-table td {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
}
.order-table th { background: var(--bg-2); font-weight: 500; color: var(--ink-2); }
.order-table td:last-child { font-variant-numeric: tabular-nums; }

/* 特性：两列 */
.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 36px;
}
.features li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  color: var(--ink-2);
}
.features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border: 1.5px solid var(--brand);
  border-radius: 50%;
}

/* 下载与案例 */
.doc-list { border: 1px solid var(--line); border-radius: var(--radius); }
.doc-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.doc-list li:last-child { border-bottom: 0; }
.doc-list em { font-style: normal; font-size: 12px; color: var(--ink-3); }

.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.case {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  font-size: 14px;
  color: var(--ink-2);
  background: var(--bg);
}

/* 询价表单：单列紧凑，不做弹窗 */
.inquiry { background: var(--bg-2); border-top: 1px solid var(--line); }
.inquiry__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--ink-2); }
.field--full { grid-column: 1 / -1; }
.field input,
.field textarea {
  font: inherit;
  font-size: 14px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--bg);
  color: var(--ink);
}
.field input:focus,
.field textarea:focus { outline: 2px solid rgba(28, 76, 60, .25); border-color: var(--brand); }
.field textarea { min-height: 96px; resize: vertical; }

/* 页脚 */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 36px 0 28px;
  font-size: 13px;
  color: var(--ink-3);
  background: var(--bg);
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 22px;
}
.site-footer b { color: var(--ink-2); font-weight: 500; display: block; margin-bottom: 8px; }
.site-footer p { margin: 0 0 6px; }
.site-footer__bottom {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .site-header__inner { height: 58px; gap: 16px; }
  .nav { display: none; }
  .header-tel { margin-left: auto; font-size: 13px; }
  .product-detail { grid-template-columns: 1fr; gap: 32px; padding: 20px 0 36px; }
  .product-info__title { font-size: 22px; }
  .features { grid-template-columns: 1fr; }
  .cases { grid-template-columns: 1fr; }
  .inquiry__grid { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 20px; }
  .spec-table th { width: 120px; }
  .section { padding: 32px 0; }
}

/* ============ 产品列表 / 分类页 ============ */
.list-layout {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 40px;
  padding: 24px 0 56px;
  align-items: start;
}

.cat-nav { position: sticky; top: 84px; }
.cat-nav__title {
  font-size: 13px;
  color: var(--ink-3);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
}
.cat-nav a {
  display: block;
  font-size: 14px;
  color: var(--ink-2);
  padding: 7px 10px;
  border-radius: 4px;
  border-left: 2px solid transparent;
}
.cat-nav a:hover { background: var(--bg-2); color: var(--brand); }
.cat-nav a[aria-current="page"] {
  color: var(--brand);
  background: var(--brand-50);
  border-left-color: var(--brand);
  font-weight: 500;
}

.list-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
}
.list-head h1 { font-size: 20px; }
.list-head span { font-size: 13px; color: var(--ink-3); }

.pgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.pcard {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg);
  transition: border-color .15s;
}
.pcard:hover { border-color: var(--brand); }
.pcard__img {
  aspect-ratio: 4 / 3;
  background: var(--bg-2);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
}
.pcard__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.pcard__body { padding: 14px 16px 16px; }
.pcard__brand {
  display: block;
  font-size: 12px;
  color: var(--ink-3);
  margin-bottom: 5px;
}
.pcard__title {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 42px;
}
.pcard:hover .pcard__title { color: var(--brand); }
.pcard__model {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}

.pager {
  display: flex;
  gap: 6px;
  justify-content: center;
  align-items: center;
  margin-top: 36px;
  flex-wrap: wrap;
}
.pager a, .pager span {
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink-2);
}
.pager a:hover { border-color: var(--brand); color: var(--brand); }
.pager span[aria-current="page"] {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.pager .gap { border: 0; }

@media (max-width: 900px) {
  .list-layout { grid-template-columns: 1fr; gap: 20px; }
  .cat-nav { position: static; display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
  .cat-nav__title { display: none; }
  .cat-nav a { white-space: nowrap; border-left: 0; border-bottom: 2px solid transparent; }
  .cat-nav a[aria-current="page"] { border-left: 0; border-bottom-color: var(--brand); }
  .pgrid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}

/* 分类导航：层级缩进与数量 */
.cat-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.cat-nav__count { font-size: 11px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.cat-nav__sub { padding-left: 24px; font-size: 13px; }
.cat-nav__sub2 { padding-left: 38px; font-size: 13px; color: var(--ink-3); }
.cat-nav__sub[aria-current="page"],
.cat-nav__sub2[aria-current="page"] { color: var(--brand); background: var(--brand-50); }

/* ============ 知识文章 ============ */
.article-wrap { max-width: 780px; margin: 0 auto; padding: 8px 24px 64px; }
.article-hero { padding: 26px 0 20px; border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.article-hero h1 { font-size: 25px; line-height: 1.45; }
.article-meta { margin-top: 12px; font-size: 13px; color: var(--ink-3); }
.article-meta .sep { margin: 0 8px; }
.article-body { font-size: 16px; line-height: 1.95; color: #2b333c; }
.article-body p { margin: 0 0 18px; }
.article-body strong { color: var(--ink); font-weight: 600; }
.article-body h2 { margin: 30px 0 12px; font-size: 19px; }
.article-body h3 { margin: 24px 0 10px; font-size: 17px; }
.article-body ul, .article-body ol { margin: 0 0 18px; padding-left: 24px; list-style: revert; }
.article-body li { margin-bottom: 6px; }
.article-body img { margin: 20px 0; border-radius: 4px; }
.article-body table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 20px 0; }
.article-body th, .article-body td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; }
.article-back { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; }

/* 知识列表 */
.kb-wrap { max-width: 860px; margin: 0 auto; padding: 22px 24px 60px; }
.kb-list { border-top: 1px solid var(--line); }
.kb-item { display: block; padding: 20px 0; border-bottom: 1px solid var(--line); }
.kb-item h2 { font-size: 16px; font-weight: 500; line-height: 1.5; color: var(--ink); }
.kb-item:hover h2 { color: var(--brand); }
.kb-item time { display: block; font-size: 12px; color: var(--ink-3); margin-top: 6px; }
.kb-item p { margin: 8px 0 0; font-size: 14px; color: var(--ink-2); line-height: 1.7; }

/* ============ 首页 ============ */
.hero {
  background: var(--brand-50);
  border-bottom: 1px solid var(--line);
  padding: 64px 0 60px;
}
.hero h1 {
  font-size: 34px;
  line-height: 1.35;
  max-width: 720px;
  letter-spacing: -.5px;
}
.hero p {
  margin: 18px 0 30px;
  font-size: 16px;
  color: var(--ink-2);
  max-width: 640px;
  line-height: 1.8;
}
.hero .actions .btn--ghost { background: #fff; }

.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.cat-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 104px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  transition: border-color .15s, background .15s;
}
.cat-card:hover { border-color: var(--brand); background: var(--brand-50); }
.cat-card b {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.5;
}
.cat-card:hover b { color: var(--brand); }
.cat-card span {
  font-size: 12px;
  color: var(--ink-3);
  margin-top: 12px;
  font-variant-numeric: tabular-nums;
}

.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.svc h3 { font-size: 15px; margin-bottom: 8px; }
.svc p { margin: 0; font-size: 14px; color: var(--ink-2); line-height: 1.75; }

/* 联系页 */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  padding: 32px 0 60px;
  align-items: start;
}
.contact-list dt {
  font-size: 12px;
  color: var(--ink-3);
  margin-top: 20px;
}
.contact-list dt:first-child { margin-top: 0; }
.contact-list dd {
  margin: 6px 0 0;
  font-size: 15px;
  color: var(--ink);
  line-height: 1.7;
}
.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}

@media (max-width: 900px) {
  .hero { padding: 40px 0 36px; }
  .hero h1 { font-size: 25px; }
  .hero p { font-size: 15px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-grid { grid-template-columns: 1fr; gap: 20px; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* 页脚备案链接：弱化显示，符合工信部要求但不过度抢眼 */
.site-footer__bottom a { color: var(--ink-3); }
.site-footer__bottom a:hover { color: var(--brand); text-decoration: underline; }
