/* ============================================================
   安兴宇联 · 页面区块样式 v2（浅色主题）
   文件名称：pages.css
   所属项目：安兴宇联官网
   最后更新：2026-08-24
   ============================================================ */

/* ---------- 页面横幅（子页顶部） ---------- */
.page-hero {
  position: relative; padding: calc(var(--nav-h) + 70px) 0 70px;
  overflow: hidden;
  background:
    radial-gradient(900px 420px at 85% 0%, rgba(0, 102, 255, 0.09), transparent 62%),
    var(--bg-0);
}
.page-hero .tech-grid {
  position: absolute; inset: 0;
  mask-image: radial-gradient(ellipse 80% 100% at 50% 0%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 100% at 50% 0%, #000 20%, transparent 70%);
}
.page-hero-content { position: relative; z-index: 2; }
.page-hero .crumbs {
  display: flex; gap: 0.5rem; align-items: center;
  font-size: var(--fs-tiny); color: var(--text-3); letter-spacing: 0.14em;
  margin-bottom: 1.2rem;
}
.page-hero .crumbs a { color: var(--text-2); }
.page-hero .crumbs a:hover { color: var(--blue); }
.page-hero .crumbs .sep { color: var(--line-1); }
.page-hero h1 {
  font-size: var(--fs-h1); font-weight: 800;
  background: linear-gradient(120deg, #1d1d1f 30%, var(--blue) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.page-hero .sub { color: var(--text-2); margin-top: 0.7rem; max-width: 600px; }

/* ---------- 页面横幅：右侧主题图标 ---------- */
.page-hero-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-4);
}
.page-hero-icon {
  position: relative; flex-shrink: 0;
  width: 168px; height: 168px;
  display: grid; place-items: center;
}
.page-hero-icon .ph-icon {
  width: 148px; height: 148px;
  display: grid; place-items: center;
  border-radius: 36px;
  background:
    radial-gradient(120% 120% at 30% 20%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0) 55%),
    linear-gradient(160deg, rgba(0, 102, 255, 0.14), rgba(0, 102, 255, 0.04));
  border: 1px solid rgba(0, 102, 255, 0.22);
  box-shadow: 0 20px 50px rgba(0, 60, 160, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  color: var(--blue);
  animation: phFloat 5s ease-in-out infinite;
  transform-style: preserve-3d;
}
.page-hero-icon .ph-icon svg { width: 74px; height: 74px; }
@keyframes phFloat {
  0%, 100% { transform: translateY(0) rotateX(0) rotateY(0); }
  50% { transform: translateY(-8px) rotateX(2deg) rotateY(-2deg); }
}
/* 光晕 */
.page-hero-icon::before {
  content: ""; position: absolute; inset: 12px;
  background: radial-gradient(50% 50% at 50% 50%, rgba(0, 102, 255, 0.18), transparent 72%);
  filter: blur(14px); z-index: -1;
  animation: phGlow 5s ease-in-out infinite;
}
@keyframes phGlow {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}
/* 环绕小图标 */
.ph-orb {
  position: absolute; width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid rgba(0, 102, 255, 0.25);
  box-shadow: 0 8px 22px rgba(0, 60, 160, 0.10);
  color: var(--blue);
  animation: phOrb 6s ease-in-out infinite;
}
.ph-orb svg { width: 18px; height: 18px; }
.ph-orb.orb-1 { top: 2px; right: 8px; animation-delay: 0.8s; }
.ph-orb.orb-2 { bottom: 10px; left: 0; animation-delay: 1.6s; }
.ph-orb.orb-3 { bottom: -6px; right: 4px; animation-delay: 2.4s; }
@keyframes phOrb {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
/* 顶部小圆点装饰 */
.ph-dots {
  position: absolute; inset: 0; z-index: -1;
}
.ph-dots i {
  position: absolute; width: 5px; height: 5px; border-radius: 50%;
  background: var(--blue); opacity: 0.4;
}
.ph-dots i:nth-child(1) { top: 6%; left: 4%; }
.ph-dots i:nth-child(2) { top: 22%; right: 0; }
.ph-dots i:nth-child(3) { bottom: 16%; right: 22%; }
.ph-dots i:nth-child(4) { bottom: 4%; left: 30%; }
.ph-dots i:nth-child(5) { top: 0; left: 50%; }

@media (max-width: 760px) {
  .page-hero-inner { flex-direction: column; text-align: left; }
  .page-hero-icon { width: 120px; height: 120px; }
  .page-hero-icon .ph-icon { width: 104px; height: 104px; border-radius: 26px; }
  .page-hero-icon .ph-icon svg { width: 54px; height: 54px; }
  .ph-orb { display: none; }
}

/* ---------- 产品矩阵 ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.product-card { text-align: left; padding: var(--sp-3); min-height: 260px; display: flex; flex-direction: column; }
.product-card .p-num {
  font-family: var(--font-num); font-size: var(--fs-tiny);
  letter-spacing: 0.22em; color: var(--blue); opacity: 0.7;
}
.product-card h3 { margin: 0.7rem 0 0.5rem; font-size: var(--fs-h3); font-weight: 700; }
.product-card .p-desc { color: var(--text-3); font-size: var(--fs-small); flex: 1; }
.product-card .p-link {
  margin-top: 1.2rem; color: var(--blue); font-size: var(--fs-small);
  display: inline-flex; align-items: center; gap: 0.4rem;
  opacity: 0; transform: translateY(6px); transition: 0.35s var(--ease-out);
}
.product-card:hover .p-link { opacity: 1; transform: none; }

/* 产品图占位（机器人剪影 SVG 容器） */
.p-visual {
  height: 130px; margin: 0.8rem 0 0.4rem;
  display: grid; place-items: center;
  border: 1px solid var(--line-1); border-radius: var(--radius-sm);
  background:
    radial-gradient(200px 90px at 50% 110%, rgba(0, 102, 255, 0.10), transparent 70%),
    var(--bg-0);
  position: relative; overflow: hidden;
}
.p-visual svg { width: 88px; height: 88px; transition: transform 0.5s var(--ease-out); }
.product-card:hover .p-visual svg { transform: translateY(-6px) scale(1.06); }
.p-visual::after {
  content: ""; position: absolute; bottom: 0; left: 12%; right: 12%;
  height: 1px; background: var(--blue); opacity: 0.5;
}

/* ---------- 产品详情（products 页） ---------- */
.product-block { padding: var(--sp-6) 0; border-bottom: 1px solid var(--line-3); }
.product-block:last-child { border-bottom: 0; }
.product-row { display: grid; grid-template-columns: 1fr 1.2fr; gap: var(--sp-5); align-items: center; }
.product-row.rev .p-visual-large { order: 2; }
.p-visual-large {
  min-height: 340px; border: 1px solid var(--line-1); border-radius: var(--radius);
  display: grid; place-items: center; position: relative; overflow: hidden;
  background:
    radial-gradient(380px 200px at 50% 115%, rgba(0, 102, 255, 0.10), transparent 70%),
    var(--bg-0);
}
.p-visual-large svg { width: 220px; height: 220px; }
.p-visual-large::before {
  content: ""; position: absolute; inset: 12px;
  border: 1px dashed var(--line-1); border-radius: 10px;
}
.p-tag {
  display: inline-block; font-size: var(--fs-tiny);
  padding: 0.2rem 0.7rem; border-radius: 20px;
  border: 1px solid var(--blue-dim); color: var(--blue);
  background: var(--blue-dim); letter-spacing: 0.12em;
  margin-bottom: 1rem;
}
.product-block h2 { font-size: var(--fs-h2); margin-bottom: 0.8rem; }
.product-block .lead { color: var(--text-2); margin-bottom: 1.4rem; max-width: 560px; }
.spec-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem 1.4rem; }
.spec-list li {
  display: flex; gap: 0.7rem; font-size: var(--fs-small); color: var(--text-2);
}
.spec-list li b { color: var(--blue); font-family: var(--font-num); font-weight: 600; min-width: 84px; }

/* ---------- 方案 / 能力 ---------- */
.solution-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.solution-card .s-icon {
  width: 52px; height: 52px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--blue-dim); border: 1px solid var(--blue-dim);
  color: var(--blue); margin-bottom: 1.1rem;
}
.solution-card h3 { font-size: 1.08rem; margin-bottom: 0.5rem; }
.solution-card p { color: var(--text-3); font-size: var(--fs-small); }

/* ---------- 案例 ---------- */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.case-card { padding: 0; display: flex; flex-direction: column; height: 100%; }
.case-card .case-body { flex: 1; }
.case-card .case-result { margin-top: auto; }
.case-media {
  height: 190px; position: relative; overflow: hidden;
  display: grid; place-items: center;
  border-bottom: 1px solid var(--line-1);
  background:
    radial-gradient(260px 120px at 50% 115%, rgba(0, 102, 255, 0.10), transparent 70%),
    var(--bg-0);
}
.case-media svg { width: 92px; height: 92px; }
.case-media .cat {
  position: absolute; top: 12px; left: 12px;
  font-size: var(--fs-tiny); padding: 0.2rem 0.65rem;
  border-radius: 20px; background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line-1); color: var(--blue); letter-spacing: 0.08em;
}
.case-body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.case-body h3 { font-size: 1.06rem; margin-bottom: 0.6rem; min-height: 2.8em; }
.case-body p { color: var(--text-3); font-size: var(--fs-small); flex: 1; }
.case-body .case-result {
  margin-top: 1rem; padding-top: 0.9rem; border-top: 1px dashed var(--line-1);
  font-size: var(--fs-tiny); color: var(--green);
}
.case-body .case-result b { font-weight: 600; }

/* 案例筛选 tab */
.filter-bar { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-bottom: var(--sp-4); }
.filter-btn {
  padding: 0.5rem 1.2rem; border-radius: 40px;
  border: 1px solid var(--line-1); background: transparent;
  color: var(--text-2); font-size: var(--fs-small);
  transition: 0.3s;
}
.filter-btn:hover, .filter-btn.active { border-color: var(--blue); color: var(--blue); background: var(--blue-dim); }

/* ---------- 文档 / 下载列表 ---------- */
.doc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; align-items: stretch; }
.doc-card { padding: var(--sp-3); display: flex; flex-direction: column; height: 100%; }
.doc-card .d-type {
  font-size: var(--fs-tiny); letter-spacing: 0.2em; color: var(--blue);
  display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.8rem;
}
.doc-card h3 { font-size: 1.02rem; margin-bottom: 0.4rem; }
.doc-card .d-meta { color: var(--text-3); font-size: var(--fs-tiny); }
.doc-card .d-size {
  font-family: var(--font-num); color: var(--text-2); font-size: var(--fs-tiny);
  margin-top: auto; padding-top: 0.8rem;
}
.down-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 0; border-bottom: 1px solid var(--line-3); gap: 1rem;
}
.down-row:last-child { border-bottom: 0; }
.down-row .d-info { display: flex; align-items: center; gap: 1rem; min-width: 0; }
.down-row .d-icon {
  width: 42px; height: 42px; border-radius: 10px; flex-shrink: 0;
  background: var(--blue-dim); border: 1px solid var(--blue-dim);
  display: grid; place-items: center; color: var(--blue);
}
.down-row .d-name { font-size: var(--fs-small); }
.down-row .d-sub { color: var(--text-3); font-size: var(--fs-tiny); }
.down-row .d-act { display: flex; align-items: center; gap: 0.8rem; }
.down-row .d-act .d-size { font-family: var(--font-num); color: var(--text-3); font-size: var(--fs-tiny); }

/* ---------- 支持 / 视频 ---------- */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.video-card { padding: 0; overflow: hidden; }
.video-thumb {
  aspect-ratio: 16 / 9; position: relative;
  display: grid; place-items: center;
  background:
    radial-gradient(300px 150px at 50% 115%, rgba(0, 102, 255, 0.10), transparent 70%),
    var(--bg-0);
}
.video-thumb .play {
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.85); border: 1px solid var(--blue);
  color: var(--blue); font-size: 1.2rem;
  transition: 0.3s; box-shadow: var(--shadow-card);
}
.video-card:hover .play { background: var(--blue); color: #fff; box-shadow: var(--shadow-cyan); }
.video-info { padding: 1.1rem 1.3rem 1.3rem; }
.video-info h3 { font-size: var(--fs-small); margin-bottom: 0.3rem; }
.video-info .v-meta { color: var(--text-3); font-size: var(--fs-tiny); }

/* 售后服务流程 */
.service-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; counter-reset: step; }
.service-step { padding: var(--sp-3); position: relative; }
.service-step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-num); font-size: var(--fs-h2); font-weight: 700;
  color: transparent; -webkit-text-stroke: 1px var(--blue); opacity: 0.55;
  display: block; margin-bottom: 0.8rem;
}
.service-step h3 { font-size: 1.02rem; margin-bottom: 0.4rem; }
.service-step p { color: var(--text-3); font-size: var(--fs-small); }

/* ---------- 关于我们 ---------- */
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.value-card { text-align: center; padding: var(--sp-4) var(--sp-3); }
.value-card .v-icon {
  width: 60px; height: 60px; margin: 0 auto 1rem; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--blue-dim); color: var(--blue);
  background: radial-gradient(circle at 50% 30%, var(--blue-dim), transparent 70%);
}
.value-card h3 { font-size: 1.06rem; margin-bottom: 0.4rem; }
.value-card p { color: var(--text-3); font-size: var(--fs-small); }

.partner-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.partner-card {
  padding: var(--sp-3); text-align: center;
  color: var(--text-3); font-size: var(--fs-small);
  font-family: var(--font-num); letter-spacing: 0.1em;
}
.partner-card b { color: var(--text-2); font-size: 1.1rem; letter-spacing: 0.06em; display: block; margin-bottom: 0.2rem; }

.award-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.award-card { display: flex; gap: 1rem; align-items: flex-start; }
.award-card .a-year {
  font-family: var(--font-num); font-size: var(--fs-h2); font-weight: 700;
  color: var(--blue); opacity: 0.75; min-width: 64px;
}
.award-card h3 { font-size: var(--fs-small); margin: 0.3rem 0 0.2rem; }
.award-card p { color: var(--text-3); font-size: var(--fs-tiny); }

.timeline { position: relative; padding-left: 28px; }
.timeline::before {
  content: ""; position: absolute; left: 6px; top: 4px; bottom: 4px;
  width: 1px; background: var(--blue); opacity: 0.35;
}
.timeline li { position: relative; padding-bottom: var(--sp-3); }
.timeline li::before {
  content: ""; position: absolute; left: -26px; top: 8px;
  width: 9px; height: 9px; border-radius: 50%;
  background: #fff; border: 2px solid var(--blue);
  box-shadow: 0 0 10px var(--blue-glow);
}
.timeline .t-year { font-family: var(--font-num); color: var(--blue); font-weight: 700; }
.timeline .t-desc { color: var(--text-2); font-size: var(--fs-small); margin-top: 0.2rem; }

/* ---------- 订购咨询 ---------- */
.order-grid { display: grid; grid-template-columns: 1.5fr 0.9fr; gap: var(--sp-4); align-items: stretch; }
.form-card { padding: var(--sp-4); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.form-field { display: flex; flex-direction: column; gap: 0.4rem; min-width: 0; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: var(--fs-tiny); color: var(--text-2); letter-spacing: 0.06em; }
/* 联系方式偏好：单行不折行 */
.pref-row {
  display: flex; flex-wrap: wrap; gap: 1.2rem;
  font-size: var(--fs-small); color: var(--text-2);
}
.pref-row label {
  display: inline-flex; align-items: center; gap: 0.4rem;
  cursor: pointer; white-space: nowrap; flex-shrink: 0;
}
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  box-sizing: border-box;
  background: #fff; border: 1px solid var(--line-1);
  border-radius: var(--radius-sm); padding: 0.7rem 0.9rem;
  color: var(--text-1); font-size: var(--fs-small);
  transition: border-color 0.3s, box-shadow 0.3s; outline: none;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-dim);
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: var(--fs-tiny); color: var(--text-3); margin-top: 0.6rem; }
.form-ok {
  display: none; margin-top: 1rem; padding: 0.8rem 1rem;
  border: 1px solid rgba(10, 158, 84, 0.4); border-radius: var(--radius-sm);
  color: var(--green); font-size: var(--fs-small);
  background: rgba(10, 158, 84, 0.06);
}
.form-ok.show { display: block; }

/* 订购咨询页：右侧企业信息卡片窄化 */
.order-side { display: flex; flex-direction: column; height: 100%; }
.order-side .contact-card { width: 100%; }
/* 让右侧第一张卡弹性填满剩余空间，与左侧表单卡片高度对齐 */
.order-side .contact-card:first-child { flex: 1 1 auto; display: flex; flex-direction: column; }
.order-side .contact-card:first-child .c-item { flex: 1 1 auto; align-content: space-evenly; }
.contact-card { padding: var(--sp-4); margin-bottom: 1.2rem; }
.contact-card h3 {
  font-size: var(--fs-small); letter-spacing: 0.12em; color: var(--blue);
  margin-bottom: 1rem; display: flex; align-items: center; gap: 0.6rem;
}
.contact-card .c-item {
  margin-bottom: 0.8rem;
  display: flex; align-items: flex-start; gap: 0.6rem;
}
.contact-card .c-item .lbl {
  font-size: var(--fs-tiny); color: var(--text-3);
  flex-shrink: 0; min-width: 52px; padding-top: 2px;
}
.contact-card .c-item .val {
  font-size: var(--fs-small); margin-top: 0;
  word-break: break-word;
  overflow-wrap: break-word;
  line-height: 1.55;
}
.qr-large {
  width: 108px; aspect-ratio: 1; flex-shrink: 0;
  border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  display: grid; place-items: center;
  background: repeating-conic-gradient(var(--line-3) 0 25%, transparent 0 50%) 0 0/12px 12px;
  color: var(--text-3); font-size: var(--fs-tiny);
}
.qr-row {
  display: flex; align-items: center; gap: 1rem;
}
.qr-info { display: flex; flex-direction: column; gap: 0.3rem; }

/* ---------- 首页案例轮播（竖版卡片） ---------- */
.carousel { position: relative; }
.carousel-track { overflow: hidden; border-radius: var(--radius); }
.carousel-slides {
  display: flex;
  gap: 20px;                          /* 卡片间距 20px */
  transition: transform 0.65s var(--ease-out);
  will-change: transform;
}
.case-slide {
  flex: 0 0 calc((100% - 40px) / 3);  /* 每屏 3 张（2 个 20px 间距） */
  min-width: 0;
  display: flex; flex-direction: column;   /* 竖向长方形 */
  min-height: 460px;
  background: var(--grad-card);
  border: 1px solid var(--line-1);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.case-slide:hover {
  border-color: rgba(0, 102, 255, 0.35);
  box-shadow: var(--shadow-card-hover);
}
.case-slide .case-media {
  height: 190px; position: relative;
  display: grid; place-items: center;
  border-bottom: 1px solid var(--line-1);
  background:
    radial-gradient(240px 110px at 50% 115%, rgba(0, 102, 255, 0.10), transparent 70%),
    var(--bg-0);
  overflow: hidden;
  flex-shrink: 0;
}
.case-slide .case-media img { width: 86px; height: 86px; transition: transform 0.4s var(--ease-out); }
.case-slide:hover .case-media img { transform: translateY(-5px) scale(1.05); }
.case-slide .case-media .cat {
  position: absolute; top: 12px; left: 12px;
  font-size: var(--fs-tiny); padding: 0.2rem 0.65rem;
  border-radius: 20px; background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line-1); color: var(--blue); letter-spacing: 0.08em;
}
.case-slide .case-body {
  padding: 1.4rem 1.4rem 1.5rem;
  display: flex; flex-direction: column; flex: 1;
}
.case-slide .case-body .n-date {
  font-family: var(--font-num); font-size: var(--fs-tiny); color: var(--text-3);
  margin-bottom: 0.6rem;
}
.case-slide .case-body .n-date b { color: var(--blue); font-weight: 700; margin-right: 0.4rem; }
.case-slide .case-body h3 { font-size: 1.12rem; margin-bottom: 0.55rem; min-height: 2.9em; line-height: 1.45; }
.case-slide .case-body p {
  color: var(--text-3); font-size: var(--fs-small);
  flex: 1; line-height: 1.7;
}
.case-slide .case-tag {
  display: inline-block; margin-top: 1rem;
  font-size: var(--fs-tiny); padding: 0.25rem 0.8rem;
  border-radius: 20px; background: var(--blue-dim);
  color: var(--blue); border: 1px solid var(--blue-dim);
  align-self: flex-start;
  transition: 0.3s var(--ease-out);
}
.case-slide:hover .case-tag { background: var(--blue); color: #fff; }
.carousel-nav {
  display: flex; align-items: center; justify-content: center;
  gap: 1.2rem; margin-top: 1.6rem;
}
.carousel-arrow {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line-1); background: #fff;
  color: var(--blue); font-size: 1rem;
  display: grid; place-items: center;
  box-shadow: var(--shadow-card);
  transition: 0.3s var(--ease-out);
}
.carousel-arrow:hover { border-color: var(--blue); background: var(--blue-dim); transform: translateY(-2px); }
.carousel-dots { display: flex; gap: 0.5rem; }
.carousel-dots button {
  width: 8px; height: 8px; border-radius: 20px;
  border: 0; padding: 0; cursor: pointer;
  background: var(--line-1);
  transition: all 0.4s var(--ease-out);
}
.carousel-dots button.active {
  width: 26px; background: var(--blue);
  box-shadow: 0 0 10px var(--blue-glow);
}

@media (max-width: 1024px) {
  .case-slide { flex: 0 0 calc((100% - 20px) / 2); }   /* 平板 2 张 */
}
@media (max-width: 640px) {
  .case-slide { flex: 0 0 100%; }                        /* 手机 1 张 */
}

/* ---------- 新闻/预览 ---------- */
.news-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.news-item {
  display: flex; gap: 1.2rem; align-items: flex-start;
  padding: 1.2rem 1.4rem;
  background: var(--grad-card); border: 1px solid var(--line-1);
  border-radius: var(--radius); transition: 0.35s var(--ease-out);
}
.news-item:hover {
  border-color: rgba(0, 102, 255, 0.35); transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}
.news-item .n-date {
  font-family: var(--font-num); font-size: var(--fs-tiny); color: var(--text-3);
  min-width: 84px; line-height: 1.5; border-right: 1px solid var(--line-3);
  padding-right: 1rem;
}
.news-item .n-date b { display: block; font-size: 1.2rem; color: var(--blue); }
.news-item h3 { font-size: var(--fs-small); margin-bottom: 0.3rem; }
.news-item p { color: var(--text-3); font-size: var(--fs-tiny); }

/* ---------- CTA 横幅 ---------- */
.cta-band {
  position: relative; overflow: hidden;
  border-radius: var(--radius); padding: var(--sp-5) var(--sp-4);
  text-align: center;
  border: 1px solid rgba(0, 102, 255, 0.22);
  background:
    radial-gradient(520px 220px at 50% 0%, rgba(0, 102, 255, 0.08), transparent 70%),
    #f6f9ff;
}
.cta-band h2 { font-size: var(--fs-h2); margin-bottom: 0.6rem; }
.cta-band p { color: var(--text-2); margin-bottom: 1.6rem; }
.cta-band .btn-row { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .product-grid, .solution-grid, .value-grid, .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .case-grid, .doc-grid, .video-grid, .award-grid, .service-steps { grid-template-columns: repeat(2, 1fr); }
  .product-row, .order-grid { grid-template-columns: 1fr; gap: var(--sp-4); }
  .product-row.rev .p-visual-large { order: 0; }
}
@media (max-width: 640px) {
  .product-grid, .solution-grid, .case-grid, .doc-grid, .video-grid,
  .value-grid, .partner-grid, .award-grid, .service-steps, .news-list { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .spec-list { grid-template-columns: 1fr; }
}

/* ---------- 搜索栏 ---------- */
.search-bar {
  display: flex; align-items: center; gap: 0.8rem;
  max-width: 480px; margin: 1.4rem 0 0;
  padding: 0.6rem 1rem;
  background: #fff; border: 1px solid var(--line-1);
  border-radius: 40px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.search-bar:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-dim); }
.search-bar svg { width: 18px; height: 18px; color: var(--text-3); flex-shrink: 0; }
.search-bar input {
  flex: 1; border: 0; outline: 0; background: transparent;
  font-size: var(--fs-small); color: var(--text-1);
}
.search-bar input::placeholder { color: var(--text-3); }
.search-bar .search-clear {
  border: 0; background: none; color: var(--text-3);
  font-size: 0.8rem; cursor: pointer; padding: 2px 4px;
}
.search-bar .search-clear:hover { color: var(--blue); }

/* 筛选工具行（tab + 搜索组合） */
.filter-tools {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 1rem;
  margin-bottom: var(--sp-4);
}
.filter-tools .filter-bar { margin-bottom: 0; }
.filter-tools .search-bar { margin: 0; }

/* ---------- 通用 Modal ---------- */
.modal-mask {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(6, 9, 15, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: grid; place-items: center;
  padding: 2rem;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s var(--ease-out), visibility 0.3s;
}
.modal-mask.show { opacity: 1; visibility: visible; }
.modal {
  background: #fff; border-radius: var(--radius);
  width: min(680px, 100%); max-height: 86vh; overflow: hidden;
  box-shadow: 0 40px 90px rgba(10, 30, 70, 0.25);
  display: flex; flex-direction: column;
  transform: translateY(16px) scale(0.98);
  transition: transform 0.35s var(--ease-out);
}
.modal-mask.show .modal { transform: none; }
.modal-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 1.4rem;
  border-bottom: 1px solid var(--line-1);
}
.modal-head h3 { font-size: 1.1rem; }
.modal-close {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--line-1); background: #fff;
  color: var(--text-2); font-size: 0.9rem; cursor: pointer;
  display: grid; place-items: center; transition: 0.25s;
}
/* hover 仅变色/背景，保留动效但无位移（去掉旋转） */
.modal-close:hover { color: var(--blue); border-color: var(--blue); background: var(--blue-dim); }
.modal-body { padding: 1.4rem; overflow-y: auto; }
.modal-foot {
  padding: 1rem 1.4rem; border-top: 1px solid var(--line-1);
  display: flex; justify-content: flex-end; gap: 0.8rem;
}

/* 文档详情 */
.doc-detail h4 { font-size: 1.15rem; margin-bottom: 0.3rem; }
.doc-detail .dd-meta { color: var(--text-3); font-size: var(--fs-tiny); margin-bottom: 1.2rem; }
.doc-detail p { color: var(--text-2); font-size: var(--fs-small); margin-bottom: 0.8rem; }

/* 视频播放器 */
.video-player { position: relative; background: #000; border-radius: 10px; overflow: hidden; aspect-ratio: 16/9; }
.video-player canvas, .video-player .video-fallback {
  width: 100%; height: 100%; display: grid; place-items: center;
}
.video-fallback {
  background:
    radial-gradient(360px 180px at 50% 45%, rgba(0, 102, 255, 0.18), transparent 70%),
    #0a0e17;
  color: var(--text-3); font-size: var(--fs-tiny);
  flex-direction: column; gap: 0.8rem;
}
.video-fallback svg { width: 56px; height: 56px; color: var(--blue); opacity: 0.7; }
.video-controls {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 0.9rem 1.1rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.75));
  display: flex; align-items: center; gap: 0.8rem;
}
.video-controls .vc-btn {
  width: 40px; height: 40px; border-radius: 50%;
  border: 0; background: rgba(255,255,255,0.18);
  color: #fff; font-size: 0.9rem; cursor: pointer;
  display: grid; place-items: center; transition: 0.25s;
  backdrop-filter: blur(4px);
}
.video-controls .vc-btn:hover { background: var(--blue); }
.video-controls .vc-time { color: #fff; font-size: var(--fs-tiny); font-family: var(--font-num); }
.video-progress {
  flex: 1; height: 4px; border-radius: 4px;
  background: rgba(255,255,255,0.25); position: relative; cursor: pointer;
}
.video-progress .vp-fill {
  position: absolute; left: 0; top: 0; bottom: 0; width: 0%;
  background: var(--blue); border-radius: 4px;
  transition: width 0.1s linear;
}

/* 保存位置选择窗 */
.save-dialog .sd-loc {
  display: flex; align-items: center; gap: 0.9rem;
  padding: 0.85rem 1rem; margin-bottom: 0.6rem;
  border: 1px solid var(--line-1); border-radius: var(--radius-sm);
  cursor: pointer; transition: 0.25s; background: #fff;
}
.save-dialog .sd-loc:hover, .save-dialog .sd-loc.selected { border-color: var(--blue); background: var(--blue-dim); }
.save-dialog .sd-loc .sd-icon {
  width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0;
  background: var(--blue-dim); border: 1px solid var(--blue-dim);
  color: var(--blue); display: grid; place-items: center;
}
.save-dialog .sd-loc .sd-name { font-size: var(--fs-small); font-weight: 600; }
.save-dialog .sd-loc .sd-path { font-size: var(--fs-tiny); color: var(--text-3); }
.save-dialog .sd-loc .sd-check { margin-left: auto; color: var(--blue); opacity: 0; }
.save-dialog .sd-loc.selected .sd-check { opacity: 1; }

/* ---------- 产品大图：1440px 铺满宽图（高度自适应） ---------- */
.gallery-full {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  position: relative;
}
.gallery-full .gallery-media {
  width: 100%;
  min-height: 320px;                 /* 默认高度（无图/占位时） */
  display: grid; place-items: center;
  background:
    radial-gradient(600px 260px at 50% 115%, rgba(0, 102, 255, 0.12), transparent 70%),
    linear-gradient(180deg, #f8fafd, #eef3fb);
  border-top: 1px solid var(--line-1);
  border-bottom: 1px solid var(--line-1);
  overflow: hidden;
  padding: 1.5rem 2rem;
}
.gallery-full .gallery-media img {
  max-width: 60%; max-height: 280px;  /* 默认占位图：适中高度，不超高 */
  width: auto; height: auto;
  object-fit: contain;
  display: block;
}
/* 后台已上传真实宽图时：铺满宽度、高度随图片比例自适应 */
.gallery-full .gallery-media img.photo {
  width: 100%; max-width: none;
  max-height: none; height: auto;
}
.gallery-full .gallery-cap {
  position: absolute; left: 50%; top: 22px; transform: translateX(-50%);
  display: flex; align-items: center; gap: 0.7rem;
  font-size: var(--fs-tiny); letter-spacing: 0.24em; color: var(--blue);
  text-transform: uppercase;
}
.gallery-full .gallery-cap::before,
.gallery-full .gallery-cap::after {
  content: ""; width: 26px; height: 1px; background: var(--blue); opacity: 0.5;
}

/* ---------- 页面顶部条（无 banner） ---------- */
.page-topbar {
  padding: calc(var(--nav-h) + 24px) 0 4px;
}
.page-topbar .crumbs {
  display: flex; gap: 0.5rem; align-items: center;
  font-size: var(--fs-tiny); color: var(--text-3); letter-spacing: 0.14em;
  margin-bottom: 0.8rem;
}
.page-topbar .crumbs a { color: var(--text-2); }
.page-topbar .crumbs a:hover { color: var(--blue); }
.page-topbar .crumbs .sep { color: var(--line-1); }
.page-topbar h1 {
  font-size: var(--fs-h2); font-weight: 800;
  background: linear-gradient(120deg, #1d1d1f 30%, var(--blue) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.page-topbar .sub { color: var(--text-2); margin-top: 0.4rem; font-size: var(--fs-small); }
/* 仅面包屑的顶部条：crumbs 贴近内容区，无需底部大间距 */
.page-topbar:not(:has(h1)) .crumbs { margin-bottom: 0.6rem; }
/* 顶部条后紧邻的内容区收紧顶部 padding，避免标题与面包屑间距过大 */
.page-topbar + section,
.page-topbar + .section,
.page-topbar + .section-tight { padding-top: 16px; }

/* ---------- 关于我们：图片展示 ---------- */
/* 公司介绍大图 banner（后台上传大图展示） */
.company-banner {
  position: relative;
  margin-bottom: var(--sp-4);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-0);
  border: 1px solid var(--line-1);
}
.company-banner .company-banner-img {
  width: 100%; height: auto; max-height: 420px;
  object-fit: cover; display: block;
}
/* 未上传大图时的 fallback：单个 icon 占位展示 */
.company-banner .company-banner-fallback {
  display: grid; place-items: center; align-content: center;
  min-height: 260px; gap: 0.9rem; padding: 1.4rem;
}
.company-banner-fallback svg { width: 88px; height: 88px; opacity: 0.5; }
.company-banner-fallback span { font-size: var(--fs-tiny); color: var(--text-3); letter-spacing: 0.12em; }

/* 企业文化 icon 图片 */
.value-card .v-icon { width: 84px; height: 84px; border-radius: 18px; }
.value-card .v-icon img { width: 54px; height: 54px; }

/* 企业实力图片 */
 .award-card .award-img {
  width: 72px; height: 72px; flex-shrink: 0;
  object-fit: contain;
  border-radius: 14px;
  background: var(--bg-0); border: 1px solid var(--line-1);
  padding: 10px;
}
.award-card { display: flex; gap: 1rem; align-items: center; }

/* 合作伙伴图片 */
.partner-card { display: flex; flex-direction: column; align-items: center; gap: 0.6rem; }
.partner-card .partner-img {
  width: 64px; height: 64px; object-fit: contain;
  border-radius: 14px;
  padding: 8px;
  background: var(--bg-0); border: 1px solid var(--line-1);
}
.partner-card b { font-size: 0.95rem; }

@media (max-width: 640px) {
  .company-banner-fallback { min-height: 180px; }
}

/* 关于我们页数字标签：横向 4 列均分（该页未引入 hero.css，此处补充） */
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-1);
  border-bottom: 1px solid var(--line-1);
}
.hero-stat { padding: 1.1rem 1rem 1.1rem 0; }
.hero-stat + .hero-stat { border-left: 1px solid var(--line-1); padding-left: 1.4rem; }

/* ============================================================
   CMS 动态内容：首页板块 / 空状态 / 分页轮播 / 多图 / 关于我们
   ============================================================ */

/* ---------- 空数据占位（区域居中，最小一张卡片高度） ---------- */
.ax-empty {
  min-height: 300px;
  display: grid; place-items: center; align-content: center;
  gap: 0.9rem;
  color: var(--text-3);
  background: var(--bg-0);
  border: 1px dashed var(--line-1);
  border-radius: var(--radius);
  font-size: var(--fs-small);
  padding: 2rem 1rem;
}
.ax-empty svg { width: 54px; height: 54px; opacity: 0.45; }

/* ---------- 首页板块分页容器 ---------- */
.cms-pager {
  display: flex; align-items: center; justify-content: center;
  gap: 1.1rem; margin-top: 1.6rem;
}
.cms-pager button {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line-1); background: #fff;
  color: var(--text-2); font-size: 1rem; cursor: pointer;
  display: grid; place-items: center; transition: 0.25s;
}
.cms-pager button:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-dim); }
.cms-page-info {
  font-family: var(--font-num); font-size: var(--fs-tiny);
  color: var(--text-3); letter-spacing: 0.1em;
}

/* 首页：产品矩阵（一行 4 张，最多两行） */
.home-matrix .cms-page-view {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem;
}
/* 首页：作业实况（一行 4 张） */
.home-videos .cms-page-view {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem;
}
/* 首页：客户与案例（一行 3 张，最多两行） */
.home-cases .cms-page-view {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem;
}

/* ---------- 核心赛道（背景图卡片，不可点击） ---------- */
.track-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.track-card {
  position: relative; min-height: 300px; overflow: hidden;
  background-size: cover; background-position: center;
  background-color: var(--bg-0);
  border: 1px solid var(--line-1);
}
.track-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,14,23,0.05) 30%, rgba(10,14,23,0.88) 100%);
}
.track-card .track-inner {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 1.3rem 1.4rem 1.5rem;
}
.track-card .t-idx {
  font-family: var(--font-num); font-size: var(--fs-tiny);
  color: var(--blue); letter-spacing: 0.2em; display: block; margin-bottom: 0.5rem;
}
.track-card h3 {
  color: #fff; font-size: 1.12rem; margin-bottom: 0.5rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.track-card p {
  color: rgba(255,255,255,0.82); font-size: var(--fs-small); line-height: 1.8;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 5.4em;   /* 固定 3 行区域，保证各卡片文字区域对齐 */
}

/* ---------- 首页大图区（Banner 下，多张 1440 宽屏） ---------- */
.gallery-media.has-photo { padding: 0; display: block; min-height: 0; }
.home-large-img { width: 100%; }
.home-large-img img.photo { width: 100%; height: auto; display: block; }
.home-large-img + .home-large-img { border-top: 2px solid var(--line-1); }

/* ---------- 产品大图：多图切换 ---------- */
.gallery-main { width: 100%; }
.gallery-main img { display: block; }
.gallery-media.has-photo .gallery-main img { width: 100%; height: auto; }
.gallery-thumbs {
  display: flex; gap: 0.7rem; flex-wrap: wrap;
  padding: 1rem 1.2rem; border-top: 1px solid var(--line-1);
  background: #fff;
}
.g-thumb {
  width: 110px; height: 64px; border-radius: 8px; overflow: hidden;
  border: 2px solid var(--line-1); cursor: pointer; opacity: 0.65;
  transition: 0.25s;
}
.g-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.g-thumb:hover { opacity: 1; }
.g-thumb.active { border-color: var(--blue); opacity: 1; }

/* ---------- 视频播放占位（资源待上传） ---------- */
.ax-player-placeholder {
  width: 100%; height: 100%; min-height: 420px;
  display: grid; place-items: center; align-content: center;
  gap: 0.8rem; color: #8fa0bd; background: #0a0e17;
  font-size: var(--fs-small);
}
.ax-player-placeholder svg { width: 56px; height: 56px; opacity: 0.6; }

/* ---------- 文档/下载：更新时间 ---------- */
.d-time { font-family: var(--font-num); font-size: var(--fs-tiny); color: var(--text-3); }
.down-row .d-time { margin-left: 0.2rem; }
.doc-card .d-time { margin-top: 0.4rem; display: inline-block; }
.doc-dl {
  display: inline-block; margin-top: 0.5rem;
  font-size: var(--fs-tiny); color: var(--blue);
  border: 1px solid var(--blue-dim); background: var(--blue-dim);
  padding: 0.25rem 0.8rem; border-radius: 20px; text-decoration: none;
}
.doc-dl:hover { background: var(--blue); color: #fff; }

/* ---------- 关于我们：公司介绍 ---------- */
.company-intro-text p { color: var(--text-2); }

/* ---------- 响应式：首页板块 ---------- */
@media (max-width: 1100px) {
  .home-matrix .cms-page-view, .home-videos .cms-page-view,
  .track-grid { grid-template-columns: repeat(2, 1fr); }
  .home-cases .cms-page-view { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .home-matrix .cms-page-view, .home-videos .cms-page-view,
  .home-cases .cms-page-view, .track-grid { grid-template-columns: 1fr; }
}

/* ---------- 关于我们/核心赛道 分页网格列数 ---------- */
.track-grid .cms-page-view,
.value-grid .cms-page-view { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.award-grid .cms-page-view { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.partner-grid .cms-page-view { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.2rem; }

@media (max-width: 1100px) {
  .track-grid .cms-page-view, .value-grid .cms-page-view,
  .partner-grid .cms-page-view { grid-template-columns: repeat(2, 1fr); }
  .award-grid .cms-page-view { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .track-grid .cms-page-view, .value-grid .cms-page-view,
  .award-grid .cms-page-view, .partner-grid .cms-page-view { grid-template-columns: 1fr; }
}

/* 产品大图：非宽屏图底色白色（需求 3.2.2） */
.gallery-full .gallery-media { background: #fff; }

/* ---------- 分页轮播容器：外层统一 block，网格由 .cms-page-view 承担 ----------
   修复：容器自身带 grid 时与内部 .cms-page-view 嵌套，导致卡片宽度塌缩 */
.home-matrix, .home-videos, .home-cases,
.track-grid, .value-grid, .award-grid, .partner-grid {
  display: block;
}

/* 核心赛道：固定卡片宽高 */
.track-card { width: 100%; height: 300px; }

/* ---------- 产品页无数据状态居中 ---------- */
/* 产品大图：非宽屏占位图在容器内水平垂直居中 */
.gallery-media:not(.has-photo) .gallery-main {
  display: grid; place-items: center;
  width: 100%; min-height: 320px;
}
/* 产品视频：空状态跨满整个网格区域，内容居中 */
.video-grid .ax-empty { grid-column: 1 / -1; }

/* ---------- 首页作业实况：卡片高度一致 ----------
   标题固定 2 行区域 + 描述单行省略，保证任意页卡片等高 */
.home-videos .video-card { height: 100%; }
.home-videos .video-info h3 {
  min-height: 2.9em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.home-videos .video-info .v-meta {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- 产品大图：多张竖向排列 ---------- */
.gallery-stack { width: 100%; }
.gallery-stack img { display: block; margin: 0 auto; }
.gallery-stack img.photo { width: 100%; height: auto; }
.gallery-stack img:not(.photo) { max-width: 60%; max-height: 280px; }
.gallery-stack + .gallery-stack { border-top: 2px solid var(--line-1); }

/* ---------- 视频播放弹窗：收窄宽度 + 防横向溢出 ---------- */
#video-modal .modal { width: min(720px, 100%); }
#video-modal .modal-body { padding: 0.8rem; overflow: hidden; }
#video-modal .video-player { width: 100%; max-width: 100%; aspect-ratio: 16/9; overflow: hidden; }
#video-modal .video-player video,
#video-modal .video-player .ax-player-placeholder {
  width: 100%; height: 100%; max-width: 100%;
  box-sizing: border-box;
}
#video-modal .ax-player-placeholder { min-height: 0; }

/* ---------- 弹窗底部关闭按钮：恢复正常按钮外观（避免被 .modal-close 圆形样式覆盖） ---------- */
.modal-foot .modal-close {
  width: auto; height: auto; border-radius: 40px;
  padding: 0.55rem 1.6rem;
  font-size: var(--fs-small); font-weight: 600;
  display: inline-flex; align-items: center; justify-content: center;
  transform: none;
}
.modal-foot .btn-primary.modal-close {
  border: 1px solid var(--blue);
  color: #fff; background: var(--blue);
}
.modal-foot .btn-primary.modal-close:hover {
  background: var(--blue-strong, #0052cc); color: #fff;
  transform: none;
}
.modal-foot .btn-ghost.modal-close {
  border: 1px solid var(--line-2);
  color: var(--blue); background: transparent;
}
.modal-foot .btn-ghost.modal-close:hover {
  background: var(--blue-dim); border-color: var(--blue);
  transform: none;
}

/* 文档下载按钮：无文件时禁用态 */
.modal-foot .is-disabled {
  opacity: 0.5; cursor: not-allowed; pointer-events: none;
}

/* ---------- 视频卡片播放按钮：仅调整位置，居中显示 ---------- */
.video-thumb .play {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  margin: 0; z-index: 2;
}

/* 防止 100vw 全宽区块因滚动条产生横向溢出 */
body { overflow-x: hidden; }

/* ---------- 首页产品矩阵卡片：缩略图占比增大 ---------- */
.product-card .p-visual {
  height: 210px;              /* 图片区域更高（原 130px） */
  margin: 0 0 1rem;           /* 去掉顶部编号后收紧，文字整体下移 */
}
.product-card .p-visual img {
  width: 100%; height: 100%;
  object-fit: cover;          /* 上传缩略图铺满整个视觉区 */
}
.product-card .p-visual svg { width: 100px; height: 100px; }
.product-card h3 { margin-top: 0.2rem; }

/* 后台上传的真实缩略图：绝对定位铺满视觉区（居中裁剪），占位 SVG 保持原样 */
.product-card .p-visual img[src*="/uploads/"] {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
