/* Estilos para el Footer Mejorado */

.footer {
  background: linear-gradient(135deg, #1f2937, #111827);
  color: white;
  padding: 3rem 0 0;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2rem;
  margin-bottom: 2rem;
  align-items: start;
}

.footer-section h4 {
  color: white;
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-align: left;
}

/* Logo y descripción */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-logo img {
  width: 40px;
  height: 40px;
}

.footer-logo span {
  font-size: 1.25rem;
  font-weight: 700;
  color: #f97316;
}

.footer-description {
  color: #d1d5db;
  font-size: 0.875rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

/* Redes sociales */
.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: white;
  text-decoration: none;
  transition: all 0.2s ease;
}

.footer-social a:hover {
  background: #f97316;
  transform: translateY(-2px);
}

/* Enlaces del footer */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #d1d5db;
  text-decoration: none;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s ease;
  text-align: left;
}

.footer-links a:hover {
  color: #f97316;
}

.footer-links i {
  width: 16px;
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* Información de contacto */
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  text-align: left;
}

.contact-item i {
  color: #f97316;
  font-size: 1rem;
  margin-top: 0.125rem;
  width: 16px;
  flex-shrink: 0;
}

.contact-item div {
  display: flex;
  flex-direction: column;
  text-align: left;
  flex: 1;
}

.contact-item span:first-child {
  color: #9ca3af;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
  text-align: left;
}

.contact-item a,
.contact-item span:last-child {
  color: #d1d5db;
  font-size: 0.875rem;
  text-decoration: none;
  text-align: left;
  word-break: break-word;
}

.contact-item a:hover {
  color: #f97316;
}

/* Footer bottom */
.footer-bottom {
  border-top: 1px solid #374151;
  padding: 1.5rem 0;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom-left p {
  color: #9ca3af;
  font-size: 0.875rem;
  margin: 0 0 0.5rem 0;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.footer-legal a {
  color: #9ca3af;
  text-decoration: none;
  font-size: 0.75rem;
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: #f97316;
}

.footer-legal span {
  color: #6b7280;
  font-size: 0.75rem;
}

/* Certificaciones */
.footer-certifications {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.footer-certifications span {
  color: #9ca3af;
  font-size: 0.75rem;
}

.cert-badges {
  display: flex;
  gap: 0.5rem;
}

.cert-badge {
  background: rgba(249, 115, 22, 0.2);
  color: #f97316;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.625rem;
  font-weight: 600;
  border: 1px solid rgba(249, 115, 22, 0.3);
}

/* Estadísticas del footer */
.footer-stats {
  background: rgba(0, 0, 0, 0.2);
  padding: 2rem 0;
  margin-top: 2rem;
}

.footer-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: #f97316;
  line-height: 1;
}

.stat-label {
  color: #d1d5db;
  font-size: 0.875rem;
  font-weight: 500;
}

/* Responsive */
@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  
  .footer-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 2rem 0 0;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-certifications {
    justify-content: center;
  }
  
  .footer-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .stat-number {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .footer-social {
    justify-content: center;
  }
  
  .footer-legal {
    justify-content: center;
  }
  
  .cert-badges {
    justify-content: center;
  }
}
