/* ============================================================
   warehouse-distribution-integrate.css - 仓配一体化 产品页专属样式
   基于 Figma #1248:3563 设计还原
   - 复用 tank-container-storage.css 中的 .lct-banner / .pain-grid /
     .intro-layout / .lct-advantage / .adv-grid / .section-title /
     .banner-values 等基础公共类，仅追加/覆盖本页差异化内容
   - 本文件须在 tank-container-storage.css 之后引入
   ============================================================ */

/* ---------- 内容区宽度：各板块内容宽约 1500（左右边距约 210） ---------- */
.lct-banner-wdi .banner-content,
.lct-industry-wdi .content-wrapper,
.lct-advantage-wdi .content-wrapper,
.lct-function-wdi .content-wrapper {
  max-width: 1564px;
}

/* 产品介绍 */
.lct-intro-wdi .content-wrapper {
  max-width: 1497px;
}

/* ---------- Banner：标题/描述/预约按钮 + 6 张价值卡 ----------
   严格对齐 Figma #1248:3563：banner 高 490，标题距顶 84，
   正文 2 行（行高 24）、按钮距正文 31，价值卡贴底（距底 40） */
.lct-banner-wdi {
  display: flex;
  flex-direction: column;
  height: auto;
  min-height: 490px;
  padding: 84px 0 40px;
  background: url('../../assets/images/warehouse-distribution-integrate/banner-bg.webp') center center / cover no-repeat;
}

.lct-banner-wdi .banner-content {
  flex: 1;
  height: auto;
  justify-content: flex-start;
}

.lct-banner-wdi .banner-content h1 {
  line-height: 1.5;
  margin-bottom: 16px;
}

.lct-banner-wdi .banner-content p {
  max-width: 731px;
  line-height: 24px;
  margin-bottom: 31px;
}

.lct-banner-wdi .banner-mask {
  height: 100% !important;
}

.lct-banner-wdi .banner-strip {
  top: auto;
  bottom: 0;
}

/* 价值卡：6 列（列宽比例同 Figma），卡片高 72，图标 28，两行文字左对齐 */
.lct-banner-wdi .banner-values {
  grid-template-columns: 250fr 241fr 235fr 236fr 229fr 249fr;
  margin: auto 0 0;
}

.lct-banner-wdi .value-card {
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 0 16px;
}

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

.lct-banner-wdi .value-card img {
  width: 28px;
  height: 28px;
}

.lct-banner-wdi .banner-actions {
  margin-bottom: 0;
}

.lct-banner-wdi .banner-btn img {
  width: 20px;
  height: 20px;
}

/* ============================================================
   行业背景：7 张痛点卡（7 列）
   ============================================================ */
.lct-industry-wdi {
  padding-bottom: 25px;
}

.lct-industry-wdi .industry-lead {
  max-width: 1502px;
  margin: 0 auto;
  font-size: 16px;
  font-weight: 400;
  line-height: 32px;
}

/* 正文下方二级标题（与 Figma / 其他页面一致：16/600、行高 26、黑色、居中） */
.lct-industry-wdi .industry-sub {
  width: 176px;
  margin: 48px auto 0;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  line-height: 26px;
  color: #000000;
}

.pain-grid-wdi {
  grid-template-columns: repeat(7, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.pain-grid-wdi .pain-card {
  min-height: 274px;
  padding: 40px;
}

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

.pain-grid-wdi .pain-icon img {
  width: 40px;
  height: 40px;
}

.pain-grid-wdi .pain-card h3 {
  font-size: 16px;
  font-weight: 300;
  line-height: 30px;
  margin-bottom: 0;
}

.pain-grid-wdi .pain-no {
  margin-top: auto;
  font-size: 14px;
  font-weight: 400;
  color: #93959D;
}

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

/* ============================================================
   产品介绍：浅灰底左文右图
   ============================================================ */
.lct-intro-wdi {
  padding: 70px 0 84px;
  background: #E9EEF3;
}

.lct-intro-wdi .section-title {
  margin-top: 0;
  margin-bottom: 40px;
}

.intro-layout-wdi {
  display: flex;
  align-items: center;
  gap: 73px;
  min-height: auto;
  padding: 0;
  flex-direction: row;
}

.lct-intro-wdi .intro-subtitle-line {
  display: none;
}

.lct-intro-wdi .intro-subtitle {
  gap: 0;
  margin-bottom: 16px;
}

.lct-intro-wdi .intro-subtitle h4 {
  line-height: 32px;
}

.lct-intro-wdi .intro-figure-col {
  flex: 0 0 40%;
  max-width: 40%;
}

/* ============================================================
   产品优势：8 张卡（2 行 × 4 列）
   ============================================================ */
.lct-advantage-wdi {
  background-image: url('../../assets/images/warehouse-distribution-integrate/advantage-bg.webp');
  background-size: cover;
  background-position: center;
}

/* Figma：4 列 × 2 行，单卡 332 × 108，整块 1400 居中 */
.adv-grid-wdi {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  max-width: 1400px;
  margin: 0 auto;
}

.adv-grid-wdi .adv-card {
  justify-content: flex-start;
  min-height: 108px;
  padding: 0 40px;
  gap: 16px;
}

.adv-grid-wdi .adv-icon {
  width: 24px;
  height: 24px;
}

.adv-grid-wdi .adv-icon img {
  width: 24px;
  height: 24px;
}

.adv-grid-wdi .adv-text {
  gap: 0;
}

.adv-grid-wdi .adv-text h3 {
  font-size: 16px;
  font-weight: 600;
  line-height: 26px;
}

/* ============================================================
   核心功能：基础功能(8) + 专项能力包(7) + 行业功能模板(12)
   ============================================================ */
.lct-function-wdi {
  padding: 70px 0 40px;
  background: #fff;
}

.wdi-func-sec {
  margin-bottom: 56px;
}

.wdi-func-sec:last-child {
  margin-bottom: 0;
}

/* 模块头：全宽背景图 + 遮罩 + 标题 + 引导文案 */
.wdi-module-head {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  margin: 0 0 24px;
}

.wdi-module-bg {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.wdi-module-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.58);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 40px;
}

.wdi-module-title {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #fff;
}

.wdi-module-lead {
  margin: 0;
  font-size: 14px;
  line-height: 24px;
  color: rgba(255, 255, 255, 0.92);
}

.wdi-module-must {
  margin: 12px 0 0;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}

/* 功能卡片网格：2 列 */
.wdi-func-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* 外层：灰色底，标题位于灰底之上 */
.wdi-func-card {
  background: #F5F7FA;
  border: 1px solid #DBDFE8;
  border-radius: 8px;
  padding: 32px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wdi-func-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.wdi-func-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.wdi-func-head img {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.wdi-func-head h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #1F1F1F;
}

.wdi-func-no {
  margin-left: auto;
  flex: 0 0 auto;
  font-size: 14px;
  font-weight: 400;
  color: #93959D;
}

/* 内层：白色底盒子 */
.wdi-func-body {
  background: #FFFFFF;
  border-radius: 8px;
  padding: 32px;
}

/* 基础功能卡：正文段落即白盒，与姊妹页一致 */
.wdi-func-card > p {
  margin: 0;
  padding: 32px;
  background: #FFFFFF;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 300;
  line-height: 30px;
  color: #57575C;
}

/* 专项能力包卡 */
.wdi-pack-desc {
  margin: 0 0 16px;
  font-size: 16px;
  font-weight: 300;
  line-height: 30px;
  color: #57575C;
}

.wdi-pack-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.wdi-pack-list li {
  position: relative;
  padding-left: 18px;
  font-size: 16px;
  font-weight: 400;
  line-height: 30px;
  color: #57575C;
}

.wdi-pack-list li::before {
  content: "◇";
  position: absolute;
  left: 0;
  color: #93959D;
}

/* 行业功能模板卡 */
.wdi-tpl-field {
  padding: 16px 0;
  border-bottom: 1px solid #DBDFE8;
}

.wdi-tpl-field:first-child {
  padding-top: 0;
}

.wdi-tpl-field:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.wdi-tpl-field-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 600;
  color: #1F1F1F;
}

.wdi-tpl-field-label img {
  width: 18px;
  height: 34px;
  object-fit: contain;
}

.wdi-tpl-field p {
  margin: 0;
  font-size: 15px;
  font-weight: 300;
  line-height: 28px;
  color: #57575C;
}

/* 专项能力包：标题模块位于左侧（Figma 2×4 网格，标题为左上单元格，7 卡流式填充其余 7 格） */
.wdi-func-sec--pack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 17px;
}

.wdi-func-sec--pack .wdi-module-head {
  margin: 0;
  align-self: start;
}

.wdi-func-sec--pack .wdi-module-bg {
  height: 405px;
}

.wdi-func-sec--pack .wdi-func-grid {
  display: contents;
}

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

.wdi-case-section,
.wdi-faq-section {
  padding: 70px 0;
  background: #fff;
}

.wdi-status {
  display: none;
  padding: 48px 16px;
  text-align: center;
  color: #93959D;
  font-size: 15px;
}

.wdi-status.is-visible {
  display: block;
}

/* ---------- 客户案例卡片 ---------- */
.wh-case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wh-case-card {
  background: #fff;
  border: 1px solid #DBDFE8;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wh-case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.wh-case-media img {
  display: block;
  width: 100%;
  height: auto;
}

.wh-case-body {
  padding: 20px 24px 22px;
}

.wh-case-body h3 {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: #404043;
}

.wh-case-desc {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 24px;
  color: #57575C;
}

.wh-case-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wh-case-date {
  font-size: 13px;
  color: #93959D;
}

.wh-case-more {
  font-size: 14px;
  color: #DA0029;
}

/* ---------- FAQ ---------- */
.wh-faq-inner {
  margin: 0 auto;
}

.wh-faq-item {
  border-bottom: 1px solid #DBDFE8;
}

.wh-faq-q {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 20px 8px;
  cursor: pointer;
}

.wh-faq-badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 4px;
  background: #DA0029;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.wh-faq-q h3 {
  flex: 1;
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: #404043;
}

.wh-faq-a {
  display: none;
  gap: 12px;
  padding: 0 8px 24px 44px;
}

.wh-faq-item.is-open .wh-faq-a {
  display: flex;
}

.wh-faq-a .wh-faq-badge {
  background: #F5F7FA;
  color: #57575C;
  border: 1px solid #DBDFE8;
}

.wh-faq-ans {
  flex: 1;
  min-width: 0;
}

.wh-faq-name {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #57575C;
}

.wh-faq-name.is-ai {
  color: #1A73E8;
}

.wh-faq-ans p {
  margin: 0;
  font-size: 15px;
  line-height: 26px;
  color: #57575C;
}

/* ============================================================
   响应式（1280 / 768 / 480 三个断点，与站场/仓库页一致）
   ============================================================ */
@media (max-width: 1280px) {
  .lct-banner-wdi {
    min-height: 500px;
    padding: 70px 0 24px;
  }

  .lct-banner-wdi .banner-values {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .adv-grid-wdi {
    grid-template-columns: repeat(2, 1fr);
  }

  .intro-layout-wdi {
    flex-direction: column;
    gap: 36px;
  }

  .lct-intro-wdi .intro-figure-col {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .lct-banner-wdi {
    min-height: auto;
    padding: 56px 0 64px;
  }

  .lct-banner-wdi .banner-values {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .pain-grid-wdi {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 28px;
  }

  .pain-grid-wdi .pain-card {
    min-height: auto;
    padding: 24px 18px;
  }

  .pain-grid-wdi .pain-card h3 {
    font-size: 15px;
  }

  .pain-grid-wdi .pain-no {
    font-size: 14px;
  }

  .pain-grid-wdi .pain-card {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 16px;
  }

  .pain-grid-wdi .pain-icon {
    flex: 0 0 auto;
    margin-bottom: 0;
  }

  .pain-grid-wdi .pain-card h3 {
    flex: 1;
    min-width: 0;
    margin-bottom: 0;
  }

  .pain-grid-wdi .pain-no {
    flex: 0 0 100%;
    margin-top: 12px;
  }

  .lct-intro-wdi {
    padding: 48px 0 56px;
  }

  .intro-layout-wdi p {
    font-size: 14px;
    line-height: 26px;
  }

  .adv-grid-wdi {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .adv-grid-wdi .adv-card {
    min-height: 96px;
  }

  .lct-function-wdi {
    padding: 48px 0 32px;
  }

  .wdi-func-sec {
    margin-bottom: 40px;
  }

  .wdi-module-bg {
    height: 120px;
  }

  .wdi-module-overlay {
    padding: 16px 20px;
  }

  .wdi-module-title {
    font-size: 16px;
  }

  .wdi-module-lead {
    font-size: 13px;
    line-height: 22px;
  }

  .wdi-func-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .wdi-func-sec--pack {
    display: block;
  }

  .wdi-func-sec--pack .wdi-module-head {
    margin: 0 0 24px;
  }

  .wdi-func-sec--pack .wdi-module-bg {
    height: 120px;
  }

  .wdi-func-sec--pack .wdi-func-grid {
    display: grid;
  }

  .wdi-func-head h3 {
    font-size: 16px;
  }

  .wdi-func-card > p,
  .wdi-func-body {
    padding: 24px;
  }

  .wdi-func-card > p,
  .wdi-pack-desc,
  .wdi-pack-list li {
    font-size: 14px;
    line-height: 26px;
  }

  .wdi-tpl-field p {
    font-size: 14px;
    line-height: 26px;
  }

  .wdi-case-section,
  .wdi-faq-section {
    padding: 48px 0 56px;
  }

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

@media (max-width: 480px) {
  .lct-banner-wdi .banner-values {
    grid-template-columns: 1fr;
  }

  .pain-grid-wdi {
    grid-template-columns: 1fr;
  }

  .adv-grid-wdi .adv-card {
    flex-direction: row;
    min-height: 92px;
  }
}

/* 1800-769px：主体版心宽度与 station-operation 对齐（83%）；手机端同步加宽至 100% */
@media (min-width: 769px) and (max-width: 1800px) {
  .lct-banner-wdi .banner-content,
  .lct-industry-wdi .content-wrapper,
  .lct-intro-wdi .content-wrapper,
  .lct-advantage-wdi .content-wrapper,
  .lct-function-wdi .content-wrapper {
    max-width: var(--max-width);
  }
}

@media (max-width: 768px) {
  .lct-banner-wdi .banner-content,
  .lct-industry-wdi .content-wrapper,
  .lct-intro-wdi .content-wrapper,
  .lct-advantage-wdi .content-wrapper,
  .lct-function-wdi .content-wrapper {
    max-width: 100%;
  }
}

/* 1025-1524：Banner 内容区宽度/左右内边距与 station-operation 对齐（89% + clamp），仅作用于 banner 内容区 */
@media (min-width: 1025px) and (max-width: 1524px) {
  .lct-banner-wdi .banner-content {
    width: 89%;
    max-width: 89%;
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(24px, 5vw, 90px);
    padding-right: clamp(24px, 5vw, 90px);
  }
}