/* ==========================================
   CATÁLOGO & TRAYECTOS FORMATIVOS
   ========================================== */
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
}

/* Estado Vacío (Empty State) */
.empty-state-card {
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: var(--radius-card);
  padding: 3.5rem 2rem;
  text-align: center;
  max-width: 550px;
  margin: 2rem auto;
  box-shadow: var(--shadow-card);
}

.empty-state-icon {
  width: 64px;
  height: 64px;
  background: rgba(37, 99, 235, 0.15);
  color: var(--accent-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem auto;
  font-size: 1.75rem;
  border: 1px solid rgba(234, 179, 8, 0.2);
}

.empty-state-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.empty-state-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Grilla de Tarjetas de Cursos */
.trayectos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
  margin-top: 1.5rem;
}

.course-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.course-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-gold);
  box-shadow: 0 12px 28px rgba(234, 179, 8, 0.15), var(--shadow-card);
}

.course-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.course-icon {
  background: rgba(234, 179, 8, 0.1);
  color: var(--accent-gold);
  padding: 0.75rem;
  border-radius: 12px;
  border: 1px solid rgba(234, 179, 8, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.course-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
}

.course-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
