/* Site footer — overrides legacy .footer rules in styles.css (same element: .footer.site-footer) */

footer.footer.site-footer {
  position: relative;
  margin-top: auto;
  padding: 0;
  background: linear-gradient(165deg, #0f1f33 0%, #181818 42%, #020a14 100%);
  color: #94a3b8;
  border-top: none;
  overflow: hidden;
}

footer.footer.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  height: auto;
  background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(254, 172, 2, 0.08), transparent 55%);
  pointer-events: none;
  z-index: 0;
}

footer.footer.site-footer .site-footer-accent {
  position: relative;
  z-index: 2;
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, transparent 0%, #feac02 20%, #fbbf24 50%, #feac02 80%, transparent 100%);
  opacity: 0.95;
}

.site-footer .container {
  position: relative;
  z-index: 1;
  max-width: 1140px;
  padding-left: 20px;
  padding-right: 20px;
}

.site-footer-inner {
  padding-top: 48px;
  padding-bottom: 28px;
}

.site-footer-grid {
  display: grid;
  grid-template-columns: minmax(200px, 1.35fr) repeat(3, minmax(0, 1fr));
  gap: 36px 28px;
  align-items: start;
}

.site-footer-brand {
  padding-right: 12px;
}

.site-footer-logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 14px;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.site-footer-logo:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.site-footer-logo-img {
  height: 38px;
  width: auto;
  display: block;
  opacity: 0.98;
}

.site-footer-desc {
  font-size: 14px;
  line-height: 1.65;
  color: #94a3b8;
  max-width: 320px;
  margin: 0;
}

.site-footer-col {
  min-width: 0;
}

.site-footer-heading {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e2e8f0;
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.12);
}

.site-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.site-footer-links a::before {
  content: "";
  width: 0;
  height: 1px;
  background: #feac02;
  transition: width 0.2s ease;
  flex-shrink: 0;
}

.site-footer-links a:hover {
  color: #feac02;
  transform: translateX(2px);
}

.site-footer-links a:hover::before {
  width: 12px;
}

.site-footer-bottom {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(148, 163, 184, 0.15);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.site-footer-copyright {
  margin: 0;
  font-size: 13px;
  color: #64748b;
}

.site-footer-copyright strong {
  color: #94a3b8;
  font-weight: 600;
}

@media (max-width: 992px) {
  .site-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 24px;
  }

  .site-footer-brand {
    grid-column: 1 / -1;
    padding-right: 0;
    max-width: 420px;
  }
}

@media (max-width: 576px) {
  .site-footer-inner {
    padding-top: 36px;
    padding-bottom: 24px;
  }

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

  .site-footer-bottom {
    margin-top: 28px;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
}
