/* ==========================================================================
   Skyline: main stylesheet
   Change the colours in :root and the whole site follows.
   ========================================================================== */

:root {
  --ground: #F7F4EF;
  --surface: #FFFFFF;
  --ink: #151B2E;
  --muted: #5A6070;
  --line: #E4DED3;
  --field: #8C8678;
  --brand: #193B9E;
  --brand-deep: #102A75;
  --brand-tint: #E4EAFB;
  --accent: #FF8A4C;
  --accent-tint: #FFE3D2;
  --sand: #EFE8DC;
  --ok: #0B7A6E;
  --ok-tint: #DDF3EF;
  --warn: #8A5A00;
  --danger: #B42318;
  --on-brand: #C7D3F5;
  --footer: #0C1F5C;
  --container: 1200px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 16px/1.5 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.is-locked { overflow: hidden; }
h1, h2, h3 { font-family: 'Sora', 'DM Sans', sans-serif; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select { font-family: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 32px; }
.muted { color: var(--muted); }
.fine { font-size: 13px; color: var(--muted); text-align: center; }
.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;
}
.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 300;
  background: var(--surface); color: var(--ink); padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { left: 8px; }

.icon {
  flex: none; fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: 10px; border: 1px solid transparent;
  font: 700 16px 'DM Sans', sans-serif; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn--brand { background: var(--brand); color: #fff; }
.btn--brand:hover { background: var(--brand-deep); }
.btn--accent { background: var(--accent); color: var(--ink); }
.btn--accent:hover { background: #FF7A33; }
.btn--outline { border-color: var(--brand); color: var(--brand); background: transparent; }
.btn--outline:hover { background: var(--brand-tint); }
.btn--outline-light { border: 2px solid #fff; color: #fff; background: transparent; }
.btn--outline-light:hover { background: rgba(255, 255, 255, .12); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 17px; border-radius: 12px; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-weight: 700; color: var(--brand); background: none; border: 0; padding: 0; cursor: pointer; font-size: 15px;
}
.link-arrow:hover { text-decoration: underline; }
.link-underline { font-size: 14px; font-weight: 700; text-decoration: underline; min-height: 36px; display: inline-flex; align-items: center; justify-content: center; }

.badge {
  display: inline-block; padding: 4px 12px; border-radius: 999px;
  background: var(--brand-tint); font-size: 13px; font-weight: 700;
}
.badge--accent { background: var(--accent-tint); }
.badge--ok { background: var(--ok-tint); color: #0B5A52; }

/* ---------- Top bar and header ---------- */
.utility { background: var(--brand-deep); color: var(--on-brand); font-size: 13px; }
.utility__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 10px; padding-bottom: 10px; }

.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.site-header__inner { display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font: 700 22px 'Sora', sans-serif; color: var(--brand); }
.brand__mark { width: 36px; height: 36px; border-radius: 10px; background: var(--brand); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.brand--light { color: #fff; }
.brand__mark--light { background: #fff; color: var(--brand); }
.nav { display: flex; flex-wrap: wrap; gap: 4px 22px; font-weight: 500; }
.nav a { min-height: 44px; display: inline-flex; align-items: center; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--brand); }
.nav a[aria-current="page"] { font-weight: 700; }
.header-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--field);
  background: var(--surface); color: var(--ink); align-items: center; justify-content: center; cursor: pointer;
}

/* ---------- Image banner and search card ---------- */
.banner { position: relative; height: 520px; background: var(--brand); overflow: hidden; color: #fff; }
.banner__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner .container { position: relative; padding-top: 72px; }
.banner__copy { max-width: 560px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px;
  border: 1px solid #6D8BDC; border-radius: 999px; font-size: 14px;
}
.chip::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.banner h1 { font-size: 52px; line-height: 1.08; letter-spacing: -0.02em; font-weight: 600; margin-top: 20px; }
.banner__lead { font-size: 18px; line-height: 1.6; color: var(--brand-tint); max-width: 480px; margin-top: 16px; }

.search { position: relative; z-index: 2; margin-top: -120px; }
.search__card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 8px 24px 24px; }
.tablist { display: flex; flex-wrap: wrap; gap: 4px 28px; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.tab {
  display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 4px;
  background: none; border: 0; border-bottom: 3px solid transparent; margin-bottom: -1px;
  font: 700 16px 'DM Sans', sans-serif; color: var(--muted); cursor: pointer;
}
.tab:hover { color: var(--brand); }
.tab[aria-selected="true"] { color: var(--brand); border-bottom-color: var(--brand); }

.search-form__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--field);
  background: var(--surface); color: var(--ink); font: 500 15px 'DM Sans', sans-serif; cursor: pointer;
}
.pill:hover { border-color: var(--brand); }
.pill[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }

.fields { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.field { flex: 1 1 180px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--wide { flex: 2 1 280px; }
.field--sm { flex: 1 1 140px; }
.field label { font-size: 13px; font-weight: 700; color: var(--muted); }
.input, .select {
  width: 100%; height: 52px; border: 1px solid var(--field); border-radius: 10px;
  padding: 0 14px; font: 16px 'DM Sans', sans-serif; color: var(--ink); background: var(--surface);
}
.input:focus, .select:focus { border-color: var(--brand); }
.input.is-invalid { border-color: var(--danger); }
.swap {
  flex: none; width: 44px; height: 44px; margin-bottom: 4px; border-radius: 50%;
  border: 1px solid var(--field); background: var(--surface); color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.swap:hover { border-color: var(--brand); color: var(--brand); }
.options { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 4px 24px; font-size: 15px; }
.check { display: flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; }
.check input { width: 18px; height: 18px; flex: none; accent-color: var(--brand); }
.check--top { align-items: flex-start; min-height: 0; font-size: 14px; color: var(--muted); line-height: 1.5; }
.check--top input { margin-top: 2px; }

/* ---------- Trust strip ---------- */
.trust { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 56px; }
.trust__inner { display: flex; flex-wrap: wrap; gap: 28px; padding-top: 36px; padding-bottom: 36px; }
.trust__item { flex: 1 1 240px; display: flex; gap: 14px; align-items: flex-start; }
.trust__title { font-weight: 700; }
.trust__text { font-size: 14px; color: var(--muted); }
.bubble { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--brand-tint); color: var(--brand); display: inline-flex; align-items: center; justify-content: center; }
.bubble--sq { width: 48px; height: 48px; border-radius: 12px; }
.bubble--solid { width: 52px; height: 52px; border-radius: 14px; background: var(--brand); color: #fff; }
.bubble--sm { width: 40px; height: 40px; }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section--white { background: var(--surface); border-top: 1px solid var(--line); }
.section--ground { background: var(--ground); }
.section--line { border-top: 1px solid var(--line); }
.section__head { max-width: 680px; margin-bottom: 40px; }
.section__head--row { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.section__title { font-size: 36px; line-height: 1.15; font-weight: 600; }
.section__lead { margin-top: 10px; font-size: 17px; color: var(--muted); max-width: 560px; }

.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(var(--min, 300px), 1fr)); }
.grid--4 { --min: 250px; }
.grid--3 { --min: 320px; gap: 24px; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.card--col { display: flex; flex-direction: column; gap: 12px; }
.card h3 { font-size: 19px; font-weight: 600; }
.card p { font-size: 15px; color: var(--muted); }
.card .link-arrow { margin-top: auto; }
.need:hover { border-color: var(--brand); }
.need h3 { font-size: 20px; }

/* ---------- Tiles (routes and hotel cities) ---------- */
.tile { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.tile:hover { border-color: var(--brand); }
.tile__art { height: 150px; padding: 18px 20px; display: flex; align-items: flex-end; justify-content: space-between; }
.tile__art--sm { height: 140px; }
.tile__code { font: 700 56px/1 'Sora', sans-serif; letter-spacing: 0.02em; }
.tile__city-big { font: 700 32px/1.1 'Sora', sans-serif; }
.tile__tag { font-size: 14px; font-weight: 500; }
.tile__body { padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tile__city { font: 600 20px 'Sora', sans-serif; }
.tile__sub { font-size: 15px; color: var(--muted); }
.tile__price { text-align: right; }
.tile__price small { display: block; font-size: 13px; color: var(--muted); }
.tile__price strong { font-weight: 700; }
.tone-brand { background: var(--brand); color: #fff; }
.tone-deep { background: var(--brand-deep); color: #fff; }
.tone-mid { background: #2D55BE; color: #fff; }
.tone-tint { background: var(--brand-tint); color: var(--ink); }
.tone-peach { background: var(--accent-tint); color: var(--ink); }
.tone-sand { background: var(--sand); color: var(--ink); }

.country-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }

/* ---------- Plan the trip ---------- */
.split { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.split__text { flex: 1 1 460px; }
.split__text .section__lead { max-width: 520px; margin-top: 14px; }
.split__panel { flex: 1 1 440px; background: var(--ground); border: 1px solid var(--line); border-radius: 20px; padding: 28px; }
.features { margin-top: 28px; display: flex; flex-direction: column; gap: 20px; }
.feature { display: flex; gap: 14px; align-items: flex-start; }
.feature strong { display: block; }
.feature span { font-size: 15px; color: var(--muted); }
.btn-row { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.panel-head h3 { font-size: 20px; font-weight: 600; }
.timeline__item { display: flex; gap: 16px; }
.timeline__rail { display: flex; flex-direction: column; align-items: center; }
.timeline__dot { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--brand); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.timeline__dot--end { background: var(--accent); color: var(--ink); }
.timeline__line { flex: 1 1 auto; width: 2px; min-height: 28px; background: #C9C2B4; }
.timeline__body { padding-bottom: 22px; }
.timeline__item:last-child .timeline__body { padding-bottom: 0; }
.timeline__day { font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.timeline__title { font-weight: 700; }
.timeline__text { font-size: 15px; color: var(--muted); }

/* ---------- Stats, quotes ---------- */
.stats { background: var(--brand); color: #fff; }
.stats__inner { display: flex; flex-wrap: wrap; gap: 32px; padding-top: 64px; padding-bottom: 64px; }
.stat { flex: 1 1 220px; }
.stat__num { font: 700 40px/1.1 'Sora', sans-serif; color: #FFB88A; }
.stat__label { margin-top: 6px; font-size: 15px; color: var(--on-brand); }
.quote { margin: 0; background: var(--ground); border: 1px solid var(--line); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 20px; }
.quote blockquote { margin: 0; font-size: 17px; line-height: 1.6; color: var(--muted); }
.quote figcaption { display: flex; align-items: center; gap: 12px; }
.quote__avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--brand-tint); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; }
.quote__name { display: block; font-weight: 700; }
.quote__meta { display: block; font-size: 14px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-wrap: wrap; gap: 48px; }
.faq__intro { flex: 1 1 320px; }
.faq__list { flex: 2 1 560px; border-top: 1px solid var(--field); }
.faq__item { border-bottom: 1px solid var(--field); }
.faq__item h3 { font-size: inherit; }
.faq__q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 0; background: none; border: 0; text-align: left; cursor: pointer;
  font: 600 18px/1.35 'Sora', sans-serif; color: var(--ink);
}


.faq__a { margin: 0 0 22px; font-size: 16px; line-height: 1.6; color: var(--muted); max-width: 620px; }

/* ---------- Call to action ---------- */
.cta { background: var(--brand-deep); color: #fff; }
.cta__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; padding-top: 88px; padding-bottom: 88px; }
.cta__text { flex: 1 1 520px; }
.cta__text h2 { font-size: 44px; line-height: 1.1; letter-spacing: -0.02em; font-weight: 600; }
.cta__text p { margin-top: 14px; font-size: 18px; max-width: 560px; color: var(--on-brand); }
.cta__actions { display: flex; flex-direction: column; gap: 12px; min-width: 260px; }
.cta__note { font-size: 14px; text-align: center; color: var(--on-brand); }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer); color: var(--on-brand); }
.footer__grid { display: flex; flex-wrap: wrap; gap: 40px; padding-top: 72px; padding-bottom: 32px; }
.footer__about { flex: 1.4 1 280px; }
.footer__about p { margin-top: 16px; font-size: 15px; line-height: 1.6; max-width: 320px; }
.footer__about .footer__small { font-size: 14px; }
.footer__col { flex: 1 1 150px; display: flex; flex-direction: column; gap: 4px; font-size: 15px; }
.footer__col h3 { font: 700 16px 'DM Sans', sans-serif; color: #fff; margin-bottom: 10px; letter-spacing: 0; }
.footer__col a { min-height: 32px; display: inline-flex; align-items: center; }
.footer__col a:hover { color: #fff; }
.footer__bottom { border-top: 1px solid #2A4390; }
.footer__bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 24px; padding-bottom: 40px; font-size: 14px; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: flex-start; justify-content: center; padding: 16px; overflow-y: auto; }
.modal__backdrop { position: fixed; inset: 0; background: rgba(21, 27, 46, .62); }
.modal__dialog {
  position: relative; width: 100%; max-width: 520px; margin: 6vh auto 24px;
  background: var(--surface); border-radius: 20px; padding: 32px; box-shadow: 0 24px 60px rgba(21, 27, 46, .35);
}
.modal__dialog:focus { outline: none; }
.modal__dialog h2 { margin-top: 14px; padding-right: 48px; font-size: 28px; line-height: 1.2; font-weight: 600; }
.modal__dialog > div > .muted { margin-top: 10px; }
.modal__close {
  position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: var(--ground); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.modal__close:hover { background: var(--line); }
.form-stack { margin-top: 22px; display: flex; flex-direction: column; gap: 16px; }
.field-error { font-size: 13px; color: var(--danger); }
.form-status { padding: 12px 14px; border-radius: 10px; background: #FEE4E2; color: var(--danger); font-size: 14px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.modal__success { text-align: center; padding: 16px 0 8px; }
.modal__success h2 { padding-right: 0; font-size: 26px; }
.modal__success .btn { margin-top: 24px; }
.modal__tick { width: 64px; height: 64px; border-radius: 50%; background: var(--ok-tint); color: var(--ok); display: inline-flex; align-items: center; justify-content: center; }
.modal__tick .icon { stroke-width: 2.4; }

/* ---------- Flight results page ---------- */
.results-head { background: var(--brand-deep); color: #fff; }
.results-head__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.results-head__route { font: 600 22px 'Sora', sans-serif; }
.results-head__meta { font-size: 15px; color: var(--on-brand); }
.results-head__text { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; }
.agent-banner { background: var(--accent-tint); border: 1px solid #F5B995; border-radius: 14px; padding: 16px 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 28px; }
.agent-banner__text { flex: 1 1 360px; }
.agent-banner__text span { display: block; font-size: 15px; color: #4A2A14; }
.agent-banner .bubble { background: #fff; color: var(--ink); width: 40px; height: 40px; }
.date-strip { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px; }
.date-chip { min-width: 128px; min-height: 56px; padding: 8px 16px; border-radius: 12px; border: 1px solid var(--field); background: var(--surface); text-align: left; }
.date-chip span { display: block; font-size: 14px; font-weight: 500; }
.date-chip strong { display: block; font-size: 16px; }
.date-chip.is-current { border: 2px solid var(--brand-deep); }

.results-layout { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; padding: 24px 0 80px; }
.filters { flex: 0 0 280px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 24px; }
.filters__head { display: flex; align-items: center; justify-content: space-between; }
.filters__head h2 { font-size: 18px; font-weight: 600; }
.filters fieldset { margin: 0; padding: 0; border: 0; display: flex; flex-direction: column; gap: 2px; }
.filters legend { padding: 0; margin-bottom: 8px; font-weight: 700; font-size: 15px; }
.filters .check { min-height: 36px; font-size: 15px; }
.filters input[type="range"] { width: 100%; accent-color: var(--brand); }
.range-labels { display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); }
.results-main { flex: 1 1 640px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.results-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.results-toolbar p { font-size: 15px; color: var(--muted); }
.pill--link { display: inline-flex; align-items: center; }

.flight { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px; display: flex; flex-wrap: wrap; gap: 20px; align-items: stretch; }
.flight__main { flex: 1 1 380px; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.flight__top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--brand-tint); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; }
.flight__fare { font-size: 14px; color: var(--muted); }
.flight__times { display: flex; align-items: center; gap: 16px; }
.flight__time { font: 600 26px/1.1 'Sora', sans-serif; }
.flight__code { font-size: 14px; color: var(--muted); }
.flight__mid { flex: 1 1 auto; display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 90px; }
.flight__mid small { font-size: 13px; color: var(--muted); }
.flight__line { width: 100%; height: 2px; background: #C9C2B4; border-radius: 2px; }
.flight__stops { font-size: 13px; font-weight: 700; }
.flight__stops--ok { color: var(--ok); }
.flight__stops--warn { color: var(--warn); }
.flight__arr { text-align: right; }
.flight__meta { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 14px; color: var(--muted); }
.flight__price { flex: 0 0 220px; background: var(--ground); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.flight__amount { font: 700 24px/1.1 'Sora', sans-serif; }
.flight__price small { font-size: 13px; color: var(--muted); }
.empty { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 40px 24px; text-align: center; }
.empty h3 { font-size: 20px; }
.empty p { margin-top: 8px; color: var(--muted); }
.help-band { margin-top: 8px; background: var(--brand-deep); color: #fff; border-radius: 16px; padding: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.help-band__text { flex: 1 1 360px; }
.help-band h3 { font-size: 20px; font-weight: 600; }
.help-band p { margin-top: 4px; font-size: 15px; color: var(--on-brand); }

/* ---------- Checkout page ---------- */
.stepper-bar { background: var(--surface); border-bottom: 1px solid var(--line); }
.stepper { list-style: none; margin: 0 auto; padding: 20px 32px; max-width: var(--container); display: flex; flex-wrap: wrap; gap: 16px 32px; }
.step { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--muted); }
.step__dot { width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--field); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; }
.step--done .step__dot { background: var(--ok); border-color: var(--ok); color: #fff; }
.step--done .icon { stroke-width: 2.6; }
.step--current { color: var(--ink); font-weight: 700; }
.step--current .step__dot { background: var(--brand-deep); border-color: var(--brand-deep); color: #fff; }

.checkout { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; padding: 32px 0 80px; }
.checkout__main { flex: 1 1 620px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.checkout__side { flex: 0 1 380px; min-width: 300px; display: flex; flex-direction: column; gap: 16px; }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.form-card h2 { font-size: 20px; font-weight: 600; }
.form-card__lead { margin: 6px 0 18px; font-size: 15px; color: var(--muted); }
.form-grid { display: flex; flex-wrap: wrap; gap: 16px; }
.form-grid .field { flex: 1 1 220px; }
.form-grid .field--xs { flex: 0 1 120px; }
.choices { display: flex; flex-direction: column; gap: 10px; }
.choices--row { flex-direction: row; flex-wrap: wrap; }
.choice { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border: 1px solid var(--field); border-radius: 12px; cursor: pointer; }
.choices--row .choice { flex: 1 1 260px; align-items: flex-start; justify-content: flex-start; }
.choice:has(input:checked) { border: 2px solid var(--brand-deep); padding: 13px 15px; }
.choice__label { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.choice input { width: 18px; height: 18px; accent-color: var(--brand); flex: none; }
.choice__price { font-size: 15px; color: var(--muted); }
.choice__price--strong { font-weight: 700; color: var(--ink); }
.choice__desc { display: block; font-size: 14px; font-weight: 400; color: var(--muted); }
.checkout__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.summary { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 20px; }
.summary h2 { font-size: 20px; font-weight: 600; }
.summary__leg { display: flex; flex-direction: column; gap: 6px; }
.summary__leg + .summary__leg { border-top: 1px solid var(--line); padding-top: 20px; }
.summary__label { font-size: 13px; font-weight: 700; color: var(--muted); letter-spacing: 0.04em; }
.summary__sub { font-size: 15px; color: var(--muted); }
.summary__prices { border-top: 1px solid var(--line); padding-top: 20px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.summary__row { display: flex; justify-content: space-between; }
.summary__row span:first-child { color: var(--muted); }
.summary__total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); padding-top: 14px; margin-top: 4px; }
.summary__total span:first-child { font-weight: 700; font-size: 16px; }
.summary__total strong { font: 700 26px 'Sora', sans-serif; }
.summary__note { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.summary__note .icon { margin-top: 2px; }
.help-card { background: var(--brand-deep); color: #fff; border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.help-card h2 { font-size: 18px; font-weight: 600; }
.help-card p { font-size: 15px; color: var(--on-brand); }
.help-card .cta__note { margin-top: 0; }

/* ---------- Small screens ---------- */
@media (max-width: 960px) {
  .container { padding: 0 20px; }
  .nav-toggle { display: inline-flex; order: 2; }
  .brand { order: 1; }
  .nav { order: 4; display: none; width: 100%; flex-direction: column; gap: 0; border-top: 1px solid var(--line); padding-top: 8px; }
  .nav.is-open { display: flex; }
  .header-actions { order: 3; width: 100%; }
  .site-header__inner { justify-content: space-between; flex-wrap: wrap; }
  .banner { height: 560px; }
  .banner h1 { font-size: 40px; }
  .section { padding: 56px 0; }
  .section__title { font-size: 30px; }
  .cta__text h2 { font-size: 34px; }
  .flight__price { flex: 1 1 100%; }
  .filters { flex: 1 1 100%; }
  .split { gap: 32px; }
}
@media (max-width: 560px) {
  .search__card { padding: 4px 16px 20px; }
  .tablist { gap: 0 18px; }
  .tab { font-size: 15px; }
  .banner h1 { font-size: 34px; }
  .modal__dialog { padding: 24px 20px; }
  .tile__code { font-size: 44px; }
  .flight__time { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ---------- Hero with photo mosaic (home page) ---------- */
.brand__name { letter-spacing: -0.01em; }
.nav-toggle { font: 700 15px 'DM Sans', sans-serif; width: auto; padding: 0 16px; }
.faq__q::after { content: '+'; margin-left: auto; font: 400 26px/1 'DM Sans', sans-serif; color: var(--brand); }
.faq__q[aria-expanded="true"]::after { content: '\2212'; }

.hero { background: var(--ground); padding: 56px 0 72px; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 56px; align-items: center; }
.hero h1 { font-size: 50px; line-height: 1.06; letter-spacing: -0.025em; font-weight: 600; margin-top: 18px; }
.hero__lead { margin-top: 16px; font-size: 18px; line-height: 1.6; color: var(--muted); max-width: 520px; }
.hero .search__card { margin-top: 30px; padding: 6px 22px 22px; box-shadow: 0 18px 44px rgba(21, 27, 46, .08); }
.hero .fields .btn { flex: 1 1 100%; justify-content: center; }
.hero__note { margin-top: 14px; font-size: 14px; color: var(--muted); }

.mosaic { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; height: 600px; }
.mosaic__item { position: relative; overflow: hidden; border-radius: 20px; background: var(--brand-tint); margin: 0; }
.mosaic__item:first-child { grid-row: span 2; }
.mosaic__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.mosaic__item:hover img { transform: scale(1.04); }
.mosaic__item a { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 18px; color: #fff; background: linear-gradient(to top, rgba(12, 31, 92, .78), rgba(12, 31, 92, 0) 55%); }
.mosaic__city { font: 600 20px 'Sora', sans-serif; }
.mosaic__price { font-size: 14px; color: var(--on-brand); }

.hero__stats { display: flex; flex-wrap: wrap; gap: 8px 32px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.hero__stats div { font-size: 14px; color: var(--muted); }
.hero__stats strong { display: block; font: 700 22px 'Sora', sans-serif; color: var(--ink); }

/* trust strip without icons */
.trust__item { border-left: 3px solid var(--accent); padding-left: 16px; }

/* numbered cards */
.card__num { font: 700 14px 'Sora', sans-serif; color: var(--accent); letter-spacing: .06em; }
.card .link-arrow { background: none; border: 0; padding: 0; cursor: pointer; font: 700 15px 'DM Sans', sans-serif; color: var(--brand); text-align: left; text-decoration: underline; text-underline-offset: 3px; }

/* travel tools (text cards) */
.tools { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.tool { border-top: 3px solid var(--brand); padding-top: 18px; }
.tool h3 { font-size: 19px; font-weight: 600; }
.tool p { margin-top: 8px; font-size: 15px; color: var(--muted); }

/* trending destinations: photo tiles */
.dest { position: relative; display: block; overflow: hidden; border-radius: 18px; min-height: 260px; background: var(--brand-tint); }
.dest img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.dest:hover img { transform: scale(1.04); }
.dest__body { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; padding: 20px; color: #fff; background: linear-gradient(to top, rgba(12, 31, 92, .85), rgba(12, 31, 92, 0) 60%); }
.dest__city { font: 600 24px 'Sora', sans-serif; }
.dest__meta { font-size: 14px; color: var(--on-brand); }
.dest__price { margin-top: 8px; font-weight: 700; }

.quote__stars { font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--accent); text-transform: uppercase; }

@media (max-width: 960px) {
  .hero { padding: 36px 0 48px; }
  .hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .hero h1 { font-size: 38px; }
  .mosaic { height: 420px; }
}
@media (max-width: 560px) {
  .hero h1 { font-size: 32px; }
  .mosaic { height: 360px; gap: 10px; }
  .mosaic__city { font-size: 16px; }
}
.swap { width: auto; height: 36px; padding: 0 12px; border-radius: 18px; font: 700 13px 'DM Sans', sans-serif; margin-bottom: 8px; }

/* ---------- Language switcher ---------- */
.utility__right { display: inline-flex; align-items: center; gap: 16px; }
.lang-form { display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.lang-select {
  min-height: 32px; padding: 4px 28px 4px 10px; border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.35); background-color: rgba(255,255,255,0.08);
  color: inherit; font: inherit; font-size: 13px; cursor: pointer;
}
.lang-select option { color: #111; background: #fff; }
.lang-select:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.lang-go { min-height: 32px; padding: 4px 12px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.5); background: transparent; color: inherit; font: inherit; font-size: 13px; cursor: pointer; }

/* ---------- Fonts per language ---------- */
html[lang="ar"] body, html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3,
html[lang="ar"] button, html[lang="ar"] input, html[lang="ar"] select, html[lang="ar"] textarea {
  font-family: 'Noto Sans Arabic', 'DM Sans', sans-serif; letter-spacing: 0;
}
html[lang="zh"] body, html[lang="zh"] h1, html[lang="zh"] h2, html[lang="zh"] h3,
html[lang="zh"] button, html[lang="zh"] input, html[lang="zh"] select, html[lang="zh"] textarea {
  font-family: 'Noto Sans SC', 'DM Sans', sans-serif; letter-spacing: 0;
}
html[lang="ar"] .timeline__day, html[lang="zh"] .timeline__day { text-transform: none; letter-spacing: 0; }

/* ---------- Right to left (Arabic) ---------- */
[dir="rtl"] .skip-link { left: auto; right: -999px; }
[dir="rtl"] .skip-link:focus { right: 8px; }
[dir="rtl"] .tile__price { text-align: left; }
[dir="rtl"] .faq__q { text-align: right; }
[dir="rtl"] .faq__q::after { margin-left: 0; margin-right: auto; }
[dir="rtl"] .date-chip { text-align: right; }
[dir="rtl"] .trust__item { border-left: 0; padding-left: 0; border-right: 3px solid var(--accent); padding-right: 16px; }
[dir="rtl"] .card .link-arrow { text-align: right; }
[dir="rtl"] .modal__dialog h2 { padding-right: 0; padding-left: 48px; }
[dir="rtl"] .modal__success h2 { padding-left: 0; }
[dir="rtl"] .lang-select { padding: 4px 10px 4px 28px; }
/* Phone numbers, emails and references stay left to right inside Arabic text. */
[dir="rtl"] input[type="tel"], [dir="rtl"] input[type="email"], [dir="rtl"] input[name="ref"], [dir="rtl"] input[name="contact"] { direction: ltr; text-align: right; }
[dir="rtl"] .ltr, [dir="rtl"] a[href^="tel:"], [dir="rtl"] .flight__time, [dir="rtl"] .flight__code { direction: ltr; unicode-bidi: isolate; }

/* Close button shows a word, so it is a pill rather than a circle. */
.modal__close { width: auto; min-width: 44px; padding: 0 16px; border-radius: 22px; font: 600 14px 'DM Sans', sans-serif; }
[dir="rtl"] .modal__close { right: auto; left: 16px; font-family: 'Noto Sans Arabic', 'DM Sans', sans-serif; }
.modal__dialog h2 { padding-right: 96px; }
[dir="rtl"] .modal__dialog h2 { padding-right: 0; padding-left: 96px; }
.modal__success h2 { padding-right: 0; }
[dir="rtl"] .modal__success h2 { padding-left: 0; }
