/**
 * @file footer.css
 * Site footer — dark, branded.
 */

/* ── Footer Shell ─────────────────────────────────────────────────────────── */
.mp-footer {
  background: var(--mp-bg-footer);
  color: var(--mp-text-inverse);
  padding-top: var(--mp-space-12);
  margin-top: var(--mp-space-16);
  border-top: 3px solid var(--mp-primary);
}

/* ── Footer Widgets ───────────────────────────────────────────────────────── */
.mp-footer__widgets {
  padding-bottom: var(--mp-space-10);
}

.mp-footer .block__title {
  font-size: var(--mp-text-sm);
  font-weight: 700;
  letter-spacing: var(--mp-tracking-wide);
  text-transform: uppercase;
  color: var(--mp-accent);
  margin-bottom: var(--mp-space-4);
  padding-bottom: var(--mp-space-2);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mp-footer .block__content {
  font-size: var(--mp-text-sm);
  color: rgba(245, 237, 224, 0.7);
}

.mp-footer a {
  color: rgba(245, 237, 224, 0.8);
  text-decoration: none;
  transition: color var(--mp-transition-fast);
}

.mp-footer a:hover {
  color: var(--mp-accent);
}

/* Footer nav list */
.mp-footer .item-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mp-footer .item-list li {
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: var(--mp-space-2) 0;
}

/* ── Footer Bottom Bar ────────────────────────────────────────────────────── */
.mp-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-block: var(--mp-space-5);
}

.mp-footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--mp-space-4);
  font-size: var(--mp-text-xs);
  color: rgba(245, 237, 224, 0.5);
}

.mp-footer__bottom a {
  color: rgba(245, 237, 224, 0.6);
}

.mp-footer__bottom a:hover {
  color: var(--mp-accent);
}

/* Back to top button */
.mp-back-to-top {
  position: fixed;
  bottom: var(--mp-space-6);
  right: var(--mp-space-6);
  width: 48px;
  height: 48px;
  background: var(--mp-primary);
  color: var(--mp-white);
  border: none;
  border-radius: var(--mp-radius-full);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--mp-shadow-lg);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: all var(--mp-transition);
  z-index: var(--mp-z-raised);
  font-size: 1.2em;
}

.mp-back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.mp-back-to-top:hover {
  background: var(--mp-primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--mp-shadow-xl);
}

@media (max-width: 575.98px) {
  .mp-back-to-top {
    bottom: var(--mp-space-4);
    right: var(--mp-space-4);
    width: 42px;
    height: 42px;
  }
}
