* {
  box-sizing: border-box;
}

:root {
  --bg: #eef5ff;
  --ink: #0d1726;
  --muted: #667085;
  --line: rgba(15, 23, 42, 0.08);
  --card: rgba(255, 255, 255, 0.82);
  --white: #ffffff;
  --blue: #0077ff;
  --blue-dark: #005ee8;
  --cyan: #00b8ff;
  --yellow: #ffd84d;
  --shadow: 0 24px 80px rgba(11, 36, 71, 0.12);
  --soft-shadow: 0 14px 40px rgba(11, 36, 71, 0.08);
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 0%, rgba(0, 119, 255, 0.16), transparent 34%),
    radial-gradient(circle at 86% 10%, rgba(0, 184, 255, 0.16), transparent 32%),
    linear-gradient(180deg, #f7fbff 0%, #edf4ff 42%, #f7f9fc 100%);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.page-glow {
  position: fixed;
  z-index: -1;
  border-radius: 999px;
  filter: blur(12px);
  opacity: 0.7;
  pointer-events: none;
}

.page-glow--one {
  width: 360px;
  height: 360px;
  left: -120px;
  top: 120px;
  background: rgba(0, 119, 255, 0.12);
}

.page-glow--two {
  width: 420px;
  height: 420px;
  right: -160px;
  top: 260px;
  background: rgba(0, 184, 255, 0.12);
}

.container {
  width: min(100% - 40px, 1180px);
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid rgba(15, 23, 42, 0.07);
  backdrop-filter: blur(22px);
}

.topbar__inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.045em;
}

.brand__mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 12px 28px rgba(0, 119, 255, 0.28);
}

.main-nav {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 6px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
}

.main-nav__link {
  padding: 10px 15px;
  border-radius: 999px;
  font-size: 15px;
  color: #4a5566;
  transition: 0.18s ease;
}

.main-nav__link:hover {
  background: rgba(0, 119, 255, 0.08);
  color: var(--blue-dark);
}

.main-nav__link.active {
  background: #0d1726;
  color: #fff;
  font-weight: 800;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ghost-btn {
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.68);
  border-radius: 999px;
  padding: 11px 16px;
  color: #334155;
  font-weight: 700;
}

.mobile-menu {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  background: #eaf2ff;
  padding: 10px;
}

.mobile-menu span {
  display: block;
  height: 2px;
  margin: 5px 0;
  border-radius: 999px;
  background: #0d1726;
}

.hero {
  padding: 58px 0 28px;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr 240px;
  align-items: end;
  gap: 28px;
  margin-bottom: 24px;
}

.badge {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(15, 23, 42, 0.07);
  color: #2f6eea;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(11, 36, 71, 0.05);
}

.badge span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 6px rgba(0, 119, 255, 0.12);
}

.hero-copy h1 {
  margin: 0 0 14px;
  max-width: 770px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.94;
  letter-spacing: -0.075em;
}

.hero-copy p {
  margin: 0;
  max-width: 650px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.4;
}

.hero-stat {
  min-height: 170px;
  padding: 22px;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.96), rgba(255,255,255,0.65)),
    radial-gradient(circle at 80% 10%, rgba(0,119,255,0.18), transparent 40%);
  border: 1px solid rgba(255,255,255,0.9);
  box-shadow: var(--soft-shadow);
}

.hero-stat span,
.hero-stat p {
  color: var(--muted);
}

.hero-stat strong {
  display: block;
  margin: 8px 0;
  font-size: 54px;
  letter-spacing: -0.07em;
  color: var(--blue);
}

.hero-stat p {
  margin: 0;
  line-height: 1.35;
}

.trip-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.trip-tabs__item {
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.68);
  color: #263241;
  padding: 13px 18px;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(11, 36, 71, 0.04);
  transition: 0.18s ease;
}

.trip-tabs__item:hover {
  transform: translateY(-1px);
}

.trip-tabs__item.active {
  background: #0d1726;
  color: #fff;
  border-color: #0d1726;
}

.search-card {
  position: relative;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 30px;
  padding: 10px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.search-grid {
  display: grid;
  grid-template-columns: minmax(180px, 1.25fr) 46px minmax(180px, 1.25fr) minmax(145px, 0.8fr) minmax(145px, 0.8fr) minmax(190px, 1fr) 118px;
  align-items: stretch;
}

.search-field,
.passenger-field {
  min-height: 78px;
  border: 0;
  background: rgba(255, 255, 255, 0.8);
  border-right: 1px solid rgba(15, 23, 42, 0.07);
  padding: 15px 17px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.search-field:first-child {
  border-radius: 21px 0 0 21px;
}

.search-field span,
.passenger-field span {
  color: #7a8492;
  font-size: 13px;
  margin-bottom: 7px;
  font-weight: 700;
}

.search-field input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-size: 17px;
  font-weight: 800;
}

.search-field input::placeholder {
  color: #667085;
  font-weight: 800;
}

.swap-btn {
  align-self: center;
  justify-self: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 14px;
  background: #eef5ff;
  color: var(--blue-dark);
  font-size: 21px;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(0, 119, 255, 0.08);
}

.passenger-field strong {
  color: #111827;
  font-size: 16px;
  white-space: nowrap;
}

.search-btn {
  min-height: 78px;
  border: 0;
  border-radius: 21px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #fff;
  font-size: 17px;
  font-weight: 900;
  box-shadow: 0 16px 34px rgba(0, 119, 255, 0.34);
  transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
}

.search-btn:hover {
  filter: brightness(1.03);
  transform: translateY(-1px);
  box-shadow: 0 20px 42px rgba(0, 119, 255, 0.40);
}

.search-options {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 10px 5px;
  color: #536071;
  flex-wrap: wrap;
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 9px;
  user-select: none;
  font-weight: 700;
}

.checkbox input {
  width: 16px;
  height: 16px;
  accent-color: var(--blue);
}

.link-btn {
  border: 0;
  background: transparent;
  color: var(--blue);
  font-weight: 900;
  padding: 0;
}

.passenger-popover {
  display: none;
  position: absolute;
  right: 132px;
  top: 98px;
  width: 330px;
  padding: 19px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 26px 80px rgba(15, 23, 42, 0.18);
  border: 1px solid rgba(15, 23, 42, 0.06);
  z-index: 5;
  backdrop-filter: blur(18px);
}

.passenger-popover.open {
  display: block;
}

.counter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.counter-row span {
  display: block;
  margin-top: 4px;
  color: #7b8390;
  font-size: 13px;
}

.counter {
  display: flex;
  align-items: center;
  gap: 12px;
}

.counter button {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #eaf2ff;
  color: var(--blue-dark);
  font-size: 21px;
  font-weight: 900;
}

.class-row {
  display: flex;
  gap: 8px;
}

.class-chip {
  border: 0;
  border-radius: 999px;
  background: #edf5ff;
  color: #263241;
  padding: 10px 12px;
  font-weight: 800;
}

.class-chip.active {
  background: #0d1726;
  color: #fff;
}

.passenger-done {
  display: none;
}

.trust-row {
  display: flex;
  gap: 12px;
  margin: 18px 0 0;
  flex-wrap: wrap;
}

.trust-row div {
  display: flex;
  align-items: baseline;
  gap: 7px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(15, 23, 42, 0.05);
  box-shadow: 0 10px 24px rgba(11, 36, 71, 0.04);
}

.trust-row strong {
  color: var(--blue-dark);
}

.trust-row span {
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
}

.promo-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 0.8fr;
  gap: 16px;
  margin-top: 28px;
}

.promo-card {
  min-height: 172px;
  padding: 24px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(18px);
}

.promo-card--blue {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  background:
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.24), transparent 32%),
    linear-gradient(135deg, #0a6cff, #00b8ff);
}

.promo-card--blue .eyebrow,
.promo-card--blue p {
  color: rgba(255, 255, 255, 0.82);
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 12px;
  color: #627084;
  font-size: 13px;
  font-weight: 900;
}

.promo-card h2,
.promo-card h3 {
  margin: 0 0 10px;
  letter-spacing: -0.045em;
}

.promo-card h2 {
  max-width: 470px;
  font-size: 31px;
  line-height: 1.02;
}

.promo-card h3 {
  font-size: 23px;
  line-height: 1.08;
}

.promo-card p {
  margin: 0;
  color: #667085;
  line-height: 1.48;
}

.promo-visual {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 28px;
  background: rgba(255,255,255,0.18);
  font-size: 50px;
  font-weight: 900;
}

.content-section {
  padding: 26px 0 70px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
  margin-bottom: 16px;
}

.section-head h2 {
  margin: 0;
  font-size: 32px;
  letter-spacing: -0.05em;
}

.section-head a {
  color: var(--blue);
  font-weight: 900;
}

.destination-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.destination-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 128px;
  padding: 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.84);
  box-shadow: 0 12px 30px rgba(11, 36, 71, 0.06);
  transition: 0.18s ease;
}

.destination-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(11, 36, 71, 0.11);
}

.destination-card .route {
  font-weight: 900;
}

.destination-card strong {
  color: var(--blue-dark);
  font-size: 22px;
  letter-spacing: -0.035em;
}

.destination-card small {
  color: var(--muted);
  line-height: 1.35;
}

.suggestion-notice {
  display: grid;
  gap: 6px;
  margin: 8px;
  padding: 12px 13px;
  border: 1px solid rgba(0, 119, 255, 0.14);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(232, 244, 255, 0.96), rgba(255, 248, 226, 0.76));
  color: #1c365f;
}

.suggestion-notice strong {
  font-size: 14px;
  line-height: 1.25;
}

.suggestion-notice span {
  color: #5d6d83;
  font-size: 13px;
  line-height: 1.38;
}

.suggestion-group-title {
  padding: 6px 16px 4px;
  color: #647388;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.suggestion-item--alternative {
  background: rgba(246, 250, 255, 0.92);
}

.section-subtitle {
  max-width: 760px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.home-bus-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin: 20px 0 0;
  padding: 20px 22px;
  border: 1px solid rgba(0, 119, 255, 0.16);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(234, 247, 255, 0.94), rgba(255, 255, 255, 0.9)),
    rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 46px rgba(11, 36, 71, 0.08);
}

.home-bus-cta[hidden] {
  display: none;
}

.home-bus-cta__eyebrow {
  display: inline-flex;
  margin-bottom: 6px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-bus-cta h2 {
  margin: 0;
  color: var(--ink);
  font-size: 24px;
  letter-spacing: -0.03em;
}

.home-bus-cta p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.home-bus-cta a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0b74ff, #16a3ff);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 16px 32px rgba(0, 119, 255, 0.22);
}

@media (max-width: 1100px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero-stat {
    display: none;
  }

  .search-grid {
    grid-template-columns: 1fr 46px 1fr 1fr 1fr;
  }

  .passenger-field {
    grid-column: 1 / 4;
    border-top: 1px solid rgba(15, 23, 42, 0.07);
  }

  .search-btn {
    grid-column: 4 / 6;
  }

  .passenger-popover {
    right: auto;
    left: 18px;
    top: 170px;
  }

  .promo-grid {
    grid-template-columns: 1fr 1fr;
  }

  .promo-card--blue {
    grid-column: 1 / -1;
  }

  .destination-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-bus-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .topbar__inner {
    height: 66px;
  }

  .main-nav,
  .ghost-btn {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .brand {
    font-size: 20px;
  }

  .hero {
    padding-top: 36px;
  }

  .hero-copy h1 {
    font-size: clamp(42px, 14vw, 58px);
  }

  .hero-copy p {
    font-size: 17px;
  }

  .trip-tabs__item {
    white-space: nowrap;
  }

  .search-card {
    border-radius: 26px;
  }

  .search-grid {
    display: flex;
    flex-direction: column;
  }

  .search-field,
  .passenger-field {
    min-height: 68px;
    border-right: 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.07);
    border-radius: 0;
  }

  .search-field:first-child {
    border-radius: 19px 19px 0 0;
  }

  .swap-btn {
    position: absolute;
    top: 72px;
    right: 22px;
    z-index: 2;
  }

  .search-btn {
    min-height: 60px;
    margin-top: 10px;
    width: 100%;
  }

  .search-options {
    align-items: flex-start;
    flex-direction: column;
    gap: 11px;
  }

  .passenger-popover {
    width: calc(100% - 20px);
    left: 10px;
    right: 10px;
    top: auto;
    bottom: -165px;
  }

  .promo-grid,
  .destination-grid {
    grid-template-columns: 1fr;
  }

  .promo-card--blue {
    display: block;
  }

  .promo-visual {
    margin-top: 20px;
    width: 68px;
    height: 68px;
    font-size: 40px;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }
}


.section-head {
  margin-bottom: 16px;
}

.section-head h2 {
  margin: 0;
}


/* v6 fixes */
.search-options .link-btn {
  display: none;
}

.promo-card--blue {
  position: relative;
  overflow: hidden;
  min-height: 210px;
}

.promo-card--blue::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -80px;
  bottom: -105px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}

.promo-card--blue > div:first-child {
  position: relative;
  z-index: 2;
}

.promo-card--blue .promo-visual {
  position: relative;
  z-index: 2;
}

.promo-card--blue p {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 760px) {
  .promo-card--blue {
    min-height: auto;
    padding: 26px;
    border-radius: 28px;
  }

  .promo-card--blue h2 {
    max-width: 100%;
    font-size: clamp(30px, 9vw, 42px);
    line-height: 1.03;
    letter-spacing: -0.06em;
  }

  .promo-card--blue p {
    max-width: 100%;
    font-size: 17px;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.84);
  }

  .promo-card--blue .eyebrow {
    color: rgba(255, 255, 255, 0.86);
  }

  .promo-card--blue .promo-visual {
    position: absolute;
    right: 22px;
    bottom: 22px;
    width: 54px;
    height: 54px;
    margin-top: 0;
    border-radius: 18px;
    font-size: 30px;
    opacity: 0.92;
  }

  .promo-card--blue::after {
    width: 210px;
    height: 210px;
    right: -95px;
    bottom: -95px;
  }

  .promo-card--blue div:first-child {
    padding-right: 54px;
  }
}


/* v7 active search fields */
.search-field {
  position: relative;
}

.search-field:focus-within {
  background: #ffffff;
  box-shadow: inset 0 0 0 2px rgba(0, 119, 255, 0.18);
}

.search-field input[type="date"] {
  cursor: pointer;
}

.suggestions {
  display: none;
  position: absolute;
  left: 10px;
  right: 10px;
  top: calc(100% + 10px);
  z-index: 30;
  max-height: 300px;
  overflow: auto;
  padding: 8px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.18);
  border: 1px solid rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(18px);
}

.suggestions.open {
  display: block;
}

.suggestion-item {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  padding: 12px;
  text-align: left;
  color: var(--ink);
}

.suggestion-item:hover,
.suggestion-item.active {
  background: #eef5ff;
}

.suggestion-item strong {
  display: block;
  font-size: 15px;
}

.suggestion-item span {
  display: block;
  margin-top: 3px;
  color: #667085;
  font-size: 13px;
}

.suggestion-item b {
  align-self: center;
  color: var(--blue-dark);
  font-size: 13px;
}

.search-preview {
  margin-top: 16px;
  padding: 16px 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 34px rgba(11, 36, 71, 0.07);
  color: #344054;
  font-weight: 700;
}

.search-preview strong {
  color: var(--blue-dark);
}

.counter-row + .counter-row {
  padding-top: 14px;
  border-top: 1px solid rgba(15, 23, 42, 0.07);
}

.input-error {
  animation: shake 0.24s ease;
  box-shadow: inset 0 0 0 2px rgba(255, 57, 57, 0.32) !important;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

@media (max-width: 760px) {
  .suggestions {
    position: fixed;
    left: 12px;
    right: 12px;
    top: auto;
    bottom: 18px;
    max-height: 52vh;
    border-radius: 24px;
  }

  .passenger-popover {
    max-height: 64vh;
    overflow: auto;
  }
}


/* v8: compact hero + fix one-way search layout */
.hero {
  padding: 42px 0 20px;
}

.hero-layout {
  gap: 22px;
  margin-bottom: 20px;
}

.hero-copy h1 {
  max-width: 760px;
  margin: 0 0 12px;
  font-size: clamp(38px, 5.1vw, 68px);
  line-height: 0.92;
  letter-spacing: -0.08em;
}

.hero-copy p {
  max-width: 620px;
  font-size: 17px;
  line-height: 1.38;
}

.badge {
  margin-bottom: 14px;
  padding: 8px 13px;
  font-size: 13px;
}

.hero-stat {
  min-height: 150px;
  padding: 20px;
}

.hero-stat strong {
  font-size: 48px;
}

.search-grid.oneway {
  grid-template-columns: minmax(180px, 1.25fr) 46px minmax(180px, 1.25fr) minmax(150px, 0.85fr) minmax(190px, 1fr) 126px;
}

.search-grid.oneway .passenger-field {
  border-right: 1px solid rgba(15, 23, 42, 0.07);
}

.search-grid.oneway .search-btn {
  min-width: 0;
}

@media (max-width: 1100px) {
  .hero {
    padding: 36px 0 18px;
  }

  .hero-copy h1 {
    max-width: 680px;
    font-size: clamp(34px, 5.8vw, 56px);
  }

  .search-grid.oneway {
    grid-template-columns: 1fr 46px 1fr 1fr 1fr;
  }

  .search-grid.oneway .passenger-field {
    grid-column: 1 / 4;
    border-top: 1px solid rgba(15, 23, 42, 0.07);
    border-right: 1px solid rgba(15, 23, 42, 0.07);
  }

  .search-grid.oneway .search-btn {
    grid-column: 4 / 6;
  }
}

@media (max-width: 760px) {
  .hero {
    padding-top: 26px;
    padding-bottom: 12px;
  }

  .badge {
    margin-bottom: 12px;
    padding: 7px 12px;
    font-size: 12px;
  }

  .hero-copy h1 {
    max-width: 100%;
    margin-bottom: 12px;
    font-size: clamp(28px, 10.5vw, 46px);
    line-height: 0.96;
    letter-spacing: -0.07em;
  }

  .hero-copy p {
    max-width: 100%;
    font-size: 15px;
    line-height: 1.42;
  }

  .trip-tabs {
    margin-bottom: 14px;
  }

  .trip-tabs__item {
    flex: 1 1 0;
    justify-content: center;
    text-align: center;
    padding: 12px 14px;
    font-size: 15px;
  }

  .search-card {
    margin-top: 2px;
  }

  .search-field,
  .passenger-field {
    min-height: 64px;
    padding: 13px 15px;
  }

  .search-field span,
  .passenger-field span {
    margin-bottom: 5px;
    font-size: 12px;
  }

  .search-field input,
  .passenger-field strong {
    font-size: 15px;
  }

  .search-btn {
    min-height: 56px;
    font-size: 16px;
    border-radius: 18px;
  }
}


/* v24 premium polish: home page */
:root {
  --bg: #f4f8ff;
  --card: rgba(255, 255, 255, 0.84);
  --white: #ffffff;
  --blue: #0a78ff;
  --blue-dark: #0b5fe0;
  --cyan: #27c1ff;
  --shadow: 0 26px 70px rgba(11, 36, 71, 0.10), 0 8px 20px rgba(11, 36, 71, 0.05);
  --soft-shadow: 0 18px 44px rgba(11, 36, 71, 0.08), 0 6px 16px rgba(11, 36, 71, 0.04);
}

body {
  background:
    radial-gradient(circle at 12% -6%, rgba(10, 120, 255, 0.16), transparent 28%),
    radial-gradient(circle at 88% 10%, rgba(39, 193, 255, 0.14), transparent 25%),
    radial-gradient(circle at 54% 42%, rgba(10, 120, 255, 0.05), transparent 34%),
    linear-gradient(180deg, #f8fbff 0%, #edf4ff 42%, #f8fbff 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -2;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(70px);
  opacity: 0.55;
}

body::before {
  width: 320px;
  height: 320px;
  left: -120px;
  top: 90px;
  background: rgba(10, 120, 255, 0.10);
}

body::after {
  width: 420px;
  height: 420px;
  right: -140px;
  top: 260px;
  background: rgba(39, 193, 255, 0.10);
}

.page-glow {
  filter: blur(24px);
  opacity: 0.8;
}

.topbar {
  background: linear-gradient(180deg, rgba(255,255,255,0.82), rgba(255,255,255,0.68));
  box-shadow: 0 10px 28px rgba(11, 36, 71, 0.04);
}

.brand__mark {
  border: 1px solid rgba(255,255,255,0.35);
  box-shadow: 0 14px 30px rgba(10, 120, 255, 0.28), inset 0 1px 0 rgba(255,255,255,0.34);
}

.main-nav,
.ghost-btn {
  background: linear-gradient(180deg, rgba(255,255,255,0.76), rgba(248,251,255,0.62));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.68);
}

.ghost-btn,
.trip-tabs__item,
.destination-card,
.promo-card,
.search-preview,
.search-card,
.hero-stat {
  position: relative;
  overflow: hidden;
}

.hero-stat,
.search-card,
.promo-card,
.destination-card,
.search-preview {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.90), rgba(248,252,255,0.76)),
    radial-gradient(circle at 100% 0%, rgba(10,120,255,0.08), transparent 32%);
  border: 1px solid rgba(255,255,255,0.92);
  box-shadow: var(--soft-shadow);
}

.hero-stat::after,
.search-card::after,
.promo-card:not(.promo-card--blue)::after,
.destination-card::after,
.search-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,0.20), transparent 44%);
}

.badge {
  background: linear-gradient(180deg, rgba(255,255,255,0.84), rgba(246,250,255,0.72));
  box-shadow: 0 12px 30px rgba(11, 36, 71, 0.06), inset 0 1px 0 rgba(255,255,255,0.72);
}

.trip-tabs__item {
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(242,247,255,0.82));
  box-shadow: 0 10px 24px rgba(11, 36, 71, 0.05), inset 0 1px 0 rgba(255,255,255,0.72);
}

.trip-tabs__item.active,
.main-nav__link.active,
.class-chip.active {
  background: linear-gradient(180deg, #12233d 0%, #0d1726 100%);
  box-shadow: 0 16px 32px rgba(13, 23, 38, 0.22);
}

.search-field,
.passenger-field {
  background: linear-gradient(180deg, rgba(255,255,255,0.88), rgba(246,250,255,0.76));
}

.search-field:focus-within {
  background: #ffffff;
  box-shadow: inset 0 0 0 2px rgba(10, 120, 255, 0.18), 0 0 0 5px rgba(10, 120, 255, 0.04);
}

.swap-btn,
.counter button {
  background: linear-gradient(180deg, #f8fbff 0%, #eaf3ff 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 8px 18px rgba(10, 120, 255, 0.10);
}

.search-btn {
  background: linear-gradient(135deg, #0a78ff 0%, #29c2ff 100%);
  box-shadow: 0 18px 38px rgba(10, 120, 255, 0.30), inset 0 1px 0 rgba(255,255,255,0.24);
}

.search-options {
  color: #5d6a7c;
}

.search-preview strong,
.hero-stat strong,
.destination-card strong,
.trust-row strong {
  color: var(--blue);
}

.trust-row div {
  background: linear-gradient(180deg, rgba(255,255,255,0.80), rgba(247,250,255,0.66));
  box-shadow: 0 12px 26px rgba(11, 36, 71, 0.05), inset 0 1px 0 rgba(255,255,255,0.72);
}

.promo-card--blue {
  background:
    radial-gradient(circle at 84% 16%, rgba(255,255,255,0.24), transparent 30%),
    linear-gradient(135deg, #0a78ff 0%, #16a9ff 52%, #34cfff 100%);
  box-shadow: 0 24px 50px rgba(10, 120, 255, 0.24);
}

.promo-card:not(.promo-card--blue) h3,
.section-head h2,
.hero-copy h1 {
  text-shadow: 0 1px 0 rgba(255,255,255,0.44);
}

.destination-card:hover,
.promo-card:hover,
.hero-stat:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 46px rgba(11, 36, 71, 0.12);
}

.content-section {
  position: relative;
}

.content-section::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 14px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(10,120,255,0.10), transparent);
}

@media (max-width: 760px) {
  body::before {
    width: 220px;
    height: 220px;
    left: -90px;
  }

  body::after {
    width: 260px;
    height: 260px;
    right: -120px;
    top: 210px;
  }
}


/* v25 stronger premium polish */
body {
  background:
    radial-gradient(circle at 9% 6%, rgba(10, 120, 255, 0.20), transparent 23%),
    radial-gradient(circle at 88% 10%, rgba(39, 193, 255, 0.18), transparent 22%),
    radial-gradient(circle at 54% 38%, rgba(10, 120, 255, 0.08), transparent 26%),
    linear-gradient(180deg, #f6faff 0%, #e7f1ff 34%, #f7fbff 72%, #f3f8ff 100%);
}

.topbar {
  background: linear-gradient(180deg, rgba(255,255,255,0.88), rgba(255,255,255,0.72));
  border-bottom: 1px solid rgba(10,120,255,0.08);
  backdrop-filter: blur(24px);
}

.hero {
  position: relative;
  padding-top: 26px;
}

.hero::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 8px;
  width: min(1180px, calc(100% - 40px));
  height: 520px;
  border-radius: 42px;
  background:
    radial-gradient(circle at 18% 18%, rgba(10,120,255,0.14), transparent 24%),
    radial-gradient(circle at 88% 16%, rgba(39,193,255,0.14), transparent 22%),
    linear-gradient(180deg, rgba(255,255,255,0.42), rgba(255,255,255,0.16));
  border: 1px solid rgba(255,255,255,0.48);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.54);
  z-index: -1;
}

.hero-copy h1 {
  max-width: 820px;
}

.search-card,
.hero-stat,
.promo-card,
.destination-card,
.search-preview,
.trust-row div {
  backdrop-filter: blur(18px);
  box-shadow: 0 22px 54px rgba(15, 44, 86, 0.10), 0 8px 22px rgba(15, 44, 86, 0.04);
}

.search-card {
  background:
    radial-gradient(circle at 86% 18%, rgba(10,120,255,0.08), transparent 26%),
    linear-gradient(180deg, rgba(255,255,255,0.94), rgba(245,250,255,0.88));
}

.search-card::before,
.promo-card::before,
.destination-card::before,
.hero-stat::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(10,120,255,0.26), transparent);
}

.search-btn {
  background: linear-gradient(135deg, #0672ff 0%, #1aa5ff 54%, #4fd2ff 100%);
  box-shadow: 0 22px 44px rgba(10, 120, 255, 0.28), inset 0 1px 0 rgba(255,255,255,0.28);
}

.section-head {
  align-items: end;
}

.content-section {
  padding-top: 14px;
}

.content-section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 100%;
  background: linear-gradient(180deg, rgba(255,255,255,0.10), transparent 120px);
  pointer-events: none;
}

.promo-card--blue {
  background:
    radial-gradient(circle at 82% 28%, rgba(255,255,255,0.22), transparent 20%),
    radial-gradient(circle at 88% 80%, rgba(255,255,255,0.12), transparent 18%),
    linear-gradient(135deg, #0674ff 0%, #189eff 50%, #44d1ff 100%);
}

.destination-card strong {
  font-size: 28px;
}

@media (max-width: 760px) {
  .hero::before {
    height: 420px;
    width: min(100% - 24px, 1000px);
    top: 10px;
    border-radius: 30px;
  }
}


/* v26: compact mobile hero + first-screen search */
@media (max-width: 760px) {
  .topbar__inner {
    height: 74px;
  }

  .brand {
    font-size: 18px;
    gap: 12px;
  }

  .brand__mark {
    width: 50px;
    height: 50px;
    border-radius: 18px;
    box-shadow: 0 10px 24px rgba(10, 120, 255, 0.18), inset 0 1px 0 rgba(255,255,255,0.28);
  }

  .mobile-menu {
    width: 46px;
    height: 46px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(242,247,255,0.96), rgba(232,240,252,0.88));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.55);
  }

  .hero {
    padding-top: 14px;
    padding-bottom: 18px;
  }

  .hero::before {
    top: 0;
    bottom: 0;
    height: auto;
    width: min(100% - 18px, 1000px);
    border-radius: 32px;
    background:
      radial-gradient(circle at 14% 14%, rgba(10,120,255,0.16), transparent 22%),
      radial-gradient(circle at 84% 16%, rgba(39,193,255,0.12), transparent 21%),
      linear-gradient(180deg, rgba(248,252,255,0.92), rgba(227,239,255,0.90));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.62);
  }

  .hero-layout {
    display: block;
    margin-bottom: 12px;
  }

  .hero-stat {
    display: none;
  }

  .hero-copy {
    padding: 2px 2px 0;
  }

  .badge {
    margin-bottom: 12px;
    padding: 8px 12px;
    font-size: 13px;
    gap: 8px;
  }

  .hero-copy h1 {
    margin: 0 0 10px;
    max-width: 8.5ch;
    font-size: clamp(29px, 8.8vw, 40px);
    line-height: 0.96;
    letter-spacing: -0.07em;
  }

  .hero-copy p {
    max-width: 31ch;
    font-size: 15px;
    line-height: 1.34;
    color: #677487;
  }

  .trip-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 12px;
  }

  .trip-tabs__item {
    min-height: 50px;
    padding: 12px 8px;
    border-radius: 18px;
    font-size: 15px;
    text-align: center;
    justify-content: center;
  }

  .search-card {
    padding: 10px;
    border-radius: 28px;
    background:
      radial-gradient(circle at 92% 8%, rgba(10,120,255,0.08), transparent 22%),
      linear-gradient(180deg, rgba(255,255,255,0.94), rgba(245,250,255,0.92));
    box-shadow: 0 22px 46px rgba(14, 42, 82, 0.12), 0 6px 18px rgba(14, 42, 82, 0.05);
  }

  .search-grid {
    display: flex;
    flex-direction: column;
  }

  .search-field,
  .passenger-field {
    min-height: 58px;
    padding: 12px 16px;
    background: rgba(255,255,255,0.82);
  }

  .search-field:first-child {
    border-radius: 18px 18px 0 0;
  }

  .search-field span,
  .passenger-field span {
    margin-bottom: 4px;
    font-size: 12px;
  }

  .search-field input,
  .passenger-field strong {
    font-size: 15px;
  }

  .swap-btn {
    top: 57px;
    right: 16px;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    font-size: 19px;
  }

  .search-btn {
    min-height: 56px;
    margin-top: 8px;
    border-radius: 18px;
    font-size: 16px;
  }

  .search-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 14px;
    padding: 12px 4px 2px;
    align-items: start;
  }

  .checkbox {
    gap: 8px;
    font-size: 14px;
  }

  .checkbox span {
    line-height: 1.2;
  }

  .search-preview {
    margin-top: 10px;
  }

  .trust-row {
    margin-top: 14px;
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .trust-row::-webkit-scrollbar {
    display: none;
  }

  .trust-row div {
    flex: 0 0 auto;
    padding: 10px 14px;
    border-radius: 18px;
    white-space: nowrap;
  }

  .promo-grid {
    gap: 14px;
    margin-top: 16px;
  }

  .promo-card--blue {
    padding: 22px;
    min-height: auto;
  }

  .promo-card--blue h2 {
    font-size: clamp(28px, 8.2vw, 40px);
    line-height: 1.02;
  }

  .promo-card--blue p {
    font-size: 15px;
    line-height: 1.42;
  }
}

@media (max-width: 430px) {
  .hero-copy h1 {
    max-width: 8.2ch;
    font-size: clamp(27px, 8.6vw, 34px);
  }

  .hero-copy p {
    font-size: 14px;
    max-width: 29ch;
  }

  .search-field,
  .passenger-field {
    min-height: 54px;
    padding: 10px 14px;
  }

  .search-btn {
    min-height: 54px;
  }

  .search-options {
    gap: 8px 12px;
    padding-top: 10px;
  }

  .checkbox {
    font-size: 13px;
  }
}

@media (max-width: 360px) {
  .trip-tabs {
    grid-template-columns: 1fr;
  }

  .search-options {
    grid-template-columns: 1fr;
  }
}


/* v27: stronger mobile hero / make full search fit first screen */
@media (max-width: 760px) {
  .topbar {
    position: sticky;
    top: 0;
    z-index: 40;
  }

  .topbar__inner {
    height: 66px;
  }

  .brand {
    font-size: 17px;
    font-weight: 800;
    gap: 10px;
  }

  .brand__mark {
    width: 42px;
    height: 42px;
    border-radius: 16px;
    font-size: 18px;
  }

  .mobile-menu {
    width: 42px;
    height: 42px;
    border-radius: 16px;
  }

  .container {
    width: min(100% - 22px, 1100px);
  }

  .hero {
    padding-top: 10px;
    padding-bottom: 12px;
  }

  .hero::before {
    top: 4px;
    width: min(100% - 14px, 1000px);
    border-radius: 28px;
    background:
      radial-gradient(circle at 18% 18%, rgba(10,120,255,0.15), transparent 24%),
      radial-gradient(circle at 82% 12%, rgba(52,207,255,0.13), transparent 22%),
      radial-gradient(circle at 38% 68%, rgba(10,120,255,0.07), transparent 24%),
      linear-gradient(135deg, rgba(241,247,255,0.98) 0%, rgba(223,237,255,0.94) 52%, rgba(231,246,255,0.96) 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.62), 0 24px 50px rgba(12, 46, 92, 0.10);
  }

  .hero-copy {
    padding: 0;
  }

  .badge {
    margin-bottom: 10px;
    padding: 7px 11px;
    width: fit-content;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: -0.01em;
    background: rgba(255,255,255,0.72);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 8px 18px rgba(15,44,86,0.06);
  }

  .badge span {
    width: 10px;
    height: 10px;
  }

  .hero-copy h1 {
    max-width: 7.8ch;
    margin: 0 0 8px;
    font-size: clamp(24px, 8vw, 34px);
    line-height: 0.92;
    letter-spacing: -0.07em;
    text-wrap: balance;
  }

  .hero-copy p {
    max-width: 24ch;
    margin: 0 0 12px;
    font-size: 14px;
    line-height: 1.28;
    color: #6a7585;
  }

  .trip-tabs {
    gap: 8px;
    margin-bottom: 10px;
  }

  .trip-tabs__item {
    min-height: 46px;
    padding: 11px 8px;
    border-radius: 17px;
    font-size: 14px;
    font-weight: 750;
    box-shadow: 0 10px 20px rgba(15,44,86,0.05), inset 0 1px 0 rgba(255,255,255,0.85);
  }

  .search-card {
    padding: 8px;
    border-radius: 24px;
    box-shadow: 0 18px 34px rgba(14,42,82,0.10), 0 4px 14px rgba(14,42,82,0.05);
  }

  .search-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
  }

  .search-field,
  .passenger-field,
  .search-btn {
    min-height: 48px;
    padding: 10px 14px;
    border-radius: 0;
    box-shadow: none;
  }

  .search-field--city:nth-of-type(1),
  .search-field--city:nth-of-type(2) {
    grid-column: 1 / -1;
  }

  .search-field--date {
    grid-column: span 1;
  }

  .passenger-field {
    grid-column: 1 / 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }

  .search-btn {
    grid-column: 2 / 3;
    margin-top: 0;
    min-height: 56px;
    align-self: stretch;
    border-radius: 0 0 18px 0;
  }

  .search-field:first-child {
    border-radius: 18px 18px 0 0;
  }

  .search-field--date.return-date {
    border-left: 1px solid rgba(15,44,86,0.05);
  }

  .passenger-field {
    border-top: 1px solid rgba(18,40,72,0.06);
    border-radius: 0 0 0 18px;
  }

  .search-field span,
  .passenger-field span {
    margin-bottom: 2px;
    font-size: 11px;
    letter-spacing: -0.01em;
    color: #8692a2;
  }

  .search-field input,
  .passenger-field strong,
  .search-btn span {
    font-size: 14px;
    line-height: 1.15;
  }

  .passenger-field strong {
    max-width: 15ch;
    text-align: left;
  }

  .swap-btn {
    top: 51px;
    right: 12px;
    width: 34px;
    height: 34px;
    border-radius: 11px;
    font-size: 17px;
    box-shadow: 0 10px 18px rgba(10,120,255,0.12), inset 0 1px 0 rgba(255,255,255,0.9);
  }

  .search-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 12px;
    padding: 9px 4px 0;
  }

  .checkbox {
    font-size: 13px;
  }

  .checkbox input {
    width: 15px;
    height: 15px;
  }

  .search-preview {
    margin-top: 8px;
  }

  .trust-row,
  .promo-grid {
    margin-top: 12px;
  }

  .trust-row div {
    padding: 9px 13px;
    border-radius: 16px;
    font-size: 14px;
  }

  .promo-card--blue {
    padding: 18px;
    border-radius: 26px;
  }

  .promo-card--blue h2 {
    font-size: clamp(22px, 7.2vw, 30px);
    line-height: 1.04;
    max-width: 12ch;
  }

  .promo-card--blue p {
    font-size: 14px;
    line-height: 1.34;
    max-width: 25ch;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(100% - 16px, 1100px);
  }

  .hero-copy h1 {
    max-width: 7.2ch;
    font-size: clamp(22px, 7.4vw, 31px);
  }

  .hero-copy p {
    max-width: 22ch;
    margin-bottom: 10px;
    font-size: 13px;
  }

  .trip-tabs__item {
    min-height: 44px;
    font-size: 13px;
  }

  .search-card {
    padding: 7px;
    border-radius: 22px;
  }

  .search-field,
  .passenger-field,
  .search-btn {
    min-height: 45px;
    padding: 9px 12px;
  }

  .search-field input,
  .passenger-field strong,
  .search-btn span {
    font-size: 13px;
  }

  .search-btn {
    min-height: 52px;
  }

  .swap-btn {
    top: 47px;
    right: 10px;
    width: 32px;
    height: 32px;
    font-size: 16px;
  }

  .search-options {
    grid-template-columns: 1fr 1fr;
    gap: 8px 10px;
  }

  .checkbox {
    gap: 7px;
    font-size: 12px;
  }
}

@media (max-width: 370px) {
  .hero-copy h1 {
    max-width: 7ch;
    font-size: 21px;
  }

  .trip-tabs {
    grid-template-columns: 1fr 1fr;
  }

  .search-grid {
    grid-template-columns: 1fr 1fr;
  }

  .passenger-field strong {
    max-width: 13ch;
  }
}


/* v28: richer hero copy above mobile search */
.hero-title-main,
.hero-title-sub {
  display: block;
}

.hero-title-sub {
  width: fit-content;
  background: linear-gradient(180deg, transparent 62%, rgba(63, 135, 255, 0.12) 62%);
  border-radius: 0.22em;
}

.hero-copy p strong {
  color: #386be8;
  font-weight: 800;
}

@media (max-width: 760px) {
  .hero-layout {
    gap: 10px;
  }

  .hero-copy {
    display: grid;
    gap: 8px;
    max-width: none;
  }

  .badge {
    margin-bottom: 2px;
    padding: 8px 13px;
    font-size: 13px;
  }

  .hero-copy h1 {
    max-width: none;
    display: grid;
    gap: 3px;
    margin-bottom: 0;
    font-size: clamp(26px, 8vw, 34px);
    line-height: 0.94;
    letter-spacing: -0.065em;
    text-wrap: balance;
  }

  .hero-title-main {
    max-width: 12ch;
  }

  .hero-title-sub {
    max-width: 100%;
    padding-right: 0.08em;
    color: #15203a;
  }

  .hero-copy p {
    max-width: none;
    width: 100%;
    margin-bottom: 12px;
    padding-right: 10px;
    font-size: 15px;
    line-height: 1.32;
    color: #677487;
    text-wrap: pretty;
  }
}

@media (max-width: 480px) {
  .hero-copy {
    gap: 7px;
  }

  .hero-copy h1 {
    font-size: clamp(24px, 7.8vw, 31px);
  }

  .hero-title-main {
    max-width: 11.5ch;
  }

  .hero-copy p {
    margin-bottom: 10px;
    padding-right: 0;
    font-size: 14px;
    line-height: 1.34;
  }
}

@media (max-width: 370px) {
  .hero-copy h1 {
    font-size: 23px;
  }

  .hero-title-main {
    max-width: 11ch;
  }

  .hero-copy p {
    font-size: 13px;
  }
}


/* v29: show promo stat card on mobile near hero copy */
@media (max-width: 760px) {
  .hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 112px;
    align-items: start;
    gap: 12px;
    margin-bottom: 12px;
  }

  .hero-copy {
    min-width: 0;
    padding-right: 0;
  }

  .hero-copy h1 {
    max-width: none;
    font-size: clamp(22px, 7.2vw, 30px);
    line-height: 0.95;
    letter-spacing: -0.07em;
  }

  .hero-title-main {
    max-width: 7.6ch;
  }

  .hero-title-sub {
    max-width: 8.4ch;
  }

  .hero-copy p {
    max-width: none;
    width: 100%;
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.28;
  }

  .hero-stat {
    display: block;
    min-height: auto;
    padding: 14px 12px 13px;
    border-radius: 22px;
    background:
      linear-gradient(155deg, rgba(255,255,255,0.96), rgba(249,252,255,0.82)),
      radial-gradient(circle at 80% 12%, rgba(0,119,255,0.18), transparent 46%);
    border: 1px solid rgba(255,255,255,0.92);
    box-shadow: 0 16px 28px rgba(16, 44, 84, 0.10), inset 0 1px 0 rgba(255,255,255,0.72);
  }

  .hero-stat span {
    display: block;
    font-size: 11px;
    line-height: 1.15;
    color: #7b8798;
  }

  .hero-stat strong {
    margin: 6px 0 8px;
    font-size: 32px;
    line-height: 0.9;
    letter-spacing: -0.08em;
    color: #2c78ff;
  }

  .hero-stat p {
    margin: 0;
    font-size: 11px;
    line-height: 1.18;
    color: #667387;
    text-wrap: balance;
  }
}

@media (max-width: 480px) {
  .hero-layout {
    grid-template-columns: minmax(0, 1fr) 106px;
    gap: 10px;
  }

  .hero-copy h1 {
    font-size: clamp(21px, 7vw, 28px);
  }

  .hero-title-main {
    max-width: 7.1ch;
  }

  .hero-title-sub {
    max-width: 7.9ch;
  }

  .hero-copy p {
    font-size: 13px;
    line-height: 1.26;
  }

  .hero-stat {
    padding: 13px 11px 12px;
    border-radius: 20px;
  }

  .hero-stat strong {
    font-size: 29px;
  }
}

@media (max-width: 370px) {
  .hero-layout {
    grid-template-columns: minmax(0, 1fr) 98px;
  }

  .hero-copy h1 {
    font-size: 20px;
  }

  .hero-copy p {
    font-size: 12.5px;
  }

  .hero-stat strong {
    font-size: 26px;
  }

  .hero-stat p,
  .hero-stat span {
    font-size: 10px;
  }

  .hero-stat span {
    max-width: 60px;
  }

  .hero-stat p {
    max-width: 116px;
  }
}


/* v30: compact mobile hero without empty gaps */
@media (max-width: 760px) {
  .hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 118px;
    grid-template-areas:
      "badge stat"
      "title title"
      "desc desc";
    align-items: start;
    gap: 10px 14px;
    margin-bottom: 10px;
  }

  .hero-copy {
    display: contents;
  }

  .hero-copy .badge {
    grid-area: badge;
    width: fit-content;
    min-width: 0;
    margin: 2px 0 0;
    padding: 8px 14px 8px 10px;
    font-size: 15px;
    line-height: 1;
    border-radius: 999px;
    box-shadow: 0 10px 22px rgba(31, 62, 112, 0.06), inset 0 1px 0 rgba(255,255,255,0.8);
  }

  .hero-copy .badge span {
    width: 12px;
    height: 12px;
    margin-right: 8px;
    box-shadow: 0 0 0 8px rgba(58, 112, 255, 0.09);
  }

  .hero-stat {
    grid-area: stat;
    justify-self: end;
    align-self: start;
    width: 118px;
    min-width: 118px;
    padding: 14px 12px 14px;
    border-radius: 28px;
  }

  .hero-copy h1 {
    grid-area: title;
    max-width: none;
    margin: 0;
    font-size: clamp(26px, 7.1vw, 46px);
    line-height: 0.9;
    letter-spacing: -0.075em;
    text-wrap: balance;
  }

  .hero-title-main,
  .hero-title-sub {
    display: inline;
    max-width: none;
  }

  .hero-title-main::after {
    content: ' ';
  }

  .hero-copy p {
    grid-area: desc;
    max-width: none;
    width: 100%;
    margin: -2px 0 0;
    font-size: 15px;
    line-height: 1.28;
    color: #6d7788;
    text-wrap: pretty;
  }

  .hero-copy p strong {
    color: #416df0;
  }
}

@media (max-width: 560px) {
  .hero-layout {
    grid-template-columns: minmax(0, 1fr) 108px;
    gap: 10px 12px;
  }

  .hero-copy .badge {
    padding: 8px 13px 8px 10px;
    font-size: 14px;
  }

  .hero-copy h1 {
    font-size: clamp(24px, 8vw, 34px);
  }

  .hero-copy p {
    font-size: 14px;
    line-height: 1.24;
  }

  .hero-stat {
    width: 108px;
    min-width: 108px;
    padding: 13px 11px 12px;
    border-radius: 24px;
  }

  .hero-stat strong {
    font-size: 30px;
  }
}

@media (max-width: 430px) {
  .hero-layout {
    grid-template-columns: minmax(0, 1fr) 98px;
    gap: 8px 10px;
  }

  .hero-copy .badge {
    padding: 8px 12px 8px 10px;
    font-size: 13px;
  }

  .hero-copy h1 {
    font-size: clamp(22px, 8.6vw, 30px);
    line-height: 0.92;
  }

  .hero-copy p {
    font-size: 13px;
    line-height: 1.22;
  }

  .hero-stat {
    width: 98px;
    min-width: 98px;
    padding: 12px 10px;
    border-radius: 22px;
  }

  .hero-stat span {
    font-size: 10px;
  }

  .hero-stat strong {
    margin: 5px 0 7px;
    font-size: 26px;
  }

  .hero-stat p {
    font-size: 10px;
    line-height: 1.16;
  }
}

@media (max-width: 370px) {
  .hero-layout {
    grid-template-columns: minmax(0, 1fr) 92px;
  }

  .hero-copy h1 {
    font-size: 20px;
  }

  .hero-copy p {
    font-size: 12px;
  }

  .hero-stat {
    width: 92px;
    min-width: 92px;
    padding: 11px 9px;
  }

  .hero-stat strong {
    font-size: 23px;
  }
}


/* v31: better compact mobile hero with full-width promo card */
@media (max-width: 760px) {
  .hero-layout {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
      "badge"
      "stat"
      "title"
      "desc";
    align-items: start;
    gap: 10px;
    margin-bottom: 10px;
  }

  .hero-copy {
    display: contents;
  }

  .hero-copy .badge {
    grid-area: badge;
    width: fit-content;
    min-width: 0;
    margin: 0;
    padding: 8px 14px 8px 10px;
    border-radius: 999px;
    font-size: 14px;
    line-height: 1;
    box-shadow: 0 10px 22px rgba(31, 62, 112, 0.06), inset 0 1px 0 rgba(255,255,255,0.8);
  }

  .hero-copy .badge span {
    width: 12px;
    height: 12px;
    margin-right: 8px;
    box-shadow: 0 0 0 8px rgba(58, 112, 255, 0.08);
  }

  .hero-stat {
    --hero-stat-side: 132px;
    grid-area: stat;
    width: 100%;
    min-width: 0;
    display: grid;
    grid-template-columns: var(--hero-stat-side) auto var(--hero-stat-side);
    align-items: center;
    column-gap: 12px;
    padding: 14px 16px;
    border-radius: 26px;
    background: linear-gradient(135deg, rgba(255,255,255,0.94), rgba(255,255,255,0.84));
    box-shadow:
      0 16px 34px rgba(92, 118, 168, 0.10),
      inset 0 1px 0 rgba(255,255,255,0.85);
    border: 1px solid rgba(255,255,255,0.68);
  }

  .hero-stat span {
    margin: 0;
    width: 100%;
    font-size: 13px;
    line-height: 1.08;
    color: #7c8798;
    justify-self: stretch;
    text-align: left;
  }

  .hero-stat strong {
    margin: 0;
    font-size: 38px;
    line-height: 0.88;
    letter-spacing: -0.06em;
    color: #4471f6;
    white-space: nowrap;
    justify-self: center;
    text-align: center;
  }

  .hero-stat p {
    margin: 0;
    width: 100%;
    font-size: 13px;
    line-height: 1.18;
    color: #6e7889;
    text-wrap: pretty;
    justify-self: stretch;
    text-align: left;
  }

  .hero-copy h1 {
    grid-area: title;
    margin: 2px 0 0;
    max-width: none;
    font-size: clamp(24px, 8.1vw, 42px);
    line-height: 0.92;
    letter-spacing: -0.07em;
    text-wrap: balance;
  }

  .hero-title-main,
  .hero-title-sub {
    display: inline;
    max-width: none;
  }

  .hero-title-main::after {
    content: ' ';
  }

  .hero-copy p {
    grid-area: desc;
    width: 100%;
    max-width: none;
    margin: -2px 0 0;
    font-size: 15px;
    line-height: 1.28;
    text-wrap: pretty;
  }
}

@media (max-width: 560px) {
  .hero-layout {
    gap: 9px;
  }

  .hero-stat {
    --hero-stat-side: 124px;
    grid-template-columns: var(--hero-stat-side) auto var(--hero-stat-side);
    column-gap: 10px;
    padding: 13px 14px;
    border-radius: 24px;
  }

  .hero-stat span {
    font-size: 12px;
  }

  .hero-stat strong {
    font-size: 34px;
  }

  .hero-stat p {
    font-size: 12px;
  }

  .hero-copy h1 {
    font-size: clamp(23px, 8.3vw, 34px);
  }

  .hero-copy p {
    font-size: 14px;
    line-height: 1.24;
  }
}

@media (max-width: 430px) {
  .hero-layout {
    gap: 8px;
  }

  .hero-copy .badge {
    font-size: 13px;
    padding: 8px 12px 8px 10px;
  }

  .hero-stat {
    --hero-stat-side: 108px;
    grid-template-columns: var(--hero-stat-side) auto var(--hero-stat-side);
    column-gap: 9px;
    padding: 12px 13px;
    border-radius: 22px;
  }

  .hero-stat span {
    font-size: 11px;
  }

  .hero-stat strong {
    font-size: 30px;
  }

  .hero-stat p {
    font-size: 11px;
    line-height: 1.14;
  }

  .hero-copy h1 {
    font-size: clamp(22px, 8.8vw, 30px);
    line-height: 0.93;
  }

  .hero-copy p {
    font-size: 13px;
    line-height: 1.22;
  }
}

@media (max-width: 370px) {
  .hero-stat {
    --hero-stat-side: 92px;
    grid-template-columns: var(--hero-stat-side) auto var(--hero-stat-side);
    column-gap: 8px;
    padding: 11px 12px;
  }

  .hero-stat strong {
    font-size: 27px;
  }

  .hero-stat p,
  .hero-stat span {
    font-size: 10px;
  }

  .hero-copy h1 {
    font-size: 20px;
  }

  .hero-copy p {
    font-size: 12px;
  }
}

/* =========================================================
   FINAL FIX: autocomplete dropdown visible + compact
   This block intentionally overrides all previous .suggestions styles.
   ========================================================= */

.search-card,
.search-grid,
.search-field {
  overflow: visible !important;
}

.search-card {
  position: relative !important;
  z-index: 50 !important;
}

.search-field {
  position: relative !important;
}

.search-field:focus-within {
  z-index: 999 !important;
}

@media all {
  .suggestions {
    position: absolute !important;
    left: 8px !important;
    right: 8px !important;
    top: calc(100% + 7px) !important;
    bottom: auto !important;
    z-index: 9999 !important;
    display: none;
    max-height: 245px !important;
    overflow-y: auto !important;
    padding: 5px !important;
    border-radius: 18px !important;
    background: rgba(255, 255, 255, 0.98) !important;
    border: 1px solid rgba(15, 23, 42, 0.07) !important;
    box-shadow: 0 18px 46px rgba(11, 36, 71, 0.16) !important;
    backdrop-filter: blur(18px) !important;
  }

  .suggestions.open {
    display: block !important;
  }

  .suggestion-item {
    width: 100% !important;
    min-height: 0 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 8px 9px !important;
    border: 0 !important;
    border-radius: 13px !important;
    background: transparent !important;
    color: #0d1726 !important;
    text-align: left !important;
  }

  .suggestion-item + .suggestion-item {
    margin-top: 1px !important;
  }

  .suggestion-item:hover,
  .suggestion-item.active {
    background: #eef5ff !important;
  }

  .suggestion-item > span {
    display: grid !important;
    gap: 2px !important;
    min-width: 0 !important;
    margin: 0 !important;
    color: inherit !important;
  }

  .suggestion-item strong {
    display: block !important;
    margin: 0 !important;
    font-size: 14px !important;
    line-height: 1.12 !important;
    font-weight: 900 !important;
    letter-spacing: -0.025em !important;
    color: #263241 !important;
  }

  .suggestion-item span span {
    display: block !important;
    margin: 0 !important;
    font-size: 11.5px !important;
    line-height: 1.12 !important;
    font-weight: 700 !important;
    color: #667085 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .suggestion-item b {
    align-self: center !important;
    justify-self: end !important;
    min-width: 48px !important;
    padding: 5px 7px !important;
    border-radius: 999px !important;
    background: #eaf3ff !important;
    color: #0077ff !important;
    font-size: 12.5px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    text-align: center !important;
  }
}

@media (max-width: 760px) {
  .suggestions {
    position: absolute !important;
    left: 8px !important;
    right: 8px !important;
    top: calc(100% + 7px) !important;
    bottom: auto !important;
    max-height: 238px !important;
    padding: 5px !important;
    border-radius: 18px !important;
  }

  .suggestion-item {
    padding: 8px 9px !important;
    border-radius: 13px !important;
    gap: 8px !important;
  }

  .suggestion-item strong {
    font-size: 14px !important;
    line-height: 1.12 !important;
  }

  .suggestion-item span span {
    font-size: 11.5px !important;
    line-height: 1.12 !important;
  }

  .suggestion-item b {
    min-width: 48px !important;
    padding: 5px 7px !important;
    font-size: 12.5px !important;
  }
}

@media (max-width: 430px) {
  .suggestions {
    left: 6px !important;
    right: 6px !important;
    max-height: 225px !important;
    padding: 4px !important;
    border-radius: 17px !important;
  }

  .suggestion-item {
    padding: 7px 8px !important;
    gap: 7px !important;
    border-radius: 12px !important;
  }

  .suggestion-item strong {
    font-size: 13.5px !important;
  }

  .suggestion-item span span {
    font-size: 11px !important;
  }

  .suggestion-item b {
    min-width: 45px !important;
    padding: 5px 6px !important;
    font-size: 12px !important;
  }
}

/* v32: premium home polish */
.topbar {
  border-bottom: 1px solid rgba(255, 255, 255, 0.58);
  background: linear-gradient(180deg, rgba(255,255,255,0.84), rgba(255,255,255,0.62));
  box-shadow: 0 12px 34px rgba(11, 36, 71, 0.05);
}

.topbar__inner {
  gap: 18px;
}

.main-nav {
  padding: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(16px);
}

.main-nav__link {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  transition: color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease;
}

.main-nav__link:hover {
  transform: translateY(-1px);
}

.main-nav__link.active {
  box-shadow: 0 10px 24px rgba(10, 120, 255, .14);
}

.ghost-btn {
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 12px 28px rgba(11, 36, 71, 0.07), inset 0 1px 0 rgba(255,255,255,.8);
  backdrop-filter: blur(16px);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.ghost-btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 16px 34px rgba(11, 36, 71, 0.10), inset 0 1px 0 rgba(255,255,255,.86);
}

.hero-layout {
  align-items: center;
}

.hero-copy p strong {
  color: var(--blue-dark);
}

.hero-stat {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-color: rgba(255,255,255,.9);
  background:
    radial-gradient(circle at 78% 18%, rgba(0,184,255,.22), transparent 34%),
    radial-gradient(circle at 16% 90%, rgba(0,119,255,.12), transparent 34%),
    rgba(255,255,255,.78);
  box-shadow: 0 24px 70px rgba(11, 36, 71, .13), inset 0 1px 0 rgba(255,255,255,.88);
}

.hero-stat::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,.9), rgba(255,255,255,.34));
}

.hero-stat strong {
  color: transparent;
  background: linear-gradient(135deg, #006eff, #00b8ff);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: none;
}

.search-card {
  border-color: rgba(255,255,255,.9);
  background: rgba(255,255,255,.78);
  box-shadow: 0 26px 82px rgba(11, 36, 71, .13), inset 0 1px 0 rgba(255,255,255,.72);
}

.search-field,
.passenger-field {
  transition: background .18s ease, box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}

.search-field:hover,
.passenger-field:hover {
  background: rgba(255, 255, 255, .94);
  box-shadow: inset 0 0 0 1px rgba(0, 119, 255, .10);
}

.search-field:focus-within,
.passenger-field:focus-visible {
  background: #fff;
  box-shadow: inset 0 0 0 2px rgba(0,119,255,.24), 0 10px 28px rgba(0,119,255,.10);
}

.swap-btn {
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}

.swap-btn:hover {
  transform: translateY(-1px) rotate(8deg);
  background: #e4f1ff;
  color: #006ce8;
  box-shadow: 0 10px 24px rgba(0,119,255,.16), inset 0 0 0 1px rgba(0,119,255,.16);
}

.search-btn {
  background:
    radial-gradient(circle at 24% 10%, rgba(255,255,255,.34), transparent 26%),
    linear-gradient(135deg, #006eff 0%, #0098ff 48%, #00c2ff 100%);
  box-shadow: 0 18px 38px rgba(0,119,255,.36), inset 0 1px 0 rgba(255,255,255,.22);
}

.search-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 48px rgba(0,119,255,.42), inset 0 1px 0 rgba(255,255,255,.28);
}

.search-btn:active {
  transform: translateY(0);
}

.search-preview {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  padding: 12px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.70);
  border-color: rgba(255,255,255,.88);
  box-shadow: 0 12px 30px rgba(11,36,71,.07), inset 0 1px 0 rgba(255,255,255,.72);
}

.search-preview__label,
.search-preview span:not(.search-preview__label) {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(244,248,255,.82);
  color: #5d6c80;
  font-size: 13px;
  font-weight: 800;
}

.search-preview__label {
  background: rgba(0,119,255,.10);
  color: var(--blue-dark);
}

.search-preview strong {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  background: rgba(232,243,255,.94);
  color: var(--blue-dark);
  font-weight: 950;
}

.trust-row {
  gap: 10px;
}

.trust-row div {
  align-items: center;
  min-height: 42px;
  padding: 9px 13px 9px 10px;
  border-color: rgba(255,255,255,.82);
  background: rgba(255,255,255,.68);
  box-shadow: 0 12px 26px rgba(11, 36, 71, .06), inset 0 1px 0 rgba(255,255,255,.74);
  backdrop-filter: blur(14px);
}

.trust-row i {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(0,119,255,.10);
  color: var(--blue-dark);
  font-style: normal;
  font-size: 12px;
  font-weight: 950;
}

.promo-grid {
  align-items: stretch;
}

.promo-card {
  position: relative;
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.promo-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.94);
  box-shadow: 0 22px 56px rgba(11,36,71,.12);
}

.promo-card__icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(0,119,255,.12), rgba(0,184,255,.14));
  color: var(--blue-dark);
  font-size: 19px;
  font-weight: 950;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}

.content-section {
  padding-top: 32px;
}

.how-it-works {
  margin-bottom: 30px;
}

.section-head--compact {
  margin-bottom: 12px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.step-card {
  min-height: 118px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(255,255,255,.86);
  box-shadow: 0 12px 30px rgba(11,36,71,.06), inset 0 1px 0 rgba(255,255,255,.76);
  backdrop-filter: blur(14px);
}

.step-card span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  border-radius: 999px;
  background: #0d1726;
  color: #fff;
  font-weight: 950;
  font-size: 13px;
}

.step-card strong {
  display: block;
  color: #142033;
  font-size: 18px;
  line-height: 1.1;
}

.step-card p {
  margin: 7px 0 0;
  color: #667085;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 700;
}

.destination-card {
  position: relative;
  min-height: 166px;
  padding: 22px;
  gap: 8px;
  overflow: hidden;
  border-color: rgba(255,255,255,.9);
  background:
    radial-gradient(circle at 88% 12%, rgba(0,184,255,.14), transparent 30%),
    rgba(255,255,255,.76);
  box-shadow: 0 16px 38px rgba(11,36,71,.08), inset 0 1px 0 rgba(255,255,255,.74);
}

.destination-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 56px rgba(11,36,71,.13), inset 0 1px 0 rgba(255,255,255,.8);
}

.destination-card__mark {
  position: absolute;
  right: 18px;
  top: 18px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(0,119,255,.10);
  color: var(--blue-dark);
  font-size: 15px;
}

.destination-card .route {
  padding-right: 42px;
  color: #142033;
  font-size: 17px;
  line-height: 1.15;
}

.destination-card strong {
  margin-top: auto;
  color: transparent;
  background: linear-gradient(135deg, #006eff, #00aeea);
  -webkit-background-clip: text;
  background-clip: text;
  font-size: 27px;
}

.destination-card small {
  min-height: 19px;
  font-weight: 750;
}

.destination-card em {
  width: fit-content;
  margin-top: 6px;
  color: var(--blue-dark);
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
  opacity: .86;
  transition: transform .18s ease, opacity .18s ease;
}

.destination-card:hover em {
  transform: translateX(2px);
  opacity: 1;
}

@media (max-width: 760px) {
  .hero-copy h1 {
    font-size: clamp(36px, 12vw, 50px);
    line-height: .96;
  }

  .search-preview {
    border-radius: 22px;
  }

  .trust-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: visible;
  }

  .trust-row div {
    min-width: 0;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .step-card {
    min-height: 0;
  }

  .destination-card {
    min-height: 146px;
  }
}

@media (max-width: 430px) {
  .trust-row {
    grid-template-columns: 1fr;
  }

  .search-preview strong,
  .search-preview span {
    max-width: 100%;
  }
}

/* v33: final home micro-polish */
.search-preview {
  width: fit-content;
  max-width: 100%;
  gap: 7px;
  padding: 11px 14px;
}

.search-preview__label,
.search-preview span:not(.search-preview__label):not(.search-preview__dot) {
  min-height: 0;
  padding: 0;
  background: transparent;
  color: #5e6d82;
  font-size: 14px;
  line-height: 1.35;
}

.search-preview__label {
  color: #526174;
  font-weight: 850;
}

.search-preview strong {
  min-height: 0;
  padding: 0;
  background: transparent;
  color: var(--blue-dark);
  line-height: 1.35;
}

.search-preview__dot {
  color: #9aa8b8;
  font-weight: 900;
}

.trust-row div {
  height: 42px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.trust-row div:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,.78);
  box-shadow: 0 15px 30px rgba(11,36,71,.08), inset 0 1px 0 rgba(255,255,255,.82);
}

.trust-row i,
.promo-card__icon,
.destination-card__mark,
.step-card i {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.78);
}

.how-it-works {
  position: relative;
  padding: 18px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 92% 4%, rgba(0,184,255,.10), transparent 28%),
    rgba(255,255,255,.34);
  border: 1px solid rgba(255,255,255,.64);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.68);
}

.how-it-works .section-head h2 {
  font-size: 28px;
}

.steps-grid {
  gap: 12px;
}

.step-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 14px;
  align-items: start;
  min-height: 132px;
  padding: 20px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

.step-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.94);
  background: rgba(255,255,255,.82);
  box-shadow: 0 18px 44px rgba(11,36,71,.10), inset 0 1px 0 rgba(255,255,255,.84);
}

.step-card span {
  grid-row: 1 / 3;
  width: 42px;
  height: 42px;
  margin: 0;
  background: linear-gradient(135deg, #0d1726, #213854);
  font-size: 16px;
}

.step-card i {
  position: absolute;
  right: 18px;
  top: 18px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: rgba(0,119,255,.10);
  color: var(--blue-dark);
  font-size: 14px;
  font-style: normal;
  font-weight: 950;
}

.step-card strong {
  padding-right: 34px;
  font-size: 19px;
}

.step-card p {
  grid-column: 2;
  margin-top: 8px;
}

.promo-card {
  min-height: 190px;
}

.promo-card:not(.promo-card--blue) {
  display: flex;
  flex-direction: column;
}

.promo-card:not(.promo-card--blue) p {
  margin-top: auto;
}

.promo-card__icon {
  flex: 0 0 auto;
}

.destination-card {
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

.destination-card:hover {
  border-color: rgba(255,255,255,.96);
  background:
    radial-gradient(circle at 88% 12%, rgba(0,184,255,.18), transparent 30%),
    rgba(255,255,255,.84);
}

.destination-card em {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding-bottom: 2px;
  color: #006ee8;
  letter-spacing: 0;
}

.destination-card em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 18px;
  bottom: 0;
  height: 1px;
  background: currentColor;
  opacity: .22;
  transform: scaleX(.72);
  transform-origin: left;
  transition: transform .18s ease, opacity .18s ease;
}

.destination-card:hover em::after {
  opacity: .42;
  transform: scaleX(1);
}

.topbar__inner {
  align-items: center;
}

.search-btn,
.promo-card,
.destination-card,
.trust-row div,
.search-field,
.passenger-field {
  will-change: transform;
}

@media (max-width: 900px) {
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .step-card {
    min-height: 0;
  }
}

@media (max-width: 760px) {
  .how-it-works {
    padding: 14px;
    border-radius: 26px;
  }

  .how-it-works .section-head h2 {
    font-size: 26px;
  }

  .step-card {
    padding: 18px;
  }

  .search-preview {
    width: 100%;
    border-radius: 22px;
  }
}

@media (max-width: 430px) {
  .step-card {
    grid-template-columns: 1fr;
  }

  .step-card span {
    grid-row: auto;
    margin-bottom: 12px;
  }

  .step-card p {
    grid-column: auto;
  }
}

/* v34: product-grade "How it works" section */
.how-it-works {
  margin-top: 4px;
  margin-bottom: 36px;
  padding: 22px;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 0%, rgba(0,119,255,.08), transparent 26%),
    radial-gradient(circle at 94% 8%, rgba(0,184,255,.12), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,.50), rgba(255,255,255,.28));
  border-color: rgba(255,255,255,.78);
  box-shadow: 0 18px 54px rgba(11,36,71,.07), inset 0 1px 0 rgba(255,255,255,.78);
}

.how-it-works .section-head {
  align-items: center;
  margin-bottom: 16px;
}

.how-it-works .section-head h2 {
  font-size: 30px;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.steps-grid {
  position: relative;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.steps-grid::before {
  content: "";
  position: absolute;
  left: 15%;
  right: 15%;
  top: 38px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,119,255,.20), transparent);
  pointer-events: none;
}

.step-card {
  isolation: isolate;
  display: flex;
  min-height: 156px;
  flex-direction: column;
  padding: 20px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.90), rgba(247,251,255,.74));
  border-color: rgba(255,255,255,.92);
  box-shadow: 0 14px 36px rgba(11,36,71,.075), inset 0 1px 0 rgba(255,255,255,.88);
}

.step-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(circle at 88% 0%, rgba(0,184,255,.11), transparent 32%);
  opacity: .88;
}

.step-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 54px rgba(11,36,71,.12), inset 0 1px 0 rgba(255,255,255,.92);
}

.step-card span {
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, #0d1726, #203956);
  box-shadow: 0 12px 26px rgba(13,23,38,.14), inset 0 1px 0 rgba(255,255,255,.16);
  font-size: 17px;
}

.step-card i {
  right: 20px;
  top: 20px;
  width: 36px;
  height: 36px;
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(0,119,255,.11), rgba(0,184,255,.13));
}

.step-card strong {
  padding-right: 0;
  color: #132238;
  font-size: 20px;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.step-card p {
  grid-column: auto;
  margin-top: 10px;
  max-width: 260px;
  color: #647388;
  font-size: 14px;
  line-height: 1.42;
}

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

  .steps-grid::before {
    display: none;
  }

  .step-card:nth-child(3) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .how-it-works {
    margin-bottom: 28px;
    padding: 16px;
    border-radius: 26px;
  }

  .how-it-works .section-head {
    margin-bottom: 12px;
  }

  .how-it-works .section-head h2 {
    font-size: 26px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .step-card:nth-child(3) {
    grid-column: auto;
  }

  .step-card {
    min-height: 0;
    padding: 18px;
  }
}

/* v35: force visible cards in "How it works" */
.how-it-works {
  background:
    radial-gradient(circle at 12% 0%, rgba(0,119,255,.12), transparent 30%),
    radial-gradient(circle at 90% 12%, rgba(0,184,255,.15), transparent 28%),
    rgba(255,255,255,.48);
  border: 1px solid rgba(255,255,255,.86);
}

.how-it-works .steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.how-it-works .step-card {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  column-gap: 16px;
  min-height: 150px;
  padding: 22px;
  border: 1px solid rgba(255,255,255,.96);
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(244,249,255,.86));
  box-shadow:
    0 20px 48px rgba(11,36,71,.11),
    inset 0 1px 0 rgba(255,255,255,.95);
}

.how-it-works .step-card::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 25px;
  background:
    radial-gradient(circle at 92% 8%, rgba(0,184,255,.14), transparent 30%),
    linear-gradient(135deg, rgba(255,255,255,.34), transparent 56%);
  pointer-events: none;
}

.how-it-works .step-card span,
.how-it-works .step-card i,
.how-it-works .step-card strong,
.how-it-works .step-card p {
  position: relative;
  z-index: 1;
}

.how-it-works .step-card span {
  grid-row: 1 / 3;
  width: 56px;
  height: 56px;
  margin: 0;
  border-radius: 20px;
  font-size: 20px;
}

.how-it-works .step-card i {
  right: 18px;
  top: 18px;
  width: 34px;
  height: 34px;
  opacity: .9;
}

.how-it-works .step-card strong {
  align-self: end;
  padding-right: 36px;
  font-size: 20px;
}

.how-it-works .step-card p {
  grid-column: 2;
  margin: 9px 0 0;
  max-width: 290px;
}

.how-it-works .step-card:hover {
  transform: translateY(-2px);
  box-shadow:
    0 26px 62px rgba(11,36,71,.15),
    inset 0 1px 0 rgba(255,255,255,.98);
}

@media (max-width: 980px) {
  .how-it-works .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .how-it-works .step-card:nth-child(3) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .how-it-works .steps-grid {
    grid-template-columns: 1fr;
  }

  .how-it-works .step-card,
  .how-it-works .step-card:nth-child(3) {
    grid-column: auto;
  }
}

@media (max-width: 430px) {
  .how-it-works .step-card {
    grid-template-columns: 48px minmax(0, 1fr);
    padding: 18px;
  }

  .how-it-works .step-card span {
    width: 48px;
    height: 48px;
    border-radius: 18px;
    font-size: 18px;
  }
}

/* v36: final home UI polish */
.search-preview {
  margin-top: 14px;
  color: #5e6d82;
}

.search-preview strong {
  color: #006ee8;
}

.content-section {
  padding-top: 34px;
  padding-bottom: 74px;
}

.how-it-works {
  margin-top: 2px;
  margin-bottom: 34px;
}

.how-it-works .section-head {
  min-height: 34px;
}

.how-it-works .steps-grid {
  align-items: stretch;
}

.how-it-works .step-card {
  height: 100%;
  min-height: 154px;
  grid-template-columns: 54px minmax(0, 1fr);
  grid-template-rows: minmax(54px, auto) auto;
  align-content: start;
  column-gap: 16px;
  row-gap: 0;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

.how-it-works .step-card span {
  align-self: start;
  justify-self: start;
}

.how-it-works .step-card i {
  display: grid;
  place-items: center;
  line-height: 1;
}

.how-it-works .step-card strong {
  align-self: center;
  min-height: 44px;
  display: flex;
  align-items: center;
  padding-right: 38px;
}

.how-it-works .step-card p {
  align-self: start;
  color: #647388;
  font-weight: 720;
  line-height: 1.42;
}

.how-it-works + .section-head {
  margin-top: 0;
  margin-bottom: 16px;
}

.destination-card {
  transform: translateY(0);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

.destination-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 26px 58px rgba(11,36,71,.14), inset 0 1px 0 rgba(255,255,255,.88);
}

.destination-card__mark {
  transition: background .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.destination-card:hover .destination-card__mark {
  transform: translateY(-1px);
  background: rgba(0,119,255,.16);
  color: #006ee8;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.82), 0 10px 22px rgba(0,119,255,.10);
}

.destination-card em {
  transition: color .18s ease, transform .18s ease, opacity .18s ease;
}

.destination-card:hover em {
  color: #005fd1;
  transform: translateX(2px);
  opacity: 1;
}

@media (max-width: 980px) {
  .how-it-works .step-card {
    min-height: 142px;
  }
}

@media (max-width: 760px) {
  .content-section {
    padding-top: 28px;
    padding-bottom: 58px;
  }

  .search-preview {
    margin-top: 12px;
    gap: 6px;
  }

  .how-it-works {
    margin-bottom: 28px;
  }

  .how-it-works .step-card {
    min-height: 0;
  }
}

@media (max-width: 430px) {
  .how-it-works .step-card strong {
    min-height: 40px;
    padding-right: 34px;
    font-size: 19px;
  }
}

/* v37: align "How it works" cards */
.how-it-works {
  padding-top: 18px;
  padding-bottom: 18px;
}

.how-it-works .section-head {
  margin-bottom: 14px;
}

.how-it-works .step-card {
  min-height: 146px;
  grid-template-columns: 54px minmax(0, 1fr);
  grid-template-rows: 54px minmax(42px, auto);
  padding-top: 20px;
  padding-bottom: 20px;
}

.how-it-works .step-card span {
  grid-row: 1 / 3;
  align-self: start;
}

.how-it-works .step-card strong {
  align-self: center;
  min-height: 42px;
  max-width: 230px;
  line-height: 1.08;
}

.how-it-works .step-card p {
  grid-column: 2;
  margin-top: 6px;
  max-width: 250px;
}

.destination-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 54px rgba(11,36,71,.13), inset 0 1px 0 rgba(255,255,255,.88);
}

.destination-card:hover em {
  color: #005bc8;
}

@media (max-width: 760px) {
  .how-it-works {
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .how-it-works .step-card {
    min-height: 0;
    grid-template-rows: auto auto;
  }
}

/* v38: clean "How it works" step badges */
.how-it-works .steps-grid::before {
  display: none;
}

.how-it-works .step-card {
  grid-template-columns: 56px minmax(0, 1fr);
  grid-template-rows: minmax(46px, auto) auto;
  min-height: 144px;
  column-gap: 16px;
}

.how-it-works .step-card i {
  display: none;
}

.how-it-works .step-card span {
  grid-row: 1 / 3;
  width: 52px;
  height: 52px;
  border-radius: 18px;
}

.how-it-works .step-card strong {
  align-self: center;
  min-height: 46px;
  padding-right: 0;
  max-width: 260px;
}

.how-it-works .step-card p {
  grid-column: 2;
  margin-top: 4px;
  max-width: 270px;
}

@media (max-width: 760px) {
  .how-it-works .step-card {
    min-height: 0;
  }
}

@media (max-width: 430px) {
  .how-it-works .step-card {
    grid-template-columns: 50px minmax(0, 1fr);
  }
}

/* v39: richer premium depth without image assets */
:root {
  --premium-ease: 180ms ease-out;
}

.hero,
.content-section {
  position: relative;
  isolation: isolate;
}

.hero::before,
.content-section::before {
  content: "";
  position: absolute;
  inset: auto;
  z-index: -1;
  pointer-events: none;
}

.hero::before {
  width: min(860px, 80vw);
  height: 360px;
  right: -160px;
  top: 18px;
  background:
    radial-gradient(ellipse at 42% 34%, rgba(0,184,255,.18), transparent 60%),
    radial-gradient(ellipse at 74% 62%, rgba(0,94,232,.10), transparent 64%);
  filter: blur(42px);
  opacity: .82;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: max(22px, calc((100vw - 1180px) / 2));
  top: 118px;
  width: min(420px, 34vw);
  height: 170px;
  pointer-events: none;
  opacity: .22;
  background:
    radial-gradient(circle at 10% 68%, rgba(0,119,255,.72) 0 3px, transparent 4px),
    radial-gradient(circle at 88% 18%, rgba(0,184,255,.68) 0 3px, transparent 4px),
    linear-gradient(150deg, transparent 0 26%, rgba(0,119,255,.28) 27% 28%, transparent 29% 100%);
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}

.content-section::before {
  width: min(980px, 92vw);
  height: 520px;
  left: 50%;
  top: 40px;
  transform: translateX(-50%);
  background:
    radial-gradient(ellipse at 18% 22%, rgba(0,119,255,.10), transparent 54%),
    radial-gradient(ellipse at 82% 68%, rgba(0,184,255,.12), transparent 56%),
    linear-gradient(180deg, rgba(255,255,255,.18), transparent 70%);
  filter: blur(34px);
  opacity: .9;
}

.page-glow {
  filter: blur(70px);
  opacity: .42;
}

.page-glow--one {
  width: 520px;
  height: 300px;
  left: -210px;
  top: 120px;
  background: linear-gradient(135deg, rgba(0,119,255,.16), rgba(0,184,255,.08));
}

.page-glow--two {
  width: 560px;
  height: 330px;
  right: -230px;
  top: 360px;
  background: linear-gradient(135deg, rgba(0,184,255,.14), rgba(9,39,94,.07));
}

.hero-stat,
.search-card,
.promo-card,
.destination-card,
.how-it-works,
.how-it-works .step-card {
  border-color: rgba(255,255,255,.92);
  box-shadow:
    0 24px 68px rgba(11,36,71,.11),
    inset 0 1px 0 rgba(255,255,255,.84);
}

.search-card {
  overflow: visible;
  background:
    linear-gradient(180deg, rgba(255,255,255,.86), rgba(255,255,255,.70)),
    radial-gradient(ellipse at 20% 0%, rgba(0,184,255,.09), transparent 45%);
}

.search-card::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: 29px;
  background: linear-gradient(135deg, rgba(0,119,255,.18), rgba(255,255,255,.16), rgba(0,184,255,.14));
  opacity: .72;
  pointer-events: none;
}

.search-btn {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 24% 8%, rgba(255,255,255,.38), transparent 24%),
    linear-gradient(135deg, #0068f5 0%, #008cff 46%, #00c4ff 100%);
  box-shadow:
    0 18px 42px rgba(0,119,255,.38),
    inset 0 1px 0 rgba(255,255,255,.26);
  transition: transform var(--premium-ease), box-shadow var(--premium-ease), filter var(--premium-ease);
}

.search-btn::before {
  content: "";
  position: absolute;
  top: -40%;
  bottom: -40%;
  left: -70%;
  width: 52%;
  transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.32), transparent);
  opacity: 0;
  transition: left 240ms ease-out, opacity 180ms ease-out;
}

.search-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 24px 54px rgba(0,119,255,.44),
    inset 0 1px 0 rgba(255,255,255,.30);
}

.search-btn:hover::before {
  left: 118%;
  opacity: 1;
}

.search-btn:active {
  transform: translateY(0);
  box-shadow:
    0 14px 32px rgba(0,119,255,.34),
    inset 0 1px 0 rgba(255,255,255,.24);
}

.search-field,
.passenger-field,
.swap-btn,
.trip-tabs__item,
.trust-row div,
.promo-card,
.destination-card,
.how-it-works .step-card {
  transition:
    transform var(--premium-ease),
    box-shadow var(--premium-ease),
    border-color var(--premium-ease),
    background var(--premium-ease),
    color var(--premium-ease);
}

.search-field:hover,
.passenger-field:hover {
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(247,251,255,.90));
  box-shadow: inset 0 0 0 1px rgba(0,119,255,.12);
}

.search-field:focus-within,
.passenger-field:focus-visible {
  box-shadow:
    inset 0 0 0 2px rgba(0,119,255,.24),
    0 12px 30px rgba(0,119,255,.11);
}

.trust-row div {
  position: relative;
  overflow: hidden;
  border-color: rgba(255,255,255,.86);
  background:
    linear-gradient(180deg, rgba(255,255,255,.78), rgba(248,251,255,.64));
}

.trust-row div::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-left: 2px;
  border-radius: 999px;
  background: rgba(0,184,255,.46);
  box-shadow: 0 0 0 5px rgba(0,184,255,.08);
}

.trust-row div:hover {
  border-color: rgba(0,119,255,.18);
  box-shadow:
    0 16px 34px rgba(11,36,71,.09),
    inset 0 1px 0 rgba(255,255,255,.88);
}

.promo-card {
  background:
    radial-gradient(ellipse at 88% 0%, rgba(0,184,255,.10), transparent 42%),
    linear-gradient(180deg, rgba(255,255,255,.80), rgba(247,251,255,.68));
}

.promo-card--blue {
  background:
    radial-gradient(ellipse at 80% 18%, rgba(255,255,255,.30), transparent 34%),
    radial-gradient(ellipse at 18% 90%, rgba(0,216,255,.24), transparent 42%),
    linear-gradient(135deg, #0968ee, #00aef5);
  box-shadow:
    0 26px 72px rgba(0,119,255,.24),
    inset 0 1px 0 rgba(255,255,255,.28);
}

.promo-card--blue::before {
  opacity: .55;
}

.promo-card:hover,
.how-it-works .step-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.98);
}

.how-it-works {
  background:
    radial-gradient(ellipse at 16% 0%, rgba(0,119,255,.10), transparent 46%),
    radial-gradient(ellipse at 88% 18%, rgba(0,184,255,.12), transparent 48%),
    linear-gradient(180deg, rgba(255,255,255,.58), rgba(255,255,255,.34));
}

.how-it-works .steps-grid {
  position: relative;
}

.how-it-works .steps-grid::before {
  display: block;
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,119,255,.12), rgba(0,184,255,.14), transparent);
  pointer-events: none;
}

.how-it-works .step-card {
  z-index: 1;
  background:
    radial-gradient(ellipse at 92% 8%, rgba(0,184,255,.10), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.97), rgba(244,249,255,.88));
}

.how-it-works .step-card i {
  display: none;
}

.destination-card:nth-child(1) {
  background:
    radial-gradient(ellipse at 86% 12%, rgba(0,184,255,.13), transparent 36%),
    rgba(255,255,255,.78);
}

.destination-card:nth-child(2) {
  background:
    radial-gradient(ellipse at 86% 12%, rgba(0,119,255,.13), transparent 36%),
    rgba(255,255,255,.78);
}

.destination-card:nth-child(3) {
  background:
    radial-gradient(ellipse at 86% 12%, rgba(40,165,255,.13), transparent 36%),
    rgba(255,255,255,.78);
}

.destination-card:nth-child(4) {
  background:
    radial-gradient(ellipse at 86% 12%, rgba(0,205,190,.12), transparent 36%),
    rgba(255,255,255,.78);
}

.destination-card strong {
  transition: filter var(--premium-ease), text-shadow var(--premium-ease);
}

.destination-card:hover strong {
  filter: saturate(1.08);
  text-shadow: 0 8px 28px rgba(0,119,255,.16);
}

.destination-card em {
  transition: color var(--premium-ease), transform var(--premium-ease), opacity var(--premium-ease);
}

.destination-card:hover em {
  color: #005bc8;
  transform: translateX(3px);
}

@media (max-width: 760px) {
  .hero::before,
  .content-section::before {
    filter: blur(58px);
    opacity: .55;
  }

  .hero::after,
  .how-it-works .steps-grid::before {
    display: none;
  }

  .page-glow {
    opacity: .30;
  }
}

.search-btn--mobile {
  display: none;
}

/* v40: targeted mobile home density */
@media (max-width: 768px) {
  .container {
    width: min(100% - 20px, 1180px);
  }

  .topbar__inner {
    height: 58px;
  }

  .brand {
    gap: 8px;
    font-size: 17px;
    letter-spacing: -0.02em;
  }

  .brand__mark {
    width: 36px;
    height: 36px;
    border-radius: 14px;
    font-size: 16px;
  }

  .mobile-menu {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    padding: 8px;
  }

  .hero {
    padding: 12px 0 18px;
  }

  .hero::before {
    width: min(100% - 18px, 760px);
    height: 230px;
    top: 0;
    right: 9px;
    filter: blur(34px);
    opacity: .46;
  }

  .hero > .container {
    display: flex;
    flex-direction: column;
  }

  .trip-tabs,
  .search-card,
  .search-preview,
  .hero-stat,
  .trust-row,
  .promo-grid {
    width: 100%;
    min-width: 0;
  }

  .hero-layout,
  .hero-copy {
    display: contents;
  }

  .hero-copy .badge {
    order: 1;
    margin: 0 0 8px;
    padding: 7px 11px;
    font-size: 12px;
  }

  .hero-copy .badge span {
    width: 8px;
    height: 8px;
    margin-right: 5px;
    box-shadow: 0 0 0 5px rgba(0, 119, 255, .08);
  }

  .hero-copy h1 {
    order: 2;
    margin: 0 0 8px;
    max-width: none;
    font-size: clamp(26px, 7.2vw, 32px);
    line-height: 1.06;
    letter-spacing: -0.02em;
  }

  .hero-title-main,
  .hero-title-sub {
    display: block;
    width: 100%;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: break-word;
  }

  .hero-title-main::after {
    content: none;
  }

  .hero-title-sub {
    background: none;
  }

  .hero-copy p {
    order: 3;
    max-width: 34ch;
    margin: 0 0 12px;
    font-size: 14px;
    line-height: 1.36;
  }

  .hero-stat {
    order: 7;
    display: grid;
    grid-template-columns: auto auto;
    justify-content: start;
    align-items: center;
    gap: 4px 9px;
    min-height: 0;
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 20px;
  }

  .hero-stat span,
  .hero-stat p {
    font-size: 12px;
    line-height: 1.2;
  }

  .hero-stat strong {
    grid-row: 1 / 3;
    grid-column: 2;
    margin: 0;
    font-size: 26px;
    line-height: 1;
  }

  .trip-tabs {
    order: 4;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 0 0 9px;
  }

  .trip-tabs__item {
    min-width: 0;
    min-height: 42px;
    padding: 9px 8px;
    border-radius: 16px;
    font-size: 13px;
    white-space: normal;
  }

  .search-card {
    order: 5;
    padding: 8px;
    border-radius: 28px;
  }

  .search-card::before {
    border-radius: 27px;
  }

  .search-grid {
    display: flex;
    flex-direction: column;
  }

  .search-field,
  .passenger-field {
    min-height: 54px;
    padding: 10px 13px;
    border-right: 0;
    border-bottom: 1px solid rgba(15, 23, 42, .07);
    border-radius: 0;
  }

  .search-field:first-child {
    border-radius: 20px 20px 0 0;
  }

  .passenger-field {
    border-radius: 0 0 20px 20px;
  }

  .search-field span,
  .passenger-field span {
    margin-bottom: 3px;
    font-size: 11px;
  }

  .search-field input,
  .passenger-field strong {
    font-size: 14px;
    line-height: 1.2;
  }

  .passenger-field strong {
    max-width: none;
  }

  .swap-btn {
    top: 52px;
    right: 13px;
    width: 34px;
    height: 34px;
    border-radius: 12px;
    font-size: 17px;
  }

  .search-btn--desktop {
    display: none;
  }

  .search-btn--mobile {
    display: grid;
    place-items: center;
    width: 100%;
    min-height: 60px;
    margin-top: 10px;
    border-radius: 22px;
    font-size: 17px;
  }

  .search-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 10px 0 0;
  }

  .checkbox {
    min-width: 0;
    min-height: 42px;
    gap: 7px;
    padding: 9px 10px;
    border-radius: 16px;
    background: rgba(238, 246, 255, .82);
    font-size: 12px;
    line-height: 1.15;
  }

  .checkbox input {
    flex: 0 0 auto;
    width: 15px;
    height: 15px;
  }

  .checkbox span {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .search-preview {
    order: 6;
    display: none;
    margin-top: 10px;
  }

  .trust-row {
    order: 8;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 12px;
    overflow: visible;
  }

  .trust-row div {
    height: auto;
    min-width: 0;
    padding: 9px 10px;
    border-radius: 18px;
    gap: 5px;
    align-items: center;
    white-space: normal;
  }

  .trust-row div::after {
    display: none;
  }

  .trust-row i {
    display: none;
  }

  .trust-row strong {
    font-size: 13px;
  }

  .trust-row span {
    font-size: 12px;
    line-height: 1.15;
  }

  .promo-grid {
    order: 9;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 14px;
  }

  .promo-card {
    min-height: 0;
    padding: 16px;
    border-radius: 26px;
  }

  .promo-card:not(.promo-card--blue) {
    display: none;
  }

  .promo-card--blue {
    padding: 16px;
    border-radius: 28px;
  }

  .promo-card--blue h2 {
    max-width: none;
    font-size: 23px;
    line-height: 1.08;
  }

  .promo-card--blue p {
    max-width: 30ch;
    font-size: 13px;
    line-height: 1.35;
  }

  .promo-visual {
    width: 48px;
    height: 48px;
    border-radius: 18px;
    font-size: 28px;
  }

  .content-section {
    padding: 16px 0 44px;
  }

  .content-section > .container {
    display: flex;
    flex-direction: column;
  }

  .content-section > .container > .section-head {
    order: 1;
    margin-bottom: 10px;
  }

  .content-section > .container > .section-head h2 {
    font-size: 26px;
  }

  .destination-grid {
    order: 2;
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .destination-card {
    min-height: 0;
    padding: 15px 16px;
    border-radius: 24px;
    gap: 6px;
  }

  .destination-card .route {
    padding-right: 34px;
    font-size: 16px;
  }

  .destination-card strong {
    margin-top: 2px;
    font-size: 22px;
  }

  .destination-card small {
    min-height: 0;
  }

  .destination-card em {
    margin-top: 2px;
  }

  .how-it-works {
    order: 3;
    margin-top: 18px;
    margin-bottom: 0;
    padding: 14px;
    border-radius: 26px;
  }

  .how-it-works .section-head h2 {
    font-size: 24px;
  }

  .steps-grid {
    gap: 9px;
  }

  .how-it-works .step-card {
    min-height: 0;
    padding: 14px;
    border-radius: 22px;
  }
}

@media (max-width: 430px) {
  .container {
    width: min(100% - 16px, 1180px);
  }

  .hero {
    padding-top: 10px;
  }

  .hero-copy h1 {
    font-size: clamp(26px, 7.2vw, 31px);
  }

  .hero-copy p {
    font-size: 13px;
  }

  .hero-stat {
    grid-template-columns: 1fr auto;
    padding: 9px 11px;
  }

  .hero-stat strong {
    font-size: 24px;
  }

  .search-field,
  .passenger-field {
    min-height: 52px;
  }

  .search-btn--mobile {
    min-height: 58px;
  }

  .promo-card:not(.promo-card--blue) {
    display: none !important;
  }
}

@media (max-width: 360px) {
  .container {
    width: min(100% - 14px, 1180px);
  }

  .trip-tabs__item {
    font-size: 12px;
  }

  .checkbox {
    padding: 8px;
    font-size: 11px;
  }

  .trust-row span,
  .trust-row strong {
    font-size: 11px;
  }
}

/* v41: mobile polish only */
@media (max-width: 768px) {
  .hero-copy h1 {
    font-size: clamp(24px, 6.6vw, 29px);
    line-height: 1.07;
  }

  .search-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .search-field--city {
    grid-column: 1 / -1;
  }

  .search-field--date {
    grid-column: span 1;
    min-height: 50px;
    padding: 9px 12px;
  }

  .search-field--date.return-date {
    border-left: 1px solid rgba(15, 23, 42, .07);
  }

  .passenger-field {
    grid-column: 1 / -1;
  }

  .search-field:first-child {
    border-radius: 20px 20px 0 0;
  }

  .search-field--date input {
    font-size: 13px;
  }

  .search-options {
    gap: 6px;
    padding-top: 8px;
  }

  .checkbox {
    min-height: 36px;
    gap: 6px;
    padding: 7px 8px;
    border-radius: 14px;
    font-size: 11px;
  }

  .checkbox input {
    width: 14px;
    height: 14px;
  }

  .hero-stat {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2px 8px;
    padding: 8px 11px;
    border-radius: 18px;
  }

  .hero-stat strong {
    font-size: 24px;
  }

  .hero-stat span,
  .hero-stat p {
    font-size: 11px;
  }

  .trust-row {
    gap: 7px;
  }

  .trust-row div {
    padding: 8px 9px;
    border-radius: 16px;
  }

  .promo-card--blue {
    min-height: 0;
    padding: 14px;
    border-radius: 24px;
  }

  .promo-card--blue h2 {
    font-size: 21px;
  }

  .promo-card--blue p {
    font-size: 12px;
  }

  .promo-visual {
    width: 42px;
    height: 42px;
    border-radius: 16px;
    font-size: 24px;
  }

  .content-section > .container > .section-head h2 {
    font-size: 22px;
  }

  .destination-card {
    padding: 13px 14px;
    border-radius: 22px;
  }

  .destination-card strong {
    font-size: 20px;
  }

  .how-it-works {
    margin-top: 14px;
    padding: 11px;
    border-radius: 22px;
  }

  .steps-grid {
    gap: 7px;
  }

  .how-it-works .step-card {
    grid-template-columns: 42px minmax(0, 1fr);
    column-gap: 11px;
    padding: 11px;
    border-radius: 18px;
  }

  .how-it-works .step-card span {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    font-size: 14px;
  }

  .how-it-works .step-card strong {
    min-height: 0;
    font-size: 16px;
  }

  .how-it-works .step-card p {
    margin-top: 2px;
    font-size: 13px;
    line-height: 1.3;
  }
}

@media (max-width: 430px) {
  .hero-copy h1 {
    font-size: clamp(23px, 6.4vw, 28px);
  }

  .search-field--date {
    padding: 8px 10px;
  }
}

/* v42: final mobile spacing polish */
#search,
#directions,
#how-it-works {
  scroll-margin-top: 96px;
}

@media (max-width: 768px) {
  .hero {
    padding-bottom: 10px;
  }

  .promo-grid {
    margin-top: 12px;
  }

  .promo-card--blue {
    padding: 12px;
  }

  .promo-visual {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 22px;
    line-height: 1;
  }

  .content-section {
    padding-top: 22px;
    padding-bottom: 30px;
  }

  .content-section > .container > .section-head {
    margin-bottom: 8px;
  }

  .content-section > .container > .section-head h2 {
    font-size: 32px;
    line-height: 1.05;
  }

  .destination-grid {
    gap: 8px;
  }

  .destination-card {
    gap: 5px;
    padding: 11px 12px;
  }

  .destination-card__mark {
    width: 34px;
    height: 34px;
    border-radius: 13px;
    font-size: 14px;
  }

  .destination-card .route {
    font-size: 15px;
  }

  .destination-card strong {
    font-size: 19px;
  }

  .how-it-works {
    margin-top: 12px;
    padding: 9px;
  }

  .steps-grid {
    gap: 6px;
  }

  .how-it-works .step-card {
    grid-template-columns: 38px minmax(0, 1fr);
    column-gap: 9px;
    padding: 9px;
  }

  .how-it-works .step-card span {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    font-size: 13px;
  }
}

@media (max-width: 430px) {
  .content-section > .container > .section-head h2 {
    font-size: 32px;
  }
}

/* Mobile passenger dropdown: inline and compact. */
@media (max-width: 768px) {
  .passenger-popover {
    position: static;
    grid-column: 1 / -1;
    width: 100%;
    max-height: none;
    margin: 0;
    padding: 8px 12px 12px;
    overflow: visible;
    border-radius: 0 0 20px 20px;
    background: linear-gradient(180deg, rgba(255,255,255,.94), rgba(246,250,255,.9));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.82);
    z-index: auto;
    backdrop-filter: none;
  }

  .search-grid:has(.passenger-popover.open) .passenger-field {
    border-radius: 0;
  }

  .passenger-popover .counter-row {
    gap: 12px;
    margin-bottom: 0;
    padding: 8px 0;
  }

  .passenger-popover .counter-row + .counter-row {
    padding-top: 8px;
  }

  .passenger-popover .counter-row strong {
    font-size: 14px;
    line-height: 1.2;
  }

  .passenger-popover .counter-row span {
    margin-top: 2px;
    font-size: 11px;
    line-height: 1.2;
  }

  .passenger-popover .counter {
    gap: 8px;
  }

  .passenger-popover .counter b {
    min-width: 16px;
    text-align: center;
    font-size: 14px;
  }

  .passenger-popover .counter button {
    width: 30px;
    height: 30px;
    font-size: 17px;
  }

  .passenger-popover .class-row {
    gap: 6px;
    margin-top: 7px;
  }

  .passenger-popover .class-chip {
    flex: 1 1 0;
    min-width: 0;
    padding: 8px 9px;
    font-size: 12px;
  }

  .passenger-done {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 38px;
    margin-top: 10px;
    border: 0;
    border-radius: 14px;
    background: #0d1726;
    color: #fff;
    font-size: 13px;
    font-weight: 900;
  }
}

/* Avoid iOS Safari Full Page screenshot artifacts from decorative compositing layers. */
@media (max-width: 768px), print {
  body:has(#flightSearch)::before,
  body:has(#flightSearch)::after,
  body:has(#flightSearch) .page-glow,
  body:has(#flightSearch) .hero::before,
  body:has(#flightSearch) .hero::after,
  body:has(#flightSearch) .content-section::before,
  body:has(#flightSearch) .content-section::after,
  body:has(#flightSearch) .hero-stat::before,
  body:has(#flightSearch) .hero-stat::after,
  body:has(#flightSearch) .search-card::before,
  body:has(#flightSearch) .search-card::after,
  body:has(#flightSearch) .search-btn::before,
  body:has(#flightSearch) .search-btn::after,
  body:has(#flightSearch) .promo-card::before,
  body:has(#flightSearch) .promo-card::after,
  body:has(#flightSearch) .destination-card::before,
  body:has(#flightSearch) .destination-card::after,
  body:has(#flightSearch) .how-it-works .steps-grid::before,
  body:has(#flightSearch) .step-card::before,
  body:has(#flightSearch) .step-card::after {
    display: none;
  }

  body:has(#flightSearch) .topbar,
  body:has(#flightSearch) .hero-stat,
  body:has(#flightSearch) .search-card,
  body:has(#flightSearch) .promo-card,
  body:has(#flightSearch) .destination-card,
  body:has(#flightSearch) .how-it-works,
  body:has(#flightSearch) .how-it-works .step-card,
  body:has(#flightSearch) .trust-row div {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  body:has(#flightSearch) .search-btn {
    overflow: visible;
    transform: none;
    filter: none;
    -webkit-mask-image: none;
    mask-image: none;
    clip-path: none;
    background: linear-gradient(135deg, #0068f5 0%, #00b8ff 100%);
  }

  body:has(#flightSearch) .search-card {
    isolation: auto;
    -webkit-mask-image: none;
    mask-image: none;
    clip-path: none;
    background: linear-gradient(180deg, #ffffff 0%, #f6faff 100%);
    box-shadow: none;
  }

  body:has(#flightSearch) .content-section,
  body:has(#flightSearch) .promo-card:not(.promo-card--blue),
  body:has(#flightSearch) .destination-card,
  body:has(#flightSearch) .how-it-works,
  body:has(#flightSearch) .how-it-works .step-card {
    background: linear-gradient(180deg, #ffffff 0%, #f4f9ff 100%);
  }
}

@media print {
  body:has(#flightSearch) {
    background: #f8fbff;
  }

  body:has(#flightSearch) .topbar {
    position: static;
  }
}

/* chrome_perf_v1: keep the premium surface, reduce large Chrome compositing work. */
@media (min-width: 769px) {
  body:has(#flightSearch)::before,
  body:has(#flightSearch)::after {
    filter: blur(42px);
    opacity: .36;
  }

  body:has(#flightSearch) .page-glow {
    filter: blur(40px);
    opacity: .30;
  }

  body:has(#flightSearch) .hero::before,
  body:has(#flightSearch) .content-section::before {
    filter: blur(24px);
    opacity: .58;
  }

  body:has(#flightSearch) .topbar {
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }

  body:has(#flightSearch) .search-card,
  body:has(#flightSearch) .hero-stat,
  body:has(#flightSearch) .promo-card,
  body:has(#flightSearch) .destination-card,
  body:has(#flightSearch) .search-preview,
  body:has(#flightSearch) .trust-row div,
  body:has(#flightSearch) .how-it-works,
  body:has(#flightSearch) .how-it-works .step-card {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    contain: paint;
  }

  body:has(#flightSearch) .search-btn,
  body:has(#flightSearch) .promo-card,
  body:has(#flightSearch) .destination-card,
  body:has(#flightSearch) .trust-row div,
  body:has(#flightSearch) .search-field,
  body:has(#flightSearch) .passenger-field {
    will-change: auto;
  }

  body:has(#flightSearch) .content-section {
    content-visibility: auto;
    contain-intrinsic-size: 720px;
  }

  body:has(#flightSearch) .search-btn {
    transition: transform var(--premium-ease), box-shadow var(--premium-ease), background-color var(--premium-ease);
  }

  body:has(#flightSearch) .search-btn:hover {
    filter: none;
  }

  body:has(#flightSearch) .search-btn::before {
    left: 0;
    transform: translateX(-160%) skewX(-18deg);
    transition: transform 260ms ease-out, opacity 180ms ease-out;
  }

  body:has(#flightSearch) .search-btn:hover::before {
    left: 0;
    transform: translateX(360%) skewX(-18deg);
  }

  body:has(#flightSearch) .search-field,
  body:has(#flightSearch) .passenger-field,
  body:has(#flightSearch) .swap-btn,
  body:has(#flightSearch) .trip-tabs__item,
  body:has(#flightSearch) .trust-row div,
  body:has(#flightSearch) .promo-card,
  body:has(#flightSearch) .destination-card,
  body:has(#flightSearch) .how-it-works .step-card {
    transition: transform var(--premium-ease), box-shadow var(--premium-ease), border-color var(--premium-ease), background-color var(--premium-ease), color var(--premium-ease);
  }

  body:has(#flightSearch) .destination-card strong {
    transition: color var(--premium-ease), text-shadow var(--premium-ease);
  }

  body:has(#flightSearch) .destination-card:hover strong {
    filter: none;
  }
}

/* autocomplete_layer_v1: suggestions must escape the search card paint layer. */
@media (min-width: 769px) {
  body:has(#flightSearch) .search-card {
    contain: none;
    overflow: visible !important;
    z-index: 140 !important;
  }

  body:has(#flightSearch) .search-grid,
  body:has(#flightSearch) .search-field {
    contain: none;
    overflow: visible !important;
  }

  body:has(#flightSearch) .search-field:focus-within {
    z-index: 180 !important;
  }

  body:has(#flightSearch) .suggestions {
    z-index: 220 !important;
  }

  body:has(#flightSearch) .search-preview {
    position: relative;
    z-index: 1;
  }
}

/* frontend_perf_v1: lighter first-paint effects without changing layout or flows. */
.page-glow,
body::before,
body::after,
.hero::before,
.content-section::before {
  filter: none;
}

.topbar {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  background: rgba(255, 255, 255, .88);
}

.search-card,
.hero-stat,
.promo-card,
.destination-card,
.search-preview,
.trust-row div {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

/* hero_badge_fix_v1: keep the smart-search badge icon and label aligned. */
body:has(#flightSearch) .hero-copy .badge {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 9px;
  width: fit-content;
  max-width: 100%;
  white-space: nowrap;
  line-height: 1.15;
}

body:has(#flightSearch) .hero-copy .badge span {
  flex: 0 0 auto;
  margin-right: 0;
}

body:has(#flightSearch) .hero-copy .badge span:first-child {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--blue);
  box-shadow: 0 0 0 6px rgba(0, 119, 255, 0.1);
}

body:has(#flightSearch) .hero-copy .badge span:last-child {
  width: auto;
  height: auto;
  min-width: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #2f6eea;
  font-weight: 800;
}

/* home_transport_bus_cleanup_v1 */
[data-home-transport-panel][hidden],
#flightSearch[hidden],
#homeBusSearch[hidden],
.trip-tabs[hidden],
.search-preview[hidden] {
  display: none !important;
}

.transport-tabs {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  width: min(100%, 360px);
  margin: 0 0 12px;
  padding: 5px;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 18px;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 14px 30px rgba(11, 36, 71, .06);
  backdrop-filter: blur(16px);
}

.transport-tabs__item {
  min-height: 42px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: #425066;
  font-size: 14px;
  font-weight: 900;
  transition: background .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.transport-tabs__item:hover {
  transform: translateY(-1px);
}

.transport-tabs__item:focus-visible {
  outline: 3px solid rgba(0, 119, 255, .24);
  outline-offset: 2px;
}

.transport-tabs__item.active {
  background: #0d1726;
  color: #fff;
  box-shadow: 0 10px 22px rgba(13, 23, 38, .18);
}

.home-bus-card__copy {
  display: grid;
  gap: 4px;
  padding: 13px 14px 10px;
}

.home-bus-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
  margin: 0 0 12px;
}

.home-bus-trust span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 12px;
  border: 1px solid rgba(0, 119, 255, .12);
  border-radius: 999px;
  background: rgba(255, 255, 255, .70);
  color: #17406f;
  font-size: 13px;
  font-weight: 900;
}

.home-bus-card__copy strong {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.15;
}

.home-bus-card__copy span {
  max-width: 760px;
  color: #647084;
  font-size: 14px;
  line-height: 1.35;
}

.home-bus-grid {
  display: grid;
  grid-template-columns: minmax(170px, 1fr) minmax(170px, 1fr) minmax(140px, .75fr) minmax(140px, .75fr) minmax(130px, .65fr) minmax(190px, .9fr);
  align-items: stretch;
}

.home-bus-card {
  background:
    radial-gradient(ellipse at 8% 0%, rgba(0, 184, 255, .10), transparent 44%),
    rgba(255, 255, 255, .78);
}

.home-bus-field:first-child {
  border-radius: 21px 0 0 21px;
}

.home-bus-field {
  position: relative;
}

.home-bus-field input[type="number"] {
  appearance: textfield;
}

body.home-transport-bus .hero {
  z-index: 3000;
  overflow: visible;
}

body.home-transport-bus .content-section {
  z-index: 1;
}

body.home-transport-bus #homeBusSearch {
  z-index: 3200 !important;
  overflow: visible !important;
  contain: none !important;
}

body.home-transport-bus #homeBusSearch .home-bus-grid,
body.home-transport-bus #homeBusSearch .home-bus-field {
  overflow: visible !important;
  contain: none !important;
}

body.home-transport-bus #homeBusSearch .home-bus-field:focus-within {
  z-index: 3300 !important;
}

.home-bus-autocomplete {
  position: absolute;
  left: 10px;
  right: 10px;
  top: calc(100% - 6px);
  z-index: 3400;
  box-sizing: border-box;
  max-height: 260px;
  overflow: auto;
  padding: 8px;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 22px 48px rgba(11, 36, 71, .16);
  -webkit-overflow-scrolling: touch;
}

.home-bus-autocomplete button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 13px;
  background: transparent;
  padding: 10px 11px;
  color: #172033;
  text-align: left;
}

.home-bus-autocomplete button:hover,
.home-bus-autocomplete button.is-active {
  background: #eef5ff;
}

.home-bus-autocomplete strong,
.home-bus-autocomplete span {
  display: block;
}

.home-bus-autocomplete strong {
  font-size: 14px;
  line-height: 1.2;
}

.home-bus-autocomplete span {
  color: #647084;
  font-size: 12px;
  font-weight: 700;
}

.home-bus-autocomplete__state {
  padding: 12px;
  color: #647084;
  font-size: 13px;
  font-weight: 800;
}

.home-bus-calendar-overlay[hidden],
.home-bus-calendar[hidden] {
  display: none !important;
}

.home-bus-calendar-overlay {
  position: fixed;
  z-index: 9000;
  inset: 0;
  display: block;
  background: rgba(13, 23, 38, .14);
}

body.home-bus-calendar-open {
  overflow: hidden;
}

.home-bus-calendar {
  position: fixed;
  z-index: 9010;
  top: 50%;
  left: 50%;
  width: min(520px, calc(100vw - 28px));
  max-height: calc(100vh - 96px);
  box-sizing: border-box;
  display: grid;
  gap: 10px;
  padding: 16px;
  overflow-x: hidden;
  overflow-y: auto;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(10, 22, 38, .18);
  transform: translate(-50%, -50%);
  -webkit-overflow-scrolling: touch;
}

.home-bus-calendar__head {
  position: sticky;
  z-index: 2;
  top: 0;
  display: flex;
  gap: 10px;
  align-items: start;
  justify-content: space-between;
  background: #fff;
}

.home-bus-calendar__close,
.home-bus-calendar__nav {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 999px;
  color: #0d1726;
  background: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.home-bus-calendar__nav {
  font-size: 24px;
  font-weight: 950;
}

.home-bus-calendar h2 {
  margin: 0 0 4px;
  color: #0d1726;
  font-size: 17px;
  line-height: 1.1;
}

.home-bus-calendar p {
  margin: 0;
  color: #647388;
  font-size: 12px;
  font-weight: 750;
}

.home-bus-calendar__status {
  color: #647388;
  font-size: 13px;
  font-weight: 750;
}

.home-bus-calendar__grid,
.home-bus-calendar__weekdays {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.home-bus-calendar__weekdays span {
  color: #7a8798;
  font-size: 11px;
  font-weight: 900;
  text-align: center;
}

.home-bus-calendar-day {
  position: relative;
  min-width: 0;
  min-height: 48px;
  display: grid;
  place-items: center;
  gap: 2px;
  border: 1px solid rgba(15, 23, 42, .07);
  border-radius: 13px;
  color: #233044;
  background: #fff;
  font: inherit;
  cursor: pointer;
}

.home-bus-calendar-day--empty {
  border-color: transparent;
  background: transparent;
  pointer-events: none;
}

.home-bus-calendar-day span {
  font-size: 14px;
  font-weight: 950;
}

.home-bus-calendar-day strong {
  color: #006ee8;
  font-size: 10px;
  font-weight: 900;
}

.home-bus-calendar-day.is-highlight::after {
  content: "";
  position: absolute;
  top: 6px;
  right: 6px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #14b87a;
}

.home-bus-calendar-day.is-highlight {
  border-color: rgba(20, 184, 122, .28);
  background: rgba(236, 253, 245, .72);
}

.home-bus-calendar-day.is-selected {
  color: #fff;
  background: linear-gradient(135deg, #0068f5, #00a7f2);
  box-shadow: 0 12px 22px rgba(0, 119, 255, .18);
}

.home-bus-calendar-day.is-selected strong {
  color: #fff;
}

.home-bus-calendar-day.is-disabled {
  cursor: not-allowed;
  opacity: .38;
}

.home-bus-field.is-invalid {
  box-shadow: inset 0 0 0 2px rgba(220, 38, 38, .28);
}

.home-bus-field.is-invalid span {
  color: #b42318;
}

.home-bus-submit {
  display: grid;
  place-items: center;
  text-align: center;
  text-decoration: none;
}

.home-bus-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 10px 4px;
}

.home-bus-quick-links a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 12px;
  border: 1px solid rgba(0, 119, 255, .12);
  border-radius: 999px;
  background: rgba(238, 245, 255, .72);
  color: #17406f;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.home-bus-quick-links a:focus-visible {
  outline: 3px solid rgba(0, 119, 255, .24);
  outline-offset: 2px;
}

.home-bus-landing {
  display: grid;
  gap: 26px;
}

.home-bus-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.home-bus-benefits article,
.home-bus-route-columns article,
.home-bus-faq article {
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 24px;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 14px 34px rgba(11, 36, 71, .06);
}

.home-bus-benefits article {
  padding: 20px;
}

.home-bus-benefits span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border-radius: 16px;
  background: #eef5ff;
  color: #006fe6;
  font-weight: 900;
}

.home-bus-benefits h2,
.home-bus-faq h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.2;
}

.home-bus-benefits p,
.home-bus-faq p,
.home-bus-steps p {
  margin: 0;
  color: #647084;
  line-height: 1.5;
}

.home-bus-section-head {
  display: grid;
  gap: 6px;
}

.home-bus-section-head span {
  color: #006fe6;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.home-bus-section-head h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.08;
}

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

.home-bus-route-columns article {
  padding: 18px;
}

.home-bus-route-columns h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 18px;
}

.home-bus-route-columns article > div {
  display: grid;
  gap: 8px;
}

.home-bus-route-columns a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 11px 13px;
  border: 1px solid rgba(0, 119, 255, .10);
  border-radius: 15px;
  background: rgba(238, 245, 255, .56);
  color: #17324d;
  font-weight: 900;
  text-decoration: none;
}

.home-bus-route-columns a::after {
  content: "→";
  color: #0077ff;
}

.home-bus-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-bus-steps li {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 22px;
  background: rgba(255, 255, 255, .76);
}

.home-bus-steps span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 13px;
  background: #0d1726;
  color: #fff;
  font-weight: 900;
}

.home-bus-steps strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 16px;
}

.home-bus-faq {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.home-bus-faq article {
  padding: 18px;
}

@media (max-width: 768px) {
  .transport-tabs {
    order: 4;
    width: 100%;
    margin: 0 0 9px;
  }

  .transport-tabs__item {
    min-height: 40px;
    font-size: 13px;
  }

  .home-transport-bus .search-card {
    order: 6;
  }

  .home-bus-card__copy {
    padding: 8px 9px 10px;
  }

  .home-bus-card__copy strong {
    font-size: 16px;
  }

  .home-bus-card__copy span {
    font-size: 13px;
  }

  .home-bus-grid {
    display: flex;
    flex-direction: column;
  }

  .home-bus-field {
    min-height: 54px;
    border-right: 0;
    border-bottom: 1px solid rgba(15, 23, 42, .07);
    border-radius: 0;
  }

  .home-bus-autocomplete {
    left: 6px;
    right: 6px;
    top: calc(100% - 4px);
    max-height: 220px;
  }

  .home-bus-calendar-overlay {
    display: none !important;
  }

  body.home-bus-calendar-open {
    overflow-x: hidden;
    overflow-y: auto;
  }

  .home-bus-calendar {
    position: relative;
    z-index: 1;
    grid-column: 1 / -1;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    max-width: 100%;
    max-height: none;
    margin: 8px 0 2px;
    padding: 12px;
    overflow-x: hidden;
    overflow-y: visible;
    border-radius: 20px;
    box-shadow: 0 16px 38px rgba(11, 36, 71, .12);
    transform: none;
  }

  .home-bus-calendar__head {
    top: 0;
    align-items: center;
    gap: 8px;
  }

  .home-bus-calendar h2 {
    font-size: 16px;
    line-height: 1.05;
  }

  .home-bus-calendar p {
    font-size: 11px;
  }

  .home-bus-calendar__status {
    font-size: 12px;
    line-height: 1.3;
  }

  .home-bus-calendar__grid,
  .home-bus-calendar__weekdays {
    gap: 4px;
  }

  .home-bus-calendar-day {
    min-height: 44px;
    border-radius: 11px;
  }

  .home-bus-calendar-day span {
    font-size: 14px;
  }

  .home-bus-calendar-day strong {
    font-size: 10px;
  }

  .home-bus-field:first-child {
    border-radius: 20px 20px 0 0;
  }

  .home-bus-submit {
    min-height: 58px;
    margin-top: 10px;
    border-radius: 22px;
  }

  .home-bus-quick-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    padding: 10px 0 0;
  }

  .home-bus-quick-links a {
    justify-content: center;
    padding: 8px 7px;
    font-size: 12px;
    text-align: center;
  }

  .home-bus-trust {
    order: 5;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin-bottom: 9px;
  }

  .home-bus-trust span {
    justify-content: center;
    min-height: 34px;
    padding: 7px 5px;
    font-size: 11px;
    text-align: center;
  }

  .home-bus-benefits,
  .home-bus-route-columns,
  .home-bus-steps,
  .home-bus-faq {
    grid-template-columns: 1fr;
  }

  .home-bus-benefits article,
  .home-bus-route-columns article,
  .home-bus-steps li,
  .home-bus-faq article {
    border-radius: 20px;
  }

  .home-bus-section-head h2 {
    font-size: 24px;
  }
}

@media (max-width: 380px) {
  .home-bus-calendar {
    gap: 8px;
    padding: 10px;
  }

  .home-bus-calendar__head {
    gap: 8px;
  }

  .home-bus-calendar__close,
  .home-bus-calendar__nav {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }

  .home-bus-calendar__grid,
  .home-bus-calendar__weekdays {
    gap: 4px;
  }

  .home-bus-calendar h2 {
    font-size: 14px;
  }

  .home-bus-calendar-day {
    min-height: 42px;
    border-radius: 10px;
  }
}
