.regresar {
  position: fixed;
  z-index: 40;
  top: 50%;
  right: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  background: #f60003;
  color: #fff;
  font-family: Outfit, "Segoe UI", sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
  transform: translateY(-50%);
  animation: regresar-color 4.8s linear infinite;
}

.regresar:hover { transform: translateY(-50%) scale(1.06); }

@keyframes regresar-color {
  0% { background: #f60003; color: #fff; }
  16% { background: #ffd500; color: #1a1400; }
  33% { background: #2ec4c6; color: #102022; }
  50% { background: #6d28d9; color: #fff; }
  66% { background: #ff4fa3; color: #3a1020; }
  83% { background: #c6ef3a; color: #1a1400; }
  100% { background: #f60003; color: #fff; }
}

@media (prefers-reduced-motion: reduce) {
  .regresar { animation: none; }
}

.pie-demo,
footer.pie,
.pie__legal {
  text-align: center;
  justify-content: center;
}
