/* =============================================================
 * pages.css — 具体页面样式：Hero / Showcase / 案例 / 关于 / 产品 / 联系
 * ============================================================= */

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  padding-top: clamp(96px, 12vw, 188px);
  padding-bottom: var(--sp-6);
  text-align: center;
  overflow: hidden;
}
/* 极光光晕 + 点阵（细腻科技氛围，非暗色）*/
.hero::before {
  content: "";
  position: absolute;
  top: -28%;
  left: 50%;
  width: 92vw;
  height: 620px;
  max-width: 1100px;
  transform: translateX(-50%);
  background:
    radial-gradient(40% 60% at 30% 30%, rgba(0, 102, 204, 0.18), transparent 70%),
    radial-gradient(40% 60% at 72% 40%, rgba(0, 102, 204, 0.16), transparent 70%),
    radial-gradient(30% 50% at 55% 70%, rgba(0, 0, 0, 0.12), transparent 70%);
  filter: blur(8px);
  z-index: -1;
  animation: aurora 14s var(--ease) infinite alternate;
}
@keyframes aurora {
  0% { transform: translateX(-50%) translateY(0) scale(1); }
  100% { transform: translateX(-46%) translateY(18px) scale(1.06); }
}
.hero__inner { width: min(100% - 40px, 1000px); margin-inline: auto; }
.hero h1 { margin-top: 18px; font-size: var(--fs-display); letter-spacing: -0.03em; }
.hero h1 .grad-text { display: inline; }
.hero__actions { margin-top: var(--sp-4); display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero__figure {
  margin-top: var(--sp-6);
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}
/* 主图容器使用 4:3，与展厅实拍图比例一致，保证图片等比完整显示不裁切 */
.hero__figure .figure { aspect-ratio: 4 / 3; box-shadow: var(--sh-3); }
.hero__figure .figure__img { object-fit: contain; object-position: center; }
.hero__figure .figure__device { width: 44%; max-width: 460px; }

@media (max-width: 640px) {
  .hero__figure .figure { aspect-ratio: 4 / 3; }
  .hero__figure .figure__device { width: 64%; }
}

/* ---------------- Showcase 整幅大图段 ---------------- */
.showcase {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  padding: clamp(48px, 8vw, 96px);
  background:
    radial-gradient(70% 120% at 85% 10%, rgba(0, 102, 204, 0.22), transparent 60%),
    linear-gradient(180deg, #0e1840, #0b1430);
  color: var(--on-dark);
}
.showcase .eyebrow { color: var(--brand-2); }
.showcase h2 { color: #fff; margin-top: 14px; max-width: 18ch; }
.showcase p { color: var(--on-dark-2); margin-top: 16px; max-width: 46ch; }
.showcase__grid {
  margin-top: var(--sp-5);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
}
.showcase__kpi {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-md);
  padding: var(--sp-3);
  background: rgba(255, 255, 255, 0.04);
}
.showcase__kpi b {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: #fff;
  letter-spacing: -0.02em;
}
.showcase__kpi span { font-size: var(--fs-xs); color: var(--on-dark-2); }
@media (max-width: 720px) { .showcase__grid { grid-template-columns: 1fr; } }

/* ---------------- 案例：非对称布局 ---------------- */
.cases {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--sp-4);
}
.cases__side { display: grid; gap: var(--sp-4); }
.cases__more { margin-top: var(--sp-4); text-align: center; }
.case-card {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.case-card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.case-card__body { padding: var(--sp-4); }
.case-card__ind { font-family: var(--font-mono); font-size: 0.7rem; color: var(--brand); letter-spacing: 0.1em; }
.case-card__title { font-size: var(--fs-h3); margin: 8px 0; }
.case-card__summary { font-size: var(--fs-sm); color: var(--ink-3); }
.case-card__metrics { display: flex; gap: var(--sp-3); margin-top: var(--sp-3); flex-wrap: wrap; }
.case-card__metrics b { font-family: var(--font-mono); color: var(--ink); font-size: 1.05rem; }
.case-card__metrics span { display: block; font-size: var(--fs-xs); color: var(--ink-3); }
@media (max-width: 860px) { .cases { grid-template-columns: 1fr; } }

/* ---------------- 关于页：里程碑 ---------------- */
.milestones { border-left: 2px solid var(--line); margin-left: 8px; }
.milestone {
  position: relative;
  padding: 0 0 var(--sp-5) var(--sp-4);
}
.milestone::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--brand-grad);
  box-shadow: 0 0 0 4px var(--bg-soft);
}
.milestone__year { font-family: var(--font-mono); color: var(--brand); font-size: 1rem; font-weight: 700; }
.milestone__title { font-size: var(--fs-h3); margin: 4px 0 6px; }
.milestone__desc { font-size: var(--fs-sm); color: var(--ink-3); max-width: 60ch; }

/* 价值观 */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); }
.value {
  padding: var(--sp-4);
  border-radius: var(--r-lg);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease),
    border-color var(--t) var(--ease), background var(--t) var(--ease);
}
.value:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-2);
  border-color: var(--line-strong);
  background: var(--bg);
}
.value h3 { font-size: var(--fs-h3); margin-bottom: 8px; letter-spacing: -0.02em; }
.value p { font-size: var(--fs-sm); color: var(--ink-3); }
.value--iso {
  padding: var(--sp-5);
  border-top: 3px solid var(--brand);
}
.value--iso h3 { font-size: 1.65rem; color: var(--brand); }
.value--iso p { font-size: 1rem; color: var(--ink-2); }
@media (max-width: 760px) { .values { grid-template-columns: 1fr; } }

/* 荣誉资质小图网格：始终可见，不被 reveal 动画隐藏 */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--sp-3);
  margin-top: var(--sp-5);
  opacity: 1 !important;
  transform: none !important;
}
.cert-thumb {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--r-md);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--sh-1);
  box-sizing: border-box;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t) var(--ease);
}
.cert-thumb:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-2);
  border-color: var(--line-strong);
}
.cert-thumb img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 6px;
  display: block;
}
@media (max-width: 980px) { .cert-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px) { .cert-grid { grid-template-columns: repeat(3, 1fr); gap: var(--sp-2); } }

/* ---------------- 产品页 ---------------- */
.page-hero { padding-top: clamp(120px, 14vw, 168px); padding-bottom: var(--sp-5); }
.page-hero h1 { font-size: var(--fs-h1); margin-top: 14px; }

/* ---------------- 解决方案页：编辑式大图交错排版 ---------------- */
.sols { display: grid; gap: clamp(48px, 7vw, 96px); }
.sol {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.sol:nth-child(even) { grid-template-columns: 1fr 1.1fr; }
.sol:nth-child(even) .sol__media { order: 2; }
.sol__media .figure { aspect-ratio: 4 / 3; box-shadow: var(--sh-2); }
.sol__title { font-size: var(--fs-h2); margin-top: 10px; letter-spacing: -0.02em; }
.sol__desc { margin-top: 14px; color: var(--ink-2); font-size: var(--fs-body); line-height: 1.8; }
.sol__points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.sol__points li {
  font-size: var(--fs-sm);
  color: var(--ink-2);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 980px;
  padding: 5px 13px;
}
.sol__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 22px;
  font-weight: 600;
  font-size: var(--fs-body);
  color: var(--brand);
}
.sol__link:hover { color: var(--brand-ink); }
.sol__link .btn__arrow { transition: transform var(--t) var(--ease); }
.sol__link:hover .btn__arrow { transform: translateX(4px); }
@media (max-width: 880px) {
  .sol, .sol:nth-child(even) { grid-template-columns: 1fr; }
  .sol:nth-child(even) .sol__media { order: 0; }
}

/* 产品网格（多产品并列，避免单产品独占）*/
.pgrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-4);
}
.pgrid--home { gap: var(--sp-4); }
.pgrid__more { margin-top: var(--sp-5); text-align: center; }
@media (max-width: 600px) { .pgrid { grid-template-columns: 1fr; } }

/* 首页：整体收紧，避免过长 */
body.home .section { padding-block: clamp(56px, 7vw, 80px); }
body.home .section-head { max-width: 64ch; margin-bottom: var(--sp-4); }
body.home .stats { padding-block: var(--sp-4); }
body.home .pgrid__more,
body.home .cases__more { margin-top: var(--sp-4); }
body.home .cases {
  display: block;
  max-width: 780px;
  margin-inline: auto;
}
body.home .cases__side { display: none; }
body.home .home-solutions__more { margin-top: var(--sp-4); text-align: center; }

.pcard {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg);
  box-shadow: var(--sh-1);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease),
    border-color var(--t) var(--ease);
}
.pcard:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-2);
  border-color: var(--line-strong);
}
/* 图片框：长方形预览框 + contain，产品照完整显示不裁切 */
.pcard__media {
  position: relative;
  aspect-ratio: 4 / 3;
  min-height: 220px;
  height: auto;
  padding: 0;
  background: var(--bg-soft); /* 浅灰底，让白底/透明产品图边界可见 */
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.pcard__media .figure {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  box-shadow: none;
  border-color: transparent;
  background: transparent;
  border-radius: 0;
  overflow: hidden;
}
.pcard__media .figure__img {
  width: 100%;
  height: 100%;
  object-fit: contain;       /* 等比缩放，完整显示，不裁切 */
  object-position: center;
  border-radius: 0;
  background: #fff;          /* 透明图兜底 */
  transition: transform var(--t-slow) var(--ease);
}
/* 有悬停能力时，图片轻微放大，营造纵深 */
@media (hover: hover) {
  .pcard:hover .pcard__media .figure__img { transform: scale(1.05); }
}
@media (max-width: 600px) {
  .pcard__media { min-height: 180px; }
}
/* 卡片文字限高，防止描述过长导致网格高低不齐 */
.pcard__desc {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pcard__feats {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pcard__body {
  padding: var(--sp-4);
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

/* 有悬停能力的设备：默认只显示大图，悬停浮出产品文字信息 */
@media (hover: hover) {
  .pcard__media { border-bottom: none; }
  .pcard__body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    flex: none;
    gap: 6px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
    transform: translateY(102%);
    opacity: 0;
    transition: transform var(--t) var(--ease), opacity var(--t) var(--ease);
  }
  .pcard:hover .pcard__body,
  .pcard:focus-within .pcard__body {
    transform: translateY(0);
    opacity: 1;
  }
  /* 悬停提示：默认在图底显示极淡的产品名，提示可悬停 */
  .pcard__media::after {
    content: "悬停查看详情";
    position: absolute;
    left: 12px;
    bottom: 12px;
    font-family: var(--font-mono);
    font-size: 0.66rem;
    letter-spacing: 0.08em;
    color: var(--ink-3);
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--line);
    padding: 4px 10px;
    border-radius: var(--r-pill);
    transition: opacity var(--t) var(--ease);
  }
  .pcard:hover .pcard__media::after { opacity: 0; }
}
.pcard__code {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--brand);
  letter-spacing: 0.1em;
}
.pcard__name { font-size: var(--fs-h3); letter-spacing: -0.01em; }
.pcard__tag { font-size: var(--fs-sm); color: var(--ink-3); }
.pcard__desc {
  font-size: var(--fs-sm);
  color: var(--ink-3);
  line-height: 1.7;
  margin-top: 2px;
}
.pcard__feats {
  display: grid;
  gap: 7px;
  margin-top: 8px;
}
.pcard__feats li {
  position: relative;
  padding-left: 16px;
  font-size: var(--fs-sm);
  color: var(--ink-2);
}
.pcard__feats li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-grad);
}
.pcard__link {
  margin-top: auto;
  padding-top: 14px;
  color: var(--brand);
  font-weight: 600;
  font-size: var(--fs-sm);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.pcard__link:hover { color: var(--brand-ink); }

/* 产品分类索引 —— 图文卡片（类目代表产品图 + 名称，编辑式大图风） */
.pcats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.pcats__item {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--sh-1);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease),
    border-color var(--t) var(--ease);
}
.pcats__item:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-2);
  border-color: var(--line-strong);
}
.pcats__thumb {
  aspect-ratio: 4 / 3;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.pcats__thumb .figure {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  box-shadow: none;
  border-color: transparent;
  background: transparent;
  border-radius: 0;
  overflow: hidden;
}
.pcats__thumb .figure__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 0;
  background: #fff;
  transition: transform var(--t-slow) var(--ease);
}
@media (hover: hover) {
  .pcats__item:hover .pcats__thumb .figure__img { transform: scale(1.06); }
}
.pcats__body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 18px;
}
.pcats__name {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color var(--t) var(--ease);
}
.pcats__item.is-active {
  border-color: var(--brand);
  box-shadow: var(--sh-glow);
}
.pcats__item.is-active .pcats__name { color: var(--brand); }

@media (max-width: 1080px) {
  .pcats { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .pcats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .pcats__body { padding: 12px 14px; }
  .pcats__name { font-size: 0.92rem; }
}
@media (max-width: 420px) {
  .pcats { grid-template-columns: 1fr; }
}
.pgroup--hidden { display: none !important; }
.pgroup { scroll-margin-top: 96px; }

/* 产品分组区块 */
.pgroup + .pgroup {
  border-top: 1px solid var(--line);
  padding-top: var(--sp-6);
}
.pgroup__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
}
.pgroup__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--brand);
}
.pgroup__title {
  font-size: var(--fs-h2);
  margin-top: 6px;
  letter-spacing: -0.02em;
}
.pgroup__count {
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  color: var(--ink-3);
  white-space: nowrap;
}
@media (max-width: 640px) {
  .pgroup__head { flex-direction: column; align-items: flex-start; }
}

/* 联系页 */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.contact-info { display: grid; gap: var(--sp-3); }
.contact-info__item {
  display: flex;
  gap: 14px;
  padding: var(--sp-3);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--bg-soft);
}
.contact-info__item .ic {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--brand-grad-soft);
  color: var(--brand);
  display: grid;
  place-items: center;
}
.contact-info__item h4 { font-size: var(--fs-sm); color: var(--ink-3); font-weight: 600; }
.contact-info__item p { font-size: var(--fs-body); color: var(--ink); }
@media (max-width: 860px) { .contact-layout { grid-template-columns: 1fr; } }


/* ---------------- 通用：左对齐区块标题 ---------------- */
.section-head--left { text-align: left; }
.section-head--left .eyebrow { margin-inline: 0; }

/* ---------------- 服务渠道图标（纯 CSS，守红线无图） ---------------- */
.value__ic {
  display: block;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  margin-bottom: 16px;
  background: var(--brand-grad-soft);
  border: 1px solid rgba(0, 102, 204, 0.22);
  position: relative;
}
.value__ic::after {
  content: "";
  position: absolute;
  inset: 13px;
  border-radius: 4px;
  background: var(--brand-grad);
  opacity: 0.85;
  -webkit-mask: linear-gradient(135deg, #000 40%, transparent 40%),
    linear-gradient(45deg, transparent 60%, #000 60%);
  mask: linear-gradient(135deg, #000 40%, transparent 40%),
    linear-gradient(45deg, transparent 60%, #000 60%);
}

/* ---------------- FAQ 折叠 ---------------- */
.faq { border-top: 1px solid var(--line); max-width: 880px; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: var(--sp-3) 0;
  font-size: var(--fs-h3);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__sign {
  flex: none;
  width: 22px;
  height: 22px;
  position: relative;
  border-radius: 50%;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  transition: transform var(--t) var(--ease);
}
.faq__sign::before,
.faq__sign::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 2px;
  background: var(--brand);
  transform: translate(-50%, -50%);
}
.faq__sign::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform var(--t) var(--ease); }
.faq__item[open] .faq__sign::after { transform: translate(-50%, -50%) rotate(0); }
.faq__a { margin: 0 0 var(--sp-3); color: var(--ink-3); font-size: var(--fs-body); line-height: 1.8; max-width: 72ch; }
@media (prefers-reduced-motion: reduce) { .faq__sign { transition: none; } }

/* ---------------- 下载列表 ---------------- */
.doc-list { border-top: 1px solid var(--line); }
.doc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-4) 0;
  border-bottom: 1px solid var(--line);
}
.doc-row__cat {
  display: inline-block;
  font-size: 0.72rem;
  color: var(--brand);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 3px 12px;
  margin-bottom: 8px;
}
.doc-row__name { font-size: var(--fs-h3); margin: 0 0 6px; }
.doc-row__meta { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--ink-3); }
.doc-row__btn { flex: none; }
.doc-note { margin-top: var(--sp-4); font-size: var(--fs-sm); color: var(--ink-3); }
.doc-note a { color: var(--brand); }
@media (max-width: 640px) {
  .doc-row { flex-direction: column; align-items: flex-start; gap: var(--sp-3); }
}

/* ---------------- 招聘职位 ---------------- */
.job-list { border-top: 1px solid var(--line); }
.job-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-4) 0;
  border-bottom: 1px solid var(--line);
}
.job-row__title { font-size: var(--fs-h3); margin: 0 0 8px; }
.job-row__desc { color: var(--ink-3); font-size: var(--fs-sm); max-width: 60ch; }
.job-row__tags { flex: none; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tag-pill {
  font-size: 0.78rem;
  color: var(--ink-2);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 5px 14px;
}
@media (max-width: 640px) {
  .job-row { flex-direction: column; align-items: flex-start; gap: var(--sp-3); }
}

/* ---------------- CTA 双按钮 ---------------- */
.cta__actions { margin-top: var(--sp-4); display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* =============================================================
 * 首页产品类目卡片（点击跳转 products.html#cat-N）
 * ============================================================= */
.catgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
}
@media (max-width: 860px) { .catgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .catgrid { grid-template-columns: 1fr; } }
.catcard {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease),
    border-color var(--t) var(--ease);
}
.catcard:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-2);
  border-color: var(--line-strong);
}
.catcard__media {
  aspect-ratio: 4 / 3;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.catcard__media .figure {
  width: 100%; height: 100%; aspect-ratio: auto;
  box-shadow: none; border-color: transparent; background: transparent;
  border-radius: 0; overflow: hidden;
}
.catcard__media .figure__img {
  width: 100%; height: 100%;
  object-fit: contain; object-position: center;
  border-radius: 0; background: #fff;
}
.catcard__body {
  padding: var(--sp-4);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.catcard__name { font-size: var(--fs-h3); letter-spacing: -0.01em; }
.catcard__count {
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  color: var(--brand);
  white-space: nowrap;
}
.catcard__arrow {
  position: absolute;
  top: 14px; right: 14px;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  color: var(--brand);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity var(--t) var(--ease), transform var(--t) var(--ease);
}
.catcard:hover .catcard__arrow { opacity: 1; transform: translateY(0); }

/* =============================================================
 * 产品详情页
 * ============================================================= */
.breadcrumb-wrap { padding-top: clamp(104px, 12vw, 132px); padding-bottom: 0; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: var(--fs-sm); color: var(--ink-3); }
.breadcrumb a { color: var(--ink-3); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb .sep { color: var(--line-strong); }
.breadcrumb .cur { color: var(--ink); font-weight: 600; }

.pdetail { padding-top: var(--sp-4); padding-bottom: var(--sp-5); }
.pdetail__hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
@media (max-width: 880px) { .pdetail__hero { grid-template-columns: 1fr; } }
.pdetail__media {
  aspect-ratio: 4 / 3;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pdetail__media .figure {
  width: 100%; height: 100%; aspect-ratio: auto;
  box-shadow: none; border-color: transparent; background: transparent;
  border-radius: 0; overflow: hidden;
}
.pdetail__media .figure__img {
  width: 100%; height: 100%;
  object-fit: contain; object-position: center;
  border-radius: 0; background: #fff;
}
.pdetail__code { font-family: var(--font-mono); font-size: 0.78rem; color: var(--brand); letter-spacing: 0.1em; }
.pdetail__name { font-size: var(--fs-h1); margin: 10px 0 12px; letter-spacing: -0.02em; }
.pdetail__tag { font-size: var(--fs-lead); color: var(--ink-2); margin-bottom: var(--sp-3); }
.pdetail__desc { font-size: var(--fs-body); color: var(--ink-3); line-height: 1.85; max-width: 54ch; }
.pdetail__meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: var(--sp-4) 0;
  padding: var(--sp-3) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.pdetail__meta span { display: block; font-size: var(--fs-xs); color: var(--ink-3); margin-bottom: 4px; }
.pdetail__meta b { font-size: var(--fs-body); color: var(--ink); font-weight: 600; }
@media (max-width: 560px) { .pdetail__meta { grid-template-columns: 1fr; gap: 10px; } }
.pdetail__actions { display: flex; gap: 14px; flex-wrap: wrap; }

.featgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); }
@media (max-width: 760px) { .featgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .featgrid { grid-template-columns: 1fr; } }
.feat {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: var(--sp-3) var(--sp-4);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--bg);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease),
    border-color var(--t) var(--ease);
}
.feat:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-1);
  border-color: var(--line-strong);
}
.feat__no {
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  color: var(--brand);
  background: var(--brand-grad-soft);
  border-radius: 9px;
  padding: 4px 9px;
  flex: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.feat__name { font-size: var(--fs-body); color: var(--ink); font-weight: 600; }

.relgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); }
@media (max-width: 860px) { .relgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .relgrid { grid-template-columns: 1fr; } }



/* ---------------- OEM 代工页：合作模式卡片 ---------------- */
.oem-modes { align-items: stretch; }
.oem-mode { display: flex; flex-direction: column; height: 100%; }
.oem-mode:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-2);
  border-color: var(--brand);
}
.oem-mode .solution-card__points { margin-top: auto; padding-top: var(--sp-3); }

/* ---------------- OEM 代工页：模式对照表 ---------------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.spec-table {
  width: 100%;
  min-width: 600px;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: var(--fs-sm);
  border: 1px solid var(--line);
}
.spec-table__caption {
  caption-side: bottom;
  padding: 10px 4px 0;
  text-align: left;
  font-size: var(--fs-xs);
  color: var(--ink-3);
}
.spec-table thead th:nth-child(1) { width: 15%; }
.spec-table thead th:nth-child(2),
.spec-table thead th:nth-child(3) { width: 34.5%; }
.spec-table thead th:nth-child(4) { width: 16%; }
.spec-table th,
.spec-table td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  word-break: break-word;
}
.spec-table thead th {
  font-size: var(--fs-xs);
  letter-spacing: 0.04em;
  color: var(--ink-3);
  background: var(--bg-soft);
  border-bottom: 2px solid var(--line-strong);
  white-space: nowrap;
}
.spec-table tbody th {
  font-weight: 600;
  color: var(--brand);
  white-space: nowrap;
}
.spec-table td { color: var(--ink-2); line-height: 1.7; }
.spec-table tbody tr:last-child th,
.spec-table tbody tr:last-child td { border-bottom: none; }
.spec-table tbody tr:hover { background: var(--bg-warm); }

/* OEM 关键数据条：删除第 4 项后调整为 3 列 */
.stats--3 { grid-template-columns: repeat(3, 1fr); }
.stats--3 .stats__item:nth-child(3) { border-right: none; }
@media (max-width: 760px) {
  .stats--3 { grid-template-columns: 1fr; }
  .stats--3 .stats__item {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
  .stats--3 .stats__item:last-child { border-bottom: none; }
}

/* ---------------- OEM 代工页：流程步骤 ---------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
  list-style: none;
  margin: 0;
  padding: 0;
}
.step {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--sp-4);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease),
    border-color var(--t) var(--ease);
}
.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-2);
  border-color: var(--brand);
}
.step__no {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--brand);
  background: var(--brand-grad-soft);
  border: 1px solid rgba(0, 102, 204, 0.18);
  border-radius: 980px;
  padding: 3px 11px;
  margin-bottom: 14px;
}
.step__title { font-size: var(--fs-h3); margin-bottom: 8px; letter-spacing: -0.02em; }
.step__desc { font-size: var(--fs-sm); color: var(--ink-3); line-height: 1.7; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }

