/* Footer */
.site-footer {
  width: 100%;
  overflow-x: clip;
  background: #010411;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1.25rem, 4vw, 5rem)
    clamp(1.5rem, 4vw, 2rem);
}

.site-footer__inner {
  max-width: 80rem;
  margin: 0 auto;
}

.site-footer__top {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 2.5rem);
  padding-bottom: clamp(1.5rem, 4vw, 2rem);
}

.site-footer__brand,
.site-footer__partner,
.site-footer__contact,
.site-footer__social {
  min-width: 0;
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.5rem;
  min-width: 0;
}

.site-footer__logo-link {
  display: block;
  line-height: 0;
  text-decoration: none;
}

.site-footer__partner-link {
  display: block;
  line-height: 0;
  text-decoration: none;
}

.site-footer__partner-link:hover .site-footer__partner-logo {
  opacity: 0.85;
}

.site-footer__logo {
  display: block;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
}

.site-footer__partner-logo {
  display: block;
  height: 2.5rem;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
  transition: opacity 0.2s ease;
}

.site-footer__desc {
  margin: 0;
  width: 100%;
  font-size: 0.75rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.5);
}

.site-footer__partner {
  display: flex;
  align-items: flex-start;
  min-width: 0;
  padding-top: 1rem;
}

.site-footer__heading {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.45;
  color: #fff;
}

.site-footer__contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.5);
  word-break: break-word;
}

.site-footer__contact-item a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer__contact-item a:hover {
  color: rgba(255, 255, 255, 0.85);
}

.site-footer__icon {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  margin-top: 0.15rem;
  color: rgba(255, 255, 255, 0.45);
}

.site-footer__social {
  min-width: 0;
}

.site-footer__social-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.site-footer__social-link:hover {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.site-footer__social-icon {
  display: block;
  width: 1rem;
  height: 1rem;
  object-fit: contain;
}

.site-footer__divider {
  display: block;
  width: 100%;
  height: 1px;
  margin: 0 0 clamp(1rem, 3vw, 1.25rem);
  border: none;
  background: rgba(255, 255, 255, 0.1);
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}

.site-footer__copy {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.45);
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__legal a {
  font-size: 0.75rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer__legal a:hover {
  color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 1000px) {
  .site-footer__top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.75rem 2rem;
  }

  .site-footer__partner {
    padding-top: 0;
    align-items: flex-start;
  }

  .site-footer__partner-logo {
    max-width: 100%;
  }
}

@media (max-width: 560px) {
  .site-footer__top {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
