.ecz-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.35);
  padding-block: var(--space-8);
  margin-top: var(--space-8);
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.95) 0, #020617 55%, #000 100%);
}

.ecz-footer__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.ecz-footer__top {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.ecz-footer__brand {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.ecz-footer__logo-mark {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: radial-gradient(circle at 20% 0, #dbeafe 0, #3b82f6 40%, #020617 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glow-primary);
  color: #0b1120;
  font-size: 1.3rem;
}

.ecz-footer__name {
  font-family: var(--font-family-heading);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.ecz-footer__desc {
  font-size: 0.85rem;
}

.ecz-footer__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-6);
}

.ecz-footer__heading {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: var(--space-3);
}

.ecz-footer__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.ecz-footer__list a {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.ecz-footer__list a:hover,
.ecz-footer__list a:focus-visible {
  color: var(--gray-50);
}

.ecz-footer__list a::after {
  bottom: -0.3rem;
}

.ecz-footer__list--contact a {
  word-break: break-all;
}

.ecz-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  border-top: 1px solid rgba(31, 41, 55, 0.9);
  padding-top: var(--space-4);
}

.ecz-footer__copy {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.ecz-footer__legal {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.ecz-footer__legal a {
  font-size: 0.8rem;
}

/* Cookie banner */
.ecz-cookie {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 50;
  padding: var(--space-3);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(30, 64, 175, 0.9));
  border-top: 1px solid rgba(148, 163, 184, 0.6);
  box-shadow: 0 -18px 35px rgba(0, 0, 0, 0.75);
  transform: translateY(100%);
  opacity: 0;
  transition: transform var(--transition-slow), opacity var(--transition-base);
}

.ecz-cookie--visible {
  transform: translateY(0);
  opacity: 1;
}

.ecz-cookie--hidden {
  transform: translateY(100%);
  opacity: 0;
}

.ecz-cookie__content {
  max-width: 1120px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.ecz-cookie__text {
  max-width: 640px;
}

.ecz-cookie__title {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.ecz-cookie__desc {
  font-size: 0.85rem;
}

.ecz-cookie__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.ecz-cookie__btn {
  font-size: 0.75rem;
  padding-inline: 1.1rem;
  padding-block: 0.55rem;
}

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

  .ecz-footer__brand {
    align-items: flex-start;
  }

  .ecz-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .ecz-footer__legal {
    flex-wrap: wrap;
  }

  .ecz-cookie__content {
    flex-direction: column;
    align-items: stretch;
  }

  .ecz-cookie__actions {
    justify-content: flex-start;
  }
}
