/* ============================================================
   tank-transport.css - 产品中心 / 公路物流 / 罐式运输管理系统
   基于 Figma #2061-8051 设计还原
   - 仅作用于本页 main 区域，不影响 header / footer / 全局样式
   - 响应式断点与 station-operation.html 保持一致：
     ≥1525 / 1025-1524 / 769-1024 / ≤768 / ≤480
   - 须在全局 css 之后引入
   ============================================================ */

/* 本页背景全宽铺满（与场站页一致的策略） */
body.page-tank .page-container {
  max-width: none;
}
body.page-tank .page-main {
  width: 100%;
}

/* ============================================================
   区块通用标题（装饰线取自 Figma 导出 svg）
   ============================================================ */
.lct-section {
  padding: 70px 0;
}

.section-title--split {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  margin-bottom: 34px;
}

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

.section-title--split .title-line {
  display: block;
  flex: 0 0 auto;
  height: 10px;
  width: auto;
}

.section-title--overlay {
  position: relative;
  width: max-content;
  max-width: 100%;
  margin: 0 auto 44px;
}

.section-title--overlay .title-line {
  display: block;
  max-width: 100%;
  height: auto;
}

.section-title--overlay h2 {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 24px;
  font-weight: 700;
  line-height: 36px;
  color: #404043;
  letter-spacing: 2px;
  white-space: nowrap;
}

.section-title--light h2 {
  color: #fff;
}

/* ============================================================
   Banner
   ============================================================ */
.lct-banner-tank {
  position: relative;
  height: 620px;
  background: url('../../assets/images/tank-transport/banner-bg.webp') center center / cover no-repeat;
}

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

.lct-banner-tank .banner-content {
  position: relative;
  z-index: 2;
  width: 89%;
  max-width: 89%;
  height: 100%;
  margin: 0 auto;
  padding: 84px clamp(24px, 5vw, 90px) 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.lct-banner-tank .banner-content h1 {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 2px;
  color: #fff;
  margin: 0 0 51px;
}

.lct-banner-tank .banner-content p {
  width: 678px;
  max-width: 100%;
  min-height: 72px;
  font-size: 16px;
  line-height: 24px;
  color: #fff;
  opacity: 0.95;
  text-align: justify;
  margin: 0 0 51px;
}

.lct-banner-tank .banner-actions {
  margin: 0 0 51px;
}

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

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

.lct-banner-tank .banner-btn:hover {
  background: #ac0d2a;
}

/* Banner 底部 6 项能力条（Figma #2061:8143） */
.banner-caps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  width: 100%;
  max-width: 1484px;
  margin: auto auto 0;
  padding: 0;
  align-self: center;
}

.cap-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 72px;
  padding: 10px 18px;
  background: #F5F7FA;
  border-radius: 8px;
  text-align: center;
}

.cap-item img {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  object-fit: contain;
}

.cap-item span {
  font-size: 15px;
  line-height: 22px;
  color: #393D40;
  text-align: center;
}

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

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

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

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

/* ============================================================
   行业背景
   ============================================================ */
.lct-industry {
  padding: 46px 0 0;
  background: #fff;
}

/* 桌面端：痛点模块与产品介绍之间留出与设计稿一致的安全间距（移动端不变） */
@media (min-width: 769px) {
  .lct-industry {
    padding-bottom: 42px;
  }
}

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

.industry-lead p {
  margin: 0;
}

.industry-lead p + p {
  margin-top: 32px;
}

.industry-subtitle {
  margin: 40px 0 30px;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  line-height: 26px;
  color: #57575C;
}

/* 7 个痛点：第一行 3 个，第二行 4 个（12 栅格） */
.pain-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
}

.pain-card {
  grid-column: span 4;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 88px;
  padding: 14px 22px;
  background: #F5F7FA;
  border-radius: 8px;
  font-size: 16px;
  line-height: 25px;
  color: #57575C;
  text-align: center;
}

.pain-card:nth-child(n + 4) {
  grid-column: span 3;
}

/* ============================================================
   产品介绍
   ============================================================ */
.lct-intro {
  padding: 78px 0 78px;
  background: #E9EEF3;
}

.lct-intro .section-title--split {
  margin-bottom: 40px;
}

.intro-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  width: 1333px;
  max-width: 100%;
  margin: 0 auto;
}

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

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

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

.intro-figure {
  flex: 0 0 456px;
  width: 456px;
  max-width: 100%;
}

.intro-figure img {
  display: block;
  width: 100%;
  height: 232px;
  object-fit: cover;
}

/* ============================================================
   产品优势 / 核心功能区块容器
   ============================================================ */
.tank-systems {
  background: #fff;
}

/* ============================================================
   产品优势
   ============================================================ */
.lct-advantage {
  position: relative;
  padding: 78px 0 80px;
  background: url('../../assets/images/tank-transport/advantage-bg.webp') center center / cover no-repeat;
}

.lct-advantage::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(31, 31, 31, 0.6);
}

.lct-advantage .content-wrapper {
  position: relative;
  z-index: 1;
}

.lct-advantage .section-title--overlay {
  margin-bottom: 48px;
}

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

.adv-card {
  grid-column: span 4;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 108px;
  padding: 16px 32px;
  background: rgba(87, 87, 92, 0.5);
  border: 1px solid #93959D;
  border-radius: 8px;
  transition: background 0.3s ease;
}

.adv-card:hover {
  background: rgba(87, 87, 92, 0.7);
}

.adv-card:nth-child(n + 4) {
  grid-column: span 3;
}

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

.adv-card span {
  font-size: 16px;
  font-weight: 600;
  line-height: 26px;
  color: #fff;
}

/* ============================================================
   核心功能：10 个模块卡片
   ============================================================ */
.lct-function {
  padding: 79px 0 24px;
  background: #fff;
}

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

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

.func-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.func-head-left {
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 0;
}

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

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

.func-no {
  flex: 0 0 auto;
  font-size: 14px;
  line-height: 26px;
  color: #57575C;
}

.func-desc {
  padding: 24px 32px;
  background: #fff;
  border-radius: 8px;
}

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

.func-cols {
  display: flex;
  align-items: stretch;
  gap: 16px;
}

.func-col {
  flex: 1 1 0;
  min-width: 0;
  min-height: 390px;
  padding: 16px 32px;
  background: #fff;
  border-radius: 8px;
}

.func-col-body {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.func-col-icon {
  width: 18px;
  height: 34px;
  flex: 0 0 auto;
  object-fit: contain;
}

.func-col-content {
  flex: 1;
  min-width: 0;
}

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

.func-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.func-col li {
  position: relative;
  padding-left: 18px;
  font-size: 16px;
  font-weight: 300;
  line-height: 30px;
  color: #57575C;
  text-align: justify;
}

.func-col li::before {
  content: '◇';
  position: absolute;
  left: 0;
  top: 0;
  font-size: 14px;
  line-height: 30px;
  color: #57575C;
}

/* 第 10 个模块：左卡片 + 右配图 */
.func-card--wide {
  flex-direction: row;
  align-items: stretch;
  padding: 0;
  background: transparent;
  border: 0;
  gap: 16px;
}

.func-wide-left {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px;
  background: #F5F7FA;
  border: 1px solid #DBDFE8;
  border-radius: 8px;
}

.func-wide-left .func-cols .func-col {
  min-height: 0;
}

.func-wide-media {
  flex: 0 0 41.86%;
  border-radius: 8px;
  overflow: hidden;
}

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

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

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

.faq-section {
  padding: 40px 0;
  background: #fff;
}

/* --- 客户案例 --- */
.case-list-box {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.case-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  background: #fff;
  border-radius: 8px;
}

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

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

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

.case-card-desc {
  margin: 0;
  font-size: 16px;
  font-weight: 300;
  line-height: 25px;
  color: #57575C;
}

.case-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  font-size: 14px;
  line-height: 26px;
  color: #93959D;
}

.case-date,
.case-link {
  color: #93959D;
}

.case-link:hover {
  color: #DA0029;
}

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

.faq-item {
  border-bottom: 1px solid transparent;
}

.faq-q {
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
}

.faq-q-icon {
  width: 39px;
  height: 39px;
  flex: 0 0 auto;
}

.faq-q-icon img {
  display: block;
  width: 39px;
  height: 39px;
}

.faq-q-text {
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  color: #57575C;
}

.faq-a {
  display: none;
  align-items: flex-start;
  gap: 12px;
  margin-top: 14px;
  padding-left: 0;
}

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

.faq-a-icon {
  width: 47px;
  height: 47px;
  flex: 0 0 auto;
}

.faq-a-icon.is-sm {
  width: 38px;
  height: 38px;
}

.faq-a-text {
  margin: 0;
  font-size: 14px;
  font-weight: 350;
  line-height: 26px;
  color: #57575C;
  text-align: justify;
}

.faq-a-text strong {
  font-size: 18px;
  font-weight: 700;
  color: #FD9E33;
}

.faq-a-text strong.is-user {
  color: #93959D;
}

/* --- 加载 / 空数据 / 报错 状态 --- */
.case-loading,
.case-empty,
.case-error,
.faq-loading,
.faq-empty,
.faq-error {
  display: none;
  padding: 48px 0;
  text-align: center;
  font-size: 16px;
  line-height: 30px;
  color: #93959D;
}

.case-loading.is-visible,
.case-empty.is-visible,
.case-error.is-visible,
.faq-loading.is-visible,
.faq-empty.is-visible,
.faq-error.is-visible {
  display: block;
}

.case-error.is-visible,
.faq-error.is-visible {
  color: #DA0029;
}

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

/* ============================================================
   响应式：1025 - 1524
   ============================================================ */
@media (min-width: 1025px) and (max-width: 1524px) {
  .lct-banner-tank {
    height: 549px;
  }

  .lct-banner-tank .banner-content {
    padding-top: 56px;
    padding-bottom: 16px;
    padding-left: clamp(24px, 3vw, 60px);
    padding-right: clamp(24px, 3vw, 60px);
  }

  .banner-caps {
    gap: 12px;
  }

  .cap-item {
    padding: 10px 12px;
    gap: 8px;
  }

  .cap-item span {
    font-size: 14px;
    line-height: 20px;
  }

  .adv-card {
    padding: 16px 20px;
  }

  .func-col {
    padding: 16px 20px;
  }
}

/* ============================================================
   响应式：≤1280（Banner 能力条 3 列 2 行）
   ============================================================ */
@media (max-width: 1280px) {
  .banner-caps {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============================================================
   响应式：≤1024
   ============================================================ */
@media (max-width: 1024px) {
  /* Banner 改为内容撑高 */
  .lct-banner-tank {
    height: auto;
    min-height: 560px;
    padding-bottom: 10px;
  }

  .lct-banner-tank .banner-content {
    height: auto;
    padding-top: 70px;
    padding-bottom: 40px;
  }

  .lct-banner-tank .banner-content p {
    min-height: 0;
  }

  .banner-caps {
    margin-top: 36px;
  }

  .lct-banner-tank .banner-strip {
    position: static;
    height: 10px;
  }

  .lct-banner-tank .strip-red {
    bottom: 5px;
  }

  .pain-card,
  .pain-card:nth-child(n + 4) {
    grid-column: span 6;
  }

  .adv-card,
  .adv-card:nth-child(n + 4) {
    grid-column: span 6;
  }

  .intro-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .intro-figure {
    flex: 0 0 auto;
    width: 100%;
  }

  .intro-figure img {
    width: 100%;
    height: auto;
  }

  .func-cols {
    flex-direction: column;
  }

  .func-col {
    flex: 0 0 auto;
    min-height: 0;
  }

  .func-card--wide {
    flex-direction: column;
  }

  .func-wide-media {
    flex: 0 0 auto;
    width: 100%;
  }

  .func-wide-media img {
    height: auto;
  }

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

/* ============================================================
   响应式：≤768
   ============================================================ */
@media (max-width: 768px) {
  .section-title--split {
    gap: 10px;
    margin-bottom: 26px;
  }

  .section-title--split h2,
  .section-title--overlay h2 {
    font-size: 20px;
    letter-spacing: 1px;
  }

  .section-title--split .title-line {
    width: 72px;
    height: 8px;
  }

  .section-title--overlay {
    margin-bottom: 30px;
  }

  .section-title--overlay .title-line {
    width: 260px;
  }

  /* Banner */
  .lct-banner-tank .banner-content {
    padding-top: 48px;
    padding-bottom: 40px;
  }

  .lct-banner-tank .banner-content h1 {
    font-size: 24px;
    line-height: 1.3;
    letter-spacing: 1px;
    margin-bottom: 14px;
  }

  .lct-banner-tank .banner-content p {
    font-size: 14px;
    line-height: 24px;
    margin-bottom: 20px;
  }

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

  .lct-banner-tank .banner-btn {
    width: auto;
    height: 40px;
    min-width: 118px;
    font-size: 15px;
    padding: 0 18px;
  }

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

  .banner-caps {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 28px;
  }

  .cap-item {
    min-height: 62px;
    padding: 10px 12px;
    gap: 8px;
  }

  .cap-item img {
    width: 26px;
    height: 26px;
  }

  .cap-item span {
    font-size: 13px;
    line-height: 19px;
  }

  /* 行业背景 */
  .lct-industry {
    padding-top: 36px;
    /* 手机端与下方“产品介绍”之间增加 24px 间距 */
    padding-bottom: 24px;
  }

  .industry-lead {
    font-size: 14px;
    line-height: 26px;
  }

  .industry-subtitle {
    margin: 26px 0 20px;
    font-size: 15px;
  }

  .pain-card,
  .pain-card:nth-child(n + 4) {
    grid-column: span 6;
    min-height: 60px;
    font-size: 14px;
    padding: 12px 16px;
  }

  /* 产品介绍 */
  .lct-intro {
    padding: 32px 0 24px;
  }

  .intro-text h3 {
    font-size: 15px;
  }

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

  /* 产品优势 */
  .lct-advantage {
    padding: 48px 0;
  }

  .adv-card,
  .adv-card:nth-child(n + 4) {
    grid-column: span 12;
    min-height: 84px;
    padding: 14px 18px;
    gap: 12px;
  }

  .adv-card span {
    font-size: 15px;
    line-height: 24px;
  }

  /* 核心功能 */
  .lct-function {
    padding: 40px 0 16px;
  }

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

  .func-head h3 {
    font-size: 16px;
    line-height: 24px;
  }

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

  .func-head-icon {
    width: 26px;
    height: 26px;
  }

  .func-desc {
    padding: 16px;
  }

  .func-desc p {
    font-size: 14px;
    line-height: 26px;
  }

  .func-col {
    padding: 14px 16px;
  }

  .func-col h4 {
    font-size: 15px;
  }

  .func-col li {
    font-size: 14px;
    line-height: 26px;
  }

  .func-col li::before {
    line-height: 26px;
  }

  .func-card--wide {
    padding: 0;
  }

  .func-wide-left {
    padding: 20px 16px;
  }

  /* 客户案例 / FAQ */
  .case-list-box {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .case-card-img {
    height: 200px;
  }

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

  .faq-a-icon {
    width: 38px;
    height: 38px;
  }

  .faq-a-text {
    font-size: 13px;
    line-height: 24px;
  }
}

/* ============================================================
   响应式：≤480
   ============================================================ */
@media (max-width: 480px) {
  .section-title--split .title-line {
    width: 50px;
  }

  .section-title--overlay .title-line {
    width: 220px;
  }

  .cap-item {
    min-height: 56px;
  }

  .func-no {
    font-size: 13px;
  }
}

/* ============================================================
   产品优势：手机端与产品中心其他页面统一
   - 内容宽 90%（content-wrapper）
   - 方块内图标在左、文字在右，整体左对齐；内边距 16px；最小高度 88px
   ============================================================ */
@media (max-width: 768px) {
  :root:root .lct-advantage .content-wrapper {
    width: 90%;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
  }

  .lct-advantage .adv-card,
  .lct-advantage .adv-card:nth-child(n + 4) {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    padding: 16px;
    min-height: 88px;
  }
}
