/* ==========================================================================
   TrainZConnect - Amtrak Train Booking Agency Design System & Stylesheet
   ========================================================================== */

:root {
  /* Brand Palette */
  --navy-950: #060d1d;
  --navy-900: #0b172a;
  --navy-850: #10213d;
  --navy-800: #172a4c;
  --navy-700: #1e3a67;
  
  --blue-600: #0284c7;
  --blue-500: #0ea5e9;
  --blue-400: #38bdf8;
  --blue-100: #e0f2fe;
  --blue-50:  #f0f9ff;

  --amber-500: #f59e0b;
  --amber-400: #fbbf24;
  --amber-600: #d97706;
  
  --emerald-500: #10b981;
  --emerald-400: #34d399;

  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50:  #f8fafc;
  --white:     #ffffff;

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(11, 23, 42, 0.08);
  --shadow-md: 0 4px 14px -2px rgba(11, 23, 42, 0.12), 0 2px 6px -1px rgba(11, 23, 42, 0.06);
  --shadow-lg: 0 12px 28px -4px rgba(11, 23, 42, 0.14), 0 4px 10px -2px rgba(11, 23, 42, 0.08);
  --shadow-xl: 0 20px 40px -6px rgba(11, 23, 42, 0.22), 0 8px 16px -4px rgba(11, 23, 42, 0.1);
  --shadow-glow: 0 0 25px rgba(14, 165, 233, 0.35);
  --shadow-amber: 0 0 20px rgba(245, 158, 11, 0.35);

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 9999px;

  /* Transitions */
  --transition-fast: 0.18s ease;
  --transition-normal: 0.28s ease;
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Box Sizing */
*, *::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;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--slate-800);
  background-color: var(--slate-50);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
  position: relative;
}

/* Responsive Images */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1rem, 3vw, 2rem);
  padding-right: clamp(1rem, 3vw, 2rem);
}

/* Text Utilities & Fluid Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--navy-900);
  font-weight: 700;
  line-height: 1.25;
}

.hero-title {
  font-size: clamp(2rem, 4vw + 0.5rem, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 1.2rem;
  color: var(--white);
}

.section-title {
  font-size: clamp(1.75rem, 2.8vw + 0.3rem, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.9rem;
}

.text-gradient {
  background: linear-gradient(135deg, #38bdf8 0%, #60a5fa 50%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-accent {
  color: var(--amber-400);
}

.text-white {
  color: var(--white) !important;
}

.text-muted {
  color: var(--slate-400) !important;
}

.text-center {
  text-align: center;
}

/* Badges */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background-color: var(--blue-50);
  color: var(--blue-600);
  border: 1px solid rgba(2, 132, 199, 0.2);
  margin-bottom: 0.85rem;
}

.badge-light {
  background-color: rgba(255, 255, 255, 0.12);
  color: var(--blue-400);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Section Header Standard */
.section-header {
  max-width: 780px;
  margin: 0 auto 3rem auto;
}

.section-description {
  font-size: clamp(1rem, 0.8vw + 0.6rem, 1.15rem);
  color: var(--slate-600);
  line-height: 1.65;
}

/* ==========================================================================
   Buttons & Interactive Elements
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.96rem;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition-normal);
  white-space: nowrap;
}

.btn-lg {
  padding: 0.95rem 1.8rem;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.45);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.btn-gold {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: var(--navy-950);
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.35);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  box-shadow: 0 6px 22px rgba(245, 158, 11, 0.48);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--blue-600);
  border-color: var(--blue-600);
}

.btn-outline:hover {
  background-color: var(--blue-600);
  color: var(--white);
  transform: translateY(-2px);
}

.icon-phone {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
}

.icon-arrow {
  width: 1.15rem;
  height: 1.15rem;
  transition: transform var(--transition-fast);
}

.btn:hover .icon-arrow {
  transform: translateX(4px);
}

/* ==========================================================================
   Top Announcement Bar
   ========================================================================== */

.top-bar {
  background-color: var(--navy-950);
  color: var(--slate-300);
  font-size: 0.74rem;
  padding: 0.25rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pulse-indicator {
  width: 6px;
  height: 6px;
  background-color: var(--emerald-400);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7);
  animation: pulseGreen 2s infinite;
  flex-shrink: 0;
}

@keyframes pulseGreen {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7); }
  70% { box-shadow: 0 0 0 7px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.top-bar-text strong {
  color: var(--amber-400);
}

.top-bar-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--white);
  text-decoration: none;
  font-size: 0.74rem;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.top-bar-phone .icon-phone {
  width: 0.95rem;
  height: 0.95rem;
}

.top-bar-phone:hover {
  color: var(--amber-400);
}

.top-bar-phone strong {
  color: var(--amber-400);
  font-weight: 700;
}

/* ==========================================================================
   Header & Navbar
   ========================================================================== */

/* ==========================================================================
   Header & Navbar (Compact Premium Redesign)
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 17, 34, 0.92);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05), 0 8px 24px -4px rgba(2, 6, 23, 0.35);
  transition: all var(--transition-normal);
}

.site-header.header-scrolled {
  background: rgba(6, 13, 29, 0.98);
  border-bottom-color: rgba(56, 189, 248, 0.2);
  box-shadow: 0 8px 25px -4px rgba(0, 0, 0, 0.5);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
  gap: 0.75rem;
}

/* Brand Logo (Compact) */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  transition: transform var(--transition-fast);
}

.brand-logo:hover {
  transform: translateY(-1px);
}

.logo-icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border: 1px solid rgba(56, 189, 248, 0.5);
  box-shadow: 0 0 14px rgba(2, 132, 199, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.4);
  overflow: hidden;
  flex-shrink: 0;
}

.logo-glow-ring {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 60%);
  pointer-events: none;
}

.logo-svg {
  width: 17px;
  height: 17px;
  stroke: var(--white);
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

/* Brand Logo Image (Transparent & Resized) */
.brand-logo-card {
  background: transparent;
  padding: 0;
  border-radius: 0;
  display: flex;
  align-items: center;
  border: none;
  box-shadow: none;
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.brand-logo:hover .brand-logo-card {
  box-shadow: none;
  transform: scale(1.04);
}

.brand-logo-img {
  height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.45)) drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
  transition: filter var(--transition-fast);
}

.brand-logo:hover .brand-logo-img {
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 14px rgba(245, 158, 11, 0.4));
}

.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.footer-logo-card {
  background: transparent;
  padding: 0;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  border: none;
  box-shadow: none;
  width: fit-content;
  flex-shrink: 0;
}

.footer-logo-img {
  height: 60px;
  width: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 12px rgba(255, 255, 255, 0.2));
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.logo-highlight {
  background: linear-gradient(135deg, #38bdf8 0%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-tagline {
  font-size: 0.58rem;
  font-weight: 700;
  color: var(--slate-400);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 1px;
}

.logo-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--amber-400);
  box-shadow: 0 0 4px var(--amber-400);
  display: inline-block;
}

/* Nav Menu Links (Compact) */
.nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 0.15rem;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--slate-300);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.55rem;
  border-radius: var(--radius-sm);
  position: relative;
  transition: all var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.nav-chip-deal {
  font-size: 0.54rem;
  font-weight: 800;
  text-transform: uppercase;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: var(--navy-950);
  padding: 0.08rem 0.32rem;
  border-radius: var(--radius-pill);
  letter-spacing: 0.03em;
  box-shadow: 0 1px 4px rgba(245, 158, 11, 0.35);
}

/* Header Actions (Compact) */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.header-search-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.32rem 0.65rem;
  border-radius: var(--radius-pill);
  color: var(--slate-300);
  font-size: 0.74rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
  transition: all var(--transition-fast);
}

.header-search-btn svg {
  width: 12px;
  height: 12px;
  stroke: var(--blue-400);
}

.header-search-btn:hover {
  color: var(--white);
  border-color: rgba(56, 189, 248, 0.5);
  background: rgba(56, 189, 248, 0.1);
  transform: translateY(-1px);
}

/* Luxury Header Call Card (Compact) */
.header-call-card {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.24rem 0.85rem 0.24rem 0.28rem;
  background: linear-gradient(135deg, rgba(13, 27, 51, 0.95) 0%, rgba(27, 48, 86, 0.95) 100%);
  border: 1.2px solid rgba(245, 158, 11, 0.45);
  border-radius: var(--radius-pill);
  text-decoration: none;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.28), 0 0 12px rgba(245, 158, 11, 0.14);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.header-call-card:hover {
  transform: translateY(-1px);
  border-color: var(--amber-400);
  background: linear-gradient(135deg, rgba(17, 34, 64, 1) 0%, rgba(32, 58, 104, 1) 100%);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35), 0 0 16px rgba(245, 158, 11, 0.28);
}

.call-card-pulse-wrap {
  position: relative;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.call-pulse-core {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-950);
  box-shadow: 0 1px 6px rgba(245, 158, 11, 0.35);
  position: relative;
  z-index: 2;
}

.call-pulse-core svg {
  width: 13px;
  height: 13px;
  stroke: var(--navy-950);
}

.call-pulse-ring {
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 1px solid var(--amber-400);
  animation: callRingPulse 2s infinite cubic-bezier(0.24, 0, 0.38, 1);
  pointer-events: none;
}

@keyframes callRingPulse {
  0% { transform: scale(0.9); opacity: 0.9; }
  60% { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}

.call-card-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.call-micro-label {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.55rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--blue-100);
  line-height: 1;
  margin-bottom: 1px;
}

.live-dot-mini {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--emerald-400);
  box-shadow: 0 0 5px var(--emerald-400);
  display: inline-block;
  flex-shrink: 0;
}

.call-phone-number {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--amber-400);
  letter-spacing: -0.01em;
  line-height: 1;
}

/* Mobile Hamburger Button (Compact) */
.mobile-menu-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  cursor: pointer;
  width: 34px;
  height: 34px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0;
  transition: all var(--transition-fast);
}

.mobile-menu-toggle:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.25);
}

.mobile-menu-toggle .toggle-bar {
  display: block;
  width: 17px;
  height: 2px;
  background-color: var(--white);
  border-radius: 2px;
  transition: all 0.25s ease;
}

.mobile-menu-toggle[aria-expanded="true"] .bar-1 {
  transform: translateY(6px) rotate(45deg);
}

.mobile-menu-toggle[aria-expanded="true"] .bar-2 {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-menu-toggle[aria-expanded="true"] .bar-3 {
  transform: translateY(-6px) rotate(-45deg);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
  position: relative;
  background-color: var(--navy-950);
  background-image: radial-gradient(circle at 80% 20%, rgba(2, 132, 199, 0.22) 0%, transparent 50%),
                    radial-gradient(circle at 10% 80%, rgba(245, 158, 11, 0.12) 0%, transparent 40%);
  padding-top: clamp(2.5rem, 5vw, 4.5rem);
  padding-bottom: clamp(3rem, 6vw, 5.5rem);
  overflow: hidden;
}

.hero-container {
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.hero-content-centered {
  max-width: 860px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
}

.hero-content-centered .hero-title {
  margin-bottom: 1.25rem;
}

.hero-content-centered .hero-subtitle {
  max-width: 680px;
  margin: 0 auto 2rem auto;
}

.hero-content-centered .hero-action-buttons {
  justify-content: center;
}

.hero-content-centered .hero-trust-row {
  justify-content: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--blue-100);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.84rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
  margin-bottom: 1.25rem;
}

.badge-star {
  color: var(--amber-400);
}

.hero-subtitle {
  font-size: clamp(1rem, 1.1vw + 0.4rem, 1.22rem);
  color: var(--slate-300);
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 580px;
}

.hero-action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.2rem;
}

.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--slate-300);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.trust-check {
  color: var(--emerald-400);
  font-weight: bold;
}

/* Hero Booking Card */
.hero-widget-wrap {
  position: relative;
}

.booking-card {
  background: rgba(255, 255, 255, 0.98);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 3vw, 2.2rem);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
}

.booking-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0284c7, #38bdf8, #f59e0b);
}

.booking-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.booking-header-title h3 {
  font-size: 1.35rem;
  color: var(--navy-950);
  margin-bottom: 0.2rem;
}

.booking-header-title p {
  font-size: 0.85rem;
  color: var(--slate-500);
}

.booking-live-chip {
  background-color: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.trip-type-selector {
  display: flex;
  background-color: var(--slate-100);
  padding: 0.3rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
  gap: 0.25rem;
}

.trip-radio {
  flex: 1;
  text-align: center;
  position: relative;
  cursor: pointer;
}

.trip-radio input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.trip-radio span {
  display: block;
  padding: 0.45rem 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate-600);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.trip-radio input:checked + span {
  background-color: var(--white);
  color: var(--blue-600);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.booking-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--slate-700);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 0.85rem;
  width: 18px;
  height: 18px;
  color: var(--slate-400);
  pointer-events: none;
}

.input-with-icon input {
  padding-left: 2.5rem !important;
}

.booking-form input,
.booking-form select,
.agency-form input,
.agency-form select,
.agency-form textarea {
  width: 100%;
  padding: 0.72rem 0.9rem;
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--slate-800);
  background-color: var(--white);
  transition: all var(--transition-fast);
}

.booking-form input:focus,
.booking-form select:focus,
.agency-form input:focus,
.agency-form select:focus,
.agency-form textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.18);
}

.station-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: flex-end;
  gap: 0.5rem;
}

.swap-stations-btn {
  background-color: var(--slate-100);
  border: 1.5px solid var(--slate-200);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--slate-600);
  margin-bottom: 2px;
  transition: all var(--transition-fast);
}

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

.swap-stations-btn:hover {
  background-color: var(--blue-50);
  color: var(--blue-600);
  border-color: var(--blue-400);
  transform: rotate(180deg);
}

.date-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.widget-submit-btn {
  margin-top: 0.4rem;
  padding: 0.9rem;
}

.widget-footer-help {
  text-align: center;
  font-size: 0.82rem;
  color: var(--slate-500);
  padding-top: 0.2rem;
}

.widget-phone-link {
  color: var(--blue-600);
  text-decoration: none;
  margin-left: 0.3rem;
}

.widget-phone-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Hotline Strip / Urgency Banner
   ========================================================================== */

.hotline-strip {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem 0;
  color: var(--white);
}

.hotline-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.hotline-icon-badge {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hotline-icon-badge svg {
  width: 26px;
  height: 26px;
  stroke: var(--amber-400);
}

.hotline-text {
  flex: 1;
}

.hotline-text h4 {
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.hotline-text p {
  font-size: 0.9rem;
  color: var(--slate-300);
}

.hotline-btn {
  flex-shrink: 0;
}

/* ==========================================================================
   Popular Routes Section
   ========================================================================== */

.routes-section {
  padding: clamp(3.5rem, 6vw, 5.5rem) 0;
  background-color: var(--slate-100);
}

.routes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.route-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-200);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-normal);
}

.route-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-400);
}

.featured-route {
  border: 2px solid var(--blue-500);
  box-shadow: 0 10px 25px rgba(2, 132, 199, 0.15);
}

.featured-ribbon {
  position: absolute;
  top: -12px;
  right: 20px;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.35);
}

.route-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.route-type-tag {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--blue-600);
  background-color: var(--blue-50);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
}

.route-fare-badge {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy-900);
}

.route-name {
  font-size: 1.3rem;
  color: var(--navy-950);
  margin-bottom: 0.35rem;
}

.route-cities {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue-600);
  margin-bottom: 0.75rem;
}

.route-desc {
  font-size: 0.9rem;
  color: var(--slate-600);
  margin-bottom: 1.25rem;
  line-height: 1.55;
  flex: 1;
}

.route-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
  font-size: 0.84rem;
  color: var(--slate-700);
  background-color: var(--slate-50);
  padding: 0.85rem;
  border-radius: var(--radius-md);
}

.route-card-footer {
  margin-top: auto;
}

.routes-callout {
  background-color: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px dashed var(--slate-300);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.routes-callout p {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy-900);
}

/* ==========================================================================
   About Us Section
   ========================================================================== */

.about-section {
  padding: clamp(3.5rem, 6vw, 5.5rem) 0;
  background-color: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.about-image-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  transition: transform 0.5s ease;
}

.about-image-wrap:hover .about-img {
  transform: scale(1.02);
}

.about-experience-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(11, 23, 42, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--white);
}

.exp-num {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--amber-400);
  line-height: 1;
}

.exp-text {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--slate-200);
  line-height: 1.3;
}

.about-content .section-title {
  margin-bottom: 1.1rem;
}

.about-p {
  font-size: 0.98rem;
  color: var(--slate-600);
  line-height: 1.7;
  margin-bottom: 1.1rem;
}

.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  margin: 1.8rem 0;
  background-color: var(--slate-50);
  padding: 1.4rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
}

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

.stat-digit {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--blue-600);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--slate-600);
  font-weight: 600;
  margin-top: 0.2rem;
}

.about-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.about-cta-row .btn-secondary {
  background-color: var(--slate-100);
  color: var(--slate-800);
  border-color: var(--slate-300);
}

.about-cta-row .btn-secondary:hover {
  background-color: var(--slate-200);
  color: var(--navy-900);
}

/* ==========================================================================
   Why Choose Us Section
   ========================================================================== */

.why-us-section {
  padding: clamp(3.5rem, 6vw, 5.5rem) 0;
  background-color: var(--navy-950);
  color: var(--white);
  position: relative;
}

.why-us-section .section-title {
  color: var(--white);
}

.why-us-section .section-description {
  color: var(--slate-300);
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}

.feature-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(14, 165, 233, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.feature-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.25) 0%, rgba(2, 132, 199, 0.05) 100%);
  border: 1px solid rgba(2, 132, 199, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.feature-icon-wrap svg {
  width: 26px;
  height: 26px;
  stroke: var(--blue-400);
}

.feature-title {
  font-size: 1.22rem;
  color: var(--white);
  margin-bottom: 0.6rem;
}

.feature-desc {
  font-size: 0.92rem;
  color: var(--slate-300);
  line-height: 1.6;
}

/* ==========================================================================
   Accommodations / Sleeper Guide
   ========================================================================== */

.accommodations-section {
  padding: clamp(3.5rem, 6vw, 5.5rem) 0;
  background-color: var(--slate-50);
}

.cabin-showcase {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2.2rem;
  align-items: center;
  margin-bottom: 3rem;
}

.cabin-image-col {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.cabin-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-xl);
}

.cabin-image-tag {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(8px);
  color: var(--white);
  font-size: 0.84rem;
  font-weight: 600;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.cabin-grid-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.class-card {
  background-color: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: all var(--transition-normal);
}

.class-card:hover {
  border-color: var(--blue-400);
  box-shadow: var(--shadow-md);
}

.highlighted-class {
  border: 2px solid var(--amber-500);
  background: linear-gradient(180deg, #fffbeb 0%, #ffffff 100%);
}

.class-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.class-header h4 {
  font-size: 1.05rem;
  color: var(--navy-900);
}

.class-badge {
  font-size: 0.7rem;
  font-weight: 700;
  background-color: var(--slate-100);
  color: var(--slate-700);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.gold-badge {
  background-color: var(--amber-500);
  color: var(--navy-950);
}

.class-desc {
  font-size: 0.85rem;
  color: var(--slate-600);
  line-height: 1.5;
}

.class-benefit {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--blue-600);
  margin-top: auto;
}

.sleeper-callout-banner {
  background: linear-gradient(135deg, #0b172a 0%, #1e3a67 100%);
  border-radius: var(--radius-xl);
  padding: clamp(1.8rem, 4vw, 2.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

.sleeper-banner-text h3 {
  font-size: clamp(1.2rem, 2vw + 0.5rem, 1.6rem);
  color: var(--white);
  margin-bottom: 0.5rem;
}

.sleeper-banner-text p {
  font-size: 0.95rem;
  color: var(--slate-200);
  max-width: 680px;
}

/* ==========================================================================
   How It Works Section
   ========================================================================== */

.how-it-works-section {
  padding: clamp(3.5rem, 6vw, 5.5rem) 0;
  background-color: var(--white);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}

.step-card {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.8rem;
  position: relative;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.step-card:hover {
  transform: translateY(-5px);
  border-color: var(--blue-400);
  box-shadow: var(--shadow-md);
}

.step-number {
  position: absolute;
  top: 18px;
  right: 20px;
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--slate-300);
  line-height: 1;
}

.step-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
}

.step-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--white);
}

.step-title {
  font-size: 1.2rem;
  color: var(--navy-950);
  margin-bottom: 0.6rem;
}

.step-desc {
  font-size: 0.92rem;
  color: var(--slate-600);
  line-height: 1.6;
}

/* ==========================================================================
   Testimonials Section
   ========================================================================== */

.testimonials-section {
  padding: clamp(3.5rem, 6vw, 5.5rem) 0;
  background-color: var(--slate-100);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
}

.review-stars {
  color: var(--amber-500);
  font-size: 1.2rem;
  letter-spacing: 2px;
}

.review-text {
  font-size: 0.95rem;
  color: var(--slate-700);
  line-height: 1.65;
  font-style: italic;
}

.reviewer-info {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 1rem;
  border-top: 1px solid var(--slate-100);
}

.reviewer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0284c7, #38bdf8);
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reviewer-details {
  display: flex;
  flex-direction: column;
}

.reviewer-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy-950);
}

.reviewer-trip {
  font-size: 0.8rem;
  color: var(--slate-500);
}

/* ==========================================================================
   FAQ Section (Accordion)
   ========================================================================== */

.faq-section {
  padding: clamp(3.5rem, 6vw, 5.5rem) 0;
  background-color: var(--white);
}

.faq-accordion-wrap {
  max-width: 860px;
  margin: 0 auto 3rem auto;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.faq-item {
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-fast);
  background-color: var(--white);
}

.faq-item.active {
  border-color: var(--blue-400);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.1);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.4rem;
  background: transparent;
  border: none;
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--navy-950);
  text-align: left;
  cursor: pointer;
  gap: 1rem;
}

.faq-chevron {
  width: 20px;
  height: 20px;
  stroke: var(--slate-400);
  transition: transform var(--transition-normal);
  flex-shrink: 0;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  stroke: var(--blue-600);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  background-color: var(--slate-50);
}

.faq-item.active .faq-answer {
  max-height: 400px;
  padding: 1.2rem 1.4rem;
  border-top: 1px solid var(--slate-200);
}

.faq-answer p {
  font-size: 0.93rem;
  color: var(--slate-600);
  line-height: 1.65;
}

.faq-cta-box {
  background: var(--slate-50);
  padding: 2.2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  max-width: 650px;
  margin: 0 auto;
}

.faq-cta-box h3 {
  font-size: 1.35rem;
  margin-bottom: 0.4rem;
}

.faq-cta-box p {
  font-size: 0.95rem;
  color: var(--slate-600);
  margin-bottom: 1.25rem;
}

/* ==========================================================================
   Contact Us Section
   ========================================================================== */

.contact-section {
  padding: clamp(3.5rem, 6vw, 5.5rem) 0;
  background-color: var(--slate-100);
}

.contact-card-wrap {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  background-color: var(--white);
}

.contact-info-panel {
  background: linear-gradient(135deg, #0b172a 0%, #172a4c 100%);
  color: var(--white);
  padding: clamp(2rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-title {
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  color: var(--white);
}

.contact-sub {
  font-size: 0.95rem;
  color: var(--slate-300);
  line-height: 1.6;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: 0.5rem;
}

.contact-method-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.method-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.method-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--blue-400);
}

.method-details {
  display: flex;
  flex-direction: column;
}

.method-label {
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--slate-400);
  letter-spacing: 0.04em;
}

.method-val {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
}

a.method-val:hover {
  color: var(--amber-400);
}

.fast-call-box {
  margin-top: auto;
  background: rgba(255, 255, 255, 0.06);
  padding: 1.2rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.fast-call-box p {
  font-size: 0.82rem;
  color: var(--slate-300);
}

.contact-form-panel {
  padding: clamp(2rem, 4vw, 3rem);
  background-color: var(--white);
}

.form-title {
  font-size: 1.5rem;
  color: var(--navy-950);
  margin-bottom: 0.35rem;
}

.form-sub {
  font-size: 0.9rem;
  color: var(--slate-500);
  margin-bottom: 1.5rem;
}

.agency-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-success-toast {
  background-color: #ecfdf5;
  border: 1.5px solid #6ee7b7;
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-top: 0.5rem;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.toast-content {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

.toast-check {
  font-size: 1.2rem;
  font-weight: 800;
  color: #059669;
  background: #d1fae5;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.toast-content strong {
  font-size: 0.95rem;
  color: #065f46;
}

.toast-content p {
  font-size: 0.85rem;
  color: #047857;
  margin-top: 0.15rem;
}

.form-error-toast {
  background-color: #fef2f2;
  border: 1.5px solid #fca5a5;
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-top: 0.5rem;
  animation: slideIn 0.3s ease;
}

.toast-error .toast-cross {
  font-size: 1.1rem;
  font-weight: 800;
  color: #dc2626;
  background: #fee2e2;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.toast-error strong {
  font-size: 0.95rem;
  color: #991b1b;
}

.toast-error p {
  font-size: 0.85rem;
  color: #b91c1c;
  margin-top: 0.15rem;
}

/* ==========================================================================
   Mobile Fixed Bottom Call Bar (CRITICAL REQUIREMENT)
   ========================================================================== */

.mobile-fixed-call-bar {
  display: none; /* Hidden on desktop */
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(11, 23, 42, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom));
  animation: slideUpBottom 0.4s ease;
}

@keyframes slideUpBottom {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.mobile-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  max-width: 540px;
  margin: 0 auto;
}

.mobile-bar-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.pulse-dot {
  width: 10px;
  height: 10px;
  background-color: var(--emerald-400);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7);
  animation: pulseGreen 1.8s infinite;
  flex-shrink: 0;
}

.mobile-bar-text {
  display: flex;
  flex-direction: column;
}

.mobile-bar-title {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}

.mobile-bar-sub {
  font-size: 0.72rem;
  color: var(--slate-300);
}

.btn-mobile-call {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: var(--navy-950);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.65rem 1.15rem;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.45);
  white-space: nowrap;
}

.btn-mobile-call svg {
  width: 18px;
  height: 18px;
}

/* ==========================================================================
   Site Footer
   ========================================================================== */

.site-footer {
  background-color: var(--navy-950);
  color: var(--slate-300);
  padding: 4.5rem 0 2.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-about {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--slate-400);
}

.footer-phone-box {
  background: rgba(255, 255, 255, 0.05);
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.footer-call-label {
  font-size: 0.74rem;
  text-transform: uppercase;
  color: var(--slate-400);
  font-weight: 600;
}

.footer-phone-link {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--amber-400);
  text-decoration: none;
}

.footer-heading {
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 1.2rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  color: var(--slate-400);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--white);
}

.footer-divider {
  border: none;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 2rem;
}

.footer-disclaimer p {
  font-size: 0.78rem;
  color: var(--slate-400);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-disclaimer strong {
  color: var(--slate-300);
}

.footer-copyright-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--slate-500);
}

.footer-legal-links {
  display: flex;
  gap: 1.2rem;
}

.footer-legal-links a {
  color: var(--slate-400);
  text-decoration: none;
}

.footer-legal-links a:hover {
  color: var(--white);
}

/* ==========================================================================
   Responsive Breakpoints & Media Queries
   ========================================================================== */

/* Large Tablets & Small Desktops (max 1024px) */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-content {
    text-align: center;
  }

  .hero-badge,
  .hero-subtitle,
  .hero-action-buttons,
  .hero-trust-row {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-action-buttons {
    justify-content: center;
  }

  .hero-trust-row {
    justify-content: center;
  }

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

  .about-img {
    height: 380px;
  }

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

  .cabin-img {
    height: 360px;
  }

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

  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Tablets & Mobile (max 768px) */
@media (max-width: 768px) {
  body {
    /* Safe padding so fixed mobile bar doesn't overlap content */
    padding-bottom: 75px;
  }

  /* Anti-Overflow Constraints */
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
    max-width: 100%;
    overflow-x: hidden;
  }

  .btn {
    white-space: normal;
    text-align: center;
    word-break: normal;
    max-width: 100%;
  }

  .btn-lg {
    padding: 0.8rem 1.15rem;
    font-size: 0.95rem;
  }

  .hero-action-buttons {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .hero-action-buttons .btn {
    width: 100%;
    max-width: 100%;
  }

  .top-bar {
    display: none; /* Clean up top real estate on small devices */
  }

  .nav-menu {
    position: fixed;
    top: 65px;
    left: 0;
    right: 0;
    background-color: rgba(11, 23, 42, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 1.5rem 2rem;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    display: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-menu.open {
    display: block;
    animation: fadeInDown 0.25s ease;
  }

  @keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .nav-link {
    font-size: 1.1rem;
    display: block;
    width: 100%;
    padding: 0.5rem 0;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .header-call-card,
  .header-search-btn {
    display: none; /* Show bottom fixed CTA on mobile instead to reduce clutter */
  }

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

  .swap-stations-btn {
    margin: -6px auto;
    transform: rotate(90deg);
  }

  .swap-stations-btn:hover {
    transform: rotate(270deg);
  }

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

  .hotline-strip-inner {
    flex-direction: column;
    text-align: center;
  }

  .hotline-icon-badge {
    margin: 0 auto;
  }

  .sleeper-callout-banner {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem 1.15rem;
    max-width: 100%;
  }

  .sleeper-callout-banner .btn {
    white-space: normal;
    font-size: 0.95rem;
    padding: 0.8rem 1rem;
    max-width: 100%;
  }

  .cabin-grid-col {
    grid-template-columns: 1fr;
  }

  .contact-card-wrap {
    grid-template-columns: 1fr;
    max-width: 100%;
    margin: 0;
  }

  .contact-info-panel,
  .contact-form-panel {
    padding: 1.5rem 1.15rem;
    max-width: 100%;
    overflow-x: hidden;
  }

  .fast-call-box {
    padding: 1rem;
    max-width: 100%;
  }

  .fast-call-box .btn {
    white-space: normal;
    font-size: 0.9rem;
    padding: 0.75rem 0.85rem;
    max-width: 100%;
  }

  .form-grid-2 {
    grid-template-columns: 1fr;
  }

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

  .footer-copyright-row {
    flex-direction: column;
    text-align: center;
    gap: 0.8rem;
  }

  /* CRITICAL REQUIREMENT: Show fixed mobile call CTA button on mobile */
  .mobile-fixed-call-bar {
    display: block;
    max-width: 100vw;
    box-sizing: border-box;
  }

  .mobile-bar-inner {
    max-width: 100%;
    gap: 0.5rem;
  }

  .mobile-bar-title {
    font-size: 0.8rem;
  }

  .mobile-bar-sub {
    font-size: 0.68rem;
  }

  .btn-mobile-call {
    padding: 0.55rem 0.85rem;
    font-size: 0.82rem;
    white-space: nowrap;
    flex-shrink: 0;
  }
}

/* Small Mobile (max 480px) */
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.85rem;
    line-height: 1.2;
    word-break: break-word;
  }

  .section-title {
    font-size: 1.55rem;
    word-break: break-word;
  }

  .hero-action-buttons {
    flex-direction: column;
    width: 100%;
    gap: 0.65rem;
  }

  .hero-action-buttons .btn {
    width: 100%;
    font-size: 0.88rem;
    padding: 0.75rem 0.85rem;
  }

  .booking-card {
    padding: 1.2rem 1rem;
  }

  .trip-type-selector {
    flex-direction: column;
  }

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

  .about-stats-grid {
    grid-template-columns: 1fr;
  }

  .contact-info-panel,
  .contact-form-panel {
    padding: 1.25rem 0.9rem;
  }

  .mobile-bar-sub {
    display: none; /* Hide subtitle on tiny screens so call button fits comfortably */
  }

  .btn-mobile-call {
    padding: 0.5rem 0.75rem;
    font-size: 0.78rem;
  }
}

/* ==========================================================================
   Legal & Policy Pages (Privacy Policy / Terms of Service)
   ========================================================================== */

.legal-hero-section {
  background: var(--navy-950);
  background-image: radial-gradient(circle at 80% 20%, rgba(2, 132, 199, 0.18) 0%, transparent 50%),
                    radial-gradient(circle at 10% 80%, rgba(245, 158, 11, 0.1) 0%, transparent 40%);
  padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(2rem, 4vw, 3rem) 0;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--blue-100);
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.legal-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 0.6rem;
}

.legal-last-updated {
  font-size: 0.86rem;
  color: var(--slate-400);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.legal-main-section {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background-color: var(--slate-50);
}

.legal-content-card {
  max-width: 920px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 4vw, 3.5rem);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-md);
}

.legal-intro-box {
  background-color: #f0f9ff;
  border-left: 4px solid var(--blue-500);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: 2.5rem;
}

.legal-intro-box p {
  color: var(--navy-900);
  font-size: 0.98rem;
  line-height: 1.7;
}

.legal-section-block {
  margin-bottom: 2.2rem;
}

.legal-section-block:last-child {
  margin-bottom: 0;
}

.legal-section-title {
  font-family: var(--font-heading);
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--navy-950);
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.legal-section-title span.section-num {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: var(--white);
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 800;
  flex-shrink: 0;
}

.legal-section-block p {
  font-size: 0.94rem;
  color: var(--slate-600);
  line-height: 1.75;
  margin-bottom: 0.85rem;
}

.legal-list {
  list-style: none;
  margin: 0.85rem 0 1.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.legal-list li {
  font-size: 0.92rem;
  color: var(--slate-700);
  line-height: 1.6;
  position: relative;
  padding-left: 1.5rem;
}

.legal-list li::before {
  content: '•';
  position: absolute;
  left: 0.4rem;
  color: var(--blue-500);
  font-size: 1.2rem;
  line-height: 1;
}

.legal-contact-card {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-950) 100%);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  color: var(--white);
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-contact-card h4 {
  font-size: 1.15rem;
  color: var(--white);
  font-weight: 700;
}

.legal-contact-card p {
  color: var(--slate-300);
  font-size: 0.92rem;
  margin-bottom: 0;
}

.legal-contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
}

.legal-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.86rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all var(--transition-fast);
}

.legal-contact-btn:hover {
  background: var(--blue-500);
  border-color: var(--blue-400);
  color: var(--white);
}

.legal-back-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--slate-200);
}

@media (max-width: 768px) {
  .legal-content-card {
    padding: 1.5rem 1.15rem;
    border-radius: var(--radius-lg);
  }

  .legal-intro-box {
    padding: 1rem 1.15rem;
  }

  .legal-contact-card {
    padding: 1.25rem 1rem;
  }

  .legal-contact-links {
    flex-direction: column;
    width: 100%;
  }

  .legal-contact-btn {
    width: 100%;
    justify-content: center;
  }

  .legal-back-nav {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }
}

