.banner * {
  color: #fff;
}

.banner::before {
  content: "";
  position: absolute;
  background-color: var(--blue);
  width: 100%;
  height: 100%;
  z-index: -2;
}

.banner {
  position: relative;
  overflow: hidden;
  background-position-x: right;
  background-position-y: bottom;
  background-repeat: no-repeat;
  min-height: 900px;
  display: flex;
  align-items: center;
}

.banner.background {
  background-size: 42%;
}

.banner.background::after {
  content: "";
  display: block;
  position: absolute;
  bottom: -5rem;
  right: -21rem;
  width: 1159px;
  height: 1159px;
  background-color: #3c4171;
  pointer-events: none;
  border-radius: 50%;
  z-index: -1;
}

.banner.full {
  background-size: cover;
  background-position: center;
}

.banner.dark::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #1e2353b2;
  pointer-events: none;
}

.banner > * {
  position: relative;
  z-index: 1;
}

.banner .banner-wrapper {
  margin: 165px 0 40px;
}

.banner-items.owl-carousel .banner .banner-wrapper {
  margin: 165px 0;
}

.banner .banner-quote {
  max-width: 55%;
}

.banner .banner-quote-title {
  font-size: 56px;
  font-family: var(--solomon);
  font-weight: 600;
  line-height: 1.3;
}

.banner .banner-quote-title--long {
  font-size: 45px;
}

.banner .banner-quote-text {
  font-family: var(--solomon);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.3;
  text-align: left;
  color: #ffffff;
  margin-top: 24px;
}

.banner-quote-text.quote2 {
  display: none;
}

.banner .banner-quote-text span {
  font-family: var(--solomon);
  color: var(--lightpurple);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.banner .banner-quote-info {
  margin-top: 24px;
  display: flex;
  align-items: center;
  max-width: 696px;
}

.banner .quote-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.banner .quote-author {
  margin-left: 24px;
}

.banner .quote-fio {
  font-family: var(--solomon);
  font-weight: 600;
  font-size: 24px;
  line-height: 1.3;
}

.banner .quote-post {
  font-family: var(--solomon);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.3;
  text-align: left;
  color: var(--lightpurple);
  margin-top: 6px;
}

.banner .quote-post span {
  font-family: var(--solomon);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.3;
  text-align: left;
  color: var(--lightpurple);
}

.banner .banner-advantages {
  margin: 70px -10px;
  display: flex;
  flex-wrap: wrap;
}

.banner .banner-advantage {
  flex: 1;
  padding: 10px;
  max-width: 360px;
}

.banner .banner-advantage-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 60px;
  margin-bottom: 24px;
}

.banner .banner-advantage-icon img {
  width: 30px;
  height: 30px;
}

.banner .banner-advantage-name {
  font-size: 20px;
  line-height: 1.3;
}

.banner-callback {
  margin-top: 40px;
  display: flex;
  gap: 20px;
}

.banner .request-callback {
  padding: 20px 50px;
}

.banner-items.owl-carousel .owl-nav {
  position: absolute;
  bottom: 70px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 20px;
  width: 100%;
  max-width: 1560px;
  padding: 0 20px;
  pointer-events: none;
}

.banner-items.owl-carousel .owl-nav button {
  transition: 0.4s;
  cursor: pointer !important;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  border: 1px solid #e5f1fb !important;
  display: flex;
  pointer-events: all;
}

.banner-items.owl-carousel .owl-nav button.disabled {
  cursor: unset !important;
  opacity: 0.5;
}

.banner-items.owl-carousel .owl-nav button:not(.disabled):hover {
  background: #fd0805 !important;
  border-color: #fd0805 !important;
}

.banner-items.owl-carousel .owl-nav button path {
  transition: 0.4s;
}

.banner-items.owl-carousel .owl-nav button.disabled path {
  opacity: 0.4;
}

.banner-items.owl-carousel .owl-nav button:not(.disabled):hover path {
  stroke: #fff;
}
.banner .request-callback.max-button-banner {
  display: flex;
  gap: 8px;
  align-items: center;
}
@media all and (max-width: 1440px) {
  .banner.background {
    background-size: 60%;
  }
}

@media all and (max-width: 1024px) {
  .banner-items.owl-carousel .owl-nav {
    padding: 0 40px;
  }

  .banner.background {
    background-size: 95%;
    background-position: right -110px bottom -100px;
  }

  .banner.background::after {
    bottom: -20rem;
    right: -27rem;
  }

  .banner .banner-quote {
    max-width: 70%;
  }
  .banner-callback {
    flex-direction: column;
  }
}

@media all and (max-width: 768px) {
  .banner-items.owl-carousel .owl-nav {
    padding: 0 20px;
  }
  .banner.background {
    background-size: 130%;
    background-position: right -280px bottom -120px;
  }

  .banner.background::after {
    bottom: -21rem;
    right: -41rem;
  }

  .banner .banner-quote {
    max-width: 85%;
  }

  .banner .banner-quote-title {
    font-size: 48px;
  }

  .banner .banner-quote-text {
    font-size: 24px;
  }
}

@media all and (max-width: 640px) {
  .banner {
    min-height: 600px;
  }

  .banner.background {
    background-size: 130%;
    background-position: right -70px bottom -70px;
  }

  .banner.background::after {
    width: 598px;
    height: 598px;
    bottom: -5rem;
    right: -10rem;
  }

  .banner::after {
    content: "";
    display: block;
    position: absolute;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-color: #1e2353b2 !important;
    border-radius: unset !important;
    z-index: unset !important;
  }

  .banner .banner-wrapper {
    margin: 140px 0 40px;
  }

  .banner .banner-quote {
    max-width: 100%;
  }

  .banner .banner-quote-text {
    font-size: 20px;
  }

  .banner .banner-quote-text {
    width: 100%;
  }

  .banner .banner-quote-info {
    flex-direction: column;
    align-items: flex-start;
    max-width: 55%;
  }

  .banner .quote-author {
    margin: 18px 0;
  }

  .banner .quote-post span {
    display: block;
  }

  .banner .request-callback {
    padding: 20px;
    width: 100%;
    text-align: center;
  }

  .banner-quote-text.quote2 {
    display: block;
  }

  .banner .banner-advantage-name {
    font-size: 18px;
  }
}

@media (max-width: 530px) {
  .banner .banner-quote-title {
    font-size: 32px;
  }

  .banner .banner-advantages {
    flex-direction: column;
    margin: 40px -10px;
  }

  .banner .banner-advantage {
    width: 100%;
    flex: auto;
  }
}

@media all and (max-width: 480px) {
  .banner {
    background-position: center;
  }

  .banner.background {
    background-size: 130%;
    background-position: right -50px bottom -70px;
  }

  .banner .banner-wrapper {
  }

  .banner .banner-quote-info {
    max-width: 70%;
  }

  .banner-callback {
    margin-top: 20px;
  }
}

@media all and (max-width: 420px) {
  .banner {
    min-height: 770px;
  }
}

@media all and (max-width: 360px) {
  .banner.background {
    background-size: 160%;
    background-position: right -120px bottom -112px;
  }

  .banner.background::after {
    width: 476px;
    height: 476px;
    bottom: -5rem;
    right: -13rem;
  }

  .banner .banner-wrapper {
  }

  .banner .banner-quote-title {
    font-size: 32px;
  }

  .banner .banner-quote-info {
    max-width: 100%;
  }

  .banner-quote-text.quote2 {
    width: 95%;
  }

  .banner .quote-author {
    margin: 18px 0;
  }

  .banner .quote-post,
  .banner .quote-post span {
    font-size: 16px;
  }

  .banner-callback {
    margin-top: 40px;
  }
}
