:root {
  --ink: #132033;
  --muted: #657389;
  --paper: #f7f9fb;
  --panel: #ffffff;
  --wash: #eef5f2;
  --line: rgba(19, 32, 51, 0.11);
  --red: #4f93c8;
  --brand-blue: #4f93c8;
  --brand-blue-strong: #2f6f9f;
  --brand-blue-soft: #d8eafb;
  --gold: #c79342;
  --green: #2f756d;
  --blue: #5f9fcd;
  --clay: #8d6d4c;
  --shadow: 0 20px 50px rgba(19, 32, 51, 0.11);
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #f8fafc 0%, #ffffff 34%, #f3f6f9 100%);
  font-family: var(--font-sans);
  line-height: 1.5;
}

body:has(.trip-dock) {
  padding-bottom: 176px;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
select {
  font: inherit;
}

.hero {
  min-height: 86vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 118px clamp(18px, 4vw, 56px) 28px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(7, 22, 35, 0.86), rgba(7, 22, 35, 0.58) 36%, rgba(7, 22, 35, 0.2) 70%, rgba(7, 22, 35, 0.32)),
    linear-gradient(180deg, rgba(7, 22, 35, 0.34), rgba(7, 22, 35, 0.22) 42%, rgba(7, 22, 35, 0.72)),
    url("photos/hero/chongqing-monorail-hero.png"),
    linear-gradient(138deg, #4f93c8 0%, #78b5dc 46%, #b98d4f 100%);
  background-position: center, center, center 45%, center;
  background-size: cover, cover, cover, cover;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 18% 58%, rgba(4, 15, 24, 0.34), transparent 44%),
    linear-gradient(115deg, rgba(255, 255, 255, 0.08), transparent 24% 100%);
  opacity: 0.72;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background:
    linear-gradient(180deg, transparent, rgba(248, 250, 252, 0.92));
  pointer-events: none;
}

.nav,
.trust-row,
.section {
  width: min(1180px, 100%);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  z-index: 30;
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 15px max(18px, calc((100vw - 1180px) / 2));
  background:
    linear-gradient(90deg, rgba(79, 147, 200, 0.98), rgba(88, 158, 209, 0.96)),
    var(--brand-blue);
  box-shadow: 0 12px 28px rgba(27, 82, 122, 0.16);
  backdrop-filter: blur(16px);
}

.brand,
.nav-links,
.trust-row {
  display: flex;
  align-items: center;
}

.brand {
  align-items: flex-start;
  flex-direction: column;
  gap: 1px;
  color: #fff;
  font-size: 0.96rem;
  font-weight: 800;
  letter-spacing: 0.3em;
  line-height: 0.95;
}

.brand-cn {
  margin-top: 5px;
  font-family: "Songti SC", "Noto Serif CJK SC", serif;
  font-size: 0.88rem;
  letter-spacing: 0.34em;
}

.nav-links {
  gap: 26px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  font-weight: 800;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 38px;
  padding: 0 0 4px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-links .nav-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 8px;
  padding: 9px 13px;
  color: var(--brand-blue-strong);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 24px rgba(19, 32, 51, 0.12);
}

.nav-links .nav-action::after {
  display: none;
}

.nav-links .nav-action:hover {
  color: var(--brand-blue-strong);
  background: #fff;
  transform: translateY(-1px);
}

.nav-cta,
.button {
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  font-weight: 800;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.nav-cta {
  background: #fff;
  color: var(--ink);
}

.button:hover,
.nav-cta:hover,
.link-button:hover {
  transform: translateY(-2px);
}

.primary {
  color: #fff;
  background: var(--red);
  box-shadow: 0 16px 34px rgba(79, 147, 200, 0.24);
}

.ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.12);
}

.ghost-dark {
  color: var(--ink);
  border: 1px solid var(--line);
  background: #fff;
}

.hero-content {
  width: min(1180px, 100%);
  margin: 0 auto;
  align-self: center;
  position: relative;
  z-index: 1;
}

.page-main {
  padding-top: 74px;
}

.eyebrow {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 18px;
  letter-spacing: 0;
  text-transform: none;
}

.hero-tags span + span::before {
  content: "·";
  display: inline-block;
  margin: 0 12px;
  color: rgba(255, 255, 255, 0.46);
}

.eyebrow.red {
  color: var(--red);
}

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

h1,
h2,
h3 {
  line-height: 1;
  letter-spacing: 0;
}

h1 {
  max-width: 11ch;
  margin-bottom: 22px;
  font-size: clamp(4.2rem, 10vw, 8.8rem);
  letter-spacing: -0.015em;
}

h2 {
  font-size: clamp(2.25rem, 5vw, 4.3rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}

.hero-copy {
  max-width: 580px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.18rem;
}

.hero-actions,
.summary-actions,
.email-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.trust-row {
  gap: 0;
  flex-wrap: wrap;
  align-self: start;
  padding: 18px 0 4px;
}

.trust-row span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  font-weight: 700;
}

.trust-row span + span::before {
  content: "·";
  display: inline-block;
  margin: 0 13px;
  color: rgba(255, 255, 255, 0.46);
}

.section {
  padding: 96px clamp(18px, 3vw, 32px);
}

.journey-overview {
  width: min(1180px, calc(100% - 36px));
  margin: -48px auto 0;
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(280px, 0.84fr) minmax(320px, 1fr);
  gap: 28px;
  border: 1px solid rgba(19, 32, 51, 0.1);
  border-radius: 8px;
  padding: clamp(22px, 4vw, 38px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 252, 0.94)),
    #f8fafc;
  box-shadow: 0 26px 70px rgba(19, 32, 51, 0.12);
}

.overview-copy {
  align-self: center;
}

.overview-copy h2 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.55rem);
}

.overview-copy p:last-child {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.overview-map {
  position: relative;
  min-height: 290px;
  overflow: hidden;
  border: 1px solid rgba(19, 32, 51, 0.08);
  border-radius: 8px;
  background:
    linear-gradient(140deg, rgba(47, 99, 132, 0.18), transparent 42%),
    radial-gradient(circle at 72% 30%, rgba(199, 147, 66, 0.28), transparent 26%),
    linear-gradient(135deg, #f3ede2, #e7f1ee);
}

.overview-map::before {
  content: "";
  position: absolute;
  inset: 28px 34px;
  border: 2px solid rgba(47, 117, 109, 0.18);
  border-radius: 54% 46% 48% 52%;
  transform: rotate(-9deg);
}

.overview-map::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 38%;
  background:
    linear-gradient(180deg, transparent, rgba(19, 32, 51, 0.12)),
    linear-gradient(140deg, transparent 0 54%, rgba(255, 255, 255, 0.52) 54% 56%, transparent 56%);
  clip-path: polygon(0 62%, 14% 48%, 29% 58%, 42% 38%, 58% 57%, 72% 42%, 88% 55%, 100% 45%, 100% 100%, 0 100%);
}

.map-point {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 900;
}

.map-point::before {
  content: "";
  width: 11px;
  height: 11px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 1px rgba(19, 32, 51, 0.18);
}

.map-point.beijing {
  top: 22%;
  left: 24%;
}

.map-point.shanghai {
  top: 42%;
  right: 20%;
}

.map-point.chengdu {
  left: 23%;
  bottom: 24%;
}

.map-point.chongqing {
  right: 28%;
  bottom: 20%;
}

.map-line {
  position: absolute;
  z-index: 1;
  height: 2px;
  background: linear-gradient(90deg, rgba(79, 147, 200, 0), rgba(79, 147, 200, 0.58), rgba(47, 117, 109, 0));
  transform-origin: left center;
}

.line-one {
  top: 31%;
  left: 31%;
  width: 42%;
  transform: rotate(15deg);
}

.line-two {
  top: 55%;
  left: 29%;
  width: 45%;
  transform: rotate(-10deg);
}

.line-three {
  right: 31%;
  bottom: 25%;
  width: 24%;
  transform: rotate(7deg);
}

.overview-steps {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.overview-steps div {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.overview-steps span {
  display: block;
  margin-bottom: 8px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.overview-steps strong {
  display: block;
  margin-bottom: 7px;
  font-size: 1.05rem;
}

.overview-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.section-head {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-head.inline {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 24px;
  align-items: end;
}

.section-head p,
.reviews-section p,
.brief-heading p {
  color: var(--muted);
}

.city-tabs,
.tag-row,
.selected-city-chips,
.thumb-strip {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.route-tabs,
.city-tabs {
  margin-bottom: 22px;
}

.route-explorer {
  border: 1px solid rgba(19, 32, 51, 0.1);
  border-radius: 8px;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 250, 252, 0.98)),
    #f8fafc;
  box-shadow: 0 22px 60px rgba(19, 32, 51, 0.09);
  position: relative;
}

.city-explorer,
.brief-explorer {
  border: 1px solid rgba(19, 32, 51, 0.1);
  border-radius: 8px;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 250, 252, 0.98)),
    #f8fafc;
  box-shadow: 0 22px 60px rgba(19, 32, 51, 0.09);
}

.about-explorer {
  padding: 0;
}

.route-picker-head,
.city-picker-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.route-theme-bar,
.city-theme-bar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: end;
  margin-bottom: 16px;
}

.route-theme-bar span,
.city-theme-bar span {
  display: block;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 900;
}

.route-theme-bar small,
.city-theme-bar small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-weight: 700;
}

.route-filter-tabs,
.city-filter-tabs {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  margin: 0 0 18px;
  padding-bottom: 8px;
  scrollbar-width: none;
}

.route-filter-tabs::-webkit-scrollbar,
.city-filter-tabs::-webkit-scrollbar {
  display: none;
}

.route-picker-head span,
.city-picker-head span {
  color: var(--ink);
  font-weight: 900;
}

.city-picker-head small {
  color: var(--muted);
  font-weight: 700;
}

.route-scroll-controls {
  display: flex;
  gap: 8px;
}

.route-scroll-controls button {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
  transition:
    transform 160ms ease,
    background 160ms ease;
}

.route-scroll-controls button:hover {
  background: rgba(19, 32, 51, 0.06);
  transform: translateY(-1px);
}

.route-tabs {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  gap: 14px;
  margin-bottom: 20px;
  padding: 2px 2px 16px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: rgba(19, 32, 51, 0.22) transparent;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 calc(100% - 72px), transparent 100%);
  mask-image: linear-gradient(90deg, #000 0%, #000 calc(100% - 72px), transparent 100%);
}

.route-tabs::-webkit-scrollbar {
  height: 8px;
}

.route-tabs::-webkit-scrollbar-track {
  background: transparent;
}

.route-tabs::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(19, 32, 51, 0.18);
}

.city-explorer .city-tabs {
  overflow-x: auto;
  flex-wrap: nowrap;
  margin-bottom: 16px;
  padding: 2px 2px 12px;
  scroll-snap-type: x proximity;
}

.city-explorer .tab {
  flex: 0 0 auto;
  scroll-snap-align: start;
}

.route-card {
  flex: 0 0 250px;
  display: grid;
  gap: 6px;
  min-height: 118px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 15px;
  color: var(--ink);
  background: #fff;
  cursor: pointer;
  scroll-snap-align: start;
  text-align: left;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.route-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(19, 32, 51, 0.11);
}

.route-card.active {
  border-color: var(--red);
  background:
    linear-gradient(180deg, rgba(79, 147, 200, 0.06), rgba(255, 255, 255, 0.92)),
    #fff;
  box-shadow:
    inset 0 4px 0 var(--red),
    0 12px 28px rgba(79, 147, 200, 0.11);
}

.route-card-title {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-weight: 900;
  line-height: 1.15;
}

.route-card-cities {
  color: var(--red);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.35;
}

.route-card-note {
  color: var(--muted);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 0.78rem;
  line-height: 1.35;
}

.tab,
.chip,
.thumb {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.tab {
  padding: 10px 14px;
  font-weight: 800;
}

.tab.active,
.chip.active,
.thumb.active {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}

.route-detail,
.city-detail,
.brief-tool {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
  gap: 22px;
  align-items: stretch;
}

.route-explorer .route-detail {
  grid-template-columns: 1fr;
  margin-top: 2px;
  border: 1px solid rgba(19, 32, 51, 0.08);
  border-radius: 8px;
  padding: 16px;
  background:
    linear-gradient(180deg, rgba(238, 245, 242, 0.62), rgba(255, 255, 255, 0.82)),
    #fff;
}

.route-explorer .route-visual-panel {
  min-height: 380px;
  box-shadow: none;
}

.route-explorer .route-summary {
  display: grid;
  grid-template-columns: minmax(260px, 0.38fr) minmax(0, 1fr);
  gap: 0 36px;
  align-items: start;
  box-shadow: none;
}

.route-explorer .summary-top,
.route-explorer #routeTags,
.route-explorer .route-at-glance,
.route-explorer .summary-actions {
  grid-column: 1;
}

.route-explorer .highlights {
  grid-column: 2;
  grid-row: 1 / span 4;
  margin-bottom: 0;
}

.city-explorer .city-detail {
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.82fr);
  gap: 0;
  align-items: stretch;
  border: 1px solid rgba(19, 32, 51, 0.08);
  border-radius: 8px;
  padding: 0;
  overflow: hidden;
  background: #fff;
}

.city-explorer .city-media {
  height: 100%;
  min-height: 560px;
  max-height: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.city-explorer .city-copy {
  display: block;
  border: 0;
  border-left: 1px solid var(--line);
  border-radius: 0;
  padding: clamp(28px, 4vw, 48px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.72)),
    #fff;
  box-shadow: none;
}

.city-explorer .city-copy > .eyebrow,
.city-explorer .city-copy > h3,
.city-explorer .city-description,
.city-explorer .city-facts,
.city-explorer #addCity {
  grid-column: auto;
}

.city-explorer .city-list {
  grid-column: auto;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.city-explorer .city-list:first-of-type {
  grid-row: auto;
}

.route-visual-panel,
.city-media,
.route-summary,
.city-copy,
.quiz-card,
.email-brief,
.trip-context,
.process-row div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.route-visual-panel,
.city-media {
  position: relative;
  min-height: 480px;
  overflow: hidden;
}

.route-visual {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(160px, 0.72fr);
  grid-template-rows: 1fr 1fr;
  gap: 10px;
  padding: 10px;
  background-image: var(--route-image, none), var(--route-bg, linear-gradient(135deg, #6aa8d3, #d49a3a));
  background-position: center;
  background-size: cover;
}

.route-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(transparent 0 65%, rgba(0, 0, 0, 0.72)),
    linear-gradient(130deg, rgba(255, 255, 255, 0.18), transparent 34%),
    radial-gradient(ellipse at 18% 18%, rgba(255, 255, 255, 0.28), transparent 24%);
  pointer-events: none;
}

.route-photo-tile {
  display: block;
  position: relative;
  min-height: 0;
  border: 0;
  border-radius: 8px;
  padding: 0;
  background-image: linear-gradient(180deg, rgba(19, 32, 51, 0.08), rgba(19, 32, 51, 0.18)), var(--tile-image);
  background-position: center;
  background-size: cover;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  cursor: zoom-in;
  text-align: left;
}

.route-photo-tile:first-child {
  grid-row: 1 / span 2;
  aspect-ratio: 4 / 3;
}

.route-photo-tile:nth-child(n + 2) {
  aspect-ratio: 1 / 1;
}

.route-photo-tile span {
  position: absolute;
  left: 12px;
  bottom: 12px;
  max-width: calc(100% - 24px);
  border-radius: 999px;
  padding: 6px 9px;
  color: #fff;
  background: rgba(19, 32, 51, 0.62);
  font-size: 0.78rem;
  font-weight: 850;
  line-height: 1.15;
  backdrop-filter: blur(8px);
}

.route-visual-overlay {
  position: absolute;
  inset: auto 24px 24px;
  z-index: 2;
  color: #fff;
}

.days {
  margin: 0;
  font-size: 3rem;
  font-weight: 900;
}

.theme-line {
  margin-bottom: 8px;
  font-size: 1.25rem;
  font-weight: 800;
}

.route-city-line {
  color: rgba(255, 255, 255, 0.78);
}

.route-summary,
.city-copy,
.quiz-card,
.email-brief {
  padding: 32px;
}

.summary-top,
.progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.chip {
  padding: 8px 11px;
  font-size: 0.82rem;
  font-weight: 800;
}

.route-at-glance {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 24px 0;
}

.glance-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 15px;
  background: #f5f8fb;
}

.glance-item span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.highlights {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

.route-description,
.city-description {
  color: var(--muted);
}

.route-block {
  display: grid;
  gap: 10px;
}

.guide-section {
  display: grid;
  gap: 12px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.guide-section:first-child {
  padding-top: 0;
  border-top: 0;
}

.guide-label {
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.guide-mini-grid,
.guide-two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.guide-mini-grid div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #f5f8fb;
}

.guide-mini-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.highlight {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 10px;
  padding-left: 18px;
  border-left: 3px solid var(--gold);
}

.highlight strong {
  color: var(--red);
}

.hotel-showcase {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1fr);
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.hotel-showcase-media {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(19, 32, 51, 0.18), rgba(19, 32, 51, 0.62)),
    center / cover no-repeat;
}

.hotel-showcase-media.placeholder {
  background:
    linear-gradient(135deg, rgba(79, 147, 200, 0.95), rgba(19, 32, 51, 0.96)),
    radial-gradient(circle at 25% 20%, rgba(255, 255, 255, 0.22), transparent 32%);
}

.hotel-showcase-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(19, 32, 51, 0.64));
}

.hotel-showcase-media span {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 1;
  color: #fff;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hotel-showcase-copy {
  align-self: center;
  padding: 8px 0;
}

.hotel-showcase-copy h4 {
  margin: 8px 0 10px;
  color: var(--ink);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.05;
}

.hotel-showcase-copy p {
  color: var(--muted);
  line-height: 1.72;
}

.hotel-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 0;
}

.hotel-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: #fff;
}

.hotel-card span {
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hotel-card h4 {
  margin: 7px 0 6px;
  font-size: 1rem;
}

.hotel-card p {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.92rem;
}

.hotel-card dl {
  display: grid;
  gap: 8px;
  margin: 10px 0;
}

.guide-section ul {
  margin: 0;
  padding-left: 18px;
}

.link-button {
  border: 0;
  color: var(--red);
  background: transparent;
  cursor: pointer;
  font-weight: 900;
}

.city-media img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center;
  display: block;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  transform: translateY(-50%);
  font-size: 1.7rem;
}

.carousel-arrow.left {
  left: 14px;
}

.carousel-arrow.right {
  right: 14px;
}

.slide-count,
.thumb-strip {
  position: absolute;
  left: 16px;
  right: 16px;
}

.slide-count {
  top: 16px;
  width: fit-content;
  border-radius: 8px;
  padding: 8px 12px;
  color: #fff;
  background: rgba(0, 0, 0, 0.46);
  font-size: 0.82rem;
  font-weight: 800;
}

.thumb-strip {
  bottom: 16px;
}

.thumb {
  width: 42px;
  height: 8px;
  padding: 0;
  background-position: center;
  background-size: cover;
}

.city-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 22px 0;
}

.city-facts div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 15px;
  background: #f5f8fb;
}

dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
}

dd {
  margin: 4px 0 0;
  font-weight: 800;
}

.city-list ul {
  margin-top: 8px;
  padding-left: 20px;
}

.wide {
  width: 100%;
  margin-top: 12px;
}

.brief-section {
  width: 100%;
  max-width: none;
  background:
    linear-gradient(180deg, #efe6d8, #f7f2ea);
}

.brief-intro {
  width: min(1180px, 100%);
  margin: 0 auto 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.95fr);
  gap: 24px;
  align-items: end;
}

.process-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.process-row div {
  padding: 18px;
  box-shadow: none;
}

.process-row span {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: var(--ink);
  font-weight: 900;
}

.trip-context,
.brief-tool {
  width: 100%;
  margin: 0 auto 22px;
}

.trip-context {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 18px;
  padding: 20px;
}

.trip-context span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.trip-context a,
.text-link {
  display: inline-block;
  margin-top: 6px;
  border: 0;
  padding: 0;
  color: var(--red);
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  text-align: left;
}

.text-link:hover {
  color: var(--ink);
}

.brief-section:not(.preferences-open) {
  height: 0;
  overflow: hidden;
  padding: 0;
}

.brief-section:not(.preferences-open) .brief-intro,
.brief-section:not(.preferences-open) .brief-explorer {
  display: none;
}

.brief-tool {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  margin-bottom: 0;
}

.brief-footer {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  gap: 14px;
  align-items: end;
  border: 1px solid rgba(79, 147, 200, 0.14);
  border-radius: 8px;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(79, 147, 200, 0.08), transparent 48%),
    rgba(248, 250, 252, 0.86);
}

.contact-field {
  display: grid;
  gap: 9px;
}

.contact-field span {
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 900;
}

.contact-field input {
  width: 100%;
  min-height: 58px;
  border: 2px solid rgba(24, 33, 47, 0.16);
  border-radius: 8px;
  padding: 0 16px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-weight: 700;
}

.contact-field input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(79, 147, 200, 0.14);
  outline: 0;
}

.brief-footer .email-actions {
  display: grid;
  grid-template-columns: auto auto;
  gap: 10px;
}

.brief-footer #emailBrief {
  min-height: 58px;
  padding: 0 24px;
  box-shadow: 0 14px 32px rgba(79, 147, 200, 0.22);
}

.brief-footer .secure-note,
.brief-footer .submit-status {
  grid-column: 1 / -1;
}

.inline-contact {
  grid-column: 1 / -1;
}

.inline-contact input {
  min-height: 68px;
}

.inline-secure-note,
.option-grid > .submit-status {
  grid-column: 1 / -1;
  margin: 0;
}

.inline-secure-note {
  color: #607188;
  font-size: 0.95rem;
  font-weight: 750;
}

.progress-bar {
  width: 160px;
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(24, 33, 47, 0.12);
}

.progress-bar span {
  display: block;
  height: 100%;
  width: 14%;
  border-radius: inherit;
  background: var(--red);
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0;
}

.option-card {
  min-height: 68px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  cursor: pointer;
  background: #fff;
  text-align: left;
}

.question-note {
  grid-column: 1 / -1;
  margin: 2px 0 0;
  color: #6a7a8d;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.45;
}

.quiz-card h3 span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.35;
}

.multi-option {
  display: flex;
  align-items: center;
  gap: 12px;
}

.multi-option::before {
  content: "";
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  border: 2px solid rgba(19, 32, 51, 0.28);
  border-radius: 5px;
  background: #fff;
}

.option-card.active {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(79, 147, 200, 0.12);
}

.multi-option.active {
  background: rgba(79, 147, 200, 0.06);
}

.multi-option.active::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-color: var(--red);
  color: #fff;
  background: var(--red);
  font-size: 0.86rem;
  font-weight: 900;
}

.date-range {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.date-range label {
  display: grid;
  gap: 8px;
}

.date-range span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 900;
}

.date-range input {
  width: 100%;
  min-height: 68px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-weight: 800;
}

.date-range input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(79, 147, 200, 0.12);
  outline: 0;
}

.date-error {
  grid-column: 1 / -1;
  margin: 0;
  color: #b44a3e;
  font-size: 0.9rem;
  font-weight: 850;
}

.date-unsure {
  grid-column: 1 / -1;
  min-height: 52px;
  text-align: center;
  font-weight: 900;
}

.brief-lines {
  display: grid;
  gap: 10px;
}

.brief-line {
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}

.brief-line span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.brief-line strong.muted {
  color: rgba(101, 112, 131, 0.48);
  font-weight: 600;
}

.secure-note {
  margin: 0;
  color: var(--muted);
}

.submit-status {
  margin: 0;
  color: var(--green);
  font-size: 0.92rem;
  font-weight: 800;
}

.about-section {
  display: grid;
  gap: 28px;
}

.about-explorer {
  display: grid;
  gap: 42px;
}

.about-hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(360px, 0.75fr);
  gap: clamp(28px, 6vw, 92px);
  align-items: start;
}

.about-title h2 {
  max-width: 680px;
  margin-bottom: 0;
}

.about-copy {
  display: grid;
  gap: 16px;
  align-self: end;
  max-width: 520px;
  color: var(--muted);
  font-size: 1.05rem;
}

.about-copy p {
  margin: 0;
}

.about-card p:last-child,
.service-list {
  margin-bottom: 0;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-card {
  padding: 34px 34px 34px 0;
  background: transparent;
}

.about-card .eyebrow {
  color: var(--red);
}

.about-card p {
  color: var(--muted);
}

.virtuoso-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(320px, 100%);
  margin: 0 0 28px;
  border: 1px solid rgba(19, 32, 51, 0.08);
  border-radius: 8px;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(19, 32, 51, 0.04), rgba(47, 99, 132, 0.08)),
    #fff;
}

.virtuoso-logo-wrap img {
  display: block;
  width: min(220px, 100%);
  height: auto;
}

.virtuoso-card {
  border-right: 1px solid var(--line);
}

.services-card {
  padding-right: 0;
  padding-left: 34px;
}

.service-list {
  display: grid;
  gap: 10px;
  padding-left: 20px;
  color: var(--ink);
}

.service-list li::marker {
  color: var(--red);
}

.service-note {
  margin-top: 18px;
  font-weight: 800;
}

.about-contact-panel {
  margin-top: 34px;
  border-top: 1px solid var(--line);
  padding-top: 34px;
}

.about-contact-panel h3 {
  margin: 0 0 20px;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.contact-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.contact-detail-grid div {
  display: grid;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.72);
}

.contact-detail-grid strong {
  color: var(--brand-blue-strong);
}

.contact-detail-grid span,
.about-contact-panel > p:last-child {
  color: var(--muted);
}

.contact-detail-grid a,
.legal-contact-card a {
  color: var(--brand-blue-strong);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 20;
  max-width: 320px;
  border-radius: 8px;
  padding: 12px 14px;
  color: #fff;
  background: var(--ink);
  opacity: 0;
  transform: translateY(12px);
  transition: 180ms ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.netlify-form-detection {
  display: none;
}

.trip-planner-heading {
  width: min(1120px, calc(100% - 32px));
  margin: 32px auto 10px;
  padding-top: 42px;
  border-top: 1px solid rgba(19, 32, 51, 0.1);
}

.trip-planner-heading h2 {
  max-width: 780px;
  margin: 8px 0 14px;
  color: var(--ink);
  font-size: clamp(2.35rem, 5vw, 5rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.trip-planner-heading p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.04rem;
}

.floating-conversion {
  position: fixed;
  right: auto;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 25;
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 2px solid rgba(255, 255, 255, 0.56);
  border-radius: 999px;
  padding: 0 26px 0 18px;
  color: #fff;
  background: var(--brand-blue);
  box-shadow: 0 18px 44px rgba(45, 108, 154, 0.34);
  font-weight: 900;
  white-space: nowrap;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
  animation: ctaPulse 2.8s ease-in-out infinite;
}

.floating-conversion:hover {
  transform: translateX(-50%) translateY(-2px);
  box-shadow: 0 24px 54px rgba(45, 108, 154, 0.38);
}

.floating-emoji {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 1.22rem;
  line-height: 1;
  animation: emojiBounce 1.4s ease-in-out infinite;
}

@keyframes ctaPulse {
  0%,
  100% {
    box-shadow: 0 18px 44px rgba(45, 108, 154, 0.34);
  }

  50% {
    box-shadow: 0 22px 56px rgba(45, 108, 154, 0.46);
  }
}

@keyframes emojiBounce {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  45% {
    transform: translateY(-4px) rotate(-5deg);
  }

  70% {
    transform: translateY(1px) rotate(4deg);
  }
}

.trip-dock {
  position: fixed;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 18;
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  border: 1px solid rgba(19, 32, 51, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(248, 250, 252, 0.98), rgba(243, 246, 249, 0.96)),
    #f8fafc;
  box-shadow: 0 24px 70px rgba(19, 32, 51, 0.22);
  backdrop-filter: blur(14px);
  overflow: hidden;
}

.trip-dock-main {
  display: grid;
  grid-template-columns: minmax(190px, 0.72fr) minmax(320px, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 14px 16px 14px 18px;
}

.trip-dock-main .eyebrow {
  margin-bottom: 2px;
  color: var(--red);
}

.trip-dock-main strong {
  display: block;
  font-size: 1rem;
}

.trip-dock-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.trip-dock-actions .button {
  min-height: 48px;
  padding: 0 18px;
  white-space: nowrap;
}

.dock-current-selection {
  display: grid;
  gap: 6px;
  min-width: 0;
  border-left: 1px solid var(--line);
  padding-left: 16px;
}

.dock-current-selection > span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.dock-current-selection .selected-city-chips {
  max-height: 78px;
  overflow-y: auto;
  gap: 6px;
}

.trip-dock-cities {
  border-top: 1px solid var(--line);
  padding: 16px 18px 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(238, 245, 242, 0.58)),
    #fff;
}

.dock-preferences {
  border-top: 1px solid var(--line);
  padding: 18px;
  max-height: min(74vh, 720px);
  overflow-y: auto;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(248, 250, 252, 0.98)),
    #f8fafc;
}

.dock-preferences[hidden] {
  display: none;
}

.dock-preferences-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.dock-preferences-head .eyebrow {
  margin-bottom: 4px;
  color: var(--red);
}

.dock-preferences-head strong {
  display: block;
  color: var(--ink);
  font-size: 1.1rem;
}

.dock-preferences-head span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.92rem;
}

.dock-preferences .brief-explorer {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.dock-preferences .trip-context {
  margin-bottom: 14px;
  padding: 16px;
  box-shadow: none;
}

.dock-preferences .brief-tool {
  gap: 14px;
}

.dock-preferences .quiz-card,
.dock-preferences .email-brief {
  padding: 24px;
  box-shadow: none;
}

.dock-preferences .brief-footer {
  margin-top: 0;
}

.trip-dock.preferences-open .trip-dock-main {
  border-top: 1px solid rgba(19, 32, 51, 0.04);
  background: rgba(248, 250, 252, 0.9);
}

.dock-city-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 12px;
}

.dock-city-head strong,
.dock-selected > span {
  display: block;
  color: var(--ink);
  font-weight: 900;
}

.dock-city-head span,
.dock-selected > span {
  color: var(--muted);
  font-size: 0.84rem;
}

.dock-city-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: 9px;
}

.city-select-chip {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 13px;
  color: var(--ink);
  background: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 900;
  text-align: left;
}

.city-select-chip.active {
  border-color: var(--red);
  color: #fff;
  background: var(--red);
}

.dock-selected {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.empty-note {
  color: rgba(101, 112, 131, 0.7);
  font-size: 0.9rem;
  font-weight: 800;
}

@media (max-width: 860px) {
  html {
    scroll-padding-top: 128px;
  }

  .hero {
    min-height: 780px;
    padding-top: 142px;
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 10px 12px;
  }

  .nav-links {
    width: 100%;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 2px;
    white-space: nowrap;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links a {
    flex: 0 0 auto;
    border-radius: 8px;
    padding: 7px 10px;
    background: rgba(255, 255, 255, 0.08);
  }

  .nav-links .nav-action {
    padding: 7px 11px;
    background: rgba(255, 255, 255, 0.94);
  }

  .route-detail,
  .city-detail,
  .journey-overview,
  .brief-intro,
  .about-hero,
  .about-grid,
  .trip-context,
  .section-head.inline {
    grid-template-columns: 1fr;
  }

  .route-explorer {
    padding: 14px;
  }

  .route-theme-bar,
  .city-theme-bar {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .journey-overview {
    margin-top: -32px;
    padding: 18px;
  }

  .overview-map {
    min-height: 230px;
  }

  .overview-steps {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .city-explorer,
  .brief-explorer {
    padding: 14px;
  }

  .about-explorer {
    padding: 0;
  }

  .about-grid {
    gap: 0;
  }

  .about-card {
    padding: 28px 0;
  }

  .virtuoso-card {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .services-card {
    padding-left: 0;
  }

  .route-picker-head,
  .city-picker-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .route-tabs {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x proximity;
  }

  .route-card {
    flex: 0 0 230px;
    flex-basis: 230px;
    min-height: 108px;
  }

  .route-summary {
    order: 2;
  }

  .route-explorer .route-summary {
    display: block;
  }

  .route-explorer .highlights {
    margin-bottom: 24px;
  }

  .guide-mini-grid,
  .guide-two-column,
  .hotel-grid {
    grid-template-columns: 1fr;
  }

  .city-explorer .city-copy {
    display: block;
  }

  .route-explorer .route-detail,
  .city-explorer .city-detail {
    padding: 0;
  }

  .city-explorer .city-media {
    min-height: 360px;
  }

  .city-explorer .city-copy {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 24px;
  }

  .route-visual-panel {
    order: 1;
  }

  .route-at-glance,
  .process-row,
  .city-facts {
    grid-template-columns: 1fr;
  }

  .brief-tool {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.72fr);
    gap: 16px;
  }

  .quiz-card,
  .email-brief {
    padding: 22px;
  }

  .option-grid {
    grid-template-columns: 1fr;
  }

  .date-range {
    grid-template-columns: 1fr;
  }

  .brief-footer {
    grid-template-columns: 1fr;
  }

  .brief-footer .email-actions {
    grid-template-columns: 1fr;
  }

  .brief-footer #emailBrief {
    width: 100%;
  }

  .trip-dock-main {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .dock-current-selection {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 10px;
    padding-left: 0;
  }

  .trip-dock-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .trip-dock-cities {
    max-height: 52vh;
    overflow-y: auto;
  }

  .dock-preferences {
    max-height: 68vh;
    padding: 14px;
  }

  .dock-preferences .brief-explorer {
    width: 100%;
    margin-left: 0;
    padding: 0;
  }
}

@media (max-width: 680px) {
  .brief-tool {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  html {
    scroll-padding-top: 120px;
  }

  .hero {
    min-height: 720px;
    padding: 132px 18px 18px;
  }

  .journey-overview {
    width: calc(100% - 24px);
    margin-top: -24px;
  }

  .overview-copy h2 {
    font-size: 2rem;
  }

  .overview-map {
    min-height: 210px;
  }

  .nav {
    padding: 10px 18px;
  }

  .brand {
    font-size: 0.86rem;
  }

  .brand-cn {
    font-size: 0.78rem;
  }

  .nav-links {
    font-size: 0.84rem;
  }

  h1 {
    font-size: 3.5rem;
  }

  .route-visual-panel,
  .city-media,
  .city-media img {
    min-height: 360px;
  }

  .route-explorer {
    width: calc(100% + 4px);
    margin-left: -2px;
    padding: 12px;
  }

  .city-explorer,
  .brief-explorer {
    width: calc(100% + 4px);
    margin-left: -2px;
    padding: 12px;
  }

  .about-explorer {
    width: 100%;
  }

  .route-card {
    flex: 0 0 218px;
    flex-basis: 218px;
  }

  .route-explorer .route-visual-panel {
    min-height: 260px;
  }

  .days {
    font-size: 2.2rem;
  }

  .theme-line {
    font-size: 1rem;
  }

  .route-explorer .route-summary {
    padding: 20px;
  }

  .city-explorer .city-media,
  .city-explorer .city-media img {
    min-height: 260px;
  }

  .city-explorer .city-copy,
  .brief-explorer .quiz-card,
  .brief-explorer .email-brief {
    padding: 20px;
  }

  body:has(.trip-dock) {
    padding-bottom: 244px;
  }

  .trip-dock {
    right: 10px;
    bottom: 10px;
    left: 10px;
    width: calc(100% - 20px);
  }

  .trip-dock-main {
    padding: 12px;
  }

  .trip-dock-actions {
    grid-template-columns: 1fr;
  }

  .dock-city-head {
    flex-direction: column;
    gap: 6px;
  }

  .dock-preferences-head {
    flex-direction: column;
    gap: 8px;
  }

  .city-select-chip {
    padding: 8px 11px;
    font-size: 0.84rem;
  }
}

@media (max-width: 860px) {
  body:has(.trip-dock) {
    padding-bottom: 188px;
  }

  body:has(.trip-dock-cities:not([hidden])),
  body:has(.dock-preferences:not([hidden])) {
    padding-bottom: min(78vh, 720px);
  }

  .section {
    padding: 58px 14px;
  }

  .hero {
    min-height: 72svh;
    padding: 118px 18px 22px;
    background-position: center, center, 52% 44%, center;
  }

  .hero-content {
    align-self: end;
    padding-bottom: 34px;
  }

  h1 {
    max-width: 9ch;
    margin-bottom: 16px;
    font-size: clamp(3.15rem, 17vw, 5.4rem);
  }

  h2 {
    font-size: clamp(2rem, 9vw, 3.1rem);
  }

  h3 {
    font-size: clamp(1.55rem, 7vw, 2.15rem);
  }

  .hero-copy {
    max-width: 360px;
    font-size: 1rem;
  }

  .hero-actions {
    gap: 9px;
  }

  .hero-actions .button {
    min-height: 44px;
    padding: 0 14px;
    font-size: 0.9rem;
  }

  .trust-row {
    padding-top: 8px;
  }

  .trust-row span {
    font-size: 0.78rem;
  }

  .journey-overview {
    width: calc(100% - 20px);
    margin-top: 0;
    gap: 18px;
    padding: 18px;
    box-shadow: 0 16px 44px rgba(19, 32, 51, 0.1);
  }

  .overview-copy h2 {
    margin-bottom: 12px;
  }

  .overview-copy p:last-child,
  .section-head p {
    font-size: 0.96rem;
  }

  .overview-map {
    min-height: 190px;
  }

  .overview-steps div {
    padding-top: 12px;
  }

  .section-head {
    margin-bottom: 20px;
  }

  .route-explorer,
  .city-explorer {
    width: 100%;
    margin-left: 0;
    padding: 14px;
    box-shadow: 0 16px 42px rgba(19, 32, 51, 0.08);
  }

  .route-theme-bar,
  .city-theme-bar {
    margin-bottom: 12px;
  }

  .route-filter-tabs,
  .city-filter-tabs,
  .route-tabs,
  .city-tabs {
    margin-right: -14px;
    margin-left: -14px;
    padding-right: 14px;
    padding-left: 14px;
  }

  .route-card {
    flex: 0 0 min(78vw, 260px);
    min-height: 104px;
  }

  .route-explorer .route-detail {
    padding: 0;
    overflow: hidden;
  }

  .route-explorer .route-visual-panel {
    min-height: 230px;
    border: 0;
    border-radius: 0;
  }

  .route-visual-overlay {
    inset: auto 18px 18px;
  }

  .route-explorer .route-summary {
    padding: 20px;
  }

  .tag-row {
    gap: 7px;
  }

  .route-at-glance {
    margin: 18px 0;
  }

  .guide-section,
  .hotel-showcase {
    padding: 16px 0;
  }

  .hotel-showcase {
    grid-template-columns: 1fr;
  }

  .hotel-showcase-media {
    min-height: 260px;
  }

  .highlight {
    grid-template-columns: 20px minmax(0, 1fr);
    padding-left: 12px;
  }

  .city-explorer .city-detail {
    overflow: hidden;
  }

  .city-explorer .city-media,
  .city-explorer .city-media img {
    min-height: 280px;
  }

  .city-explorer .city-copy {
    padding: 20px;
  }

  .city-facts {
    gap: 10px;
    margin: 18px 0;
  }

  .city-list {
    font-size: 0.95rem;
  }

  .trip-dock {
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 12px 12px 0 0;
  }

  .trip-dock-main {
    grid-template-columns: 1fr;
    padding: 12px 14px;
  }

  .trip-dock-main > div:first-child {
    display: none;
  }

  .dock-current-selection {
    border-top: 0;
    padding-top: 0;
  }

  .dock-current-selection .selected-city-chips {
    max-height: 54px;
  }

  .trip-dock-actions {
    grid-template-columns: 1fr 1fr;
  }

  .trip-dock-actions .button {
    min-height: 44px;
  }

  .trip-dock-cities {
    max-height: min(58vh, 520px);
    padding: 14px;
  }

  .dock-city-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dock-preferences {
    max-height: min(72vh, 660px);
    padding: 14px;
  }

  .dock-preferences .trip-context,
  .dock-preferences .quiz-card,
  .dock-preferences .email-brief,
  .dock-preferences .brief-footer {
    padding: 16px;
  }
}

@media (max-width: 420px) {
  .nav {
    gap: 8px;
  }

  .brand {
    font-size: 0.78rem;
  }

  .nav-links a {
    padding: 6px 9px;
  }

  .section {
    padding: 48px 12px;
  }

  .journey-overview {
    width: calc(100% - 16px);
    padding: 16px;
  }

  .route-explorer,
  .city-explorer {
    padding: 12px;
  }

  .route-filter-tabs,
  .city-filter-tabs,
  .route-tabs,
  .city-tabs {
    margin-right: -12px;
    margin-left: -12px;
    padding-right: 12px;
    padding-left: 12px;
  }

  .route-explorer .route-summary,
  .city-explorer .city-copy {
    padding: 16px;
  }

  .dock-city-options {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  body:has(.trip-dock) {
    padding-bottom: 118px;
  }

  body:has(.trip-dock-cities:not([hidden])),
  body:has(.dock-preferences:not([hidden])) {
    padding-bottom: min(76vh, 660px);
  }

  .trip-dock {
    border-radius: 10px 10px 0 0;
    box-shadow: 0 -10px 34px rgba(19, 32, 51, 0.18);
  }

  .trip-dock-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 9px 10px calc(9px + env(safe-area-inset-bottom));
  }

  .trip-dock-main > div:first-child {
    display: none;
  }

  .dock-current-selection {
    gap: 2px;
    min-width: 0;
    border: 0;
    padding: 0;
  }

  .dock-current-selection > span {
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .dock-current-selection .selected-city-chips {
    display: flex;
    flex-wrap: nowrap;
    max-height: 32px;
    overflow: hidden;
    gap: 5px;
  }

  .dock-current-selection .chip,
  .dock-current-selection .empty-note {
    flex: 0 1 auto;
    max-width: 96px;
    overflow: hidden;
    padding: 6px 8px;
    font-size: 0.78rem;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .trip-dock-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 118px;
    gap: 6px;
  }

  .trip-dock-actions .button {
    min-height: 38px;
    width: 100%;
    padding: 0 10px;
    font-size: 0.86rem;
  }

  .trip-dock-actions .button[hidden] {
    display: none;
  }

  .trip-dock-cities {
    max-height: min(62vh, 520px);
    padding: 12px 10px calc(14px + env(safe-area-inset-bottom));
  }

  .dock-preferences {
    max-height: min(74vh, 650px);
    padding: 12px 10px calc(14px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 104px;
  }

  body:has(.trip-dock) {
    padding-bottom: 96px;
  }

  .button,
  .nav-cta {
    min-height: 40px;
    padding: 0 13px;
    font-size: 0.88rem;
  }

  .nav {
    gap: 8px;
    padding: 9px 14px;
  }

  .brand {
    font-size: 0.78rem;
    letter-spacing: 0.24em;
  }

  .brand-cn {
    margin-top: 4px;
    font-size: 0.72rem;
  }

  .nav-links {
    gap: 7px;
    font-size: 0.8rem;
  }

  .nav-links a {
    padding: 6px 9px;
  }

  .hero {
    min-height: 68svh;
    padding: 104px 16px 16px;
    background-position: center, center, 51% 40%, center;
  }

  .hero-content {
    padding-bottom: 18px;
  }

  h1 {
    max-width: 8.5ch;
    margin-bottom: 12px;
    font-size: clamp(2.85rem, 16vw, 4.5rem);
    line-height: 0.96;
  }

  h2 {
    font-size: clamp(1.7rem, 8.4vw, 2.45rem);
  }

  h3 {
    font-size: clamp(1.35rem, 6.7vw, 1.85rem);
  }

  .hero-copy {
    max-width: 320px;
    margin-bottom: 14px;
    font-size: 0.94rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: min(100%, 340px);
  }

  .hero-actions .button {
    min-height: 40px;
    padding: 0 10px;
    font-size: 0.82rem;
  }

  .trust-row {
    display: none;
  }

  .section {
    padding: 42px 12px;
  }

  .journey-overview {
    width: calc(100% - 16px);
    gap: 14px;
    padding: 14px;
  }

  .overview-map {
    min-height: 150px;
  }

  .overview-steps {
    gap: 8px;
  }

  .overview-steps div {
    padding-top: 10px;
  }

  .overview-steps p,
  .overview-copy p:last-child,
  .section-head p,
  .route-theme-bar small,
  .city-theme-bar small {
    font-size: 0.88rem;
  }

  .route-explorer,
  .city-explorer {
    padding: 10px;
  }

  .route-theme-bar,
  .city-theme-bar {
    gap: 9px;
  }

  .route-filter-tabs,
  .city-filter-tabs {
    gap: 7px;
    margin-bottom: 12px;
  }

  .tab,
  .chip {
    padding: 7px 9px;
    font-size: 0.82rem;
  }

  .route-scroll-controls button {
    width: 30px;
    height: 30px;
    font-size: 1.1rem;
  }

  .route-tabs {
    gap: 9px;
    margin-bottom: 12px;
    padding-bottom: 10px;
  }

  .route-card {
    flex-basis: min(72vw, 230px);
    min-height: 88px;
    padding: 11px;
  }

  .route-card-title {
    font-size: 0.92rem;
  }

  .route-card-cities,
  .route-card-note {
    font-size: 0.74rem;
  }

  .route-explorer .route-visual-panel {
    min-height: 190px;
  }

  .route-visual-overlay {
    inset: auto 14px 14px;
  }

  .days {
    font-size: 1.85rem;
  }

  .theme-line {
    margin-bottom: 4px;
    font-size: 0.9rem;
  }

  .route-explorer .route-summary,
  .city-explorer .city-copy {
    padding: 14px;
  }

  .glance-item,
  .guide-mini-grid div,
  .city-facts div,
  .hotel-card {
    padding: 11px;
  }

  .guide-section,
  .hotel-showcase {
    padding: 12px 0;
  }

  .hotel-showcase {
    gap: 12px;
  }

  .hotel-showcase-media {
    min-height: 220px;
  }

  .hotel-showcase-copy h4 {
    font-size: 1.28rem;
  }

  .city-tabs {
    gap: 7px;
    margin-bottom: 10px;
  }

  .city-explorer .city-media,
  .city-explorer .city-media img {
    min-height: 210px;
  }

  .carousel-arrow {
    width: 34px;
    height: 34px;
    font-size: 1.35rem;
  }

  .slide-count {
    padding: 6px 8px;
    font-size: 0.72rem;
  }

  .city-facts {
    gap: 8px;
    margin: 14px 0;
  }

  .city-list {
    margin-top: 14px;
    padding-top: 14px;
    font-size: 0.88rem;
  }

  .trip-dock {
    border-radius: 8px 8px 0 0;
  }

  .trip-dock-main {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    padding: 7px 8px calc(7px + env(safe-area-inset-bottom));
  }

  .dock-current-selection > span {
    font-size: 0.62rem;
  }

  .dock-current-selection .selected-city-chips {
    max-height: 28px;
  }

  .dock-current-selection .chip,
  .dock-current-selection .empty-note {
    max-width: 86px;
    padding: 5px 7px;
    font-size: 0.72rem;
  }

  .trip-dock-actions {
    width: 98px;
    gap: 5px;
  }

  .trip-dock-actions .button {
    min-height: 34px;
    padding: 0 8px;
    font-size: 0.78rem;
  }

  .trip-dock-cities {
    max-height: min(58vh, 480px);
    padding: 10px 8px calc(12px + env(safe-area-inset-bottom));
  }

  .dock-city-head {
    margin-bottom: 9px;
  }

  .dock-city-head span {
    font-size: 0.76rem;
  }

  .dock-city-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .city-select-chip {
    padding: 8px;
    font-size: 0.78rem;
  }

  .dock-preferences {
    max-height: min(76vh, 640px);
    padding: 10px 8px calc(12px + env(safe-area-inset-bottom));
  }

  .dock-preferences-head {
    margin-bottom: 10px;
  }

  .dock-preferences-head strong {
    font-size: 1rem;
  }

  .dock-preferences-head span {
    font-size: 0.8rem;
  }

  .dock-preferences .trip-context,
  .dock-preferences .quiz-card,
  .dock-preferences .email-brief,
  .dock-preferences .brief-footer {
    padding: 12px;
  }

  .brief-tool {
    gap: 10px;
  }

  .progress-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .progress-bar {
    width: 100%;
  }

  .option-grid {
    gap: 8px;
    margin: 14px 0;
  }

  .option-card {
    min-height: 46px;
    padding: 10px;
    font-size: 0.88rem;
  }

  .date-range input {
    min-height: 46px;
  }

  .date-unsure {
    min-height: 42px;
  }

  .quiz-actions {
    gap: 8px;
  }

  .contact-field input,
  .brief-footer #emailBrief {
    min-height: 44px;
  }

  .brief-lines {
    gap: 7px;
  }

  .brief-line {
    padding-bottom: 7px;
  }
}

@media (max-width: 360px) {
  .hero-actions {
    grid-template-columns: 1fr;
  }

  .route-card {
    flex-basis: 78vw;
  }

  .dock-city-options {
    grid-template-columns: 1fr;
  }

  .trip-dock-actions {
    width: 90px;
  }
}

/* Inline trip planner: the brief now lives directly below the itinerary section. */
body:has(.trip-dock) {
  padding-bottom: 0;
}

body:has(.trip-dock-cities:not([hidden])),
body:has(.dock-preferences:not([hidden])) {
  padding-bottom: 0;
}

.trip-dock {
  position: static;
  z-index: auto;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto 96px;
  box-shadow: 0 20px 70px rgba(19, 32, 51, 0.12);
  backdrop-filter: none;
}

.trip-dock-main {
  grid-template-columns: minmax(190px, 0.72fr) minmax(320px, 1fr) auto;
  padding: 16px 18px;
}

.dock-preferences {
  max-height: none;
  overflow: visible;
}

.dock-preferences-head {
  display: none;
}

.trip-dock-actions {
  width: auto;
}

.trip-dock-actions .button {
  min-height: 44px;
}

@media (max-width: 760px) {
  .trip-dock {
    width: calc(100% - 24px);
    margin-bottom: 64px;
    border-radius: 8px;
  }

  .trip-dock-main {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px;
  }

  .dock-current-selection {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 12px;
    padding-left: 0;
  }

  .dock-current-selection .selected-city-chips {
    max-height: none;
  }

  .dock-current-selection .chip,
  .dock-current-selection .empty-note {
    max-width: none;
  }

  .trip-dock-actions {
    width: 100%;
    justify-content: stretch;
  }

  .trip-dock-actions .button {
    width: 100%;
  }

  .trip-dock-cities,
  .dock-preferences {
    max-height: none;
    padding: 14px;
  }
}

/* Lighter editorial direction: reduce heavy boxes and let spacing carry the layout. */
.journey-overview,
.route-explorer,
.route-explorer .route-detail,
.route-summary,
.brief-explorer,
.trip-dock,
.quiz-card,
.email-brief,
.trip-context {
  border: 0;
  box-shadow: none;
}

.journey-overview,
.route-explorer,
.route-explorer .route-detail,
.route-summary,
.brief-explorer,
.trip-dock {
  background: transparent;
}

.route-explorer {
  padding: clamp(18px, 3vw, 34px) 0 0;
}

.route-explorer .route-picker-head {
  margin-top: 0;
}

.route-explorer .route-detail {
  padding: 10px 0 0;
}

.route-explorer .route-summary {
  gap: 0 clamp(28px, 5vw, 64px);
  padding: clamp(26px, 4vw, 48px) 0 0;
}

.route-card {
  border: 0;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: none;
}

.route-card:hover,
.route-card.active {
  transform: translateY(-2px);
  box-shadow: none;
}

.route-card.active {
  background: rgba(79, 147, 200, 0.1);
}

.tab,
.chip,
.city-select-chip {
  border-color: transparent;
  background: rgba(255, 255, 255, 0.64);
}

.glance-item,
.guide-mini-grid div,
.hotel-card {
  border: 0;
  background: rgba(255, 255, 255, 0.58);
}

.guide-section,
.hotel-showcase {
  border-top-color: rgba(19, 32, 51, 0.08);
}

.trip-dock {
  width: min(1120px, calc(100% - 32px));
  background:
    linear-gradient(180deg, rgba(248, 250, 252, 0.5), rgba(248, 250, 252, 0.18));
}

.trip-dock-main {
  border-top: 1px solid rgba(19, 32, 51, 0.1);
  border-bottom: 1px solid rgba(19, 32, 51, 0.08);
}

.dock-current-selection {
  border-left-color: rgba(19, 32, 51, 0.09);
}

.trip-dock-cities,
.dock-preferences {
  border-top: 0;
  background: transparent;
}

.dock-preferences .trip-context {
  border-top: 1px solid rgba(19, 32, 51, 0.08);
  border-bottom: 1px solid rgba(19, 32, 51, 0.08);
  border-radius: 0;
  padding-inline: 0;
  background: transparent;
}

.dock-preferences .trip-context:has(.trip-context-route:only-child) {
  display: block;
}

.dock-preferences .trip-context:has(.trip-context-route:only-child) .trip-context-route {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  align-items: baseline;
}

.dock-preferences .quiz-card,
.dock-preferences .email-brief,
.dock-preferences .brief-footer {
  border: 0;
  background: rgba(255, 255, 255, 0.5);
}

.dock-preferences .brief-footer {
  background:
    linear-gradient(135deg, rgba(79, 147, 200, 0.06), rgba(248, 250, 252, 0.84));
}

@media (max-width: 760px) {
  .trip-planner-heading {
    width: calc(100% - 24px);
    margin-top: 24px;
    padding-top: 30px;
  }

  .trip-planner-heading h2 {
    font-size: clamp(2rem, 12vw, 3.5rem);
  }

  .floating-conversion {
    right: auto;
    bottom: 14px;
    left: 50%;
    width: min(calc(100% - 28px), 360px);
    min-height: 50px;
    padding: 0 18px 0 14px;
    font-size: 0.95rem;
  }

  .route-explorer,
  .route-explorer .route-detail,
  .route-explorer .route-summary {
    padding-inline: 0;
  }

  .route-card {
    background: rgba(255, 255, 255, 0.72);
  }

  .trip-dock {
    width: calc(100% - 24px);
  }

  .trip-dock-main {
    border-top: 1px solid rgba(19, 32, 51, 0.1);
  }

  .dock-current-selection {
    border-left: 0;
    border-top-color: rgba(19, 32, 51, 0.08);
  }

  .dock-preferences .quiz-card,
  .dock-preferences .email-brief,
  .dock-preferences .brief-footer {
    background: rgba(255, 255, 255, 0.62);
  }
}

/* Clarity pass: stronger section contrast, cleaner tags, and a lighter hotel footprint. */
.route-section {
  width: 100%;
  max-width: none;
  padding-inline: 0;
}

.route-section > .section-head,
.route-section > .route-explorer {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.route-explorer {
  margin-top: 28px;
  border-radius: 8px;
  padding: clamp(18px, 3vw, 30px);
  background:
    linear-gradient(180deg, rgba(239, 247, 253, 0.9), rgba(255, 255, 255, 0.72)),
    #f1f7fc;
}

.route-picker-head {
  margin-bottom: 14px;
}

.route-picker-head span,
.dock-city-head strong,
.dock-selected > span {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 950;
}

.route-card {
  position: relative;
  border: 1px solid rgba(47, 111, 159, 0.16);
  padding: 16px 44px 15px 16px;
  background: rgba(255, 255, 255, 0.9);
}

.route-card::after {
  content: "›";
  position: absolute;
  top: 14px;
  right: 14px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--brand-blue-strong);
  background: rgba(216, 234, 251, 0.9);
  font-size: 1.2rem;
  font-weight: 900;
  line-height: 1;
  transition:
    transform 160ms ease,
    color 160ms ease,
    background 160ms ease;
}

.route-card:hover {
  border-color: rgba(47, 111, 159, 0.42);
  background: #fff;
}

.route-card:hover::after {
  color: #fff;
  background: var(--brand-blue-strong);
  transform: translateX(2px);
}

.route-card.active {
  border-color: var(--brand-blue-strong);
  background: #fff;
  box-shadow:
    inset 0 4px 0 var(--brand-blue),
    0 10px 24px rgba(47, 111, 159, 0.12);
}

.route-card.active::before {
  content: "Selected";
  position: absolute;
  right: 14px;
  bottom: 14px;
  color: var(--brand-blue-strong);
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.route-card-cities {
  color: var(--brand-blue-strong);
}

.route-card-note {
  color: #56677c;
  font-weight: 800;
}

.route-card-action {
  margin-top: 6px;
  color: var(--brand-blue-strong);
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.route-explorer .route-summary {
  padding-top: clamp(30px, 4vw, 52px);
}

.route-summary h3 {
  max-width: 10ch;
  margin-bottom: 18px;
  font-size: clamp(2rem, 3.8vw, 3.45rem);
  line-height: 0.98;
}

.tag-row {
  gap: 8px;
}

.route-info-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 8px;
  padding: 0 9px;
  color: #52667d;
  background: rgba(216, 234, 251, 0.52);
  font-size: 0.76rem;
  font-weight: 850;
}

.guide-label {
  color: var(--brand-blue-strong);
}

.route-description {
  color: #4d6178;
  font-size: 1.02rem;
  line-height: 1.72;
}

.guide-section {
  gap: 14px;
}

.guide-section:first-child {
  padding-bottom: 26px;
}

.guide-mini-grid div,
.glance-item {
  background: rgba(255, 255, 255, 0.82);
}

.route-block {
  gap: 12px;
}

.highlight {
  border-left-color: var(--brand-blue);
  border-radius: 0 8px 8px 0;
  padding: 12px 14px 12px 18px;
  background: rgba(255, 255, 255, 0.76);
}

.highlight strong {
  color: var(--brand-blue-strong);
  font-size: 1.05rem;
}

.hotel-showcase {
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 14px;
  margin-top: 4px;
  border-top: 1px solid rgba(19, 32, 51, 0.08);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.58);
}

.hotel-showcase-media {
  min-height: 142px;
}

.hotel-showcase-copy {
  align-self: start;
  padding: 0;
}

.hotel-showcase-copy h4 {
  margin: 6px 0 6px;
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  line-height: 1.12;
}

.hotel-showcase-copy p {
  max-width: 620px;
  margin: 0;
  color: #52667d;
  font-size: 0.94rem;
  line-height: 1.58;
}

.hotel-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.hotel-card {
  padding: 12px;
  background: rgba(255, 255, 255, 0.82);
}

.hotel-card h4 {
  margin: 5px 0;
  font-size: 0.95rem;
  line-height: 1.18;
}

.hotel-card p,
.hotel-card dd {
  font-size: 0.82rem;
  line-height: 1.4;
}

.hotel-card dl {
  gap: 5px;
  margin: 8px 0;
}

.trip-planner-heading {
  margin-top: 56px;
  padding: 38px clamp(18px, 3vw, 30px) 0;
  border-top-color: rgba(79, 147, 200, 0.24);
  background:
    linear-gradient(180deg, rgba(216, 234, 251, 0.58), rgba(248, 250, 252, 0));
}

.trip-planner-heading .eyebrow {
  color: var(--brand-blue-strong);
}

@media (max-width: 900px) {
  .hotel-grid {
    grid-template-columns: 1fr;
  }

  .hotel-showcase {
    grid-template-columns: 120px minmax(0, 1fr);
  }

  .hotel-showcase-media {
    min-height: 120px;
  }
}

@media (max-width: 760px) {
  .route-section > .section-head,
  .route-section > .route-explorer {
    width: calc(100% - 24px);
  }

  .route-explorer {
    padding: 14px;
  }

  .route-summary h3 {
    max-width: none;
  }

  .hotel-showcase {
    grid-template-columns: 1fr;
  }

  .hotel-showcase-media {
    min-height: 150px;
  }

  .trip-planner-heading {
    padding-inline: 12px;
  }
}

/* Route detail layout refinement: move facts up, make hotels full-width, avoid duplicate brief lines. */
.route-explorer .summary-top {
  grid-row: 1;
}

.route-explorer #routeTags {
  grid-row: 2;
  margin: 0 0 14px;
}

.route-explorer .route-at-glance {
  grid-row: 3;
  margin-top: 0;
}

.route-explorer .summary-actions {
  grid-row: 4;
}

.route-explorer .highlights {
  display: contents;
}

.route-explorer .highlights > .guide-section {
  grid-column: 2;
}

.route-explorer .highlights > .hotel-showcase {
  grid-column: 1 / -1;
}

.route-explorer .highlights > .guide-two-column {
  grid-column: 2;
}

.hotel-showcase {
  grid-template-columns: minmax(170px, 0.24fr) minmax(240px, 0.34fr) minmax(0, 1fr);
  gap: 16px;
  margin-top: 30px;
  background: rgba(255, 255, 255, 0.72);
}

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

.hotel-showcase-media {
  min-height: 132px;
}

@media (max-width: 900px) {
  .route-explorer .highlights,
  .route-explorer .highlights > .guide-section,
  .route-explorer .highlights > .hotel-showcase,
  .route-explorer .highlights > .guide-two-column {
    display: grid;
    grid-column: auto;
  }

  .hotel-showcase {
    grid-template-columns: 130px minmax(0, 1fr);
  }

  .hotel-grid {
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .hotel-showcase {
    grid-template-columns: 1fr;
  }
}

.site-footer {
  margin-top: 96px;
  padding: clamp(48px, 7vw, 84px) clamp(20px, 5vw, 72px) 28px;
  color: rgba(255, 255, 255, 0.92);
  background:
    linear-gradient(180deg, rgba(79, 147, 200, 0.96), rgba(79, 147, 200, 0.98)),
    var(--brand-blue);
}

.footer-inner {
  width: min(1180px, 100%);
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(42px, 6vw, 84px);
  margin: 0 auto;
  align-items: start;
}

.footer-brand,
.footer-brand-block,
.footer-links,
.footer-links ul,
.footer-contact,
.footer-virtuoso,
.footer-bottom {
  display: grid;
}

.footer-brand {
  width: fit-content;
  margin-bottom: 20px;
  color: #fff;
  font-size: clamp(1.45rem, 2.6vw, 2.45rem);
  font-weight: 400;
  letter-spacing: 0.18em;
  line-height: 1.12;
}

.footer-brand .brand-cn {
  margin-top: 8px;
  font-size: 0.78em;
  letter-spacing: 0.2em;
}

.footer-brand-block > p {
  max-width: 420px;
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
  line-height: 1.7;
}

.footer-contact {
  gap: 8px;
  margin-bottom: 28px;
  font-weight: 850;
}

.footer-contact span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.footer-contact a {
  width: fit-content;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  padding: 10px 13px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.footer-virtuoso {
  width: fit-content;
  gap: 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
}

.footer-virtuoso img {
  width: 190px;
  max-width: 100%;
  filter: brightness(0) invert(1);
  opacity: 0.88;
}

.footer-links {
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: clamp(28px, 5vw, 70px);
  align-content: start;
}

.footer-links h3 {
  margin: 0 0 16px;
  color: #fff;
  font-size: 1rem;
  letter-spacing: 0.04em;
}

.footer-links ul {
  grid-template-columns: 1fr;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-nav-group {
  min-width: 0;
}

.footer-policy-group {
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  padding-left: clamp(22px, 3vw, 42px);
}

.footer-links li {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 750;
}

.footer-links a {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.36);
  color: #fff;
  font-weight: 850;
}

.footer-links a::after {
  content: "›";
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.1em;
  line-height: 1;
}

.footer-links a:hover {
  color: #fff;
  border-bottom-color: #fff;
  transform: translateX(2px);
}

.footer-contact a {
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.footer-contact a::after {
  content: " ›";
}

.footer-contact a:hover {
  background: #fff;
  color: var(--brand-blue-strong);
}

.footer-office {
  display: grid;
  gap: 5px;
  max-width: 460px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.86rem;
  line-height: 1.55;
}

.footer-office strong {
  color: #fff;
  font-size: 0.9rem;
}

.footer-office a {
  color: #fff;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom {
  width: min(1180px, 100%);
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 52px auto 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  padding-top: 22px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.86rem;
}

@media (max-width: 860px) {
  .site-footer {
    margin-top: 72px;
  }

  .footer-inner,
  .footer-links,
  .footer-bottom {
    grid-template-columns: 1fr;
  }

  .contact-detail-grid {
    grid-template-columns: 1fr;
  }

  .footer-links {
    gap: 30px;
  }

  .footer-policy-group {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    padding-top: 26px;
    padding-left: 0;
  }

  .footer-links ul {
    grid-template-columns: 1fr 1fr;
  }

  .footer-bottom {
    gap: 8px;
  }
}

@media (max-width: 520px) {
  .site-footer {
    padding: 42px 18px 24px;
  }

  .footer-links ul {
    grid-template-columns: 1fr;
  }
}

.legal-page {
  max-width: 900px;
  color: var(--ink);
}

.legal-page h1 {
  margin: 0 0 12px;
  font-size: clamp(3rem, 7vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: -0.01em;
}

.legal-updated {
  margin: 0 0 34px;
  color: var(--muted);
  font-weight: 800;
}

.legal-page h2 {
  margin: 42px 0 12px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  color: var(--brand-blue-strong);
  font-size: 1.3rem;
  letter-spacing: 0;
}

.legal-page p,
.legal-page li {
  color: #42536b;
  font-size: 1.04rem;
  line-height: 1.75;
}

.legal-page ul {
  display: grid;
  gap: 8px;
  margin: 0 0 0 1.15rem;
  padding: 0;
}

.legal-contact-card {
  display: grid;
  gap: 4px;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: #fff;
}

.legal-contact-card p {
  margin: 0;
}

/* Calm detail surface: remove the blue-gray wash from itinerary content. */
.route-section > .route-explorer {
  background: #fff;
}

.route-explorer {
  box-shadow: 0 18px 44px rgba(19, 32, 51, 0.05);
}

.route-explorer .route-detail {
  background: #fff;
}

.route-explorer .route-summary {
  background: #fff;
}

.route-card {
  background: #fff;
}

.route-card.active {
  background: #fff;
}

.route-card::after {
  background: #eef4f9;
}

.route-info-chip {
  color: #4d6178;
  background: #f4f7fa;
}

.glance-item,
.guide-mini-grid div,
.highlight,
.hotel-showcase,
.hotel-card {
  background: #fff;
}

.glance-item,
.guide-mini-grid div,
.hotel-showcase,
.hotel-card {
  border: 1px solid rgba(19, 32, 51, 0.08);
}

.highlight {
  border-left-color: var(--brand-blue);
  box-shadow: inset 0 0 0 1px rgba(19, 32, 51, 0.04);
}

.route-explorer .highlights > .guide-section,
.route-explorer .highlights > .guide-two-column,
.route-explorer .highlights > .hotel-showcase {
  background: transparent;
}

.hotel-showcase-media {
  background-color: #e9eef3;
}

.trip-planner-heading {
  background: transparent;
}

/* Itinerary overview: keep key facts with the introduction instead of a detached sidebar stack. */
.route-explorer .route-at-glance {
  display: none;
}

.route-description-extra {
  max-width: 76ch;
}

/* Tighter itinerary header and planning details. */
.route-explorer .summary-top {
  align-items: start;
}

.route-explorer #routeTags,
.route-explorer .summary-top #routeTags {
  margin: 18px 0 0;
  grid-row: auto;
}

.route-explorer .summary-top .route-info-chip {
  background: #eef6fc;
  color: var(--brand-blue-strong);
}

.planning-details {
  align-items: stretch;
}

.planning-details .guide-section,
.planning-details .guide-section:first-child {
  gap: 10px;
  border: 1px solid rgba(19, 32, 51, 0.08);
  border-radius: 8px;
  padding: 16px;
  background: #f8fafc;
}

.planning-details ul {
  margin: 0;
  padding-left: 18px;
}

.planning-details li {
  margin-bottom: 6px;
}

.planning-details li:last-child {
  margin-bottom: 0;
}

@media (max-width: 760px) {
  .route-explorer .summary-top #routeTags {
    margin-top: 12px;
  }
}

/* Remove the tall empty title column in the itinerary detail. */
.route-explorer .route-summary {
  grid-template-columns: 1fr;
  gap: 24px;
}

.route-explorer .summary-top {
  grid-column: 1;
  display: block;
  padding-bottom: 4px;
}

.route-explorer .summary-top > div {
  display: grid;
  grid-template-columns: minmax(240px, 0.42fr) minmax(0, 1fr);
  gap: 18px 32px;
  align-items: end;
}

.route-summary h3 {
  max-width: 13ch;
  margin-bottom: 0;
}

.route-explorer #routeTags,
.route-explorer .summary-top #routeTags {
  align-self: end;
  margin: 0;
}

.route-explorer .highlights {
  grid-column: 1;
  grid-row: auto;
  display: grid;
  gap: 16px;
}

.route-explorer .highlights > .guide-section,
.route-explorer .highlights > .guide-two-column,
.route-explorer .highlights > .hotel-showcase {
  grid-column: 1;
}

@media (max-width: 760px) {
  .route-explorer .summary-top > div {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .route-summary h3 {
    max-width: none;
  }
}

/* Richer itinerary details: city-by-city days and one hotel city at a time. */
.day-segments {
  gap: 14px;
}

.day-segment {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(19, 32, 51, 0.08);
  border-left: 4px solid var(--brand-blue);
  border-radius: 8px;
  padding: 18px;
  background: #fff;
}

.day-segment-head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.day-segment-head > strong {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  background: var(--brand-blue);
}

.day-segment h4 {
  margin: 0 0 3px;
  color: var(--ink);
  font-size: 1.22rem;
}

.day-segment-head span {
  color: var(--brand-blue-strong);
  font-weight: 900;
}

.day-segment p {
  margin: 0;
  color: #4d6178;
  line-height: 1.62;
}

.day-segment-lists {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.day-segment-lists > div {
  border-radius: 8px;
  padding: 14px;
  background: #f8fafc;
}

.day-segment-lists span {
  display: block;
  margin-bottom: 8px;
  color: var(--brand-blue-strong);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.day-segment-lists ul {
  margin: 0;
  padding-left: 18px;
}

.day-segment-lists li {
  margin-bottom: 5px;
}

.hotel-showcase {
  grid-template-columns: 180px minmax(250px, 0.85fr) minmax(0, 1fr);
  align-items: start;
}

.hotel-showcase-media {
  width: 180px;
  min-height: 0;
  aspect-ratio: 1;
}

.hotel-city-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.hotel-city-tab {
  min-height: 34px;
  border: 1px solid rgba(79, 147, 200, 0.22);
  border-radius: 999px;
  padding: 0 12px;
  color: var(--brand-blue-strong);
  background: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 900;
}

.hotel-city-tab.active {
  color: #fff;
  background: var(--brand-blue);
}

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

@media (max-width: 900px) {
  .hotel-showcase {
    grid-template-columns: 150px minmax(0, 1fr);
  }

  .hotel-showcase-media {
    width: 150px;
  }

  .hotel-grid {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .day-segment-lists,
  .hotel-showcase,
  .hotel-grid {
    grid-template-columns: 1fr;
  }

  .hotel-showcase-media {
    width: min(100%, 220px);
  }
}

/* Keep itinerary title left-aligned and readable on one line when space allows. */
.route-explorer .summary-top > div {
  grid-template-columns: 1fr;
  gap: 14px;
  justify-items: start;
  text-align: left;
}

.route-summary h3 {
  max-width: none;
  width: 100%;
  text-align: left;
  white-space: nowrap;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
}

.route-explorer #routeTags,
.route-explorer .summary-top #routeTags {
  justify-content: flex-start;
}

.route-summary > .route-visual-panel {
  width: 100%;
  margin-top: 6px;
  margin-bottom: 8px;
}

@media (max-width: 640px) {
  .route-summary h3 {
    white-space: normal;
  }
}

/* Final itinerary section polish: left-aligned intro, compact days, larger hotel visual. */
.route-section > .section-head {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
  text-align: left;
}

.route-section > .section-head h2,
.route-section > .section-head p {
  margin-left: 0;
  margin-right: auto;
}

.day-segments {
  gap: 10px;
}

.day-segment {
  grid-template-columns: minmax(170px, 0.28fr) minmax(0, 1fr);
  gap: 8px 18px;
  padding: 16px 18px;
}

.day-segment-head {
  grid-row: 1 / span 3;
}

.day-segment p {
  line-height: 1.5;
}

.day-segment-note {
  color: #607188;
  font-size: 0.94rem;
}

.day-segment-note strong {
  color: var(--brand-blue-strong);
}

.hotel-showcase {
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 18px;
}

.hotel-showcase-media {
  width: 260px;
}

.hotel-showcase-copy {
  grid-column: 2;
  align-self: start;
}

.hotel-showcase-head {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 14px;
  align-items: start;
}

.hotel-showcase-head h4 {
  margin-bottom: 0;
}

.hotel-city-tabs {
  justify-content: flex-end;
  margin-top: 0;
}

.hotel-grid {
  grid-column: 2;
}

@media (max-width: 900px) {
  .hotel-showcase {
    grid-template-columns: 200px minmax(0, 1fr);
  }

  .hotel-showcase-media {
    width: 200px;
  }

  .hotel-showcase-head {
    grid-template-columns: 1fr;
  }

  .hotel-city-tabs {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .day-segment,
  .hotel-showcase {
    grid-template-columns: 1fr;
  }

  .day-segment-head {
    grid-row: auto;
  }

  .hotel-showcase-copy,
  .hotel-grid {
    grid-column: 1;
  }
}

/* Hotel block reset: larger image, no empty middle band. */
.route-explorer .hotel-showcase {
  grid-template-columns: minmax(300px, 360px) minmax(0, 1fr);
  gap: 22px;
  align-items: stretch;
  padding: 20px;
  background: #fff;
}

.route-explorer .hotel-showcase-media {
  width: 100%;
  min-height: 360px;
  align-self: stretch;
}

.route-explorer .hotel-showcase-copy {
  grid-column: 2;
}

.route-explorer .hotel-showcase-head {
  grid-template-columns: minmax(220px, 1fr) auto;
  align-items: start;
}

.route-explorer .hotel-grid {
  grid-column: 2;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-self: start;
  margin-top: -6px;
}

@media (max-width: 980px) {
  .route-explorer .hotel-showcase {
    grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  }

  .route-explorer .hotel-showcase-media {
    min-height: 300px;
  }

  .route-explorer .hotel-showcase-head,
  .route-explorer .hotel-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .route-explorer .hotel-showcase {
    grid-template-columns: 1fr;
  }

  .route-explorer .hotel-showcase-copy,
  .route-explorer .hotel-grid {
    grid-column: 1;
  }

  .route-explorer .hotel-showcase-media {
    min-height: 240px;
  }
}

/* Tighten the itinerary explorer so card browsing and the selected guide read as one block. */
.route-section > .route-explorer {
  margin-top: 18px;
}

.route-explorer {
  padding-top: clamp(16px, 2vw, 22px);
}

.route-explorer .route-picker-head {
  margin-bottom: 8px;
}

.route-explorer .route-tabs {
  margin-bottom: 8px;
  padding-bottom: 8px;
}

.route-explorer .route-detail {
  padding-top: 0;
}

.route-explorer .route-summary {
  gap: 18px;
  padding-top: clamp(14px, 2vw, 22px);
}

.route-explorer .summary-top {
  padding-bottom: 0;
}

.route-summary h3 {
  margin-bottom: 10px;
}

.route-summary > .route-visual-panel {
  margin-top: 0;
}

@media (max-width: 700px) {
  .route-section > .route-explorer {
    margin-top: 12px;
  }

  .route-explorer .route-summary {
    padding-top: 12px;
  }
}

/* Hotel module: tabs first, then one tight image-and-text layout with no empty band. */
.route-explorer .hotel-showcase {
  grid-template-columns: minmax(360px, 0.42fr) minmax(0, 1fr);
  gap: 18px 24px;
  align-items: stretch;
  padding: 18px;
}

.route-explorer .hotel-showcase-copy {
  grid-column: 1 / -1;
  grid-row: 1;
}

.route-explorer .hotel-showcase-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.route-explorer .hotel-city-tabs {
  justify-content: flex-end;
  margin: 0;
}

.route-explorer .hotel-showcase-media {
  grid-column: 1;
  grid-row: 2;
  min-height: 390px;
}

.route-explorer .hotel-grid {
  grid-column: 2;
  grid-row: 2;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 0;
}

.route-explorer .hotel-card {
  height: 100%;
}

@media (max-width: 980px) {
  .route-explorer .hotel-showcase {
    grid-template-columns: minmax(280px, 0.4fr) minmax(0, 1fr);
  }

  .route-explorer .hotel-showcase-media {
    min-height: 320px;
  }
}

@media (max-width: 760px) {
  .route-explorer .hotel-showcase {
    grid-template-columns: 1fr;
  }

  .route-explorer .hotel-showcase-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .route-explorer .hotel-showcase-media,
  .route-explorer .hotel-grid {
    grid-column: 1;
  }

  .route-explorer .hotel-showcase-media {
    grid-row: 2;
    min-height: 260px;
  }

  .route-explorer .hotel-grid {
    grid-row: 3;
    grid-template-columns: 1fr;
  }
}

/* Lock the itinerary section heading to the same left edge as peer sections. */
.route-section > .section-head {
  width: min(1120px, calc(100% - 32px));
  max-width: none;
  margin: 0 auto 24px;
  text-align: left;
}

.route-section > .section-head .eyebrow,
.route-section > .section-head h2,
.route-section > .section-head p {
  margin-left: 0;
  margin-right: auto;
  text-align: left;
}

.route-section > .section-head h2 {
  width: 100%;
  max-width: none;
  white-space: nowrap;
  font-size: clamp(2.8rem, 4.1vw, 4.1rem);
  line-height: 1;
}

.route-section > .section-head > p:last-child {
  max-width: 960px;
}

@media (max-width: 860px) {
  .route-section > .section-head h2 {
    white-space: normal;
    font-size: clamp(2.25rem, 8vw, 3.25rem);
  }
}

/* Final compact pass for selected itinerary detail. */
.route-explorer .route-detail {
  padding: 10px 14px 14px;
}

.route-explorer .route-summary {
  gap: 12px;
  padding: clamp(12px, 1.6vw, 18px);
}

.route-summary h3 {
  margin-bottom: 6px;
}

.route-summary > .route-visual-panel {
  min-height: clamp(250px, 28vw, 330px);
  margin-bottom: 2px;
}

.route-visual-overlay {
  inset: auto 22px 20px;
}

.days {
  font-size: clamp(2.25rem, 4vw, 3rem);
}

.theme-line {
  margin-bottom: 6px;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
}

.route-explorer .highlights {
  gap: 12px;
}

.route-explorer .highlights > .guide-section {
  padding: 14px 0;
}

.route-description {
  margin-bottom: 0;
  line-height: 1.55;
}

.route-description-extra {
  margin-top: -2px;
}

@media (max-width: 760px) {
  .route-explorer .route-detail {
    padding: 8px;
  }

  .route-summary > .route-visual-panel {
    min-height: 220px;
  }
}

/* Itinerary category tabs from the route content outline. */
.route-category-tabs {
  gap: 10px;
  margin-bottom: 18px;
  padding-bottom: 10px;
}

.route-category-tab {
  flex: 0 0 auto;
  min-height: 42px;
  border: 1px solid rgba(79, 147, 200, 0.24);
  padding: 0 16px;
  color: var(--brand-blue-strong);
  background: rgba(255, 255, 255, 0.86);
  font-weight: 900;
  white-space: nowrap;
}

.route-category-tab.active {
  border-color: var(--brand-blue);
  color: #fff;
  background: var(--brand-blue);
  box-shadow: 0 10px 24px rgba(79, 147, 200, 0.22);
}

.route-category-tab:hover {
  border-color: var(--brand-blue);
}

.route-explorer .route-picker-head {
  align-items: center;
}

.route-explorer #routePickerTitle {
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 950;
}

@media (max-width: 700px) {
  .route-category-tabs {
    margin-bottom: 12px;
  }

  .route-category-tab {
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.84rem;
  }
}

/* Day-by-day reads as one continuous itinerary instead of separated city cards. */
.route-explorer .day-segments {
  position: relative;
  gap: 0;
  padding-left: 18px;
}

.route-explorer .day-segments::before {
  content: "";
  position: absolute;
  top: 14px;
  bottom: 14px;
  left: 16px;
  width: 2px;
  background: rgba(79, 147, 200, 0.28);
}

.route-explorer .day-segment {
  position: relative;
  grid-template-columns: minmax(155px, 0.24fr) minmax(0, 1fr);
  gap: 10px 18px;
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid rgba(19, 32, 51, 0.08);
  padding: 16px 0 16px 28px;
  background: transparent;
}

.route-explorer .day-segment:last-child {
  border-bottom: 0;
  padding-bottom: 4px;
}

.route-explorer .day-segment-head {
  grid-row: auto;
  gap: 12px;
  align-items: flex-start;
}

.route-explorer .day-segment-head > strong {
  position: relative;
  z-index: 1;
  width: 30px;
  height: 30px;
  margin-left: -28px;
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px rgba(79, 147, 200, 0.18);
  font-size: 0.9rem;
}

.route-explorer .day-segment h4 {
  margin-bottom: 2px;
  font-size: 1.12rem;
}

.route-explorer .day-segment-head span {
  font-size: 0.94rem;
}

.route-explorer .day-segment p {
  color: #4d6178;
  line-height: 1.56;
}

@media (max-width: 760px) {
  .route-explorer .day-segments {
    padding-left: 10px;
  }

  .route-explorer .day-segments::before {
    left: 12px;
  }

  .route-explorer .day-segment {
    grid-template-columns: 1fr;
    gap: 8px;
    padding-left: 24px;
  }

  .route-explorer .day-segment-head > strong {
    margin-left: -24px;
  }
}

/* Route preview gallery and cleaner hotel city navigation. */
.route-explorer #routeTags,
.route-explorer .summary-top #routeTags {
  display: none;
}

.route-summary > .route-visual-panel {
  min-height: clamp(390px, 42vw, 540px);
}

.route-explorer .route-visual-panel {
  min-height: clamp(390px, 42vw, 540px);
}

.route-visual {
  background-image: var(--route-bg, linear-gradient(135deg, #6aa8d3, #d49a3a));
}

.hotel-showcase-head {
  border-bottom: 1px solid rgba(19, 32, 51, 0.08);
  padding-bottom: 12px;
}

.hotel-city-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hotel-city-tab {
  min-height: 36px;
  border: 1px solid rgba(79, 147, 200, 0.24);
  border-radius: 999px;
  padding: 0 14px;
  color: var(--brand-blue-strong);
  background: rgba(255, 255, 255, 0.82);
  font-weight: 900;
  cursor: pointer;
}

.hotel-city-tab.active {
  border-color: var(--brand-blue);
  color: #fff;
  background: var(--brand-blue);
}

.hotel-city-tab:hover {
  border-color: var(--brand-blue);
}

@media (max-width: 760px) {
  .route-summary > .route-visual-panel,
  .route-explorer .route-visual-panel {
    min-height: 430px;
  }

  .route-visual {
    grid-template-columns: 1fr 1fr;
  }

  .route-photo-tile:first-child {
    grid-column: 1 / -1;
    grid-row: auto;
    aspect-ratio: 4 / 3;
  }
}

/* Keep the itinerary intro aligned with peer section headings, not the browser edge. */
.route-section > .section-head {
  width: min(1120px, calc(100% - 112px));
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 760px) {
  .route-section > .section-head {
    width: calc(100% - 40px);
  }
}

/* Interactive route gallery: no frame, up to 20 click-to-expand images. */
.route-summary > .route-visual-panel,
.route-explorer .route-visual-panel {
  border: 0;
  box-shadow: none;
  background: transparent;
}

.route-visual {
  grid-auto-flow: row;
  grid-auto-columns: unset;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: none;
  grid-auto-rows: clamp(132px, 11vw, 176px);
  overflow: visible;
  scrollbar-width: none;
  scroll-snap-type: none;
}

.route-photo-tile {
  scroll-snap-align: none;
}

.route-photo-tile:first-child {
  grid-column: auto;
  width: min(58vw, 620px);
}

.route-photo-tile:nth-child(n + 2) {
  min-width: 180px;
}

.route-photo-tile:hover {
  filter: brightness(1.04);
}

.route-visual-overlay {
  pointer-events: none;
}

.gallery-lightbox[hidden] {
  display: none;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 48px);
  background: rgba(9, 18, 30, 0.86);
}

.gallery-lightbox img {
  max-width: min(1180px, 94vw);
  max-height: 82vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

.gallery-lightbox p {
  margin: 14px 0 0;
  color: #fff;
  font-weight: 850;
}

.gallery-lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  padding: 0 16px;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  font-weight: 900;
  cursor: pointer;
}

.gallery-lightbox-nav {
  position: fixed;
  top: 50%;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
  transform: translateY(-50%);
  cursor: pointer;
  backdrop-filter: blur(12px);
}

.gallery-lightbox-prev {
  left: clamp(14px, 3vw, 42px);
}

.gallery-lightbox-next {
  right: clamp(14px, 3vw, 42px);
}

body.lightbox-open {
  overflow: hidden;
}

/* Softer day-by-day flow. */
.route-explorer .day-segments {
  padding-left: 0;
}

.route-explorer .day-segments::before {
  display: none;
}

.route-explorer .day-segment {
  grid-template-columns: minmax(150px, 0.23fr) minmax(0, 1fr);
  border: 0;
  border-bottom: 1px solid rgba(19, 32, 51, 0.06);
  padding: 14px 0;
}

.route-explorer .day-segment-head > strong {
  width: auto;
  height: auto;
  margin-left: 0;
  border: 0;
  border-radius: 0;
  color: var(--brand-blue-strong);
  background: transparent;
  box-shadow: none;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.route-explorer .day-segment-head {
  flex-direction: column;
  gap: 5px;
}

@media (max-width: 760px) {
  .route-visual {
    grid-auto-columns: minmax(150px, 46%);
    grid-template-columns: minmax(280px, 86%);
  }

  .route-photo-tile:first-child {
    width: 86vw;
  }

  .route-photo-tile:nth-child(n + 2) {
    min-width: 150px;
  }

  .route-explorer .day-segment {
    grid-template-columns: 1fr;
    padding-left: 0;
  }

  .route-explorer .day-segment-head > strong {
    margin-left: 0;
  }
}

/* Compact itinerary rows, recommended hotels, and clearly named service details. */
.route-explorer .day-segments {
  gap: 0;
  padding-left: 0;
}

.route-explorer .day-segments::before {
  content: none;
}

.route-explorer .day-segment {
  grid-template-columns: minmax(128px, 0.2fr) minmax(0, 1fr);
  gap: 12px 18px;
  border: 0;
  border-bottom: 1px solid rgba(19, 32, 51, 0.06);
  padding: 12px 0;
}

.route-explorer .day-segment:first-child {
  padding-top: 4px;
}

.route-explorer .day-segment-head {
  display: block;
}

.route-explorer .day-segment-head > strong {
  display: none;
}

.route-explorer .day-segment h4 {
  margin: 0 0 2px;
  font-size: 1.06rem;
}

.route-explorer .day-segment-head span {
  font-size: 0.9rem;
}

.route-explorer .day-segment p {
  line-height: 1.48;
}

.route-explorer .hotel-showcase-head {
  border-bottom: 0;
  padding-bottom: 0;
}

.route-explorer .hotel-showcase-head .guide-label {
  color: var(--brand-blue-strong);
}

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

.route-explorer .hotel-card > span {
  display: none;
}

.route-explorer .hotel-card h4 {
  margin-top: 0;
}

.planning-details {
  gap: 14px;
}

.planning-details-title {
  grid-column: 1 / -1;
}

.planning-details-title .guide-label {
  color: var(--brand-blue-strong);
}

@media (max-width: 760px) {
  .route-explorer .day-segment {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .route-explorer .hotel-grid {
    grid-template-columns: 1fr;
  }
}

/* Route cards: keep long itinerary names readable. */
.route-explorer .route-tabs {
  align-items: stretch;
}

.route-explorer .route-card {
  flex-basis: clamp(300px, 29vw, 370px);
  min-height: 156px;
  height: auto;
  align-self: stretch;
  overflow: visible;
}

.route-explorer .route-card-title,
.route-explorer .route-card-cities,
.route-explorer .route-card-note {
  display: block;
  overflow: visible;
  -webkit-line-clamp: initial;
  -webkit-box-orient: initial;
  text-overflow: clip;
  white-space: normal;
}

.route-explorer .route-card-title {
  line-height: 1.12;
  overflow-wrap: break-word;
}

.route-explorer .route-card-cities {
  line-height: 1.32;
}

@media (max-width: 760px) {
  .route-explorer .route-card {
    flex-basis: min(86vw, 340px);
    min-height: 148px;
  }
}

/* Final itinerary gallery and detail rhythm. */
.route-summary > .route-visual-panel,
.route-explorer .route-visual-panel {
  min-height: 0;
  border: 0;
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
}

.route-visual {
  grid-auto-flow: row;
  grid-auto-columns: unset;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: none;
  grid-auto-rows: clamp(132px, 11vw, 176px);
  gap: 10px;
  padding: 0;
  background: #fff;
  background-image: none;
  overflow: visible;
  scrollbar-width: none;
}

.route-visual::-webkit-scrollbar {
  display: none;
}

.route-visual::after {
  display: none;
}

.route-photo-tile,
.route-photo-tile:nth-child(n + 2) {
  min-width: 0;
  width: auto;
  aspect-ratio: auto;
  scroll-snap-align: none;
}

.route-photo-tile:first-child {
  grid-column: span 2;
  grid-row: span 2;
  width: auto;
}

.route-photo-tile:nth-child(2),
.route-photo-tile:nth-child(3),
.route-photo-tile:nth-child(4),
.route-photo-tile:nth-child(5) {
  grid-column: span 1;
  grid-row: span 1;
}

.route-photo-tile span {
  border-radius: 4px;
  padding: 5px 8px;
}

.route-visual-overlay {
  display: none;
}

.route-photo-tile.has-more::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(19, 32, 51, 0.58);
  backdrop-filter: blur(2px);
}

.route-photo-tile.has-more strong {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: clamp(1.75rem, 4vw, 3.25rem);
  font-weight: 950;
  letter-spacing: 0.02em;
}

.route-photo-tile.has-more span {
  z-index: 3;
}

.route-explorer .highlights {
  gap: 0;
}

.route-explorer .highlights > .guide-section,
.route-explorer .highlights > .hotel-showcase,
.route-explorer .highlights > .planning-details {
  padding-top: 26px;
  padding-bottom: 26px;
  border-top: 1px solid rgba(19, 32, 51, 0.1);
}

.route-explorer .highlights > .guide-section:first-child {
  margin-top: 0;
}

.route-explorer .highlights > .guide-section + .guide-section,
.route-explorer .highlights > .hotel-showcase + .planning-details {
  margin-top: 0;
}

.route-explorer .day-segment {
  grid-template-columns: minmax(116px, 0.18fr) minmax(0, 1fr);
  gap: 10px 14px;
}

.route-explorer .hotel-showcase {
  margin-top: 0;
}

@media (max-width: 860px) {
  .route-summary > .route-visual-panel,
  .route-explorer .route-visual-panel {
    min-height: 0;
  }

  .route-visual {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    grid-auto-rows: 128px;
    overflow: visible;
  }

  .route-photo-tile:first-child {
    grid-column: span 2;
  }

  .route-visual-overlay {
    display: none;
  }
}

/* Day by day: reduce the label column so descriptions start sooner. */
.route-explorer .day-segment {
  grid-template-columns: minmax(104px, 132px) minmax(0, 1fr);
  gap: 8px 14px;
}

@media (max-width: 760px) {
  .route-explorer .day-segment {
    grid-template-columns: 1fr;
  }
}

/* Home transition: connect the hero and planning overview more naturally. */
.hero {
  min-height: 82vh;
  padding-bottom: clamp(70px, 10vh, 118px);
}

.hero::after {
  height: 46%;
  background:
    linear-gradient(180deg, transparent 0%, rgba(248, 250, 252, 0.55) 58%, #f8fafc 100%);
}

main {
  background:
    linear-gradient(180deg, #f8fafc 0%, #ffffff 18%, #f7f9fb 100%);
}

.journey-overview {
  width: min(1180px, calc(100% - 72px));
  margin-top: clamp(-96px, -8vh, -62px);
  border: 1px solid rgba(79, 147, 200, 0.14);
  border-radius: 8px;
  padding: clamp(24px, 3.4vw, 42px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(246, 250, 253, 0.9)),
    #fff;
  box-shadow: 0 24px 60px rgba(19, 32, 51, 0.1);
}

.journey-overview::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(79, 147, 200, 0.04));
}

.route-section {
  padding-top: clamp(66px, 8vw, 104px);
}

@media (max-width: 860px) {
  .hero {
    min-height: 720px;
    padding-bottom: 86px;
  }

  .journey-overview {
    width: min(100% - 28px, 1180px);
    margin-top: -56px;
  }
}

/* Travel partner section: separate B2B support from individual traveler planning. */
.partners-section {
  width: min(1180px, calc(100% - 40px));
  margin: clamp(70px, 8vw, 112px) auto 0;
  padding: clamp(28px, 4vw, 46px) 0 0;
  border-top: 1px solid rgba(79, 147, 200, 0.18);
}

.partners-page-section {
  margin-top: 0;
  padding-top: clamp(46px, 7vw, 86px);
}

.partners-heading {
  max-width: 880px;
  margin-bottom: 28px;
}

.partners-heading h2 {
  max-width: 820px;
  margin: 0 0 18px;
  font-size: clamp(2.3rem, 5vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.partners-heading > p {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.65;
}

.partners-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(22px, 4vw, 44px);
  border: 1px solid rgba(79, 147, 200, 0.18);
  border-radius: 8px;
  padding: clamp(22px, 3vw, 34px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(241, 247, 252, 0.86)),
    #fff;
}

.partners-intro {
  display: grid;
  align-content: start;
  gap: 14px;
}

.partners-intro > span {
  width: fit-content;
  border: 1px solid rgba(79, 147, 200, 0.22);
  border-radius: 999px;
  padding: 7px 11px;
  color: var(--brand-blue-strong);
  background: rgba(216, 234, 251, 0.55);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.partners-intro h3 {
  max-width: 520px;
  margin: 0;
  font-size: clamp(1.55rem, 2.6vw, 2.25rem);
  line-height: 1.04;
}

.partners-intro p {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

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

.partner-service-grid article {
  border: 1px solid rgba(19, 32, 51, 0.08);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.72);
}

.partner-service-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.25;
}

.partner-service-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.55;
}

@media (max-width: 860px) {
  .partners-section {
    width: min(100% - 28px, 1180px);
    margin-top: 62px;
  }

  .partners-page-section {
    margin-top: 0;
    padding-top: 44px;
  }

  .partners-panel,
  .partner-service-grid {
    grid-template-columns: 1fr;
  }
}

/* Recommended hotels: align with peer itinerary content and remove the wrapper box. */
.route-explorer .highlights > .hotel-showcase,
.route-explorer .hotel-showcase {
  grid-column: auto;
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 0.58fr);
  gap: clamp(18px, 3vw, 32px);
  margin: 34px 0 0;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.route-explorer .hotel-showcase-copy {
  display: grid;
  align-content: start;
  gap: 14px;
}

.route-explorer .hotel-showcase-head {
  display: block;
  margin: 0;
  padding: 0;
}

.route-explorer .hotel-showcase-media {
  width: 100%;
  min-height: clamp(260px, 34vw, 420px);
  border-radius: 8px;
}

.route-explorer .hotel-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.route-explorer .hotel-card {
  border-color: rgba(19, 32, 51, 0.08);
  background: rgba(255, 255, 255, 0.66);
}

@media (max-width: 860px) {
  .route-explorer .highlights > .hotel-showcase,
  .route-explorer .hotel-showcase {
    grid-template-columns: 1fr;
    margin-top: 28px;
  }

  .route-explorer .hotel-showcase-media {
    min-height: 240px;
  }
}

@media (max-width: 640px) {
  .route-explorer .hotel-grid {
    grid-template-columns: 1fr;
  }
}

/* Consistent page shell across homepage, About, and Advisor pages. */
html {
  scrollbar-gutter: stable both-edges;
  overflow-y: scroll;
}

body {
  width: 100%;
  min-width: 320px;
  overflow-x: hidden;
}

.nav {
  height: 82px;
  right: 0;
  width: auto;
  max-width: none;
  min-height: 82px;
  box-sizing: border-box;
  padding: 13px max(56px, calc((100vw - 1180px) / 2));
}

.brand {
  flex: 0 0 auto;
}

.nav-links {
  flex: 0 1 auto;
  margin-left: auto;
  align-items: center;
  white-space: nowrap;
}

.nav-links .nav-action {
  min-height: 42px;
  padding: 0 18px;
}

.planner-page {
  background: linear-gradient(180deg, #f8fbfd 0%, #fff 46%, #f6f8fa 100%);
}

.planner-page .trip-planner-heading {
  width: min(1180px, calc(100% - 112px));
  margin: 0 auto;
  padding: clamp(72px, 8vw, 108px) 0 34px;
  border-bottom: 1px solid var(--line);
}

.planner-page .trip-planner-heading h1 {
  margin: 0;
  max-width: 860px;
  color: var(--ink);
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 0.98;
}

.standalone-planner {
  width: min(1180px, calc(100% - 112px));
  margin: 0 auto;
}

.page-main {
  min-height: max(860px, calc(100svh - 82px));
  padding-top: 82px;
}

.page-main > .section:first-child {
  width: min(1180px, calc(100% - 112px));
  margin-right: auto;
  margin-left: auto;
  padding: clamp(72px, 8vw, 104px) 0 0;
}

.section {
  width: min(1180px, calc(100% - 112px));
}

.about-section,
.partners-page-section {
  display: block;
}

.about-explorer,
.partners-page-section {
  width: 100%;
}

.about-hero,
.partners-heading {
  margin-right: 0;
  margin-left: 0;
}

.about-title h2,
.partners-heading h2 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(2.7rem, 5.6vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: -0.01em;
}

.about-copy,
.partners-heading > p {
  color: var(--muted);
}

.site-footer {
  margin-top: clamp(76px, 8vw, 112px);
}

.footer-inner,
.footer-bottom {
  width: min(1180px, calc(100% - 112px));
}

@media (max-width: 860px) {
  .nav {
    height: auto;
    min-height: 0;
    padding: 16px 20px;
  }

  .page-main {
    min-height: max(760px, calc(100svh - 112px));
    padding-top: 112px;
  }

  .page-main > .section:first-child {
    width: min(1180px, calc(100% - 32px));
    padding-top: 44px;
  }

  .section {
    width: min(1180px, calc(100% - 32px));
  }

  .about-title h2,
  .partners-heading h2 {
    font-size: clamp(2.3rem, 11vw, 4rem);
  }

  .footer-inner,
  .footer-bottom {
    width: min(1180px, calc(100% - 40px));
  }

  .planner-page .trip-planner-heading,
  .standalone-planner {
    width: min(1180px, calc(100% - 32px));
  }

  .planner-page .trip-planner-heading {
    padding-top: 44px;
  }
}

@media (max-width: 560px) {
  .nav-links {
    gap: 8px;
  }

  .nav-links a {
    padding: 7px 9px;
  }

  .nav-links .nav-action {
    min-height: 38px;
    padding: 0 12px;
  }

  .page-main {
    padding-top: 128px;
  }
}

/* Final shell lock: keep every top-level page on the same viewport rhythm. */
:root {
  --shell-max: 1180px;
  --shell-gutter: 56px;
  --shell-mobile-gutter: 16px;
  --nav-desktop-height: 82px;
}

html {
  width: 100%;
  overflow-y: scroll;
  scrollbar-gutter: stable both-edges;
  scroll-behavior: auto !important;
}

body {
  width: 100%;
  min-width: 320px;
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
}

main,
.hero,
.page-main,
.site-footer {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}

.nav {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  max-width: none;
  height: var(--nav-desktop-height);
  min-height: var(--nav-desktop-height);
  margin: 0;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 13px max(var(--shell-gutter), calc((100% - var(--shell-max)) / 2));
}

.brand {
  flex: 0 0 auto;
}

.nav-links {
  flex: 0 1 auto;
  width: auto;
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(16px, 2.2vw, 32px);
  white-space: nowrap;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-links .nav-action {
  min-height: 42px;
  padding: 0 18px;
}

.section,
.journey-overview,
.page-main > .section:first-child,
.planner-page .trip-planner-heading,
.standalone-planner {
  width: min(var(--shell-max), calc(100% - (var(--shell-gutter) * 2)));
  margin-right: auto;
  margin-left: auto;
  box-sizing: border-box;
}

.page-main {
  min-height: max(860px, calc(100svh - var(--nav-desktop-height)));
  padding-top: var(--nav-desktop-height);
}

.page-main > .section:first-child {
  padding-top: clamp(72px, 8vw, 104px);
}

.site-footer {
  width: 100%;
}

.footer-inner,
.footer-bottom {
  width: min(var(--shell-max), calc(100% - (var(--shell-gutter) * 2)));
  margin-right: auto;
  margin-left: auto;
  box-sizing: border-box;
}

.hero-content,
.trust-row {
  width: min(var(--shell-max), calc(100% - (var(--shell-gutter) * 2)));
  margin-right: auto;
  margin-left: auto;
  box-sizing: border-box;
}

@media (max-width: 860px) {
  :root {
    --shell-gutter: var(--shell-mobile-gutter);
  }

  .nav {
    height: auto;
    min-height: 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 14px var(--shell-mobile-gutter);
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links a {
    flex: 0 0 auto;
  }

  .page-main {
    min-height: max(760px, calc(100svh - 120px));
    padding-top: 120px;
  }

  .page-main > .section:first-child,
  .planner-page .trip-planner-heading {
    padding-top: 44px;
  }

  .footer-inner,
  .footer-bottom {
    width: min(var(--shell-max), calc(100% - 40px));
  }
}

@media (max-width: 560px) {
  .nav {
    padding: 10px var(--shell-mobile-gutter);
  }

  .nav-links {
    gap: 8px;
  }

  .nav-links a {
    padding: 7px 9px;
  }

  .nav-links .nav-action {
    min-height: 38px;
    padding: 0 12px;
  }

  .page-main {
    padding-top: 128px;
  }
}

/* Footer link groups should read as clear single-column menus. */
.footer-links {
  grid-template-columns: minmax(180px, 1fr) minmax(180px, 1fr);
}

.footer-links .footer-nav-group ul,
.footer-links .footer-policy-group ul {
  display: grid;
  grid-template-columns: 1fr;
  gap: 11px;
}

@media (max-width: 860px) {
  .footer-links {
    grid-template-columns: 1fr;
  }

  .footer-links .footer-nav-group ul,
  .footer-links .footer-policy-group ul {
    grid-template-columns: 1fr;
  }
}

/* Final viewport contract: every top navigation page uses the same shell. */
body > .nav {
  position: fixed !important;
  inset: 0 0 auto 0 !important;
  width: auto !important;
  height: var(--nav-desktop-height) !important;
  min-height: var(--nav-desktop-height) !important;
  max-height: var(--nav-desktop-height) !important;
  padding-right: max(var(--shell-gutter), calc((100% - var(--shell-max)) / 2)) !important;
  padding-left: max(var(--shell-gutter), calc((100% - var(--shell-max)) / 2)) !important;
}

.hero {
  grid-template-rows: 1fr auto !important;
  padding-top: var(--nav-desktop-height) !important;
}

.page-main {
  display: block;
  width: 100% !important;
  max-width: none !important;
}

.page-main > .section:first-child,
.planner-page .trip-planner-heading,
.standalone-planner,
.section,
.journey-overview,
.footer-inner,
.footer-bottom,
.hero-content,
.trust-row {
  width: min(var(--shell-max), calc(100% - (var(--shell-gutter) * 2))) !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

.floating-conversion {
  right: auto !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
}

@media (max-width: 860px) {
  body > .nav {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding-right: var(--shell-mobile-gutter) !important;
    padding-left: var(--shell-mobile-gutter) !important;
  }

  .hero {
    padding-top: 120px !important;
  }
}

@media (max-width: 560px) {
  .hero {
    padding-top: 128px !important;
  }
}

/* Page-to-page lock: prevent Itineraries/About/Advisors/Plan from changing scale. */
html,
body {
  inline-size: 100% !important;
  max-inline-size: 100% !important;
}

body {
  display: block !important;
  background:
    linear-gradient(180deg, #f8fafc 0%, #ffffff 42%, #f3f6f9 100%) !important;
}

body:has(.trip-dock),
body:has(.trip-dock-cities:not([hidden])),
body:has(.dock-preferences:not([hidden])) {
  padding-bottom: 0 !important;
}

body > .nav {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 24px !important;
  overflow: hidden !important;
}

body > .nav .brand {
  width: 172px !important;
  min-width: 172px !important;
  max-width: 172px !important;
}

body > .nav .nav-links {
  width: auto !important;
  min-width: 0 !important;
  max-width: calc(100% - 190px) !important;
  margin-left: auto !important;
}

body > .nav .nav-links a {
  flex: 0 0 auto !important;
}

body > main,
body > .page-main {
  inline-size: 100% !important;
  max-inline-size: none !important;
}

.page-main {
  min-height: max(860px, calc(100svh - var(--nav-desktop-height))) !important;
  padding-top: var(--nav-desktop-height) !important;
}

.page-main > .section:first-child,
.planner-page .trip-planner-heading,
.standalone-planner,
.partners-section,
.partners-page-section,
.about-section,
.section,
.journey-overview,
.route-section > .section-head,
.route-section > .route-explorer {
  inline-size: min(var(--shell-max), calc(100% - (var(--shell-gutter) * 2))) !important;
  max-inline-size: var(--shell-max) !important;
  margin-inline: auto !important;
  box-sizing: border-box !important;
}

.partners-section,
.partners-page-section,
.about-section,
.page-main > .section:first-child {
  padding-inline: 0 !important;
}

.partners-section {
  margin-top: 0 !important;
}

.partners-page-section {
  padding-top: clamp(72px, 8vw, 104px) !important;
}

.planner-page .trip-planner-heading {
  padding-inline: 0 !important;
}

.standalone-planner {
  margin-bottom: 96px !important;
}

.site-footer {
  inline-size: 100% !important;
  max-inline-size: none !important;
}

.footer-inner,
.footer-bottom {
  inline-size: min(var(--shell-max), calc(100% - (var(--shell-gutter) * 2))) !important;
  max-inline-size: var(--shell-max) !important;
  margin-inline: auto !important;
}

@media (max-width: 860px) {
  body > .nav {
    align-items: flex-start !important;
    flex-direction: column !important;
    overflow: visible !important;
  }

  body > .nav .brand {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
  }

  body > .nav .nav-links {
    width: 100% !important;
    max-width: 100% !important;
  }

  .page-main > .section:first-child,
  .planner-page .trip-planner-heading,
  .standalone-planner,
  .partners-section,
  .partners-page-section,
  .about-section,
  .section,
  .journey-overview,
  .route-section > .section-head,
  .route-section > .route-explorer,
  .footer-inner,
  .footer-bottom {
    inline-size: min(var(--shell-max), calc(100% - (var(--shell-mobile-gutter) * 2))) !important;
  }
}
