:root {
  --primary: #1668e3;
  --primary-light: #c8dff9;
  --yellow: #fddb32;
  --canvas: #ffffff;
  --surface1: #eff3f7;
  --surface2: #dfe0e4;
  --ink: #191e3b;
  --ink-muted: #676a7d;
  --ink-soft: #818494;
  --hairline: #dfe0e4;
  --hairline-dark: #999ca8;
  --positive: #227950;
  --positive-light: #beecc6;
  --error: #a7183c;
  --navy: #0d1936;
  --navy-2: #16244d;
  --radius-sm: 2px;
  --radius: 4px;
  --radius-lg: 8px;
  --radius-xl: 12px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--canvas);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Loyalty stripe ---------- */
.loyalty-stripe {
  background: var(--yellow);
  font-size: 14px;
  color: var(--ink);
}
.stripe-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
}
.key-dot {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  background: var(--ink);
  color: var(--yellow);
  font-weight: 700;
  font-size: 11px;
  border-radius: 50%;
  margin-right: 2px;
}
.stripe-text { font-weight: 500; }
.stripe-link {
  margin-left: auto;
  color: var(--ink);
  font-weight: 700;
  border-bottom: 2px solid currentColor;
  line-height: 1.2;
}

/* ---------- Header ---------- */
.site-header {
  background: var(--canvas);
  border-bottom: 1px solid var(--hairline);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 64px;
}
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo-img { height: 28px; max-width: 150px; object-fit: contain; }
.logo-name {
  font-family: var(--font);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--navy);
  max-width: min(340px, 60vw);
  overflow-wrap: anywhere;
}
.logo-name::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--yellow);
  margin-left: 5px;
  vertical-align: 3px;
}
.main-nav { display: flex; align-items: center; gap: 4px; flex: 1; }
.nav-tab {
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  padding: 8px 14px;
  cursor: pointer;
  border-radius: var(--radius);
  position: relative;
  white-space: nowrap;
}
.nav-tab:hover { background: var(--surface1); }
.nav-tab.is-active { font-weight: 700; }
.nav-tab.is-active::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: -12px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
  flex-shrink: 0;
}
.header-link { font-size: 14px; font-weight: 500; color: var(--ink); }
.header-link:hover { color: var(--primary); }
.header-link-btn {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font: inherit;
  line-height: inherit;
  color: var(--ink);
}
.signin-btn {
  background: var(--primary);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--primary);
}
.signin-btn:hover { background: #0f56c0; }

.avatar {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #1668e3, #2f86f5);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.03em;
}
.avatar--top { cursor: pointer; }

.account-menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 5px 12px 5px 6px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}

.account-menu-btn:hover { border-color: var(--primary); box-shadow: 0 2px 8px rgba(22, 104, 227, 0.14); }

.account-menu-btn.is-active { border-color: var(--primary); background: var(--surface1); }

.account-menu-btn .avatar { width: 30px; height: 30px; font-size: 12px; }
.account-menu-name { white-space: nowrap; max-width: 110px; overflow: hidden; text-overflow: ellipsis; }

.account-menu-caret { flex-shrink: 0; color: var(--ink-muted); transition: transform 0.18s; }
.account-menu-btn.is-active .account-menu-caret { transform: rotate(180deg); }

.user-menu { position: relative; }

.user-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: 236px;
  padding: 8px;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(13, 25, 54, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
  z-index: 80;
}

.user-dropdown.is-open { opacity: 1; visibility: visible; transform: none; }

.dropdown-head {
  padding: 10px 12px 12px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--hairline);
}

.dropdown-head strong { display: block; font-size: 14px; color: var(--ink); }
.dropdown-head small { display: block; color: var(--ink-muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.user-dropdown a {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--ink);
  font-size: 14px;
}

.user-dropdown a:hover { background: var(--surface1); }

.dropdown-signout {
  width: 100%;
  padding: 9px 12px;
  border: none;
  border-radius: 8px;
  background: none;
  text-align: left;
  color: var(--error);
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
}

.dropdown-signout:hover { background: #f7e6ea; }

.header-menu-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}
.header-menu-toggle .header-menu-ico-close { display: none; }
.header-menu-toggle.is-open .header-menu-ico { display: none; }
.header-menu-toggle.is-open .header-menu-ico-close { display: block; }

.mobile-nav {
  display: none;
  border-top: 1px solid var(--hairline);
  background: var(--surface1);
  box-shadow: 0 22px 36px rgba(13, 25, 54, 0.10);
}
.mobile-nav.is-open { display: block; }
.mobile-nav-tabs { display: flex; flex-wrap: wrap; gap: 2px; padding: 12px 0 4px; }
.mobile-nav .nav-tab.is-active::after { bottom: -4px; }
.mobile-nav-actions {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 0 20px;
}
.mobile-nav-link {
  padding: 13px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--hairline);
}
.mobile-nav-link:hover { color: var(--primary); }
.mobile-nav-btn {
  margin-top: 10px;
  text-align: center;
  padding: 13px;
  border-radius: var(--radius-lg);
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
}
.mobile-nav-btn:hover { background: #0f56c0; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
}
.hero-bg {
  width: 100%;
  aspect-ratio: 4 / 1;
  background: linear-gradient(rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.15)), url('../img/hero.jpg') center center / cover no-repeat;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: clamp(-200px, -12vw, -140px) auto 0;
  padding: 0 24px;
}
.hero-title {
  text-align: center;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.25);
}
.hero-note {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  color: var(--ink-muted);
}

/* ---------- Search widget ---------- */
.search-widget {
  margin-top: 32px;
  border: 1px solid var(--hairline-dark);
  border-radius: var(--radius-xl);
  background: var(--canvas);
  box-shadow: 0 12px 40px rgba(13, 25, 54, 0.08);
}
.search-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 12px 16px 0;
  background: var(--canvas);
  border-bottom: 1px solid var(--hairline);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}
.search-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-muted);
  padding: 10px 12px;
  cursor: pointer;
  border-radius: var(--radius);
  position: relative;
  white-space: nowrap;
}
.search-tab:hover { background: var(--surface1); color: var(--ink); }
.search-tab.is-active {
  color: var(--primary);
  font-weight: 700;
}
.search-tab.is-active::after {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -1px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}
.search-form {
  padding: 16px;
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}
.search-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-end;
}
.field { flex: 1 1 150px; }
.field-destination,
.field-origin { flex: 2 1 240px; }
.field-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ink);
}
.field-control {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--ink);
  border-radius: var(--radius-lg);
  padding: 0 12px;
  height: 52px;
  background: var(--canvas);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field-control svg { color: var(--ink-soft); flex-shrink: 0; }
.field-control:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(22, 104, 227, 0.18);
}
.field-control:focus-within svg { color: var(--primary); }
.field-control input {
  border: 0;
  outline: 0;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  width: 100%;
  height: 100%;
  background: transparent;
}
.field-control input::placeholder { color: var(--ink-soft); }
.field-control select {
  border: 0;
  outline: 0;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  width: 100%;
  height: 100%;
  background: transparent;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.field-control select:disabled { color: var(--ink-soft); }
.field-control.has-select { position: relative; }
.field-control.has-select::after {
  content: '';
  position: absolute;
  right: 14px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--ink-soft);
  border-bottom: 2px solid var(--ink-soft);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.field-control.has-select select { padding-right: 26px; }
.search-submit {
  border: 0;
  cursor: pointer;
  background: var(--primary);
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  height: 52px;
  padding: 0 30px;
  border-radius: var(--radius-lg);
  white-space: nowrap;
}
.search-submit:hover { background: #0f56c0; }

/* ---------- Travelers box (Expedia-style steppers) ---------- */
.field-travelers { position: relative; }

.field-control--button {
  width: 100%;
  justify-content: flex-start;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--canvas);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.field-control--button:hover {
  border-color: var(--primary);
  background: linear-gradient(180deg, var(--canvas), rgba(22, 104, 227, 0.05));
}
.field-control--button.is-open,
.field-control--button:focus-visible {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(22, 104, 227, 0.18);
  outline: 0;
}
.field-control--button .field-control-ico {
  color: var(--ink-soft);
  transition: color 0.18s ease, transform 0.18s ease;
  flex-shrink: 0;
}
.field-control--button:hover .field-control-ico,
.field-control--button.is-open .field-control-ico { color: var(--primary); }
.field-control--button .field-control-value {
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.field-control-caret {
  margin-left: auto;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--ink-soft);
  border-bottom: 2px solid var(--ink-soft);
  transform: translateY(-25%) rotate(45deg);
  flex-shrink: 0;
  transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.18s ease;
}
.field-control--button.is-open .field-control-caret {
  transform: translateY(25%) rotate(225deg);
  border-color: var(--primary);
}

.travelers-pop {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  z-index: 40;
  background: var(--canvas);
  border: 1px solid var(--hairline-dark);
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 60px rgba(13, 25, 54, 0.18), 0 4px 12px rgba(13, 25, 54, 0.08);
  overflow: hidden;
  animation: travelers-pop-in 0.2s cubic-bezier(0.2, 0.9, 0.3, 1.15) both;
  transform-origin: top center;
}
@keyframes travelers-pop-in {
  from { opacity: 0; transform: translateY(-8px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.travelers-pop[hidden],
.travelers-row[hidden] { display: none !important; }

.travelers-pop-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 16px 12px;
  border-bottom: 1px solid var(--hairline);
  background: linear-gradient(180deg, rgba(22, 104, 227, 0.06), transparent);
}
.travelers-pop-head strong {
  display: block;
  font-size: 15px;
  letter-spacing: 0.2px;
  color: var(--ink);
}
.travelers-pop-head small {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 400;
  color: var(--ink-soft);
}
.travelers-reset {
  border: 0;
  background: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  padding: 7px 10px;
  border-radius: 8px;
  transition: background 0.15s ease, color 0.15s ease;
}
.travelers-reset:hover { background: rgba(22, 104, 227, 0.08); }
.travelers-reset:active { transform: scale(0.97); }

.travelers-pop-body { padding: 2px 16px 6px; }
.travelers-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}
.travelers-row + .travelers-row { border-top: 1px solid var(--hairline); }
.travelers-label strong { display: block; color: var(--ink); font-size: 14px; font-weight: 700; }
.travelers-label small { display: block; margin-top: 2px; color: var(--ink-soft); font-size: 12px; }

.stepper {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.stepper-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--hairline-dark);
  background: var(--canvas);
  color: var(--ink);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease,
              transform 0.12s ease, box-shadow 0.15s ease;
}
.stepper-btn:hover:not(:disabled) {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(22, 104, 227, 0.06);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(22, 104, 227, 0.14);
}
.stepper-btn:active:not(:disabled) { transform: scale(0.9); }
.stepper-btn:disabled { opacity: 0.35; cursor: default; }
.stepper-btn:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.stepper-value {
  min-width: 26px;
  text-align: center;
  font-weight: 800;
  font-size: 16px;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.stepper-value.is-bump { animation: stepper-bump 0.24s cubic-bezier(0.4, 0, 0.6, 1); }
@keyframes stepper-bump {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.4); color: var(--primary); }
  100% { transform: scale(1); }
}

.travelers-pop-footer {
  padding: 12px 16px 16px;
  border-top: 1px solid var(--hairline);
  background: linear-gradient(180deg, transparent, rgba(13, 25, 54, 0.03));
}
.travelers-done {
  width: 100%;
  border: 0;
  cursor: pointer;
  background: linear-gradient(135deg, var(--primary), #0f56c0);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 20px rgba(22, 104, 227, 0.28);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.travelers-done:hover {
  filter: brightness(1.06);
  box-shadow: 0 10px 26px rgba(22, 104, 227, 0.36);
  transform: translateY(-1px);
}
.travelers-done:active { transform: translateY(0) scale(0.99); }
.travelers-done:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

.hero-note {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 8px rgba(13, 25, 54, 0.35);
}

/* ---------- Sale banner ---------- */
.promo {
  margin-top: 28px;
  background: var(--yellow);
  border-radius: var(--radius-xl);
}
.sale-banner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
}
.sale-icon {
  flex-shrink: 0;
}
.sale-copy { flex: 1 1 auto; min-width: 0; }
.sale-title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--ink);
}
.sale-text {
  margin-top: 4px;
  font-size: 15px;
  color: #4d5167;
}
.sale-btn {
  flex-shrink: 0;
  background: #0c0e1c;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: var(--radius-lg);
  white-space: nowrap;
}
.sale-btn:hover { background: #31374f; }

/* ---------- Sections ---------- */
.section { padding: 56px 0; }
.section-title {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: -0.01em;
}
.section-sub { margin-top: 8px; color: var(--ink-muted); font-size: 16px; }

/* ---------- Destination cards ---------- */
.card-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.dest-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 240px;
  display: block;
}
.dest-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.dest-card-fallback {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--primary) 100%);
}
.dest-card:hover img { transform: scale(1.05); }
.dest-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 25, 54, 0) 40%, rgba(13, 25, 54, 0.55) 100%);
}
.dest-name {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 48px;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
  text-shadow: 0 1px 8px rgba(13, 25, 54, 0.35);
  z-index: 2;
}
.dest-region {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 20px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  line-height: 1.4;
  text-shadow: 0 1px 6px rgba(13, 25, 54, 0.45);
  z-index: 2;
}
.dest-action {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  padding: 8px 18px;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(13, 25, 54, 0.18);
  transition: background 0.15s, color 0.15s, transform 0.15s;
}
.dest-action:hover { transform: translateY(-1px); }
.dest-action.is-book {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 20px rgba(22, 104, 227, 0.35);
}

/* ---------- Banner ---------- */
.banner-section { background: var(--surface1); }
.banner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}
.banner-copy { padding: 12px 0; }
.banner-tag {
  display: inline-block;
  background: var(--yellow);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}
.banner-title {
  margin-top: 16px;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -0.01em;
}
.banner-text {
  margin-top: 12px;
  color: var(--ink-muted);
  font-size: 16px;
  max-width: 460px;
}
.banner-actions {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn {
  display: inline-block;
  font-size: 15px;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: var(--radius-lg);
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: #0f56c0; }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover { filter: brightness(0.96); }
.banner-media img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: var(--radius-xl);
}

/* ---------- Deals ---------- */
.deal-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.deal-card {
  display: block;
  cursor: pointer;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
  background: var(--canvas);
}
.deal-card:hover {
  box-shadow: 0 14px 34px rgba(13, 25, 54, 0.12);
  transform: translateY(-2px);
}
.deal-media { position: relative; }
.deal-media img { width: 100%; height: 200px; object-fit: cover; }
.deal-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--positive-light);
  color: var(--positive);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}
.deal-badge-green {
  background: var(--yellow);
  color: var(--ink);
}
.deal-body { padding: 16px; }
.deal-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}
.rating-num {
  background: var(--positive);
  color: #fff;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: var(--radius-sm);
}
.stars { color: var(--ink-soft); letter-spacing: 1px; }
.rating-word { color: var(--ink-muted); font-weight: 500; }
.deal-name {
  margin-top: 10px;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}
.deal-loc { margin-top: 2px; font-size: 13px; color: var(--ink-soft); }
.deal-price {
  margin-top: 12px;
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
}
.deal-price span { font-size: 13px; font-weight: 500; color: var(--ink-soft); }
.deal-discount { display: inline-block; margin-top: 4px; font-size: 12px; color: var(--ink-soft); }
.deal-foot {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.deal-foot .deal-price { margin-top: 0; }
.deal-book {
  display: inline-block;
  border: none;
  background: var(--primary);
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
}
.deal-book:hover { background: #0f56c0; }
.deal-book.is-book { background: #0f56c0; box-shadow: 0 6px 16px rgba(22, 104, 227, 0.3); }

/* ---------- App promo ---------- */
.app-promo {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
  overflow: hidden;
}
.app-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.app-eyebrow {
  color: var(--yellow);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.app-title {
  margin-top: 12px;
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 800;
  letter-spacing: -0.01em;
}
.app-text {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  max-width: 480px;
}
.app-buttons {
  margin-top: 24px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #000;
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.store-btn:hover { background: #1a1a1a; }
.store-btn span { font-size: 11px; line-height: 1.2; display: flex; flex-direction: column; }
.store-btn strong { font-size: 15px; }
.app-art { display: grid; place-items: center; }
.phone {
  width: 220px;
  border-radius: 34px;
  border: 10px solid #0a1230;
  background: var(--canvas);
  padding: 16px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}
.phone-screen { display: flex; flex-direction: column; gap: 10px; }
.phone-heading {
  height: 14px;
  width: 70%;
  background: var(--ink);
  border-radius: 3px;
}
.phone-line {
  height: 8px;
  width: 90%;
  background: var(--surface2);
  border-radius: 3px;
}
.phone-card {
  height: 70px;
  border-radius: var(--radius);
  background: var(--surface1);
  border: 1px solid var(--hairline);
}
.phone-card-sm { height: 44px; }
.phone-chip {
  align-self: flex-start;
  background: var(--yellow);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: #fff;
  padding: 56px 0 32px;
  font-size: 14px;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.footer-col h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 14px;
  color: #fff;
}
.footer-col-second { margin-top: 22px; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul a { color: rgba(255, 255, 255, 0.75); }
.footer-col ul a:hover { color: #fff; text-decoration: underline; }
.social-links { display: flex; gap: 10px; }
.social-links a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.social-links a:hover { background: var(--primary); }
.footer-legal {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
}
.footer-legal p { margin-bottom: 8px; max-width: 900px; }
.footer-bottom {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-pills {
  display: flex;
  gap: 8px;
}
.footer-pills span {
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 5px 12px;
  border-radius: var(--radius);
  font-size: 12px;
}

/* ---------- Search results ---------- */
.results-search { background: #f6f8fb; border-bottom: 1px solid var(--hairline); padding: 22px 0 26px; }
.results-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
}
.results-head { padding: 28px 0 8px; }
.results-head h2 { font-size: clamp(22px, 3vw, 30px); font-weight: 800; letter-spacing: -0.01em; }
.results-head p { margin-top: 6px; color: var(--ink-muted); font-size: 15px; }
.result-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding: 8px 0 48px;
}
.result-card {
  border: 1px solid var(--hairline);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.result-card:hover { box-shadow: 0 12px 30px rgba(13, 25, 54, 0.10); transform: translateY(-2px); }
.result-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface1); }
.result-media img { width: 100%; height: 100%; object-fit: cover; }
.result-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(13, 25, 54, 0.82);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 999px;
}
.result-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.result-rating {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  align-self: flex-start;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
}
.result-name { font-size: 17px; font-weight: 700; color: var(--ink); }
.result-loc {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--ink-muted);
  font-size: 13px;
}
.result-loc svg { flex: none; opacity: 0.7; }
.result-desc { color: var(--ink-soft); font-size: 13px; line-height: 1.55; }
.result-bottom {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.result-price { font-size: 13px; color: var(--ink-muted); }
.result-price strong { display: block; font-size: 20px; color: var(--ink); }
.result-cta {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: var(--radius-lg);
}
.result-cta:hover { background: #0f56c0; }
.result-cta.is-book { background: #0f56c0; box-shadow: 0 6px 16px rgba(22, 104, 227, 0.3); }
.empty-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 64px 24px;
  border: 1px dashed var(--hairline-dark);
  border-radius: var(--radius-xl);
  color: var(--ink-muted);
}
.empty-results svg { margin: 0 auto 14px; opacity: 0.5; }
.empty-results h3 { color: var(--ink); font-size: 18px; margin-bottom: 6px; }

/* ---------- Trip type shortcuts ---------- */
.type-section { padding: 48px 0 12px; }
.type-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.type-card {
  --type-accent: var(--primary);
  --type-tint: #e8f1fd;
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 16px;
  border: 1px solid var(--hairline);
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
  width: 100%;
  font-family: inherit;
  font-size: inherit;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(13, 25, 54, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.type-card:focus-visible {
  outline: 2px solid var(--type-accent);
  outline-offset: 2px;
}
.type-card.is-active {
  border-color: var(--type-accent);
  box-shadow: 0 18px 40px -18px rgba(13, 25, 54, 0.22);
}
.type-card::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  background: var(--type-accent);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.type-card:hover {
  transform: translateY(-4px);
  border-color: rgba(13, 25, 54, 0.12);
  box-shadow: 0 18px 40px -18px rgba(13, 25, 54, 0.22);
}
.type-card:hover::before { opacity: 1; }
.type-card.is-active::before { opacity: 1; }
.type-card--stay    { --type-accent: #1668e3; --type-tint: #e8f1fd; }
.type-card--flight  { --type-accent: #0e9f8f; --type-tint: #e2f6f3; }
.type-card--car     { --type-accent: #7a5af8; --type-tint: #efecff; }
.type-card--things  { --type-accent: #d98a1b; --type-tint: #fdf3e0; }
.type-card--package { --type-accent: #d84a7e; --type-tint: #fde9f1; }
.type-ico {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  flex: none;
  border-radius: 14px;
  background: var(--type-tint);
  color: var(--type-accent);
  transition: transform 0.25s ease;
}
.type-card:hover .type-ico { transform: scale(1.06) rotate(-3deg); }
.type-name { display: block; font-size: 15px; font-weight: 700; color: var(--ink); }
.type-sub { display: block; margin-top: 2px; font-size: 12px; color: var(--ink-soft); }
.type-arrow {
  margin-left: auto;
  width: 28px;
  height: 28px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface1);
  color: var(--ink-soft);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.type-card:hover .type-arrow {
  background: var(--type-accent);
  color: #fff;
  transform: translateX(2px);
}

/* ---------- Trust perks ---------- */
.perks {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.perk {
  position: relative;
  text-align: center;
  padding: 30px 22px 26px;
  border: 1px solid var(--hairline);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  box-shadow: 0 1px 2px rgba(13, 25, 54, 0.04), 0 12px 26px -22px rgba(13, 25, 54, 0.16);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.perk:hover {
  transform: translateY(-4px);
  border-color: rgba(22, 104, 227, 0.32);
  box-shadow: 0 24px 46px -22px rgba(13, 25, 54, 0.26);
}
.perk-num {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #ccd3e0;
}
.perk-ico {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: var(--perk-accent, var(--primary));
  background: var(--perk-tint, linear-gradient(135deg, #e8f1fd, #d5e6fc));
  box-shadow: inset 0 0 0 1px rgba(22, 104, 227, 0.10);
  transition: transform 0.25s ease;
}
.perk:hover .perk-ico { transform: scale(1.08); }
.perk--cancellation { --perk-accent: #227950; --perk-tint: linear-gradient(135deg, #e2f6ec, #cdeedb); }
.perk--member      { --perk-accent: #b57c0a; --perk-tint: linear-gradient(135deg, #fdf3d5, #fbe9b4); }
.perk--support     { --perk-accent: #1668e3; --perk-tint: linear-gradient(135deg, #e8f1fd, #d5e6fc); }
.perk--secure      { --perk-accent: #7a5af8; --perk-tint: linear-gradient(135deg, #efecff, #e2dcff); }
.perk strong { display: block; font-size: 16px; font-weight: 700; color: var(--ink); }
.perk span { display: block; margin-top: 6px; font-size: 13px; line-height: 1.5; color: var(--ink-soft); }

/* ---------- Info / legal pages ---------- */
.info-hero {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
  padding: 52px 0 44px;
}
.info-breadcrumb { font-size: 13px; color: rgba(255, 255, 255, 0.6); margin-bottom: 14px; }
.info-breadcrumb a { color: rgba(255, 255, 255, 0.85); }
.info-breadcrumb a:hover { color: #fff; text-decoration: underline; }
.info-hero h1 { font-size: clamp(26px, 3.6vw, 40px); font-weight: 800; letter-spacing: -0.01em; }
.info-hero p { margin-top: 10px; max-width: 720px; color: rgba(255, 255, 255, 0.8); font-size: 16px; }
.info-updated {
  display: inline-block;
  margin-top: 18px;
  font-size: 12px;
  font-weight: 700;
  color: var(--yellow);
  border: 1px solid rgba(253, 219, 50, 0.5);
  border-radius: 999px;
  padding: 5px 12px;
}
.info-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  padding: 44px 0 72px;
  align-items: start;
}
.info-nav {
  position: sticky;
  top: 24px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-xl);
  background: #fff;
  padding: 18px 16px;
}
.info-nav h3 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  margin: 4px 6px 12px;
}
.info-nav ul { display: flex; flex-direction: column; }
.info-nav a {
  display: block;
  padding: 9px 10px;
  border-radius: var(--radius-lg);
  color: var(--ink-muted);
  font-size: 14px;
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
}
.info-nav a:hover { background: var(--surface1); color: var(--ink); }
.info-nav a.is-active { background: var(--primary-light); color: var(--primary); font-weight: 700; }
.info-content { max-width: 760px; }
.info-section { padding: 28px 0; border-bottom: 1px solid var(--hairline); }
.info-section:first-child { padding-top: 0; }
.info-section h2 { font-size: 22px; font-weight: 800; color: var(--ink); letter-spacing: -0.01em; }
.info-section p { margin-top: 12px; color: var(--ink-muted); line-height: 1.7; }
.info-section ul { margin-top: 12px; padding-left: 20px; list-style: disc; }
.info-section ul li { margin-top: 8px; color: var(--ink-muted); line-height: 1.6; }
.info-section ul li strong { color: var(--ink); }
.info-callout {
  margin-top: 16px;
  padding: 16px 18px;
  border-radius: var(--radius-lg);
  background: var(--surface1);
  border-left: 4px solid var(--primary);
  font-size: 14px;
  color: var(--ink-muted);
}
.info-callout strong { color: var(--ink); }

/* ---------- Booking tracker ---------- */
.track-page .info-content { max-width: 860px; }
.tracker-form {
  margin-top: 20px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: flex-end;
}
.tracker-field { flex: 1 1 300px; }
.tracker-field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}
.tracker-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.tracker-input-wrap svg {
  position: absolute;
  left: 14px;
  color: var(--ink-soft);
  pointer-events: none;
}
.tracker-input-wrap input {
  width: 100%;
  padding: 12px 14px 12px 42px;
  border: 1px solid var(--hairline-dark);
  border-radius: var(--radius-lg);
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink);
  text-transform: uppercase;
  background: var(--canvas);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.tracker-input-wrap input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-light);
}
.tracker-submit {
  padding: 12px 24px;
  border-radius: var(--radius-lg);
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  border: none;
  box-shadow: 0 8px 20px rgba(22, 104, 227, 0.28);
}
.tracker-stage { margin-top: 20px; }

/* empty + error states */
.tracker-empty {
  padding: 48px 24px;
  text-align: center;
  border: 1px dashed var(--hairline-dark);
  border-radius: var(--radius-xl);
  background: var(--surface1);
}
.tracker-empty--error { border-color: var(--error); background: #fbe6eb; }
.tracker-empty-ico {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
}
.tracker-empty--error .tracker-empty-ico { background: #f3c6d2; color: var(--error); }
.tracker-empty h3 {
  margin-top: 14px;
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
}
.tracker-empty p {
  margin-top: 8px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
  color: var(--ink-muted);
  font-size: 14px;
  line-height: 1.6;
}
.tracker-empty--error p { color: var(--error); }
.tracker-empty--error .tracker-empty-hint { color: var(--ink-muted); }
.tracker-empty-hint strong { color: var(--ink); }

/* ---- booking detail card ---- */
.bd {
  border: 1px solid var(--hairline);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--canvas);
  box-shadow: 0 18px 44px rgba(13, 25, 54, 0.1);
}
.bd-hero {
  position: relative;
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 55%, #1d3163 100%);
  color: #fff;
  padding: 26px 28px;
  overflow: hidden;
}
.bd-hero::after {
  content: '';
  position: absolute;
  top: -80px;
  right: -60px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(22, 104, 227, 0.55) 0%, rgba(22, 104, 227, 0) 70%);
  pointer-events: none;
}
.bd-hero-top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.bd-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  backdrop-filter: blur(4px);
}
.bd-status-dot { width: 7px; height: 7px; border-radius: 50%; background: #fff; }
.bd-status--pending { background: var(--yellow); color: var(--ink); }
.bd-status--pending .bd-status-dot { background: var(--ink); }
.bd-status--approved, .bd-status--completed { background: #1f8f5e; }
.bd-status--upcoming, .bd-status--ongoing { background: var(--primary); }
.bd-status--cancelled { background: var(--error); }
.bd-code {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.85);
  font-variant-numeric: tabular-nums;
}
.bd-hero-main {
  position: relative;
  margin-top: 18px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.bd-title {
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 800;
  letter-spacing: -0.01em;
}
.bd-route {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.bd-route-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 6px 12px;
  border-radius: 999px;
}
.bd-route-chip svg { color: var(--yellow); }
.bd-route-sep {
  width: 22px;
  height: 1px;
  background: rgba(255, 255, 255, 0.35);
}
.bd-total { text-align: right; }
.bd-total-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.65);
}
.bd-total-amount {
  display: block;
  margin-top: 4px;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.bd-total-meta {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}
.bd-body { padding: 24px 28px 28px; }

/* status timeline */
.bd-steps { display: flex; }
.bd-step {
  flex: 1;
  position: relative;
  padding-top: 2px;
}
.bd-step::before {
  content: '';
  position: absolute;
  top: 10px;
  left: -50%;
  width: 100%;
  height: 2px;
  background: var(--surface2);
  z-index: 0;
}
.bd-step:first-child::before { display: none; }
.bd-step--done::before, .bd-step--current::before { background: var(--primary); }
.bd-step-dot {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--surface2);
  color: #fff;
}
.bd-step--done .bd-step-dot { background: var(--primary); }
.bd-step--current .bd-step-dot {
  background: var(--primary-light);
  border: 3px solid var(--primary);
  box-shadow: 0 0 0 5px rgba(22, 104, 227, 0.14);
}
.bd-step-dot-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  animation: bd-pulse 1.6s ease-in-out infinite;
}
@keyframes bd-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(22, 104, 227, 0.45); }
  50% { box-shadow: 0 0 0 6px rgba(22, 104, 227, 0); }
}
.bd-step-copy { margin-top: 12px; }
.bd-step-copy strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-soft);
}
.bd-step--done .bd-step-copy strong { color: var(--ink); }
.bd-step--current .bd-step-copy strong { color: var(--primary); }
.bd-step-copy small {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: var(--ink-muted);
}

/* cancelled banner */
.bd-cancelled {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius-lg);
  background: #fbe6eb;
  color: var(--error);
}
.bd-cancelled svg { flex: none; margin-top: 2px; }
.bd-cancelled strong { display: block; font-size: 14px; }
.bd-cancelled span { display: block; margin-top: 3px; font-size: 13px; color: #8c2c48; }

/* trip details */
.bd-section { margin-top: 26px; }
.bd-section-title {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--hairline);
}
.bd-facts {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 18px;
}
.bd-fact { display: flex; align-items: flex-start; gap: 11px; }
.bd-fact-ico {
  flex: none;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--surface1);
  color: var(--primary);
}
.bd-fact-copy small {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
}
.bd-fact-copy strong {
  display: block;
  margin-top: 3px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

/* price summary */
.bd-price {
  margin-top: 26px;
  padding: 18px 20px;
  border-radius: var(--radius-lg);
  background: var(--surface1);
  max-width: 340px;
  margin-left: auto;
}
.bd-price-head {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
  margin-bottom: 12px;
}
.bd-price-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  color: var(--ink-muted);
  padding: 4px 0;
}
.bd-price-row--muted { font-style: italic; }
.bd-price-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--hairline-dark);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}
.bd-price-total strong {
  font-size: 20px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

/* footer note */
.bd-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-top: 1px solid var(--hairline);
  background: var(--surface1);
}
.bd-foot svg { flex: none; color: var(--primary); }
.bd-foot p { font-size: 13px; color: var(--ink-muted); line-height: 1.5; }
.bd-foot a { font-weight: 700; }

@media (max-width: 640px) {
  .bd-hero { padding: 20px; }
  .bd-body { padding: 18px 20px 22px; }
  .bd-hero-main { align-items: flex-start; flex-direction: column; }
  .bd-total { text-align: left; }
  .bd-price { max-width: none; margin-left: 0; }
  .bd-foot { padding: 12px 20px; flex-wrap: wrap; }
  .bd-steps { flex-direction: column; gap: 0; }
  .bd-step { display: flex; gap: 14px; padding: 0 0 20px; }
  .bd-step::before {
    top: 22px;
    bottom: 0;
    left: 10px;
    width: 2px;
    height: auto;
  }
  .bd-step:first-child::before { display: none; }
  .bd-step-copy { margin-top: 0; }
  .bd-facts { grid-template-columns: 1fr 1fr; gap: 16px; }
}

/* ---------- Homepage check booking ---------- */
.cb-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-xl);
  padding: 44px 48px;
  background:
    radial-gradient(900px 260px at 100% 0%, rgba(22, 104, 227, 0.08) 0%, rgba(22, 104, 227, 0) 60%),
    var(--canvas);
  box-shadow: 0 14px 38px rgba(13, 25, 54, 0.07);
}
.cb-tag {
  display: inline-block;
  background: var(--yellow);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: 999px;
}
.cb-title {
  margin-top: 16px;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: -0.01em;
}
.cb-text {
  margin-top: 12px;
  max-width: 460px;
  color: var(--ink-muted);
  font-size: 15px;
  line-height: 1.6;
}
.cb-form {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cb-input-wrap {
  position: relative;
  flex: 1 1 240px;
  display: flex;
  align-items: center;
}
.cb-input-wrap svg {
  position: absolute;
  left: 14px;
  color: var(--ink-soft);
  pointer-events: none;
}
.cb-input-wrap input {
  width: 100%;
  padding: 12px 14px 12px 42px;
  border: 1px solid var(--hairline-dark);
  border-radius: var(--radius-lg);
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink);
  text-transform: uppercase;
  background: var(--canvas);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.cb-input-wrap input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-light);
}
.cb-submit { box-shadow: 0 8px 20px rgba(22, 104, 227, 0.28); }
.cb-help {
  margin-top: 14px;
  font-size: 13px;
  color: var(--ink-muted);
}
.cb-help a { font-weight: 700; }
.cb-art {
  display: grid;
  place-items: center;
}
.cb-mini {
  width: min(320px, 100%);
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 60%, #1d3163 100%);
  color: #fff;
  padding: 22px;
  box-shadow: 0 24px 48px rgba(13, 25, 54, 0.3);
  transform: rotate(-2deg);
  transition: transform 0.25s ease;
}
.cb-mini:hover { transform: rotate(0deg) translateY(-4px); }
.cb-mini-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.cb-mini-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
}
.cb-mini-dot { width: 6px; height: 6px; border-radius: 50%; background: #fff; }
.cb-mini-code {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.8);
  font-variant-numeric: tabular-nums;
}
.cb-mini-title {
  display: block;
  margin-top: 18px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.cb-mini-route {
  margin-top: 12px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.cb-mini-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 5px 10px;
  border-radius: 999px;
}
.cb-mini-chip svg { color: var(--yellow); }
.cb-mini-total {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.cb-mini-total span { font-size: 12px; color: rgba(255, 255, 255, 0.7); }
.cb-mini-total strong {
  font-size: 20px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 900px) {
  .cb-card { grid-template-columns: 1fr; gap: 28px; padding: 32px; }
  .cb-art { order: -1; }
}
@media (max-width: 640px) {
  .cb-card { padding: 24px 20px; }
  .cb-form { flex-direction: column; }
  .cb-input-wrap { flex: 1 1 auto; }
  .cb-submit { width: 100%; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .main-nav { display: none; }
  .header-actions { display: none; }
  .header-menu-toggle { display: inline-flex; }
  .card-grid, .deal-grid { grid-template-columns: repeat(2, 1fr); }
  .type-grid { grid-template-columns: repeat(3, 1fr); }
  .perks { grid-template-columns: repeat(2, 1fr); }
  .banner { grid-template-columns: 1fr; gap: 28px; }
  .app-inner { grid-template-columns: 1fr; }
  .info-layout { grid-template-columns: 1fr; gap: 28px; }
  .info-nav { position: static; }
  .search-submit { flex: 1 1 100%; height: 50px; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .results-wrap { grid-template-columns: 1fr; gap: 8px; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .header-inner { gap: 14px; min-height: 58px; }
  .logo-name { font-size: 19px; max-width: 52vw; }
  .hero-bg { min-height: 120px; }
  .hero-inner { margin-top: -104px; padding: 0 16px; }
  .hero-title { font-size: 24px; }
  .hero-note { font-size: 13px; gap: 6px; }
  .search-widget { margin-top: 22px; }
  .search-tabs { padding: 10px 10px 0; }
  .card-grid, .deal-grid { grid-template-columns: 1fr; }
  .type-grid { grid-template-columns: repeat(2, 1fr); }
  .type-card { flex-direction: column; text-align: center; gap: 10px; padding: 18px 12px; }
  .type-card::before { top: auto; bottom: 0; left: 0; right: 0; width: auto; height: 4px; }
  .type-arrow { display: none; }
  .perks { grid-template-columns: 1fr; }
  .field { flex: 1 1 100%; }
  .sale-banner { flex-direction: column; align-items: flex-start; padding: 20px; }
  .sale-title { font-size: 20px; }
  .sale-btn { width: 100%; text-align: center; }
  .section { padding: 40px 0; }
  .section-sub { font-size: 15px; }
  .deal-media img { height: 180px; }
  .dest-card { height: 210px; }
  .result-grid { grid-template-columns: 1fr; }
  .results-head { padding: 22px 0 4px; }
  .footer-cols { grid-template-columns: 1fr; gap: 26px; }
  .site-footer { padding: 44px 0 24px; }
  .footer-legal { margin-top: 28px; }
  .info-hero { padding: 36px 0 32px; }
  .info-layout { padding: 28px 0 48px; gap: 20px; }
  .info-section { padding: 22px 0; }
}

@media (max-width: 400px) {
  .type-grid { grid-template-columns: 1fr; }
  .type-card { flex-direction: row; text-align: left; align-items: center; }
  .type-card::before { left: 0; top: 0; bottom: 0; right: auto; width: 4px; height: auto; }
  .type-arrow { display: grid; }
}
