/* ========================================
   Footer - Dark Theme with Orange Headings
   ======================================== */

.footer {
  background: var(--footer-bg);
  color: var(--footer-foreground);
  padding: 48px 0 0;
  font-family: var(--font-body, 'Inter', system-ui, sans-serif);
}

.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Footer Top Section */
.footer-top {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: 48px;
  padding-bottom: 24px;
}

/* Brand Section */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.fb-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.footer-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.fb-tagline {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--footer-foreground);
  margin-top: 8px;
}

.fb-desc {
  font-size: 0.875rem;
  color: var(--gray-muted);
  line-height: 1.5;
  margin-bottom: 8px;
}

/* Social Icons */
.footer-social {
  display: flex;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--footer-foreground);
  transition: all 0.2s ease;
  text-decoration: none;
}

.social-link:hover {
  background: var(--primary);
  color: var(--footer-foreground);
}

.footer-social-icon {
  width: 16px;
  height: 16px;
}

/* Footer Columns */
.footer-col h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  margin: 0 0 16px 0;
  text-transform: none;
}

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

.footer-col ul:last-child {
  margin-bottom: 0;
}

.footer-col li {
  margin-bottom: 8px;
}

.footer-col a {
  font-size: 0.8rem;
  color: var(--gray-muted);
  text-decoration: none;
  transition: color 0.2s ease;
  white-space: nowrap;
}

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

/* Footer Social Above Divider */
.footer-social-section {
  padding: 12px 0;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid var(--primary);
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.copy {
  font-size: 0.8rem;
  color: var(--gray-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 0.8rem;
  color: var(--gray-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-bottom-links a:hover {
  color: var(--footer-foreground);
}

/* Responsive */
@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }

  .footer-brand {
    grid-column: span 3;
  }
}

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

  .footer-col a {
    white-space: normal;
  }

  .footer-brand {
    grid-column: span 2;
  }

  .footer-social-section,
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

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

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

  .footer-col {
    text-align: center;
  }
}
