body.home {
  .banner-block__wrapper {
    padding-top: 195px;
    padding-bottom: 162px;
  }

  #header {
    position: fixed;
  }
}

body:not(.home) .banner-block__wrapper {
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
}

.banner-block__wrapper {
  background: radial-gradient(483.28% 146.9% at -3.7% -4.06%, #daeefe 0%, #fdfeff 50%, #ece7fb 100%);
  /* background: linear-gradient(to left, #daeefe, #fdfeff, #ece7fb); */
  border-radius: 0 0 30px 30px;
  padding-top: 100px;
  padding-bottom: 166px;
  position: relative;
  overflow: hidden;

  &::before {
    content: "";
    max-width: 1250px;
    max-height: 940px;
    width: 100%;
    height: 100%;
    position: absolute;
    right: 0;
    bottom: 0;
    background-image: url("./images/bg-decorate.svg");
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 1;
  }

  &::after {
    content: "";
    border-radius: 100%;
    background: radial-gradient(
      50% 50% at 50% 50%,
      rgba(174, 210, 237, 0.8) 0%,
      rgba(174, 210, 237, 0) 100%
    );
    width: 1480px;
    height: 432px;
    position: absolute;
    right: -144px;
    bottom: -200px;
    z-index: 0;
  }
}
.banner-block-content {
  max-width: 750px;
  position: relative;
  z-index: 3;
}
.banner-block__title {
  color: var(--text-primary-head);
  margin-bottom: 20px;
  font-size: var(--font-size-28-64);
  font-weight: 700;
  line-height: 110%;

  span {
    background: var(--gr-second);
    border-radius: 100px;
    padding: 0 16.5px;
    color: var(--text-primary-head);
    font-size: unset;
    font-weight: unset;
    line-height: unset;
	white-space: nowrap;
  }
}
.banner-block__subtitle {
  color: var(--text-primary-main);
  max-width: 490px;
  margin-bottom: 30px;
}
.banner-block-list {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.banner-block-list__item {
  background-color: var(--bg-primary-main);
  border-radius: 100px;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  color: var(--text-primary-main);

  &::before {
    content: "";
    width: 16px;
    height: 16px;
    background-color: var(--colors-main);
    border: 4px solid var(--bg-primary-third);
    display: block;
    border-radius: 100%;
    box-sizing: border-box;
  }
}
.banner-block-btn {
  position: relative;
  width: fit-content;
  max-width: 490px;
  width: 100%;

  .btn {
    font-size: var(--font-size-20-24);
    font-weight: 700;
    line-height: 100%;
    padding: 0 40px;
	width: 100%;
  }

  .decorate-text-element {
    position: absolute;
    right: -30px;
    top: -20px;
    transform: rotate(10deg);
    z-index: 1;
  }
}
/* .banner-block-advantages__wrapper {
    position: absolute;
    left: 0;
    bottom: 0;
} */
.banner-block-advantages-wrapper {
  position: relative;
  top: -66px;
  margin-bottom: -66px;
  z-index: 2;
}
.banner-block-advantages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.banner-block-advantage {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 40px;
  border-radius: 30px;
  position: relative;

  &:nth-child(2n) {
    background: linear-gradient(90deg, #f6f4fd 0%, #b6aafc 100%);
  }

  &:nth-child(3n) {
    background: linear-gradient(90deg, #ffeef5 0%, #f2619c 100%);
  }

  &:first-child,
  &:nth-child(3n + 1) {
    background: linear-gradient(90deg, #fefdcf 0%, #f9f77f 100%);
  }
}
.banner-block-advantage__value {
  color: var(--text-primary-head);
  font-size: var(--font-size-26-44);
  font-weight: 700;
  line-height: 110%;
  position: relative;
  z-index: 2;
}
.banner-block-advantage__text {
  max-width: 202px;
  color: var(--text-primary-head);
  position: relative;
  z-index: 2;
}
.banner-block-advantage__image {
  position: absolute;
  right: 0;
  bottom: 0;
  max-width: 175px;
  max-height: 154px;
  object-fit: contain;
  object-position: right bottom;
}
.banner-block__background {
  position: absolute;
  right: 0;
  bottom: 0;
  max-width: 62.9%;
  max-height: 954px;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right bottom;
  z-index: 2;
}
@media (max-width: 1400px) {
  #banner-block .banner-block__wrapper {
    padding-top: 90px;
    padding-bottom: 110px;
  }
  .banner-block-advantages {
    gap: 15px;
  }
  .banner-block-advantage {
    padding: 20px 30px;
  }
}
@media (max-width: 1200px) {
  .banner-block-advantage__image {
    display: none;
  }
}
@media (max-width: 1024px) {
  /* .banner-block__background {
        display: none;
    } */
  .banner-block-advantages {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .banner-block-advantages {
    grid-template-columns: 1fr;
  }
  body.home {
    #banner-block .banner-block__wrapper {
      padding-top: 115px;
      padding-bottom: 60px;

      /* &.have-background {
        padding-bottom: 253px;
      } */
    }
  }
  #banner-block .banner-block__wrapper {
    padding-top: 30px;
    padding-bottom: 60px;
  }
  /* #banner-block .banner-block__wrapper.have-background {
    padding-bottom: 253px;
  } */
  .banner-block__background {
    max-width: 100%;
    max-height: 400px;
  }
  .banner-block__wrapper {
    &::before {
      width: 100%;
      height: 100%;
      background-size: contain;
      background-position: bottom;
      background-image: url("./images/bg-decorate-mobail.svg");
    }
  }
  .banner-block-btn {
    position: relative;
    width: 100%;

    .btn {
      font-size: var(--font-size-20-24);
      font-weight: 700;
      line-height: 100%;
      padding: 0 40px;
      width: 100%;
      height: 80px;
    }

    .decorate-text-element {
      position: absolute;
      right: 10px;
      top: -20px;
      transform: rotate(10deg);
      z-index: 1;
    }
  }
  .banner-block__background {
    position: relative;
  }
}
