/* ============================================================
   cases.css — 案例页面专属样式（MOB 主题）
   布局：标杆案例 3 列图文卡片 + 行业案例 左侧 Tab + 右侧品牌网格
   ============================================================ */

/* ===== 标杆案例 4 列网格 ===== */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.case-card {
  background: #f4f8ff;
  /* background: #f8faff; */
  /* border: 1px solid var(--border, #e8ebf0); */
  border-radius: 16px;
  overflow: hidden;
  transition: transform .4s cubic-bezier(.22, 1, .36, 1),
              box-shadow .4s cubic-bezier(.22, 1, .36, 1);
  cursor: pointer;
}

.case-card:hover {
  background: #ffffff;
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(4, 41, 89, .1);
}

/* 图片区域 */
.case-card__visual {
  position: relative;
  height: 160px;
  overflow: hidden;
  background: #031335;
}

.case-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.22, 1, .36, 1);
  opacity: .64;
}

.case-card:hover .case-card__visual img {
  transform: scale(1.06);
}

.case-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4, 41, 89, .55) 0%, rgba(4, 41, 89, .15) 45%, transparent 100%);
  pointer-events: none;
  transition: opacity .4s ease;
}

.case-card:hover .case-card__overlay {
  opacity: .85;
}

/* 内容区域 */
.case-card__body {
  padding: 20px 24px;
}

.case-card__title {
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-dark);
  line-height: 1.4;
  margin-bottom: 8px;
}

.case-card__desc {
  font-size: 13px;
  line-height: 1.65;
  color: var(--text, #4a5568);
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.case-card__dots {
  display: block;
  font-size: 15px;
  line-height: 1;
  color: var(--brand, #0a57d0);
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.case-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.case-card__tags li {
  font-size: 12px;
  font-weight: 500;
  color: var(--text, #4a5568);
  background: var(--bg-soft, #f7f9fc);
  border: 1px solid var(--border, #e8ebf0);
  border-radius: 999px;
  padding: 5px 12px;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.case-card:hover .case-card__tags li {
  background: rgba(10, 87, 208, .06);
  border-color: rgba(10, 87, 208, .2);
  color: var(--brand, #0a57d0);
}

/* ===== 行业案例 列表平铺 ===== */
.industry-list {
  margin-top: 56px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.industry-section {
  border-radius: 20px;
  transition: box-shadow .35s ease, border-color .35s ease;
  display: grid;
  grid-template-columns: 2fr 8fr;
  gap: 36px;
}

.industry-section__header {
  padding-top: 24px;
  border-top: 1px solid var(--border, #e8ebf0);
}

.industry-section__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink, #0d1b2a);
  line-height: 1.3;
  margin: 0;
  padding-left: 8px;
}

.industry-section__count {
  font-size: 13px;
  font-weight: 500;
  color: var(--text, #4a5568);
  background: var(--bg-soft, #f7f9fc);
  border: 1px solid var(--border, #e8ebf0);
  border-radius: 999px;
  padding: 5px 14px;
  white-space: nowrap;
  margin-top: 8px;
  display: block;
  float: left;
}

.industry-section__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.industry-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 72px;
  background-color: #ffffff;
  border-radius: 12px;
  padding: 0px;
  /* padding: 14px 18px; */
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease, background .3s ease;
}

.industry-logo:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(4, 41, 89, .08);
  border-color: rgba(10, 87, 208, .2);
  background: #ffffff;
}

.industry-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(0);
  transition: filter .3s ease;
}

.industry-logo:hover img {
  filter: grayscale(0);
}

/* 更多案例 */
.industry-more {
  margin-top: 48px;
  text-align: center;
}

.industry-more .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 28px;
  height: 44px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}

.btn--secondary {
  color: var(--brand, #0a57d0);
  background: #ffffff;
  border: 1px solid var(--brand, #0a57d0);
}

.btn--secondary:hover {
  color: #ffffff;
  background: var(--brand, #0a57d0);
}

/* ===== 响应式 ===== */
@media (max-width: 1200px) {
  .case-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
}

@media (max-width: 1024px) {
  .case-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 44px;
  }

  .industry-list {
    gap: 36px;
    margin-top: 44px;
  }

  .industry-section {
    padding: 22px 24px 26px;
  }

  .industry-section__title {
    font-size: 15px;
  }

  .industry-section__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
