/* ============================================================
   FOOTER
   Footer grid, brand column, link columns, legal bar
   ============================================================ */

.site-footer {
  background: var(--gray-900);
  color: rgba(255,255,255,0.6);
  padding: 72px 0 0;
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand {
  max-width: 280px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-logo img {
  height: 62px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.4);
  font-weight: 300;
}

.footer-col h4 {
  font-family: var(--font-primary);
  font-size: 0.92rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 12px;
}

.footer-col a {
  position: relative;
  display: inline-block;
  font-size: 1.1rem;
  color: var(--white);
  transition: color 0.2s ease;
  font-weight: 300;
}

.footer-col a::before,
.footer-col a::after {
  position: absolute;
  top: 0;
  opacity: 0;
  transition: transform 0.3s, opacity 0.2s;
  color: var(--white);
}

.footer-col a::before {
  content: "[";
  right: calc(100% + 4px);
  transform: translateX(20px);
}

.footer-col a::after {
  content: "]";
  left: calc(100% + 4px);
  transform: translateX(-20px);
}

.footer-col a:hover::before,
.footer-col a:hover::after,
.footer-col a:focus::before,
.footer-col a:focus::after {
  opacity: 1;
  transform: translateX(0px);
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copyright {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.3);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.3);
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: rgba(255,255,255,0.6);
}

/* ============================================================
   STAR SHIMMER EFFECT
   Canvas positioned behind footer content; dots twinkle softly.
   ============================================================ */
.site-footer {
  position: relative;
  overflow: hidden;
}

.footer-stars-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.site-footer .footer-inner {
  position: relative;
  z-index: 1;
}

/* ============================================================
   RESPONSIVE — Footer
   ============================================================ */
@media (max-width: 900px) {
  .footer-inner {
    padding: 0 20px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 680px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
