LA 4901 then JA 5178 at Bogotá
Lima → Bogota → Santa Marta
Timetable, Bogota time
12:00LA 4901 from Lima at the gate
05:15JA 5178 to Santa Marta leaves the gate
17 h 15 apart on the timetable, overnight
JA 5178 leaves 17 h 15 after LA 4901 arrives on the timetable: more than half a day, so not a connection we count.