.footer {
  background-color: #1C3D66;
  color: #fff;
  position: relative;
  padding-top: 75px;
}

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

.footer__bg {
  width: 100%;
  margin-bottom: 50px;
}

.footer__top {
  display: flex;
  gap: 50px;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 46px;
}

.footer li a {
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
}

.footer__bottom {
  background-color: #1b1b1b;
}

.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding-top: 32px;
  padding-bottom: 32px;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 19px;
}

.footer h4 {
  font-weight: 600;
  font-size: 18px;
  line-height: 22px;
}

.footer__socials {
  font-size: 32px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer__socials a {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer__socials img {
  width: 32px;
  aspect-ratio: 1/1;
}

.footer__block .footer__value {
  font-weight: 700;
}

.footer__col.footer__col--contact {
  display: grid;
  gap: 28px;
}

.footer__block p {
  margin: 0;
  margin-bottom: 5px;
}

.footer__grid {
  padding: 0;
  margin: 0;
  list-style: none;
  display: grid;
  grid-template-rows: repeat(7, 1fr);
  grid-auto-flow: column;
  column-gap: 80px;
}

.footer__grid li {
  border-bottom: none;
}

.footer__grid li a {
  transition: all 0.2s ease;
}

.footer__grid li:hover a {
  color: var(--company-color);
}

.footer__bottom-inner {
  display: flex;
  gap: 20px;
}

.footer__grid {
  display: grid;
  gap: 20px;
}

.footer__rules {
  display: flex;
  gap: 100px;
}

@media (max-width: 1280px) {
  .footer__grid,
  .footer__top {
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-flow: row;
  }

  .footer__rules,
  .footer__bottom-inner {
    gap: 16px;
  }

  .footer__grid {
    gap: 8px;
  }

  .footer__rules,
  .footer__bottom-inner {
    display: grid;
  }

  .footer li a {
    padding: 8px 0;
  }
}
