/* ============================================================
   通用图带组件：横向流动的图片带，鼠标移入暂停
   ============================================================ */

.strip {
  position: relative;
  margin-top: clamp(40px, 5vw, 64px);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
}

.strip-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: stripRun 60s linear infinite;
  will-change: transform;
}

.strip:hover .strip-track,
.strip:focus-within .strip-track {
  animation-play-state: paused;
}

@keyframes stripRun {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

.strip-item {
  position: relative;
  flex: 0 0 auto;
  width: clamp(220px, 22vw, 320px);
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e9edf2;
}

.strip-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s cubic-bezier(.19, 1, .22, 1), filter .6s ease;
  filter: saturate(.92);
}

.strip-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 12, 26, 0) 46%, rgba(8, 12, 26, .62) 100%);
  pointer-events: none;
}

.strip-item span {
  position: absolute;
  left: 16px;
  bottom: 13px;
  z-index: 2;
  color: #fff;
  font-size: 13px;
  letter-spacing: .05em;
  line-height: 1.4;
}

@media (hover: hover) and (pointer: fine) {
  .strip-item:hover img {
    transform: scale(1.07);
    filter: saturate(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .strip-track { animation: none; }
  .strip { overflow-x: auto; }
}

/* 窄屏也能手动横滑 */
@media (max-width: 900px) {
  .strip {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .strip::-webkit-scrollbar { display: none; }
  .strip-track { animation: none; }
  .strip-item { width: 68vw; }
}

/* ============================================================
   产品详情：同系列型号横条
   ============================================================ */

.rel-list {
  display: grid;
  gap: 14px;
  margin-top: 34px;
  border-top: 1px solid rgba(16, 24, 40, .1);
  padding-top: 8px;
}

.rel-item {
  display: grid;
  grid-template-columns: 132px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 14px 6px;
  border-bottom: 1px solid rgba(16, 24, 40, .08);
  text-decoration: none;
  transition: background .35s ease, padding .35s ease;
}

.rel-item .rel-img {
  width: 132px;
  height: 82px;
  overflow: hidden;
  background: #eef1f5;
}

.rel-item .rel-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .9s cubic-bezier(.19, 1, .22, 1);
}

.rel-item h4 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink, #12161f);
}

.rel-item p {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted, #6b7480);
}

.rel-item .rel-model {
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--muted, #6b7480);
  white-space: nowrap;
}

@media (hover: hover) and (pointer: fine) {
  .rel-item:hover {
    background: rgba(16, 24, 40, .028);
    padding-left: 14px;
    padding-right: 14px;
  }
  .rel-item:hover .rel-img img { transform: scale(1.06); }
}

@media (max-width: 720px) {
  .rel-item {
    grid-template-columns: 92px 1fr;
    gap: 16px;
  }
  .rel-item .rel-img { width: 92px; height: 66px; }
  .rel-item .rel-model { display: none; }
  .rel-item h4 { font-size: 15px; }
  .rel-item p { font-size: 12px; }
}

/* ============================================================
   区块导语（图带 / 网格共用）
   ============================================================ */

.strip-lead {
  max-width: 620px;
  margin: 14px 0 0;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--muted, #6b7480);
}


/* ============================================================
   六宫格：检测设备（紧凑拼图 + 图上白字）
   ============================================================ */

.grid-six {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin-top: clamp(28px, 3.2vw, 42px);
}

.gs-item {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #e9edf2;
}

.gs-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.3s cubic-bezier(.16, 1, .3, 1), filter .7s ease;
}

.gs-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 12, 26, .38) 0%, rgba(8, 12, 26, 0) 26%),
    linear-gradient(180deg,
      rgba(8, 12, 26, 0) 42%,
      rgba(8, 12, 26, .3) 68%,
      rgba(8, 12, 26, .8) 100%);
  pointer-events: none;
}

/* 左上角编号 */
.gs-no {
  position: absolute;
  left: 15px;
  top: 13px;
  z-index: 2;
  font-size: 10.5px;
  letter-spacing: .18em;
  color: rgba(255, 255, 255, .88);
  font-variant-numeric: tabular-nums;
  text-shadow: 0 1px 8px rgba(6, 10, 26, .5);
}

/* 文字块 */
.gs-item figcaption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 2;
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 1.4;
  transition: transform .5s cubic-bezier(.16, 1, .3, 1);
  text-shadow: 0 1px 10px rgba(6, 10, 26, .45);
}

.gs-item figcaption em {
  display: block;
  margin-bottom: 5px;
  font-style: normal;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .24em;
  color: rgba(255, 255, 255, .6);
}

/* 标题上方一根短线，悬停时拉长 */
.gs-item figcaption::before {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  margin-bottom: 9px;
  background: #8b96ff;
  transition: width .5s cubic-bezier(.16, 1, .3, 1), background .4s ease;
}

@media (hover: hover) and (pointer: fine) {
  .gs-item:hover img {
    transform: scale(1.06);
    filter: brightness(1.04) saturate(1.04);
  }
  .gs-item:hover figcaption {
    transform: translateY(-3px);
  }
  .gs-item:hover figcaption::before {
    width: 44px;
    background: #fff;
  }
}

@media (max-width: 900px) {
  .grid-six { grid-template-columns: repeat(2, 1fr); gap: 3px; }
  .gs-item figcaption { left: 12px; right: 12px; bottom: 11px; font-size: 12.5px; }
  .gs-item figcaption em { font-size: 8.5px; letter-spacing: .2em; margin-bottom: 4px; }
  .gs-item figcaption::before { width: 14px; margin-bottom: 7px; }
  .gs-no { left: 11px; top: 10px; font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .gs-item img,
  .gs-item figcaption,
  .gs-item figcaption::before { transition: none !important; }
}

/* ============================================================
   检测能力：大方格，默认纯色块，鼠标移上去图片才出现
   ============================================================ */

.qgrid-head {
  max-width: 720px;
}
.qgrid-head .block-title { margin-bottom: 0; }
.qgrid-head .qual-note { margin-top: 12px; }

.qgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: clamp(26px, 3.2vw, 42px);
  border-top: 1px solid rgba(16, 20, 51, .08);
  border-left: 1px solid rgba(16, 20, 51, .08);
}

.qcell {
  position: relative;
  overflow: hidden;
  min-height: clamp(230px, 23vw, 310px);
  padding: clamp(22px, 2.2vw, 32px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid rgba(16, 20, 51, .08);
  border-bottom: 1px solid rgba(16, 20, 51, .08);
  isolation: isolate;
  background: #fff;
}

.qcell.is-blue {
  background: linear-gradient(150deg, #33417f 0%, #212c60 100%);
}

.qcell-ghost {
  position: absolute;
  right: -4%;
  bottom: -22%;
  z-index: 0;
  font-family: var(--font-serif, Georgia, serif);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(160px, 18vw, 250px);
  line-height: 1;
  letter-spacing: -.04em;
  pointer-events: none;
  user-select: none;
  transition: transform 1.4s cubic-bezier(.16, 1, .3, 1), opacity .7s ease;
}
.qcell.is-blue .qcell-ghost { color: rgba(255, 255, 255, .12); }
.qcell.is-white .qcell-ghost { color: rgba(74, 92, 245, .07); }

.qcell-media {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  opacity: 0;
  transition: opacity .55s ease;
  pointer-events: none;
}
.qcell-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.09);
  transition: transform 1.5s cubic-bezier(.16, 1, .3, 1);
}
.qcell-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg,
      rgba(9, 13, 33, .3) 0%,
      rgba(9, 13, 33, .5) 55%,
      rgba(9, 13, 33, .74) 100%);
}

.qcell-no {
  position: relative;
  z-index: 2;
  font-size: 11.5px;
  letter-spacing: .16em;
  opacity: .55;
  color: var(--muted);
  transition: color .45s ease, opacity .45s ease;
}
.qcell.is-blue .qcell-no { color: rgba(255, 255, 255, .8); }

.qcell-body {
  position: relative;
  z-index: 2;
}
.qcell-body em {
  display: block;
  font-style: normal;
  font-size: clamp(21px, 2.05vw, 32px);
  font-weight: 700;
  letter-spacing: -.015em;
  line-height: 1.15;
  color: #3a49b0;
  transition: color .45s ease;
}
.qcell.is-blue .qcell-body em { color: #fff; }

.qcell-body strong {
  display: block;
  margin-top: 12px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--navy);
  transition: color .45s ease;
}
.qcell.is-blue .qcell-body strong { color: #fff; }

.qcell-body p {
  margin-top: 8px;
  max-width: 32ch;
  font-size: 13px;
  line-height: 1.85;
  color: var(--muted);
  transition: color .45s ease;
}
.qcell.is-blue .qcell-body p { color: rgba(255, 255, 255, .74); }

@media (hover: hover) and (pointer: fine) {
  .qcell:hover .qcell-media { opacity: 1; }
  .qcell:hover .qcell-media img { transform: scale(1); }
  .qcell:hover .qcell-ghost { opacity: .35; transform: translate3d(0, -4%, 0); }
  .qcell:hover .qcell-no { color: rgba(255, 255, 255, .82) !important; opacity: 1; }
  .qcell:hover .qcell-body em,
  .qcell:hover .qcell-body strong { color: #fff !important; }
  .qcell:hover .qcell-body p { color: rgba(255, 255, 255, .86) !important; }
  .qcell:hover .qcell-body em,
  .qcell:hover .qcell-body strong,
  .qcell:hover .qcell-body p,
  .qcell:hover .qcell-no {
    text-shadow: 0 1px 12px rgba(6, 10, 26, .55);
  }
}

@media (max-width: 900px) {
  .qgrid { grid-template-columns: repeat(2, 1fr); }
  .qcell { min-height: clamp(200px, 34vw, 260px); }
  .qcell-body em { font-size: clamp(19px, 3.4vw, 25px); }
  .qcell-ghost { font-size: clamp(120px, 26vw, 180px); bottom: -18%; }
}

/* 触屏没有悬停：图片直接显示，文字转白 */
@media (hover: none) {
  .qcell-media { opacity: 1; }
  .qcell-media img { transform: none; }
  .qcell-ghost { opacity: .2; }
  .qcell .qcell-no { color: rgba(255, 255, 255, .82); }
  .qcell .qcell-body em,
  .qcell .qcell-body strong { color: #fff; }
  .qcell .qcell-body p { color: rgba(255, 255, 255, .84); }
}

@media (max-width: 620px) {
  .qgrid { grid-template-columns: 1fr; }
  .qcell { min-height: 190px; }
}

@media (prefers-reduced-motion: reduce) {
  .qcell-ghost,
  .qcell-media,
  .qcell-media img { transition: none !important; }
}
