.main-footer {
  background: linear-gradient(to top, #050505, #0b0b0d);
  padding: 80px 24px 40px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: #fff;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 50px;
}

/* Columna Marca */
.footer-brand .footer-logo {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.footer-brand .footer-logo span {
  color: #986dff;
}

.footer-tagline {
  color: #986dff;
  font-size: 1.6rem;
  font-weight: 500;
  margin-bottom: 10px;
}

.footer-motto {
  color: #888;
  font-size: 1.4rem;
  max-width: 300px;
  line-height: 1.6;
}

/* Columna Social */
.footer-social {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.social-title {
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #555;
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-item {
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-item img {
  width: 24px;
  filter: brightness(0) invert(1); /* Hace que los iconos sean blancos */
  opacity: 0.7;
  transition: 0.3s;
}

.social-item:hover {
  background: rgba(152, 109, 255, 0.1);
  border-color: #986dff;
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(152, 109, 255, 0.2);
}

.social-item:hover img {
  opacity: 1;
  transform: scale(1.1);
}

/* Divisor y Parte Inferior */
.footer-divider {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  margin-bottom: 40px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #555;
  font-size: 1.4rem;
}

.footer-bottom span {
  color: #986dff;
  font-weight: 600;
}

.footer-legal a {
  color: #555;
  text-decoration: none;
  transition: 0.3s;
}

.footer-legal a:hover {
  color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  .footer-social {
    align-items: center;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 20px;
  }
}
/*===============================
  Scroll To Top
  ===============================*/
.scrollToTop {
  display: none !important;
  height: 55px;
  width: 55px;
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #0f0f0f;
  border-radius: 50%;
  overflow: hidden;
  cursor: pointer;
  z-index: 999;
  transition: 0.5s ease all;
}
@media only screen and (max-width: 575px) {
  .scrollToTop {
    height: 40px;
    width: 40px;
  }
}

.scrollToTop.active-progress {
  display: block !important;
}

.scrollToTop:hover {
  transform: translateY(-15%);
}

.scrollToTop .arrowUp {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 24px;
}

.scrollToTop .arrowUp i {
  font-size: 19px;
}

.scrollToTop .water {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  transform: translateY(100%);
  background-color: #986dff;
  transition: all 0.3s;
}
.scrollToTop .water svg use {
  margin-bottom: -1px;
  position: relative;
  bottom: -1px;
  fill: var(--color-primary) !important;
}

.scrollToTop .water_wave {
  width: 200%;
  position: absolute;
  bottom: 100%;
}

.scrollToTop .water_wave_back {
  right: 0;
  fill: var(--color-heading);
  animation: wave-back 1.4s infinite linear;
}

.scrollToTop .water_wave_front {
  left: 0;
  fill: 986dff;
  margin-bottom: -1px;
  animation: wave-front 0.7s infinite linear;
}

@keyframes wave-front {
  100% {
    transform: translateX(-50%);
  }
}
@keyframes wave-back {
  100% {
    transform: translateX(50%);
  }
}
