.site-footer {
  --footer-accent: #a63b13;
  --footer-border: #eaded5;
  margin-top: 36px;
  background: #fffaf6;
  color: #3a2e28;
}

.site-footer-inner {
  width: min(1112px, calc(100% - 40px));
  margin-inline: auto;
  padding-block: 22px;
}

.site-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) repeat(3, minmax(0, .85fr)) minmax(0, 1.8fr);
  gap: clamp(14px, 2vw, 26px);
  padding-block: clamp(14px, 2vw, 24px);
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--footer-accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-footer-brand > a:first-child {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 20px;
  font-weight: 750;
}

.site-footer-brand p {
  max-width: 28ch;
  margin: 12px 0 15px;
  color: #695b51;
  font-size: 13px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.site-footer a.site-footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border: 1px solid #e8cbb8;
  border-radius: 8px;
  background: #fff5ed;
  color: var(--footer-accent);
  font-size: 12px;
  font-weight: 650;
}

.site-footer-grid nav {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 8px;
  font-size: 13px;
}

.site-footer-grid h2 {
  margin: 3px 0 4px;
  color: #30241e;
  font-size: 13px;
  font-weight: 750;
}

.site-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding: 15px 0 0;
  border-top: 1px solid var(--footer-border);
  color: #695b51;
  font-size: 12px;
}

.site-footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 14px;
}

.site-footer-payments {
  box-sizing: border-box;
  align-self: start;
  padding: 13px;
  border: 1px solid var(--footer-border);
  border-radius: 12px;
  background: #fff8f2;
}

.site-footer-payments h2 {
  margin: 0 0 10px;
}

.site-footer-payments img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 5px;
}

@media (max-width: 900px) {
  .site-footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .site-footer-brand { grid-column: span 2; }
  .site-footer-payments { grid-column: 3; grid-row: 1; }
}

@media (max-width: 600px) {
  .site-footer-inner { width: calc(100% - 28px); padding-block: 16px; }
  .site-footer-grid { gap: 20px 10px; padding-block: 12px 20px; }
  .site-footer-brand { grid-column: 1 / -1; }
  .site-footer-grid nav { font-size: 12px; }
  .site-footer-payments { grid-column: 1 / -1; grid-row: auto; width: min(100%, 290px); }
}
