.site-footer {
  background-color: var(--surface-navy-translucent);
  border-top: var(--border-hud);
  box-shadow: var(--shadow-panel);
  padding-block: var(--space-6);
  margin-block-start: var(--space-7);
}

.site-footer__inner {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-gutter);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-5);
}

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

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

.site-footer__brand-link:hover {
  text-decoration: none;
}

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

.site-footer__brand-text {
  font-family: var(--font-heading);
  font-size: var(--small-size);
  line-height: var(--small-line-height);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-white);
  white-space: nowrap;
}

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

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

.site-footer__nav-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.site-footer__heading {
  font-family: var(--font-heading);
  font-size: var(--small-size);
  line-height: var(--small-line-height);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-white);
  margin: 0;
}

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

.site-footer__item {
  margin: 0;
  padding: 0;
}

.site-footer__link {
  display: inline-flex;
  align-items: center;
  min-height: var(--touch-target-min);
  color: var(--text-muted);
  text-decoration: none;
  font-size: var(--small-size);
  line-height: var(--small-line-height);
  transition: color 0.2s ease;
}

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

.site-footer__link:focus-visible {
  outline: var(--focus-ring);
  outline-offset: var(--focus-ring-offset);
}

.site-footer__text {
  color: var(--text-muted);
  font-size: var(--small-size);
  line-height: var(--small-line-height);
}

.site-footer__bottom {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-gutter);
  margin-block-start: var(--space-5);
  padding-block-start: var(--space-4);
  border-top: var(--border-hud);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
  justify-content: space-between;
}

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

.site-footer__micro-label {
  margin: 0;
}

.site-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  background-color: var(--surface-navy);
  border-top: var(--border-hud);
  box-shadow: var(--shadow-panel);
  padding: var(--space-3) var(--container-gutter);
}

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

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

.site-consent__heading {
  font-family: var(--font-heading);
  font-size: var(--small-size);
  line-height: var(--small-line-height);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-white);
  margin: 0;
}

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

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

.site-consent__button {
  min-height: var(--touch-target-min);
  padding: var(--space-2) var(--space-3);
  font-family: var(--font-heading);
  font-size: var(--small-size);
  line-height: var(--small-line-height);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-small);
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.site-consent__button--accept {
  background-color: var(--accent-cyan);
  border: 1px solid var(--accent-cyan);
  color: var(--bg-deep);
  font-weight: 700;
}

.site-consent__button--accept:hover {
  background-color: #33EAFF;
  border-color: #33EAFF;
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.4);
  transform: translateY(-2px);
}

.site-consent__button--reject {
  background-color: transparent;
  border: 1px solid var(--accent-blue);
  color: var(--accent-lightblue);
}

.site-consent__button--reject:hover {
  background-color: rgba(74, 111, 165, 0.2);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: translateY(-2px);
}

.site-consent__button:focus-visible {
  outline: var(--focus-ring);
  outline-offset: var(--focus-ring-offset);
}

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

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

.age-modal__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(11, 15, 26, 0.85);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.age-modal__dialog {
  position: relative;
  background-color: var(--surface-navy);
  border: var(--border-hud);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-panel), var(--glow-cyan);
  padding: var(--space-5);
  max-width: 480px;
  width: 100%;
  max-height: calc(100vh - 2 * var(--space-3));
  overflow-y: auto;
  z-index: 1;
}

.age-modal__title {
  font-family: var(--font-heading);
  font-size: var(--h3-size);
  line-height: var(--h3-line-height);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-white);
  margin: 0 0 var(--space-3);
}

.age-modal__description {
  margin: 0 0 var(--space-4);
  color: var(--text-muted);
  font-size: var(--body-size);
  line-height: var(--body-line-height);
}

.age-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: flex-end;
}

.age-modal__button {
  min-height: var(--touch-target-min);
  padding: var(--space-2) var(--space-4);
  font-family: var(--font-heading);
  font-size: var(--small-size);
  line-height: var(--small-line-height);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-small);
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.age-modal__button--confirm {
  background-color: var(--accent-cyan);
  border: 1px solid var(--accent-cyan);
  color: var(--bg-deep);
  font-weight: 700;
}

.age-modal__button--confirm:hover {
  background-color: #33EAFF;
  border-color: #33EAFF;
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.4);
  transform: translateY(-2px);
}

.age-modal__button--decline {
  background-color: transparent;
  border: 1px solid var(--accent-blue);
  color: var(--accent-lightblue);
}

.age-modal__button--decline:hover {
  background-color: rgba(74, 111, 165, 0.2);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: translateY(-2px);
}

.age-modal__button:focus-visible {
  outline: var(--focus-ring);
  outline-offset: var(--focus-ring-offset);
}

@media (max-width: 768px) {
  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

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

  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-2);
  }

  .site-consent__panel {
    flex-direction: column;
    align-items: stretch;
  }

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

  .age-modal__dialog {
    padding: var(--space-4);
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-consent__button,
  .age-modal__button {
    transition: none;
  }

  .age-modal__overlay {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}
