/* ============================================================
   High Jet — Main Stylesheet
   Pure CSS, no framework dependencies.
   Target: < 25 KB, loads in ~1 paint
   ============================================================ */

/* ---------------------------------------------------------------------------
   0. Custom Fonts — Playpen Sans Arabic
   --------------------------------------------------------------------------- */
@font-face {
  font-family: 'Playpen Sans Arabic';
  src: url('/assets/fonts/PlaypenSansArabic-Thin.ttf') format('truetype');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Playpen Sans Arabic';
  src: url('/assets/fonts/PlaypenSansArabic-ExtraLight.ttf') format('truetype');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Playpen Sans Arabic';
  src: url('/assets/fonts/PlaypenSansArabic-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Playpen Sans Arabic';
  src: url('/assets/fonts/PlaypenSansArabic-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Playpen Sans Arabic';
  src: url('/assets/fonts/PlaypenSansArabic-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Playpen Sans Arabic';
  src: url('/assets/fonts/PlaypenSansArabic-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Playpen Sans Arabic';
  src: url('/assets/fonts/PlaypenSansArabic-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Playpen Sans Arabic';
  src: url('/assets/fonts/PlaypenSansArabic-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Playpen Sans Arabic';
  src: url('/assets/fonts/PlaypenSansArabic-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

/* ---------------------------------------------------------------------------
   1. Design tokens (CSS variables)
   High Jet brand: deep indigo navy + medium indigo + orange accent
   --------------------------------------------------------------------------- */
:root {
  /* Brand palette — High Jet (indigo/orange) */
  --brand-navy: #1A237E; /* deep indigo, replaces #0B2B5C */
  --brand-blue: #3949AB; /* medium indigo, replaces #1565C0 */
  --brand-teal: #F57C00; /* orange, replaces teal #00ACC1 */
  --brand-teal-l: #FFF3E0; /* orange-light, replaces #E0F7FA */
  --accent-gold: #FF6D00; /* strong orange, replaces #F9A825 */
  --white: #FFFFFF;
  --off-white: #FFF8F0; /* warm cream, replaces #F4F8FF cool blue-white */
  --gray-100: #F5F7FA;
  --gray-200: #E8EDF4;
  --gray-400: #9AABB8;
  --gray-600: #5F7080;
  --gray-800: #2C3E50;
  --text: #1A2940;
  --danger: #D32F2F;
  --danger-l: #FFEBEE;
  --success: #2E7D32;
  --success-l: #E8F5E9;
  --warning-l: #FFF8E1;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 6px rgba(26,35,126,.08);
  --shadow-md: 0 4px 18px rgba(26,35,126,.13);
  --shadow-lg: 0 8px 32px rgba(26,35,126,.18);

  --font: 'Playpen Sans Arabic', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  --font-mono: 'Courier New', monospace;

  --max-w: 1440px;
  --header-h: 64px;
  --transition: 0.2s ease;
}

/* ---------------------------------------------------------------------------
   2. Reset & base
   --------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--off-white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: var(--brand-blue); text-decoration: none; }
a:hover { text-decoration: underline; }

ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; font-size: 1rem; }

/* ---------------------------------------------------------------------------
   3. Layout helpers
   --------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 56px 0; }
.page-content { flex: 1; padding-top: calc(var(--header-h) + 16px); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }

/* ---------------------------------------------------------------------------
   4. Header / Navigation
   --------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  /*
    Peak brightness sits at ~20% from the left — directly behind the logo.
    It darkens toward the far left edge AND toward the far right,
    giving the bell-curve effect the user asked for.
  */
  background:
    radial-gradient(ellipse 38% 200% at 20% 50%,
      #0060b0 0%,
      #00357d 42%,
      #001f5e 100%
    );
  z-index: 1000;
  box-shadow: 0 2px 16px rgba(0,0,0,.32);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 16px;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  max-height: var(--header-h);
  overflow: hidden;
}
a.logo .logo-image {
  display: block !important;
  width: auto !important;
  height: 50px !important;
  max-height: 50px !important;
  max-width: min(200px, 42vw) !important;
  object-fit: contain !important;
}

/* Nav — compact dropdown anchored to the right, toggled by burger */
.main-nav {
  display: none;
  flex-direction: column;
  position: absolute;
  top: var(--header-h);
  right: 20px;
  width: 220px;
  background: var(--brand-navy);
  padding: 8px 0 12px;
  z-index: 999;
  box-shadow: 0 8px 28px rgba(0,0,0,.40);
  border-top: 2px solid var(--brand-teal);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}
.main-nav.open { display: flex; }
.main-nav a {
  color: rgba(255,255,255,.85);
  padding: 11px 20px;
  border-radius: 0;
  font-size: .92rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: background var(--transition), color var(--transition);
}
.main-nav a:last-child { border-bottom: none; }
.main-nav a:hover { background: rgba(255,255,255,.12); color: var(--white); text-decoration: none; }
.main-nav a.active { background: var(--brand-teal); color: var(--white); }

/* Sign Out button inside burger nav */
.main-nav .logout-btn {
  background: none;
  border: none;
  border-top: 1px solid rgba(255,255,255,.12);
  border-radius: 0;
  color: rgba(255,255,255,.85);
  padding: 11px 20px;
  font-size: .92rem;
  font-weight: 400;
  text-align: left;
  width: 100%;
  display: block;
  transition: background var(--transition), color var(--transition);
}
.main-nav .logout-btn:hover {
  background: rgba(255,255,255,.12);
  color: var(--white);
}

.header-auth { display: flex; gap: 8px; align-items: center; margin-left: auto; }
.user-greeting { color: rgba(255,255,255,.8); font-size: .875rem; }

/* Burger — always visible on all screen sizes */
.burger {
  display: flex;
  background: none;
  border: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  margin-left: 8px;
}
.burger span { display: block; width: 24px; height: 2px; background: white; border-radius: 2px; transition: .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Language switcher globe button */
.lang-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 7px;
  margin-left: 2px;
  cursor: pointer;
  color: white;
  font-size: 0;
  text-decoration: none;
  opacity: 0.82;
  transition: opacity var(--transition);
  line-height: 1;
  border-radius: var(--radius-sm);
}
.lang-btn::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='2' y1='12' x2='22' y2='12'/%3E%3Cpath d='M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.lang-btn:hover { opacity: 1; text-decoration: none; color: white; background: rgba(255,255,255,.1); }
.lang-btn[aria-expanded="true"] { opacity: 1; background: rgba(255,255,255,.15); }

/* Language dropdown */
.lang-switcher {
  position: relative;
  display: inline-flex;
}
.lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  left: auto;
  min-width: 130px;
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 18px rgba(0,0,0,.18);
  list-style: none;
  margin: 0;
  padding: 4px 0;
  z-index: 9999;
  border: 1px solid rgba(0,0,0,.08);
}
.lang-switcher.open .lang-dropdown { display: block; }
.lang-dropdown li a {
  display: block;
  padding: 9px 16px;
  color: #1a1a2e;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background var(--transition);
}
.lang-dropdown li a:hover { background: #fff3e0; color: var(--brand-teal); }
.lang-dropdown li.active a {
  color: var(--brand-teal);
  font-weight: 700;
  background: #fff8f0;
}
[dir="rtl"] .lang-dropdown { right: auto; left: 0; }

/* ---------------------------------------------------------------------------
   RTL overrides — applied when <html dir="rtl"> (Arabic pages)
   --------------------------------------------------------------------------- */
[dir="rtl"] .main-nav {
  right: auto;
  left: 20px;
}
[dir="rtl"] .main-nav a,
[dir="rtl"] .main-nav .logout-btn { text-align: right; }
[dir="rtl"] .hero h1 { text-align: right; }
[dir="rtl"] .page-title-band { text-align: right; }
[dir="rtl"] .how-step { direction: rtl; text-align: right; }
[dir="rtl"] .footer-grid { direction: rtl; }
[dir="rtl"] .auth-card { text-align: right; }
[dir="rtl"] .form-label { display: block; text-align: right; }
[dir="rtl"] .steps { direction: rtl; }
[dir="rtl"] .step { flex-direction: column; }
[dir="rtl"] .alert { direction: rtl; }
[dir="rtl"] .summary-card { direction: rtl; }
[dir="rtl"] .mmc-header,
[dir="rtl"] .mmc-footer { text-align: right; }
[dir="rtl"] .mmc-legend-row { flex-direction: row-reverse; }
[dir="rtl"] .seat-bottom-bar { direction: rtl; }
[dir="rtl"] .card-body { direction: rtl; }
[dir="rtl"] .phase-banner { text-align: right; }

/* Seat map must stay LTR — the grid positions are physical (left/right)
   and must not be mirrored for any locale. */
[dir="rtl"] .seat-map-col,
[dir="rtl"] .seat-map-wrapper,
[dir="rtl"] .seat-grid,
[dir="rtl"] #seat-grid { direction: ltr; }

@media (max-width: 767px) {
  .header-inner {
    gap: 6px;
  }
  a.logo .logo-image {
    height: 42px !important;
    max-height: 42px !important;
    max-width: min(150px, 42vw) !important;
  }
  .burger {
    margin-left: 4px;
  }
  .lang-btn {
    margin-left: 0;
  }

  [dir="rtl"] .header-inner {
    justify-content: flex-start;
  }
  [dir="rtl"] .logo {
    margin-left: auto;
  }
  [dir="rtl"] .header-auth {
    margin-left: 0;
  }
  [dir="rtl"] .burger {
    margin-left: 0;
  }
  [dir="rtl"] .lang-btn {
    margin-right: 0;
  }
}

/* ---------------------------------------------------------------------------
   5. Buttons
   --------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 600;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
}
.btn:hover { text-decoration: none; }

.btn-primary {
  background: var(--brand-blue);
  color: var(--white);
  border-color: var(--brand-blue);
}
.btn-primary:hover { background: var(--brand-navy); border-color: var(--brand-navy); }

.btn-teal {
  background: var(--brand-teal);
  color: var(--white);
  border-color: var(--brand-teal);
}
.btn-teal:hover { filter: brightness(1.1); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.6);
}
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: var(--white); }

.btn-outline-dark {
  background: transparent;
  color: var(--brand-navy);
  border-color: var(--brand-navy);
}
.btn-outline-dark:hover { background: var(--brand-navy); color: var(--white); }

.btn-danger { background: var(--danger); color: var(--white); border-color: var(--danger); }
.btn-danger:hover { filter: brightness(1.1); }

.btn-sm { padding: 7px 16px; font-size: .82rem; }
.btn-lg { padding: 10px 32px; font-size: 1rem; height: 44px; }
.btn-block { width: 100%; }

.btn:disabled { opacity: .55; cursor: not-allowed; }

/* ---------------------------------------------------------------------------
   6. Hero Section
   High Jet: deep indigo / medium indigo / orange colour wash
   --------------------------------------------------------------------------- */
.hero {
  background:
    linear-gradient(145deg,
      rgba(26,35,126,0.70)  0%,
      rgba(57,73,171,0.55)  55%,
      rgba(245,124,0,0.25)  100%
    ),
    url('/assets/images/header-bg.png.webp') bottom / cover no-repeat;
  padding: 100px 0 88px;
  min-height: 592px;
  display: flex;
  align-items: flex-end;
  position: relative;
  color: white;
}

.hero::before {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 80px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80'%3E%3Cpath fill='%23FFF8F0' d='M0,40L60,35C120,30,240,20,360,25C480,30,600,50,720,55C840,60,960,50,1080,40C1200,30,1320,20,1380,15L1440,10L1440,80L0,80Z'/%3E%3C/svg%3E") no-repeat bottom;
  background-size: cover;
}

.hero-content { max-width: 660px; }
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  color: rgba(255,255,255,.9);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: .8rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
}
.hero h1 em { color: var(--brand-teal); font-style: normal; }
.hero p { font-size: 1.1rem; color: rgba(255,255,255,.85); margin-bottom: 32px; }

/* ---------------------------------------------------------------------------
   7. Search Box (on hero)
   --------------------------------------------------------------------------- */
.search-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-lg);
  display: flex;
  gap: 12px;
  align-items: flex-end;
  flex-wrap: wrap;
}

.search-field {
  flex: 1;
  min-width: 160px;
}
.search-field label {
  display: block;
  font-size: .78rem;
  font-weight: 600;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 6px;
}
.search-field input,
.search-field select {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  color: var(--text);
  background: var(--gray-100);
  transition: border-color var(--transition);
}
.search-field input:focus,
.search-field select:focus {
  outline: none;
  border-color: var(--brand-blue);
  background: var(--white);
}

/* ---------------------------------------------------------------------------
   8. Cards
   --------------------------------------------------------------------------- */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card-body { padding: 20px 24px; }
.card-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.card-subtitle { font-size: .85rem; color: var(--gray-600); margin-bottom: 14px; }

/* Trip Card */
.trip-card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1.5px solid var(--gray-200);
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all var(--transition);
  cursor: pointer;
}
.trip-card:hover { border-color: var(--brand-blue); box-shadow: var(--shadow-md); }
.trip-card.selected { border-color: var(--brand-teal); background: var(--brand-teal-l); }

.trip-route {
  display: flex;
  align-items: center;
  gap: 12px;
}
.trip-route-city { font-size: 1.1rem; font-weight: 700; }
.trip-route-arrow {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--gray-400);
}
.trip-route-arrow::before,
.trip-route-arrow::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gray-200);
}
.trip-route-arrow .icon { font-size: 1.2rem; }

.trip-times { display: flex; gap: 20px; font-size: .9rem; color: var(--gray-600); }
.trip-times strong { color: var(--text); }

.trip-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--gray-200);
}
.trip-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--brand-navy);
}
.trip-price span { font-size: .8rem; font-weight: 400; color: var(--gray-600); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: .75rem;
  font-weight: 600;
}
.badge-green  { background: var(--success-l);  color: var(--success); }
.badge-red    { background: var(--danger-l);   color: var(--danger); }
.badge-gold   { background: var(--warning-l);  color: #8a5000; }
/* badge-teal renders as orange on High Jet; text uses dark brown for contrast */
.badge-teal   { background: var(--brand-teal-l); color: #7A3200; }
.badge-gray   { background: var(--gray-200);   color: var(--gray-600); }

/* ---------------------------------------------------------------------------
   9. Forms
   --------------------------------------------------------------------------- */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}
.form-label {
  font-size: .875rem;
  font-weight: 600;
  color: var(--gray-800);
}
.form-control {
  padding: 11px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: .95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}
.form-control:focus {
  outline: none;
  border-color: var(--brand-blue);
  /* indigo focus ring instead of blue */
  box-shadow: 0 0 0 3px rgba(57,73,171,.12);
}
.form-control.error { border-color: var(--danger); }
.form-hint { font-size: .8rem; color: var(--gray-400); }
.field-error { font-size: .8rem; color: var(--danger); margin-top: 2px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Auth forms */
.auth-page {
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  /* indigo gradient for High Jet */
  background: linear-gradient(135deg, var(--brand-navy) 0%, #3949AB 100%);
}
.auth-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-lg);
}
.auth-card h2 { font-size: 1.6rem; font-weight: 800; margin-bottom: 6px; }
.auth-card p  { color: var(--gray-600); margin-bottom: 28px; font-size: .9rem; }
.auth-footer  { text-align: center; margin-top: 20px; font-size: .875rem; color: var(--gray-600); }

/* ---------------------------------------------------------------------------
   10. Seat Map
   --------------------------------------------------------------------------- */
/* Grid cell that holds legend + vessel header + seat-map-wrapper.
   min-width:0 prevents the CSS Grid cell from expanding to fit content. */
.seat-map-col {
  min-width: 0;
  overflow-x: hidden;
  scrollbar-width: none;
  /* warm cream tint for High Jet instead of cool blue */
  background-color: #FFF4E8;
}
.seat-map-col::-webkit-scrollbar { display: none; }

.seat-map-wrapper {
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  overflow-x: auto;
  overflow-y: auto;
  min-width: 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  background:
    linear-gradient(to right, #fff 30%, rgba(255,255,255,0)),
    linear-gradient(to right, rgba(255,255,255,0), #fff 70%) 100% 0,
    radial-gradient(farthest-side at 0   50%, rgba(0,0,0,.10), transparent),
    radial-gradient(farthest-side at 100% 50%, rgba(0,0,0,.10), transparent) 100% 0;
  background-repeat: no-repeat;
  background-color: #fff;
  background-size: 48px 100%, 48px 100%, 18px 100%, 18px 100%;
  background-attachment: local, local, scroll, scroll;
}
.seat-map-wrapper::-webkit-scrollbar { display: none; }

.seat-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  color: var(--gray-600);
}
.legend-dot {
  width: 16px; height: 16px;
  border-radius: 3px;
  flex-shrink: 0;
}

.seat-grid {
  display: grid;
  gap: 6px;
  /* Columns set dynamically via JS */
}

/* ── Base seat cell ─────────────────────────────────────────────── */
.seat-cell {
  width: 44px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  background: transparent;
  padding: 0;
  transition: transform .15s ease;
  user-select: none;
  position: relative;
  border-radius: 0;
}

/* ── SVG seat shape ─────────────────────────────────────────────── */
.seat-cell .seat-shape {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}
/* colour token defaults */
.seat-cell[data-seat-type="seat"]                               { --sf: #BDBDBD; --st: #666; }
.seat-cell[data-seat-type="seat"][data-status="available"]      { --sf: #16A34A; --st: #fff; cursor: pointer; }
/* Selected seat uses High Jet orange instead of teal */
.seat-cell[data-seat-type="seat"][data-status="selected"]       { --sf: #F57C00; --st: #fff; }
.seat-cell[data-seat-type="seat"][data-status="booked"]         { --sf: #BDBDBD; --st: #888; cursor: not-allowed; }
.seat-cell[data-seat-type="seat"][data-status="locked_by_other"]{ --sf: #9E9E9E; --st: #666; cursor: not-allowed; }

.seat-cell .seat-body   { fill: var(--sf, #ccc); transition: fill .15s ease; }
.seat-cell .seat-stroke {
  fill: none;
  stroke: rgba(255,255,255,0.35);
  stroke-width: 1.6;
  stroke-linejoin: round;
  pointer-events: none;
}
.seat-cell .seat-label-text {
  fill: var(--st, #fff);
  font-size: 9.5px;
  font-weight: 700;
  font-family: var(--font);
  text-anchor: middle;
  dominant-baseline: central;
  pointer-events: none;
  user-select: none;
}

.seat-cell[data-seat-type="seat"][data-status="available"]:hover {
  transform: scale(1.1);
}
.seat-cell[data-seat-type="seat"][data-status="available"]:hover .seat-body {
  fill: #15803D;
}
.seat-cell[data-seat-type="seat"][data-status="selected"] {
  transform: scale(1.06);
}
.seat-cell[data-seat-type="seat"][data-status="selected"] .seat-stroke {
  stroke: rgba(255,255,255,0.7);
}

/* ── Non-seat cell types ─────────────────────────────────────────── */
.seat-cell[data-seat-type="passageway"],
.seat-cell[data-seat-type="unavailable"] {
  background: transparent;
  cursor: default;
}
.seat-cell[data-seat-type="toilet"] {
  background: #E3F2FD;
  border: 2px solid #90CAF9;
  border-radius: var(--radius-sm);
  color: #1565C0;
  cursor: default;
  width: 100%;
  height: 100%;
  container-type: size;
}
.seat-cell[data-seat-type="cafeteria"] {
  background: #FFF8E1;
  border: 2px solid #FFE082;
  border-radius: var(--radius-sm);
  color: #F57F17;
  cursor: default;
  width: 100%;
  height: 100%;
  container-type: size;
}

.facility-icon {
  font-size: 45cqmin;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

/* ── Legend dots — selected dot uses orange for High Jet ─────────── */
.legend-dot[data-type="seat-available"]  { background: #16A34A; }
.legend-dot[data-type="seat-selected"]   { background: #F57C00; }
.legend-dot[data-type="seat-taken"]      { background: #BDBDBD; }

/* ── Minimap selection card ───────────────────────────────────────── */
.minimap-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  background: var(--white);
}
.mmc-header {
  padding: 18px 20px 12px;
  border-bottom: 1px solid var(--gray-100);
}
.mmc-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--brand-navy);
  margin: 0 0 2px;
}
.mmc-route {
  font-size: .82rem;
  font-weight: 600;
  color: var(--brand-blue);
  margin: 0 0 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mmc-counter-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 14px 20px;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-100);
}
.mmc-counter-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--brand-navy);
  line-height: 1;
}
.mmc-counter-label {
  font-size: .82rem;
  color: var(--gray-500);
}
/* Dark vehicle overview zone — deep indigo for High Jet */
.mmc-dark-section {
  background: #0D0B3D;
  padding: 14px 16px;
}
.mmc-section-label {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #60A5FA;
  margin-bottom: 10px;
}
.mmc-overview-layout {
  display: flex;
  gap: 12px;
  align-items: stretch;
}
.mmc-overview-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  min-width: 0;
}
.mmc-left-bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.mmc-scroll-hint {
  font-size: .62rem;
  color: #60A5FA;
  opacity: .7;
  line-height: 1.3;
  margin: 0;
  white-space: nowrap;
}
.mmc-scroll-arrow {
  font-size: 1rem;
  opacity: 1;
  vertical-align: middle;
}
.mmc-overview-right {
  flex-shrink: 0;
}
.mmc-ship-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 14px;
}
.mmc-ship-svg {
  width: 88px;
  height: 168px;
  filter: drop-shadow(0 0 8px rgba(59,130,246,.3));
}
.mmc-stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.mmc-stat {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  padding: 7px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.mmc-stat--available { border-color: rgba(22,163,74,.4); }
.mmc-stat--taken     { border-color: rgba(156,163,175,.4); }
.mmc-stat-num {
  font-size: 1.15rem;
  font-weight: 700;
  color: #E2E8F0;
  line-height: 1;
  flex-shrink: 0;
}
.mmc-stat--available .mmc-stat-num { color: #4ADE80; }
.mmc-stat--taken     .mmc-stat-num { color: #9CA3AF; }
.mmc-stat-lbl {
  font-size: .68rem;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.mmc-legend-section {
  padding: 14px 20px;
  background: #F8FAFC;
  border-top: 1px solid var(--gray-100);
}
.mmc-section-label-light {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gray-500);
  margin-bottom: 10px;
}
.mmc-legends {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}
.mmc-legend-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  color: var(--gray-700);
}
.mmc-legend-dot {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  flex-shrink: 0;
  box-sizing: border-box;
}
.mmc-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--gray-100);
  background: var(--white);
}

/* ── Sticky mobile bottom bar ────────────────────────────────────── */
.seat-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--brand-navy);
  color: var(--white);
  padding: 10px 16px;
  z-index: 900;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 -3px 16px rgba(0,0,0,.28);
  border-top: 2px solid var(--brand-teal);
}
.seat-bottom-summary {
  font-size: .9rem;
  font-weight: 600;
  opacity: .92;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------------------------------------------------------------------------
   11. Custom Date Picker (TinyCalendar)
   --------------------------------------------------------------------------- */
.ht-cal-wrapper { position: relative; }

.ht-cal-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--gray-100);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  color: var(--text);
  cursor: pointer;
  font-size: .95rem;
  font-family: var(--font);
  text-align: left;
  transition: border-color var(--transition), box-shadow var(--transition);
}
/* Orange focus ring for High Jet */
.ht-cal-trigger:hover,
.ht-cal-trigger:focus { border-color: var(--brand-teal); outline: none; box-shadow: 0 0 0 3px rgba(245,124,0,.15); }

.ht-cal-popup {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 308px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  z-index: 2000;
  padding: 16px;
}
.ht-cal-popup.open { display: block; }

.ht-cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.ht-cal-month-label {
  font-weight: 700;
  font-size: .95rem;
  color: var(--brand-navy);
}
.ht-cal-nav {
  background: none;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 1.15rem;
  color: var(--brand-navy);
  transition: background var(--transition), border-color var(--transition);
}
.ht-cal-nav:hover { background: var(--gray-100); border-color: var(--brand-teal); }
.ht-cal-nav:disabled { opacity: .35; cursor: not-allowed; }

.ht-cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  margin-bottom: 6px;
}
.ht-cal-weekdays span {
  text-align: center;
  font-size: .7rem;
  font-weight: 700;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: .03em;
}
.ht-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

.ht-cal-day {
  background: none;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4px 2px;
  gap: 1px;
  min-height: 34px;
  transition: background var(--transition);
  font-family: var(--font);
}
.ht-cal-day:hover:not(.disabled):not(.blank) { background: var(--gray-100); }
.ht-cal-day.blank { pointer-events: none; }
.ht-cal-day.disabled { opacity: .28; cursor: not-allowed; pointer-events: none; }

.ht-cal-day.today .ht-cal-day-num {
  color: var(--brand-teal);
  font-weight: 800;
}
/* Selected day uses orange + orange glow */
.ht-cal-day.selected {
  background: var(--brand-teal) !important;
  box-shadow: 0 2px 8px rgba(245,124,0,.35);
}
.ht-cal-day.selected .ht-cal-day-num { color: var(--white); font-weight: 700; }
.ht-cal-day.selected .ht-cal-trip-badge { filter: brightness(20); }

.ht-cal-day.has-trips:not(.selected) { background: rgba(22,163,74,.1); }
.ht-cal-day.has-trips:not(.selected):hover { background: rgba(22,163,74,.2); }

.ht-cal-day-num {
  font-size: .82rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1;
}
.ht-cal-badges {
  display: flex;
  gap: 2px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
/* Bus badge icon uses orange for High Jet */
.ht-cal-trip-badge {
  font-size: .6rem;
  line-height: 1;
  opacity: .85;
  color: #F57C00;
}

.ht-cal-loading {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 24px 0 20px;
  color: var(--gray-400);
  font-size: .78rem;
}
.ht-cal-spinner {
  width: 24px; height: 24px;
  border: 2.5px solid var(--gray-200);
  border-top-color: var(--brand-teal);
  border-radius: 50%;
  animation: spin .7s linear infinite;
  display: block;
}

/* ---------------------------------------------------------------------------
   11b. Terms & Conditions Panel (checkout)
   --------------------------------------------------------------------------- */
.passenger-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: stretch;
}

.terms-panel {
  border-left: 1px solid var(--gray-200);
  padding-left: 28px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.terms-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding-right: 8px;
}

.terms-agree {
  flex-shrink: 0;
  margin-top: 16px;
  padding: 12px 14px;
  background: var(--gray-100);
  border-radius: var(--radius-md);
  border: 1.5px solid var(--gray-200);
}
.terms-agree label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: .875rem;
}
.terms-agree input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: #0d9488;
}

@media (max-width: 768px) {
  .passenger-details-grid {
    grid-template-columns: 1fr;
  }
  .terms-panel {
    border-left: none;
    border-top: 1px solid var(--gray-200);
    padding-left: 0;
    padding-top: 24px;
    overflow: visible;
  }
  .terms-scroll {
    overflow-y: visible;
    max-height: none;
  }
}

/* ---------------------------------------------------------------------------
   12. Passenger Form (checkout)
   --------------------------------------------------------------------------- */
.passenger-card {
  background: var(--gray-100);
  border-radius: var(--radius-md);
  border: 1.5px solid var(--gray-200);
  padding: 20px;
  margin-bottom: 16px;
}
.passenger-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gray-200);
}
.passenger-num {
  width: 32px; height: 32px;
  background: var(--brand-navy);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* ---------------------------------------------------------------------------
   12b. Ticket
   --------------------------------------------------------------------------- */
.ticket-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  max-width: 960px;
  margin: 0 auto;
  border: 1px solid var(--gray-200);
}
.ticket-header {
  background: linear-gradient(135deg, var(--brand-navy), var(--brand-blue));
  color: var(--white);
  padding: 28px 32px;
}
.ticket-header h2 { font-size: 1.4rem; margin-bottom: 4px; }
.ticket-header p  { opacity: .8; font-size: .9rem; }

.ticket-body { padding: 28px 32px; }
.ticket-section { margin-bottom: 20px; }
.ticket-section-title {
  font-size: .72rem;
  font-weight: 700;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 8px;
}
.ticket-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: .9rem;
}
.ticket-row:last-child { border-bottom: none; }
.ticket-row strong { color: var(--text); }

.ticket-ref {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--brand-navy);
  letter-spacing: .08em;
  margin-bottom: 4px;
}

.ticket-divider {
  border: none;
  border-top: 2px dashed var(--gray-200);
  margin: 20px 0;
}

.ticket-legs {
  display: flex;
  align-items: stretch;
  gap: 0;
}
.ticket-leg {
  flex: 1;
  min-width: 0;
}
.ticket-leg-divider {
  flex-shrink: 0;
  width: 0;
  border-left: 2px dashed var(--gray-200);
  margin: 0 28px;
}
.ticket-leg-label {
  font-size: .72rem;
  font-weight: 700;
  color: var(--brand-teal);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--gray-100);
}
.ticket-leg-pax-label {
  font-size: .72rem;
  font-weight: 700;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin: 16px 0 8px;
}

.print-only { display: none; }

/* ---------------------------------------------------------------------------
   13. Summary panel (checkout sidebar)
   --------------------------------------------------------------------------- */
.summary-card {
  background: var(--brand-navy);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 24px;
}
.summary-card h3  { font-size: 1rem; opacity: .7; margin-bottom: 16px; text-transform: uppercase; letter-spacing: .05em; }
.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: .9rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.summary-row:last-child { border-bottom: none; }
.summary-total {
  display: flex;
  justify-content: space-between;
  padding-top: 16px;
  font-size: 1.2rem;
  font-weight: 800;
}

/* ---------------------------------------------------------------------------
   14. Steps / Breadcrumb
   --------------------------------------------------------------------------- */
.steps {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 32px;
}
.step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  color: var(--gray-400);
  flex-shrink: 0;
}
.step-num {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: .78rem;
  background: var(--gray-200);
  color: var(--gray-400);
  transition: all var(--transition);
}
.step.active .step-num  { background: var(--brand-blue); color: white; }
.step.done  .step-num   { background: var(--success); color: white; }
.step.active            { color: var(--brand-blue); font-weight: 600; }
.step.done              { color: var(--success); }
.step-line {
  flex: 1;
  height: 2px;
  background: var(--gray-200);
  min-width: 24px;
}
.step-line.done { background: var(--success); }

/* ---------------------------------------------------------------------------
   15. Alert / notifications
   --------------------------------------------------------------------------- */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border-left: 4px solid;
}
.alert-danger  { background: var(--danger-l);  border-color: var(--danger);  color: #b71c1c; }
.alert-success { background: var(--success-l); border-color: var(--success); color: #1b5e20; }
/* alert-info uses orange in High Jet */
.alert-info    { background: var(--brand-teal-l); border-color: var(--brand-teal); color: #7A3200; }
.alert-warning { background: var(--warning-l); border-color: var(--accent-gold); color: #5d3f00; }

/* ---------------------------------------------------------------------------
   16. Startup loader
   --------------------------------------------------------------------------- */
.startup-loader {
  position: fixed;
  inset: 0;
  z-index: 12000;
  overflow: hidden;
  pointer-events: none;
}
.startup-loader__graphic {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(280px, 52vw);
  height: min(280px, 52vw);
  transform: translate(-50%, -50%);
  background: url('/assets/images/loader.gif') center / contain no-repeat;
  z-index: 2;
  transition: opacity .3s ease-out;
}
.startup-loader__section {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  background: rgba(243,243,243,.95);
  z-index: 1;
}
.startup-loader__section--left {
  left: 0;
}
.startup-loader__section--right {
  right: 0;
}
.startup-loader--done .startup-loader__section--left {
  transform: translateX(-100%);
  transition: transform .7s .3s cubic-bezier(0.645,0.045,0.355,1);
}
.startup-loader--done .startup-loader__section--right {
  transform: translateX(100%);
  transition: transform .7s .3s cubic-bezier(0.645,0.045,0.355,1);
}
.startup-loader--done .startup-loader__graphic {
  opacity: 0;
}
.startup-loader--done {
  visibility: hidden;
  transform: translateY(-100%);
  transition: visibility 0s 1s, transform .3s 1s ease-out;
}

/* ---------------------------------------------------------------------------
   17. Loading spinner
   --------------------------------------------------------------------------- */
.spinner {
  width: 36px; height: 36px;
  border: 3px solid var(--gray-200);
  border-top-color: var(--brand-blue);
  border-radius: 50%;
  animation: spin .7s linear infinite;
  margin: 0 auto;
}
@keyframes spin { to { transform: rotate(360deg); } }

.loading-overlay {
  position: fixed;
  inset: 0;
  /* deep indigo overlay instead of navy */
  background: rgba(26,35,126,.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  backdrop-filter: blur(2px);
}
.loading-overlay .box {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px 48px;
  text-align: center;
  gap: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ---------------------------------------------------------------------------
  18. Toast notifications
   --------------------------------------------------------------------------- */
.toast-container {
  position: fixed;
  top: calc(var(--header-h) + 12px);
  right: 16px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.toast {
  background: var(--gray-800);
  color: var(--white);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-size: .875rem;
  box-shadow: var(--shadow-md);
  animation: slideIn .25s ease;
  max-width: 320px;
}
.toast.error   { background: var(--danger); }
.toast.success { background: var(--success); }
@keyframes slideIn { from { transform: translateX(120%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* ---------------------------------------------------------------------------
   18. My trips page
   --------------------------------------------------------------------------- */
.booking-item {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all var(--transition);
}
.booking-item:hover { box-shadow: var(--shadow-sm); border-color: var(--brand-blue); }
.booking-item-icon {
  width: 48px; height: 48px;
  background: var(--brand-teal-l);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.booking-item-info { flex: 1; min-width: 0; }
.booking-item-ref { font-family: var(--font-mono); font-size: .8rem; color: var(--gray-600); }
.booking-item-route { font-weight: 700; font-size: 1rem; }
.booking-item-date { font-size: .85rem; color: var(--gray-600); }

/* ---------------------------------------------------------------------------
   19. Footer
   --------------------------------------------------------------------------- */
.site-footer {
  /* Exact same gradient as.journey-banner — they are one visual family */
  background: linear-gradient(140deg, #00357d 0%, #005598 40%, #001f5e 100%);
  color: rgba(255,255,255,.7);
  padding: 40px 0 24px;
  margin-top: auto;
  box-shadow: 0 -2px 24px rgba(0,0,0,.28);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}
.footer-brand { max-width: 280px; }
.footer-brand a.logo .logo-image,
.footer-brand .logo-image {
  height: 52px !important;
  max-height: 52px !important;
  max-width: 210px !important;
  object-fit: contain !important;
}
.footer-brand p { margin-top: 12px; font-size: .875rem; line-height: 1.7; }
.footer-col h4 { color: var(--white); font-size: .9rem; margin-bottom: 14px; }
.footer-col a {
  display: block;
  color: rgba(255,255,255,.6);
  font-size: .85rem;
  margin-bottom: 8px;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--brand-teal); text-decoration: none; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 20px;
  font-size: .8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

/* ---------------------------------------------------------------------------
   20. Payment card
   --------------------------------------------------------------------------- */
.payment-card-visual {
  background: linear-gradient(135deg, var(--brand-navy), var(--brand-blue));
  border-radius: var(--radius-md);
  padding: 24px;
  color: white;
  font-family: var(--font-mono);
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}
.payment-card-visual::after {
  content: '';
  position: absolute;
  top: -30%; right: -10%;
  width: 200px; height: 200px;
  background: rgba(255,255,255,.05);
  border-radius: 50%;
}
.card-number-display {
  font-size: 1.1rem;
  letter-spacing: .12em;
  margin: 16px 0 8px;
}
.card-meta { display: flex; gap: 24px; font-size: .8rem; opacity: .8; }

/* ---------------------------------------------------------------------------
   21. Features / How it works (homepage)
   --------------------------------------------------------------------------- */
.feature-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 14px;
}
.features-section { background: var(--white); }
.feature-card { padding: 24px; text-align: center; }
.feature-card h3 { font-size: 1rem; margin-bottom: 8px; }
.feature-card p { font-size: .875rem; color: var(--gray-600); line-height: 1.7; }

.how-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--gray-100);
}
.how-step:last-child { border-bottom: none; }
.how-num {
  width: 40px; height: 40px;
  background: var(--brand-teal);
  color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

/* ---------------------------------------------------------------------------
   22. Empty state
   --------------------------------------------------------------------------- */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--gray-400);
}
.empty-state .icon { font-size: 3rem; margin-bottom: 16px; }
.empty-state h3 { color: var(--gray-600); margin-bottom: 8px; }

/* ---------------------------------------------------------------------------
   23. Page title band
   --------------------------------------------------------------------------- */
.page-title-band {
  background: linear-gradient(90deg, var(--brand-navy) 0%, var(--brand-blue) 100%);
  color: white;
  padding: 32px 0;
  margin-bottom: 32px;
}
.page-title-band h1 { font-size: 1.8rem; font-weight: 800; }
.page-title-band p { opacity: .8; margin-top: 4px; }

.page-title-band--compact {
  padding: 14px 0;
  margin-bottom: 24px;
}
.page-title-band__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.page-title-band__title {
  font-size: 1.15rem !important;
  font-weight: 800;
  white-space: nowrap;
  margin: 0;
}
.page-title-band__sub {
  opacity: .82;
  margin: 0 !important;
  font-size: .88rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------------------------------------------------------------------------
   24. Utilities
   --------------------------------------------------------------------------- */
.text-center { text-align: center; }
.text-muted  { color: var(--gray-600); }
.text-small  { font-size: .85rem; }
.mt-0  { margin-top: 0; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.gap-8 { gap: 8px; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.w-full { width: 100%; }
.hidden { display: none !important; }

/* ---------------------------------------------------------------------------
   25. Responsive
   --------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .search-box { flex-direction: column; gap: 16px; }
  .search-field { min-width: 100%; }

  .booking-item { flex-wrap: wrap; }
  .steps { gap: 0; }
  .step > span { display: none; }

  .auth-card { padding: 28px 20px; }
  .ticket-header, .ticket-body { padding: 20px; }
  .ticket-legs { flex-direction: column; }
  .ticket-leg-divider {
    width: auto;
    height: 0;
    border-left: none;
    border-top: 2px dashed var(--gray-200);
    margin: 20px 0;
  }

  .summary-card { position: static; }

  /* ── Seat page mobile overrides ─────────────────────────────────── */
  .seats-layout {
    grid-template-columns: 1fr !important;
    display: flex !important;
    flex-direction: column !important;
    width: 100%;
    min-width: 0;
  }
  .seat-selection-panel {
    display: block !important;
    order: -1;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
  .seat-selection-panel .minimap-card {
    position: static !important;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
  }
  .minimap-card .mmc-header         { order: 1; }
  .minimap-card .mmc-counter-row    { order: 2; }
  .minimap-card .mmc-legend-section { order: 3; }
  .minimap-card .mmc-footer         { order: 4; }
  .minimap-card .mmc-dark-section   { order: 5; }
  .mmc-route { white-space: normal; }
  .mmc-dark-section { display: block !important; }
  .mmc-overview-layout { gap: 8px; }
  .mmc-ship-svg { width: 64px; height: 124px; }
  .mmc-stats-row { grid-template-columns: 1fr; }
  .mmc-header        { padding: 12px 16px 8px; }
  .mmc-counter-row   { padding: 10px 16px; }
  .mmc-legend-section{ padding: 10px 16px; }
  .mmc-footer        { padding: 12px 16px; }
  .mmc-footer .alert { display: none; }
  .seat-map-col {
    order: 0;
    width: 100%;
    min-width: 0;
  }
  .seat-map-wrapper {
    width: 100%;
    max-width: 100%;
    max-height: 42vh;
    overflow-x: auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding: 12px;
    background: #fff;
  }
  .seat-bottom-bar   { display: none !important; }
  .page-content      { padding-bottom: 24px; }
  .seats-page .site-footer { display: none !important; }
  .seats-page .page-content { padding-bottom: 0 !important; flex: none; }
  .seats-page .page-content > .container { padding-bottom: 0 !important; }
}

/* ---------------------------------------------------------------------------
   26. Print styles (for ticket)
   --------------------------------------------------------------------------- */
@media print {
  @page { margin: 12mm; }
  .site-header, .site-footer, .btn, .steps, .no-print { display: none !important; }
  .print-only { display: block !important; }
  body { background: white; }
  .ticket-wrapper { box-shadow: none; border: 1px solid #ccc; max-width: 100%; }
  .page-content { padding-top: 0; }
  .ticket-legs { display: flex !important; flex-direction: row !important; }
  .ticket-leg-divider { border-left: 2px dashed #ccc !important; margin: 0 20px !important; width: 0 !important; height: auto !important; border-top: none !important; }
}

/* ---------------------------------------------------------------------------
   27. Two-Way Booking additions
   --------------------------------------------------------------------------- */

.ht-cal-trip-badge--outbound { color: #F57C00; }   /* orange — outbound (High Jet brand) */
.ht-cal-trip-badge--return   { color: #E53935; }   /* red  — return leg */

.trip-type-toggle {
  display: flex;
  gap: 16px;
  align-items: center;
  margin: 8px 0;
  flex-wrap: wrap;
}
.trip-type-toggle label {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.route-select-wrapper {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.route-select-wrapper label {
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--gray-600);
}
.route-select-wrapper select {
  height: 44px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 0 12px;
  font-size: .95rem;
  font-family: var(--font);
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: var(--gray-100);
  box-shadow: inset 0 2px 4px rgba(0,0,0,.10), inset 0 1px 2px rgba(0,0,0,.06);
  color: var(--text);
  min-width: 220px;
  text-align: center;
  text-align-last: center;
  cursor: pointer;
}
.route-select-wrapper select option {
  text-align: left;
}
.route-select-wrapper select:focus {
  outline: none;
  border-color: var(--brand-teal);
  /* orange focus ring */
  box-shadow: inset 0 2px 4px rgba(0,0,0,.10), 0 0 0 3px rgba(245,124,0,.15);
}

.return-phase [data-status="selected"] .seat-body { fill: #FFCDD2; }
.return-phase [data-status="selected"] .seat-stroke { stroke: #E53935; }
.return-phase .seat-legend .legend-item:nth-child(2) .legend-dot { background: #E53935; }

.phase-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .9rem;
  margin-bottom: 16px;
}
.phase-banner--outbound {
  background: #FFF3E0;
  color: #7A3200;
  border-left: 4px solid #F57C00;
}
.phase-banner--return {
  background: #FFEBEE;
  color: #B71C1C;
  border-left: 4px solid #E53935;
}

.summary-section-label {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  opacity: .75;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,.2);
}
.summary-discount span:last-child {
  color: #86efac;
  font-weight: 700;
}

.alert-no-return {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: #FFF8E1;
  color: #7C5200;
  border-left: 4px solid #FFB300;
  font-size: .88rem;
  margin-top: 12px;
}

/* ---------------------------------------------------------------------------
   28. Trip Agenda (index-page browse panel)
   --------------------------------------------------------------------------- */
.ta-strip {
  background: transparent;
  padding: 0 0 48px;
  position: relative;
  z-index: 10;
  margin-top: -54px;
}

.ta-trigger-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  max-width: 480px;
  padding: 16px 22px;
  background: var(--white);
  border: 2px solid var(--brand-teal);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--brand-navy);
  cursor: pointer;
  font-family: var(--font);
  transition: background var(--transition), box-shadow var(--transition);
}
.ta-trigger-btn:hover {
  background: var(--brand-teal-l);
  box-shadow: var(--shadow-lg);
}
.ta-trigger-arrow {
  font-size: 1.5rem;
  color: var(--brand-teal);
  line-height: 1;
}

.ta-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .48);
  z-index: 3000;
  align-items: flex-start;
  justify-content: center;
  padding: 32px 16px;
  overflow-y: auto;
}
.ta-overlay.open { display: flex; }

.ta-panel {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 64px rgba(0, 0, 0, .22);
  width: 100%;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 64px);
  overflow: hidden;
  margin: auto 0;
}

.ta-panel-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--gray-200);
  flex-shrink: 0;
}
.ta-month-label {
  flex: 1;
  text-align: center;
  font-weight: 700;
  font-size: .97rem;
  color: var(--brand-navy);
}
.ta-nav {
  background: none;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 1.25rem;
  color: var(--brand-navy);
  transition: background var(--transition), border-color var(--transition);
}
.ta-nav:hover { background: var(--gray-100); border-color: var(--brand-teal); }
.ta-close {
  background: none;
  border: none;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: .9rem;
  color: var(--gray-400);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.ta-close:hover { color: var(--danger); background: var(--gray-100); }

.ta-panel-body {
  overflow-y: auto;
  flex: 1;
  padding: 8px 0;
}

.ta-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 40px 20px;
  color: var(--gray-400);
  font-size: .85rem;
}
.ta-empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--gray-400);
}
.ta-empty-icon { font-size: 2.5rem; margin-bottom: 10px; }

.ta-date-heading {
  padding: 9px 16px 4px;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--gray-400);
  background: var(--off-white);
  border-top: 1px solid var(--gray-100);
}

.ta-trip-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 12px 16px;
  background: none;
  border: none;
  border-bottom: 1px solid var(--gray-100);
  cursor: pointer;
  text-align: left;
  font-family: var(--font);
  transition: background var(--transition);
}
.ta-trip-row:hover:not(.ta-trip-row--unavailable) { background: var(--gray-100); }
.ta-trip-row--active {
  background: var(--brand-teal-l);
  border-left: 3px solid var(--brand-teal);
}
.ta-trip-row--unavailable { opacity: .38; cursor: not-allowed; }

.ta-trip-icon { font-size: 1.25rem; flex-shrink: 0; }

.ta-trip-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.ta-trip-route {
  font-size: .9rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ta-trip-times { font-size: .8rem; color: var(--gray-600); }

.ta-trip-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
  flex-shrink: 0;
}
.ta-trip-price { font-size: .8rem; color: var(--gray-600); }

.ta-trip-chevron {
  font-size: 1.25rem;
  color: var(--gray-300);
  flex-shrink: 0;
  transition: transform var(--transition), color var(--transition);
}
.ta-trip-row--active .ta-trip-chevron {
  transform: rotate(90deg);
  color: var(--brand-teal);
}

.ta-sheet-slot           { display: none; background: var(--brand-teal-l); border-bottom: 2px solid var(--brand-teal); }
.ta-sheet-slot.open      { display: block; }

.ta-sheet {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ta-sheet-summary { display: flex; flex-direction: column; gap: 4px; }
.ta-sheet-route   { font-weight: 700; font-size: 1rem; color: var(--brand-navy); }
.ta-sheet-detail  { font-size: .85rem; color: var(--gray-600); }
.ta-sheet-price-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}
.ta-sheet-price {
  font-size: .95rem;
  font-weight: 600;
  color: var(--brand-teal);
}

.ta-type-toggle { display: flex; gap: 8px; }
.ta-type-btn {
  flex: 1;
  padding: 9px 12px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-family: var(--font);
  font-size: .88rem;
  font-weight: 600;
  color: var(--gray-600);
  cursor: pointer;
  transition: all var(--transition);
}
.ta-type-btn--active              { background: var(--brand-teal); border-color: var(--brand-teal); color: var(--white); }
.ta-type-btn:hover:not(.ta-type-btn--active) { border-color: var(--brand-teal); color: var(--brand-teal); }

.ta-no-return { font-size: .82rem; color: var(--gray-500); font-style: italic; }

.ta-return-section {
  border-top: 1px dashed var(--gray-300);
  padding-top: 10px;
}
.ta-return-label {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--danger);
  margin-bottom: 6px;
}
.ta-return-month-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 4px 6px;
  margin-bottom: 8px;
}
.ta-ret-month-label {
  flex: 1;
  text-align: center;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text);
}
.ta-ret-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--brand-blue);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  line-height: 1;
}
.ta-ret-nav-btn:hover:not(:disabled) { background: var(--brand-blue); color: var(--white); }
.ta-ret-nav-btn:disabled             { color: var(--gray-400); cursor: not-allowed; }
.ta-return-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 200px;
  overflow-y: auto;
}

.ta-return-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  background: var(--white);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
}
.ta-return-row:hover                   { border-color: var(--danger); background: #FFF5F5; }
.ta-return-row--selected               { border-color: var(--danger); background: #FFF5F5; }
.ta-return-row input[type="radio"]     { accent-color: var(--danger); flex-shrink: 0; }
.ta-ret-info  { display: flex; align-items: center; gap: 8px; flex: 1; flex-wrap: wrap; }
.ta-ret-date  { font-size: .82rem; font-weight: 600; color: var(--text); }
.ta-ret-times { font-size: .82rem; color: var(--gray-600); }

@media (max-width: 600px) {
  .ta-overlay { padding: 0; align-items: flex-end; }
  .ta-panel   { max-width: 100%; border-radius: var(--radius-lg) var(--radius-lg) 0 0; max-height: 90vh; }
  .ta-trip-meta { display: none; }
}

/* ---------------------------------------------------------------------------
   Journey Banner — replaces Why High Jet section
   Deep navy gradient + floating brand logo visual + glassmorphism stat cards
   --------------------------------------------------------------------------- */
.journey-banner {
  background: linear-gradient(140deg, #00357d 0%, #005598 40%, #001f5e 100%);
  position: relative;
  overflow: hidden;
  /* 80px top padding clears the off-white wave::after that sits at y=0 */
  padding: 96px 0 80px;
}

/* Subtle radial glow overlays for depth */
.journey-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 60% 70% at 75% 55%, rgba(255,255,255,.05) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 20% 80%, rgba(0,85,152,.35) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/*
  Off-white wave biting DOWN from the top of the navy banner —
  exact vertical mirror of the hero::before wave.
  Both waves share the same silhouette; the banner's is filled with off-white,
  so it reads like one slab of off-white that was wedged between two navy panels.
  Because this is painted INSIDE the banner element there is zero seam.
*/
.journey-banner::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 80px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80'%3E%3Cpath fill='%23FFF8F0' d='M0,40L60,45C120,50,240,60,360,55C480,50,600,30,720,25C840,20,960,30,1080,40C1200,50,1320,60,1380,65L1440,70L1440,0L0,0Z'/%3E%3C/svg%3E") no-repeat top;
  background-size: cover;
  pointer-events: none;
  z-index: 1;
}

.journey-banner-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 2; /* sit above both ::before glow and ::after wave */
}

/* ---- Left: badge, headline, stats, features ---- */
.journey-stats-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 100px;
  padding: 5px 18px;
  font-size: .8rem;
  color: rgba(255,255,255,.75);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.journey-stats-badge strong {
  color: #fff;
  font-weight: 800;
  letter-spacing: .01em;
}

.journey-stats-headline {
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 16px;
}

.journey-stats-sub {
  color: rgba(255,255,255,.68);
  font-size: .95rem;
  line-height: 1.8;
  margin-bottom: 32px;
  max-width: 420px;
}

.journey-stat-cards {
  display: flex;
  gap: 14px;
  margin-bottom: 36px;
}

.journey-stat-card {
  flex: 1;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius-md);
  padding: 22px 14px 18px;
  text-align: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background var(--transition), transform var(--transition);
}
.journey-stat-card:hover {
  background: rgba(255,255,255,.14);
  transform: translateY(-3px);
}

.journey-stat-icon { font-size: 1.7rem; margin-bottom: 10px; }

.journey-stat-number {
  font-size: 1.9rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 7px;
}

.journey-stat-label {
  font-size: .76rem;
  color: rgba(255,255,255,.65);
  line-height: 1.45;
}

.journey-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.journey-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.journey-feature-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.28);
  color: #fff;
  font-size: .88rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.journey-feature strong {
  color: #fff;
  font-size: .96rem;
  display: block;
  margin-bottom: 3px;
}
.journey-feature p {
  color: rgba(255,255,255,.6);
  font-size: .82rem;
  margin: 0;
  line-height: 1.55;
}

/* ---- Right: animated brand logo ---- */
.journey-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.journey-ellipse {
  width: 390px;
  height: 390px;
  max-width: 100%;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 38%, rgba(255,255,255,.09) 0%, rgba(255,255,255,.02) 55%, transparent 100%);
  border: 1.5px solid rgba(255,255,255,.14);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 70px rgba(0,53,125,.55),
    0 0 120px rgba(0,85,152,.25),
    inset 0 0 50px rgba(255,255,255,.03);
  position: relative;
}

/* Inner orbit ring */
.journey-ellipse::before {
  content: '';
  position: absolute;
  inset: -22px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.08);
  animation: jb-spin 14s linear infinite;
}

/* Outer dashed orbit */
.journey-ellipse::after {
  content: '';
  position: absolute;
  inset: -46px;
  border-radius: 50%;
  border: 1px dashed rgba(255,255,255,.045);
  animation: jb-spin 22s linear infinite reverse;
}

@keyframes jb-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.journey-logo {
  width: 76%;
  height: auto;
  animation: jb-float 7s ease-in-out infinite;
  filter: drop-shadow(0 16px 36px rgba(0,0,0,.4));
  position: relative;
  z-index: 1;
}

@keyframes jb-float {
  0%, 100% { transform: translateY(0px)  scale(1);     }
  50%       { transform: translateY(-16px) scale(1.015); }
}

/* ---- Responsive ---- */
@media (max-width: 960px) {
  .journey-banner-inner {
    grid-template-columns: 1fr;
    gap: 44px;
    text-align: center;
  }
  .journey-stats-badge { margin: 0 auto 20px; }
  .journey-stats-sub   { margin-left: auto; margin-right: auto; }
  .journey-stat-cards  { max-width: 380px; margin-left: auto; margin-right: auto; }
  .journey-features    { text-align: left; max-width: 400px; margin: 0 auto; }
  .journey-visual      { order: -1; }
  .journey-ellipse     { width: 300px; height: 300px; }
  .journey-stats-headline { font-size: 2rem; }

  .journey-intro {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }
  .journey-intro-eyebrow::before { margin: 0 auto; }
  .journey-intro-btn { align-self: center; }
}

@media (max-width: 480px) {
  .journey-banner         { padding: 76px 0 60px; }
  .journey-banner::after  { height: 60px; }
  .journey-stat-cards     { flex-direction: column; max-width: 240px; }
  .journey-stats-headline { font-size: 1.65rem; }
  .journey-ellipse        { width: 240px; height: 240px; }
  .journey-award-circle   { width: 160px; height: 160px; }
  .journey-award-number   { font-size: 2.4rem; }
}

/* ---- Journey Intro (Welcome section) — inside the banner ---- */

.journey-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.18) 20%, rgba(255,255,255,.18) 80%, transparent 100%);
  margin: 56px 0 52px;
  position: relative;
  z-index: 2;
}

.journey-intro {
  display: flex;
  align-items: center;
  gap: 64px;
  position: relative;
  z-index: 2;
  padding-bottom: 12px;
}

/* Left: text */
.journey-intro-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.journey-intro-eyebrow {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-bottom: 12px;
  padding-bottom: 12px;
  position: relative;
}
/* short accent line under eyebrow */
.journey-intro-eyebrow::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 36px; height: 2px;
  background: rgba(255,255,255,.4);
  border-radius: 2px;
}

.journey-intro-heading {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 18px;
}

.journey-intro-body {
  font-size: .92rem;
  color: rgba(255,255,255,.65);
  line-height: 1.85;
  margin-bottom: 28px;
  max-width: 540px;
}

.journey-intro-btn {
  background: rgba(255,255,255,.12);
  border: 1.5px solid rgba(255,255,255,.35);
  color: #fff !important;
  font-size: .88rem;
  font-weight: 600;
  padding: 10px 28px;
  border-radius: var(--radius-md);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
  text-decoration: none;
}
.journey-intro-btn:hover {
  background: rgba(255,255,255,.22);
  border-color: rgba(255,255,255,.6);
  transform: translateY(-2px);
  text-decoration: none;
}

/* Right: award badge */
.journey-intro-award {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.journey-award-circle {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,.07);
  border: 1.5px solid rgba(255,255,255,.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow:
    0 0 40px rgba(0,53,125,.4),
    inset 0 0 30px rgba(255,255,255,.03);
  transition: transform var(--transition), box-shadow var(--transition);
}
.journey-award-circle:hover {
  transform: scale(1.04);
  box-shadow: 0 0 60px rgba(0,53,125,.6), inset 0 0 30px rgba(255,255,255,.05);
}

.journey-award-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 4px;
}

.journey-award-number {
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.journey-award-label {
  font-size: .76rem;
  color: rgba(255,255,255,.6);
  text-align: center;
  line-height: 1.5;
  letter-spacing: .04em;
}

/* ---- Banner Footer — sits at the bottom of the journey-banner ---- */
.banner-footer {
  position: relative;
  z-index: 2;
  margin-top: 56px;
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 40px;
}

.banner-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}

.banner-footer-brand a.logo .logo-image {
  height: 56px !important;
  max-height: 56px !important;
  max-width: 220px !important;
  width: auto !important;
}

.banner-footer-brand p {
  margin-top: 10px;
  font-size: .875rem;
  color: rgba(255,255,255,.55);
  line-height: 1.7;
}

.banner-footer-col h4 {
  color: #fff;
  font-size: .9rem;
  margin-bottom: 14px;
  font-weight: 700;
}

.banner-footer-col a {
  display: block;
  color: rgba(255,255,255,.55);
  font-size: .85rem;
  margin-bottom: 8px;
  text-decoration: none;
  transition: color var(--transition);
}
.banner-footer-col a:hover { color: #fff; text-decoration: none; }

.banner-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 20px;
  padding-bottom: 8px;
  font-size: .8rem;
  color: rgba(255,255,255,.4);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

@media (max-width: 720px) {
  .banner-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .banner-footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  .banner-footer-grid    { grid-template-columns: 1fr; }
  .banner-footer-bottom  { flex-direction: column; text-align: center; gap: 6px; }
}

/* ---------------------------------------------------------------------------
   Phase 47 — Wallet page
   --------------------------------------------------------------------------- */

/* Accent button — orange, used for Top Up CTA */
.btn-accent {
  background: var(--accent-gold);
  color: var(--white);
  border-color: var(--accent-gold);
}
.btn-accent:hover { filter: brightness(1.08); }

/* Balance card — gradient from brand navy to brand blue */
.wallet-balance-card {
  background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-blue) 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-top: 24px;
  box-shadow: var(--shadow-md);
  max-width: 440px;
}

.wallet-balance-label {
  font-size: .85rem;
  opacity: .75;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.wallet-balance-amount {
  font-size: 2.8rem;
  font-weight: 800;
  margin-top: 6px;
  line-height: 1.1;
}

/* Top-up form section */
.wallet-topup-section {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-top: 24px;
  max-width: 480px;
  box-shadow: var(--shadow-sm);
}

/* Transaction table */
.wallet-tx-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}

.wallet-tx-table th {
  background: var(--gray-100);
  padding: 10px 14px;
  text-align: left;
  font-weight: 700;
  color: var(--gray-600);
  border-bottom: 2px solid var(--gray-200);
}

.wallet-tx-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--gray-200);
  vertical-align: middle;
}

.wallet-tx-table tr:last-child td { border-bottom: none; }
.wallet-tx-table tr:hover td { background: var(--gray-100); }

/* Transaction type badges */
.tx-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 99px;
  font-size: .78rem;
  font-weight: 700;
  white-space: nowrap;
}

.tx-credit {
  background: var(--success-l);
  color: var(--success);
}

.tx-debit {
  background: var(--danger-l);
  color: var(--danger);
}

/* Shimmer placeholder */
.shimmer-line {
  display: inline-block;
  border-radius: var(--radius-sm);
  background: linear-gradient(90deg, rgba(255,255,255,.15) 25%, rgba(255,255,255,.35) 50%, rgba(255,255,255,.15) 75%);
  background-size: 400% 100%;
  animation: shimmer-slide 1.4s infinite;
}

.shimmer-block {
  background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-200) 50%, var(--gray-100) 75%);
  background-size: 400% 100%;
  animation: shimmer-slide 1.4s infinite;
  border-radius: var(--radius-sm);
}

@keyframes shimmer-slide {
  0%   { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

/* hint text below form inputs */
.form-hint {
  display: block;
  font-size: .78rem;
  color: var(--gray-400);
  margin-top: 4px;
}

@media (max-width: 700px) {
  .wallet-balance-card { max-width: 100%; padding: 24px; }
  .wallet-balance-amount { font-size: 2rem; }
  .wallet-tx-table th, .wallet-tx-table td { padding: 8px 10px; }
  .wallet-topup-section { padding: 16px; }
}
