/* ============================================
   SKELETON LOADER STYLES
   ============================================ */

.skeleton-loader {
  display: flex;
  gap: 1.5rem;
  padding: 2rem 0;
  animation: pulse 1.5s ease-in-out infinite;
}

.skeleton-card {
  flex: 1;
  min-width: 280px;
  max-width: 350px;
  height: 280px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

/* Skeleton específico para servicios */
.skeleton-service {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.skeleton-service-header {
  width: 60%;
  height: 24px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 4px;
}

.skeleton-service-text {
  width: 100%;
  height: 16px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}

.skeleton-service-text:last-child {
  width: 80%;
}

/* Responsive */
@media (max-width: 768px) {
  .skeleton-loader {
    flex-direction: column;
    align-items: center;
  }
  
  .skeleton-card {
    max-width: 100%;
  }
}

/* Ocultar skeleton cuando el contenido está cargado */
.content-loaded .skeleton-loader {
  display: none;
}
