/* footer.css */
.site-footer {
  background:
    radial-gradient(circle at top right, rgba(212, 135, 10, 0.08), transparent 26%),
    linear-gradient(180deg, #1f1d31 0%, #181626 100%);
  color: var(--color-text-on-dark);
  padding-block: 4rem 2rem;
  margin-top: auto;
  border-top: 4px solid var(--color-gov-green);
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.045) 0.7px, transparent 0.7px);
  background-size: 18px 18px;
  opacity: 0.55;
  pointer-events: none;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.85fr) minmax(0, 0.95fr);
  gap: 3rem;
  margin-bottom: 3rem;
  align-items: start;
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

.footer-brand {
  max-width: 20rem;
}

.footer-brand .logo {
  color: var(--color-surface-raised);
  margin-bottom: 1rem;
}

.footer-brand img {
  display: block;
  width: min(100%, 190px);
  height: auto;
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 5px rgba(255,255,255,0.2));
}

.footer-brand p {
  color: rgba(244, 240, 248, 0.9);
  max-width: 17rem;
  font-size: 1.05rem;
  line-height: 1.8;
}

.footer-nav {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
}

@media (max-width: 480px) {
  .footer-nav { flex-direction: column; gap: 1.5rem; }
}

.footer-nav-col h4 {
  color: var(--color-amber);
  margin-bottom: 1rem;
  font-size: 1.15rem;
}

.footer-nav-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-nav-col a {
  color: rgba(246, 242, 249, 0.9);
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-nav-col a:hover {
  color: var(--color-amber);
  text-decoration: underline;
  transform: translateX(-2px);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.14);
  font-size: var(--font-small);
  color: rgba(230, 225, 238, 0.82);
}

.footer-legal {
  margin-bottom: 0.5rem;
}

.footer-disclaimer {
  display: inline-block;
  background: rgba(161, 61, 49, 0.22);
  color: #ffe2dc;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid rgba(214, 100, 82, 0.42);
  margin-bottom: 0;
  box-shadow: 0 8px 18px rgba(10, 8, 16, 0.2);
}

@media (max-width: 768px) {
  .footer-brand,
  .footer-brand p {
    max-width: none;
  }

  .footer-nav {
    gap: 2rem;
  }
}
