/* ==========================================================================
   SHARED FOOTER CSS
   ========================================================================== */
.footer-wireframe {
  background-color: var(--bg-card);
  border-top: 1px solid var(--border-color);
  padding: 60px 0 30px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-nav {
  display: flex;
  gap: 80px;
  flex-wrap: wrap;
}

.footer-nav-col h5 {
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 18px;
  letter-spacing: 0.05em;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color var(--transition-speed, 0.3s);
}

.footer-links a:hover {
  color: var(--brand-blue, #2699A6);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom p {
  margin-bottom: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 38px;
  height: 38px;
  border: 1px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition-speed, 0.3s);
  text-decoration: none;
}

.social-link:hover {
  border-color: var(--brand-blue, #2699A6);
  color: var(--brand-blue, #2699A6);
  background-color: var(--brand-blue-light, rgba(38, 153, 166, 0.12));
  box-shadow: 0 0 10px var(--brand-blue-glow, rgba(38, 153, 166, 0.35));
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 992px) {
  .footer-grid {
    flex-direction: column;
  }
}


.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* Missing styles for the unified footer HTML */
.footer-brand {
  max-width: 320px;
}

.footer-logo {
  height: 38px;
  object-fit: contain;
  margin-bottom: 20px;
}

.footer-description {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

.footer-links h4, .footer-actions h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 18px;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.footer-email {
  display: block;
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  text-decoration: none;
  transition: color var(--transition-speed, 0.3s);
}

.footer-email:hover {
  color: var(--brand-blue, #2699A6);
}

.footer-actions .primary-btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: var(--brand-blue, #2699A6);
  color: #fff;
  border-radius: 50px;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all var(--transition-speed, 0.3s);
}

.footer-actions .primary-btn:hover {
  background-color: var(--brand-blue-hover, #24A6A6);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px var(--brand-blue-glow, rgba(38, 153, 166, 0.35));
}

/* Normalize Footer for Tailwind and non-Tailwind pages */
.footer-wireframe ul {
  padding: 0 !important;
  margin: 0 !important;
  list-style: none !important;
}
.footer-wireframe h4 {
  margin-top: 0;
  font-family: var(--font-heading);
}
.footer-wireframe p {
  margin-top: 0;
  font-family: var(--font-body);
}
.footer-wireframe a {
  text-decoration: none;
}


/* Theme Aware Logo for Footer */
[data-theme="dark"] .footer-logo {
  filter: brightness(0) invert(1);
}
