* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

:root {
  color: #171717;
  background: #f3f3f1;
  font-family: Arimo, Arial, sans-serif;
}

body {
  margin: 0;
  min-width: 320px;
  background: #f3f3f1;
}

button, select { font: inherit; }

.page-shell {
  min-height: 100vh;
  padding: 0 0 150px;
}

.welcome-hero {
  position: relative;
  display: flex;
  width: 100%;
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  margin: 0;
  overflow: hidden;
  border-radius: 0;
  color: #202321;
  background: #d9dad6;
  box-shadow: 0 24px 70px rgb(40 47 40 / 14%);
  isolation: isolate;
}

.hero-shade {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: none;
}

.hero-nav {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  min-height: 84px;
  padding: 0 34px;
  border-bottom: 1px solid rgb(255 255 255 / 24%);
  align-items: center;
  justify-content: space-between;
}

.hero-mark {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
}

.hero-start,
.hero-scroll {
  color: inherit;
  text-decoration: none;
}

.hero-action {
  position: absolute;
  right: 0;
  bottom: 30px;
  display: flex;
  width: min(620px, 48vw);
  align-items: flex-start;
  flex-direction: column;
  gap: 24px;
}

.hero-cta-note {
  width: 100%;
  margin: 0;
  font-size: clamp(18px, 1.55vw, 25px);
  font-weight: 450;
  letter-spacing: -.035em;
  line-height: 1.08;
  text-align: left;
  text-wrap: balance;
}

.hero-start {
  display: inline-flex;
  min-height: 42px;
  padding: 5px 7px 5px 18px;
  border-radius: 999px;
  background: rgb(17 17 17 / 86%);
  font-size: 12px;
  font-weight: 700;
  align-items: center;
  gap: 12px;
  backdrop-filter: blur(8px);
}

.hero-start span {
  display: grid;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: #171717;
  background: #fff;
  font-size: 14px;
  place-items: center;
  transition: transform .4s cubic-bezier(.22, 1, .36, 1);
}

.hero-start:hover span { transform: rotate(45deg); }

.hero-copy {
  position: absolute;
  top: 42%;
  left: 0;
  width: min(670px, 70%);
  margin: 0;
  padding: 0 48px;
  transform: translateY(-50%);
}

.hero-first-word,
.hero-character,
.hero-secondary-character {
  display: inline-block;
  opacity: 0;
  will-change: opacity, transform;
}

.hero-first-word {
  animation: hero-word-in .62s .05s cubic-bezier(.22, 1, .36, 1) forwards;
}

.hero-character {
  white-space: pre;
  animation: hero-character-in .42s cubic-bezier(.22, 1, .36, 1) forwards;
  animation-delay: calc(.5s + var(--character-index) * 32ms);
}

.hero-secondary-character {
  white-space: pre-wrap;
  animation: hero-character-in .22s cubic-bezier(.22, 1, .36, 1) forwards;
  animation-delay: calc(.7s + var(--character-index) * 7ms);
}

.hero-secondary-word { display: inline-block; white-space: nowrap; }

.hero-scroll {
  animation: hero-cta-in .5s 1s cubic-bezier(.22, 1, .36, 1) both;
}

@keyframes hero-word-in {
  from { opacity: 0; transform: translateX(85px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes hero-character-in {
  from { opacity: 0; transform: translateX(24px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes hero-cta-in {
  from { opacity: 0; transform: translateX(55px); }
  to { opacity: 1; transform: translateX(0); }
}

.hero-eyebrow {
  margin: 0 0 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: none;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(46px, 5vw, 80px);
  font-weight: 500;
  letter-spacing: -.065em;
  line-height: .88;
}

.hero-intro {
  width: min(430px, 100%);
  margin: 28px 0 0;
  font-size: clamp(15px, 1.3vw, 19px);
  line-height: 1.45;
}

.hero-scroll {
  position: static;
  display: flex;
  min-height: 52px;
  padding: 5px 6px 5px 20px;
  border-radius: 999px;
  color: #171717;
  background: #fff;
  box-shadow: none;
  font-size: 12px;
  font-weight: 700;
  align-items: center;
  gap: 12px;
  transition: color .35s ease, background .35s ease, transform .35s cubic-bezier(.22, 1, .36, 1), box-shadow .35s ease;
}

.hero-scroll-arrow {
  display: grid;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: #171717;
  font-size: 16px;
  place-items: center;
  transition: background .3s ease, transform .4s cubic-bezier(.22, 1, .36, 1);
}

.hero-scroll:hover {
  color: #fff;
  background: #171717;
  transform: translateY(-2px);
  box-shadow: none;
}

.hero-scroll:hover .hero-scroll-arrow {
  color: #171717;
  background: #fff;
  transform: translate(2px, -2px);
}

.flight-search {
  width: min(90%, 1500px);
  margin: 0 auto;
}

.flight-search::after {
  display: block;
  height: 50vh;
  content: "";
}

.search-bar {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(210px, 1fr) 32px minmax(210px, 1fr) 32px minmax(210px, 1fr);
  gap: 18px;
  align-items: center;
  padding: 22px 24px;
  border: 1px solid #e8e8e5;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 45px rgb(0 0 0 / 7%);
  margin-top: 72px;
  scroll-margin-block: 18vh;
}

.journey-visual {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: transparent;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  transition: opacity .5s ease, visibility .5s;
}

.journey-visual.is-visible { visibility: visible; opacity: 1; }

.journey-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.journey-kicker { margin: 0 0 9px; color: #91b9ae; font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: none; }
.journey-heading h2 { margin: 0; font-size: clamp(25px, 3vw, 42px); font-weight: 500; letter-spacing: -.045em; }
.journey-replay { display: inline-flex; min-height: 40px; padding: 0 14px; border: 1px solid rgb(255 255 255 / 15%); border-radius: 999px; color: #e9f3ef; background: rgb(255 255 255 / 6%); cursor: pointer; align-items: center; gap: 8px; transition: background .25s ease, transform .25s ease; }
.journey-replay:hover { background: rgb(255 255 255 / 12%); transform: translateY(-1px); }
.journey-replay span { font-size: 18px; }
.journey-stage { display: grid; grid-template-columns: minmax(420px, 1.45fr) minmax(280px, .75fr); align-items: center; gap: 28px; }
.globe-wrap {
  position: absolute;
  bottom: 0;
  left: 0;
  display: grid;
  width: 100%;
  height: 100%;
  min-height: 0;
  place-items: center;
}
.globe-wrap::before { position: absolute; width: 72%; aspect-ratio: 1; border-radius: 50%; background: #28685b; content: ""; opacity: .16; filter: blur(60px); }
#globe-3d { position: relative; width: 100%; height: 100%; pointer-events: none; }
#globe-3d canvas { display: block; width: 100% !important; height: 100% !important; }
.globe-halo { position: absolute; width: 62%; aspect-ratio: 1; border-radius: 50%; background: #66aa98; opacity: .14; filter: blur(55px); }
.route-globe { position: relative; width: min(100%, 610px); overflow: visible; filter: drop-shadow(0 30px 35px rgb(0 0 0 / 35%)); }
.globe-ocean { stroke: rgb(255 255 255 / 9%); stroke-width: 2; }
.globe-grid { fill: none; stroke: rgb(202 235 224 / 12%); stroke-width: 1.3; }
.globe-land { fill: #89a793; opacity: .72; }
.globe-rim { fill: none; stroke: rgb(223 244 236 / 20%); stroke-width: 2; }
.route-line { fill: none; stroke: #e5cf75; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 7 12; filter: url(#route-glow); opacity: 0; }
.route-line.is-visible { opacity: 1; }
.route-leg-two { stroke: #f0b972; }
.route-markers circle { fill: #f7f1d7; stroke: #173c38; stroke-width: 5; }
.route-markers circle.connection-marker { fill: #f0b972; }
.route-markers circle.destination-marker { fill: #d7f08c; }
.route-markers .marker-ring { fill: none; stroke: #f0b972; stroke-width: 3; opacity: 0; }
.route-markers .marker-ring.is-active { animation: marker-ping 1.2s ease-out infinite; }
.flight-plane { opacity: 0; filter: drop-shadow(0 4px 6px rgb(0 0 0 / 35%)); }
.flight-plane circle { fill: #f7f1d7; }
.flight-plane path { fill: #173c38; }
.journey-progress { padding: 26px; border: 1px solid rgb(255 255 255 / 10%); border-radius: 22px; background: rgb(255 255 255 / 5%); }
.journey-status { display: flex; min-height: 66px; padding-bottom: 22px; border-bottom: 1px solid rgb(255 255 255 / 10%); align-items: center; gap: 14px; }
.journey-status small, .journey-stops small { display: block; margin-bottom: 5px; color: #82a69d; font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: none; }
.journey-status strong { display: block; font-size: 15px; line-height: 1.3; }
.status-pulse { width: 11px; height: 11px; border-radius: 50%; background: #d7f08c; box-shadow: 0 0 0 0 rgb(215 240 140 / 45%); animation: status-pulse 1.8s ease-out infinite; }
.journey-stops { position: relative; display: grid; margin: 0; padding: 18px 0 0; list-style: none; gap: 2px; }
.journey-stops::before { position: absolute; top: 42px; bottom: 42px; left: 17px; width: 1px; background: rgb(255 255 255 / 14%); content: ""; }
.journey-stops li { position: relative; display: flex; min-height: 76px; align-items: center; gap: 14px; transition: opacity .35s ease, transform .35s ease; }
.journey-stops li > span { z-index: 1; display: grid; width: 35px; height: 35px; border: 1px solid rgb(255 255 255 / 18%); border-radius: 50%; color: #9eb4ae; background: #193836; font-size: 10px; font-weight: 800; place-items: center; transition: color .3s ease, background .3s ease, transform .3s ease; }
.journey-stops strong { display: block; max-width: 200px; font-size: 14px; }
.journey-stops li.is-pending { opacity: .45; }
.journey-stops li.is-active { opacity: 1; transform: translateX(4px); }
.journey-stops li.is-active > span { color: #173c38; background: #f0b972; transform: scale(1.08); }
.journey-stops li.is-complete { opacity: .75; }
.journey-stops li.is-complete > span { color: #173c38; background: #d7f08c; }

@keyframes marker-ping { from { opacity: .9; transform: scale(.3); transform-origin: center; } to { opacity: 0; transform: scale(2.4); transform-origin: center; } }
@keyframes status-pulse { 70%, 100% { box-shadow: 0 0 0 9px rgb(215 240 140 / 0%); } }

@media (max-width: 850px) {
  .journey-stage { grid-template-columns: 1fr; }
  .globe-wrap { min-height: 0; }
  .route-globe { width: min(100%, 540px); }
}

@media (max-width: 560px) {
  .journey-visual { width: 100%; height: 100%; margin: 0; padding: 0; }
  .globe-wrap { width: 72%; }
  .journey-heading { align-items: center; }
  .journey-replay { width: 40px; padding: 0; justify-content: center; }
  .journey-replay:not(:hover) { font-size: 0; }
  .journey-replay span { font-size: 18px; }
  .journey-progress { padding: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .status-pulse, .route-markers .marker-ring.is-active { animation: none; }
}

.select-field {
  position: relative;
  z-index: 1;
  display: flex;
  min-width: 0;
  padding: 8px 12px;
  border: 1px solid #deded9;
  border-radius: 12px;
  background: #fff;
  flex-direction: column;
  transform: translateY(0);
  transition: opacity .42s cubic-bezier(.22, 1, .36, 1), transform .42s cubic-bezier(.22, 1, .36, 1), border-color .3s ease, background .35s ease, box-shadow .35s ease;
}

.select-field:hover,
.select-field:focus-within,
.select-field.is-open {
  z-index: 50;
  border-color: #8eaaa3;
}

.select-field.is-disabled {
  opacity: .3;
  transform: translateY(2px);
  pointer-events: none;
}

.select-field.just-completed .dropdown-trigger {
  animation: field-confirm .65s cubic-bezier(.22, 1, .36, 1);
}

.select-field.is-current .dropdown-trigger {
  color: #171717;
}

.select-field.is-current {
  border-color: #609387;
  outline: 1px solid #9bbdb5;
  background: #f1f7f5;
  box-shadow: 0 0 0 4px rgb(40 104 91 / 7%);
  animation: next-step-in .8s cubic-bezier(.22, 1, .36, 1);
}

.select-field.is-upcoming {
  opacity: .48;
}

.select-field.is-upcoming:hover,
.select-field.is-upcoming:focus-within {
  opacity: .82;
}

.select-field.is-complete .choice-label {
  color: #171717;
  font-weight: 600;
}

.select-field span {
  margin: 0;
}

.select-field select {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.dropdown-trigger {
  display: flex;
  width: 100%;
  min-height: 46px;
  padding: 0;
  border: 0;
  color: #747474;
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
}

.dropdown-trigger .choice-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.passport-swatch {
  width: 18px;
  height: 23px;
  border-radius: 2px 4px 4px 2px;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 25%), 0 1px 2px rgb(0 0 0 / 18%);
  flex: 0 0 auto;
}

.country-flag {
  width: 24px;
  height: 18px;
  border-radius: 3px;
  box-shadow: 0 1px 3px rgb(0 0 0 / 16%);
  flex: 0 0 auto;
}

.dropdown-trigger::after {
  width: 8px;
  height: 8px;
  margin-left: auto;
  border-right: 1.5px solid #171717;
  border-bottom: 1.5px solid #171717;
  content: "";
  flex: 0 0 auto;
  transform: rotate(45deg) translateY(-3px);
  transition: transform .18s ease;
}

.select-field:hover .dropdown-trigger::after,
.select-field:focus-within .dropdown-trigger::after {
  transform: rotate(225deg) translate(-2px, -1px);
}

.select-field.is-complete .dropdown-trigger::after,
.select-field.is-complete:hover .dropdown-trigger::after,
.select-field.is-complete:focus-within .dropdown-trigger::after {
  display: grid;
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: #28685b;
  box-shadow: 0 4px 12px rgb(40 104 91 / 20%);
  content: "✓";
  font-size: 13px;
  font-weight: 800;
  place-items: center;
  transform: none;
  animation: confirm-pop .45s cubic-bezier(.34, 1.56, .64, 1);
}

.custom-options {
  position: absolute;
  z-index: 100;
  top: calc(100% - 2px);
  left: -14px;
  display: grid;
  width: calc(100% + 28px);
  max-height: 260px;
  margin: 0;
  padding: 8px;
  overflow-y: auto;
  border: 1px solid #e4e4e0;
  border-radius: 14px;
  visibility: hidden;
  opacity: 0;
  background-color: #fff;
  box-shadow: 0 18px 45px rgb(0 0 0 / 12%);
  list-style: none;
  transform: translateY(-6px);
  transform-origin: top center;
  transition: opacity .24s cubic-bezier(.22, 1, .36, 1), transform .3s cubic-bezier(.22, 1, .36, 1), visibility .24s;
}

.dropdown-search-wrap {
  position: sticky;
  z-index: 1;
  top: -8px;
  padding: 6px 4px 9px;
  background: #fff;
}

.dropdown-search {
  width: 100%;
  height: 40px;
  padding: 0 12px 0 36px;
  border: 1px solid #deded9;
  border-radius: 9px;
  outline: 0;
  color: #171717;
  background: #f7f7f5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23777' stroke-width='1.7'%3E%3Ccircle cx='7' cy='7' r='4.5'/%3E%3Cpath d='m10.5 10.5 4 4'/%3E%3C/svg%3E") no-repeat 12px center;
  font-size: 14px;
}

.dropdown-search:focus {
  border-color: #609387;
  background-color: #fff;
  box-shadow: 0 0 0 3px rgb(40 104 91 / 10%);
}

.select-field:hover .custom-options,
.select-field.is-open .custom-options {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.select-field.suppress-hover:not(.is-open) .custom-options {
  visibility: hidden;
  opacity: 0;
  transform: translateY(-6px);
}

.custom-option {
  display: flex;
  padding: 11px 12px;
  border-radius: 9px;
  background-color: #fff;
  cursor: pointer;
  font-size: 14px;
  align-items: center;
  gap: 10px;
}

.custom-option:hover,
.custom-option:focus,
.custom-option[aria-selected="true"] {
  outline: 0;
  background: #edf4f1;
  color: #175a4d;
}

.custom-option[hidden] { display: none; }

.custom-option[aria-disabled="true"] {
  color: #aaa;
  opacity: .42;
  background: #f4f4f2;
  cursor: not-allowed;
  filter: grayscale(1);
}

.custom-option[aria-disabled="true"]:hover {
  color: #aaa;
  background: #f4f4f2;
}

.custom-option .option-note {
  margin-left: auto;
  padding-left: 10px;
  color: #8b8f8d;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .02em;
  white-space: nowrap;
}

.field-arrow {
  width: 32px;
  height: auto;
  color: #b2b2ad;
  background: transparent;
  font-size: 20px;
  justify-self: center;
  text-align: center;
  transition: color .35s ease, transform .45s cubic-bezier(.34, 1.56, .64, 1);
}

.select-field.is-complete + .field-arrow {
  color: #28685b;
  transform: translateX(3px);
}

.search-button {
  position: relative;
  min-height: 54px;
  padding: 0 27px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: #171717;
  cursor: pointer;
  font-weight: 700;
  white-space: nowrap;
  transition: color .35s ease, background .4s cubic-bezier(.22, 1, .36, 1), transform .3s cubic-bezier(.22, 1, .36, 1), box-shadow .35s ease;
}

.form-footer {
  position: fixed;
  z-index: 30;
  bottom: 24px;
  left: 24px;
  width: min(30vw, 380px);
  height: min(24vw, 290px);
  min-height: 210px;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: transparent;
  pointer-events: none;
  transition: opacity .5s cubic-bezier(.22, 1, .36, 1), transform .55s cubic-bezier(.22, 1, .36, 1), visibility .5s;
}

.form-footer:not(:has(.journey-visual.is-visible)) { visibility: hidden; opacity: 0; }

.form-footer .selection,
.form-footer .search-button {
  position: relative;
  z-index: 2;
}

.form-footer .search-button {
  min-width: 205px;
  min-height: 46px;
  padding-inline: 20px;
  font-size: 13px;
}

.search-button:hover {
  background: #28685b;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgb(40 104 91 / 20%);
}

.search-button:disabled {
  color: #aaa;
  background: #e5e5e2;
  cursor: not-allowed;
  transform: none;
}

.trip-type-section {
  position: relative;
  z-index: 1;
  width: min(100%, 1040px);
  margin: 58px auto 0;
  padding: 0;
  border: 0;
  opacity: 1;
  transform: translateY(0);
  transition: opacity .45s cubic-bezier(.22, 1, .36, 1), transform .45s cubic-bezier(.22, 1, .36, 1);
  scroll-margin-block: 18vh;
}

.trip-type-section.is-disabled {
  transform: translateY(3px);
}

.trip-type-section.is-disabled .trip-type-option {
  opacity: .32;
}

.trip-type-section.is-disabled .trip-type-option:hover,
.trip-type-section.is-disabled .trip-type-option:focus-within {
  opacity: .72;
}

.trip-type-section.is-disabled .trip-type-option:has(input:checked) {
  opacity: 1;
}

.trip-type-section.is-active {
  animation: section-ready .65s cubic-bezier(.22, 1, .36, 1);
}

.trip-type-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 9px;
  border: 2px solid #deded9;
  border-radius: 20px;
  background: #f0f0ed;
  box-shadow: 0 14px 34px rgb(0 0 0 / 7%);
  transition: border-color .35s ease, box-shadow .35s ease, transform .35s cubic-bezier(.22, 1, .36, 1);
}

.trip-type-section.is-active .trip-type-options {
  border-color: #78a097;
  box-shadow: 0 16px 38px rgb(40 104 91 / 17%), 0 0 0 5px rgb(40 104 91 / 6%);
}

.trip-type-option {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 88px;
  padding: 16px 52px 16px 18px;
  border: 1px solid #d5d5d0;
  border-radius: 11px;
  color: #4f5654;
  background: #fff;
  cursor: pointer;
  align-items: center;
  gap: 11px;
  transition: opacity .35s ease, color .3s ease, border-color .3s ease, background .35s cubic-bezier(.22, 1, .36, 1), box-shadow .35s ease, transform .3s cubic-bezier(.22, 1, .36, 1);
}

.trip-type-option::after {
  position: absolute;
  top: 50%;
  right: 16px;
  width: 18px;
  height: 18px;
  border: 2px solid #aaa;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 4px #fff;
  content: "";
  transform: translateY(-50%);
  transition: border-color .25s ease, background .3s cubic-bezier(.34, 1.56, .64, 1), transform .3s cubic-bezier(.34, 1.56, .64, 1);
}

.trip-type-option:hover {
  border-color: #89aa9f;
  box-shadow: 0 8px 20px rgb(0 0 0 / 9%);
  transform: translateY(-2px);
}

.trip-type-option:hover::after { border-color: #28685b; }

.trip-type-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.trip-type-icon {
  display: grid;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgb(255 255 255 / 60%);
  flex: 0 0 auto;
  font-size: 21px;
  place-items: center;
  transition: color .3s ease, background .3s ease, transform .4s cubic-bezier(.34, 1.56, .64, 1);
}

.trip-type-option strong,
.trip-type-option small { display: block; }
.trip-type-option strong { color: inherit; font-size: 16px; }
.trip-type-option small { margin-top: 4px; font-size: 12px; line-height: 1.35; }

.trip-type-option:has(input:checked) {
  color: #174f45;
  border-color: #609387;
  background: #fff;
  box-shadow: 0 5px 16px rgb(0 0 0 / 8%);
}

.trip-type-option:has(input:checked)::after {
  border-color: #28685b;
  background: #28685b;
  transform: translateY(-50%) scale(1.08);
}

.trip-type-option:has(input:checked) .trip-type-icon {
  color: #fff;
  background: #28685b;
  transform: scale(1.05);
}

.trip-type-option:focus-within { outline: 3px solid rgb(40 104 91 / 18%); outline-offset: 2px; }
.trip-type-option:active { transform: translateY(0) scale(.99); }
.trip-type-option.just-selected { animation: field-confirm .6s cubic-bezier(.22, 1, .36, 1); }

.purpose-section {
  width: min(100%, 1040px);
  margin: 58px auto 0;
  padding: 0;
  border: 0;
  transition: opacity .4s ease, transform .4s cubic-bezier(.22, 1, .36, 1);
  scroll-margin-block: 18vh;
}

.purpose-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 8px;
  border: 1px solid #deded9;
  border-radius: 18px;
  background: #f0f0ed;
  box-shadow: 0 12px 28px rgb(0 0 0 / 6%);
  transition: border-color .35s ease, box-shadow .35s ease;
}

.purpose-section.is-disabled .trip-type-option { opacity: .32; }
.purpose-section.is-disabled .trip-type-option:hover,
.purpose-section.is-disabled .trip-type-option:focus-within { opacity: .72; }
.purpose-section.is-disabled .trip-type-option:has(input:checked) { opacity: 1; }

.purpose-section.is-active .purpose-options {
  border-color: #78a097;
  box-shadow: 0 14px 32px rgb(40 104 91 / 12%), 0 0 0 4px rgb(40 104 91 / 5%);
}

.purpose-section.is-active,
.stay-duration-section.is-active {
  animation: next-step-in .8s cubic-bezier(.22, 1, .36, 1);
}

.purpose-section .trip-type-option {
  min-height: 76px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.purpose-section .trip-type-icon {
  width: 36px;
  height: 36px;
  font-size: 18px;
}

.stay-duration-section {
  width: min(100%, 760px);
  margin: 58px auto 0;
  padding: 8px;
  border: 1px solid #deded9;
  border-radius: 18px;
  background: #f0f0ed;
  box-shadow: 0 12px 28px rgb(0 0 0 / 6%);
  transition: opacity .4s ease, border-color .35s ease, box-shadow .35s ease, transform .4s cubic-bezier(.22, 1, .36, 1);
  scroll-margin-block: 18vh;
}

.stay-duration-card {
  display: flex;
  min-height: 72px;
  padding: 12px 14px;
  border: 1px solid #d5d5d0;
  border-radius: 11px;
  background: #fff;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.stay-duration-section.is-disabled { opacity: .32; }
.stay-duration-section.is-disabled:hover,
.stay-duration-section.is-disabled:focus-within { opacity: .72; }
.stay-duration-section.is-active { border-color: #78a097; box-shadow: 0 14px 32px rgb(40 104 91 / 12%), 0 0 0 4px rgb(40 104 91 / 5%); }
.stay-duration-icon { display: grid; width: 38px; height: 38px; border-radius: 50%; background: #edf1ef; flex: 0 0 auto; font-size: 20px; place-items: center; }
.stay-duration-section strong,
.stay-duration-section small { display: block; }
.stay-duration-section strong { font-size: 14px; }
.stay-duration-section small { margin-top: 3px; color: #777; font-size: 11px; }
.stay-duration-copy { flex: 0 0 auto; }
.stay-mode-switch { display: flex; margin-left: auto; padding: 3px; border-radius: 999px; background: #efefec; gap: 2px; }
.stay-mode-button { min-height: 30px; padding: 0 11px; border: 0; border-radius: 999px; color: #777; background: transparent; cursor: pointer; font-size: 11px; font-weight: 700; transition: color .3s ease, background .3s ease, box-shadow .3s ease; }
.stay-mode-button:hover { color: #28685b; }
.stay-mode-button.is-selected { color: #174f45; background: #fff; box-shadow: 0 2px 8px rgb(0 0 0 / 9%); }
.stay-date-range { display: flex; width: 100%; min-width: 0; margin: 6px 0 0 50px; align-items: center; gap: 10px; }
.stay-date-range label { display: grid; gap: 4px; }
.stay-date-range label > span { color: #777; font-size: 10px; font-weight: 700; text-transform: none; letter-spacing: .05em; }
.stay-date-range input { min-width: 145px; padding: 9px 10px; border: 1px solid #d5d5d0; border-radius: 9px; outline: 0; color: #171717; background: #fff; font: inherit; font-size: 13px; }
.stay-date-range input:focus { border-color: #609387; box-shadow: 0 0 0 3px rgb(40 104 91 / 10%); }
.date-range-arrow { color: #9b9b96; padding-top: 14px; }
.stay-days-entry { display: grid; width: 100%; margin: 6px 0 0 50px; gap: 5px; }
.stay-days-entry[hidden],
.stay-date-range[hidden] { display: none; }
.stay-days-entry > span:first-child { color: #777; font-size: 10px; font-weight: 400; text-transform: none; letter-spacing: 0px; }
.stay-days-control { display: flex; width: min(220px, 100%); border: 1px solid #d5d5d0; border-radius: 9px; background: #fff; align-items: center; }
.stay-days-control input { width: 100%; min-width: 0; padding: 10px 12px; border: 0; outline: 0; background: transparent; font: inherit; font-weight: 700; }
.stay-days-control input::placeholder,
.stopover-days-field input::placeholder { color: #999; font-weight: 400; opacity: 1; }
.stay-days-control > span { padding-right: 12px; color: #777; font-size: 12px; }
.stay-days-control:focus-within { border-color: #609387; box-shadow: 0 0 0 3px rgb(40 104 91 / 10%); }

.stopover-section {
  position: relative;
  z-index: 2;
  width: min(100%, 760px);
  max-height: 0;
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
  border: 0;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: max-height .5s cubic-bezier(.22, 1, .36, 1), margin .4s ease, opacity .35s ease, transform .45s cubic-bezier(.22, 1, .36, 1), visibility .4s;
}

.stopover-section.is-visible {
  max-height: 190px;
  margin-top: 46px;
  overflow: visible;
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  animation: stopover-pop .55s cubic-bezier(.34, 1.56, .64, 1);
}

.stopover-section { scroll-margin-block: 18vh; }

.stopover-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 9px;
  border: 2px solid #deded9;
  border-radius: 20px;
  background: #f0f0ed;
  box-shadow: 0 14px 34px rgb(0 0 0 / 7%);
}

.stopover-country-field,
.stopover-days-field {
  min-height: 72px;
  background: #fff;
  justify-content: center;
}

.stopover-country-field .dropdown-trigger {
  min-height: 38px;
  align-items: center;
}

.stopover-section.is-layover .stopover-fields {
  grid-template-columns: 1fr;
}

.stopover-section.is-layover .stopover-days-field {
  display: none;
}

.stopover-days-field {
  display: flex;
  min-width: 0;
  padding: 8px 12px;
  border: 1px solid #deded9;
  border-radius: 12px;
  flex-direction: column;
  justify-content: center;
  transition: border-color .3s ease, box-shadow .3s ease;
}

.stopover-days-field span {
  margin-bottom: 5px;
  color: #777;
  font-size: 11px;
  font-weight: 700;
}

.stopover-days-field input {
  width: 100%;
  min-height: 30px;
  border: 0;
  outline: 0;
  color: #171717;
  background: transparent;
  font: inherit;
}

.stopover-days-field:focus-within {
  border-color: #609387;
  box-shadow: 0 0 0 3px rgb(40 104 91 / 8%);
}

.selection {
  min-height: 24px;
  margin: 0;
  color: #6f7774;
  font-size: 12px;
  line-height: 1.45;
  opacity: 0;
  transform: translateY(-5px);
  transition: opacity .35s ease, transform .4s cubic-bezier(.22, 1, .36, 1);
}

.selection.is-visible {
  color: #28685b;
  opacity: 1;
  transform: translateY(0);
}

.output-update {
  position: relative;
  display: inline;
  animation: output-enter .85s cubic-bezier(.16, 1, .3, 1) both;
}

@keyframes output-enter {
  0% {
    opacity: 0;
    filter: blur(3px);
    top: 5px;
  }
  55% {
    opacity: .72;
    filter: blur(.5px);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    top: 0;
  }
}

.visa-result {
  width: min(100%, 760px);
  max-height: 0;
  margin: 0 auto;
  padding: 0 26px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 20px;
  visibility: hidden;
  opacity: 0;
  background: #fff;
  box-shadow: 0 18px 45px rgb(0 0 0 / 9%);
  transform: translateY(12px) scale(.98);
  transition: max-height .55s cubic-bezier(.22, 1, .36, 1), margin .4s ease, padding .4s ease, opacity .35s ease, transform .5s cubic-bezier(.22, 1, .36, 1), visibility .4s;
}

.visa-result.is-visible {
  max-height: 900px;
  margin-top: 18px;
  padding-top: 24px;
  padding-bottom: 24px;
  overflow: visible;
  border-color: #cbd8d4;
  visibility: visible;
  opacity: 1;
  transform: translateY(0) scale(1);
}

.visa-result-header {
  display: flex;
  margin-bottom: 16px;
  align-items: center;
  gap: 12px;
}

.visa-source-badge {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  align-items: center;
  gap: 7px;
  text-transform: none;
}

.visa-source-badge span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.visa-source-badge.is-live {
  color: #176b5b;
  background: #e7f3ef;
}

.visa-source-badge.is-live span { box-shadow: 0 0 0 4px rgb(23 107 91 / 12%); }

.visa-source-badge.is-fallback {
  color: #8a5b19;
  background: #f7eddc;
}

.visa-result-icon {
  display: grid;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #fff;
  background: #28685b;
  flex: 0 0 auto;
  font-weight: 800;
  place-items: center;
}

.visa-result-header small {
  display: block;
  margin-bottom: 3px;
  color: #6e7774;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: none;
}

.visa-result h2 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -.02em;
}

.visa-result > p {
  color: #4f5956;
  font-size: 14px;
  line-height: 1.6;
}

.visa-result a {
  display: inline-flex;
  margin-top: 4px;
  color: #1d6255;
  font-size: 14px;
  font-weight: 700;
  gap: 6px;
  text-decoration: none;
}

.visa-result a:hover { text-decoration: underline; }

.visa-steps {
  margin: 20px 0;
  padding: 18px;
  border: 1px solid #e3e7e5;
  border-radius: 14px;
  background: #fafbf9;
}

.visa-steps h3 {
  margin: 0 0 14px;
  font-size: 15px;
}

.visa-steps ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: visa-step;
}

.visa-steps li {
  position: relative;
  min-height: 30px;
  padding: 3px 0 14px 40px;
  color: #4f5956;
  counter-increment: visa-step;
  font-size: 13px;
  line-height: 1.5;
}

.visa-steps li:not(:last-child)::after {
  position: absolute;
  top: 27px;
  bottom: 2px;
  left: 13px;
  width: 1px;
  background: #cedbd7;
  content: "";
}

.visa-steps li::before {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  color: #fff;
  background: #28685b;
  content: counter(visa-step);
  font-size: 11px;
  font-weight: 800;
  place-items: center;
}

.visa-steps li:last-child { padding-bottom: 0; }

.visa-result .visa-transit {
  padding: 12px 14px;
  border-radius: 10px;
  background: #f4f4f1;
}

.duration-alert {
  padding: 13px 15px;
  border: 1px solid #deded9;
  border-radius: 11px;
  background: #f4f4f1;
}

.duration-alert.is-ok {
  border-color: #bdd8d0;
  color: #215c50;
  background: #eef7f4;
}

.duration-alert.is-warning {
  border-color: #e4c28e;
  color: #754b12;
  background: #fff6e8;
}

.visa-result .visa-disclaimer {
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px solid #ececea;
  color: #7b817f;
  font-size: 11px;
  line-height: 1.5;
}

@keyframes field-confirm {
  0%, 100% { transform: scale(1); }
  45% { transform: scale(1.025); }
}

@keyframes confirm-pop {
  0% { opacity: 0; transform: scale(.5) rotate(-18deg); }
  100% { opacity: 1; transform: scale(1) rotate(0); }
}

@keyframes section-ready {
  0% { opacity: .32; transform: translateY(3px); }
  55% { transform: translateY(-2px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes next-step-in {
  0% { opacity: .38; transform: translateY(6px) scale(.985); }
  55% { transform: translateY(-1px) scale(1.005); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.step-revealed {
  animation: step-reveal 1.2s cubic-bezier(.16, 1, .3, 1) both !important;
}

@keyframes step-reveal {
  0% {
    opacity: .24;
    filter: saturate(.25);
    transform: translateY(12px) scale(.975);
  }
  45% {
    opacity: .72;
    filter: saturate(.7);
    transform: translateY(3px) scale(.992);
  }
  72% {
    transform: translateY(-2px) scale(1.004);
  }
  100% {
    opacity: 1;
    filter: saturate(1);
    transform: translateY(0) scale(1);
  }
}

@keyframes stopover-pop {
  0% { opacity: 0; transform: translateY(-12px) scale(.96); }
  65% { transform: translateY(2px) scale(1.01); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .hero-first-word,
  .hero-character,
  .hero-secondary-character,
  .hero-scroll { opacity: 1; animation: none !important; }

  *, *::before, *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .select-field,
  .trip-type-option,
  .trip-type-icon,
  .trip-type-section,
  .purpose-section,
  .stay-duration-section,
  .stopover-section,
  .selection,
  .visa-result,
  .search-button,
  .field-arrow {
    transition-duration: .65s;
  }

  .custom-options { transition-duration: .42s; }
  .dropdown-trigger::after { transition-duration: .45s; }
  .select-field.just-completed .dropdown-trigger,
  .trip-type-option.just-selected { animation-duration: .9s; }
  .select-field.is-complete .dropdown-trigger::after { animation-duration: .7s; }
  .trip-type-section.is-active { animation-duration: .9s; }
  .stopover-section.is-visible { animation-duration: .85s; }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 900px) {
  .page-shell { padding: 0 0 150px; }
  .flight-search { width: calc(100% - 48px); }
  .welcome-hero { height: 100vh; height: 100svh; min-height: 540px; border-radius: 0; }
  .hero-nav { min-height: 72px; padding: 0 24px; }
  .hero-copy { width: 82%; margin: 0; padding: 0 30px; }
  .hero-action { right: 0; bottom: 24px; width: min(500px, 58vw); }
  .search-bar {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px;
    margin-top: 54px;
  }
  .select-field { padding-bottom: 18px; border-bottom: 1px solid #ececea; }
  .field-arrow { display: none; }
  .search-button { width: 100%; }
  .form-footer { bottom: 16px; left: 24px; width: min(42vw, 320px); height: min(34vw, 250px); }
  .purpose-options { grid-template-columns: 1fr 1fr; }
  .stay-mode-switch { margin-left: 50px; }
  .stay-date-range { width: 100%; margin: 8px 0 0 50px; }
  .stay-date-range label { flex: 1; }
  .stay-date-range input { width: 100%; min-width: 0; }
  .trip-type-section,
  .purpose-section,
  .stay-duration-section { margin-top: 42px; }
  .stopover-section.is-visible { margin-top: 34px; }
}

@media (max-width: 480px) {
  .page-shell { padding: 0 0 190px; }
  .flight-search { width: calc(100% - 32px); }
  .welcome-hero { height: 100vh; height: 100svh; min-height: 530px; border-radius: 0; background-position: center; }
  .hero-nav { min-height: 64px; padding: 0 18px; }
  .hero-start { min-height: 38px; padding-left: 14px; }
  .hero-copy { width: 100%; margin: 0; padding: 0 22px; }
  .hero-copy h1 { font-size: clamp(44px, 13vw, 60px); }
  .hero-intro { max-width: 300px; font-size: 14px; }
  .hero-action { right: 0; bottom: 24px; width: 100%; gap: 18px; align-items: flex-end; }
  .hero-cta-note { width: min(100%, 350px); font-size: clamp(18px, 5vw, 22px); }
  .search-bar { border-radius: 14px; }
  .trip-type-options { grid-template-columns: 1fr; }
  .purpose-options { grid-template-columns: 1fr; }
  .stay-duration-card { align-items: flex-start; }
  .stay-mode-switch { width: 100%; margin: 4px 0 0; }
  .stay-mode-button { flex: 1; }
  .stay-date-range { margin-left: 0; display: grid; grid-template-columns: 1fr; gap: 10px; }
  .stay-days-entry { margin-left: 0; }
  .date-range-arrow { display: none; }
  .stopover-fields { grid-template-columns: 1fr; }
  .stopover-section.is-visible { max-height: 300px; }
  .form-footer { bottom: 12px; left: 12px; width: 58vw; height: 45vw; min-height: 170px; padding: 0; }
}

/* Compact travel planner layout. */
:root, body { background: #fff; color: #111; font-family: Arimo, Arial, sans-serif; }
.site-header { height: 70px; padding: 0 27px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #e5e5e5; box-shadow: 0 2px 3px #00000009; }
.brand { display: block; width: 42px; color: #000; }
.brand svg { display: block; width: 100%; }
.site-menu { position: relative; z-index: 50; }
.site-menu summary { display: grid; gap: 4px; padding: 10px 0 10px 10px; cursor: pointer; list-style: none; }
.site-menu summary::-webkit-details-marker { display: none; }
.site-menu summary span { width: 19px; height: 1px; background: #555; }
.site-menu nav { position: absolute; right: 0; top: 35px; width: 180px; padding: 10px; background: #fff; border: 1px solid #ddd; border-radius: 6px; box-shadow: 0 8px 25px #0000000a; }
.site-menu nav a { display: block; padding: 10px; font-size: 13px; color: #555; text-decoration: none; }
.site-menu nav a:hover { background: #f5f5f5; }
.page-shell { position: relative; min-height: calc(100svh - 70px); padding: 41px 24px 50px; }
.welcome-hero { display: block; width: 100%; height: auto; min-height: 0; margin-inline: auto; overflow: visible; background: none; box-shadow: none; color: #645b5b; }
.hero-copy { position: static; width: 100%; margin-inline: auto; padding: 0; transform: none; text-align: center; font-family: Inter, sans-serif; }
.hero-copy h1 { font-size: 46px; font-weight: 500; letter-spacing: .3px; line-height: 1.12; }
.hero-subtitle { margin: 0; font-size: 46px; font-weight: 300; letter-spacing: 1px; line-height: 1.02; }
.flight-search { width: min(706px, 100%); margin: 43px auto 0; }
.flight-search::after, .field-arrow, .form-footer, .trip-type-section { display: none; }
.search-labels { display: grid; grid-template-columns: 1fr 2fr 1fr; margin-bottom: 9px; color: #4c4c4c; font-size: 13px; text-align: center; }
.search-bar { display: grid; grid-template-columns: .94fr 1fr 1fr 1fr; gap: 0; margin: 0; padding: 5px 0; border: 1px solid #ddd; border-radius: 9px; box-shadow: none; background: #fff; }
.search-bar .select-field { padding: 0 14px; min-height: 26px; border: 0; border-right: 1px solid #e4e4e4; border-radius: 0; background: transparent; opacity: 1; transform: none; box-shadow: none; }
.search-bar .dropdown-trigger { min-height: 26px; justify-content: center; gap: 6px; color: #4b4b4b; font-size: 12px; font-weight: 400; }
.search-bar .dropdown-trigger::after { display: none; }
.search-bar .country-flag, .search-bar .passport-swatch { display: none; }
.search-bar .custom-options { left: 0; min-width: 220px; text-align: left; }
.route-field { display: flex; align-items: center; padding: 0 10px; }
.route-info { position: relative; flex: 0 0 auto; margin-left: 6px; }
.route-info summary { display: grid; place-items: center; width: 14px; height: 14px; border: 1px solid #aaa; border-radius: 50%; color: #666; font-size: 10px; cursor: pointer; list-style: none; }
.route-heading { display: flex; align-items: center; justify-content: center; min-width: 0; }
.route-info summary::-webkit-details-marker { display: none; }
.route-info summary:focus-visible { outline: 2px solid #609387; outline-offset: 3px; }
.route-info-panel { position: absolute; z-index: 100; top: 30px; right: 0; width: min(320px, calc(100vw - 48px)); padding: 16px; border: 1px solid #ddd; border-radius: 10px; background: #fff; box-shadow: 0 8px 24px rgb(0 0 0 / 10%); color: #4c4c4c; font: 400 16px/1.45 Arimo, Arial, sans-serif; text-align: left; }
.route-info-panel p { margin: 0 0 12px; }
.route-info-panel p:last-child { margin-bottom: 0; }
.route-field select { width: 100%; border: 0; background: #fff; color: #4b4b4b; font-size: 12px; cursor: pointer; }
.show-results { display: block; width: 154px; min-height: 22px; margin: 16px auto 0; padding: 2px 10px; border: 1px solid #beb8b8; border-radius: 6px; color: #111; background: #f6f4f4; font: inherit; font-size: 13px; cursor: pointer; }
.show-results:hover:not(:disabled) { background: #eae7e7; }
.show-results:disabled { color: #aaa; background: #f5f5f5; border-color: #e3e3e3; cursor: not-allowed; }
button:focus-visible, summary:focus-visible, a:focus-visible, select:focus-visible { outline: 2px solid #716666; outline-offset: 4px; }
.form-hint { margin: 12px 0 0; text-align: center; color: #686060; font-size: 12px; }
.form-hint:empty { display: none; }
.selection { margin: 104px auto 0; min-height: 32px; max-width: 460px; color: #111; text-align: center; font-size: 13px; }
.selection.is-visible { color: #111; }
.visa-examples { position: absolute; left: 33px; top: 55px; width: 191px; font-size: 12px; line-height: 16px; }
.example-note { margin: 0 0 15px 10px; font-size: 10px; }
.visa-examples > div { margin-bottom: 14px; }
.visa-examples p:not(.example-note) { margin: 0 0 2px; }
.visa-tag { display: block; width: 147px; border: 1px solid #0003; border-radius: 5px; text-align: center; line-height: 18px; }
.visa-tag.required { background: #ce9d9e; }
.visa-tag.arrival, .visa-tag.electronic { background: #e9e87d; }
.visa-tag.free { background: #7bcfa6; }
.trip-details[hidden] { display: none; }
.trip-details .purpose-section, .trip-details .stay-duration-section { margin-top: 24px; }
.purpose-options { grid-template-columns: repeat(2, 1fr); padding: 0; border: 0; background: none; box-shadow: none; }
.trip-type-option { min-height: 62px; border-radius: 6px; box-shadow: none; }
.trip-type-option strong { font-size: 13px; }
.trip-type-option small { font-size: 11px; }
.stay-duration-section, .stopover-fields { border: 1px solid #ddd; border-radius: 8px; background: #fafafa; box-shadow: none; }
.stopover-section.is-visible { margin-top: 24px; }
.search-button { display: block; margin: 20px auto 0; min-height: 34px; padding: 6px 18px; border-radius: 6px; font-size: 13px; }
.visa-result { border-radius: 8px; box-shadow: none; }
@media (max-width: 1200px) {
  .visa-examples { position: static; width: min(706px, 100%); margin: 45px auto 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
  .example-note { grid-column: 1 / -1; margin: 0; }
  .page-shell { display: flex; flex-direction: column; }
  .welcome-hero { order: 0; }
  .flight-search { order: 1; }
  .visa-examples { order: 2; }
}
@media (max-width: 600px) {
  .site-header { height: 62px; padding: 0 20px; }
  .page-shell { padding: 36px 20px; }
  .hero-copy h1 { font-size: 31px; }
  .hero-subtitle { margin-top: 8px; font-size: 28px; line-height: 1.15; letter-spacing: 0; }
  .desktop-break { display: none; }
  .flight-search { margin-top: 32px; }
  .search-labels { display: none; }
  .search-bar { grid-template-columns: 1fr; padding: 0 14px; }
  .search-bar .select-field { padding: 10px 0; border-right: 0; border-bottom: 1px solid #eee; }
  .search-bar .dropdown-trigger { min-height: 30px; }
  .route-field { min-height: 50px; }
  .show-results { min-height: 34px; }
  .selection { margin-top: 50px; }
  .visa-examples { grid-template-columns: 1fr 1fr; font-size: 11px; }
  .visa-tag { width: 100%; font-size: 11px; }
  .purpose-options { grid-template-columns: 1fr; }
}

/* Connection picker sits directly below the itinerary column. */
.search-bar { grid-template-columns: .94fr 1fr 1fr 1.35fr; }
.search-labels { grid-template-columns: .94fr 2fr 1.35fr; }
.flight-search > .stopover-section { width: 31.47%; margin-left: auto; margin-right: 0; }
.flight-search > .stopover-section.is-visible { margin-top: 6px; max-height: 320px; animation: none; }
.flight-search > .stopover-section .stopover-fields { display: grid; grid-template-columns: 1fr; padding: 0; gap: 8px; border: 0; background: transparent; box-shadow: none; }
.stopover-country-field { min-height: 42px; padding: 0 12px; border: 1px solid #d8d8d8; border-radius: 10px; }
.stopover-country-field .dropdown-trigger { min-height: 40px; justify-content: center; color: #4b4b4b; font-size: 14px; }
.stopover-country-field .dropdown-trigger::after, .stopover-country-field .country-flag { display: none; }
.stopover-country-field .custom-options { left: auto; right: 0; min-width: 240px; }
.stopover-days-field { min-height: 54px; border-radius: 10px; }
.add-connection { display: block; min-width: 66px; min-height: 25px; margin: 6px 3px 0 auto; padding: 2px 12px; border: 1px solid #bcb7b7; border-radius: 7px; background: #f8f6f6; color: #111; font: inherit; font-size: 14px; cursor: pointer; }
.add-connection:hover { background: #ece9e9; }
.add-connection:disabled { color: #666; cursor: default; }
.connection-status { margin: 6px 0 0; font-size: 11px; line-height: 1.4; color: #625b5b; text-align: right; }
.connection-status:empty { display: none; }
@media (max-width: 600px) {
  .search-bar { grid-template-columns: 1fr; }
  .flight-search > .stopover-section { width: 100%; }
  .stopover-country-field, .stopover-country-field .dropdown-trigger { min-height: 48px; }
  .add-connection { min-height: 38px; min-width: 82px; }
}

/* Centered, compact composition from the updated reference. */
.page-shell { min-height: 100svh; padding-top: 35px; }
.hero-copy h1 { font-size: 40px; line-height: 1.1; font-weight: 500; }
.hero-subtitle { font-size: 40px; line-height: 1; letter-spacing: .7px; }
.flight-search { display: grid; grid-template-columns: .94fr 1fr 1fr 1fr; width: min(610px, 100%); margin-top: 38px; align-items: start; }
.flight-search > * { grid-column: 1 / -1; min-width: 0; }
.search-labels { grid-template-columns: .94fr 2fr 1fr; font-size: 11px; margin-bottom: 8px; }
.search-bar { grid-template-columns: .94fr 1fr 1fr 1fr; padding: 5px 0; border-radius: 8px; }
.search-bar .select-field, .search-bar .dropdown-trigger { min-height: 20px; }
.search-bar .dropdown-trigger, .route-field select { font-size: 10px; }
.route-field { padding: 0 8px; }
.flight-search > .stopover-section { grid-column: 4; grid-row: 3; width: 100%; }
.flight-search > .stopover-section.is-visible { margin-top: 4px; }
.stopover-country-field { min-height: 32px; padding: 0 10px; border-radius: 8px; }
.stopover-country-field .dropdown-trigger { min-height: 30px; font-size: 11px; }
.add-connection { min-width: 50px; min-height: 19px; margin-top: 4px; padding: 1px 9px; border-radius: 5px; font-size: 11px; }
.show-results { grid-column: 2 / 4; grid-row: 3; width: 132px; min-height: 19px; margin: 14px auto 0; padding: 1px 9px; border-radius: 5px; font-size: 11px; }
@media (max-width: 600px) {
  .page-shell { padding-top: 35px; }
  .hero-copy h1 { font-size: 30px; }
  .hero-subtitle { font-size: 28px; line-height: 1.12; }
  .flight-search { grid-template-columns: 1fr; margin-top: 30px; }
  .search-bar { grid-template-columns: 1fr; padding: 0 14px; }
  .search-bar .dropdown-trigger { min-height: 30px; font-size: 13px; }
  .route-field select { font-size: 13px; }
  .flight-search > .stopover-section { grid-column: 1; grid-row: auto; }
  .stopover-country-field, .stopover-country-field .dropdown-trigger { min-height: 44px; font-size: 13px; }
  .show-results { grid-column: 1; grid-row: auto; min-height: 36px; font-size: 13px; }
  .add-connection { min-height: 36px; min-width: 70px; font-size: 13px; }
}

/* Use real country selects, without hidden controls or overlay menus. */
.select-field select {
  position: static;
  width: 100%;
  height: auto;
  min-height: 20px;
  opacity: 1;
  pointer-events: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #4b4b4b;
  font: inherit;
  font-size: 10px;
  text-align: center;
  text-align-last: center;
  cursor: pointer;
}
.stopover-country-field select { min-height: 30px; font-size: 11px; }
.select-field.is-current { outline: none; animation: none; }
/* Keyboard focus is shown on the trigger itself, not around the country box. */
.select-field:focus-within { outline: none; }
@media (max-width: 600px) {
  .select-field select { min-height: 30px; font-size: 13px; }
  .stopover-country-field select { min-height: 44px; }
}

/* Selected countries and key trip details. */
.search-bar .select-field.is-complete,
.stopover-country-field.is-complete { background: #eef5f1; }
.select-field.is-complete select { color: #245b48; font-weight: 600; }
.select-field select option { color: #333; background: #fff; font-weight: 400; }
.selection { line-height: 1.7; }
.summary-highlight { color: inherit; font-weight: 700; background: none; padding: 0; }

/* Readable form sizing with comfortable control targets. */
.page-shell { padding-top: 48px; }
.hero-copy h1 { font-size: 45px; line-height: 1.12; }
.hero-copy #welcome-title > span { position: relative; display: inline-block; }
.rotating-phrase { position: relative; display: inline-block; vertical-align: bottom; text-align: left; }
.rotating-phrase::before { content: 'confidence'; visibility: hidden; }
.rotating-phrase > span { position: absolute; left: 0; top: 0; white-space: nowrap; opacity: 0; transform: translateY(100%); transition: transform 550ms ease, opacity 550ms ease; }
.rotating-phrase > span.is-active { opacity: 1; transform: translateY(0); }
.rotating-phrase > span.is-leaving { opacity: 0; transform: translateY(-100%); }
@media (max-width: 600px) {
  .hero-copy #welcome-title { font-size: clamp(28px, 7.5vw, 44px); line-height: 1.15; }
}
@media (prefers-reduced-motion: reduce) {
  .rotating-phrase > span { transition: none; transform: none; }
}
.hero-subtitle { margin-top: 6px; font-size: 36px; line-height: 1.15; }
.flight-search { width: min(980px, 100%); margin-top: 48px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.search-labels { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1fr); margin-bottom: 12px; font-size: 16px; }
.search-bar { grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 8px 0; border-radius: 11px; }
.select-field select, .route-field select { min-width: 0; min-height: 36px; font-size: 16px; }
.route-field { padding: 0 12px; }
.stopover-country-field { min-height: 52px; border-radius: 11px; }
.stopover-country-field select { min-height: 50px; font-size: 16px; }
.flight-search > .stopover-section.is-visible { margin-top: 8px; }
.show-results { width: 184px; min-height: 42px; margin-top: 18px; padding: 8px 16px; border-radius: 7px; font-size: 16px; }
.add-connection { min-width: 86px; min-height: 40px; margin-top: 8px; padding: 7px 16px; border-radius: 7px; font-size: 16px; }
.form-hint, .connection-status { font-size: 16px; line-height: 1.5; }
.selection { max-width: 660px; font-size: 16px; }
.trip-type-option { min-height: 82px; }
.trip-type-option strong { font-size: 16px; }
.trip-type-option small, .stay-duration-section small { font-size: 16px; }
.stay-duration-section strong { font-size: 16px; }
.stay-mode-button { min-height: 38px; font-size: 16px; }
.stay-date-range label > span, .stay-days-entry > span:first-child,
.stopover-days-field span { font-size: 16px; }
.search-labels, .stay-days-entry > span:first-child {
  font-family: Arimo, Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 0;
  text-transform: none;
  color: #4c4c4c;
}
.stay-date-range input, .stay-days-control input, .stopover-days-field input { font-size: 16px; }
.search-button { min-height: 44px; font-size: 16px; }
.visa-result > p, .visa-result a, .visa-steps li { font-size: 16px; }
.visa-result h2 { font-size: 26px; }
.visa-steps h3 { font-size: 18px; }
.visa-result .visa-disclaimer { font-size: 13px; }
@media (max-width: 900px) {
  .flight-search { max-width: 600px; grid-template-columns: 1fr; }
  .search-labels { display: none; }
  .search-bar { grid-template-columns: 1fr; padding: 0 16px; }
  .search-bar .select-field { padding: 10px 0; border-right: 0; border-bottom: 1px solid #e4e4e4; }
  .route-field { min-height: 56px; padding: 0; }
  .flight-search > .stopover-section { grid-column: 1; grid-row: auto; }
  .show-results { grid-column: 1; grid-row: auto; }
  .desktop-break { display: none; }
  .hero-subtitle { max-width: 720px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 600px) {
  .page-shell { padding: 36px 20px; }
  .flight-search { margin-top: 34px; }
  .selection { margin-top: 48px; font-size: 16px; }
}

/* Detailed Orizn results, arranged like the supplied reference. */
.visa-result { width: 100%; border: 0; border-radius: 0; background: #fff; box-shadow: none; padding: 0; }
.visa-result.is-visible { max-height: none; margin-top: 48px; padding: 0; border: 0; transform: none; }
.visa-result .result-intro { margin: 0; color: #111; font-family: Arimo, Arial, sans-serif; font-size: 28px; font-weight: 400; line-height: 1.25; text-align: left; }
.visa-result .result-intro strong { font-weight: 700; }
.visa-result .result-source { margin: 14px 0 0; color: #706969; font-size: 13px; }
.result-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 34px; margin-top: 65px; }
.result-card { min-height: 196px; padding: 14px 20px 22px; border: 1px solid #222; border-radius: 21px; background: #fcfcfc; overflow-wrap: anywhere; }
.result-card h3 { margin: 0 0 22px; font-size: 18px; font-weight: 700; line-height: 1.3; }
.result-card ul { margin: 0; padding-left: 28px; }
.result-card li, .result-card p { margin: 0; color: #111; font-size: 17px; line-height: 1.4; }
.result-card .result-missing { color: #706969; }
.result-resources { margin-top: 28px; text-align: center; }
.result-resources h3 { margin: 0 0 16px; font-size: 18px; }
.result-resources a { margin: 6px 12px; }
@media (max-width: 650px) {
  .result-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 32px; }
  .result-card { min-height: 0; padding: 20px; }
  .result-card li, .result-card p { font-size: 16px; }
}

/* Keep the planner and result summary on one shared center line. */
.page-shell { width: 100%; margin-inline: auto; }
.flight-search { margin-inline: auto; }
.show-results { grid-column: 1 / -1; justify-self: center; margin-inline: 0; }
.flight-search > .trip-details,
.flight-search > .visa-result { width: 100%; justify-self: stretch; margin-inline: 0; }
.visa-result .result-intro,
.visa-result .result-source { text-align: center; }
.result-grid { width: 100%; margin-inline: auto; }
@media (max-width: 900px) {
  .show-results { grid-column: 1; grid-row: auto; }
}

/* Route-specific inputs live beneath the itinerary selector. */
.flight-search > .route-details { grid-column: 4; grid-row: 3; width: 100%; min-width: 0; }
.route-details .stopover-section { width: 100%; margin-inline: 0; }
.route-details .stopover-section.is-visible { margin-top: 8px; }
.route-details .stopover-fields { grid-template-columns: 1fr; padding: 0; border: 0; background: transparent; box-shadow: none; }
.route-details .stay-duration-section { width: 100%; margin: 12px 0 0; padding: 12px; border: 1px solid #ddd; border-radius: 11px; background: #fff; box-shadow: none; opacity: 1; animation: none; }
.route-details .stay-duration-section[hidden] { display: none; }
.route-details .stay-duration-card { display: flex; flex-direction: column; align-items: stretch; gap: 12px; padding: 0; border: 0; }
.route-details .stay-duration-icon { display: none; }
.route-details .stay-duration-copy { min-width: 0; }
.route-details .stay-mode-switch { width: 100%; margin: 0; border-radius: 7px; }
.route-details .stay-mode-button { flex: 1; padding: 5px; font-size: 12px; border-radius: 5px; }
.route-details .stay-date-range { display: grid; grid-template-columns: 1fr; width: 100%; margin: 0; gap: 10px; }
.route-details .stay-date-range[hidden] { display: none; }
.route-details .stay-date-range input { width: 100%; min-width: 0; }
.route-details .date-range-arrow { display: none; }
.route-details .stay-days-entry { margin: 0; }
@media (max-width: 900px) {
  .flight-search > .route-details { grid-column: 1; grid-row: auto; }
}
.extra-stopover-field { margin-top: 8px; min-height: 52px; padding: 0 10px; border: 1px solid #d8d8d8; border-radius: 11px; }
.extra-stopover-field select { min-height: 50px; font-size: 16px; }
.extra-stopover-field.is-complete { background: #eef5f1; }
.route-details .stopover-section.is-visible { max-height: none; }

.extra-stopover-field[hidden] { display: none; }

.extra-stopover-days-field { margin-top: 8px; }
.extra-stopover-days-field[hidden] { display: none; }
.stopover-section.is-layover .extra-stopover-days-field:not([hidden]) { display: flex; }

/* Keep the unit visible while numeric inputs are focused and edited. */
.stopover-days-field .days-input-control { display: flex; align-items: center; width: 100%; margin: 0; gap: 8px; }
.days-input-control input { flex: 1; min-width: 0; }
.stopover-days-field .days-input-unit { flex: 0 0 auto; margin: 0; color: #4b4b4b; font-size: 16px; font-weight: 400; }
.stay-days-control > span { font-size: 16px; white-space: nowrap; }

.extra-stopover-field:has(select:disabled) { background: #f4f4f4; border-color: #e1e1e1; }
.extra-stopover-field select:disabled { color: #aaa; opacity: 1; cursor: not-allowed; }

/* Muted placeholder for an optional additional stopover. */
.extra-stopover-field:not(.is-complete) { background: #f5f5f5; border-color: #e1e1e1; }
.extra-stopover-field:not(.is-complete) select { color: #999; }

.remove-extra-stopover { display: block; width: 30px; height: 30px; margin: 6px 0 0 auto; padding: 0; border: 1px solid #d8d8d8; border-radius: 50%; background: #f5f5f5; color: #666; font: inherit; font-size: 23px; line-height: 1; cursor: pointer; }
.remove-extra-stopover:hover { background: #eee; color: #222; border-color: #aaa; }
.remove-extra-stopover[hidden] { display: none; }

.add-extra-stopover { display: block; width: 34px; height: 34px; margin: 8px 0 0 auto; padding: 0; border: 1px solid #d8d8d8; border-radius: 50%; background: #f5f5f5; color: #777; font: inherit; font-size: 24px; line-height: 1; cursor: pointer; }
.add-extra-stopover:hover { background: #eee; color: #222; border-color: #aaa; }
.add-extra-stopover[hidden] { display: none; }

/* Keep the optional-stop prompt visible, with a plus instead of a chevron. */
.add-extra-stopover { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; height: auto; min-height: 52px; margin: 8px 0 0; padding: 0 10px; border-radius: 11px; color: #999; background: #f5f5f5; font-size: 16px; line-height: 1.3; text-align: left; }
.add-stopover-icon { flex: 0 0 auto; font-size: 24px; color: #888; }
.add-extra-stopover[hidden] { display: none; }

/* Shared custom dropdowns. */
.flight-search select[hidden] { display: none; }
.site-select { position: relative; width: 100%; min-width: 0; }
.site-select-trigger { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; min-height: 36px; padding: 6px 0; border: 0; background: transparent; color: #4c4c4c; font: 400 16px/1.3 Arimo, Arial, sans-serif; text-align: left; cursor: pointer; }
.site-select-trigger::after { content: ''; width: 7px; height: 7px; flex: 0 0 auto; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); margin: -4px 3px 0 0; }
.site-select-trigger.is-placeholder, .site-select-trigger:disabled { color: #999; }
.site-select-trigger:disabled { cursor: not-allowed; }
.site-select-trigger:focus-visible { outline: 2px solid #609387; outline-offset: 3px; border-radius: 4px; }
.site-select-panel { position: absolute; top: calc(100% + 12px); left: 0; z-index: 200; width: max(100%, 230px); max-width: calc(100vw - 48px); padding: 8px; background: #fff; border: 1px solid #ddd; border-radius: 11px; box-shadow: 0 10px 30px rgb(0 0 0 / 10%); color: #4c4c4c; font: 400 16px/1.4 Arimo, Arial, sans-serif; }
.route-field .site-select-panel { left: auto; right: 0; }
.site-select-panel[hidden] { display: none; }
.site-select-panel input { width: 100%; padding: 10px; margin-bottom: 6px; border: 1px solid #ddd; border-radius: 7px; background: #fafafa; font: inherit; }
.site-select-panel [role=listbox] { max-height: 260px; overflow-y: scroll; scrollbar-gutter: stable; scrollbar-width: thin; scrollbar-color: #b5b5b0 #f1f1ef; }
.site-select-panel [role=listbox]::-webkit-scrollbar { width: 8px; }
.site-select-panel [role=listbox]::-webkit-scrollbar-track { background: #f1f1ef; border-radius: 8px; }
.site-select-panel [role=listbox]::-webkit-scrollbar-thumb { background: #b5b5b0; border: 2px solid #f1f1ef; border-radius: 8px; }
.site-select-option { display: block; width: 100%; padding: 10px; border: 0; border-radius: 6px; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.site-select-option:hover:not(:disabled), .site-select-option:focus-visible { background: #f1f1ef; outline: none; }
.site-select-option[aria-selected=true] { background: #edf3f0; }
.site-select-option:disabled { color: #bbb; cursor: not-allowed; }
@media (max-width: 900px) {
  .search-labels { display: block; }
  .search-labels > span { display: none; }
  .route-heading { justify-content: flex-end; }
}
.site-select-option, .site-select-trigger { transition: background-color 220ms ease, color 220ms ease; }

/* A persistent scrollbar, independent of macOS overlay-scrollbar settings. */
.site-select-scroll-area { position: relative; }
.site-select-panel [role=listbox] { overflow-y: auto; scrollbar-width: none; scrollbar-gutter: auto; padding-right: 14px; }
.site-select-panel [role=listbox]::-webkit-scrollbar { display: none; }
.site-select-scroll-track { position: absolute; top: 0; right: 0; bottom: 0; width: 7px; border-radius: 7px; background: #f1f1ef; }
.site-select-scroll-track[hidden] { display: none; }
.site-select-scroll-thumb { position: absolute; top: 0; left: 0; width: 7px; border-radius: 7px; background: #aaa; cursor: grab; touch-action: none; }
.site-select-scroll-thumb:active { cursor: grabbing; }

.result-explanation { max-width: 720px; margin: 20px auto 0; text-align: left; font-size: 16px; line-height: 1.6; }
.result-explanation summary { width: fit-content; margin-inline: auto; cursor: pointer; color: #555; }
.result-explanation p { margin-top: 16px; }

.result-stop { margin: 0 0 24px; min-height: 0; text-align: left; }
.result-stop h3 { font-size: 24px; }
.result-stop .result-source { text-align: left; margin-top: 16px; }
.result-destination-label { margin: 36px 0 12px; text-align: center; font-size: 16px; color: #555; }

.flight-search > .selection { margin: 16px auto 0; }

.entry-status { display: flex; align-items: center; gap: 8px; width: fit-content; padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; line-height: 1.5; }
.entry-status--clear { background: #dff3e7; color: #205b3a; }
.entry-status--attention { background: #fff0ba; color: #735308; }
.entry-status--neutral { background: #eceeed; color: #505853; }
.destination-summary { padding: 24px; border-radius: 16px; border: 1px solid #dfe3e0; background: #f7f8f7; }
.destination-summary--clear { background: #f0f9f3; border-color: #bdddc8; }
.destination-summary--attention { background: #fffbec; border-color: #e8d58f; }
.destination-summary .entry-status { margin: 0 auto 16px; }
.destination-summary .result-intro { margin: 0; }
.result-stop--clear { border-color: #bdddc8; background: #f0f9f3; }
.result-stop--attention { border-color: #e8d58f; background: #fffbec; }
.result-stop .entry-status { margin: 12px 0 18px; }

.result-next-steps { max-width: 680px; margin: 24px auto 0; text-align: left; }
.result-next-steps h3 { margin: 0 0 12px; font-size: 18px; }
.result-next-steps ol { padding-left: 22px; margin: 0; }
.result-next-steps li { padding-left: 4px; margin: 8px 0; font-size: 16px; line-height: 1.55; }
.visa-result a.result-action-link { display: inline-block; margin-top: 18px; padding: 11px 16px; border-radius: 8px; background: #263c33; color: #fff; font-size: 15px; text-decoration: none; }
.visa-result a.result-action-link:visited { color: #fff; }
.visa-result a.result-action-link:hover { background: #365747; color: #fff; }
.result-action-link:focus-visible { outline: 3px solid #56866d; outline-offset: 3px; }
.result-stop .result-next-steps { max-width: none; margin-bottom: 24px; }
.visa-result[hidden] { display: none; }

/* Soft inset depth for the travel form's boxed controls. */
.flight-search .search-bar,
.flight-search .stopover-country-field,
.flight-search .extra-stopover-field,
.flight-search .stopover-days-field,
.flight-search .add-extra-stopover,
.flight-search .stay-duration-section {
  box-shadow: inset 0 2px 5px rgb(35 45 40 / 9%), inset 0 1px 2px rgb(35 45 40 / 5%);
}

/* Place the visible submit button below the route details. */
.flight-search > .show-results { grid-row: auto; }

/* Let selected fields fill their complete segment of the planner. */
.search-bar { padding: 0; align-items: stretch; }
.search-bar .select-field { padding: 8px 14px; }
.search-bar .route-field { padding: 8px 12px; }
.search-bar .passport-field { border-radius: 10px 0 0 10px; }
@media (max-width: 900px) {
  .search-bar .select-field { padding: 10px 16px; }
  .search-bar .route-field { padding: 10px 16px; }
  .search-bar .passport-field { border-radius: 10px 10px 0 0; }
}

.hero-copy #welcome-title,
.hero-copy .hero-subtitle { color: #000; }

/* Main navigation. */
.travel-header { position: relative; z-index: 300; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 60px; padding: 8px clamp(20px, 5vw, 72px); border-bottom: 1px solid #e3e3df; color: #000; background: #fff; font-family: Arimo, Arial, sans-serif; }
.travel-brand { display: inline-flex; align-items: center; gap: 6px; color: #000; font-size: 27px; font-weight: 700; letter-spacing: -1.2px; text-decoration: none; }
.travel-brand > span { font-size: 24px; font-weight: 400; }
.travel-navigation { display: flex; align-items: center; gap: 32px; }
.travel-navigation a, .travel-menu a { color: #000; font-size: 14px; text-decoration: none; }
.travel-navigation a:hover, .travel-menu a:hover { text-decoration: underline; text-underline-offset: 4px; }
.travel-navigation .travel-nav-cta { display: inline-flex; align-items: center; gap: 22px; padding: 12px 18px; border: 1px solid #d7dcd8; border-radius: 9px; background: #eef5f1; }
.travel-header a:focus-visible, .travel-menu summary:focus-visible { outline: 2px solid #245b48; outline-offset: 5px; }
.travel-menu { display: none; position: relative; }
.travel-menu summary { display: flex; align-items: center; gap: 12px; padding: 12px 0 12px 12px; cursor: pointer; list-style: none; font-size: 14px; }
.travel-menu summary::-webkit-details-marker { display: none; }
.travel-menu-icon { width: 18px; height: 8px; border-top: 1px solid currentColor; border-bottom: 1px solid currentColor; }
.travel-menu nav { position: absolute; right: 0; top: calc(100% + 12px); width: 220px; max-width: calc(100vw - 40px); padding: 8px; border: 1px solid #deded9; border-radius: 12px; background: #fff; box-shadow: 0 10px 30px rgb(0 0 0 / 8%); }
.travel-menu a { display: flex; justify-content: space-between; padding: 14px 12px; border-radius: 6px; }
.travel-menu a:hover { background: #eef5f1; }
#flight-search { scroll-margin-top: 24px; }
@media (max-width: 600px) {
  .travel-header { min-height: 56px; padding-block: 6px; }
  .travel-brand { font-size: 25px; }
  .travel-navigation { display: flex; gap: 12px; }
  .travel-navigation .travel-nav-cta { gap: 6px; padding: 10px; }
  .travel-header { flex-wrap: wrap; gap: 12px; }
  .travel-menu { display: block; }
}

/* Country-by-country results, with compact status strips and inset cards. */
.flight-search > .visa-result { width: min(1052px, calc(100vw - 40px)); justify-self: center; }
.visa-result .result-country { margin: 0 0 36px; text-align: left; }
.visa-result .result-country-header { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 8px; padding: 4px 8px; border: 1px solid #d1d6ca; border-radius: 5px; color: #000; background: #eceeed; box-shadow: inset 0 1px 2px rgb(0 0 0 / 8%), 0 1px 2px rgb(0 0 0 / 12%); font: 400 14px/1.25 Arimo, Arial, sans-serif; }
.visa-result .result-country-header--clear { background: #bdf4d9; }
.visa-result .result-country-header--attention { background: #f5f7a8; }
.result-country-name { text-transform: uppercase; font-weight: 500; }
.result-country-header .fi { flex: 0 0 auto; width: 24px; height: 16px; transform: scale(1.4); transform-origin: center; }
.visa-result .result-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 22px; width: 100%; margin: 0; }
.visa-result .result-card { min-height: 145px; padding: 10px 14px 16px; border: 1px solid #d8d5d0; border-radius: 5px; background: #f3f0ea; box-shadow: inset 0 2px 3px rgb(0 0 0 / 15%), inset 1px 0 2px rgb(0 0 0 / 4%); }
.visa-result .result-card h3 { margin: 0 0 16px; color: #000; font: 500 14px/1.3 Arimo, Arial, sans-serif; }
.visa-result .result-card ul { margin: 0; padding-left: 20px; }
.visa-result .result-card li, .visa-result .result-card p, .visa-result .result-card a { color: #171717; font: 400 14px/1.25 Arimo, Arial, sans-serif; }
.visa-result .result-resources { margin: 0; text-align: left; }
.visa-result .result-resources a { display: block; margin: 8px 0; overflow-wrap: anywhere; text-decoration: underline; }
.visa-result .result-advice { margin-top: 10px; color: #555; font-size: 13px; }
.result-advice > summary { cursor: pointer; width: fit-content; }
.visa-result .result-advice .result-source { text-align: left; }
@media (max-width: 800px) {
  .visa-result .result-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}
@media (max-width: 520px) {
  .visa-result .result-grid { grid-template-columns: 1fr; }
  .visa-result .result-country-header { gap: 6px 10px; padding: 8px; }
  .result-country-status { flex-basis: 100%; }
}

.travel-brand img { display: block; width: 49px; height: 42px; object-fit: contain; }

/* Expanded information menu, available on desktop and mobile. */
.travel-navigation { margin-left: auto; }
.travel-menu { display: block; }
.travel-menu nav { width: 240px; max-width: calc(100vw - 40px); padding: 8px; border: 1px solid #efefef; border-radius: 0; background: #fff; box-shadow: 0 4px 16px rgb(0 0 0 / 6%); }
.travel-menu a { display: block; padding: 8px; color: #000; font-size: 16px; font-weight: 400; line-height: 1.3; letter-spacing: -.2px; border-radius: 0; }
.travel-menu a[aria-disabled="true"] { cursor: default; }
.travel-menu a[aria-disabled="true"]:hover { background: transparent; text-decoration: none; }
.travel-menu[open] .travel-menu-icon { position: relative; border: 0; }
.travel-menu[open] .travel-menu-icon::before,
.travel-menu[open] .travel-menu-icon::after { content: ''; position: absolute; top: 3px; left: 0; width: 18px; height: 1px; background: currentColor; transform: rotate(45deg); }
.travel-menu[open] .travel-menu-icon::after { transform: rotate(-45deg); }
@media (max-width: 600px) {
  .travel-menu nav { padding: 8px; }
  .travel-menu a { font-size: 16px; letter-spacing: -.2px; }
}

/* Full-width footer. */
.travel-footer { color: #000; font-family: Arimo, Arial, sans-serif; }
.travel-footer-top { display: flex; justify-content: flex-end; padding: 14px clamp(24px, 9.5vw, 180px) 7px; background: #fff; }
.travel-footer-top a { color: inherit; font-size: 18px; text-decoration: none; }
.travel-footer-top a:hover { text-decoration: underline; text-underline-offset: 4px; }
.travel-footer-content { display: flex; align-items: center; gap: clamp(24px, 3vw, 56px); padding: 18px clamp(24px, 2.6vw, 50px); border-top: 1px solid #ccc; background: #eee; box-shadow: inset 0 2px 3px rgb(0 0 0 / 18%); }
.travel-footer-brand { display: flex; align-items: flex-end; gap: 18px; flex-shrink: 0; }
.travel-footer-brand img { display: block; width: 70px; height: 60px; object-fit: contain; }
.travel-footer-brand small { padding-bottom: 4px; font-size: 14px; white-space: nowrap; }
.travel-footer-content p { margin: 0; font-size: 18px; font-weight: 500; line-height: 1.45; }
.travel-footer a:focus-visible { outline: 2px solid #245b48; outline-offset: 5px; }
@media (max-width: 800px) {
  .travel-footer-content { flex-direction: column; align-items: flex-start; gap: 20px; padding-block: 24px; }
  .travel-footer-content p { font-size: 16px; }
  .travel-footer-top a { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Compact footer sizing. */
.travel-footer-top { padding-top: 8px; padding-bottom: 5px; }
.travel-footer-top a { font-size: 14px; }
.travel-footer-content { padding: 12px clamp(20px, 2.6vw, 50px); gap: 28px; }
.travel-footer-brand { gap: 12px; }
.travel-footer-brand img { width: 48px; height: 41px; }
.travel-footer-brand small { font-size: 11px; padding-bottom: 2px; }
.travel-footer-content p { font-size: 14px; line-height: 1.4; }
@media (max-width: 800px) {
  .travel-footer-content { gap: 12px; }
  .travel-footer-content p { font-size: 13px; }
}

/* Cookie preferences; both choices have equal prominence. */
.travel-footer-top { align-items: center; gap: 24px; }
.cookie-settings { padding: 0; border: 0; background: none; color: #555; font: inherit; font-size: 13px; text-decoration: underline; cursor: pointer; }
.cookie-banner { position: fixed; z-index: 1000; bottom: 16px; left: 50%; transform: translateX(-50%); width: min(900px, calc(100% - 32px)); max-height: calc(100dvh - 32px); overflow-y: auto; padding: 22px 24px; border: 1px solid #d8d5d0; border-radius: 12px; background: #f7f5f1; color: #171717; box-shadow: 0 6px 36px rgb(0 0 0 / 18%); font: 400 14px/1.5 Arimo, Arial, sans-serif; }
.cookie-banner[hidden] { display: none; }
.cookie-banner h2 { margin: 0 0 12px; font-size: 18px; font-weight: 600; }
.cookie-banner p { margin: 0 0 12px; }
.cookie-banner ul { margin: 0 0 12px; padding-left: 20px; }
.cookie-banner a { color: inherit; text-underline-offset: 3px; }
.cookie-banner-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 16px; }
.cookie-banner-actions button { min-width: 112px; min-height: 44px; padding: 10px 20px; border: 1px solid #bbc8bf; border-radius: 7px; background: #eef5f1; color: #171717; font: inherit; cursor: pointer; }
.cookie-banner-actions button:hover { background: #ddebe2; }
.cookie-banner button:focus-visible, .cookie-banner a:focus-visible, .cookie-settings:focus-visible { outline: 2px solid #245b48; outline-offset: 3px; }
@media (max-width: 600px) {
  .cookie-banner { padding: 18px; font-size: 13px; }
  .cookie-banner-actions button { flex: 1; min-width: 0; }
}

/* Compact consent panel with scrollable copy and visible actions. */
.cookie-banner { left: auto; right: 16px; transform: none; width: min(440px, calc(100% - 32px)); padding: 14px 16px; font-size: 12px; line-height: 1.4; }
.cookie-banner-copy { max-height: min(180px, 40dvh); overflow-y: auto; padding-right: 8px; }
.cookie-banner h2 { margin-bottom: 8px; font-size: 15px; }
.cookie-banner p, .cookie-banner ul { margin-bottom: 8px; }
.cookie-banner-actions { gap: 8px; margin-top: 12px; }
.cookie-banner-actions button { flex: 1; min-width: 0; min-height: 40px; padding: 8px 14px; }

.cookie-banner-copy { max-height: none; overflow: visible; padding-right: 0; }
.cookie-more summary { width: fit-content; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.cookie-show-less, .cookie-more[open] .cookie-show-more { display: none; }
.cookie-more[open] .cookie-show-less { display: inline; }
.cookie-full-text { margin-top: 10px; max-height: min(220px, 35dvh); overflow-y: auto; padding-right: 8px; }
.cookie-more summary:focus-visible { outline: 2px solid #245b48; outline-offset: 3px; }

/* A compact, softly layered navigation panel. */
.travel-menu > summary { padding: 10px 13px; border: 1px solid #e4e7e3; border-radius: 999px; background: #f7f8f5; transition: background-color .18s ease, border-color .18s ease; }
.travel-menu > summary:hover, .travel-menu[open] > summary { background: #eef5f1; border-color: #c8d7cd; }
.travel-menu nav { top: calc(100% + 10px); padding: 10px; border: 1px solid #dce4dd; border-radius: 16px; background: linear-gradient(150deg, #f0f6f1, #fff 65%); box-shadow: 0 16px 38px rgb(29 49 37 / 12%), 0 3px 8px rgb(29 49 37 / 5%), inset 0 1px 0 #fff; }
.travel-menu nav a { padding: 11px 12px; border-radius: 8px; font-size: 15px; line-height: 1.3; letter-spacing: -.15px; }
.travel-menu nav a:first-child { margin-bottom: 3px; background: #e2eee5; color: #244b35; font-weight: 500; }
.travel-menu nav a:first-child[aria-disabled="true"]:hover { background: #e2eee5; }
.travel-menu nav a:nth-child(4) { margin-top: 8px; padding-top: 15px; border-top: 1px solid #dce4dd; border-radius: 0; }
.travel-menu nav a:nth-child(n+4) { color: #626b64; font-size: 13px; }
.travel-menu[open] nav { animation: travel-menu-enter .18s ease-out; transform-origin: top right; }
@keyframes travel-menu-enter {
  from { opacity: 0; transform: translateY(-5px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .travel-menu[open] nav { animation: none; }
  .travel-menu > summary { transition: none; }
}

/* Bridge the space between the trigger and hover panel. */
.travel-menu nav::before { content: ''; position: absolute; bottom: 100%; left: 0; right: 0; height: 12px; }

/* Completed selections have soft inner depth. */
.flight-search .select-field.is-complete {
  position: relative;
  box-shadow: inset 0 2px 5px rgb(35 45 40 / 12%), inset 0 1px 2px rgb(35 70 48 / 8%);
}
.flight-search .select-field:focus-within,
.flight-search .select-field:has(.site-select-trigger[aria-expanded="true"]) { z-index: 210; }

/* Entry status: clear, requirements/uncertainty, and explicitly prohibited. */
.visa-result .result-country-header--clear { background: #bdf4d9; border-color: #95d4b4; }
.visa-result .result-country-header--attention,
.visa-result .result-country-header--neutral { background: #fff0ae; border-color: #e4cf78; }
.visa-result .result-country-header--blocked { background: #ffd3d3; border-color: #e49a9a; color: #781d1d; }

/* Keep the journey summary on one line without clipping long itineraries. */
.flight-search > .selection {
  width: max-content;
  max-width: min(1400px, calc(100vw - 40px));
  min-width: 0;
  justify-self: center;
  margin-inline: 0;
  white-space: nowrap;
  overflow-x: auto;
}

.flight-search > .show-results[hidden] { display: none; }

/* Center the tagline against the full footer width. */
.travel-footer-content { display: grid; grid-template-columns: minmax(220px, 1fr) minmax(0, 4fr) minmax(220px, 1fr); }
.travel-footer-content > p { grid-column: 2; text-align: center; }
@media (max-width: 1100px) {
  .travel-footer-content { grid-template-columns: minmax(0, 1fr); }
  .travel-footer-content > p { grid-column: 1; }
}

/* Flat four-dot navigation, matching the supplied reference. */
.travel-header { background: #eee; box-shadow: 0 2px 3px rgb(0 0 0 / 25%); }
.travel-menu > summary,
.travel-menu > summary:hover,
.travel-menu[open] > summary {
  gap: 28px;
  padding: 4px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #000;
  font-size: 34px;
  font-weight: 400;
  line-height: 1.25;
}
.travel-menu .travel-menu-icon,
.travel-menu[open] .travel-menu-icon {
  position: static;
  width: 28px;
  height: 30px;
  flex: 0 0 28px;
  border: 0;
  background: radial-gradient(circle at 5px 5px, #000 4.5px, transparent 5px), radial-gradient(circle at 23px 5px, #000 4.5px, transparent 5px), radial-gradient(circle at 5px 25px, #000 4.5px, transparent 5px), radial-gradient(circle at 23px 25px, #000 4.5px, transparent 5px);
}
.travel-menu[open] .travel-menu-icon::before,
.travel-menu[open] .travel-menu-icon::after { content: none; }
.travel-menu nav {
  top: calc(100% + 9px);
  right: 0;
  width: 388px;
  max-width: calc(100vw - 24px);
  padding: 16px 12px 60px 64px;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}
.travel-menu nav a,
.travel-menu nav a:first-child,
.travel-menu nav a:nth-child(4),
.travel-menu nav a:nth-child(n+4),
.travel-menu nav a[aria-disabled="true"]:hover {
  margin: 0;
  padding: 6px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #000;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: -.5px;
}
@media (max-width: 420px) {
  .travel-menu nav { padding-left: 24px; padding-bottom: 32px; }
  .travel-menu nav a { overflow-wrap: break-word; }
}

/* Smaller four-dot menu and dropdown. */
.travel-menu > summary,
.travel-menu > summary:hover,
.travel-menu[open] > summary { gap: 10px; font-size: 18px; padding: 8px 0; }
.travel-menu .travel-menu-icon,
.travel-menu[open] .travel-menu-icon {
  width: 16px; height: 16px; flex-basis: 16px;
  background: radial-gradient(circle at 3px 3px, #000 2.5px, transparent 3px), radial-gradient(circle at 13px 3px, #000 2.5px, transparent 3px), radial-gradient(circle at 3px 13px, #000 2.5px, transparent 3px), radial-gradient(circle at 13px 13px, #000 2.5px, transparent 3px);
}
.travel-menu nav { width: 230px; padding: 12px 18px 18px; }
.travel-menu nav a,
.travel-menu nav a:first-child,
.travel-menu nav a:nth-child(4),
.travel-menu nav a:nth-child(n+4),
.travel-menu nav a[aria-disabled="true"]:hover { padding: 7px 0; font-size: 16px; line-height: 1.25; letter-spacing: 0; }

.travel-menu nav { background: transparent; }

/* Align dropdown labels with the trigger text after its icon and gap. */
.travel-menu nav {
  left: 0;
  right: auto;
  width: max-content;
  max-width: none;
  padding-left: 26px;
  padding-right: 0;
}
.travel-menu { width: auto; max-width: none; }
.travel-menu nav { width: 100%; box-sizing: border-box; }
.travel-menu nav { width: max-content; max-width: calc(100% + clamp(20px, 5vw, 72px) - 8px); }

/* Give the menu more breathing room from the right edge. */
.travel-menu { margin-right: 40px; }
@media (max-width: 600px) {
  .travel-menu { margin-right: 20px; }
}

/* Tighter menu rows. */
.travel-menu nav a,
.travel-menu nav a:first-child,
.travel-menu nav a:nth-child(4),
.travel-menu nav a:nth-child(n+4),
.travel-menu nav a[aria-disabled="true"]:hover {
  padding-block: 4px;
  line-height: 1.1;
}

.travel-menu nav { padding-left: 0; }

/* Visa explanation editorial page. */
.visa-explanation { width: min(1510px, 79%); margin: 0 auto; padding: 82px 0 44px; color: #111; font: 400 16px/1.4 Arimo, Arial, sans-serif; }
.visa-explanation h1 { margin: 0 0 48px; font-size: 34px; line-height: 1.2; font-weight: 400; text-align: center; }
.visa-explanation h2 { margin: 0 0 26px; font-size: 20px; line-height: 1.3; font-weight: 500; }
.visa-explanation p { margin: 0 0 24px; }
.visa-explanation hr { width: 76%; margin: 80px auto; border: 0; border-top: 1px solid #555; }
.visa-explanation-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 54px 100px; }
.visa-explanation h2 span { margin-left: 8px; font-weight: 400; }
.visa-key-green { color: #13b62b; }
.visa-key-yellow { color: #bdc900; }
.visa-key-red { color: #fa3450; }
.visa-explanation .visa-list-label { margin-bottom: 0; }
.visa-explanation ul { margin: 0 0 24px; padding-left: 23px; }
.visa-route-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 60px; }
.visa-route-grid h2 { margin-bottom: 16px; }
.visa-types-explained h2 { margin-bottom: 18px; }
.visa-types-explained dl { margin: 0; }
.visa-types-explained dt { font-weight: 500; }
.visa-types-explained dd { margin: 0 0 18px; }
@media (max-width: 900px) {
  .visa-explanation { width: calc(100% - 48px); padding-top: 48px; }
  .visa-explanation-grid { gap: 32px; }
  .visa-route-grid { gap: 24px; }
  .visa-explanation hr { margin-block: 48px; }
}
@media (max-width: 600px) {
  .visa-explanation { font-size: 15px; }
  .visa-explanation h1 { font-size: 28px; margin-bottom: 36px; }
  .visa-explanation h2 { font-size: 18px; margin-bottom: 18px; }
  .visa-explanation-grid, .visa-route-grid { grid-template-columns: 1fr; gap: 28px; }
  .visa-explanation hr { width: 100%; margin-block: 36px; }
}

/* About page: open, single-column typography from the supplied design. */
.about-page { width: min(1400px, 73%); margin: 0 auto; padding: 82px 0 64px; color: #111; font: 400 16px/1.45 Arimo, Arial, sans-serif; }
.about-page h1 { margin: 0 0 48px; text-align: center; font-size: 34px; line-height: 1.2; font-weight: 400; }
.about-page h2 { margin: 0 0 26px; font-size: 16px; font-weight: 500; line-height: 1.45; }
.about-page .about-intro h2 { margin-bottom: 48px; }
.about-page p, .about-page ul { margin: 0 0 26px; }
.about-page ul { padding-left: 24px; }
.about-page .about-compact h2 { margin-bottom: 0; }
.about-page address { font-style: normal; }
.about-page address a { color: inherit; text-decoration: none; }
.about-page address a:hover { text-decoration: underline; }
.about-page address a:focus-visible { outline: 2px solid #245b48; outline-offset: 3px; }
@media (max-width: 900px) {
  .about-page { width: calc(100% - 48px); padding-top: 48px; }
}
@media (max-width: 600px) {
  .about-page { font-size: 15px; padding-bottom: 40px; }
  .about-page h1 { font-size: 28px; margin-bottom: 36px; }
  .about-page .about-intro h2 { margin-bottom: 28px; }
}

.affiliates-page { padding-bottom: 90px; }
.affiliates-page .affiliates-list-intro { margin-bottom: 0; }
@media (max-width: 600px) {
  .affiliates-page { padding-bottom: 48px; }
}

.stopover-section .stopover-days-field[hidden] { display: none; }
.stopover-section .stopover-days-field:not([hidden]) { display: flex; margin-top: 8px; }

/* Privacy policy: compact, readable sections matching the supplied layout. */
.privacy-page { padding-bottom: 90px; }
.privacy-page section { margin-bottom: 26px; }
.privacy-page h2, .privacy-page h3 { font-size: 16px; font-weight: 500; line-height: 1.45; }
.privacy-page h2 { margin: 0 0 4px; }
.privacy-page h3 { margin: 24px 0 0; }
.privacy-page p { margin: 0; }
.privacy-page ul { margin: 0 0 24px; }
.privacy-page ul.privacy-attached { margin-bottom: 0; }
.privacy-page a { color: inherit; text-underline-offset: 3px; }
.privacy-page a:focus-visible { outline: 2px solid #245b48; outline-offset: 3px; }
.privacy-page .privacy-disclaimer > h2 { margin-bottom: 24px; }
@media (max-width: 600px) {
  .privacy-page { padding-bottom: 48px; }
  .privacy-page h2, .privacy-page h3 { font-size: 15px; }
}

/* Terms page shares the legal-page layout, with the reference's wider leading. */
.terms-page { line-height: 1.9; }
.terms-page section { margin-bottom: 32px; }
.terms-page h2, .terms-page h3 { line-height: 1.9; margin: 0; }
.terms-page .terms-policy > h2 { margin-bottom: 32px; }
.terms-page .terms-policy > section:last-child { margin-bottom: 0; }

/* Compact language switcher beside the main navigation. */
.language-menu { position: relative; margin-left: auto; flex: 0 0 auto; font: 400 14px/1.3 Arimo, Arial, sans-serif; }
.language-menu summary { display: flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 6px; list-style: none; cursor: pointer; border-radius: 6px; }
.language-menu summary::-webkit-details-marker { display: none; }
.language-menu summary svg { width: 18px; height: 18px; }
.language-chevron { width: 5px; height: 5px; margin-left: 2px; border-right: 1px solid; border-bottom: 1px solid; transform: rotate(45deg); transition: transform .15s; }
.language-menu[open] .language-chevron { transform: rotate(225deg); }
.language-menu summary:hover { background: rgb(0 0 0 / 4%); }
.language-options { position: absolute; right: 0; top: calc(100% + 6px); z-index: 310; min-width: 158px; padding: 6px; background: #fafaf8; border: 1px solid #deded9; border-radius: 10px; box-shadow: 0 8px 24px rgb(0 0 0 / 10%); }
.language-options a { display: flex; align-items: center; justify-content: space-between; padding: 9px 10px; border-radius: 5px; color: #171717; text-decoration: none; white-space: nowrap; }
.language-options a:hover { background: #eeeee9; }
.language-options a[aria-current] { background: #e5efe8; color: #245b48; }
.language-options a[aria-current]::after { content: '✓'; margin-left: 20px; }
.language-menu summary:focus-visible, .language-options a:focus-visible { outline: 2px solid #245b48; outline-offset: 2px; }
@media (max-width: 600px) { .travel-header { gap: 12px; flex-wrap: nowrap; } }

.stopover-section .extra-stopover-field .site-select-trigger { position: relative; justify-content: center; text-align: center; padding-inline: 20px; min-height: 50px; }
.stopover-section .extra-stopover-field .site-select-trigger::after { position: absolute; right: 4px; }
.additional-stop-row { margin-top: 12px; }

.additional-stop-row { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; }
.additional-stop-row:has(> .extra-stopover-field[hidden]) { display: none; }
.additional-stop-row > .extra-stopover-field { grid-column: 1; grid-row: 1; margin-top: 0; min-width: 0; }
.additional-stop-row > .remove-extra-stopover { position: absolute; left: calc(100% + 8px); top: 11px; margin: 0; }
.additional-stop-row > .stopover-days-field { grid-column: 1; grid-row: 2; }

/* Join each duration to its country as the lower half of one control. */
.stopover-section .stopover-days-field:not([hidden]) {
  margin-top: -1px;
  min-height: 38px;
  padding: 4px 12px;
  border-radius: 0 0 11px 11px;
}
.stopover-section .stopover-fields:has(+ .stopover-days-field:not([hidden])) .stopover-country-field,
.additional-stop-row:has(> .stopover-days-field:not([hidden])) > .extra-stopover-field {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.stopover-section .stopover-days-field .days-input-control { justify-content: center; gap: 6px; }
.stopover-section .stopover-days-field input { flex: 0 1 54px; width: 54px; min-height: 28px; text-align: center; }

/* Language choices live inside the main menu. */
.travel-menu nav .language-menu { margin: 10px 0 0; padding-top: 8px; border-top: 1px solid #d6d6d2; }
.travel-menu nav .language-menu > summary { display: flex; justify-content: flex-start; gap: 8px; min-height: 32px; padding: 4px 0; font: 400 16px/1.3 Arimo, Arial, sans-serif; }
.travel-menu nav .language-menu > summary::after { display: none; }
.travel-menu nav .language-options { position: static; min-width: 0; margin-top: 4px; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.travel-menu nav .language-options a { display: flex; justify-content: flex-start; align-items: center; gap: 8px; padding: 7px 6px; font-size: 14px; line-height: 1.3; letter-spacing: normal; text-transform: none; border: 0; }
.travel-menu nav .language-options a::before { display: none; }
.travel-menu nav .language-options a[aria-current]::after { margin-left: auto; }
.travel-menu nav .language-menu .fi { flex: 0 0 20px; width: 20px; height: 15px; border-radius: 2px; }

.stopover-section .stopover-days-field input,
.stopover-section .stopover-days-field .days-input-control,
.stopover-section .stopover-days-field .days-input-unit {
  font-weight: 400;
}

/* Make the editable duration distinct from its day(s) label. */
.stopover-section .stopover-days-field input {
  flex-basis: 66px;
  width: 66px;
  min-height: 32px;
  padding: 3px 6px;
  border: 1px solid #a5b2aa;
  border-radius: 5px;
  background: #fff;
  box-shadow: inset 0 1px 2px rgb(35 45 40 / 8%);
  font-weight: 400;
  cursor: text;
}
.stopover-section .stopover-days-field input:hover { border-color: #547562; }
.stopover-section .stopover-days-field input:focus {
  border-color: #245b48;
  outline: 2px solid rgb(36 91 72 / 25%);
  outline-offset: 2px;
}

.stopover-section .stopover-days-field .duration-steppers {
  display: flex;
  flex-direction: column;
  flex: 0 0 24px;
  margin: 0;
  gap: 1px;
}
.duration-steppers button {
  display: grid;
  place-items: center;
  width: 24px;
  height: 17px;
  padding: 0;
  border: 1px solid #a5b2aa;
  border-radius: 3px;
  background: #fff;
  color: #245b48;
  font: 400 15px/1 Arial, sans-serif;
  cursor: pointer;
}
.duration-steppers button:hover { background: #e5efe8; border-color: #245b48; }
.duration-steppers button:focus-visible { outline: 2px solid #245b48; outline-offset: 2px; }
.stopover-section .stopover-days-field input { appearance: textfield; -moz-appearance: textfield; }
.stopover-section .stopover-days-field input::-webkit-inner-spin-button,
.stopover-section .stopover-days-field input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

.duration-steppers button { box-sizing: border-box; flex: 0 0 17px; }
.duration-steppers button::before {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-bottom: 5px solid currentColor;
}
.duration-steppers .duration-decrease::before { transform: rotate(180deg); }

.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
