/**
 * footer.css — Footer component styles for the v2 Public Site
 *
 * Two sections:
 *   1. Footer CTA bar (.footer-cta) — dark navy, appears above the simple footer
 *      on blog, blog-detail, newsletter and other pages.
 *   2. Simple footer (.footer) — minimal, border-top, used on all pages.
 *
 * All colors use var(--token) references from tokens.css.
 *
 * Extracted from: blog.html, blog-detail.html, newsletter.html, landing.html
 */

/* ==================== FOOTER CTA BAR ==================== */
/* Dark navy call-to-action strip above the simple footer */

.footer-cta {
  background: var(--navy-dark);
  padding: 60px 0;
}

.footer-cta-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--page-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.footer-cta-text h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 32px;
  letter-spacing: -0.64px;
  color: #ededed;
  line-height: 1.2;
}

.footer-cta-text p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 9px;
  line-height: 1.5;
}

/* ==================== SIMPLE FOOTER ==================== */

.footer {
  padding: 30px 0;
  border-top: 1px solid #ddd;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--page-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo {
  width: 39px;
  height: 39px;
  flex-shrink: 0;
}

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

.footer-links a {
  font-size: 16px;
  color: var(--text-dark);
  transition: color var(--transition-fast);
}

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

.footer-copy {
  font-size: 16px;
  color: var(--text-primary);
}

/* ==================== RESPONSIVE ==================== */

/* CTA bar stacks at 1024px */
@media (max-width: 1024px) {
  .footer-cta-inner {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

/* Footer stacks at 768px */
@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
