.site-footer {
  position: relative;
  padding: 28px 0 104px;
  background: linear-gradient(180deg, rgba(5, 25, 47, 0.98), rgba(6, 20, 36, 1));
  color: rgba(255, 255, 255, 0.88);
}

.site-footer__shell {
  width: var(--width-shell);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 24px;
}

.site-footer__brand,
.site-footer__col {
  padding: 24px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer__brand img {
  width: 110px;
  margin-bottom: 18px;
}

.site-footer__brand p {
  line-height: 1.7;
}

.site-footer__col h2 {
  margin-bottom: 14px;
  color: var(--color-white);
  font-size: 1.2rem;
  font-family: var(--font-body);
}

.site-footer__col ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 10px;
}

.site-footer__meta {
  margin-top: 30px;
  padding-top: 26px;
  padding-bottom: 0;
  display: grid;
  gap: 18px;
  justify-items: center;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer__copyright {
  color: rgba(255, 255, 255, 0.46);
}

.site-footer__socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.site-footer__social {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.site-footer__social svg {
  width: 18px;
  height: 18px;
}

.site-footer__social:hover {
  transform: translateY(-2px);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.18);
}

.site-footer__social--placeholder {
  opacity: 0.5;
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 28px;
}

.site-footer__legal a,
.site-footer__legal span {
  color: rgba(255, 255, 255, 0.52);
}

.site-footer__credit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: rgba(7, 25, 46, 0.78);
  box-shadow: 0 14px 28px rgba(3, 14, 28, 0.14);
}

.site-footer__credit span {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.site-footer__credit img {
  width: 118px;
  height: auto;
}

@media (min-width: 901px) {
  .site-footer__meta {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    grid-template-areas:
      "copyright socials legal"
      "credit credit credit";
    align-items: center;
    gap: 22px 28px;
    text-align: left;
  }

  .site-footer__copyright {
    grid-area: copyright;
    justify-self: start;
  }

  .site-footer__socials {
    grid-area: socials;
  }

  .site-footer__legal {
    grid-area: legal;
    justify-self: end;
    justify-content: flex-end;
  }

  .site-footer__credit {
    grid-area: credit;
    justify-self: center;
  }
}

@media (max-width: 900px) {
  .site-footer {
    padding-top: 22px;
  }

  .site-footer__shell {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .site-footer__brand,
  .site-footer__col {
    padding: 20px;
    border-radius: 24px;
  }

  .site-footer__brand img {
    width: 88px;
    margin-bottom: 14px;
  }

  .site-footer__meta {
    margin-top: 24px;
    padding-top: 22px;
    gap: 16px;
  }

  .site-footer__copyright {
    max-width: 22rem;
  }

  .site-footer__legal {
    gap: 12px 22px;
  }

  .site-footer__credit {
    flex-wrap: wrap;
    justify-content: center;
    padding: 12px 16px;
  }

  .site-footer__credit img {
    width: 104px;
  }
}
