/* ============================================================
   solution-manufacture.css - 制造业解决方案页面样式（Figma #1822:7339）
   - 仅作用于本页 main 区域，不修改任何全局样式
   - 布局与响应式断点沿用 station-operation 页面：1200 / 992 / 768 / 480
   ============================================================ */

/* ---------- 页面容器 ---------- */
.page-manufacture .page-main {
  width: 100%;
}

.page-manufacture .content-wrapper {
  width: 83%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0;
}

/* ---------- Banner ---------- */
.mfg-hero {
  position: relative;
  height: 501px;
  background: url('../../assets/images/solution-manufacture/hero-bg-23ca82.webp') center center / cover no-repeat;
}

.mfg-hero .banner-content {
  position: relative;
  z-index: 2;
  height: 100%;
  width: 89%;
  max-width: 1708px;
  padding: 70px clamp(24px, 5.2vw, 100px) 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.mfg-hero h1 {
  font-size: 36px;
  font-weight: 700;
  line-height: 36px;
  letter-spacing: 2px;
  color: #57575C;
}

.mfg-hero-desc {
  max-width: 708px;
  margin-top: 34px;
  font-size: 16px;
  line-height: 24px;
  color: #57575C;
  text-align: justify;
}

.banner-actions {
  margin-top: 40px;
}

.banner-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 128px;
  height: 42px;
  padding: 0;
  box-sizing: border-box;
  background: #DA0029;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 700;
  color: #FFFFFF;
  white-space: nowrap;
  transition: background 0.2s ease;
}

.banner-btn img {
  display: block;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
}

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

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

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

.strip-red {
  bottom: 5px;
  background: #DA0029;
}

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

/* 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;
}

.mfg-hero .banner-values {
  max-width: 1086px;
  margin: 18px auto 0;
}

/* Figma #1822:7339 首屏栅格宽 1086，单卡内宽较窄，沿用 Figma 的 24px 内边距，
   避免站内标准 32px 导致文案折成三行撑破 76px 卡高 */
.mfg-hero .value-card {
  padding: 0 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;
}

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

.section-title h2 {
  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;
}

/* ---------- 行业概况 ---------- */
.mfg-overview {
  padding: 40px 0 0;
}

.mfg-overview-body {
  font-size: 16px;
  line-height: 32px;
  color: #57575C;
  text-align: justify;
}

.mfg-overview-body p {
  margin-bottom: 16px;
}

.mfg-overview-body p:last-child {
  margin-bottom: 0;
}

.pain-grid {
  display: grid;
  gap: 16px;
  margin-top: 53px;
}

.pain-grid-mfg {
  grid-template-columns: 295.65fr 414.28fr 317.76fr 421fr;
}

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

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

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

.pain-card h3 {
  margin-bottom: 16px;
  font-size: 16px;
  font-weight: 600;
  line-height: 26px;
  color: #57575C;
}

.pain-card p {
  font-size: 16px;
  font-weight: 300;
  line-height: 30px;
  color: #57575C;
  text-align: justify;
}

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

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

/* ---------- 数字化解决方案 ---------- */
.mfg-solution {
  padding: 50px 0 0;
}

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

.mfg-card-head {
  display: flex;
  align-items: center;
  gap: 20px;
}

.mfg-card-head h3 {
  font-size: 18px;
  font-weight: 600;
  line-height: 26px;
  color: #57575C;
}

.mfg-head-icon {
  display: block;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  object-fit: contain;
}

.mfg-head-icon-lg {
  width: 18px;
  height: 34px;
}

.mfg-head-icon-sm {
  width: 28px;
  height: 28px;
}

.mfg-system-intro {
  padding: 16px 32px;
  background: #FFFFFF;
  border-radius: 8px;
}

.mfg-system-intro p {
  font-size: 16px;
  font-weight: 300;
  line-height: 30px;
  color: #57575C;
  text-align: justify;
}

.mfg-sub-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px 32px;
  background: #FFFFFF;
  border-radius: 8px;
}

.mfg-note-card {
  padding: 16px 32px;
  background: #FFFFFF;
  border: 1px solid #DBDFE8;
  border-radius: 8px;
}

.mfg-note-card p {
  font-size: 16px;
  font-weight: 300;
  line-height: 30px;
  color: #57575C;
  text-align: justify;
}

.mfg-loop-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.mfg-loop-card {
  padding: 16px 32px;
  background: #FFFFFF;
  border: 1px solid #DBDFE8;
  border-radius: 8px;
}

.mfg-loop-card h4 {
  font-size: 16px;
  font-weight: 600;
  line-height: 26px;
  color: #57575C;
}

.mfg-loop-card p {
  margin-top: 4px;
  font-size: 16px;
  font-weight: 300;
  line-height: 30px;
  color: #57575C;
  text-align: justify;
}

.mfg-chain-grid {
  display: grid;
  grid-template-columns: 347fr 341fr 307fr 327fr;
  gap: 16px;
}

.mfg-chain-card {
  min-height: 186px;
  padding: 16px 32px;
  background: #FFFFFF;
  border: 1px solid #DBDFE8;
  border-radius: 8px;
  box-sizing: border-box;
}

.mfg-chain-card h4 {
  font-size: 16px;
  font-weight: 600;
  line-height: 26px;
  color: #57575C;
}

.mfg-chain-card p {
  margin-top: 4px;
  font-size: 16px;
  font-weight: 300;
  line-height: 25px;
  color: #57575C;
  text-align: justify;
}

/* ---------- 产品矩阵 ---------- */
.mfg-products {
  padding: 50px 0 0;
}

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

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

.mfg-product-card {
  padding: 16px 32px;
  background: #FFFFFF;
  border-radius: 8px;
}

.mfg-product-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

.mfg-product-head img {
  display: block;
  width: 18px;
  height: 34px;
  flex: 0 0 auto;
  object-fit: contain;
}

.mfg-product-head h4 {
  font-size: 16px;
  font-weight: 600;
  line-height: 34px;
  color: #57575C;
}

.mfg-product-card > p {
  margin-bottom: 16px;
  font-size: 16px;
  font-weight: 300;
  line-height: 26px;
  color: #57575C;
  text-align: justify;
}

.mfg-product-list {
  list-style: none;
}

.mfg-product-list li {
  font-size: 16px;
  font-weight: 300;
  line-height: 26px;
  color: #57575C;
  text-align: justify;
}

.mfg-product-list strong {
  font-weight: 600;
}

/* ---------- 服务流程 ---------- */
.mfg-flow {
  padding: 57px 0 80px;
}

.mfg-flow-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 32px;
}

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

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

.mfg-flow-card h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 67px;
  color: #57575C;
}

.mfg-flow-card p {
  max-width: 180px;
  font-size: 16px;
  font-weight: 300;
  line-height: 25px;
  color: #57575C;
}

.mfg-flow-deco {
  position: absolute;
  right: 50px;
  top: 68px;
  width: 23px;
  height: 23px;
}

/* ---------- 客户案例 / FAQ（默认隐藏，DOM 完整保留） ---------- */
.case-faq-wrap {
  display: none;
}

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

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

.mfg-case-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  background: #FFFFFF;
  color: inherit;
  text-decoration: none;
  transition: box-shadow 0.25s ease;
}

.mfg-case-card:hover {
  box-shadow: 0 10px 28px rgba(31, 45, 61, 0.10);
}

.mfg-case-media {
  display: block;
  width: 100%;
  height: 249px;
  overflow: hidden;
}

.mfg-case-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mfg-case-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mfg-case-title {
  min-height: 52px;
  font-size: 16px;
  font-weight: 600;
  line-height: 26px;
  color: #57575C;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.mfg-case-desc {
  min-height: 50px;
  font-size: 16px;
  font-weight: 300;
  line-height: 25px;
  color: #57575C;
  text-align: justify;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.mfg-case-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  font-size: 14px;
  line-height: 21px;
  color: #93959D;
}

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

.case-pager-box {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}

.mfg-pager-btn {
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid #DBDFE8;
  background: #FFFFFF;
  font-size: 14px;
  color: #57575C;
  cursor: pointer;
}

.mfg-pager-btn.is-active {
  border-color: #DA0029;
  background: #DA0029;
  color: #FFFFFF;
}

/* FAQ */
.mfg-faq {
  padding: 40px 0 60px;
}

.faq-list-box {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mfg-faq-item {
  background: #F5F7FA;
  border-radius: 8px;
  padding: 0 32px;
}

.mfg-faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 26px;
  color: #57575C;
  cursor: pointer;
}

.mfg-faq-toggle {
  position: relative;
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border-right: 2px solid #93959D;
  border-bottom: 2px solid #93959D;
  transform: rotate(45deg);
  transition: transform 0.25s ease;
}

.mfg-faq-item.is-open .mfg-faq-toggle {
  transform: rotate(-135deg);
}

.mfg-faq-a {
  display: none;
  padding: 0 32px 20px 0;
  font-size: 16px;
  font-weight: 300;
  line-height: 30px;
  color: #57575C;
  text-align: justify;
}

.mfg-faq-item.is-open .mfg-faq-a {
  display: block;
}

/* 加载 / 空数据 / 报错提示 */
.mfg-state {
  display: none;
  grid-column: 1 / -1;
  padding: 40px 0;
  text-align: center;
  font-size: 16px;
  line-height: 26px;
  color: #93959D;
}

.mfg-state-loading.is-show,
.mfg-state-empty.is-show,
.mfg-state-error.is-show {
  display: block;
}

.mfg-state-error.is-show {
  color: #DA0029;
}

/* ============================================================
   响应式（沿用 station-operation：1200 / 992 / 768 / 480）
   ============================================================ */
@media (max-width: 1200px) {
  .page-manufacture .content-wrapper {
    width: 90%;
  }

  .mfg-hero {
    height: auto;
    min-height: 520px;
    padding-bottom: 24px;
    box-sizing: border-box;
  }

  .mfg-hero .banner-content {
    padding-top: 56px;
  }

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

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

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

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

  .mfg-chain-card {
    min-height: 0;
  }

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

  .mfg-flow-card {
    padding: 40px;
  }

  .mfg-flow-deco {
    right: 40px;
  }

  .mfg-flow-card h3 {
    line-height: 52px;
  }
}

@media (max-width: 992px) {
  .page-manufacture .content-wrapper {
    width: 92%;
  }

  .mfg-hero h1 {
    font-size: 32px;
  }

  .mfg-product-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .mfg-loop-grid {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .mfg-system-card,
  .mfg-matrix-card {
    padding: 24px;
  }

  .mfg-sub-card {
    padding: 20px 24px;
  }
}

@media (max-width: 768px) {
  .page-manufacture .content-wrapper {
    width: 100%;
    padding: 0 16px;
    box-sizing: border-box;
  }

  .mfg-hero {
    min-height: 0;
    padding-bottom: 32px;
  }

  .mfg-hero .banner-content {
    max-width: 100%;
    padding: 40px 16px 0;
  }

  .mfg-hero h1 {
    font-size: 28px;
  }

  .mfg-hero-desc {
    margin-top: 20px;
    font-size: 14px;
    line-height: 28px;
  }

  .banner-actions {
    margin-top: 24px;
  }

  .mfg-hero .banner-values {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    margin-top: 24px;
  }

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

  .mfg-hero .value-card {
    padding: 0 20px;
  }

  .value-card span {
    font-size: 15px;
  }

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

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

  .title-deco {
    width: 80px;
  }

  .mfg-overview-body {
    font-size: 14px;
    line-height: 26px;
  }

  .pain-grid-mfg {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    margin-top: 28px;
  }

  .pain-card {
    padding: 24px;
  }

  .pain-card p {
    font-size: 14px;
    line-height: 26px;
  }

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

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

  .mfg-chain-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .mfg-chain-card,
  .mfg-loop-card,
  .mfg-note-card,
  .mfg-system-intro {
    padding: 16px 20px;
  }

  .mfg-system-card,
  .mfg-matrix-card {
    padding: 20px 16px;
  }

  .mfg-sub-card {
    padding: 16px;
  }

  .mfg-product-card {
    padding: 16px 20px;
  }

  .mfg-product-card > p,
  .mfg-product-list li {
    font-size: 14px;
    line-height: 24px;
  }

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

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

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

  .mfg-flow-card h3 {
    font-size: 16px;
    line-height: 40px;
  }

  .mfg-flow-card p {
    max-width: none;
    font-size: 14px;
    line-height: 24px;
  }

  .mfg-flow-deco {
    top: 28px;
    right: 24px;
    width: 20px;
    height: 20px;
    transform: rotate(90deg);
  }

  .case-list-box {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .mfg-case-media {
    height: auto;
    aspect-ratio: 2 / 1;
  }

  .mfg-case-title {
    font-size: 15px;
  }

  .mfg-case-desc {
    font-size: 14px;
    line-height: 22px;
  }

  .mfg-faq-item {
    padding: 0 20px;
  }

  .mfg-faq-q {
    font-size: 15px;
  }

  .mfg-faq-a {
    padding-right: 0;
    font-size: 14px;
    line-height: 26px;
  }
}

@media (max-width: 480px) {
  .mfg-hero h1 {
    font-size: 24px;
  }

  .mfg-flow-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .pain-card {
    padding: 20px;
  }

  .mfg-system-card,
  .mfg-matrix-card {
    padding: 16px 12px;
  }

  .mfg-card-head {
    gap: 12px;
  }

  .mfg-card-head h3 {
    font-size: 16px;
  }

  .mfg-product-head {
    gap: 10px;
  }

  .mfg-product-head h4 {
    font-size: 15px;
    line-height: 28px;
  }
}

/* ============================================================
   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;
}
