.site-footer {
  background-color: var(--color-obsidian-deep);
  border-top: var(--border-hairline);
  padding-block: var(--space-64) var(--space-32);
  margin-top: var(--space-64);
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-48);
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
  max-width: 720px;
}

.site-footer__brand-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-12);
  text-decoration: none;
  color: var(--color-parchment);
}

.site-footer__brand-link:hover {
  color: var(--color-pale-gold);
  text-decoration: none;
}

.site-footer__logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}

.site-footer__brand-text {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.site-footer__description {
  color: var(--color-steel-muted);
  font-size: var(--text-small);
  line-height: var(--leading-small);
  margin: 0;
}

.site-footer__nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-32);
}

.site-footer__nav-group {
  min-width: 0;
}

.site-footer__heading {
  font-family: var(--font-heading);
  font-size: var(--text-caption);
  font-weight: 600;
  letter-spacing: var(--tracking-caption);
  text-transform: uppercase;
  color: var(--color-crimson);
  margin: 0 0 var(--space-16);
}

.site-footer__nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.site-footer__nav-link {
  color: var(--color-steel);
  text-decoration: none;
  font-size: var(--text-small);
  line-height: var(--leading-small);
  transition: color var(--transition-fast);
}

.site-footer__nav-link:hover {
  color: var(--color-pale-gold);
  text-decoration: underline;
  text-decoration-color: var(--color-pale-gold);
}

.site-footer__address {
  color: var(--color-steel-muted);
  font-size: var(--text-small);
  line-height: var(--leading-small);
  margin: 0;
}

.site-footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-16);
  border-top: var(--border-hairline);
  padding-top: var(--space-32);
}

.site-footer__download {
  white-space: nowrap;
}

.site-footer__download-icon {
  flex-shrink: 0;
}

.site-footer__copyright {
  color: var(--color-steel-muted);
  font-size: var(--text-caption);
  line-height: var(--leading-caption);
  margin: 0;
}

.site-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background-color: var(--color-obsidian-raised);
  border-top: var(--border-hairline);
  box-shadow: var(--shadow-overlay);
  padding-block: var(--space-16);
}

.site-consent[hidden] {
  display: none;
}

.site-consent__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
  align-items: flex-start;
}

.site-consent__text {
  color: var(--color-steel);
  font-size: var(--text-small);
  line-height: var(--leading-small);
  margin: 0;
  max-width: 720px;
}

.site-consent__text a {
  color: var(--color-amethyst);
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: color var(--transition-fast), text-decoration-color var(--transition-fast);
}

.site-consent__text a:hover {
  color: var(--color-pale-gold);
  text-decoration-color: var(--color-pale-gold);
}

.site-consent__actions {
  display: flex;
  gap: var(--space-12);
  flex-wrap: wrap;
}

.site-consent__reject,
.site-consent__accept {
  min-height: 44px;
}

@media (min-width: 768px) {
  .site-footer__inner {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
  }

  .site-footer__brand {
    flex: 1 1 100%;
  }

  .site-footer__nav {
    flex: 1 1 auto;
    grid-template-columns: repeat(3, 1fr);
  }

  .site-footer__bottom {
    flex: 1 1 100%;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .site-consent__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .site-consent__text {
    flex: 1;
  }

  .site-consent__actions {
    flex-shrink: 0;
  }
}

@media (max-width: 767px) {
  .site-footer {
    padding-block: var(--space-48) var(--space-24);
  }

  .site-footer__nav {
    grid-template-columns: 1fr;
    gap: var(--space-24);
  }

  .site-footer__bottom {
    align-items: stretch;
  }

  .site-footer__download {
    width: 100%;
  }
}