/* ============================================================
   dangerous-goods-transport.css - 危险货物运输管理系统 页面专属样式
   基于 Figma #852:2590 设计还原
   - 仅作用于本页 <main> 区域，不影响导航、页脚、全局 css/js
   - Banner / 区块标题 / 痛点卡 / 介绍面板 / 优势卡 / 功能卡等版式
     对齐 station-operation 与 product-rail-intermodal 原有页面逻辑
   - 响应式断点严格对齐站场页面：1200 / 992 / 768 / 480，
     不新建响应式规则
   - 客户案例 / FAQ 模块 DOM 完整保留，页面视觉隐藏（display:none），
     外层 .case-faq-wrap 改 display:block 即可展示
   ============================================================ */

/* ============================================================
   通用区块标题（装饰线 + 圆点，对齐站场 section-title 体系）
   ============================================================ */
.lct-section {
  padding: 40px 0 40px;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-bottom: 32px;
}

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

.title-deco {
  position: relative;
  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;
}

/* 深色底（产品优势）区块标题 */
.section-title-light h2 {
  color: #fff;
}

.section-title-light .title-deco::before,
.section-title-light .title-deco::after {
  background-color: #fff;
  opacity: 0.9;
}

.section-title-light .deco-left::before {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), #ffffff);
}

.section-title-light .deco-right::before {
  background: linear-gradient(90deg, #fff, #dbdfe800);
}

/* ============================================================
   1. Banner（站场式：价值条内嵌底部悬浮 + 红粉双条贴底）
   对齐站场 .lct-banner 逻辑；本页为 4 张价值卡最近 Figma #852:2642
   ============================================================ */
.lct-banner.lct-banner-dgt {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 620px;
  height: auto;
  padding: 84px 0 110px;
  background: url('../../assets/images/dangerous-goods-transport/banner-bg-5a7c54.webp') center center / cover no-repeat;
}

/* 遮罩覆盖全高（对齐站场 banner 逻辑） */
.lct-banner-dgt .banner-mask {
  position: absolute;
  inset: 0;
  height: 100%;
  background: linear-gradient(90deg, rgba(31, 31, 31, 0.7) 17%, rgba(31, 31, 31, 0) 100%);
  z-index: 1;
}

/* 内容区：对齐其他产品页 banner（90% 版心 + 左右安全内边距），
   标题/正文/按钮不再与底部四张价值卡左对齐 */
.lct-banner-dgt .content-wrapper.banner-content {
  position: relative;
  z-index: 2;
  max-width: 90%;
  width: 100%;
  padding: 0 clamp(24px, 5vw, 90px);
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;

  box-sizing: border-box;
}

.lct-banner-dgt .banner-content h1 {
  font-size: 36px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.lct-banner-dgt .banner-content p {
  max-width: 694px;
  font-size: 16px;
  line-height: 32px;
  color: #ffffff;
  opacity: 0.95;
  margin-bottom: 40px;
  text-align: justify;
}

.lct-banner-dgt .banner-actions {
  display: flex;
  align-items: center;
  padding-bottom: 24px;
}

/* 预约按钮：Figma #852:2605 尺寸 128×42、圆角 6、主色 #DA0029 */
.lct-banner-dgt .banner-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 128px;
  height: 42px;
  background: #DA0029;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-radius: 6px;
  transition: background 0.2s ease;
  cursor: pointer;
}

.lct-banner-dgt .banner-btn img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.lct-banner-dgt .banner-btn:hover {
  background: #b80022;
}

/* 底部 4 张特性价值卡：复用站场 .banner-values / .value-card 体系，
   内容区推底悬浮至 banner 底边（对齐 product-rail-intermodal） */
.lct-banner-dgt .banner-values {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  width: 100%;
  max-width: 1142px;
  margin: auto auto -70px;
  padding: 0;
  list-style: none;
  align-self: center;
}

.lct-banner-dgt .value-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 76px;
  padding: 0 12px;
  background: #F5F7FA;
  border-radius: 8px;
  box-sizing: border-box;
}

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

.lct-banner-dgt .value-card span {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: #393D40;
  /* 对齐站场 .value-card span：不做 nowrap，文字可换行，
     避免窄屏 grid 列被整行文字撑破导致右侧露白 */
}

/* 红粉双条贴底 */
.lct-banner-dgt .banner-strip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 10px;
  z-index: 1;
}

.lct-banner-dgt .strip-red {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background: #DA0029;
}

.lct-banner-dgt .strip-pink {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -5px;
  height: 5px;
  background: #EF93A4;
}

/* ============================================================
   2. 行业背景（引导文案 + 6 张痛点卡）
   ============================================================ */
.lct-industry-dgt {
  background: #ffffff;
}

.lct-industry-dgt .industry-lead {
  max-width: 1502px;
  margin: 0 auto 8px;
  text-align: left;
  font-size: 16px;
  font-weight: 300;
  line-height: 32px;
  color: var(--color-text);
  text-align: justify;
}

/* 引导小标题（Figma #852:2832 18px Bold 居中） */
.lct-industry-dgt .industry-sub {
  margin: 32px auto 0;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  line-height: 26px;
  color: var(--color-text);
}

/* 痛点网格：3 列 × 2 行（Figma #2015:9884，六张简洁标题卡） */
.pain-grid-dgt {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.pain-grid-dgt .pain-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 88px;
  padding: 12px 24px;
  background: var(--color-bg-section);
  border-radius: 8px;
  box-sizing: border-box;
}

.pain-grid-dgt .pain-card h3 {
  font-size: 16px;
  font-weight: 600;
  line-height: 26px;
  color: var(--color-text);
  text-align: center;
}

/* ============================================================
   3. 产品介绍（标题居中 + 全宽浅灰底图文面板）
   Figma #852:2770 1920 通栏 #E9EEF3、左文字右图、副标题 18px Bold、
   正文 16px/32px JUSTIFIED #57575C
   ============================================================ */
.lct-intro-dgt {
  background: #ffffff;
}

.lct-intro-dgt>.content-wrapper {
  padding-top: 0;
  padding-bottom: 0;
}

.lct-intro-dgt .section-title {
  margin-bottom: 28px;
}

/* 全宽浅灰面板：Figma #852:2770 1920 宽通栏 */
.intro-panel-dgt {
  width: 100%;
  padding: 38px 0;
  background: #E9EEF3;
  box-sizing: border-box;
}

/* 图文面板：左文右图，垂直居中 */
.intro-layout-dgt {
  display: flex;
  align-items: center;
  gap: 60px;
  box-sizing: border-box;
}

.intro-text-dgt {
  flex: 1;
  min-width: 0;
}

/* 副标题：Figma 18px Bold #57575C */
.intro-text-dgt .intro-sub {
  font-size: 18px;
  font-weight: 700;
  line-height: 32px;
  color: #57575C;
  margin-bottom: 16px;
}

/* 正文：Figma 16px / 32px JUSTIFIED #57575C */
.intro-text-dgt .intro-desc {
  font-size: 16px;
  font-weight: 300;
  line-height: 32px;
  color: #57575C;
  text-align: justify;
}

/* 图片：Figma #852:2772 723×341 */
.intro-media-dgt {
  flex: 0 0 722px;
  max-width: 50%;
  margin: 0;
}

.intro-media-dgt img {
  display: block;
  width: 100%;
  border-radius: 8px;
}

/* ============================================================
   4. 产品优势（深灰底 + 8 条砖式条目：4×2 网格）
   Figma #852:2633 背景 rgba(31,31,31,0.6) + adv-bg-31e396.png，
   卡片 rgba(87,87,92,0.5)、边框 #93959D、圆角 8px、108 高、间距 24px、
   图标 24px、文字 16px 白
   ============================================================ */
.lct-advantage-dgt {
  position: relative;
  padding: 36px 0 160px;
  background: url('../../assets/images/dangerous-goods-transport/advantage-bg-31e396.webp') center center / cover no-repeat;
  overflow: hidden;
}

/* 深色遮罩（Figma #852:2633 rgba(31,31,31,0.6) 覆盖于背景图片之上） */
.lct-advantage-dgt .adv-bg-mask {
  position: absolute;
  inset: 0;
  height: 100%;
  background: rgba(31, 31, 31, 0.6);
  z-index: 1;
}

.lct-advantage-dgt>.content-wrapper {
  position: relative;
  z-index: 2;
}

.adv-grid-dgt {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.adv-grid-dgt .adv-card {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  flex: 1 1 calc(25% - 18px);
  min-height: 108px;
  padding: 0 32px;
  background: rgba(87, 87, 92, 0.5);
  border: 1px solid #93959D;
  border-radius: 8px;
  box-sizing: border-box;
}

.adv-grid-dgt .adv-card img {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.adv-grid-dgt .adv-card span {
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
  color: #ffffff;
}

/* ============================================================
   5. 核心功能（2 列卡片：标题行 + 白底描述 + 白底特性列表，
   末张全宽通栏）
   Figma #867:3053~#956:2993：卡片 padding 24px、#F5F7FA、
   边框 #DBDFE8、圆角 8px、标题 18px、正文 16px/30px、
   头部图标 24px + 右侧三点装饰
   ============================================================ */
.lct-function-dgt {
  background: #ffffff;
}

.func-grid-dgt {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.func-grid-dgt .func-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px 24px 16px;
  background: var(--color-bg-section);
  border: 1px solid #DBDFE8;
  border-radius: 8px;
  box-sizing: border-box;
}

/* 头部行：左侧图标+标题，右侧三点装饰 */
.func-grid-dgt .func-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 0;
}

.func-grid-dgt .func-head-l {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.func-grid-dgt .func-head img {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.func-grid-dgt .func-head h3 {
  font-size: 18px;
  font-weight: 600;
  line-height: 26px;
  color: var(--color-text);
}

/* 描述：白底内嵌块（Figma EL-c3ce343d），16px/30px JUSTIFIED */
.func-grid-dgt .func-desc {
  padding: 16px;
  background: #ffffff;
  font-size: 16px;
  font-weight: 300;
  line-height: 30px;
  color: var(--color-text);
  text-align: justify;
  margin-bottom: 0;
}

/* 特性列表：白底内嵌块，双列排布（Figma EL-1fdd3781 / EL-be1a5932） */
.func-grid-dgt .func-features {
  list-style: none;
  margin: 0;
  padding: 16px;
  background: #ffffff;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 24px;
}

.func-grid-dgt .func-features li {
  font-size: 16px;
  font-weight: 400;
  line-height: 30px;
  color: var(--color-text);
  text-align: justify;
  word-break: break-word;
}

/* ============================================================
   6-7. 客户案例 / FAQ 问答（DOM 完整，页面隐藏）
   ============================================================ */
.case-faq-wrap {
  display: none;
}

.lct-case-dgt {
  padding: 60px 0;
  background: var(--color-bg-section);
}

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

.case-grid-dgt .case-card {
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.case-grid-dgt .case-thumb {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.case-grid-dgt .case-card {
  padding: 20px 24px;
}

.case-grid-dgt .case-card h3 {
  font-size: 16px;
  font-weight: 600;
  line-height: 26px;
  color: var(--color-dark);
  margin-bottom: 12px;
}

.case-grid-dgt .case-card p {
  font-size: 14px;
  line-height: 24px;
  color: var(--color-text);
}

.case-grid-dgt .case-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  font-size: 14px;
  color: var(--color-text-note);
}

.case-grid-dgt .case-meta .case-date {
  color: var(--color-text-note);
}

.case-grid-dgt .case-meta .case-more {
  color: #DA0029;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.lct-faq-dgt {
  padding: 40px 0;
  background: #FFFFFF;
}

.lct-faq-dgt .section-title {
  margin-bottom: 40px;
}

.faq-list-dgt {
  max-width: 1188px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* 条目：左列圆徽（问/答） + 右列文本（问题/回答），样式对齐 station-operation .station-faq-* */
.faq-list-dgt .faq-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.faq-list-dgt .faq-icon-col {
  flex: 0 0 39px;
  width: 39px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

/* 问徽：39px 圆底 #E9EEF3 + 红色“问”字，对齐 station-faq-badge */
.faq-list-dgt .faq-q-icon {
  position: relative;
  width: 39px;
  height: 39px;
  background: #E9EEF3;
  border-radius: 50%;
}

.faq-list-dgt .faq-q-icon img {
  display: none;
}

.faq-list-dgt .faq-q-icon span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 500;
  color: #DA0029;
}

/* 答徽：规格与问徽一致，红色“答”字（伪元素渲染），对齐 station-faq-badge */
.faq-list-dgt .faq-a-icon {
  flex: 0 0 39px;
  width: 39px;
  height: 39px;
  position: relative;
  background: #E9EEF3;
  border-radius: 50%;
}

.faq-list-dgt .faq-a-icon img {
  display: none;
}

.faq-list-dgt .faq-a-icon::after {
  content: "答";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 500;
  color: #DA0029;
}

.faq-list-dgt .faq-text-col {
  flex: 1;
  min-width: 0;
}

/* 问题：16px Bold #57575C，对齐 station-faq-q h3 */
.faq-list-dgt .faq-text-col .faq-q {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: #57575C;
  margin-bottom: 16px;
  white-space: normal;
  word-break: break-word;
}

/* 回答：默认收起（由 FAQ 点击交互切换 is-open 展开），14px/1.9 #57575C，长文本自动换行、窄屏不溢出 */
.faq-list-dgt .faq-text-col .faq-a {
  display: none;
  font-size: 14px;
  line-height: 1.9;
  color: #57575C;
  white-space: normal;
  word-break: break-word;
}

/* FAQ 展开/收起交互：点击 .faq-item 切换 is-open，首个条目默认展开 */
.faq-list-dgt .faq-item.is-open .faq-a {
  display: block;
}

.faq-list-dgt .faq-a b {
  font-weight: 700;
  color: #FD9E33;
}

/* ============================================================
   动态渲染：loading / 空数据 / 接口报错 状态容器（JS 控制切换）
   ============================================================ */
.module-state {
  display: none;
}

.module-loading,
.module-empty,
.module-error {
  grid-column: 1 / -1;
  text-align: center;
  padding: 56px 0;
  font-size: 16px;
  line-height: 24px;
  color: var(--color-text-note);
}

/* 客户案例（案例文章）渲染容器：3 列网格，对齐原静态卡片布局 */
.case-list-box {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ============================================================
   响应式断点：1524 / 1200 / 992 / 768 / 480（对齐 station 页面逻辑）
   ============================================================ */
/* 1025-1524px 中间屏：价值卡切 2 列（对齐站场 tank-container-storage.css 1524 断点），
   避免桌面 4 列过窄被内容撑破导致右侧露白 */
@media (max-width: 1524px) and (min-width: 1025px) {
  .lct-banner-dgt .banner-values {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .lct-banner-dgt .value-card {
    min-height: 72px;
    padding: 0 16px;
  }
}

@media (max-width: 1200px) {
  .lct-banner-dgt .banner-values {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  /* 窄屏下允许价值卡文字换行并收缩卡片，避免 grid 列被文字撑破导致右侧露白
     （对齐站场 .value-card span 无 white-space:nowrap 的处理） */
  .lct-banner-dgt .value-card {
    min-width: 0;
  }

  .lct-banner-dgt .value-card span {
    white-space: normal;
    word-break: break-word;
  }

  .lct-banner-dgt .value-card img {
    flex: 0 0 auto;
  }

  .pain-grid-dgt {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .intro-media-dgt {
    flex-basis: 46%;
  }

  .func-grid-dgt .func-features {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 992px) {
  .intro-panel-dgt {
    padding: 24px 0;
  }

  .intro-layout-dgt {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }

  .intro-media-dgt {
    flex: none;
    max-width: 100%;
    width: 100%;
  }

  .adv-grid-dgt .adv-card {
    flex: 1 1 calc(50% - 12px);
  }
}

@media (max-width: 768px) {
  .lct-section {
    padding: 40px 0 40px;
  }

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

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

  .title-deco {
    width: 80px;
  }

  .lct-banner-dgt {
    min-height: 550px;
    padding: 50px 0 120px;
  }

  .lct-banner-dgt .banner-content h1 {
    font-size: 26px;
  }

  .lct-banner-dgt .banner-content p {
    font-size: 14px;
  }

  .lct-banner-dgt .banner-values {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: -80px;
    max-width: 100%;
  }

  .lct-banner-dgt .value-card {
    min-width: 0;
    padding: 12px;
    min-height: 68px;
    gap: 10px;
  }

  .lct-banner-dgt .value-card img {
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
  }

  .lct-banner-dgt .value-card span {
    flex: 1;
    min-width: 0;
    font-size: 14px;
    white-space: normal;
    word-break: break-word;
    line-height: 1.5;
  }

  .lct-industry-dgt .industry-lead {
    font-size: 15px;
  }

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

  .pain-grid-dgt .pain-card {
    min-height: 88px;
    padding: 16px 20px;
  }

  .adv-grid-dgt {
    gap: 16px;
  }

  .adv-grid-dgt .adv-card {
    flex: 1 1 calc(50% - 8px);
    min-height: 130px;
    padding: 16px 12px;
  }

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

  .func-grid-dgt .func-card {
    padding: 20px 16px;
  }

  .func-grid-dgt .func-features {
    grid-template-columns: 1fr;
    gap: 8px;
  }

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

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

  .lct-intro-dgt .section-title {
    margin-bottom: 20px;
  }

  .intro-layout-dgt {
    gap: 16px;
    padding: 20px 0;
  }

  .lct-advantage-dgt {
    padding: 50px 0 150px;
  }
}

@media (max-width: 480px) {
  .pain-grid-dgt {
    grid-template-columns: 1fr;
  }

  .adv-grid-dgt .adv-card {
    flex: 1 1 100%;
  }

  .lct-banner-dgt .banner-values {
    grid-template-columns: 1fr;
  }

  .lct-banner-dgt .banner-btn {
    width: 112px;
    height: 40px;
    font-size: 15px;
  }
}

/* 1800-769px：banner 内容区撑满 83% 版心，避免 flex 收缩导致宽度异常 */
@media (min-width: 769px) and (max-width: 1800px) {
  .lct-banner-dgt .content-wrapper.banner-content {
    width: 100%;
  }
}