/* ============================================================
   solution-industrial-park.css - 工业园区解决方案页独有样式
   Figma: 6IQbrSkl6E8PGe3uxyY1gH node 1753-7119
   响应式断点与站内页面保持一致：1200 / 992 / 768 / 480
   ============================================================ */

/* ========== 主视觉 Banner ========== */
.sip-banner {
  position: relative;
  min-height: 620px;
  background: #1c3c55 url('../../assets/images/solution-industrial-park/hero-banner-23ca82.webp') center center / 100% 100% no-repeat;
}

/* Figma 渐变遮罩：linear-gradient(90deg, rgba(51,91,124,.7) 17%, rgba(31,31,31,0) 100%) */
.sip-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(51, 91, 124, 0.7) 17%, rgba(31, 31, 31, 0) 100%);
}

.sip-banner-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 620px;
  padding-top: 85px;
  padding-bottom: 30px;
  box-sizing: border-box;
}

.sip-banner-title {
  margin: 0;
  font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 48px;
  color: #FFFFFF;
}

/* Banner 描述（Figma 860×96，16/32，白色两端对齐） */
.sip-banner-desc {
  max-width: 860px;
  margin: 16px 0 0;
  font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
  font-size: 16px;
  line-height: 32px;
  color: #FFFFFF;
  text-align: justify;
}

/* Banner 底部价值卡（复用站内 .banner-values / .value-card 体系） */
.banner-values {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  max-width: 1540px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* 本页 Banner 内容区推底：价值卡贴 Banner 底部 */
.sip-banner .banner-values {
  max-width: none;
  margin: auto 0 0;
  padding: 40px 0 0;
  /* Figma #1822:7861：4 列 × 2 行，行距 16px、列距 24px */
  gap: 16px 24px;
}

.value-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 76px;
  padding: 0 32px;
  background: #F5F7FA;
  border-radius: 8px;
}

.value-card img {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.value-card span {
  font-size: 16px;
  line-height: 1.5;
  color: #393D40;
}

/* 预约演示按钮（Figma 128×42，圆角 6px，#DA0029） */
.sip-banner-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 128px;
  height: 42px;
  margin-top: 24px;
  background: #DA0029;
  border-radius: 6px;
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.25s ease;
}

.sip-banner-btn img {
  width: 30px;
  height: 30px;
  display: block;
}

.sip-banner-btn:hover {
  background: #ac0d2a;
  color: #FFFFFF;
}

/* 底部红粉双条 */
.sip-banner .banner-strip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  z-index: 1;
}

.sip-banner .strip-red,
.sip-banner .strip-pink {
  position: absolute;
  left: 0;
  right: 0;
  height: 5px;
}

.sip-banner .strip-red {
  bottom: 0;
  background: #DA0029;
}

.sip-banner .strip-pink {
  bottom: -5px;
  background: #EF93A4;
}/* ========== 内容列宽 ========== */
/* Figma：行业概况内容列 1504.7px（痛点卡 288.14×5 + 16×4），解决方案面板 1500px */
.sip-industry .content-wrapper {
  max-width: min(calc(1504.7px + var(--container-padding) * 2), var(--max-width));
}

.sip-solution > .content-wrapper {
  max-width: min(calc(1500px + var(--container-padding) * 2), var(--max-width));
}

/* ========== 通用区块标题（装饰线 + 圆点，对齐站内 .section-title 体系） ========== */
.section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-bottom: 32px;
}

.section-title h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  line-height: 36px;
  letter-spacing: 2px;
  color: var(--color-dark);
  white-space: nowrap;
}

.title-deco {
  position: relative;
  flex: 0 0 auto;
  width: 170px;
  height: 10px;
}

.title-deco::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  transform: translateY(-50%);
  background: var(--color-primary);
  opacity: 0.85;
}

.title-deco::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
  transform: translateY(-50%);
}

.deco-left::before {
  background: linear-gradient(90deg, #dbdfe800, var(--color-primary));
}

.deco-left::after {
  right: 0;
}

.deco-right::before {
  background: linear-gradient(90deg, var(--color-primary), #dbdfe800);
}

.deco-right::after {
  left: 0;
}

/* ========== 行业概况 ========== */
.sip-industry {
  padding-top: 40px;
}

.sip-industry-desc {
  margin-top: 32px;
  font-size: 16px;
  font-weight: 400;
  line-height: 32px;
  color: #57575C;
  /* Figma style_b9f50030：左对齐（非两端对齐） */
  text-align: left;
}

.sip-industry-desc p {
  margin: 0;
}

/* 痛点卡片：5 列 × 2 行，卡片 288×350 */
.sip-pain-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

/* 10 张卡统一内边距，保证图标与文字左边缘水平对齐 */
.sip-pain-card {
  display: flex;
  flex-direction: column;
  min-height: 350px;
  padding: 40px;
  background: #F5F7FA;
  border-radius: 8px;
  box-sizing: border-box;
}

.sip-pain-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.sip-pain-text {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 22px;
  min-width: 0;
  /* 撑满卡片剩余高度，序号才能贴住卡片底部 */
  flex: 1;
}

.sip-pain-text h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 32px;
  color: #57575C;
}

/* 5 列窄卡时标题最多两行，统一标题高度以保证各卡正文顶部对齐 */
@media (min-width: 1201px) {
  .sip-pain-text h3 {
    min-height: 64px;
  }
}

.sip-pain-text p {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 32px;
  color: #57575C;
  text-align: justify;
}

.sip-pain-no {
  display: block;
  margin-top: auto;
  padding-top: 16px;
  font-size: 19px;
  font-weight: 700;
  line-height: 32px;
  color: #57575C;
}

.sip-pain-no em {
  font-style: normal;
  font-weight: 400;
}

/* ========== 解决方案 ========== */
.sip-solution {
  padding-top: 40px;
}

/* 灰底大面板（解决方案 / 产品矩阵） */
.sip-panel {
  padding: 32px;
  background: #F5F7FA;
  border: 1px solid #DBDFE8;
  border-radius: 8px;
  box-sizing: border-box;
}

.sip-panel + .sip-panel {
  margin-top: 16px;
}

.sip-panel-head {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 16px;
}

.sip-panel-head > img {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  object-fit: contain;
}

.sip-panel-head > img.sip-panel-head-icon-sm {
  width: 28px;
  height: 28px;
}

.sip-panel-head h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 26px;
  color: #57575C;
}

.sip-panel-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Figma #1753:7683：说明卡与内嵌面板间距 10px（仅解决方案面板） */
.sip-solution .sip-panel:not(.sip-panel-matrix) .sip-panel-body {
  gap: 10px;
}

/* 白底说明卡 */
.sip-info-card {
  display: flex;
  gap: 16px;
  /* Figma 为 16px 32px；因系统字体度量差异，左右取 29px 才能保持 Figma 的 2+2 行 */
  padding: 16px 29px;
  background: #FFFFFF;
  border-radius: 8px;
  box-sizing: border-box;
}

.sip-info-icon {
  width: 18px;
  height: 34px;
  flex-shrink: 0;
  object-fit: contain;
}

.sip-info-text {
  flex: 1;
  min-width: 0;
}

.sip-info-text h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 26px;
  color: #57575C;
}

.sip-info-text p {
  margin: 0;
  font-size: 16px;
  font-weight: 300;
  line-height: 30px;
  color: #57575C;
  text-align: justify;
}

/* 解决方案：白色内嵌面板（含 5 个层面卡） */
.sip-subpanel {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 32px;
  background: #FFFFFF;
  border-radius: 8px;
  box-sizing: border-box;
}

.sip-subpanel-head {
  display: flex;
  align-items: center;
  gap: 16px;
}

.sip-subpanel-head h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 26px;
  color: #57575C;
}

/* 5 个层面卡：按 Figma 三行宽度比例 507/451/384、680.5/680、整行 */
.sip-solution-row {
  display: grid;
  gap: 16px;
  align-items: stretch;
}

.sip-solution-row-1 {
  grid-template-columns: 507fr 451fr 384fr;
}

.sip-solution-row-2 {
  grid-template-columns: 680.5fr 680fr;
}

.sip-solution-row-3 {
  grid-template-columns: 1fr;
}

.sip-subcard {
  padding: 16px 32px;
  background: #FFFFFF;
  border: 1px solid #DBDFE8;
  border-radius: 8px;
  box-sizing: border-box;
}

.sip-subcard p {
  margin: 0;
  font-size: 16px;
  font-weight: 300;
  line-height: 30px;
  color: #57575C;
  text-align: justify;
}

/* ========== 产品矩阵 ========== */
/* 产品1 整行卡 + 其余 6 个两列卡 */
.sip-product-card {
  display: flex;
  gap: 16px;
  padding: 16px 32px;
  background: #FFFFFF;
  border-radius: 8px;
  box-sizing: border-box;
  height: 100%;
}

.sip-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.sip-product-text {
  flex: 1;
  min-width: 0;
}

.sip-product-text h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 30px;
  color: #57575C;
}

.sip-product-text p {
  margin: 0;
  font-size: 16px;
  font-weight: 300;
  line-height: 30px;
  color: #57575C;
  text-align: justify;
}

/* ========== 服务流程 ========== */
.sip-flow {
  padding-top: 40px;
  padding-bottom: 80px;
}

.sip-flow-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sip-flow-card {
  position: relative;
  min-height: 269px;
  padding: 50px;
  background: #F5F7FA;
  border-radius: 8px;
  box-sizing: border-box;
}

.sip-flow-no {
  display: block;
  font-size: 36px;
  font-weight: 700;
  line-height: 52px;
  color: #DBDFE8;
}

.sip-flow-card h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 67px;
  color: #57575C;
  white-space: nowrap;
}

.sip-flow-card p {
  margin: 0;
  max-width: 175px;
  font-size: 16px;
  font-weight: 300;
  line-height: 25px;
  color: #57575C;
  text-align: justify;
}

.sip-flow-step {
  position: absolute;
  right: 50px;
  top: 67px;
  width: 13px;
  height: 25px;
}

/* ========== 客户案例（默认隐藏，等待动态渲染） ========== */
.case-faq-wrap {
  display: none;
  padding: 40px 0;
  background: #F5F7FA;
}

.case-list-box {
  margin-top: 40px;
}

.case-grid {
  display: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.case-list-box[data-state="ready"] .case-grid {
  display: grid;
}

/* 客户案例卡片（动态渲染结构，class 与 js 一一对应） */
.case-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  background: #FFFFFF;
  border-radius: 8px;
  box-sizing: border-box;
}

.case-card-img {
  display: block;
  width: 100%;
  height: 249px;
  object-fit: cover;
  border-radius: 4px;
}

.case-card-title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 26px;
  color: #57575C;
}

.case-card-desc {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  font-size: 16px;
  font-weight: 300;
  line-height: 26px;
  color: #57575C;
  text-align: justify;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

.case-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}

.case-card-date {
  font-size: 14px;
  font-weight: 400;
  color: #93959D;
}

.case-card-more {
  font-size: 14px;
  font-weight: 400;
  color: #93959D;
  text-decoration: none;
  white-space: nowrap;
}

.case-card-more:hover {
  color: #DA0029;
}

/* loading / 空数据 / 报错 */
.case-state {
  display: none;
  padding: 48px 0;
  font-size: 16px;
  font-weight: 400;
  color: #93959D;
  text-align: center;
}

.case-list-box[data-state="loading"] .case-loading,
.case-list-box[data-state="empty"] .case-empty,
.case-list-box[data-state="error"] .case-error {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.case-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid #DBDFE8;
  border-top-color: #DA0029;
  border-radius: 50%;
  animation: sip-spin 0.8s linear infinite;
}

@keyframes sip-spin {
  to {
    transform: rotate(360deg);
  }
}

/* ========== 响应式（与站内页面断点保持一致） ========== */

/* 平板/中屏 */
@media (max-width: 1200px) {
  .sip-banner {
    min-height: 460px;
  }

  .sip-banner-inner {
    min-height: 460px;
    padding-top: 70px;
    padding-bottom: 24px;
  }

  .sip-banner-btn {
    margin-top: 24px;
  }

  .sip-banner .banner-values {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sip-pain-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sip-pain-card {
    padding: 32px;
    min-height: 320px;
  }

  .sip-solution-row-1 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sip-solution-row-1 > .sip-subcard:last-child {
    grid-column: 1 / -1;
  }

  .sip-panel {
    padding: 24px;
  }

  .sip-flow-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }

  .sip-flow-card {
    min-height: 240px;
    padding: 32px;
  }

  .sip-flow-step {
    right: 32px;
    top: 50px;
  }

  .sip-flow-card h3 {
    font-size: 22px;
    line-height: 52px;
    white-space: normal;
    word-break: break-word;
  }
}

/* 小屏平板 */
@media (max-width: 992px) {
  .sip-pain-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sip-pain-card {
    min-height: 0;
  }

  .sip-solution-row-1,
  .sip-solution-row-2 {
    grid-template-columns: 1fr;
  }

  .sip-solution-row-1 > .sip-subcard:last-child {
    grid-column: auto;
  }

  .sip-product-grid {
    grid-template-columns: 1fr;
  }

  .sip-flow-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* 移动端 */
@media (max-width: 768px) {
  .sip-banner {
    min-height: 0;
    background-size: cover;
  }

  .sip-banner-inner {
    min-height: 0;
    padding-top: 48px;
    padding-bottom: 20px;
  }

  .sip-banner-title {
    font-size: 26px;
    line-height: 36px;
  }

  .sip-banner-desc {
    max-width: 100%;
    margin-top: 12px;
    font-size: 14px;
    line-height: 26px;
  }

  .sip-banner-btn {
    width: 116px;
    height: 38px;
    margin-top: 24px;
    font-size: 15px;
  }

  .sip-banner-btn img {
    width: 24px;
    height: 24px;
  }

  .sip-banner .banner-values {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding-top: 28px;
  }

  .value-card {
    min-height: 72px;
    padding: 0 20px;
  }

  .value-card img {
    width: 26px;
    height: 26px;
  }

  .value-card span {
    font-size: 14px;
    line-height: 22px;
  }

  .sip-industry {
    padding-top: 32px;
  }

  .section-title {
    gap: 12px;
    margin-bottom: 24px;
  }

  .section-title h2 {
    font-size: 20px;
  }

  .title-deco {
    width: 80px;
  }

  .sip-industry-desc {
    margin-top: 20px;
    font-size: 14px;
    line-height: 26px;
  }

  .sip-pain-grid {
    grid-template-columns: 1fr;
    margin-top: 20px;
  }

  .sip-pain-card {
    padding: 24px;
  }

  .sip-pain-icon {
    width: 32px;
    height: 32px;
  }

  .sip-pain-text {
    margin-top: 16px;
  }

  .sip-pain-text h3,
  .sip-pain-text p {
    font-size: 14px;
    line-height: 26px;
  }

  .sip-pain-no {
    font-size: 16px;
    line-height: 26px;
  }

  .sip-solution,
  .sip-flow {
    padding-top: 32px;
  }

  .sip-flow {
    padding-bottom: 48px;
  }

  .sip-panel {
    padding: 16px;
  }

  .sip-panel-head {
    gap: 12px;
    margin-bottom: 12px;
  }

  .sip-panel-head > img {
    width: 24px;
    height: 24px;
  }

  .sip-panel-head > img.sip-panel-head-icon-sm {
    width: 22px;
    height: 22px;
  }

  .sip-panel-head h3 {
    font-size: 16px;
  }

  .sip-info-card,
  .sip-product-card {
    padding: 16px;
    gap: 12px;
  }

  .sip-subcard {
    padding: 16px;
  }

  .sip-info-icon {
    width: 14px;
    height: 26px;
  }

  .sip-info-text h4,
  .sip-product-text h4,
  .sip-subpanel-head h4 {
    font-size: 15px;
  }

  .sip-info-text p,
  .sip-subcard p,
  .sip-product-text p {
    font-size: 14px;
    line-height: 26px;
  }

  .sip-subpanel {
    padding: 16px;
  }

  .sip-flow-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .sip-flow-card {
    min-height: 0;
    padding: 24px;
  }

  /* 手机端服务流程卡片纵向排列，箭头改为向下指引 */
  .sip-flow-step {
    transform: rotate(90deg);
  }

  .sip-flow-no {
    font-size: 28px;
    line-height: 40px;
  }

  .sip-flow-card h3 {
    font-size: 20px;
    line-height: 44px;
  }

  .sip-flow-step {
    right: 24px;
    top: 42px;
  }

  .case-faq-wrap {
    padding: 24px 0;
  }

  .case-list-box {
    margin-top: 24px;
  }

  .case-grid {
    grid-template-columns: 1fr;
  }

  .case-card-img {
    height: auto;
    aspect-ratio: 371 / 236;
  }
}

/* 小屏手机 */
@media (max-width: 480px) {
  .sip-banner {
    min-height: 0;
  }

  .sip-banner-inner {
    padding-top: 36px;
  }

  .sip-banner-title {
    font-size: 22px;
    line-height: 30px;
  }

  .sip-banner-desc {
    font-size: 13px;
    line-height: 24px;
  }

  .sip-banner-btn {
    margin-top: 20px;
  }

  .sip-banner .banner-values {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-top: 24px;
  }

  .value-card {
    min-height: 56px;
    padding: 0 12px;
  }

  .value-card img {
    width: 24px;
    height: 24px;
  }

  .value-card span {
    font-size: 13px;
    line-height: 20px;
  }

  .sip-pain-card {
    padding: 16px;
  }

  .sip-pain-icon {
    width: 28px;
    height: 28px;
  }

  .sip-flow-card {
    padding: 16px;
  }

  .sip-flow-step {
    right: 16px;
    top: 34px;
  }
}

/* ============================================================
   Footer 产品中心嵌套展开样式（仅作用于本页，不影响全局 footer.css）
   - 一级：数字化物流 / 数字化供应链
   - 二级：多式联运 / 公路物流
   ============================================================ */



/* 外层 sub 的 l3 容器（内含内层 sub）：给内层 sub 之间加点间距 */
.footer-col-col-product > .footer-col-sub > .footer-col-l3 > .footer-col-sub {
  margin-bottom: 8px;
}

.footer-col-col-product > .footer-col-sub > .footer-col-l3 > .footer-col-sub:last-child {
  margin-bottom: 0;
}

/* 二级分组的 l3 内链：缩进一点，视觉上区分层级 */
.footer-col-col-product .footer-col-l3 > .footer-col-sub > .footer-col-l3 a {
  padding-left: 12px;
  position: relative;
}

.footer-col-col-product .footer-col-l3 > .footer-col-sub > .footer-col-l3 a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 4px;
  height: 1px;
  background: #999;
}
