.site-footer {
  --color-yellow: var(--color-accent);
  margin-top: var(--section-space);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  background: #080808;
  color: #b5b5b5;
  font-family: var(--font-site);
}

.site-footer,
.site-footer * {
  box-sizing: border-box;
}

.site-footer__container,
.site-footer__bottom {
  width: var(--page-content-width);
  margin: 0 auto;
}

.newsletter-form {
  width: 100%;
  margin-top: 0;
}

.newsletter-form__label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #fff;
}

.newsletter-form__field {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px;
  border: 1px solid #505050;
  border-radius: 16px;
  background: #111;
}

.newsletter-form__field:focus-within {
  border-color: var(--color-yellow);
}

.newsletter-form input {
  min-width: 0;
  width: 100%;
  min-height: 46px;
  padding: 10px 6px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 1rem;
}

.newsletter-form input::placeholder {
  color: #909090;
}

.newsletter-form button {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 10px 12px;
  border: 0;
  border-radius: 6px;
  background: var(--color-yellow);
  color: #050505;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
}

.newsletter-form button:hover {
  background: #fff;
}

.newsletter-form__notice {
  margin: 10px 0 0;
  color: #999;
  font-size: 0.68rem;
  line-height: 1.5;
}

.site-footer__container {
  display: grid;
  grid-template-columns: 1fr 0.55fr 1.15fr 1.5fr;
  gap: 32px;
  padding: 40px 0;
}

.site-footer__container > * {
  min-width: 0;
}

.site-footer__logo {
  color: #fff;
  font-family: var(--font-site);
  font-size: 1.5rem;
  text-transform: uppercase;
  text-decoration: none;
}

.site-footer__logo span,
.site-footer__tagline {
  color: var(--color-yellow);
}

.site-footer__tagline {
  margin: 6px 0 0;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.site-footer__presented {
  margin: 18px 0 0;
  font-size: 0.72rem;
  line-height: 1.6;
}

.site-footer__column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.site-footer__column h3 {
  margin: 0 0 4px;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.site-footer__column a {
  color: #b5b5b5;
  font-size: 0.8rem;
  line-height: 1.5;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.site-footer__label {
  margin-bottom: -8px;
  font-size: 0.65rem;
  color: #909090;
}

.site-footer__social-heading {
  margin: 20px 0 12px;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.site-footer__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.site-footer__socials a {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid #333;
  border-radius: 3px;
  font-size: 0.65rem;
  font-weight: 600;
  background: #000;
  color: #fff;
}

.site-footer__socials svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.site-footer .site-footer__socials a:hover {
  background: #fff;
  border-color: #fff;
  color: #000;
}

.site-footer a:hover {
  color: var(--color-yellow);
}

.site-footer :is(a, button, input):focus-visible {
  outline: 2px solid var(--color-yellow);
  outline-offset: 4px;
}

.site-footer .site-footer__socials a:focus-visible {
  outline-color: #fff;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  padding: 22px 0;
  border-top: 1px solid #262626;
}

.site-footer__bottom p,
.site-footer__bottom a {
  margin: 0;
  color: #999;
  font-size: 0.68rem;
  line-height: 1.6;
  text-decoration: none;
}

.site-footer__legal {
  display: flex;
  gap: 18px;
}

@media (max-width: 850px) {
  .site-footer__container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .newsletter-form button {
    padding: 8px;
    font-size: 0.6rem;
    letter-spacing: 0;
  }

  .newsletter-form button span {
    display: none;
  }

  .site-footer__container {
    gap: 32px 20px;
  }

  .site-footer__brand,
  .site-footer__subscribe-column {
    grid-column: 1 / -1;
  }

  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

.newsletter-form__status {
  margin: 10px 0 0;
  color: var(--color-accent-light);
  font-size: 0.75rem;
  line-height: 1.5;
}

.newsletter-form__status:empty {
  display: none;
}

.newsletter-form__status[data-error] {
  color: var(--color-accent-light);
}

.newsletter-form button:disabled {
  opacity: 0.6;
  cursor: wait;
}
