/* ===========================================================================
   Vista Destination — landing page & search widget
   ---------------------------------------------------------------------------
   Styling for the rebuilt service pages. Navy brand palette, mobile first.
   Deliberately a separate file from the legacy vista-flight.css so the new
   page structure can evolve without risking the existing booking screens.
   =========================================================================== */

:root {
  --lp-navy-900: #02203f;
  --lp-navy-800: #042f5f;
  --lp-navy-700: #063b73;
  --lp-navy-600: #0a4a8f;
  --lp-gold: #f0b429;
  --lp-ink: #0f1b2d;
  --lp-slate: #55677c;
  --lp-line: #e4e9f0;
  --lp-tint: #f6f8fb;
  --lp-white: #fff;
}

.vd-shell { max-width: 1160px; margin-inline: auto; padding-inline: 1.15rem; }
.vd-shell--narrow { max-width: 760px; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.vd-lp-hero {
  position: relative;
  padding: 3rem 0 4.75rem;
  color: var(--lp-white);
  background:
    linear-gradient(150deg, rgba(4, 47, 95, 0.93), rgba(2, 32, 63, 0.97)),
    var(--service-bg, none) center/cover no-repeat;
}

.vd-lp-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lp-gold);
  margin-bottom: 0.75rem;
}

.vd-lp-hero__eyebrow::before {
  content: "";
  width: 20px;
  height: 2px;
  background: var(--lp-gold);
  border-radius: 2px;
}

.vd-lp-hero h1 {
  font-size: clamp(1.65rem, 5.6vw, 2.75rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 0 0 0.75rem;
  max-width: 18ch;
}

.vd-lp-hero p {
  font-size: clamp(0.875rem, 2.4vw, 1.0625rem);
  line-height: 1.65;
  color: rgba(223, 233, 245, 0.9);
  margin: 0;
  max-width: 56ch;
}

/* --------------------------------------------------------------------------
   Search widget — lifted over the hero edge so it is the first thing a
   traveller can act on. Intent is highest right after the headline.
   -------------------------------------------------------------------------- */
.vd-widget { position: relative; z-index: 5; }

.vd-widget__inner {
  max-width: 1000px;
  margin: -3.25rem auto 0;
  background: var(--lp-white);
  border: 1px solid var(--lp-line);
  border-radius: 22px;
  box-shadow: 0 20px 44px -20px rgba(4, 47, 95, 0.3);
  padding: 1.35rem 1.15rem 1.5rem;
}

.vd-widget__title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--lp-ink);
  margin: 0 0 0.3rem;
  letter-spacing: -0.01em;
}

.vd-widget__note {
  font-size: 0.75rem;
  color: var(--lp-slate);
  line-height: 1.5;
  margin: 0 0 0.9rem;
}

.vd-widget__tabs {
  display: inline-flex;
  gap: 0.25rem;
  background: #eef2f7;
  border-radius: 999px;
  padding: 0.26rem;
  margin-bottom: 0.95rem;
}

.vd-widget__tab {
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--lp-slate);
  background: transparent;
  border-radius: 999px;
  padding: 0.6rem 1.15rem;
  min-height: 42px;
  transition: background 0.2s, color 0.2s;
}

/* Filled navy pill, so the selected state is unambiguous rather than a
   subtle shadow that disappears on a phone in daylight. */
.vd-widget__tab.is-active {
  background: var(--lp-navy-800);
  color: var(--lp-white);
  box-shadow: 0 4px 12px -3px rgba(4, 47, 95, 0.45);
}

.vd-widget__tab:focus-visible { outline: 2px solid var(--lp-navy-600); outline-offset: 2px; }

.vd-widget__row { display: grid; grid-template-columns: 1fr; gap: 0.6rem; margin-bottom: 0.6rem; }
@media (min-width: 640px) { .vd-widget__row { grid-template-columns: 1fr 1fr; } }

.vd-widget__field { display: block; }

.vd-widget__field > span {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--lp-slate);
  letter-spacing: 0.03em;
  margin-bottom: 0.3rem;
}

.vd-widget__field input,
.vd-widget__field select {
  width: 100%;
  min-height: 50px;
  border: 1.5px solid var(--lp-line);
  border-radius: 13px;
  padding: 0 0.85rem;
  font-family: inherit;
  font-size: 0.9375rem; /* >=16px prevents iOS zoom-on-focus */
  color: var(--lp-ink);
  background: var(--lp-white);
  transition: border-color 0.18s, box-shadow 0.18s;
}

.vd-widget__field input:focus,
.vd-widget__field select:focus {
  outline: 0;
  border-color: var(--lp-navy-600);
  box-shadow: 0 0 0 3px rgba(10, 74, 143, 0.12);
}

.vd-widget__submit {
  width: 100%;
  min-height: 54px;
  margin-top: 0.35rem;
  border: 0;
  cursor: pointer;
  border-radius: 13px;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--lp-white);
  background: linear-gradient(135deg, var(--lp-navy-700), var(--lp-navy-900));
  box-shadow: 0 10px 24px -8px rgba(4, 47, 95, 0.55);
  transition: transform 0.18s, box-shadow 0.18s;
}

.vd-widget__submit:hover { transform: translateY(-1px); box-shadow: 0 14px 30px -8px rgba(4, 47, 95, 0.62); }
.vd-widget__submit:focus-visible { outline: 2px solid var(--lp-gold); outline-offset: 3px; }

/* --------------------------------------------------------------------------
   Content sections
   -------------------------------------------------------------------------- */
.vd-lp-section { padding: 3rem 0; }
.vd-lp-section--tint { background: var(--lp-tint); }

.vd-lp-section h2 {
  font-size: clamp(1.3rem, 4.4vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.022em;
  color: var(--lp-ink);
  margin: 0 0 0.6rem;
  max-width: 24ch;
}

.vd-lp-lede {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--lp-slate);
  max-width: 62ch;
  margin: 0 0 1.75rem;
}

.vd-lp-grid { display: grid; grid-template-columns: 1fr; gap: 0.85rem; margin-top: 1.5rem; }
@media (min-width: 640px) { .vd-lp-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .vd-lp-grid { grid-template-columns: repeat(3, 1fr); } }

.vd-lp-card {
  background: var(--lp-white);
  border: 1px solid var(--lp-line);
  border-radius: 18px;
  padding: 1.25rem;
  box-shadow: 0 2px 10px -6px rgba(4, 47, 95, 0.15);
}

.vd-lp-card i,
.vd-lp-card svg {
  width: 22px; height: 22px;
  color: var(--lp-navy-700);
  margin-bottom: 0.7rem;
  display: block;
}

.vd-lp-card h3 { font-size: 0.9375rem; font-weight: 700; color: var(--lp-ink); margin: 0 0 0.4rem; }
.vd-lp-card p  { font-size: 0.8125rem; line-height: 1.65; color: var(--lp-slate); margin: 0; }

/* Steps */
.vd-lp-steps { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 1rem; }

.vd-lp-steps li { display: flex; gap: 0.9rem; align-items: flex-start; }

.vd-lp-steps__num {
  flex: 0 0 auto;
  width: 32px; height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--lp-navy-800);
  color: var(--lp-white);
  font-size: 0.8125rem;
  font-weight: 800;
}

.vd-lp-steps h3 { font-size: 0.9375rem; font-weight: 700; margin: 0.25rem 0 0.3rem; color: var(--lp-ink); }
.vd-lp-steps p  { font-size: 0.8125rem; line-height: 1.65; color: var(--lp-slate); margin: 0; }

/* Split list */
.vd-lp-split { display: grid; grid-template-columns: 1fr; gap: 1.4rem; margin-top: 1.5rem; }
@media (min-width: 700px) { .vd-lp-split { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 2.5rem; } }

.vd-lp-split__item { border-top: 2px solid var(--lp-navy-800); padding-top: 0.85rem; }
.vd-lp-split__item h3 { font-size: 0.9375rem; font-weight: 700; margin: 0 0 0.35rem; color: var(--lp-ink); }
.vd-lp-split__item p  { font-size: 0.8125rem; line-height: 1.65; color: var(--lp-slate); margin: 0; }

/* Timeline */
.vd-lp-timeline { margin-top: 1.5rem; display: grid; gap: 0; }

.vd-lp-timeline__item {
  position: relative;
  padding: 0 0 1.5rem 1.6rem;
  border-left: 2px solid #d6e0ec;
}

.vd-lp-timeline__item:last-child { border-left-color: transparent; padding-bottom: 0; }

.vd-lp-timeline__item::before {
  content: "";
  position: absolute;
  left: -7px; top: 4px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--lp-gold);
  border: 2px solid var(--lp-white);
  box-shadow: 0 0 0 2px #d6e0ec;
}

.vd-lp-timeline__when {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lp-navy-600);
  margin-bottom: 0.3rem;
}

.vd-lp-timeline h3 { font-size: 0.9375rem; font-weight: 700; margin: 0 0 0.3rem; color: var(--lp-ink); }
.vd-lp-timeline p  { font-size: 0.8125rem; line-height: 1.65; color: var(--lp-slate); margin: 0; }

/* FAQ — native <details>, works without JavaScript */
.vd-lp-faq {
  border: 1px solid var(--lp-line);
  border-radius: 13px;
  background: var(--lp-white);
  margin-bottom: 0.5rem;
  overflow: hidden;
}

.vd-lp-faq > summary {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 1.1rem;
  cursor: pointer;
  list-style: none;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--lp-ink);
  min-height: 48px;
}

.vd-lp-faq > summary::-webkit-details-marker { display: none; }

.vd-lp-faq > summary::after {
  content: "";
  margin-left: auto;
  flex: 0 0 auto;
  width: 8px; height: 8px;
  border-right: 2px solid var(--lp-slate);
  border-bottom: 2px solid var(--lp-slate);
  transform: rotate(45deg);
  transition: transform 0.24s ease;
}

.vd-lp-faq[open] > summary { color: var(--lp-navy-800); }
.vd-lp-faq[open] > summary::after { transform: rotate(-135deg); }
.vd-lp-faq__body { padding: 0 1.1rem 1.1rem; font-size: 0.8125rem; line-height: 1.7; color: var(--lp-slate); }

/* Closing block */
.vd-lp-close {
  background: linear-gradient(150deg, var(--lp-navy-800), var(--lp-navy-900));
  padding: 3rem 0;
  text-align: center;
  color: var(--lp-white);
}

.vd-lp-close h2 { font-size: clamp(1.3rem, 4.4vw, 1.85rem); font-weight: 800; margin: 0 0 0.6rem; max-width: none; }
.vd-lp-close p  { font-size: 0.9375rem; line-height: 1.7; color: rgba(219, 231, 245, 0.88); margin: 0 auto 1.5rem; max-width: 52ch; }

.vd-lp-close__actions { display: flex; flex-wrap: wrap; gap: 0.7rem; justify-content: center; }

.vd-lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 1.6rem;
  border-radius: 13px;
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.18s;
}

.vd-lp-btn:active { transform: translateY(1px); }
.vd-lp-btn--primary { background: var(--lp-gold); color: var(--lp-navy-900); }
.vd-lp-btn--ghost   { background: rgba(255, 255, 255, 0.1); color: var(--lp-white); border: 1.5px solid rgba(255, 255, 255, 0.35); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}

/* --------------------------------------------------------------------------
   Autocomplete dropdown for the search widget
   -------------------------------------------------------------------------- */
.vd-widget__field--ac { position: relative; }

.vd-widget__ac {
  position: absolute;
  z-index: 40;
  left: 0; right: 0;
  top: calc(100% + 4px);
  max-height: 260px;
  overflow-y: auto;
  background: var(--lp-white);
  border: 1px solid var(--lp-line);
  border-radius: 13px;
  box-shadow: 0 16px 34px -14px rgba(4, 47, 95, 0.34);
  padding: 0.3rem;
}

.vd-widget__ac.hidden { display: none; }

.vd-widget__ac-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.6rem 0.7rem;
  border-radius: 9px;
  cursor: pointer;
  font-size: 0.8125rem;
  color: var(--lp-ink);
  min-height: 42px;
}

.vd-widget__ac-item:hover { background: #eef4fb; }
.vd-widget__ac-item span  { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vd-widget__ac-item b     { flex: 0 0 auto; font-size: 0.75rem; font-weight: 800; color: var(--lp-navy-600); letter-spacing: 0.04em; }

.vd-widget__err {
  margin: 0.5rem 0 0;
  padding: 0.6rem 0.75rem;
  border-radius: 9px;
  background: #fdf1f1;
  border: 1px solid #f3c9c9;
  color: #9b2c2c;
  font-size: 0.775rem;
  line-height: 1.5;
}

.vd-widget__err.hidden { display: none; }

/* --------------------------------------------------------------------------
   Editorial content blocks used on the informational pages
   -------------------------------------------------------------------------- */
.vd-lp-prose { max-width: 68ch; }
.vd-lp-prose h3 { font-size: 1.0625rem; font-weight: 700; color: var(--lp-ink); margin: 1.75rem 0 0.5rem; }
.vd-lp-prose p  { font-size: 0.9375rem; line-height: 1.75; color: var(--lp-slate); margin: 0 0 0.9rem; }
.vd-lp-prose ul { margin: 0 0 1.1rem; padding-left: 1.1rem; }
.vd-lp-prose li { font-size: 0.9375rem; line-height: 1.75; color: var(--lp-slate); margin-bottom: 0.4rem; }
.vd-lp-prose strong { color: var(--lp-ink); font-weight: 650; }

/* Price breakdown table used on the fees page */
.vd-lp-table { width: 100%; border-collapse: collapse; margin-top: 1.5rem; font-size: 0.875rem; }
.vd-lp-table th,
.vd-lp-table td { text-align: left; padding: 0.85rem 0.75rem; border-bottom: 1px solid var(--lp-line); vertical-align: top; }
.vd-lp-table th { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--lp-navy-600); }
.vd-lp-table td:first-child { font-weight: 650; color: var(--lp-ink); width: 34%; }
.vd-lp-table td { color: var(--lp-slate); line-height: 1.6; }
@media (max-width: 640px) {
  .vd-lp-table, .vd-lp-table tbody, .vd-lp-table tr, .vd-lp-table td { display: block; width: 100%; }
  .vd-lp-table thead { display: none; }
  .vd-lp-table tr { border-bottom: 1px solid var(--lp-line); padding: 0.7rem 0; }
  .vd-lp-table td { border: 0; padding: 0.15rem 0; }
  .vd-lp-table td:first-child { width: auto; }
}

/* Contact detail cards */
.vd-lp-contact { display: grid; grid-template-columns: 1fr; gap: 0.85rem; margin-top: 1.5rem; }
@media (min-width: 700px) { .vd-lp-contact { grid-template-columns: repeat(3, 1fr); } }

.vd-lp-contact__card {
  background: var(--lp-white);
  border: 1px solid var(--lp-line);
  border-radius: 18px;
  padding: 1.25rem;
}

.vd-lp-contact__card span { display: block; font-size: 0.65rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--lp-navy-600); margin-bottom: 0.45rem; }
.vd-lp-contact__card a,
.vd-lp-contact__card strong { display: block; font-size: 1rem; font-weight: 700; color: var(--lp-ink); text-decoration: none; line-height: 1.4; }
.vd-lp-contact__card p { font-size: 0.8125rem; line-height: 1.6; color: var(--lp-slate); margin: 0.4rem 0 0; }
