/* ==========================================================================
   Kalloji Travels design system (brand: royal blue + sunrise yellow, KT logo)
   - Tokens first, then base, components, public pages, admin.
   - Class names are stable: page markup and JS depend on them.
   - No web fonts or icon fonts: system stack + inline SVG keeps first paint fast.
   ========================================================================== */

:root {
  --kt-navy-950: #0a2266;
  --kt-navy-900: #0f2f86;
  --kt-navy: #1a46b8;
  --kt-navy-700: #2b5fd9;
  --kt-navy-dark: #0f2f86;
  --kt-navy-soft: #e8efff;
  --kt-sky: #eaf3ff;
  --kt-accent: #2b5fd9;
  --kt-gold: #ffc20e;
  --kt-gold-dark: #e0a800;
  --kt-gold-soft: #fff4cc;
  --kt-success: #15803d;
  --kt-success-soft: #dcfce7;
  --kt-warning: #b45309;
  --kt-warning-soft: #fef3c7;
  --kt-danger: #b91c1c;
  --kt-danger-soft: #fee2e2;
  --kt-bg: #f2f6fd;
  --kt-surface: #ffffff;
  --kt-surface-2: #f6f9ff;
  --kt-text: #0f1b3d;
  --kt-text-2: #35456b;
  --kt-muted: #66739a;
  --kt-muted-2: #99a4c2;
  --kt-border: #dfe6f5;
  --kt-border-strong: #c3cfe8;
  --kt-radius: 16px;
  --kt-radius-lg: 22px;
  --kt-radius-sm: 10px;
  --kt-shadow-xs: 0 1px 2px rgba(15, 47, 134, .06);
  --kt-shadow-sm: 0 1px 3px rgba(15, 47, 134, .06), 0 6px 16px rgba(15, 47, 134, .06);
  --kt-shadow-md: 0 4px 10px rgba(15, 47, 134, .06), 0 18px 36px rgba(15, 47, 134, .10);
  --kt-shadow-lg: 0 12px 24px rgba(15, 47, 134, .12), 0 32px 64px rgba(15, 47, 134, .14);
  --kt-ring: 0 0 0 4px rgba(43, 95, 217, .18);
  --kt-font: "Inter", "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --kt-ease: cubic-bezier(.2, .7, .2, 1);

  /* Bootstrap bridges */
  --bs-primary: #1a46b8;
  --bs-primary-rgb: 26, 70, 184;
  --bs-link-color: #1a46b8;
  --bs-link-color-rgb: 26, 70, 184;
  --bs-link-hover-color: #0f2f86;
  --bs-link-hover-color-rgb: 15, 47, 134;
  --bs-body-color: #0f1b3d;
  --bs-body-bg: #f2f6fd;
  --bs-border-color: #dfe6f5;
  --bs-border-radius: 10px;
  --bs-font-sans-serif: var(--kt-font);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { height: 100%; }
body {
  background: var(--kt-bg);
  color: var(--kt-text);
  font-family: var(--kt-font);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11", "tnum";
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { letter-spacing: -.015em; font-weight: 700; color: var(--kt-text); }
a { color: var(--kt-navy); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--kt-navy-900); }
:focus-visible { outline: 3px solid rgba(43, 95, 217, .55); outline-offset: 2px; border-radius: 6px; }
::selection { background: rgba(255, 194, 14, .5); }
img { max-width: 100%; height: auto; }
.text-navy { color: var(--kt-navy) !important; }
.bg-navy { background: var(--kt-navy) !important; }
.text-muted { color: var(--kt-muted) !important; }
.small, small { font-size: .875rem; }
.container { padding-left: 20px; padding-right: 20px; }
@media (max-width: 575.98px) { .container { padding-left: 16px; padding-right: 16px; } }
.min-w-0 { min-width: 0; }
@media (min-width: 1400px) { .container { max-width: 1240px; } }

/* --------------------------------------------------------------------------
   Buttons, forms, cards, badges, alerts, tables
   -------------------------------------------------------------------------- */
.btn {
  --bs-btn-border-radius: 12px;
  --bs-btn-font-weight: 600;
  --bs-btn-padding-y: .7rem;
  --bs-btn-padding-x: 1.25rem;
  transition: transform .15s var(--kt-ease), box-shadow .2s var(--kt-ease), background-color .15s, border-color .15s, color .15s;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
}
.btn:active { transform: translateY(1px); }
.btn-sm { --bs-btn-padding-y: .4rem; --bs-btn-padding-x: .85rem; --bs-btn-border-radius: 9px; --bs-btn-font-size: .875rem; }
.btn-lg { --bs-btn-padding-y: .9rem; --bs-btn-padding-x: 1.75rem; --bs-btn-font-size: 1.06rem; --bs-btn-border-radius: 14px; }
.btn-primary {
  --bs-btn-bg: var(--kt-navy); --bs-btn-border-color: var(--kt-navy);
  --bs-btn-hover-bg: var(--kt-navy-900); --bs-btn-hover-border-color: var(--kt-navy-900);
  --bs-btn-active-bg: var(--kt-navy-950); --bs-btn-active-border-color: var(--kt-navy-950);
  --bs-btn-disabled-bg: #99a4c2; --bs-btn-disabled-border-color: #99a4c2;
  background-image: linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, 0));
  box-shadow: 0 1px 2px rgba(15, 47, 134, .25), 0 8px 18px -8px rgba(26, 70, 184, .7);
}
.btn-primary:hover { box-shadow: 0 2px 4px rgba(15, 47, 134, .25), 0 12px 24px -8px rgba(26, 70, 184, .75); transform: translateY(-1px); }
.btn-outline-primary {
  --bs-btn-color: var(--kt-navy); --bs-btn-border-color: var(--kt-border-strong);
  --bs-btn-hover-bg: var(--kt-navy-soft); --bs-btn-hover-border-color: var(--kt-navy); --bs-btn-hover-color: var(--kt-navy);
  --bs-btn-active-bg: var(--kt-navy); --bs-btn-active-border-color: var(--kt-navy);
  background: var(--kt-surface);
}
.btn-outline-secondary { --bs-btn-color: var(--kt-text-2); --bs-btn-border-color: var(--kt-border-strong); --bs-btn-hover-bg: var(--kt-surface-2); --bs-btn-hover-color: var(--kt-text); --bs-btn-hover-border-color: var(--kt-border-strong); background: var(--kt-surface); }
.btn-light { --bs-btn-bg: var(--kt-surface); --bs-btn-border-color: var(--kt-border); --bs-btn-hover-bg: var(--kt-surface-2); --bs-btn-hover-border-color: var(--kt-border-strong); --bs-btn-color: var(--kt-text-2); }
.btn-gold { --bs-btn-bg: var(--kt-gold); --bs-btn-border-color: var(--kt-gold); --bs-btn-color: var(--kt-navy-950); --bs-btn-hover-bg: #ffd044; --bs-btn-hover-border-color: #ffd044; --bs-btn-hover-color: var(--kt-navy-950); --bs-btn-active-bg: var(--kt-gold-dark); --bs-btn-active-border-color: var(--kt-gold-dark); --bs-btn-active-color: var(--kt-navy-950); --bs-btn-disabled-bg: #ffe08a; --bs-btn-disabled-border-color: #ffe08a; --bs-btn-disabled-color: var(--kt-navy-900); box-shadow: 0 8px 18px -8px rgba(224, 168, 0, .8); font-weight: 700; }
.btn-gold:hover { transform: translateY(-1px); box-shadow: 0 12px 24px -8px rgba(224, 168, 0, .85); }
.btn-outline-light { --bs-btn-border-color: rgba(255, 255, 255, .45); --bs-btn-color: #fff; --bs-btn-hover-bg: rgba(255, 255, 255, .14); --bs-btn-hover-border-color: #fff; --bs-btn-hover-color: #fff; }
.btn .ico { width: 1.1em; height: 1.1em; flex-shrink: 0; }

.form-control, .form-select {
  border-radius: 12px; padding: .72rem .95rem; border: 1.5px solid var(--kt-border); background-color: var(--kt-surface);
  color: var(--kt-text); min-height: 48px; transition: border-color .15s, box-shadow .15s;
}
.form-control-sm, .form-select-sm { min-height: 38px; padding: .4rem .7rem; border-radius: 9px; }
.form-control:focus, .form-select:focus { border-color: var(--kt-accent); box-shadow: var(--kt-ring); }
.form-control::placeholder { color: var(--kt-muted-2); }
.form-control.is-invalid, .input-validation-error { border-color: var(--kt-danger); }
.form-label { font-weight: 600; color: var(--kt-text-2); margin-bottom: .4rem; font-size: .95rem; }
.form-text { color: var(--kt-muted); }
.form-check-input { width: 1.15em; height: 1.15em; border: 1.5px solid var(--kt-border-strong); margin-top: .2em; }
.form-check-input:checked { background-color: var(--kt-navy); border-color: var(--kt-navy); }
.form-check-input:focus { box-shadow: var(--kt-ring); border-color: var(--kt-accent); }
.form-switch .form-check-input { width: 2.4em; height: 1.3em; }
.text-danger { color: var(--kt-danger) !important; }
.field-validation-error { display: block; margin-top: .25rem; }

.card { border: 1px solid var(--kt-border); border-radius: var(--kt-radius-lg); background: var(--kt-surface); box-shadow: var(--kt-shadow-sm); }
.card-body { padding: 1.5rem; }
@media (max-width: 575.98px) { .card-body { padding: 1.15rem; } }
.card .card { box-shadow: none; }
.card.bg-light { background: var(--kt-surface-2) !important; border-color: var(--kt-border) !important; }

.badge { font-weight: 600; letter-spacing: .01em; padding: .4em .7em; border-radius: 999px; }
.badge-status { font-weight: 600; }
.badge.bg-success { background: var(--kt-success-soft) !important; color: var(--kt-success) !important; }
.badge.bg-warning { background: var(--kt-warning-soft) !important; color: var(--kt-warning) !important; }
.badge.bg-danger { background: var(--kt-danger-soft) !important; color: var(--kt-danger) !important; }
.badge.bg-secondary { background: #e3e8f4 !important; color: var(--kt-text-2) !important; }
.badge.bg-info { background: #e0f2fe !important; color: #075985 !important; }
.badge.bg-primary { background: var(--kt-navy-soft) !important; color: var(--kt-navy) !important; }
.badge.bg-dark { background: var(--kt-navy-950) !important; color: #fff !important; }
.badge.bg-light { background: #eef2fb !important; color: var(--kt-text-2) !important; }

.alert { border-radius: 14px; border: 1px solid transparent; padding: .9rem 1.1rem; display: flex; gap: .75rem; align-items: flex-start; }
.alert .ico { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; }
.alert-success { background: var(--kt-success-soft); color: #14532d; border-color: #bbf7d0; }
.alert-danger { background: var(--kt-danger-soft); color: #7f1d1d; border-color: #fecaca; }
.alert-warning { background: var(--kt-warning-soft); color: #78350f; border-color: #fde68a; }
.alert-info { background: #e0f2fe; color: #0c4a6e; border-color: #bae6fd; }
.alert-light { background: var(--kt-surface-2); color: var(--kt-text-2); }
.alert-dismissible .btn-close { padding: 1.1rem; }

.table { --bs-table-bg: transparent; --bs-table-striped-bg: var(--kt-surface-2); --bs-table-hover-bg: #eef3fd; color: var(--kt-text); }
.table th { white-space: nowrap; font-size: .76rem; color: var(--kt-muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; border-bottom-width: 1px; background: var(--kt-surface-2); padding: .75rem 1rem; }
.table td { padding: .8rem 1rem; vertical-align: middle; border-color: var(--kt-border); }
.table-sm th, .table-sm td { padding: .55rem .75rem; }
.table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table tbody tr:last-child td { border-bottom: 0; }
.progress { height: 10px; border-radius: 999px; background: #e3e8f4; }
.progress-bar { border-radius: 999px; font-size: 0; }
.progress-bar.bg-navy { background: linear-gradient(90deg, var(--kt-navy-700), var(--kt-navy)) !important; }
.kv dt { color: var(--kt-muted); font-weight: 500; }
.kv dd { margin-bottom: .6rem; font-weight: 500; }
.pagination { --bs-pagination-border-radius: 10px; --bs-pagination-active-bg: var(--kt-navy); --bs-pagination-active-border-color: var(--kt-navy); --bs-pagination-color: var(--kt-navy); gap: 4px; }
.pagination .page-link { border-radius: 10px !important; border-color: var(--kt-border); }
.dropdown-menu { border-radius: 14px; border-color: var(--kt-border); box-shadow: var(--kt-shadow-md); padding: .5rem; }
.dropdown-item { border-radius: 8px; padding: .5rem .8rem; }
.nav-pills .nav-link { border-radius: 10px; color: var(--kt-text-2); font-weight: 500; }
.nav-pills .nav-link.active { background: var(--kt-navy); }
code { color: var(--kt-navy-700); background: var(--kt-navy-soft); padding: .1em .35em; border-radius: 5px; font-size: .9em; }

/* --------------------------------------------------------------------------
   Public shell: header, announcement, footer
   -------------------------------------------------------------------------- */
.public-body { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
.site-main { flex: 1; padding: 24px 0 56px; }
.site-header { position: sticky; top: 0; z-index: 1030; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--kt-border); box-shadow: 0 2px 12px rgba(15, 47, 134, .05); }
.site-header::after { content: ""; display: block; height: 3px; background: linear-gradient(90deg, var(--kt-navy) 0 60%, var(--kt-gold) 60% 100%); }
.site-header .navbar { padding: .45rem 0; }
.site-header .navbar-brand { font-weight: 800; letter-spacing: -.01em; font-size: 1.15rem; color: var(--kt-navy-900); display: inline-flex; align-items: center; gap: .6rem; }
.site-header .navbar-brand .brand-sub { display: block; font-size: .68rem; font-weight: 600; color: var(--kt-gold-dark); letter-spacing: .12em; text-transform: uppercase; line-height: 1; margin-top: 2px; }
.brand-logo { height: 46px; width: 46px; object-fit: cover; border-radius: 50%; box-shadow: 0 2px 8px rgba(15, 47, 134, .18); background: #fff; }
.site-header .nav-link { color: var(--kt-text-2); font-weight: 600; padding: .5rem .85rem; border-radius: 10px; transition: background .15s, color .15s; }
.site-header .nav-link:hover, .site-header .nav-link:focus { color: var(--kt-navy); background: var(--kt-navy-soft); }
.site-header .nav-link.active { color: var(--kt-navy); background: var(--kt-navy-soft); }
.site-header .navbar-toggler { border-color: var(--kt-border-strong); padding: .4rem .6rem; border-radius: 10px; color: var(--kt-navy); }
.site-header .navbar-toggler-icon { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3E%3Cpath stroke='%231a46b8' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E"); }
.site-header .navbar-toggler:focus { box-shadow: var(--kt-ring); }
.site-header .btn-cta { --bs-btn-bg: var(--kt-gold); --bs-btn-border-color: var(--kt-gold); --bs-btn-color: var(--kt-navy-950); --bs-btn-hover-bg: #ffd044; --bs-btn-hover-border-color: #ffd044; --bs-btn-hover-color: var(--kt-navy-950); --bs-btn-active-bg: var(--kt-gold-dark); --bs-btn-active-color: var(--kt-navy-950); font-weight: 700; box-shadow: 0 6px 14px -6px rgba(224, 168, 0, .8); }
.site-header .phone-link { color: var(--kt-navy); font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; padding: .5rem .6rem; }
/* Mobile / tablet app bar: brand on the left, round action buttons on the right; primary navigation moves to the bottom tab bar. */
.appbar-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.appbar-btn { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--kt-navy); background: var(--kt-navy-soft); border: 1px solid transparent; text-decoration: none; transition: background .15s, transform .15s; }
.appbar-btn .ico { width: 19px; height: 19px; }
.appbar-btn:hover { background: #dbe5ff; color: var(--kt-navy-900); }
.appbar-btn:active { transform: scale(.94); }
.appbar-btn.primary { background: var(--kt-gold); color: var(--kt-navy-950); box-shadow: 0 6px 14px -6px rgba(224, 168, 0, .8); }
.appbar-btn.primary:hover { background: #ffd044; }
@media (max-width: 991.98px) {
  .site-header .navbar { padding: .4rem 0; }
  .site-header .navbar-brand { font-size: 1.05rem; }
  .brand-logo { width: 40px; height: 40px; }
  .site-header .navbar-brand .brand-sub { font-size: .6rem; letter-spacing: .1em; }
}
@media (max-width: 379.98px) { .site-header .navbar-brand .brand-sub { display: none; } }
.announcement { background: linear-gradient(90deg, var(--kt-gold-soft), #fff9e0); color: #7a5400; border-bottom: 1px solid #ffe08a; padding: 10px 0; font-size: .95rem; }
.announcement .container { display: flex; gap: .6rem; align-items: center; }
.announcement .ico { width: 18px; height: 18px; flex-shrink: 0; }

.site-footer { background: linear-gradient(180deg, var(--kt-navy-900), var(--kt-navy-950)); color: rgba(255, 255, 255, .74); padding: 44px 0 28px; font-size: .95rem; position: relative; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--kt-gold), #ffd96a); }
.site-footer a { color: rgba(255, 255, 255, .84); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .footer-brand { color: #fff; font-weight: 800; font-size: 1.15rem; display: flex; align-items: center; gap: .6rem; margin-bottom: .5rem; }
.site-footer .footer-brand .brand-logo { height: 44px; width: 44px; }
.site-footer .tagline { color: var(--kt-gold); font-style: italic; font-weight: 600; margin-bottom: .75rem; }
.site-footer h6 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: .9rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .45rem; }
.site-footer .footer-contact div { display: flex; gap: .5rem; align-items: flex-start; margin-bottom: .45rem; }
.site-footer .footer-contact .ico { width: 18px; height: 18px; margin-top: 3px; opacity: .85; flex-shrink: 0; color: var(--kt-gold); }
.site-footer .footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 28px; padding-top: 18px; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; font-size: .85rem; color: rgba(255, 255, 255, .55); }
.site-footer .footer-bottom .secure { display: inline-flex; gap: .4rem; align-items: center; }
.site-footer .footer-bottom .ico { width: 16px; height: 16px; }
/* Compact footer + bottom tab bar below lg: the public site behaves like an installed app on phones and tablets. */
.footer-mini { display: none; }
@media (max-width: 991.98px) {
  .site-footer { padding: 26px 0 18px; font-size: .9rem; }
  .site-footer .footer-cols { display: none; }
  .footer-mini { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
  .footer-mini .footer-brand { margin: 0; font-size: 1.05rem; }
  .footer-mini .footer-brand .brand-logo { width: 36px; height: 36px; }
  .footer-mini .mini-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; font-size: .85rem; }
  .footer-mini .mini-links a { color: rgba(255, 255, 255, .8); }
  .site-footer .footer-bottom { margin-top: 16px; padding-top: 12px; justify-content: center; text-align: center; font-size: .78rem; }
  .public-body { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
  .public-body.flow-page { padding-bottom: 0; }
  .site-main { padding: 16px 0 36px; }
}
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030; display: flex; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-top: 1px solid var(--kt-border); padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); box-shadow: 0 -8px 24px rgba(15, 47, 134, .08); }
.tabbar a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; text-decoration: none; color: var(--kt-muted); font-size: .7rem; font-weight: 600; padding: 4px 2px 2px; border-radius: 12px; letter-spacing: .01em; -webkit-tap-highlight-color: transparent; }
.tabbar .ico-wrap { width: 48px; height: 28px; border-radius: 999px; display: flex; align-items: center; justify-content: center; transition: background .2s var(--kt-ease), transform .2s var(--kt-ease); }
.tabbar .ico { width: 22px; height: 22px; }
.tabbar a:active .ico-wrap { transform: scale(.92); }
.tabbar a.active { color: var(--kt-navy); }
.tabbar a.active .ico-wrap { background: var(--kt-navy-soft); }
.tabbar a.active .ico { stroke-width: 2.4; }
@media (min-width: 992px) { .tabbar { display: none; } }
@media print { .tabbar { display: none !important; } }

/* --------------------------------------------------------------------------
   Home. Desktop (lg+): banner on the left, booking panel on the right.
   Mobile / tablet: stacked app home screen (hero card, overlapping booking card, action tiles, horizontal rails).
   -------------------------------------------------------------------------- */
.home-hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; margin-bottom: 8px; align-items: stretch; }
@media (min-width: 992px) { .home-hero { grid-template-columns: minmax(0, 1.3fr) minmax(360px, 420px); gap: 24px; margin-bottom: 44px; } }
@media (min-width: 1200px) { .home-hero { grid-template-columns: minmax(0, 1.45fr) minmax(380px, 440px); gap: 28px; } }

.hero {
  position: relative; overflow: hidden; border-radius: var(--kt-radius-lg); color: #fff; box-shadow: var(--kt-shadow-lg); display: flex;
  background: linear-gradient(135deg, var(--kt-navy-950) 0%, var(--kt-navy) 55%, var(--kt-navy-700) 100%);
}
.hero .hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center right; opacity: .55; }
.hero .hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 34, 102, .96) 0%, rgba(15, 47, 134, .86) 45%, rgba(26, 70, 184, .38) 100%); }
.hero .hero-inner { position: relative; width: 100%; display: flex; flex-direction: column; padding: clamp(28px, 4vw, 52px) clamp(20px, 4vw, 48px) clamp(22px, 3.2vw, 36px); }
.hero .eyebrow { align-self: flex-start; display: inline-flex; align-items: center; gap: .5rem; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); color: #fff; border-radius: 999px; padding: .35rem .9rem; font-size: .82rem; font-weight: 600; letter-spacing: .02em; margin-bottom: 16px; }
.hero .eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--kt-gold); box-shadow: 0 0 0 4px rgba(255, 194, 14, .25); }
.hero h1 { color: #fff; font-weight: 800; font-size: clamp(1.75rem, 3.6vw, 3rem); line-height: 1.08; letter-spacing: -.03em; margin: 0; max-width: 16ch; }
.hero h1 .accent { color: var(--kt-gold); }
.hero p { color: rgba(255, 255, 255, .86); font-size: clamp(1rem, 1.4vw, 1.15rem); max-width: 540px; margin: 14px 0 22px; }
.hero .hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero .hero-actions .btn { min-width: 150px; }
.hero .btn-primary { --bs-btn-bg: var(--kt-gold); --bs-btn-border-color: var(--kt-gold); --bs-btn-color: var(--kt-navy-950); --bs-btn-hover-bg: #ffd044; --bs-btn-hover-border-color: #ffd044; --bs-btn-hover-color: var(--kt-navy-950); --bs-btn-active-bg: var(--kt-gold-dark); --bs-btn-active-color: var(--kt-navy-950); box-shadow: 0 10px 24px -10px rgba(255, 194, 14, .95); background-image: none; font-weight: 700; }
.hero .btn-outline-primary { --bs-btn-color: #fff; --bs-btn-border-color: rgba(255, 255, 255, .5); --bs-btn-hover-bg: rgba(255, 255, 255, .14); --bs-btn-hover-border-color: #fff; --bs-btn-hover-color: #fff; background: transparent; }
.hero-services { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.hero-services span { display: inline-flex; align-items: center; gap: .45rem; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .18); color: #fff; border-radius: 999px; padding: .38rem .85rem .38rem .42rem; font-weight: 600; font-size: .84rem; white-space: nowrap; }
.hero-services span i { width: 24px; height: 24px; border-radius: 50%; background: var(--kt-gold); color: var(--kt-navy-950); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hero-services span i svg { width: 14px; height: 14px; }
.hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: auto; padding-top: 26px; }
.hero-stats > div { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); border-radius: 14px; padding: 12px 10px; text-align: center; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hero-stats .value { color: #fff; font-size: clamp(1.35rem, 2.6vw, 1.9rem); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }
.hero-stats .label { color: rgba(255, 255, 255, .75); font-size: .78rem; margin-top: 3px; }
.hero .tagline { margin-top: 18px; color: var(--kt-gold); font-style: italic; font-weight: 600; font-size: 1rem; }
@media (max-width: 991.98px) {
  .hero { border-radius: 20px; box-shadow: var(--kt-shadow-md); }
  .hero .hero-bg { background-position: center; opacity: .38; }
  .hero .hero-shade { background: linear-gradient(180deg, rgba(10, 34, 102, .9), rgba(26, 70, 184, .82)); }
  .hero .hero-inner { padding: 24px 20px 46px; }
  .hero h1 { font-size: clamp(1.55rem, 6vw, 2.1rem); max-width: none; }
  .hero p { font-size: .98rem; margin: 10px 0 18px; }
  .hero .hero-actions .btn { flex: 1 1 0; min-width: 0; }
  .hero-services { flex-wrap: nowrap; overflow-x: auto; margin: 18px -20px 0; padding: 0 20px 4px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .hero-services::-webkit-scrollbar { display: none; }
  .hero-stats { margin-top: 16px; padding-top: 0; gap: 8px; }
  .hero-stats > div { padding: 10px 6px; }
  .hero .tagline { display: none; }
}

.booking-panel { position: relative; background: var(--kt-surface); border: 1px solid var(--kt-border); border-radius: var(--kt-radius-lg); box-shadow: var(--kt-shadow-md); padding: clamp(18px, 2.4vw, 28px); display: flex; flex-direction: column; gap: 14px; }
.booking-panel::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--kt-navy) 0 55%, var(--kt-gold) 55% 100%); border-radius: var(--kt-radius-lg) var(--kt-radius-lg) 0 0; }
.bp-head { display: flex; gap: 12px; align-items: flex-start; }
.bp-ico { width: 46px; height: 46px; border-radius: 14px; background: var(--kt-gold-soft); color: var(--kt-navy-900); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.bp-ico svg { width: 24px; height: 24px; }
.bp-head h2 { font-size: 1.3rem; margin: 0; color: var(--kt-navy-900); font-weight: 800; letter-spacing: -.02em; }
.bp-head p { margin: 2px 0 0; color: var(--kt-muted); font-size: .86rem; }
.bp-field .form-label { font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; color: var(--kt-muted); margin-bottom: .3rem; }
.bp-input { position: relative; }
.bp-input > .ico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--kt-navy); pointer-events: none; }
.bp-input .form-control, .bp-input .form-select { padding-left: 42px; min-height: 52px; font-weight: 500; }
.bp-dates { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 10px; }
.bp-dates .lbl { font-size: .75rem; color: var(--kt-muted); margin-right: 2px; }
.bp-dates a { display: inline-flex; align-items: center; gap: .3rem; font-size: .8rem; font-weight: 700; color: var(--kt-navy); text-decoration: none; background: var(--kt-navy-soft); border-radius: 999px; padding: .32rem .7rem; transition: background .15s, transform .15s; white-space: nowrap; }
.bp-dates a .dow { color: var(--kt-muted); font-weight: 600; }
.bp-dates a:hover { background: #dbe5ff; transform: translateY(-1px); }
.booking-panel .btn-gold { min-height: 54px; margin-top: 2px; }
@media (min-width: 992px) { .booking-panel { justify-content: space-between; } } /* fills the hero's height evenly instead of leaving one big gap */
.bp-foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; font-size: .78rem; color: var(--kt-muted); }
.bp-foot span { display: inline-flex; align-items: center; gap: .3rem; }
.bp-foot .ico { width: 14px; height: 14px; color: var(--kt-success); }
@media (max-width: 991.98px) {
  .booking-panel { margin: -30px 12px 0; z-index: 2; padding: 18px 16px; border-radius: 20px; }
  .bp-head h2 { font-size: 1.15rem; }
  .bp-head p { font-size: .8rem; }
  .bp-ico { width: 40px; height: 40px; border-radius: 12px; }
  .bp-ico svg { width: 20px; height: 20px; }
}

/* App home tiles (mobile / tablet only) */
.quick-actions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 18px 0 28px; }
.quick-actions a { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; background: var(--kt-surface); border: 1px solid var(--kt-border); border-radius: 16px; padding: 14px 6px 12px; text-decoration: none; color: var(--kt-text); box-shadow: var(--kt-shadow-xs); -webkit-tap-highlight-color: transparent; transition: transform .15s var(--kt-ease), box-shadow .15s, border-color .15s; }
.quick-actions a:hover { border-color: var(--kt-border-strong); box-shadow: var(--kt-shadow-sm); color: var(--kt-text); }
.quick-actions a:active { transform: scale(.97); }
.quick-actions strong { font-size: .8rem; font-weight: 700; margin-top: 6px; line-height: 1.2; }
.quick-actions small { font-size: .68rem; color: var(--kt-muted); line-height: 1.2; }
.qa-ico { width: 46px; height: 46px; border-radius: 14px; background: var(--kt-navy-soft); color: var(--kt-navy); display: inline-flex; align-items: center; justify-content: center; }
.qa-ico svg { width: 22px; height: 22px; }
.qa-ico.book { background: var(--kt-gold); color: var(--kt-navy-950); box-shadow: 0 8px 16px -8px rgba(224, 168, 0, .9); }
@media (max-width: 359.98px) { .quick-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.home-section { margin-bottom: 40px; }
@media (max-width: 991.98px) { .home-section { margin-bottom: 28px; } }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(1.2rem, 2.4vw, 1.6rem); margin: 0; color: var(--kt-navy-900); }
.section-head p { margin: 2px 0 0; color: var(--kt-muted); font-size: .92rem; }
.section-head .link { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: .3rem; white-space: nowrap; }
@media (max-width: 575.98px) { .section-head p { display: none; } }

.exam-rail { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1199.98px) and (min-width: 992px) { .exam-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.exam-card { position: relative; overflow: hidden; transition: transform .2s var(--kt-ease), box-shadow .2s var(--kt-ease); }
.exam-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: linear-gradient(180deg, var(--kt-gold), var(--kt-gold-dark)); }
.exam-card:hover { transform: translateY(-3px); box-shadow: var(--kt-shadow-md); }
.exam-card .date-chip { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; width: 58px; height: 58px; border-radius: 14px; background: var(--kt-navy-soft); color: var(--kt-navy); font-weight: 800; line-height: 1; flex-shrink: 0; }
.exam-card .date-chip .d { font-size: 1.35rem; }
.exam-card .date-chip .m { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; margin-top: 3px; }
.exam-card .title { font-weight: 700; font-size: 1.05rem; color: var(--kt-text); }
.exam-card .meta { color: var(--kt-muted); font-size: .9rem; }
@media (max-width: 991.98px) {
  .exam-rail { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 4px 16px 10px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .exam-rail::-webkit-scrollbar { display: none; }
  .exam-rail .exam-card { flex: 0 0 min(82%, 340px); scroll-snap-align: start; }
  .exam-card .exam-desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
}

.dest-rail { display: flex; flex-wrap: wrap; gap: 8px; }
.dest-chip { display: inline-flex; align-items: center; gap: .5rem; background: var(--kt-surface); border: 1px solid var(--kt-border); border-radius: 999px; padding: .55rem 1rem .55rem .75rem; text-decoration: none; color: var(--kt-text); font-weight: 600; transition: border-color .15s, box-shadow .15s, transform .15s; white-space: nowrap; }
.dest-chip:hover { border-color: var(--kt-navy); box-shadow: var(--kt-shadow-sm); transform: translateY(-1px); color: var(--kt-navy); }
.dest-chip .ico { width: 26px; height: 26px; border-radius: 50%; background: var(--kt-gold); color: var(--kt-navy-950); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.dest-chip .ico svg { width: 14px; height: 14px; }
@media (max-width: 991.98px) {
  .dest-rail { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 2px 16px 8px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .dest-rail::-webkit-scrollbar { display: none; }
  .dest-chip { flex: 0 0 auto; }
}

.steps-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.step-card { height: 100%; position: relative; }
.step-card .card-body { display: flex; gap: 14px; align-items: flex-start; }
.step-card .num { width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, var(--kt-navy), var(--kt-navy-700)); color: #fff; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: 0 8px 16px -8px rgba(26, 70, 184, .8); }
.step-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.step-card p { color: var(--kt-muted); margin: 0; font-size: .95rem; }
@media (min-width: 992px) { .step-card .card-body { flex-direction: column; } }
@media (max-width: 991.98px) {
  .steps-grid { grid-template-columns: 1fr; gap: 10px; }
  .step-card .card-body { padding: 14px 16px; align-items: center; }
  .step-card .num { width: 38px; height: 38px; font-size: .95rem; }
  .step-card h3 { font-size: .98rem; margin-bottom: 2px; }
  .step-card p { font-size: .86rem; }
}

.trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.trust > div { display: flex; gap: 12px; align-items: center; background: var(--kt-surface); border: 1px solid var(--kt-border); border-radius: 14px; padding: 14px 16px; }
.trust .ico { width: 40px; height: 40px; border-radius: 12px; background: var(--kt-navy-soft); color: var(--kt-navy); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.trust .ico svg { width: 20px; height: 20px; }
.trust strong { display: block; font-size: .95rem; }
.trust span { font-size: .85rem; color: var(--kt-muted); }
@media (max-width: 991.98px) { .trust { grid-template-columns: 1fr; gap: 8px; } .trust > div { padding: 12px 14px; } }

/* --------------------------------------------------------------------------
   Booking wizard
   -------------------------------------------------------------------------- */
.wizard-title { text-align: center; margin-bottom: 18px; }
.wizard-title h1 { color: var(--kt-navy-900); font-weight: 800; font-size: clamp(1.6rem, 3.6vw, 2.3rem); letter-spacing: -.02em; margin-bottom: 4px; }
.wizard-title p { color: var(--kt-muted); margin: 0; }
.stepper { display: flex; align-items: flex-start; justify-content: center; margin: 0 auto 26px; max-width: 560px; padding: 0 4px; }
.stepper .step { position: relative; width: 38px; height: 38px; border-radius: 50%; background: #e3e8f4; color: var(--kt-muted); display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; font-size: .95rem; transition: background .2s, color .2s, box-shadow .2s; }
.stepper .step .lbl { position: absolute; top: 44px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: .74rem; font-weight: 600; color: var(--kt-muted); letter-spacing: .01em; }
.stepper .step.active { background: var(--kt-navy); color: #fff; box-shadow: 0 0 0 5px rgba(26, 70, 184, .16); }
.stepper .step.active .lbl { color: var(--kt-navy); }
.stepper .step.done { background: var(--kt-gold); color: transparent; }
.stepper .step.done .lbl { color: var(--kt-gold-dark); }
.stepper .step.done::after { content: ""; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a2266' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center / 18px no-repeat; }
.stepper .bar { flex: 1; height: 3px; background: #e3e8f4; margin-top: 18px; border-radius: 2px; min-width: 24px; }
.stepper .bar.done { background: var(--kt-gold); }
.stepper.has-labels { margin-bottom: 46px; padding: 0 52px; } /* edge labels are centred under their circles and would otherwise clip on phones */
@media (max-width: 479.98px) { .stepper .step .lbl { font-size: .68rem; } }
.wizard-card { max-width: 680px; margin: 0 auto; }
.wizard-card h2 { color: var(--kt-navy-900); font-weight: 800; font-size: clamp(1.25rem, 2.6vw, 1.55rem); margin-bottom: .5rem; }
.wizard-card h3 { font-size: 1.05rem; }
.wizard-card .card-body { --pad: clamp(1.15rem, 3vw, 1.9rem); padding: var(--pad); }
.wizard-pane[hidden] { display: none; }
.wizard-nav { display: flex; gap: 12px; margin-top: 24px; }
.wizard-nav .btn { flex: 1; padding: .85rem; }
.lead-ico { width: 48px; height: 48px; border-radius: 14px; background: var(--kt-navy-soft); color: var(--kt-navy); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.lead-ico svg { width: 22px; height: 22px; }

/* Booking flow layout: desktop gets a sticky brand/progress panel on the left and the wizard on the right;
   below lg the panel disappears and the wizard owns the screen with an app-style pinned action bar. */
.flow-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: start; }
.flow-aside { display: none; }
@media (min-width: 992px) {
  .flow-layout { grid-template-columns: minmax(300px, 360px) minmax(0, 1fr); }
  .flow-aside { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 86px; }
  .flow-main .wizard-card { max-width: none; }
  .flow-main .wizard-title { text-align: left; }
  .flow-main .stepper { margin-left: 0; padding: 0 64px 0 60px; } /* room for the centred labels under the first and last step */
}
@media (min-width: 1200px) { .flow-layout { grid-template-columns: minmax(320px, 400px) minmax(0, 1fr); gap: 36px; } }
.flow-banner { position: relative; overflow: hidden; border-radius: var(--kt-radius-lg); color: #fff; box-shadow: var(--kt-shadow-md); background: linear-gradient(160deg, var(--kt-navy-950) 0%, var(--kt-navy) 60%, var(--kt-navy-700) 100%); }
.flow-banner-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .5; }
.flow-banner-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 34, 102, .55) 0%, rgba(10, 34, 102, .92) 55%, rgba(10, 34, 102, .98) 100%); }
.flow-banner-inner { position: relative; padding: 150px 26px 26px; }
.flow-banner .eyebrow { display: inline-flex; align-items: center; gap: .5rem; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); color: #fff; border-radius: 999px; padding: .3rem .8rem; font-size: .78rem; font-weight: 600; margin-bottom: 14px; }
.flow-banner .eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--kt-gold); box-shadow: 0 0 0 4px rgba(255, 194, 14, .25); }
.flow-banner h2 { color: #fff; font-weight: 800; font-size: 1.7rem; letter-spacing: -.02em; line-height: 1.12; margin: 0 0 8px; }
.flow-banner p { color: rgba(255, 255, 255, .82); font-size: .95rem; margin: 0 0 20px; }
.flow-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.flow-steps li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); transition: background .2s; }
.flow-steps li .n { width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: .85rem; flex-shrink: 0; }
.flow-steps li strong { display: block; font-size: .92rem; color: #fff; }
.flow-steps li span:not(.n) { font-size: .8rem; color: rgba(255, 255, 255, .7); }
.flow-steps li.active { background: rgba(255, 255, 255, .14); border-color: rgba(255, 194, 14, .55); }
.flow-steps li.active .n { background: var(--kt-gold); color: var(--kt-navy-950); box-shadow: 0 0 0 4px rgba(255, 194, 14, .25); }
.flow-steps li.done .n { background: var(--kt-gold); color: transparent; position: relative; }
.flow-steps li.done .n::after { content: ""; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a2266' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center / 16px no-repeat; }
.flow-help { background: var(--kt-surface); border: 1px solid var(--kt-border); border-radius: var(--kt-radius-lg); padding: 18px 20px; box-shadow: var(--kt-shadow-xs); }
.flow-help-title { font-weight: 700; color: var(--kt-navy-900); display: flex; align-items: center; gap: .5rem; margin-bottom: 12px; }
.flow-help-title .ico { width: 20px; height: 20px; color: var(--kt-gold-dark); }
.flow-help-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.flow-help-actions .btn { flex: 1 1 auto; font-size: .9rem; }
.flow-help-foot { margin-top: 14px; font-size: .8rem; color: var(--kt-muted); display: flex; flex-wrap: wrap; align-items: center; gap: .3rem; }
.flow-help-foot .ico { width: 14px; height: 14px; }
/* App-style checkout: pin the wizard's Back / Continue bar to the bottom of the viewport on phones and tablets. */
@media (max-width: 991.98px) {
  .flow-page .wizard-card .card-body > .wizard-nav { position: sticky; bottom: 0; z-index: 5; margin: 24px calc(var(--pad) * -1) calc(var(--pad) * -1); padding: 12px var(--pad) calc(12px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--kt-border); border-radius: 0 0 var(--kt-radius-lg) var(--kt-radius-lg); }
  .flow-page .wizard-title { text-align: left; margin-bottom: 12px; }
  .flow-page .wizard-title h1 { font-size: 1.45rem; }
  .flow-page .stepper { margin-left: 0; }
}
.selected-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--kt-surface-2); border: 1px solid var(--kt-border); border-radius: 12px; padding: .7rem 1rem; margin-bottom: 14px; }
.selected-bar .k { color: var(--kt-muted); }
.selected-bar .v { font-weight: 700; color: var(--kt-text); }
.trip-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; background: linear-gradient(135deg, var(--kt-navy-900), var(--kt-navy)); color: #fff; border-radius: 16px; padding: 14px 18px; margin-bottom: 14px; box-shadow: var(--kt-shadow-sm); }
.trip-strip .route { font-weight: 800; font-size: 1.1rem; display: inline-flex; align-items: center; gap: .4rem; }
.trip-strip .route .ico { width: 18px; height: 18px; color: var(--kt-gold); }
.trip-strip .meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .9rem; color: rgba(255, 255, 255, .85); }
.trip-strip .meta span { display: inline-flex; align-items: center; gap: .35rem; }
.trip-strip .meta .ico { width: 15px; height: 15px; opacity: .9; }
.trip-strip .fare { margin-left: auto; font-weight: 800; font-size: 1.2rem; color: var(--kt-gold); }
.trip-strip .fare small { font-size: .72rem; color: rgba(255, 255, 255, .75); font-weight: 500; }
.quick-dates { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 8px; margin-bottom: 10px; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.quick-dates a { flex: 0 0 auto; display: inline-flex; flex-direction: column; align-items: center; min-width: 66px; padding: 8px 10px; border-radius: 14px; border: 1.5px solid var(--kt-border); background: var(--kt-surface); text-decoration: none; color: var(--kt-text); line-height: 1.15; transition: border-color .15s, background .15s, transform .15s; }
.quick-dates a .dow { font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--kt-muted); font-weight: 600; }
.quick-dates a .dd { font-size: 1.25rem; font-weight: 800; color: var(--kt-navy-900); }
.quick-dates a .mm { font-size: .72rem; color: var(--kt-muted); }
.quick-dates a:hover { border-color: var(--kt-navy); transform: translateY(-1px); }
.quick-dates a.selected { background: var(--kt-navy); border-color: var(--kt-navy); }
.quick-dates a.selected .dow, .quick-dates a.selected .dd, .quick-dates a.selected .mm { color: #fff; }
.quick-dates a.all { justify-content: center; font-weight: 600; color: var(--kt-navy); }

.calendar-card { border: 1px solid var(--kt-border); border-radius: 16px; padding: 14px 12px 8px; background: var(--kt-surface); }
.calendar-card .cal-head { display: flex; justify-content: space-between; align-items: center; padding: 0 6px 10px; }
.calendar-card .cal-head strong { font-size: 1.1rem; }
.calendar-card .cal-head .btn { width: 36px; height: 36px; padding: 0; border-radius: 10px; color: var(--kt-accent); }
.calendar { width: 100%; border-collapse: separate; border-spacing: 0 4px; }
.calendar th { text-align: center; font-weight: 600; font-size: .78rem; color: var(--kt-muted); padding: 4px 0 8px; text-transform: uppercase; letter-spacing: .04em; }
.calendar td { text-align: center; padding: 1px 0; }
.calendar .day { display: inline-flex; width: 40px; height: 40px; border-radius: 50%; align-items: center; justify-content: center; color: var(--kt-muted-2); font-weight: 500; transition: background .15s, transform .15s; }
.calendar .day.available { color: var(--kt-navy-900); font-weight: 700; text-decoration: none; background: var(--kt-gold-soft); border: 1px solid #ffe08a; }
.calendar .day.available:hover { background: #ffe9a8; transform: scale(1.06); }
.calendar .day.selected, .calendar .day.selected:hover { background: var(--kt-navy); border-color: var(--kt-navy); color: #fff; box-shadow: 0 0 0 4px rgba(26, 70, 184, .18); }
.calendar .day.today { outline: 2px solid var(--kt-accent); outline-offset: 1px; }
.cal-legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: .8rem; color: var(--kt-muted); padding: 10px 6px 4px; }
.cal-legend span { display: inline-flex; align-items: center; gap: 6px; }
.cal-legend i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.cal-legend .av { background: var(--kt-gold-soft); border: 1px solid #ffe08a; }
.cal-legend .sel { background: var(--kt-navy); }
.cal-legend .td { border: 2px solid var(--kt-accent); }

.slot-card { position: relative; border: 1.5px solid var(--kt-border); border-radius: 16px; padding: 16px 18px; display: block; text-decoration: none; color: inherit; background: var(--kt-surface); transition: border-color .15s, box-shadow .2s var(--kt-ease), transform .2s var(--kt-ease); }
.slot-card::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 4px; border-radius: 0 4px 4px 0; background: var(--kt-gold); }
.slot-card:hover { border-color: var(--kt-navy); box-shadow: var(--kt-shadow-md); color: inherit; transform: translateY(-2px); }
.slot-card .label { font-size: .72rem; letter-spacing: .08em; color: var(--kt-muted); text-transform: uppercase; font-weight: 600; }
.slot-card .time { font-size: 1.3rem; font-weight: 800; color: var(--kt-text); letter-spacing: -.01em; }
.slot-card .price { font-size: 1.3rem; font-weight: 800; color: var(--kt-navy); white-space: nowrap; }
.slot-card .price small { display: block; font-size: .72rem; color: var(--kt-muted); font-weight: 500; text-align: right; }
.slot-card .meta { color: var(--kt-muted); font-size: .9rem; display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 2px; }
.slot-card .seats-ok { color: var(--kt-success); font-weight: 600; }
.slot-card .seats-low { color: var(--kt-warning); font-weight: 600; }
.slot-card .seats-no { color: var(--kt-danger); font-weight: 600; }
.slot-card.full { opacity: .6; pointer-events: none; }
.slot-card .go { position: absolute; right: 18px; bottom: 14px; color: var(--kt-navy); font-weight: 600; font-size: .85rem; display: inline-flex; align-items: center; gap: .3rem; opacity: 0; transform: translateX(-6px); transition: opacity .2s, transform .2s; }
.slot-card:hover .go { opacity: 1; transform: none; }
@media (hover: none) { .slot-card .go { display: none; } }

.option-card { display: flex; align-items: center; gap: 14px; border: 1.5px solid var(--kt-border); border-radius: 14px; padding: 14px 16px; background: var(--kt-surface); cursor: pointer; margin-bottom: 10px; transition: border-color .15s, box-shadow .15s, background .15s; }
.option-card:hover { border-color: var(--kt-border-strong); }
.option-card:has(input:checked) { border-color: var(--kt-navy); background: var(--kt-surface-2); box-shadow: 0 0 0 3px rgba(26, 70, 184, .12); }
.option-card input { width: 20px; height: 20px; accent-color: var(--kt-navy); flex-shrink: 0; margin: 0; }
.option-card > span { line-height: 1.4; }

.counter { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 10px 0 4px; }
.counter button { width: 58px; height: 58px; border-radius: 16px; border: 1.5px solid var(--kt-border); background: var(--kt-surface); font-size: 1.6rem; color: var(--kt-navy); font-weight: 700; transition: background .15s, border-color .15s, transform .1s; box-shadow: var(--kt-shadow-xs); }
.counter button:hover { background: var(--kt-navy-soft); border-color: var(--kt-navy); }
.counter button:active { transform: scale(.96); }
.counter .value { font-size: 2.6rem; font-weight: 800; line-height: 1; letter-spacing: -.02em; color: var(--kt-navy-900); }
.counter .sub { color: var(--kt-muted); margin-top: 4px; font-weight: 500; }

.passenger-card { border: 1px solid var(--kt-border); border-radius: 16px; padding: 18px; margin-bottom: 14px; background: var(--kt-surface-2); }
.passenger-card .badge-num { display: inline-flex; width: 28px; height: 28px; border-radius: 50%; background: var(--kt-navy); color: #fff; align-items: center; justify-content: center; font-weight: 700; margin-right: 8px; font-size: .85rem; }
.passenger-card .form-control, .passenger-card .form-select { background: var(--kt-surface); }

.summary-row { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; }
.summary-row .k { color: var(--kt-muted); }
.summary-row .v { font-weight: 600; text-align: right; }
.summary-total { border-top: 1px solid var(--kt-border-strong); margin-top: 8px; padding-top: 12px; font-size: 1.25rem; font-weight: 800; color: var(--kt-navy); }
.summary-passenger { display: flex; align-items: center; gap: 12px; background: var(--kt-surface); border: 1px solid var(--kt-border); border-radius: 12px; padding: 10px 12px; margin-bottom: 8px; }
.summary-passenger .n { width: 30px; height: 30px; border-radius: 50%; background: var(--kt-gold); color: var(--kt-navy-950); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: .85rem; flex-shrink: 0; }

/* Seat map */
.seatmap { display: inline-grid; gap: 6px; padding: 14px; background: var(--kt-surface-2); border: 1px solid var(--kt-border); border-radius: 14px; max-width: 100%; overflow-x: auto; }
.seat { width: 38px; height: 38px; border-radius: 9px; border: 1.5px solid var(--kt-border-strong); background: var(--kt-surface); font-size: .78rem; font-weight: 700; display: flex; align-items: center; justify-content: center; cursor: pointer; user-select: none; transition: background .12s, transform .12s; }
.seat:hover { transform: translateY(-1px); }
.seat.aisle-gap { margin-left: 18px; }
.seat.window { border-color: #93c5fd; }
.seat.premium { border-color: var(--kt-gold); }
.seat.unavailable { background: #e5e7eb; color: #9ca3af; cursor: not-allowed; }
.seat.confirmed { background: #fecaca; color: #991b1b; cursor: default; }
.seat.held { background: #fde68a; color: #92400e; cursor: default; }
.seat.blocked { background: #d1d5db; color: #6b7280; cursor: default; }
.seat.selected { background: var(--kt-navy); color: #fff; border-color: var(--kt-navy); box-shadow: 0 4px 10px -4px rgba(26, 70, 184, .9); }
.seat-legend { display: flex; flex-wrap: wrap; gap: 12px; font-size: .85rem; color: var(--kt-muted); margin-top: 10px; }
.seat-legend .seat { width: 20px; height: 20px; font-size: 0; cursor: default; border-radius: 5px; }

/* Payment */
.pay-amount { text-align: center; padding: 20px 0 16px; }
.pay-amount .pay-ico { width: 64px; height: 64px; border-radius: 18px; background: var(--kt-gold-soft); color: var(--kt-navy-900); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.pay-amount .pay-ico svg { width: 30px; height: 30px; }
.pay-amount .amount { font-size: clamp(2.3rem, 6vw, 3rem); font-weight: 800; color: var(--kt-navy-900); letter-spacing: -.03em; line-height: 1; }
.pay-amount .ref { color: var(--kt-muted); margin-top: 6px; }
.countdown { font-weight: 700; color: var(--kt-warning); font-variant-numeric: tabular-nums; }
.pay-methods { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.pay-methods span { font-size: .78rem; font-weight: 600; color: var(--kt-text-2); background: var(--kt-surface-2); border: 1px solid var(--kt-border); border-radius: 999px; padding: .3rem .7rem; }

/* Confirmation */
.success-mark { width: 72px; height: 72px; border-radius: 50%; background: var(--kt-success-soft); color: var(--kt-success); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 12px; box-shadow: 0 0 0 10px rgba(21, 128, 61, .08); }
.success-mark svg { width: 36px; height: 36px; }
.booking-ref { display: inline-block; font-size: 1.6rem; font-weight: 800; letter-spacing: .08em; color: var(--kt-navy-950); background: var(--kt-gold-soft); border: 1px dashed var(--kt-gold-dark); border-radius: 12px; padding: .35rem 1rem; margin-top: 4px; font-variant-numeric: tabular-nums; }

/* Ticket */
.ticket { background: var(--kt-surface); border: 1px solid var(--kt-border); border-radius: var(--kt-radius-lg); overflow: hidden; box-shadow: var(--kt-shadow-md); position: relative; }
.ticket-head { background: linear-gradient(135deg, var(--kt-navy-950), var(--kt-navy-700)); color: #fff; padding: 18px 22px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.ticket-head .text-white-50 { letter-spacing: .12em; font-size: .72rem; font-weight: 600; }
.ticket-body { padding: 22px; }
.ticket-body::before { content: ""; display: block; border-top: 2px dashed var(--kt-border-strong); margin: -22px -22px 18px; position: relative; }
.ticket .route { font-size: clamp(1.25rem, 3vw, 1.6rem); font-weight: 800; color: var(--kt-navy-900); letter-spacing: -.01em; }
.ticket .table th { background: transparent; }
.status-pill { display: inline-block; padding: 5px 13px; border-radius: 999px; font-weight: 700; font-size: .82rem; letter-spacing: .02em; }
.status-pill.confirmed { background: var(--kt-success-soft); color: #166534; }
.status-pill.pending { background: var(--kt-warning-soft); color: #92400e; }
.status-pill.cancelled, .status-pill.expired { background: var(--kt-danger-soft); color: #991b1b; }

.login-card { max-width: 440px; margin: 32px auto; }
.login-card .brand-logo { width: 72px; height: 72px; margin-bottom: 12px; }
.content-body { white-space: pre-wrap; line-height: 1.7; color: var(--kt-text-2); }
.page-card { max-width: 860px; margin: 0 auto; }
/* Policy pages: rendered from the light "## heading / - bullet" format by PolicyFormatter */
.legal-entity { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px 20px; background: var(--kt-surface-2); border: 1px solid var(--kt-border); border-radius: 14px; padding: 14px 18px; margin-bottom: 22px; font-size: .92rem; }
.legal-entity .k { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--kt-muted); font-weight: 600; }
.legal-entity .v { font-weight: 600; color: var(--kt-text); }
.policy { line-height: 1.7; color: var(--kt-text-2); max-width: 72ch; }
.policy h2 { font-size: 1.08rem; color: var(--kt-navy-900); margin: 26px 0 8px; padding-top: 14px; border-top: 1px solid var(--kt-border); }
.policy h2:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
.policy p { margin: 0 0 12px; }
.policy ul { padding-left: 1.3rem; margin: 0 0 12px; }
.policy li { margin-bottom: 6px; }
.policy li::marker { color: var(--kt-gold-dark); }
.policy-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--kt-border); font-weight: 600; }
.policy-links a { text-decoration: none; }
/* Consent checkbox in the booking wizard */
.consent-box { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 10px 12px; background: var(--kt-gold-soft); border: 1px solid #ffe08a; border-radius: 14px; padding: 14px 16px; margin-top: 14px; }
.consent-box .form-check-input { width: 1.35em; height: 1.35em; margin: .1em 0 0; flex-shrink: 0; }
.consent-box label { flex: 1 1 240px; font-size: .92rem; color: var(--kt-text); line-height: 1.5; cursor: pointer; }
.consent-box label a { font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.site-footer .footer-legal { margin-top: 26px; font-size: .85rem; color: rgba(255, 255, 255, .7); line-height: 1.6; }
.site-footer .footer-legal strong { color: #fff; }
.site-footer .footer-legal span { white-space: normal; }
.site-footer .footer-bottom a { text-decoration: underline; text-underline-offset: 2px; color: rgba(255, 255, 255, .75); }
@media (max-width: 991.98px) { .site-footer .footer-legal { text-align: center; margin-top: 14px; font-size: .78rem; } }

@media print {
  .site-header, .site-footer, .no-print, .announcement { display: none !important; }
  .site-main { padding: 0; }
  body { background: #fff; }
  .ticket { box-shadow: none; }
}

/* --------------------------------------------------------------------------
   Admin
   -------------------------------------------------------------------------- */
.admin-body { background: var(--kt-bg); }
.admin-topbar { background: var(--kt-surface); border-bottom: 1px solid var(--kt-border); position: sticky; top: 0; z-index: 1030; box-shadow: var(--kt-shadow-xs); min-height: 60px; }
.admin-topbar .navbar-brand { color: var(--kt-navy-900); font-weight: 800; display: inline-flex; align-items: center; gap: .6rem; }
.admin-topbar .navbar-brand .brand-logo { width: 36px; height: 36px; }
.admin-topbar .navbar-brand .badge { background: var(--kt-gold) !important; color: var(--kt-navy-950) !important; font-size: .7rem; }
.admin-topbar .top-links { display: flex; align-items: center; gap: .5rem 1rem; }
.admin-topbar .top-links a { color: var(--kt-text-2); text-decoration: none; font-weight: 500; }
.admin-topbar .top-links a:hover { color: var(--kt-navy); }
.admin-topbar .user-chip { display: inline-flex; align-items: center; gap: .55rem; color: var(--kt-text); text-decoration: none; font-weight: 600; padding: .3rem .6rem .3rem .3rem; border-radius: 999px; border: 1px solid var(--kt-border); background: var(--kt-surface-2); }
.admin-topbar .user-chip .avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--kt-navy); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: .8rem; font-weight: 700; }
.admin-topbar .menu-btn { border: 1px solid var(--kt-border); background: var(--kt-surface); border-radius: 10px; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; color: var(--kt-navy); }
.admin-shell { display: flex; min-height: calc(100vh - 60px); }
/* Sidebar: static column on desktop, slide-in drawer below 992px (own CSS/JS; the vendored Bootstrap 5.1 has no responsive offcanvas). */
.admin-sidebar { width: 250px; background: linear-gradient(180deg, var(--kt-navy-950), var(--kt-navy-900) 60%, var(--kt-navy)); color: #fff; padding: 14px 12px; flex-shrink: 0; border-right: 0; }
.admin-sidebar .sidebar-head { display: flex; justify-content: space-between; align-items: center; color: #fff; padding: 6px 14px 14px; border-bottom: 1px solid rgba(255, 255, 255, .12); margin-bottom: 6px; }
.admin-backdrop { display: none; position: fixed; inset: 0; background: rgba(10, 34, 102, .55); z-index: 1040; backdrop-filter: blur(2px); }
@media (max-width: 991.98px) {
  .admin-sidebar { position: fixed; top: 0; bottom: 0; left: 0; width: min(300px, 86vw); z-index: 1045; overflow-y: auto; transform: translateX(-102%); transition: transform .25s var(--kt-ease); box-shadow: var(--kt-shadow-lg); }
  body.sidebar-open .admin-sidebar { transform: none; }
  body.sidebar-open .admin-backdrop { display: block; }
  body.sidebar-open { overflow: hidden; }
}
.admin-nav .nav-section { font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; color: rgba(255, 255, 255, .45); padding: 14px 14px 6px; font-weight: 700; }
.admin-nav .nav-link { color: rgba(255, 255, 255, .8); padding: 9px 14px; border-radius: 10px; margin: 2px 0; display: flex; align-items: center; gap: .7rem; font-weight: 500; font-size: .95rem; transition: background .15s, color .15s; }
.admin-nav .nav-link .ico { width: 18px; height: 18px; opacity: .75; flex-shrink: 0; }
.admin-nav .nav-link:hover { background: rgba(255, 255, 255, .09); color: #fff; }
.admin-nav .nav-link.active { color: #fff; font-weight: 600; background: rgba(255, 255, 255, .15); box-shadow: inset 3px 0 0 var(--kt-gold); }
.admin-nav .nav-link.active .ico { opacity: 1; color: var(--kt-gold); }
.admin-content { flex: 1; padding: 24px 28px 48px; min-width: 0; }
.admin-content > .page-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; margin-bottom: 18px; gap: 10px; }
.admin-content > .page-head h1 { font-size: 1.45rem; margin: 0; color: var(--kt-navy-900); letter-spacing: -.02em; }
@media (max-width: 991.98px) {
  .admin-sidebar { width: 280px; }
  .admin-content { padding: 18px 16px 40px; }
}
@media (min-width: 992px) { .admin-sidebar { position: sticky; top: 60px; height: calc(100vh - 60px); overflow-y: auto; } }
.metric { position: relative; background: var(--kt-surface); border: 1px solid var(--kt-border); border-radius: 16px; padding: 16px 18px; height: 100%; box-shadow: var(--kt-shadow-xs); overflow: hidden; }
.metric::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--kt-navy), var(--kt-gold)); }
.metric .label { color: var(--kt-muted); font-size: .82rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.metric .value { font-size: clamp(1.4rem, 2.4vw, 1.8rem); font-weight: 800; color: var(--kt-navy-900); letter-spacing: -.02em; line-height: 1.2; margin-top: 4px; }
.table-card { background: var(--kt-surface); border: 1px solid var(--kt-border); border-radius: 16px; overflow: hidden; box-shadow: var(--kt-shadow-xs); }
.table-card .table { margin-bottom: 0; }
.table-card > .p-3.border-bottom { font-size: .95rem; }
.filter-bar { background: var(--kt-surface); border: 1px solid var(--kt-border); border-radius: 16px; padding: 14px 18px; margin-bottom: 16px; box-shadow: var(--kt-shadow-xs); }
.toggle-list .form-check { padding: 12px 0 12px 2.6em; border-bottom: 1px solid var(--kt-border); }
.toggle-list .form-check:last-child { border-bottom: 0; }
.secret-note { font-size: .8rem; color: var(--kt-muted); }
.nav-tabs { border-bottom-color: var(--kt-border); gap: 2px; }
.nav-tabs .nav-link { border: 0; border-bottom: 2px solid transparent; color: var(--kt-text-2); font-weight: 500; padding: .6rem .9rem; }
.nav-tabs .nav-link.active { color: var(--kt-navy); border-bottom-color: var(--kt-gold); background: transparent; font-weight: 600; }

/* Motion preferences */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
