Madrid (MAD), ES to Querétaro (QRO), MX: 3 sets of rules apply.
In Mexico, if the airline causes a delay of more than 4 hours or cancels your flight, you choose between a refund plus at least 25% compensation, the next available flight with meals and a hotel if needed, or a later flight plus at least 25% compensation. Shorter delays get discounts or food under each airline's registered policy. Compensation must be paid within 10 calendar days of your claim, and PROFECO handles complaints.
Applies because: International flights to Mexico by permit holders, though how far these rules reach inbound international flights is not clearly settled (see confidenceNotes). Baggage on international flights follows the treaties (Montreal Convention).
In force, changes pending If your flight leaves from an EU, Icelandic, Norwegian, Liechtenstein or Swiss airport, or lands there on an EU-licensed airline, the airline must look after you during long waits. It must also offer a refund or a new flight if you are cancelled or bumped, and usually pay EUR 250 to EUR 600 if you arrive 3 or more hours late or are cancelled at short notice. It does not have to pay that compensation if it proves the disruption came from extraordinary circumstances it could not have avoided, but it must still give you food, drink and a hotel if needed.
Applies because: Any airline, departing an airport in these countries. This includes the EU outermost regions (Guadeloupe, French Guiana, Martinique, Mayotte, Reunion, Saint-Martin, the Azores, Madeira and the Canary Islands, as listed on Your Europe) but not the Faroe Islands.
Baseline for international trips The Montreal Convention is the worldwide treaty that makes airlines liable for injury or death, lost, damaged or delayed bags, and losses caused by flight delays on most international trips. It does not give fixed cash payouts for delays. You get back the costs you can prove, up to set limits, unless the airline shows it did everything reasonable to avoid the problem. Strict time limits apply, so report baggage problems in writing quickly.
Applies because: International journeys between two countries that are parties to the Convention (most countries are). Some countries are only parties to the older Warsaw Convention.