.site-footer {
  padding: 30px 0 34px;
  border-top: 1px solid rgba(29, 29, 31, 0.08);
  background:
    linear-gradient(180deg, rgba(250, 252, 249, 0.94), rgba(255, 255, 255, 1)),
    #ffffff;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(18px, 4vw, 42px);
  align-items: center;
}

.site-footer__identity {
  display: flex;
  align-items: center;
}

.site-footer__legal {
  margin: 0;
  display: grid;
  gap: 2px;
}

.site-footer__brand {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  text-decoration: none;
}

.site-footer__brand-image {
  display: block;
  width: min(160px, 34vw);
  height: auto;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: center;
}

.site-footer__nav a {
  color: var(--apple-black);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

.site-footer__nav a:hover {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.site-footer__nav a:focus-visible,
.site-tab:focus-visible,
.button:focus-visible,
.gallery-carousel__button:focus-visible,
.gallery-carousel__dot:focus-visible,
.faq-question:focus-visible,
.faq-footer a:focus-visible {
  outline: 2px solid rgba(25, 191, 0, 0.55);
  outline-offset: 3px;
}

.site-footer__legal {
  color: var(--text-grey);
  font-style: normal;
  font-size: 14px;
  line-height: 1.45;
  text-align: right;
}

.site-footer__legal strong,
.site-footer__legal span {
  display: block;
}

.site-footer__legal strong {
  color: var(--text-grey);
  font-weight: 500;
}

@media (max-width: 900px) {
  .site-footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 18px;
  }

  .site-footer__brand {
    justify-self: center;
  }

  .site-footer__identity {
    justify-content: center;
  }

  .site-footer__nav {
    justify-content: center;
  }

  .site-footer__legal {
    text-align: center;
  }
}
