footer {
  display: flex;
  flex-direction: column;
  gap: 17px;
  margin-top: auto;
}

.footer-top {
  display: flex;
  align-items: center;
  gap: 20px;
}

.foot-logo {
  display: flex;
  align-items: center;
  width: 120px;
  height: 74px;
  margin-right: 30px;
}

.footer-menu {
  display: flex;
  align-items: center;
  max-width: 800px;
  width: 100%;
}
.footer-menu ul {
  list-style: none;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 15px;
}
.footer-menu ul li {
  width: -moz-max-content;
  width: max-content;
}
.footer-menu ul li a.button span[class*=icon-] {
  gap: 10px;
}
.footer-menu ul li a.button span[class*=icon-]::before {
  font-size: 15px;
}
.footer-menu ul li a.button:hover {
  border-color: var(--accentColor);
}
.footer-menu ul li a.button:hover span {
  background: var(--accentColor);
}
.footer-menu ul li a.button.social-button {
  width: 33px;
  height: 33px;
}
.footer-menu ul li a.button.social-button span {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  width: 100%;
  height: 100%;
}
.footer-menu ul.fm-main {
  width: 100%;
}
.footer-menu ul.fm-main li {
  position: relative;
}
.footer-menu ul.fm-main li:last-child::after {
  position: absolute;
  content: "";
  left: 100%;
  top: 50%;
  transform: translate(0, -50%);
  width: calc(100% - 2px);
  height: 2px;
  /* background: #fff; */
  border-bottom: 1px solid #fff;
  z-index: -1;
}
.footer-menu ul.fm-right a.button {
  background: var(--bgColor);
}

.f-contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 0 auto;
}

.f-contact-lnk {
  display: flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  color: var(--colorFC);
  font-size: 12px;
}
.f-contact-lnk::before {
  font-family: "icons";
}
.f-contact-lnk.icon-loc::before {
  font-size: 18px;
}
.f-contact-lnk.icon-phone::before {
  font-size: 15px;
}

.footer-foot {
  max-width: 1280px;
  width: 100%;
  margin: auto;
  padding: 9px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 25px 25px 0px 0px;
  background: var(--blackColor);
}

.f-link {
  color: var(--colorFC);
  font-size: 12px;
  font-weight: 500;
  line-height: normal;
  text-underline-offset: 3px;
  text-decoration-color: transparent;
  transition: color 0.12s linear, text-decoration-color 0.12s linear;
}
.f-link:not(:last-child) {
  margin-right: 20px;
}
.f-link:hover {
  color: #F9CCAB;
  text-decoration-color: inherit;
  transition: color 0.12s linear, text-decoration-color 0.12s linear;
}

.copyright {
  color: var(--colorFC);
  font-size: 12px;
  font-weight: 500;
  line-height: normal;
}

@media screen and (max-width: 1023px) {
  .footer__container {
    padding: 0 28px;
  }
  .footer-top {
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
  }
  .foot-logo {
    width: 82px;
    height: 52px;
    margin-right: 0;
  }
  .footer-menu {
    align-items: flex-end;
    gap: 15px;
    max-width: none;
    width: auto;
    flex-wrap: wrap;
  }
  .footer-menu ul.fm-main li:last-child::after {
    display: none;
  }
  .footer-menu ul.fm-main {
    width: auto;
    flex-wrap: wrap;
  }
  .f-contacts {
    margin: 0;
  }
}