.main-block {
  position: relative;
  overflow: hidden;
  padding-bottom: 80px;
}

.main-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 20%;
  background: linear-gradient(
    180deg,
    #ffffff 41.53%,
    rgba(255, 255, 255, 0) 100%
  );
}

.main-wrapper {
  padding-top: 190px;
  padding-bottom: 257px;
  position: relative;
}

.main-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 30%;
  width: 40%;
  height: 100%;
  background: linear-gradient(
    270deg,
    rgba(255, 255, 255, 0) 33.11%,
    #ffffff 47.27%,
    rgba(255, 255, 255, 0) 204.62%
  );
  z-index: -1;
}

.main-holder {
  max-width: 710px;
  width: 100%;
}

.main-title-wrapper {
  position: relative;
}

.main-title {
  color: var(--head);
  font-family: var(--second-font);
  font-weight: 600;
  font-size: 56px;
  line-height: 120%;
  letter-spacing: -2px;
  text-transform: uppercase;
}

.main-title-icon {
  max-width: 200px;
  max-height: 200px;
  display: inline-block;
  object-fit: contain;
  background: #ecf5ff1a;
  box-shadow: 0px 0px 20px 0px #00000033;
  transform: rotate(3deg);
  border-radius: 10px;
  margin-bottom: -30px;
}

.main-desc-wrapper {
  margin-top: 30px;
  display: flex;
  max-width: 660px;
  width: 100%;
}

.main-desc-wrapper::before {
  content: "";
  position: relative;
  width: 35px;
  height: 3px;
  margin-top: 15px;
  margin-right: 15px;
  flex-shrink: 0;
  background: var(--bg-dark);
}

.main-desc * {
  font-weight: 400;
  font-size: 22px;
  line-height: 130%;
  letter-spacing: 0%;
  color: var(--head);
}

.main-desc strong {
  font-size: inherit;
  font-family: inherit;
  color: inherit;
  font-weight: 700;
  line-height: inherit;
}

.main-btn {
  margin-top: 50px;
  padding: 32px 40px;
  border-radius: 10px;
  border-bottom: 4px solid #00000033;
  gap: 10px;
}

.main-btn path {
  transition: fill 0.4s ease-out;
}

.main-btn:hover path {
  fill: var(--card);
}

.main-background img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.main-background-right {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 50%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
}

.main-background-left {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -3;
  pointer-events: none;
}

.main-advants {
  margin-top: -89px;
}

.main-advants-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 10px;
}

.main-advantage {
  list-style: none;
  margin-bottom: 0;
  padding: 30px;
  background: var(--card);
  border-radius: 10px;
  box-shadow: 0px 0px 40px 0px #00000026;
}

.main-advantage-icon {
  margin-top: -80px;
  width: 200px;
  height: 100px;
  display: block;
  object-fit: contain;
  margin-bottom: 30px;
}

.main-advantage-icon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.main-advantage-title {
  font-family: var(--second-font);
  font-weight: 600;
  font-size: 16px;
  line-height: 100%;
  text-transform: uppercase;
  color: var(--head);
}

.main-advantage-desc {
  margin-top: 10px;
  font-weight: 400;
  font-size: 16px;
  line-height: 130%;
  color: var(--main-text);
  letter-spacing: 0%;
}

@media (max-width: 1200px) {
  .main-block {
    padding-bottom: 40px;
  }

  .main-holder {
    max-width: unset;
  }

  .main-background-right {
    margin-top: 35px;
    position: relative;
    pointer-events: unset;
    z-index: unset;
    width: 100%;
    height: 500px;
    border-radius: 10px;
    overflow: hidden;
  }
  .main-background-left {
    display: none;
  }
}

@media (max-width: 750px) {
  .main-wrapper {
    padding-top: 140px;
    padding-bottom: 35px;
  }
  .main-title {
    font-size: 42px;
  }
  .main-title-icon {
    width: 130px;
  }
  .main-desc-wrapper {
    margin-top: 25px;
  }
  .main-desc * {
    font-size: 16px;
  }
  .main-btn {
    margin-top: 35px;
    width: 100%;
  }
  .main-advants {
    margin-top: 0;
  }
  .main-advants-wrapper {
    grid-template-columns: 100%;
  }
  .main-advantage {
    padding: 20px;
  }
  .main-advantage-icon {
    width: 75px;
    height: 50px;
    margin-top: 0;
    margin-bottom: 15px;
  }
  .main-advantage-desc {
    font-size: 14px;
  }
  .main-background-right {
    height: 300px;
  }
}

@media (max-width: 400px) {
  .main-title {
    font-size: 32px;
  }
  .main-title-icon {
    display: none;
  }
  .main-btn {
    padding: 15px 10px;
  }
}
