JA 5177 then G3 6628 at Bogotá
Santa Marta → Bogota → Cancún
Timetable, Bogota time
18:35JA 5177 from Santa Marta at the gate
07:40G3 6628 to Cancún leaves the gate
13 h 05 apart on the timetable, overnight
G3 6628 leaves 13 h 05 after JA 5177 arrives on the timetable: more than half a day, so not a connection we count.