/* FOOTER */
footer {
  background: #000;
  color: var(--muted);
  padding: 3rem 0 1.5rem;
  margin-top: 3rem;
  border-top: 2px solid var(--primary);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.footer-title {
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}

/* Match index.html footer spacing */
footer p {
  margin-bottom: 0.5rem;
}

/* Teal underline hover for footer contact links */
footer p a {
  display: inline-block;
  width: fit-content;
  position: relative;
  padding-bottom: 2px;
  color: var(--muted);
  transition: color 0.25s ease;
}

footer p a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: width 0.25s ease;
}

footer p a:hover {
  color: var(--secondary);
}

footer p a:hover::after {
  width: 100%;
}

/* Quick Links */
.footer-links a {
  display: block;
  width: fit-content;
  margin-bottom: 0.5rem;
  color: var(--muted);
  font-size: 0.9rem;
  position: relative;
  padding-bottom: 2px;
  transition: color 0.25s ease;
}

.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: width 0.25s ease;
}

.footer-links a:hover {
  color: var(--secondary);
}

.footer-links a:hover::after {
  width: 100%;
}

/* Privacy & Terms */
.footer-legal-link {
  color: inherit;
  position: relative;
  transition: color 0.25s ease;
}

.footer-legal-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: width 0.25s ease;
}

.footer-legal-link:hover {
  color: var(--secondary);
}

.footer-legal-link:hover::after {
  width: 100%;
}

.footer-bottom {
  border-top: 1px solid #1f2937;
  padding-top: 1rem;
  font-size: 0.8rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}