/* Virail route LP — production-aligned tokens & layout */

@font-face {
  font-family: "Rubik Variable";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("/lp/rubik-latin.woff2") format("woff2-variations");
}

:root {
  --v-teal: #0099a4;
  --v-teal-deep: #00757e;
  --v-teal-grad: linear-gradient(179.61deg, #0099a4 -0.54%, #00757e 101.83%);
  --v-coral: #f2665b;
  --v-green: #00bb65;
  --v-green-bg: #e6f9ef;
  --v-ink: #2d4156;
  --v-ink-700: #51606d;
  --v-ink-600: #6b7280;
  --v-ink-800: #2d4156;
  --v-paper: #f9f9fb;
  --v-white: #fff;
  --v-line: #e9edf2;
  --v-gray-100: #f3f4f6;
  --v-zebra: #f5f7f8;
  --radius: 10px;
  --radius-lg: 14px;
  --shadow-card: 0 4px 4px rgba(0, 0, 0, 0.08);
  --container: 1024px;
  --site-navbar-glass: rgba(255, 255, 255, 0.82);
  --site-navbar-border: rgba(255, 255, 255, 0.9);
  --site-navbar-shadow: 0 2px 16px rgba(45, 65, 86, 0.06);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --v-ink: #e7eff1;
  --v-ink-700: #9db1b4;
  --v-ink-600: #9db1b4;
  --v-ink-800: #e7eff1;
  --v-paper: #0c1618;
  --v-white: #0c1618;
  --v-line: #1f3236;
  --v-gray-100: #122023;
  --v-zebra: #101c20;
  --v-green-bg: #0d2a1a;
  --shadow-card: 0 4px 4px rgba(0, 0, 0, 0.35);
  --site-navbar-glass: rgba(18, 32, 35, 0.88);
  --site-navbar-border: rgba(31, 50, 54, 0.95);
  --site-navbar-shadow: 0 2px 16px rgba(0, 0, 0, 0.25);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --v-ink: #e7eff1;
    --v-ink-700: #9db1b4;
    --v-ink-600: #9db1b4;
    --v-ink-800: #e7eff1;
    --v-paper: #0c1618;
    --v-white: #0c1618;
    --v-line: #1f3236;
    --v-gray-100: #122023;
    --v-zebra: #101c20;
    --v-green-bg: #0d2a1a;
    --shadow-card: 0 4px 4px rgba(0, 0, 0, 0.35);
    --site-navbar-glass: rgba(18, 32, 35, 0.88);
    --site-navbar-border: rgba(31, 50, 54, 0.95);
    --site-navbar-shadow: 0 2px 16px rgba(0, 0, 0, 0.25);
  }
}

:root[data-theme="light"] {
  color-scheme: light;
}

* { box-sizing: border-box; margin: 0; }

body {
  background: var(--v-white);
  color: var(--v-ink);
  font: 16px/1.5 "Rubik Variable", Rubik, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

.v-container { max-width: var(--container); margin: 0 auto; padding: 0 16px; }
.v-container-narrow { max-width: 800px; margin: 0 auto; padding: 0 16px; }

.vir-h2 {
  font-size: 24px;
  font-weight: 650;
  letter-spacing: -0.3px;
  color: var(--v-ink-800);
  line-height: 1.25;
}
.vir-h3 {
  font-size: 18px;
  font-weight: 500;
  color: var(--v-ink-600);
  line-height: 1.4;
}
@media (min-width: 768px) {
  .vir-h2 { font-size: 28px; }
  .vir-h3 { font-size: 20px; }
}

/* ── Site navbar (shared layout chrome) ── */
.site-navbar {
  position: relative;
  z-index: 40;
  width: 100%;
  background: var(--site-navbar-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--site-navbar-border);
  box-shadow: var(--site-navbar-shadow);
}
.site-navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding-top: 4px;
  padding-bottom: 4px;
}
.site-navbar__logo { height: 28px; width: auto; display: block; }
.site-navbar__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.site-navbar__theme {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  padding: 0;
  color: var(--v-ink-700);
  background: none;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.site-navbar__theme:hover {
  background: rgba(0, 153, 164, 0.1);
  color: var(--v-teal-deep);
}
.site-navbar__theme svg { width: 19px; height: 19px; display: block; }
.site-navbar__nav {
  display: none;
  align-items: center;
  gap: 2px;
}
@media (min-width: 768px) {
  .site-navbar__nav { display: flex; }
}
.site-navbar__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--v-ink-700);
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
  cursor: pointer;
}
.site-navbar__link:hover {
  background: rgba(0, 153, 164, 0.08);
  color: var(--v-teal-deep);
}
.site-navbar__link--login {
  background: var(--v-teal);
  color: #fff;
  padding: 8px 18px;
}
.site-navbar__link--login:hover {
  background: var(--v-teal-deep);
  color: #fff;
  transform: translateY(-1px);
}
.site-navbar__lang {
  position: relative;
  display: none;
  --lang-icon-size: 20px;
}
@media (min-width: 768px) {
  .site-navbar__lang { display: block; }
}
.site-navbar__lang-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 4px 10px;
  border: 0;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--v-ink-700);
  background: none;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.site-navbar__lang-trigger:hover,
.site-navbar__lang--open .site-navbar__lang-trigger {
  background: rgba(0, 153, 164, 0.08);
  color: var(--v-teal-deep);
}
.site-navbar__lang-trigger:focus-visible {
  outline: 2px solid var(--v-teal);
  outline-offset: 2px;
}
/* Flags come from a 32px sprite — scale inside a fixed box so the trigger
   aligns with the currency symbol next to it. */
.site-navbar__lang-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--lang-icon-size);
  height: var(--lang-icon-size);
  flex-shrink: 0;
}
.site-navbar__lang-icon:has(.flags) {
  overflow: hidden;
}
.site-navbar__lang .flags {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  transform: scale(0.625);
  transform-origin: center;
  margin: 0;
  border-radius: 3px;
}
.site-navbar__world-icon {
  display: block;
  width: var(--lang-icon-size);
  height: var(--lang-icon-size);
  flex-shrink: 0;
  color: var(--v-teal-deep, #00757e);
}
.site-navbar__lang-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.site-navbar__lang-sep {
  flex-shrink: 0;
  font-weight: 300;
  color: rgba(0, 117, 126, 0.38);
  user-select: none;
}
.site-navbar__lang-market {
  font-weight: 500;
}
.site-navbar__lang-currency {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: var(--lang-icon-size);
  height: var(--lang-icon-size);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
}
.site-navbar__lang-chevron {
  flex-shrink: 0;
  opacity: 0.75;
  transition: transform 0.2s ease;
}
.site-navbar__lang--open .site-navbar__lang-chevron {
  transform: rotate(180deg);
}
.site-navbar__lang-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 50;
  min-width: 240px;
  max-width: min(320px, calc(100vw - 24px));
  background: var(--hp-surface, #fff);
  border: 1px solid var(--hp-pill-border-soft, rgba(0, 117, 126, 0.14));
  border-radius: 16px;
  box-shadow: var(--hp-shadow-lg, 0 12px 40px rgba(45, 65, 86, 0.14));
  overflow: hidden;
}
.site-navbar__pref-tabs {
  display: flex;
  gap: 2px;
  padding: 6px;
  border-bottom: 1px solid var(--hp-pill-border-soft, rgba(0, 117, 126, 0.1));
}
.site-navbar__pref-tab {
  flex: 1;
  min-height: 32px;
  padding: 0 8px;
  border: 0;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--v-ink-600, #4b5563);
  background: none;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.site-navbar__pref-tab:hover {
  color: var(--v-teal-deep);
  background: rgba(0, 153, 164, 0.06);
}
.site-navbar__pref-tab--on,
.site-navbar__pref-tab[aria-selected="true"] {
  color: var(--v-teal-deep);
  background: rgba(0, 153, 164, 0.1);
}
.site-navbar__pref-tab:focus-visible {
  outline: 2px solid var(--v-teal);
  outline-offset: 1px;
}
.site-navbar__pref-list {
  max-height: 240px;
  margin: 0;
  padding: 6px;
  overflow: auto;
  list-style: none;
}
.site-navbar__pref-option {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 40px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  color: var(--v-ink-600, #4b5563);
  text-decoration: none;
  text-align: left;
  background: none;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.site-navbar__pref-option:hover {
  background: rgba(0, 153, 164, 0.08);
  color: var(--v-teal-deep);
}
.site-navbar__pref-option--on,
.site-navbar__pref-option[aria-selected="true"] {
  color: var(--v-teal-deep);
  background: rgba(0, 153, 164, 0.1);
}
.site-navbar__pref-list li + li {
  margin-top: 2px;
}
.site-navbar__pref-option-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.site-navbar__pref-currency {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.site-navbar__pref-currency-symbol {
  flex-shrink: 0;
  width: 1.25em;
  font-size: 15px;
  font-weight: 600;
  color: var(--v-teal-deep, #00757e);
  text-align: center;
}
/* Legacy class names kept for any cached markup */
.site-navbar__lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 50;
  min-width: 220px;
  max-height: 280px;
  margin: 0;
  padding: 6px;
  overflow: auto;
  list-style: none;
  background: var(--hp-surface, #fff);
  border: 1px solid var(--hp-pill-border-soft, rgba(0, 117, 126, 0.14));
  border-radius: 16px;
  box-shadow: var(--hp-shadow-lg, 0 12px 40px rgba(45, 65, 86, 0.14));
}
.site-navbar__lang-option {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--v-ink-600, #4b5563);
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}
.site-navbar__lang-option:hover {
  background: rgba(0, 153, 164, 0.08);
  color: var(--v-teal-deep);
}
.site-navbar__lang-option--on,
.site-navbar__lang-option[aria-selected="true"] {
  color: var(--v-teal-deep);
  background: rgba(0, 153, 164, 0.1);
}
.site-navbar__lang-menu li + li {
  margin-top: 2px;
}
.site-navbar__lang-option-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
/* The navbar lives in .prod-main (not .hp-page), so --hp-surface's dark override
   never reaches the language menu — set its dark surface explicitly. */
:root[data-theme="dark"] .site-navbar__lang-menu {
  background: #16262b;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}
:root[data-theme="dark"] .site-navbar__lang-panel {
  background: #16262b;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}
:root[data-theme="dark"] .site-navbar__pref-tabs {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
:root[data-theme="dark"] .site-navbar__lang-sep {
  color: rgba(255, 255, 255, 0.28);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .site-navbar__lang-menu {
    background: #16262b;
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  }
  :root:not([data-theme="light"]) .site-navbar__lang-panel {
    background: #16262b;
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  }
  :root:not([data-theme="light"]) .site-navbar__pref-tabs {
    border-bottom-color: rgba(255, 255, 255, 0.08);
  }
  :root:not([data-theme="light"]) .site-navbar__lang-sep {
    color: rgba(255, 255, 255, 0.28);
  }
}

/* ── Hero ── */
/* The sticky site-navbar keeps its own z-index (40) so its dropdowns (lang/
   currency menu, z-50) sit ABOVE the hero — otherwise this rule would drop it
   to z-2, level with .hp-hero__inner, and the later-in-DOM hero would cover it. */
.prod-main > *:not(.route-hero):not(.site-navbar) {
  position: relative;
  z-index: 2;
}
.route-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  color: var(--v-ink);
  min-height: 300px;
  padding-bottom: 24px;
  overflow: hidden;
  isolation: isolate;
  z-index: 1;
  contain: paint;
}
.route-hero--compact {
  min-height: 240px;
  padding-bottom: 16px;
}
@media (min-width: 768px) {
  .route-hero { min-height: 380px; }
  .route-hero--compact { min-height: 290px; }
}
@media (min-width: 1024px) {
  .route-hero { min-height: 300px; }
  .route-hero--compact { min-height: 290px; }
}
.route-hero__backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.route-hero__backdrop-inner {
  width: 100%;
  height: 100%;
  background: var(--v-teal-grad);
  position: relative;
  overflow: hidden;
}
.route-hero__map {
  position: absolute;
  top: 64px;
  left: 50%;
  transform: translateX(-30%);
  width: 1024px;
  max-width: none;
  opacity: 0.85;
  pointer-events: none;
}
@media (min-width: 1024px) {
  .route-hero__map {
    top: auto;
    bottom: 0;
    left: 208px;
    transform: none;
    width: min(1024px, 100%);
    max-height: 85%;
    object-fit: contain;
    object-position: left bottom;
  }
}
.route-hero__title-row {
  position: relative;
  z-index: 10;
  padding: 24px 16px 12px;
  text-align: left;
}
@media (min-width: 768px) {
  .route-hero__title-row { padding-top: 16px; }
}
.route-hero__title {
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--v-ink-800);
  text-wrap: balance;
}
@media (min-width: 768px) {
  .route-hero__title { font-size: 30px; font-weight: 500; line-height: 1.2; }
}
.route-hero__content {
  position: relative;
  z-index: 20;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ── Search form ── */
.search-form {
  background: var(--v-white);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  padding: 12px;
  color: var(--v-ink);
}
.search-form__row {
  display: grid;
  gap: 8px;
}
@media (min-width: 1024px) {
  .search-form__row {
    grid-template-columns: 1fr 1fr auto auto auto;
    align-items: end;
    gap: 0;
  }
  .search-form__field { border-right: 1px solid var(--v-line); padding: 8px 14px; }
  .search-form__field:last-of-type { border-right: 0; }
}
.search-form__label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--v-ink-600);
  margin-bottom: 4px;
}
.search-form__value {
  font-size: 15px;
  font-weight: 600;
  color: var(--v-ink-800);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.search-form__date {
  font-size: 15px;
  font-weight: 600;
}
.search-form__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--v-coral);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  border: 0;
  border-radius: var(--radius);
  padding: 16px 28px;
  cursor: pointer;
  width: 100%;
  margin-top: 8px;
  transition: filter 0.15s;
}
.search-form__cta:hover { filter: brightness(1.05); }
@media (min-width: 1024px) {
  .search-form__cta { margin: 8px; width: auto; min-width: 120px; }
}

/* ── Highlighted price (in hero) ── */
.hp { display: none; justify-content: center; }
@media (min-width: 768px) { .hp { display: flex; } }
.hp-card {
  display: flex;
  align-items: stretch;
  background: var(--v-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition: transform 0.2s;
  overflow: hidden;
}
.hp-card:hover { transform: scale(1.03); }
.hp-copy { padding: 12px 16px; text-align: left; }
.hp-label { font-size: 13px; color: var(--v-ink-600); }
.hp-price { font-size: 26px; font-weight: 700; color: var(--v-teal); }
.hp-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--v-coral);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 20px;
}

/* ── Sections ── */
.lp-section { padding: 32px 0; }
.lp-section--gray { background: var(--v-paper); }
.lp-section__head { text-align: center; margin-bottom: 24px; }
.lp-section__head .vir-h2 { margin-bottom: 8px; }

/* Route LP — consistent vertical rhythm */
.route-section {
  padding-block: 48px;
}
@media (min-width: 768px) {
  .route-section { padding-block: 56px; }
}
.route-section--after-hero {
  isolation: isolate;
}

/* Spacing utilities (shared across route components) */
.mb-2 { margin-bottom: 8px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }
.mb-10 { margin-bottom: 40px; }
.mt-2 { margin-top: 8px; }
.mt-8 { margin-top: 32px; }
.my-8 { margin-top: 32px; margin-bottom: 32px; }
.py-8 { padding-top: 32px; padding-bottom: 32px; }
.pt-10 { padding-top: 40px; }
.pb-8 { padding-bottom: 32px; }
.pb-10 { padding-bottom: 40px; }
.bg-gray-50 { background: var(--v-paper); }
.bg-white { background: var(--v-white); }
@media (min-width: 768px) {
  .md\:py-10 { padding-top: 40px; padding-bottom: 40px; }
  .md\:my-10 { margin-top: 40px; margin-bottom: 40px; }
  .md\:mt-10 { margin-top: 40px; }
  .md\:mb-10 { margin-bottom: 40px; }
  .md\:pb-8 { padding-bottom: 32px; }
  .md\:pt-0 { padding-top: 0; }
}
@media (min-width: 1024px) {
  .lg\:scroll-mt-16 { scroll-margin-top: 64px; }
  .lg\:mb-8 { margin-bottom: 32px; }
}

/* ── Calendar cards ── */
.cal-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 768px) { .cal-grid { grid-template-columns: repeat(4, 1fr); } }
.cal-card {
  background: var(--v-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.cal-card__top {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}
.cal-card__icon {
  width: 40px;
  height: 40px;
  background: var(--v-gray-100);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.cal-card__day { font-size: 14px; font-weight: 600; color: var(--v-ink-800); text-align: left; }
.cal-card__price { font-size: 14px; color: var(--v-ink-600); text-align: left; }
.cal-card__btn {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--v-coral);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 12px;
  border-radius: var(--radius);
  border: 0;
}

/* ── Journey ── */
.journey-lead {
  color: var(--v-ink-700);
  line-height: 1.75;
  text-align: justify;
  margin-bottom: 24px;
}
@media (min-width: 1024px) {
  .journey-lead { max-width: 720px; }
}
.journey-grid {
  display: grid;
  gap: 24px;
}
@media (min-width: 1024px) {
  .journey-grid { grid-template-columns: 5fr 7fr; align-items: start; }
}
.journey-panel {
  border: 1px solid var(--v-line);
  border-radius: var(--radius-lg);
  padding: 16px 22px;
}
.journey-table { width: 100%; border-collapse: collapse; }
.journey-table tr { display: flex; justify-content: space-between; padding: 4px 0; border-bottom: 0.4px solid var(--v-line); }
.journey-table tr:last-child { border-bottom: 0; }
.journey-table tr.row-hi {
  background: var(--v-green-bg);
  border: none;
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 16px;
  flex-direction: row;
}
.journey-table th, .journey-table td { font-size: 14px; padding: 0; border: 0; }
.journey-table th { color: var(--v-ink-800); font-weight: 500; text-align: left; flex: 1; }
.journey-table td { font-weight: 600; text-align: right; color: var(--v-teal); }
.journey-table tr:not(.row-hi) th { opacity: 0.5; font-weight: 400; }
.journey-table tr:not(.row-hi) td { font-weight: 400; color: var(--v-ink-800); }
.journey-cta {
  display: block;
  width: 100%;
  margin-top: 16px;
  padding: 20px;
  background: var(--v-coral);
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  text-align: center;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
}
.route-map {
  width: 100%;
  height: 100%;
  min-height: 228px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  border: 0;
  overflow: hidden;
  background: var(--v-gray-100);
  cursor: grab;
}
@media (min-width: 1024px) { .route-map { min-height: 320px; } }
.route-map .maplibregl-map { border-radius: inherit; }
.route-map canvas { outline: none; }

/* Production-style city markers (departure teal, destination coral) with a
   name-label pill and a little pointer aimed at the point. */
.map-selected-label {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 8px;
  color: #fff;
  font-family: "Rubik Variable", Rubik, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.22);
}
.map-selected-label span::first-letter { text-transform: uppercase; }
.map-selected-label:hover { z-index: 100; }
.map-selected-label::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border: 5px solid transparent;
  border-bottom: 0;
}
.map-departure-label { background: #0099a4; }
.map-departure-label::after { border-top-color: #0099a4; }
.map-destination-label { background: #fe6659; }
.map-destination-label::after { border-top-color: #fe6659; }

/* ── Editorial ── */
.editorial { background: var(--v-paper); padding: 32px 0; }
.editorial .cms { max-width: 720px; margin: 0 auto; }
.editorial .cms :is(h2, h3) { font-size: 20px; font-weight: 650; margin-bottom: 12px; }
.editorial .cms p { color: var(--v-ink-600); line-height: 1.6; margin-bottom: 12px; }

/* ── Sample connections ── */
.sample-pills {
  display: flex;
  justify-content: center;
  gap: 16px;
  padding: 20px 0;
  flex-wrap: wrap;
}
.sample-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--v-line);
  border-radius: 999px;
  background: var(--v-white);
  font-weight: 600;
  font-size: 14px;
  color: var(--v-ink-800);
  cursor: pointer;
}
.sample-pill--on {
  background: rgba(0, 187, 101, 0.15);
  border-color: var(--v-green);
}
.conn-card {
  background: var(--v-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  margin-bottom: 16px;
  overflow: hidden;
}
.conn-card__inner { padding: 8px 12px 12px; }
.conn-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.conn-carrier { font-weight: 600; font-size: 14px; color: var(--v-ink-800); }
.conn-price { font-size: 18px; font-weight: 700; color: var(--v-teal-deep); }
.conn-body {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: var(--v-ink-600);
}
.conn-time { font-weight: 600; color: var(--v-ink-800); font-size: 15px; }
.conn-mid { text-align: center; font-size: 12px; color: var(--v-ink-600); }
.conn-station { font-size: 12px; }

/* ── Charts ── */
.chart-section { padding: 32px 0; }
.chart-lead {
  color: var(--v-ink-600);
  text-align: center;
  max-width: 640px;
  margin: 0 auto 24px;
  line-height: 1.6;
  font-size: 16px;
}
.chart-wrap {
  background: linear-gradient(180deg, var(--v-white) 0%, var(--v-paper) 100%);
  border-radius: var(--radius-lg);
  padding: 20px 16px 16px;
  margin-top: 20px;
  margin-bottom: 0;
  border: 1px solid var(--v-line);
  box-shadow:
    0 4px 24px rgba(45, 65, 86, 0.06),
    0 1px 3px rgba(45, 65, 86, 0.04);
}
.chart-svg { width: 100%; height: auto; display: block; }
.chart-label { font-size: 11px; fill: var(--v-ink-600); font-family: system-ui, sans-serif; font-weight: 500; }
.chart-grid { stroke: var(--v-line); stroke-width: 1; stroke-dasharray: 4 4; }
.chart-axis { stroke: var(--v-line); stroke-width: 1; }

/* ── CMS / editorial body copy ── */
.static-content-lp {
  color: var(--v-ink-700);
  text-align: left;
}
.static-content-lp section {
  background: var(--v-white);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
@media (min-width: 768px) {
  .static-content-lp section { padding: 48px; }
}
.static-content-lp p {
  margin-top: 8px;
  font-size: 16px;
  line-height: 1.75;
  text-align: left;
}
.static-content-lp :is(h2, h3, h4) {
  text-align: left;
  color: var(--v-ink-800);
  font-weight: 600;
  margin-top: 24px;
}
.static-content-lp :is(ol, ul) {
  margin-top: 8px;
  padding-left: 1.25rem;
  text-align: left;
}
.section-lead {
  color: var(--v-ink-600);
  font-size: 16px;
  line-height: 1.75;
  text-align: left;
}
.text-left { text-align: left; }

/* ── FAQ (legacy helpers; accordion lives in RouteFaq.astro) ── */
.faq-section { background: var(--v-paper); }

/* ── CO2 / facilities tables ── */
.data-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--v-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  font-size: 14px;
}
.data-table th, .data-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--v-line);
  text-align: left;
}
.data-table td:last-child { text-align: right; font-weight: 600; }

/* ── Destination LP tables & interlinking ── */
.table-scroll {
  overflow-x: auto;
  box-shadow: var(--shadow-card);
  border-radius: var(--radius);
}
.dest-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  background: var(--v-white);
  color: var(--v-ink);
}
.dest-table th {
  background: var(--v-gray-100);
  color: var(--v-ink-800);
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  border-bottom: 1px solid var(--v-line);
}
.dest-table td {
  padding: 1rem;
  border-top: 1px solid var(--v-line);
  color: var(--v-ink-700);
}
.dest-table__alt td {
  background: var(--v-zebra);
}
.dest-route-link {
  color: var(--v-teal-deep);
  font-weight: 500;
  text-decoration: none;
}
.dest-route-link:hover {
  text-decoration: underline;
}
.dest-book-btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--v-teal);
  color: #fff;
  border-radius: var(--radius);
  font-weight: 500;
  text-decoration: none;
}
.dest-book-btn:hover {
  background: var(--v-teal-deep);
}

.dest-city-text__body :is(h2, h3) {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 1.5rem 0 0.75rem;
  color: var(--v-ink-800);
}
.dest-city-text__body p {
  margin-bottom: 1rem;
  line-height: 1.625;
  color: var(--v-ink-600);
}
.dest-city-text__body :is(strong, b) {
  color: var(--v-ink-800);
}
.dest-city-text__body [style*="color"] {
  color: var(--v-ink-600) !important;
}

.dest-interlink-block {
  margin-bottom: 2rem;
}
.dest-interlink-title {
  font-size: 1.25rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--v-ink-800);
}
.dest-interlink-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
  justify-content: center;
}
.dest-interlink-list a {
  color: var(--v-teal);
  text-decoration: none;
  font-size: 0.9375rem;
}
.dest-interlink-list a:hover {
  color: var(--v-teal-deep);
  text-decoration: underline;
}

.sustain-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}
.sustain-card {
  text-align: center;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--v-ink-700);
}
.sustain-card__body {
  margin-top: 0.5rem;
  padding: 1rem;
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.sustain-card__score {
  font-size: 1.5rem;
  font-weight: 600;
}

/* ── Prefooter (light top-routes band — separate from dark site footer) ── */
.hp-prefooter {
  background: var(--v-paper);
  border-top: 1px solid var(--v-line);
}
.hp-prefooter__inner {
  display: grid;
  gap: 16px 28px;
  padding: 16px;
}
@media (min-width: 1024px) {
  .hp-prefooter__inner { grid-template-columns: repeat(3, 1fr); }
}
.hp-prefooter__heading {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 650;
  color: var(--v-ink-800);
  margin: 0 0 6px;
}
.hp-prefooter__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 2px 14px;
}
.hp-prefooter__links a {
  display: inline;
  padding: 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--v-ink-700);
  text-decoration: none;
  transition: color 0.15s ease;
}
.hp-prefooter__links a:hover {
  color: var(--v-teal);
}
.hp-prefooter__spacer { height: 1px; }

/* ── Site footer (dark band — not the light prefooter above) ── */
.site-footer.site-footer--shell {
  --footer-bg: #0c2836;
  --footer-bg-deep: #071820;
  --footer-line: rgba(255, 255, 255, 0.1);
  --footer-ink: #e8eef2;
  --footer-ink-soft: #a8b8c4;
  --footer-heading: #7f96a8;
  --footer-accent: #3ecfd8;
  position: relative;
  overflow: hidden;
  color: var(--footer-ink);
  font-family: var(--v-font, "Rubik Variable", system-ui, sans-serif);
  background: linear-gradient(180deg, var(--footer-bg) 0%, var(--footer-bg-deep) 100%);
}
.site-footer.site-footer--shell::before,
.site-footer.site-footer--shell::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.site-footer.site-footer--shell::before {
  opacity: 0.22;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.09) 1px, transparent 0);
  background-size: 32px 32px;
}
.site-footer.site-footer--shell::after {
  background:
    radial-gradient(ellipse 50% 40% at 92% 8%, rgba(0, 153, 164, 0.14), transparent 55%),
    radial-gradient(ellipse 45% 35% at 6% 92%, rgba(0, 187, 101, 0.08), transparent 50%);
}

.site-footer {
  position: relative;
  z-index: 1;
}
.site-footer__top {
  position: relative;
  z-index: 1;
  padding: 44px 16px 36px;
}
.site-footer__grid {
  display: grid;
  gap: 32px 28px;
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 640px) {
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .site-footer__grid {
    grid-template-columns: minmax(220px, 1.35fr) repeat(3, minmax(148px, 1fr));
    gap: 40px 36px;
  }
}
.site-footer__brand {
  grid-column: 1 / -1;
}
@media (min-width: 1024px) {
  .site-footer__brand { grid-column: auto; max-width: 300px; }
}
.site-footer__logo { height: 30px; width: auto; display: block; }
.site-footer__tagline {
  margin: 14px 0 0;
  max-width: 300px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--footer-ink-soft);
}
.site-footer__col h2 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 12px;
  color: var(--footer-heading);
}
.site-footer__col--wide .site-footer__links {
  display: grid;
  gap: 2px 20px;
}
@media (min-width: 480px) {
  .site-footer__col--wide .site-footer__links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.site-footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.site-footer__links li { margin: 0; }
.site-footer__links a {
  display: inline-block;
  padding: 4px 0;
  color: var(--footer-ink-soft);
  font-family: inherit;
  font-size: 14px;
  line-height: 1.45;
  text-decoration: none;
  transition: color 0.15s ease;
}
.site-footer__links a:hover { color: #fff; text-decoration: underline; }
.site-footer__links a:focus-visible {
  outline: 2px solid var(--footer-accent);
  outline-offset: 2px;
  border-radius: 4px;
}
.site-footer__cookie {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--footer-line);
}
.site-footer__cookie-btn {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  margin: 0;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--footer-ink);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.site-footer__cookie-btn:hover {
  color: #fff;
  background: rgba(0, 153, 164, 0.16);
  border-color: rgba(62, 207, 216, 0.35);
}
.site-footer__cookie-btn:focus-visible {
  outline: 2px solid var(--footer-accent);
  outline-offset: 2px;
}
.site-footer__bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--footer-line);
  background: rgba(0, 0, 0, 0.18);
  color: var(--footer-ink-soft);
  padding: 16px;
  font-size: 13px;
}
.site-footer__bottom-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.site-footer__version {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: #dbeafe;
  font-family: ui-monospace, monospace;
  background: rgba(99, 102, 241, 0.22);
  border: 1px solid rgba(129, 140, 248, 0.4);
  border-radius: 999px;
  padding: 3px 10px;
  letter-spacing: 0.02em;
}

@media (prefers-reduced-motion: reduce) {
  .site-footer__cookie-btn { transition: none; }
}
.breadcrumb {
  text-align: center;
  font-size: 13px;
  color: var(--v-ink-600);
  padding: 12px 0;
  background: var(--v-white);
}
.breadcrumb a { color: var(--v-teal); font-weight: 600; }

/* ── Production class aliases (virail-astro parity) ── */
.prod-main { background: var(--v-white); }
.bg-gray-50 { background: var(--v-paper); }
.text-virail-gray-600 { color: var(--v-ink-600); }
.text-virail-gray-800 { color: var(--v-ink-800); }
.text-virail-green-500 { color: #00bb65; }
.text-virail-default, .text-virail-500 { color: var(--v-teal); }

/* PA login card is always a light surface; site dark theme remaps .bg-white /
   .text-virail-gray-* via CSS vars and would make form text/buttons unreadable. */
#login-modal {
  color-scheme: light;
  --v-ink: #1f2328;
  --v-ink-700: #6a6a6a;
  --v-ink-600: #6a6a6a;
  --v-ink-800: #1f2328;
  --v-white: #ffffff;
  --v-paper: #f7f8f8;
  --v-line: #e5e7eb;
  --v-gray-100: #f3f4f6;
  color: var(--v-ink);
}
/* /user/personal-area — login-only chrome (no navbar/site footer). */
body.pa-account-page .prod-main {
  min-height: 100vh;
}
body.pa-account-page #login-modal {
  min-height: 100vh;
}
.virail-container {
  max-width: 1280px; margin: 0 auto; padding-left: 16px; padding-right: 16px; width: 100%;
}
.virail-container-lgmax {
  max-width: 1024px; margin: 0 auto; padding-left: 16px; padding-right: 16px; width: 100%;
}
.virail-container-800max {
  max-width: 800px; margin: 0 auto; padding-left: 16px; padding-right: 16px; width: 100%;
}
.scrollbar-hidden::-webkit-scrollbar { display: none; }
.scrollbar-hidden { -ms-overflow-style: none; scrollbar-width: none; }

/* ── Anchor offset so the sticky jump-nav never covers a section heading ── */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
.route-section { scroll-margin-top: 68px; }

/* ── Key-facts band (RouteKeyFacts) — the at-a-glance answer under the hero ── */
.route-keyfacts { padding-block: 22px; }
@media (min-width: 768px) { .route-keyfacts { padding-block: 28px; } }
.kf-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 640px) { .kf-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) {
  .kf-grid[data-count="4"] { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .kf-grid[data-count="5"] { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
.kf-tile {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  background: var(--v-white);
  border: 1px solid var(--v-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
.kf-ico {
  flex: none; width: 40px; height: 40px; border-radius: 11px;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--v-teal) 12%, transparent);
  color: var(--v-teal);
}
.kf-ico svg { width: 20px; height: 20px; }
.kf-body { display: flex; flex-direction: column; min-width: 0; gap: 3px; }
.kf-label { font-size: 12.5px; font-weight: 500; color: var(--v-ink-600); }
.kf-value {
  font-size: 19px; font-weight: 700; line-height: 1.1;
  color: var(--v-ink-800); font-variant-numeric: tabular-nums;
}
.kf-sub { font-size: 11px; font-weight: 500; color: var(--v-ink-600); margin-right: 4px; }
.kf-tile--price .kf-value { color: var(--v-teal); }

/* Dual-currency route fares (source currency + local hint). */
.route-price { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.route-price--inline,
.route-price--keyfact,
.route-price--sample,
.route-price--live { display: inline-flex; }
.route-price__primary { font: inherit; color: inherit; font-variant-numeric: tabular-nums; }
.route-price__local {
  font-size: 0.72em;
  font-weight: 600;
  line-height: 1.15;
  color: var(--v-ink-600);
  font-variant-numeric: tabular-nums;
}
.route-price--calendar .route-price__primary { font-size: 25px; font-weight: 700; line-height: 1.1; }
.route-price--calendar .route-price__local { font-size: 12px; }
.route-price--sample .route-price__local,
.route-price--live .route-price__local { font-size: 11px; }
.kf-tile--price .route-price__local { font-size: 12px; font-weight: 600; color: var(--v-ink-600); }

.kf-tile--eco .kf-ico { background: var(--v-green-bg); color: var(--v-green); }

/* ── Price intelligence (RoutePriceInsight) — seasonal + advance-purchase tips ── */
.pi-grid {
  display: grid; gap: 14px; margin-top: 18px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .pi-grid { grid-template-columns: 1fr 1fr; } }
.pi-card {
  background: var(--v-white);
  border: 1px solid var(--v-line);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-card);
}
.pi-card__head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.pi-ico { flex: none; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; }
.pi-ico svg { width: 19px; height: 19px; }
.pi-card--save .pi-ico { background: var(--v-green-bg); color: var(--v-green); }
.pi-card--season .pi-ico { background: color-mix(in srgb, var(--v-coral) 15%, transparent); color: var(--v-coral); }
.pi-card__title { font-size: 16px; font-weight: 650; color: var(--v-ink-800); margin: 0; }
.pi-badge {
  margin-left: auto; font-size: 12px; font-weight: 700;
  padding: 4px 11px; border-radius: 999px; white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.pi-badge--save { background: var(--v-green-bg); color: var(--v-green); }
.pi-badge--swing { background: color-mix(in srgb, var(--v-coral) 15%, transparent); color: var(--v-coral); }
.pi-card__body { font-size: 15px; line-height: 1.6; color: var(--v-ink-700); margin: 0; }
.pi-card__body strong { font-weight: 700; color: var(--v-ink-800); font-variant-numeric: tabular-nums; }
.pi-card__body strong.pi-num--low { color: var(--v-green); }
.pi-card__body strong.pi-num--high { color: var(--v-coral); }
.pi-card__foot { font-size: 12px; color: var(--v-ink-600); margin: 10px 0 0; }
.pi-card--yoy-down .pi-ico { background: var(--v-green-bg); color: var(--v-green); }
.pi-card--yoy-up .pi-ico { background: color-mix(in srgb, var(--v-coral) 15%, transparent); color: var(--v-coral); }
.pi-badge--yoy-down { background: var(--v-green-bg); color: var(--v-green); }
.pi-badge--yoy-up { background: color-mix(in srgb, var(--v-coral) 15%, transparent); color: var(--v-coral); }

.pi-hist-statements {
  margin: 0 0 22px;
  padding: 16px 18px;
  background: color-mix(in srgb, var(--v-ink-800) 2.5%, transparent);
  border: 1px solid var(--v-line);
  border-radius: var(--radius-lg);
}
.pi-hist-statements__title {
  margin: 0 0 4px; font-size: 16px; font-weight: 650; color: var(--v-ink-800);
}
.pi-hist-statements__lead {
  margin: 0 0 12px; font-size: 13px; line-height: 1.45; color: var(--v-ink-600);
}
.pi-hist-statements__p {
  margin: 0 0 10px; font-size: 14.5px; line-height: 1.55; color: var(--v-ink-800);
  max-width: 52rem;
}
.pi-hist-statements__p:last-child { margin-bottom: 0; }

/* YoY monthly comparison — HTML table for SEO/AEO + responsive scroll on narrow viewports */
.pi-yoy-panel {
  margin-top: 22px;
  background: var(--v-white);
  border: 1px solid var(--v-line);
  border-radius: var(--radius-lg);
  padding: 20px 18px 16px;
  box-shadow: var(--shadow-card);
}
.pi-yoy-panel__title {
  font-size: 17px; font-weight: 650; color: var(--v-ink-800); margin: 0 0 6px;
}
.pi-yoy-panel__lead {
  font-size: 14px; line-height: 1.5; color: var(--v-ink-600); margin: 0 0 14px;
}
.pi-yoy-howto {
  display: flex; gap: 10px; align-items: flex-start;
  margin: 0 0 18px; padding: 12px 14px;
  background: color-mix(in srgb, var(--v-teal) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--v-teal) 22%, transparent);
  border-radius: var(--radius-md, 10px);
}
.pi-yoy-howto__ico {
  flex: 0 0 auto; width: 22px; height: 22px; color: var(--v-teal-deep);
  margin-top: 1px;
}
.pi-yoy-howto__ico svg { width: 100%; height: 100%; display: block; }
.pi-yoy-howto__body {
  margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--v-ink-800);
}
.pi-yoy-spotlight {
  margin: 0 0 16px; padding: 12px 14px;
  border-radius: var(--radius-md, 10px);
  font-size: 14px; font-weight: 650; line-height: 1.45;
  color: var(--v-ink-800);
}
.pi-yoy-spotlight--down {
  background: var(--v-green-bg);
  border: 1px solid color-mix(in srgb, var(--v-green) 28%, transparent);
}
.pi-yoy-spotlight--up {
  background: color-mix(in srgb, var(--v-coral) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--v-coral) 28%, transparent);
}
.pi-yoy-chart { margin: 0 0 18px; }
.pi-yoy-chart__label {
  margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: 0.03em;
  text-transform: uppercase; color: var(--v-ink-600);
}
.pi-yoy-legend {
  list-style: none; margin: 0 0 10px; padding: 0;
  display: flex; flex-wrap: wrap; gap: 8px 14px;
}
.pi-yoy-legend__item {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 650; color: var(--v-ink-800);
  font-variant-numeric: tabular-nums;
}
.pi-yoy-legend__swatch {
  width: 28px; height: 8px; flex: 0 0 auto; display: block;
}
.pi-yoy-legend__tag {
  font-size: 10px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--v-teal-deep);
  background: color-mix(in srgb, var(--v-teal) 14%, transparent);
  border-radius: 999px; padding: 2px 7px;
}
.pi-yoy-chart__svg { margin-top: 4px; }
.pi-yoy-table-label {
  margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: 0.03em;
  text-transform: uppercase; color: var(--v-ink-600);
}
.pi-yoy-panel__foot {
  font-size: 12px; color: var(--v-ink-600); margin: 12px 0 0;
}
.pi-yoy-stats {
  list-style: none; margin: 0 0 16px; padding: 0;
  display: grid; gap: 10px;
  grid-template-columns: 1fr 1fr;
}
@media (min-width: 640px) {
  .pi-yoy-stats { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 960px) {
  .pi-yoy-stats { grid-template-columns: repeat(5, 1fr); }
}
.pi-yoy-stats li {
  background: color-mix(in srgb, var(--v-ink-800) 3%, transparent);
  border-radius: var(--radius-md, 10px);
  padding: 10px 12px;
  min-width: 0;
}
.pi-yoy-stats__k {
  display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.02em;
  text-transform: uppercase; color: var(--v-ink-600); margin-bottom: 4px;
}
.pi-yoy-stats__v {
  display: block; font-size: 15px; font-weight: 700; color: var(--v-ink-800);
  font-variant-numeric: tabular-nums; line-height: 1.25;
}
.pi-yoy-stats__v--down { color: var(--v-green); }
.pi-yoy-stats__v--up { color: var(--v-coral); }
.pi-yoy-stats__vs { font-weight: 500; color: var(--v-ink-600); font-size: 13px; }
.pi-yoy-table-wrap {
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  border: 1px solid var(--v-line); border-radius: var(--radius-md, 10px);
  outline: none;
}
.pi-yoy-table-wrap:focus-visible { box-shadow: var(--focus, 0 0 0 3px color-mix(in srgb, var(--v-coral) 35%, transparent)); }
.pi-yoy-table {
  width: 100%; min-width: 320px; border-collapse: collapse;
  font-size: 14px; font-variant-numeric: tabular-nums;
}
.pi-yoy-table th, .pi-yoy-table td {
  padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--v-line);
  white-space: nowrap;
}
.pi-yoy-table thead th {
  font-size: 11px; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase;
  color: var(--v-ink-600); background: color-mix(in srgb, var(--v-ink-800) 3.5%, transparent);
}
.pi-yoy-table tbody th {
  font-weight: 650; color: var(--v-ink-800);
}
.pi-yoy-table tbody tr:last-child th,
.pi-yoy-table tbody tr:last-child td { border-bottom: 0; }
.pi-yoy-table tbody tr:nth-child(even) { background: color-mix(in srgb, var(--v-ink-800) 1.5%, transparent); }
.pi-yoy-th-change { white-space: nowrap; }
.pi-yoy-th-latest {
  color: var(--v-teal-deep) !important;
}
.pi-yoy-th-note {
  display: block; font-size: 9px; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--v-teal); margin-top: 2px;
}
.pi-yoy-th-vs {
  display: block; font-size: 10px; font-weight: 600; letter-spacing: 0.02em;
  text-transform: none; color: var(--v-ink-600); margin-top: 2px;
  font-variant-numeric: tabular-nums;
}
.pi-yoy-td-latest { font-weight: 700; color: var(--v-ink-800); }
.pi-yoy-cell {
  display: flex; flex-direction: column; align-items: flex-start; gap: 3px;
  min-width: 4.5rem;
}
.pi-yoy-cell__price {
  font-variant-numeric: tabular-nums; font-weight: 650; color: var(--v-ink-800);
}
.pi-yoy-cell__delta {
  font-size: 11px; font-weight: 700; font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em; line-height: 1.2;
  padding: 1px 6px; border-radius: 999px;
}
.pi-yoy-cell__delta--down {
  color: var(--v-green); background: var(--v-green-bg);
}
.pi-yoy-cell__delta--up {
  color: var(--v-coral);
  background: color-mix(in srgb, var(--v-coral) 14%, transparent);
}
.pi-yoy-cell__delta--flat {
  color: var(--v-ink-600); background: color-mix(in srgb, var(--v-ink-800) 6%, transparent);
  font-weight: 600;
}
.pi-yoy-delta {
  display: inline-flex; align-items: center; gap: 4px;
  font-weight: 700;
  font-size: 0.92em;
  letter-spacing: 0.01em;
  padding: 3px 8px;
  border-radius: 999px;
  line-height: 1.2;
}
.pi-yoy-delta__ico { width: 14px; height: 14px; flex: 0 0 auto; }
.pi-yoy-delta--down {
  color: var(--v-green);
  background: var(--v-green-bg);
}
.pi-yoy-delta--up {
  color: var(--v-coral);
  background: color-mix(in srgb, var(--v-coral) 14%, transparent);
}
.pi-yoy-delta--flat { color: var(--v-ink-600); font-weight: 500; background: transparent; padding-left: 0; }
.pi-yoy-panel__caption {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--v-ink-600);
  max-width: 52rem;
}
@media (prefers-reduced-motion: reduce) {
  .pi-yoy-delta { transition: none; }
}
@media (max-width: 479px) {
  .pi-yoy-panel { padding: 16px 12px 12px; }
  .pi-yoy-table th, .pi-yoy-table td { padding: 9px 10px; font-size: 13px; }
}

.route-jumpnav {
  position: sticky; top: 0; z-index: 30;
  /* Opaque + a hairline ABOVE separates the bar from the hero (so it no longer
     reads as the hero's toolbar); the soft downward shadow separates it from the
     content while it's pinned. */
  background: var(--v-white);
  border-top: 1px solid var(--v-line);
  box-shadow: 0 6px 14px -8px rgba(0, 0, 0, 0.18);
}
.jn-track {
  list-style: none; margin: 0; padding: 9px 16px;
  display: flex; gap: 8px; overflow-x: auto;
  -ms-overflow-style: none; scrollbar-width: none;
}
.jn-track::-webkit-scrollbar { display: none; }
.jn-chip {
  flex: none; display: inline-flex; align-items: center;
  min-height: 36px; padding: 7px 14px;
  border-radius: 999px; border: 1px solid var(--v-line);
  background: var(--v-white);
  font-size: 14px; font-weight: 500; color: var(--v-ink-700);
  white-space: nowrap; text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.jn-chip:hover { background: color-mix(in srgb, var(--v-teal) 9%, transparent); color: var(--v-teal-deep); }
.jn-chip[aria-current="true"] { background: var(--v-teal); border-color: var(--v-teal); color: #fff; }
.jn-chip:focus-visible { outline: 2px solid var(--v-teal); outline-offset: 2px; }

/* Journey prod table */
#journey-details .journey-table-prod tr.row-hi td { color: var(--v-teal); font-weight: 600; cursor: pointer; }
.journey-table-prod { width: 100%; }
.journey-table-prod tr { display: flex; justify-content: space-between; padding: 4px 0; border-bottom: 0.4px solid var(--v-line); }
.journey-table-prod tr.row-hi { background: var(--v-green-bg); border: none; border-radius: 8px; padding: 16px; margin-bottom: 16px; }
.journey-table-prod th { font-size: 14px; font-weight: 500; text-align: left; flex: 1; }
.journey-table-prod td { font-size: 16px; text-align: right; flex: 1; }
.journey-table-prod tr:not(.row-hi) th { opacity: 0.5; font-weight: 400; }
.journey-table-prod tr:not(.row-hi) td { font-weight: 400; color: var(--v-ink-800); }
.virail-cta-button { background: var(--v-coral); border: 0; cursor: pointer; }

/* Facilities prod table */
#facilities-table { width: 100%; border-collapse: collapse; margin-top: 40px; min-width: 520px; }
#facilities-table thead tr { background: var(--v-paper); border-bottom: 1px solid var(--v-line); }
#facilities-table th,
#facilities-table td {
  padding: 16px;
  font-size: 14px;
  line-height: 1.45;
  text-align: center;
  vertical-align: middle;
}
#facilities-table th:first-child,
#facilities-table td:first-child { text-align: left; min-width: 180px; }
#facilities-table th:not(:first-child),
#facilities-table td:not(:first-child) { min-width: 110px; }
#facilities-table tbody tr:nth-child(odd) { background: var(--v-white); }
#facilities-table tbody tr:nth-child(even) { background: var(--v-paper); }
.fac-name {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  color: var(--v-ink-800);
}
.fac-name__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}
.fac-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.fac-status img {
  display: block;
  width: 25px;
  height: 24px;
}

/* CO2 grid */
.co2-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.co2-card { background: var(--v-green-bg); border-radius: 8px; padding: 12px 24px; text-align: left; }
.co2-card span:first-child { display: block; font-weight: 500; opacity: 0.7; margin-bottom: 8px; }
.co2-card .co2-val { color: var(--v-green); font-weight: 600; }
.co2-faq-block { background: var(--v-paper); border-radius: 8px; padding: 16px 24px; margin-top: 16px; }

/* Interlinking — Omio-inspired grouped hub */
.interlink-hub__head {
  text-align: left;
  margin-bottom: 32px;
  max-width: 720px;
}
.interlink-hub__head .vir-h2 {
  margin: 0 0 10px;
}
.interlink-hub__head .section-lead {
  margin: 0;
  max-width: none;
}
@media (min-width: 768px) {
  .interlink-hub__head { margin-bottom: 40px; }
}
.interlink-hub__columns {
  display: grid;
  gap: 28px;
}
@media (min-width: 1024px) {
  .interlink-hub__columns {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
  }
}
.interlink-hub__group-title {
  font-size: 20px;
  font-weight: 650;
  color: var(--v-ink-800);
  margin: 0 0 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--v-teal);
  text-align: left;
}
@media (min-width: 768px) {
  .interlink-hub__group-title { font-size: 22px; }
}
.interlink-block {
  background: var(--v-white);
  border: 1px solid var(--v-line);
  border-radius: var(--radius-lg);
  padding: 18px 16px;
  margin-bottom: 14px;
  box-shadow: 0 1px 4px rgba(45, 65, 86, 0.05);
}
.interlink-block:last-child { margin-bottom: 0; }
.interlink-block__title {
  font-size: 15px;
  font-weight: 600;
  color: var(--v-ink-800);
  margin: 0 0 12px;
  text-align: left;
  line-height: 1.35;
}
.interlink-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}
@media (min-width: 480px) {
  .interlink-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .interlink-hub__group .interlink-grid { grid-template-columns: 1fr; }
}
.interlink-link {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
  padding: 12px 14px;
  border-radius: 8px;
  background: var(--v-paper);
  color: var(--v-teal-deep);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.interlink-link:hover {
  background: rgba(0, 153, 164, 0.1);
  color: var(--v-teal);
  box-shadow: 0 1px 3px rgba(0, 153, 164, 0.12);
}
.interlink-link__icon {
  flex-shrink: 0;
  font-size: 15px;
  line-height: 1.35;
  margin-top: 1px;
}
.interlink-link__body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.interlink-link__text {
  font-weight: 600;
  color: var(--v-teal-deep);
  line-height: 1.35;
}
.interlink-link:hover .interlink-link__text {
  color: var(--v-teal);
}
.interlink-link__meta {
  font-size: 12px;
  font-weight: 500;
  color: var(--v-ink-600);
  line-height: 1.35;
}

/* Carriers tabs */
.carrier-tabs {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  margin: 24px 0 0;
  padding-bottom: 8px;
  width: 100%;
  justify-content: flex-start;
}
#carriers-module .carrier-tabs { margin: 24px 0; }
.carrier-tab { padding: 10px 20px; border-radius: 8px; border: 1px solid var(--v-line); background: var(--v-white); cursor: pointer; white-space: nowrap; font-weight: 600; }
.carrier-tab--on { background: var(--v-teal); color: #fff; border-color: var(--v-teal); }
/* Match production: description spans the container width, left-aligned — its
   left edge lines up with the tabs + container padding (was a centered 720px
   column that floated out of alignment with the rest of the section). */
.carrier-panel { display: none; width: 100%; text-align: left; color: var(--v-ink-600); font-size: 16px; line-height: 1.8; }
.carrier-panel--on { display: block; }
.carrier-panel p { margin: 0; text-align: left; }
.carrier-panel p + p { margin-top: 12px; }

/* Sample connection prod timeline */
.conn-timeline { display: flex; margin-top: 8px; }
.conn-timeline-rail { display: flex; flex-direction: column; align-items: center; width: 16px; margin-right: 4px; }
.conn-timeline-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--v-ink-600); }
.conn-timeline-dot--end { background: var(--v-teal); }
.conn-timeline-line { width: 2px; flex: 1; min-height: 23px; background: repeating-linear-gradient(to bottom, #515151 0 2px, transparent 2px 4px); }
.conn-row { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.conn-row .conn-time-col { width: 56px; font-weight: 600; color: var(--v-ink-800); }
.conn-row .conn-station-col { font-size: 12px; color: var(--v-ink-600); }
.conn-co2 { display: inline-flex; align-items: center; gap: 4px; color: var(--v-green); font-size: 14px; }
.conn-leaf { width: 14px; height: 14px; flex: none; }

/* ── Sample-connection cards — SRP result-card style (carrier head · aligned
      timeline · price · mode/stops foot), ported to lp-web tokens. ── */
.sc-card {
  background: var(--v-white);
  border: 1px solid var(--v-line);
  border-radius: var(--radius-lg);
  padding: 12px 14px 10px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.sc-card:hover { border-color: var(--v-teal); box-shadow: 0 2px 10px rgba(0, 117, 126, 0.08); }
.sc-card + .sc-card { margin-top: 12px; }

.sc-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.sc-carrier { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; font-size: 13.5px; color: var(--v-ink-800); }
.sc-mode svg { width: 18px; height: 18px; color: var(--v-teal); display: block; }
.sc-co2 { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; color: var(--v-green); white-space: nowrap; }
.sc-co2 svg { width: 14px; height: 14px; flex: none; }

.sc-body { display: flex; align-items: center; gap: 14px; }
.sc-tl { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.sc-row { display: flex; align-items: center; gap: 10px; }
.sc-time { width: 54px; flex-shrink: 0; font-size: 19px; font-weight: 750; font-variant-numeric: tabular-nums; color: var(--v-ink-800); }
.sc-slot { width: 54px; flex-shrink: 0; }
.sc-dot { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--v-teal); flex-shrink: 0; box-sizing: border-box; }
.sc-dot-end { background: var(--v-teal); }
.sc-name { font-size: 13px; color: var(--v-ink-600); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sc-mid { min-height: 22px; }
.sc-bar { width: 10px; display: flex; justify-content: center; align-self: stretch; flex-shrink: 0; margin: -6px 0; }
.sc-bar::before { content: ""; width: 2px; background: var(--v-line); border-radius: 1px; }
.sc-dur {
  font-variant-numeric: tabular-nums; font-size: 11px; font-weight: 600;
  color: var(--v-ink-600); background: var(--v-paper);
  border: 1px solid var(--v-line); border-radius: 999px; padding: 1px 9px;
}
.sc-price { flex-shrink: 0; font-size: 18px; font-weight: 750; font-variant-numeric: tabular-nums; color: var(--v-ink-800); }

.sc-foot { display: flex; align-items: center; gap: 8px; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--v-line); }
.sc-foot-mode svg { width: 17px; height: 17px; color: var(--v-ink-600); display: block; }
.sc-stops {
  display: inline-flex; align-items: center; gap: 5px;
  border: 1px solid var(--v-line); border-radius: 999px; padding: 3px 11px;
  font-size: 12.5px; font-weight: 600; color: var(--v-ink-600);
}
@media (max-width: 767px) {
  .sc-time { width: 46px; font-size: 17px; }
  .sc-slot { width: 46px; }
  .sc-price { font-size: 17px; }
}

/* Dev JSON panel */
.lp-dev-json {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 9999;
  max-height: 45vh; background: #1e1e1e; color: #d4d4d4;
  border-top: 3px solid #f59e0b; box-shadow: 0 -8px 24px rgba(0,0,0,0.35);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
}
.lp-dev-json__details { margin: 0; }
.lp-dev-json__summary {
  display: flex; align-items: center; gap: 12px; padding: 10px 16px;
  cursor: pointer; list-style: none; background: #2d2d2d; user-select: none;
}
.lp-dev-json__summary::-webkit-details-marker { display: none; }
.lp-dev-json__title { font-weight: 700; color: #fbbf24; }
.lp-dev-json__hint { color: #9ca3af; font-size: 11px; }
.lp-dev-json__toolbar { display: flex; gap: 8px; padding: 8px 16px; border-bottom: 1px solid #404040; }
.lp-dev-json__btn {
  padding: 4px 10px; border: 1px solid #525252; border-radius: 4px;
  background: #374151; color: #f3f4f6; cursor: pointer; font-size: 11px;
}
.lp-dev-json__btn:hover { background: #4b5563; }
.lp-dev-json__pre {
  margin: 0; padding: 12px 16px; overflow: auto; max-height: calc(45vh - 88px);
  white-space: pre; line-height: 1.45;
}

/* ─────────────────────────────────────────────────────────────────────────
   Tier-driven layout variety — see src/lib/route-tier.ts.
   `data-density` on .route-body (lean | standard | rich) tunes the vertical
   rhythm and banding so flagship routes feel like a rich editorial page while
   sparse routes stay tight and utilitarian. Section ORDER differs per tier in
   the markup; this adds the visual differentiation.
   ───────────────────────────────────────────────────────────────────────── */

/* Sparse tier: tighter rhythm, flat — quick answers, no padded emptiness. */
.route-body[data-density="lean"] .route-section { padding-block: 32px; }
@media (min-width: 768px) {
  .route-body[data-density="lean"] .route-section { padding-block: 40px; }
}

/* Flagship tier: generous rhythm + alternating paper bands (magazine feel). */
.route-body[data-density="rich"] .route-section { padding-block: 56px; }
@media (min-width: 768px) {
  .route-body[data-density="rich"] .route-section { padding-block: 72px; }
}
/* Subtle zebra: alternate sections so the page isn't one flat block. */
.route-body > *:nth-child(even) { background: var(--v-zebra); }

/* Hero: price variant leans on the highlighted-price treatment; compact is the
   short sparse hero (defined above); standard is the default. */
.route-hero--price .route-hero__title { max-width: 22ch; }

/* Search form lives inside the teal hero, directly under the H1. */
.route-hero__content { padding-top: 4px; padding-bottom: 8px; align-items: flex-start; }
.route-hero__content .hp-search { width: 100%; }

/* ── International hub (intercountry) ── */
.hub-inter-wrap {
  padding-block: 0;
  background: var(--v-white);
}

/* ── Hub insights map ── */
.hub-insights {
  margin-bottom: 36px;
  padding: 24px;
  border-radius: 20px;
  border: 1px solid var(--v-line);
  background: var(--v-paper);
}
.hub-insights__grid {
  display: grid;
  gap: 24px;
}
@media (min-width: 900px) {
  .hub-insights__grid {
    grid-template-columns: 1fr minmax(200px, 240px);
    align-items: start;
  }
}
.hub-insights__title {
  margin: 0 0 8px;
  font-size: 1.125rem;
  font-weight: 650;
  color: var(--v-ink-800);
}
.hub-insights__lead {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--v-ink-600);
  max-width: 52ch;
}
.hub-insights__figure {
  margin: 0;
}
.hub-insights__svg {
  width: 100%;
  height: auto;
  min-height: 220px;
  aspect-ratio: 1000 / 680;
  display: block;
  border-radius: 14px;
  border: 1px solid var(--v-line);
  background: #e8f6f8;
}
.hub-insights__arc {
  stroke: rgba(0, 105, 113, 0.28);
  stroke-linecap: round;
}
.hub-insights__arc--hi {
  stroke: var(--v-teal, #0099a4);
  stroke-width: 2.5;
}
.hub-insights__dot {
  fill: var(--v-white);
  stroke: rgba(0, 105, 113, 0.45);
  stroke-width: 2;
}
.hub-insights__dot--home {
  fill: var(--v-teal, #0099a4);
  stroke: var(--v-white);
  stroke-width: 2.5;
}
.hub-insights__label {
  font-size: 10px;
  font-weight: 700;
  fill: var(--v-ink-600, #4b5563);
  font-family: system-ui, sans-serif;
}
.hub-insights__caption {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 12px;
  font-size: 13px;
  color: var(--v-ink-600);
}
.hub-insights__legend {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hub-insights__swatch {
  width: 20px;
  height: 3px;
  border-radius: 2px;
  background: rgba(0, 105, 113, 0.35);
}
.hub-insights__swatch--hi {
  background: var(--v-teal, #0099a4);
  height: 4px;
}
.hub-insights__stats {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.hub-insights__stat {
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--v-white);
  border: 1px solid var(--v-line);
}
.hub-insights__stat-val {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--v-teal-deep, #006971);
  line-height: 1.1;
}
.hub-insights__stat-label {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--v-ink-600);
}

.hub-inter-ed-chunk {
  margin: 28px 0 32px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--v-line);
}
.hub-inter-ed-chunk:last-child {
  border-bottom: 0;
}

.hub-inter__block {
  margin-bottom: 40px;
}
.hub-inter__block-head {
  margin-bottom: 20px;
  max-width: 720px;
}
.hub-inter__block-title {
  margin: 0 0 8px;
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  font-weight: 650;
  color: var(--v-ink-800);
  letter-spacing: -0.02em;
}
.hub-inter__block-lead {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--v-ink-600);
}

.hub-inter {
  padding: 40px 16px 64px;
}
@media (min-width: 768px) {
  .hub-inter { padding: 48px 24px 72px; }
}
.hub-inter__top {
  text-align: left;
  max-width: 720px;
  margin: 0 0 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--v-line);
}
.hub-inter__top--compact {
  margin-bottom: 24px;
  padding-bottom: 0;
  border-bottom: 0;
}
.hub-inter__top--compact .hub-inter__mode {
  margin-bottom: 0;
}
@media (min-width: 768px) {
  .hub-inter__top { margin-bottom: 40px; }
  .hub-inter__top--compact { margin-bottom: 28px; }
}
.hub-inter__mode {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: var(--v-paper);
  border: 1px solid var(--v-line);
  font-size: 14px;
  font-weight: 600;
  color: var(--v-teal-deep, #006971);
}
.hub-inter__title-main {
  margin: 0 0 10px;
  font-size: clamp(1.25rem, 2.4vw, 1.5rem);
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--v-ink-800);
  line-height: 1.25;
}
.hub-inter__lead {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--v-ink-600);
  max-width: 62ch;
}
.hub-inter__corridors {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.hub-inter__card {
  background: var(--v-white);
  border: 1px solid var(--v-line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.hub-inter__banner {
  position: relative;
}
.hub-inter__panorama {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 168px;
  max-height: 220px;
  overflow: hidden;
}
@media (min-width: 768px) {
  .hub-inter__panorama { min-height: 200px; max-height: 260px; }
}
.hub-inter__half {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  background: linear-gradient(
    165deg,
    hsl(var(--from-hue, 200) 45% 88%) 0%,
    hsl(var(--from-hue, 200) 30% 78%) 100%
  );
}
.hub-inter__half--to {
  background: linear-gradient(
    165deg,
    hsl(var(--to-hue, 210) 45% 88%) 0%,
    hsl(var(--to-hue, 210) 30% 78%) 100%
  );
}
.hub-inter__photo {
  width: 100%;
  height: 100%;
  min-height: 168px;
  object-fit: cover;
  object-position: center;
  display: block;
}
.hub-inter__join {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--v-white);
  color: var(--v-teal);
  box-shadow: 0 4px 20px rgba(15, 35, 45, 0.18);
  border: 2px solid rgba(255, 255, 255, 0.9);
  z-index: 2;
}
.hub-inter__banner-cap {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px 22px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(15, 35, 45, 0.08) 40%,
    rgba(15, 35, 45, 0.72) 100%
  );
  pointer-events: none;
}
.hub-inter__corridor-label {
  margin: 0 0 4px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}
.hub-inter__code {
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
}
.hub-inter__code-sep { opacity: 0.6; }
.hub-inter__corridor-name {
  margin: 0;
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
  line-height: 1.25;
}
.hub-inter__routes {
  padding: 20px 18px 22px;
  margin: 0;
}
@media (min-width: 768px) {
  .hub-inter__routes { padding: 24px 24px 26px; }
}
.hub-inter__routes.hp-routes__grid {
  grid-template-columns: 1fr;
}
.hub-inter__routes .hp-route-card {
  text-decoration: none;
  color: inherit;
}
@media (min-width: 640px) {
  .hub-inter__routes.hp-routes__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .hub-inter__routes.hp-routes__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .hub-inter__photo { transition: none; }
}

