/* Route-specific photography and credits. */
.route-visuals {
  position: relative;
  overflow: hidden;
  padding: clamp(76px, 9vw, 132px) 0;
  border-bottom: 1px solid var(--line-soft);
  background:
    radial-gradient(circle at 86% 8%, rgba(201, 154, 46, .09), transparent 26%),
    linear-gradient(180deg, #020b18 0%, #061326 100%);
}

.route-visuals-head {
  display: grid;
  gap: 22px;
  align-items: end;
  margin-bottom: clamp(38px, 5vw, 64px);
}

@media (min-width: 820px) {
  .route-visuals-head { grid-template-columns: minmax(0, .75fr) minmax(280px, .35fr); }
}

.route-visuals-head .d2 { max-width: 14ch; }
.route-visuals-head .lead { max-width: 39ch; }

.route-gallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 24px);
}

.route-photo {
  position: relative;
  isolation: isolate;
  grid-column: span 6;
  min-height: clamp(330px, 39vw, 520px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  background: #07162a;
  box-shadow: 0 28px 72px rgba(0, 0, 0, .22);
}

.route-photo--origin { grid-column: span 7; }
.route-photo--destination { grid-column: span 5; }
.route-photo--aircraft {
  grid-column: 1 / -1;
  min-height: clamp(300px, 34vw, 460px);
}

.route-photo img {
  position: absolute;
  inset: 0;
  z-index: -2;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.94) contrast(1.03) brightness(.96);
  transform: scale(1.002);
  transition: transform 1.2s cubic-bezier(.16, 1, .3, 1), filter .8s ease;
}

.route-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(2, 11, 24, .02) 36%, rgba(2, 11, 24, .84) 100%);
}

.route-photo:hover img {
  transform: scale(1.035);
  filter: saturate(1.02) contrast(1.02) brightness(1.03);
}

.route-photo figcaption {
  position: absolute;
  right: clamp(20px, 3vw, 36px);
  bottom: clamp(20px, 3vw, 34px);
  left: clamp(20px, 3vw, 36px);
  display: grid;
  gap: 7px;
}

.route-photo-label {
  color: var(--champagne-2);
  font-family: var(--sans);
  font-size: .63rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.route-photo strong {
  color: var(--ivory);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.5vw, 2.25rem);
  font-weight: 400;
  line-height: 1.05;
}

.route-photo-credit {
  color: rgba(255, 255, 255, .64);
  font-size: .62rem;
  line-height: 1.45;
}

.route-photo-credit a {
  color: rgba(255, 255, 255, .8);
  text-decoration-color: rgba(201, 154, 46, .6);
  text-underline-offset: 3px;
}

.route-photo-credit a:hover { color: var(--champagne-2); }

@media (max-width: 760px) {
  .route-gallery { grid-template-columns: 1fr; }
  .route-photo,
  .route-photo--origin,
  .route-photo--destination,
  .route-photo--aircraft {
    grid-column: 1;
    min-height: 360px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .route-photo img { transition: none; }
  .route-photo:hover img { transform: none; }
}

/* Route-specific price, destination and climate context. */
.route-intel {
  position: relative;
  overflow: hidden;
  padding: clamp(76px, 9vw, 132px) 0;
  border-bottom: 1px solid var(--line-soft);
  background:
    radial-gradient(circle at 15% 10%, rgba(201, 154, 46, .1), transparent 25%),
    linear-gradient(150deg, #07162a 0%, #020b18 64%);
}

.route-intel::after {
  content: "";
  position: absolute;
  right: -14vw;
  bottom: -22vw;
  width: 48vw;
  height: 48vw;
  border: 1px solid rgba(201, 154, 46, .13);
  border-radius: 50%;
  pointer-events: none;
}

.route-intel-head {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 24px;
  align-items: end;
  margin-bottom: clamp(38px, 5vw, 62px);
}

@media (min-width: 880px) {
  .route-intel-head { grid-template-columns: minmax(0, 1fr) minmax(300px, .55fr); }
}

.route-intel-head .d2 { max-width: 15ch; }
.route-intel-head .lead { max-width: 43ch; }

.route-intel-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 22px);
}

.route-price,
.route-place {
  min-width: 0;
  padding: clamp(26px, 3.2vw, 44px);
  border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(255, 255, 255, .035);
  box-shadow: 0 26px 62px rgba(0, 0, 0, .18);
}

.route-price {
  border-color: rgba(201, 154, 46, .35);
  background:
    linear-gradient(145deg, rgba(201, 154, 46, .13), rgba(255, 255, 255, .025) 55%),
    rgba(2, 11, 24, .7);
}

.route-intel-label {
  display: block;
  margin-bottom: 20px;
  color: var(--champagne-2);
  font-family: var(--sans);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .18em;
  line-height: 1.45;
  text-transform: uppercase;
}

.route-price h3,
.route-place h3 {
  margin: 0;
  color: var(--ivory);
  font-family: var(--serif);
  font-size: clamp(1.65rem, 2.45vw, 2.45rem);
  font-weight: 400;
  line-height: 1.05;
}

.route-price > strong {
  display: block;
  margin-top: 24px;
  color: var(--champagne-2);
  font-family: var(--serif);
  font-size: clamp(2rem, 3.45vw, 3.5rem);
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: .96;
}

.route-price > small {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, .48);
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.route-price dl { margin: 28px 0 0; }
.route-price dl div {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}
.route-price dt,
.route-climate b {
  color: rgba(255, 255, 255, .58);
  font-family: var(--sans);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .13em;
  line-height: 1.45;
  text-transform: uppercase;
}
.route-price dd {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, .78);
  font-size: .8rem;
  line-height: 1.6;
}

.route-place > p {
  margin: 22px 0 0;
  color: rgba(255, 255, 255, .7);
  font-size: .88rem;
  line-height: 1.72;
}

.route-climate {
  display: grid;
  gap: 8px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}
.route-climate span {
  color: rgba(255, 255, 255, .76);
  font-size: .8rem;
  line-height: 1.65;
}

.route-price-note {
  position: relative;
  z-index: 1;
  max-width: 118ch;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, .48);
  font-size: .68rem;
  line-height: 1.65;
}

@media (max-width: 980px) {
  .route-intel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .route-price { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .route-intel { padding: 70px 0; }
  .route-intel-grid { grid-template-columns: 1fr; }
  .route-price { grid-column: 1; }
  .route-price,
  .route-place { padding: 26px 22px; }
  .route-price > strong { font-size: clamp(2rem, 10vw, 2.8rem); }
}

/* Contextual quote form shared by every individual route page. */
body.route-quote-open {
  width: 100%;
  overflow: hidden;
  overscroll-behavior: none;
}

.route-quote,
.route-quote * { box-sizing: border-box; }

.route-quote {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: clamp(16px, 3vw, 38px);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity .32s ease, visibility 0s linear .32s;
}

.route-quote.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition-delay: 0s;
}

.route-quote-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 6, 16, .78);
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
}

.route-quote-dialog {
  position: relative;
  width: min(920px, 100%);
  max-height: min(860px, calc(100svh - 34px));
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: clamp(30px, 4vw, 56px);
  border: 1px solid rgba(201, 154, 46, .28);
  background:
    radial-gradient(circle at 96% 0%, rgba(201, 154, 46, .14), transparent 34%),
    linear-gradient(145deg, rgba(8, 24, 44, .99), rgba(2, 11, 24, .99));
  box-shadow: 0 38px 120px rgba(0, 0, 0, .58);
  transform: translate3d(0, 28px, 0) scale(.985);
  transition: transform .48s cubic-bezier(.16, 1, .3, 1);
}

.route-quote.is-open .route-quote-dialog { transform: translate3d(0, 0, 0) scale(1); }

.route-quote-close {
  position: absolute;
  z-index: 2;
  top: 18px;
  right: 18px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .17);
  border-radius: 50%;
  background: rgba(255, 255, 255, .025);
  color: var(--ivory);
  font: 300 1.55rem/1 var(--sans);
  cursor: pointer;
  transition: border-color .25s ease, background .25s ease, transform .25s ease;
}

.route-quote-close:hover {
  border-color: rgba(201, 154, 46, .72);
  background: rgba(201, 154, 46, .1);
  transform: rotate(5deg);
}

.route-quote-head { max-width: 690px; }
.route-quote-head .eyebrow { margin-bottom: 18px; }

.route-quote-head h2 {
  margin: 0;
  color: var(--ivory);
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.035em;
}

.route-quote-head h2 em {
  display: inline-block;
  color: var(--champagne-2);
  font-style: italic;
  white-space: nowrap;
}

.route-quote-head > p:last-child {
  max-width: 62ch;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, .68);
  font-size: .94rem;
  line-height: 1.7;
}

.route-quote-form { margin-top: clamp(26px, 4vw, 42px); }

.route-quote-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 16px;
}

.route-quote-grid label { display: grid; min-width: 0; gap: 9px; }
.route-quote-grid label > span {
  color: rgba(255, 255, 255, .73);
  font-family: var(--sans);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.route-quote-grid label small {
  color: rgba(255, 255, 255, .38);
  font-size: .58rem;
  letter-spacing: .06em;
}

.route-quote-grid input,
.route-quote-grid textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 0;
  outline: 0;
  background: rgba(255, 255, 255, .035);
  color: var(--ivory);
  font: 500 .88rem/1.45 var(--sans);
  transition: border-color .22s ease, background .22s ease, box-shadow .22s ease;
}

.route-quote-grid input { height: 54px; padding: 0 17px; }
.route-quote-grid textarea { min-height: 94px; padding: 14px 17px; resize: vertical; }
.route-quote-grid input[readonly] { color: var(--champagne-2); background: rgba(201, 154, 46, .055); }
.route-quote-grid input:focus,
.route-quote-grid textarea:focus {
  border-color: rgba(201, 154, 46, .82);
  background: rgba(255, 255, 255, .055);
  box-shadow: 0 0 0 3px rgba(201, 154, 46, .08);
}
.route-quote-grid input::placeholder,
.route-quote-grid textarea::placeholder { color: rgba(255, 255, 255, .32); }
.route-quote-wide { grid-column: 1 / -1; }

.route-quote-submit-row {
  display: flex;
  gap: 22px;
  align-items: center;
  margin-top: 22px;
}

.route-quote-submit-row .btn { flex: 0 0 auto; }
.route-quote-submit-row .btn:disabled { opacity: .58; cursor: wait; }
.route-quote-note {
  display: none;
  margin: 0;
  color: rgba(255, 255, 255, .72);
  font-size: .8rem;
  line-height: 1.5;
}
.route-quote-note.is-visible { display: block; }
.route-quote-note.is-success { color: #b9dfc5; }
.route-quote-note.is-error { color: #f1b7b7; }

@media (max-width: 680px) {
  .route-quote {
    display: block;
    padding: 0;
    overflow: hidden;
  }
  .route-quote-dialog {
    width: 100vw;
    max-width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    margin: 0;
    padding: max(28px, calc(18px + env(safe-area-inset-top))) 18px calc(30px + env(safe-area-inset-bottom));
    border: 0;
    border-radius: 0;
    transform: translate3d(0, 18px, 0);
  }
  .route-quote.is-open .route-quote-dialog { transform: translate3d(0, 0, 0); }
  .route-quote-close { top: 14px; right: 14px; width: 40px; height: 40px; }
  .route-quote-head { max-width: none; padding-right: 48px; }
  .route-quote-head .eyebrow { margin-bottom: 13px; }
  .route-quote-head h2 {
    max-width: 100%;
    font-size: clamp(2rem, 9.7vw, 2.65rem);
    line-height: .98;
    overflow-wrap: anywhere;
  }
  .route-quote-head h2 em {
    display: block;
    margin-top: .12em;
    white-space: normal;
  }
  .route-quote-head > p:last-child { margin-top: 13px; font-size: .83rem; line-height: 1.55; }
  .route-quote-form { margin-top: 22px; }
  .route-quote-grid { grid-template-columns: 1fr; gap: 13px; }
  .route-quote-grid input,
  .route-quote-grid textarea {
    max-width: 100%;
    font-size: 16px;
  }
  .route-quote-grid input { height: 50px; }
  .route-quote-grid input[type="date"] { min-width: 0; }
  .route-quote-wide { grid-column: 1; }
  .route-quote-submit-row { display: grid; gap: 13px; }
  .route-quote-submit-row .btn {
    width: 100%;
    max-width: 100%;
    justify-content: center;
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  .route-quote,
  .route-quote-dialog { transition: none; }
}
