.section {
  padding: 18px 0;
}

.section--soft {
  background: var(--bg-soft);
}

.section--dark {
  background: var(--bg-dark);
  color: var(--text-on-dark);
}

.section--tight {
  padding: 56px 0;
}

.section-head {
  max-width: 760px;
  margin: 0 auto 52px;
  text-align: center;
}

.section-head h2 {
  margin-bottom: 14px;
}

.section-head p {
  color: var(--text-sub);
}

.section--dark .section-head p {
  color: var(--text-on-dark-sub);
}

/* 小标题上的装饰线 */
.kicker {
  display: inline-block;
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--brand);
  font-size: 14px;
  letter-spacing: 3px;
  color: var(--brand);
}

/* ---------- 2. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 30px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  white-space: nowrap;
  cursor: pointer;
  transition: all var(--ease);
}

.btn-primary {
  background: var(--brand);
  color: #fff;
}

.btn-primary:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(43, 160, 232, .35);
}

.btn-ghost {
  border-color: currentColor;
  color: var(--brand);
}

.btn-ghost:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.section--dark .btn-ghost,
.page-head .btn-ghost {
  color: #fff;
}

/* 卡片上的「查看详情 →」 */
.more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--brand);
}

.more::after {
  content: "→";
  transition: transform var(--ease);
}

.more:hover::after {
  transform: translateX(4px);
}

/* ---------- 3. 标签页 ---------- */
.tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-bottom: 40px;
}

.tab {
  padding: 10px 26px;
  border-radius: 999px;
  font-size: 15px;
  color: var(--text-sub);
  transition: all var(--ease);
}

.tab:hover {
  color: var(--brand);
  background: var(--brand-light);
}

.tab.is-active {
  background: var(--brand);
  color: #fff;
}

.panel {
  display: none;
}

.panel.is-active {
  display: block;
  animation: fade .4s both;
}

@keyframes fade {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- 3.5 左菜单 + 右内容（标签页） ---------- */
.tab-side {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

.tab-side-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 18px 22px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: var(--brand);
  color: #fff;
  font-size: 17px;
  font-weight: 600;
}

.tabs--side {
  display: block;
  margin: 0;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  background: #fff;
  overflow: hidden;
}

.tabs--side .tab {
  position: relative;
  display: block;
  width: 100%;
  padding: 15px 22px 15px 38px;
  border-radius: 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  text-align: left;
  color: var(--text-sub);
}

.tabs--side .tab:last-child {
  border-bottom: 0;
}

.tabs--side .tab::before {
  content: '';
  position: absolute;
  left: 22px;
  top: 50%;
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.tabs--side .tab:hover,
.tabs--side .tab.is-active {
  color: var(--brand);
  background: var(--brand-light);
}

.tabs--side .tab.is-active::before {
  border-color: var(--brand);
  background: var(--brand);
}

/* ---------- 4. 栅格 ---------- */
.grid {
  display: grid;
  gap: 24px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }

/* ---------- 5. 产品卡片 ---------- */
.card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  overflow: hidden;
  transition: all var(--ease);
}

.card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.card-pic {
  position: relative;
  padding-top: 100%;
  background: var(--bg-soft);
  overflow: hidden;
}

.card-pic img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.card-body {
  flex: 1;
  padding: 20px 22px 24px;
}

.card-body h3 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-body p {
  margin-top: 10px;
  font-size: 14px;
  color: var(--text-sub);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card:hover .card-body h3 {
  color: var(--brand);
}

/* 空态 */
.empty {
  padding: 60px 0;
  text-align: center;
  color: var(--text-mute);
}

/* ---------- 6. 图文左右分栏 ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.split img {
  border-radius: var(--radius-lg);
  width: 100%;
}

.split h3 {
  margin-bottom: 16px;
}

.split .kicker {
  margin-bottom: 10px;
}

.rich p + p,
.rich ul + p {
  margin-top: 14px;
}

.rich ul {
  margin-top: 14px;
  padding-left: 0;
}

.rich li {
  position: relative;
  padding-left: 22px;
  margin-top: 10px;
  color: var(--text-sub);
}

.rich li::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 4px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--brand);
  transform: rotate(45deg);
}

/* ---------- 7. 数字统计 ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat {
  text-align: center;
}

.stat b {
  display: inline-block;
  font-size: 56px;
  font-weight: 600;
  line-height: 1;
  color: var(--cyan);
  font-variant-numeric: tabular-nums;
}

.stat i {
  font-style: normal;
  font-size: 24px;
  font-weight: 700;
  color: var(--cyan);
}

.stat span {
  display: block;
  margin-top: 10px;
  font-size: 15px;
  color: var(--text-on-dark-sub);
}

.section:not(.section--dark) .stat span {
  color: var(--text-sub);
}

/* ---------- 8. 图标网格（解决方案 / 品质测试） ---------- */
.icons {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}

.icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 26px 14px;
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all var(--ease);
}

.icon-item:hover {
  background: #fff;
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.icon-item img {
  width: 62px;
  height: 62px;
  object-fit: contain;
}

.icon-item h3 {
  font-size: 15px;
  font-weight: 600;
}

.icon-item p {
  font-size: 13px;
  color: var(--text-sub);
  text-align: left;
}

/* 证书类图片（更高） */
.certs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.certs img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: box-shadow var(--ease), transform var(--ease);
}

.certs a:hover img {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

/* ---------- 9. 资讯列表 ---------- */
.news-item {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  overflow: hidden;
  transition: all var(--ease);
}

.news-item:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.news-item .pic {
  position: relative;
  padding-top: 62%;
  overflow: hidden;
  background: var(--bg-soft);
}

.news-item .pic img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}

.news-item:hover .pic img {
  transform: scale(1.06);
}

.news-item .body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 22px;
}

.news-item h3 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-item:hover h3 {
  color: var(--brand);
}

.news-item .summ {
  flex: 1;
  margin-top: 12px;
  font-size: 14px;
  color: var(--text-sub);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-item .meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--text-mute);
}

/* ---------- 9.5 资讯：左特稿 + 右侧带日期列表 ---------- */
.news-mix {
  display: grid;
  grid-template-columns: 500px minmax(0, 1fr);
  gap: 0 40px;
  align-items: start;
}

/* 左：特稿大图卡片 */
.nm-lead {
  grid-column: 1;
  grid-row: 1 / span 5;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  overflow: hidden;
  transition: box-shadow .3s var(--ease);
}

.nm-lead:hover {
  box-shadow: var(--shadow-lg);
}

.nm-pic img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.nm-lead .nm-body {
  padding: 22px 24px 26px;
}

/* 右：列表条目 */
.nm-row {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.news-mix > .nm-row:last-child {
  border-bottom: 0;
}

.nm-date {
  flex: 0 0 62px;
  color: var(--text-mute);
  text-align: center;
}

.nm-date b {
  display: block;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.15;
}

.nm-date time {
  font-size: 12px;
}

.nm-body {
  flex: 1;
  min-width: 0;
}

.nm-body h3 {
  margin-bottom: 6px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.nm-body p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-sub);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.nm-lead .nm-body h3 {
  font-size: 21px;
  margin-bottom: 10px;
  -webkit-line-clamp: 3;
}

.nm-lead .nm-body p {
  -webkit-line-clamp: 3;
}

.nm-lead:hover .nm-body h3,
.nm-row:hover .nm-body h3 {
  color: var(--brand);
}

/* ---------- 10. 筛选条 ---------- */
.filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
}

.filter button {
  padding: 8px 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  color: var(--text-sub);
  transition: all var(--ease);
}

.filter button:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.filter button.is-active {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

/* ---------- 11. 表单 ---------- */
.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--text-sub);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color var(--ease), box-shadow var(--ease);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-light);
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.field .err {
  display: none;
  margin-top: 6px;
  font-size: 13px;
  color: #e5533d;
}

.field.is-error input,
.field.is-error textarea {
  border-color: #e5533d;
}

.field.is-error .err {
  display: block;
}

.form-tip {
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-mute);
}

.form-ok {
  padding: 14px 18px;
  border-radius: var(--radius);
  background: var(--brand-light);
  color: var(--brand-dark);
  font-size: 14px;
}

/* ---------- 12. 信息行（联系方式） ---------- */
.info li {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 15px;
}

.info b {
  flex: 0 0 76px;
  font-weight: 400;
  color: var(--text-mute);
}

/* ---------- 13. 左右布局列表（侧栏菜单 + 内容区） ---------- */
.list-wrap {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.side-nav {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  overflow: hidden;
}

.side-nav h3 {
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
  font-size: 16px;
}

.side-nav li + li {
  border-top: 1px dashed var(--line);
}

/* 复用 .tab 命名，tabs.js / filter.js 直接生效 */
.side-nav .tab {
  display: block;
  position: relative;
  width: 100%;
  padding: 13px 22px 13px 34px;
  border-radius: 0;
  background: none;
  color: var(--text-sub);
  font-size: 15px;
  text-align: left;
  transition: all var(--ease);
}

.side-nav .tab::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--line);
  transform: translateY(-50%);
  transition: all var(--ease);
}

.side-nav .tab:hover {
  color: var(--brand);
  background: var(--brand-light);
}

.side-nav .tab.is-active {
  color: var(--brand);
  background: var(--brand-light);
  font-weight: 600;
}

.side-nav .tab.is-active::before {
  background: var(--brand);
}

/* 侧栏内的筛选按钮（行业资讯） */
.side-nav .filter {
  display: block;
  margin: 0;
}

.side-nav .filter button {
  display: block;
  width: 100%;
  padding: 13px 22px 13px 34px;
  border: 0;
  border-radius: 0;
  background: none;
  color: var(--text-sub);
  font-size: 15px;
  text-align: left;
  position: relative;
  transition: all var(--ease);
}

.side-nav .filter button::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--line);
  transform: translateY(-50%);
  transition: all var(--ease);
}

.side-nav .filter li + li {
  border-top: 1px dashed var(--line);
}

.side-nav .filter button:hover {
  color: var(--brand);
  background: var(--brand-light);
}

.side-nav .filter button.is-active {
  color: var(--brand);
  background: var(--brand-light);
  font-weight: 600;
}

.side-nav .filter button.is-active::before {
  background: var(--brand);
}

/* ---------- 14. 横排资讯卡片（图左文右） ---------- */
.news-list {
  display: flex;
  flex-direction: column;
}

.news-row {
  display: flex;
  gap: 26px;
  padding: 24px 4px;
  border-bottom: 1px solid var(--line);
  transition: background var(--ease);
}

.news-row:first-child {
  padding-top: 4px;
}

.news-row .pic {
  flex: 0 0 280px;
  position: relative;
  padding-top: 0;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-soft);
}

.news-row .pic img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}

.news-row:hover .pic img {
  transform: scale(1.06);
}

.news-row .body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.news-row h3 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color var(--ease);
}

.news-row:hover h3 {
  color: var(--brand);
}

.news-row .summ {
  flex: 1;
  margin-top: 10px;
  font-size: 14px;
  color: var(--text-sub);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-row .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-mute);
}

.news-row .meta time::before,
.news-row .meta .views::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 6px;
  vertical-align: -2px;
  background: currentColor;
  opacity: .55;
  -webkit-mask: center / contain no-repeat;
  mask: center / contain no-repeat;
}

.news-row .meta time::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 3'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 3'/%3E%3C/svg%3E");
}

.news-row .meta .views::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M2 12s3.5-6.5 10-6.5S22 12 22 12s-3.5 6.5-10 6.5S2 12 2 12Z'/%3E%3Ccircle cx='12' cy='12' r='2.6'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M2 12s3.5-6.5 10-6.5S22 12 22 12s-3.5 6.5-10 6.5S2 12 2 12Z'/%3E%3Ccircle cx='12' cy='12' r='2.6'/%3E%3C/svg%3E");
}

/* ---------- 14.5 通栏文字列表（TAG 列表页） ---------- */
.news-list--text .news-row {
  display: block;
  padding: 26px 0;
}

.news-list--text .news-row:first-child {
  padding-top: 4px;
}

/* 参考图：无缩略图 */
.news-list--text .news-row .pic {
  display: none;
}

.news-list--text .news-row .body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 24px;
  align-items: start;
}

.news-list--text .news-row h3 {
  position: relative;
  grid-column: 1;
  grid-row: 1;
  padding-left: 20px;
  display: block;
  overflow: visible;
  font-size: 19px;
  line-height: 1.45;
}

/* 标题左侧的方形色块 */
.news-list--text .news-row h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: .42em;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--brand);
}

/* 日期与标题同行右对齐 */
.news-list--text .news-row .meta {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
  white-space: nowrap;
  font-size: 14px;
  color: var(--text-sub);
}

.news-list--text .news-row .meta time::before {
  display: none;
}

/* 摘要跨两列，位于标题下方 */
.news-list--text .news-row .summ {
  grid-column: 1 / -1;
  grid-row: 2;
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-sub);
  -webkit-line-clamp: 2;
}

/* ---------- 14.6 TAG 标题栏 ---------- */
.tag-bar {
  position: relative;
  margin-bottom: 18px;
  padding: 0 0 16px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
}

/* 左侧品牌蓝色条 */
.tag-bar::before {
  content: "";
  position: absolute;
  left: 0;
  top: .16em;
  width: 4px;
  height: 1.15em;
  border-radius: 2px;
  background: var(--brand);
}

/* ---------- 15. 相关产品循环滚动 ---------- */
.loop {
  overflow: hidden;
}

.loop-track {
  display: flex;
  width: max-content;
  animation: loop-move 60s linear infinite;
}

.loop:hover .loop-track {
  animation-play-state: paused;
}

.loop-track .card {
  flex: 0 0 320px;
  margin-right: 24px;
}

@keyframes loop-move {
  to { transform: translateX(-50%); }
}

/* ---------- 16. 灯箱（证书 / 生产设备放大查看） ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(10, 14, 18, .92);
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-width: min(1100px, 88vw);
  max-height: 84vh;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.lightbox .lb-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  transition: background var(--ease);
}

.lightbox .lb-btn:hover {
  background: var(--brand);
}

.lightbox .lb-prev { left: 26px; }
.lightbox .lb-next { right: 26px; }

.lightbox .lb-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 40px;
  height: 40px;
  color: #fff;
  font-size: 30px;
  line-height: 1;
  opacity: .8;
}

.lightbox .lb-close:hover {
  opacity: 1;
}

.lightbox .lb-count {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, .75);
  font-size: 14px;
  letter-spacing: 2px;
}

/* ---------- 17. 客户 LOGO 墙 ---------- */
.clients {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.client {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  border-radius: var(--radius);
  background: #fff;
  color: #b9c2cb;
  text-align: center;
  transition: all var(--ease);
}

.client:hover {
  color: var(--brand);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

/* 图片完整显示，不裁剪 */
.client img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  object-fit: contain;
  background: var(--bg-soft);
}

/* 图片下方的标题，最多两行 */
.client p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-sub);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color var(--ease);
}

.client:hover p {
  color: var(--brand);
}

.client svg {
  width: 78%;
  max-width: 130px;
  height: auto;
}

/* ---------- 18. 表单卡片（联系我们页直排表单） ---------- */
.form-card {
  padding: 30px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
}

.form-card h3 {
  margin-bottom: 4px;
}

.form-card > p.sub {
  margin-bottom: 22px;
  font-size: 14px;
  color: var(--text-sub);
}

/* ---------- 19. 证书 / 设备方形网格 ---------- */
.certs-4 {
  grid-template-columns: repeat(4, 1fr);
}

.certs a {
  display: block;
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  cursor: zoom-in;
}

.certs a img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  /* 裁剪填满方框 */
  object-fit: cover;
  border: 0;
  border-radius: 0;
  transition: transform .5s var(--ease);
}

/* 证书：完整显示，不裁剪 */
.certs--contain a img {
  object-fit: contain;
}

.certs a::after {
  content: "";
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .5) center / 14px no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6'/%3E%3Cpath d='m20 20-4.2-4.2'/%3E%3C/svg%3E");
  opacity: 0;
  transform: translateY(6px);
  transition: all var(--ease);
}

/* 悬停不再放大（避免裁剪），仅加阴影反馈 */
.certs a:hover {
  box-shadow: var(--shadow-lg);
}

.certs a:hover::after {
  opacity: 1;
  transform: none;
}

/* 证书图片下方的标题 */
.cert-cell {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cert-name {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color var(--ease);
}

.cert-cell a:hover ~ .cert-name,
.cert-name:hover {
  color: var(--brand);
}

/* ---------- 20. 列表翻页 ---------- */
.pagelist {
  margin-top: 36px;
  text-align: center;
}

.pagelist ul {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: var(--text-sub);
}

.pagelist ul li {
  margin: 0;
  padding: 0;
}

/* info 文本（共X页 X条）与按钮同行、灰色小字 */
.pagelist ul strong {
  font-weight: normal;
  color: var(--text-sub);
}

.pagelist ul li a,
.pagelist ul li span {
  display: inline-block;
  min-width: 38px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--text-sub);
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
  transition: all var(--ease);
}

.pagelist ul li a:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--brand-light);
}

.pagelist ul li:not(.active) a:not([href]) {
  opacity: .45;
  cursor: not-allowed;
}

.pagelist ul li.active a,
.pagelist ul li.active span,
.pagelist ul li a.active,
.pagelist ul li span.active {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
  cursor: default;
}

/* ---------- 21. 滚动入场动效（wow 效果，配合 js/reveal.js） ---------- */
/* .reveal-init 由 JS 添加；JS 未加载时元素保持原样可见，不会隐藏内容 */
.reveal-init[data-reveal] {
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.reveal-init[data-reveal='up']:not(.is-in)    { opacity: 0; transform: translateY(40px); }
.reveal-init[data-reveal='left']:not(.is-in)  { opacity: 0; transform: translateX(-46px); }
.reveal-init[data-reveal='right']:not(.is-in) { opacity: 0; transform: translateX(46px); }
.reveal-init[data-reveal='zoom']:not(.is-in)  { opacity: 0; transform: scale(.94); }
.reveal-init[data-reveal='fade']:not(.is-in)  { opacity: 0; }

/* 注：data-reveal 加在无 :hover 位移的容器上（.section-head / .grid / .stats / .news-mix 等）；
   .card、.news-item 这类自身有 hover transform 的元素不要直接加，否则悬停效果被覆盖 */

/* ---------- 22. 定制服务：左右交替的图文块 ---------- */
.zig {
  counter-reset: zig;
}

.zig-row {
  counter-increment: zig;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.zig-row + .zig-row {
  margin-top: 64px;
  padding-top: 64px;
  border-top: 1px solid var(--line);
}

/* 偶数行图片换到右侧、文字到左侧，形成左图右文 / 左文右图交替
   （DOM 里 .zig-media 本来就排第一，故偶数行用 order:1 把它推到文字之后） */
.zig-row:nth-child(even) .zig-media {
  order: 1;
}

.zig-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 44px rgba(16, 42, 67, .12);
}

.zig-head {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

/* 蓝色编号块：数字由 CSS 计数器生成（01、02…） */
.zig-badge {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  font-style: italic;
  letter-spacing: 1px;
  transform: skewX(-8deg);
}

.zig-badge::before {
  content: counter(zig, decimal-leading-zero);
  transform: skewX(8deg);
}

.zig-title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--brand);
}

.zig-sub {
  margin-top: 8px;
  font-size: 15px;
  color: var(--text-sub);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.zig-text {
  margin-top: 20px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-sub);
}

.zig-action {
  margin-top: 26px;
}

.zig-cta {
  min-height: 42px;
  padding: 0 28px;
  border-radius: 4px;
  background: #d0332c;
  color: #fff;
  font-size: 15px;
}

.zig-cta:hover {
  background: #b4281f;
  transform: none;
  box-shadow: none;
}
