html, body, p, h1, h2, h3, h4, h5, h6, a {
  font-size: 16px;
  font-weight: 500;
  color: #141414;
  font-family: "Inter";
  margin: 0;
  padding: 0;
}

html, body {
  scroll-behavior: smooth;
}

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

a {
  text-decoration: none;
}

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

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

img {
  width: 100%;
}

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

html.popup {
  overflow: hidden;
}
html.popup .popup-wrap {
  opacity: 1;
  pointer-events: all;
}
html.popup.callback .popup-wrap .popup.callback {
  opacity: 1;
  pointer-events: all;
  transform: none;
}

.popup-wrap {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  align-items: center;
  background: rgba(120, 120, 120, 0.5);
  opacity: 0;
  overflow-y: scroll;
  pointer-events: none;
  transition: opacity 0.2s;
  z-index: 1000;
}
.popup-wrap .popup {
  position: relative;
  width: calc(100% - 20px);
  max-width: 894px;
  background: #fff;
  border-radius: 20px;
  margin: 100px auto;
  padding: 50px 100px;
  transform: translateY(-50px);
  transition: 0.2s;
  z-index: 1;
}
.popup-wrap .popup__title {
  font-size: 40px;
  font-weight: bold;
  color: #5B72DC;
  line-height: 48px;
  text-align: center;
}
.popup-wrap .popup__subtitle {
  margin-top: 5px;
  text-align: center;
}
.popup-wrap .popup__input-wrap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 60px;
}
.popup-wrap .popup__input {
  border: 1px solid #787878;
  border-radius: 15px;
  padding-top: 22px;
  padding-bottom: 22px;
}
.popup-wrap .popup__btn {
  display: block;
  border-radius: 15px;
  margin: 14px auto 0;
  padding: 23.5px 40px;
}
.popup-wrap .popup__personal {
  color: #787878;
  margin-top: 14px;
  text-align: center;
}
.popup-wrap .popup__x {
  position: absolute;
  top: 0;
  right: -63px;
  width: 40px;
  height: 40px;
  cursor: pointer;
}
.popup-wrap .popup__x .icon {
  width: 100%;
  height: 100%;
  fill: #fff;
  pointer-events: none;
  transition: 0.2s;
}
.popup-wrap .popup__x:hover .icon {
  transform: rotate(90deg);
}

.button {
  font-size: 15px;
  font-weight: bold;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 16px;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.2s;
}
.button.blue {
  background: #2446CC;
}
.button.blue:hover {
  background: #203fb6;
}

input[type=tel], input[type=text] {
  font-size: 16px;
  font-weight: 500;
  color: #141414;
  font-family: "Inter";
  line-height: 19px;
  background: #fff;
  border: none;
  border-radius: 15px;
  padding: 23px 40px;
}
input[type=tel]::placeholder, input[type=text]::placeholder {
  color: #787878;
}

.section {
  margin-top: 150px;
}
.section__title {
  font-size: 40px;
  font-weight: bold;
  line-height: 48px;
}
.section__title span {
  color: #5B72DC;
}

.anchor {
  position: relative;
  top: -120px;
  display: block;
  visibility: hidden;
}

.header {
  position: sticky;
  top: 0;
  background: #F0F0F0;
  z-index: 100;
}
.header .content-wrap {
  height: 108px;
  display: flex;
  align-items: center;
}
.header__logo {
  width: 130px;
}
.header__links {
  display: flex;
  gap: 40px;
  margin: 0 107px 0 auto;
}
.header__link {
  font-size: 15px;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  transition: 0.2s;
}
.header__link:hover {
  color: #2446CC;
}
.header__phone-wrap {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  padding-right: 19px;
}
.header__phone {
  font-size: 20px;
  font-weight: bold;
}
.header__phone:hover {
  text-decoration: underline;
}
.header__time {
  color: #787878;
  margin-top: 5px;
}
.header__menu-btn {
  position: relative;
  width: 40px;
  height: 40px;
}
.header__menu-btn .icon {
  width: 100%;
  height: 100%;
  fill: #000;
  transition: 0.2s;
}
.header__menu-btn .icon + .icon {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}
.header__menu-btn.opened .icon {
  opacity: 0;
}
.header__menu-btn.opened .icon + .icon {
  opacity: 1;
}

.footer {
  margin-top: 150px;
}
.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer__top-text {
  color: #4D5255;
  margin-top: 20px;
}
.footer__top-text a {
  color: inherit;
}
.footer__top-text a:hover {
  text-decoration: underline;
}
.footer__left {
  max-width: 360px;
}
.footer__right {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  padding-right: 40px;
}
.footer__title {
  font-size: 36px;
  font-weight: bold;
  color: #5B72DC;
  line-height: 44px;
}
.footer__link {
  color: #4D5255;
  line-height: 19px;
  margin-top: 16px;
}
.footer__link:hover {
  text-decoration: underline;
}
.footer__bottom {
  background: #F0F0F0;
  margin-top: 50px;
  padding: 50px 0;
}
.footer__bottom-text {
  color: #787878;
  line-height: 19px;
}

.heroscreen {
  margin-top: 0;
  padding: 100px 0 201px;
}
.heroscreen .content-wrap {
  position: relative;
}
.heroscreen__title {
  max-width: 577px;
  font-size: 40px;
  font-weight: bold;
  line-height: 48px;
}
.heroscreen__subtitle {
  font-size: 36px;
  font-weight: bold;
  color: #787878;
  line-height: 44px;
  margin-top: 16px;
}
.heroscreen__btn {
  border-radius: 15px;
  margin-top: 100px;
  padding: 23.5px 40px;
}
.heroscreen__img {
  position: absolute;
  top: -100px;
  right: 20px;
  width: 584px;
}
.heroscreen__decor {
  position: absolute;
  top: -100px;
  left: 20px;
  width: 605px;
  pointer-events: none;
}

.price__wrap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 80px;
  margin-top: 40px;
}
.price__row {
  height: 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #5B72DC;
}
.price__value {
  font-size: 20px;
  font-weight: bold;
  color: #5B72DC;
}
.price__more {
  width: calc(50% - 40px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
  cursor: pointer;
}
.price__more-text {
  color: #4D5255;
}
.price__more-text span {
  color: #2446CC;
}
.price__more-icon {
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  background: #2446CC;
  border-radius: 50%;
}
.price__more-plus {
  position: relative;
  width: 22px;
  height: 22px;
  transition: 0.2s;
}
.price__more-plus::before {
  content: "";
  position: absolute;
  top: 0;
  right: 10px;
  bottom: 0;
  left: 10px;
  background: #fff;
}
.price__more-plus::after {
  content: "";
  position: absolute;
  top: 10px;
  right: 0;
  bottom: 10px;
  left: 0;
  background: #fff;
}
.price__more.opened .price__more-plus {
  transform: rotate(135deg);
}
.price__text {
  display: none;
  line-height: 24px;
  margin: 16px 0 0;
  padding-left: 24px;
}

.advantages__item {
  position: relative;
  width: calc(50% - 17px);
  margin-top: 40px;
  padding: 80px 0 0 144px;
}
.advantages__item-title {
  font-size: 20px;
  font-weight: bold;
  line-height: 24px;
}
.advantages__item-text {
  color: #787878;
  line-height: 19px;
  margin-top: 16px;
}
.advantages__item-num {
  position: absolute;
  top: 50%;
  left: 0;
  font-size: 190px;
  font-weight: bold;
  color: #5B72DC;
  line-height: 150px;
  transform: translateY(-50%);
  opacity: 0.2;
  z-index: -1;
}
.advantages__item:nth-child(3) {
  margin-left: auto;
}

.discount__wrap {
  background: image-set(url(../images/discount__bg.png) 1x, url(../images/discount__bg.webp) 1x) no-repeat center/cover;
  background: -webkit-image-set(url(../images/discount__bg.png) 1x, url(../images/discount__bg.webp) 1x) no-repeat center/cover;
  border-radius: 40px;
  padding: 40px;
}
.discount__title {
  font-size: 36px;
  font-weight: bold;
  color: #F0F0F0;
  line-height: 44px;
}
.discount__form {
  display: flex;
  gap: 20px;
  margin-top: 163px;
}
.discount__input {
  width: 337px;
  height: 65px;
}
.discount__btn {
  border-radius: 15px;
  padding: 23.5px 40px;
}
.discount__personal {
  font-size: 14px;
  color: #fff;
  line-height: 17px;
  margin-top: 16px;
}

.about__wrap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 80px;
}
.about__left {
  background: #F0F0F0;
  border-radius: 15px;
  padding: 90px 50px 68px;
}
.about__right {
  border-radius: 15px;
  overflow: hidden;
}
.about__title {
  font-size: 40px;
  font-weight: bold;
  line-height: 48px;
}
.about__text {
  color: #4D5255;
  line-height: 19px;
  margin-top: 40px;
}
.about__btn {
  border-radius: 15px;
  margin-top: 40px;
  padding: 23.5px 40px;
}

.steps__item {
  max-width: 750px;
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 40px;
}
.steps__item-icon {
  width: 74px;
  flex-shrink: 0;
}
.steps__item-title {
  font-size: 20px;
  font-weight: bold;
  line-height: 24px;
}
.steps__item-text {
  color: #787878;
  line-height: 19px;
  margin-top: 20px;
}

.certs__items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 40px;
}
.certs__item {
  border-radius: 15px;
  overflow: hidden;
}

.reviews__slider-btn {
  position: absolute;
  top: 50%;
  left: -80px;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #2446CC;
  border-radius: 50%;
  transform: translateY(-50%);
  transition: 0.2s;
  cursor: pointer;
}
.reviews__slider-btn .icon {
  width: 11px;
  height: 18px;
  fill: #fff;
  margin: 0 0 0 -2px;
}
.reviews__slider-btn.r {
  left: auto;
  right: -80px;
}
.reviews__slider-btn.r .icon {
  transform: rotate(180deg);
  margin: 0 -2px 0 0;
}
.reviews__slider-btn:hover {
  background: #203fb6;
}
.reviews__slider-wrap {
  position: relative;
  margin-top: 40px;
}
.reviews__item {
  width: 270px;
  border-radius: 15px;
  overflow: hidden;
}
.reviews__item-bottom {
  background: #D9D9D9;
  padding: 26px 0 25px;
}
.reviews__item-btn {
  display: block;
  margin: 0 auto;
}

.mobile-menu {
  position: fixed;
  top: 117px;
  left: 0;
  right: 0;
  background: #fff;
  padding: 40px 0;
  z-index: 150;
  transition: 0.2s;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu .content-wrap {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 16px;
}
.mobile-menu__link {
  color: #4D5255;
}
.mobile-menu.opened {
  opacity: 1;
  pointer-events: all;
}

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

@media (max-width: 1399px) {
  .heroscreen__img {
    right: 0;
  }
  .reviews__slider-btn {
    z-index: 10;
  }
  .reviews__slider-btn.l {
    left: 10px;
  }
  .reviews__slider-btn.r {
    right: 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;
  }
  .header__links {
    gap: 20px;
    margin-right: 75px;
  }
  .heroscreen {
    padding-bottom: 153px;
  }
  .heroscreen__title {
    max-width: 377px;
  }
  .heroscreen__img {
    z-index: 1;
  }
  .about__img {
    height: 100%;
  }
  .about__img img {
    height: 100%;
    object-fit: cover;
  }
  .popup-wrap .popup__x {
    top: -63px;
    right: 0;
  }
}
@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;
  }
  .header__phone-wrap {
    margin: 0 30px 0 auto;
    padding-right: 0;
  }
  .heroscreen {
    padding-bottom: 0;
  }
  .heroscreen__img {
    width: 400px;
  }
  .heroscreen__title {
    max-width: 350px;
  }
  .advantages__item {
    width: 100%;
  }
  .price__more {
    gap: 15px;
  }
  .about__wrap {
    grid-template-columns: 100%;
  }
  .about__left {
    padding: 50px;
  }
  .about__img {
    height: 360px;
    margin-top: 16px;
    border-radius: 15px;
    overflow: hidden;
  }
  .about__img img {
    object-position: 50% 11%;
  }
}
@media (max-width: 767px) {
  .hide-sm {
    display: none !important;
  }
  .show-sm {
    display: block !important;
  }
  .show-sm-flex {
    display: flex !important;
  }
  .show-sm-grid {
    display: grid !important;
  }
  .show-sm-inline {
    display: inline !important;
  }
  .section {
    margin-top: 100px;
  }
  .section__title {
    font-size: 30px;
    line-height: 36px;
    letter-spacing: -0.02em;
  }
  input[type=tel] {
    border: 1px solid #787878;
  }
  .header .content-wrap {
    height: 121px;
  }
  .header__menu-btn {
    margin-left: auto;
  }
  .footer__top {
    flex-direction: column;
    gap: 40px;
  }
  .footer__top-text {
    margin-top: 40px;
    text-align: center;
  }
  .footer__right {
    align-items: center;
    padding-right: 0;
  }
  .footer__bottom-text {
    text-align: center;
  }
  .heroscreen {
    margin-top: 0;
    padding-top: 391px;
  }
  .heroscreen__img {
    top: -391px;
    width: 348px;
  }
  .heroscreen__title {
    max-width: none;
    font-size: 24px;
    line-height: 29px;
    text-align: center;
  }
  .heroscreen__subtitle {
    font-size: 20px;
    line-height: 24px;
    margin-top: 6px;
    text-align: center;
  }
  .heroscreen__btn {
    width: 100%;
    margin-top: 21px;
  }
  .price__wrap {
    grid-template-columns: 100%;
    gap: 0;
    margin-top: 24px;
  }
  .price__key {
    font-size: 14px;
  }
  .price__more {
    width: 100%;
    gap: 0;
  }
  .advantages__item {
    padding-top: 0;
    padding-left: 0;
  }
  .advantages__item-num {
    position: relative;
    top: auto;
    left: auto;
    font-size: 40px;
    line-height: 48px;
    transform: none;
  }
  .advantages__item-title {
    margin-top: 16px;
  }
  .discount__wrap {
    background: none;
    margin-top: 24px;
    padding: 0;
  }
  .discount__title {
    font-size: 24px;
    font-weight: bold;
    color: #2446CC;
    line-height: 29px;
    text-align: center;
  }
  .discount__form {
    flex-direction: column;
    margin-top: 24px;
  }
  .discount__input, .discount__btn {
    width: 100%;
  }
  .discount__personal {
    color: #787878;
    text-align: center;
  }
  .discount__img {
    height: 213px;
    border-radius: 40px;
    overflow: hidden;
  }
  .discount__img img {
    height: 100%;
    object-fit: cover;
  }
  .about__left {
    margin-left: -20px;
    margin-right: -20px;
    padding: 20px;
  }
  .about__title {
    font-size: 30px;
    line-height: 36px;
    letter-spacing: -0.02em;
  }
  .about__text {
    margin-top: 16px;
  }
  .about__btn {
    width: 100%;
    margin-top: 16px;
  }
  .certs__items {
    grid-template-columns: 100%;
    gap: 16px;
  }
  .reviews__item {
    width: 320px;
  }
  .reviews__slider-wrap {
    padding-bottom: 80px;
  }
  .reviews__slider-btn {
    top: auto;
    bottom: 0;
    transform: none;
  }
  .reviews__slider-btn.l {
    left: 0;
  }
  .reviews__slider-btn.r {
    right: 0;
  }
  .popup-wrap .popup {
    width: 100%;
    padding: 50px 20px;
  }
  .popup-wrap .popup__title {
    font-size: 30px;
    line-height: 36px;
  }
  .popup-wrap .popup__input-wrap {
    grid-template-columns: 100%;
    margin-top: 40px;
  }
  .popup-wrap .popup__btn {
    width: 100%;
  }
  .popup-wrap .popup__personal {
    font-size: 14px;
    line-height: 17px;
  }
}
@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;
  }
}