/* ==========================================================================
   TÀU DI SẢN HUẾ - PHONG NHA (HQ1 / HQ2)
   Design System: Minimal UI & Luxury Imperial Heritage
   Aesthetics: Deep Obsidian Lacquer, Warm Mahogany Wood, Imperial Gold Foil, 
               Lantern Ambient Glow & Geometric Heritage Fretwork (Hồi Văn Cung Đình)
   Fonts: Playfair Display (Serif), Plus Jakarta Sans (Modern Sans), Be Vietnam Pro (Body)
   ========================================================================== */

/* Local Fonts: Vietnamese + Latin subsets (no runtime internet dependency) */
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/QdVMSTAyLFyeg_IDWvOJmVES_HScJ286Rb0bcw.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/QdVMSTAyLFyeg_IDWvOJmVES_HScJ281Rb0.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/QdVPSTAyLFyeg_IDWvOJmVES_Hw4BXoKZA.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/QdVPSTAyLFyeg_IDWvOJmVES_Hw3BXo.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/QdVMSTAyLFyeg_IDWvOJmVES_HTEJm86Rb0bcw.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/QdVMSTAyLFyeg_IDWvOJmVES_HTEJm81Rb0.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/QdVMSTAyLFyeg_IDWvOJmVES_HToIW86Rb0bcw.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/QdVMSTAyLFyeg_IDWvOJmVES_HToIW81Rb0.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/QdVMSTAyLFyeg_IDWvOJmVES_HSMIG86Rb0bcw.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/QdVMSTAyLFyeg_IDWvOJmVES_HSMIG81Rb0.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/QdVMSTAyLFyeg_IDWvOJmVES_HSQI286Rb0bcw.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/QdVMSTAyLFyeg_IDWvOJmVES_HSQI281Rb0.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('../fonts/QdVMSTAyLFyeg_IDWvOJmVES_HS0Im86Rb0bcw.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('../fonts/QdVMSTAyLFyeg_IDWvOJmVES_HS0Im81Rb0.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('../fonts/nuFiD-vYSZviVYUb_rj3ij__anPXDTPYgFE_.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('../fonts/nuFiD-vYSZviVYUb_rj3ij__anPXDTzYgA.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('../fonts/LDIoaomQNQcsA88c7O9yZ4KMCoOg4Ko50yyygA.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('../fonts/LDIoaomQNQcsA88c7O9yZ4KMCoOg4Ko20yw.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Core Luxury Color Tokens */
  --bg-app: #080b10;
  --bg-deep: #0b0f17;
  --bg-surface: #101723;
  --bg-surface-elevated: #151f2e;
  --bg-surface-glass: rgba(16, 23, 35, 0.78);
  --bg-card: rgba(18, 26, 39, 0.88);
  --bg-card-hover: rgba(24, 35, 52, 0.95);

  /* Wood / Mahogany Accent Tokens (from image) */
  --wood-dark: #1b120c;
  --wood-rich: #2c1a12;
  --wood-border: rgba(142, 85, 47, 0.35);

  /* Gold & Brass Imperial Tokens */
  --gold-primary: #d4af37;
  --gold-light: #f5e2a3;
  --gold-champagne: #ecc87a;
  --gold-deep: #9a782a;
  --gold-brass: #b89130;
  --gold-subtle: rgba(212, 175, 55, 0.12);
  --gold-border: rgba(212, 175, 55, 0.28);
  --gold-border-active: rgba(212, 175, 55, 0.75);
  --gold-gradient: linear-gradient(135deg, #f7e7b4 0%, #d4af37 45%, #9a782a 100%);
  --gold-gradient-soft: linear-gradient(135deg, rgba(247, 231, 180, 0.15) 0%, rgba(212, 175, 55, 0.08) 100%);
  --gold-gradient-card: linear-gradient(180deg, rgba(212, 175, 55, 0.12) 0%, rgba(16, 23, 35, 0.92) 20%);
  --gold-metallic-line: linear-gradient(90deg, transparent 0%, #d4af37 50%, transparent 100%);

  /* Royal Cinnabar & Emerald Heritage Tokens */
  --royal-red: #9e1f36;
  --royal-red-light: #c22946;
  --royal-red-gradient: linear-gradient(135deg, #c22946, #7a1226);
  --emerald: #0d825c;
  --emerald-gradient: linear-gradient(135deg, #10a373, #085a3f);
  --royal-blue: #1e3a8a;
  --royal-blue-gradient: linear-gradient(135deg, #2563eb, #122252);

  /* Typography Colors */
  --text-pure: #ffffff;
  --text-title: #fcfbfa;
  --text-body: #cbd5e1;
  --text-muted: #8492a6;
  --text-gold: #ecc87a;

  /* Ambient Lantern & Glow Shadows */
  --glow-lantern: 0 0 25px rgba(212, 175, 55, 0.28);
  --glow-lantern-strong: 0 0 45px rgba(212, 175, 55, 0.45);
  --shadow-card: 0 16px 40px -10px rgba(0, 0, 0, 0.6);
  --shadow-card-hover: 0 24px 50px -12px rgba(0, 0, 0, 0.8), 0 0 30px rgba(212, 175, 55, 0.2);
  --shadow-modal: 0 35px 80px -15px rgba(0, 0, 0, 0.9), 0 0 40px rgba(212, 175, 55, 0.25);

  /* Border Radii */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Transitions */
  --trans-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --trans-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --trans-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Typography Families (100% Full Vietnamese Diacritics Support) */
  --font-serif: 'Playfair Display', 'Be Vietnam Pro', Georgia, serif;
  --font-display: 'Playfair Display', 'Be Vietnam Pro', Georgia, serif;
  --font-heading: 'Plus Jakarta Sans', 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-logo: 'Playfair Display', 'Plus Jakarta Sans', serif;
  --font-sans: 'Plus Jakarta Sans', 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Be Vietnam Pro', 'Plus Jakarta Sans', sans-serif;
}

/* ==========================================================================
   Base Reset & Global Styles
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-app);
  color: var(--text-body);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
}

/* Global Subtle Damask / Dark Linen Textured Background */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.07) 0%, transparent 60%),
    radial-gradient(circle at 10% 40%, rgba(158, 31, 54, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(13, 130, 92, 0.04) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Typography Elements */
h1,
h2,
h3,
h4,
h5,
h6,
.font-serif,
.logo-title,
.hero-title,
.section-title,
.train-heading h3,
.station-preview-title,
.exp-title,
.modal-route-title,
.booking-bar-title,
.footer-brand h3 {
  font-family: var(--font-serif);
  color: var(--text-title);
  letter-spacing: 0.01em;
  font-weight: 700;
}

p {
  color: var(--text-body);
}

a {
  color: inherit;
  text-decoration: none;
  transition: all var(--trans-fast);
}

button {
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
  font-family: var(--font-sans);
  transition: all var(--trans-smooth);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Luxury Gold Gradient Text Helper */
.gold-gradient-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* ==========================================================================
   Geometric Heritage Fretwork Ribbon (Họa tiết Hồi Văn dát đồng từ ảnh)
   ========================================================================== */
.fretwork-ribbon {
  width: 100%;
  height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='20' viewBox='0 0 60 20'%3E%3Cpath d='M0 1.5h60M0 18.5h60 M5 1.5v6h6V4h6v12h-9v-3h-3v5h15V3.5h-9v4h-3V1.5 M50 1.5v6h-6V4h-6v12h9v-3h3v5h-15V3.5h9v4h3V1.5' fill='none' stroke='%23d4af37' stroke-width='1.4' stroke-linecap='square' stroke-linejoin='miter' opacity='0.85'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: 60px 18px;
  opacity: 0.85;
}

.fretwork-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2px 0;
  gap: 16px;
}

.fretwork-divider::before,
.fretwork-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gold-metallic-line);
}

.fretwork-divider-icon {
  color: var(--gold-primary);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ==========================================================================
   Header (Minimal Luxury: Logo, Nav Links & Language Switcher)
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(11, 15, 23, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gold-border);
  transition: all var(--trans-smooth);
}

.header::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gold-metallic-line);
  opacity: 0.6;
}

.header.scrolled {
  background: rgba(8, 11, 16, 0.96);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  border-bottom-color: rgba(212, 175, 55, 0.4);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.logo-badge {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #1f140e, #2c1a12);
  border: 1.5px solid var(--gold-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-family: var(--font-logo);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.05em;
  box-shadow: var(--glow-lantern);
  position: relative;
}

.logo-badge::after {
  content: '✦';
  position: absolute;
  top: -5px;
  right: -5px;
  font-size: 8px;
  color: var(--gold-light);
}

.logo-text h1 {
  font-family: var(--font-logo);
  font-size: 1.22rem;
  letter-spacing: 0.06em;
  line-height: 1.15;
  color: var(--text-title);
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
  text-transform: uppercase;
}

.logo-text p {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  color: var(--gold-champagne);
  font-weight: 600;
  text-transform: uppercase;
  margin-top: 2px;
}

/* Nav Navigation Links (Desktop) */
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link-item a {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-body);
  text-transform: uppercase;
  padding: 8px 0;
  position: relative;
  transition: color var(--trans-fast);
}

.nav-link-item a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-gradient);
  transition: width var(--trans-smooth);
}

.nav-link-item a:hover {
  color: var(--gold-light);
}

.nav-link-item a:hover::after {
  width: 100%;
}

/* Nav Actions (Clean Language Switcher) */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang-switcher {
  display: flex;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-full);
  padding: 3px;
}

.lang-btn {
  padding: 5px 14px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  border-radius: var(--radius-full);
  transition: all var(--trans-fast);
}

.lang-btn.active {
  background: var(--gold-gradient);
  color: #0d121b;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

.lang-btn:hover:not(.active) {
  color: var(--gold-light);
}

/* ==========================================================================
   Hero Section (Editorial Luxury Layout & Slider)
   ========================================================================== */
.hero {
  position: relative;
  padding: 130px 0 60px;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 75% 30%, rgba(212, 175, 55, 0.09) 0%, transparent 60%),
    radial-gradient(circle at 20% 70%, rgba(158, 31, 54, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, #080b10 0%, #0d131d 100%);
  z-index: 0;
}

/* Fretwork Header Ribbon under Navigation */
.hero-fretwork-top {
  position: absolute;
  top: 78px;
  left: 0;
  right: 0;
  z-index: 2;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* Hero Content */
.hero-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-full);
  color: var(--gold-champagne);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  width: fit-content;
  box-shadow: var(--glow-lantern);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-title);
}

.hero-desc {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: #94a3b8;
  max-width: 580px;
}

.hero-desc strong {
  color: var(--gold-light);
  font-weight: 600;
}

/* Hero Quick Stats Strip */
.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 18px 0 6px;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
  margin-top: 10px;
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--gold-light);
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
}

/* Hero Action CTAs */
.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--gold-gradient);
  color: #0b0f17;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
  transition: all var(--trans-smooth);
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(212, 175, 55, 0.6);
  color: #000;
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--gold-border);
  color: var(--text-title);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all var(--trans-fast);
}

.btn-hero-secondary:hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: var(--gold-primary);
  color: var(--gold-light);
}

/* ==========================================================================
   Editorial Image Slider (Right Side of Hero)
   ========================================================================== */
.slider-card-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 8px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.4) 0%, rgba(44, 26, 18, 0.8) 50%, rgba(212, 175, 55, 0.2) 100%);
  box-shadow: var(--shadow-card), var(--glow-lantern);
}

.slider-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  border-radius: calc(var(--radius-lg) - 4px);
  background: #000;
}

.slider-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, transform 1.2s ease-out;
  transform: scale(1.05);
}

.slide-item.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Slider Gradient Overlay & Badge */
.slide-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px 24px 20px;
  background: linear-gradient(180deg, transparent 0%, rgba(8, 11, 16, 0.9) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  z-index: 2;
}

.slide-badge-info {
  display: flex;
  flex-direction: column;
}

.slide-tag {
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  color: var(--gold-light);
  text-transform: uppercase;
  font-weight: 700;
}

.slide-caption-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: #fff;
  margin-top: 4px;
}

/* Slider Navigation Buttons */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  background: rgba(11, 15, 23, 0.75);
  border: 1px solid var(--gold-border);
  color: var(--gold-light);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  z-index: 10;
  backdrop-filter: blur(8px);
  transition: all var(--trans-fast);
}

.slider-btn:hover {
  background: var(--gold-gradient);
  color: #0b0f17;
  border-color: var(--gold-primary);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

.prev-btn {
  left: 16px;
}

.next-btn {
  right: 16px;
}

/* Slider Dots / Indicators */
.slider-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 10;
}

.dot-indicator {
  width: 8px;
  height: 4px;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 2px;
  transition: all var(--trans-smooth);
  cursor: pointer;
}

.dot-indicator.active {
  width: 24px;
  background: var(--gold-gradient);
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.6);
}

/* ==========================================================================
   Luxury Quick Booking Bar (Floating Bar)
   ========================================================================== */
.quick-booking-container {
  margin-top: -30px;
  position: relative;
  z-index: 30;
  padding-bottom: 40px;
}

.quick-booking-card {
  background: var(--gold-gradient) top / 100% 4px no-repeat, var(--bg-card);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 24px 32px;
  box-shadow: var(--shadow-card), var(--glow-lantern);
  position: relative;
  overflow: visible;
}

.quick-booking-card svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.quick-booking-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
}

.quick-booking-title-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.booking-bar-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.booking-header-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  color: var(--gold-light);
}

.booking-promo-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: rgba(158, 31, 54, 0.2);
  border: 1px solid rgba(194, 41, 70, 0.5);
  border-radius: var(--radius-full);
  color: #ff859b;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.booking-promo-icon {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
}

/* Direction Segmented Tabs */
.direction-switch-tabs {
  display: inline-flex;
  background: rgba(11, 15, 23, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--radius-full);
  padding: 4px;
  gap: 4px;
}

.direction-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all var(--trans-fast);
  font-family: 'Be Vietnam Pro', sans-serif;
}

.dir-tab-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.direction-tab:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.direction-tab.active {
  background: var(--gold-gradient);
  color: #0b0f17;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(212, 175, 55, 0.4);
}

.dir-badge {
  font-size: 0.6875rem;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.25);
  color: inherit;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.direction-tab.active .dir-badge {
  background: rgba(11, 15, 23, 0.8);
  color: var(--gold-light);
}

.dir-time {
  font-size: 0.75rem;
  opacity: 0.85;
  font-weight: 600;
}

.dir-name {
  white-space: nowrap;
}

.quick-booking-form {
  display: grid;
  grid-template-columns: 1.8fr 0.85fr auto 0.85fr 1.2fr auto;
  gap: 12px;
  align-items: end;
}

.booking-input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}

.booking-input-label {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.booking-label-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  color: var(--gold-light);
}

.booking-select-wrapper {
  position: relative;
}

.booking-select,
.booking-input {
  width: 100%;
  height: 48px;
  padding: 12px 14px;
  background: rgba(11, 15, 23, 0.8);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all var(--trans-fast);
  appearance: none;
  -webkit-appearance: none;
}

.booking-select {
  padding-right: 38px;
}

.booking-select:focus,
.booking-input:focus {
  border-color: var(--gold-primary);
  background: rgba(16, 23, 35, 0.95);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.25);
}

.booking-select option {
  background: #101723;
  color: #ffffff;
  padding: 10px;
}

.select-arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--gold-light);
  width: 16px;
  height: 16px;
}

/* Swap Button */
.booking-swap-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 5px;
}

.btn-swap-stations {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background: rgba(16, 23, 35, 0.9);
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: var(--gold-primary);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--trans-fast);
}

.btn-swap-stations svg {
  width: 19px;
  height: 19px;
}

.btn-swap-stations:hover {
  background: var(--gold-primary);
  color: #0b0f17;
  transform: rotate(180deg) scale(1.05);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.5);
}

/* Custom Luxury Calendar Button & Popover */
.date-picker-custom-wrapper {
  position: relative;
  width: 100%;
}

.quick-date-display-btn {
  width: 100%;
  height: 48px;
  padding: 12px 14px;
  background: rgba(11, 15, 23, 0.8);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all var(--trans-fast);
  text-align: left;
}

.quick-date-display-btn:hover,
.quick-date-display-btn:focus {
  border-color: var(--gold-primary);
  background: rgba(16, 23, 35, 0.95);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.25);
}

.date-display-text {
  color: var(--gold-light);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.calendar-icon-indicator {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: var(--gold-light);
  opacity: 0.9;
  margin-left: 6px;
}

.visually-hidden-date {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
}

.quick-calendar-popover {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 320px;
  background: rgba(11, 15, 23, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85), 0 0 25px rgba(212, 175, 55, 0.2);
  z-index: 1000;
  display: none;
  transform-origin: top right;
  animation: popoverFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.quick-calendar-popover.active {
  display: block;
}

@keyframes popoverFadeIn {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.quick-cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-weight: 700;
  color: var(--gold-light);
}

.quick-cal-month-label {
  font-family: var(--font-serif);
  font-size: 1rem;
}

.quick-cal-nav {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--trans-fast);
  font-size: 1.1rem;
}

.quick-cal-nav svg {
  width: 16px;
  height: 16px;
}

.quick-cal-nav:hover {
  background: var(--gold-primary);
  color: #0b0f17;
}

.quick-cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.quick-cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.quick-cal-day {
  aspect-ratio: 1;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #fff;
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--trans-fast);
}

.quick-cal-day:hover:not(.disabled) {
  background: rgba(212, 175, 55, 0.2);
  border-color: rgba(212, 175, 55, 0.5);
}

.quick-cal-day.active {
  background: var(--gold-gradient) !important;
  color: #0b0f17 !important;
  font-weight: 700 !important;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
}

.quick-cal-day.today {
  border-color: var(--gold-primary);
  font-weight: 700;
}

.quick-cal-day.disabled {
  color: rgba(255, 255, 255, 0.18);
  cursor: not-allowed;
}

.quick-cal-pills {
  display: flex;
  gap: 6px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  flex-wrap: wrap;
}

.quick-pill-btn {
  flex: 1;
  min-width: calc(50% - 4px);
  padding: 5px 8px;
  font-size: 0.6875rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 4px;
  color: var(--gold-light);
  cursor: pointer;
  text-align: center;
  transition: all var(--trans-fast);
}

.quick-pill-btn:hover {
  background: rgba(212, 175, 55, 0.2);
  border-color: var(--gold-primary);
  color: #fff;
}

.btn-booking-search {
  height: 48px;
  padding: 0 24px;
  background: var(--gold-gradient);
  color: #0b0f17;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
}

.btn-booking-search:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.55);
}

.btn-booking-search svg {
  width: 18px;
  height: 18px;
  transition: transform var(--trans-fast);
}

.btn-booking-search:hover svg {
  transform: translateX(3px);
}

/* Route Summary & Timing Strip */
.quick-booking-footer-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(212, 175, 55, 0.12);
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.8125rem;
}

.booking-route-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.summary-badge {
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--gold-gradient);
  color: #0b0f17;
  font-weight: 800;
  font-size: 0.6875rem;
  letter-spacing: 0.05em;
}

.summary-route {
  font-weight: 600;
  color: #ffffff;
}

.summary-time {
  color: var(--gold-light);
  font-weight: 500;
}

.booking-dsvn-note {
  color: var(--text-muted);
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   Section Standard Typography & Headers
   ========================================================================== */
.section {
  padding: 80px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 48px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 16px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-full);
  color: var(--gold-champagne);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  line-height: 1.25;
  color: var(--text-title);
  margin-bottom: 14px;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ==========================================================================
   1. Heritage Stations Showcase & Unified Station Group Container
   ========================================================================== */
.station-group-container {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 32px;
  position: relative;
  overflow: hidden;
  margin-bottom: 30px;
}

.station-group-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gold-gradient);
}

/* 
   Timeline Selector with Authentic Realistic Train Tracks
   - Responsive 5-column grid on all screens without horizontal scrolling
*/
.station-timeline-selector {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  position: relative;
  padding-top: 68px;
  padding-bottom: 6px;
  width: 100%;
}

/* 
   Chân thực chuẩn đường ray xe lửa:
   - 2 thanh ray mạ vàng ánh kim nổi khối 3D (Top & Bottom Rails)
   - Các thanh tà vẹt gỗ mun (Sleepers/Ties) dài hơn và nhô rộng ra 2 bên mép trên & dưới
   - Nền đá rải đường ray (Ballast bed) tối màu có chiều sâu
   - Bắt đầu chính xác tại tâm Ga 1 (Thọ Lộc) và kết thúc tại tâm Ga 5 (Huế)
*/
.station-timeline-selector::before {
  content: '';
  position: absolute;
  top: 10px;
  left: calc((100% - 4 * 12px) / 10);
  right: calc((100% - 4 * 12px) / 10);
  height: 26px;
  background-color: rgba(12, 16, 24, 0.95);
  background-image:
    /* Thanh ray trên (Top Rail) mạ vàng nổi khối */
    linear-gradient(180deg, #fff7d6 0%, #d4af37 40%, #7d5916 100%),
    /* Thanh ray dưới (Bottom Rail) mạ vàng nổi khối */
    linear-gradient(180deg, #fff7d6 0%, #d4af37 40%, #7d5916 100%),
    /* Chuỗi thanh tà vẹt (Ties) nhô rộng ra 2 bên mép trên & dưới */
    repeating-linear-gradient(90deg,
      transparent 0px,
      transparent 10px,
      #1b120c 10px,
      #422617 11px,
      #422617 15px,
      #1b120c 16px,
      transparent 16px);
  background-size:
    100% 3.5px,
    100% 3.5px,
    100% 100%;
  background-position:
    0 4px,
    0 18.5px,
    0 0;
  background-repeat: no-repeat, no-repeat, repeat-x;
  border-radius: 3px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.8), inset 0 0 6px rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.timeline-station-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px 8px 14px;
  background: rgba(16, 23, 35, 0.75);
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: var(--radius-md);
  position: relative;
  z-index: 2;
  transition: background var(--trans-smooth), border-color var(--trans-smooth), box-shadow var(--trans-smooth);
}

.timeline-station-node:hover {
  background: rgba(24, 35, 52, 0.98);
  border-color: var(--gold-primary);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), var(--glow-lantern);
}

.timeline-station-node.active-node {
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.25) 0%, rgba(16, 23, 35, 0.98) 100%);
  border-color: var(--gold-primary);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6), var(--glow-lantern);
}

/* 
   Station Node Pin:
   - Căn giữa 100% trục đường ray xe lửa 26px (top: -57px, tâm tại y = 23px)
   - Đường nối dọc (stem) cắm chạm chuẩn xác 100% vào mép trên của thẻ ga (top: 100%; height: 33px;)
   - Không bị thừa hay thiếu mép ở bất kỳ trạng thái nào
*/
.station-node-pin {
  position: absolute;
  top: -57px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  background: #0b0f17;
  border: 3.5px solid var(--gold-border);
  z-index: 5;
  transition: all var(--trans-smooth);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.85);
}

/* Đường nối thẳng đứng từ đáy nút tròn cắm đúng vào mép thẻ ga */
.station-node-pin::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 2.5px;
  height: 33px;
  background: linear-gradient(180deg, var(--gold-primary) 0%, rgba(212, 175, 55, 0.5) 100%);
  z-index: 2;
  transition: all var(--trans-smooth);
}

.timeline-station-node:hover .station-node-pin {
  border-color: var(--gold-light);
  box-shadow: 0 0 14px rgba(212, 175, 55, 0.7);
}

.timeline-station-node:hover .station-node-pin::after {
  background: var(--gold-gradient);
  width: 3px;
}

.timeline-station-node.active-node .station-node-pin {
  background: var(--gold-gradient);
  border-color: #ffffff;
  box-shadow: 0 0 22px rgba(212, 175, 55, 1), 0 0 10px #ffffff;
}

.timeline-station-node.active-node .station-node-pin::after {
  background: var(--gold-gradient);
  width: 3px;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.9);
}

.station-node-title {
  font-family: var(--font-serif);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 3px;
  line-height: 1.2;
}

.timeline-station-node.active-node .station-node-title {
  color: var(--gold-light);
}

.station-node-sub {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.3;
}

.timeline-station-node.active-node .station-node-sub {
  color: #cbd5e1;
  font-weight: 600;
}

/* Station Preview Box (Nằm bên trong chung group container) */
.station-preview-box {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 32px;
  background: rgba(11, 15, 23, 0.75);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}

.station-preview-img-box {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--gold-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

.station-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.station-preview-box:hover .station-preview-img {
  transform: scale(1.03);
}

.station-preview-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 14px;
  background: rgba(11, 15, 23, 0.88);
  backdrop-filter: blur(10px);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-full);
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.station-preview-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.station-preview-title {
  font-size: 1.65rem;
  color: var(--text-title);
  line-height: 1.25;
}

.station-preview-heading {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.station-preview-intro {
  color: var(--gold-champagne);
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.4;
}

.station-preview-desc {
  font-size: 0.95rem;
  line-height: 1.75;
  color: #cbd5e1;
}

.station-highlights-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.station-highlight-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--radius-full);
  color: var(--gold-champagne);
  font-size: 0.8125rem;
  font-weight: 500;
}

/* ==========================================================================
   2. Two-Way Train Schedules & Interactive 10 Route Cards (HQ1 & HQ2)
   ========================================================================== */
.two-trains-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 40px;
  font-family: 'Be Vietnam Pro', sans-serif;
}

.train-full-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-xl);
  padding: 20px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  overflow: hidden;
  transition: border-color var(--trans-smooth);
  font-family: 'Be Vietnam Pro', sans-serif;
}

.train-full-card * {
  font-family: 'Be Vietnam Pro', sans-serif;
}

.train-full-card:hover {
  border-color: rgba(212, 175, 55, 0.6);
}

.train-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.train-identity {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.train-tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  width: fit-content;
}

.badge-hq1 {
  background: rgba(158, 31, 54, 0.25);
  border: 1px solid rgba(194, 41, 70, 0.6);
  color: #ff8fa3;
}

.badge-hq2 {
  background: rgba(30, 58, 138, 0.3);
  border: 1px solid rgba(59, 130, 246, 0.6);
  color: #93c5fd;
}

.train-heading h3 {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-title);
}

.train-heading p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 4px;
  line-height: 1.5;
}

/* Schedule Timetable Strip (5 Stops with times, km & status notes swapped) */
.train-schedule-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  background: rgba(11, 15, 23, 0.75);
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: var(--radius-md);
  padding: 16px 8px;
}

.train-schedule-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  position: relative;
}

.step-station-name {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-title);
}

.step-station-time {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 0.875rem;
  color: var(--gold-light);
  font-weight: 700;
}

.time-val {
  display: block;
}

.step-station-dist {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  background: rgba(255, 255, 255, 0.04);
  padding: 1px 6px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(212, 175, 55, 0.12);
}

.step-station-note {
  font-size: 0.6875rem;
  color: var(--gold-champagne);
  font-weight: 600;
  min-height: 16px;
}

.step-station-note.has-note {
  color: #ff8fa3;
  font-weight: 700;
}

/* 10 Route Buttons Grid */
.routes-area-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-champagne);
  font-weight: 700;
  font-family: 'Be Vietnam Pro', sans-serif;
}

.routes-buttons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.route-action-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: rgba(16, 23, 35, 0.7);
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}

.route-action-card:hover {
  background: rgba(24, 35, 52, 0.95);
  border-color: var(--gold-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5), var(--glow-lantern);
}

.route-action-card.full-route-card {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(16, 23, 35, 0.85) 100%);
  border-color: rgba(212, 175, 55, 0.45);
}

.route-action-card.full-route-card:hover {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.25) 0%, rgba(24, 35, 52, 0.95) 100%);
  border-color: var(--gold-primary);
}

.route-text-box,
.route-text-box * {
  pointer-events: none;
}

.route-text-box h4 {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: #ffffff;
}

.route-text-box p {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.route-action-btn-pill {
  position: relative;
  padding: 5px 12px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-full);
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
  font-family: 'Be Vietnam Pro', sans-serif;
  transition: color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.route-action-btn-pill::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold-gradient);
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: -1;
}

.route-action-card:hover .route-action-btn-pill {
  color: #0b0f17;
  border-color: var(--gold-primary);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}

.route-action-card:hover .route-action-btn-pill::before {
  opacity: 1;
}

/* ==========================================================================
   3. Train Carriages 5-Star Experience (8 Toa Xe Hoàng Gia)
   ========================================================================== */
.experience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.exp-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: all var(--trans-smooth);
  position: relative;
}

.exp-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-primary);
  box-shadow: var(--shadow-card-hover);
}

.exp-media {
  position: relative;
  height: 170px;
  overflow: hidden;
}

.exp-media-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--trans-smooth);
}

.exp-card:hover .exp-media-image {
  transform: scale(1.05);
}

.exp-media-tag {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--gold-light);
  line-height: 1.4;
}

.exp-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.exp-title {
  font-size: 1.15rem;
  color: var(--text-title);
  line-height: 1.3;
}

.exp-desc {
  font-size: 0.875rem;
  color: #94a3b8;
  line-height: 1.6;
}

.exp-perks {
  list-style: none;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.exp-perks li {
  font-size: 0.8125rem;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 8px;
}

.exp-perks li svg {
  color: var(--gold-primary);
  flex-shrink: 0;
}

/* ==========================================================================
   4. Interactive Date Picker & Luxury Boarding Pass Modal
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(4, 7, 11, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--trans-smooth);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: var(--bg-surface);
  border: 1.5px solid var(--gold-primary);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 480px;
  box-shadow: var(--shadow-modal);
  overflow: hidden;
  position: relative;
  transform: scale(0.92);
  transition: transform var(--trans-bounce);
  font-family: 'Be Vietnam Pro', sans-serif;
}

.modal-overlay.active .modal-card {
  transform: scale(1);
}

.modal-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='12' viewBox='0 0 60 12'%3E%3Cpath d='M0 1h60M0 11h60 M5 1v4h5V3h5v7h-7v-2h-3v3h12V2h-7v2h-3V1 M47 1v4h-5V3h-5v7h7v-2h3v3h-12V2h7v2h3V1' fill='none' stroke='%23d4af37' stroke-width='1.2' stroke-linecap='square' opacity='0.9'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px 18px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.18);
}

.modal-header h3 {
  font-size: 1.25rem;
  color: var(--gold-light);
}

.modal-close {
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: var(--radius-full);
  color: var(--text-muted);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--trans-fast);
}

.modal-close:hover {
  background: rgba(158, 31, 54, 0.4);
  color: #fff;
  border-color: var(--royal-red-light);
}

.modal-body {
  padding: 24px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Selected Route Info Box (Boarding Pass style) */
.selected-route-info {
  background: rgba(11, 15, 23, 0.9);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}

.modal-train-tag {
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  width: fit-content;
}

.tag-hq1 {
  background: rgba(158, 31, 54, 0.3);
  color: #ff8fa3;
  border: 1px solid rgba(194, 41, 70, 0.5);
}

.tag-hq2 {
  background: rgba(30, 58, 138, 0.35);
  color: #93c5fd;
  border: 1px solid rgba(59, 130, 246, 0.5);
}

.modal-route-title {
  font-size: 1.15rem;
  color: #ffffff;
}

.modal-route-time {
  font-size: 0.8125rem;
  color: var(--gold-light);
  font-weight: 600;
}

/* Quick Date Shortcuts */
.quick-date-pills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.quick-pill {
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: var(--radius-sm);
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-body);
  cursor: pointer;
  transition: all var(--trans-fast);
}

.quick-pill:hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: var(--gold-primary);
  color: var(--gold-light);
}

.quick-pill.active {
  background: var(--gold-gradient);
  color: #0b0f17;
  font-weight: 700;
  border-color: var(--gold-primary);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

/* Calendar Box */
.calendar-box {
  background: rgba(11, 15, 23, 0.7);
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: var(--radius-md);
  padding: 16px;
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.calendar-month-title {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold-light);
}

.cal-nav-btn {
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: var(--radius-full);
  color: var(--text-body);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.cal-nav-btn:hover {
  background: rgba(212, 175, 55, 0.2);
  color: var(--gold-light);
  border-color: var(--gold-primary);
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  text-align: center;
}

.cal-day-name {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--text-muted);
  padding: 4px 0;
}

.cal-day-cell {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--trans-fast);
  color: #cbd5e1;
}

.cal-day-cell:hover:not(.disabled):not(.empty) {
  background: rgba(212, 175, 55, 0.2);
  color: var(--gold-light);
}

.cal-day-cell.selected {
  background: var(--gold-gradient) !important;
  color: #0b0f17 !important;
  font-weight: 700;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
}

.cal-day-cell.today {
  border: 1px solid var(--gold-primary);
  color: var(--gold-light);
}

.cal-day-cell.disabled {
  opacity: 0.25;
  cursor: not-allowed;
}

.cal-day-cell.empty {
  cursor: default;
}

/* Submit Modal Button */
.btn-modal-submit {
  padding: 14px 20px;
  background: var(--gold-gradient);
  color: #0b0f17;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
  text-align: center;
}

.btn-modal-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(212, 175, 55, 0.6);
}

/* ==========================================================================
   Toast Notification
   ========================================================================== */
.toast-msg {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: rgba(16, 23, 35, 0.95);
  border: 1px solid var(--gold-primary);
  border-radius: var(--radius-md);
  padding: 14px 22px;
  color: #ffffff;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), var(--glow-lantern);
  z-index: 3000;
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--trans-smooth);
  pointer-events: none;
}

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

/* ==========================================================================
   Footer Section (Royal Minimalist Design)
   ========================================================================== */
.footer {
  background: #06090e;
  /* border-top: 1px solid var(--gold-border); */
  padding: 60px 0 30px;
  position: relative;
}

.footer-fretwork-top {
  position: absolute;
  top: -9px;
  left: 0;
  right: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand h3 {
  font-size: 1.15rem;
  color: var(--gold-light);
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.875rem;
  color: #94a3b8;
  line-height: 1.7;
}

.footer-title {
  font-size: 1.05rem;
  color: var(--text-title);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.875rem;
  color: #94a3b8;
}

.footer-links strong {
  color: #cbd5e1;
}

.footer-links a {
  color: var(--gold-light);
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(212, 175, 55, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: #64748b;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .slider-card-wrapper {
    max-width: 680px;
    margin: 0 auto;
    width: 100%;
  }

  .quick-booking-form {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .booking-swap-wrap {
    display: none;
  }

  .btn-booking-search {
    grid-column: span 2;
    margin-top: 4px;
  }

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

  .two-trains-container {
    grid-template-columns: 1fr;
  }

  .station-preview-box {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }
}

/* Mobile Screens (<= 768px down to 320px): Fit all 5 stations without horizontal scroll */
@media (max-width: 768px) {
  .header {
    height: 68px;
  }

  .nav-container {
    height: 68px;
  }

  .hero {
    padding: 100px 0 40px;
  }

  .hero-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Quick Booking Mobile Layout */
  .quick-booking-card {
    padding: 18px 12px;
  }

  .quick-booking-header {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 16px;
  }

  .quick-booking-title-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .booking-bar-title {
    font-size: 1.05rem;
  }

  .direction-switch-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    border-radius: var(--radius-md);
    padding: 4px;
    gap: 6px;
    background: rgba(11, 15, 23, 0.95);
  }

  .direction-tab {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 8px 4px;
    border-radius: var(--radius-sm);
    gap: 3px;
    width: 100%;
    min-width: 0;
  }

  .dir-tab-top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
  }

  .dir-badge {
    font-size: 0.65rem;
    padding: 2px 6px;
  }

  .dir-time {
    font-size: 0.725rem;
  }

  .dir-name {
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
    text-align: center;
  }

  .quick-booking-form {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .btn-booking-search {
    grid-column: span 1;
    width: 100%;
    height: 46px;
  }

  .quick-calendar-popover {
    width: 100%;
    max-width: 100%;
    left: 0;
    right: 0;
  }

  .station-group-container {
    padding: 24px 10px 20px;
    gap: 22px;
  }

  /* 5 Cột dàn đều toàn bộ màn hình, KHÔNG scroll ngang */
  .station-timeline-selector {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 4px;
    padding-top: 56px;
    padding-bottom: 4px;
    width: 100%;
    overflow-x: visible;
  }

  .station-timeline-selector::before {
    top: 8px;
    left: calc((100% - 4 * 4px) / 10);
    right: calc((100% - 4 * 4px) / 10);
    height: 22px;
    background-size:
      100% 3px,
      100% 3px,
      100% 100%;
    background-position:
      0 3px,
      0 16px,
      0 0;
  }

  .timeline-station-node {
    padding: 10px 2px 8px;
    min-width: 0;
  }

  .station-node-pin {
    width: 18px;
    height: 18px;
    top: -47px;
    border-width: 2.5px;
  }

  .station-node-pin::after {
    height: 29px;
    width: 2px;
  }

  .station-node-title {
    font-size: 0.75rem;
    line-height: 1.15;
    word-break: break-word;
  }

  .station-node-sub {
    font-size: 0.66rem;
    line-height: 1.15;
    margin-top: 2px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .station-preview-box {
    grid-template-columns: 1fr;
    padding: 14px;
    gap: 18px;
  }

  .station-preview-title {
    font-size: 1.3rem;
  }

  .station-preview-intro {
    font-size: 0.9375rem;
  }

  .routes-buttons-grid {
    grid-template-columns: 1fr;
  }

  .train-full-card {
    padding: 20px 14px;
  }

  .train-schedule-strip {
    gap: 4px;
    padding: 12px 4px;
  }

  .step-station-name {
    font-size: 0.8rem;
  }

  .step-station-time {
    font-size: 0.75rem;
  }

  .step-station-dist {
    font-size: 0.6875rem;
    padding: 1px 4px;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

/* ==========================================================================
   Theme Switcher & Light Heritage Theme
   Keeps the existing component geometry while remapping its material palette.
   ========================================================================== */
.theme-toggle {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: var(--gold-light);
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-full);
}

.theme-toggle:hover {
  color: var(--text-title);
  border-color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.12);
  box-shadow: var(--glow-lantern);
}

.theme-toggle:focus-visible {
  outline: 2px solid var(--gold-primary);
  outline-offset: 3px;
}

.theme-icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.theme-icon-sun {
  display: none;
}

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

  --bg-app: #f7f3ea;
  --bg-deep: #efe8dc;
  --bg-surface: #fffdf8;
  --bg-surface-elevated: #ffffff;
  --bg-surface-glass: rgba(255, 253, 248, 0.88);
  --bg-card: rgba(255, 255, 255, 0.92);
  --bg-card-hover: #ffffff;

  --wood-dark: #3c281b;
  --wood-rich: #6a4630;
  --wood-border: rgba(106, 70, 48, 0.28);

  --gold-primary: #a77a19;
  --gold-light: #75530e;
  --gold-champagne: #825d13;
  --gold-deep: #68480b;
  --gold-brass: #8d6513;
  --gold-subtle: rgba(167, 122, 25, 0.1);
  --gold-border: rgba(148, 105, 18, 0.3);
  --gold-border-active: rgba(125, 87, 12, 0.72);
  --gold-gradient: linear-gradient(135deg, #f1d88c 0%, #c99c32 48%, #a97817 100%);
  --gold-gradient-soft: linear-gradient(135deg, rgba(201, 156, 50, 0.16) 0%, rgba(167, 122, 25, 0.07) 100%);
  --gold-gradient-card: linear-gradient(180deg, rgba(201, 156, 50, 0.14) 0%, rgba(255, 255, 255, 0.94) 22%);
  --gold-metallic-line: linear-gradient(90deg, transparent 0%, #a77a19 50%, transparent 100%);

  --royal-red: #8f1e32;
  --royal-red-light: #a9253d;
  --royal-red-gradient: linear-gradient(135deg, #b12a43, #771426);
  --emerald: #08704e;
  --emerald-gradient: linear-gradient(135deg, #0c8b61, #07543b);
  --royal-blue: #254387;
  --royal-blue-gradient: linear-gradient(135deg, #3566c5, #1d356d);

  --text-pure: #152033;
  --text-title: #182235;
  --text-body: #3d495b;
  --text-muted: #657184;
  --text-gold: #75530e;

  --glow-lantern: 0 8px 24px rgba(121, 86, 16, 0.13);
  --glow-lantern-strong: 0 12px 34px rgba(121, 86, 16, 0.2);
  --shadow-card: 0 16px 38px -16px rgba(57, 43, 24, 0.25);
  --shadow-card-hover: 0 22px 44px -18px rgba(57, 43, 24, 0.32), 0 0 22px rgba(167, 122, 25, 0.1);
  --shadow-modal: 0 30px 70px -18px rgba(32, 26, 17, 0.35), 0 0 28px rgba(167, 122, 25, 0.12);
}

[data-theme="light"] body::before {
  background-image:
    radial-gradient(circle at 50% 0%, rgba(201, 156, 50, 0.11) 0%, transparent 58%),
    radial-gradient(circle at 10% 40%, rgba(158, 31, 54, 0.035) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(13, 130, 92, 0.035) 0%, transparent 50%);
}

[data-theme="light"] .theme-icon-sun {
  display: block;
}

[data-theme="light"] .theme-icon-moon {
  display: none;
}

[data-theme="light"] .header {
  background: rgba(255, 253, 248, 0.9);
  border-bottom-color: var(--gold-border);
}

[data-theme="light"] .header.scrolled {
  background: rgba(255, 253, 248, 0.97);
  border-bottom-color: rgba(148, 105, 18, 0.4);
  box-shadow: 0 10px 30px rgba(57, 43, 24, 0.12);
}

[data-theme="light"] .logo-badge {
  background: linear-gradient(135deg, #fff9e9, #ead7a5);
  color: var(--gold-deep);
}

[data-theme="light"] .logo-text h1,
[data-theme="light"] .gold-gradient-text {
  background: linear-gradient(135deg, #7a560e 0%, #b9861e 48%, #6a490b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-theme="light"] .lang-switcher,
[data-theme="light"] .theme-toggle {
  background: rgba(255, 255, 255, 0.72);
}

[data-theme="light"] .theme-toggle:hover {
  background: rgba(167, 122, 25, 0.1);
}

[data-theme="light"] .hero-backdrop {
  background:
    radial-gradient(circle at 75% 30%, rgba(201, 156, 50, 0.14) 0%, transparent 58%),
    radial-gradient(circle at 20% 70%, rgba(158, 31, 54, 0.045) 0%, transparent 48%),
    linear-gradient(180deg, #fffdf8 0%, #f3ecdf 100%);
}

[data-theme="light"] .hero-desc,
[data-theme="light"] .exp-desc,
[data-theme="light"] .footer-brand p,
[data-theme="light"] .footer-links {
  color: #526073;
}

[data-theme="light"] .btn-hero-secondary,
[data-theme="light"] .quick-cal-nav,
[data-theme="light"] .quick-pill-btn,
[data-theme="light"] .modal-close,
[data-theme="light"] .quick-pill,
[data-theme="light"] .cal-nav-btn {
  background: rgba(255, 255, 255, 0.68);
}

[data-theme="light"] .slider-card-wrapper {
  background: linear-gradient(135deg, rgba(167, 122, 25, 0.48) 0%, rgba(255, 250, 235, 0.92) 50%, rgba(167, 122, 25, 0.24) 100%);
}

[data-theme="light"] .slider-btn {
  background: rgba(255, 253, 248, 0.84);
  color: var(--gold-deep);
}

[data-theme="light"] .booking-promo-tag {
  background: rgba(158, 31, 54, 0.08);
  color: #8f1e32;
}

[data-theme="light"] .direction-switch-tabs {
  background: rgba(244, 237, 223, 0.9);
}

[data-theme="light"] .direction-tab:hover {
  color: var(--text-title);
  background: rgba(255, 255, 255, 0.72);
}

[data-theme="light"] .direction-tab.active .dir-badge {
  background: rgba(55, 39, 10, 0.82);
  color: #fff2c4;
}

[data-theme="light"] .booking-select,
[data-theme="light"] .booking-input,
[data-theme="light"] .quick-date-display-btn {
  background: rgba(255, 255, 255, 0.88);
  color: var(--text-title);
}

[data-theme="light"] .booking-select:focus,
[data-theme="light"] .booking-input:focus,
[data-theme="light"] .quick-date-display-btn:hover,
[data-theme="light"] .quick-date-display-btn:focus {
  background: #ffffff;
}

[data-theme="light"] .booking-select option {
  background: #ffffff;
  color: var(--text-title);
}

[data-theme="light"] .btn-swap-stations {
  background: rgba(255, 255, 255, 0.88);
}

[data-theme="light"] .quick-calendar-popover {
  background: rgba(255, 253, 248, 0.98);
  box-shadow: 0 20px 48px rgba(57, 43, 24, 0.2), 0 0 22px rgba(167, 122, 25, 0.1);
}

[data-theme="light"] .quick-cal-nav,
[data-theme="light"] .quick-cal-day,
[data-theme="light"] .quick-pill-btn {
  color: var(--text-body);
}

[data-theme="light"] .quick-cal-day.disabled {
  color: rgba(61, 73, 91, 0.3);
}

[data-theme="light"] .quick-pill-btn:hover {
  color: var(--gold-deep);
}

[data-theme="light"] .summary-route,
[data-theme="light"] .route-text-box h4,
[data-theme="light"] .modal-route-title,
[data-theme="light"] .exp-perks li,
[data-theme="light"] .cal-day-cell {
  color: var(--text-title);
}

[data-theme="light"] .station-timeline-selector::before {
  background-color: #e9dfcd;
  box-shadow: 0 4px 12px rgba(57, 43, 24, 0.18), inset 0 0 5px rgba(91, 64, 22, 0.12);
}

[data-theme="light"] .timeline-station-node {
  background: rgba(255, 255, 255, 0.74);
}

[data-theme="light"] .timeline-station-node:hover {
  background: #ffffff;
  box-shadow: 0 4px 18px rgba(57, 43, 24, 0.15), var(--glow-lantern);
}

[data-theme="light"] .timeline-station-node.active-node {
  background: linear-gradient(180deg, rgba(220, 183, 87, 0.3) 0%, rgba(255, 255, 255, 0.96) 100%);
  box-shadow: 0 8px 26px rgba(57, 43, 24, 0.17), var(--glow-lantern);
}

[data-theme="light"] .station-node-pin {
  background: #fffdf8;
  box-shadow: 0 2px 8px rgba(57, 43, 24, 0.24);
}

[data-theme="light"] .timeline-station-node.active-node .station-node-pin {
  border-color: #fffdf8;
  box-shadow: 0 0 18px rgba(167, 122, 25, 0.55), 0 0 8px #ffffff;
}

[data-theme="light"] .timeline-station-node.active-node .station-node-title,
[data-theme="light"] .timeline-station-node.active-node .station-node-sub {
  color: var(--gold-deep);
}

[data-theme="light"] .station-preview-box,
[data-theme="light"] .train-schedule-strip,
[data-theme="light"] .selected-route-info,
[data-theme="light"] .calendar-box {
  background: rgba(247, 242, 232, 0.82);
  box-shadow: inset 0 2px 8px rgba(57, 43, 24, 0.06);
}

[data-theme="light"] .station-preview-img-box {
  box-shadow: 0 10px 28px rgba(57, 43, 24, 0.18);
}

[data-theme="light"] .station-preview-badge {
  background: rgba(255, 253, 248, 0.9);
}

[data-theme="light"] .station-preview-desc {
  color: var(--text-body);
}

[data-theme="light"] .badge-hq1,
[data-theme="light"] .tag-hq1 {
  background: rgba(158, 31, 54, 0.09);
  color: #8f1e32;
}

[data-theme="light"] .badge-hq2,
[data-theme="light"] .tag-hq2 {
  background: rgba(37, 67, 135, 0.09);
  color: #254387;
}

[data-theme="light"] .step-station-dist {
  background: rgba(167, 122, 25, 0.06);
}

[data-theme="light"] .step-station-note.has-note {
  color: #9b263b;
}

[data-theme="light"] .route-action-card {
  background: rgba(250, 247, 240, 0.9);
}

[data-theme="light"] .route-action-card:hover {
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(57, 43, 24, 0.14), var(--glow-lantern);
}

[data-theme="light"] .route-action-card.full-route-card {
  background: linear-gradient(135deg, rgba(201, 156, 50, 0.16) 0%, rgba(255, 255, 255, 0.92) 100%);
}

[data-theme="light"] .route-action-card.full-route-card:hover {
  background: linear-gradient(135deg, rgba(201, 156, 50, 0.24) 0%, #ffffff 100%);
}

[data-theme="light"] .modal-overlay {
  background: rgba(40, 34, 25, 0.42);
}

[data-theme="light"] .modal-close:hover {
  background: rgba(158, 31, 54, 0.12);
  color: var(--royal-red);
}

[data-theme="light"] .quick-pill:hover,
[data-theme="light"] .cal-day-cell:hover:not(.disabled):not(.empty) {
  color: var(--gold-deep);
}

[data-theme="light"] .toast-msg {
  background: rgba(255, 253, 248, 0.97);
  color: var(--text-title);
  box-shadow: 0 10px 28px rgba(57, 43, 24, 0.2), var(--glow-lantern);
}

[data-theme="light"] .footer {
  background: #eee6d8;
}

[data-theme="light"] .footer-links strong {
  color: var(--text-title);
}

[data-theme="light"] .footer-bottom,
[data-theme="light"] [data-i18n="footerLicense"] {
  color: #687386 !important;
}

@media (max-width: 480px) {
  .nav-container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .logo {
    gap: 8px;
  }

  .logo-badge {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }

  .logo-text h1 {
    font-size: 1rem;
  }

  .logo-text p {
    font-size: 0.59rem;
    letter-spacing: 0.1em;
  }

  .nav-actions {
    gap: 7px;
  }

  .theme-toggle {
    width: 34px;
    height: 34px;
  }

  .lang-btn {
    padding: 5px 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .theme-toggle,
  .theme-icon {
    transition: none;
  }
}
