/* ==========================================================================
   Footer & Bottom Call-To-Action Styles
   ========================================================================== */

/* Pre-Footer Call to Action Banner */
.cta-banner-section {
  background: linear-gradient(135deg, var(--primary-800) 0%, var(--primary-950) 100%);
  color: #ffffff;
  padding: 4.5rem 0;
  position: relative;
  overflow: hidden;
}

.cta-banner-section::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
  height: 100%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
  z-index: 2;
}

@media (max-width: 900px) {
  .cta-banner-inner {
    flex-direction: column;
    text-align: center;
  }
}

.cta-banner-content h2 {
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.cta-banner-content p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
}

.cta-banner-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .cta-banner-actions {
    flex-direction: column;
    width: 100%;
  }
  .cta-banner-actions .btn {
    width: 100%;
  }
}

/* Main Site Footer */
.site-footer {
  background: #060c13;
  color: #94a3b8;
  padding-top: 4.5rem;
  font-size: 0.925rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
}

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

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

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.footer-brand-logo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #ffffff;
  padding: 2px;
  object-fit: contain;
}

.footer-brand-text h4 {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.2;
}

.footer-brand-text span {
  font-size: 0.75rem;
  color: var(--accent-400);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-about-text {
  line-height: 1.65;
  color: #94a3b8;
}

.footer-affiliations {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.affiliation-pill {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
}

/* Footer Links & Headings */
.footer-heading {
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.6rem;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 2px;
  background: var(--accent-500);
  border-radius: 2px;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition-fast);
}

.footer-link:hover {
  color: var(--accent-300);
  transform: translateX(4px);
}

.footer-link svg {
  width: 14px;
  height: 14px;
  opacity: 0.7;
}

/* Footer Contact Details */
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.footer-contact-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: rgba(13, 148, 136, 0.15);
  color: var(--primary-300);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.footer-contact-text {
  display: flex;
  flex-direction: column;
}

.footer-contact-label {
  font-size: 0.75rem;
  color: #64748b;
  text-transform: uppercase;
  font-weight: 600;
}

.footer-contact-val {
  color: #e2e8f0;
  font-weight: 500;
}

.footer-contact-val a {
  color: #e2e8f0;
}

.footer-contact-val a:hover {
  color: var(--accent-300);
}

/* Bottom Bar */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.75rem 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: #64748b;
}

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

.footer-bottom-links a {
  color: #64748b;
}

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