.site-footer {
  background: var(--color-dark);
  color: var(--color-light);
  padding-top: 3rem;
}

.footer__grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  padding-bottom: 2.5rem;
}

.footer__logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-white);
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  margin-bottom: 0.75rem;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.footer__logo:hover {
  color: var(--color-accent);
  text-decoration: underline;
}

.footer__tagline {
  color: var(--color-muted);
  margin-bottom: 1.25rem;
  max-width: 36ch;
  line-height: 1.65;
  padding-bottom: 0.25rem;
}

.footer__address {
  font-style: normal;
  margin-bottom: 1rem;
  line-height: 1.7;
}

.footer__brand > p a {
  color: var(--color-light);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0.35rem 0;
  box-sizing: border-box;
}

.footer__brand > p a:hover {
  color: var(--color-accent);
  text-decoration: underline;
}

.footer__heading {
  font-family: var(--font-heading);
  color: var(--color-white);
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.footer__nav ul,
.footer__legal-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.footer__nav a,
.footer__legal-links a {
  color: #cbd5e1;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0.35rem 0;
  box-sizing: border-box;
}

.footer__nav a:hover,
.footer__legal-links a:hover {
  color: var(--color-white);
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer__social a {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  color: var(--color-white);
}

.footer__social a:hover {
  background: var(--color-primary);
  text-decoration: none;
}

.footer__social svg {
  width: 20px;
  height: 20px;
}

.footer__payments {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.payment-icon {
  height: 28px;
  width: auto;
  background: var(--color-white);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  object-fit: contain;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.25rem 0;
}

.footer__bottom-inner {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: #cbd5e1;
  line-height: 1.65;
}

.footer__bottom-inner a {
  color: var(--color-light);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__bottom-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (min-width: 1200px) {
  .footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}
