.site-footer {
  background-color: var(--color-ocean-deep);
  color: var(--color-text-on-dark);
  padding-block: var(--space-xxl) var(--space-lg);
  margin-top: var(--space-xxxl);
}

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

.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

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

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

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

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

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

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

.site-footer__heading {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--text-h4);
  line-height: var(--leading-h4);
  color: var(--color-text-on-dark);
  margin: 0 0 var(--space-md);
}

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

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

.site-footer__nav-link:hover,
.site-footer__contact-link:hover,
.site-footer__legal-link:hover {
  color: var(--color-coral);
  text-decoration: underline;
}

.site-footer__contact-address {
  font-size: var(--text-small);
  line-height: var(--leading-small);
  color: var(--color-text-on-dark);
  opacity: 0.9;
}

.site-footer__bottom {
  border-top: 1px solid var(--color-border-dark);
  padding-top: var(--space-md);
  text-align: center;
}

.site-footer__copyright {
  font-size: var(--text-caption);
  line-height: var(--leading-caption);
  color: var(--color-text-on-dark);
  opacity: 0.8;
  margin: 0;
}

.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--color-foam);
  color: var(--color-text-primary);
  border-top: 1px solid var(--color-border-light);
  box-shadow: 0 -2px 8px rgba(10, 42, 74, 0.08);
  z-index: 1000;
  padding-block: var(--space-md);
}

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

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

.cookie-consent__text {
  flex: 1 1 300px;
  font-size: var(--text-small);
  line-height: var(--leading-small);
  margin: 0;
}

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

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

.cookie-consent__button:focus-visible {
  outline: 2px solid var(--color-coral);
  outline-offset: 2px;
}

@media (max-width: 64rem) {
  .site-footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 30rem) {
  .site-footer__grid {
    grid-template-columns: 1fr;
  }

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

  .cookie-consent__actions {
    justify-content: flex-end;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-consent {
    transition: none;
  }
}