/* Landing sections: door to aircraft, aircraft stack, numbers, destinations, empty legs, process, request, footer.
   Shared tokens, header, hero, porthole, onboard, globe and FAQ live in site.css. */

/* ---------- door to aircraft: the drive, the terminal, the car at the stairs ----------
   Plain by default (a photo above each step); JS adds .is-pinned where the screen has room for the scene
   and moves the photos into the stage, where each one rises over the previous. */
.transfer { position: relative; background: var(--cloud); }
.transfer__pin { padding: var(--section) 0; }
.transfer__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(32px, 5.5vw, 100px); align-items: start; }
.transfer__copy h2 { max-width: 12ch; }
.transfer__copy .lead { max-width: 42ch; margin: 22px 0 34px; }
.tsteps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 32px); }
.tstep { display: grid; grid-template-columns: 72px minmax(0, 1fr); align-content: start; gap: 0 16px; }
.tstep__shot { position: relative; display: block; grid-column: 1 / -1; overflow: hidden; aspect-ratio: 4 / 5; margin-bottom: 22px; border-radius: 24px; background: var(--mist-2); }
.tstep__shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tstep__shot::after { content: ''; position: absolute; inset: 0; background: var(--night); opacity: var(--dim, 0); pointer-events: none; }
.tstep__time { padding-top: 2px; font: 500 18px/1.3 var(--display); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; color: var(--zenith); }
.tstep__title { margin: 0 0 6px; font: 500 clamp(20px, 1.6vw, 24px)/1.22 var(--display); letter-spacing: -0.02em; }
.tstep__body p { margin: 0; max-width: 44ch; font-size: 15.5px; line-height: 1.5; color: var(--ink-2); }
.transfer__note { margin: 28px 0 0; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--ink-3); }
.transfer__stage { display: none; }
/* pinned scene */
.transfer.is-pinned { height: 330vh; }
.transfer.is-pinned .transfer__pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; overflow: hidden; padding: 0; }
.transfer.is-pinned .transfer__grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: center; padding-top: calc(var(--header-h) * 0.6); }
.transfer.is-pinned .transfer__copy .lead { margin-bottom: 26px; }
.transfer.is-pinned .tsteps { display: block; }
.transfer.is-pinned .tstep { padding: 18px 0; border-top: 1px solid var(--line); opacity: 0.4; transition: opacity 0.6s var(--ease); }
.transfer.is-pinned .tstep.is-on { opacity: 1; }
.transfer.is-pinned .tstep__time { position: relative; padding-left: 18px; }
.transfer.is-pinned .tstep__time::before { content: ''; position: absolute; left: 0; top: 0.62em; width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); transition: background-color 0.5s, box-shadow 0.5s; }
.transfer.is-pinned .tstep.is-on .tstep__time::before { background: var(--sun); box-shadow: 0 0 0 4px rgba(229, 178, 102, 0.24); }
.transfer.is-pinned .transfer__note { margin-top: 6px; }
.transfer.is-pinned .transfer__stage { position: relative; display: block; height: min(70vh, 640px); overflow: hidden; border-radius: 28px; background: var(--night); box-shadow: 0 40px 90px -50px rgba(10, 18, 41, 0.55); isolation: isolate; }
.transfer__stage::before { content: ''; position: absolute; inset: 0 0 auto; z-index: 2; height: 130px; background: linear-gradient(180deg, rgba(11, 21, 48, 0.42), rgba(11, 21, 48, 0)); pointer-events: none; }
.transfer__stage .tstep__shot { position: absolute; inset: 0; margin: 0; border-radius: 0; aspect-ratio: auto; background: transparent; }
.transfer__stage .tstep__shot + .tstep__shot { clip-path: inset(100% 0 0 0 round 28px); }
.transfer__stage .tstep__shot img { transform-origin: 50% 60%; will-change: transform; }
.tstep:first-child .tstep__shot img { object-position: 68% 50%; }
.transfer__bars { position: absolute; z-index: 3; top: 24px; left: 26px; right: 26px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.transfer__bars i { display: block; height: 2px; overflow: hidden; border-radius: 2px; background: rgba(255, 255, 255, 0.32); }
.transfer__bars i::after { content: ''; display: block; height: 100%; background: #fff; transform: scaleX(var(--f, 0)); transform-origin: left; }

/* phones and upright tablets: one story card fills the screen, the photos rise in it, the steps are its captions */
.transfer.is-story { height: 330vh; }
.transfer.is-story .transfer__pin { position: sticky; top: 0; display: flex; flex-direction: column; height: 100vh; height: 100svh; overflow: hidden; padding: calc(var(--header-h) + 26px) 0 16px; }
.transfer.is-story .transfer__grid { display: flex; flex: 1; flex-direction: column; align-items: stretch; gap: 18px; width: min(100% - 2 * var(--gutter), var(--max)); min-height: 0; margin-inline: auto; }
.transfer.is-story .transfer__copy .lead { margin: 12px 0 0; }
.transfer.is-story .transfer__note { display: none; }
.transfer.is-story .transfer__stage { position: relative; display: grid; grid-template-rows: minmax(0, 1fr) auto; flex: 1; min-height: 0; overflow: hidden; border-radius: 26px; background: var(--night); isolation: isolate; }
/* the photos share the upper cell and rise over each other there; the captions share the lower one, so its height never jumps */
.transfer.is-story .transfer__stage .tstep__shot { position: relative; inset: auto; grid-area: 1 / 1; min-height: 0; }
.transfer.is-story .tstep__shot::before { content: ''; position: absolute; inset: auto 0 0; z-index: 1; height: 38%; background: linear-gradient(0deg, var(--night), rgba(11, 21, 48, 0)); pointer-events: none; }
.transfer.is-story .transfer__bars { top: 16px; left: 18px; right: 18px; }
.transfer.is-story .tsteps { position: relative; z-index: 3; display: grid; grid-area: 2 / 1; padding: 4px 20px 22px; }
.transfer.is-story .tstep { grid-area: 1 / 1; display: block; color: #fff; opacity: 0; transform: translateY(12px); transition: opacity 0.5s var(--ease), transform 0.7s var(--ease-out); }
.transfer.is-story .tstep.is-on { opacity: 1; transform: none; }
.transfer.is-story .tstep__time { display: inline-block; margin-bottom: 10px; padding: 4px 11px; border-radius: 999px; background: rgba(255, 255, 255, 0.12); font-size: 15px; color: var(--sun-2); }
.transfer.is-story .tstep__title { font-size: 24px; color: #fff; }
.transfer.is-story .tstep__body p { font-size: 15px; color: rgba(255, 255, 255, 0.84); }

/* short laptop screens: the steps tighten so the pinned scene fits under the header */
@media (min-width: 901px) and (max-height: 880px) {
  .transfer.is-pinned .transfer__copy h2 { font-size: clamp(36px, min(4.5vw, 7.2vh), 70px); }
  .transfer.is-pinned .transfer__copy .lead { margin: 16px 0 18px; }
  .transfer.is-pinned .tstep { padding: 13px 0; }
  .transfer.is-pinned .tstep__body p { font-size: 14.5px; line-height: 1.45; }
}
@media (min-width: 901px) and (max-height: 800px) {
  .transfer.is-pinned .transfer__note { display: none; }
}

/* ---------- aircraft classes: sticky stack of cards ---------- */
.fleet { padding: var(--section) 0; background: linear-gradient(180deg, var(--cloud) 0%, #e9f0f8 100%); }
.stack { display: grid; gap: clamp(24px, 3vw, 36px); }
.kcard {
  --kc-bg: #fff; --kc-fg: var(--ink); --kc-muted: var(--ink-2); --kc-line: var(--line); --kc-chip: var(--cloud); --kc-accent: var(--zenith);
  position: sticky;
  top: calc(var(--header-h) + 18px + var(--i, 0) * 14px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  min-height: min(74vh, 640px);
  border-radius: 30px;
  overflow: hidden;
  background: var(--kc-bg);
  color: var(--kc-fg);
  box-shadow: 0 30px 80px -50px rgba(10, 18, 41, 0.5);
  transform-origin: 50% 0;
  will-change: transform;
}
.kcard::after { content: ''; position: absolute; inset: 0; background: var(--night); opacity: var(--dim, 0); pointer-events: none; z-index: 3; }
.kcard[data-tone='blue'] { --kc-bg: var(--zenith); --kc-fg: #fff; --kc-muted: rgba(255, 255, 255, 0.74); --kc-line: rgba(255, 255, 255, 0.18); --kc-chip: rgba(255, 255, 255, 0.14); --kc-accent: #fff; }
.kcard[data-tone='sand'] { --kc-bg: var(--sand); --kc-line: rgba(91, 70, 40, 0.14); --kc-chip: rgba(255, 255, 255, 0.6); }
.kcard[data-tone='night'] { --kc-bg: var(--night-2); --kc-fg: #fff; --kc-muted: rgba(234, 240, 248, 0.7); --kc-line: rgba(255, 255, 255, 0.14); --kc-chip: rgba(255, 255, 255, 0.08); --kc-accent: var(--sun-2); }
.kcard[data-tone='sky'] { --kc-bg: var(--sky-2); }
.kcard__body { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 18px; padding: clamp(26px, 3.4vw, 54px); }
.kcard__top { display: flex; align-items: center; gap: 16px; }
.kcard__class { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--kc-line); font-size: 13.5px; color: var(--kc-muted); }
.kcard__title { font: 500 clamp(34px, 3.6vw, 58px)/0.98 var(--display); letter-spacing: -0.045em; }
.kcard__desc { margin: 0; color: var(--kc-muted); max-width: 44ch; }
.kcard__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.kcard__chips span { padding: 7px 13px; border-radius: 999px; background: var(--kc-chip); font-size: 13.5px; }
.kcard__specs { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 6px 34px; margin: 4px 0 0; }
.kcard__specs dt { font-size: 13px; color: var(--kc-muted); }
.kcard__specs dd { margin: 3px 0 0; font: 500 21px/1.15 var(--display); letter-spacing: -0.02em; }
.kcard__foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px; padding-top: 22px; border-top: 1px solid var(--kc-line); }
.kcard__price small { display: block; font-size: 13px; color: var(--kc-muted); margin-bottom: 4px; }
.kcard__price strong { font: 500 clamp(26px, 2.4vw, 36px)/1 var(--display); letter-spacing: -0.035em; color: var(--kc-accent); }
.kcard[data-tone='blue'] .btn--zenith, .kcard[data-tone='night'] .btn--zenith { background: #fff; color: var(--zenith); --fill: var(--sky-2); }
.kcard__media { position: relative; overflow: hidden; background: var(--mist-2); }
.kcard__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.6s var(--ease-out); }
.kcard.is-in .kcard__media img { transform: scale(1); }
.kcard__note { position: absolute; left: 18px; bottom: 18px; z-index: 2; padding: 7px 12px; border-radius: 999px; background: rgba(10, 18, 41, 0.42); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff; font-size: 12.5px; }
.fleet__more { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 40px; margin-top: clamp(40px, 5vw, 64px); padding-top: 28px; border-top: 1px solid var(--line); }
.fleet__more p { margin: 0; color: var(--ink-2); max-width: 60ch; }

/* ---------- numbers: bars that fill from the bottom, figures that roll ---------- */
.numbers { padding: var(--section) 0; background: var(--cloud); }
.bars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; height: clamp(420px, 60vh, 560px); }
.bar { position: relative; overflow: hidden; border-radius: 28px; background: #e9f0fb; padding: 26px; }
.bar__top { position: relative; z-index: 2; display: flex; align-items: baseline; gap: 10px; color: var(--zenith); }
.bar__top > span { font: 500 clamp(18px, 1.6vw, 24px)/1 var(--display); color: var(--ink-2); }
/* Each digit is a column of 0–9 that rolls to its value. Every glyph sits in a box as wide as its tabular
   advance and one line tall, so nothing is clipped; the tight tracking comes from margins between the boxes. */
.odo { display: inline-flex; align-items: flex-start; font: 500 clamp(58px, 6.4vw, 104px)/1 var(--display); letter-spacing: 0; font-variant-numeric: tabular-nums; }
.odo__d, .odo__s { display: inline-block; height: 1.2em; line-height: 1.2em; }
.odo__d { overflow: hidden; }
.odo__d + .odo__d { margin-left: -0.035em; }
.odo__s { margin: 0 -0.02em; }
.odo__d i { display: block; font-style: normal; transition: transform 1.8s var(--ease-out); transition-delay: calc(var(--d, 0) * 140ms + var(--k, 0) * 90ms); }
.odo__d i b { display: block; height: 1.2em; line-height: 1.2em; font-weight: inherit; text-align: center; }
.bar__fill {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: calc(var(--h, 0.5) * 100%);
  min-height: max-content;
  display: flex;
  align-items: flex-end;
  padding: 26px;
  border-radius: 28px;
  background: var(--fill-bg, var(--zenith));
  color: #fff;
  transform: translateY(101%);
  transition: transform 1.5s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 140ms);
}
.bar__fill p { margin: 0; font-size: 16px; line-height: 1.45; max-width: 20ch; color: rgba(255, 255, 255, 0.88); }
.bar--sand { background: var(--sand); }
.bar--sand .bar__fill { --fill-bg: var(--sand-2); }
.bar--sand .bar__fill p { color: var(--ink-2); }
.bar--night .bar__fill { --fill-bg: var(--night); }
.bar--honey { background: #f8efdf; }
.bar--honey .bar__fill { --fill-bg: var(--sun); }
.bar--honey .bar__fill p { color: rgba(14, 26, 51, 0.82); }
.bars.is-in .bar__fill { transform: none; }
.no-motion .bar__fill { transform: none; }

/* ---------- destinations: big rows with a photo that follows the cursor ---------- */
.dest { position: relative; padding: var(--section) 0; overflow: hidden; background: var(--paper); }
.marquee { display: flex; width: max-content; gap: 0.32em; margin-bottom: clamp(48px, 6vw, 90px); font: 500 clamp(56px, 8.6vw, 144px)/1.05 var(--display); letter-spacing: -0.05em; white-space: nowrap; will-change: transform; }
.marquee span { color: var(--ink); }
.marquee span:nth-child(even) { color: var(--zenith); }
.dest__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.drow {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) 140px 170px;
  align-items: center;
  gap: 24px;
  padding: 26px 10px;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
  transition: padding 0.6s var(--ease-out), color 0.45s;
}
.drow::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--zenith); transform: scaleY(0); transform-origin: 50% 100%; transition: transform 0.6s var(--ease-out); }
.drow:hover, .drow:focus-visible { color: #fff; padding-left: 28px; padding-right: 28px; }
.drow:hover::before, .drow:focus-visible::before { transform: scaleY(1); }
.drow__city { font: 500 clamp(28px, 3.3vw, 54px)/1.04 var(--display); letter-spacing: -0.04em; }
.drow__note { font-size: 15px; color: var(--ink-2); transition: color 0.45s; }
.drow__time, .drow__price { font-size: 14px; text-align: right; color: var(--ink-3); transition: color 0.45s; }
.drow__time strong, .drow__price strong { display: block; font: 500 19px/1.2 var(--display); letter-spacing: -0.02em; color: var(--ink); transition: color 0.45s; }
.drow:hover :is(.drow__note, .drow__time, .drow__price), .drow:focus-visible :is(.drow__note, .drow__time, .drow__price) { color: rgba(255, 255, 255, 0.72); }
.drow:hover strong, .drow:focus-visible strong { color: #fff; }
.drow__thumb { display: none; }
.dest__all { margin: 30px 0 0; font-size: 16px; }
.dest__preview { position: fixed; z-index: 4; left: 0; top: 0; pointer-events: none; will-change: transform; }
.dest__card {
  position: relative;
  width: 280px;
  aspect-ratio: 4 / 5;
  border-radius: 26px;
  overflow: hidden;
  background: var(--mist);
  box-shadow: 0 40px 80px -30px rgba(10, 18, 41, 0.55);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.84) rotate(-6deg);
  transition: opacity 0.2s var(--ease), transform 0.45s var(--ease-out);
}
.dest__preview.is-visible .dest__card { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(var(--rot, 0deg)); }
.dest__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 0.25s var(--ease), transform 0.7s var(--ease-out); }
.dest__card img.is-current { opacity: 1; transform: none; }

/* ---------- empty legs: the jet flies back empty, a boarding pass subscribes you ---------- */
.empty { position: relative; overflow: hidden; padding: var(--section) 0; background: linear-gradient(160deg, #3260e2 0%, #1d43b8 100%); color: #fff; }
/* a low evening sun in the corner: the warm side of the brand */
.empty::before { content: ''; position: absolute; right: -16vw; top: -30vw; width: 66vw; height: 66vw; border-radius: 50%; background: radial-gradient(circle, rgba(245, 213, 151, 0.42) 0%, rgba(229, 178, 102, 0.16) 34%, rgba(229, 178, 102, 0) 64%); pointer-events: none; }
.empty__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 470px); gap: clamp(40px, 7vw, 120px); align-items: center; }
.empty .tone { color: rgba(255, 255, 255, 0.62); }
.empty .lead { max-width: 40ch; margin-top: 22px; color: rgba(255, 255, 255, 0.84); }
.empty__how { max-width: 46ch; margin: 0; font-size: 15.5px; color: rgba(255, 255, 255, 0.74); }
/* the empty leg, drawn: out with passengers on the upper arc, back empty on the lower one */
.legs { position: relative; max-width: 560px; margin: clamp(24px, 3vw, 40px) 0 clamp(22px, 3vw, 34px); padding: 30px 0 50px; }
.legs__map { position: relative; }
.legs__map svg { display: block; width: 100%; height: auto; overflow: visible; }
.legs__out, .legs__back { fill: none; stroke-linecap: round; }
.legs__out { stroke: rgba(255, 255, 255, 0.5); stroke-width: 1.5; }
.legs__back { stroke: var(--sun); stroke-width: 2.5; }
.legs__pt { fill: #fff; }
.legs__halo { fill: rgba(255, 255, 255, 0.16); }
.legs__gull { fill: var(--sun-2); }
.js-motion .legs__out, .js-motion .legs__back { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.1s var(--ease-out); }
.js-motion .legs__back { transition-duration: 1.6s; transition-delay: 0.55s; }
.js-motion .legs__gull { opacity: 0; transition: opacity 0.4s 0.55s; }
.js-motion .legs.is-in :is(.legs__out, .legs__back) { stroke-dashoffset: 0; }
.js-motion .legs.is-in .legs__gull { opacity: 1; }
.legs__city { position: absolute; top: 50%; font: 500 15px/1 var(--display); color: #fff; transform: translateY(-50%); }
.legs__city--a { right: calc(82.5% + 16px); }
.legs__city--b { left: calc(82.5% + 16px); }
.legs__tag { position: absolute; left: 50%; width: max-content; max-width: 70%; font-size: 13.5px; line-height: 1.4; text-align: center; color: rgba(255, 255, 255, 0.72); transform: translateX(-50%); }
.legs__tag--out { top: 18px; }
.legs__tag--back { bottom: 0; }
.legs__tag b { font-weight: 500; color: var(--sun-2); }
/* boarding pass: warm paper, real notches cut at the perforation (a mask, so the section shows through) */
.empty__pass { filter: drop-shadow(0 50px 60px rgba(6, 18, 62, 0.45)); }
.ticket {
  --ny: 168px;
  position: relative;
  display: grid;
  border-radius: 28px;
  background: #fffaf2;
  color: var(--ink);
  -webkit-mask: radial-gradient(circle at 0 var(--ny), transparent 13px, #000 13.5px) left / 51% 100% no-repeat, radial-gradient(circle at 100% var(--ny), transparent 13px, #000 13.5px) right / 51% 100% no-repeat;
  mask: radial-gradient(circle at 0 var(--ny), transparent 13px, #000 13.5px) left / 51% 100% no-repeat, radial-gradient(circle at 100% var(--ny), transparent 13px, #000 13.5px) right / 51% 100% no-repeat;
}
.ticket__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 24px 28px 0; font-size: 13px; color: var(--ink-3); }
.ticket__brand { display: inline-flex; align-items: center; color: var(--ink); }
.ticket__brand .logo { height: 20px; width: auto; --logo-mark: var(--zenith); }
.ticket__route { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: end; gap: 14px; padding: 22px 28px 28px; }
.ticket__end strong { display: flex; font: 500 46px/1 var(--display); letter-spacing: -0.03em; }
.ticket__end span { display: block; margin-top: 6px; font-size: 13px; color: var(--ink-3); }
.ticket__end--to { text-align: right; }
.ticket__end--to strong { justify-content: flex-end; }
.ticket__to { color: var(--zenith); perspective: 300px; }
.ticket__to span { display: inline-block; margin: 0; font-size: inherit; color: inherit; transform-origin: 50% 60%; }
.ticket__to .is-flip { animation: flap 0.55s var(--ease-out) both; animation-delay: calc(var(--k, 0) * 70ms); }
@keyframes flap { from { opacity: 0; transform: rotateX(-90deg); } to { opacity: 1; transform: none; } }
.ticket__arc { position: relative; height: 40px; margin-bottom: 18px; }
.ticket__path { display: block; width: 100%; height: 100%; overflow: visible; }
.ticket__path path { fill: none; stroke: var(--sun); stroke-width: 1.5; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.ticket__plane { position: absolute; left: 50%; top: -6px; width: 30px; height: auto; color: var(--zenith); transform: translateX(-50%); }
.ticket__body { position: relative; display: grid; gap: 16px; padding: 26px 28px 24px; }
/* perforation: a row of dots between the notches */
.ticket__body::before, .ticket__stub::before { content: ''; position: absolute; top: -1px; left: 24px; right: 24px; height: 2px; background: radial-gradient(circle, rgba(14, 26, 51, 0.26) 1px, transparent 1.4px) 0 50% / 8px 2px repeat-x; }
.ticket__dirs { border: 0; margin: 0; padding: 0; min-width: 0; }
.ticket__dirs legend { font-size: 13.5px; color: var(--ink-3); margin-bottom: 10px; padding: 0; }
.chips-select { display: flex; flex-wrap: wrap; gap: 6px; }
.chips-select label { position: relative; }
.chips-select input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips-select span { display: inline-block; padding: 7px 13px; border-radius: 999px; border: 1px solid rgba(14, 26, 51, 0.16); font-size: 14px; cursor: pointer; transition: background-color 0.3s, color 0.3s, border-color 0.3s; }
.chips-select span:hover { border-color: var(--zenith); }
.chips-select input:checked + span { background: var(--zenith); border-color: var(--zenith); color: #fff; }
.chips-select input:focus-visible + span { outline: 2px solid var(--zenith); outline-offset: 2px; }
.ticket__field { display: grid; gap: 3px; padding: 10px 16px; border-radius: 16px; background: #f4ece0; transition: box-shadow 0.3s; }
.ticket__field span { font-size: 12.5px; color: var(--ink-2); }
.ticket__field input { border: 0; background: transparent; padding: 2px 0; font-size: 16.5px; min-width: 0; }
.ticket__field input:focus { outline: none; }
.ticket__field:focus-within { box-shadow: inset 0 0 0 1px var(--zenith); }
.ticket .check input { accent-color: var(--zenith); }
.ticket__stub { position: relative; display: flex; justify-content: space-between; gap: 16px; padding: 20px 28px 24px; font-size: 13px; line-height: 1.35; color: var(--ink-3); }
.ticket__stub span:last-child { text-align: right; }
.ticket__stub b { display: block; margin-bottom: 3px; font: 500 21px/1.1 var(--display); letter-spacing: -0.02em; color: var(--ink); }

/* ---------- process: one consultant, one conversation ---------- */
.process { padding: var(--section) 0; background: var(--paper); }
.process__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: clamp(40px, 5vw, 80px); align-items: start; }
.process__aside h2 { font-size: clamp(36px, 4vw, 62px); }
.process__aside { position: sticky; top: calc(var(--header-h) + 56px); }
.process__aside .lead { margin: 22px 0 0; }
/* what we guarantee, on the warm side of the palette */
.assure { margin: clamp(34px, 4vw, 52px) 0 0; padding: 6px 30px; border-radius: 26px; background: var(--sand); }
.assure div { padding: 20px 0; }
.assure div + div { border-top: 1px solid rgba(91, 70, 40, 0.14); }
.assure dt { margin-bottom: 6px; font: 500 19px/1.3 var(--display); letter-spacing: -0.015em; }
.assure dd { margin: 0; max-width: 52ch; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.chat { padding: 10px 10px 22px; border-radius: 32px; background: var(--cloud); box-shadow: inset 0 0 0 1px var(--line); }
.chat__head { display: flex; align-items: center; gap: 12px; padding: 12px 14px 16px; border-bottom: 1px solid var(--line); }
.chat__avatar { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--zenith); color: #fff; }
.chat__avatar .mark { width: 26px; height: auto; margin-top: 3px; }
.chat__head strong { display: block; font: 500 16px/1.25 var(--display); }
.chat__head small { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--ink-3); }
.chat__head small::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--sun); }
.chat__list { list-style: none; margin: 0; padding: 6px 12px 0; display: grid; gap: 10px; }
.chat__stage { justify-self: center; margin: 16px 0 4px; padding: 5px 13px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--line); font-size: 12.5px; color: var(--ink-3); }
.msg { max-width: 86%; padding: 12px 16px 9px; border-radius: 22px; font-size: 15.5px; line-height: 1.45; }
.msg p { margin: 0; }
.msg time { display: block; margin-top: 4px; font-size: 12px; text-align: right; font-variant-numeric: tabular-nums; opacity: 0.62; }
.msg--guest { justify-self: end; border-bottom-right-radius: 8px; background: var(--zenith); color: #fff; }
.msg--agent { justify-self: start; border-bottom-left-radius: 8px; background: #fff; color: var(--ink); box-shadow: 0 1px 0 var(--line), 0 14px 30px -24px rgba(10, 18, 41, 0.4); }
.chat__options { display: grid; margin: 12px 0 4px; overflow: hidden; border-radius: 16px; background: var(--cloud); }
.chat__option { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 2px 14px; padding: 11px 14px; font-size: 14.5px; }
.chat__option + .chat__option { border-top: 1px solid var(--line); }
.chat__option strong { font-weight: 500; }
.chat__option small { grid-column: 1; font-size: 13px; color: var(--ink-3); }
.chat__option b { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-weight: 500; color: var(--zenith); white-space: nowrap; }
.chat__files { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 2px; }
.chat__files span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 12px; background: var(--sand); font-size: 13.5px; }
.chat__files span::before { content: ''; width: 12px; height: 15px; border-radius: 2px 5px 2px 2px; background: var(--sun); }
/* the conversation unfolds as it scrolls into view; the consultant "types" first */
.js-motion .chat__list > li { opacity: 0; transform: translateY(16px); transition: opacity 0.6s var(--ease-out), transform 0.8s var(--ease-out); }
.js-motion .chat__list > li.is-in { opacity: 1; transform: none; }
.msg--agent.is-typing > * { visibility: hidden; }
.msg--agent.is-typing { position: relative; min-width: 74px; min-height: 42px; }
.msg--agent.is-typing::after { content: ''; position: absolute; left: 18px; top: 50%; width: 6px; height: 6px; border-radius: 50%; background: var(--ink-3); box-shadow: 12px 0 0 var(--ink-3), 24px 0 0 var(--ink-3); transform: translateY(-50%); animation: typing 1s ease-in-out infinite; }
@keyframes typing { 50% { opacity: 0.35; } }

/* ---------- faq tweak ---------- */
.faq .tlink { margin-top: 8px; }

/* ---------- request: an inset night card with the form among floating photos ---------- */
.finale {
  position: relative;
  overflow: hidden;
  min-height: 92vh;
  display: flex;
  align-items: center;
  margin: 0 20px;
  padding: calc(var(--section) * 0.9) 0;
  border-radius: 34px;
  background: radial-gradient(80% 60% at 50% 42%, #18306a 0%, var(--night) 72%);
  color: #fff;
  text-align: center;
}
.finale__float { position: absolute; inset: 0; pointer-events: none; }
/* each photo bobs on its own clock, rises with the scroll at its own depth and leans away from the cursor */
.finale__float figure { --ww: var(--w); position: absolute; left: var(--x); top: var(--y); width: var(--ww); margin: 0; will-change: transform; }
.float__bob { display: block; animation: float-bob var(--t, 9s) ease-in-out var(--delay, 0s) infinite alternate; }
.float__card { position: relative; display: block; aspect-ratio: var(--ar, 4 / 5); overflow: hidden; border-radius: 22px; box-shadow: 0 40px 70px -30px rgba(0, 0, 0, 0.7); opacity: 0.9; transform: translate3d(calc(var(--mx, 0) * var(--depth, 1) * -14px), calc(var(--my, 0) * var(--depth, 1) * -10px), 0); transition: transform 0.9s var(--ease-out); }
.finale__float figure.is-far .float__card { opacity: 0.6; }
.finale__float img { width: 100%; height: 100%; object-fit: cover; animation: float-pan calc(var(--t, 9s) * 1.7) ease-in-out var(--delay, 0s) infinite alternate; }
@keyframes float-bob { from { transform: translateY(-9px) rotate(-1.2deg); } to { transform: translateY(9px) rotate(1.2deg); } }
@keyframes float-pan { from { transform: scale(1.14) translateX(-3%); } to { transform: scale(1.03) translateX(3%); } }
.finale__inner { position: relative; z-index: 2; max-width: 820px; }
.finale h2 { font-size: clamp(58px, 9.4vw, 156px); line-height: 0.94; letter-spacing: -0.055em; margin-bottom: 22px; }
.finale .tone { color: rgba(234, 240, 248, 0.42); }
.finale .lead { margin: 0 auto 34px; max-width: 44ch; color: rgba(255, 255, 255, 0.8); }
.lead-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 12px; border-radius: 28px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.16); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); text-align: left; }
.lf { display: grid; gap: 2px; padding: 10px 16px; border-radius: 16px; background: rgba(255, 255, 255, 0.07); transition: background-color 0.3s, box-shadow 0.3s; }
.lf span { font-size: 12.5px; color: rgba(255, 255, 255, 0.62); }
.lf input, .lf select { width: 100%; min-width: 0; border: 0; background: transparent; color: #fff; font-size: 16.5px; padding: 3px 0; color-scheme: dark; -webkit-appearance: none; appearance: none; }
.lf select option { color: var(--ink); }
.lf input::placeholder { color: rgba(255, 255, 255, 0.45); }
.lf input:focus, .lf select:focus { outline: none; }
.lf:focus-within { background: rgba(255, 255, 255, 0.13); box-shadow: inset 0 0 0 1px rgba(158, 192, 255, 0.7); }
.lf--wide { grid-column: 1 / -1; }
.lf input[type='date'] { min-height: 1.6em; }
.lead-form .check { padding: 6px 8px; }
.lead-form .form-error { margin: 0 8px; color: var(--sun-2); }
.lead-form .btn { height: 60px; border-radius: 18px; }
.finale__contacts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; }
.finale__contacts:empty { display: none; }

/* ---------- footer: the name stands on the top edge of a warm panel ----------
   The wordmark is the logo's own outline (one SVG per letter, so nothing overlaps or gets clipped);
   it is pulled up by half its height, so the panel's edge runs through the middle of the letters. */
.site-footer { position: relative; padding: clamp(110px, 14vw, 220px) 20px 20px; background: transparent; color: var(--ink-2); }
.footer__panel { position: relative; display: flow-root; padding-bottom: clamp(26px, 3vw, 40px); border-radius: 34px; background: var(--sand); }
.footer__giant { position: relative; width: calc(100% - 2 * var(--gutter)); margin: calc(-0.52 * 0.2064 * (100% - 2 * var(--gutter))) auto 0; aspect-ratio: 361 / 74.5; }
.footer__giant svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; fill: var(--zenith); }
.footer__giant g { transform-box: fill-box; transform-origin: 50% 100%; }
.js-motion .footer__giant g { opacity: 0; transform: translateY(46%); transition: opacity 0.9s var(--ease-out), transform 1.3s var(--ease-out); transition-delay: calc(var(--i) * 55ms); }
.js-motion .footer__giant.is-in g { opacity: 1; transform: none; }
.footer__cols { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 32px; padding: clamp(40px, 5vw, 68px) 0 44px; border-bottom: 1px solid rgba(91, 70, 40, 0.14); }
.footer__cols h4 { font: 500 14px/1.4 var(--sans); color: var(--ink); margin-bottom: 16px; letter-spacing: 0.02em; }
.footer__cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer__cols ul a { color: var(--ink-2); text-decoration: none; font-size: 15px; transition: color 0.3s; }
.footer__cols ul a:hover { color: var(--zenith); }
.footer__lead { font: 500 clamp(24px, 2.2vw, 32px)/1.2 var(--display); letter-spacing: -0.025em; color: var(--ink); max-width: 16ch; margin-bottom: 26px; }
.footer__contacts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 40px; padding-top: 24px; font-size: 13px; line-height: 1.6; }
.site-footer .footer__legal { color: var(--ink-2); }
.footer__legal p { margin: 0; max-width: 92ch; }
.site-footer .btn--line-light { color: var(--ink); border-color: rgba(14, 26, 51, 0.24); --fill: var(--ink); }
.site-footer .btn--line-light:hover, .site-footer .btn--line-light:focus-visible { color: #fff; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .drow { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) 150px; }
  .drow__time { display: none; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .kcard__specs { grid-template-columns: repeat(2, auto); }
}
@media (max-width: 900px) {
  .tsteps { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .tstep__shot { aspect-ratio: 4 / 3; }
  .kcard { grid-template-columns: 1fr; min-height: 0; }
  .kcard__media { order: -1; aspect-ratio: 16 / 9; }
  .bars { grid-template-columns: repeat(2, minmax(0, 1fr)); height: auto; }
  .bar { height: 300px; }
  .empty__grid { grid-template-columns: 1fr; }
  .empty__pass { max-width: 520px; }
  /* phones: the conversation comes right after the heading, the guarantees follow it */
  .process__grid { grid-template-columns: 1fr; row-gap: 0; }
  .process__aside { display: contents; }
  .process__aside h2 { order: 1; }
  .process__aside .lead { order: 2; }
  .chat { order: 3; max-width: 620px; margin-top: 34px; }
  .assure { order: 4; margin-top: 30px; }
  .finale__float figure:nth-child(n + 9) { display: none; }
}
@media (max-width: 760px) {
  .kcard { border-radius: 24px; }
  .kcard__body { padding: 24px 22px 26px; gap: 14px; }
  .kcard__specs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; }
  .kcard__foot .btn { width: 100%; }
  .bar { height: 240px; padding: 20px; border-radius: 22px; }
  .bar__fill { padding: 20px; border-radius: 22px; }
  .bar__fill p { font-size: 14.5px; }
  .odo { font-size: 56px; }
  .drow { grid-template-columns: 70px minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 14px; row-gap: 2px; padding: 14px 0; }
  .drow::before, .drow__note { display: none; }
  .drow:hover, .drow:focus-visible { padding-left: 0; padding-right: 0; color: inherit; }
  .drow:hover :is(.drow__note, .drow__time, .drow__price), .drow:focus-visible :is(.drow__note, .drow__time, .drow__price) { color: var(--ink-3); }
  .drow:hover strong, .drow:focus-visible strong { color: var(--ink); }
  .drow__thumb { display: block; grid-row: 1 / 3; width: 70px; height: 86px; border-radius: 36px 36px 14px 14px; overflow: hidden; background: var(--mist); }
  .drow__thumb img { width: 100%; height: 100%; object-fit: cover; }
  .drow__city { grid-column: 2; align-self: end; font-size: 24px; }
  .drow__time { display: block; grid-column: 2; grid-row: 2; align-self: start; text-align: left; font-size: 13.5px; }
  .drow__time strong { display: inline; font: inherit; color: inherit; margin-right: 4px; }
  .drow__price { grid-column: 3; grid-row: 1 / 3; align-self: center; font-size: 12.5px; }
  .drow__price strong { font-size: 16px; }
  .dest__preview { display: none; }
  .legs { padding: 24px 0 46px; }
  .legs__city { font-size: 13px; }
  .legs__city--a { right: calc(82.5% + 10px); }
  .legs__city--b { left: calc(82.5% + 10px); }
  .legs__tag { max-width: 92%; font-size: 12.5px; }
  .legs__tag--out { top: 8px; }
  .ticket { --ny: 156px; }
  .ticket__head, .ticket__route, .ticket__body, .ticket__stub { padding-left: 20px; padding-right: 20px; }
  .ticket__end strong { font-size: 38px; }
  .msg { max-width: 92%; font-size: 15px; }
  .chat { padding: 6px 4px 18px; border-radius: 26px; }
  .chat__list { padding: 6px 8px 0; }
  .assure { padding: 4px 22px; }
  .lead-form { grid-template-columns: 1fr; padding: 10px; }
  /* phones keep the wide-screen idea: the photos float around the centred heading at their own depths,
     two of them slide behind the frosted form; the band on top is room for the first ring */
  .finale { display: block; margin: 0 10px; padding: 40vw 0 34px; border-radius: 26px; }
  .finale .lead { margin: 0 auto 30px; }
  .finale__float figure { --ww: var(--pw, var(--w)); left: var(--px, var(--x)); top: var(--py, var(--y)); }
  .finale__float figure:nth-child(n + 8) { display: none; }
  .finale .lead-form { background: rgba(9, 17, 40, 0.42); }
  .float__card { border-radius: 14px; }
  .kcard__reach { grid-column: 1 / -1; }
  .kcard__specs dd { font-size: 18px; }
  .porthole__shade { background: linear-gradient(0deg, rgba(10, 18, 41, 0.86) 0%, rgba(10, 18, 41, 0.45) 45%, rgba(10, 18, 41, 0.1) 75%); }
  .site-footer { padding: 90px 10px 10px; }
  .footer__panel { border-radius: 26px; }
  .footer__cols { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .bar__fill { transform: none; }
  .float__bob, .finale__float img { animation: none; }
}

/* small phones: keep the figures inside their tiles */
@media (max-width: 380px) {
  .odo { font-size: 46px; }
  .bar__top > span { font-size: 15px; }
  .bar { padding: 16px; }
  .bar__fill { padding: 16px; }
  .ticket__end strong { font-size: 32px; }
}
