:root {
  --background: #f4fafc;
  --foreground: #1b2d45;
  --blue: #1269bb;
  --navy: #102d5d;
  --line: #dbe5ed;
  --muted: #61748a;
  --font-sans: "DM Sans", sans-serif;
  --font-display: "Manrope", sans-serif;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  min-width: 320px;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
}
::selection {
  color: #fff;
  background: var(--blue);
}
.site-shell {
  overflow: hidden;
}
.display-font {
  font-family: var(--font-display);
}
.topbar {
  position: relative;
  z-index: 30;
  height: 76px;
  background: rgba(255, 255, 255, 0.93);
  border-bottom: 1px solid rgba(206, 220, 231, 0.7);
  backdrop-filter: blur(16px);
}
.nav-inner {
  max-width: 1240px;
  height: 100%;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: -0.055em;
  font: 800 25px/1 var(--font-display);
}
.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--blue);
  border-radius: 11px 11px 11px 3px;
  transform: rotate(-11deg);
  box-shadow: 0 5px 14px rgba(16, 102, 183, 0.2);
}
.brand-mark svg {
  transform: rotate(11deg);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}
.nav-link {
  color: #3d4b62;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: color 0.2s ease, transform 0.2s ease;
}
.nav-link:hover {
  color: #0c68bd;
  transform: translateY(-1px);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
.language-wrap {
  position: relative;
}
.language {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: none;
  color: #394c64;
  font-size: 13px;
  font-weight: 700;
}
.language-menu {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  z-index: 40;
  min-width: 76px;
  padding: 5px;
  border: 1px solid #dce8f0;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 12px 25px rgba(25, 68, 103, 0.15);
}
.language-wrap.open .language-menu {
  display: block;
  animation: pop-in 0.16s ease-out both;
}
.language-menu button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 9px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #415972;
  font-size: 11px;
  font-weight: 800;
  text-align: left;
}
.language-menu button:hover {
  background: #eef8fe;
  color: var(--blue);
}
.signin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid #b8c8d8;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  color: #1c3657;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.signin:hover {
  border-color: #1470c3;
  background: #eff8ff;
  transform: translateY(-2px);
}
.menu-button {
  display: none;
  border: 0;
  background: transparent;
  color: #17385e;
  padding: 8px;
}
.close-icon {
  display: none;
}

.hero {
  position: relative;
  min-height: 652px;
  isolation: isolate;
  background: linear-gradient(
      90deg,
      rgba(228, 246, 255, 0.98) 0%,
      rgba(227, 246, 255, 0.76) 40%,
      rgba(227, 246, 255, 0.06) 71%
    ),
    url("assets/hero-airplane.png") center 47% / cover no-repeat;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 125px;
  z-index: -1;
  background: linear-gradient(0deg, var(--background) 0%, transparent 100%);
}
.hero-inner {
  position: relative;
  max-width: 1240px;
  min-height: 652px;
  margin: 0 auto;
  padding: 84px 30px 0;
}
.hero-copy {
  width: min(470px, 47vw);
  animation: rise-in 0.7s cubic-bezier(0.22, 0.8, 0.25, 1) both;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid rgba(20, 108, 183, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  color: #1b6fb7;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #efb43c;
  box-shadow: 0 0 0 4px rgba(239, 180, 60, 0.18);
}
.hero h1 {
  margin: 20px 0 14px;
  color: var(--navy);
  font: 800 clamp(47px, 6vw, 74px) / 0.98 var(--font-display);
  letter-spacing: -0.065em;
}
.hero h1 em {
  color: #096bc1;
  font-style: normal;
}
.hero-lede {
  max-width: 360px;
  margin: 0;
  color: #425876;
  font-size: 17px;
  line-height: 1.5;
}
.hero-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  color: #52718e;
  font-size: 12px;
  font-weight: 600;
}
.sparkle {
  color: #e1a427;
  font-size: 18px;
  line-height: 1;
}
.headline-wrap {
  position: relative;
  width: fit-content;
}
.headline-wrap [contenteditable="true"] {
  outline: 2px dashed rgba(18, 105, 187, 0.4);
  outline-offset: 5px;
  border-radius: 4px;
}
.edit-headline {
  position: absolute;
  right: -31px;
  top: 17px;
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(18, 105, 187, 0.24);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.62);
  color: var(--blue);
  transition: background 0.2s ease, transform 0.2s ease;
}
.edit-headline:hover,
.edit-headline.active {
  background: #fff;
  transform: scale(1.08);
}
.check-icon {
  display: none;
}

.search-wrap {
  position: absolute;
  z-index: 5;
  left: 30px;
  right: 30px;
  bottom: -52px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
  animation: rise-in 0.8s 0.12s cubic-bezier(0.22, 0.8, 0.25, 1) both;
}
.search-card {
  position: relative;
  padding: 0 19px 17px;
  border: 1px solid rgba(211, 224, 235, 0.92);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 20px 45px rgba(28, 73, 112, 0.15),
    0 3px 8px rgba(28, 73, 112, 0.06);
  backdrop-filter: blur(14px);
}
.trip-tabs {
  display: flex;
  gap: 5px;
  padding-top: 12px;
  border-bottom: 1px solid #e4ebf1;
}
.trip-tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 49px;
  padding: 0 19px;
  border: 0;
  border-radius: 11px 11px 0 0;
  background: transparent;
  color: #66788e;
  font-size: 13px;
  font-weight: 700;
  transition: color 0.2s ease, background 0.2s ease;
}
.trip-tab::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: -1px;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: transparent;
  transition: background 0.2s ease;
}
.trip-tab.active {
  color: var(--blue);
  background: #f1f8fe;
}
.trip-tab.active::after {
  background: var(--blue);
}
.tab-icon {
  font-size: 18px;
  line-height: 1;
  font-weight: 500;
}
.form-grid {
  display: grid;
  grid-template-columns: 1.9fr 1fr 1fr 0.92fr auto;
  gap: 9px;
  align-items: end;
  padding-top: 16px;
}
.route-group {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  min-width: 0;
}
.field {
  min-width: 0;
}
.field-label {
  display: block;
  margin: 0 0 7px 2px;
  color: #52647a;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.03em;
}
.field-box {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 47px;
  min-width: 0;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fbfdff;
  color: #203b5c;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.field-box:focus-within {
  border-color: #4495d5;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(24, 113, 191, 0.1);
}
.field-icon {
  flex: 0 0 auto;
  color: #1b70c0;
  font-size: 17px;
  line-height: 1;
}
.field-box input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #203b5c;
  font-size: 13px;
  font-weight: 700;
  min-width: 0;
}
.field-box input:disabled {
  color: #8290a0;
  cursor: not-allowed;
}
.swap-button {
  position: absolute;
  left: 50%;
  bottom: 7px;
  transform: translateX(-50%);
  z-index: 2;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid #d5e1eb;
  border-radius: 50%;
  background: #fff;
  color: var(--blue);
  box-shadow: 0 3px 8px rgba(22, 74, 115, 0.1);
  font-size: 17px;
  transition: transform 0.2s ease, background 0.2s ease;
}
.swap-button:hover {
  background: #eaf5fd;
  transform: translateX(-50%) rotate(180deg);
}
.travel-box {
  justify-content: flex-start;
  position: relative;
  border: 1px solid var(--line);
  width: 100%;
  text-align: left;
}
.travel-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.travel-text strong {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 13px;
}
.travel-text span {
  color: #7c8c9d;
  font-size: 11px;
}
.chevron {
  margin-left: auto;
  color: #47708e;
}
.search-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 47px;
  padding: 0 19px;
  border: 0;
  border-radius: 11px;
  background: var(--blue);
  color: #fff;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 7px 14px rgba(13, 101, 186, 0.22);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.search-button:hover {
  background: #0d5da8;
  transform: translateY(-2px);
  box-shadow: 0 11px 21px rgba(13, 101, 186, 0.3);
}
.search-options {
  display: flex;
  align-items: center;
  gap: 21px;
  padding-top: 13px;
}
.check-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #64768b;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}
.check-label input {
  accent-color: #1670c2;
  width: 14px;
  height: 14px;
}
.search-feedback {
  min-height: 18px;
  margin: 9px 2px 0;
  color: #196bb4;
  font-size: 12px;
  font-weight: 700;
}
.traveler-popover {
  display: none;
  position: absolute;
  z-index: 20;
  right: 0;
  top: calc(100% + 10px);
  width: 275px;
  padding: 16px;
  border: 1px solid #dbe7ef;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(26, 72, 110, 0.16);
}
.traveler-popover.open {
  display: block;
  animation: pop-in 0.18s ease-out both;
}
.traveler-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
}
.traveler-row + .traveler-row {
  border-top: 1px solid #eef2f5;
}
.traveler-row > span {
  display: flex;
  flex-direction: column;
  color: #243e5e;
  font-size: 13px;
  font-weight: 700;
}
.traveler-row small {
  margin-top: 2px;
  color: #8090a0;
  font-size: 10px;
  font-weight: 500;
}
.counter {
  display: flex;
  align-items: center;
  gap: 8px;
}
.counter button {
  width: 25px;
  height: 25px;
  border: 1px solid #ccdce8;
  border-radius: 50%;
  background: #fff;
  color: var(--blue);
  font-weight: 800;
}
.counter strong {
  min-width: 13px;
  text-align: center;
  font-size: 13px;
}
.popover-done {
  width: 100%;
  margin-top: 10px;
  padding: 9px;
  border: 0;
  border-radius: 8px;
  background: #eaf5fd;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
}

.below-hero {
  max-width: 1240px;
  margin: 0 auto;
  padding: 125px 30px 88px;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 26px;
}
.section-heading h2 {
  margin: 0;
  color: #15365b;
  font: 800 clamp(27px, 3.4vw, 40px) / 1.08 var(--font-display);
  letter-spacing: -0.045em;
}
.section-heading p {
  max-width: 330px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}
.destination-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.9fr 0.9fr;
  gap: 14px;
}
.destination {
  position: relative;
  min-height: 218px;
  overflow: hidden;
  padding: 20px;
  border: 0;
  border-radius: 20px;
  background-position: center;
  background-size: cover;
  color: #fff;
  isolation: isolate;
  text-align: left;
  font-family: inherit;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.35s ease;
}
.destination::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(13, 39, 68, 0.78), transparent 70%);
}
.destination:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 28px rgba(24, 73, 110, 0.18);
}
.destination-alps {
  min-height: 288px;
  background-image: url("assets/destination-swiss-alps.png");
}
.destination-coast {
  background-image: url("assets/destination-amalfi.png");
}
.destination-city {
  background-image: url("assets/destination-amsterdam.png");
}
.destination-tag {
  display: inline-block;
  padding: 5px 8px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  backdrop-filter: blur(5px);
}
.destination-copy {
  position: absolute;
  bottom: 18px;
  left: 20px;
  right: 18px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}
.destination h3 {
  margin: 0;
  font: 800 25px/1 var(--font-display);
  letter-spacing: -0.04em;
}
.destination p {
  margin: 7px 0 0;
  font-size: 12px;
  opacity: 0.86;
}
.destination-arrow {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}
.promise {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 70px;
  align-items: center;
  margin-top: 104px;
  padding: 56px 62px;
  border-radius: 28px;
  background: #e4f4fc;
}
.promise h2 {
  margin: 0;
  color: #12345b;
  font: 800 clamp(28px, 3.5vw, 43px) / 1.05 var(--font-display);
  letter-spacing: -0.055em;
}
.promise p {
  margin: 0;
  color: #54718d;
  line-height: 1.6;
  font-size: 14px;
}
.promise-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  grid-column: 1 / -1;
  padding-top: 22px;
  border-top: 1px solid rgba(36, 116, 172, 0.16);
}
.promise-item strong {
  display: block;
  color: #146ab6;
  font: 800 18px var(--font-display);
}
.promise-item span {
  display: block;
  margin-top: 5px;
  color: #5e7690;
  font-size: 12px;
  line-height: 1.4;
}
.footer {
  border-top: 1px solid #dbe7ef;
  background: #f0f8fc;
}
.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 34px 30px 25px;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: end;
}
.footer small {
  display: block;
  margin-top: 12px;
  color: #7590a5;
  font-size: 11px;
}
.footer-links {
  display: flex;
  gap: 20px;
}
.footer-links a {
  color: #55738e;
  font-size: 12px;
  text-decoration: none;
}
.footer-links a:hover {
  color: var(--blue);
}

.catalog-section,
.flight-section,
.airlines-section {
  padding: 100px 30px;
  background: #fff;
}
.catalog-section {
  background: #f4fafc;
}
.section-shell {
  max-width: 1180px;
  margin: 0 auto;
}
.section-heading-centered {
  align-items: center;
  text-align: center;
}
.section-heading-centered > div {
  margin: 0 auto;
}
.section-heading-centered p {
  margin-left: auto;
  margin-right: auto;
}
.destination-catalog {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 13px;
}
.destination-mini {
  position: relative;
  min-height: 168px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid #dceaf2;
  border-radius: 17px;
  background: linear-gradient(145deg, var(--destination-light), #fff 72%);
  color: #173b62;
  text-align: left;
  box-shadow: 0 8px 22px rgba(28, 73, 112, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease,
    border-color 0.25s ease;
}
.destination-mini::after {
  content: "";
  position: absolute;
  width: 92px;
  height: 92px;
  right: -25px;
  bottom: -30px;
  border: 18px solid var(--destination-accent);
  border-radius: 50%;
  opacity: 0.18;
}
.destination-mini:hover {
  border-color: #a9d0e8;
  box-shadow: 0 12px 25px rgba(28, 73, 112, 0.12);
  transform: translateY(-4px);
}
.destination-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: var(--destination-accent);
  color: #fff;
  font: 800 11px var(--font-display);
  letter-spacing: 0.04em;
}
.destination-mini h3 {
  position: relative;
  z-index: 1;
  margin: 25px 0 4px;
  color: #163a60;
  font: 800 17px/1.1 var(--font-display);
  letter-spacing: -0.03em;
}
.destination-mini p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #6b8298;
  font-size: 11px;
}
.destination-price {
  position: absolute;
  z-index: 1;
  right: 14px;
  top: 20px;
  color: #347099;
  font-size: 11px;
  font-weight: 800;
}
.benefits-section {
  padding: 108px 30px;
  background: #e7f5fc;
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}
.benefit-card {
  position: relative;
  min-height: 220px;
  padding: 23px;
  border: 1px solid rgba(156, 201, 226, 0.5);
  border-radius: 19px;
  background: rgba(255, 255, 255, 0.7);
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.benefit-card:hover {
  background: #fff;
  box-shadow: 0 14px 27px rgba(24, 73, 110, 0.1);
  transform: translateY(-4px);
}
.benefit-number {
  color: #5c9bc2;
  font: 800 12px var(--font-display);
  letter-spacing: 0.08em;
}
.benefit-icon {
  position: absolute;
  top: 19px;
  right: 21px;
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #d4edfb;
  color: var(--blue);
  font-size: 22px;
}
.benefit-card h3 {
  margin: 45px 0 9px;
  color: #15385d;
  font: 800 21px/1.1 var(--font-display);
  letter-spacing: -0.04em;
}
.benefit-card p {
  max-width: 250px;
  margin: 0;
  color: #637c94;
  font-size: 13px;
  line-height: 1.5;
}
.flight-section {
  background: #f9fcfd;
}
.flight-table-wrap {
  overflow: hidden;
  border: 1px solid #dce8ef;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 27px rgba(28, 73, 112, 0.06);
}
.flight-table-head,
.flight-row {
  display: grid;
  grid-template-columns: 1.1fr 1.65fr 1.25fr 0.8fr 0.3fr;
  gap: 16px;
  align-items: center;
}
.flight-table-head {
  padding: 13px 22px;
  background: #f0f8fc;
  color: #7190a6;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.flight-row {
  min-height: 68px;
  padding: 10px 22px;
  border-top: 1px solid #edf3f6;
  color: #294764;
  transition: background 0.2s ease;
}
.flight-row:hover {
  background: #f7fbfd;
}
.flight-airline {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.airline-logo {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--logo-color, #1269bb);
  color: #fff;
  font: 800 10px var(--font-display);
  letter-spacing: -0.02em;
}
.flight-airline strong {
  display: block;
  overflow: hidden;
  color: #23435f;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.flight-airline small {
  display: block;
  margin-top: 3px;
  color: #8b9aaa;
  font-size: 10px;
}
.flight-route {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}
.flight-route strong {
  color: #173d62;
  font: 800 13px var(--font-display);
}
.flight-route span {
  flex: 1;
  height: 1px;
  min-width: 18px;
  background: #c7dce9;
  position: relative;
}
.flight-route span::after {
  content: "›";
  position: absolute;
  right: -2px;
  top: -9px;
  color: #4990bc;
  font-size: 17px;
}
.flight-schedule {
  color: #6e8396;
  font-size: 11px;
}
.flight-price {
  color: #1269bb;
  font: 800 15px var(--font-display);
}
.flight-action {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid #c9e0ed;
  border-radius: 50%;
  background: #f3faff;
  color: var(--blue);
  font-size: 16px;
  transition: background 0.2s ease, transform 0.2s ease;
}
.flight-action:hover {
  background: #dff2ff;
  transform: translateX(2px);
}
.why-section {
  padding: 115px 30px;
  background: #fff;
}
.why-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 110px;
  align-items: center;
}
.why-copy h2 {
  max-width: 400px;
  margin: 20px 0 16px;
  color: #12345b;
  font: 800 clamp(35px, 4vw, 53px) / 1.02 var(--font-display);
  letter-spacing: -0.06em;
}
.why-copy > p {
  max-width: 405px;
  margin: 0;
  color: #607a92;
  font-size: 15px;
  line-height: 1.6;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  color: var(--blue);
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
}
.text-link span {
  transition: transform 0.2s ease;
}
.text-link:hover span {
  transform: translateX(5px);
}
.why-points {
  display: grid;
  gap: 0;
  border-top: 1px solid #dce9f0;
}
.why-point {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 20px;
  padding: 25px 0;
  border-bottom: 1px solid #dce9f0;
}
.why-point > span {
  color: #7eb1cf;
  font: 800 13px var(--font-display);
}
.why-point h3 {
  margin: 0 0 5px;
  color: #1b4266;
  font: 800 20px/1.15 var(--font-display);
  letter-spacing: -0.03em;
}
.why-point p {
  margin: 0;
  color: #71879b;
  font-size: 13px;
  line-height: 1.5;
}
.airline-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.airline-card {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 78px;
  padding: 14px;
  border: 1px solid #e1ebf1;
  border-radius: 14px;
  background: #fff;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.airline-card:hover {
  border-color: #b5d8e9;
  box-shadow: 0 8px 18px rgba(28, 73, 112, 0.08);
  transform: translateY(-3px);
}
.airline-card strong {
  display: block;
  color: #23435f;
  font-size: 12px;
  line-height: 1.2;
}
.airline-card span:last-child {
  display: block;
  margin-top: 4px;
  color: #8a9aaa;
  font-size: 10px;
}
.faq-section {
  padding: 115px 30px;
  background: #f4fafc;
}
.faq-layout {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 110px;
  align-items: start;
}
.faq-intro h2 {
  max-width: 340px;
  margin: 20px 0 14px;
  color: #12345b;
  font: 800 clamp(32px, 3.5vw, 46px) / 1.04 var(--font-display);
  letter-spacing: -0.055em;
}
.faq-intro p {
  max-width: 280px;
  margin: 0;
  color: #668096;
  font-size: 14px;
  line-height: 1.55;
}
.faq-list {
  border-top: 1px solid #dce9f0;
}
.faq-list details {
  border-bottom: 1px solid #dce9f0;
}
.faq-list summary {
  position: relative;
  padding: 21px 40px 21px 0;
  color: #23435f;
  cursor: pointer;
  list-style: none;
  font: 800 15px var(--font-display);
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 3px;
  top: 17px;
  color: var(--blue);
  font: 500 23px var(--font-sans);
  transition: transform 0.2s ease;
}
.faq-list details[open] summary::after {
  transform: rotate(45deg);
}
.faq-list details p {
  max-width: 650px;
  margin: -4px 35px 21px 0;
  color: #6b8298;
  font-size: 13px;
  line-height: 1.6;
}
.cta-section {
  padding: 25px 30px 105px;
  background: #f4fafc;
}
.cta-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 50px 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-radius: 26px;
  background: linear-gradient(125deg, #0e5ca7, #1882c8);
  box-shadow: 0 20px 35px rgba(21, 102, 163, 0.18);
}
.cta-inner .eyebrow {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.cta-inner h2 {
  margin: 15px 0 9px;
  color: #fff;
  font: 800 clamp(28px, 3.4vw, 43px) / 1.05 var(--font-display);
  letter-spacing: -0.055em;
}
.cta-inner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  padding: 15px 19px;
  border-radius: 11px;
  background: #fff;
  color: #0e5ca7;
  text-decoration: none;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cta-button:hover {
  box-shadow: 0 10px 20px rgba(5, 50, 94, 0.2);
  transform: translateY(-2px);
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes pop-in {
  from {
    opacity: 0;
    transform: translateY(-5px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 980px) {
  .nav-links {
    gap: 14px;
  }
  .form-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .route-group {
    grid-column: span 2;
  }
  .search-button {
    grid-column: span 1;
  }
  .destination-catalog {
    grid-template-columns: repeat(4, 1fr);
  }
  .airline-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .why-layout,
  .faq-layout {
    gap: 55px;
  }
}
@media (max-width: 760px) {
  .topbar {
    height: 66px;
  }
  .nav-inner {
    padding: 0 18px;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    padding: 12px 18px 18px;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid #dce8f0;
    box-shadow: 0 10px 18px rgba(25, 68, 103, 0.08);
  }
  .nav-links.open {
    display: grid;
    gap: 0;
  }
  .nav-links.open .nav-link {
    padding: 12px 2px;
    border-bottom: 1px solid #edf2f5;
  }
  .language {
    display: none;
  }
  .nav-actions {
    margin-left: auto;
  }
  .signin {
    min-height: 36px;
    padding: 0 13px;
  }
  .menu-button {
    display: block;
  }
  .hero {
    min-height: 805px;
    background-position: 63% 16%;
  }
  .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      180deg,
      rgba(221, 244, 255, 0.3) 0%,
      rgba(228, 246, 255, 0.75) 45%,
      #e5f5fc 78%
    );
    z-index: -1;
  }
  .hero-inner {
    min-height: 805px;
    padding: 50px 18px 0;
  }
  .hero-copy {
    width: 100%;
  }
  .hero h1 {
    font-size: clamp(44px, 14vw, 62px);
    max-width: 400px;
  }
  .hero-lede {
    max-width: 290px;
  }
  .search-wrap {
    left: 0;
    right: 0;
    bottom: 1px !important;
    padding: 0 13px;
  }
  .search-card {
    padding: 0 13px 16px;
    border-radius: 18px;
  }
  .trip-tabs {
    overflow-x: auto;
  }
  .trip-tab {
    padding: 0 12px;
    white-space: nowrap;
    font-size: 12px;
  }
  .form-grid {
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    padding-top: 14px;
  }
  .route-group {
    grid-column: span 2;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }
  .route-group .field:first-child {
    grid-column: span 2;
  }
  .route-group .field:last-child {
    grid-column: span 1;
  }
  .route-group .swap-button {
    top: 82px;
    bottom: auto;
    transform: translateX(-50%) rotate(90deg);
  }
  .route-group .swap-button:hover {
    transform: translateX(-50%) rotate(270deg);
  }
  .form-grid > .field:nth-of-type(2),
  .form-grid > .field:nth-of-type(3) {
    grid-column: span 1;
  }
  .form-grid > .field:nth-of-type(4),
  .search-button {
    grid-column: span 2;
  }
  .search-options {
    flex-wrap: wrap;
    gap: 10px 17px;
  }
  .below-hero {
    padding: 1px 18px 62px!important;
  }
  .section-heading {
    display: block;
  }
  .section-heading p {
    margin-top: 10px;
  }
  .destination-grid {
    grid-template-columns: 1fr 1fr;
  }
  .destination-alps {
    grid-column: span 2;
    min-height: 235px;
  }
  .destination {
    min-height: 190px;
  }
  .promise {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 30px 24px;
    margin-top: 70px;
  }
  .promise-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .catalog-section,
  .flight-section,
  .airlines-section,
  .benefits-section,
  .why-section,
  .faq-section {
    padding: 75px 18px;
  }
  .destination-catalog {
    grid-template-columns: repeat(2, 1fr);
  }
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  .flight-table-head {
    display: none;
  }
  .flight-row {
    grid-template-columns: 1fr auto;
    gap: 10px 14px;
    padding: 15px;
  }
  .flight-airline {
    grid-column: 1;
    grid-row: 1;
  }
  .flight-route {
    grid-column: 1 / -1;
    grid-row: 2;
  }
  .flight-schedule {
    grid-column: 1;
    grid-row: 3;
  }
  .flight-price {
    grid-column: 2;
    grid-row: 3;
  }
  .flight-action {
    grid-column: 2;
    grid-row: 1;
  }
  .why-layout,
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .airline-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cta-section {
    padding: 10px 18px 75px;
  }
  .cta-inner {
    display: block;
    padding: 34px 25px;
  }
  .cta-button {
    margin-top: 24px;
  }
  .footer-inner {
    display: block;
    padding: 28px 18px;
  }
  .footer-links {
    margin-top: 18px;
    flex-wrap: wrap;
  }
  .traveler-popover {
    top: calc(100% + 10px);
    right: 0;
    width: min(275px, calc(100vw - 60px));
  }
}
@media (max-width: 430px) {
  .brand {
    font-size: 22px;
  }
  .signin span {
    display: none;
  }
  .hero-note {
    font-size: 11px;
  }
  .destination-grid {
    grid-template-columns: 1fr;
  }
  .destination-alps {
    grid-column: span 1;
  }
  .destination-catalog,
  .airline-grid {
    grid-template-columns: 1fr;
  }
  .flight-route {
    gap: 6px;
  }
  .flight-airline strong {
    max-width: 150px;
  }
}

/* Flight search controls */
.form-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.route-legs {
  grid-column: 1 / 4;
  display: grid;
  gap: 9px;
  min-width: 0;
}
.route-leg {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(135px, 0.82fr) 34px;
  gap: 9px;
  align-items: end;
  min-width: 0;
}
.airport-field {
  position: relative;
  min-width: 0;
}
.airport-field .field-box {
  padding-right: 8px;
}
.airport-options {
  display: none;
  position: absolute;
  z-index: 25;
  top: calc(100% + 7px);
  left: 0;
  right: 0;
  max-height: 420px;
  overflow-y: auto;
  padding: 5px;
  border: 1px solid #d8e6ef;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 14px 28px rgba(26, 72, 110, 0.17);
}
.airport-options.open {
  display: block;
  animation: pop-in 0.16s ease-out both;
}
.airport-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 12px;
  padding: 6px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #244460;
  text-align: left;
}
.airport-option:hover,
.airport-option.highlighted {
  background: #eef7fc;
}
.airport-option > span {
  display: grid;
  gap: 3px;
}
.airport-option strong {
  font-size: 12px;
}
.airport-option small {
  color: #8294a4;
  font-size: 10px;
}
.airport-option b {
  color: #1b70c0;
  font: 800 11px var(--font-display);
}
.airport-no-results {
  margin: 0;
  padding: 12px;
  color: #71879a;
  font-size: 11px;
  line-height: 1.4;
}
.date-input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #203b5c;
  font-size: 12px;
  font-weight: 700;
}
.date-input::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 0.75;
}
.form-tools {
  grid-column: 4;
  grid-row: 1;
  min-width: 0;
}
.form-tools .return-field {
  width: 100%;
}
.return-field[hidden],
.add-leg[hidden],
.remove-leg[hidden] {
  display: none;
}
.add-leg {
  min-height: 44px;
  padding: 0 9px;
  border: 1px solid #cfe2ee;
  border-radius: 10px;
  background: #f1f8fd;
  color: #176eb6;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}
.add-leg:hover {
  background: #e4f3fc;
}
.remove-leg {
  align-self: end;
  width: 34px;
  height: 47px;
  border: 1px solid #dbe5ed;
  border-radius: 10px;
  background: #fff;
  color: #668096;
  font-size: 22px;
}
.remove-leg:hover {
  border-color: #d39090;
  color: #b44848;
  background: #fff8f7;
}
.form-grid > .field:not(.date-field) {
  grid-column: 1 / 3;
}
.form-grid > .search-button {
  grid-column: 3 / 5;
}
.search-feedback {
  color: #196bb4;
}

/* Destination carousel */
.destination-carousel {
  position: relative;
  padding-bottom: 34px;
}
.carousel-control {
  position: absolute;
  z-index: 2;
  top: -65px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid #cbdce7;
  border-radius: 50%;
  background: #fff;
  color: #176eb6;
  font-size: 17px;
  box-shadow: 0 4px 12px rgba(27, 75, 112, 0.08);
  transition: background 0.2s ease, transform 0.2s ease;
}
.carousel-control:hover {
  background: #eaf5fc;
  transform: translateY(-2px);
}
.carousel-prev {
  right: 46px;
}
.carousel-next {
  right: 0;
}
.carousel-status {
  position: absolute;
  bottom: 0;
  right: 0;
  color: #7890a3;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.destination {
  transition: opacity 0.28s ease, transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.35s ease;
}
.destination-mini {
  cursor: pointer;
}
.destination-flag {
  position: relative;
  z-index: 1;
  width: 38px;
  height: 27px;
  object-fit: cover;
  border: 1px solid rgba(28, 68, 100, 0.12);
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(24, 73, 110, 0.12);
}

/* The flight lists use real airline artwork rather than text initials. */
.airline-logo.flag-image {
  display: block;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  object-fit: contain;
  padding: 3px;
  border: 1px solid rgba(31, 70, 100, 0.12);
  border-radius: 8px;
  background: #fff;
  color: transparent;
  box-shadow: 0 2px 5px rgba(28, 73, 112, 0.08);
}
.flight-airline .flag-image {
  width: 40px;
  height: 40px;
}
.airline-card .flag-image {
  width: 42px;
  height: 42px;
}

/* Keep the original blue identity, with a more substantial closing footer */
.cta-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
}
.cta-phone span {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cta-phone:hover {
  color: #fff;
}
.footer-inner {
  min-height: 205px;
  padding-top: 57px;
  padding-bottom: 48px;
  align-items: center;
}
.footer .brand {
  font-size: 27px;
}
.footer small {
  margin-top: 17px;
  font-size: 12px;
}
.footer-links {
  gap: 23px;
  flex-wrap: wrap;
  max-width: 610px;
  justify-content: flex-end;
}
.footer-links a {
  font-size: 13px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(18, 105, 187, 0.48);
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .route-legs {
    grid-column: 1 / -1;
  }
  .form-tools {
    grid-column: 1 / 2;
    grid-row: auto;
  }
  .form-grid > .field:not(.date-field) {
    grid-column: 2 / 3;
  }
  .form-grid > .search-button {
    grid-column: 1 / -1;
  }
}
@media (max-width: 760px) {
  .form-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .route-legs {
    grid-column: 1 / -1;
  }
  .route-leg {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 9px;
    padding-bottom: 2px;
  }
  .route-leg .date-field {
    grid-column: 1 / 2;
  }
  .route-leg .remove-leg {
    grid-column: 2 / 3;
    width: 100%;
    height: 42px;
  }
  .route-leg .swap-button {
    top: 25px;
    bottom: auto;
    left: 50%;
    transform: translateX(-50%) rotate(90deg);
  }
  .route-leg .swap-button:hover {
    transform: translateX(-50%) rotate(270deg);
  }
  .form-tools {
    grid-column: 1 / -1;
  }
  .form-grid > .field:not(.date-field) {
    grid-column: 1 / -1;
  }
  .form-grid > .search-button {
    grid-column: 1 / -1;
  }
  .add-leg {
    width: 100%;
    margin-top: 8px;
  }
  .carousel-control {
    top: -78px;
  }
  .destination-carousel {
    padding-bottom: 30px;
  }
  .footer-inner {
    min-height: 0;
    padding: 42px 18px 38px;
  }
  .footer-links {
    gap: 14px 20px;
    justify-content: flex-start;
  }
  .footer-links a {
    font-size: 12px;
  }
}
@media (max-width: 430px) {
  .route-leg {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .route-leg .field-box input {
    font-size: 11px;
  }
  .carousel-control {
    top: -81px;
  }
  .carousel-status {
    left: 0;
    right: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* Legal pages */
.legal-page {
  background: #f7fbfe;
  min-height: calc(100vh - 90px);
}
.legal-hero {
  background: linear-gradient(135deg, #0b5fae 0%, #176eb6 58%, #2a86c7 100%);
  color: #fff;
  padding: 72px 22px 68px;
}
.legal-hero-inner,
.legal-content {
  width: min(1080px, calc(100% - 44px));
  margin: 0 auto;
}
.legal-hero .eyebrow {
  color: rgba(255, 255, 255, 0.82);
}
.legal-hero h1 {
  margin: 13px 0 14px;
  font-family: "Manrope", sans-serif;
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.045em;
}
.legal-hero p {
  max-width: 700px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 16px;
  line-height: 1.75;
}
.legal-meta {
  margin-top: 24px !important;
  font-size: 12px !important;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7) !important;
}
.legal-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 52px;
  align-items: start;
  padding-top: 54px;
  padding-bottom: 72px;
}
.legal-toc {
  position: sticky;
  top: 25px;
  padding: 20px;
  border: 1px solid #dce9f2;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(25, 76, 111, 0.06);
}
.legal-toc strong {
  display: block;
  margin-bottom: 12px;
  color: #193c55;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.legal-toc a {
  display: block;
  padding: 8px 0;
  color: #5d7587;
  text-decoration: none;
  font-size: 12px;
  line-height: 1.35;
}
.legal-toc a:hover {
  color: #176eb6;
}
.legal-card {
  min-width: 0;
  padding: 42px 46px;
  border: 1px solid #dce9f2;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(25, 76, 111, 0.07);
}
.legal-card h2 {
  margin: 0 0 14px;
  padding-top: 22px;
  color: #153b55;
  font-family: "Manrope", sans-serif;
  font-size: 25px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.legal-card h2:first-child {
  padding-top: 0;
}
.legal-card h3 {
  margin: 24px 0 8px;
  color: #244c66;
  font-size: 16px;
}
.legal-card p,
.legal-card li {
  color: #5d7180;
  font-size: 14px;
  line-height: 1.85;
}
.legal-card ul,
.legal-card ol {
  padding-left: 22px;
}
.legal-card li {
  margin: 6px 0;
}
.legal-card a {
  color: #176eb6;
  text-underline-offset: 3px;
}
.legal-note {
  margin: 0 0 28px;
  padding: 16px 18px;
  border-left: 4px solid #2a86c7;
  border-radius: 8px;
  background: #eef7fd;
  color: #466579;
  font-size: 13px;
  line-height: 1.7;
}
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 26px;
  color: #176eb6;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}
.legal-back:hover {
  text-decoration: underline;
}
@media (max-width: 800px) {
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 30px;
  }
  .legal-toc {
    position: static;
  }
  .legal-card {
    padding: 30px 24px;
    border-radius: 16px;
  }
  .legal-hero {
    padding: 52px 20px 48px;
  }
  .legal-hero-inner,
  .legal-content {
    width: min(100%, calc(100% - 32px));
  }
}
@media (max-width: 480px) {
  .legal-card {
    padding: 26px 19px;
  }
  .legal-card p,
  .legal-card li {
    font-size: 13px;
  }
}
