.contacts {
   display: flex;
   position: relative;
   width: 100%;
   justify-content: space-between;
   align-items: flex-start;
   gap: 20px;
}

.contacts__left {
   width: 100%;
   max-width: 450px;
}

.contacts__right {
   display: flex;
   position: relative;
   width: 100%;
   max-width: 450px;
   flex-wrap: wrap;
   justify-content: flex-start;
   align-items: flex-start;
   gap: 24px 50px;
}

.contacts__right .f24 {
   display: flex;
   position: relative;
   width: calc(50% - 25px);
   justify-content: flex-start;
   align-items: center;
   align-content: center;
   gap: 15px;
   margin: 0;
}

.contacts__right .f20 {
   margin: 0;
   width: 100%;
}

.contacts__right img {
   display: block;
   width: 30px;
}

.footer .moksellle {
   width: auto !important;
}
.footer {
   display: block;
   width: 100%;
   background: #f9f9f9;
   padding: 40px;
   box-sizing: border-box;
}

.footer__top {
   display: flex;
   width: 100%;
   box-sizing: border-box;
   justify-content: space-between;
   align-items: center;
   padding-bottom: 40px;
}

.footer__top a,
.footer__top p {
   display: inline;
   margin: 0;
}

.footer__top a {
   border-bottom: 1px solid rgba(0, 0, 0, 0);
}

.footer__top a:hover {
   border-bottom: 1px solid #118a6f;
}

.footer__bottom {
   display: flex;
   width: 100%;
   box-sizing: border-box;
   justify-content: space-between;
   align-items: center;
   border-top: 1px solid #e2e2e2;
   padding-top: 40px;
}

.footer__bottom p {
   line-height: 1.42;
}

.footer__bottom p:last-child {
   text-align: right;
}

@media (max-width: 1279px) {
   .contacts__right {
      max-width: 300px;
      gap: 24px 50px;
   }

   .contacts__right .f20 {
      margin: 20px 0px -15px 0px;
   }
}

@media (max-width: 1023px) {
   .footer__top {
      flex-wrap: wrap;
      gap: 20px;
   }
   .footer__top a,
   .footer__top p {
      white-space: nowrap;
   }
}

@media (max-width: 767px) {
   .contacts {
      flex-direction: column;
   }
   .contacts__right,
   .contacts__left {
      max-width: 100%;
   }

   .contacts__right {
      gap: 25px;
   }

   .contacts__right .f20 {
      margin: 20px 0px -15px 0px;
   }

   #s8 .subtitle {
      box-sizing: border-box;
      padding: 0px 20px;
   }

   .footer {
      padding: 40px 20px;
   }

   .footer__bottom {
      flex-direction: column;
      justify-content: flex-start;
      align-items: flex-start;
      gap: 20px;
   }
   .footer__bottom p:last-child {
      text-align: left;
   }
}
