/* ==========================================================================
   UzbekistanRailway.com — design system & site styles
   Mobile-first. Minimal JS dependency. No framework.
   ========================================================================== */

:root {
  /* Brand palette */
  --navy-950: #081729;
  --navy-900: #0b2338;
  --navy-800: #123049;
  --navy-700: #1a4064;
  --navy-600: #235280;

  --teal-600: #0d7c78;
  --teal-500: #14a3a0;
  --teal-400: #3dbdb8;
  --teal-100: #e2f4f2;

  --sand-600: #a9793a;
  --sand-500: #c69a5b;
  --sand-100: #f3e8d4;

  --bg: #faf7f1;
  --bg-alt: #f3efe4;
  --surface: #ffffff;
  --line: #e4ddcd;
  --line-strong: #d5cbb3;

  --ink-900: #10202c;
  --ink-700: #33475a;
  --ink-500: #5c7286;
  --ink-400: #7c8fa0;

  --dark-bg: #0a1c2c;
  --dark-surface: #102a3f;
  --dark-surface-2: #143349;
  --dark-ink: #eef3f6;
  --dark-muted: #a9bccb;
  --dark-line: rgba(255, 255, 255, 0.12);

  /* Brand design tokens — aliased onto the palette above, which was
     verified against the dominant colors sampled from the site's logo
     emblem (deep royal blue, warm gold, cyan-turquoise, flag green).
     Gold and green stay accent-only by convention; navy/blue/turquoise/
     cream carry the page. */
  --brand-navy: var(--navy-900);
  --brand-blue: var(--navy-600);
  --brand-turquoise: var(--teal-500);
  --brand-gold: var(--sand-500);
  --brand-green: #2f6b46;
  --brand-cream: var(--bg);
  --brand-white: var(--surface);
  --text-dark: var(--ink-900);
  --text-muted: var(--ink-500);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(10, 28, 44, 0.06), 0 1px 1px rgba(10, 28, 44, 0.04);
  --shadow-md: 0 8px 24px rgba(10, 28, 44, 0.10);
  --shadow-lg: 0 20px 48px rgba(10, 28, 44, 0.16);

  --container: 1180px;
  --font-ui: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-ui);
  background: var(--bg);
  color: var(--ink-700);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
button { font: inherit; }
h1, h2, h3, h4 { color: var(--ink-900); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 1000;
  background: var(--navy-900); color: #fff; padding: 12px 18px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--teal-500); outline-offset: 2px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
@media (min-width: 640px) { .container { padding: 0 32px; } }

.section { padding: 56px 0; }
.section + .section { padding-top: 0; }
@media (min-width: 900px) { .section { padding: 88px 0; } .section + .section { padding-top: 0; } }

.section-head { max-width: 640px; margin-bottom: 28px; }
.section-head h2 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.1rem); }
.section-head h2::after {
  content: ""; display: block; width: 46px; height: 3px; margin-top: 14px;
  background: var(--brand-gold); border-radius: 2px;
}
.section-head p { color: var(--ink-500); font-size: 1.05rem; margin-top: 10px; }
.eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--teal-600); margin-bottom: 10px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 0.98rem; padding: 13px 22px; border-radius: var(--radius-pill);
  border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
  min-height: 48px; line-height: 1.1;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--teal-500); color: #06231f; }
.btn-primary:hover { background: var(--teal-400); }
.btn-secondary { background: var(--navy-900); color: #fff; }
.btn-secondary:hover { background: var(--navy-800); }
.btn-ghost { background: transparent; color: var(--navy-900); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--teal-500); color: var(--teal-600); }
.btn-onDark { background: var(--teal-500); color: #06231f; }
.btn-onDark-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.35); }
.btn-onDark-ghost:hover { border-color: #fff; }
.btn-compact { padding: 10px 18px; min-height: 44px; font-size: 0.92rem; }
.btn-block { width: 100%; }
.btn-lg { padding: 16px 30px; font-size: 1.05rem; min-height: 54px; }

.text-link { color: var(--teal-600); font-weight: 600; }
.text-link:hover { text-decoration: underline; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(250,247,241,0.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header::before {
  content: ""; display: block; height: 2px;
  background: linear-gradient(90deg, var(--brand-navy) 0%, var(--brand-gold) 50%, var(--brand-navy) 100%);
  opacity: 0.7;
}
.header-inner {
  max-width: var(--container); margin: 0 auto; padding: 12px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 68px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark-only { padding: 2px 0; }
.logo-mark { width: 44px; height: 44px; flex: none; }
@media (min-width: 640px) { .logo-mark { width: 52px; height: 52px; } }
@media (min-width: 1040px) { .logo-mark { width: 56px; height: 56px; } }
.brand-text { display: flex; align-items: baseline; gap: 2px; white-space: nowrap; }
.brand-name { font-weight: 800; font-size: 1.02rem; color: var(--navy-900); letter-spacing: -0.01em; }
.logo-suffix { font-weight: 600; font-size: 0.92rem; color: var(--teal-600); }

.main-nav ul { display: flex; gap: 4px; }
.main-nav a {
  display: inline-block; padding: 10px 14px; border-radius: var(--radius-pill);
  font-weight: 600; font-size: 0.94rem; color: var(--ink-700);
}
.main-nav a:hover, .main-nav a.active { background: var(--navy-900); color: #fff; }
.main-nav { display: none; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-cta { display: none; }
.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; border-radius: var(--radius-sm); border: 1px solid var(--line-strong);
  background: var(--surface);
}
.nav-toggle span { display: block; width: 20px; height: 2px; margin: 0 auto; background: var(--navy-900); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-drawer {
  /* Explicit height rather than relying on inset's implicit top+bottom
     stretch for a position:fixed box — that computed to a content-sized
     ~51px (just tall enough for one nav link) instead of filling the
     viewport, verified via getComputedStyle. Height is set directly
     instead, with a dvh upgrade for browsers that support it. */
  position: fixed; top: 68px; left: 0; right: 0; bottom: 0;
  height: calc(100vh - 68px); height: calc(100dvh - 68px);
  background: var(--surface); z-index: 99;
  padding: 18px 20px 32px; overflow-y: auto; border-top: 1px solid var(--line);
}
.mobile-drawer[hidden] { display: none; }
.mobile-drawer ul { display: flex; flex-direction: column; gap: 4px; }
.mobile-drawer a { display: block; padding: 15px 6px; font-size: 1.08rem; font-weight: 700; border-bottom: 1px solid var(--line); color: var(--ink-900); }
.mobile-drawer li:last-child a { border-bottom: none; }

@media (min-width: 1040px) {
  .main-nav { display: block; }
  .nav-toggle { display: none; }
  .mobile-drawer { display: none !important; }
  .header-cta { display: inline-flex; padding: 11px 22px; }
}

@media (max-width: 420px) {
  .logo-suffix { display: none; }
  .header-inner { padding: 8px 14px; gap: 8px; }
  .header-actions { gap: 6px; }
  .brand-name { font-size: 0.92rem; }
}

/* ---------- Mobile booking bar ---------- */
.mobile-booking-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: var(--surface); border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(10, 28, 44, 0.10);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
}
.mobile-booking-bar .btn { min-height: 48px; font-size: 1rem; }

@media (min-width: 1040px) {
  .mobile-booking-bar { display: none; }
  body.has-mobile-booking-bar { padding-bottom: 0; }
}

@media (max-width: 1039.98px) {
  body.has-mobile-booking-bar { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; background: linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 55%, var(--navy-800) 100%);
  color: #fff; overflow: hidden; padding-bottom: 64px;
}
.hero-rails {
  position: absolute; inset: 0; opacity: 0.5; pointer-events: none;
}
.hero-inner {
  position: relative; max-width: var(--container); margin: 0 auto; padding: 40px 20px 0;
  display: grid; gap: 32px;
}
.hero-copy { max-width: 640px; min-width: 0; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal-400); margin-bottom: 16px;
}
.hero h1 { font-size: clamp(2.1rem, 1.6rem + 2.6vw, 3.4rem); color: #fff; margin-bottom: 16px; }
.hero-sub { font-size: clamp(1rem, 0.94rem + 0.4vw, 1.18rem); color: rgba(255,255,255,0.82); max-width: 560px; margin-bottom: 22px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-bottom: 6px; }
.hero-trust li { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; color: rgba(255,255,255,0.75); }
.hero-trust li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--teal-400); flex: none; }

.hero-visual { display: flex; justify-content: center; min-width: 0; }
.hero-photo-frame {
  width: 100%; max-width: 560px; aspect-ratio: 4 / 3; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,0.12);
}
.hero-photo-frame picture, .hero-photo-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (min-width: 980px) {
  .hero-inner { grid-template-columns: 1.05fr 0.95fr; align-items: center; padding-top: 56px; }
}

/* ---------- Inner page hero (InnerPageHero — routes/trains/stations) ----------
   Reusable cinematic single-photo hero for important inner pages: one
   full-bleed photo, navy scrim, copy + a premium booking panel that lives
   inside the photo area on both desktop and mobile (no separate white
   search section underneath). */
.inner-hero { position: relative; background: var(--navy-950); overflow: hidden; }
.inner-hero-media { position: absolute; inset: 0; }
.inner-hero-media picture, .inner-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; display: block; }
.inner-hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,16,28,.92) 0%, rgba(8,20,33,.72) 42%, rgba(8,20,33,.56) 75%, rgba(8,20,33,.66) 100%);
}
@media (min-width: 980px) {
  .inner-hero-scrim {
    background: linear-gradient(100deg, rgba(6,16,28,.95) 0%, rgba(6,16,28,.84) 30%, rgba(6,16,28,.52) 56%, rgba(6,16,28,.32) 74%, rgba(6,16,28,.46) 100%);
  }
}
.inner-hero-inner {
  position: relative; z-index: 1; max-width: var(--container); margin: 0 auto;
  padding: 24px 20px 32px; display: grid; gap: 26px;
}
@media (min-width: 640px) { .inner-hero-inner { padding: 30px 32px 40px; } }
@media (min-width: 980px) {
  .inner-hero-inner { grid-template-columns: 1.15fr 0.85fr; align-items: center; padding: 46px 32px 54px; min-height: 560px; gap: 40px; }
}
.inner-hero-copy { max-width: 600px; min-width: 0; }
.inner-hero-copy .breadcrumbs { padding-top: 0; margin-bottom: 6px; }
.inner-hero-copy .breadcrumbs ol { color: rgba(255,255,255,0.55); }
.inner-hero-copy .breadcrumbs a { color: rgba(255,255,255,0.78); }
.inner-hero-copy h1 { color: #fff; font-size: clamp(1.9rem, 1.45rem + 2vw, 2.9rem); margin-bottom: 14px; }
.inner-hero-copy .hero-sub { margin-bottom: 20px; }
.inner-hero-copy .cta-row { margin-bottom: 22px; }
.inner-hero-panel { min-width: 0; }
.hero-booking-panel {
  background: rgba(250, 248, 243, 0.97); border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.55); box-shadow: var(--shadow-lg);
  padding: 22px 22px 20px; position: relative; overflow: hidden;
  max-width: 440px; margin: 0 auto;
}
@media (min-width: 980px) { .hero-booking-panel { margin: 0 0 0 auto; } }
@supports (backdrop-filter: blur(6px)) {
  .hero-booking-panel { background: rgba(250, 248, 243, 0.92); backdrop-filter: blur(10px) saturate(140%); }
}
.hero-booking-panel::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--teal-500), var(--brand-gold)); }
.hero-booking-panel-logo { width: 30px; height: 30px; margin-bottom: 10px; flex: none; }
.hero-booking-panel h2 { font-size: 1.12rem; margin-bottom: 6px; }
.hero-booking-panel > p { color: var(--ink-500); font-size: 0.89rem; margin-bottom: 14px; }
.hero-booking-panel .booking-widget-frame {
  min-width: 0; max-width: 100%; display: flex; justify-content: center;
}
.hero-booking-panel .booking-widget-frame-adaptive { max-width: 100%; min-height: 88px; }
@media (max-width: 480px) { .hero-booking-panel .booking-widget-frame-adaptive { min-height: 200px; } }
/* Compact route widget (data-adaptive="1" but kept visually narrow): capped
   well under the vendor's own 400px breakpoint so it always renders as a
   single stacked column inside the panel, never its wider multi-column
   layout — see booking_form_frame_compact() for why data-adaptive replaced
   the old fixed data-width/data-height (which produced a hard-coded 330px
   height even when the rendered fields needed far less). */
.hero-booking-panel .booking-widget-frame-compact { max-width: 320px; width: 100%; }
.hero-booking-panel .booking-trust { flex-direction: row; flex-wrap: wrap; gap: 6px 16px; margin-top: 12px; }
.hero-booking-panel .booking-trust li { font-size: 0.8rem; }

/* ---------- Hero slider (homepage) ---------- */
.hero-slider { position: relative; background: var(--navy-950); overflow: hidden; }
.hero-track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; -ms-overflow-style: none;
}
.hero-track::-webkit-scrollbar { display: none; }
.hero-slide {
  position: relative; flex: 0 0 100%; scroll-snap-align: start; min-height: 480px;
  overflow: hidden; display: flex;
}
@media (min-width: 640px) { .hero-slide { min-height: 540px; } }
@media (min-width: 1040px) { .hero-slide { min-height: 620px; } }
.hero-slide-media { position: absolute; inset: 0; }
.hero-slide-media picture, .hero-slide-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 68%; display: block; }
.hero-slide-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(6,16,28,.90) 0%, rgba(6,16,28,.55) 38%, rgba(6,16,28,.14) 65%, transparent 85%);
}
@media (min-width: 900px) {
  .hero-slide-scrim {
    background: linear-gradient(90deg, rgba(6,16,28,.92) 0%, rgba(6,16,28,.74) 34%, rgba(6,16,28,.32) 58%, rgba(6,16,28,.04) 80%, transparent 100%);
  }
}
.hero-slide-content { position: absolute; inset: 0; z-index: 1; display: flex; align-items: flex-end; width: 100%; padding: 28px 0; min-width: 0; }
@media (min-width: 900px) { .hero-slide-content { align-items: center; padding: 40px 0; } }
.hero-slide-content .container { width: 100%; min-width: 0; }
.hero-eyebrow, .hero-slide-content .hero-eyebrow { white-space: normal; }
.hero-slide-content h1, .hero-slide-heading {
  color: #fff; font-size: clamp(1.7rem, 1.25rem + 2.2vw, 3.2rem); margin-bottom: 14px; max-width: 620px;
}
.hero-cta-row { margin-top: 4px; }
.hero-slide:not(.is-active) { pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .hero-track { scroll-behavior: auto; } }

.hero-slider-controls { position: relative; background: var(--navy-950); border-top: 1px solid rgba(255,255,255,0.08); padding: 14px 0; }
.hero-controls-inner { display: flex; align-items: center; justify-content: center; gap: 18px; }
.hero-nav-btn {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.28); background: transparent;
  color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; flex: none;
  transition: background .15s ease, border-color .15s ease;
}
.hero-nav-btn:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.hero-dots { display: flex; gap: 8px; }
.hero-dot {
  width: 9px; height: 9px; border-radius: 50%; border: none; background: rgba(255,255,255,0.32); padding: 0;
  cursor: pointer; transition: background .15s ease, transform .15s ease;
}
.hero-dot.is-active { background: var(--brand-turquoise); transform: scale(1.3); }
.hero-dot:hover { background: rgba(255,255,255,0.55); }

/* ---------- Activities widget (GetYourGuide) — deliberately distinct from
   .booking-module: warm sand tint, no card/shadow chrome, centered and
   narrower, so it always reads as a secondary/optional module rather than
   competing with train-ticket search. ---------- */
.activities-section { background: var(--sand-100); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.activities-inner { max-width: 640px; margin: 0 auto; text-align: center; }
.activities-inner h2 { font-size: 1.4rem; margin-bottom: 8px; color: var(--ink-900); }
.activities-inner p { color: var(--ink-500); margin-bottom: 20px; font-size: 0.98rem; }
.activities-widget-frame { min-height: 120px; }
.activities-section-compact { padding-top: 8px; }
.activities-section-compact .activities-inner h2 { font-size: 1.15rem; }
.activities-section-compact .activities-inner p { font-size: 0.9rem; margin-bottom: 14px; }
.activities-section-compact .activities-widget-frame { min-height: 90px; }

/* ---------- Booking module ---------- */
.booking-module {
  position: relative; background: var(--surface); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  padding: 26px 20px 22px; margin: -46px auto 0; max-width: 960px;
  display: grid; gap: 20px;
}
@media (min-width: 780px) {
  .booking-module { padding: 32px 36px 28px; grid-template-columns: 1.1fr auto; align-items: start; }
  .booking-module-head { grid-column: 1 / -1; }
}
.booking-module-head h2 { font-size: 1.3rem; margin-bottom: 6px; }
.booking-module-head p { color: var(--ink-500); margin-bottom: 0; font-size: 0.96rem; }
.booking-widget-frame {
  width: 100%; max-width: 250px; margin: 0 auto; display: flex; justify-content: center;
  align-items: flex-start; contain: layout;
}
.booking-trust { display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.booking-trust li { font-size: 0.88rem; color: var(--ink-500); display: flex; gap: 8px; align-items: center; }
.booking-trust li::before { content: "✓"; color: var(--teal-600); font-weight: 700; }
.booking-module-compact { margin: 0; box-shadow: var(--shadow-md); }

/* LargeBookingSearch — wide adaptive-width 12Go form for non-hero placement */
.booking-module-large {
  margin: 0; max-width: 100%; grid-template-columns: 1fr; box-shadow: var(--shadow-md);
  background: var(--bg-alt);
}
.booking-module-large .booking-module-head { text-align: center; }
.booking-module-large .booking-module-head h2 { font-size: 1.5rem; }
.booking-module-large .booking-module-head p { max-width: 480px; margin: 0 auto; }
.booking-widget-frame-adaptive {
  /* The vendor's "adaptive" form has its own internal max width (~520px)
     regardless of container width — it does not actually stretch to fill
     a wide column. Capping and centering the frame here (rather than
     stretching the card around it) is what removes the dead whitespace;
     the surrounding card keeps its full width for generous, intentional
     padding instead of looking like an unfinished layout. */
  max-width: 580px; width: 100%; min-height: 96px; background: var(--surface);
  border-radius: var(--radius-md); border: 1px solid var(--line); padding: 4px;
  margin: 0 auto; display: flex; justify-content: center; flex-wrap: wrap;
}
.booking-module-large .booking-trust {
  flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 8px 22px;
}
@media (max-width: 480px) { .booking-widget-frame-adaptive { min-height: 220px; } }

.section-tickets-spacer { height: 40px; }
@media (min-width: 900px) { .section-tickets-spacer { height: 70px; } }

/* ---------- Find tickets (homepage search section) ---------- */
.find-tickets-section { background: linear-gradient(180deg, var(--teal-100) 0%, var(--bg) 100%); }
.find-tickets-grid { display: grid; gap: 30px; align-items: center; }
.find-tickets-grid > * { min-width: 0; }
@media (min-width: 900px) { .find-tickets-grid { grid-template-columns: 0.85fr 1.15fr; gap: 48px; } }
.find-tickets-copy h2 { position: relative; }
.find-tickets-copy h2::after { content: ""; display: block; width: 46px; height: 3px; margin-top: 14px; background: var(--brand-gold); border-radius: 2px; }
.find-tickets-copy p { color: var(--ink-500); font-size: 1.05rem; margin-top: 10px; }
.find-tickets-popular { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 20px; }
.find-tickets-popular-label { font-size: 0.86rem; font-weight: 700; color: var(--ink-500); }
.find-tickets-widget { background: var(--surface); margin: 0; }
.find-tickets-widget .booking-widget-frame-adaptive { min-height: 80px; }
@media (max-width: 480px) { .find-tickets-widget .booking-widget-frame-adaptive { min-height: 200px; } }

/* ---------- Routes grid ---------- */
.routes-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .routes-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .routes-grid { grid-template-columns: repeat(3, 1fr); } }
.routes-grid-priority { margin-bottom: 16px; }
@media (min-width: 640px) { .routes-grid-priority { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Shared card media (real photography) ---------- */
.card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-alt); }
.card-media picture, .card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-media-placeholder { background: linear-gradient(135deg, var(--bg-alt), var(--line)); }

.route-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column; overflow: hidden;
  transition: box-shadow .18s ease, transform .18s ease;
}
.route-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.route-card:hover .card-media img { transform: scale(1.04); }
.card-media img { transition: transform .3s ease; }
.route-card-link { display: block; }
.route-card-body { padding: 16px 20px 6px; }
.route-card-head { display: flex; flex-direction: column; gap: 6px; margin-bottom: 10px; }
.route-cities { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 1.08rem; color: var(--ink-900); }
.route-arrow { color: var(--teal-500); flex: none; }
.route-trains { font-size: 0.8rem; font-weight: 600; color: var(--teal-600); background: var(--teal-100); padding: 3px 10px; border-radius: var(--radius-pill); align-self: flex-start; }
.route-card-copy { font-size: 0.92rem; color: var(--ink-500); margin-bottom: 0; }
.route-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px 20px; margin-top: auto; }
.route-time { font-size: 0.82rem; color: var(--ink-400); }
.route-card-lg .route-cities { font-size: 1.25rem; }

/* ---------- Compact route cards (homepage Popular Routes / Khiva) ----------
   Route information dominates; the thumbnail is a small identity photo,
   not a full-bleed hero image — a product/timetable feel rather than a
   travel-magazine card. */
.routes-grid-compact { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .routes-grid-compact { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .routes-grid-compact { grid-template-columns: repeat(3, 1fr); } }
.route-compact {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md);
  display: flex; flex-direction: column; transition: box-shadow .15s ease, border-color .15s ease;
}
.route-compact:hover { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.route-compact-link { display: flex; align-items: center; gap: 12px; padding: 12px 14px; min-width: 0; }
.route-compact-media {
  width: 72px; height: 72px; border-radius: var(--radius-sm); overflow: hidden; flex: none;
  background: var(--bg-alt);
}
.route-compact-media picture, .route-compact-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.route-compact-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.route-compact-body .route-cities { font-weight: 700; font-size: 0.92rem; color: var(--ink-900); gap: 6px; line-height: 1.3; flex-wrap: wrap; }
.route-compact-meta { font-size: 0.8rem; color: var(--ink-500); }
.route-compact-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 0 14px 14px; margin-top: auto;
}
.route-compact-foot .btn { padding: 8px 14px; font-size: 0.84rem; min-height: 36px; }
.route-compact-line .route-compact-link { padding-top: 16px; }
.route-compact-line .route-compact-foot { padding-bottom: 16px; }

/* ---------- Feature / why rows ---------- */
.feature-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .feature-grid { grid-template-columns: repeat(4, 1fr); } }
.feature-card { padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); }
.feature-card h3 { font-size: 1.02rem; margin-bottom: 8px; }
.feature-card p { font-size: 0.92rem; color: var(--ink-500); margin-bottom: 0; }

/* ---------- Decision reason cards (homepage) ---------- */
.reason-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .reason-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .reason-grid { grid-template-columns: repeat(4, 1fr); } }
.reason-card { padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); display: flex; flex-direction: column; }
.reason-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.reason-card-media { width: 72px; height: 72px; border-radius: var(--radius-sm); overflow: hidden; flex: none; background: var(--bg-alt); }
.reason-card-media picture, .reason-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.reason-card h3 { font-size: 0.98rem; margin: 0; color: var(--ink-900); }
.reason-card-copy { font-size: 0.9rem; color: var(--ink-500); margin-bottom: 12px; flex: 1; }
.reason-card .text-link { font-size: 0.9rem; }

/* ---------- Section transitions ---------- */
/* A restrained railway-line motif marking the handoff into a tonal or dark
   section, instead of a hard color cut — applied automatically wherever
   .bg-alt/.section-dark are used, site-wide, no per-call markup needed. */
.section.bg-alt, .section.section-dark { position: relative; }
.section.bg-alt::before, .section.section-dark::before {
  content: ""; display: block; width: 160px; height: 1px; margin: 0 auto;
  background: linear-gradient(90deg, transparent, var(--brand-gold), transparent);
  opacity: 0.6;
}

/* ---------- Live-intent strip (homepage, near Popular Routes) ---------- */
.intent-strip-section { padding: 28px 0; }
.intent-strip-section.section.bg-alt::before { display: none; }
.intent-strip {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px;
  background: var(--teal-100); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 18px 24px;
}
.intent-strip-copy h3 { font-size: 1rem; margin-bottom: 3px; color: var(--ink-900); }
.intent-strip-copy p { font-size: 0.9rem; color: var(--ink-500); margin-bottom: 0; }
.intent-strip .btn { flex: none; }
@media (max-width: 480px) { .intent-strip { padding: 16px 18px; } }

/* ---------- Dark sections ---------- */
.section-dark { background: linear-gradient(180deg, var(--dark-bg), var(--dark-surface)); color: var(--dark-ink); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .section-head p { color: var(--dark-muted); }
.section-dark p { color: var(--dark-muted); }

/* ---------- Afrosiyob section ---------- */
.afrosiyob-layout { display: grid; gap: 32px; }
@media (min-width: 980px) { .afrosiyob-layout { grid-template-columns: 1.1fr 0.9fr; align-items: start; } }
.afrosiyob-points { display: grid; gap: 10px; margin: 20px 0 24px; }
.afrosiyob-points li { display: flex; gap: 10px; font-size: 0.96rem; color: var(--dark-muted); }
.afrosiyob-points li::before { content: ""; width: 6px; height: 6px; margin-top: 8px; border-radius: 50%; background: var(--teal-400); flex: none; }

.route-line { display: flex; align-items: center; gap: 0; margin: 18px 0 26px; flex-wrap: wrap; }
.route-line .stop { background: var(--dark-surface-2); border: 1px solid var(--dark-line); padding: 8px 14px; border-radius: var(--radius-pill); font-weight: 700; font-size: 0.9rem; }
.route-line .seg { flex: 1; min-width: 24px; height: 2px; background: repeating-linear-gradient(90deg, var(--teal-400) 0 6px, transparent 6px 12px); margin: 0 6px; }
.route-line-note { font-size: 0.82rem; color: var(--dark-muted); margin-top: -12px; }

.compare-mini { display: grid; gap: 14px; }
@media (min-width: 560px) {
  .compare-mini { grid-template-columns: repeat(3, 1fr); }
  .compare-mini.compare-mini-2 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 780px) { .compare-mini.compare-mini-4 { grid-template-columns: repeat(4, 1fr); } }
.compare-card { background: var(--dark-surface-2); border: 1px solid var(--dark-line); border-radius: var(--radius-md); padding: 18px; }
.compare-card h4 { color: #fff; font-size: 0.98rem; margin-bottom: 6px; }
.compare-card p { font-size: 0.88rem; margin-bottom: 0; }

/* ---------- Train types ---------- */
.trains-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 780px) {
  .trains-grid { grid-template-columns: repeat(3, 1fr); }
  .trains-grid.trains-grid-2 { grid-template-columns: repeat(2, 1fr); }
}
.train-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.train-card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.train-card-top { margin-bottom: 8px; }
.train-badge { display: inline-block; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--sand-600); background: var(--sand-100); padding: 3px 10px; border-radius: var(--radius-pill); margin-bottom: 8px; }
.train-card h3 { font-size: 1.08rem; }
.check-list { display: grid; gap: 8px; margin: 12px 0 16px; }
.check-list li { font-size: 0.88rem; color: var(--ink-500); padding-left: 20px; position: relative; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--teal-600); font-weight: 700; }
.train-card-foot { margin-top: auto; display: flex; flex-direction: column; gap: 12px; }
.best-for { font-size: 0.86rem; color: var(--ink-500); }

/* ---------- Route spotlight (editorial) ---------- */
.spotlight { display: grid; gap: 26px; }
@media (min-width: 900px) { .spotlight { grid-template-columns: 1fr 1fr; align-items: start; gap: 40px; } }
.spotlight-alt { direction: rtl; }
.spotlight-alt > * { direction: ltr; }
.spotlight-body h2 { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.9rem); }
.spotlight-data { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 18px; margin: 20px 0; padding: 18px; background: var(--bg-alt); border-radius: var(--radius-md); border: 1px solid var(--line); }
.spotlight-data dt { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-400); font-weight: 700; margin-bottom: 3px; }
.spotlight-data dd { margin: 0; font-weight: 700; color: var(--ink-900); font-size: 0.98rem; }
.spotlight-note { font-size: 0.9rem; background: var(--teal-100); color: var(--teal-600); border-radius: var(--radius-md); padding: 14px 16px; margin: 18px 0; }
.practical-note { font-size: 0.85rem; color: var(--ink-400); margin: 10px 0 0; }
.spotlight-visual { border-radius: var(--radius-lg); overflow: hidden; background: var(--navy-900); aspect-ratio: 16 / 9; box-shadow: var(--shadow-md); }
.spotlight-visual picture, .spotlight-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
.spotlight-choices { display: grid; gap: 12px; margin: 18px 0 22px; }
.spotlight-choices .choice { padding: 14px 16px; border-left: 3px solid var(--teal-500); background: var(--bg-alt); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.spotlight-choices .choice strong { color: var(--ink-900); display: block; margin-bottom: 3px; font-size: 0.94rem; }
.spotlight-choices .choice span { font-size: 0.88rem; color: var(--ink-500); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- Network diagram ---------- */
.network-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 8px; }
.network-diagram { min-width: 640px; }
.network-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.network-chips .chip { font-size: 0.86rem; font-weight: 600; padding: 7px 14px; border-radius: var(--radius-pill); background: var(--bg-alt); border: 1px solid var(--line); color: var(--ink-700); }

.network-line { display: flex; align-items: center; padding: 28px 6px 10px; position: relative; }
.network-line::before {
  content: ""; position: absolute; left: 34px; right: 34px; top: 38px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--teal-500) 0 8px, transparent 8px 14px);
}
.network-line .node { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 10px; position: relative; z-index: 1; min-width: 92px; }
.network-line .dot { width: 14px; height: 14px; border-radius: 50%; background: var(--navy-900); border: 3px solid var(--teal-500); }
.network-line .node-label { font-size: 0.86rem; font-weight: 700; color: var(--ink-900); white-space: nowrap; }

/* ---------- Train classes table ---------- */
.classes-list { display: grid; gap: 14px; }
.class-row { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 18px 20px; }
.class-row.has-media { display: flex; align-items: center; gap: 14px; }
.class-row-media { width: 72px; height: 72px; border-radius: var(--radius-sm); overflow: hidden; flex: none; background: var(--bg-alt); }
.class-row-media picture, .class-row-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.class-row-body { min-width: 0; }
.class-row h3 { font-size: 1rem; margin-bottom: 6px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.class-local { font-size: 0.82rem; font-weight: 500; color: var(--ink-400); }
.class-row p { font-size: 0.92rem; margin-bottom: 0; color: var(--ink-500); }
@media (min-width: 780px) {
  .classes-list { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Info strip / before you board ---------- */
.info-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .info-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .info-grid { grid-template-columns: repeat(3, 1fr); } }
.info-card { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); }
.info-card h3 { font-size: 0.98rem; margin-bottom: 6px; }
.info-card p { font-size: 0.9rem; color: var(--ink-500); margin-bottom: 0; }

/* ---------- Stations ---------- */
.stations-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .stations-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .stations-grid { grid-template-columns: repeat(3, 1fr); } }
.station-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; }
.station-card-body { padding: 18px 20px 20px; }
.station-card h3 { font-size: 1rem; margin-bottom: 6px; }
.station-card p { font-size: 0.9rem; color: var(--ink-500); }
.station-card-links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin-top: 10px; }
.station-map-link {
  display: inline-flex; align-items: center; gap: 6px; font-size: 0.88rem; font-weight: 600;
  color: var(--ink-500);
}
.station-map-link:hover { color: var(--teal-600); }
.station-map-link svg { flex: none; }
.station-map-link-lg { font-size: 0.96rem; padding: 13px 4px; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 10px; max-width: 820px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 4px 0; }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 16px 20px; font-weight: 700; color: var(--ink-900);
  font-size: 0.98rem; display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.3rem; color: var(--teal-600); flex: none; line-height: 1; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-answer { padding: 0 20px 18px; }
.faq-answer p { margin-bottom: 0; font-size: 0.94rem; color: var(--ink-500); }

/* ---------- Final CTA ---------- */
.final-cta { text-align: center; background: linear-gradient(160deg, var(--navy-950), var(--teal-600) 150%); color: #fff; border-radius: var(--radius-lg); padding: 48px 24px; }
.final-cta h2 { color: #fff; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); }
.final-cta p { color: rgba(255,255,255,0.85); max-width: 520px; margin: 0 auto 24px; }
.final-cta-routes { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 22px; }
.final-cta-routes a { font-size: 0.86rem; padding: 9px 16px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark-bg); color: var(--dark-muted); margin-top: 40px; }
.footer-top { max-width: var(--container); margin: 0 auto; padding: 56px 20px 32px; display: grid; gap: 36px; }
.footer-brand p { max-width: 320px; font-size: 0.92rem; margin-top: 12px; }
.footer-brand .brand-name { color: #fff; }
.footer-cols { display: grid; gap: 28px; grid-template-columns: repeat(2, 1fr); }
.footer-col h3 { color: #fff; font-size: 0.86rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 12px; }
.footer-col ul { display: grid; gap: 9px; }
.footer-col a { font-size: 0.92rem; color: var(--dark-muted); }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid var(--dark-line); }
.footer-bottom p { max-width: var(--container); margin: 0 auto; padding: 16px 20px 0; font-size: 0.8rem; color: #7e93a4; }
.footer-bottom p:last-child { padding-bottom: 24px; }
@media (min-width: 640px) { .footer-cols { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 980px) {
  .footer-top { grid-template-columns: 0.9fr 2.2fr; }
  .footer-cols { grid-template-columns: repeat(6, 1fr); }
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { padding: 16px 0 0; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.84rem; color: var(--ink-400); }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; color: var(--ink-400); }
.breadcrumbs a { color: var(--ink-500); font-weight: 600; }
.breadcrumbs a:hover { color: var(--teal-600); }

/* ---------- Route facts strip (flagship route hero) ---------- */
.route-facts {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 18px;
  background: var(--dark-surface-2); border: 1px solid var(--dark-line); border-radius: var(--radius-md);
  padding: 18px 20px; margin-top: 28px;
}
@media (min-width: 640px) { .route-facts { grid-template-columns: repeat(3, 1fr); } }
.route-facts dt { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--dark-muted); font-weight: 700; margin-bottom: 3px; }
.route-facts dd { margin: 0; font-weight: 700; color: #fff; font-size: 0.96rem; }

/* ---------- Numbered steps (booking process / sold-out sequence) ---------- */
.steps-list { display: grid; gap: 16px; max-width: 640px; }
.step { display: flex; gap: 14px; align-items: flex-start; }
.step-num {
  flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--navy-900); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.92rem;
}
.step h3 { font-size: 0.98rem; margin-bottom: 4px; }
.step p { font-size: 0.9rem; color: var(--ink-500); margin-bottom: 0; }

/* ---------- Decision grid ---------- */
.decision-grid { display: grid; gap: 16px; }
@media (min-width: 720px) {
  .decision-grid { grid-template-columns: repeat(2, 1fr); }
  .decision-grid.decision-grid-3 { grid-template-columns: repeat(3, 1fr); }
}
.decision-card { padding: 20px 22px; border-radius: var(--radius-md); border: 1px solid var(--line); background: var(--surface); }
.decision-card.positive { border-color: var(--teal-400); background: var(--teal-100); }
.decision-card h3 { font-size: 1rem; margin-bottom: 12px; }

.train-badge-fastest { background: var(--teal-100); color: var(--teal-600); }

/* ---------- Responsive comparison table (classes, fares, vs-Sharq) ---------- */
.class-compare-table { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); }
.class-compare-table table { width: 100%; min-width: 480px; border-collapse: collapse; font-size: 0.92rem; }
.class-compare-table th, .class-compare-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.class-compare-table thead th { background: var(--bg-alt); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-500); font-weight: 700; }
.class-compare-table tbody th, .class-compare-table td:first-child { font-weight: 700; color: var(--ink-900); white-space: normal; }
.class-compare-table tbody tr:last-child td { border-bottom: none; }

.route-card-line .route-card-body { display: flex; flex-direction: column; }

/* ---------- Sub-page hero (routes/trains/stations detail pages) ---------- */
.page-hero { background: var(--navy-900); color: #fff; padding: 28px 0 40px; }
.page-hero h1 { color: #fff; font-size: clamp(1.7rem, 1.3rem + 1.8vw, 2.5rem); margin-bottom: 10px; }
.page-hero p { color: rgba(255,255,255,0.8); max-width: 620px; margin-bottom: 0; }
.page-hero .breadcrumbs ol { color: rgba(255,255,255,0.55); }
.page-hero .breadcrumbs a { color: rgba(255,255,255,0.75); }
.hero .breadcrumbs { padding-top: 0; margin-bottom: 4px; }
.hero .breadcrumbs ol { color: rgba(255,255,255,0.5); }
.hero .breadcrumbs a { color: rgba(255,255,255,0.72); }

.prose { max-width: 720px; }
.credit-row { padding: 16px 0; border-bottom: 1px solid var(--line); }
.credit-row h3 { font-size: 0.98rem; margin-bottom: 6px; }
.credit-row p { font-size: 0.9rem; color: var(--ink-500); margin-bottom: 4px; }
.prose p { font-size: 1.02rem; }
.related-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .related-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; }
.center { text-align: center; }
.bg-alt { background: var(--bg-alt); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (max-width: 480px) {
  .section { padding: 44px 0; }
  .booking-module { margin-top: -34px; border-radius: var(--radius-md); }
}
