/* footer.css */
.site-footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
  margin-top: 3rem;
}

.site-footer__newsletter {
  text-align: center;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
}

.site-footer__newsletter h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.site-footer__newsletter p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.site-footer__form {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.site-footer__form input {
  background: var(--bg-main);
  border: 1px solid var(--border);
  color: var(--text-primary);
  padding: 0.7rem 1rem;
  border-radius: 4px;
  width: 280px;
}

.site-footer__form button {
  background: var(--primary);
  color: #fff;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.7rem 1.5rem;
  border-radius: 4px;
  font-weight: 700;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding: 2rem 0;
}

.site-footer__grid h4 {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  color: var(--accent);
}

.site-footer__grid a {
  display: block;
  color: var(--text-secondary);
  font-size: 0.85rem;
  padding: 0.2rem 0;
}

.site-footer__grid a:hover { color: var(--text-primary); }

.site-footer__bottom {
  text-align: center;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.8rem;
}

.scroll-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: var(--accent);
  color: #000;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.scroll-top--visible {
  opacity: 1;
  pointer-events: auto;
}

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