footer {
  background-color: var(--footer-background__color);
  padding: 56px 15%;
  gap: 40px;
}

.footer__wrap {
  display: flex;
  align-items: top center;
  justify-content: space-between;
}

.footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.footer__office {
  display: flex;
  align-items: left;
  flex-direction: column;
  justify-content: center;
  gap: .1rem;
}

.footer__office h4,
.footer__links h4 {
  display: flex;
  align-items: center;
  margin-bottom: 1.3rem;
  color: var(--footer-office-and-link__color);
}

.footer__office-container {
 display: flex;
 flex-direction: column;
 gap: .5rem;
}

.footer__office-info {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}

.footer__office-info img {
  width: 24px;
  height: 24px;
}

.footer__office-info p {
  color: var(--footer-office-info-text__color);
  font-size: 1rem;
}

.footer__telephone-number {
  color: var(--footer-telephone__color) !important;
  font-weight: 600;
}

.footer__cellphone-number {
  color: var(--footer-cellphone__color);
  font-weight: 600;
}

.footer__cellphone-number:hover {
  color: var(--footer-cellphone-hover__color);
}

.footer__links li {
  line-height: 2rem;
}

.footer__links a {
  font-size: 1rem;
  color: var(--footer-links__color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer__links a:hover {
  color: var(--footer-links-hover__color);
}

.footer__bottom {
  width: 100%;
  border-top: 1px solid var(--footer-line-bottom__color);
  margin-top: 40px;
  padding-top: 40px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--footer-text-bottom__color);
}

.footer__list {
  display: flex;
  align-items: left;
  flex-direction: column;
  gap: .4;
}

.footer__item {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

.footer__item img {
  width: 24px;
  height: 24px;
}

@media (max-width: 1440px) {
  footer {
    padding: 56px 10%;
  }
}

@media (max-width: 1200px) {
  footer {
    padding: 56px 8%;
  }

  .footer__wrap {
    gap: 40px;
  }
}

@media (max-width: 992px) {
  .footer__wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 48px;
  }

  .footer__contacts,
  .footer__links {
    width: 100%;
  }

  .footer__links {
    margin-top: -0.7rem;
  }
}

@media (max-width: 768px) {
  footer {
    padding: 40px 8%;
  }

  .footer__office-info p {
    font-size: 0.95rem;
  }

  .footer__links a {
    font-size: 0.95rem;
  }

  .footer__bottom {
    margin-top: 32px;
    padding-top: 32px;
  }
}

@media (max-width: 480px) {
  .footer__office h4,
  .footer__links h4 {
    font-size: 1rem;
  }

  .footer__links li {
    line-height: 1.7rem;
  }

  .footer__office-info img,
  .footer__item img {
    width: 24px;
    height: 24px;
  }

  .footer__office-info p {
    font-size: 0.9rem;
  }

  .footer__bottom {
    font-size: 0.8rem;
  }
}

@media (max-width: 440px) {
  .footer__office-info {
    display: flex;
    align-items: flex-start;
  }
}
