/* Footer component styles */
.site-footer { margin-top: var(--space-10); background: var(--color-surface); }

.footer__top { display: grid; gap: var(--space-8); padding-block: var(--space-10); grid-template-columns: 1.2fr; }
.footer__brand .brand { margin-bottom: var(--space-3); }
.footer__tagline { margin-top: var(--space-2); color: var(--color-muted); }
.footer__trust { display: flex; gap: var(--space-4); margin-top: var(--space-4); color: var(--color-muted); flex-wrap: wrap; }

.footer__links { display: grid; gap: var(--space-8); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.links__group { display: flex; flex-direction: column; gap: var(--space-3); }
.links__title { font-size: var(--text-lg); }
.links__group ul { display: grid; gap: 8px; }
.links__group a { color: var(--color-text); text-decoration: none; }
.links__group a:hover { text-decoration: underline; }

.newsletter { display: grid; gap: var(--space-3); }
.newsletter__row { display: grid; grid-template-columns: 1fr auto; gap: var(--space-3); }

.footer__social { display: flex; gap: var(--space-4); margin-top: var(--space-3); }
.footer__social a { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border: 1px solid var(--gray-300); border-radius: var(--radius-pill); color: var(--color-text); }
.footer__social a:hover { background: color-mix(in oklab, var(--color-primary) 8%, transparent); text-decoration: none; }

.footer__bottom { border-top: 1px solid var(--gray-200); background: color-mix(in oklab, var(--color-surface) 95%, transparent); }
.footer__bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding-block: var(--space-5); }
.footer__legal { display: inline-flex; gap: var(--space-4); }
.footer__legal a { color: var(--color-muted); }
.footer__legal a:hover { color: var(--color-text); }

@media (min-width: 768px) {
  .footer__top { grid-template-columns: 1.2fr 2fr; }
  .footer__links { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .footer__links { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Cookie banner */
.cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1100; transform: translateY(100%); opacity: 0; transition: transform var(--duration-slow) var(--ease-standard), opacity var(--duration-slow) var(--ease-standard); }
.cookie-banner.is-visible { transform: translateY(0); opacity: 1; }
.cookie-banner__inner { display: grid; gap: var(--space-4); grid-template-columns: 1fr; align-items: center; background: var(--color-surface); border-top: 1px solid var(--gray-200); box-shadow: var(--shadow-md); padding-block: var(--space-5); }
.cookie-banner__text { display: grid; gap: var(--space-2); }
.cookie-banner__actions { display: flex; gap: var(--space-3); align-items: center; justify-content: flex-start; }

@media (min-width: 768px) {
  .cookie-banner__inner { grid-template-columns: 1fr auto; }
  .cookie-banner__actions { justify-content: flex-end; }
}

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