.aml-footer,
.aml-footer *,
.aml-footer *::before,
.aml-footer *::after {
  box-sizing: border-box;
}

.aml-footer a {
  color: inherit;
  text-decoration: none;
}

.aml-footer {
  margin-top: 100px;
  padding: 60px 0 40px;
  background-color: #000;
  color: #a1a1a1;
  font-family: Inter, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.3;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.aml-footer__wrapper {
  width: 100%;
  max-width: 1230px;
  margin: 0 auto;
  padding: 0 30px;
}

.aml-footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.aml-footer__info {
  display: flex;
  flex: 1 1 65%;
  min-width: 0;
  gap: 0;
}

.aml-footer__logo {
  flex: 0 0 30%;
  min-width: 0;
}

.aml-footer__logo svg {
  display: block;
  width: 100%;
  max-width: 160px;
  height: auto;
}

.aml-footer__requisites {
  display: flex;
  flex: 1 1 auto;
  gap: 60px;
  min-width: 0;
}

.aml-footer__requisit {
  flex: 0 0 220px;
  padding-top: 4px;
}

.aml-footer__requisit-title {
  margin: 0 0 10px;
  font-weight: 600;
  font-size: 12px;
  line-height: 100%;
  color: #fff;
  text-transform: uppercase;
}

.aml-footer__requisit p {
  margin: 0;
  font-size: 13px;
  line-height: 140%;
  text-transform: uppercase;
}

.aml-footer__right {
  display: flex;
  flex: 0 0 35%;
  align-items: flex-start;
  justify-content: flex-end;
  min-width: 0;
}

.aml-footer__certifications {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 30px;
  width: 86%;
}

.aml-footer__certifications img {
  display: block;
  width: 70px;
  height: 70px;
}

.aml-footer__nav {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0;
}

.aml-footer__products {
  display: flex;
  flex: 0 0 40%;
  min-width: 0;
}

.aml-footer__products-group {
  flex: 1 1 50%;
  min-width: 0;
  padding-right: 20px;
}

.aml-footer__title {
  margin: 0 0 16px;
  font-weight: 600;
  font-size: 11px;
  line-height: 140%;
  color: #fff;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.aml-footer__list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0 0 40px;
  margin-left: 0;
  padding: 0;
  list-style: none;
}

.aml-footer__list > li {
  padding: 0;
}

.aml-footer__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  border-radius: 8px;
  font-weight: 500;
  font-size: 16px;
  line-height: 130%;
  color: currentColor;
  text-align: left;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.aml-footer__link:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.aml-footer__tracer {
  width: 40px;
  height: 14px;
  flex-shrink: 0;
}

.aml-footer__company {
  flex: 0 0 40%;
  min-width: 0;
}

.aml-footer__socials {
  flex: 0 0 20%;
  min-width: 0;
  margin-bottom: 40px;
}

.aml-footer__social-list {
  display: flex;
  flex-direction: column;
  margin: 0 0 0 -8px;
  padding: 0;
  list-style: none;
}

.aml-footer__social-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 150px;
  padding: 4px 8px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 16px;
  line-height: 130%;
  color: currentColor;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.aml-footer__social-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.aml-footer__social-link svg {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
}

.aml-footer__bottom {
  display: flex;
  align-items: center;
  gap: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.aml-footer__copy {
  flex: 0 0 auto;
  font-weight: 500;
  font-size: 14px;
  line-height: 100%;
}

.aml-footer__support {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 30px;
  font-weight: 500;
  font-size: 16px;
  line-height: 100%;
  color: #fff;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.aml-footer__support:hover {
  background-color: #0057ff;
  color: #fff;
}

.aml-footer__support svg {
  width: 22px;
  height: 19px;
  fill: currentColor;
}

.aml-footer__legal {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}

.aml-footer__legal-link {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  line-height: 100%;
  color: currentColor;
  transition: color 0.2s ease;
}

.aml-footer__legal-link:hover {
  color: #fff;
}

.aml-footer__legal-link svg {
  width: 14px;
  height: 14px;
  margin-right: 8px;
  fill: currentColor;
}

@media (max-width: 991px) {
  .aml-footer {
    margin-top: 50px;
    padding-top: 40px;
  }

  .aml-footer__wrapper {
    padding: 0 20px;
  }

  .aml-footer__top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "logo certifications"
      "requisites requisites";
    column-gap: 20px;
    row-gap: 20px;
    align-items: start;
    margin-bottom: 30px;
    padding-bottom: 30px;
  }

  .aml-footer__info {
    display: contents;
  }

  .aml-footer__logo {
    grid-area: logo;
    width: 100px;
  }

  .aml-footer__requisites {
    grid-area: requisites;
    display: flex;
    flex-direction: row;
    gap: 20px;
    width: 100%;
    min-width: 0;
    margin-top: 0;
  }

  .aml-footer__requisit {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    max-width: none;
  }

  .aml-footer__requisit p {
    font-size: 10px;
  }

  .aml-footer__right {
    grid-area: certifications;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    width: 100%;
    min-width: 0;
    max-width: none;
    margin-top: -14px;
  }

  .aml-footer__certifications {
    justify-content: flex-end;
    gap: 20px;
    width: 100%;
  }

  .aml-footer__certifications img {
    width: 50px;
    height: 50px;
  }

  .aml-footer__nav {
    flex-wrap: wrap;
  }

  .aml-footer__products {
    display: contents;
  }

  .aml-footer__products-group {
    flex: 0 0 50%;
    width: 50%;
    box-sizing: border-box;
  }

  .aml-footer__company,
  .aml-footer__socials {
    flex: 0 0 50%;
    width: 50%;
    box-sizing: border-box;
  }

  .aml-footer__title {
    margin-bottom: 12px;
    font-size: 10px;
  }

  .aml-footer__link,
  .aml-footer__social-link {
    font-size: 14px;
  }

  .aml-footer__socials {
    margin-bottom: 30px;
  }

  .aml-footer__bottom {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    padding-top: 30px;
  }

  .aml-footer__legal {
    justify-content: center;
    width: 100%;
    margin-left: 0;
    order: 2;
  }

  .aml-footer__support {
    order: 0;
    width: 100%;
    justify-content: center;
  }

  .aml-footer__copy {
    order: 3;
    width: 100%;
    text-align: center;
  }
}
