/*
 * Tripokit website v3
 * Layout: a quiet white page on a 12-column grid. Colour comes only from things
 * that mean something: the route map, airline tails, Trustpilot and WhatsApp.
 * Full rules in the design plan (Claude Doc "Tripokit website v3: design plan").
 */
:root {
  /* Tripokit's own palette */
  --white: #ffffff;
  --mist: #f4f6f9;
  --ink: #0f1b2d;
  --slate: #4b5567;
  --muted: #6b7385;
  --line: #e3e7ed;
  --line-2: #cfd6e0;
  --blue: #1f3c88;
  --blue-deep: #0e1c3f;
  --blue-tint: #e8edf8;
  --saffron: #e9a03b;
  --saffron-tint: #f3cd8c;
  --land: #dde4ee; --land-active: #c3cfe8;
  --arc: #b6c2da;
  --on-dark: #ffffff;
  --on-dark-2: #b9c4de;
  --on-dark-line: #26365f;
  /* Other brands' colours, used only inside their own marks */
  --wa: #25d366;
  --wa-hover: #1ebe5b;
  --wa-ink: #0b2a17;
  --tp: #00b67a;
  --tp-empty: #dcdce6;
  --chat-bg: #efeae2;
  --chat-out: #d9fdd3;
  --chat-head: #f0f2f5;
  --chat-time: #667781;
  --tick: #53bdeb;

  --head: "Anek Latin", "Segoe UI", Roboto, Arial, sans-serif;
  --body: "Mukta", "Segoe UI", Roboto, Arial, sans-serif;
  --r-sm: 10px;
  --r-lg: 16px;
  --shadow: 0 22px 44px -22px rgba(15, 27, 45, .32), 0 2px 6px rgba(15, 27, 45, .06);
  --max: 1200px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--white); }
a { color: inherit; }
img { max-width: 100%; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }

.wrap {
  max-width: var(--max); margin: 0 auto;
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px));
}

h1, h2, h3, h4 { margin: 0; font-family: var(--head); font-weight: 600; color: inherit; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 3.8vw, 3.1rem); line-height: 1.04; letter-spacing: -.024em; }
h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); line-height: 1.1; letter-spacing: -.018em; }
h3 { font-size: 1.25rem; line-height: 1.25; letter-spacing: -.01em; }
p { margin: 0; }

/* ---------- Logo ---------- */
.logo {
  display: inline-block; font: 700 1.8rem/1 var(--head); letter-spacing: -.035em;
  color: var(--blue); text-decoration: none; padding-top: .12em;
}
.logo .i { position: relative; }
.logo .i::after {
  content: ""; position: absolute; left: 50%; top: .2em; width: .19em; height: .19em;
  margin-left: -.085em; border-radius: 50%; background: var(--saffron);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 2px 20px 0; border: 0; border-radius: var(--r-sm);
  font: 600 1rem/1 var(--body); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn svg { width: 20px; height: 20px; flex: none; fill: currentColor; margin-top: -2px; }
.btn-wa { background: var(--wa); color: var(--wa-ink); }
.btn-wa:hover { background: var(--wa-hover); }
.btn-outline { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn-outline:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-lg { min-height: 54px; padding: 2px 26px 0; font-size: 1.06rem; }
.btn-sm { min-height: 40px; padding: 2px 14px 0; font-size: .95rem; }
.btn-sm svg { width: 18px; height: 18px; }

/* ---------- Flags ---------- */
.flag {
  display: inline-block; width: 20px; height: 15px; flex: none; object-fit: cover;
  border-radius: 3px; box-shadow: 0 0 0 1px rgba(15, 27, 45, .14); vertical-align: middle;
}

/* ---------- Header ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 40px; height: 72px; }
.nav { display: flex; gap: 28px; }
.nav a { color: var(--slate); text-decoration: none; font-weight: 500; font-size: 1rem; }
.nav a:hover { color: var(--ink); }
.header-contact { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.country {
  position: relative; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 2px 12px 0;
  border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); font-weight: 600; font-size: .95rem; color: var(--ink);
}
.country::after {
  content: ""; width: 8px; height: 8px; margin: -4px 0 0 2px; border-right: 1.5px solid var(--slate); border-bottom: 1.5px solid var(--slate); transform: rotate(45deg);
}
.country select { position: absolute; inset: 0; width: 100%; opacity: 0; cursor: pointer; font-size: 16px; }
.country:focus-within { box-shadow: inset 0 0 0 2px var(--blue); }
.header-phone {
  display: inline-flex; align-items: center; gap: 10px; padding: 4px 16px 4px 4px; border-radius: 999px;
  background: var(--blue-tint); color: var(--ink); text-decoration: none; transition: background .2s, box-shadow .2s;
}
.header-phone:hover { background: #dce4f5; box-shadow: inset 0 0 0 1px #c3cfe8; }
.hp-icon { position: relative; display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 50%; background: var(--blue); color: var(--white); }
.hp-icon svg { width: 17px; height: 17px; }
.hp-live { position: absolute; top: -1px; right: -1px; width: 11px; height: 11px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 2px var(--blue-tint); }
.hp-live::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--wa); animation: live 2.2s ease-out infinite; }
@keyframes live { from { transform: scale(1); opacity: .7; } to { transform: scale(2.6); opacity: 0; } }
.hp-text { display: grid; line-height: 1.15; }
.hp-text small { font-size: .7rem; font-weight: 600; letter-spacing: .03em; color: var(--blue); }
.hp-text > span { font-weight: 700; font-size: 1rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.menu-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { padding-block: 56px 0; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 13fr);
  grid-template-areas: "copy map" "fare fare"; column-gap: 48px;
}
.hero-copy { grid-area: copy; align-self: center; padding-bottom: 72px; }
.kicker { font: 600 .8rem/1.2 var(--body); letter-spacing: .09em; text-transform: uppercase; color: var(--blue); margin-bottom: 16px; }
.hero h1 { margin-bottom: 20px; }
.lede { font-size: 1.15rem; line-height: 1.55; color: var(--slate); max-width: 31em; margin-bottom: 26px; }

/* Trustpilot */
.tp { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; color: var(--ink); text-decoration: none; font-size: .95rem; }
.tp-brand { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; }
.tp-brand svg { width: 20px; height: 20px; fill: var(--tp); margin-top: -3px; }
.tp-word { font-weight: 600; }
.tp-meta { color: var(--slate); }
.tp:hover .tp-meta { text-decoration: underline; }
.stars { display: inline-flex; gap: 2px; }
.stars i { display: grid; place-items: center; width: 22px; height: 22px; background: var(--tp); }
.stars i.half { background: linear-gradient(90deg, var(--tp) 50%, var(--tp-empty) 50%); }
.stars i svg { width: 15px; height: 15px; fill: var(--white); }
.stars.sm i { width: 18px; height: 18px; }
.stars.sm i svg { width: 12px; height: 12px; }

/* Route map */
.map-card { grid-area: map; position: relative; display: flex; flex-direction: column; justify-content: center; margin: 0; padding: 52px 20px 76px; background: var(--mist); border-radius: var(--r-lg); }
.map-card figcaption { position: absolute; top: 18px; left: 24px; right: 24px; display: flex; justify-content: space-between; gap: 12px; font-size: .88rem; color: var(--slate); }
.map-card figcaption strong { color: var(--ink); font-weight: 600; }
.map-key { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.map-key::before { content: ""; width: 22px; height: 2px; background: var(--blue); border-radius: 2px; }
.map-svg { display: block; width: 100%; height: auto; }
.map-svg .land { fill: var(--land); }
.map-svg .country { fill: var(--land-active); opacity: 0; transition: opacity .4s; }
.map-svg .routes { opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
.map-svg .arc { fill: none; stroke: var(--blue); stroke-width: 1.8; opacity: .75; }
.map-svg .flow { fill: none; stroke: var(--saffron); stroke-width: 3; stroke-linecap: round; stroke-dasharray: .05 1.2; stroke-dashoffset: .05; }
.map-svg .dest { fill: var(--saffron); stroke: var(--white); stroke-width: 1.5; }
.map-svg .origin { fill: var(--blue); stroke: var(--white); stroke-width: 2.5; }
.map-svg .lbl { font: 600 15px var(--head); fill: var(--ink); letter-spacing: .02em; paint-order: stroke; stroke: var(--mist); stroke-width: 4px; stroke-linejoin: round; }
.map-svg .origin-lbl { fill: var(--blue); font-weight: 700; }
.map-svg[data-active="AU"] .c-AU, .map-svg[data-active="NZ"] .c-NZ, .map-svg[data-active="CA"] .c-CA,
.map-svg[data-active="US"] .c-US, .map-svg[data-active="IN"] .c-IN { opacity: 1; }
.map-svg[data-active="AU"] .g-AU, .map-svg[data-active="NZ"] .g-NZ, .map-svg[data-active="CA"] .g-CA,
.map-svg[data-active="US"] .g-US, .map-svg[data-active="IN"] .g-IN { opacity: 1; visibility: visible; }
.map-svg .routes .flow { animation: flow 3.8s linear infinite; }
@keyframes flow { from { stroke-dashoffset: .05; } to { stroke-dashoffset: -1; } }

/* Fare request bar */
.fare {
  grid-area: fare; position: relative; z-index: 2; margin-top: -48px;
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 20px 24px; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow);
}
.fare-top { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; }
.tabs { display: inline-flex; gap: 4px; padding: 4px; background: var(--mist); border-radius: 999px; }
.tab {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 40px; padding: 2px 18px 0 14px; border: 0; border-radius: 999px; background: transparent; cursor: pointer;
  font: 600 .95rem/1 var(--body); color: var(--slate);
}
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { background: var(--blue); color: var(--white); box-shadow: 0 6px 14px -6px rgba(31,60,136,.6); }
.tab svg { width: 18px; height: 18px; margin-top: -2px; flex: none; }
.trip-type { display: inline-flex; gap: 20px; min-width: 0; border: 0; margin: 0; padding: 0; font-size: .95rem; color: var(--slate); }
.trip-type label { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; }
.trip-type input { accent-color: var(--blue); width: 17px; height: 17px; margin: 0 0 2px; }
.fields { display: grid; gap: 12px; align-items: end; }
.fields[hidden] { display: none; }
.fields-flights { grid-template-columns: minmax(0, 2.5fr) minmax(0, 2fr) minmax(0, 1.2fr); gap: 10px; }
.fields-holidays { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.route { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.route .f-from { padding-right: 24px; }
.route .f-to { padding-left: 26px; }
.dates { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.dates .f-dep { border-radius: var(--r-sm) 0 0 var(--r-sm); }
.dates .f-ret { border-radius: 0 var(--r-sm) var(--r-sm) 0; margin-left: -1px; }
.is-oneway .dates { grid-template-columns: minmax(0, 1fr); }
.is-oneway .dates .f-ret { display: none; }
.is-oneway .dates .f-dep { border-radius: var(--r-sm); }

.fbox {
  position: relative; display: grid; grid-template-columns: 20px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 10px; align-content: center;
  height: 64px; padding: 0 14px; background: var(--white); border: 1px solid var(--line-2); border-radius: var(--r-sm);
  transition: border-color .15s, box-shadow .15s;
}
.fbox:hover { border-color: var(--slate); z-index: 1; }
.fbox:focus-within, .fbox.is-open, .fbox:has(.fbox-btn.is-active) { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-tint); z-index: 2; }
.fbox-ico { grid-row: 1 / 3; align-self: center; width: 20px; height: 20px; color: var(--muted); }
.fbox:focus-within .fbox-ico, .fbox.is-open .fbox-ico { color: var(--blue); }
.fbox-label { grid-column: 2; padding-top: 2px; font: 600 .72rem/1.2 var(--body); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); cursor: pointer; }
.fbox-input, .fbox-btn { grid-column: 2; }
.fbox-input {
  width: 100%; min-width: 0; height: 26px; padding: 0; margin: 0; border: 0; outline: 0; background: transparent;
  font: 600 1.06rem/1.2 var(--body); color: var(--ink); text-overflow: ellipsis;
}
.fbox-input::placeholder { color: var(--muted); font-weight: 500; opacity: 1; }
.fbox-btn {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; min-width: 0; height: 26px; padding: 0; margin: 0;
  border: 0; background: transparent; text-align: left; cursor: pointer; font: 600 1.06rem/1.2 var(--body); color: var(--ink);
}
.fbox-btn::before { content: ""; position: absolute; inset: 0; }
.fbox-btn:focus { outline: none; }
.fbox-value { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.fbox-btn.is-empty .fbox-value { color: var(--muted); font-weight: 500; }
.fbox-chev { width: 12px; height: 8px; flex: none; color: var(--slate); transition: transform .2s; }
.fbox > .fbox-chev { position: absolute; right: 16px; top: 50%; margin-top: -4px; pointer-events: none; }
.fbox.is-open .fbox-chev { transform: rotate(180deg); }
.pax-cabin { font-weight: 600; }
.pax-cabin::before { content: "·"; margin: 0 7px; color: var(--muted); font-weight: 500; }
.native-hidden { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.fbox-input.flash { animation: flash 1.6s; }
@keyframes flash { 0%, 60% { color: var(--blue); } }
.field { display: grid; gap: 6px; min-width: 0; }
.field > span { font-size: .82rem; font-weight: 600; line-height: 1.2; color: var(--slate); }
.field input, .field select {
  width: 100%; min-width: 0; height: 52px; padding: 2px 14px 0; margin: 0;
  border: 1px solid var(--line-2); border-radius: var(--r-sm); background-color: var(--white);
  font: 500 16px/1.2 var(--body); color: var(--ink); appearance: none; -webkit-appearance: none;
}
.field select {
  padding-right: 36px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%234b5567' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.field input::placeholder { color: var(--muted); opacity: 1; }
.field input:hover, .field select:hover { border-color: var(--slate); }
.field input:focus, .field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-tint); }
.field input[type="date"], .field input[type="month"] { padding-right: 10px; }
.swap {
  position: absolute; left: 50%; top: 50%; z-index: 3; translate: -50% -50%;
  display: grid; place-items: center; width: 36px; height: 36px; padding: 0;
  border: 1px solid var(--line-2); border-radius: 50%; background: var(--white); color: var(--blue); cursor: pointer;
  transition: border-color .15s, transform .25s;
}
.swap:hover { border-color: var(--blue); transform: rotate(180deg); }
.swap svg { width: 16px; height: 16px; }

/* ---------- Pickers ---------- */
.pop {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 30;
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 24px 48px -16px rgba(15,27,45,.35), 0 2px 8px rgba(15,27,45,.08);
}
.pop[hidden] { display: none; }
.ac-list { width: 400px; min-width: 100%; max-height: 380px; overflow: auto; margin: 0; padding: 6px; list-style: none; overscroll-behavior: contain; }
.ac-head { padding: 10px 12px 6px; font: 600 .72rem/1.2 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ac-opt { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 10px; cursor: pointer; }
.ac-opt.is-active { background: var(--blue-tint); }
.ac-code { display: grid; place-items: center; width: 50px; height: 34px; flex: none; padding-top: 2px; border-radius: 8px; background: var(--mist); font: 700 .86rem/1 var(--head); letter-spacing: .06em; color: var(--blue); }
.ac-opt.is-active .ac-code { background: var(--white); }
.ac-text { display: grid; min-width: 0; line-height: 1.25; }
.ac-name { font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ac-country { font-size: .86rem; color: var(--muted); }
.ac-opt mark { background: none; color: var(--blue); font-weight: 700; }
.ac-empty { display: grid; gap: 4px; padding: 14px 12px; font-size: .92rem; color: var(--slate); }
.ac-empty strong { color: var(--ink); }

.cal { width: 660px; padding: 18px 20px 14px; }
.cal-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 6px; }
.cal-hint { font-weight: 600; color: var(--ink); }
.cal-nav { display: flex; gap: 6px; }
.cal-arrow { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 1px solid var(--line-2); border-radius: 50%; background: var(--white); color: var(--ink); cursor: pointer; }
.cal-arrow:hover:not(:disabled) { border-color: var(--ink); }
.cal-arrow:disabled { opacity: .3; cursor: default; }
.cal-arrow svg { width: 18px; height: 18px; }
.cal-months { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 32px; }
.cal-title { margin: 2px 0 10px; text-align: center; font: 600 1rem/1.2 var(--head); }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); row-gap: 2px; }
.cal-dow { padding-bottom: 6px; text-align: center; font-size: .74rem; font-weight: 600; color: var(--muted); }
.cal-day { position: relative; height: 40px; padding: 0; border: 0; background: none; cursor: pointer; font: 500 .95rem/1 var(--body); color: var(--ink); }
.cal-day span { position: relative; z-index: 1; display: grid; place-items: center; width: 38px; height: 38px; margin: 0 auto; padding-top: 2px; border-radius: 50%; }
.cal-day:hover:not(:disabled) span { box-shadow: inset 0 0 0 1.5px var(--blue); }
.cal-day:focus-visible { outline: none; }
.cal-day:focus-visible span { box-shadow: 0 0 0 2px var(--blue); }
.cal-day:disabled { color: #c3c9d4; cursor: default; }
.cal-day.is-today span { font-weight: 700; color: var(--blue); }
.cal-day.in-range { background: var(--blue-tint); }
.cal-day.is-start.has-range { background: linear-gradient(90deg, transparent 50%, var(--blue-tint) 50%); }
.cal-day.is-end { background: linear-gradient(90deg, var(--blue-tint) 50%, transparent 50%); }
.cal-day.is-start span, .cal-day.is-end span { background: var(--blue); color: var(--white); font-weight: 700; }
.cal-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.cal-sum { font-size: .9rem; color: var(--slate); }
.cal-actions { display: flex; gap: 6px; margin-left: auto; }
.btn-text { padding: 8px 12px; border: 0; background: none; cursor: pointer; font: 600 .95rem/1 var(--body); color: var(--slate); }
.btn-text:hover { color: var(--ink); }
.btn-done { height: 40px; padding: 2px 22px 0; border: 0; border-radius: 999px; background: var(--blue); color: var(--white); cursor: pointer; font: 600 .95rem/1 var(--body); }
.btn-done:hover { background: var(--blue-deep); }

.pax-pop { left: auto; right: 0; width: 370px; padding: 6px 20px 16px; }
.h-pax .pax-pop { width: 340px; }
.pax-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.pax-label { display: grid; line-height: 1.3; }
.pax-label strong { font-weight: 600; }
.pax-label small { font-size: .86rem; color: var(--muted); }
.stepper { display: flex; align-items: center; gap: 12px; }
.stepper button { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 1px solid var(--line-2); border-radius: 50%; background: var(--white); color: var(--blue); cursor: pointer; }
.stepper button:hover:not(:disabled) { border-color: var(--blue); background: var(--blue-tint); }
.stepper button:disabled { color: #c3c9d4; cursor: default; }
.stepper button svg { width: 16px; height: 16px; }
.stepper output { min-width: 18px; text-align: center; font: 600 1.06rem/1 var(--body); font-variant-numeric: tabular-nums; }
.pax-note { margin: 10px 0 0; font-size: .86rem; color: var(--slate); }
.pax-cabins { padding-top: 16px; }
.pax-sub { display: block; margin-bottom: 10px; font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { height: 36px; padding: 2px 14px 0; border: 1px solid var(--line-2); border-radius: 999px; background: var(--white); cursor: pointer; font: 500 .92rem/1 var(--body); color: var(--ink); transition: background .15s, border-color .15s, color .15s; }
.chip:hover { border-color: var(--slate); }
.chip[aria-checked="true"] { background: var(--blue); border-color: var(--blue); color: var(--white); }
.pop-foot { display: flex; justify-content: flex-end; margin-top: 16px; }

.sel-list { width: max-content; min-width: 100%; max-width: 320px; max-height: 340px; overflow: auto; margin: 0; padding: 6px; list-style: none; }
.sel-opt { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 10px 12px; border-radius: 10px; white-space: nowrap; cursor: pointer; }
.sel-opt.is-active { background: var(--blue-tint); }
.sel-opt svg { width: 18px; height: 18px; flex: none; color: var(--blue); visibility: hidden; }
.sel-opt[aria-selected="true"] { font-weight: 600; }
.sel-opt[aria-selected="true"] svg { visibility: visible; }

.flex-days { display: inline-flex; align-items: center; gap: 6px; }
.flex-days[hidden] { display: none; }
.flex-days .chip { height: 30px; padding: 2px 11px 0; font-size: .88rem; }
.flex-unit { margin-left: 2px; font-size: .9rem; color: var(--slate); }
.sheet-backdrop { position: fixed; inset: 0; z-index: 85; background: rgba(15,27,45,.45); }
.sheet-backdrop[hidden] { display: none; }
.fare-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px 24px; flex-wrap: wrap; padding-top: 16px; border-top: 1px solid var(--line); }
.fare-note { color: var(--slate); font-size: .95rem; }
.fare-note a { color: var(--blue); font-weight: 600; text-decoration: none; white-space: nowrap; }
.fare-note a:hover { text-decoration: underline; }

/* ---------- Airlines ---------- */
.airlines { padding-block: 72px 8px; }
.airlines-title { font: 600 .8rem/1.2 var(--body); letter-spacing: .09em; text-transform: uppercase; color: var(--muted); text-align: center; margin-bottom: 28px; }

/* ---------- Sections ---------- */
.section { padding-block: 96px; }
.section-mist { background: var(--mist); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 12px 48px; flex-wrap: wrap; margin-bottom: 40px; }
.section-head p { color: var(--slate); max-width: 33em; }


/* Trust row */
.trust-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.pbg { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: .95rem; color: var(--ink); text-decoration: none; }
.pbg .ast { margin-left: 1px; }
.pbg svg { width: 22px; height: 22px; color: var(--blue); margin-top: -3px; }
.pbg:hover { color: var(--blue); }
.ast { color: var(--blue); font-weight: 700; text-decoration: none; }
.pill-select select {
  height: 34px; padding: 2px 30px 0 12px; border: 1px solid var(--line-2); border-radius: 999px; background-color: var(--white);
  font: 500 .95rem/1 var(--body); color: var(--ink); appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%234b5567' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}
.pill-select select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-tint); }
.field input.flash { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-tint); }

/* Airline wordmarks, moving */
.marquee {
  display: flex; overflow: hidden; gap: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  flex: none; display: flex; align-items: center; gap: 64px; margin: 0; padding: 4px 32px; list-style: none;
  animation: marquee 48s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track li { flex: none; display: grid; place-items: center; height: 52px; }
.marquee-track img { display: block; max-width: none; }
@keyframes marquee { to { transform: translateX(-100%); } }

/* Flexible dates switch */
.flex-wrap { display: inline-flex; align-items: center; gap: 10px; }
.flex-toggle { display: inline-flex; align-items: center; gap: 9px; cursor: pointer; white-space: nowrap; }
.flex-toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch { position: relative; width: 36px; height: 20px; border-radius: 999px; background: var(--line-2); transition: background .2s; flex: none; }
.switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--white); box-shadow: 0 1px 2px rgba(15,27,45,.25); transition: transform .2s; }
.flex-toggle input:checked + .switch { background: var(--blue); }
.flex-toggle input:checked + .switch::after { transform: translateX(16px); }
.flex-toggle input:focus-visible + .switch { outline: 3px solid var(--blue); outline-offset: 2px; }

/* Destinations slider */
.section-sub { margin-top: 10px; color: var(--slate); }
.slider-frame { position: relative; }
.snav {
  position: absolute; z-index: 2; top: 40%; translate: 0 -50%;
  display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border-radius: 50%; cursor: pointer;
  background: var(--white); border: 0; color: var(--ink);
  box-shadow: 0 10px 24px -8px rgba(15,27,45,.35), 0 0 0 1px rgba(15,27,45,.06);
  transition: opacity .2s, transform .2s, box-shadow .2s;
}
.snav-prev { left: -24px; }
.snav-next { right: -24px; }
.snav:hover { transform: scale(1.06); box-shadow: 0 14px 28px -8px rgba(15,27,45,.45), 0 0 0 1px rgba(15,27,45,.08); }
.snav:disabled { opacity: 0; pointer-events: none; }
.snav svg { width: 22px; height: 22px; }
.slider { margin: -8px -12px -36px; }
.slides {
  list-style: none; margin: 0; padding: 8px 12px 36px; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 60px) / 4); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 12px; scrollbar-width: none; overscroll-behavior-x: contain;
}
.slides::-webkit-scrollbar { display: none; }
.slide { scroll-snap-align: start; }

/* Destination card: photo fills the card, text sits on a soft shade at the bottom */
.dcard {
  position: relative; isolation: isolate; display: block; width: 100%; aspect-ratio: 4 / 5; padding: 0; overflow: hidden;
  text-align: left; cursor: pointer; font: inherit; color: var(--white);
  background: var(--blue-deep); border: 0; border-radius: var(--r-lg);
  box-shadow: 0 1px 2px rgba(15,27,45,.08);
  transition: box-shadow .3s, transform .3s;
}
.dcard:hover { box-shadow: 0 22px 40px -18px rgba(15,27,45,.55); transform: translateY(-3px); }
.dcard:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.dc-media { position: absolute; inset: 0; z-index: -2; display: block; background: radial-gradient(130% 100% at 15% 0%, var(--t1), var(--t2)); }
.dc-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.dcard:hover .dc-media img { transform: scale(1.06); }
.dcard::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(8,14,28,.28) 0%, rgba(8,14,28,0) 24%, rgba(8,14,28,0) 42%, rgba(8,14,28,.55) 66%, rgba(8,14,28,.88) 100%);
}
/* Without a photo: the airport code as a large, quiet mark */
.dc-code {
  position: absolute; left: 50%; top: 34%; translate: -50% -50%;
  font: 700 clamp(4.2rem, 8vw, 6.4rem)/1 var(--head); letter-spacing: .02em; color: rgba(255,255,255,.14);
}
.dc-tag {
  position: absolute; top: 14px; left: 14px; padding: 5px 10px 3px; border-radius: 999px;
  font: 600 .74rem/1.2 var(--body); letter-spacing: .1em; color: var(--white);
  background: rgba(10,18,34,.38); border: 1px solid rgba(255,255,255,.3);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.dcard:not(.has-photo) .dc-tag { display: none; }
.dc-body { position: absolute; inset: auto 0 0; display: grid; gap: 2px; padding: 20px 18px 18px; }
.dc-country { font: 600 .74rem/1.3 var(--body); letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.78); }
.dc-city { font: 700 clamp(1.7rem, 2.4vw, 2.05rem)/1.05 var(--head); letter-spacing: -.01em; text-shadow: 0 1px 12px rgba(0,0,0,.25); }
.dc-note { margin-top: 4px; font-size: .9rem; line-height: 1.35; color: rgba(255,255,255,.82); }
.dc-foot { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.22); }
.dc-price { display: grid; line-height: 1.2; }
.dc-price small { font-size: .74rem; color: rgba(255,255,255,.74); }
.dc-price strong { font: 700 1.35rem/1.15 var(--head); color: var(--white); }
.dc-price .ast { font-size: .7em; vertical-align: super; margin-left: 1px; color: var(--saffron-tint); }
.dc-go {
  display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 50%;
  background: var(--white); color: var(--ink); transition: transform .3s, background .3s;
}
.dc-go svg { width: 18px; height: 18px; }
.dcard:hover .dc-go { transform: translateX(3px); background: var(--saffron); }
.fineprint { margin-top: 22px; font-size: .82rem; color: var(--muted); }

/* How booking works */
.how { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 72px; align-items: center; }
.how .section-lede { margin-top: 14px; color: var(--slate); max-width: 30em; }
.steps { list-style: none; counter-reset: s; margin: 40px 0 0; padding: 0; display: grid; gap: 28px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 18px; row-gap: 4px; }
.steps li::before {
  content: counter(s); grid-row: span 2; display: grid; place-items: center; width: 38px; height: 38px; padding-top: 3px;
  border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--blue); color: var(--blue); font: 600 1.05rem/1 var(--head);
}
.steps h3 { font-size: 1.2rem; padding-top: 6px; }
.steps p { color: var(--slate); }

.how .cta-row { margin: 36px 0 0; }
.proof { padding: 32px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); }
.proof h3 { font-size: 1.2rem; margin-bottom: 24px; }
.proof-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.proof-grid li { display: grid; align-content: start; gap: 4px; padding: 20px 0; border-top: 1px solid var(--line); }
.proof-grid li:nth-child(odd) { padding-right: 20px; }
.proof-grid li:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }
.proof-grid strong { display: flex; align-items: center; height: 44px; font: 700 2.4rem/1 var(--head); color: var(--blue); letter-spacing: -.01em; }
.proof-grid strong small { font-size: .5em; color: var(--muted); font-weight: 600; margin-left: 2px; }
.proof-grid img { height: 40px; width: auto; }
.proof-grid span { color: var(--slate); font-size: .95rem; }
.proof-pbg { display: flex; gap: 14px; align-items: flex-start; margin-top: 8px; padding: 18px 20px; border-radius: var(--r-sm); background: var(--blue-tint); color: var(--ink); text-decoration: none; }
.proof-pbg svg { width: 28px; height: 28px; flex: none; color: var(--blue); }
.proof-pbg strong { display: block; color: var(--blue); }
.proof-pbg > span { font-size: .95rem; color: var(--slate); }

/* 24x7 support loop */
.support { background: var(--blue-deep); color: var(--on-dark-2); }
.support .kicker { color: var(--saffron); }
.support h2 { color: var(--on-dark); margin-bottom: 14px; }
.support h2 strong { font-weight: 700; color: var(--saffron); }
.support-head p:last-child { font-size: 1.1rem; }
.loop { position: relative; }
.loop-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; position: relative; z-index: 1; }
.loop-step { position: relative; padding: 28px 28px 30px; background: #15264f; border: 1px solid var(--on-dark-line); border-radius: var(--r-lg); }
.loop-step:not(:last-child)::after {
  content: ""; position: absolute; top: 50%; right: -37px; width: 26px; height: 2px; background: var(--saffron);
}
.loop-step:not(:last-child)::before {
  content: ""; position: absolute; top: calc(50% - 5px); right: -38px; width: 0; height: 0;
  border-left: 7px solid var(--saffron); border-top: 6px solid transparent; border-bottom: 6px solid transparent;
}
.loop-num { display: grid; place-items: center; width: 34px; height: 34px; padding-top: 3px; margin-bottom: 16px; border-radius: 50%; background: var(--saffron); color: var(--blue-deep); font: 700 1rem/1 var(--head); }
.loop-step h3 { color: var(--on-dark); font-size: 1.3rem; margin-bottom: 16px; }
.loop .checks li { color: var(--on-dark); }
.loop .checks li::before { background-color: transparent; box-shadow: inset 0 0 0 1.5px var(--saffron);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' fill='none' stroke='%23e9a03b' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.loop .checks small { display: block; color: var(--on-dark-2); font-size: .82rem; }
.loop-track {
  position: relative; height: 56px; margin: -1px calc(100% / 6 - 8px) 0; border: 2px solid var(--saffron); border-top: 0;
  border-radius: 0 0 28px 28px;
}
.loop-track::before {
  content: ""; position: absolute; left: -8px; top: 0; width: 0; height: 0;
  border-bottom: 9px solid var(--saffron); border-left: 7px solid transparent; border-right: 7px solid transparent;
}
.loop-badge {
  position: absolute; left: 50%; bottom: -17px; transform: translateX(-50%); white-space: nowrap;
  padding: 7px 16px 5px; border-radius: 999px; background: var(--blue-deep); border: 2px solid var(--saffron);
  color: var(--on-dark); font-size: .95rem;
}
.loop-badge strong { color: var(--saffron); margin-right: 4px; }

.support-points { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.support-points li { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 8px 14px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid var(--on-dark-line); color: var(--on-dark); font-size: 1rem; }
.support-points svg { width: 22px; height: 22px; color: var(--saffron); margin-top: -2px; }
.support-points strong { color: var(--saffron); }
.support-head { max-width: 760px; margin-bottom: 48px; }

/* What we book */
.service-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); }
.service h3 { font-size: 1.3rem; margin-bottom: 8px; }
.service p { color: var(--slate); }

.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; }
.checks li::before {
  content: ""; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background-color: var(--blue);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' fill='none' stroke='%23fff' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 12px; background-position: center; background-repeat: no-repeat;
}
.checks small { color: var(--muted); font-size: .85rem; }

/* Reviews */
.review-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.review { display: flex; flex-direction: column; gap: 12px; padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); }
.review.feature { grid-row: span 2; padding: 32px; gap: 20px; }
.review h3 { font-size: 1.1rem; }
.review blockquote { flex: 1; margin: 0; color: var(--ink); }
.review.feature blockquote { font: 500 1.45rem/1.38 var(--head); letter-spacing: -.01em; }
.review footer { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: .9rem; color: var(--muted); }
.review footer strong { color: var(--ink); font-weight: 600; }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: start; }
.contact .section-lede { margin-top: 14px; color: var(--slate); max-width: 30em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 20px; }
.email { color: var(--slate); }
.email a { color: var(--blue); font-weight: 600; text-decoration: none; }
.offices-title { font-size: 1.15rem; margin-bottom: 12px; }
.offices { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.offices li { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.offices .place strong { display: block; font-weight: 600; line-height: 1.3; }
.offices .place > span { display: block; font-size: .88rem; color: var(--muted); }
.offices .num { font-weight: 600; text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums; }
.offices .num.wa { color: var(--blue); }
.offices .you { margin-left: 8px; padding: 2px 8px 0; border-radius: 999px; background: var(--blue-tint); color: var(--blue); font-size: .75rem; font-weight: 600; }

/* Footer */
.site-footer { padding-block: 64px 28px; background: var(--blue-deep); color: var(--on-dark-2); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.site-footer .logo { color: var(--on-dark); margin-bottom: 16px; }
.f-about { max-width: 26em; }
.f-col h4, .f-col .f-h { margin-bottom: 14px; font: 600 .8rem/1.2 var(--body); letter-spacing: .09em; text-transform: uppercase; color: var(--on-dark); }
.f-col a { display: block; padding: 4px 0; color: var(--on-dark-2); text-decoration: none; }
.f-col a:hover { color: var(--on-dark); }
.footer-trust { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px 40px; margin-top: 48px; padding: 24px 0; border-top: 1px solid var(--on-dark-line); }
.footer-trust .pay, .footer-trust .iata { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.ft-label { font: 600 .8rem/1.2 var(--body); letter-spacing: .09em; text-transform: uppercase; color: var(--on-dark); margin-right: 6px; }
.ft-note { font-size: .85rem; color: var(--on-dark-2); }
.footer-trust .pay .ft-note { margin-left: 4px; }
.iata-mark { display: grid; place-items: center; width: 72px; height: 48px; border-radius: var(--r-sm); background: var(--white); }
.iata-mark img { width: 52px; height: auto; }
.footer-trust .iata > span:last-child { display: grid; color: var(--on-dark); }
.footnote { margin-top: 8px; font-size: .85rem; color: var(--on-dark-2); }
.footnote .ast { color: var(--saffron); margin-right: 2px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; margin-top: 16px; padding-top: 22px; border-top: 1px solid var(--on-dark-line); font-size: .85rem; }
.footer-bottom-wrap { margin-top: 0; }

.mobile-bar { display: none; }

/* ---------- Privacy page ---------- */
.prose { max-width: 720px; }
.prose h1 { font-size: clamp(2rem, 4vw, 2.75rem); margin-bottom: 20px; }
.prose p { color: var(--slate); margin-bottom: 16px; }

/* ---------- Tablet ---------- */
/* ---------- 2026-12 edits: flights-first hero, multi-city, parents shortcut, booking help ---------- */
.hero h1 .h1-line { display: block; margin-top: .3em; font-size: .6em; line-height: 1.15; letter-spacing: -.01em; color: var(--blue); }
.parents-cta {
  display: inline-flex; align-items: center; gap: 12px; max-width: 100%; margin: -6px 0 24px; padding: 10px 16px 9px 10px;
  border: 1px solid var(--line-2); border-radius: 999px; background: var(--white); cursor: pointer;
  font: 600 .98rem/1.25 var(--body); color: var(--ink); text-align: left; transition: border-color .15s, box-shadow .15s;
}
.parents-cta[hidden] { display: none; }
.parents-cta:hover { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-tint); }
.parents-cta .pc-flag { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--mist); }
.parents-cta .pc-flag img { width: 18px; height: auto; border-radius: 2px; }
.parents-cta svg { width: 18px; height: 18px; flex: none; color: var(--blue); transition: transform .15s; }
.parents-cta:hover svg { transform: translateX(3px); }

/* Flights is the main tab; Holidays sits beside it, quieter */
.tab-main { padding-inline: 18px 22px; font-size: 1rem; }
.tab-minor { font-weight: 500; font-size: .9rem; padding-inline: 12px 14px; }
.tab-minor[aria-selected="false"] { color: var(--slate); }

.parents-note { display: flex; align-items: center; gap: 12px; margin: 0; padding: 10px 12px 9px 14px; border-radius: var(--r-sm); background: var(--saffron-tint); background: color-mix(in srgb, var(--saffron) 16%, white); color: var(--ink); font-size: .95rem; }
.parents-note[hidden] { display: none; }
.parents-note img { width: 20px; height: auto; flex: none; border-radius: 2px; }
.parents-note span { flex: 1; }
.pn-x { width: 32px; height: 32px; flex: none; border: 0; border-radius: 50%; background: transparent; cursor: pointer; font-size: 1.3rem; line-height: 1; color: var(--slate); }
.pn-x:hover { background: rgba(0,0,0,.06); color: var(--ink); }

/* Multi-city */
.fields-flights.is-multi::before, .leg-num {
  font: 600 .74rem/1.2 var(--body); letter-spacing: .07em; text-transform: uppercase; color: var(--blue);
}
.fields-flights.is-multi::before { content: "Flight 1"; grid-column: 1 / -1; margin-bottom: -4px; }
.legs { grid-column: 1 / -1; display: grid; gap: 12px; }
.legs[hidden] { display: none; }
.leg-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.leg { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.25fr) minmax(0, 2fr) minmax(0, 1.2fr); gap: 6px 10px; align-items: center; }
.leg-num { grid-column: 1 / -1; }
.leg-x { justify-self: start; display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line-2); border-radius: 50%; background: var(--white); color: var(--slate); cursor: pointer; }
.leg-x:hover { border-color: var(--ink); color: var(--ink); }
.leg-x[hidden] { display: none; }
.leg-x svg { width: 16px; height: 16px; }
.leg-add { justify-self: start; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 2px 16px 0 12px; border: 1px dashed var(--blue); border-radius: 999px; background: var(--white); color: var(--blue); cursor: pointer; font: 600 .95rem/1 var(--body); }
.leg-add:hover { background: var(--blue-tint); border-style: solid; }
.leg-add[hidden] { display: none; }
.leg-add svg { width: 16px; height: 16px; }

/* After you book, now straight under the form */
.hero + .support { margin-top: 64px; }
.support-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn-help { background: var(--saffron); color: var(--blue-deep); }
.btn-help:hover { background: var(--saffron-tint); }
.btn-ondark { background: transparent; color: var(--on-dark); box-shadow: inset 0 0 0 1.5px var(--on-dark-line); }
.btn-ondark:hover { box-shadow: inset 0 0 0 1.5px var(--on-dark); }
.support-cta-note { margin-top: 14px; font-size: .95rem !important; color: var(--on-dark-2); }
.loop-track:empty { margin-bottom: 0; }

/* What we book: flights first */
.service-cols { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; }
.service-main { padding: 28px 30px 30px; border-radius: var(--r-lg); background: var(--blue-tint); }
.service-main h3 { font-size: 1.6rem; }
.service-kicker { margin-bottom: 8px; font: 600 .74rem/1.2 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.service-list { margin: 18px 0 22px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; }
.service-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.service-minor { padding-top: 28px; }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-deep); }
.link-btn { padding: 0; border: 0; background: none; cursor: pointer; font: 600 .98rem/1.3 var(--body); color: var(--blue); text-decoration: underline; text-underline-offset: 3px; text-align: left; }
.link-btn[hidden] { display: none; }
.link-arrow { display: inline-block; margin-top: 12px; font-weight: 600; color: var(--blue); text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }

/* Offices: phone plus a WhatsApp button for each */
.offices .nums { display: inline-flex; align-items: center; gap: 12px; }
.num-wa { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--wa); color: var(--wa-ink); }
.num-wa:hover { background: var(--wa-hover); }
.num-wa svg { width: 18px; height: 18px; fill: currentColor; }

@media (max-width: 920px) {
  .leg { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .leg-d { grid-column: 1; }
  .service-cols { grid-template-columns: minmax(0, 1fr); }
  .service-minor { padding-top: 0; }
}
@media (max-width: 640px) {
  .parents-cta { margin-top: -4px; font-size: .94rem; }
  .leg { grid-template-columns: minmax(0, 1fr) 40px; gap: 8px; }
  .leg-num { grid-column: 1 / -1; }
  .leg-f, .leg-t, .leg-d { grid-column: 1; }
  .leg-x { grid-column: 2; grid-row: 2; }
  .hero + .support { margin-top: 40px; }
  .support-cta .btn { flex: 1 1 100%; }
  .service-main { padding: 22px; }
  .service-list { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 1080px) {
  .header-inner { gap: 28px; }
  .nav { gap: 20px; }
  .dest-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .loop-steps { gap: 32px; }
  .slides { grid-auto-columns: calc((100% - 40px) / 3); }
  .loop-step { padding: 24px; }
  .loop-step:not(:last-child)::after { right: -26px; width: 18px; }
  .loop-step:not(:last-child)::before { right: -27px; }
  .review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .review.feature { grid-row: auto; grid-column: 1 / -1; }
  .how { gap: 48px; }
}
@media (max-width: 920px) {
  .nav { display: none; }
  .menu-toggle {
    display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: var(--r-sm);
    background: transparent; color: var(--ink); cursor: pointer;
  }
  .menu-toggle svg { width: 22px; height: 22px; }
  .site-header.nav-open .nav {
    display: grid; position: absolute; top: 72px; left: 0; right: 0; gap: 0; padding: 8px max(24px, env(safe-area-inset-left, 0px)) 16px;
    background: var(--white); border-bottom: 1px solid var(--line);
  }
  .site-header.nav-open .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .header-phone { padding: 0; background: none; }
  .header-phone:hover { background: none; box-shadow: none; }
  .hp-text { display: none; }
  .hp-live { box-shadow: 0 0 0 2px var(--white); }
  .hero-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "map" "fare"; }
  .hero-copy { padding-bottom: 32px; }
  .fields-flights { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); }
  .route { grid-column: 1 / -1; }
  .fields-holidays { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .how, .contact { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .proof { max-width: 640px; }
  .slides { grid-auto-columns: calc((100% - 20px) / 2.3); }
  .snav-prev { left: -8px; }
  .snav-next { right: -8px; }
  .loop-steps { grid-template-columns: minmax(0, 1fr); gap: 28px; margin-left: 40px; }
  .loop-step:not(:last-child)::after, .loop-step:not(:last-child)::before { display: none; }
  .loop-track { position: absolute; left: 0; top: 40px; bottom: 40px; width: 28px; height: auto; margin: 0; border: 2px solid var(--saffron); border-right: 0; border-radius: 28px 0 0 28px; }
  .loop-track::before { left: auto; right: -2px; top: -6px; border: 0; border-left: 9px solid var(--saffron); border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
  .loop-badge { display: none; }
  .service-cols { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .f-brand { grid-column: 1 / -1; }
}

/* ---------- Phone ---------- */
@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
  .wrap { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .header-inner { height: 64px; gap: 12px; }
  .site-header.nav-open .nav { top: 64px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .logo { font-size: 1.6rem; }
  .header-contact { gap: 8px; }
  .header-contact .btn-wa { display: none; }
  .hero { padding-top: 32px; }
  .hero-grid { grid-template-areas: "copy" "fare" "map"; }
  .hero-copy { padding-bottom: 24px; }
  .lede { font-size: 1.06rem; margin-bottom: 20px; }
  .fare { margin-top: 0; padding: 16px; box-shadow: none; z-index: auto; }
  .fare-top { flex-direction: column; align-items: stretch; }
  .tabs { display: flex; }
  .tab { flex: 1; padding-inline: 8px; }
  .fields-flights, .fields-holidays { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .route { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .route .f-from, .route .f-to { padding-left: 14px; padding-right: 60px; }
  .swap { left: auto; right: 14px; translate: 0 -50%; rotate: 90deg; width: 40px; height: 40px; }
  .swap:hover { transform: none; }
  .fbox { height: 60px; }
  .fbox, .fbox:hover, .fbox:focus-within, .fbox.is-open, .fbox:has(.fbox-btn.is-active) { z-index: auto; }
  .ac-list { width: auto; left: -1px; right: -1px; max-height: 50vh; }
  .pop.sheet {
    position: fixed; top: auto; left: 0 !important; right: 0; bottom: 0; z-index: 90; width: auto; max-width: none; max-height: 86vh; overflow: auto;
    border-radius: 20px 20px 0 0; padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px)); animation: sheet-up .25s ease-out;
  }
  .pop.sheet::before { content: ""; display: block; width: 40px; height: 4px; margin: 0 auto 12px; border-radius: 4px; background: var(--line-2); }
  .cal.sheet { padding-top: 10px; }
  .pax-pop.sheet { padding-top: 10px; }
  .sel-list.sheet { padding-top: 10px; }
  .sel-opt { padding: 14px 12px; }
  .cal-day { height: 44px; }
  .cal-day span { width: 42px; height: 42px; }
  html.sheet-open { overflow: hidden; }
  .fare-foot { flex-direction: column-reverse; align-items: stretch; }
  .fare-foot .btn { width: 100%; }
  .map-card { margin-top: 24px; padding: 44px 12px 8px; }
  .map-card figcaption { left: 16px; top: 14px; font-size: .82rem; }
  .map-key { display: none; }
  .map-svg .lbl { display: none; }
  .airlines { padding-top: 48px; }
  .section { padding-block: 64px; }
  .section-head { margin-bottom: 28px; }
  .review-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .slides { grid-auto-columns: 74%; gap: 14px; }
  .snav { display: none; }
  .dc-city { font-size: 1.75rem; }
  .marquee-track { gap: 44px; animation-duration: 36s; }
  .proof { padding: 22px; }
  .proof-grid strong { font-size: 2rem; }
  .support-points li { font-size: .95rem; }
  .footer-trust { flex-direction: column; align-items: flex-start; }
  .trip-type { flex-wrap: wrap; gap: 12px 18px; }
  .trip-type label { white-space: nowrap; }
  .trip-type .cabin { flex-basis: 100%; }
  .trip-type .cabin select { width: 100%; height: 44px; border-radius: var(--r-sm); }
  .flex-wrap { flex-basis: 100%; flex-wrap: wrap; justify-content: space-between; row-gap: 8px; }
  .flex-days { flex-wrap: wrap; }
  .loop-steps { margin-left: 28px; }
  .loop-track { width: 18px; }
  .trust-row { gap: 12px 20px; }
  .review.feature { padding: 24px; }
  .review.feature blockquote { font-size: 1.25rem; }
  .cta-row .btn { flex: 1 1 auto; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .mobile-bar {
    display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
    background: var(--white); border-top: 1px solid var(--line);
  }
  .mobile-bar .btn { flex: 1; min-height: 50px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .map-svg .flow { animation: none !important; opacity: 0 !important; }
  .marquee { overflow-x: auto; }
  .marquee-track { animation: none; }
  .dcard, .dc-media img, .dc-go, .snav { transition: none; }
}

.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; }
[hidden] { display: none !important; }

/* Privacy page */
.legal { padding-block: 72px 96px; }
.legal-inner > * { max-width: 760px; }
.legal h1 { font-size: clamp(2rem, 3.6vw, 2.75rem); margin-bottom: 24px; }
.legal h2 { font-size: 1.35rem; margin: 40px 0 10px; }
.legal p:not(.kicker) { color: var(--slate); font-size: 1.05rem; line-height: 1.65; max-width: 38em; }
.legal a { color: var(--blue); font-weight: 600; }
.legal-draft { padding: 16px 20px; background: var(--mist); border-left: 3px solid var(--saffron); border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.legal-draft strong { color: var(--ink); }
@media (max-width: 640px) { .legal { padding-block: 48px 64px; } }
@keyframes sheet-up { from { transform: translateY(40px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .hp-live::after { animation: none; } .pop.sheet { animation: none; } }
.legal-updated { margin-top: -12px; font-size: .95rem !important; color: var(--muted) !important; }
.legal ul { max-width: 38em; margin: 10px 0 14px; padding-left: 1.2em; color: var(--slate); font-size: 1.05rem; line-height: 1.6; }
.legal li + li { margin-top: 4px; }
.legal p + p { margin-top: 12px; }
