.section-steps {
  border-top: 1px solid #E3E3E3;
border-bottom: 1px solid #E3E3E3;
background: #F5F5F5;
  text-align: center;
}
.steps {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.steps__content {
  padding: 0 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: end;
  gap: 20px;
  text-align: left;
  width: 100%;
}

.steps__title {
  font-size: 28px;
  font-weight: bold;
  padding: 0;
  position: relative;
  z-index: 2;
  margin: 0;
}

.steps__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.steps__item {
  background-color: #fff;
  padding: 20px;
  height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: auto;
  min-height: max-content;
  /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); */
}

.steps__item-title {
  font-size: 20px;
  font-weight: bold;
  color: #111111;
  margin: 0;
}

.steps__item-text {
  font-size: 16px;
  color: #111111;
  margin: 0;
  margin-bottom: 5px;
}

.steps__footer {
  display: flex;
  justify-content: end;
  align-items: center;
  padding-bottom: 60px;
  gap: 24px;
  align-items: flex-end;
  flex-direction: column;
  color: #333;

font-family: Lato;
font-size: 16px;
font-style: normal;
font-weight: 500;
line-height: 120%;
text-align: left;
}

.steps__footer-image {
  max-width: 100%;
  max-height: 334px;
  height: auto;
  width: 100%;
  object-fit: cover;
  aspect-ratio: 343 / 334;
}

.steps__footer-text {
  padding: 0;
  margin: 0;
}
@media(min-width: 575px) {
  .steps__list {
    display: grid;
    grid-template-columns: 48% 48%;
    justify-content: space-between;
  }
}

/* Адаптивные стили */
@media (min-width: 768px) {
  .steps {
    flex-direction: row;
    justify-content: space-around;
    gap: 30px;
  }
  .steps__content {
    padding: 0;
    align-items: flex-start;
    width: 50%;
    padding: 0;
  }
  .steps__title {
    font-size: 28px;
    padding: 0!important;
    font-size: 40px;
font-style: normal;
font-weight: 600;
line-height: 100%;
  }
  .steps__list {
    display: grid;
    grid-template-columns: 48% 48%;
    justify-content: space-between;
  }

  .steps__item {
    margin-bottom: unset;
    padding: 12px;
    min-height: max-content;
  }
  .steps__item-title {
    font-size: 20px;
  }
  .steps__item-text {
    font-size: 16px;
  }
  .steps__footer {
    gap: 16px;
    width: 50%;
    padding: 0;
    justify-content: end;
    flex-direction: column-reverse;
  }
  .steps__footer-text {
    padding: 0;
    font-size: 14px;
    order: 1;
    max-width: 80%;
    text-align: right;
  }
  .steps__footer-image {
    order: 2;
    width: 100%;
  }

  .testimonials__title {
    font-size: 40px;
    padding: 0 40px;
    max-width: 100%;
    padding: 0;
    max-width: 480px;
    text-align: start;
    margin-left: 0;
  }
}
@media (min-width: 1024px) {
  .steps__footer-text {
    font-size: 16px;
  }
  .testimonials__title {
    font-size: 40px;
  }
  .steps__title {
    font-size: 40px;
    padding: 0 40px;
  }
  .steps__item-title {
    font-size: 20px;
  }
  .steps__item-text {
    font-size: 16px;
  }
}
@media (min-width: 1280px) {
  .steps__caption-wrapper {
    margin-bottom: 60px;
    padding: 0;
    align-items: start;
    justify-content: start;
  }
  .steps__item {
    padding: 20px;
    height: 186px;
    min-height: max-content;
  }
}
@media (min-width: 1440px) {
  .steps__item {
    margin-bottom: unset;
    padding: 20px;
  }
  .steps {
    flex-direction: row;
  }
  .steps__footer {
    /* max-width: 440px; */
    width: 50%;
    flex-direction: column-reverse;
  }
  .steps__title {
    font-size: 40px;
  }
  .steps__item-text {
    font-size: 16px;
  }
  .steps__list {
    display: grid;
    grid-template-columns: 48% 48%;
    justify-content: space-between;
  }
  .testimonials__title {
    font-size: 40px;
  }
  .form__title {
    font-size: 54px;
  }
}
@media (min-width: 1600px) {
  .steps__content {
    justify-content: space-between;
    width: 50%;
  }
  .steps__item {
    padding: 20px 20px;
    min-height: 186px;
  }
  .steps__caption-wrapper {
    margin-bottom: 57px;
  }
  .steps__item-text {
    font-size: 16px;
  }
  .testimonials__title {
    font-size: 40px;
  }
}
