footer {
  background-color: #F5F5F5;
}
.footer {
  padding: 35px 0;
}
.footer__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.footer__logo img {
  max-height: 60px;
  display: flex;
  align-items: center;
}
.footer__menu-list {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 12px 69px;
}
.footer__menu-list li a {
  text-decoration: none;
  color: var(--main-color);
  font-size: 17px;
  font-weight: 400;
  line-height: 27.2px;
  white-space: nowrap;
  transition: all 0.2s;
}
.footer__menu-list li a:hover {
  color: #BF0C10;
}

.footer__line {
  height: 1px;
  border-top: 1px dashed #989898;
  width: 100%;
}

.footer__socials {
  margin: 0;
  padding: 0;
  list-style-type: none;
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 17px 0;
}
.footer__socials li a {
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  width: 30px;
  background-color: #8d8d8d;
  transition: all 0.2s;
}
.footer__socials li a:hover {
  background-color: #262626;
}

.footer__terms a {
  font-size: 14px;
  font-weight: 600;
  line-height: 18.2px;
  text-decoration: none;
  color: var(--main-color);
  transition: all 0.2s;
}
.footer__terms a:hover {
  color: #BF0C10;
}

.footer__copyright {
  color: #595566;
  font-size: 14px;
  font-weight: 400;
  line-height: 20.65px;
}

.footer__address {
  font-size: 14px;
  font-weight: 600;
  line-height: 18.2px;
  text-decoration: none;
  color: #262626;
  transition: all 0.3;
}
.footer__address:visited, .footer__address:active, .footer__address:focus {
  color: #262626;
}
.footer__address:hover {
  color: #BF0C10;
}

@media (max-width: 991px) {
  .footer__menu-list {
    grid-template-columns: repeat(2, auto);
  }
}
@media (max-width: 820px) {
  .footer__menu-list {
    grid-template-columns: repeat(3, auto);
  }
  .footer__row {
    flex-direction: column;
  }
  .footer__line {
    display: none;
  }
}
@media screen and (max-width: 560px) {
  .footer__menu-list {
    grid-template-columns: repeat(2, auto);
  }
}
@media screen and (max-width: 360px) {
  .footer__menu-list {
    grid-template-columns: 1fr;
    text-align: center;
  }
}