:root {
  --citiair-navy: #081565;
  --citiair-red: #c60000;
  --citiair-red-hover: #a40000;
  --citiair-ink: #1f2746;
  --citiair-paper: #f7f8fc;
  --citiair-border: #dce2ee;
  --citiair-display: "Bricolage Grotesque", Inter, system-ui, sans-serif;
}

body { background: var(--citiair-paper); color: var(--citiair-ink); }
.topbar, .cft { background: var(--citiair-navy); }


.hero { background: #edf0fa !important; border-bottom: 1px solid var(--citiair-border); }
.hero h1 {
  color: var(--citiair-navy);
  font-family: var(--citiair-display);
  font-size: clamp(22px, 2.2vw, 30px) !important;
  font-weight: 700;
  line-height: 1.17;
  letter-spacing: -.025em;
  border-inline-start: 4px solid var(--citiair-red);
  padding-inline-start: 12px;
  margin-block: 4px 16px;
}
.hero h1::after { content: none; }
.hero form.s, #smart .sbx {
  background: #fff !important;
  border: 1px solid var(--citiair-border);
  border-radius: 12px !important;
  box-shadow: 0 4px 14px rgb(8 21 101 / 7%);
}
.hero form.s { backdrop-filter: none; }
.hero .go, #fclose { background: var(--citiair-red) !important; }
.hero .go { box-shadow: none; border-radius: 8px !important; }
.hero .go:hover, #fclose:hover { background: var(--citiair-red-hover) !important; }
.hero .trust { color: #47546c !important; }
#sumbar, #sumbar a { color: var(--citiair-navy); }
#smart #sq:focus-visible { outline: 2px solid var(--citiair-navy); outline-offset: -2px; }

main h2, main h3 { font-family: var(--citiair-display); }
.destination-card h3, .route-card h3 { color: var(--citiair-navy); }
.destination-card:hover, .route-card:hover { border-color: #a0add3; }
.route-actions button, .route-actions a { color: var(--citiair-navy); }
.route-actions button:hover, .route-actions a:hover { color: var(--citiair-red); }
.prev, .fv-l.w, .tg .y { background: #e9edfa !important; color: var(--citiair-navy); }
.promo-label { display: inline-block; background: #edf0fa; color: var(--citiair-navy); border-radius: 6px; padding: 2px 8px; font-size: 12px; font-weight: 700; margin: 4px 0; }

@media (max-width: 820px) {
  .hero h1 { font-size: clamp(21px, 5.3vw, 25px) !important; }
}

/* Keep verification and the submit button in separate grid space. */
#tsbox:not(:empty) { grid-column: span 3; min-width: 0; }

@media (max-width: 650px) {
  #tsbox:not(:empty), form.s > .go { grid-column: 1 / -1; }
}

/* Align the homepage controls while leaving room for airport names below. */
#f.s > label {
  align-self: start;
  line-height: 16px;
  min-width: 0;
}

#f.s > label :is(input, select) {
  height: 44px;
  min-width: 0;
}

#f.s > #swap {
  align-self: start !important;
  height: 44px;
  margin-top: 20px;
  min-height: 44px !important;
}
