/* 核心产品专题页样式，共用 zy.css 的 --brand 等变量 */

/* ---------- 首屏 ---------- */
.zp-hero {
  position: relative;
  min-height: min(84vh, 900px);
  display: flex;
  align-items: flex-end;
  padding: calc(120px + 4vw) 0 0;
  overflow: hidden;
  background: #0a1a14;
}
.zp-hero__bg {
  position: absolute;
  inset: 0;
  background: url(../img/z/dev-03.webp) no-repeat center 46%;
  background-size: cover;
  transform: scale(1.04);
}
.zp-hero__mask {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 18, 13, .72) 0%, rgba(4, 18, 13, .34) 40%, rgba(4, 18, 13, .9) 100%),
    linear-gradient(100deg, rgba(var(--brand-rgb), .34) 0%, rgba(var(--brand-rgb), 0) 60%);
}
.zp-hero__inner {
  position: relative;
  z-index: 2;
  width: 96%;
  max-width: 1680px;
  margin: 0 auto;
  padding-bottom: clamp(38px, 4vw, 62px);
}
.zp-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 999px;
  color: #fff;
  font-size: 12.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.zp-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-light);
}
.zp-hero__title {
  margin-top: 22px;
  color: #fff;
  font-size: clamp(30px, 4vw, 62px);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -.01em;
}
.zp-hero__title em {
  font-style: normal;
  color: var(--brand-light);
}
.zp-hero__sub {
  margin-top: 18px;
  max-width: 780px;
  color: rgba(255, 255, 255, .8);
  font-size: clamp(14px, 1.15vw, 17px);
  line-height: 1.9;
}
.zp-hero__acts {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}
.zp-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 50px;
  padding: 0 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  transition: all .35s cubic-bezier(.25, .8, .3, 1);
}
.zp-btn--solid {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 12px 30px rgba(var(--brand-rgb), .34);
}
.zp-btn--solid:hover { background: var(--brand-deep); transform: translateY(-2px); }
.zp-btn--ghost {
  border: 1px solid rgba(255, 255, 255, .44);
  color: #fff;
}
.zp-btn--ghost:hover { background: rgba(255, 255, 255, .14); border-color: #fff; }

/* 首屏指标条 */
.zp-kpi {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, .10);
  background: linear-gradient(180deg, #0b1d16 0%, #0e241b 100%);
}
.zp-kpi__list {
  width: 96%;
  max-width: 1680px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.zp-kpi__item {
  position: relative;
  padding: 26px 16px 28px;
  text-align: center;
  color: #fff;
}
.zp-kpi__item + .zp-kpi__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 26%;
  width: 1px;
  height: 52%;
  background: rgba(255, 255, 255, .18);
}
.zp-kpi__num {
  display: block;
  font-size: clamp(24px, 2.3vw, 36px);
  font-weight: 800;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.zp-kpi__num i {
  font-style: normal;
  font-size: .5em;
  font-weight: 600;
  color: var(--brand-light);
  margin-left: 4px;
  vertical-align: 2px;
}
.zp-kpi__label {
  margin-top: 10px;
  font-size: 12.5px;
  letter-spacing: .1em;
  color: rgba(255, 255, 255, .62);
}

/* ---------- 通用区块 ---------- */
.zp-sec { padding: clamp(64px, 6.6vw, 108px) 0; }
.zp-sec--pale {
  background: linear-gradient(180deg, #fff 0%, var(--brand-pale) 50%, #fff 100%);
}
.zp-sec--dark {
  background: linear-gradient(165deg, #0a1a14 0%, #10251d 58%, #0b1d16 100%);
  color: #fff;
}
.zp-wrap {
  width: 96%;
  max-width: 1680px;
  margin: 0 auto;
}
.zp-head { margin-bottom: clamp(30px, 3vw, 52px); }
.zp-head__tag {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .24em;
  color: var(--brand);
  text-transform: uppercase;
}
.zp-sec--dark .zp-head__tag { color: var(--brand-light); }
.zp-head__title {
  margin-top: 12px;
  font-size: clamp(24px, 2.6vw, 40px);
  font-weight: 800;
  line-height: 1.26;
  color: #16211c;
  letter-spacing: -.01em;
}
.zp-sec--dark .zp-head__title { color: #fff; }
.zp-head__sub {
  margin-top: 14px;
  max-width: 820px;
  font-size: clamp(14px, 1.08vw, 16px);
  line-height: 1.95;
  color: #5d6a64;
}
.zp-sec--dark .zp-head__sub { color: rgba(255, 255, 255, .68); }

/* 图文左右 */
.zp-lead {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(28px, 4vw, 72px);
  align-items: center;
}
.zp-lead--flip .zp-lead__pic { order: 2; }
.zp-lead__pic {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 26px 60px rgba(12, 32, 24, .16);
  aspect-ratio: 4 / 3;
  background: #eef3f0;
}
.zp-lead__pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.zp-lead__body p {
  font-size: clamp(14.5px, 1.1vw, 16.5px);
  line-height: 2.05;
  color: #4a5852;
}
.zp-lead__body p + p { margin-top: 16px; }
.zp-sec--dark .zp-lead__body p { color: rgba(255, 255, 255, .74); }
.zp-lead__body strong { color: var(--brand-deep); font-weight: 700; }
.zp-sec--dark .zp-lead__body strong { color: var(--brand-light); }

.zp-quote {
  margin-top: 22px;
  padding: 18px 22px;
  border-left: 3px solid var(--brand);
  background: var(--brand-pale);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 14px;
  line-height: 1.9;
  color: #45524c;
}
.zp-sec--dark .zp-quote {
  background: rgba(255, 255, 255, .06);
  color: rgba(255, 255, 255, .8);
}

/* ---------- 工艺流程 ---------- */
.zp-flow {
  display: flex;
  align-items: stretch;
  gap: 10px;
  flex-wrap: wrap;
}
.zp-flow__node {
  position: relative;
  flex: 1 1 150px;
  padding: 22px 18px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--brand-line);
  text-align: center;
  transition: border-color .35s, transform .35s, box-shadow .35s;
}
.zp-flow__node:hover {
  border-color: var(--brand);
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(var(--brand-rgb), .14);
}
.zp-flow__no {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--brand);
}
.zp-flow__name {
  margin-top: 8px;
  font-size: 15px;
  font-weight: 700;
  color: #1b2621;
  line-height: 1.5;
}
.zp-flow__desc {
  margin-top: 6px;
  font-size: 12.5px;
  line-height: 1.7;
  color: #7b8781;
}
.zp-flow__arrow {
  align-self: center;
  flex: 0 0 22px;
  height: 10px;
  position: relative;
  color: var(--brand);
}
.zp-flow__arrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 14px;
  height: 1px;
  background: currentColor;
}
.zp-flow__arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 8px;
  height: 8px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}
.zp-flow__note {
  margin-top: 20px;
  font-size: 13px;
  line-height: 1.8;
  color: #7b8781;
}

/* ---------- 六大特性 ---------- */
.zp-feat {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.zp-feat__card {
  position: relative;
  padding: 32px 28px 28px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--brand-line);
  overflow: hidden;
  transition: transform .4s cubic-bezier(.25, .8, .3, 1), box-shadow .4s, border-color .4s;
}
.zp-feat__card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .55s cubic-bezier(.25, .8, .3, 1);
}
.zp-feat__card:hover {
  transform: translateY(-6px);
  border-color: var(--brand);
  box-shadow: 0 22px 44px rgba(var(--brand-rgb), .16);
}
.zp-feat__card:hover::before { transform: scaleX(1); }
/* 三字标签胶囊（减量化 / 自动化 …）：原来是一字方块 + 下方标题，现标题并入标签 */
.zp-feat__ico {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 15px;
  border-radius: 999px;
  background: var(--brand-pale);
  color: var(--brand-deep);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: .1em;
  white-space: nowrap;
}
.zp-feat__name {
  margin-top: 18px;
  font-size: 19px;
  font-weight: 700;
  color: #1b2621;
}
.zp-feat__desc {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.9;
  color: #5d6a64;
}

/* ---------- 数据表 ---------- */
.zp-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--brand-line);
  background: #fff;
}
.zp-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}
.zp-table th,
.zp-table td {
  padding: 16px 20px;
  text-align: left;
  font-size: 14px;
  line-height: 1.7;
  border-bottom: 1px solid #eef2ef;
}
.zp-table thead th {
  background: #f4f8f5;
  color: #33423a;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .04em;
  white-space: nowrap;
}
.zp-table tbody tr:last-child td { border-bottom: 0; }
.zp-table tbody tr:hover td { background: #fafcfb; }
.zp-table td:first-child { color: #33423a; font-weight: 600; }
.zp-table .is-ours {
  color: var(--brand-deep);
  font-weight: 700;
  background: rgba(var(--brand-rgb), .05);
}
.zp-table__cap {
  margin-top: 14px;
  font-size: 12.5px;
  line-height: 1.8;
  color: #8b968f;
}

/* ---------- 泥样对比 ---------- */
.zp-mud {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.zp-mud__cell {
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--brand-line);
}
.zp-mud__pic { aspect-ratio: 16 / 11; background: #eef3f0; }
.zp-mud__pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.zp-mud__cap {
  padding: 16px 20px;
  font-size: 14px;
  font-weight: 600;
  color: #33423a;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.zp-mud__cap span {
  font-size: 12px;
  font-weight: 600;
  color: #8b968f;
}
.zp-mud__cell--ours .zp-mud__cap { color: var(--brand-deep); }
.zp-mud__cell--ours .zp-mud__cap span { color: var(--brand); }

/* ---------- 设备图示 ---------- */
.zp-sch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.zp-sch__cell {
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--brand-line);
  padding: 22px;
}
.zp-sch__pic { aspect-ratio: 2 / 1; display: grid; place-items: center; }
.zp-sch__pic img { max-width: 100%; max-height: 100%; object-fit: contain; }
.zp-sch__cap {
  margin-top: 14px;
  text-align: center;
  font-size: 13.5px;
  color: #5d6a64;
}
.zp-sch__cap b { color: #1b2621; }

/* ---------- 服务 ---------- */
.zp-svc {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.zp-svc__col {
  padding: 34px 30px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
}
.zp-svc__title {
  font-size: 19px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 12px;
}
.zp-svc__title i {
  font-style: normal;
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--brand-light);
  border: 1px solid rgba(var(--brand-rgb), .6);
  border-radius: 999px;
  padding: 4px 10px;
}
.zp-svc__list {
  margin-top: 22px;
  padding: 0;
  list-style: none;
}
.zp-svc__list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 1.9;
  color: rgba(255, 255, 255, .76);
}
.zp-svc__list li:last-child { margin-bottom: 0; }
.zp-svc__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid var(--brand);
  background: rgba(var(--brand-rgb), .22);
}
.zp-svc__list li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 14px;
  width: 6px;
  height: 3px;
  border-left: 1.5px solid var(--brand-light);
  border-bottom: 1.5px solid var(--brand-light);
  transform: rotate(-45deg);
}

/* ---------- 案例 ---------- */
.zp-case {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.zp-case__card {
  display: flex;
  gap: 20px;
  padding: 20px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--brand-line);
  transition: transform .4s, box-shadow .4s, border-color .4s;
}
.zp-case__card:hover {
  transform: translateY(-4px);
  border-color: var(--brand);
  box-shadow: 0 20px 40px rgba(var(--brand-rgb), .14);
}
/* 案例为奇数时，最后一张通栏，避免右下留白 */
.zp-case > .zp-case__card:last-child:nth-child(odd) { grid-column: 1 / -1; align-items: center; }
.zp-case > .zp-case__card:last-child:nth-child(odd) .zp-case__pic {
  flex: 0 0 320px;
  aspect-ratio: 16 / 9;
}

.zp-case__pic {
  flex: 0 0 168px;
  aspect-ratio: 4 / 3;
  border-radius: 4px;
  overflow: hidden;
  background: #eef3f0;
}
.zp-case__pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.zp-case__body { flex: 1; min-width: 0; }
.zp-case__name {
  font-size: 16px;
  font-weight: 700;
  color: #1b2621;
  line-height: 1.5;
}
.zp-case__meta {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.zp-case__meta em {
  font-style: normal;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--brand-pale);
  color: var(--brand-deep);
}
.zp-case__desc {
  margin-top: 12px;
  font-size: 13.5px;
  line-height: 1.85;
  color: #5d6a64;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------- 结尾 CTA ---------- */
.zp-cta {
  position: relative;
  padding: clamp(60px, 6vw, 96px) 0;
  overflow: hidden;
  background: linear-gradient(120deg, var(--brand-deep) 0%, var(--brand) 100%);
  color: #fff;
  text-align: center;
}
.zp-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, .18) 0, rgba(255, 255, 255, 0) 46%);
}
.zp-cta__inner { position: relative; z-index: 2; }
.zp-cta__title {
  font-size: clamp(24px, 2.6vw, 38px);
  font-weight: 800;
  line-height: 1.3;
}
.zp-cta__sub {
  margin-top: 14px;
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.9;
  color: rgba(255, 255, 255, .82);
}
.zp-cta__acts {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}
.zp-cta .zp-btn--solid {
  background: #fff;
  color: var(--brand-deep);
  box-shadow: 0 14px 32px rgba(0, 0, 0, .18);
}
.zp-cta .zp-btn--solid:hover { background: #f2f7f4; }
.zp-cta .zp-btn--ghost { border-color: rgba(255, 255, 255, .6); }

/* ---------- 响应式 ---------- */
@media (max-width: 1200px) {
  .zp-feat { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .zp-case { grid-template-columns: 1fr; }
  .zp-mud { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  .zp-hero { min-height: 0; padding-top: 148px; }
  .zp-kpi__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .zp-kpi__item:nth-child(4)::before { display: none; }
  .zp-lead { grid-template-columns: 1fr; gap: 28px; }
  .zp-lead--flip .zp-lead__pic { order: 0; }
  .zp-svc { grid-template-columns: 1fr; }
  .zp-sch { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .zp-sec { padding: 56px 0; }
  .zp-hero { padding-top: 120px; }
  .zp-hero__title { font-size: 27px; }
  .zp-kpi__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .zp-kpi__item { padding: 20px 10px 22px; }
  .zp-kpi__item:nth-child(2n)::before { display: none; }
  .zp-kpi__item:nth-child(4)::before { display: block; }
  .zp-kpi__item:last-child { grid-column: span 2; }
  .zp-kpi__item:last-child::before { display: none; }
  .zp-feat { grid-template-columns: 1fr; gap: 14px; }
  .zp-mud { grid-template-columns: 1fr; gap: 14px; }
  .zp-flow { gap: 8px; }
  .zp-flow__node { flex: 1 1 100%; }
  .zp-flow__arrow { display: none; }
  .zp-case > .zp-case__card:last-child:nth-child(odd) { grid-column: auto; }
  .zp-case__card { flex-direction: column; gap: 14px; }
  .zp-case__pic { flex: none; width: 100%; }
  .zp-btn { height: 46px; padding: 0 22px; font-size: 14px; }

  /* 表格改卡片式：每行一块，避免横向滚动看不到我方数据 */
  .zp-table { min-width: 0; }
  .zp-table thead { display: none; }
  .zp-table tbody tr {
    display: block;
    padding: 14px 0 12px;
    border-bottom: 1px solid #eef2ef;
  }
  .zp-table tbody tr:last-child { border-bottom: 0; }
  .zp-table td {
    display: block;
    padding: 3px 14px;
    border: 0;
    font-size: 13px;
    line-height: 1.75;
  }
  .zp-table td:nth-child(1) {
    font-weight: 700;
    color: #1b2621;
    font-size: 13.5px;
    padding-bottom: 6px;
  }
  .zp-table td:nth-child(2)::before {
    content: "板框　";
    color: #99a49d;
    font-weight: 400;
  }
  .zp-table td:nth-child(3)::before {
    content: "高液压　";
    color: var(--brand);
    font-weight: 600;
  }
  .zp-table td.is-ours {
    background: transparent;
    color: var(--brand-deep);
    font-weight: 600;
  }
  .zp-table tbody tr:hover td { background: transparent; }
}

/* 核心产品页页内锚点：避开固定头部（footer 里的「核心产品」子项跳转用） */
.zp-sec[id] { scroll-margin-top: 120px; }
@media (max-width: 991px) { .zp-sec[id] { scroll-margin-top: 80px; } }


/* ---------- 工艺流程节点图标（2026-11-10） ---------- */
.zp-flow__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: rgba(var(--brand-rgb), .08);
  border: 1px solid rgba(var(--brand-rgb), .16);
  color: var(--brand-deep);
  transition: background-color .35s, border-color .35s, transform .35s;
}
.zp-flow__icon svg {
  width: 30px;
  height: 30px;
}
.zp-flow__node:hover .zp-flow__icon {
  background: rgba(var(--brand-rgb), .14);
  border-color: rgba(var(--brand-rgb), .3);
  transform: scale(1.04);
}
@media (max-width: 767px) {
  .zp-flow__icon { width: 54px; height: 54px; margin-bottom: 10px; }
  .zp-flow__icon svg { width: 26px; height: 26px; }
}
