footer {
  position: relative;
  z-index: 10;
}

.footerMenu__container {
  align-items: flex-start;
  column-gap: 48px;
  row-gap: 32px;
}

.footerMenu__container :is(p, div, a),
.footerCopyright,
.footerCopyright * {
  font-size: 16px;
}

.copyright-menu ul {
  display: flex;
  flex: 1 1 100%;
  flex-wrap: wrap;
  gap: 10px;
}

.copyright-menu ul a {
  font-size: 12px;
  text-decoration: none;
}

.footerItem_left {
  display: flex;
  flex-direction: column;
  row-gap: 30px;
  flex: 0 1 auto;
}

.footerPhone,
.footerAddress {
  line-height: 150%;
}

.footer-phone,
.social-link,
.ironpaper {
  text-decoration: none;
}

.footer-phone:hover,
.ironpaper:hover {
  text-decoration: underline;
}

/* Footer menu */
.footerMenu__container > .hs-menu-wrapper {
  flex: 0 1 50%;
}

.footerMenu__container > .hs-menu-wrapper > ul {
  display: grid;
  grid: repeat(2, auto) / auto-flow;
  align-items: flex-start;
  justify-content: flex-end;
  column-gap: 20px;
  row-gap: 4px;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footerMenu__container > .hs-menu-wrapper > ul > li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 120%;
  min-width: 196px;
  padding: 0;
}

.footerMenu__container .hs-menu-item a {
  display: inline-block;
  padding: 10px 0;
  text-decoration: none;
  width: 100%;
}

.footerMenu__container .hs-menu-depth-1 > a {
  font-weight: 700;
}

.footerMenu__container .hs-menu-children-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  width: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footerMenu__container .hs-menu-depth-2 {
  margin-left: 0;
}

/* Social links */
.footerItem_right {
  display: flex;
  align-items: flex-start;
  flex: 0 0 auto;
}

.footerSocialContainer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.social-link svg,
.footerSocialContainer svg {
  display: block;
  width: 36px;
  height: auto;
}

.social-link img {
  display: block;
  height: auto;
}

.social-mobile {
  display: none;
}

/* Copyright */
.footerCopyright {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 40px;
  font-size: 14px;
}

.footerCopyright p {
  display: block;
}

.ironpaper {
  margin-left: 5px;
}

footer li a[href$='javascript:;'] {
  background-image: unset;
  cursor: initial;
}

/* Responsive */
@media screen and (max-width: 1200px) {
  .footerMenu__container {
    padding-right: 25px;
    padding-left: 25px;
  }

  .footerMenu__container > .hs-menu-wrapper > ul {
    column-gap: 42px;
  }
}

@media screen and (max-width: 991px) {
  .footerMenu__container {
    flex-direction: column;
    justify-content: flex-start;
  }

  .footerItem_left {
    align-items: flex-start;
    justify-content: center;
    margin-bottom: 10px;
  }

  .footerMenu__container > .hs-menu-wrapper {
    width: 100%;
  }

  .footerMenu__container > .hs-menu-wrapper > ul {
    justify-content: flex-start;
  }

  .social-desktop {
    display: none;
  }

  .social-mobile {
    display: flex;
  }

  .footerCopyright {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 20px;
  }

  .footerAddress {
    font-size: 14px;
  }

  .footerSocialContainer {
    justify-content: center;
    column-gap: 48px;
  }
}

@media screen and (max-width: 768px) {
  body footer {
    padding: 48px 30px !important;
  }

  footer .container,
  .footerMenu__container {
    padding-right: 0;
    padding-left: 0;
    row-gap: 30px;
  }

  .footer-phone {
    display: none;
  }

  .footerItem_right {
    display: none;
  }

  .footerMenu__container > .hs-menu-wrapper > ul {
    display: flex;
    flex-direction: column;
    row-gap: 0;
    padding-left: 0;
  }

  .footerMenu__container .hs-menu-item a {
    padding: 15px 0;
  }

  .footerMenu__container .hs-menu-children-wrapper {
    padding-left: 0;
  }

  .footerCopyright {
    gap: 20px;
    margin-top: 0;
    text-align: left;
  }
  
  .copyright-menu ul {
    padding-left: 0;
}