JA 5181 then AV 8373 at Bogotá
Santa Marta → Bogota → Quito
Timetable, Bogota time
16:20JA 5181 from Santa Marta at the gate
16:00AV 8373 to Quito leaves the gate
23 h 40 apart on the timetable, overnight
AV 8373 leaves 23 h 40 after JA 5181 arrives on the timetable: more than half a day, so not a connection we count.