/* ============================================================
   solution-multi-modal.css - 多式联运解决方案页
   基于 Figma #1641:6650 设计还原
   - 仅作用于本页 main 区域，不改动导航、页脚与全局样式
   - 响应式断点与 station-operation.html 保持一致（1280 / 768 / 480）
   ============================================================ */

/* ============================================================
   Banner
   ============================================================ */
.mm-banner {
  position: relative;
  min-height: 620px;
  background: url('../../assets/images/solution-multi-modal/banner-bg.webp') center center / cover no-repeat;
}

.mm-banner-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(51, 91, 124, 0.7) 17%, rgba(31, 31, 31, 0) 100%);
}

.mm-banner-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  min-height: 620px;
  padding-top: 85px;
  padding-bottom: 45px;
}

.mm-banner-text h1 {
  font-size: 36px;
  font-weight: 700;
  line-height: 44px;
  color: #FFFFFF;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.mm-banner-text p {
  max-width: 735px;
  font-size: 16px;
  line-height: 32px;
  color: #FFFFFF;
  opacity: 0.92;
  text-align: justify;
}

.mm-banner-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 128px;
  height: 42px;
  margin-top: 39px;
  padding: 8px 22px 8px 20px;
  background: #DA0029;
  border-radius: 6px;
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 700;
  transition: background 0.2s ease;
}

.mm-banner-btn img {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.mm-banner-btn:hover {
  background: #AC0D2A;
}

/* Figma #1641:6742：7 个方块单行排列，206×72，间距 10，卡片左右内边距 16 */
.mm-value-list {
  display: grid;
  /* 当前实际展示 6 张卡片：按设计稿 206px 宽度排列，整组在 banner 内水平居中 */
  grid-template-columns: repeat(6, minmax(0, 206px));
  justify-content: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 48px;
}

.mm-value-card {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 72px;
  padding: 0 16px;
  background: #F5F7FA;
  border-radius: 8px;
}

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

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

.mm-banner-strip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  height: 10px;
}

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

.mm-strip-red {
  top: 0;
  background: #DA0029;
}

.mm-strip-pink {
  bottom: 0;
  background: #EF93A4;
}

/* ============================================================
   区块通用
   ============================================================ */
.mm-section {
  padding: 40px 0;
}

/* 区块标题：装饰线 + 标题 */
.mm-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 32px;
}

.mm-title h2 {
  font-size: 24px;
  font-weight: 700;
  line-height: 36px;
  color: #404043;
  letter-spacing: 2px;
  white-space: nowrap;
}

.mm-title-deco {
  flex: 0 0 auto;
  width: 130px;
  height: 10px;
  object-fit: contain;
}

/* 单图装饰标题（中间留空、文字压在装饰线上） */
.mm-title-wide {
  position: relative;
}

.mm-title-wide .mm-title-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 419px;
  max-width: 76%;
  height: 14px;
  transform: translate(-50%, -50%);
  object-fit: contain;
}

.mm-title-wide h2 {
  position: relative;
  z-index: 1;
}

/* ============================================================
   行业概况 + 痛点
   ============================================================ */
.mm-industry {
  padding-bottom: 40px;
  background: #FFFFFF;
}

.mm-industry-text p {
  margin: 0;
  font-size: 16px;
  line-height: 32px;
  color: #57575C;
  text-align: justify;
}

.mm-pain-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 33px 0 0;
  padding: 0;
  list-style: none;
}

.mm-pain-card {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  min-height: 376px;
  padding: 40px;
  background: #F5F7FA;
  border-radius: 8px;
}

.mm-pain-icon {
  margin-bottom: 24px;
}

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

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

.mm-pain-no {
  margin: auto 0 0;
  padding-top: 24px;
  font-size: 19px;
  font-weight: 700;
  line-height: 32px;
  color: #57575C;
  letter-spacing: 1px;
}

.mm-pain-no em {
  font-style: normal;
  font-size: 14px;
  font-weight: 400;
  color: #93959D;
}

/* ============================================================
   解决方案 / 场景化解决方案 面板
   ============================================================ */
.mm-solution {
  padding-bottom: 16px;
  background: #FFFFFF;
}

.mm-scene {
  padding: 16px 0 40px;
  background: #FFFFFF;
}

.mm-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px;
  background: #F5F7FA;
  border: 1px solid #DBDFE8;
  border-radius: 8px;
}

.mm-panel-head {
  display: flex;
  align-items: center;
  gap: 20px;
}

.mm-panel-head img {
  flex: 0 0 auto;
  width: auto;
  height: auto;
  max-width: 34px;
  object-fit: contain;
}

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

/* 白色说明面板 */
.mm-note {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 32px;
  background: #FFFFFF;
  border-radius: 8px;
}

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

/* 双列卡片网格 */
.mm-mech-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 16px;
}

.mm-func-card {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px 32px;
  background: #FFFFFF;
  border-radius: 8px;
}

.mm-func-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.mm-bullet {
  flex: 0 0 auto;
  width: 18px;
  height: 34px;
  object-fit: contain;
}

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

.mm-func-desc {
  margin: 0;
  font-size: 16px;
  font-weight: 290;
  line-height: 30px;
  color: #57575C;
  text-align: justify;
}

/* 架构图 */
.mm-arch {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1435 / 532;
  object-fit: cover;
  border-radius: 8px;
}

/* 产品矩阵 */
.mm-matrix {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 32px;
  background: #FFFFFF;
  border-radius: 8px;
}

.mm-matrix .mm-func-card {
  padding: 16px 32px;
}

/* 场站作业产品族：标题行 + 两列三行网格（末格为配图） */
.mm-func-card--product {
  gap: 8px;
}

.mm-prod-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.mm-prod-item {
  min-width: 0;
}

.mm-prod-item h5 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 26px;
  color: #57575C;
}

.mm-prod-item p {
  margin: 0;
  font-size: 16px;
  font-weight: 290;
  line-height: 30px;
  color: #57575C;
  text-align: justify;
}

.mm-prod-item p + h5 {
  margin-top: 16px;
}

.mm-prod-img {
  display: block;
  align-self: start;
  width: 100%;
  height: auto;
  aspect-ratio: 654.75 / 387.88;
  object-fit: cover;
}

.mm-card-row {
  display: flex;
  gap: 10px;
}

.mm-card-row .mm-func-card {
  flex: 1 1 0;
  min-width: 0;
}

/* ============================================================
   场景化卡片正文
   ============================================================ */
.mm-scene-body {
  display: flex;
  flex-direction: column;
  font-size: 16px;
  line-height: 30px;
  color: #57575C;
}

.mm-q,
.mm-dot-list li,
.mm-scene-plain {
  position: relative;
  padding-left: 24px;
  margin: 0;
  font-size: 16px;
  font-weight: 290;
  line-height: 30px;
  color: #57575C;
  text-align: justify;
}

.mm-q::before,
.mm-dot-list li::before {
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 400;
}

.mm-q::before {
  content: "◇";
  color: #57575C;
}

.mm-dot-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mm-dot-list li::before {
  content: "●";
  color: #93959D;
}

/* ============================================================
   服务流程
   ============================================================ */
.mm-process {
  padding-bottom: 40px;
  background: #FFFFFF;
}

.mm-step-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(140px, 1fr));
  gap: 32px;
}

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

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

.mm-step-card h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 67px;
  color: #57575C;
}

.mm-step-card p {
  margin: 0;
  font-size: 16px;
  font-weight: 290;
  line-height: 30px;
  color: #57575C;
}

.mm-step-icon {
  position: absolute;
  top: 68px;
  right: 50px;
  width: 23px;
  height: 23px;
  object-fit: contain;
}

.mm-step-flow {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 18px;
}

/* ============================================================
   客户案例（默认隐藏，上线时把 .case-faq-wrap 改为 display:block）
   ============================================================ */
.case-faq-wrap {
  display: none;
}

.mm-case {
  padding: 40px 0;
  background: #F5F7FA;
}

.mm-case-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
}

.mm-case-list[hidden] {
  display: none;
}

.mm-case-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #FFFFFF;
  border-radius: 8px;
}

.mm-case-media img {
  display: block;
  width: 100%;
  aspect-ratio: 485 / 249;
  object-fit: cover;
}

.mm-case-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px;
}

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

.mm-case-desc {
  margin: 0;
  font-size: 16px;
  font-weight: 290;
  line-height: 26px;
  color: #57575C;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.mm-case-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 24px;
}

.mm-case-date {
  font-size: 14px;
  line-height: 24px;
  color: #93959D;
}

.mm-case-more {
  font-size: 14px;
  line-height: 24px;
  color: #DA0029;
}

.mm-case-more:hover {
  text-decoration: underline;
}

/* 加载 / 空数据 / 报错 状态 */
.mm-state {
  display: none;
  padding: 40px 0;
  text-align: center;
  font-size: 16px;
  line-height: 30px;
  color: #93959D;
}

.mm-state.is-active {
  display: block;
}

.mm-pagination {
  display: none;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}

.mm-pagination.is-active {
  display: flex;
}

.mm-page-btn {
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  background: #FFFFFF;
  border: 1px solid #DBDFE8;
  border-radius: 4px;
  font-size: 14px;
  color: #57575C;
  cursor: pointer;
}

.mm-page-btn.is-current {
  background: #DA0029;
  border-color: #DA0029;
  color: #FFFFFF;
}

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1440px) {
  .mm-pain-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mm-step-card {
    padding: 36px;
  }

  .mm-step-icon {
    top: 44px;
    right: 36px;
  }
}

/* 1025-1440 窄屏：服务流程保持一行 5 列；小于 140px 宽度时（≤1024）每项独占一行向下排列 */
@media (max-width: 1024px) {
  .mm-step-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 1280px) {
  .mm-banner,
  .mm-banner-inner {
    min-height: 460px;
  }

  .mm-value-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .mm-pain-card {
    padding: 32px;
    min-height: 0;
  }

  .mm-panel {
    padding: 24px;
  }

  .mm-note {
    padding: 20px 24px;
  }

  .mm-mech-grid {
    gap: 16px;
  }

  .mm-func-card {
    padding: 16px 24px;
  }

  .mm-matrix {
    padding: 20px 24px;
  }

  .mm-card-row {
    flex-direction: column;
  }

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

@media (max-width: 768px) {
  .content-wrapper {
    max-width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }

  .mm-banner,
  .mm-banner-inner {
    min-height: 0;
  }

  .mm-banner-inner {
    padding-top: 48px;
    padding-bottom: 16px;
  }

  .mm-banner-text h1 {
    font-size: 26px;
    line-height: 36px;
  }

  .mm-banner-text p {
    font-size: 14px;
    line-height: 26px;
  }

  .mm-banner-btn {
    margin-top: 24px;
    height: 38px;
    font-size: 14px;
  }

  .mm-value-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-top: 28px;
    padding-bottom: 16px;
  }

  .mm-value-card {
    min-height: 60px;
    padding: 10px 14px;
    gap: 10px;
  }

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

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

  .mm-section,
  .mm-industry,
  .mm-solution,
  .mm-scene,
  .mm-process {
    padding: 30px 0;
  }

  .mm-title {
    margin-bottom: 24px;
    gap: 10px;
  }

  .mm-title h2 {
    font-size: 20px;
    line-height: 30px;
    letter-spacing: 1px;
  }

  .mm-title-deco {
    width: 90px;
    height: 12px;
  }

  .mm-title-wide .mm-title-bg {
    max-width: 82%;
    height: 12px;
  }

  .mm-industry-text p,
  .mm-pain-text,
  .mm-pain-no,
  .mm-func-desc,
  .mm-note p,
  .mm-prod-item p,
  .mm-q,
  .mm-dot-list li,
  .mm-scene-plain,
  .mm-step-card p {
    font-size: 14px;
    line-height: 26px;
  }

  .mm-pain-grid {
    grid-template-columns: 1fr;
    margin-top: 24px;
  }

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

  .mm-pain-icon {
    margin-bottom: 16px;
  }

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

  .mm-pain-no {
    padding-top: 16px;
    font-size: 16px;
  }

  .mm-panel {
    padding: 16px;
    gap: 12px;
  }

  .mm-panel-head {
    gap: 12px;
  }

  .mm-panel-head img {
    height: 24px;
  }

  .mm-note {
    padding: 16px;
  }

  .mm-mech-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .mm-prod-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .mm-func-card {
    padding: 14px 16px;
    gap: 12px;
  }

  .mm-func-card--product {
    gap: 8px;
  }

  .mm-func-head {
    gap: 12px;
  }

  .mm-bullet {
    width: 14px;
    height: 28px;
  }

  .mm-func-head h4,
  .mm-prod-item h5 {
    font-size: 15px;
    line-height: 24px;
  }

  .mm-matrix {
    padding: 16px;
  }

  .mm-matrix .mm-func-card {
    padding: 14px 16px;
  }

  .mm-step-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .mm-step-card {
    min-height: 0;
    padding: 24px;
  }

  .mm-step-no {
    font-size: 28px;
    line-height: 40px;
  }

  .mm-step-card h3 {
    font-size: 18px;
    line-height: 40px;
  }

  .mm-step-icon {
    top: 28px;
    right: 24px;
    width: 18px;
    height: 18px;
    transform: rotate(90deg);
  }

  .mm-step-flow {
    margin-top: 10px;
  }

  .mm-case {
    padding: 30px 0;
  }

  .mm-case-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .mm-case-body {
    padding: 16px;
  }
}

@media (max-width: 480px) {
  .mm-value-list {
    grid-template-columns: 1fr;
  }

  .mm-banner-text h1 {
    font-size: 22px;
    line-height: 30px;
  }

  .mm-step-grid {
    grid-template-columns: 1fr;
  }

  .mm-title-deco {
    width: 60px;
  }

  .mm-title-wide .mm-title-bg {
    max-width: 90%;
  }

  .mm-pain-card {
    padding: 18px;
  }

  .mm-func-card {
    padding: 12px 14px;
  }

  .mm-bullet {
    width: 12px;
    height: 24px;
  }

  .mm-q,
  .mm-dot-list li,
  .mm-scene-plain {
    padding-left: 18px;
  }
}

/* ========== 场站作业产品族：⑤⑥ 文字模块右侧配图与其同高同宽（1026-1920），
   换行过窄（≤1025）与手机端保持原样 ========== */
@media (min-width: 1026px) and (max-width: 1920px) {
  .mm-prod-grid .mm-prod-img {
    align-self: stretch;
    height: 100%;
    min-height: 0;
    aspect-ratio: auto;
  }
}
