/* ===== Footer Component ===== */
.site-footer {
  padding: var(--space-6) 0;
  margin-top: auto;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5);
  justify-content: space-between;
}

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

.site-footer__logo-link {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
  color: var(--color-cream);
  margin-bottom: var(--space-3);
}

.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;
  line-height: 1.2;
}

.site-footer__description {
  font-size: var(--text-caption-size);
  line-height: var(--text-caption-line);
  color: white;
  max-width: 320px;
  margin: 0;
}

.site-footer__nav {
  flex: 1 1 200px;
}

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

.site-footer__nav-list a {
  font-size: var(--text-caption-size);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-cream);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

.site-footer__bottom {
  width: 100%;
  border-top: var(--border-muted);
  padding-top: var(--space-4);
  margin-top: var(--space-4);
  text-align: center;
}

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

/* ===== Consent Banner ===== */
.consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--surface-ink);
  color: var(--color-cream);
  z-index: 2000;
  padding: var(--space-3) 0;
  border-top: var(--border-thin);
  border-color: var(--color-tobacco);
  display: none; /* hidden by default, shown by JS */
}

.consent-banner.is-visible {
  display: block;
}

.consent-banner__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.consent-banner__text {
  flex: 1 1 300px;
  font-size: var(--text-caption-size);
  line-height: var(--text-caption-line);
  margin: 0;
}

.consent-banner__actions {
  display: flex;
  gap: var(--space-2);
  flex-shrink: 0;
}

/* ===== Age Modal ===== */
.age-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.age-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(28, 34, 30, 0.85);
  backdrop-filter: blur(4px);
}

.age-modal__content {
  position: relative;
  background: var(--surface-paper);
  color: var(--color-ink);
  padding: var(--space-6);
  max-width: 480px;
  width: 90%;
  border: var(--border-thin);
  border-radius: var(--radius-md);
  text-align: center;
  z-index: 1;
}

.age-modal__title {
  font-family: var(--font-heading);
  font-size: var(--text-h2-size);
  line-height: var(--text-h2-line);
  margin-bottom: var(--space-3);
}

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

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

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