/* ------------------------------------------------------------------
   Site footer — brand, quick links, products, contact, copyright.
------------------------------------------------------------------ */
.site-footer {
  position: relative;
  padding-block: clamp(64px, 8vw, 104px) 32px;
  border-top: 1px solid var(--color-line);
  background:
    radial-gradient(ellipse at 85% 0%, rgb(210 172 104 / 0.06), transparent 55%),
    var(--color-bg-raised);
  color: var(--color-text-muted);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 48px 32px;
  padding-bottom: clamp(48px, 6vw, 72px);
}
.site-footer__brand { grid-column: span 4; }
.site-footer__col { grid-column: span 2; }
/* One empty column between the brand and the link columns. */
.site-footer__col--first { grid-column: 6 / span 2; }
.site-footer__col:last-child { grid-column: span 3; }

.site-footer__brand {
  display: grid;
  align-content: start;
  gap: 22px;
}
.site-footer__logo { justify-self: start; }
.site-footer__logo img {
  width: auto;
  height: 64px;
}
.site-footer__about {
  max-width: 30ch;
  font-size: 15px;
  line-height: 2;
}

.site-footer__heading {
  margin-bottom: 18px;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
}

.site-footer__links {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
}
.site-footer__links[dir="ltr"] { text-align: right; }
.site-footer__links a {
  width: fit-content;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.site-footer__links a:hover { color: var(--color-gold-soft); }

.site-footer__bottom {
  padding-top: 24px;
  border-top: 1px solid var(--color-line);
  font-size: 13px;
  text-align: center;
}

/* ---------- Tablet / phone ------------------------------------------- */
@media (max-width: 960px) {
  .site-footer__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .site-footer__brand { grid-column: 1 / -1; }
  .site-footer__col,
  .site-footer__col--first,
  .site-footer__col:last-child { grid-column: span 2; }
}

@media (max-width: 560px) {
  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 24px;
  }
  .site-footer__col,
  .site-footer__col--first { grid-column: span 1; }
  .site-footer__col:last-child { grid-column: 1 / -1; }
  .site-footer__logo img { height: 56px; }
  /* Keep clear of the floating support button in the corner. */
  .site-footer { padding-bottom: 96px; }
}
