/* 原图氛围底图（已去字）+ HTML 文字叠层 */
.sol-archive-page {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: transparent;
}

.sol-archive-bg {
  position: relative;
  width: 100%;
  line-height: 0;
}

.sol-archive-bg img {
  width: 100%;
  height: auto;
  display: block;
  user-select: none;
  pointer-events: none;
  -webkit-user-drag: none;
}

.sol-archive-caption {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  max-width: min(86%, 900px);
  width: max-content;
  transform: translate(-50%, -50%);
  margin: 0;
  padding: 18px 24px;
  text-align: center;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
  line-height: 1.45;
  cursor: text;
  -webkit-user-select: text;
  user-select: text;
}

.sol-archive-caption p {
  margin: 0;
  color: #fff;
  cursor: text;
  -webkit-user-select: text;
  user-select: text;
}

.sol-archive-caption p:nth-child(1) {
  font-size: clamp(16px, 1.8vw, 28px);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.sol-archive-caption p:nth-child(2) {
  margin-top: 10px;
  font-size: clamp(20px, 2.6vw, 40px);
  font-weight: 700;
  line-height: 1.3;
}

.sol-archive-caption p:nth-child(3) {
  margin-top: 12px;
  font-size: clamp(15px, 1.5vw, 24px);
  font-weight: 500;
  opacity: 0.95;
}

.consult-float {
  position: fixed;
  left: 0;
  top: 42%;
  z-index: 80;
  width: 44px;
  background: var(--blue);
  color: #fff;
  border-radius: 0 8px 8px 0;
  padding: 12px 8px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  writing-mode: vertical-rl;
  letter-spacing: 2px;
}

.consult-chat {
  writing-mode: horizontal-tb;
  width: 22px;
  height: 22px;
  background: #fff;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 4h16v12H7l-3 3V4zm3 4v2h10V8H7zm0 4v2h7v-2H7z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 4h16v12H7l-3 3V4zm3 4v2h10V8H7zm0 4v2h7v-2H7z'/%3E%3C/svg%3E") center / contain no-repeat;
}

@media (max-width: 760px) {
  .consult-float {
    display: none;
  }
}

/* 左右两栏同排；VS 叠在中间，不占单独列 */
.sol-archive-compare {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr;
  pointer-events: none;
}

.compare-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  gap: 0;
  min-height: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  pointer-events: auto;
  user-select: text;
  -webkit-user-select: text;
}

.compare-pain {
  grid-column: 1;
  grid-row: 1;
  padding: 7% 12% 10% 20%;
  z-index: 1;
}

.compare-solve {
  grid-column: 2;
  grid-row: 1;
  padding: 7% 11%  10% 33%;
  z-index: 1;
}

.compare-item {
  display: block;
  position: relative;
  flex: 0 0 auto;
}

.compare-item + .compare-item {
  margin-top: clamp(10px, 1.4vw, 22px);
}

.compare-item h3,
.compare-item p,
.vs-label,
.vs-mark,
.sol-product-card h3,
.sol-cases-title,
.sol-products-title,
.sol-case-card span,
.sol-case-card figcaption,
.plan-nav-item,
.plan-sub-item {
  user-select: text;
  -webkit-user-select: text;
}

.compare-item h3 {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 8px;
  padding: 6px 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, #4a86f0, #2f6fe0);
  color: #fff;
  font-size: clamp(12px, 0.95vw, 17px);
  font-weight: 700;
  letter-spacing: 0.5px;
  line-height: 1.4;
}

.compare-item p {
  display: block;
  margin: 0;
  padding: 0;
  max-width: 34em;
  color: #222;
  font-size: clamp(11px, 0.84vw, 15px);
  line-height: 1.7;
  background: none;
  box-shadow: none;
}

.compare-vs {
  grid-column: 1 / -1;
  grid-row: 1;
  position: relative;
  z-index: 3;
  width: auto;
  min-width: 0;
  height: auto;
  min-height: 0;
  margin: auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1.2vw, 22px);
  align-self: center;
  justify-self: center;
  pointer-events: auto;
  -webkit-user-select: text;
  user-select: text;
}

.vs-label {
  position: static;
  top: auto;
  transform: none;
  color: #2f6fe0;
  font-size: clamp(22px, 2.1vw, 40px);
  font-weight: 800;
  letter-spacing: 2px;
  line-height: 1.25;
  text-align: center;
  white-space: normal;
  background: none;
  flex: 0 0 auto;
}

.vs-label-l,
.vs-label-r {
  left: auto;
  right: auto;
}

.vs-mark {
  position: relative;
  z-index: 2;
  color: #f0b000;
  font-size: clamp(40px, 3.6vw, 68px);
  font-weight: 800;
  font-style: italic;
  letter-spacing: 1px;
  line-height: 1;
  background: none;
  flex: 0 0 auto;
  text-shadow:
    0 2px 0 #fff,
    0 6px 14px rgba(240, 176, 0, 0.28);
}

@media (max-width: 900px) {
  .sol-archive-page {
    background: transparent;
  }

  .sol-archive-bg {
    display: none;
  }

  .sol-archive-compare {
    position: relative;
    inset: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px 16px 36px;
    pointer-events: auto;
  }

  .compare-pain,
  .compare-solve {
    grid-column: auto;
    grid-row: auto;
    padding: 20px 16px 14px;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    justify-content: flex-start;
  }

  .compare-pain { order: 1; }
  .compare-vs { order: 2; }
  .compare-solve { order: 3; }

  .compare-vs {
    position: relative;
    width: auto;
    min-width: 0;
    height: auto;
    min-height: 0;
    margin: 8px auto;
    gap: 16px;
    background: none;
  }

  .vs-label {
    font-size: 22px;
  }

  .vs-label-l,
  .vs-label-r {
    left: auto;
    right: auto;
  }

  .vs-mark {
    font-size: 40px;
  }

  .compare-item + .compare-item {
    margin-top: 16px;
  }

  .compare-item h3 {
    font-size: 14px;
    margin-bottom: 8px;
  }

  .compare-item p {
    font-size: 13px;
    max-width: none;
    background: none;
  }
}

/* 本页对比区下方 CTA 去底色 */
body:has(.sol-archive-page) .footer-cta {
  background: transparent;
}

/* —— 档案库室建设方案：侧栏 + 三维图 —— */
.sol-archive-plan {
  width: 100%;
  padding: 36px 0 56px;
  background: #fff;
}

.plan-title {
  margin: 0 0 28px;
  text-align: center;
  font-size: clamp(26px, 2.4vw, 36px);
  font-weight: 700;
  color: #333;
  letter-spacing: 2px;
}

.plan-body {
  display: grid;
  grid-template-columns: minmax(180px, 220px) minmax(0, 1fr) minmax(180px, 220px);
  gap: 18px;
  /* 勿 stretch：侧栏更高时若拉高中间 figure，热点 top% 会相对「空白容器」而非图片，拖到底部会掉出图外 */
  align-items: start;
  width: min(1360px, calc(100% - 40px));
  margin: 0 auto;
}

.plan-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 10px;
  background: #fff;
  border: 1px solid #e8ecf2;
  border-radius: 4px;
  box-shadow: 0 4px 18px rgba(30, 50, 90, 0.06);
  max-height: min(640px, 72vh);
  overflow-y: auto;
}

.plan-group {
  display: flex;
  flex-direction: column;
}

.plan-nav-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin: 0;
  padding: 14px 12px;
  border: 0;
  border-radius: 2px;
  background: transparent;
  color: #444;
  font-size: 15px;
  font-weight: 400;
  text-align: center;
  line-height: 1.45;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.plan-nav-item:hover {
  background: #eef5ff;
  color: #2f6fe0;
}

.plan-nav-item.is-active,
.plan-group.is-open > .plan-nav-item.has-sub {
  background: #dceaff;
  color: #2f6fe0;
  font-weight: 600;
}

.plan-nav-item.has-sub {
  position: relative;
  font-weight: 600;
  justify-content: center;
}

.plan-caret {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border: 1.5px solid currentColor;
  border-top: 0;
  border-left: 0;
  transform: rotate(45deg) translateY(-2px);
  opacity: 0.7;
  transition: transform 0.18s ease;
}

.plan-group.is-open > .plan-nav-item .plan-caret {
  transform: rotate(225deg) translateY(-1px);
}

.plan-sub {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 4px 0 8px;
}

.plan-group.is-open > .plan-sub {
  display: flex;
}

.plan-sub-item {
  display: block;
  width: 100%;
  margin: 0;
  padding: 10px 12px;
  border: 0;
  border-radius: 2px;
  background: transparent;
  color: #555;
  font-size: 14px;
  text-align: center;
  line-height: 1.4;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.plan-sub-item:hover {
  background: #f3f8ff;
  color: #2f6fe0;
}

.plan-sub-item.is-active {
  color: #2f6fe0;
  font-weight: 600;
  background: #eef5ff;
}

.plan-visual {
  margin: 0;
  background: #fff;
  border-radius: 4px;
  /* 高度只跟示意图走，不跟随侧栏被 grid stretch */
  align-self: start;
  width: 100%;
}

/* 热点/% 定位层：必须与 <img> 同宽同高，不能用被拉高的外层 */
.plan-visual-stage {
  position: relative;
  width: 100%;
  line-height: 0;
  /* 允许设备浮层超出图区，避免图片/文字被裁切 */
  overflow: visible;
}

.plan-visual-stage > img,
.plan-visual > img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

.plan-visual .img-hotspots {
  position: absolute;
  inset: 0;
  z-index: 2;
  margin: 0;
  padding: 0;
  list-style: none;
  pointer-events: none;
}

.plan-visual .img-hotspots li {
  position: absolute;
  transform: translate(-50%, -50%);
  margin: 0;
  pointer-events: auto;
}

.plan-visual .img-hotspots span {
  display: inline-block;
  color: transparent;
  font-size: clamp(11px, 1.15vw, 16px);
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
  cursor: text;
  -webkit-user-select: text;
  user-select: text;
  padding: 2px 4px;
}

@media (max-width: 900px) {
  .sol-archive-plan {
    padding: 28px 0 40px;
  }

  .plan-body {
    grid-template-columns: 1fr;
    width: min(720px, calc(100% - 32px));
    gap: 16px;
  }

  .plan-nav-left {
    order: 1;
  }

  .plan-visual {
    order: 2;
  }

  .plan-nav-right {
    order: 3;
  }

  .plan-nav {
    max-height: none;
    flex-direction: column;
    gap: 2px;
    padding: 12px;
  }

  .plan-nav-item {
    width: 100%;
    padding: 12px;
    font-size: 14px;
  }

  .plan-sub-item {
    font-size: 13px;
  }

  .plan-title {
    margin-bottom: 18px;
    font-size: 24px;
  }
}

/* —— 方案涉及的产品：按「组」自动轮播 —— */
.sol-products {
  width: 100%;
  padding: 48px 0 64px;
  background: #fff;
}

.sol-products-title {
  margin: 0 0 36px;
  text-align: center;
  font-size: clamp(26px, 2.4vw, 36px);
  font-weight: 700;
  color: #333;
  letter-spacing: 2px;
}

.sol-products-carousel {
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
}

.sol-products-viewport {
  overflow: hidden;
  width: 100%;
}

.sol-products-track {
  display: flex;
  will-change: transform;
  transition: transform 0.6s ease;
}

/* 每一组占满视口宽度，组内网格：上 4、下 3 居中 */
.sol-products-group {
  flex: 0 0 100%;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 4px 2px;
  box-sizing: border-box;
  padding: 0 4px;
}

.sol-product-card {
  width: 100%;
  text-align: center;
}

.sol-products-group .sol-product-card:nth-child(-n+4) {
  grid-column: span 3;
}

.sol-products-group .sol-product-card:nth-child(5) {
  grid-column: 2 / span 3;
}

.sol-products-group .sol-product-card:nth-child(6) {
  grid-column: 5 / span 3;
}

.sol-products-group .sol-product-card:nth-child(7) {
  grid-column: 8 / span 3;
}

.sol-product-media {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #f7f9fc;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sol-product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: transform 0.35s ease;
}

.sol-product-card:hover .sol-product-media img {
  transform: scale(1.08);
}

.sol-product-card h3 {
  margin: 4px 0 0;
  color: #333;
  font-size: clamp(15px, 1.15vw, 18px);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.5px;
}

.sol-products-dots {
  display: none;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.sol-products-carousel.has-multi .sol-products-dots {
  display: flex;
}

.sol-products-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #c9d3e0;
  cursor: pointer;
}

.sol-products-dots button.is-active {
  background: #2f6fe0;
  width: 20px;
  border-radius: 999px;
}

@media (max-width: 980px) {
  .sol-products-group {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 2px;
  }

  .sol-products-group .sol-product-card:nth-child(-n+4),
  .sol-products-group .sol-product-card:nth-child(5),
  .sol-products-group .sol-product-card:nth-child(6),
  .sol-products-group .sol-product-card:nth-child(7) {
    grid-column: auto;
  }
}

@media (max-width: 560px) {
  .sol-products {
    padding: 32px 0 48px;
  }

  .sol-products-group {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .sol-product-card h3 {
    font-size: 15px;
  }
}

/* —— 成功案例：静态网格 —— */
.sol-cases {
  width: 100%;
  padding: 48px 0 64px;
  background: #fff;
}

.sol-cases-title {
  margin: 0 0 36px;
  text-align: center;
  font-size: clamp(26px, 2.4vw, 36px);
  font-weight: 700;
  color: #333;
  letter-spacing: 2px;
}

.sol-cases-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px 14px;
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
}

.sol-case-card {
  margin: 0;
  text-align: center;
  color: #666;
}

.sol-case-media {
  display: block;
  width: 100%;
  max-width: 260px;
  margin: 0 auto;
  aspect-ratio: 385 / 287;
  overflow: hidden;
  border-radius: 8px;
  background: #f0f2f5;
  line-height: 0;
}

.sol-case-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.35s ease;
}

.sol-case-media:hover img {
  transform: scale(1.06);
}

.sol-case-card figcaption {
  display: block;
  margin-top: 10px;
  padding: 0 2px;
  font-size: 16px;
  line-height: 1.5;
  color: #666;
  user-select: text;
  -webkit-user-select: text;
  cursor: text;
}

.sol-case-card:hover figcaption {
  color: #2f6fe0;
}

@media (max-width: 980px) {
  .sol-cases-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 12px;
    width: min(560px, calc(100% - 32px));
  }
}

@media (max-width: 560px) {
  .sol-cases {
    padding: 32px 0 48px;
  }

  .sol-cases-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    width: min(280px, calc(100% - 32px));
  }

  .sol-case-card figcaption {
    font-size: 15px;
  }
}

