:root {
  --ink: #111827;
  --muted: #64748b;
  --line: #d8e0ea;
  --paper: #ffffff;
  --soft: #f4f7fb;
  --blue: #c91519;
  --blue-dark: #8f1115;
  --sky: #ffca16;
  --green: #18845f;
  --warning: #f2b84b;
  --red: #c91519;
  --yellow: #ffca16;
  --shadow: 0 22px 60px rgba(17, 24, 39, .18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 26px;
  min-height: 74px;
  padding: 10px clamp(18px, 4vw, 56px);
  color: var(--ink);
  background: rgba(255, 255, 255, .98);
  border-bottom: 1px solid rgba(216, 224, 234, .9);
  box-shadow: 0 10px 28px rgba(15, 23, 42, .08);
  transition: box-shadow .25s ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 12px 32px rgba(15, 23, 42, .12);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 230px;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.brand img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.main-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.5vw, 36px);
  font-size: 14px;
  font-weight: 700;
}

.main-nav a,
.account-link {
  opacity: .95;
}

.main-nav a:hover,
.account-link:hover {
  opacity: 1;
  color: var(--red);
}

.account-link {
  justify-self: end;
  padding: 10px 16px;
  border: 1px solid var(--red);
  border-radius: 999px;
  color: var(--red);
  font-size: 14px;
  font-weight: 700;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: inherit;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  padding: 118px clamp(18px, 5vw, 72px) 46px;
  overflow: hidden;
  color: #fff;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 202, 22, .95), rgba(255, 202, 22, 0) 24%),
    radial-gradient(circle at 88% 20%, rgba(255, 202, 22, .52), rgba(255, 202, 22, 0) 26%),
    linear-gradient(128deg, #8f1115 0%, #c91519 48%, #e64822 68%, #ffca16 100%);
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, transparent 0 42%, rgba(255, 255, 255, .12) 42% 43.5%, transparent 43.5%),
    linear-gradient(155deg, transparent 0 64%, rgba(255, 255, 255, .16) 64% 65.5%, transparent 65.5%);
  opacity: .9;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: auto -8% -42% 42%;
  height: 62%;
  border-radius: 999px 0 0 0;
  background: rgba(255, 255, 255, .12);
  transform: rotate(-7deg);
}

.hero-content {
  position: relative;
  width: min(1140px, 100%);
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--sky);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: none;
  margin: 0 0 42px;
  font-size: clamp(38px, 4.6vw, 70px);
  line-height: 1.06;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
  text-shadow: 0 14px 32px rgba(47, 12, 16, .28);
}

.hero-copy {
  display: none;
  max-width: 560px;
  margin: 14px 0 20px;
  color: rgba(255, 255, 255, .86);
  font-size: clamp(15px, 1.45vw, 18px);
}

.search-panel {
  width: min(1120px, 100%);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 16px 34px rgba(47, 12, 16, .18);
  overflow: hidden;
}

.trip-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 0;
  padding: 0 18px;
  border-bottom: 0;
  background: #fff;
}

.trip-tabs button {
  position: relative;
  min-height: 44px;
  border: 0;
  border-radius: 0;
  padding: 8px 20px 10px;
  color: #333842;
  background: transparent;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.trip-tabs button.active {
  color: var(--red);
  background: transparent;
}

.trip-tabs button.active::after {
  content: "";
  position: absolute;
  right: 20px;
  bottom: 0;
  left: 20px;
  height: 2px;
  background: var(--red);
}

.fields {
  display: grid;
  grid-template-columns: minmax(170px, 1fr) 34px minmax(170px, 1fr) 150px 170px 150px;
  gap: 6px;
  align-items: end;
  padding: 0 18px 18px;
}

label {
  display: grid;
  gap: 2px;
  min-width: 0;
}

label span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

input,
select {
  width: 100%;
  height: 44px;
  border: 1px solid #cfd7e3;
  border-radius: 0;
  padding: 0 12px;
  color: var(--ink);
  background: #fff;
  font-weight: 600;
}

.swap {
  width: 34px;
  height: 44px;
  border: 1px solid #cfd7e3;
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  transform: translateY(13px);
}

.swap span {
  display: block;
  width: 16px;
  height: 16px;
  margin: auto;
  border-top: 2px solid var(--red);
  border-right: 2px solid var(--red);
  transform: rotate(45deg);
}

.primary-action {
  height: 44px;
  border: 0;
  border-radius: 0;
  padding: 0 20px;
  color: #fff;
  background: var(--red);
  cursor: pointer;
  font-weight: 900;
  white-space: nowrap;
  box-shadow: none;
  text-align: center;
}

.primary-action:hover,
.cookie-banner button:hover {
  background: #a91115;
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
  background: #f7f9fc;
  padding: 0 clamp(18px, 5vw, 72px);
}

.quick-actions a {
  min-height: 98px;
  padding: 22px clamp(16px, 2vw, 28px);
  border-right: 1px solid var(--line);
  background: #fff;
}

.quick-actions a:last-child {
  border-right: 0;
}

.quick-actions strong {
  display: block;
  margin-bottom: 8px;
  color: var(--red);
  font-size: 18px;
}

.quick-actions span {
  color: var(--muted);
}

.notice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 16px clamp(18px, 5vw, 72px);
  background: #fff8e7;
  border-bottom: 1px solid #f1dfad;
  text-align: center;
}

.notice span {
  flex: 0 0 auto;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--yellow);
  color: #442d00;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.notice p {
  margin: 0;
  color: #5d4308;
  font-weight: 700;
}

.section {
  padding: 68px clamp(18px, 5vw, 72px);
}

.notice + .destinations {
  padding-top: 42px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(240px, 420px) minmax(280px, 600px);
  gap: 38px;
  align-items: end;
  margin-bottom: 26px;
  max-width: 1180px;
  margin-inline: auto;
}

.section-heading.compact {
  display: block;
}

.section-heading h2,
.bridge h2 {
  margin: 0;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.08;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow),
.bridge p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 1180px;
  margin-inline: auto;
}

.product-grid article,
.fare-card,
.help-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: #fff;
}

.product-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  color: #111827;
  background: var(--yellow);
  font-weight: 900;
}

h3 {
  margin: 16px 0 8px;
  font-size: 19px;
  line-height: 1.18;
}

.product-grid p,
.help-grid p {
  margin: 0;
  color: var(--muted);
}

.destinations {
  background: var(--soft);
}

.destination-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  grid-auto-rows: minmax(210px, auto);
  gap: 16px;
  max-width: 1180px;
  margin-inline: auto;
}

.destination-card {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  border-radius: 8px;
  color: #fff;
  isolation: isolate;
}

.destination-card.large {
  grid-row: span 2;
}

.destination-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(47, 12, 16, .78), rgba(47, 12, 16, .05) 62%);
}

.destination-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.destination-card:hover img {
  transform: scale(1.05);
}

.destination-card div {
  position: absolute;
  inset: auto 22px 22px;
}

.destination-card span,
.long-haul span {
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.destination-card h3 {
  margin: 6px 0;
  font-size: 26px;
}

.destination-card p {
  margin: 0;
  font-weight: 800;
}

.fare-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.fare-card ul {
  display: grid;
  gap: 12px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.fare-card li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.fare-card li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.long-haul-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  max-width: 1180px;
  margin-inline: auto;
}

.long-haul-grid article {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  padding: 20px;
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(0deg, rgba(5, 24, 49, .82), rgba(5, 24, 49, .15)),
    var(--image) center / cover;
}

.long-haul-grid article:nth-child(-n + 3) {
  grid-column: span 2;
}

.long-haul-grid .simple {
  min-height: 132px;
  background: var(--red);
}

.long-haul strong {
  font-size: 18px;
}

.bridge {
  display: grid;
  grid-template-columns: minmax(700px, 1fr) minmax(560px, 720px);
  gap: clamp(28px, 3vw, 52px);
  align-items: center;
  padding: 52px clamp(18px, 5vw, 72px);
  color: #fff;
  background: linear-gradient(120deg, #8f1115, #c91519 62%, #ffca16);
  overflow: hidden;
}

.bridge > * {
  max-width: none;
}

.bridge .eyebrow {
  color: #fff0a3;
}

.bridge p {
  margin-top: 14px;
  color: rgba(255, 255, 255, .82);
}

.bridge img {
  width: min(720px, 100%);
  aspect-ratio: 16 / 7;
  object-fit: cover;
  border-radius: 8px;
  justify-self: end;
  box-shadow: 0 26px 54px rgba(47, 12, 16, .32);
}

.bridge h2 {
  font-size: clamp(34px, 2.75vw, 48px);
  white-space: nowrap;
}

.bridge p {
  white-space: nowrap;
}

.bridge-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.bridge-points span {
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 999px;
  font-weight: 800;
}

.help-grid,
.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 1180px;
  margin-inline: auto;
}

.help-grid a {
  display: inline-block;
  margin-top: 16px;
  color: var(--red);
  font-weight: 900;
}

.partners {
  background: #fff;
}

.partner-grid {
  gap: 18px;
}

.partner-grid article {
  min-height: 190px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  background: #fff;
}

.partner-grid img {
  width: min(260px, 100%);
  height: 86px;
  object-fit: contain;
}

.partner-grid h3 {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 36px clamp(18px, 5vw, 72px);
  color: #d6e5f7;
  background: #07192e;
}

.site-footer p {
  margin: 10px 0 0;
  color: #9eb3c8;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
}

.footer-brand {
  width: 230px;
}

.cookie-banner {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: min(430px, calc(100vw - 36px));
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(17, 24, 39, .18);
}

.cookie-banner.is-hidden {
  display: none;
}

.cookie-banner p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.cookie-banner button {
  border: 0;
  border-radius: 7px;
  padding: 10px 13px;
  color: #fff;
  color: #111827;
  background: var(--yellow);
  font-weight: 800;
  cursor: pointer;
}

@media (max-width: 1060px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .main-nav,
  .account-link {
    display: none;
  }

  .site-header.is-open .main-nav {
    grid-column: 1 / -1;
    display: grid;
    justify-self: stretch;
    gap: 0;
    padding: 8px 0;
  }

  .site-header.is-open .main-nav a {
    padding: 13px 0;
    border-top: 1px solid var(--line);
  }

  .fields {
    grid-template-columns: 1fr 42px 1fr;
  }

  .primary-action {
    grid-column: 1 / -1;
  }

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

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

  .long-haul-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .long-haul-grid article:nth-child(-n + 3) {
    grid-column: span 1;
  }

  .bridge h2,
  .bridge p {
    white-space: normal;
  }
}

@media (max-width: 760px) {
  .hero {
    min-height: 720px;
    padding-top: 112px;
    align-items: flex-end;
  }

  .hero h1 {
    font-size: 42px;
    white-space: normal;
  }

  .search-panel {
    padding: 0;
  }

  .fields,
  .section-heading,
  .bridge,
  .destination-grid,
  .long-haul-grid,
  .help-grid,
  .product-grid,
  .quick-actions {
    grid-template-columns: 1fr;
  }

  .swap {
    width: 100%;
  }

  .destination-card.large {
    grid-row: span 1;
  }

  .quick-actions a {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .notice {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .section {
    padding: 64px 18px;
  }

  .bridge {
    padding: 60px 18px;
  }

  .bridge img {
    justify-self: center;
  }

  .site-footer {
    flex-direction: column;
  }

  .cookie-banner {
    left: 18px;
    align-items: stretch;
    flex-direction: column;
  }
}
