:root {
  color-scheme: light;
  --ink: #10232e;
  --muted: #53636d;
  --line: #d7e0e4;
  --paper: #f7faf9;
  --panel: #ffffff;
  --teal: #13777b;
  --blue: #143447;
  --coral: #d35d46;
  --gold: #c99b35;
  --green: #587f4b;
  --shadow: 0 20px 55px rgba(16, 35, 46, 0.14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
}

a { color: inherit; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(18px, 4vw, 52px);
  background: rgba(247, 250, 249, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 16px;
  color: var(--muted);
  font-size: 14px;
}

nav a {
  text-decoration: none;
}

main {
  overflow: hidden;
}

.hero {
  min-height: min(760px, calc(100svh - 72px));
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  align-items: center;
  gap: clamp(28px, 5vw, 70px);
  padding: clamp(48px, 7vw, 96px) clamp(18px, 5vw, 76px) clamp(34px, 5vw, 72px);
  background:
    linear-gradient(135deg, rgba(19, 119, 123, 0.13), transparent 42%),
    linear-gradient(315deg, rgba(211, 93, 70, 0.11), transparent 45%),
    #eef5f3;
}

.hero-copy {
  max-width: 760px;
}

.kicker {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(44px, 7vw, 86px);
  line-height: 0.98;
  letter-spacing: 0;
  max-width: 820px;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 21px;
  line-height: 1.15;
  letter-spacing: 0;
}

.hero p {
  max-width: 680px;
  color: #314650;
  font-size: 19px;
}

.hero-actions,
.provider-row,
.filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.hero-actions a,
.provider-row a,
.route-grid a,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-weight: 750;
  text-decoration: none;
}

.hero-actions .primary-action,
.provider-row a:first-child {
  background: var(--coral);
  border-color: var(--coral);
  color: #fff;
}

.hero-media {
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.search-panel,
.section-shell {
  width: min(1180px, calc(100% - 36px));
  margin: clamp(30px, 6vw, 76px) auto;
}

.search-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(320px, 1.15fr);
  gap: clamp(20px, 4vw, 46px);
  align-items: start;
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

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

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

input,
select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

.destination-field {
  display: grid;
  gap: 8px;
}

.destination-freeform {
  min-height: 38px;
  padding: 8px 10px;
  font-size: 14px;
}

.fine-print {
  grid-column: 2;
  margin: -20px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.provider-row {
  grid-column: 2;
}

.destination-tools {
  padding-top: 4px;
}

.translate-control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: auto;
  min-height: 44px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}

.translate-control select {
  width: auto;
  min-height: 32px;
  padding: 4px 8px;
}

.onward-panel {
  grid-column: 2;
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.onward-panel h3 {
  margin: 0 0 6px;
  font-size: 18px;
}

.onward-panel p {
  margin: 0;
  color: var(--muted);
}

.onward-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, 0.65fr);
  gap: 12px;
}

.onward-links {
  grid-column: auto;
}

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

.section-heading > div:first-child,
.section-heading h2 {
  max-width: 760px;
}

.cards-grid,
.route-grid,
.mini-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.cards-grid article,
.route-grid article,
.mini-grid a,
details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.cards-grid article {
  overflow: hidden;
}

.cards-grid img {
  width: 100%;
  aspect-ratio: 5 / 3;
  object-fit: cover;
}

.cards-grid article > :not(img) {
  margin-left: 16px;
  margin-right: 16px;
}

.cards-grid span,
.route-grid span {
  display: inline-flex;
  margin-top: 16px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.cards-grid p,
.route-grid p,
.mini-grid span,
details p,
.split-section p {
  color: var(--muted);
}

.cards-grid article p {
  margin-bottom: 18px;
}

.route-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.route-grid article {
  display: flex;
  min-height: 265px;
  flex-direction: column;
  padding: 18px;
}

.route-grid article.is-hidden {
  display: none;
}

.route-grid p {
  flex: 1;
}

.route-grid div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.route-grid a {
  min-height: 39px;
  padding: 8px 11px;
  font-size: 14px;
}

.route-grid a:first-child {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.filters {
  min-width: min(430px, 100%);
}

.filters input {
  flex: 1 1 220px;
}

.filters select {
  flex: 0 1 170px;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(300px, 1.18fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  padding: 16px;
  border-left: 5px solid var(--gold);
  border-radius: 8px;
  background: #fff;
}

.mini-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mini-grid a {
  display: grid;
  gap: 7px;
  min-height: 130px;
  padding: 18px;
  text-decoration: none;
}

.mini-grid strong {
  font-size: 18px;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.photo-grid figure {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.photo-grid figure.wide {
  grid-column: span 2;
}

.photo-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.photo-grid figure.wide img {
  aspect-ratio: 16 / 9;
}

.photo-grid figcaption {
  padding: 12px 14px 14px;
  color: var(--muted);
  font-size: 14px;
}

.faq {
  margin-bottom: 90px;
}

details {
  padding: 18px 20px;
}

details + details {
  margin-top: 10px;
}

summary {
  cursor: pointer;
  font-size: 18px;
  font-weight: 800;
}

details p {
  margin: 12px 0 0;
}

footer {
  padding: 28px clamp(18px, 5vw, 76px);
  color: #d9e6e7;
  background: var(--blue);
}

footer p {
  max-width: 980px;
  margin: 0 auto;
}

@media (max-width: 920px) {
  .site-header,
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    justify-content: flex-start;
  }

  .hero,
  .search-panel,
  .split-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    aspect-ratio: 16 / 10;
  }

  .route-form,
  .cards-grid,
  .route-grid,
  .mini-grid,
  .photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .photo-grid figure.wide {
    grid-column: span 2;
  }

  .fine-print,
  .provider-row {
    grid-column: 1;
  }
}

@media (max-width: 620px) {
  .site-header {
    position: static;
  }

  h1 {
    font-size: 42px;
  }

  .route-form,
  .cards-grid,
  .route-grid,
  .mini-grid,
  .photo-grid {
    grid-template-columns: 1fr;
  }

  .photo-grid figure.wide {
    grid-column: span 1;
  }

  .search-panel,
  .section-shell {
    width: min(100% - 24px, 1180px);
  }

  .hero {
    padding-left: 16px;
    padding-right: 16px;
  }
}
