/* ============================================================
   Site footer — single source for every page.
   Markup: js/footer.js. Scoped to .site-footer so it renders the same
   on Bootstrap/style.css pages and on solutions/news pages.
   ============================================================ */
.site-footer {
  --radius: 0.625rem;
  --foreground: oklch(0.98 0 0);
  --primary: oklch(0.62 0.24 355);
  --primary-foreground: oklch(1 0 0);
  --secondary: oklch(0.17 0 0);
  --muted-foreground: oklch(0.68 0 0);
  --border: oklch(0.32 0 0 / 45%);
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
.site-footer *,
.site-footer *::before,
.site-footer *::after { box-sizing: border-box; }
.site-footer .container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}
.site-footer h6,
.site-footer p,
.site-footer ul,
.site-footer form { margin: 0; padding: 0; }
.site-footer h6,
.site-footer p,
.site-footer a,
.site-footer li,
.site-footer input { font-family: inherit; font-weight: 400; letter-spacing: normal; }
.site-footer ul { list-style: none; }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer img { display: block; max-width: 100%; }
.site-footer button { font-family: inherit; cursor: pointer; border: none; }

.site-footer {
  background: oklch(0.08 0 0);
  border-top: 1px solid var(--border);
  padding: 4rem 0 0;
  margin-top: 6rem;
}

.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1.6fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}

@media (max-width: 1024px) {
  .site-footer .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .site-footer .footer-col--brand,
  .site-footer .footer-col--newsletter {
    grid-column: span 2;
  }
}

@media (max-width: 600px) {
  .site-footer .footer-grid {
    grid-template-columns: 1fr;
  }
  .site-footer .footer-col--brand,
  .site-footer .footer-col--newsletter {
    grid-column: span 1;
  }
}

.site-footer .footer-logo img {
  /* Match main site (css/light-theme.css) so footer logo is identical everywhere */
  max-width: 240px;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  margin-bottom: 1rem;
}

.site-footer .footer-desc {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  line-height: 1.6;
  max-width: 22rem;
}

.site-footer .footer-col-title {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--foreground);
  margin: 0 0 1rem;
}

.site-footer .footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.site-footer .footer-links li a {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  transition: color 200ms;
}

.site-footer .footer-links li a:hover {
  color: var(--primary);
}

.site-footer .footer-form {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.site-footer .footer-form input[type="email"] {
  flex: 1;
  min-width: 0;
  background: var(--secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.5rem 0.875rem;
  color: var(--foreground);
  font-size: 0.875rem;
  outline: none;
}

.site-footer .footer-form input[type="email"]::placeholder {
  color: var(--muted-foreground);
}

.site-footer .footer-form button {
  background: var(--primary);
  color: var(--primary-foreground);
  border: none;
  border-radius: var(--radius);
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: opacity 200ms;
}

.site-footer .footer-form button:hover {
  opacity: 0.88;
}

.site-footer .footer-social {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 0.75rem;
}

.site-footer .footer-social li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--secondary);
  border: 1px solid var(--border);
  color: var(--muted-foreground);
  font-size: 0.875rem;
  transition: background 200ms, color 200ms;
}

.site-footer .footer-social li a:hover {
  background: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
}

.site-footer .footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  gap: 1rem;
}

.site-footer .footer-bottom p {
  color: var(--muted-foreground);
  font-size: 0.8125rem;
  margin: 0;
}

.site-footer .footer-bottom a {
  color: var(--muted-foreground);
  font-size: 0.8125rem;
  transition: color 200ms;
}

.site-footer .footer-bottom a:hover {
  color: var(--primary);
}
