/* ==========================================================
   浙江祁鸣智能科技有限公司 · 官网样式
   黑白极简 / 响应式 / 无外部依赖
   ========================================================== */

:root {
  --ink: #111111;
  --ink-soft: #2b2b2b;
  --grey: #6f6f6f;
  --grey-light: #9a9a9a;
  --line: #e2e2e0;
  --line-soft: #eeeeec;
  --bg: #ffffff;
  --bg-alt: #f6f6f4;
  --bg-dark: #101010;
  --max: 1200px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  max-width: 100%;
  overflow-x: clip;
}

/* 防止网格子项按 min-content 撑破视口 */
.stat, .svc, .flow-item, .client-wall div, .eq-card, .case-card, .fact, .spec-list div, .brand-strip div { min-width: 0; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------------- 顶部导航 ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand { display: flex; align-items: baseline; gap: 10px; }

.brand-cn {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .12em;
}

.brand-en {
  font-size: 11px;
  letter-spacing: .22em;
  color: var(--grey-light);
  text-transform: uppercase;
}

.nav { display: flex; align-items: center; gap: 38px; }

.nav a {
  font-size: 14.5px;
  color: var(--ink-soft);
  padding: 6px 0;
  position: relative;
  transition: color .25s var(--ease);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--ink);
  transition: width .3s var(--ease);
}

.nav a:hover { color: var(--ink); }
.nav a:hover::after,
.nav a.active::after { width: 100%; }
.nav a.active { color: var(--ink); font-weight: 700; }

.nav-tel {
  font-size: 14px;
  letter-spacing: .04em;
  border: 1px solid var(--ink);
  padding: 9px 20px;
  transition: background .25s var(--ease), color .25s var(--ease);
}

.nav-tel:hover { background: var(--ink); color: #fff; }

.nav-toggle {
  display: none;
  width: 30px;
  height: 22px;
  position: relative;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--ink);
  transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 10px; }
.nav-toggle span:nth-child(3) { top: 20px; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

/* ---------------- 首屏 ---------------- */
.hero {
  position: relative;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--line-soft) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line-soft) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: radial-gradient(circle at 72% 30%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 72% 30%, #000 0%, transparent 72%);
  pointer-events: none;
}

.hero .wrap {
  position: relative;
  padding-top: 116px;
  padding-bottom: 116px;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 64px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  letter-spacing: .26em;
  color: var(--grey);
  text-transform: uppercase;
  margin-bottom: 28px;
}

.eyebrow::before {
  content: "";
  width: 40px;
  height: 1px;
  background: var(--ink);
}

.hero h1 {
  font-size: 46px;
  line-height: 1.32;
  font-weight: 700;
  letter-spacing: .02em;
  margin: 0 0 26px;
}

.hero h1 em {
  font-style: normal;
  white-space: nowrap;
  background-image: linear-gradient(to top, #ececea 34%, transparent 34%);
  background-repeat: no-repeat;
  padding: 0 2px;
}

.hero p.lead {
  font-size: 17px;
  color: var(--grey);
  line-height: 1.95;
  max-width: 520px;
  margin: 0 0 44px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-size: 15px;
  letter-spacing: .06em;
  border: 1px solid var(--ink);
  transition: all .28s var(--ease);
}

.btn-solid { background: var(--ink); color: #fff; }
.btn-solid:hover { background: #fff; color: var(--ink); }

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

.btn .arrow { transition: transform .28s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* 首屏右侧图形 */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual svg { width: 100%; height: 100%; }

/* ---------------- 数据条 ---------------- */
.stats {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.stats .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  padding: 42px 28px;
  border-left: 1px solid var(--line);
}
.stat:first-child { border-left: 0; padding-left: 0; }

.stat-num {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1.1;
}
.stat-num small { font-size: 15px; font-weight: 400; margin-left: 4px; color: var(--grey); }

.stat-label {
  font-size: 13.5px;
  color: var(--grey);
  margin-top: 8px;
  letter-spacing: .04em;
}

/* ---------------- 通用区块 ---------------- */
.section { padding: 108px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--bg-dark); color: #fff; }

.section-head { margin-bottom: 64px; max-width: 720px; }

.section-head .eyebrow { margin-bottom: 20px; }

.section-head h2 {
  font-size: 32px;
  line-height: 1.45;
  font-weight: 700;
  margin: 0 0 18px;
  letter-spacing: .01em;
}

.section-head p {
  font-size: 15.5px;
  color: var(--grey);
  line-height: 1.95;
  margin: 0;
}

.section-dark .section-head p { color: #9b9b9b; }
.section-dark .eyebrow { color: #8a8a8a; }
.section-dark .eyebrow::before { background: #fff; }

/* ---------------- 业务卡片 ---------------- */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.svc {
  position: relative;
  padding: 44px 28px 40px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  transition: background .3s var(--ease);
}
.svc:nth-child(4n) { border-right: 0; }

.svc:hover { background: var(--bg-alt); }

.svc-no {
  font-size: 12px;
  letter-spacing: .18em;
  color: var(--grey-light);
  margin-bottom: 26px;
}

.svc-icon { width: 44px; height: 44px; margin-bottom: 24px; }
.svc-icon svg { width: 100%; height: 100%; }
.svc-icon svg * { stroke: var(--ink); }

.svc h3 {
  font-size: 18.5px;
  font-weight: 700;
  margin: 0 0 14px;
  letter-spacing: .02em;
}

.svc p {
  font-size: 14px;
  color: var(--grey);
  line-height: 1.9;
  margin: 0;
}

/* ---------------- 流程 ---------------- */
.flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  counter-reset: step;
}

.flow-item {
  padding: 0 24px 0 0;
  position: relative;
}

.flow-item::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  font-size: 13px;
  letter-spacing: .16em;
  color: var(--grey-light);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
}

.flow-item h4 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 10px;
}

.flow-item p {
  font-size: 13.5px;
  color: var(--grey);
  line-height: 1.85;
  margin: 0;
}

/* ---------------- 两栏图文 ---------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.split-reverse .split-media { order: 2; }

.split-media {
  border: 1px solid var(--line);
  background:
    repeating-linear-gradient(135deg, var(--line-soft) 0 1px, transparent 1px 12px),
    var(--bg);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.split-media span {
  font-size: 12.5px;
  letter-spacing: .2em;
  color: var(--grey-light);
  background: var(--bg);
  padding: 6px 14px;
}

.checklist li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 14px;
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.85;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 12px;
  height: 1px;
  background: var(--ink);
}

/* ---------------- 行业标签 ---------------- */
.tags { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

.tag {
  font-size: 13.5px;
  padding: 10px 20px;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  letter-spacing: .04em;
  transition: all .25s var(--ease);
}

.section-dark .tag { border-color: #2c2c2c; color: #cfcfcf; }
.tag:hover { border-color: var(--ink); }

/* ---------------- 公司信息条 ---------------- */
.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.fact { background: var(--bg); padding: 32px 28px; }
.fact dt { font-size: 12.5px; letter-spacing: .16em; color: var(--grey-light); margin-bottom: 10px; }
.fact dd { margin: 0; font-size: 16px; font-weight: 700; }

/* ---------------- CTA ---------------- */
.cta {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.cta .wrap {
  padding-top: 76px;
  padding-bottom: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.cta h2 {
  font-size: 27px;
  font-weight: 700;
  margin: 0 0 10px;
  letter-spacing: .01em;
}

.cta p { margin: 0; color: var(--grey); font-size: 15px; }

/* ---------------- 页脚 ---------------- */
.site-footer {
  background: var(--bg-dark);
  color: #9a9a9a;
  padding: 66px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 54px;
}

.footer-brand .brand-cn { color: #fff; }
.footer-brand .brand-en { color: #6a6a6a; }

.footer-desc {
  font-size: 13.5px;
  line-height: 1.95;
  margin-top: 20px;
  max-width: 340px;
  color: #8e8e8e;
}

.footer-col h5 {
  color: #fff;
  font-size: 14px;
  letter-spacing: .1em;
  margin: 0 0 20px;
  font-weight: 700;
}

.footer-col li { margin-bottom: 12px; font-size: 13.5px; }
.footer-col a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid #232323;
  padding: 26px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: #6e6e6e;
}

/* ---------------- 内页头部 ---------------- */
.page-head {
  border-bottom: 1px solid var(--line);
  padding: 74px 0 60px;
  background: var(--bg-alt);
}

.page-head .crumb {
  font-size: 12.5px;
  letter-spacing: .16em;
  color: var(--grey-light);
  margin-bottom: 22px;
  text-transform: uppercase;
}

.page-head h1 {
  font-size: 38px;
  font-weight: 700;
  margin: 0 0 18px;
  line-height: 1.4;
}

.page-head p {
  color: var(--grey);
  font-size: 15.5px;
  max-width: 640px;
  margin: 0;
  line-height: 1.95;
}

/* ---------------- 业务详情 ---------------- */
.svc-detail {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 64px;
  padding: 62px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 100px;
}

.svc-detail:last-of-type { border-bottom: 0; }

.svc-detail h2 {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 16px;
  line-height: 1.5;
}

.svc-detail .svc-no { margin-bottom: 16px; }

.svc-detail p { color: var(--grey); font-size: 15px; line-height: 1.95; margin: 0 0 22px; }

.spec-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 8px;
}

.spec-list div { background: var(--bg); padding: 20px 22px; }
.spec-list dt { font-size: 12.5px; color: var(--grey-light); letter-spacing: .1em; margin-bottom: 6px; }
.spec-list dd { margin: 0; font-size: 14.5px; font-weight: 700; }

.sticky-side { position: sticky; top: 110px; align-self: start; }

/* ---------------- 联系页 ---------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.contact-item {
  display: flex;
  gap: 22px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.contact-item:first-of-type { padding-top: 0; }

.contact-item .ci-label {
  width: 84px;
  flex: 0 0 84px;
  font-size: 13px;
  letter-spacing: .1em;
  color: var(--grey-light);
  padding-top: 3px;
}

.contact-item .ci-value { font-size: 16.5px; font-weight: 700; line-height: 1.7; }
.contact-item .ci-value small { display: block; font-size: 13px; font-weight: 400; color: var(--grey); margin-top: 4px; }

.form-row { margin-bottom: 22px; }

.form-row label {
  display: block;
  font-size: 13px;
  letter-spacing: .1em;
  color: var(--grey);
  margin-bottom: 10px;
}

.form-row input,
.form-row textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--bg);
  padding: 13px 16px;
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
  transition: border-color .25s var(--ease);
}

.form-row input:focus,
.form-row textarea:focus { outline: none; border-color: var(--ink); }

.form-row textarea { min-height: 130px; resize: vertical; }

.form-note { font-size: 12.5px; color: var(--grey-light); margin-top: 16px; line-height: 1.8; }

/* ---------------- 占位标记 ---------------- */
.tbd {
  color: #b04a4a;
  border-bottom: 1px dashed #d9b0b0;
  font-weight: 400;
}

/* Scroll entrance is triggered by main.js. Content remains fully visible
   without JavaScript and never depends on a chapter's active state. */
.reveal { animation:none; }
@keyframes sectionEnter {
  from { transform:translateY(30px); }
  to { transform:translateY(0); }
}
.motion-enter { animation:sectionEnter .68s cubic-bezier(.22,.61,.36,1) var(--motion-delay,0ms) backwards; }
@media(max-width:760px) {
  @keyframes sectionEnter { from { transform:translateY(16px); } to { transform:translateY(0); } }
  .motion-enter { animation-duration:.45s; }
}
@media(prefers-reduced-motion:reduce) {
  .motion-enter { animation:none!important; }
}

/* ---------------- 响应式 ---------------- */
@media (max-width: 1024px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 48px; padding-top: 84px; padding-bottom: 84px; }
  .hero-visual { max-width: 420px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .svc:nth-child(2n) { border-right: 0; }
  .flow { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .split-reverse .split-media { order: 0; }
  .svc-detail { grid-template-columns: 1fr; gap: 28px; }
  .sticky-side { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .wrap { padding: 0 22px; }
  .site-header .wrap { height: 64px; }
  .nav {
    position: fixed;
    inset: 64px 0 auto 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 22px 22px;
    transform: translateY(-130%);
    transition: transform .38s var(--ease);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .06);
  }
  .nav-open .nav { transform: none; }
  .nav a { padding: 15px 0; border-bottom: 1px solid var(--line-soft); font-size: 16px; }
  .nav a::after { display: none; }
  .nav-tel { margin-top: 18px; text-align: center; border-bottom: 0 !important; }
  .nav-toggle { display: block; }

  .hero h1 { font-size: 30px; line-height: 1.42; }
  .hero p.lead { font-size: 15.5px; }
  .hero .wrap { padding-top: 60px; padding-bottom: 64px; }

  .stats .wrap { grid-template-columns: 1fr 1fr; }
  .stat { border-left: 0; padding: 26px 0; border-top: 1px solid var(--line); }
  .stat:nth-child(odd) { border-right: 1px solid var(--line); padding-right: 16px; }
  .stat:nth-child(even) { padding-left: 16px; }
  .stat:nth-child(1), .stat:nth-child(2) { border-top: 0; padding-top: 32px; }
  .stat-num { font-size: 26px; }

  .section { padding: 64px 0; }
  .section-head { margin-bottom: 40px; }
  .section-head h2 { font-size: 23px; }
  .page-head { padding: 46px 0 40px; }
  .page-head h1 { font-size: 26px; }

  .grid-4 { grid-template-columns: 1fr; }
  .svc { border-right: 0 !important; padding: 32px 0; }
  .svc-no { margin-bottom: 16px; }
  .flow { grid-template-columns: 1fr; row-gap: 32px; }
  .facts { grid-template-columns: 1fr; }
  .spec-list { grid-template-columns: 1fr; }
  .svc-detail { padding: 44px 0; }
  .contact-item { flex-direction: column; gap: 8px; }
  .contact-item .ci-label { width: auto; flex: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .cta .wrap { padding-top: 52px; padding-bottom: 52px; }
  .cta h2 { font-size: 21px; }
}

/* ==========================================================
   实拍图片版新增组件
   ========================================================== */

/* 首屏图片 */
.hero-photo {
  position: relative;
  border: 1px solid var(--line);
  overflow: hidden;
  background: #f2f2f0;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  aspect-ratio: 4 / 3.4;
  display: block;
}

.hero-photo .cap {
  position: absolute;
  left: 0;
  bottom: 0;
  background: rgba(255, 255, 255, .94);
  padding: 11px 18px;
  font-size: 11.5px;
  letter-spacing: .14em;
  color: var(--grey);
}

/* 通用图片容器 */
.media {
  border: 1px solid var(--line);
  overflow: hidden;
  background: #f4f4f2;
}

.media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform .8s var(--ease);
}


.media-contain {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
}

.media-contain img { object-fit: contain; max-height: 360px; }

/* 客户墙 */
.client-wall {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.client-wall div {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 34px 16px;
  text-align: center;
  font-size: 15px;
  letter-spacing: .06em;
  color: var(--ink-soft);
  transition: background .3s var(--ease);
}

.client-wall div:hover { background: var(--bg-alt); }

/* 设备卡片 */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.eq-card {
  border: 1px solid var(--line);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}

.eq-card:hover { border-color: var(--ink); transform: translateY(-2px); }

.eq-card .ph {
  background: #f5f5f3;
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.eq-card .ph img {
  position: absolute;
  inset: 22px;
  width: calc(100% - 44px);
  height: calc(100% - 44px);
  object-fit: contain;
}

.eq-card .bd { padding: 24px 24px 28px; flex: 1; display: flex; flex-direction: column; }

.eq-card .brandline {
  font-size: 11.5px;
  letter-spacing: .18em;
  color: var(--grey-light);
  margin-bottom: 10px;
  text-transform: uppercase;
}

.eq-card h3 { font-size: 17px; margin: 0 0 12px; font-weight: 700; line-height: 1.5; }

.eq-card p { font-size: 13.5px; color: var(--grey); line-height: 1.85; margin: 0 0 16px; }

.eq-card .spec-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; }

.eq-card .spec-tags span {
  font-size: 12px;
  padding: 5px 10px;
  background: var(--bg-alt);
  color: var(--ink-soft);
}

/* 案例卡片 */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.case-card { border: 1px solid var(--line); background: var(--bg); }

.case-card .ph { aspect-ratio: 4 / 3; overflow: hidden; background: #f5f5f3; }
.case-card .ph img { width: 100%; height: 100%; object-fit: contain; transition: transform .8s var(--ease); }
.case-card:hover .ph img { transform: scale(1.04); }

.case-card .bd { padding: 22px 24px 26px; }
.case-card h3 { font-size: 16px; margin: 0 0 10px; font-weight: 700; }
.case-card p { font-size: 13.5px; color: var(--grey); line-height: 1.85; margin: 0; }
.case-card .cat { font-size: 11.5px; letter-spacing: .16em; color: var(--grey-light); margin-bottom: 10px; }

/* 品牌条 */
.brand-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.brand-strip div { background: var(--bg); padding: 26px 20px; text-align: center; }
.brand-strip strong { display: block; font-size: 15.5px; font-weight: 700; margin-bottom: 6px; }
.brand-strip small { font-size: 12px; color: var(--grey-light); letter-spacing: .06em; }

/* 资质 */
.cert-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  align-items: center;
}

@media (max-width: 1024px) {
  .card-grid, .case-grid { grid-template-columns: repeat(2, 1fr); }
  .client-wall, .brand-strip { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 760px) {
  .card-grid, .case-grid, .cert-row { grid-template-columns: 1fr; }
  .client-wall { grid-template-columns: repeat(2, 1fr); }
  .brand-strip { grid-template-columns: repeat(2, 1fr); }
  .hero-photo img { aspect-ratio: 4 / 3; }
  .svc-detail div[style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
  .eq-card .ph { aspect-ratio: 16 / 10; }
}

/* 产品图占位 */
.ph-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grey-light);
  font-size: 12.5px;
  letter-spacing: .18em;
  background:
    repeating-linear-gradient(135deg, #f0f0ee 0 1px, transparent 1px 12px),
    #f7f7f5;
}

/* ==========================================================
   工业CT 页面组件
   ========================================================== */

/* 合作方说明条 */
.partner-strip {
  border: 1px solid var(--line);
  background: var(--bg-alt);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.partner-strip .ps-label {
  font-size: 11.5px;
  letter-spacing: .22em;
  color: var(--grey-light);
  margin-bottom: 8px;
}

.partner-strip strong { font-size: 17px; font-weight: 700; letter-spacing: .02em; }

.partner-strip .note {
  font-size: 13.5px;
  color: var(--grey);
  line-height: 1.85;
  max-width: 620px;
}

/* 检测能力矩阵 */
.ability-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}

.ability {
  padding: 34px 26px 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  min-width: 0;
  transition: background .3s var(--ease);
}

.ability:nth-child(4n) { border-right: 0; }
.ability:hover { background: var(--bg); }

.ability .no {
  font-size: 11.5px;
  letter-spacing: .18em;
  color: var(--grey-light);
  margin-bottom: 18px;
}

.ability h3 { font-size: 16.5px; font-weight: 700; margin: 0 0 12px; letter-spacing: .02em; }

.ability p { font-size: 13.2px; color: var(--grey); line-height: 1.85; margin: 0; }

/* 行业九宫格（暗色区） */
.ind-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.ind {
  border: 1px solid #262626;
  background: #151515;
  display: flex;
  flex-direction: column;
  min-width: 0;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}

.ind:hover { border-color: #4a4a4a; transform: translateY(-2px); }

.ind .ph { aspect-ratio: 4 / 3; overflow: hidden; background: transparent; }
.ind .ph img { width: 100%; height: 100%; object-fit: contain; }

.ind .bd { padding: 20px 20px 24px; }

.ind h3 {
  font-size: 15.5px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 10px;
  letter-spacing: .02em;
}

.ind p { font-size: 12.8px; color: #9a9a9a; line-height: 1.8; margin: 0; }

/* 技术模块 */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.tech { background: var(--bg); padding: 34px 32px; min-width: 0; }

.tech .code {
  font-family: Consolas, Monaco, "Courier New", monospace;
  font-size: 12.5px;
  letter-spacing: .06em;
  color: var(--grey-light);
  margin-bottom: 12px;
}

.tech h3 { font-size: 17px; font-weight: 700; margin: 0 0 12px; }

.tech p { font-size: 13.8px; color: var(--grey); line-height: 1.9; margin: 0; }

/* 数据行 */
.fact-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-top: 0;
}

.fact-row > div {
  background: var(--bg);
  padding: 26px 24px;
  min-width: 0;
}

.fact-row strong {
  display: block;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 6px;
}

.fact-row span { font-size: 12.8px; color: var(--grey); line-height: 1.7; display: block; }

.note-small { font-size: 12px; color: var(--grey-light); margin: 18px 0 0; line-height: 1.8; }

/* 两种合作方式 */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.duo-card {
  border: 1px solid var(--line);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.duo-card h3 { font-size: 21px; font-weight: 700; margin: 0 0 16px; }

.duo-card > p {
  font-size: 14.2px;
  color: var(--grey);
  line-height: 1.95;
  margin: 0 0 20px;
}

.duo-card .checklist li { font-size: 13.8px; margin-bottom: 10px; }

@media (max-width: 1100px) {
  .nav { gap: 24px; }
  .nav a { font-size: 14px; }
}

@media (max-width: 1024px) {
  .ability-grid { grid-template-columns: repeat(2, 1fr); }
  .ability:nth-child(4n) { border-right: 1px solid var(--line); }
  .ability:nth-child(2n) { border-right: 0; }
  .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .fact-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .partner-strip { padding: 22px 20px; gap: 14px; }
  .ability-grid { grid-template-columns: 1fr; }
  .ability { border-right: 0 !important; padding: 26px 0; }
  .ind-grid { grid-template-columns: 1fr; gap: 14px; }
  .tech-grid { grid-template-columns: 1fr; }
  .tech { padding: 26px 22px; }
  .fact-row { grid-template-columns: 1fr 1fr; }
  .fact-row > div { padding: 20px 16px; }
  .fact-row strong { font-size: 20px; }
  .duo { grid-template-columns: 1fr; }
  .duo-card { padding: 28px 22px; }
  .duo-card h3 { font-size: 18px; }
}

/* ==========================================================
   逆向工程 页面组件
   ========================================================== */

/* 软件对比表 */
.cmp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  border: 1px solid var(--line);
}

.cmp-table th, .cmp-table td {
  padding: 15px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  line-height: 1.75;
  vertical-align: top;
}

.cmp-table thead th {
  background: var(--bg-alt);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .04em;
  white-space: nowrap;
}

.cmp-table tbody th {
  font-weight: 700;
  font-size: 13.5px;
  white-space: nowrap;
  background: var(--bg-alt);
  width: 92px;
}

.cmp-table td.win { color: var(--ink); font-weight: 500; }
.cmp-table td.lose { color: var(--grey-light); }
.cmp-table tr:last-child th, .cmp-table tr:last-child td { border-bottom: 0; }

@media (max-width: 760px) {
  .cmp-table { font-size: 13px; }
  .cmp-table th, .cmp-table td { padding: 12px 10px; }
  .cmp-table tbody th { width: 64px; }
}

/* 交付成果清单 */
.deliv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.deliv {
  padding: 30px 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  min-width: 0;
}

.deliv .no {
  font-size: 12px;
  letter-spacing: .18em;
  color: var(--grey-light);
  margin-bottom: 12px;
  font-variant-numeric: tabular-nums;
}

.deliv h3 { font-size: 16.5px; font-weight: 700; margin: 0 0 10px; }
.deliv p { font-size: 13.8px; color: var(--grey); line-height: 1.85; margin: 0; }

@media (max-width: 1024px) { .deliv-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) {
  .deliv-grid { grid-template-columns: 1fr; border-left: 0; }
  .deliv { border-right: 0; padding: 24px 4px; }
}

/* 跨列提示格：桌面占两列，窄屏回归单列 */
.ability.wide {
  grid-column: span 2;
  border-right: 0;
  background: var(--bg-alt);
}

@media (max-width: 1024px) { .ability.wide { grid-column: span 2; } }
@media (max-width: 760px) { .ability.wide { grid-column: span 1; background: transparent; } }
