/* =============================================================
   Science Habitat — Footer
   ============================================================= */

.site-footer {
  background: var(--sh-navy);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 64px 0 32px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

/* Brand column */
.footer-brand p {
  color: rgba(255,255,255,0.55);
  font-size: 0.88rem;
  margin: 16px 0 20px;
  line-height: 1.7;
}
.footer-email a {
  color: var(--sh-teal-light); text-decoration: none;
  font-size: 0.88rem; display: flex; align-items: center; gap: 8px;
}
.footer-company-label {
  font-family: var(--sh-font-mono); font-size: 0.7rem;
  color: rgba(255,255,255,0.25); margin-top: 12px;
}

/* Footer nav columns */
.footer-col h5 {
  color: var(--sh-white); font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  font-family: var(--sh-font-mono); margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a {
  color: rgba(255,255,255,0.55); font-size: 0.87rem;
  text-decoration: none; transition: color var(--sh-transition-fast);
}
.footer-col ul li a:hover { color: var(--sh-teal-light); }

/* Footer bottom */
.site-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.site-footer__bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.35); }
.footer-legal { display: flex; gap: 16px; }
.footer-legal a {
  font-size: 0.8rem; color: rgba(255,255,255,0.35);
  text-decoration: none; transition: color var(--sh-transition-fast);
}
.footer-legal a:hover { color: var(--sh-teal-light); }

/* Footer logo */
.footer-logo {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 0; text-decoration: none;
}
.footer-logo__text {
  font-family: var(--sh-font-display);
  font-size: 1.1rem; color: var(--sh-white);
}

/* ─── Cookie Banner ─── */
.sh-cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: var(--sh-z-cookie);
  background: var(--sh-navy); color: var(--sh-white);
  padding: 16px 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.1);
  transform: translateY(0);
  transition: transform var(--sh-transition-slow);
}
.sh-cookie-banner.is-hidden { transform: translateY(120%); }
.sh-cookie-banner p { font-size: 0.85rem; color: rgba(255,255,255,0.75); }
.sh-cookie-banner p a { color: var(--sh-teal-light); }
.sh-cookie-banner__actions { display: flex; gap: 10px; }
.sh-cookie-banner button {
  padding: 8px 20px; border-radius: var(--sh-radius-sm);
  font-family: var(--sh-font-body); font-size: 0.83rem; font-weight: 600; cursor: pointer;
}
.cookie-accept { background: var(--sh-teal); color: var(--sh-white); border: none; }
.cookie-accept:hover { background: var(--sh-teal-light); }
.cookie-decline {
  background: transparent; color: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.2);
}
.cookie-decline:hover { border-color: rgba(255,255,255,0.5); }

/* ─── Responsive Footer ─── */
@media (max-width: 1023px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .site-footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .site-footer__bottom { flex-direction: column; }
}
