/* Footer styles scoped to the site footer */
.site-footer {
  background: #064e3b; /* deep tropical green */
  color: #e6fffa;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto; padding: 2rem 1rem; display: grid; gap: 1.5rem; grid-template-columns: 1.2fr 2fr;
}
.footer-brand { min-width: 0; }
.footer-logo {
  color: #ffffff; text-decoration: none; font-weight: 700; font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; font-size: 1.25rem;
}
.footer-logo:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 4px; }
.footer-text { margin-top: 0.5rem; color: #d1fae5; line-height: 1.6; }

.footer-links {}
.footer-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 0.5rem 1rem; }
.footer-grid a { color: #e6fffa; text-decoration: none; padding: 0.25rem 0; border-radius: 6px; display: inline-block; }
.footer-grid a:hover { text-decoration: underline; }
.footer-grid a:focus-visible { outline: 2px solid #ecfeff; outline-offset: 2px; background: rgba(255,255,255,0.06); }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.75rem 1rem; max-width: 1200px; margin: 0 auto; }
.footer-bottom p { margin: 0; color: #ccfbf1; }
.footer-social a { color: #a7f3d0; margin-left: 0.5rem; font-size: 1.1rem; display: inline-flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; border-radius: 6px; }
.footer-social a:hover { color: #ffffff; background: rgba(255,255,255,0.1); }
.footer-social a:focus-visible { outline: 2px solid #ecfeff; outline-offset: 2px; background: rgba(255,255,255,0.12); }

@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* Cookie banner */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1200;
  background: #065f46; color: #f0fdfa; box-shadow: 0 -6px 18px rgba(0,0,0,0.18);
  transform: translateY(100%); opacity: 0; pointer-events: none;
  transition: transform 260ms ease, opacity 260ms ease;
}
.cookie-banner.is-visible { transform: translateY(0); opacity: 1; pointer-events: auto; }
.cookie-content { max-width: 1200px; margin: 0 auto; padding: 1rem; display: grid; gap: 1rem; grid-template-columns: 1fr auto; align-items: center; }
.cookie-text h2 { margin: 0 0 0.25rem; font-size: 1rem; color: #ffffff; }
.cookie-text p { margin: 0; color: #d1fae5; }
.cookie-text a { color: #a7f3d0; }
.cookie-actions { display: inline-flex; gap: 0.5rem; }
.btn { cursor: pointer; font-weight: 700; border-radius: 8px; padding: 0.5rem 0.75rem; border: 2px solid transparent; }
.btn--primary { background: #10b981; color: #062c22; border-color: #10b981; }
.btn--primary:hover { filter: brightness(1.05); }
.btn--primary:focus-visible { outline: 2px solid #ecfeff; outline-offset: 2px; }
.btn--ghost { background: transparent; color: #ecfeff; border-color: rgba(255,255,255,0.6); }
.btn--ghost:hover { background: rgba(255,255,255,0.1); }
.btn--ghost:focus-visible { outline: 2px solid #ecfeff; outline-offset: 2px; }

@media (max-width: 720px) {
  .cookie-content { grid-template-columns: 1fr; }
  .cookie-actions { justify-content: flex-start; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .cookie-banner { transition: none; }
}

/* Visibility helpers for initial state */
.cookie-banner.is-hidden { display: block; transform: translateY(100%); opacity: 0; pointer-events: none; }