.site-footer {
  color: rgba(255, 255, 255, 0.76);
  background:
    radial-gradient(circle at 12% 0%, rgba(50, 202, 73, 0.14), transparent 34%),
    var(--footer-background-color, #06311f);
}

.site-footer__main,
.site-footer__bottom-inner {
  width: min(100% - 48px, 1200px);
  margin: 0 auto;
}

.site-footer__main {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(520px, auto);
  gap: 48px;
  align-items: center;
  padding: 36px 0 30px;
}

.site-footer__brand-link {
  display: inline-block;
  color: var(--on-primary-color, #fff);
  font-size: 25px;
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
}

.site-footer__tagline {
  max-width: 420px;
  margin: 9px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 14px;
  line-height: 1.55;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 28px;
}

.site-footer__nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer__nav a::after {
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--primary-color, #32ca49);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

.site-footer__nav a:hover,
.site-footer__nav a:focus-visible {
  color: var(--on-primary-color, #fff);
}

.site-footer__nav a:hover::after,
.site-footer__nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.12);
}

.site-footer__bottom-inner {
  padding: 14px 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

.site-footer__bottom-inner a {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 991px) {
  .site-footer__main {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 0 26px;
  }

  .site-footer__nav {
    justify-content: flex-start;
  }
}

@media (max-width: 575px) {
  .site-footer__main,
  .site-footer__bottom-inner {
    width: min(100% - 32px, 1200px);
  }

  .site-footer__nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 20px;
  }
}
