/* SEC-08 · dark-cta-footer styles */

.sec-08 {
  background: var(--bg-dark);
  color: var(--text-inverse-muted);
  padding: var(--space-20) 0 var(--space-10) 0;
  position: relative;
  overflow: hidden;
}
.footer-watermark {
  position: absolute;
  right: -120px;
  bottom: -120px;
  width: 340px;
  height: 340px;
  opacity: 0.06;
  pointer-events: none;
  color: var(--text-inverse);
}

/* Top CTA band */
.footer-cta {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: var(--space-16);
  align-items: center;
  padding-bottom: var(--space-16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-eyebrow {
  font-size: var(--text-lg);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: var(--ls-widest);
  color: var(--text-inverse-muted);
  opacity: 0.7;
  margin: 0 0 var(--space-4) 0;
}
.footer-h2 {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: var(--fw-medium);
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-tight);
  color: var(--text-inverse);
  margin: 0 0 var(--space-4) 0;
}
.footer-dek {
  font-size: var(--text-lg);
  line-height: var(--lh-normal);
  color: var(--text-inverse-muted);
  margin: 0;
  max-width: 520px;
}
.footer-cta-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  align-items: flex-end;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--fw-semibold);
  text-decoration: none;
  transition: all var(--transition);
  border: 1.5px solid transparent;
  white-space: nowrap;
}
.btn-accent {
  background: var(--accent);
  color: var(--text-inverse);
}
.btn-accent:hover { background: var(--accent-hover); }
.sec-08 .btn-ghost-dark {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-inverse);
}
.sec-08 .btn-ghost-dark:hover {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.16);
}
.footer-microtrust {
  font-size: var(--text-sm);
  color: var(--text-inverse-muted);
  opacity: 0.7;
  margin: var(--space-6) 0 0 0;
}

/* Sitemap columns */
.footer-sitemap {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.2fr;
  gap: var(--space-10);
  padding: var(--space-16) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: var(--fw-medium);
  color: var(--text-inverse);
  text-decoration: none;
}
/* Logo image in footer — constrained height, WP img reset override */
.footer-brand .footer-brand-logo {
  height: 32px !important;
  width: auto !important;
  max-width: none;
  display: block;
}
.footer-brand-mark {
  width: 28px; height: 28px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--accent) 0%, #1FA378 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
}
.footer-tagline {
  font-size: var(--text-md);
  line-height: var(--lh-normal);
  color: var(--text-inverse-muted);
  margin: 0;
  max-width: 320px;
}
.footer-social {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-2);
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-full);
  color: var(--text-inverse-muted);
  transition: all var(--transition);
}
.footer-social a:hover {
  background: var(--accent);
  color: var(--text-inverse);
}
.footer-col h3 {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
  color: var(--text-inverse);
  margin: 0 0 var(--space-4) 0;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.footer-col a {
  font-size: var(--text-md);
  color: var(--text-inverse-muted);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--accent); }
.footer-contact li {
  display: flex;
  gap: var(--space-3);
  font-size: var(--text-md);
  color: var(--text-inverse-muted);
  line-height: var(--lh-normal);
}
.footer-contact svg {
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 2px;
}
.footer-contact strong {
  color: var(--text-inverse);
  display: block;
  margin-bottom: 2px;
  font-weight: var(--fw-semibold);
}

/* Bottom bar */
.footer-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
  padding-top: var(--space-6);
  font-size: var(--text-sm);
  color: var(--text-inverse-muted);
  opacity: 0.7;
}
.footer-bar-legal {
  display: flex;
  gap: var(--space-6);
}
.footer-bar-legal a {
  color: var(--text-inverse-muted);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-bar-legal a:hover { color: var(--accent); }

/* Responsive */
@media (max-width: 1100px) {
  .footer-cta { grid-template-columns: 1fr; gap: var(--space-8); }
  .footer-cta-actions { align-items: flex-start; }
  .footer-sitemap { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
  .footer-brand-col { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .sec-08 { padding: var(--space-14) 0 var(--space-8) 0; }
  .footer-h2 { font-size: var(--text-4xl); }
  .footer-sitemap { grid-template-columns: 1fr; gap: var(--space-8); }
  .footer-bar { flex-direction: column; align-items: flex-start; }
}
