/* ============================================================
   FlyTrips & Holidays — Main Stylesheet
   Light theme | Font: Sora + DM Sans
   ============================================================ */

:root {
  --brand:       #1D4ED8;
  --brand-dark:  #1e3a8a;
  --brand-mid:   #3B82F6;
  --brand-lt:    #EFF6FF;
  --brand-pale:  #F5F8FF;
  --accent:      #F97316;
  --accent-lt:   #FFF7ED;
  --text:        #1e293b;
  --text-muted:  #64748b;
  --text-light:  #94a3b8;
  --border:      #E2E8F0;
  --bg:          #F8FAFC;
  --white:       #FFFFFF;
  --radius:      12px;
  --radius-lg:   18px;
  --shadow-sm:   0 1px 4px rgba(0,0,0,.06);
  --shadow:      0 4px 20px rgba(0,0,0,.08);
  --shadow-lg:   0 12px 48px rgba(0,0,0,.12);
}

*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

h1,h2,h3,h4,h5,h6 {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
}

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }

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

/* ── TOP BAR ── */
.topbar {
  background: var(--brand-dark);
  color: rgba(255,255,255,.85);
  font-size: .78rem;
  padding: 6px 0;
}
.topbar-link {
  color: rgba(255,255,255,.85);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color .15s;
}
.topbar-link:hover { color: #fff; }
.topbar-sep { color: rgba(255,255,255,.3); }
.topbar-text { color: rgba(255,255,255,.6); font-size: .75rem; }

/* ── NAVBAR ── */
.site-nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 10px 0;
  z-index: 1000;
}
.navbar-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-icon {
  width: 38px; height: 38px;
  background: var(--brand);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: .95rem;
  flex-shrink: 0;
}
.brand-text {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text);
}
.brand-accent { color: var(--brand); }

.site-nav .nav-link {
  font-weight: 500;
  color: var(--text-muted);
  font-size: .875rem;
  padding: 6px 12px;
  border-radius: 8px;
  transition: all .15s;
}
.site-nav .nav-link:hover,
.site-nav .nav-link.active {
  color: var(--brand);
  background: var(--brand-lt);
}
.btn-nav-cta {
  background: var(--brand);
  color: #fff !important;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 600;
  font-size: .85rem;
  white-space: nowrap;
  transition: all .18s;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.btn-nav-cta:hover { background: var(--brand-dark); transform: translateY(-1px); }

.navbar-toggler {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px 10px;
}
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler i { color: var(--text); font-size: .95rem; }

/* ── SECTION HEADINGS ── */
.section-label {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--brand);
  margin-bottom: 8px;
}
.section-title {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 10px;
}
.section-sub {
  color: var(--text-muted);
  font-size: .95rem;
  max-width: 540px;
}

/* ── BUTTONS ── */
.btn-primary-ft {
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 11px 24px;
  font-weight: 600;
  font-size: .9rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all .18s;
  cursor: pointer;
  text-decoration: none;
}
.btn-primary-ft:hover { background: var(--brand-dark); transform: translateY(-1px); color: #fff; }

.btn-outline-ft {
  background: transparent;
  color: var(--brand);
  border: 1.5px solid var(--brand);
  border-radius: var(--radius);
  padding: 10px 22px;
  font-weight: 600;
  font-size: .9rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all .18s;
  text-decoration: none;
}
.btn-outline-ft:hover { background: var(--brand); color: #fff; }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: linear-gradient(135deg, #1e3a8a 0%, #1D4ED8 60%, #3B82F6 100%);
  color: #fff;
  padding: 56px 0 48px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 50px;
  background: var(--bg);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.page-hero h1 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.6rem); }
.page-hero p  { color: rgba(255,255,255,.8); font-size: 1rem; }
.breadcrumb-item a { color: rgba(255,255,255,.7); }
.breadcrumb-item.active { color: rgba(255,255,255,.9); }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.4); }

/* ── SEARCH WIDGET (homepage) ── */
.search-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 48px rgba(29,78,216,.14);
  overflow: visible;
  border: 1px solid var(--border);
}
.card-tab-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 16px 24px 0;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.tab-flight-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px 14px;
  border: none; background: none;
  font-weight: 700; font-size: .9rem;
  color: var(--brand);
  border-bottom: 3px solid var(--brand);
  cursor: pointer;
  font-family: 'Sora', sans-serif;
}
.card-body-inner { padding: 24px; }
.fields-row {
  background: var(--brand-pale);
  border: 1.5px solid #DBEAFE;
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 16px;
}
.row-divider { height: 1px; background: var(--border); margin: 14px 0; }

/* Trip pills */
.trip-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 18px;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  font-size: .83rem; font-weight: 600;
  color: var(--text-muted);
  background: #fff;
  cursor: pointer;
  transition: all .18s;
  user-select: none;
}
.trip-pill:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-lt); }
.trip-pill.active { border-color: var(--brand); color: var(--brand); background: var(--brand-lt); }

/* Form fields */
.fs-field {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 14px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--text);
  width: 100%;
  transition: border-color .18s, box-shadow .18s;
  outline: none;
  font-family: 'DM Sans', sans-serif;
}
.fs-field:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(29,78,216,.1);
}
.fs-field::placeholder { color: #b0bad0; font-weight: 400; }
input[type="date"].fs-field { position: relative; padding-right: 36px; }
input[type="date"].fs-field::-webkit-calendar-picker-indicator {
  opacity: 0; position: absolute; right: 0; top: 0;
  width: 100%; height: 100%; cursor: pointer;
}
.date-wrap { position: relative; }
.date-wrap .cal-icon {
  position: absolute; right: 12px; top: 50%;
  transform: translateY(-50%);
  color: var(--brand); pointer-events: none; font-size: .9rem;
}
.fs-label {
  display: block; font-size: .7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .6px;
  color: var(--brand); margin-bottom: 5px;
}

/* Swap btn */
.swap-btn {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--brand-lt);
  border: 1.5px solid #DBEAFE;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all .18s; flex-shrink: 0;
}
.swap-btn:hover { background: var(--brand); }
.swap-btn:hover svg path { fill: #fff !important; }
.swap-btn svg { transition: transform .3s; }
.swap-btn:hover svg { transform: rotate(180deg); }

/* Passenger panel */
.pax-trigger {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 14px;
  font-size: .9rem; font-weight: 500;
  color: var(--text); cursor: pointer; width: 100%;
  text-align: left; transition: border-color .18s;
  display: flex; align-items: center; justify-content: space-between;
  font-family: 'DM Sans', sans-serif;
}
.pax-trigger:hover { border-color: var(--brand); }
.pax-panel {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0;
  z-index: 9000; background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 20px; display: none; min-width: 300px;
}
.pax-panel.open { display: block; }
.pax-row {
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 10px 0; border-bottom: 1px solid var(--border);
}
.pax-row:last-of-type { border-bottom: none; }
.pax-label h6 { margin: 0; font-size: .88rem; font-weight: 700; }
.pax-label p  { margin: 0; font-size: .72rem; color: var(--text-light); }
.qty-wrap { display: flex; align-items: center; gap: 8px; }
.qty-btn {
  width: 30px; height: 30px; border-radius: 8px;
  border: 1.5px solid var(--border);
  background: var(--brand-lt); color: var(--brand);
  font-size: 1rem; font-weight: 700; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s; flex-shrink: 0;
}
.qty-btn:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.qty-num {
  width: 32px; height: 30px;
  border: 1.5px solid var(--border);
  border-radius: 8px; text-align: center;
  font-weight: 700; font-size: .88rem; color: var(--text); background: #fff;
}
.class-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 14px; }
.class-opt input { display: none; }
.class-opt label {
  display: block; text-align: center; padding: 7px 6px;
  border-radius: 8px; border: 1.5px solid var(--border);
  background: var(--bg); font-size: .75rem; font-weight: 600;
  color: var(--text-muted); cursor: pointer; transition: all .15s;
}
.class-opt label:hover { background: var(--brand-lt); border-color: var(--brand); color: var(--brand); }
.class-opt input:checked + label { background: var(--brand-lt); border-color: var(--brand); color: var(--brand); }
.pax-info-note {
  background: var(--brand-pale); border-radius: 8px;
  padding: 6px 10px; font-size: .72rem; color: var(--text-muted); margin-top: 10px;
}
.pax-done {
  width: 100%; margin-top: 12px; background: var(--brand);
  color: #fff; border: none; border-radius: var(--radius);
  padding: 9px; font-weight: 700; font-size: .85rem;
  cursor: pointer; transition: background .18s;
  font-family: 'DM Sans', sans-serif;
}
.pax-done:hover { background: var(--brand-dark); }

/* Autocomplete */
.ac-wrap { position: relative; }
.ac-drop {
  position: absolute; top: calc(100% + 4px); left: 0; right: 0;
  z-index: 9999; background: #fff;
  border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); max-height: 220px; overflow-y: auto; display: none;
}
.ac-item {
  padding: 9px 14px; cursor: pointer; font-size: .83rem;
  border-bottom: 1px solid #F8FAFC;
  display: flex; align-items: center; gap: 8px; transition: background .12s;
}
.ac-item:last-child { border-bottom: none; }
.ac-item:hover { background: var(--brand-lt); }
.ac-code {
  font-weight: 800; font-size: .78rem; color: #fff;
  background: var(--brand); border-radius: 5px; padding: 1px 6px; flex-shrink: 0;
}
.ac-city { font-size: .75rem; color: var(--text-light); }

/* Search btn */
.btn-search-main {
  background: var(--brand); color: #fff; border: none;
  border-radius: var(--radius); padding: 11px 28px;
  font-weight: 700; font-size: .9rem;
  display: inline-flex; align-items: center; gap: 8px;
  transition: all .2s; white-space: nowrap;
  font-family: 'Sora', sans-serif; cursor: pointer;
}
.btn-search-main:hover { background: var(--brand-dark); transform: translateY(-1px); }
.phone-link {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--accent-lt); border: 1.5px solid #FED7AA;
  border-radius: var(--radius); padding: 10px 16px;
  font-size: .83rem; font-weight: 600; color: var(--accent);
  text-decoration: none; white-space: nowrap; transition: background .18s;
}
.phone-link:hover { background: #FDBA74; color: #fff; }

/* ── TRUST STRIP ── */
.trust-strip {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
.trust-item {
  display: flex; align-items: center; gap: 10px;
  font-size: .82rem; font-weight: 600; color: var(--text-muted);
}
.trust-item i { color: var(--brand); font-size: 1.1rem; }

/* ── POPULAR ROUTES SECTION ── */
.route-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 18px;
  cursor: pointer;
  transition: all .2s;
  text-decoration: none;
  display: block;
  position: relative;
  overflow: hidden;
}
.route-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--brand);
  transform: scaleX(0);
  transition: transform .25s;
}
.route-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: var(--brand-mid); }
.route-card:hover::before { transform: scaleX(1); }
.route-card .from-to {
  font-family: 'Sora', sans-serif;
  font-weight: 700; font-size: .95rem; color: var(--text);
  display: flex; align-items: center; gap: 6px;
}
.route-card .arrow-dot {
  color: var(--brand-mid); font-size: .8rem;
}
.route-card .country { font-size: .78rem; color: var(--text-light); margin-top: 3px; }
.route-card .iata-badge {
  background: var(--brand-lt);
  color: var(--brand);
  font-size: .7rem; font-weight: 700;
  padding: 2px 8px; border-radius: 50px;
}

/* ── WHY CHOOSE US ── */
.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--border);
  transition: all .2s;
  height: 100%;
}
.feature-card:hover { box-shadow: var(--shadow); border-color: #BFDBFE; }
.feature-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin-bottom: 16px;
}
.feature-icon.blue   { background: var(--brand-lt); color: var(--brand); }
.feature-icon.orange { background: var(--accent-lt); color: var(--accent); }
.feature-icon.green  { background: #F0FDF4; color: #16a34a; }
.feature-icon.purple { background: #F3F0FF; color: #7c3aed; }
.feature-card h5 { font-size: .95rem; font-weight: 700; margin-bottom: 8px; }
.feature-card p  { font-size: .85rem; color: var(--text-muted); margin: 0; }

/* ── BLOG CARDS ── */
.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all .2s;
  height: 100%;
  display: flex; flex-direction: column;
}
.blog-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.blog-card-img {
  width: 100%; height: 200px;
  object-fit: cover; display: block;
}
.blog-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.blog-cat {
  font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .8px;
  color: var(--brand); margin-bottom: 8px;
  background: var(--brand-lt); display: inline-block;
  padding: 2px 10px; border-radius: 50px;
}
.blog-card h4 {
  font-size: 1rem; font-weight: 700; line-height: 1.35; margin-bottom: 8px;
  color: var(--text);
}
.blog-card p { font-size: .83rem; color: var(--text-muted); flex: 1; margin-bottom: 14px; }
.blog-meta { font-size: .75rem; color: var(--text-light); display: flex; gap: 12px; }
.blog-meta i { color: var(--brand-mid); }
.blog-read-more {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .82rem; font-weight: 600; color: var(--brand);
  text-decoration: none; margin-top: 12px;
  transition: gap .15s;
}
.blog-read-more:hover { gap: 9px; color: var(--brand-dark); }

/* Alt blog card styles */
.blog-card-h {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all .2s;
  display: flex;
}
.blog-card-h:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.blog-card-h .card-img-side {
  width: 120px; flex-shrink: 0;
  object-fit: cover;
}
.blog-card-h .card-body-side { padding: 14px; }

/* Featured blog */
.blog-featured {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all .2s;
}
.blog-featured:hover { box-shadow: var(--shadow-lg); }
.blog-featured-img { width: 100%; height: 320px; object-fit: cover; }
.blog-featured-body { padding: 28px; }

/* ── FAQ SECTION ── */
.faq-wrap .accordion-item {
  border: 1px solid var(--border);
  border-radius: var(--radius) !important;
  margin-bottom: 10px;
  overflow: hidden;
}
.faq-wrap .accordion-button {
  font-family: 'Sora', sans-serif;
  font-weight: 600; font-size: .9rem;
  background: #fff; color: var(--text);
  border: none; padding: 16px 20px;
}
.faq-wrap .accordion-button:not(.collapsed) {
  background: var(--brand-lt); color: var(--brand); box-shadow: none;
}
.faq-wrap .accordion-button::after {
  filter: none;
}
.faq-wrap .accordion-button:not(.collapsed)::after {
  filter: invert(32%) sepia(99%) saturate(2000%) hue-rotate(210deg);
}
.faq-wrap .accordion-body {
  font-size: .88rem; color: var(--text-muted);
  padding: 0 20px 16px;
}

/* ── STATS ── */
.stat-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  border: 1px solid var(--border);
}
.stat-number {
  font-family: 'Sora', sans-serif;
  font-size: 2.2rem; font-weight: 800;
  color: var(--brand); line-height: 1;
  margin-bottom: 4px;
}
.stat-label { font-size: .82rem; color: var(--text-muted); font-weight: 500; }

/* ── CONTACT ── */
.contact-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.contact-info-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 14px 0; border-bottom: 1px solid var(--border);
}
.contact-info-item:last-child { border-bottom: none; }
.contact-icon {
  width: 42px; height: 42px; border-radius: 10px;
  background: var(--brand-lt); color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}

/* ── SERVICE CARD ── */
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--border);
  transition: all .2s;
  height: 100%;
}
.service-card:hover { box-shadow: var(--shadow); border-color: #BFDBFE; transform: translateY(-3px); }
.service-icon {
  width: 58px; height: 58px;
  background: var(--brand-lt);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: var(--brand); margin-bottom: 18px;
}
.service-card h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.service-card p  { font-size: .85rem; color: var(--text-muted); }

/* ── STEP CARD (How to Book) ── */
.step-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--border);
  position: relative;
  height: 100%;
}
.step-num {
  width: 44px; height: 44px;
  background: var(--brand);
  color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Sora', sans-serif; font-weight: 800; font-size: 1.1rem;
  margin-bottom: 16px; flex-shrink: 0;
}

/* ── FLIGHT LISTING STYLES ── */
.result-hero {
  background: linear-gradient(135deg, #1e3a8a, #1D4ED8);
  color: #fff; padding: 28px 0 22px;
}
.result-hero h1 { color: #fff; font-size: 1.6rem; }
.result-hero .meta { font-size: .82rem; opacity: .75; margin-top: 5px; }

.search-bar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  position: sticky; top: 0; z-index: 100;
}
.btn-search-sm {
  background: var(--brand); color: #fff; border: none;
  border-radius: 8px; padding: 9px 16px;
  font-weight: 600; font-size: .85rem;
  white-space: nowrap; width: 100%; cursor: pointer;
  font-family: 'DM Sans', sans-serif;
}
.btn-search-sm:hover { background: var(--brand-dark); }

/* Flight cards */
.fcard {
  background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow-sm); margin-bottom: 14px;
  transition: box-shadow .2s, transform .2s;
  overflow: hidden; border: 1px solid var(--border);
}
.fcard:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.fcard-body { padding: 16px; }
.alogo {
  width: 40px; height: 40px; object-fit: contain;
  border-radius: 8px; background: var(--bg); padding: 3px; flex-shrink: 0;
}
.aname { font-weight: 600; font-size: .85rem; color: var(--text); }
.asub  { font-size: .72rem; color: var(--text-light); }
.time-big { font-size: 1.3rem; font-weight: 800; color: var(--text); line-height: 1; }
.iata  { font-size: .72rem; color: var(--text-light); margin-top: 2px; }
.route-line { position: relative; flex: 1; text-align: center; padding: 0 8px; }
.route-line::before {
  content: ''; position: absolute; top: 50%; left: 0; right: 0;
  height: 2px; background: #DBEAFE; transform: translateY(-50%);
}
.dur-badge {
  position: relative; display: inline-block;
  background: #fff; padding: 0 5px; font-size: .72rem; color: #888;
}
.price-big { font-size: 1.35rem; font-weight: 800; color: var(--brand); }
.btn-book {
  background: var(--brand); color: #fff; border: none;
  border-radius: 8px; padding: 8px 16px; font-weight: 600;
  font-size: .82rem; display: inline-block;
  text-decoration: none; white-space: nowrap; transition: background .15s;
}
.btn-book:hover { background: var(--brand-dark); color: #fff; }
.detail-bar {
  background: var(--brand-pale); padding: 9px 16px;
  border-top: 1px solid #DBEAFE;
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 6px;
}
.detail-link { font-size: .8rem; color: var(--brand); text-decoration: none; }
.seg-block { padding: 14px 16px; background: #fff; border-top: 1px solid #DBEAFE; }
.sidebar-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
.sidebar-head {
  background: var(--bg); padding: 14px 18px; font-weight: 700;
  border-bottom: 1px solid var(--border);
  border-radius: var(--radius) var(--radius) 0 0;
  display: flex; justify-content: space-between; align-items: center;
}
.filter-sec { padding: 14px 18px; border-bottom: 1px solid #F0F2F5; }
.filter-sec:last-child { border-bottom: none; }
.filter-sec h6 {
  font-size: .75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .4px; color: #666; margin-bottom: 10px;
}
.sort-bar {
  background: #fff; border-radius: var(--radius);
  padding: 10px 14px; margin-bottom: 12px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 8px;
}
.empty-box {
  text-align: center; padding: 48px 20px; background: #fff;
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.empty-box i { font-size: 2.2rem; color: #ddd; margin-bottom: 12px; }

/* Mobile filter */
.filter-toggle-btn {
  background: var(--brand); color: #fff; border: none;
  border-radius: 8px; padding: 8px 16px;
  font-size: .85rem; font-weight: 600;
  display: none; align-items: center; gap: 6px; cursor: pointer;
}
@media (max-width: 991px) {
  .filter-toggle-btn { display: inline-flex; }
  .sidebar-col { display: none; }
  .sidebar-col.open { display: block; }
}

/* ── FOOTER ── */
.site-footer {
  background: #0F172A;
  color: rgba(255,255,255,.75);
  padding: 64px 0 0;
  margin-top: 80px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.footer-brand .brand-text { color: #fff; }
.footer-desc { font-size: .85rem; color: rgba(255,255,255,.55); line-height: 1.7; }
.footer-contact { display: flex; flex-direction: column; gap: 8px; }
.footer-contact a, .footer-contact span {
  font-size: .83rem; color: rgba(255,255,255,.6); text-decoration: none;
  display: flex; align-items: center; gap: 8px; transition: color .15s;
}
.footer-contact a:hover { color: #fff; }
.footer-heading {
  font-family: 'Sora', sans-serif; font-size: .75rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
  color: rgba(255,255,255,.9); margin-bottom: 16px;
}
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-links a {
  font-size: .85rem; color: rgba(255,255,255,.55);
  text-decoration: none; transition: color .15s;
  display: flex; align-items: center; gap: 6px;
}
.footer-links a::before { content: '→'; font-size: .7rem; color: var(--brand-mid); }
.footer-links a:hover { color: #fff; }
.footer-routes { display: flex; flex-wrap: wrap; gap: 6px; }
.route-pill {
  background: rgba(255,255,255,.08); color: rgba(255,255,255,.7);
  font-size: .75rem; padding: 4px 10px; border-radius: 50px;
  text-decoration: none; border: 1px solid rgba(255,255,255,.12);
  transition: all .15s; white-space: nowrap;
}
.route-pill:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.footer-hr { border-color: rgba(255,255,255,.1); margin: 40px 0 24px; }
.footer-bottom { padding-bottom: 24px; }
.footer-bottom p { font-size: .8rem; color: rgba(255,255,255,.4); margin: 0; }
.footer-bottom-link { font-size: .78rem; color: rgba(255,255,255,.4); text-decoration: none; transition: color .15s; }
.footer-bottom-link:hover { color: rgba(255,255,255,.8); }

/* ── UTILITY ── */
.section-pad { padding: 64px 0; }
.section-pad-sm { padding: 40px 0; }
.bg-brand-pale { background: var(--brand-pale); }
.bg-white { background: var(--white); }
.text-brand { color: var(--brand) !important; }
.badge-cat {
  font-size: .68rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .6px; color: var(--brand); background: var(--brand-lt);
  padding: 3px 10px; border-radius: 50px;
}

/* ── RESPONSIVE ── */
@media (max-width: 767px) {
  .section-pad { padding: 44px 0; }
  .card-body-inner { padding: 16px; }
  .fields-row { padding: 14px; }
  .time-big { font-size: 1rem; }
  .result-hero h1 { font-size: 1.15rem; }
  .page-hero { padding: 36px 0 36px; }
}
