/* Desde México (/jamaica/mexico/). Sits on top of groups.css, stay.css and jamaica.css: the same tokens, the same
   sticker cards. New here: the boarding pass, the nights chips, the flight calendar and the season cards.
   Season tints mark dates only; gold stays for prices and flight days. */
.mx { --s-santa: #EEE4F6; --s-verano: #D8F0EF; --s-patrio: #FBE4D8; --warn: #B42318; }

/* the boarding pass */
.bp { display: flex; flex-direction: column; background: var(--white); color: var(--ink); border-radius: 20px; overflow: hidden; box-shadow: 0 18px 50px rgba(0,0,0,.35); max-width: 440px; width: 100%; }
.bp-main { display: flex; flex-direction: column; gap: 14px; padding: 18px 20px; }
.bp-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.bp-tag { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: var(--ink); color: var(--gold); padding: 4px 10px; border-radius: 999px; }
.bp-days { font-size: 13px; font-weight: 800; white-space: nowrap; }
.bp-route { display: grid; grid-template-columns: auto minmax(40px, 1fr) auto; align-items: center; gap: 10px; }
.bp-end b { display: block; font-size: 46px; font-weight: 900; font-stretch: 118%; letter-spacing: -.03em; line-height: .92; }
.bp-end span { display: block; margin-top: 4px; font-size: 12px; font-weight: 700; color: var(--muted); }
.bp-end-r { text-align: right; }
.bp-line { position: relative; display: flex; align-items: center; justify-content: center; color: var(--gold-txt); }
.bp-line::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 2px dashed var(--line-2); }
.bp-line svg { position: relative; padding: 0 6px; box-sizing: content-box; background: var(--white); transform: rotate(45deg); }
.bp-rows { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding-top: 12px; border-top: 1px solid var(--line); }
.bp-rows div { min-width: 0; }
.bp-rows dt { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.bp-rows dd { margin: 3px 0 0; font-size: 14px; font-weight: 800; line-height: 1.25; }
.bp-stub { display: flex; flex-direction: column; gap: 2px; padding: 14px 20px 16px; background: var(--gold); color: var(--ink); border-top: 2px dashed rgba(14,15,14,.35); }
.bp-stub small { font-size: 12px; font-weight: 700; }
.bp-stub b { font-size: 34px; font-weight: 900; font-stretch: 112%; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.bp-go { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 14px; font-weight: 800; text-decoration: underline; }
.bp-go:hover { color: var(--ink); }
.bp-trust { margin-top: 8px; padding-top: 8px; border-top: 1px solid rgba(14,15,14,.18); font-size: 12px; font-weight: 700; line-height: 1.4; color: rgba(14,15,14,.8); }
.bp-compact { box-shadow: none; border: 1.5px solid var(--line); }
.bp-compact .bp-end b { font-size: 38px; }
.plan-copy .bp { margin-top: 10px; }

/* hero with the pass beside the words */
.mx-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
.mx-hero-copy { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
@media (max-width: 999px) { .mx-hero::after { background: linear-gradient(180deg, rgba(0,0,0,.42) 0%, rgba(0,0,0,.42) 30%, rgba(0,0,0,.74) 68%, rgba(0,0,0,.88) 100%); } }
@media (min-width: 1000px) {
  .mx-hero-grid { grid-template-columns: minmax(0, 1fr) 400px; align-items: end; gap: 40px; }
  .mx-hero .jhero-h { font-size: 68px; }
}

/* nights chips */
.mx-nights { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0 0 18px; }
.mx-nights button { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 1px; min-height: 54px; padding: 8px 14px; border-radius: 16px; border: 2px solid rgba(14,15,14,.2); background: rgba(255,255,255,.6); color: var(--ink); text-align: left; }
.mx-nights button b { font-size: 16px; font-weight: 900; font-stretch: 106%; letter-spacing: -.01em; }
.mx-nights button small { font-size: 12px; font-weight: 700; color: var(--body); line-height: 1.3; }
.mx-nights button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.mx-nights button[aria-pressed="true"] small { color: var(--gold); }
.mx-nights button:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
@media (min-width: 700px) { .mx-nights { display: flex; flex-wrap: wrap; } .mx-nights button { min-width: 168px; } }

/* package cards: the sticker card, priced in pesos, US$ underneath */
.dc-mx .dc-price b { font-size: 21px; font-variant-numeric: tabular-nums; }
.dc-usd { font-size: 12.5px; line-height: 1.4; color: rgba(255,255,255,.82); }
.mx-fine { margin-top: 14px; font-size: 13.5px; line-height: 1.55; color: var(--body); max-width: 860px; }
.jsec-gold .mx-fine { color: rgba(14,15,14,.78); }

/* what's included and how you hold it */
.mx-inc { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.mx-ticks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.mx-ticks li { display: flex; align-items: flex-start; gap: 10px; padding: 16px; border-radius: 16px; background: var(--alt); }
.mx-ticks svg { flex: none; margin-top: 2px; color: var(--green); }
.mx-ticks b { display: block; margin-bottom: 2px; font-size: 16px; font-weight: 800; letter-spacing: -.01em; }
.mx-ticks span { font-size: 14.5px; line-height: 1.5; color: var(--body); }
.mx-pay { padding: 20px; border-radius: 18px; background: var(--ink); color: var(--white); }
.mx-pay h3 { margin-bottom: 8px; font-size: 22px; font-weight: 900; font-stretch: 110%; letter-spacing: -.03em; color: var(--gold); }
.mx-pay ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.mx-pay li { display: flex; flex-direction: column; gap: 2px; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.14); }
.mx-pay li:first-child { border-top: 0; padding-top: 4px; }
.mx-pay b { font-size: 15px; font-weight: 800; }
.mx-pay span { font-size: 14px; line-height: 1.5; color: rgba(255,255,255,.78); }
@media (min-width: 600px) { .mx-ticks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 950px) { .mx-inc { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px; align-items: start; } }

/* when to go: the flight calendar */
.mx-legend { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 0 0 14px; font-size: 13px; font-weight: 700; color: var(--body); }
.mx-legend span { display: inline-flex; align-items: center; gap: 6px; }
.mx-legend i { display: inline-block; width: 16px; height: 16px; border-radius: 5px; }
.mx-legend .lg-fly { border-radius: 50%; background: var(--gold); box-shadow: inset 0 0 0 2px var(--ink); }
.lg-semana-santa { background: var(--s-santa); }
.lg-verano { background: var(--s-verano); }
.lg-septiembre { background: var(--s-patrio); }
.mx-cal { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--pad) * -1) 22px; padding: 2px var(--pad) 10px; scrollbar-width: none; }
.mx-cal::-webkit-scrollbar { display: none; }
.mc { flex: 0 0 248px; scroll-snap-align: start; padding: 14px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--white); }
.mc h3 { margin-bottom: 8px; font-size: 17px; font-weight: 900; font-stretch: 106%; letter-spacing: -.01em; }
.mc h3 small { font-size: 13px; font-weight: 700; color: var(--muted); }
.mc-g { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; }
.mc-w { padding-bottom: 2px; text-align: center; font-size: 11px; font-weight: 800; color: var(--muted); }
.mc-d { display: grid; place-items: center; aspect-ratio: 1; border-radius: 7px; background: var(--tint, transparent); font-size: 12.5px; font-weight: 700; color: var(--body); font-variant-numeric: tabular-nums; }
.mc-s-semana-santa { --tint: var(--s-santa); }
.mc-s-verano { --tint: var(--s-verano); }
.mc-s-septiembre { --tint: var(--s-patrio); }
.mc-fly { background: radial-gradient(circle closest-side, var(--gold) 0 88%, transparent 92%), var(--tint, transparent); color: var(--ink); font-weight: 900; }
.mc-x { background: none; }
@media (min-width: 1000px) {
  .mx-cal { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; margin: 0 0 26px; padding: 0; }
  .mc { flex: none; }
}
@media (min-width: 1300px) { .mx-cal { grid-template-columns: repeat(7, minmax(0, 1fr)); } .mc { padding: 12px; } .mc-d { font-size: 11.5px; } }

/* the season cards under the calendar */
.mx-seasons { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.mx-season { display: flex; flex-direction: column; gap: 8px; padding: 18px; border-radius: 18px; border: 1.5px solid var(--line); background: var(--white); }
.mx-s-dates { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: var(--alt); font-size: 12px; font-weight: 800; }
.mx-season-semana-santa .mx-s-dates { background: var(--s-santa); }
.mx-season-verano .mx-s-dates { background: var(--s-verano); }
.mx-season-septiembre .mx-s-dates { background: var(--s-patrio); }
.mx-season h3 { font-size: 20px; font-weight: 900; font-stretch: 108%; letter-spacing: -.02em; }
.mx-season > p { font-size: 14.5px; line-height: 1.5; color: var(--body); }
.mx-season > .mx-s-price { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); color: var(--ink); }
.mx-s-price b { font-size: 20px; font-weight: 900; font-stretch: 108%; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.mx-s-price small { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.mx-s-ask b { font-size: 15px; }
.mx-s-go { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 800; text-decoration: underline; }
@media (min-width: 700px) { .mx-seasons { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .mx-seasons { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* the form: flight days hint */
.mx-dayhint { margin: -4px 0 4px; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.mx-dayhint.warn { color: var(--warn); }
