.site-footer {
  background-color: var(--color-pale-sand);
  border-top: 1px solid var(--border-color-default);
  padding-block: var(--space-2xl) var(--space-xl);
  margin-top: var(--space-3xl);
}

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

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

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

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

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

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

.site-footer__tagline {
  font-size: var(--text-body-size);
  color: var(--color-charcoal);
  margin: 0;
}

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

.site-footer__heading {
  font-family: var(--font-body);
  font-size: var(--text-h4-size);
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--color-charcoal);
}

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

.site-footer__link {
  color: var(--color-charcoal);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.site-footer__link:hover {
  color: var(--color-terracotta);
  text-decoration: underline;
}

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

.site-footer__address p {
  margin: 0;
}

.site-footer__badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.site-footer__badge {
  display: inline-flex;
  align-items: center;
  padding: var(--space-xs) var(--space-sm);
  border: 1px solid var(--color-oxidized-copper);
  border-radius: var(--radius-button);
  font-size: var(--text-caption-size);
  font-weight: 600;
  color: var(--color-oxidized-copper);
  background-color: transparent;
}

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

.site-footer__copyright {
  font-size: var(--text-caption-size);
  color: var(--color-muted-sage);
  margin: 0;
}

.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  background-color: var(--color-pale-sand);
  border-top: 1px solid var(--border-color-default);
  box-shadow: 0 -4px 12px rgba(42, 37, 34, 0.08);
  padding: var(--space-md) var(--space-lg);
}

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

.cookie-consent__inner {
  max-width: var(--container-max-width);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.cookie-consent__text {
  flex: 1 1 300px;
  margin: 0;
  font-size: var(--text-caption-size);
  color: var(--color-charcoal);
}

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

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

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

.age-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
}

.age-modal[hidden] {
  display: none !important;
}

.age-modal__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(42, 37, 34, 0.6);
  backdrop-filter: blur(2px);
}

.age-modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 640px;
  max-height: calc(100vh - 2 * var(--space-md));
  overflow-y: auto;
  background-color: var(--color-warm-plaster);
  border-radius: var(--radius-panel);
  box-shadow: 0 8px 24px rgba(42, 37, 34, 0.2);
  padding: var(--space-xl);
  text-align: center;
}

.age-modal__arch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.age-modal__logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.age-modal__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xs) var(--space-sm);
  border: 1px solid var(--color-oxidized-copper);
  border-radius: var(--radius-button);
  font-size: var(--text-caption-size);
  font-weight: 600;
  color: var(--color-oxidized-copper);
  background-color: transparent;
}

.age-modal__title {
  font-size: var(--text-h1-size);
  line-height: var(--text-h1-line-height);
  font-weight: var(--text-h1-weight);
  color: var(--color-charcoal);
  margin-bottom: var(--space-md);
}

.age-modal__description {
  font-size: var(--text-body-size);
  line-height: var(--text-body-line-height);
  color: var(--color-charcoal);
  margin-bottom: var(--space-xl);
  max-width: 48ch;
  margin-inline: auto;
}

.age-modal__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  align-items: center;
}

.age-modal__button {
  width: 100%;
  max-width: 320px;
}

@media (min-width: 768px) {
  .age-modal__actions {
    flex-direction: row;
    justify-content: center;
  }

  .age-modal__button {
    width: auto;
  }
}

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

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

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

  .age-modal {
    padding: 0;
  }

  .age-modal__dialog {
    max-width: 100%;
    max-height: 100vh;
    height: 100vh;
    border-radius: 0;
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .age-modal__arch {
    margin-bottom: var(--space-md);
  }

  .age-modal__logo {
    width: 48px;
    height: 48px;
  }

  .age-modal__title {
    font-size: 2rem;
    line-height: 1.1;
  }

  .age-modal__description {
    font-size: var(--text-body-size);
    margin-bottom: var(--space-lg);
  }
}
