.site-footer {
  position: relative;
  margin-top: -1px;
  background: var(--color1);
  padding: clamp(4rem, 8vw, 7rem) 1.25rem 2rem;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 10% auto auto 50%;
  width: min(42rem, 90vw);
  height: min(42rem, 90vw);
  background: radial-gradient(
    circle,
    rgba(241, 167, 5, 0.14),
    rgba(241, 167, 5, 0) 68%
  );
  transform: translateX(-50%);
  pointer-events: none;
}

.footer-content {
  position: relative;
  width: min(100%, var(--container-width));
  margin: 0 auto;
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
}

.footer-brand {
  max-width: 760px;
}

.footer-brand h2 {
  font-family: var(--font-title);
  font-size: clamp(4.5rem, 10vw, 8.5rem);
  line-height: 0.85;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.footer-brand p {
  margin-top: 1.25rem;
  max-width: 640px;
  color: var(--color-text-muted);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-btn {
  min-height: 3.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.5rem;
  border-radius: 999px;
  font-weight: 800;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.footer-btn:hover {
  transform: translateY(-2px);
}

.footer-btn-primary {
  background: var(--color-accent);
  color: var(--color1);
}

.footer-btn-primary:hover {
  box-shadow: var(--shadow-accent);
}

.footer-btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.06);
}

.footer-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(216, 222, 234, 0.78);
  font-size: 0.9rem;
}

.footer-bottom a {
  color: var(--color-accent);
  font-weight: 700;
  text-decoration: none;
  transition:
    opacity 180ms ease,
    color 180ms ease;
}

.footer-bottom a:hover {
  opacity: 0.85;
  text-decoration: underline;
}

@media (max-width: 700px) {
  .footer-brand,
  .footer-actions {
    text-align: center;
    justify-content: center;
  }

  .footer-brand {
    margin: 0 auto;
  }

  .footer-brand p {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-btn {
    width: min(100%, 22rem);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 520px) {
  .site-footer {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .footer-brand h2 {
    font-size: clamp(3.7rem, 18vw, 5rem);
  }
}
