.site-footer {
  background-color: var(--color-charcoal);
  color: var(--color-mist);
  padding-block: var(--space-7) var(--space-5);
  margin-block-start: var(--space-8);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

.site-footer__brand {
  max-width: 30rem;
}

.site-footer__brand-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
  color: var(--color-white);
  margin-block-end: var(--space-3);
}

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

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

.site-footer__tagline {
  margin: 0;
  font-size: var(--text-body);
  line-height: var(--leading-body);
  color: var(--color-mist);
}

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

.site-footer__heading {
  font-family: var(--font-heading);
  font-size: var(--text-h3);
  line-height: var(--leading-h3);
  color: var(--color-white);
  margin-block-end: var(--space-3);
}

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

.site-footer__nav-list a {
  color: var(--color-mist);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer__nav-list a:hover {
  color: var(--color-white);
}

.site-footer__nav-list a:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: var(--radius-small);
}

.site-footer__bottom {
  border-top: var(--border-thin);
  padding-block-start: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

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

.site-footer__contact a {
  color: var(--color-mist);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer__contact a:hover {
  color: var(--color-white);
}

.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2000;
  background-color: var(--color-charcoal);
  color: var(--color-mist);
  padding: var(--space-4);
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.2);
}

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

.cookie-consent__content {
  max-width: var(--container-max);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  align-items: flex-start;
}

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

.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.cookie-consent__button {
  min-height: 44px;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-small);
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.cookie-consent__button--accept {
  background-color: var(--color-clay);
  color: var(--color-white);
  border: none;
}

.cookie-consent__button--accept:hover {
  background-color: #c06b62;
}

.cookie-consent__button--reject {
  background-color: transparent;
  color: var(--color-mist);
  border: var(--border-thin);
}

.cookie-consent__button--reject:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
}

.cookie-consent__button:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

@media (min-width: 48rem) {
  .site-footer__inner {
    grid-template-columns: 1fr 2fr;
    gap: var(--space-7);
  }

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

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

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