.site-footer {
  --footer-accent: var(--gold, var(--yellow, var(--green-bright, #36b4ff)));
  padding: 0 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent !important;
}

.footer-main {
  padding: clamp(3.2rem, 6vw, 4.8rem) 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.15fr) minmax(150px, 0.75fr) minmax(210px, 1.05fr) minmax(170px, 0.8fr) !important;
  gap: clamp(2rem, 4vw, 4.5rem) !important;
  align-items: start;
}

.footer-brand {
  min-width: 0;
}

.site-footer .footer-logo {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: 180px;
  height: 110px;
  margin: 0 0 1.55rem;
}

.site-footer .footer-logo img {
  width: 180px;
  height: 110px;
  margin: 0;
  object-fit: contain;
  object-position: left center;
}

.footer-description {
  max-width: 280px;
  margin: 0 0 1.35rem;
  color: var(--muted, #aab7c8);
  line-height: 1.75;
}

.footer-contact-list {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-contact-item,
.site-footer .footer-contact-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  color: #e8eef7;
  font-size: 0.92rem;
  text-decoration: none;
}

.site-footer .footer-contact-link:hover {
  color: var(--footer-accent);
}

.footer-contact-icon {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  color: var(--footer-accent);
}

.footer-column {
  min-width: 0;
}

.footer-heading {
  margin: 0 0 1.15rem !important;
  color: #ffffff;
  font-size: 1rem !important;
  font-weight: 850;
  line-height: 1.25;
}

.site-footer .footer-link {
  display: block;
  width: fit-content;
  margin: 0 0 0.72rem;
  color: var(--muted, #aab7c8);
  font-size: 0.9rem;
  line-height: 1.45;
  text-decoration: none;
}

.site-footer .footer-link:hover,
.site-footer .footer-link:focus-visible {
  color: var(--footer-accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  grid-template-areas:
    "copyright spacer legal"
    "credit credit credit";
  align-items: center;
  column-gap: 1.5rem;
  row-gap: 0.7rem;
  min-height: 88px;
  padding-block: 0.95rem;
}

.footer-bottom-left {
  display: contents;
}

.footer-copyright {
  grid-area: copyright;
  justify-self: start;
  margin: 0;
  color: var(--muted, #aab7c8);
  font-size: 0.82rem;
  opacity: 0.8;
}

.site-footer .footer-credit {
  grid-area: credit;
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  color: var(--muted, #aab7c8);
  font-size: 0.76rem;
  line-height: 1.35;
  text-decoration: none;
  opacity: 0.72;
}

.site-footer .footer-credit:hover,
.site-footer .footer-credit:focus-visible {
  color: #ffffff;
  opacity: 1;
}

.site-footer .footer-credit img {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  margin: 0;
  object-fit: contain;
}

.footer-legal {
  grid-area: legal;
  justify-self: end;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.8rem 1.25rem;
}

.site-footer .footer-legal-link {
  display: inline-flex;
  margin: 0;
  color: var(--muted, #aab7c8);
  font-size: 0.82rem;
  text-decoration: none;
}

.site-footer .footer-legal-link:hover,
.site-footer .footer-legal-link:focus-visible {
  color: var(--footer-accent);
}

@media (max-width: 980px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 720px) {
  .footer-main {
    padding: 2.8rem 0;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 2.2rem !important;
  }

  .site-footer .footer-logo,
  .site-footer .footer-logo img {
    width: 160px;
    height: 98px;
  }

  .footer-description {
    max-width: 100%;
  }

  .footer-bottom-inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copyright"
      "legal"
      "credit";
    justify-items: center;
    row-gap: 0.8rem;
    padding-block: 1.25rem;
    text-align: center;
  }

  .footer-copyright,
  .footer-legal,
  .site-footer .footer-credit {
    justify-self: center;
  }

  .footer-legal {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-footer a {
    transition: none !important;
  }
}
