H2 5166 then JA 7782 at Lima
Arequipa → Lima → Cartagena
Timetable, Lima time
23:10H2 5166 from Arequipa at the gate
15:20JA 7782 to Cartagena leaves the gate
16 h 10 apart on the timetable, overnight
JA 7782 leaves 16 h 10 after H2 5166 arrives on the timetable: more than half a day, so not a connection we count.