html, body, p, h1, h2, h3, h4, h5, h6, a {
  font-size: 18px;
  font-weight: 400;
  color: #1F222D;
  font-family: "Gilroy";
  margin: 0;
  padding: 0;
}

html, body {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
  outline: none !important;
}

a {
  text-decoration: none;
}

input, textarea, button, select {
  font-family: "Gilroy";
}

img, picture, svg {
  display: block;
  user-select: none;
}

img {
  width: 100%;
}

.content-wrap {
  width: 100%;
  max-width: 1350px;
  margin: 0 auto;
  padding: 0 15px;
}

@font-face {
  src: url(../fonts/Gilroy-Regular.ttf);
  font-display: block;
  font-family: "Gilroy";
  font-weight: normal;
  font-style: normal;
}
@font-face {
  src: url(../fonts/Gilroy-Semibold.ttf);
  font-display: block;
  font-family: "Gilroy";
  font-weight: 600;
  font-style: normal;
}
@font-face {
  src: url(../fonts/Gilroy-Bold.ttf);
  font-display: block;
  font-family: "Gilroy";
  font-weight: bold;
  font-style: normal;
}
html.popup {
  overflow: hidden;
}
html.popup .popup-wrap {
  opacity: 1;
  pointer-events: all;
}
html.popup.request .popup-wrap .popup.request, html.popup.thanks .popup-wrap .popup.thanks {
  opacity: 1;
  pointer-events: all;
  transform: none;
}

body {
  background: linear-gradient(180deg, #FFFDF5 10.35%, #FFFFFF 17.97%) no-repeat;
}

.popup-wrap {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(32, 32, 34, 0.61);
  opacity: 0;
  overflow-y: scroll;
  pointer-events: none;
  transition: opacity 0.2s;
  z-index: 1000;
}
.popup-wrap .popup {
  position: relative;
  width: calc(100% - 15px);
  max-width: 357px;
  background: #fff;
  border-radius: 16px;
  margin: 100px auto;
  padding: 52px 24px 32px;
  transform: translateY(-50px);
  transition: 0.2s;
  z-index: 1;
}
.popup-wrap .popup-x {
  position: absolute;
  top: 16px;
  right: 24px;
  cursor: pointer;
}
.popup-wrap .popup-x .icon {
  width: 24px;
  height: 24px;
  fill: #6C6F7A;
  transition: 0.2s;
  pointer-events: none;
}
.popup-wrap .popup-x:hover .icon {
  transform: rotate(90deg);
}
.popup-wrap .popup-title {
  font-size: 24px;
  font-weight: 600;
  line-height: 28px;
  text-align: center;
}
.popup-wrap .popup-subtitle {
  font-size: 16px;
  color: #6C6F7A;
  line-height: 22px;
  margin-top: 8px;
  text-align: center;
}
.popup-wrap .popup .contacts__form-input {
  width: 100%;
  margin-top: 24px;
}
.popup-wrap .popup .contacts__form-input + .contacts__form-input {
  margin-top: 16px;
}
.popup-wrap .popup-btn {
  width: 100%;
  margin-top: 24px;
}
.popup-wrap .popup-personal {
  font-size: 12px;
  color: #6C6F7A;
  line-height: 14px;
  margin-top: 12px;
  text-align: center;
}
.popup-wrap .popup-check {
  width: 100px;
  margin: 0 auto 24px;
}

.section {
  padding: 40px 0;
}
.section-title {
  font-size: 56px;
  font-weight: bold;
  line-height: 62px;
  letter-spacing: 0.004em;
}
.section-title--white {
  color: #fff;
}
.section--pb0 {
  padding-bottom: 0 !important;
}
.section + .section {
  margin-top: 60px;
}

.button {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  line-height: 22px;
  background: #552A7D;
  border: 2px solid #552A7D;
  border-radius: 8px;
  padding: 17px 30px;
  transition: 0.2s;
  cursor: pointer;
}
.button:hover {
  background: #743DA7;
  border-color: #743DA7;
}
.button.alt {
  color: #552A7D;
  background: none;
}
.button.alt:hover {
  color: #743DA7;
  background: none;
}

.header .content-wrap {
  display: flex;
  align-items: flex-start;
}
.header__logo {
  margin-top: 15px;
}
.header__logo img {
  width: 126px;
}
.header__links {
  display: flex;
  grid-gap: 40px;
  margin: 24px 0 0 71px;
}
.header__link {
  line-height: 22px;
}
.header__link:hover {
  text-decoration: underline;
}
.header__phone-wrap {
  width: 187px;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  margin: 24px 0 0 auto;
}
.header__phone {
  height: 24px;
  display: flex;
  font-size: 20px;
  font-weight: 600;
  line-height: 27px;
}
.header__phone .icon {
  width: 24px;
  height: 24px;
  fill: #552A7D;
  margin-right: 8px;
}
.header__phone:hover {
  text-decoration: underline;
}
.header__phone-text {
  font-size: 14px;
  line-height: 18px;
  margin-top: 4px;
}
.header__btn {
  font-size: 14px;
  line-height: 20px;
  margin: 24px 0 0 16px;
  padding: 10px 14px;
}

.footer {
  background: #552A7D;
  margin-top: 152px;
  padding: 32px 0 55px;
}
.footer .content-wrap {
  display: flex;
}
.footer__logo img {
  width: 126px;
}
.footer__links {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  grid-gap: 16px;
  margin-left: 240px;
}
.footer__links + .footer__links {
  margin-left: 86px;
}
.footer__link {
  font-size: 16px;
  color: #fff;
  line-height: 22px;
}
.footer__link:hover {
  text-decoration: underline;
}
.footer .header__phone {
  color: #fff;
}
.footer .header__phone-wrap {
  margin-top: 0;
}
.footer .header__phone .icon {
  fill: #F5B612;
}
.footer .header__phone-text {
  color: #fff;
}
.footer__anchor {
  width: 48px;
  height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #F5B612;
  margin: 0 26px 0 44px;
  border-radius: 50%;
  transition: 0.2s;
}
.footer__anchor .icon {
  width: 24px;
  height: 24px;
  fill: #552A7D;
}
.footer__anchor:hover {
  background: #e4a70a;
}

.heroscreen {
  position: relative;
  padding: 112px 0 161px;
}
.heroscreen .section-title {
  position: relative;
  width: 728px;
}
.heroscreen .section-title img {
  position: absolute;
  left: -8px;
  bottom: -1px;
  width: 439px;
  z-index: -1;
}
.heroscreen__subtitle {
  line-height: 22px;
  margin-top: 24px;
}
.heroscreen__btns-wrap {
  display: flex;
  grid-gap: 16px;
  margin-top: 40px;
}
.heroscreen__img {
  position: absolute;
  top: 20px;
  left: calc(50% + 98px);
  width: 511px;
}
.heroscreen__text {
  position: absolute;
  top: 335px;
  left: calc(50% + 14px);
  width: 210px;
  font-size: 18px;
  font-weight: 600;
  line-height: 22px;
  background: #fff;
  border-radius: 8px;
  padding: 24px 16px 16px;
  box-shadow: 0px 4px 12px rgba(44, 42, 36, 0.17);
  text-align: center;
}
.heroscreen__text-icon {
  position: absolute;
  top: -37px;
  left: calc(50% - 29px);
  width: 58px;
  height: 58px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0px 4px 8px rgba(37, 50, 75, 0.07);
}
.heroscreen__text-icon img {
  width: 36px;
}

.advantages {
  background: #552A7D;
}
.advantages__items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 0 28px;
  margin-top: 40px;
}
.advantages__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 20px;
  font-weight: 600;
  line-height: 24px;
  background: #fff;
  border-radius: 8px;
  padding: 24px 16px 24px 24px;
  box-shadow: 0px 4px 12px rgba(44, 42, 36, 0.17);
}
.advantages__item img {
  width: 56px;
}

.services__items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 0 28px;
  margin-top: 46px;
}
.services__item-img {
  width: 100%;
}
.services__item-title {
  font-size: 24px;
  font-weight: 600;
  line-height: 28px;
  margin-top: 24px;
}
.services__item-desc {
  font-size: 18px;
  color: #6C6F7A;
  line-height: 22px;
  margin-top: 12px;
  padding-right: 47px;
}
.services__item-price {
  display: flex;
  align-items: center;
  font-size: 20px;
  font-weight: 600;
  color: #0C1F34;
  grid-gap: 24px;
  margin-top: 24px;
}
.services__text {
  font-size: 18px;
  color: #6C6F7A;
  line-height: 22px;
  margin-top: 48px;
}

.promo__items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 220px;
  grid-gap: 28px;
  margin-top: 40px;
}
.promo__item {
  position: relative;
  border-radius: 8px;
  padding: 26px 22px;
}
.promo__item-text {
  font-size: 24px;
  font-weight: 600;
  color: #fff;
  line-height: 28px;
}
.promo__item-discount {
  position: absolute;
  right: 25px;
  bottom: 15px;
  font-size: 70px;
  font-weight: bold;
  color: #fff;
  line-height: 74px;
}
.promo__item:nth-child(1) {
  background: url(../images/promo__item-1.svg) no-repeat center/cover;
}
.promo__item:nth-child(2) {
  background: url(../images/promo__item-2.svg) no-repeat center/cover;
}
.promo__item:nth-child(3) {
  background: url(../images/promo__item-3.svg) no-repeat center/cover;
}
.promo__item:nth-child(4) {
  background: url(../images/promo__item-4.svg) no-repeat center/cover;
}

.staff {
  position: relative;
}
.staff__items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 0 28px;
  margin-top: 40px;
}
.staff__item {
  background: linear-gradient(180deg, #fff 0%, #552A7D 66.98%);
  border-radius: 8px;
  padding: 2px;
}
.staff__item-inner {
  display: flex;
  align-items: center;
  flex-direction: column;
  background: #fff;
  border-radius: 6px;
  padding: 38px 0;
}
.staff__item-img {
  width: 180px;
  border-radius: 50%;
  overflow: hidden;
}
.staff__item-exp {
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  line-height: 23px;
  background: #F5B612;
  border-radius: 32px;
  margin-top: -22px;
  padding: 8px 12px;
}
.staff__item-name {
  font-size: 24px;
  font-weight: 600;
  line-height: 29px;
  margin-top: 7px;
}
.staff__item-desc {
  font-size: 18px;
  color: #6C6F7A;
  line-height: 26px;
  margin-top: 8px;
}
.staff::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 386px;
  background: #552A7D;
  z-index: -1;
}

.reviews__title-wrap {
  display: flex;
  align-items: center;
}
.reviews__slider {
  margin-top: 40px;
}
.reviews__slider-btn {
  width: 50px;
  height: 50px;
  background: #552A7D;
  border-radius: 4px;
  margin-left: auto;
  padding: 8px 0 0 8px;
  transition: 0.2s;
  cursor: pointer;
}
.reviews__slider-btn .icon {
  width: 33px;
  height: 33px;
  fill: none;
  stroke: #fff;
  stroke-width: 2px;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.reviews__slider-btn.r {
  margin-left: 24px;
  padding-left: 11px;
}
.reviews__slider-btn.r .icon {
  transform: rotate(180deg);
}
.reviews__slider-btn:hover {
  background: #743DA7;
}
.reviews__slider .swiper-slide {
  width: calc(50% - 14px);
  height: auto;
  border: 2px solid #552A7D;
  border-radius: 8px;
  padding: 29px 38px 38px;
}
.reviews__slider-author {
  display: flex;
  align-items: center;
}
.reviews__slider-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  margin-right: 16px;
  overflow: hidden;
}
.reviews__slider-name {
  font-size: 18px;
  font-weight: 600;
  line-height: 24px;
}
.reviews__slider-desc {
  font-size: 16px;
  color: #6C6F7A;
  line-height: 22px;
  margin-top: 2px;
}
.reviews__slider-text {
  font-size: 18px;
  line-height: 24px;
  margin-top: 20px;
}
.reviews__slider .swiper-pagination {
  position: relative;
  bottom: auto;
  display: flex;
  justify-content: center;
  margin-top: 32px;
}
.reviews__slider .swiper-pagination-bullet {
  background: #D8CCE4;
  margin: 0 6px !important;
  opacity: 1;
  transition: 0.2s;
}
.reviews__slider .swiper-pagination-bullet-active {
  background: #552A7D;
}

.contacts {
  position: relative;
}
.contacts .section-title {
  width: 694px;
}
.contacts__form {
  margin-top: 48px;
}
.contacts__form-input {
  width: 400px;
  height: 56px;
}
.contacts__form-input input {
  width: 100%;
  height: 100%;
  font-size: 16px;
  color: #1F222D;
  letter-spacing: 0.33px;
  border: 1px solid #DFDFDF;
  border-radius: 8px;
  padding: 0 15px;
  transition: 0.2s;
}
.contacts__form-input input:hover, .contacts__form-input input:focus {
  border-color: #552A7D;
}
.contacts__form-input input::placeholder {
  color: #6C6F7A;
}
.contacts__form-input + .contacts__form-input {
  margin-top: 16px;
}
.contacts__form-btn {
  margin-top: 32px;
}
.contacts__form-personal {
  width: 375px;
  font-size: 12px;
  color: #6C6F7A;
  line-height: 14px;
  margin-top: 16px;
}
.contacts__img {
  position: absolute;
  top: 33px;
  left: calc(50% + 87px);
  width: 499px;
}

.hide-xl {
  display: none !important;
}

@media (max-width: 1349px) {
  .show-lg2-inline {
    display: inline !important;
  }
  .header__links {
    grid-gap: 20px;
    margin-left: 30px;
  }
  .services__item {
    display: flex;
    flex-direction: column;
  }
  .services__item-desc {
    margin-bottom: auto;
  }
  .advantages__item img {
    margin-left: 10px;
  }
}
@media (max-width: 1199px) {
  .hide-lg {
    display: none !important;
  }
  .show-lg {
    display: block !important;
  }
  .show-lg-flex {
    display: flex !important;
  }
  .show-lg-inline {
    display: inline !important;
  }
  .heroscreen__img {
    top: 110px;
    left: calc(50% + 120px);
    width: 450px;
  }
  .heroscreen__text {
    top: 375px;
    left: calc(50% + 60px);
  }
  .advantages__item img {
    width: 40px;
  }
  .services__item-price {
    align-items: flex-start;
    flex-direction: column-reverse;
    grid-gap: 12px;
  }
  .contacts__img {
    left: 50%;
  }
  .footer__links {
    margin-left: 140px;
  }
}
@media (max-width: 991px) {
  .hide-md {
    display: none !important;
  }
  .show-md {
    display: block !important;
  }
  .show-md-flex {
    display: flex !important;
  }
  .show-md-inline {
    display: inline !important;
  }
  .heroscreen__img {
    top: 280px;
    left: calc(50% + 80px);
    width: 290px;
  }
  .heroscreen__text {
    top: 445px;
    left: calc(50% - 30px);
  }
  .advantages__items {
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 28px;
  }
  .promo__item-discount {
    font-size: 48px;
    line-height: normal;
  }
  .staff__item-inner {
    height: 100%;
    padding-left: 10px;
    padding-right: 10px;
  }
  .staff__item-name {
    text-align: center;
  }
  .staff__item-desc {
    text-align: center;
  }
  .reviews .section-title {
    margin-right: 15px;
  }
  .reviews__slider-btn {
    flex-shrink: 0;
  }
  .contacts__img {
    top: 133px;
    left: calc(50% + 50px);
    width: 329px;
  }
  .footer__links {
    margin-left: 40px;
  }
  .footer__links + .footer__links {
    margin-left: 40px;
  }
  .footer__anchor {
    margin: 0 0 0 30px;
  }
}
@media (max-width: 767px) {
  .hide-sm {
    display: none !important;
  }
  .show-sm {
    display: block !important;
  }
  .show-sm-flex {
    display: flex !important;
  }
  .show-sm-inline {
    display: inline !important;
  }
  .section {
    padding: 20px 0;
  }
  .section-title {
    font-size: 24px;
    line-height: 32px;
  }
  .section + .section {
    margin-top: 30px;
  }
  .heroscreen .section-title {
    width: 100%;
    font-size: 32px;
    line-height: 40px;
  }
  .heroscreen .section-title img {
    width: 259px;
    height: 45px;
  }
  .heroscreen__btns-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
  .heroscreen__img {
    top: 160px;
    left: calc(50% + 80px);
    width: 200px;
  }
  .heroscreen__text {
    top: 255px;
    left: calc(50% - 30px);
  }
  .advantages__items {
    grid-template-columns: 100%;
    margin-top: 20px;
  }
  .services__items {
    grid-template-columns: 100%;
    margin-top: 23px;
  }
  .services__item:last-child {
    margin-top: 30px;
  }
  .promo__items {
    grid-template-columns: 100%;
    margin-top: 20px;
  }
  .staff__items {
    grid-template-columns: 100%;
    grid-gap: 28px;
    margin-top: 20px;
  }
  .reviews__slider .swiper-slide {
    width: 100%;
  }
  .contacts .section-title {
    width: 100%;
  }
  .contacts__form {
    margin-top: 24px;
  }
  .contacts__img {
    top: 223px;
    left: calc(50% + 30px);
    width: 239px;
  }
  .footer {
    padding: 30px 0;
  }
  .footer .content-wrap {
    flex-direction: column;
    align-items: center;
  }
  .footer__links {
    align-items: center;
    margin: 30px 0 0;
  }
  .footer__links + .footer__links {
    margin: 16px 0 0;
  }
  .footer .header__phone-wrap {
    margin: 30px 0 0;
  }
  .footer .header__phone-text {
    text-align: center;
  }
  .footer__anchor {
    margin: 30px 0 0;
  }
}
@media (max-width: 575px) {
  .hide-xs {
    display: none !important;
  }
  .show-xs {
    display: block !important;
  }
  .show-xs-flex {
    display: flex !important;
  }
  .show-xs-inline {
    display: inline !important;
  }
  .heroscreen__btns-wrap {
    align-items: normal;
  }
  .services__item-btn {
    width: 100%;
  }
  .contacts__form-input, .contacts__form-btn {
    width: 100%;
  }
  .footer {
    margin-top: 50px;
  }
}