/* Jak to działa — static 3-step graphics (homepage) */
.home-how-steps {
  padding: 40px 0 28px;
  background: #f5f7f8;
}

.home-how-steps__title {
  margin: 0 0 28px;
  text-align: center;
  font-family: "Roboto", sans-serif;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.2;
  color: #2b2d38;
}

.home-how-steps__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.home-how-steps__item {
  margin: 0;
  text-align: center;
}

.home-how-steps__visual {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: hidden;
  background: #eef2f4;
}

.home-how-steps__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-how-steps__caption {
  margin: 16px 0 0;
  padding: 0 8px;
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  color: #2b2d38;
}

.home-how-steps__num {
  display: inline-block;
  margin-right: 6px;
  color: #32c4d6;
  font-weight: 800;
}

@media (max-width: 991px) {
  .home-how-steps {
    padding: 32px 0 20px;
  }

  .home-how-steps__title {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .home-how-steps__grid {
    gap: 18px;
  }

  .home-how-steps__caption {
    font-size: 15px;
    margin-top: 12px;
  }
}

@media (max-width: 767px) {
  .home-how-steps {
    padding: 24px 0 12px;
  }

  .home-how-steps__title {
    font-size: 22px;
    margin-bottom: 16px;
  }

  .home-how-steps__grid {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 360px;
    margin: 0 auto;
  }

  .home-how-steps__caption {
    font-size: 15px;
  }
}
