footer {
  background-color: var(--brand-primary);
  color: var(--brand-white);
  text-align: center;
  padding: 2rem;
  font-size: 14px;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

footer::before {
  content: "";
  position: absolute;
  top: -20px;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
  clip-path: polygon(0 0, 100% 0, 100% 40%, 0 100%);
  opacity: 0.3;
  z-index: -1;
}

footer .footer-inner {
  max-width: 900px;
  margin: auto;
}

footer p {
  margin: 0;
  font-weight: 300;
  letter-spacing: 0.5px;
}

footer a {
  color: var(--brand-white);
  text-decoration: underline dotted;
  transition: color 0.3s ease;
}

footer a:hover {
  color: var(--brand-accent);
}

footer::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(white 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.06;
  z-index: -2;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-col {
  flex: 1 1 200px;
  min-width: 180px;
}

.footer-col h4 {
  margin-bottom: 0.8rem;
  color: var(--brand-accent);
}

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

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col a {
  color: var(--brand-white);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.social-links {
  margin-top: 1rem;
  font-size: 1.5rem;
}

.social-links a {
  margin-right: 0.8rem;
  display: inline-block;
}

.footer-bottom {
  margin-top: 2rem;
  font-size: 0.9rem;
  color: var(--brand-muted);
}
