/* ══════════════════════════════════════════════════
   Industries — Dark card marquee grid
   ══════════════════════════════════════════════════ */

.bh-ind-cards {
  background: #000;
  padding: clamp(60px, 8vw, 100px) 0;
  overflow: hidden;
  font-family: var(--font-family-primary, "Plus Jakarta Sans", sans-serif);
}

.bh-ind-cards-container {
  max-width: clamp(320px, 83.33vw, 1600px);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 48px);
}

/* ── Title ── */
.bh-ind-cards-title {
  font-size: var(--fs-h2, clamp(1.5rem, 1rem + 1.6667vw, 3rem));
  font-weight: 600;
  color: #fff;
  text-align: center;
  line-height: 1.2;
  margin: 0 0 clamp(48px, 6vw, 80px);
}

.bh-ind-cards-title span {
  display: inline-block;
  overflow: hidden;
}

.bh-ind-cards-title span span {
  display: inline-block;
}

/* ── Marquee rows ── */
.bh-ind-cards-marquee {
  width: 100%;
  display: flex;
  align-items: center;
  overflow: hidden;
  height: 250px;
}

.bh-ind-cards-marquee + .bh-ind-cards-marquee {
  margin-top: 24px;
}

.bh-ind-cards-track {
  display: flex;
  width: max-content;
  animation: bh-ind-scroll-left 30s linear infinite;
  will-change: transform;
}

.bh-ind-cards-marquee--reverse .bh-ind-cards-track {
  animation: bh-ind-scroll-right 30s linear infinite;
}

.bh-ind-cards-marquee:hover .bh-ind-cards-track {
  animation-play-state: paused;
}

.bh-ind-cards-content {
  display: flex;
  gap: 24px;
  padding-right: 24px;
}

@keyframes bh-ind-scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-33.333%); }
}

@keyframes bh-ind-scroll-right {
  0% { transform: translateX(-33.333%); }
  100% { transform: translateX(0); }
}

/* ── Card ── */
.bh-ind-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 246px;
  height: 250px;
  padding: 32px;
  border-radius: 24px;
  border: 1px solid #3e3e3d;
  background: #191918;
  text-decoration: none;
  flex-shrink: 0;
  transition: border-color 0.3s ease, background-color 0.3s ease;
  box-sizing: border-box;
}

.bh-ind-card:hover {
  border-color: #5e5e5d;
  background: #222221;
}

/* ── Icon ── */
.bh-ind-card-icon {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
}

.bh-ind-card-icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

/* ── Label ── */
.bh-ind-card-label {
  font-size: var(--fs-para, clamp(0.8rem, 0.8rem + 0.167vw, 1rem));
  font-weight: 600;
  color: #fff;
  text-align: center;
  line-height: 1.4;
}

/* ══════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════ */

@media (max-width: 1680px) {
  .bh-ind-cards-marquee {
    height: 200px;
  }

  .bh-ind-card {
    width: 193px;
    height: 196px;
    padding: 24px;
    border-radius: 18px;
  }

  .bh-ind-card-icon {
    width: 44px;
    height: 44px;
  }

  .bh-ind-cards-content {
    gap: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 1366px) {
  .bh-ind-cards-marquee {
    height: 166px;
  }

  .bh-ind-card {
    width: 164px;
    height: 166px;
    padding: 21px;
    border-radius: 16px;
  }

  .bh-ind-card-icon {
    width: 36px;
    height: 36px;
  }

  .bh-ind-cards-content {
    gap: 16px;
    padding-right: 16px;
  }
}

@media (max-width: 767px) {
  .bh-ind-cards-marquee {
    height: 140px;
  }

  .bh-ind-card {
    width: 130px;
    height: 140px;
    padding: 16px;
    border-radius: 14px;
    gap: 10px;
  }

  .bh-ind-card-icon {
    width: 32px;
    height: 32px;
  }

  .bh-ind-cards-content {
    gap: 12px;
    padding-right: 12px;
  }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  .bh-ind-cards-track {
    animation: none;
  }
}
