/* =========================================================
   TUI Cheap Flights
   Tokens follow tui-brand-guidelines.md
   ========================================================= */
:root {
  --navy: #1A115A;
  --blue: #0B49F4;
  --blue-2: #376AF6;
  --sky: #71CBF4;
  --tint: #E3F5FD;
  --pale: #EAF7FE;
  --red: #D40E14;
  --white: #FFFFFF;
  --g50: #F5F5F5;
  --g200: #DBDBDB;
  --g300: #BABABA;
  --g500: #737373;
  --text: #4D4D4D;

  --fh: "Ambit", AmbitFallbackFont, Arial, sans-serif;
  --fb: "TUITypeLight", TUITypeLightFallbackFont, Arial, sans-serif;

  --r-sm: 3px;
  --r-md: 8px;
  --r-lg: 16px;
  --r-xl: 24px;
  --pill: 1600px;

  --sh-card: 0 0 4px rgba(0, 0, 0, .2);
  --sh-pop: 0 0 8px rgba(0, 0, 0, .25);
  --sh-modal: 0 19px 38px rgba(0, 0, 0, .3), 0 15px 12px rgba(0, 0, 0, .22);

  --max: 1080px;
  --gutter: 16px;
  --header-h: 107px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { font: 16px/1.5 var(--fb); color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.lock { overflow: hidden; }
h1, h2, h3, h4 { font-family: var(--fh); color: var(--navy); }
a { color: var(--blue); }
img { display: block; max-width: 100%; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--blue-2); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.c { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.sec { margin-top: 56px; }
.sh { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.sh h2, .h2 { font-size: 28px; line-height: 36px; font-weight: 700; }
.sh p { margin-top: 4px; }
.ico { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.q { width: 15px; height: 15px; border: 1.3px solid var(--blue); color: var(--blue); border-radius: 50%; font: 700 10px/12px var(--fh); text-align: center; display: inline-block; flex: none; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--blue); color: #fff; padding: 8px 20px; border-radius: var(--pill); font: 600 16px var(--fh); text-decoration: none; }
.skip:focus { top: 10px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: var(--pill); font: 600 16px var(--fh); text-decoration: none; white-space: nowrap; min-height: 44px; padding: 0 28px; transition: filter .15s; }
.btn:hover { filter: brightness(1.1); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue2 { background: var(--blue-2); color: #fff; min-height: 40px; padding: 0 22px; font-size: 15px; }
.btn-out { background: #fff; color: var(--blue); box-shadow: inset 0 0 0 2px var(--blue); min-height: 41px; padding: 0 20px; font-size: 15px; }
.btn-sm { min-height: 36px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header { background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .12); border-radius: 0 0 16px 16px; position: relative; z-index: 30; }
.hd-top { display: flex; justify-content: space-between; align-items: center; padding-top: 14px; gap: 12px; }
.logo { display: inline-flex; }
.logo img { height: 40px; width: auto; }
.svc { display: flex; gap: 18px; align-items: center; color: var(--navy); font-size: 15px; }
.svc a { color: var(--navy); text-decoration: none; display: flex; align-items: center; gap: 5px; }
.svc a:hover { text-decoration: underline; }
.nav { display: flex; gap: 20px; height: 48px; align-items: center; }
.nav a { font: 600 16px var(--fh); color: var(--navy); text-decoration: none; display: flex; align-items: center; gap: 3px; height: 100%; border-bottom: 3px solid transparent; }
.nav a:hover, .nav a[aria-current] { border-color: var(--navy); }
.nav .chev { width: 14px; height: 14px; stroke-width: 2; }
.burger { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; color: var(--navy); margin-left: -10px; }

/* Mobile drawer */
.drawer-bg { position: fixed; inset: 0; background: rgba(26, 17, 90, .45); opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 60; }
.drawer { position: fixed; top: 0; left: 0; bottom: 0; width: min(88vw, 360px); background: #fff; z-index: 61; transform: translateX(-100%); transition: transform .25s ease; display: flex; flex-direction: column; box-shadow: var(--sh-modal); }
.drawer.open { transform: none; }
.drawer.open + .drawer-bg, .drawer-bg.show { opacity: 1; pointer-events: auto; }
.drawer-hd { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--g200); }
.drawer-hd img { height: 34px; }
.drawer-close { width: 44px; height: 44px; display: grid; place-items: center; color: var(--navy); }
.drawer nav { overflow-y: auto; padding: 8px 0; flex: 1; }
.drawer details { border-bottom: 1px solid var(--g200); }
.drawer summary, .drawer .dl { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 0 20px; min-height: 52px; font: 600 17px var(--fh); color: var(--navy); cursor: pointer; text-decoration: none; }
.drawer summary::-webkit-details-marker { display: none; }
.drawer summary .ico { transition: transform .2s; }
.drawer details[open] summary .ico { transform: rotate(180deg); }
.drawer details ul { padding: 0 20px 12px; display: grid; }
.drawer details li a { display: flex; align-items: center; min-height: 44px; color: var(--blue); text-decoration: none; font-size: 16px; }
.drawer .dl { border-bottom: 1px solid var(--g200); }
.drawer-ft { padding: 16px 20px 24px; border-top: 1px solid var(--g200); display: grid; gap: 4px; }
.drawer-ft a { display: flex; align-items: center; gap: 10px; min-height: 44px; color: var(--navy); text-decoration: none; }

/* ---------- Search panel ---------- */
.sp { background: var(--tint); border-radius: var(--r-sm); box-shadow: 0 1px 3px rgba(115, 115, 115, .5); margin-top: 24px; padding: 0 10px 14px; position: relative; }
.sp-tabs { display: flex; gap: 4px; border-bottom: 1px solid rgba(26, 17, 90, .08); overflow-x: auto; scrollbar-width: none; }
.sp-tabs::-webkit-scrollbar { display: none; }
.sp-tab { display: flex; align-items: center; gap: 8px; padding: 12px 18px 10px; min-height: 48px; color: var(--navy); font: 400 14px var(--fh); border-bottom: 2px solid transparent; white-space: nowrap; }
.sp-tab[aria-selected="true"] { font-weight: 700; border-color: var(--navy); }
.sp-tab .ico { width: 22px; height: 22px; }
.sp-opts { display: flex; gap: 8px 22px; padding: 12px 0 4px; flex-wrap: wrap; align-items: center; }
.radio, .chk { display: flex; align-items: center; gap: 8px; color: var(--navy); font-size: 15px; min-height: 36px; cursor: pointer; }
.radio input, .chk input { position: absolute; opacity: 0; pointer-events: none; }
.radio i { width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--g500); background: #fff; display: grid; place-items: center; }
.radio input:checked + i { border-color: var(--blue); }
.radio input:checked + i::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--blue); }
.radio input:focus-visible + i, .chk input:focus-visible + i { outline: 2px solid var(--blue-2); outline-offset: 2px; }
.chk { margin-left: auto; }
.chk i { width: 20px; height: 20px; border: 1px solid var(--g500); border-radius: 3px; background: #fff; display: grid; place-items: center; font-style: normal; font-size: 13px; color: #fff; }
.chk input:checked + i { background: var(--blue); border-color: var(--blue); }
.chk input:checked + i::after { content: "✓"; }

.sp-f { display: grid; grid-template-columns: 1fr 1fr .8fr .8fr 1fr auto; gap: 6px; align-items: end; }
.field { position: relative; min-width: 0; }
.field > label, .field > .lbl { display: block; font: 600 14px var(--fh); color: var(--navy); margin: 4px 0 5px; }
.ctl { position: relative; display: flex; align-items: center; height: 40px; background: #fff; border: 1px solid var(--g300); border-radius: var(--r-sm); }
.ctl:focus-within { border-color: var(--blue-2); box-shadow: 0 0 0 1px var(--blue-2); }
.ctl select, .ctl input, .ctl button.val { appearance: none; -webkit-appearance: none; border: 0; outline: 0; background: none; width: 100%; height: 100%; padding: 0 34px 0 8px; font-size: 14px; color: var(--navy); text-align: left; min-width: 0; }
.ctl input::-webkit-calendar-picker-indicator { opacity: 0; position: absolute; inset: 0; width: 100%; height: 100%; cursor: pointer; }
.ctl input[type="date"]:invalid, .ctl .ph { color: var(--g500); }
.ctl .ico { position: absolute; right: 8px; color: var(--navy); pointer-events: none; }
.ctl.dis { background: var(--g50); }
.ctl .ph-date { position: absolute; left: 9px; font-size: 14px; color: var(--g500); pointer-events: none; display: none; }
.ctl.empty .ph-date { display: block; }
.ctl.empty input[type="date"] { color: transparent; }
.ctl.empty input[type="date"]:focus { color: var(--navy); }
.ctl.empty input[type="date"]:focus ~ .ph-date { display: none; }
.ctl.dis input { color: var(--g300); }
.ctl.err { border-color: var(--red); box-shadow: 0 0 0 1px var(--red); }
.err-msg { display: none; font-size: 12px; color: var(--red); margin-top: 4px; }
.field.has-err .err-msg { display: block; }
.go .btn { min-height: 40px; padding: 0 42px; }

/* Passenger popover */
.pop { position: absolute; top: calc(100% + 6px); right: 0; width: 300px; background: #fff; border-radius: var(--r-md); box-shadow: var(--sh-pop); padding: 16px; z-index: 20; display: none; }
.pop.open { display: block; }
.pax-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--g200); }
.pax-row:last-of-type { border: 0; }
.pax-row b { display: block; font: 600 15px var(--fh); color: var(--navy); }
.pax-row small { font-size: 13px; }
.step { display: flex; align-items: center; gap: 12px; }
.step button { width: 36px; height: 36px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--blue); color: var(--blue); font: 700 18px/1 var(--fh); display: grid; place-items: center; }
.step button:disabled { box-shadow: inset 0 0 0 2px var(--g300); color: var(--g300); cursor: default; }
.step output { min-width: 18px; text-align: center; font: 700 16px var(--fh); color: var(--navy); }
.pop .btn { margin-top: 12px; }

/* ---------- Heading row ---------- */
.crumb { margin-top: 18px; font-size: 14px; }
.crumb ol { display: flex; gap: 8px; flex-wrap: wrap; list-style: none; }
.crumb li + li::before { content: "›"; color: var(--navy); margin-right: 8px; }
.hrow { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 18px; }
h1 { font-size: 28px; line-height: 36px; font-weight: 700; }
.intro { margin-top: 6px; max-width: 600px; }
.hprice { display: flex; align-items: center; gap: 18px; flex: none; }
.from { text-align: right; color: var(--navy); }
.from .p { display: flex; align-items: baseline; justify-content: flex-end; gap: 4px; }
.from .p small, .from .p em { font: 700 14px var(--fh); font-style: normal; }
.from .p b { font: 700 36px/1 var(--fh); letter-spacing: -.5px; }
.legal { font-size: 12px; color: var(--navy); white-space: nowrap; display: flex; align-items: center; gap: 4px; justify-content: flex-end; }

/* ---------- Trust strip ---------- */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 22px; }
.tr { display: flex; gap: 12px; align-items: center; background: var(--g50); border-radius: var(--r-lg); padding: 14px 16px; }
.tr img { width: 44px; height: 44px; flex: none; }
.tr b { display: block; font: 700 15px/1.25 var(--fh); color: var(--navy); }
.tr span { font-size: 13px; line-height: 1.3; display: block; }

/* ---------- Pills / tabs ---------- */
.pills { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 10px; scrollbar-width: none; scroll-snap-type: x proximity; }
.pills::-webkit-scrollbar { display: none; }
.pill { border: 1px solid var(--g300); background: #fff; color: var(--navy); border-radius: var(--pill); padding: 0 16px; min-height: 40px; font: 600 14px var(--fh); white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; scroll-snap-align: start; }
.pill:hover { border-color: var(--navy); }
.pill[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.sel-wrap { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.sel { height: 44px; border: 1px solid var(--g300); border-radius: var(--r-sm); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B49F4' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center / 16px; padding: 0 34px 0 12px; font: 600 15px var(--fh); color: var(--navy); min-width: 150px; appearance: none; -webkit-appearance: none; }

/* ---------- Airport fare finder ---------- */
.ff { display: grid; grid-template-columns: 1fr 340px; gap: 24px; margin-top: 10px; align-items: start; }
.ftable { border: 1px solid var(--g200); border-radius: var(--r-md); overflow: hidden; }
.ftable .hd, .ftable .rw { display: grid; grid-template-columns: 56px 1.4fr 1fr .9fr auto; gap: 12px; align-items: center; padding: 10px 16px; }
.ftable .hd { background: var(--tint); font: 600 13px var(--fh); color: var(--navy); padding-top: 12px; padding-bottom: 12px; }
.ftable .rw { border-top: 1px solid var(--g200); transition: background .12s; }
.ftable .rw:hover { background: var(--pale); }
.ftable .th { width: 56px; height: 40px; border-radius: 4px; object-fit: cover; background: var(--g50); }
.ftable .dn b { display: block; font: 700 15px var(--fh); color: var(--navy); }
.ftable .dn span { font-size: 13px; }
.ftable .mo { font-size: 14px; }
.ftable .fp { font: 700 22px/1 var(--fh); color: var(--navy); }
.ftable .fp small { font-size: 13px; }
.ftable .fp s { display: block; font: 600 12px var(--fh); color: var(--g500); margin-bottom: 2px; }
.ff-note { font-size: 12px; margin-top: 8px; }
.ff-side { display: grid; gap: 12px; }
.card-promo { border-radius: var(--r-md); overflow: hidden; position: relative; min-height: 220px; display: flex; flex-direction: column; justify-content: flex-end; padding: 18px; color: #fff; text-decoration: none; background: var(--navy); }
.card-promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card-promo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26, 17, 90, 0) 30%, rgba(26, 17, 90, .85)); }
.card-promo > *:not(img) { position: relative; z-index: 1; }
.card-promo h3 { color: #fff; font-size: 20px; }
.card-promo p { font-size: 14px; }
.card-promo .btn { align-self: flex-start; margin-top: 10px; }
.dotted { border: 1px dotted var(--navy); border-radius: var(--r-md); padding: 14px 18px; text-align: center; }
.dotted h3 { font-size: 18px; line-height: 26px; }
.dotted p { font-size: 14px; margin-top: 2px; }

/* ---------- Carousel + cards ---------- */
.car { position: relative; }
.track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 4); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 8px; overscroll-behavior-x: contain; }
.track::-webkit-scrollbar { display: none; }
.card { scroll-snap-align: start; background: #fff; border: 1px solid var(--g200); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--sh-card); display: flex; flex-direction: column; }
.card .im { position: relative; aspect-ratio: 16 / 9; background: var(--g50); }
.card .im img { width: 100%; height: 100%; object-fit: cover; }
.badge { position: absolute; left: 8px; top: 8px; background: var(--navy); color: #fff; font: 600 12px var(--fh); padding: 3px 8px; border-radius: var(--r-sm); display: flex; gap: 6px; }
.badge .sep { border-left: 1px solid #fff; padding-left: 6px; }
.badge.lt { background: #fff; color: var(--navy); }
.badge.bl { background: var(--blue); }
.badge.rd { background: var(--red); }
.cb { padding: 12px 14px 14px; display: flex; flex-direction: column; flex: 1; }
.ct { display: flex; justify-content: space-between; gap: 10px; }
.ct h3 { font-size: 16px; line-height: 21px; }
.ct p { font-size: 13px; margin-top: 2px; }
.heart { width: 36px; height: 36px; border-radius: 50%; box-shadow: 0 0 4px rgba(0, 0, 0, .25); display: grid; place-items: center; color: var(--red); flex: none; background: #fff; }
.heart[aria-pressed="true"] path { fill: var(--red); }
.route { display: flex; align-items: center; gap: 8px; margin: 12px 0 10px; font: 700 14px var(--fh); color: var(--navy); }
.route .ln { flex: 1; border-top: 1px dashed var(--g300); position: relative; }
.route .ln .ico { position: absolute; left: 50%; top: -10px; transform: translateX(-50%); background: #fff; color: var(--navy); }
.route small { display: block; font: 400 12px var(--fb); color: var(--text); }
.meta { border-top: 1px solid var(--g200); padding-top: 8px; display: flex; flex-wrap: wrap; row-gap: 4px; font-size: 13px; }
.meta span { padding: 0 7px; border-left: 1px solid var(--g300); }
.meta span:first-child { padding-left: 0; border: 0; }
.pr { margin-top: auto; padding-top: 10px; display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; }
.pr s { font: 700 12px var(--fh); color: var(--navy); }
.pr .big { font: 700 26px/1.1 var(--fh); color: var(--navy); }
.pr .big small { font-size: 14px; }
.pr .lg { font-size: 12px; display: flex; align-items: center; gap: 4px; }
.seats { font: 600 12px var(--fh); color: var(--red); margin-top: 8px; }
.arr { position: absolute; top: 38%; width: 44px; height: 44px; border-radius: 50%; background: #fff; box-shadow: 0 0 4px rgba(0, 0, 0, .3); display: grid; place-items: center; color: var(--blue); z-index: 2; }
.arr:disabled { opacity: 0; pointer-events: none; }
.arr.l { left: -22px; }
.arr.r { right: -22px; }
.dots { display: flex; gap: 0; justify-content: center; margin-top: 4px; }
.dots button { width: 24px; height: 24px; border-radius: 50%; background: none; border: 0; padding: 0; position: relative; }
.dots button::after { content: ""; position: absolute; left: 8px; top: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--g300); }
.dots button[aria-current="true"]::after { background: var(--navy); }

/* ---------- Cheapest month chart ---------- */
.cm { background: var(--pale); border-radius: var(--r-xl); padding: 28px; }
.cm-top { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.cm-top .ico { color: var(--navy); }
.bars-wrap { position: relative; }
.bars { display: grid; grid-template-columns: repeat(12, 1fr); gap: 8px; align-items: end; height: 210px; }
.bar { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; height: 100%; }
.bar .v { font: 700 13px var(--fh); color: var(--navy); }
.bar .col { width: 100%; max-width: 56px; border-radius: 8px 8px 0 0; background: var(--sky); transition: height .3s, background .15s; }
.bar.low .col { background: var(--blue); }
.bar[aria-pressed="true"] .col { background: var(--navy); }
.bar:hover .col { background: var(--blue-2); }
.bar .m { font: 600 13px var(--fh); color: var(--navy); }
.bar .y { font-size: 11px; line-height: 1; color: #4b4868; }
.cm-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 20px; background: #fff; border-radius: var(--r-lg); padding: 16px 20px; box-shadow: 0 0 4px rgba(0, 0, 0, .15); }
.cm-foot .lbl { font: 700 17px var(--fh); color: var(--navy); }
.cm-foot small { font-size: 13px; }
.cm-foot .big { font: 700 30px var(--fh); color: var(--navy); }
.cm-foot .act { display: flex; align-items: center; gap: 16px; }
.legend { display: flex; gap: 16px; font-size: 13px; margin-top: 12px; flex-wrap: wrap; }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.swipe-hint { display: none; font-size: 12px; color: var(--g500); margin-top: 6px; }

/* ---------- Budget ---------- */
.budget { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.bt { background: var(--g50); border-radius: var(--r-xl); padding: 22px 18px; text-decoration: none; color: var(--navy); display: flex; flex-direction: column; gap: 4px; transition: background .15s; }
.bt:hover { background: var(--tint); }
.bt small { font: 600 14px var(--fh); }
.bt b { font: 800 34px/1.1 var(--fh); }
.bt span { font-size: 14px; color: var(--text); }
.bt .go { margin-top: 10px; color: var(--blue); font: 600 14px var(--fh); }

/* ---------- Regions ---------- */
.regions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.rg { text-decoration: none; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--g200); box-shadow: 0 0 4px rgba(0, 0, 0, .15); background: #fff; display: flex; flex-direction: column; transition: transform .15s; }
.rg:hover { transform: translateY(-2px); }
.rg .im { aspect-ratio: 4 / 3; position: relative; background: var(--g50); }
.rg .im img { width: 100%; height: 100%; object-fit: cover; }
.rg .fl { position: absolute; left: 8px; bottom: 8px; background: #fff; color: var(--navy); border-radius: var(--pill); font: 600 12px var(--fh); padding: 3px 10px; display: flex; align-items: center; gap: 4px; }
.rg .fl .ico { width: 14px; height: 14px; }
.rg .bd { padding: 12px 14px; display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; }
.rg h3 { font-size: 17px; }
.rg .bd span { font-size: 13px; color: var(--text); }
.rg .p { text-align: right; color: var(--navy); font: 700 13px var(--fh); white-space: nowrap; }
.rg .p b { font-size: 22px; }

/* ---------- USPs ---------- */
.usps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.us { background: var(--g50); border-radius: var(--r-xl); padding: 24px; display: flex; gap: 16px; align-items: flex-start; }
.us img { width: 64px; height: 64px; flex: none; }
.us h3 { font-size: 18px; margin-bottom: 4px; }
.us p { font-size: 15px; }
.safe { display: flex; align-items: center; gap: 18px; border: 1px solid var(--g200); border-radius: var(--r-md); padding: 16px 20px; margin-top: 16px; flex-wrap: wrap; }
.safe .logos { display: flex; gap: 12px; }
.safe img { height: 36px; width: auto; }
.safe p { flex: 1; min-width: 240px; font-size: 14px; }
.safe p b { color: var(--navy); font-family: var(--fh); }

/* ---------- Tips ---------- */
.tips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: t; }
.tip { border-top: 3px solid var(--navy); padding-top: 14px; }
.tip::before { counter-increment: t; content: counter(t); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--tint); color: var(--navy); font: 700 15px var(--fh); margin-bottom: 10px; }
.tip h3 { font-size: 17px; margin-bottom: 4px; }
.tip p { font-size: 15px; }

/* ---------- FAQ ---------- */
.faq details { border: 1px solid var(--g300); border-radius: var(--r-md); margin-bottom: 8px; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 64px 18px 16px; font: 600 17px var(--fh); color: var(--navy); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 24px; width: 9px; height: 9px; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 28px; }
.faq details p { padding: 0 16px 18px; max-width: 860px; }

/* ---------- SEO links ---------- */
.all { border-top: 1px solid var(--g200); padding-top: 28px; }
.ltabs { display: flex; gap: 24px; border-bottom: 1px solid var(--g200); margin-bottom: 18px; overflow-x: auto; scrollbar-width: none; }
.ltabs::-webkit-scrollbar { display: none; }
.ltab { font: 600 16px var(--fh); color: var(--navy); min-height: 44px; border-bottom: 3px solid transparent; white-space: nowrap; }
.ltab[aria-selected="true"] { border-color: var(--navy); }
.cols { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px 20px; }
.cols a { font-size: 14px; display: flex; align-items: center; min-height: 32px; }

/* ---------- Help + footer ---------- */
.help { background: var(--pale); padding: 40px 0; margin-top: 56px; }
.help h2 { font-size: 22px; color: var(--text); margin-bottom: 14px; }
.hc { background: #fff; border: 1px solid var(--g200); border-radius: var(--r-md); display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; }
.hc > div { padding: 18px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.hc > div + div { border-left: 1px solid var(--g200); }
.hc h3 { font: 400 16px var(--fb); color: var(--text); }
.site-footer { border-top: 1px solid var(--g200); padding: 22px 0 30px; font-size: 14px; }
.ft1 { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.ft1 span { display: flex; gap: 8px; align-items: center; }
.ft1 .ico { color: var(--navy); }
.ft1 img { width: 22px; }
.fcols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 26px; border-top: 1px solid var(--g200); padding-top: 22px; }
.fcols h3 { font-size: 16px; margin-bottom: 10px; }
.fcols ul { display: grid; gap: 4px; }
.fcols a { text-decoration: none; display: flex; align-items: center; min-height: 30px; }
.fcols a:hover { text-decoration: underline; }
.legal-row { display: flex; justify-content: space-between; align-items: center; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--g200); font-size: 12px; color: var(--g500); gap: 14px; flex-wrap: wrap; }
.legal-row .lg { display: flex; gap: 12px; align-items: center; }
.legal-row img { height: 30px; width: auto; }
.feedback { position: fixed; right: 0; top: 45%; background: var(--blue-2); color: #fff; font: 600 11px var(--fh); writing-mode: vertical-rl; transform: rotate(180deg); padding: 12px 8px; border-radius: 0 6px 6px 0; text-decoration: none; z-index: 20; }

/* Sticky mobile search bar */
.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; visibility: hidden; background: #fff; box-shadow: 0 -2px 10px rgba(0, 0, 0, .12); padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); display: none; align-items: center; gap: 12px; transform: translateY(110%); transition: transform .25s; }
.mbar.show { transform: none; visibility: visible; }
.mbar .t { flex: 1; min-width: 0; }
.mbar b { display: block; font: 700 15px var(--fh); color: var(--navy); }
.mbar small { font-size: 12px; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, calc(100% + 60px)); visibility: hidden; background: var(--navy); color: #fff; padding: 12px 20px; border-radius: var(--pill); font: 600 14px var(--fh); z-index: 70; transition: transform .25s, visibility .25s; max-width: calc(100% - 32px); text-align: center; }
.toast.show { transform: translate(-50%, 0); visibility: visible; }
@media (max-width: 1000px) { .toast { bottom: calc(84px + env(safe-area-inset-bottom)); } }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .arr.l { left: 4px; }
  .arr.r { right: 4px; }
}

@media (max-width: 1000px) {
  .svc .t, .nav { display: none; }
  .svc { gap: 4px; }
  .svc a { min-height: 44px; padding: 0 8px; }
  .burger { display: inline-flex; }
  .hd-top { padding: 10px 0; }
  .hd-left { display: flex; align-items: center; gap: 6px; }
  .sp-f { grid-template-columns: 1fr 1fr; gap: 8px 8px; }
  .sp-f .pax { grid-column: 1 / -1; }
  .sp-f .go { grid-column: 1 / -1; }
  .go .btn { width: 100%; min-height: 48px; }
  .ctl { height: 48px; }
  .ctl select, .ctl input, .ctl button.val { font-size: 16px; }
  .pop { left: 0; right: auto; width: 100%; }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .ff { grid-template-columns: 1fr; }
  .ff-side { grid-template-columns: 1fr 1fr; }
  .track { grid-auto-columns: calc((100% - 32px) / 3); }
  .budget, .regions, .tips { grid-template-columns: repeat(2, 1fr); }
  .usps { grid-template-columns: 1fr; }
  .cols { grid-template-columns: repeat(3, 1fr); }
  .mbar { display: flex; }
  .site-footer { padding-bottom: 96px; }
  .feedback { display: none; }
}

@media (max-width: 760px) {
  .track { grid-auto-columns: calc((100% - 16px) / 2); }
  .arr { display: none; }
}

@media (max-width: 640px) {
  .sec { margin-top: 44px; }
  .sh h2, .h2, h1 { font-size: 24px; line-height: 31px; }
  .logo img { height: 34px; }
  .sp { margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); border-radius: 0; padding: 0 var(--gutter) 16px; }
  .sp-tab { padding: 12px 12px 10px; }
  .sp-f .from-f, .sp-f .to-f { grid-column: 1 / -1; }
  .chk { margin-left: 0; width: 100%; }
  .hrow { flex-direction: column; align-items: flex-start; gap: 14px; }
  .hprice { width: 100%; justify-content: space-between; }
  .from, .from .p, .legal { text-align: left; justify-content: flex-start; }
  .legal { white-space: normal; }
  .hprice .btn { padding: 0 20px; }
  .trust { grid-template-columns: 1fr 1fr; gap: 8px; }
  .tr { flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px; }
  .tr img { width: 36px; height: 36px; }
  .sh .sel-wrap { width: 100%; }
  .sh .sel { flex: 1; min-width: 0; }
  .pills { margin: 0 calc(var(--gutter) * -1); padding-left: var(--gutter); padding-right: var(--gutter); scroll-padding: 0 var(--gutter); }
  .ftable .hd { display: none; }
  .ftable .rw { grid-template-columns: 56px 1fr auto; row-gap: 2px; padding: 12px; }
  .ftable .dn { grid-column: 2; grid-row: 1; }
  .ftable .mo { grid-column: 2; grid-row: 2; font-size: 13px; }
  .ftable .fp { grid-column: 3; grid-row: 1; text-align: right; }
  .ftable .rw .btn { grid-column: 3; grid-row: 2; }
  .ftable .th { grid-row: 1 / span 2; }
  .ff-side { grid-template-columns: 1fr; }
  .car { margin: 0 calc(var(--gutter) * -1); }
  .track { grid-auto-columns: 84%; padding-left: var(--gutter); padding-right: var(--gutter); scroll-padding: 0 var(--gutter); }
  .cm { padding: 18px; border-radius: var(--r-lg); margin: 0 calc(var(--gutter) * -1); border-radius: 0; }
  .cm-top .sel-wrap { width: 100%; }
  .cm-top .sel { flex: 1; min-width: 0; }
  .bars { grid-template-columns: repeat(12, 48px); overflow-x: auto; height: 200px; scroll-snap-type: x proximity; scrollbar-width: none; }
  .bars::-webkit-scrollbar { display: none; }
  .bar { scroll-snap-align: start; }
  .swipe-hint { display: block; }
  .cm-foot { flex-direction: column; align-items: stretch; }
  .cm-foot .act { justify-content: space-between; }
  .budget { grid-template-columns: 1fr 1fr; gap: 10px; }
  .bt { padding: 18px 16px; border-radius: var(--r-lg); }
  .bt b { font-size: 28px; }
  .regions { grid-template-columns: 1fr 1fr; gap: 10px; }
  .rg .bd { flex-direction: column; align-items: flex-start; }
  .rg .p { text-align: left; }
  .rg .p br { display: none; }
  .tips { grid-template-columns: 1fr; }
  .us { padding: 18px; border-radius: var(--r-lg); }
  .us img { width: 48px; height: 48px; }
  .safe .btn { width: 100%; }
  .faq summary { font-size: 16px; }
  .cols { grid-template-columns: 1fr 1fr; }
  .hc { grid-template-columns: 1fr; }
  .hc > div + div { border-left: 0; border-top: 1px solid var(--g200); }
  .fcols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 380px) {
  .regions { grid-template-columns: 1fr; }
  .trust { grid-template-columns: 1fr; }
  .tr { flex-direction: row; align-items: center; }
}

/* ---------- From the Flight Offers API: weekdays, new routes, budget list, price calendar ---------- */
.ftable .mo small { display: block; font-size: 12px; color: var(--g500); margin-top: 2px; }
.new-tag { display: inline-block; vertical-align: 2px; margin-left: 8px; padding: 2px 8px; border-radius: var(--pill); background: var(--tint); color: var(--navy); font: 700 11px var(--fh); }
.bt[aria-expanded="true"] { background: var(--navy); color: #fff; }
.bt[aria-expanded="true"] span, .bt[aria-expanded="true"] .go { color: #fff; }
.bt[aria-disabled="true"] { cursor: default; }
.bt[aria-disabled="true"]:hover { background: var(--g50); }
.bt-list { margin-top: 16px; }
.bt-more { display: block; width: 100%; border: 0; border-top: 1px solid var(--g200); background: #fff; color: var(--blue); font: 600 15px var(--fh); min-height: 48px; cursor: pointer; }
.bt-more:hover { background: var(--pale); }
.cm-cal { margin-top: 16px; background: #fff; border-radius: var(--r-lg); padding: 12px; box-shadow: 0 0 4px rgba(0, 0, 0, .15); }
.cm-cal[hidden] { display: none; }
.cd-h, .cd-g { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cd-h span { text-align: center; font: 600 12px var(--fh); color: var(--g500); padding-bottom: 4px; }
.cd { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 52px; border-radius: var(--r-md); text-decoration: none; color: var(--navy); }
.cd b { font: 600 12px var(--fh); color: var(--g500); }
.cd span { font: 700 14px var(--fh); }
a.cd { background: var(--pale); }
a.cd:hover { box-shadow: inset 0 0 0 2px var(--blue); }
a.cd.cd-low { background: var(--blue); color: #fff; }
a.cd.cd-low b { color: #fff; }
.cd-none span { color: var(--g300); }
@media (max-width: 640px) {
  .cm-cal { padding: 8px; }
  .cd { min-height: 46px; }
  .cd span { font-size: 12px; }
}
