AV 8596 then JA 5180 at Bogotá
Cali → Bogota → Santa Marta
Timetable, Bogota time
16:30AV 8596 from Cali at the gate
11:10JA 5180 to Santa Marta leaves the gate
18 h 40 apart on the timetable, overnight
JA 5180 leaves 18 h 40 after AV 8596 arrives on the timetable: more than half a day, so not a connection we count.