/* ==========================================================================
   industries.css — industries & end-use matrix
   ========================================================================== */

.industries {
  padding-block: var(--sp-10);
  background: var(--paper);
}

.industries__head {
  max-width: 640px;
  margin-bottom: var(--sp-7);
}

.industries__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-5);
}

.industries__card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.industries__card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.industries__card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.industries__card:hover img {
  transform: scale(1.08);
}

.industries__card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(23, 15, 40, 0.94) 0%, rgba(23, 15, 40, 0.55) 45%, rgba(23, 15, 40, 0.05) 75%);
}

.industries__card-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: var(--sp-5);
  color: #fff;
}

.industries__card-body h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
  margin-bottom: 0.5em;
  line-height: 1.25;
}

.industries__card-body p {
  font-size: 0.82rem;
  line-height: 1.55;
  color: #d9d2ea;
  margin-bottom: var(--sp-3);
}

.industries__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4em;
}
.industries__tags span {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.35em 0.7em;
  border-radius: var(--radius-pill);
  background: rgba(245, 166, 35, 0.2);
  color: var(--ember-300);
  border: 1px solid rgba(245, 166, 35, 0.35);
}

@media (max-width: 980px) {
  .industries__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .industries__grid {
    grid-template-columns: 1fr;
  }
  .industries__card {
    aspect-ratio: 16 / 10;
  }
}
