/* Footer Section */
.footer-section {
  background: white;
  color: rgb(15 23 42);
  padding-top: 4rem;
  padding-bottom: 2rem;
  border-top: 1px solid rgb(241 245 249);
}

.footer-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.footer-grid {
  display: grid;
  gap: 3rem;
  margin-bottom: 3rem;
}

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

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-column {
  opacity: 0;
  animation: fadeInUp 0.6s ease-out forwards;
}

/* Brand */
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.footer-logo-image {
  height: 2.5rem;
  width: auto;
}

.footer-logo-image + .footer-brand-text {
  margin-left: 0.25rem;
}

.footer-brand-icon {
  padding: 0.5rem;
  border-radius: 0.5rem;
  background: var(--brand-primary);
}

.footer-brand-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: white;
}

.footer-brand-text {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: rgb(15 23 42);
}

.footer-tagline {
  color: rgb(100 116 139);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* Social Links */
.footer-social {
  display: flex;
  gap: 0.65rem;
  align-items: center;
}

.footer-social-link {
  width: 2.5rem;
  height: 2.5rem;
  background: #f1f5f9;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  color: #64748b;
  border: 1px solid #e2e8f0;
}

.footer-social-link:hover {
  background: var(--brand-primary);
  color: #ffffff;
  transform: translateY(-1px);
}

.footer-social-link svg {
  width: 1.5rem;
  height: 1.5rem;
}

.footer-social-link.is-empty {
  background: transparent;
  border: 2px dashed #cbd5e1;
  color: #cbd5e1;
}

.footer-social-link.is-empty:hover {
  border-color: #94a3b8;
  color: #94a3b8;
  background: rgba(148, 163, 184, 0.08);
}

/* Column Title */
.footer-column-title {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  color: rgb(15 23 42);
}

/* Links */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  color: rgb(100 116 139);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-link:hover {
  color: var(--brand-primary);
}

/* Contact Info */
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: rgb(100 116 139);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.footer-contact-icon {
  flex-shrink: 0;
  color: var(--brand-primary);
}

.footer-contact-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.footer-contact-link {
  color: rgb(100 116 139);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-contact-link:hover {
  color: var(--brand-primary);
}

/* Bottom Bar */
.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgb(241 245 249);
}

.footer-licenses {
  margin-bottom: 1rem;
  text-align: center;
  font-size: 0.875rem;
  color: rgb(148 163 184);
}

.footer-copyright {
  text-align: center;
  font-size: 0.875rem;
  color: rgb(148 163 184);
  margin: 0;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    translate: 0 20px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .footer-column {
    animation: none;
    opacity: 1;
  }
}
