.column-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
}

.column-steps__column {
  position: relative;
  background-color: ;
  border-radius: 4px;
  overflow: hidden;
  height: 500px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
}

/*
.column-steps__column:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.column-steps__bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/*
.column-steps__gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(15, 15, 18, 1), transparent);
  z-index: 2;
}
*/

.column-steps__content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 3;
  border-radius: 12px;
  border: 1px solid #4f4f4f;
}

.column-steps__number {
  color: var(--color-primary);
  font-size: 3.4rem;
  font-weight: 300;
  opacity: 0.9;
  line-height: 1;
  padding-bottom: 0;
  transition: transform 0.3s ease, color 0.3s ease;
}

/*
.column-steps__column:hover .column-steps__number {
  transform: scale(1.1);
  color: var(--color-primary);
}
*/

.column-steps__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.column-steps__text h3 {
  font-size: 2rem;
  color: #fff;
  margin: 0;
  padding-bottom: 0;
}

.column-steps__text p {
  color: #f4f4f4;
  margin: 0;
  font-size: clamp(14px, 1vw, 15px);
  line-height: 1.4;
  opacity: 0.9;
}

.column-steps__cta {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}

/* ========================================
   Responsive - Tablet
======================================== */

@media (max-width: 1024px) {
  .column-steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .column-steps__column {
    height: 450px;
  }

  .column-steps__content {
    padding: 8px;
  }

  /* 5 columns = 3 top row, 2 bottom row centered */
  .column-steps__column:nth-child(4),
  .column-steps__column:nth-child(5) {
    grid-column: span 1;
  }

  /* Center last 2 columns if 5 total */
  .column-steps:has(.column-steps__column:nth-child(5)) .column-steps__column:nth-child(4) {
    grid-column: 1 / span 1;
    /* margin-left: calc(50% - 8px / 2); */
  }
}

/* ========================================
   Responsive - Mobile
======================================== */

@media (max-width: 768px) {
  .column-steps {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }

  .column-steps__column {
    flex: 0 0 280px;
    height: 400px;
    scroll-snap-align: start;
  }

  .column-steps__content {
  }

  .column-steps__text p {
    font-size: 14px;
  }

  .column-steps__cta {
    margin-top: var(--scale-6);
  }
}
