.site-footer {
  background-color: var(--color-text-primary);
  color: var(--color-surface);
  padding-block: var(--space-8) var(--space-6);
  margin-top: auto;
}

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

.site-footer__brand {
  max-width: 400px;
}

.site-footer__brand-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--color-surface);
  margin-bottom: var(--space-4);
}

.site-footer__brand-link:hover,
.site-footer__brand-link:focus-visible {
  color: var(--color-surface);
  text-decoration: none;
}

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

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

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

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

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

.site-footer__heading {
  color: var(--color-surface);
  font-size: 1.125rem;
  margin-bottom: var(--space-4);
}

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

.site-footer__list li {
  margin: 0;
  padding: 0;
}

.site-footer__link {
  color: var(--color-text-secondary);
  text-decoration: none;
  font-size: var(--text-small);
  line-height: var(--leading-small);
  transition: color 0.2s ease;
}

.site-footer__link:hover,
.site-footer__link:focus-visible {
  color: var(--color-accent-lime);
  text-decoration: underline;
}

.site-footer__address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

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

.site-footer__address-line a {
  color: var(--color-text-secondary);
  text-decoration: none;
}

.site-footer__address-line a:hover,
.site-footer__address-line a:focus-visible {
  color: var(--color-accent-lime);
  text-decoration: underline;
}

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: var(--space-5);
  text-align: center;
}

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

.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: var(--color-surface);
  border-top: 2px solid var(--color-border);
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.08);
  padding-block: var(--space-4);
}

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

.cookie-consent__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.cookie-consent__text {
  margin: 0;
  font-size: var(--text-small);
  line-height: var(--leading-small);
  color: var(--color-text-primary);
}

.cookie-consent__text a {
  color: var(--color-primary);
  text-decoration: underline;
}

.cookie-consent__text a:hover,
.cookie-consent__text a:focus-visible {
  color: var(--color-primary-dark);
}

.cookie-consent__actions {
  display: flex;
  gap: var(--space-3);
  flex-shrink: 0;
}

.cookie-consent__button {
  white-space: nowrap;
}

@media (max-width: 767px) {
  .site-footer__nav {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }

  .cookie-consent__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-consent__actions {
    flex-direction: column;
  }

  .cookie-consent__button {
    width: 100%;
  }
}
