.footer {
  font-size: 14px;
  line-height: 22px;
}

.footer .top {
  padding: 40px 0;
  background-color: #F4F9FC;
}

.footer .top .container {
  display: grid;
  grid-gap: 28px;
}

.footer .top .col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
  line-height: 36px;
}

.footer__list a {
  color: #000;
  text-decoration: none;
}

.footer__list a:hover {
  color: #4ABAF1;
}

.footer__phone {
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  line-height: 24px;
  color: #000000;
  margin-bottom: 15px;
}

.footer__btn {
  margin-bottom: 15px;
}

.footer__mail {
  display: inline-block;
  text-decoration: none;
  color: #000;
  font-size: 14px;
  line-height: 24px;
}

.footer__title {
  margin-top: 35px;
  margin-bottom: 18px;
  font-weight: 600;
  font-size: 16px;
  line-height: 22px;
}

.footer__title:first-child {
  margin-top: 0;
}

.footer__socials {
  display: flex;
  gap: 14px;
  margin-bottom: 40px;
}

.footer__socials a {
  text-decoration: none;
  display: inline-block;
  font-size: 32px;
  width: 1em;
  height: 1em;
}

.footer__cards {
  margin-top: 40px;
  display: flex;
  gap: 14px;
}

.footer__cards > * {
  display: inline-block;
  width: 80px;
  height: 48px;
  background: #FFFFFF;
  border: 1px solid #EDEDED;
  border-radius: 5px;
}

.footer__link {
  text-decoration: none;
  color: #4ABAF1;
}

.footer__copyright {
  font-size: 12px;
  line-height: 18px;
  color: rgba(0, 0, 0, 0.5);
}

.footer .bottom {
  padding: 30px 0;
}

.footer .bottom .hr {
  margin: 30px 0;
  border-color: #EDEDED;
}

.footer .cols {
  display: grid;
  grid-gap: 12px;
}

@media (min-width: 768px) {
  .footer .top .container {
    grid-template-columns: 1fr 1fr;
  }
  .footer .top .col--wide {
    grid-column: span 2;
  }
}

@media (min-width: 1200px) {
  .footer .top .container {
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 30px;
  }
  .footer .bottom .cols {
    grid-gap: 30px;
    align-items: center;
    grid-template-columns: repeat(4, 1fr);
  }
}
