/* ==========================================================================
   Vienna–Budapest Train — imperial-elegance theme
   Palette: foggy ivory / deep forest green / dusty burgundy / charcoal /
            muted silver / very dark blue
   ========================================================================== */

:root {
  --ivory: #EFEAE0;
  --ivory-dim: #D2CBBC;
  --forest: #2A4A3B;
  --forest-light: #3E664D;
  --burgundy: #7A3546;
  --burgundy-light: #9C4C5F;
  --charcoal: #2C2F36;
  --charcoal-light: #3B3E46;
  --silver: #B7BAB4;
  --silver-dim: #868A83;
  --navy: #141C2E;
  --navy-light: #1C2740;

  --bg: var(--navy);
  --bg-alt: var(--charcoal);
  --text: var(--ivory);
  --text-dim: var(--silver);
  --line: rgba(183, 186, 180, 0.3);

  --serif: "EB Garamond", Georgia, serif;
  --display: "Playfair Display", var(--serif);
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --maxw: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; margin: 0; color: var(--ivory); }
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(32px, 6vw, 96px); }
.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--silver);
  display: inline-block;
  margin-bottom: 14px;
}
.eyebrow::before { content: "— "; color: var(--forest-light); }
.section { padding: 96px 0; position: relative; }
.section--forest { background: linear-gradient(180deg, var(--navy) 0%, #1C3629 50%, var(--navy) 100%); }
.section--burgundy { background: linear-gradient(180deg, var(--navy) 0%, #3A1F2B 50%, var(--navy) 100%); }
.section--charcoal {
  background: linear-gradient(180deg, var(--navy) 0, var(--bg-alt) 120px, var(--bg-alt) calc(100% - 120px), var(--navy) 100%);
}
section[data-journey-section="Overview"] { padding-top: 48px; padding-bottom: 48px; }
section[data-journey-section="Practical"] { padding-bottom: 48px; }
section[data-journey-section="Experiences"] { padding-bottom: 48px; }
.highlights-section {
  padding-top: 48px;
  padding-bottom: 48px;
  background: linear-gradient(180deg,
    var(--navy) 0%,
    #1C3629 18%,
    #2B2C29 50%,
    #3A1F2B 82%,
    var(--navy) 100%);
}
.highlights-block { padding: 30px 0; }
.highlights-divider { height: 1px; background: var(--line); margin: 8px 0 48px; }
.divider { width: 64px; height: 1px; background: var(--silver-dim); margin: 22px 0; }
.track-divider {
  display: block; width: 100%; height: 32px; margin: 22px 0;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.4s linear;
}
.track-divider.is-visible { clip-path: inset(0 -1% 0 0); }
.track-divider svg { display: block; width: 100%; height: 100%; }
.track-divider .td-gravel { fill: var(--silver-dim); opacity: 0.32; }
.track-divider .td-sleeper { fill: #4A4038; }
.track-divider .td-grain { fill: #38312B; opacity: 0.6; }
.track-divider .td-plate { fill: #201C18; opacity: 0.85; }
.track-divider .td-rail-highlight { stop-color: var(--ivory-dim); }
.track-divider .td-rail-mid { stop-color: var(--silver); }
.track-divider .td-rail-shadow { stop-color: #4A4D48; }
@media (prefers-reduced-motion: reduce) {
  .track-divider { clip-path: inset(0 -1% 0 0); transition: none; }
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border: 1px solid var(--silver-dim);
  color: var(--ivory);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: var(--sans);
  background: transparent;
  cursor: pointer;
  transition: border-color .25s, background .25s;
}
.btn:hover { border-color: var(--ivory); background: rgba(236,230,216,0.05); }
.btn--solid { background: var(--forest); border-color: var(--forest); }
.btn--solid:hover { background: var(--forest-light); border-color: var(--forest-light); }
.btn--burgundy { background: var(--burgundy); border-color: var(--burgundy); }
.btn--burgundy:hover { background: var(--burgundy-light); border-color: var(--burgundy-light); }

/* ---------------- header ---------------- */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(20,28,46,0.8);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  max-width: var(--maxw); margin: 0 auto; padding: 0 32px;
  display: grid; grid-template-columns: auto 1fr auto auto; align-items: center;
  height: 82px; gap: 28px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 40px; height: 40px; border: 1px solid var(--silver-dim); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-size: 0.95rem; letter-spacing: 0.02em; color: var(--ivory);
  flex-shrink: 0;
}
.logo-text { line-height: 1.1; }
.logo-text strong { display: block; font-family: var(--display); font-size: 0.98rem; letter-spacing: 0.06em; }
.logo-text span { display: block; font-size: 0.6rem; letter-spacing: 0.2em; color: var(--silver-dim); text-transform: uppercase; }
.nav-links { display: flex; gap: 34px; justify-self: center; }
.nav-links a {
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--silver);
  transition: color .2s;
}
.nav-links a:hover { color: var(--ivory); }
.nav-cta a { font-size: 0.7rem; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--silver-dim); width: 42px; height: 42px;
  align-items: center; justify-content: center; cursor: pointer; color: var(--ivory);
}
.nav-panel { display: none; }

/* ---------------- journey progress ribbon ---------------- */
.journey-rail {
  position: fixed; left: 18px; top: 96px; bottom: 24px; width: 2px;
  background: var(--line); z-index: 60; display: none;
}
.journey-rail-fill {
  position: absolute; left: 0; top: 0; width: 100%; height: 0%;
  background: linear-gradient(180deg, var(--forest-light), var(--burgundy-light));
  transition: height .1s linear;
}
.journey-dot {
  position: absolute; left: -4px; width: 10px; height: 10px; border-radius: 50%;
  background: var(--navy); border: 2px solid var(--silver-dim); transition: background .3s, border-color .3s;
}
.journey-dot.is-active { border-color: var(--ivory); background: var(--forest-light); }
@media (min-width: 1280px) { .journey-rail { display: block; } }

/* ---------------- hero ---------------- */
.hero {
  min-height: 100vh; display: flex; align-items: center; position: relative;
  padding-top: 82px; overflow: hidden;
  background: var(--navy);
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.hero-tint {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse at 78% 30%, rgba(122,53,70,0.34), transparent 55%),
    radial-gradient(ellipse at 20% 80%, rgba(42,74,59,0.36), transparent 55%),
    linear-gradient(100deg, rgba(20,28,46,0.8) 0%, rgba(20,28,46,0.52) 40%, rgba(20,28,46,0.24) 70%, rgba(20,28,46,0.42) 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background-image:
    repeating-linear-gradient(0deg, rgba(236,230,216,0.02) 0 1px, transparent 1px 3px);
  opacity: .5;
}
.hero-inner { position: relative; z-index: 2; max-width: 720px; margin: 0; margin-left: clamp(0px, 12vw, 200px); padding-left: clamp(20px, 4vw, 48px); padding-right: 20px; }
.hero-title {
  font-size: clamp(3.4rem, 8vw, 6.4rem); line-height: 0.98; letter-spacing: 0.01em;
  margin: 10px 0 26px;
}
.hero-title .amp { color: var(--silver-dim); font-size: 0.6em; display: block; margin: 6px 0; }
.hero-title .b { color: var(--burgundy-light); }
.hero-title .write {
  display: inline-block;
  clip-path: inset(0 100% 0 0);
}
.hero-inner.is-visible .hero-title .write {
  animation: write-reveal .6s cubic-bezier(.65,.05,.36,1) forwards;
  animation-delay: var(--write-delay, 0s);
}
.hero-title .amp.write { display: block; }
@keyframes write-reveal {
  to { clip-path: inset(-10% -2% -25% 0); }
}
.hero-subtitle {
  display: block; font-family: var(--sans); font-size: 1.35rem; font-weight: 400;
  color: var(--silver); margin-top: 14px; letter-spacing: normal;
  opacity: 0; transform: translateY(16px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.16,.8,.3,1);
  transition-delay: 0s;
}
.hero-inner.is-visible .hero-subtitle { opacity: 1; transform: translateY(0); }
.hero p.lede {
  color: var(--silver); font-size: 1.05rem; max-width: 680px; margin-bottom: 34px;
  opacity: 0; transform: translateY(16px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.16,.8,.3,1);
  transition-delay: 2.4s;
}
.hero-inner.is-visible .lede { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .hero-title .write { clip-path: none; animation: none; }
  .hero-subtitle { opacity: 1; transform: none; transition: none; }
  .hero p.lede { opacity: 1; transform: none; transition: none; }
}
.hero-coords {
  position: absolute; bottom: 40px; right: 32px; font-size: 0.72rem; letter-spacing: 0.08em;
  color: var(--silver-dim); z-index: 2; font-family: var(--sans);
}
.scroll-cue {
  position: absolute; left: 32px; bottom: 40px; z-index: 2; display: flex; flex-direction: column;
  align-items: center; gap: 10px; color: var(--silver-dim); font-size: 0.65rem; letter-spacing: 0.2em;
}
.scroll-cue .line { width: 1px; height: 46px; background: var(--silver-dim); position: relative; overflow: hidden; }
.scroll-cue .line::after {
  content: ""; position: absolute; left: 0; top: -100%; width: 100%; height: 100%;
  background: var(--ivory); animation: scrollcue 2.4s ease-in-out infinite;
}
@keyframes scrollcue { 0% { top: -100%; } 60% { top: 100%; } 100% { top: 100%; } }
.scroll-cue span { writing-mode: vertical-rl; }

/* ---------------- route section ---------------- */
.city-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.city-card { display: grid; grid-template-columns: 1fr; gap: 18px; padding: 0 8px; }
.city-card h3 { font-size: 2.6rem; margin: 4px 0 10px; }
.city-card.is-vienna h3 { color: var(--forest-light); }
.city-card.is-budapest h3 { color: var(--burgundy-light); }
.city-card p { color: var(--silver); }
.city-visual {
  aspect-ratio: 3/4; border: 1px solid var(--line); position: relative; overflow: hidden;
  background: var(--navy);
}
.city-visual img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.city-visual .tint { position: absolute; inset: 0; }
.city-visual.is-vienna .tint { background: linear-gradient(160deg, rgba(42,74,59,0.3) 0%, rgba(20,28,46,0.1) 45%, rgba(20,28,46,0.62) 100%); }
.city-visual.is-budapest .tint { background: linear-gradient(160deg, rgba(122,53,70,0.28) 0%, rgba(20,28,46,0.1) 45%, rgba(20,28,46,0.62) 100%); }
.city-visual .shine {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(239,234,224,0.22) 50%, transparent 65%);
  background-size: 300% 300%;
  background-position: var(--shine-x, 0%) 50%;
}
.city-visual .caption {
  position: absolute; bottom: 16px; left: 16px; right: 16px; font-size: 0.68rem;
  letter-spacing: 0.1em; color: var(--ivory-dim); text-transform: uppercase; z-index: 2;
}
@media (prefers-reduced-motion: reduce) {
  .city-visual .shine { display: none; }
}
.link-cta { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; margin-top: 18px; display: inline-flex; gap: 8px; align-items: center; }
.link-cta.is-vienna { color: var(--forest-light); }
.link-cta.is-budapest { color: var(--burgundy-light); }

.station-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 28px; }
.station-reveal img {
  transform: scale(1.14);
  filter: saturate(0.5) brightness(0.85);
  transition: transform 1.6s cubic-bezier(.16,.8,.3,1), filter 1.6s ease;
}
.station-reveal.is-visible img { transform: scale(1); filter: saturate(1) brightness(1); }
@media (prefers-reduced-motion: reduce) {
  .station-reveal img { transform: none; filter: none; transition: none; }
}

/* ---------------- luggage allowance block ---------------- */
.luggage-block { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.luggage-visual {
  aspect-ratio: 4/3; border: 1px solid var(--line); position: relative; overflow: hidden;
  background: var(--navy); box-shadow: 0 24px 60px rgba(0,0,0,0.35);
}
.luggage-visual img, .luggage-visual video { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.luggage-visual .tint { position: absolute; inset: 0; background: linear-gradient(160deg, rgba(122,53,70,0.22) 0%, rgba(20,28,46,0.08) 45%, rgba(20,28,46,0.55) 100%); }
.luggage-copy { padding: 0 8px; }

/* ---------------- route map section ---------------- */
section[data-journey-section="Map"] { padding-top: 48px; padding-bottom: 48px; }
.route-map-image {
  margin-top: 24px; border: 1px solid var(--line); overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
}
.route-map-image img { width: 100%; height: auto; display: block; }
.route-map { position: relative; display: flex; justify-content: space-between; margin-top: 36px; opacity: .8; }
.route-map-track { position: absolute; top: 6px; left: 6px; right: 6px; height: 1px; background: var(--line); }
.route-map-stop {
  position: relative; z-index: 1; flex: 0 1 220px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.route-map-stop .dot {
  display: block; width: 13px; height: 13px; border-radius: 50%;
  border: 2px solid var(--silver-dim); background: var(--navy); margin-bottom: 18px;
}
.route-map-stop .dot.is-start { border-color: var(--forest-light); background: var(--forest-light); }
.route-map-stop .dot.is-end { border-color: var(--burgundy-light); background: var(--burgundy-light); }
.route-map-stop.is-minor .dot { width: 8px; height: 8px; margin-top: 2.5px; margin-bottom: 20.5px; }
.route-map-stop .label strong { display: block; font-size: 0.86rem; letter-spacing: 0.04em; color: var(--ivory); }
.route-map-stop .label span { display: block; font-size: 0.72rem; color: var(--silver-dim); margin-top: 4px; }
.route-map-stop.is-minor .label strong { color: var(--silver); font-size: 0.78rem; }
@media (max-width: 700px) {
  .route-map { gap: 4px; margin-top: 32px; }
  .route-map-stop { flex: 1 1 0; min-width: 0; }
  .route-map-stop .dot { margin-bottom: 12px; }
  .route-map-stop.is-minor .dot { margin-bottom: 15.5px; }
  .route-map-stop .label strong { font-size: 0.72rem; }
  .route-map-stop .label span { font-size: 0.6rem; }
}

/* ---------------- feature row ---------------- */
.feature-row { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature {
  padding: 40px 30px; border-right: 1px solid var(--line);
  opacity: 0; transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
  transition-delay: calc(var(--reveal-i, 0) * 140ms);
}
.feature.is-visible { opacity: 1; transform: translateY(0); }
.feature:last-child { border-right: none; }
.feature .ico { font-size: 1.5rem; margin-bottom: 14px; color: var(--silver); }
.feature h4 { font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 8px; }
.feature p { color: var(--silver-dim); font-size: 0.88rem; margin: 0; }
@media (prefers-reduced-motion: reduce) {
  .feature { opacity: 1; transform: none; transition: none; }
}

/* ---------------- widget band ---------------- */
.widget-band {
  background: linear-gradient(180deg, var(--navy) 0, var(--charcoal) 110px, var(--charcoal) calc(100% - 60px), var(--navy) 100%);
}
.widget-band .wrap { padding-top: 80px; padding-bottom: 0; }
#route { padding-top: 20px; }
.widget-full { padding: 0 clamp(20px, 4vw, 48px); }
#firebird-search-widget { margin-top: 8px; min-height: 120px; width: 100%; }
/* Trim only the FROM/TO fields' own internal white space — the departure/return
   date column keeps its natural (uncompressed) grid-allocated width. */
#firebird-search-widget .station,
#firebird-search-widget .station .ant-select { max-width: 230px; }

/* The "Find stay for your trip" checkbox label renders near-black text with a
   transparent background — invisible once it sits directly on this page's dark
   section background instead of the widget's assumed white host page. */
#firebird-search-widget .ant-checkbox-label,
#firebird-search-widget .ant-checkbox-label * { color: var(--silver) !important; }

/* Same problem on the Departure date field on mobile: the widget assumes a
   white host page, so its muted label/date text disappears on our dark
   background. Target the stable antd DatePicker classes (not the widget's
   own build-hashed classes, which aren't safe to hardcode) and add a soft
   white glow so the date stays legible at any width. */
@media (max-width: 700px) {
  #firebird-search-widget .ant-form-item-label label,
  #firebird-search-widget .ant-picker {
    color: var(--ivory) !important;
    text-shadow: none !important;
  }
  #firebird-search-widget .ant-picker-input input,
  #firebird-search-widget .ant-picker input {
    color: var(--ivory) !important;
    text-shadow: 0 0 10px rgba(255,255,255,0.65) !important;
  }
  #firebird-search-widget .ant-picker-input input::placeholder {
    color: var(--silver) !important;
  }
}

/* ---------------- operator cards ---------------- */
.op-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; margin-top: 40px; }
.op-card { border: 1px solid var(--line); padding: 32px; }
.op-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.op-card .tag { font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--silver-dim); margin-bottom: 16px; display: block; }
.op-card p { color: var(--silver); font-size: 0.94rem; }
.op-card ul { margin: 14px 0 0; padding: 0; list-style: none; }
.op-card li { font-size: 0.86rem; color: var(--silver); padding: 6px 0; border-top: 1px solid var(--line); }
.op-card li:first-child { border-top: none; }

/* ---------------- highlight lists ---------------- */
.highlight-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 36px; }
.highlight-card { border-left: none; padding-left: 0; perspective: 1400px; min-width: 0; }

/* "Wheel of Fortune" tile flip: each card starts showing a blank numbered back
   face and rotates to reveal the real content, staggered card-by-card. */
.flip-inner {
  display: grid;
  width: 100%; min-width: 0;
  transform-style: preserve-3d;
  transform: rotateY(180deg);
  transition: transform .9s cubic-bezier(.16,.8,.3,1);
  transition-delay: calc(var(--reveal-i, 0) * 160ms);
}
.highlight-card.is-visible .flip-inner { transform: rotateY(0deg); }
.flip-front, .flip-back {
  grid-area: 1 / 1;
  min-width: 0; width: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.flip-back {
  transform: rotateY(180deg);
  aspect-ratio: 4/5;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
  background: var(--charcoal-light);
}
.flip-back span { font-family: var(--display); font-size: 2.6rem; color: var(--silver-dim); }
.highlight-card.is-vienna .flip-back { background: linear-gradient(160deg, #1C3629 0%, var(--charcoal-light) 100%); }
.highlight-card.is-vienna .flip-back span { color: var(--forest-light); }
.highlight-card.is-budapest .flip-back { background: linear-gradient(160deg, #3A1F2B 0%, var(--charcoal-light) 100%); }
.highlight-card.is-budapest .flip-back span { color: var(--burgundy-light); }

@media (prefers-reduced-motion: reduce) {
  .flip-inner { transition: none; transform: rotateY(0deg) !important; }
}

.highlight-card .thumb { aspect-ratio: 4/5; overflow: hidden; margin-bottom: 16px; position: relative; border: 1px solid var(--line); }
.highlight-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.highlight-card .thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(20,28,46,0.42) 100%); }
.highlight-card h4 { font-size: 1.02rem; margin-bottom: 8px; padding-left: 18px; border-left: 1px solid var(--silver-dim); }
.highlight-card p { font-size: 0.86rem; color: var(--silver); margin: 0; padding-left: 18px; }

/* ---------------- schedule table ---------------- */
table.schedule { width: 100%; border-collapse: collapse; margin-top: 30px; font-size: 0.88rem; }
table.schedule th, table.schedule td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); }
table.schedule th { color: var(--silver-dim); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500; }
table.schedule td { color: var(--ivory-dim); }

/* ---------------- tips list ---------------- */
.tips { margin-top: 30px; display: grid; gap: 16px; }
.tip { display: grid; grid-template-columns: 34px 1fr; gap: 14px; }
.tip .n { font-family: var(--display); color: var(--silver-dim); font-size: 1.1rem; }
.tip p { margin: 0; color: var(--silver); font-size: 0.92rem; }

/* ---------------- FAQ ---------------- */
.faq details { border-top: 1px solid var(--line); padding: 20px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-size: 1.02rem; font-weight: 500; font-family: var(--sans); }
.faq summary .plus { color: var(--silver-dim); font-size: 1.3rem; flex-shrink: 0; transition: transform .2s; }
.faq details[open] summary .plus { transform: rotate(45deg); }
.faq details p { margin: 14px 0 0; color: var(--silver); font-size: 0.92rem; max-width: 640px; }

/* ---------------- CTA band ---------------- */
.cta-band {
  padding: 48px 0 90px; text-align: center; position: relative; overflow: hidden;
  background: var(--navy);
  border-top: 1px solid var(--line);
}
.cta-media { position: absolute; inset: 0; z-index: 0; }
.cta-media img, .cta-media video { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.cta-tint {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse at 78% 30%, rgba(122,53,70,0.34), transparent 55%),
    radial-gradient(ellipse at 20% 80%, rgba(42,74,59,0.36), transparent 55%),
    linear-gradient(180deg, rgba(20,28,46,0.88) 0%, rgba(20,28,46,0.8) 50%, rgba(20,28,46,0.92) 100%);
}
.cta-band .wrap { position: relative; z-index: 2; }
.cta-band h2 { font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 32px; }

/* ---------------- footer ---------------- */
footer { background: var(--navy); border-top: 1px solid var(--line); padding: 56px 0 28px; }
footer .foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
footer h5 { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--silver-dim); margin-bottom: 16px; font-family: var(--sans); font-weight: 600; }
footer a.footnav { display: block; font-size: 0.86rem; color: var(--silver); margin-bottom: 10px; }
footer a.footnav:hover { color: var(--ivory); }
footer p { color: var(--silver-dim); font-size: 0.82rem; max-width: 560px; }
footer p.footer-disclosure { max-width: none; }
footer .legal { border-top: 1px solid var(--line); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.78rem; color: var(--silver-dim); }
footer .legal a { text-decoration: underline; color: var(--silver-dim); }

/* ---------------- responsive ---------------- */
@media (max-width: 980px) {
  .op-grid, .highlight-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-row { grid-template-columns: repeat(2, 1fr); }
  .feature:nth-child(2) { border-right: none; }
  .city-grid { grid-template-columns: 1fr; gap: 32px; }
  .luggage-block { grid-template-columns: 1fr; gap: 32px; }
  .station-grid { grid-template-columns: 1fr; gap: 24px; }
  footer .foot-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  /* Header CTA moves into the hamburger panel below this width. .panel-cta
     is a real .btn.btn--solid button (not a .panel-link), so it keeps its
     own explicit background/color and can't inherit .panel-link's dark
     link color. */
  .nav-links { display: none; }
  .nav { grid-template-columns: auto auto; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; grid-column: 2; }
  .nav-panel {
    display: none; position: absolute; top: 82px; left: 0; right: 0; background: var(--navy);
    border-bottom: 1px solid var(--line); padding: 8px 32px 24px; flex-direction: column;
  }
  .nav-panel.is-open { display: flex; }
  .nav-panel a.panel-link { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--silver); }
  .nav-panel .panel-cta { justify-content: center; margin-top: 16px; }
  .hero-title { font-size: clamp(2.6rem, 13vw, 4rem); }
  .highlight-grid, .op-grid, .feature-row { grid-template-columns: 1fr; }
  .feature { border-right: none; border-bottom: 1px solid var(--line); }
}
@media (max-width: 600px) {
  .wrap { padding: 0 20px; }
  .section { padding: 72px 0; }
  .hero-coords { display: none; }
}
