.site-footer {
  margin-top: clamp(52px, 7vw, 92px);
  padding: 0 20px 20px;
  color: #fff;
  background: transparent;
}

.bl-site-footer {
  width: min(100%, 1160px);
  margin-inline: auto;
  overflow: hidden;
  background:
    radial-gradient(circle at 5% 0%, rgba(227, 57, 34, 0.16), transparent 30%),
    linear-gradient(145deg, #1b1b1b, #101010 72%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.3);
}

.bl-site-footer__inner {
  display: grid;
  grid-template-columns: minmax(250px, 1.55fr) repeat(3, minmax(130px, 1fr));
  gap: clamp(28px, 5vw, 64px);
  padding: clamp(30px, 5vw, 54px);
}

.bl-site-footer__brand {
  max-width: 320px;
}

.bl-site-footer__logo {
  display: inline-flex;
  color: #fff;
  font-family: "Permanent Marker", cursive;
  font-size: 1.75rem;
  line-height: 1;
  text-decoration: none;
}

.bl-site-footer__logo span {
  color: var(--brand-red, #e33922);
}

.bl-site-footer__brand > p {
  max-width: 290px;
  margin: 18px 0 20px;
  color: #999;
  font-size: 0.88rem;
  line-height: 1.65;
}

.bl-site-footer__community {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 8px;
  padding: 10px 14px;
  color: #fff;
  background: rgba(227, 57, 34, 0.12);
  border: 1px solid rgba(227, 57, 34, 0.3);
  border-radius: 11px;
  font-size: 0.76rem;
  font-weight: 750;
  text-decoration: none;
}

.bl-site-footer__community span {
  color: #ff5037;
  font-size: 0.7rem;
  text-shadow: 0 0 10px rgba(255, 80, 55, 0.8);
}

.bl-site-footer__nav {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 14px;
}

.bl-site-footer__nav h2 {
  margin: 2px 0 9px;
  color: #f4f4f4;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bl-site-footer__nav a,
.bl-site-footer__nav button,
.bl-site-footer__nav > span {
  color: #929292;
  font-size: 0.82rem;
  line-height: 1.55;
  text-decoration: none;
}

.bl-site-footer__nav a:hover,
.bl-site-footer__nav a:focus-visible,
.bl-site-footer__nav button:hover,
.bl-site-footer__nav button:focus-visible,
.bl-site-footer__community:hover,
.bl-site-footer__community:focus-visible {
  color: #fff;
}

.bl-site-footer__nav a:focus-visible,
.bl-site-footer__nav button:focus-visible,
.bl-site-footer__community:focus-visible,
.bl-site-footer__logo:focus-visible {
  outline: 2px solid #ff5037;
  outline-offset: 3px;
}

.bl-site-footer__nav button {
  min-height: 0;
  padding: 0;
  background: transparent;
  border: 0;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}

.bl-site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px clamp(30px, 5vw, 54px);
  color: #717171;
  background: rgba(0, 0, 0, 0.18);
  border-top: 1px solid rgba(255, 255, 255, 0.055);
  font-size: 0.72rem;
}

.bl-site-footer__bottom p {
  margin: 0;
}

@media (max-width: 900px) {
  .bl-site-footer__inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .bl-site-footer__brand {
    grid-column: 1 / -1;
    max-width: none;
  }
}

@media (max-width: 620px) {
  .site-footer {
    padding-inline: 12px;
  }

  .bl-site-footer {
    border-radius: 18px;
  }

  .bl-site-footer__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 24px;
    padding: 30px 24px;
  }

  .bl-site-footer__brand,
  .bl-site-footer__nav:last-child {
    grid-column: 1 / -1;
  }

  .bl-site-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding: 16px 24px;
  }
}
