/* =========================================================
   Site footer — sits on dark navy continuation of CTA band
   Block: .site-footer
   ========================================================= */
.site-footer {
  position: relative;
  background: #0a0028;
  color: rgba(255,255,255,0.7);
  padding: clamp(64px, 8vw, 96px) 0 32px;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: -1px; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(167,139,250,0.25) 50%, transparent 100%);
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

/* top section: brand + cols */
.site-footer__top {
  display: grid;
  grid-template-columns: minmax(260px, 1.3fr) minmax(0, 3fr);
  gap: 60px;
  align-items: start;
}

/* brand block */
.site-footer__brand { display: flex; flex-direction: column; gap: 18px; }
.site-footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.site-footer__logo img {
  height: 36px;
  width: auto;
  display: block;
  /* Whiten the logo for the dark footer background */
  filter: brightness(0) invert(1);
}
.site-footer__tag {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.55;
  max-width: 28ch;
}

/* socials */
.site-footer__social {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}
.site-footer__social a {
  width: 36px; height: 36px;
  border-radius: var(--r-pill);
  display: grid; place-items: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.site-footer__social a:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-1px);
}

/* link cols */
.site-footer__cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.site-footer__col h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 14px;
}
.site-footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.site-footer__col a {
  font-size: 14.5px;
  color: rgba(255,255,255,0.78);
  transition: color var(--dur) var(--ease);
}
.site-footer__col a:hover { color: var(--color-primary-light); }

/* bottom strip */
.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  flex-wrap: wrap;
  gap: 16px;
}
.site-footer__copy { margin: 0; }
.site-footer__legal { display: flex; gap: 12px; align-items: center; }
.site-footer__legal a { color: rgba(255,255,255,0.6); transition: color var(--dur) var(--ease); }
.site-footer__legal a:hover { color: #fff; }

/* Fine-print credit — tiny, low-contrast, but a real link */
.site-footer__credit {
  margin: 16px 0 0;
  font-size: 10.5px;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.22);
  text-align: center;
  font-weight: 400;
}
.site-footer__credit a {
  color: rgba(255, 255, 255, 0.32);
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}
.site-footer__credit a:hover { color: rgba(255, 255, 255, 0.65); }

/* responsive */
@media (max-width: 960px) {
  .site-footer__top { grid-template-columns: 1fr; gap: 40px; }
  .site-footer__cols { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
}
@media (max-width: 480px) {
  .site-footer__bottom { flex-direction: column; align-items: flex-start; }
  .site-footer__cols { grid-template-columns: 1fr; gap: 28px; }
  .site-footer__inner { gap: 40px; }
}
