/* =========================================================================
   Solution detail — Steps timeline
   ========================================================================= */

.sol-steps {
  padding: 96px 0;
  background: #FFFFFF;
}

.sol-steps__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.sol-steps__title {
  margin: 0;
  color: #293948;
  font-family: var(--font-hn);
  font-weight: 700;
  font-size: 30px;
  line-height: 136%;
  letter-spacing: 0.01em;
}

.sol-steps__desc {
  margin: 0;
  color: #616161;
  font-family: var(--font-hn);
  font-weight: 300;
  font-size: 16px;
  line-height: 150%;
  letter-spacing: 0.01em;
}

/* --- Steps row ------------------------------------------------------------- */
.sol-steps__wrap {
  width: 100%;
  margin-top: 72px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.sol-steps__wrap::-webkit-scrollbar {
  display: none;
}

.sol-steps__track {
  --step-width: 150px;
  --step-gap: 40px;
  --arrow-size: 40px;
  display: flex;
  gap: var(--step-gap);
  justify-content: center;
  min-width: max-content;
  margin: 0 auto;
  padding: 0 15px;
}

.sol-steps__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: var(--step-width);
  max-width: var(--step-width);
  flex-shrink: 0;
  text-align: center;
}

/* --- Icon ------------------------------------------------------------------ */
.sol-steps__step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}

.sol-steps__step-icon img {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: contain;
}

/* --- Label ----------------------------------------------------------------- */
.sol-steps__step-label {
  color: #293948;
  font-family: var(--font-hn);
  font-weight: 500;
  font-size: 20px;
  line-height: 138%;
  letter-spacing: 0.01em;
}

/* --- Arrow circle with connecting line ------------------------------------ */
.sol-steps__step-arrow {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--arrow-size);
  height: var(--arrow-size);
  border-radius: 50%;
  background: #FAFAFA;
  border: 1px solid #EEEEEE;
  box-sizing: border-box;
  flex-shrink: 0;
}

.sol-steps__step-arrow::after {
  content: '';
  position: absolute;
  top: 50%;
  left: calc(100% + 1px);
  width: calc(var(--step-width) - var(--arrow-size) + var(--step-gap));
  height: 1px;
  background: #EEEEEE;
  transform: translateY(-50%);
  pointer-events: none;
}

.sol-steps__step:last-child .sol-steps__step-arrow::after {
  display: none;
}

.sol-steps__step-arrow svg {
  display: block;
  width: 24px;
  height: 24px;
}

/* --- Description ----------------------------------------------------------- */
.sol-steps__step-desc {
  color: #616161;
  font-family: var(--font-hn);
  font-weight: 300;
  font-size: 16px;
  line-height: 150%;
  letter-spacing: 0.01em;
}

/* --- Responsive ------------------------------------------------------------ */
@media screen and (max-width: 1024px) {
  .sol-steps__track {
    --step-width: 140px;
    --step-gap: 32px;
  }
}

@media screen and (max-width: 767px) {
  .sol-steps {
    padding: 56px 0;
  }

  .sol-steps__wrap {
    margin-top: 48px;
  }

  .sol-steps__title {
    font-size: 24px;
  }

  .sol-steps__track {
    --step-width: 130px;
    --step-gap: 24px;
    padding: 0 24px;
    justify-content: flex-start;
  }

  .sol-steps__step-label {
    font-size: 18px;
  }

  .sol-steps__step-desc {
    font-size: 14px;
  }
}
