.footer {
  background: url('../img/page-bg.svg');
  background-size: cover;
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
}

.footer__container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding: 40px 0;
}

.footer__left {}

.footer__top {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.footer__logo {
  width: 57px;
  margin-right: 24px;
}

.footer__decription {
  font-size: 12px;
  font-weight: 300;
  line-height: 16.8px;
  max-width: 319px;
  width: 100%;
}

.footer-list__social {
  margin-top: 23px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.footer-social__item:not(:first-child) {
  margin-left: 14px;
}

.footer__center {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-left: 45px;
  max-width: 430px;
  width: 100%;
}

.footer-service__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-direction: column;
  padding: 0;
  margin: 0;
  list-style: none;
  /* Убираем маркеры списка */
}

.footer-service__title {
  width: 100%;
  margin-bottom: 0px;
  font-size: 18px;
  font-weight: 600;
  line-height: 25.2px;
  text-transform: uppercase;
}

.footer-contacts__title {
  margin-bottom: 16px;
}

.footer-service__item {
  margin-top: 10px;
  /* margin-bottom: 15px; */
  -webkit-box-flex: 1;
  -ms-flex: 1 1 calc(33.333% - 20px);
  flex: 1 1 calc(33.333% - 20px);
  /* width: 50%; */
  /* Занимает 1/3 ширины за вычетом отступа */
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  /* Учитывает отступы и границы в ширине */
}

.footer-service__item:nth-child(4),
.footer-service__item:nth-child(5) {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 calc(50% - 20px);
  flex: 1 1 calc(50% - 20px);
  /* Занимает 1/2 ширины за вычетом отступа */
}

.footer-service__title.opaci {
  opacity: 0;
}

.footer-service__link {
  font-size: 18px;
  font-weight: 300;
  line-height: 25.2px;
  color: black;
  -webkit-transition: all 0.5s;
  -o-transition: all 0.5s;
  transition: all 0.5s;
}

.footer-service__link:hover {
  color: rgb(224, 105, 20);
}

.footer-contacts__list {}

.footer-telegram__link {
  margin-bottom: 15px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding: 18px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 500;
  line-height: 25.2px;
  color: rgba(8, 107, 254, 1);
  text-decoration: underline;
  background: white;
}

.footer-telegram__link img {
  margin-right: 18px;
}

@media (any-hover:hover) {
  .footer-telegram__link {
    cursor: pointer;
    -webkit-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
  }

  .footer-telegram__link:hover {
    background: rgb(245, 248, 255);
  }
}

.footer-root {
  background: white;
}

.footer-root__container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding: 20px 0;
}

.footer-root__left {
  font-size: 14px;
  font-weight: 300;
  line-height: 19.6px;
  text-align: center;
}

.footer-root__right {
  font-size: 14px;
  font-weight: 300;
  line-height: 19.6px;
  color: black;
}

.footer-social__link {
  width: 56px;
  height: 56px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  border-radius: 50%;
  background: #DEE1FA;
}

@media (any-hover:hover) {
  .footer-social__link {
    cursor: pointer;
    -webkit-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
  }

  .footer-social__item:nth-child(1) .footer-social__link:hover {
    background: rgba(216, 43, 203, 0.602);
  }

  .footer-social__item:nth-child(2) .footer-social__link:hover {
    background: rgba(14, 164, 228, 0.602);
  }

  .footer-social__item:nth-child(3) .footer-social__link:hover {
    background: rgba(14, 228, 112, 0.602);
  }

  .footer-social__item:nth-child(4) .footer-social__link:hover {
    background: rgba(247, 56, 73, 0.602);
  }
}

@media(max-width: 991.98px) {
  .footer__container {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }

  .footer__center {
    margin-left: 0;
  }

  .footer-contacts__list, .footer__center {
    margin-top: 48px;
  }
}

@media(max-width: 410px) {
  .footer-social__link {
    width: 48px;
    height: 48px;
  }
}