.routes-hub {
  --routes-ink: #1b1d1b;
  --routes-green: #173e35;
  --routes-yellow: #f4ce55;
  --routes-violet: #6751a3;
  --routes-sky: #eaf0fc;
  --routes-mint: #edf3ee;
  --routes-peach: #f7e4da;
  --routes-earth: #f3ecdf;
  --routes-line: rgba(23, 62, 53, .17);
  --routes-shell: 1320px;
  --routes-gutter: clamp(20px, 4.4vw, 66px);
  overflow: clip;
  background: #fff;
  color: var(--routes-ink);
  font-family: "Montserrat Navigation", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  font-weight: 470;
  line-height: 1.62;
}

.routes-hub *,
.routes-hub *::before,
.routes-hub *::after {
  box-sizing: border-box;
}

.routes-hub__shell {
  width: min(100%, var(--routes-shell));
  margin-inline: auto;
  padding-inline: var(--routes-gutter);
}

.routes-hub :is(h1, h2, h3, p, figure, dl, ol) {
  margin-top: 0;
}

.routes-hub a {
  color: inherit;
}

.routes-hub :is(a, [tabindex]):focus-visible {
  outline: 3px solid var(--routes-violet);
  outline-offset: 4px;
}

.routes-hub__eyebrow {
  margin-bottom: 10px;
  color: var(--routes-green);
  font-size: 13px;
  font-weight: 760;
  letter-spacing: .11em;
  line-height: 1.35;
  text-transform: uppercase;
}

.routes-hub__hero {
  position: relative;
  isolation: isolate;
  min-height: 420px;
  overflow: hidden;
  background: var(--routes-earth);
}

.routes-hub__hero-word {
  position: absolute;
  z-index: 0;
  top: -42px;
  right: -18px;
  color: rgba(23, 62, 53, .065);
  font-size: clamp(132px, 17vw, 244px);
  font-weight: 800;
  letter-spacing: -.09em;
  line-height: .9;
  pointer-events: none;
}

.routes-hub__pyramid {
  fill: rgba(255, 255, 255, .15);
  stroke: rgba(23, 62, 53, .14);
  stroke-linejoin: round;
  stroke-width: 3;
}

.routes-hub__pyramid--small {
  fill: rgba(103, 81, 163, .045);
  stroke: rgba(103, 81, 163, .12);
}

.routes-hub__pyramid-course,
.routes-hub__desert-line {
  fill: none;
  stroke: rgba(23, 62, 53, .09);
  stroke-linecap: round;
  stroke-width: 2;
}

.routes-hub__pyramid-course {
  stroke-dasharray: 7 11;
}

.routes-hub__hero .site-breadcrumbs {
  position: relative;
  z-index: 2;
  min-height: 48px;
  background: transparent;
}

.routes-hub__hero .site-breadcrumbs > .site-breadcrumbs__list {
  width: 100%;
  min-height: 48px;
  padding: 13px 0 7px;
  color: #4a4d49;
  font-size: 13px;
}

.routes-hub__hero-layout {
  display: grid;
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, .94fr) minmax(420px, 1.06fr);
  gap: clamp(36px, 5vw, 76px);
  align-items: center;
  min-height: 352px;
  padding-block: 42px 58px;
}

.routes-hub__hero-copy {
  max-width: 610px;
}

.routes-hub__hero .page-title-block__title {
  max-width: 610px;
  margin-bottom: 20px;
  color: var(--routes-ink);
  font-size: clamp(45px, 5vw, 68px);
  font-weight: 710;
  letter-spacing: -.058em;
  line-height: .98;
}

.routes-hub__lead {
  max-width: 590px;
  margin-bottom: 0;
  color: #40433f;
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.54;
}

.routes-hub__duration-map {
  min-width: 0;
}

.routes-hub__duration-map svg {
  display: block;
  width: 100%;
  overflow: visible;
}

.routes-hub__duration-line {
  fill: none;
  stroke: var(--routes-violet);
  stroke-dasharray: 4 13;
  stroke-linecap: round;
  stroke-width: 4;
}

.routes-hub__duration-map circle {
  fill: #fff;
  stroke: var(--routes-green);
  stroke-width: 3;
}

.routes-hub__duration-stop--yellow circle {
  fill: var(--routes-yellow);
}

.routes-hub__duration-stop--sky circle {
  fill: var(--routes-sky);
}

.routes-hub__duration-map text {
  fill: var(--routes-green);
  font-family: inherit;
  font-size: 22px;
  font-weight: 800;
  text-anchor: middle;
}

.routes-hub__duration-map .routes-hub__duration-unit {
  font-size: 12px;
  font-weight: 760;
  letter-spacing: .12em;
  text-anchor: start;
}

.routes-hub__opening {
  display: grid;
  grid-template-columns: minmax(240px, .72fr) minmax(0, 1.28fr);
  gap: clamp(40px, 7vw, 108px);
  padding-block: clamp(72px, 8vw, 106px);
}

.routes-hub__opening-heading {
  align-self: start;
  padding: clamp(26px, 3vw, 34px);
  border-radius: 18px;
  background: var(--routes-sky);
  box-shadow:
    inset 5px 0 0 var(--routes-yellow),
    0 14px 32px rgba(23, 62, 53, .07);
}

.routes-hub__opening-heading .routes-hub__eyebrow {
  margin-bottom: 13px;
}

.routes-hub__opening h2,
.routes-hub__section-heading h2,
.routes-hub__packages h2 {
  margin-bottom: 0;
  color: var(--routes-ink);
  font-size: clamp(32px, 3.6vw, 48px);
  font-weight: 690;
  letter-spacing: -.045em;
  line-height: 1.08;
}

.routes-hub__opening h2,
.routes-hub__section-heading h2,
.routes-hub__packages h2 {
  font-size: clamp(28px, 2.8vw, 40px);
  letter-spacing: -.038em;
  line-height: 1.12;
}

.routes-hub__opening-copy {
  max-width: 780px;
}

.routes-hub__opening-copy p {
  margin-bottom: 18px;
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.7;
}

.routes-hub__opening-copy p:last-child {
  margin-bottom: 0;
}

.routes-hub__comparison {
  border-block: 1px solid var(--routes-line);
  padding-block: clamp(72px, 8vw, 104px);
  background: #fff;
}

.routes-hub__section-heading {
  display: grid;
  grid-template-columns: minmax(240px, .72fr) minmax(0, 1.28fr);
  gap: 12px clamp(40px, 7vw, 108px);
  align-items: start;
  margin-bottom: 34px;
}

.routes-hub__section-heading .routes-hub__eyebrow {
  grid-column: 1;
}

.routes-hub__section-heading h2 {
  grid-column: 1;
}

.routes-hub__section-heading > p:last-child {
  max-width: 730px;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: end;
  margin-bottom: 3px;
  color: #4d514c;
  font-size: 16px;
  line-height: 1.68;
}

.routes-hub__table-hint {
  display: none;
  margin-bottom: 10px;
  color: #5a5f59;
  font-size: 13px;
  font-weight: 650;
}

.routes-hub__table-wrap {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--routes-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(23, 62, 53, .08);
  -webkit-overflow-scrolling: touch;
}

.routes-hub__table {
  width: 100%;
  min-width: 900px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 14px;
  line-height: 1.5;
}

.routes-hub__table th,
.routes-hub__table td {
  padding: 15px 16px;
  border-right: 1px solid var(--routes-line);
  border-bottom: 1px solid var(--routes-line);
  vertical-align: top;
  text-align: left;
}

.routes-hub__table :is(th, td):last-child {
  border-right: 0;
}

.routes-hub__table tbody tr:last-child > * {
  border-bottom: 0;
}

.routes-hub__table thead th {
  background: var(--routes-sky);
  color: var(--routes-green);
  font-size: 13px;
  font-weight: 780;
  letter-spacing: .025em;
}

.routes-hub__table tbody th {
  width: 114px;
  background: #fff;
}

.routes-hub__table tbody th a {
  display: flex;
  width: max-content;
  min-height: 48px;
  flex-direction: column;
  justify-content: center;
  text-decoration: none;
}

.routes-hub__table tbody th strong {
  color: var(--routes-violet);
  font-size: 25px;
  line-height: 1;
}

.routes-hub__table tbody th span {
  margin-top: 4px;
  color: #5c605b;
  font-size: 13px;
  font-weight: 650;
}

.routes-hub__table tbody th a:hover strong {
  color: var(--routes-green);
}

.routes-hub__catalogue {
  padding-block: clamp(78px, 8vw, 112px);
  background: var(--routes-earth);
}

.routes-hub__section-heading--catalogue {
  margin-bottom: 42px;
}

.routes-hub__route-list {
  display: grid;
  grid-auto-rows: 1fr;
  gap: 22px;
}

.routes-hub__route {
  --routes-card-accent: var(--routes-yellow);
  --routes-card-surface: #fff8dc;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr) minmax(190px, 235px);
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(23, 62, 53, .12);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(23, 62, 53, .075);
}

.routes-hub__route--sky {
  --routes-card-accent: #b8c9ec;
  --routes-card-surface: #f0f4fc;
}

.routes-hub__route--mint {
  --routes-card-accent: #96c5ac;
  --routes-card-surface: #eff7f2;
}

.routes-hub__route--violet {
  --routes-card-accent: #b8aad9;
  --routes-card-surface: #f3f0f9;
}

.routes-hub__route--peach {
  --routes-card-accent: #e4ae95;
  --routes-card-surface: #fcf1eb;
}

.routes-hub__route-media {
  position: relative;
  min-height: 250px;
  margin-bottom: 0;
  overflow: hidden;
  background: var(--routes-card-surface);
}

.routes-hub__route-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.routes-hub__route-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 27px clamp(24px, 3vw, 42px) 26px;
}

.routes-hub__route-kicker {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 11px;
  color: var(--routes-green);
  font-size: 13px;
  font-weight: 720;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.routes-hub__route-days {
  display: inline-flex;
  min-height: 34px;
  gap: 5px;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--routes-card-accent);
  color: var(--routes-ink);
  font-size: 12px;
  letter-spacing: .045em;
}

.routes-hub__route-days-number {
  font-size: 17px;
  font-weight: 500;
  line-height: 1;
}

.routes-hub__route-nights {
  position: relative;
  padding-left: 13px;
}

.routes-hub__route-nights::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--routes-violet);
  content: "";
  transform: translateY(-50%);
}

.routes-hub__route h3 {
  margin-bottom: 9px;
  color: var(--routes-ink);
  font-size: clamp(24px, 2.3vw, 32px);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.14;
}

.routes-hub__route h3 a {
  text-decoration: none;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.routes-hub__route h3 a:hover {
  text-decoration: underline;
  text-decoration-color: var(--routes-card-accent);
}

.routes-hub__route-copy > p:not(.routes-hub__route-kicker) {
  max-width: 730px;
  margin-bottom: 17px;
  color: #4d514c;
  font-size: 15px;
  line-height: 1.62;
}

.routes-hub__route-path {
  display: inline-grid;
  grid-auto-columns: minmax(112px, max-content);
  grid-auto-flow: column;
  gap: 0;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 19px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(23, 62, 53, .18);
  border-radius: 11px;
  background: #fff;
  list-style: none;
}

.routes-hub__route-path--2-stops {
  grid-template-columns: repeat(2, minmax(112px, max-content));
}

.routes-hub__route-path--3-stops {
  grid-template-columns: repeat(3, minmax(112px, max-content));
}

.routes-hub__route-path--4-stops {
  grid-template-columns: repeat(4, minmax(112px, max-content));
}

.routes-hub__route-path--5-stops {
  grid-template-columns: repeat(5, minmax(112px, max-content));
}

.routes-hub__route-path li {
  display: grid;
  position: relative;
  grid-template-rows: auto auto;
  gap: 4px;
  min-width: 0;
  padding: 10px 14px 9px;
  border-right: 1px solid rgba(23, 62, 53, .13);
  color: var(--routes-green);
  font-size: 13px;
}

.routes-hub__route-path li:last-child {
  border-right: 0;
}

.routes-hub__route-path strong {
  min-width: 0;
  overflow-wrap: anywhere;
  font-weight: 720;
  line-height: 1.28;
}

.routes-hub__route-path span {
  color: #6a6e69;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.35;
}

.routes-hub__route-link {
  display: inline-flex;
  width: fit-content;
  min-height: 44px;
  gap: 9px;
  align-items: center;
  margin-top: auto;
  color: var(--routes-green);
  font-size: 14px;
  font-weight: 760;
  text-decoration: none;
}

.routes-hub__route-link span {
  transition: transform .18s ease;
}

.routes-hub__route-link:hover span {
  transform: translateX(4px);
}

.routes-hub__route-facts {
  display: grid;
  align-content: center;
  margin: 18px 18px 18px 0;
  padding: 8px 20px;
  border-left: 4px solid var(--routes-card-accent);
  border-radius: 12px;
  background: var(--routes-card-surface);
}

.routes-hub__route-facts div {
  padding-block: 13px;
  border-bottom: 1px solid rgba(23, 62, 53, .12);
}

.routes-hub__route-facts div:last-child {
  border-bottom: 0;
}

.routes-hub__route-facts dt {
  margin-bottom: 3px;
  color: #646963;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .045em;
  line-height: 1.35;
  text-transform: uppercase;
}

.routes-hub__route-facts dd {
  margin: 0;
  color: var(--routes-ink);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.42;
}

.routes-hub__packages {
  padding-block: clamp(72px, 8vw, 104px);
  background: var(--routes-sky);
}

.routes-hub__packages-layout {
  display: grid;
  grid-template-columns: minmax(260px, .82fr) minmax(0, 1.18fr);
  gap: clamp(40px, 7vw, 108px);
  align-items: end;
}

.routes-hub__packages-layout > div:last-child {
  max-width: 760px;
}

.routes-hub__packages-layout > div:last-child p {
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.68;
}

.routes-hub__packages-layout > div:last-child > a {
  display: inline-flex;
  min-height: 48px;
  gap: 10px;
  align-items: center;
  color: var(--routes-green);
  font-size: 14px;
  font-weight: 770;
  text-decoration: none;
}

.routes-hub__packages-layout > div:last-child > a:hover {
  text-decoration: underline;
  text-decoration-color: var(--routes-yellow);
  text-decoration-thickness: 4px;
  text-underline-offset: 6px;
}

@media (max-width: 1080px) {
  .routes-hub__route {
    grid-template-columns: 230px minmax(0, 1fr);
  }

  .routes-hub__route-facts {
    grid-column: 1 / -1;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0 18px 18px;
    padding: 7px 12px;
    border-top: 4px solid var(--routes-card-accent);
    border-left: 0;
  }

  .routes-hub__route-facts div {
    padding: 11px 12px;
    border-right: 1px solid rgba(23, 62, 53, .12);
    border-bottom: 0;
  }

  .routes-hub__route-facts div:last-child {
    border-right: 0;
  }
}

@media (max-width: 820px) {
  .routes-hub__hero {
    min-height: 0;
  }

  .routes-hub__hero-word {
    top: -18px;
    font-size: clamp(96px, 25vw, 164px);
  }

  .routes-hub__hero-layout {
    grid-template-columns: 1fr;
    gap: 22px;
    min-height: 0;
    padding-block: 36px 42px;
  }

  .routes-hub__hero-copy {
    max-width: 690px;
  }

  .routes-hub__hero .page-title-block__title {
    max-width: 690px;
  }

  .routes-hub__duration-map {
    max-width: 610px;
  }

  .routes-hub__opening,
  .routes-hub__section-heading,
  .routes-hub__packages-layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .routes-hub__opening {
    padding-block: 64px;
  }

  .routes-hub__section-heading > p:last-child {
    grid-column: 1;
    grid-row: auto;
    align-self: auto;
    margin-bottom: 0;
  }

  .routes-hub__route {
    grid-template-columns: 210px minmax(0, 1fr);
  }

  .routes-hub__route-copy {
    padding: 24px;
  }

  .routes-hub__route-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .routes-hub__route-facts div:nth-child(2n) {
    border-right: 0;
  }

  .routes-hub__route-facts div:nth-child(n + 3) {
    border-top: 1px solid rgba(23, 62, 53, .12);
  }
}

@media (max-width: 920px) {
  .routes-hub__table-hint {
    display: block;
  }
}

@media (max-width: 650px) {
  .routes-hub {
    --routes-gutter: 20px;
  }

  .routes-hub__hero .site-breadcrumbs > .site-breadcrumbs__list {
    flex-wrap: nowrap;
    overflow: hidden;
  }

  .routes-hub__hero .site-breadcrumbs__item {
    min-width: 0;
  }

  .routes-hub__hero .site-breadcrumbs__item:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .routes-hub__hero .page-title-block__title {
    margin-bottom: 16px;
    font-size: clamp(36px, 11vw, 48px);
  }

  .routes-hub__lead {
    font-size: 16px;
  }

  .routes-hub__duration-unit {
    display: none;
  }

  .routes-hub__opening,
  .routes-hub__comparison,
  .routes-hub__catalogue,
  .routes-hub__packages {
    padding-block: 58px;
  }

  .routes-hub__opening h2,
  .routes-hub__section-heading h2,
  .routes-hub__packages h2 {
    font-size: clamp(29px, 8.5vw, 38px);
  }

  .routes-hub__opening h2,
  .routes-hub__section-heading h2,
  .routes-hub__packages h2 {
    font-size: clamp(27px, 7.8vw, 34px);
  }

  .routes-hub__table-wrap {
    margin-right: calc(var(--routes-gutter) * -1);
    border-radius: 16px 0 0 16px;
  }

  .routes-hub__table {
    min-width: 780px;
  }

  .routes-hub__route {
    grid-template-columns: 1fr;
  }

  .routes-hub__route-media {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .routes-hub__route-copy {
    padding: 24px 22px 20px;
  }

  .routes-hub__route h3 {
    font-size: 27px;
  }

  .routes-hub__route-path,
  .routes-hub__route-path--2-stops,
  .routes-hub__route-path--3-stops,
  .routes-hub__route-path--4-stops,
  .routes-hub__route-path--5-stops {
    grid-template-columns: 1fr;
    grid-auto-flow: row;
    gap: 0;
    width: 100%;
    margin-bottom: 16px;
    padding-left: 0;
  }

  .routes-hub__route-path li {
    gap: 2px;
    padding: 10px 14px 10px 38px;
    border-right: 0;
    border-bottom: 1px solid rgba(23, 62, 53, .13);
  }

  .routes-hub__route-path li:last-child {
    padding: 10px 14px 10px 38px;
    border-bottom: 0;
  }

  .routes-hub__route-path li::before {
    position: absolute;
    top: 4px;
    left: 14px;
    width: 7px;
    height: 7px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: var(--routes-card-accent);
    box-shadow: 0 0 0 1px rgba(23, 62, 53, .16);
    content: "";
  }

  .routes-hub__route-facts {
    margin: 0 14px 14px;
  }

  .routes-hub__route-link {
    min-height: 48px;
  }
}

@media (max-width: 390px) {
  .routes-hub {
    --routes-gutter: 18px;
  }

  .routes-hub__hero-layout {
    padding-top: 29px;
  }

  .routes-hub__duration-map {
    margin-inline: -5px;
  }

  .routes-hub__route-facts {
    grid-template-columns: 1fr;
  }

  .routes-hub__route-facts div,
  .routes-hub__route-facts div:nth-child(2n) {
    border-right: 0;
    border-bottom: 1px solid rgba(23, 62, 53, .12);
  }

  .routes-hub__route-facts div:nth-child(n + 3) {
    border-top: 0;
  }

  .routes-hub__route-facts div:last-child {
    border-bottom: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .routes-hub__route-link span {
    transition: none;
  }
}
