.site-footer {
  position: relative;
  background-color: var(--sapphire-deep);
  color: var(--ivory);
  overflow: hidden;
  margin-block-start: var(--space-4xl);
}

.site-footer__skyline {
  position: relative;
  height: 120px;
  background: linear-gradient(to bottom, rgba(26, 42, 77, 0) 0%, rgba(26, 42, 77, 0.8) 100%);
  pointer-events: none;
}

.site-footer__tower {
  position: absolute;
  bottom: 0;
  width: 40px;
  background-color: var(--emerald-deep);
  border-radius: 4px 4px 0 0;
  opacity: 0.8;
}

.site-footer__tower--1 {
  left: 5%;
  height: 60px;
}

.site-footer__tower--2 {
  left: 20%;
  height: 90px;
}

.site-footer__tower--3 {
  left: 50%;
  transform: translateX(-50%);
  height: 110px;
  width: 50px;
}

.site-footer__tower--4 {
  right: 20%;
  height: 80px;
}

.site-footer__tower--5 {
  right: 5%;
  height: 50px;
}

.site-footer__road {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 20px;
  background: linear-gradient(to right, transparent 0%, var(--gold) 20%, var(--gold) 80%, transparent 100%);
  border-radius: 50%;
  opacity: 0.6;
}

.site-footer__gem {
  position: absolute;
  width: 8px;
  height: 8px;
  background-color: var(--gold);
  transform: rotate(45deg);
  opacity: 0.8;
}

.site-footer__gem--1 {
  left: 15%;
  bottom: 30px;
}

.site-footer__gem--2 {
  left: 45%;
  bottom: 50px;
}

.site-footer__gem--3 {
  right: 15%;
  bottom: 25px;
}

.site-footer__content {
  position: relative;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad-mobile);
  padding-block: var(--space-2xl) var(--space-xl);
  display: grid;
  grid-template-columns: 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(--ivory);
}

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

.site-footer__wordmark {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ivory);
}

.site-footer__disclaimer {
  font-size: var(--text-body-small);
  line-height: var(--leading-body-small);
  color: var(--ivory);
  opacity: 0.85;
  max-width: 40ch;
  margin: 0;
}

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

.site-footer__heading {
  font-family: var(--font-heading);
  font-size: var(--text-h4);
  font-weight: 600;
  color: var(--gold);
  margin-block-end: var(--space-md);
}

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

.site-footer__link {
  color: var(--ivory);
  text-decoration: none;
  font-size: var(--text-body-small);
  line-height: var(--leading-body-small);
  transition: color var(--transition-fast);
}

.site-footer__link:hover {
  color: var(--gold);
}

.site-footer__link:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: var(--radius-input);
}

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

.site-footer__address-line {
  margin: 0;
  font-size: var(--text-body-small);
  line-height: var(--leading-body-small);
}

.site-footer__bottom {
  border-block-start: 1px solid var(--border-gold-soft);
  padding-block: var(--space-lg);
  text-align: center;
}

.site-footer__copyright {
  font-size: var(--text-caption);
  letter-spacing: var(--tracking-caption);
  text-transform: uppercase;
  color: var(--ivory);
  opacity: 0.7;
  margin: 0;
}

.cookie-consent {
  position: fixed;
  inset-inline: 0;
  inset-block-end: 0;
  z-index: 2000;
  background-color: var(--sapphire-deep);
  color: var(--ivory);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.2);
  padding: var(--space-md);
  transform: translateY(100%);
  transition: transform var(--transition-fade);
}

.cookie-consent:not([hidden]) {
  transform: translateY(0);
}

.cookie-consent__inner {
  max-width: var(--container-max);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: center;
  text-align: center;
}

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

.cookie-consent__link {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-consent__link:hover {
  color: var(--gold-soft);
}

.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
}

.cookie-consent__button {
  min-height: 44px;
  padding: var(--space-xs) var(--space-lg);
  border-radius: var(--radius-input);
  font-family: var(--font-body);
  font-size: var(--text-button);
  font-weight: 600;
  letter-spacing: var(--tracking-button);
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast);
}

.cookie-consent__button--accept {
  background-color: var(--emerald);
  color: var(--ivory);
  border: 1px solid var(--emerald);
}

.cookie-consent__button--accept:hover {
  background-color: var(--emerald-deep);
  border-color: var(--emerald-deep);
}

.cookie-consent__button--reject {
  background-color: transparent;
  color: var(--ivory);
  border: 1px solid var(--ivory);
}

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

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

@media (min-width: 640px) {
  .site-footer__content {
    padding-inline: var(--container-pad-desktop);
    grid-template-columns: 1fr 2fr;
    gap: var(--space-2xl);
  }

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

  .cookie-consent__inner {
    flex-direction: row;
    text-align: start;
    justify-content: space-between;
  }

  .cookie-consent__text {
    flex: 1;
  }

  .cookie-consent__actions {
    flex-shrink: 0;
  }
}

@media (max-width: 639px) {
  .site-footer__skyline {
    height: 80px;
  }

  .site-footer__tower {
    width: 30px;
  }

  .site-footer__tower--1,
  .site-footer__tower--5 {
    display: none;
  }

  .site-footer__tower--2 {
    left: 10%;
    height: 50px;
  }

  .site-footer__tower--3 {
    height: 70px;
    width: 40px;
  }

  .site-footer__tower--4 {
    right: 10%;
    height: 45px;
  }

  .site-footer__road {
    width: 80px;
  }
}
