/* static/css/components/footer.css */
.bc-footer {
  position: relative;
  margin-top: 0;
  padding: 5rem 0 2.5rem;
  background: #080808;
  /* Bands separate from each other with this hairline; the footer never
     did, so a dark section above it merged straight into it. */
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  color: #f5f5f5;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
}

.footer-top-border {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent 10%, rgba(220,38,38,0.3) 50%, transparent 90%);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 3rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-logo {
  display: inline-flex;
  text-decoration: none;
}

.footer-logo img {

  height: 56px;
  width: auto;
  transition: opacity 0.2s ease;
}

.footer-logo:hover img {
  opacity: 0.8;
}

.footer-brand p {
  margin: 0;
  font-size: 0.88rem;
  color: #737373;
  line-height: 1.65;
  max-width: 300px;
}

.footer-social {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.08);
  color: #737373;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.footer-social a:hover {
  color: #ffffff;
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.05);
}

.footer-col h4 {
  margin: 0 0 1.1rem;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #f5f5f5;
}

.footer-col-spacer {
  margin-top: 2rem !important;
}

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

.footer-col li {
  margin-bottom: 0.55rem;
  font-size: 0.85rem;
  color: #737373;
  line-height: 1.5;
}

.footer-col a {
  color: #a3a3a3;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: #ffffff;
}

.footer-highlight {
  color: #dc2626 !important;
  font-weight: 600;
}

.footer-highlight:hover {
  color: #ef4444 !important;
}

.footer-ext {
  font-size: 0.6rem;
  margin-left: 0.3rem;
  opacity: 0.5;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}

.footer-contact-list i {
  color: #525252;
  font-size: 0.78rem;
  margin-top: 0.25rem;
  flex-shrink: 0;
  width: 14px;
  text-align: center;
}

.footer-contact-list a,
.footer-contact-list span {
  color: #a3a3a3;
  font-size: 0.85rem;
  text-decoration: none;
  line-height: 1.5;
  transition: color 0.2s ease;
}

.footer-contact-list a:hover {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  font-size: 0.78rem;
  color: #404040;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: #525252;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-bottom-links a:hover {
  color: #a3a3a3;
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    padding-bottom: 2.75rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .bc-footer {
    padding: 4rem 0 2.25rem;
  }
}

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

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .footer-bottom-links {
    flex-wrap: wrap;
    gap: 1.25rem;
  }
}

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

  .footer-brand {
    grid-column: auto;
  }

  .bc-footer {
    padding: 3.5rem 0 2rem;
  }

  .footer-logo img {
    height: 48px;
  }

}
