/* ── SLIDE HOME ── */
.slide-home {
  padding: 16px !important;
  background: linear-gradient(135deg, #f7f8f8 0%, #f5f5f5 100%);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.home-container {
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 8px;
}

.home-title {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--grey-upv-dark);
  margin: 0;
  letter-spacing: -0.5px;
}

.home-subtitle {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  color: var(--grey-dark);
  margin: 0;
  max-width: 100%;
}

/* ── GRID DE PROCESOS TIPO TABLA HORIZONTAL ── */
.processes-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  flex: 1;
  overflow-y: auto;
}

/* ── FILA DE PROCESO ── */
.process-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border-radius: 6px;
  padding: 8px 12px;
  box-shadow: var(--shadow-sm);
  border-left: 5px solid var(--card-color);
  transition: box-shadow 0.2s ease;
}

.process-row:hover {
  box-shadow: var(--shadow-lg);
}

/* ── NOMBRE DEL MACRO PROCESO ── */
.process-row-label {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  color: var(--card-color);
  min-width: 180px;
  flex-shrink: 0;
  white-space: nowrap;
}

/* ── ITEMS CONTAINER ── */
.process-items-container {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  flex: 1;
}

/* ── ITEM/PILL ── */
.process-item-pill {
  background: var(--card-light);
  color: var(--card-color);
  border: 1px solid var(--card-color);
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.process-item-pill:hover {
  background: var(--card-color);
  color: var(--white);
  transform: scale(1.05);
}




/* ── INFO FOOTER ── */
.home-info {
  background: var(--white);
  border-radius: 8px;
  padding: 12px;
  border-left: 4px solid var(--grey-upv);
  box-shadow: var(--shadow-sm);
  margin: 0;
  flex-shrink: 0;
  display: none;
}

.home-info-title {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  color: var(--grey-upv-dark);
  margin: 0 0 6px 0;
}

.home-info-text {
  font-size: 12px;
  color: var(--grey-dark);
  line-height: 1.4;
  margin: 0;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .process-card-title {
    font-size: 12px;
  }
  
  .home-title {
    font-size: 20px;
  }
  
  .home-subtitle {
    font-size: 12px;
  }
}

@media (max-width: 768px) {
  .slide-home {
    padding: 32px 20px !important;
  }
  
  .processes-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
  }
  
  .home-title {
    font-size: 24px;
  }
  
  .process-card-title {
    font-size: 16px;
  }
  
  .process-card-item {
    font-size: 12px;
  }
}

/* ── ANIMACIONES ── */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.process-card {
  animation: slideInUp 0.5s ease-out forwards;
}

.process-card:nth-child(1) { animation-delay: 0.05s; }
.process-card:nth-child(2) { animation-delay: 0.1s; }
.process-card:nth-child(3) { animation-delay: 0.15s; }
.process-card:nth-child(4) { animation-delay: 0.2s; }
.process-card:nth-child(5) { animation-delay: 0.25s; }
.process-card:nth-child(6) { animation-delay: 0.3s; }
.process-card:nth-child(7) { animation-delay: 0.35s; }
.process-card:nth-child(8) { animation-delay: 0.4s; }
.process-card:nth-child(9) { animation-delay: 0.45s; }
.process-card:nth-child(10) { animation-delay: 0.5s; }
