/* Footer main layout */
.footer-shell__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.footer-shell__top {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 3fr);
  gap: var(--space-8);
}

@media (max-width: 768px) {
  .footer-shell__top {
    grid-template-columns: minmax(0, 1fr);
  }
}

.footer-shell__brand-block {
  max-width: 22rem;
}

.footer-shell__logo-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}

.footer-shell__logo-mark {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.9rem;
  background: radial-gradient(circle at 20% 20%, #ffe5d8 0, #ffae80 40%, #ff7d4a 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: var(--shadow-md);
}

.footer-shell__logo-mark i {
  font-size: 1.15rem;
}

.footer-shell__logo-text {
  font-family: var(--font-heading);
  font-weight: 600;
}

.footer-shell__logo-highlight {
  color: var(--color-primary);
}

.footer-shell__tagline {
  margin-bottom: var(--space-3);
  color: rgba(241, 245, 249, 0.85);
}

.footer-shell__meta {
  margin-top: var(--space-2);
}

.footer-shell__links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--space-6);
}

.footer-shell__heading {
  font-size: var(--font-size-sm);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-3);
  color: rgba(226, 232, 240, 0.9);
}

.footer-shell__list {
  display: grid;
  gap: 0.35rem;
}

.footer-shell__list a {
  font-size: var(--font-size-sm);
  color: rgba(241, 245, 249, 0.86);
}

.footer-shell__list a:hover {
  color: #ffffff;
}

.footer-shell__bottom {
  border-top: 1px solid rgba(51, 65, 85, 0.9);
  padding-top: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-shell__copy {
  font-size: var(--font-size-xs);
  color: rgba(148, 163, 184, 0.9);
}

.footer-shell__note {
  font-size: var(--font-size-xs);
  color: rgba(148, 163, 184, 1);
  max-width: 40rem;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  inset-inline: var(--space-4);
  bottom: var(--space-4);
  z-index: 50;
  max-width: 40rem;
  margin-inline: auto;
  background-color: #0b1120;
  color: #e5e7eb;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition:
    opacity var(--transition-slow),
    transform var(--transition-slow);
}

.cookie-banner__inner {
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.cookie-banner__title {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-2);
}

.cookie-banner__text {
  font-size: var(--font-size-sm);
  color: rgba(209, 213, 219, 0.95);
}

.cookie-banner__links {
  font-size: var(--font-size-xs);
  color: rgba(156, 163, 175, 1);
}

.cookie-banner__links a {
  color: #e5e7eb;
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.cookie-banner__btn {
  flex: 1 1 9rem;
  justify-content: center;
}

.cookie-banner__btn--reject {
  background-color: rgba(15, 23, 42, 0.7);
}

.cookie-banner__btn--reject:hover {
  background-color: rgba(15, 23, 42, 0.95);
}

@media (max-width: 640px) {
  .cookie-banner {
    inset-inline: var(--space-3);
    bottom: var(--space-3);
  }

  .cookie-banner__inner {
    padding: var(--space-3);
  }
}

/* Visible state controlled by JS */
.cookie-banner--visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.cookie-banner--hidden {
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
}
