.site-footer {
  display: flex;
  row-gap: 32px;
  padding: 56px 0 92px;
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  flex-direction: column;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 220px 225px 400px 250px;
  gap: 96px;
  align-items: start;
}

.site-footer__brand {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

.site-footer .site-logo {
  display: inline-flex;
  align-items: center;
  width: 217px;
  max-width: 100%;
}

.site-footer .site-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.footer-nav__list {
  display: grid;
  gap: 26px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--color-muted);
  font-size: 16px;
  line-height: 1.2;
}

.footer-nav__list a,
.footer-contacts a,
.site-footer__bottom a {
  transition: color .2s ease;
}

.footer-nav__list a:hover,
.footer-contacts a:hover,
.site-footer__bottom a:hover {
  color: var(--color-accent);
}

.footer-contacts {
  display: grid;
  gap: 18px;
  color: var(--color-muted);
}

.footer-contact {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  font-size: 16px;
  line-height: 1.35;
  color: var(--color-muted);
}

.footer-contact__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(12, 12, 12, .03);
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.footer-contact__icon img {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.footer-contact:hover .footer-contact__icon {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(12, 12, 12, .08);
}

.footer-social {
  display: grid;
  gap: 26px;
  justify-items: end;
  text-align: center;
}

.footer-social p {
  margin: 0;
  color: var(--color-text);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
}

.footer-social__links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.footer-social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #0c0c0c;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.footer-social__link:hover {
  transform: translateY(-2px);
  background: var(--color-accent);
  box-shadow: 0 12px 26px rgba(245, 89, 0, .25);
}

.footer-social__link img {
  display: block;
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.footer-social__callback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
}

.footer-social__callback img {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px 36px;

  font-size: 16px;
  line-height: 1.2;
  color: #b9b9b9;
}

.site-footer__dev {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #b9b9b9;
  white-space: nowrap;
  transition: opacity .2s ease, transform .2s ease;
}

.site-footer__dev:hover {
  opacity: .85;
  transform: translateY(-1px);
}

.site-footer__dev img {
  display: block;
  width: 91px;
  height: auto;
  flex: 0 0 auto;
}

.site-footer__copyright {
  color: #b9b9b9;
}
@media (max-width: 1180px) {
  .site-footer__grid {
    grid-template-columns: 180px 180px minmax(260px, 1fr) 220px;
    gap: 34px;
  }

  .site-footer .site-logo {
    width: 170px;
  }
}

@media (max-width: 900px) {
  .site-footer {
    padding: 42px 0 56px;
    row-gap: 28px;
  }

  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 34px 28px;
  }

  .site-footer__brand,
  .footer-social {
    justify-items: start;
    text-align: left;
  }

  .footer-social__links {
    justify-content: flex-start;
  }

  .site-footer__bottom {
    justify-content: flex-start;
    gap: 14px 24px;
  }
}

@media (max-width: 620px) {
  .site-footer {
    padding: 34px 0 42px;
  }

  .site-footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .site-footer .site-logo {
    width: 156px;
  }

  .footer-nav__list {
    gap: 14px;
    font-size: 15px;
  }

  .footer-contacts {
    gap: 12px;
  }

  .footer-contact {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 12px;
    font-size: 15px;
    overflow-wrap: anywhere;
  }

  .footer-contact__icon,
  .footer-social__link {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .footer-contact__icon img,
  .footer-social__link img {
    width: 20px;
    height: 20px;
  }

  .footer-social {
    gap: 16px;
  }

  .footer-social__callback {
    width: 100%;
    max-width: 280px;
  }

  .site-footer__bottom {
    display: grid;
    justify-items: start;
    gap: 12px;
    font-size: 14px;
  }

  .site-footer__dev {
    white-space: normal;
  }
}
