/* ========================================
   FOOTER STYLES
   ======================================== */

.site-footer {
  background-color: var(--color-slate-50);
  border-top: 1px solid var(--color-slate-200);
  padding-top: var(--space-16);
  padding-bottom: var(--space-8);
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}

@media (max-width: 1023px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 639px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
}

/* Brand Column */
.footer-brand {
  max-width: 320px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-navy-900);
  text-decoration: none;
  margin-bottom: var(--space-4);
}

.footer-logo:hover {
  text-decoration: none;
  color: var(--color-navy-800);
}

.footer-logo__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: var(--color-navy-900);
  color: var(--color-white);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
  border-radius: var(--radius-md);
}

.footer-description {
  font-size: var(--font-size-sm);
  color: var(--color-slate-600);
  line-height: var(--line-height-relaxed);
  margin-bottom: 0;
}

/* Footer Sections */
.footer-heading {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-navy-900);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-4);
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-list a {
  font-size: var(--font-size-sm);
  color: var(--color-slate-600);
  text-decoration: none;
  transition: color var(--transition-fast);
  display: inline-block;
}

.footer-list a:hover {
  color: var(--color-navy-900);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid var(--color-slate-200);
  padding-top: var(--space-8);
}

.copyright {
  font-size: var(--font-size-sm);
  color: var(--color-slate-500);
  text-align: center;
  margin-bottom: 0;
}

/* ========================================
   COOKIE BANNER
   ======================================== */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--color-white);
  border-top: 1px solid var(--color-slate-200);
  box-shadow: var(--shadow-lg);
  z-index: 50;
  padding: var(--space-6) 0;
  transform: translateY(100%);
  transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1), visibility 300ms;
  visibility: hidden;
}

.cookie-banner[hidden] {
  display: block; /* Override default hidden to allow transition */
  transform: translateY(100%);
}

.cookie-banner.is-visible {
  transform: translateY(0);
  visibility: visible;
}

.cookie-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}

.cookie-content {
  flex: 1;
  max-width: 600px;
}

.cookie-title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  color: var(--color-navy-900);
  margin-bottom: var(--space-2);
  line-height: var(--line-height-tight);
}

.cookie-text {
  font-size: var(--font-size-sm);
  color: var(--color-slate-600);
  margin-bottom: 0;
  line-height: var(--line-height-normal);
}

.cookie-actions {
  display: flex;
  gap: var(--space-3);
  flex-shrink: 0;
}

.cookie-actions .btn {
  white-space: nowrap;
}

.cookie-actions .btn i {
  font-size: 0.875em;
}

@media (max-width: 767px) {
  .cookie-container {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-content {
    max-width: 100%;
  }
  
  .cookie-actions {
    width: 100%;
    flex-direction: column;
  }
  
  .cookie-actions .btn {
    width: 100%;
    justify-content: center;
  }
}