.site-footer {
  position: relative;
  text-align: center;
}

.footer-border {
  display: block;
  width: 100%;
  height: auto;
  color: var(--color-sage);
  opacity: 0.5;
  margin-bottom: -1px;
}

.footer-main {
  background: var(--color-sage-wash);
  padding: var(--section-padding-y) var(--section-padding-x) var(--space-2xl);
}

.footer-signature {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(3.5rem, 3rem + 2.5vw, 5rem);
  color: var(--color-gold);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.footer-tagline {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 400;
  font-size: var(--text-md);
  color: var(--color-text);
  opacity: 0.7;
  margin-bottom: var(--space-xl);
  max-width: none;
}

.footer-divider {
  display: inline-block;
  width: min(280px, 60%);
  height: auto;
  color: var(--color-sage);
  opacity: 0.4;
  margin-bottom: var(--space-xl);
}

.footer-nav {
  margin-bottom: var(--space-xl);
}

.footer-nav-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-xs) var(--space-lg);
  list-style: none;
  padding: 0;
}

.footer-nav-list li {
  margin-bottom: 0;
}

.footer-nav-link {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-gold);
  text-decoration: none;
  transition: color var(--transition-default);
}

.footer-nav-link:hover,
.footer-nav-link:focus-visible {
  color: var(--color-spark);
  text-decoration: none;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--color-gold);
  transition: color var(--transition-default), transform var(--transition-default);
}

.footer-social-link:hover,
.footer-social-link:focus-visible {
  color: var(--color-spark);
  transform: translateY(-2px);
}

.footer-social-link svg {
  width: 20px;
  height: 20px;
  display: block;
}

.footer-lang {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-2xl);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
}

.footer-lang-link {
  color: var(--color-text);
  opacity: 0.5;
  text-decoration: none;
  transition: color var(--transition-default), opacity var(--transition-default);
}

.footer-lang-link:hover,
.footer-lang-link:focus-visible {
  color: var(--color-gold);
  opacity: 1;
  text-decoration: none;
}

.footer-lang-sep {
  color: var(--color-text);
  opacity: 0.25;
  user-select: none;
}

.spark-star {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  color: var(--color-spark);
  opacity: 0.3;
  pointer-events: none;
}

.footer-legal {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--color-text);
  opacity: 0.4;
  padding-bottom: var(--space-lg);
}

.footer-legal a {
  color: var(--color-text);
  opacity: 0.7;
  text-decoration-color: rgba(90, 74, 58, 0.2);
}

.footer-legal a:hover {
  color: var(--color-gold);
  opacity: 1;
}

@media (max-width: 768px) {
  .footer-nav-list {
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
  }

  .footer-main {
    padding: var(--space-3xl) var(--section-padding-x) var(--space-2xl);
  }
}
