.steps-block {
  position: relative;
}
.steps-block .content {
  display: flex;
  gap: 30px;
}

.steps-block .steps-wrap {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  gap: 30px;
}
.steps-block .step {
  display: flex;
  flex-direction: column;
  position: relative;
  width: calc((100% - 30px) / 2);
  flex: 1 1 auto;
  height: auto;
  padding: 30px;
  gap: 10px;
  border-radius: 10px;
  border: 1px solid var(--background-secondary);
}
.steps-block .step__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 20px;
  margin-bottom: 10px;
}
.steps-block .step__top__tag {
  display: flex;
  align-items: center;
  width: fit-content;
  height: fit-content;
  padding: 10px;
  gap: 10px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  flex-shrink: 0;
}
.steps-block .step__top__tag__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.steps-block .step__top__tag__value {
  flex-wrap: nowrap;
  white-space: nowrap;
}

.steps-block .callback-item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  width: 60%;
  max-width: 490px;
  height: auto;
  padding: 30px;
  gap: 20px;
  border-radius: 10px;
  background: var(--background-secondary);
}
.steps-block .callback-item__top {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.steps-block .callback-item__top__btns-holder {
  display: flex;
  margin-top: 10px;
  gap: 10px;
}
.steps-block .callback-item__top__btn {
  width: 100%;
  flex-shrink: unset;
}

.steps-block .callback-item__line {
  display: flex;
  width: 100%;
  height: 1px;
  background: var(--background-thirdly);
}
.steps-block .callback-item__bottom {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.steps-block .ellipse-liner {
  display: flex;
  position: absolute;
  top: 50%;
  transform: translate(0, -50%);
  left: -260px;
  width: 750px;
  height: 750px;
  border-radius: 100%;
  filter: blur(250px);
  -webkit-backdrop-filter: blur(250px);
  background: rgba(46, 39, 194, 0.1);
  z-index: -1;
}
.steps-block .ellipse-liner.right {
  left: auto;
  right: -260px;
  background: var(--gradient);
}

@media (max-width: 1480px) {
  .steps-block .content,
  .steps-block .steps-wrap {
    gap: 20px;
  }
  .steps-block .step {
    padding: 20px;
    width: calc((100% - 20px) / 2);
  }
  .steps-block .callback-item {
    padding: 20px;
  }
}
@media (max-width: 1220px) {
  .steps-block .step__top__tag {
    padding: 5px 7px;
  }
  .steps-block .step__top__tag__icon {
    width: 15px;
    height: 15px;
  }
}
@media (max-width: 992px) {
  .steps-block .content,
  .steps-block .steps-wrap {
    gap: 10px;
  }
  .steps-block .step {
    width: calc((100% - 10px) / 2);
    min-height: auto;
    padding: 15px;
  }
  .steps-block .callback-item {
    width: 50%;
    padding: 15px;
  }
  .steps-block .callback-item__top__btns-holder {
    margin-top: 0;
  }
}
@media (max-width: 768px) {
  .steps-block .content {
    flex-direction: column-reverse;
  }
  .steps-block .callback-item {
    width: 100%;
    max-width: none;
  }
  .steps-block .phones-holder {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px 20px;
  }
}
@media (max-width: 480px) {
  .steps-block .step {
    width: 100%;
  }
  .steps-block .step__top {
    margin-bottom: 0;
  }
  .steps-block .step__top__tag {
    gap: 7px;
  }
  .steps-block .callback-item {
    gap: 15px;
  }
}
