.site-footer {
  position: relative;
  background: var(--c-green-deep);
  color: var(--c-text-footer);
  background-image: url("../assets/footer-banner.svg");
  background-repeat: no-repeat;
  background-position: bottom right;
  background-size: auto 100%;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 60px 260px 40px var(--section-pad-h);
  display: grid;
  grid-template-columns: 1fr 0.5fr 0.5fr;
  gap: 48px;
}

.footer-brand-name {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--c-cream);
  margin-bottom: 10px;
}
.footer-tagline { font-size: 16px; line-height: 1.6; }

/* Social icons — sit under the Contact column, aligned right */
.footer-socials { display: flex; gap: 14px; margin-top: 18px; justify-content: flex-start; }

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 251, 247, 0.75);
  color: var(--c-cream);
  transition: border-color 0.15s;
}
.social-link:hover { border-color: var(--c-cream); color: var(--c-cream); }

/* Footer nav columns */
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 16px;
}
.footer-nav-title { font-weight: 700; color: var(--c-cream); margin-bottom: 4px; }
.footer-nav a       { color: var(--c-text-footer); }
.footer-nav a:hover { color: var(--c-cream); }

/* Bottom strip — one line on desktop, wraps only on small screens.
   Shares the 260px right inset with .footer-inner so the row lines up with the
   columns above it and stays clear of the flame artwork in the banner. */
.footer-meta {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 20px 260px 44px var(--section-pad-h);
  border-top: 1px solid rgba(255, 251, 247, 0.14);
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 10px;
  font-size: 12.5px;
}
.footer-meta > *     { white-space: nowrap; }
.footer-meta > *:not(:last-child)::after {
  content: "|";
  margin-left: 10px;
  color: rgba(255, 251, 247, 0.35);
}
.footer-meta a       { color: var(--c-text-footer); }
.footer-meta a:hover { color: var(--c-cream); }

/* Below this the row no longer fits inside the inset, so let it wrap */
@media (max-width: 1200px) {
  .footer-meta {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 12px 24px;
    font-size: 14.5px;
  }
}

.footer-credit {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  text-align: center;
  font-size: 12px;
  color: #9a9a9a;
}
.footer-credit a { color: #9a9a9a; }
.footer-credit a:hover { color: var(--c-cream); }

@media (max-width: 900px) {
  .footer-inner   { grid-template-columns: 1fr; padding: 48px var(--section-pad-h) 32px; }
  .footer-socials { justify-content: flex-start; }

  /* Kolommen staan nu onder elkaar over de volle breedte, dus de vlam wordt
     kleiner en zakt naar de onderhoek. De meta-regel houdt rechts ruimte vrij
     zodat er geen tekst over de illustratie loopt. */
  .site-footer {
    background-size: auto 170px;
    background-position: bottom right -20px;
  }
  .footer-meta {
    padding: 20px 130px 44px var(--section-pad-h);
  }
}
