.footer p {
  margin: 0;
}

.footer ul,
.footer ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer {
  width: 100%;
  background: #1a1f45;
}

.footer__container {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  padding: 40px 60px 30px;
}

.footer__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
}

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

.footer__list,
.footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 17px;
}

.footer__heading {
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  line-height: 21px;
}

.footer__link {
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  line-height: 21px;
}

.footer__contact {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 400;
  line-height: 21px;
  white-space: nowrap;
}

.footer__contact img {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.footer__aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 28px;
}

.footer__lang {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: 34px;
  padding: 0 16px;
  border: 1px solid #5e627c;
  border-radius: 20px;
  background: transparent;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}

.footer__social {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}

.footer__social-title {
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  line-height: 21px;
}

.footer__social-list {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #2a3158;
  color: #c5c8d6;
}

@media (max-width: 991px) {
  .footer__container {
    padding: 30px 15px;
  }

  .footer__top {
    flex-wrap: wrap;
    gap: 30px;
  }

  .footer__aside {
    width: 100%;
    align-items: flex-start;
  }

  .footer__social {
    align-items: flex-start;
  }
}

@media (max-width: 575px) {
  .footer__container {
    padding: 20px 15px;
  }

  .footer__heading,
  .footer__link,
  .footer__contact,
  .footer__social-title,
  .footer__lang {
    font-size: 10px;
    line-height: 24px;
  }

  .footer__contact {
    gap: 5px;
  }

  .footer__contact img {
    width: 15px;
    height: 15px;
  }
}
