/* footer */

.footer {
  width: 100%;
  padding: 64px 0 24px 0;
  border-top: 1px solid var(--Grey);
}

.footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 45px 20px;
}

.footer_block {
  display: flex;
  flex-direction: column;
  gap: 21px;
}

.footer_logo {
  width: 100%;
  max-width: 126px;
  aspect-ratio: 126 / 40px;
}

.footer_desc {
  color: var(--Green-Light);
  font-size: 14px;
  line-height: 165%;
}

.footer_wrap {
  display: flex;
  flex-direction: column;
  gap: 17px;
  max-width: max-content;
}

.footer_menu,
.footer_links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer_menu a,
.footer_links a {
  color: var(--Green);
  font-size: 13px;
  line-height: 150%;
  display: flex;
  align-items: center;
  gap: 9px;
}

.footer_menu li span,
.footer_links li span {
  width: 18px;
  height: 18px;
  display: inline-flex;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}

.footer_contacts {
  padding-left: 28px;
  border-left: 1px solid var(--Grey);
}

.footer_contacts ul {
  display: flex;
  flex-direction: column;
  gap: 17px;
}

.footer_contacts li {
  padding-left: 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: var(--Green);
  font-size: 12px;
  line-height: 150%;
}

.footer_contacts svg {
  position: absolute;
  left: 0;
  top: 0;
}

.footer_contacts span,
.footer_contacts a {
  color: var(--Green-Light);
  font-size: 12px;
  line-height: 160%;
  max-width: 250px;
}

.footer_contacts [aria-label="phone"],
.footer_contacts li:first-of-type {
  max-width: max-content;
}

.footer_contacts .footer_messangers {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  position: absolute;
  left: calc(100% + 6px);
  bottom: 3px;
}

.footer_contacts .footer_messangers a {
  display: block;
  min-width: 14px;
  height: 14px;
  position: relative;
}

.footer_title {
  color: var(--Green);
  -webkit-text-stroke-width: 0.49px;
  -webkit-text-stroke-color: var(--Green);
  font-size: 12px;
  font-weight: 400;
  line-height: 150%;
  letter-spacing: 2.04px;
  text-transform: uppercase;
}

.copyright {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-top: 1px solid var(--Grey);
  padding-top: 22px;
}

.copyright li:has(.copyright_text) {
  margin-right: auto;
}

.copyright_text,
.copyright a {
  color: var(--Green-Light);
  font-size: 12px;
  font-weight: 400;
  line-height: 165%;
  padding-top: 22px;
}

.copyright a {
  text-decoration-line: underline;
}

/* footer */

@media (max-width: 992px) {
  .footer {
    padding: 49px 0 27px 0;
  }

  .footer .container {
    gap: 42px 32px;
  }

  .footer_block {
    width: calc(100% / 2 - (32px / 2));
    gap: 15px;
  }

  .footer_desc {
    line-height: 175%;
  }

  .footer_wrap {
    gap: 22px;
    width: 100%;
    max-width: calc(100% / 2 - (32px / 2));
  }

  .footer_wrap:nth-last-child(-n + 3) {
    padding-top: 22px;
    border-top: 1px solid var(--Grey);
  }

  .footer_menu,
  .footer_links {
    gap: 22px;
  }

  .footer_menu a,
  .footer_links a {
    font-size: 14px;
    line-height: 155%;
  }

  .footer_contacts {
    padding-left: 0;
    border-left: none;
  }

  .footer_contacts ul {
    gap: 19px;
  }

  .footer_contacts li {
    padding-left: 26px;
    font-size: 13px;
  }

  .footer_contacts span,
  .footer_contacts a {
    font-size: 13px;
    line-height: 170%;
    max-width: 290px;
  }

  .footer_title {
    -webkit-text-stroke-width: 0.45px;
    font-size: 11px;
    line-height: 160%;
    letter-spacing: 1.32px;
  }

  .copyright {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 22px 32px;
  }

  .copyright li:has(.copyright_text) {
    width: 100%;
  }

  .copyright_text,
  .copyright a {
    font-size: 12px;
    font-weight: 400;
    line-height: 225%;
    padding-top: 0;
  }
}

@media (max-width: 600px) {
  .footer {
    padding: 49px 0;
  }

  .footer .container {
    gap: 25px;
  }

  .footer_block {
    width: 100%;
    gap: 15px;
  }

  .footer_wrap {
    max-width: 100%;
  }

  .footer_wrap {
    padding-top: 25px;
    border-top: 1px solid var(--Grey);
  }

  .copyright {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 20px;
  }

  .copyright li:has(.copyright_text) {
    width: 100%;
    margin-bottom: 5px;
  }

  .copyright li {
    width: 100%;
  }
}
