.footer {
  background-color: #222222;
  background-image: url("../img/footer/background.svg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;

  color: #ffffff;
  padding: 15px 0 40px 0;
  position: relative;
  border-bottom: 4px solid #930a16;
  font-family: "Proxima Nova", sans-serif;
}

.footer p, .footer span, .footer a, .footer li {
  margin: 0;
}

.footer__container {
  max-width: 1700px;
  margin: 0 auto;
  padding: 0 110px 80px 110px;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 110px;
  right: 110px;
  height: 1px;
  background: #626262;
}

.footer__main-content {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 150px;
  padding: 40px 0 60px 0;
  border-bottom: 1px solid #626262;
  margin-bottom: 22px;
}

.footer__left-column {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.footer__logo-img {
  height: 54px;
  width: auto;
}

.footer__contact-info {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 25px;
}

.footer__right-column {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding-bottom: 30px;
  height: 100%;
}

.footer__columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
}

.footer__columns:first-child {
  padding-left: 25px;
}

.footer__column-group {
  display: flex;
  flex-direction: column;
  gap: 27px;
}

.footer__title {
  font-family: "Bebas Neue", sans-serif;
  color: #f0ead8;
  font-weight: 700;
  font-size: 32px;
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: 25px;
}

.footer__list {
  list-style: none;
}

.footer__list li {
  margin-bottom: 13px;
}

.footer__link {
  color: #828282;
  text-decoration: none;
  font-size: 18px;
  font-weight: 400;
  cursor: pointer;
  text-wrap: wrap;
  line-height: 1;
}

.footer__link:hover {
  color: #626262;
}

.footer__column--special .footer__special-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer__special-link {
  font-family: "Bebas Neue", sans-serif;
  color: #f0ead8;
  font-weight: 700;
  font-size: 32px;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.footer__address,
.footer__phone,
.footer__email {
  color: #626262;
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__phone a,
.footer__email a {
  text-decoration: underline;
}

.footer__city,
.footer__phone-label,
.footer__email-label {
  color: #626262;
}

.footer__address-full,
.footer__phone-number,
.footer__email-link {
  color: #ffffff;
  text-decoration: none;
  font-style: normal;
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
}

.footer__address-full {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer__address-full span {
  display: block;
}

.footer__phone-numbers {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer__apps {
  position: absolute;
  bottom: -50px;
  display: flex;
  gap: 10px;
  align-items: center;
  align-self: flex-end;
}

.footer__app img {
  height: 41px;
  width: auto;
  transition: all 0.3s ease;
  max-width: none;
}

.footer__app:hover img {
  transform: scale(1.05);
}

.footer__social {
  display: flex;
  flex-direction: row;
  gap: 10px;
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid #930a16;
  color: #ffffff;
  transition: all 0.3s ease;
}

.footer__social-link:hover {
  color: #ed1b2f;
  border-color: #ffffff;
}

.footer_social-link-img {
  width: 32px;
  height: 32px;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #626262;
}

.footer__bottom-left {
  display: flex;
  align-items: center;
  gap: 15px;
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  color: #626262;
}

.footer__legal-link {
  color: #626262;
  text-decoration: underline;
  transition: all 0.3s ease;
}

.footer__legal-link:hover {
  color: #ffffff;
}

.footer__design {
  font-weight: 600;
  font-size: 18px;
  line-height: 1;
  color: #626262;
}

.footer__design-link {
  color: #626262;
  transition: all 0.3s ease;
}

.footer__design-link:hover {
  color: #ffffff;
}

@media (max-width: 1700px) {
  .footer__bottom-left {
    font-size: 14px;
  }

  .footer__title,
  .footer__special-link {
    font-size: 24px;
  }

  .footer__link,
  .footer__design,
  .footer__address,
  .footer__phone,
  .footer__email {
    font-size: 16px;
  }

  .footer__address-full,
  .footer__phone-number,
  .footer__email-link {
    font-size: 18px;
  }

  .footer__container {
    padding: 0 80px 50px 80px;
  }

  .footer::before {
    left: 80px;
    right: 80px;
  }

  .footer__main-content {
    display: grid;
    gap: 100px;
  }

  .footer__columns {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer__app img {
    height: 32px;
  }

  .footer__social-link {
    width: 40px;
    height: 40px;
  }

  .footer_social-link-img {
    width: 25px;
    height: 25px;
  }

  .footer__logo-img {
    height: 42px;
  }
}

@media (max-width: 1280px) {
  .footer__main-content {
    gap: 60px;
  }

  .footer__columns {
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
  }
}

@media (max-width: 1024px) {
  .footer__contact-info {
    flex-direction: column;
  }

  .footer {
    padding: 22px 18px 80px 18px;
  }

  .footer__container {
    padding: 0;
  }

  .footer__main-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 0 0 60px 0;
    margin-bottom: 20px;
  }

  .footer__left-column,
  .footer__right-column {
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0;
    gap: 15px;
  }

  .footer__address-full {
    display: block;
    white-space: nowrap;
  }

  .footer__address-full span {
    display: inline;
  }

  .footer__apps {
    justify-content: center;
    align-self: center;
  }

  .footer__app img {
    height: 34px;
    width: auto;
  }

  .footer__social {
    flex-direction: row;
    gap: 11px;
    justify-content: center;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
  }

  .footer__bottom-left {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }

  .footer__phone,
  .footer__email,
  .footer__address {
    gap: 5px;
  }

  .footer__phone-numbers {
    flex-direction: row;
    align-items: center;
  }

  .footer__address-full,
  .footer__phone-number,
  .footer__email-link {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .footer__title,
  .footer__special-link {
    font-size: 20px;
  }
}

@media (max-width: 370px) {
  .footer__address-full {
    display: block;
    white-space: wrap;
  }

  .footer__app img {
    height: 28px;
    width: auto;
  }

  .footer__phone-numbers {
    flex-direction: column;
  }
}
