/* ==========================================
   FOOTER - YACHAY
   ========================================== */

.footer {
  background: linear-gradient(135deg, var(--bg-dark) 0%, #1e293b 100%);
  color: var(--text-white);
  padding-top: var(--spacing-3xl);
  margin-top: var(--spacing-3xl);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

/* Footer Content */
.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--spacing-2xl);
  padding-bottom: var(--spacing-2xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-column {
  display: flex;
  flex-direction: column;
}

/* Footer Brand */
.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.footer-logo {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-600), var(--secondary-600));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-2xl);
  font-weight: 800;
}

.footer-brand-name {
  font-family: var(--font-secondary);
  font-size: var(--text-2xl);
  font-weight: 800;
}

.footer-description {
  color: var(--text-tertiary);
  line-height: 1.8;
  margin-bottom: var(--spacing-lg);
}

.footer-social {
  display: flex;
  gap: var(--spacing-md);
}

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  font-size: var(--text-lg);
  transition: var(--transition);
}

.social-link:hover {
  background: linear-gradient(135deg, var(--primary-600), var(--secondary-600));
  transform: translateY(-3px);
}

/* Footer Title */
.footer-title {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--spacing-lg);
  color: var(--text-white);
}

/* Footer Links */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: var(--spacing-md);
}

.footer-link {
  color: var(--text-tertiary);
  font-size: var(--text-base);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.footer-link:hover {
  color: var(--primary-400);
  padding-left: var(--spacing-sm);
}

.footer-link i {
  font-size: var(--text-sm);
}

/* Footer Contact */
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
  color: var(--text-tertiary);
}

.footer-contact i {
  color: var(--primary-400);
  font-size: var(--text-lg);
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-contact a {
  color: var(--text-tertiary);
  transition: var(--transition);
}

.footer-contact a:hover {
  color: var(--primary-400);
}

/* Footer Bottom */
.footer-bottom {
  padding: var(--spacing-xl) 0;
  text-align: center;
  color: var(--text-tertiary);
}

.footer-bottom p {
  margin: var(--spacing-sm) 0;
  font-size: var(--text-sm);
}

.footer-bottom strong {
  color: var(--text-white);
  font-weight: 700;
}

.footer-bottom i.fa-heart {
  color: var(--accent-red);
  animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
}

.footer-credits {
  color: var(--text-tertiary);
  font-size: var(--text-xs);
  margin-top: var(--spacing-md);
}

/* Newsletter (opcional) */
.footer-newsletter {
  margin-top: var(--spacing-lg);
}

.newsletter-form {
  display: flex;
  gap: var(--spacing-sm);
}

.newsletter-input {
  flex: 1;
  padding: var(--spacing-md);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  color: var(--text-white);
  font-size: var(--text-sm);
}

.newsletter-input::placeholder {
  color: var(--text-tertiary);
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--primary-400);
  background: rgba(255, 255, 255, 0.15);
}

.newsletter-btn {
  padding: var(--spacing-md) var(--spacing-xl);
  background: linear-gradient(135deg, var(--primary-600), var(--secondary-600));
  border: none;
  border-radius: var(--radius-md);
  color: var(--text-white);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ==========================================
   RESPONSIVE FOOTER
   ========================================== */

/* Tablets */
@media (max-width: 1060px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
  }

  .footer-column:first-child {
    grid-column: 1 / -1;
  }
}

/* Móvil */
@media (max-width: 768px) {
  .footer {
    padding-top: var(--spacing-2xl);
    margin-top: var(--spacing-2xl);
  }

  .footer-container {
    padding: 0 var(--spacing-md);
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    text-align: center;
  }

  .footer-brand {
    justify-content: center;
  }

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

  .footer-links {
    align-items: center;
  }

  .footer-copyright {
    flex-direction: column;
    gap: var(--spacing-sm);
  }

  .footer-links-bottom {
    justify-content: center;
    flex-wrap: wrap;
  }
}
