/* 4-column site footer */
.site-footer {
  --sf-bg: #030326;
  --sf-text: #e7deff;
  --sf-muted: rgba(231, 222, 255, 0.72);
  --sf-line: rgba(231, 222, 255, 0.18);
  background: var(--sf-bg);
  color: var(--sf-text);
  padding: clamp(3rem, 6vw, 4.5rem) 0 1.5rem;
  font-family: "DM Sans", "elza", sans-serif;
}

.site-footer__inner {
  width: min(1120px, calc(100% - 3rem));
  margin: 0 auto;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1.2fr;
  gap: clamp(1.75rem, 3vw, 2.75rem);
  padding-bottom: 2.25rem;
  border-bottom: 1px solid var(--sf-line);
}

.site-footer__col-title {
  margin: 0 0 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
}

.site-footer__logo {
  display: inline-block;
  margin-bottom: 1rem;
  max-width: 220px;
}

.site-footer__logo svg,
.site-footer__logo img,
.footer__logo img {
  width: 100%;
  height: auto;
  display: block;
  max-width: 220px;
}

a.site-footer__logo img {
  background: #fff padding-box;
  padding: 10px 14px;
  border-radius: 28px;
}

.site-footer__logo svg path[fill="#030326"],
.site-footer__logo svg rect[fill="#030326"] {
  fill: #e7deff !important;
}

.site-footer__logo svg path[fill="#aa8cff"] {
  fill: #aa8cff !important;
}

.site-footer__about {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--sf-muted);
  max-width: 28ch;
}

.site-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.site-footer__links a {
  color: var(--sf-muted);
  text-decoration: none;
  font-size: 0.98rem;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.site-footer__links a:hover {
  color: #fff;
  padding-left: 3px;
}

.site-footer__contact p,
.site-footer__contact address {
  margin: 0 0 0.85rem;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--sf-muted);
  font-style: normal;
}

.site-footer__contact a {
  color: var(--sf-muted);
  text-decoration: none;
}

.site-footer__contact a:hover {
  color: #fff;
}

.site-footer__social {
  list-style: none;
  margin: 1.1rem 0 0;
  padding: 0;
  display: flex;
  gap: 0.75rem;
}

.site-footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  border: 1px solid var(--sf-line);
  color: var(--sf-text);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.site-footer__social a:hover {
  background: rgba(231, 222, 255, 0.12);
  border-color: rgba(231, 222, 255, 0.4);
  transform: translateY(-2px);
}

.site-footer__social svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1.35rem;
  font-size: 0.85rem;
  color: rgba(231, 222, 255, 0.55);
}

.site-footer__bottom a {
  color: rgba(231, 222, 255, 0.55);
  text-decoration: none;
}

.site-footer__bottom a:hover {
  color: #fff;
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
}

@media (max-width: 960px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
