/* ==========================================================================
   Footer — design tokens reused from header.css where they overlap
   ========================================================================== */

.site-footer {
  background: #3A2A1A; /* dark brown from the logo */
}

.site-footer__inner {
  max-width: 82.5rem;
  margin: 0 auto;
  padding: 3.5rem 20px 2rem;
  display: grid;
  gap: 2rem;
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.site-footer__logo {
  width: 4.5rem;
  height: auto;
  padding: 0.375rem;
  background: #FFF8EA; /* the logo has dark lettering, it needs a light plate on the dark footer */
  border-radius: 0.75rem;
}

.site-footer__address {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  line-height: 1.6;
  font-style: normal;
  color: #E9DCC0;
}

.site-footer__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 2.8125rem;
  color: #6E4900; /* --color-on-secondary-container */
  background: #FDB742; /* --color-secondary-container */
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
  transition: background-color 0.2s ease;
}

.site-footer__social svg {
  width: 1.5rem;
  height: 1.5rem;
}

.site-footer__social:hover,
.site-footer__social:focus-visible {
  color: #2A170D;
  background: #FFCB6B;
}

.site-footer__heading {
  margin: 0 0 1.25rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #FDB742;
}

.site-footer__col ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.site-footer__col a {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  color: #E9DCC0;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer__col a:hover,
.site-footer__col a:focus-visible {
  color: #FDB742;
}

.site-footer__bottom {
  max-width: 82.5rem;
  margin: 0 auto;
  padding: 1.25rem 20px 2rem;
  border-top: 1px solid #5A4630;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.site-footer__bottom p {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  color: #C9B99B;
}

@media (min-width: 900px) {
  .site-footer__inner {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 3.5rem;
  }

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