/* Lazy Block: steps — секция «Процесс» (шаги работы). */

.lazyblock-steps {
  /* Full-bleed секция; контент во внутреннем .container. */
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-block: 100px;
}

.lazyblock-steps__inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.lazyblock-steps__head {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.lazyblock-steps__eyebrow {
  margin: 0;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--text, #262626);
  opacity: 0.3;
}

.lazyblock-steps__title {
  margin: 0;
  font-weight: 600;
  font-size: 40px;
  line-height: 1.1;
  color: var(--text, #262626);
}

.lazyblock-steps__row {
  display: flex;
  align-items: center;
}

.steps__card {
  flex: 1 1 0;
  min-width: 0;
  height: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 32px 16px;
  border-radius: 20px;
  background: #f0f5ff;
  text-align: center;
}

.steps__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border-radius: 100px;
  background: var(--white, #ffffff);
  flex-shrink: 0;
}

.steps__icon img {
  display: block;
  width: 40px;
  height: 40px;
}

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

.steps__title {
  margin: 0;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.1;
  color: var(--text, #262626);
}

.steps__desc {
  margin: 0;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text, #262626);
}

.steps__caret {
  flex: 0 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.steps__caret img {
  display: block;
  width: 24px;
  height: 24px;
}

/* Tablet / mobile: вертикальный стек, карточка в строку (иконка слева). */
@media (max-width: 1024px) {
  .lazyblock-steps__row {
    flex-direction: column;
    align-items: stretch;
  }

  .steps__card {
    flex: none;
    width: 100%;
    height: auto;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 24px;
    padding: 16px;
    text-align: left;
  }

  .steps__text {
    flex: 1 1 0;
    min-width: 0;
    align-items: flex-start;
  }

  .steps__title,
  .steps__desc { width: 100%; }

  .steps__caret {
    flex: none;
    align-self: center;
  }

  .steps__caret img { transform: rotate(90deg); }
}

@media (max-width: 768px) {
  .lazyblock-steps { padding-block: 40px; }

  .lazyblock-steps__inner { gap: 32px; }

  .lazyblock-steps__title { font-size: 32px; }

  .lazyblock-steps__eyebrow { font-size: 14px; }
}
