/* ===== FOOTER LIMPIO Y PROFESIONAL ===== */
.footer {
  background: var(--gray-900);
  color: white;
  padding: 60px 0 0;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary),
    var(--secondary),
    var(--primary)
  );
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 50px;
  margin-bottom: 50px;
}

/* Columna principal */
.footer-col-main {
  max-width: 350px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-logo img {
  width: 45px;
  height: 45px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.footer-logo span {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-light), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-description {
  color: var(--gray-400);
  margin-bottom: 25px;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Estadísticas en footer */
.footer-stats {
  display: flex;
  gap: 25px;
  margin-bottom: 25px;
  background: rgba(255, 255, 255, 0.05);
  padding: 15px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-stat {
  text-align: center;
  flex: 1;
}

.footer-stat .stat-value {
  display: block;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-light);
  line-height: 1.2;
}

.footer-stat .stat-label {
  font-size: 0.8rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Títulos de columna */
.footer-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 25px;
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
  position: relative;
}

.title-decoration {
  width: 4px;
  height: 20px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 4px;
}

/* Enlaces del footer */
.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--gray-400);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  display: inline-block;
  position: relative;
  padding-left: 0;
}

.footer-links a:hover {
  color: white;
  transform: translateX(5px);
}

.footer-links a::before {
  content: "›";
  position: absolute;
  left: -15px;
  opacity: 0;
  color: var(--primary);
  transition: all 0.3s ease;
}

.footer-links a:hover::before {
  opacity: 1;
  left: -10px;
}

/* Items de contacto */
.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gray-400);
  margin-bottom: 15px;
}

.contact-item i {
  color: var(--primary);
  width: 20px;
  font-size: 1rem;
}

.contact-item a {
  color: var(--gray-400);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: white;
}

/* Footer bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 25px 0;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--gray-500);
  font-size: 0.9rem;
}

.footer-version {
  color: var(--gray-600);
  font-family: monospace;
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 10px;
  border-radius: 30px;
  font-size: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== RESPONSIVE FOOTER ===== */
@media (max-width: 1024px) {
  .footer-grid {
    gap: 30px;
  }
}

@media (max-width: 968px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-col-main {
    grid-column: span 2;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 40px 0 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-col-main {
    grid-column: span 1;
  }

  .footer-stats {
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }

  .footer-bottom-content {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .footer-stats {
    flex-direction: column;
    gap: 15px;
    max-width: 200px;
  }
}
