.site-footer {
  padding: 26px 14px calc(86px + env(safe-area-inset-bottom));
  color: rgba(255, 255, 255, 0.86);
  background: var(--color-primary);
}

.site-footer__inner {
  display: grid;
  gap: 14px;
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
}

.footer-brand-block,
.footer-contact,
.footer-payments,
.footer-group {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
}

.footer-brand-block h2,
.footer-contact h2,
.footer-payments h2,
.footer-group summary {
  margin: 0 0 10px;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
}

.footer-brand-block p,
.footer-contact p {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.5;
}

.footer-group summary {
  cursor: pointer;
  list-style: none;
}

.footer-group summary::-webkit-details-marker {
  display: none;
}

.footer-group nav {
  display: grid;
  gap: 7px;
}

.footer-group a,
.footer-socials a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}

.footer-group a {
  min-height: 32px;
}

.footer-group a:hover,
.footer-socials a:hover {
  color: var(--color-accent);
}

.footer-socials {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.footer-socials a {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.footer-contact i {
  width: 20px;
  color: var(--color-accent);
}

.footer-payments div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-payments span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.08);
}

.site-footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  max-width: var(--container-width);
  margin: 18px auto 0;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

@media (min-width: 768px) {
  .site-footer {
    padding: 32px 24px 34px;
  }

  .site-footer__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (min-width: 1180px) {
  .site-footer__inner {
    grid-template-columns: 1.25fr repeat(4, minmax(0, 1fr));
    align-items: stretch;
  }
}
