.process-steps {
  width: 100%;
  padding: 70px 0;
  background-color: #ffffff;
}
.process-steps .steps-container {
  box-sizing: border-box;
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 15px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem;
}
.process-steps .steps-container:has(.step-item:nth-child(3):last-child) {
  grid-template-columns: repeat(3, 1fr);
}
.process-steps .steps-container:has(.step-item:nth-child(4):last-child) {
  grid-template-columns: repeat(4, 1fr);
}
.process-steps .steps-container:has(.step-item:nth-child(5):last-child) {
  grid-template-columns: repeat(5, 1fr);
}
/* Tablet: 2 kolumny – nadpisujemy :has() wyższą specyficznością w media query */
@media (max-width: 1024px) {
  .process-steps .steps-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.9375rem;
  }
  .process-steps .steps-container:has(.step-item:nth-child(3):last-child),
  .process-steps .steps-container:has(.step-item:nth-child(4):last-child),
  .process-steps .steps-container:has(.step-item:nth-child(5):last-child) {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* Telefon: 1 kolumna */
@media (max-width: 640px) {
  .process-steps .steps-container {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .process-steps .steps-container:has(.step-item:nth-child(3):last-child),
  .process-steps .steps-container:has(.step-item:nth-child(4):last-child),
  .process-steps .steps-container:has(.step-item:nth-child(5):last-child) {
    grid-template-columns: 1fr;
  }
  .process-steps {
    padding-top: 1.5625rem;
    padding-bottom: 1.5625rem;
  }
  .process-steps .steps-container {
    padding-top: 0;
  }
}
.process-steps .step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.process-steps .step-icon-wrapper {
  position: relative;
  display: inline-block;
}
.process-steps .step-icon {
  width: 84px;
  height: 75px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 8px;
  background-color: transparent;
  color: #00a651;
  font-size: 1.25rem;
  overflow: hidden;
  margin-bottom: 10px;
}
.process-steps .step-icon-image {
  width: 84px;
  height: 75px;
  -o-object-fit: contain;
     object-fit: contain;
  padding: 0;
}
.process-steps .step-number {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 32px;
  height: 32px;
  background-color: #00a651;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.5469rem;
  border: 2px solid #ffffff;
}
.process-steps .step-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.process-steps .step-title,
.process-steps .step-content .step-title,
.process-steps .step-item h3.step-title {
  display: block;
  color: rgb(35, 199, 103);
  font-family: type-36, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(30px, 2.5vw + 20px, 40px);
  font-weight: 400;
  line-height: clamp(36px, 3vw + 24px, 48px);
  height: clamp(36px, 3vw + 24px, 48px);
  margin-top: 15px !important;
  margin-bottom: 0 !important;
}
.process-steps .step-description,
.process-steps .step-content .step-description,
.process-steps .step-item p.step-description {
  display: block;
  box-sizing: border-box;
  padding: 0 1.25rem;
  color: rgb(131, 140, 149);
  font-family: type-36, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 24px;
  height: auto;
  margin-top: 5px !important;
  margin-bottom: 0 !important;
}