.site-footer {
  background:
    linear-gradient(135deg, rgba(7, 9, 13, 0.98), rgba(18, 23, 29, 0.98)),
    #07090d;
  border-top: 1px solid rgba(245, 239, 224, 0.14);
  color: #f5efe0;
  margin-top: clamp(34px, 6vw, 76px);
  overflow: hidden;
  padding: clamp(30px, 5vw, 58px) clamp(18px, 4vw, 54px);
  width: 100%;
}

.site-footer__inner {
  display: grid;
  gap: clamp(24px, 4vw, 48px);
  grid-template-columns: minmax(0, 1.1fr) minmax(220px, 0.65fr) minmax(240px, 0.8fr);
  margin: 0 auto;
  max-width: 1180px;
}

.site-footer__brand {
  display: grid;
  gap: 14px;
}

.site-footer__brand span,
.site-footer__block span {
  color: #2a9a89;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.site-footer__brand strong {
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.02;
  text-transform: uppercase;
}

.site-footer__brand p,
.site-footer__profile p {
  color: #c9cfcb;
  font-size: 14px;
  line-height: 1.8;
  margin: 0;
}

.site-footer__block {
  display: grid;
  gap: 12px;
  align-content: start;
}

.site-footer__block h2 {
  color: #f5efe0;
  font-size: 18px;
  line-height: 1.2;
  margin: 0;
}

.site-footer__links {
  display: grid;
  gap: 9px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer__links a {
  color: #d9dfdc;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.site-footer__links a:hover {
  color: #caa34a;
}

.site-footer__profile {
  background: rgba(245, 239, 224, 0.06);
  border: 1px solid rgba(245, 239, 224, 0.14);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  padding: 18px;
}

.site-footer__profile h2 {
  font-size: 18px;
  margin: 0;
}

.site-footer__profile strong {
  color: #f5efe0;
}

.site-footer__bottom {
  color: #9ea6a3;
  display: flex;
  flex-wrap: wrap;
  font-size: 12px;
  gap: 10px;
  justify-content: space-between;
  margin: clamp(24px, 4vw, 42px) auto 0;
  max-width: 1180px;
  position: relative;
  padding-top: 16px;
}

.site-footer__bottom::before {
  border-top: 1px solid rgba(245, 239, 224, 0.12);
  content: "";
  left: 50%;
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  width: 100vw;
}

.site-scroll-top {
  align-items: center;
  background: rgba(15, 19, 24, 0.86);
  border: 1px solid rgba(245, 239, 224, 0.2);
  border-radius: 999px;
  bottom: clamp(18px, 3vw, 28px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.32);
  color: #f5efe0;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 22px;
  font-weight: 900;
  height: 46px;
  justify-content: center;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  right: clamp(16px, 3vw, 30px);
  transform: translateY(10px) scale(0.96);
  transition: opacity 0.2s ease, transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  width: 46px;
  z-index: 80;
}

.site-scroll-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.site-scroll-top:hover,
.site-scroll-top:focus-visible {
  background: rgba(202, 163, 74, 0.92);
  border-color: rgba(245, 239, 224, 0.34);
  color: #11161b;
  outline: none;
}

.site-scroll-top span {
  transform: translateY(-1px);
}

@media (max-width: 920px) {
  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .site-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}
