/* ============================================================
   ROUTE LANDING PAGES
   Extends css/style.css — load this AFTER it.
   Palette is inherited from the main sheet:
     #0d0d0d / #0b0b0b  carbon
     #fea710            amber
     #f7f5f0            warm off-white
   ============================================================ */

/* BREADCRUMB */
.breadcrumb {
  background: #0b0b0b;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.breadcrumb-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 24px;
}

.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  font-size: 0.85rem;
}

.breadcrumb li {
  color: rgba(255, 255, 255, 0.55);
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  color: rgba(255, 255, 255, 0.3);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* HERO */
.route-hero {
  background: #0d0d0d;
  color: #ffffff;
  padding: 64px 0 56px;
}

.route-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 40px;
  align-items: start;
}

/* Grid children need min-width:0 or long unbroken strings force overflow. */
.route-hero-copy {
  min-width: 0;
}

.route-title {
  font-size: clamp(2rem, 3.2vw, 2.9rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: 0.2px;
  margin-bottom: 16px;
  max-width: 16ch;
}

.route-lede {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 58ch;
  margin-bottom: 26px;
}

.route-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.route-call {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.route-call:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
}

.route-call-icon svg {
  width: 16px;
  height: 16px;
  display: block;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* PRICE PANEL — the one loud element on the page */
.route-price {
  background: #fea710;
  color: #111111;
  border-radius: 14px;
  padding: 26px 24px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
}

.route-price-heading {
  font-size: 0.9rem;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.65);
  margin-bottom: 6px;
}

.route-price-main {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.route-price-value {
  font-size: 3.4rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -1px;
}

.route-price-unit {
  font-size: 1rem;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.7);
}

.route-price-alt {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 8px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  font-weight: 700;
}

.route-price-alt span:first-child {
  font-size: 1.5rem;
}

.route-price-alt span:last-child {
  font-size: 0.95rem;
  color: rgba(0, 0, 0, 0.7);
}

.route-price-notes {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 9px;
  font-size: 0.92rem;
  color: rgba(0, 0, 0, 0.82);
  line-height: 1.4;
}

.route-price-notes li {
  padding-left: 22px;
  position: relative;
}

.route-price-notes li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 5px;
  width: 6px;
  height: 10px;
  border: solid #111111;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* FACTS STRIP */
.route-facts {
  background: #0b0b0b;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.route-facts-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 26px 24px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px 28px;
}

.route-fact {
  display: grid;
  gap: 6px;
  padding-left: 16px;
  border-left: 2px solid #fea710;
}

.route-fact-value {
  font-size: 1.35rem;
  font-weight: 900;
  color: #ffffff;
}

.route-fact-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.4;
}

/* BODY */
.route-body {
  background: linear-gradient(180deg, #ffffff 0%, #f7f5f0 100%);
  color: #111111;
  padding: 70px 0;
}

.route-body-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 48px;
  align-items: start;
}

.route-prose {
  max-width: 68ch;
}

.route-prose h2 {
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 900;
  margin: 40px 0 14px;
}

.route-prose h2:first-child {
  margin-top: 0;
}

.route-prose p {
  color: rgba(0, 0, 0, 0.78);
  line-height: 1.7;
  margin: 0 0 14px;
}

.route-prose strong {
  color: #111111;
}

.route-list {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: grid;
  gap: 12px;
}

.route-list li {
  padding-left: 24px;
  position: relative;
  color: rgba(0, 0, 0, 0.78);
  line-height: 1.6;
}

.route-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: #fea710;
}

/* PRICE TABLE */
.route-table-wrap {
  overflow-x: auto;
  margin: 0 0 12px;
}

.route-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  overflow: hidden;
  font-size: 0.95rem;
}

.route-table caption {
  text-align: left;
  font-size: 0.85rem;
  color: rgba(0, 0, 0, 0.6);
  padding-bottom: 8px;
}

.route-table th,
.route-table td {
  padding: 13px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.route-table thead th {
  background: #0b0b0b;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.85rem;
}

.route-table tbody th {
  font-weight: 700;
  color: #111111;
}

.route-table tbody td {
  font-weight: 900;
  color: #111111;
}

.route-table tbody tr:last-child th,
.route-table tbody tr:last-child td {
  border-bottom: 0;
}

/* PRICE TABLE — PHONE
   On a phone each row becomes a small card: the destination as its heading,
   then one labelled line per column. Side by side, a four-column table needs
   388px, and on a phone .route-table-wrap would scroll it sideways with the
   Fare column — the one people came for — hidden off the edge and no cue
   that it scrolls.

   The labels come from data-label on each <td>, copied from that table's own
   <thead> text. Rename a column header and you must rename its data-label
   too, or the phone cards and the desktop table will disagree.

   display:block strips the native table role in some screen readers, so the
   markup carries explicit ARIA table roles; the header row is hidden only
   visually, so the column headers are still announced. */
@media (max-width: 640px) {
  .route-table,
  .route-table caption,
  .route-table tbody,
  .route-table tr,
  .route-table th,
  .route-table td {
    display: block;
  }

  .route-table {
    border: 0;
    border-radius: 0;
    background: transparent;
    overflow: visible;
  }

  .route-table caption {
    padding-bottom: 10px;
  }

  .route-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .route-table tbody tr {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 10px;
  }

  .route-table tbody th {
    padding: 0 0 8px;
    margin-bottom: 4px;
    font-size: 1.05rem;
  }

  .route-table tbody td {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    padding: 6px 0;
    border-bottom: 0;
    text-align: right;
  }

  .route-table tbody td::before {
    content: attr(data-label);
    font-weight: 600;
    color: rgba(0, 0, 0, 0.6);
    text-align: left;
  }

  /* Borders above belong to the desktop grid; each card draws its own. */
  .route-table tbody tr:last-child th {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }
}

.route-fineprint {
  font-size: 0.88rem;
  color: rgba(0, 0, 0, 0.6);
  line-height: 1.6;
}

/* THREE STEPS — genuinely sequential, so numbered */
.route-steps {
  list-style: none;
  counter-reset: routestep;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.route-steps li {
  counter-increment: routestep;
  position: relative;
  padding-left: 52px;
}

.route-steps li::before {
  content: counter(routestep);
  position: absolute;
  left: 0;
  top: 0;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #111111;
  color: #fea710;
  font-weight: 900;
  font-size: 0.95rem;
  display: grid;
  place-items: center;
}

.route-steps h3 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.route-steps p {
  margin: 0;
  color: rgba(0, 0, 0, 0.72);
  line-height: 1.6;
}

/* STICKY BOOKING ASIDE */
.route-aside {
  position: sticky;
  /* Clears the sticky navbar, plus a small breathing gap. This was 110px,
     which only worked while the navbar shrank to roughly 61px on scroll —
     with the bar now staying full height the card tucked underneath it.
     The fallback keeps this rule correct on its own if style.css changes. */
  top: calc(var(--navbar-height, 126px) + 14px);
}

.route-aside-card {
  background: #0d0d0d;
  color: #ffffff;
  border-radius: 14px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  text-align: center;
}

.route-aside-title {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.route-aside-text {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.55;
  margin-bottom: 18px;
}

.route-aside-cta {
  display: block;
  text-align: center;
}

.route-aside-or {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 16px 0 4px;
}

.route-aside-phone {
  color: #fea710;
  font-weight: 800;
  font-size: 1.15rem;
  text-decoration: none;
}

.route-aside-phone:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* RELATED ROUTES */
.route-related {
  background: #f7f5f0;
  color: #111111;
  padding: 56px 0 64px;
}

.route-related-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.route-related-title {
  font-size: 1.4rem;
  font-weight: 900;
  margin-bottom: 18px;
}

.route-related-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.route-related-list a {
  display: inline-block;
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  background: #ffffff;
  color: #111111;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.route-related-list a:hover {
  background: #fea710;
  border-color: #fea710;
}

/* FOCUS VISIBILITY */
.breadcrumb a:focus-visible,
.route-call:focus-visible,
.route-aside-phone:focus-visible,
.route-related-list a:focus-visible,
.route-body a:focus-visible {
  outline: 3px solid #fea710;
  outline-offset: 3px;
}

/* RESPONSIVE */

/* Every single-column override below is minmax(0, 1fr), never a bare 1fr.
   A bare 1fr track cannot shrink below its content's min-content width, so
   one wide, unshrinkable child widens the whole column past the screen. That
   is what happened on airport-transfers: its four-column fare table needs
   388px, the column grew to fit it, and the page laid out 413px wide on a
   390px phone — text ran off the right edge and the navbar stretched with it.
   The table's own .route-table-wrap (overflow-x: auto) is meant to absorb
   that, but it only can once the column is allowed to be narrower than the
   table. Same trap as the min-width:0 note on .route-hero-copy above. */
@media (max-width: 1000px) {
  .route-body-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .route-aside {
    position: static;
  }

  .route-aside-card {
    max-width: 480px;
  }
}

@media (max-width: 900px) {
  .route-hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .route-title {
    max-width: none;
  }

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

@media (max-width: 640px) {
  .route-hero {
    padding: 44px 0 40px;
  }

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

  .route-cta-row .cta-button,
  .route-call {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .route-prose p,
  .route-list li,
  .route-steps p {
    font-size: 1rem;
  }

  .route-aside-card {
    max-width: none;
  }
}
