/* Shared dark footer — homepage grid layout, use on Home, Work hub, and case studies */

.site-footer {
  padding: 6rem 4rem 3rem;
  background: #000;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: #fff;
}

.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  max-width: 1400px;
  margin: 0 auto 5rem;
}

.site-footer .footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.site-footer .footer-logo {
  width: 300px;
}

.site-footer .footer-logo img {
  width: 100%;
  height: auto;
  display: block;
}

.site-footer .footer-brand-text {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #5bc0de, #7dd3e8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.site-footer .footer-desc {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.7;
  margin: 0;
}

.site-footer .footer-title {
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  margin: 0 0 1.5rem;
  font-weight: 600;
}

.site-footer .footer-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.site-footer a.footer-link {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: color 0.3s;
}

.site-footer a.footer-link:hover {
  color: #5bc0de;
}

.site-footer span.footer-link {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.4);
}

.site-footer .footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  max-width: 1400px;
  margin: 0 auto;
}

.site-footer .footer-copy {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.3);
}

.site-footer .back-to-top {
  font-size: 0.75rem;
  color: #5bc0de;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.3s;
}

.site-footer .back-to-top:hover {
  transform: translateY(-3px);
}

@media (max-width: 1024px) {
  .site-footer .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .site-footer {
    padding: 4rem 1.5rem 2rem;
  }

  .site-footer .footer-grid {
    grid-template-columns: 1fr;
  }

  .site-footer .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
