.site-footer {
  background: var(--secondary);
  color: #eceae6;
  padding: 3.5rem 0 1.35rem;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

.footer-brand .logo {
  color: #fff;
}

.footer-brand .logo-img {
  max-height: 40px;
}

.footer-slogan {
  color: rgba(255, 255, 255, 0.62);
  margin: 0.85rem 0 0;
  max-width: 22rem;
  line-height: 1.55;
  font-size: 0.95rem;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.04);
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.footer-social a:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.1);
}

.footer-title {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 1rem;
  font-weight: 700;
}

.footer-links {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.78);
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  display: grid;
  gap: 1rem;
  justify-items: center;
  text-align: center;
  margin-top: 2.5rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.5);
  font-size: var(--text-small);
}

.footer-bottom.has-pay-logos {
  align-items: center;
}

.footer-copy {
  justify-self: stretch;
}

.footer-pay-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-pay-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 2rem;
  border-radius: 0.55rem;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 8px 18px rgba(0, 0, 0, 0.22);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.footer-pay-logo:hover {
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.16) inset,
    0 12px 22px rgba(0, 0, 0, 0.28);
}

.footer-pay-logo .pay-logo-svg {
  display: block;
  width: 100%;
  height: 100%;
}

.footer-pay-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 0 0.45rem;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1rem;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.55);
}

.footer-legal a:hover {
  color: #fff;
}

.footer-acc-btn {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.footer-acc-panel {
  display: none;
  padding: 0.85rem 0 0.4rem;
}

.footer-acc.is-open .footer-acc-panel {
  display: block;
}

.footer-acc.is-open .footer-acc-btn svg {
  transform: rotate(180deg);
}

@media (max-width: 767px) {
  .footer-acc .footer-title {
    display: none;
  }
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 2rem 1.5rem;
    align-items: start;
  }

  .footer-acc-btn {
    display: none;
  }

  .footer-acc-panel,
  .footer-acc.is-open .footer-acc-panel {
    display: block;
    padding: 0;
  }

  .footer-bottom.has-pay-logos {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    text-align: left;
  }

  .footer-bottom.has-pay-logos .footer-copy {
    justify-self: start;
  }

  .footer-bottom.has-pay-logos .footer-pay-logos {
    justify-self: center;
  }

  .footer-bottom.has-pay-logos .footer-legal {
    justify-self: end;
    justify-content: flex-end;
  }
}

@media (min-width: 1100px) {
  .footer-grid {
    gap: 2.5rem;
  }

  .footer-pay-logo {
    width: 3.75rem;
    height: 2.15rem;
  }
}
