/* ==========================================================================
   Site footer
   Clean, framework-free replacement for the old Tilda T420 footer.
   ========================================================================== */

.site-footer {
  background-color: #0e1015;
  color: #c7c9d1;
  font-family: var(--font-roboto-flex);
  padding: 75px var(--lgc-space-500) 90px;
  box-sizing: border-box;
}

.site-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--lgc-space-500);
}

/* Brand column ------------------------------------------------------------- */
.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--lgc-space-300);
}
.site-footer__logo img {
  height: 28px;
  width: auto;
  display: block;
}
.site-footer__social {
  display: flex;
  align-items: center;
  gap: var(--lgc-space-150);
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-footer__social a {
  display: inline-flex;
  width: 25px;
  height: 25px;
  opacity: 0.85;
  transition: opacity 0.15s ease;
}
.site-footer__social a:hover {
  opacity: 1;
}
.site-footer__social svg,
.site-footer__social img {
  width: 25px;
  height: 25px;
  object-fit: contain;
}
.site-footer__legal {
  font-size: var(--fs-12);
  line-height: var(--lh-22);
  color: #87898f;
}
.site-footer__legal a {
  color: #87898f;
  text-decoration: underline;
}
.site-footer__legal a:hover {
  color: #c7c9d1;
}

/* Link columns ------------------------------------------------------------- */
.site-footer__col-title {
  font-size: var(--fs-12);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #ffffff;
  margin: 0 0 var(--lgc-space-200);
}
.site-footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--lgc-space-150);
}
.site-footer__col a {
  font-size: var(--fs-16);
  line-height: var(--lh-24);
  color: #c7c9d1;
  text-decoration: none;
}
.site-footer__col a:hover {
  color: #ffffff;
}

/* Responsive --------------------------------------------------------------- */
@media (max-width: 980px) {
  .site-footer {
    padding: 56px var(--lgc-space-300) 64px;
  }
  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--lgc-space-500) var(--lgc-space-400);
  }
  .site-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .site-footer__inner {
    grid-template-columns: 1fr;
  }
}
