/*--------------------------------------------------------------
# Global Footer
# Portado de plantilla/assets/css/main.css (sin newsletter, app-buttons ni enlaces legales)
# El wrapper <footer> activa .dark-background (ver footer.php)
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  position: relative;
}

.footer .footer-main {
  padding: 70px 0 40px;
}

.footer .footer-main .footer-widget {
  margin-bottom: 30px;
}

.footer .footer-main .footer-widget .logo {
  display: inline-block;
  margin-bottom: 20px;
}

.footer .footer-main .footer-widget .logo span {
  color: var(--heading-color);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.5px;
  font-family: var(--heading-font);
}

.footer .footer-main .footer-widget p {
  margin-bottom: 20px;
  line-height: 1.7;
}

.footer .footer-main .footer-widget .footer-heading {
  color: var(--heading-color);
  font-family: var(--heading-font);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 25px;
  line-height: 1.2;
  position: relative;
}

.footer .footer-main .footer-widget .footer-heading-sm {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 15px;
}

.footer .footer-main .footer-contact .contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  justify-content: flex-start;
}

.footer .footer-main .footer-contact .contact-item i {
  color: var(--accent-color);
  font-size: 18px;
  margin-right: 12px;
  margin-top: 3px;
}

.footer .footer-main .footer-contact .contact-item span {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  line-height: 1.5;
}

.footer .footer-main .footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .footer-main .footer-links li {
  margin-bottom: 12px;
}

.footer .footer-main .footer-links a {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  transition: all 0.3s ease;
  position: relative;
  padding-left: 0;
  display: inline-block;
}

.footer .footer-main .footer-links a:hover {
  color: var(--accent-color);
  padding-left: 5px;
}

.footer .footer-main .footer-links a:before {
  content: "";
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -2px;
  left: 0;
  background-color: var(--accent-color);
  transition: all 0.3s ease;
}

.footer .footer-main .footer-links a:hover:before {
  width: 100%;
}

.footer .footer-main .social-icons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer .footer-main .social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: color-mix(in srgb, var(--default-color), transparent 90%);
  color: var(--default-color);
  font-size: 16px;
  transition: all 0.3s ease;
}

.footer .footer-main .social-icons a:hover {
  background-color: var(--accent-color);
  transform: rotate(360deg);
  color: var(--contrast-color);
}

.footer .footer-bottom {
  background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
  padding: 25px 0;
}

.footer .footer-bottom .payment-methods {
  display: flex;
  align-items: center;
}

.footer .footer-bottom .payment-methods span {
  margin-right: 15px;
  font-weight: 500;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.footer .footer-bottom .payment-methods .payment-icons {
  display: flex;
  gap: 12px;
}

.footer .footer-bottom .payment-methods .payment-icons i {
  font-size: 22px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  transition: color 0.3s ease;
}

.footer .footer-bottom .payment-methods .payment-icons i:hover {
  color: var(--accent-color);
}

.footer .footer-bottom .copyright {
  padding-top: 10px;
}

.footer .footer-bottom .copyright p {
  margin-bottom: 0;
}

.footer .footer-bottom .copyright p strong {
  color: color-mix(in srgb, var(--default-color), transparent 10%);
}

@media (max-width: 991.98px) {
  .footer .footer-main {
    padding: 60px 0 30px;
  }
}

@media (max-width: 767.98px) {
  .footer .footer-bottom .payment-methods {
    justify-content: center;
    margin-bottom: 15px;
  }

  .footer .footer-bottom .copyright {
    text-align: center;
  }

  .footer .social-icons {
    justify-content: center;
  }
}
