/* ============================================================
   case-manufacture.css - 生产制造行业客户案例页样式
   基于 Figma #1444:5163 设计还原
   - 仅作用于本页 main 区域，不影响导航、页脚
   - 复用站场作业页（station-operation）的响应式逻辑与通用样式规范
   ============================================================ */

/* ============================================================
   Banner（标题 / 描述 / 预约演示按钮 + 底部红粉双条）
   ============================================================ */
.lct-banner {
  position: relative;
  height: 620px;
}

.lct-banner-case {
  background: url('../../assets/images/case-manufacture/banner-bg.png') center center / cover no-repeat;
}

/* 内容整体上下居中：仅覆盖 banner-unified.css 对本页 Banner 的纵向 padding 与顶部对齐 */
.lct-banner.lct-banner-case.lct-banner-case {
  padding-top: 0;
  padding-bottom: 54px;
}

.lct-banner.lct-banner-case.lct-banner-case .banner-content {
  flex: 1 1 auto;
  height: auto;
  justify-content: center;
}

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

/* Banner 内容区宽度与 station-operation 一致：89% 版心 + 同等左右内边距
   仅本页生效；重复 .content-wrapper / .banner-content 用于覆盖
   banner-unified.css 中本页 1500px / 100% 的宽度规则 */
.lct-banner.lct-banner-case .content-wrapper.banner-content.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);
}

.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%);
}

.banner-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.banner-content h1 {
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0;
  margin: 0 0 22px;
  max-width: 760px;
}

.banner-content p {
  max-width: 685px;
  font-size: 16px;
  line-height: 1.9;
  color: #fff;
  text-align: justify;
  margin: 0 0 30px;
  opacity: 0.92;
}

.banner-actions {
  display: flex;
  align-items: center;
}

.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-radius: 6px;
  white-space: nowrap;
  transition: background 0.2s ease;
  cursor: pointer;
}

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

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

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

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

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

/* ============================================================
   通用区块标题（对齐 Figma：栏目标题 + 圆点分割线 SVG）
   - 分割线为 Figma 原始 SVG，含中心缺口，标题文字叠于缺口之上
   ============================================================ */
.section-title {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  margin: 0 auto 32px;
}

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

.section-title-text {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  color: #57575C;
  white-space: nowrap;
  margin: 0;
}

/* ============================================================
   行业案例区块（标题 + 案例卡片网格）
   ============================================================ */
.case-section {
  padding-top: 56px;
}

.case-section:last-of-type {
  padding-bottom: 64px;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  /* gap: 16px; */
  margin: 0;
  padding: 0;
  list-style: none;
}

.case-card {
  position: relative;
  aspect-ratio: 377 / 240;
  border: 1px solid #DBDFE8;
  background: #fff;
  overflow: hidden;
  box-sizing: border-box;
}

.case-card-photo {
  position: absolute;
  left: 10.6%;
  top: 16.7%;
  width: 78.8%;
  height: 66.7%;
  object-fit: cover;
  display: block;
}

.case-card-corners {
  position: absolute;
  left: 5.3%;
  top: 7.1%;
  width: 89.4%;
  height: 85.4%;
  object-fit: fill;
  pointer-events: none;
  z-index: 2;
}

/* ============================================================
   Figma 1444:5163 新版客户案例
   - 标题：左右渐隐线 + 圆点 + 居中文字
   - 卡片：Figma 导出的 377x240 客户 logo 卡，图片自带 1px 边框
   ============================================================ */
.case-section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  margin: 0 auto 32px;
}

.case-section-title h2 {
  margin: 0 12px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  color: #57575C;
  white-space: nowrap;
}

.case-title-line {
  flex: none;
  width: 100px;
  height: 3px;
}

.case-title-line--left {
  background: linear-gradient(90deg, rgba(219, 223, 232, 0) 0%, #DBDFE8 100%);
}

.case-title-line--right {
  background: linear-gradient(90deg, #DBDFE8 0%, rgba(219, 223, 232, 0) 100%);
}

.case-title-dot {
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #DBDFE8;
}

/* 新版卡片：logo 居中，标签固定在卡片底部（同一行底对齐） */
.case-card--logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 14px 62px;
}

.case-card-brand {
  display: block;
  width: auto;
  height: auto;
  max-width: 76%;
  max-height: 78px;
  object-fit: contain;
}

.case-card-tags {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 16px;
  margin: 0;
  font-size: 16px;
  line-height: 22px;
  color: #366B81;
  text-align: center;
}

.case-card-tags .is-accent {
  color: #DB7114;
  font-weight: 700;
}

.case-tag-sep {
  margin: 0 4px;
  color: #366B81;
  font-weight: 400;
}

@media (max-width: 768px) {
  .case-section-title {
    margin-bottom: 24px;
  }

  .case-section-title h2 {
    margin: 0 8px;
    font-size: 18px;
  }

  .case-title-line {
    width: 48px;
    height: 2px;
  }

  .case-title-dot {
    width: 10px;
    height: 10px;
  }
}

@media (max-width: 480px) {
  .case-title-line {
    width: 28px;
  }

  .case-section-title h2 {
    margin: 0 6px;
    font-size: 16px;
  }
}

/* ============================================================
   加载 / 空数据 / 接口报错提示
   ============================================================ */
.case-state {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  padding: 40px 20px;
  text-align: center;
  font-size: 14px;
  color: var(--color-text-note);
  background: var(--color-bg-section);
  border-radius: 8px;
  grid-column: 1 / -1;
}

.case-state.is-visible {
  display: flex;
}

.case-state .case-state-icon {
  display: block;
  margin: 0 auto 12px;
  font-size: 32px;
  line-height: 1;
}

.case-state-error {
  color: var(--color-error);
}

.case-state .retry-btn {
  display: inline-block;
  margin-top: 12px;
  padding: 6px 20px;
  background: #DA0029;
  color: #fff;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
}

/* ============================================================
   响应式（严格复刻站场作业页的断点逻辑）
   ============================================================ */
@media (max-width: 1200px) {
  .case-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .banner-content h1 {
    font-size: 30px;
  }

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

@media (max-width: 768px) {
  .lct-banner {
    height: 420px;
  }

  .banner-content h1 {
    font-size: 26px;
    margin-bottom: 16px;
  }

  .banner-content p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 22px;
  }

  .case-section {
    padding-top: 40px;
  }

  .case-section:last-of-type {
    padding-bottom: 48px;
  }

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

  .section-title-text {
    font-size: 18px;
  }

  .case-grid {
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .case-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .banner-content p {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

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