/* ─── Sticky footer bar ─── */
#newsletter-sticky {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  pointer-events: none;
}

.sticky-bar {
  background: #1a3a2a;
  border-top: 2px solid #40916c;
  padding: 0.75rem 1.5rem;
  transform: translateY(120%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
  pointer-events: auto;
}

.sticky-bar.sticky-visible {
  transform: translateY(0);
}

.sticky-bar.sticky-dismissed {
  transform: translateY(120%);
  transition: transform 0.3s ease-in;
}

.sticky-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
}

.sticky-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
}

.sticky-cta {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: #40916c;
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
}

.sticky-cta:hover {
  background: #52b788;
  text-decoration: none;
}

.sticky-dismiss {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  font-size: 1rem;
  padding: 0.25rem;
  line-height: 1;
  margin-left: 0.5rem;
  transition: color 0.2s;
}

.sticky-dismiss:hover {
  color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 520px) {
  .sticky-inner {
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
  }
  .sticky-text {
    font-size: 0.85rem;
  }
}