/* ============================================
   BD Bus Live - style.css
   Glassmorphism + Deep Blue & Emerald Green
   ============================================ */

:root {
  --blue-900: #0f172a;
  --blue-800: #1e293b;
  --blue-700: #334155;
  --blue-500: #3b82f6;
  --blue-400: #60a5fa;
  --green-500: #10b981;
  --green-400: #34d399;
  --green-300: #6ee7b7;
  --glass-bg: rgba(255,255,255,0.07);
  --glass-border: rgba(255,255,255,0.15);
  --glass-blur: blur(16px);
  --shadow: 0 8px 32px rgba(0,0,0,0.4);
  --font-main: 'Hind Siliguri', 'Baloo Da 2', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  color: #e2e8f0;
  min-height: 100vh;
  overflow-x: hidden;
  background: #0a0f1e;
}

/* ---- Background ---- */
.bg-gradient {
  position: fixed; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% -10%, rgba(16,185,129,.25) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 110%, rgba(59,130,246,.3) 0%, transparent 60%),
    linear-gradient(135deg, #0a0f1e 0%, #0f1f35 50%, #0a1a0f 100%);
  pointer-events: none;
}

.bg-orbs { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }

.orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: 0.18; animation: float 12s ease-in-out infinite;
}
.orb-1 { width: 500px; height: 500px; background: #10b981; top: -150px; left: -100px; animation-delay: 0s; }
.orb-2 { width: 400px; height: 400px; background: #3b82f6; bottom: -100px; right: -80px; animation-delay: 4s; }
.orb-3 { width: 300px; height: 300px; background: #06b6d4; top: 40%; left: 50%; animation-delay: 8s; }

@keyframes float {
  0%,100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

/* ---- Glass Utility ---- */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 1;
}

/* ---- Nav ---- */
.glass-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10,15,30,0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  padding: .75rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
}
.logo-wrap { display: flex; align-items: center; gap: .75rem; }
.logo-icon {
  width: 42px; height: 42px; border-radius: 12px;
  background: linear-gradient(135deg, #10b981, #3b82f6);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: #fff; flex-shrink: 0;
}
.logo-title { font-family: 'Baloo Da 2', sans-serif; font-weight: 800; font-size: 1.1rem; color: #fff; line-height: 1; }
.logo-sub { font-size: .7rem; color: #94a3b8; }
.nav-right { display: flex; align-items: center; gap: .75rem; }

.back-btn {
  display: flex; align-items: center; gap: .5rem;
  color: #94a3b8; text-decoration: none; font-size: .9rem;
  padding: .4rem .8rem; border-radius: 10px;
  transition: all .2s;
}
.back-btn:hover { background: rgba(255,255,255,.08); color: #fff; }

/* ---- User Area ---- */
.user-area { display: flex; align-items: center; gap: .5rem; }
.user-avatar { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--green-400); }
.user-name { font-size: .85rem; color: #cbd5e1; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.btn-logout {
  width: 32px; height: 32px; border-radius: 8px; border: none;
  background: rgba(239,68,68,.2); color: #f87171; cursor: pointer;
  display: flex; align-items: center; justify-content: center; font-size: .8rem;
  transition: background .2s;
}
.btn-logout:hover { background: rgba(239,68,68,.4); }

.btn-google-login {
  display: flex; align-items: center; gap: .4rem;
  padding: .45rem 1rem; border-radius: 10px; border: none; cursor: pointer;
  background: linear-gradient(135deg, #10b981, #3b82f6);
  color: #fff; font-size: .85rem; font-family: var(--font-main);
  font-weight: 600; transition: opacity .2s, transform .15s;
}
.btn-google-login:hover { opacity: .9; transform: translateY(-1px); }

/* ---- Hero ---- */
.hero-section {
  position: relative; z-index: 1;
  padding: 7rem 1.5rem 3rem;
  min-height: 60vh;
  display: flex; align-items: center; justify-content: center;
}
.hero-content { max-width: 680px; width: 100%; text-align: center; }
.hero-title {
  font-family: 'Baloo Da 2', sans-serif; font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: #fff; line-height: 1.2; margin-bottom: .5rem;
}
.text-gradient {
  background: linear-gradient(90deg, #10b981, #3b82f6, #06b6d4);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub { color: #94a3b8; font-size: 1rem; margin-bottom: 2rem; }

/* ---- Type Toggle ---- */
.type-toggle {
  display: inline-flex; background: rgba(0,0,0,.3);
  border-radius: 14px; padding: 4px; gap: 4px; margin-bottom: 1.5rem;
  border: 1px solid var(--glass-border);
}
.toggle-btn {
  padding: .5rem 1.25rem; border-radius: 10px; border: none;
  background: transparent; color: #94a3b8; cursor: pointer;
  font-size: .88rem; font-family: var(--font-main); font-weight: 600;
  display: flex; align-items: center; gap: .5rem;
  transition: all .25s;
}
.toggle-btn.active {
  background: linear-gradient(135deg, #10b981, #3b82f6);
  color: #fff; box-shadow: 0 4px 15px rgba(16,185,129,.3);
}

/* ---- Search Card ---- */
.search-card { padding: 1.5rem; }
.search-row {
  display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem;
  flex-wrap: wrap;
}
.search-input-wrap {
  flex: 1; min-width: 200px; position: relative;
}
.from-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: #10b981; font-size: .9rem; z-index: 2; }
.to-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: #f87171; font-size: .9rem; z-index: 2; }
.search-input {
  width: 100%; padding: .85rem 1rem .85rem 2.5rem;
  background: rgba(255,255,255,.06); border: 1px solid var(--glass-border);
  border-radius: 12px; color: #e2e8f0; font-size: .95rem;
  font-family: var(--font-main); outline: none; transition: border-color .2s;
}
.search-input::placeholder { color: #64748b; }
.search-input:focus { border-color: #10b981; background: rgba(255,255,255,.1); }

.suggestions-box {
  position: absolute; top: calc(100% + 4px); left: 0; right: 0;
  background: #1e293b; border: 1px solid var(--glass-border);
  border-radius: 12px; z-index: 50; max-height: 220px; overflow-y: auto;
  box-shadow: 0 10px 30px rgba(0,0,0,.5); display: none;
}
.suggestion-item {
  padding: .65rem 1rem; cursor: pointer;
  display: flex; align-items: center; gap: .6rem;
  border-bottom: 1px solid rgba(255,255,255,.05); font-size: .9rem;
  transition: background .15s;
}
.suggestion-item:last-child { border-bottom: none; }
.suggestion-item:hover { background: rgba(16,185,129,.1); }
.suggestion-item .sug-bn { color: #e2e8f0; }
.suggestion-item .sug-en { color: #64748b; font-size: .78rem; }

.swap-btn {
  width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--glass-border);
  background: rgba(255,255,255,.06); color: #94a3b8; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s; flex-shrink: 0;
}
.swap-btn:hover { background: rgba(16,185,129,.2); color: #10b981; transform: rotate(90deg); }

.search-btn {
  width: 100%; padding: 1rem; border-radius: 14px; border: none; cursor: pointer;
  background: linear-gradient(135deg, #10b981 0%, #3b82f6 100%);
  color: #fff; font-size: 1.05rem; font-family: var(--font-main); font-weight: 700;
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  transition: all .25s; letter-spacing: .5px;
  box-shadow: 0 4px 20px rgba(16,185,129,.35);
}
.search-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(16,185,129,.5); }
.search-btn:active { transform: translateY(0); }

/* ---- Container ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }

/* ---- Sections ---- */
.popular-section, .results-section {
  position: relative; z-index: 1; padding: 2rem 1.25rem 4rem;
}
.section-title {
  display: flex; align-items: center; gap: .6rem;
  font-size: 1.3rem; font-weight: 700; color: #e2e8f0; margin-bottom: 1.5rem;
}
.section-title i { color: #10b981; }

/* ---- Bus Grid ---- */
.buses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}

/* ---- Bus Card ---- */
.bus-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 18px; overflow: hidden;
  transition: transform .25s, box-shadow .25s;
  cursor: pointer;
  text-decoration: none; color: inherit;
}
.bus-card:hover { transform: translateY(-5px); box-shadow: 0 12px 40px rgba(0,0,0,.5); border-color: rgba(16,185,129,.4); }

.bus-card-img {
  width: 100%; height: 160px; object-fit: cover;
  background: linear-gradient(135deg, #1e293b, #0f2533);
}
.bus-card-img-placeholder {
  width: 100%; height: 160px;
  background: linear-gradient(135deg, #1e293b 0%, #0f2533 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; color: #334155;
}
.bus-card-body { padding: 1rem; }
.bus-card-name {
  font-family: 'Baloo Da 2', sans-serif; font-weight: 700;
  font-size: 1.05rem; color: #e2e8f0; margin-bottom: .2rem;
}
.bus-card-name-bn { font-size: .85rem; color: #64748b; margin-bottom: .75rem; }
.bus-card-meta { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .75rem; }

.badge {
  padding: .2rem .6rem; border-radius: 6px; font-size: .72rem; font-weight: 600;
}
.badge-ac { background: rgba(59,130,246,.2); color: #93c5fd; border: 1px solid rgba(59,130,246,.3); }
.badge-nonac { background: rgba(148,163,184,.1); color: #94a3b8; border: 1px solid rgba(148,163,184,.2); }
.badge-sitting { background: rgba(16,185,129,.15); color: #6ee7b7; border: 1px solid rgba(16,185,129,.3); }
.badge-sleeper { background: rgba(139,92,246,.15); color: #c4b5fd; border: 1px solid rgba(139,92,246,.3); }

.bus-card-footer {
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,.06); padding-top: .75rem; margin-top: .5rem;
}
.bus-rating { display: flex; align-items: center; gap: .3rem; font-size: .85rem; color: #fbbf24; }
.bus-fare { font-size: .88rem; color: #10b981; font-weight: 600; }
.bus-route-badge { font-size: .75rem; color: #64748b; }

/* ---- Loading ---- */
.loading-card {
  grid-column: 1/-1; display: flex; flex-direction: column;
  align-items: center; justify-content: center; padding: 3rem;
  color: #64748b; gap: .75rem;
}
.spinner {
  width: 36px; height: 36px; border-radius: 50%;
  border: 3px solid rgba(255,255,255,.1);
  border-top-color: #10b981;
  animation: spin .8s linear infinite;
}
.spinner.large { width: 52px; height: 52px; border-width: 4px; }
@keyframes spin { to { transform: rotate(360deg); } }

.full-loader {
  min-height: 60vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 1rem;
  position: relative; z-index: 1; color: #64748b; padding: 5rem 1rem;
}

/* ---- Detail Page ---- */
.detail-main { padding-top: 70px; padding-bottom: 3rem; position: relative; z-index: 1; }

.detail-hero {
  display: flex; gap: 1.5rem; padding: 1.5rem; margin-bottom: 1.5rem; align-items: flex-start;
  flex-wrap: wrap;
}
.bus-image-wrap { position: relative; flex-shrink: 0; }
.bus-image { width: 280px; height: 180px; object-fit: cover; border-radius: 14px; background: #1e293b; }
.bus-category-badge {
  position: absolute; top: .6rem; right: .6rem;
  padding: .25rem .7rem; border-radius: 8px; font-size: .75rem; font-weight: 700;
}
.bus-info-col { flex: 1; min-width: 200px; }
.bus-name { font-family: 'Baloo Da 2', sans-serif; font-weight: 800; font-size: 1.7rem; color: #fff; }
.bus-name-bn { font-size: 1rem; color: #64748b; margin-bottom: 1rem; }
.bus-meta-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: .75rem; }
.meta-chip {
  display: flex; align-items: center; gap: .4rem;
  padding: .3rem .8rem; background: rgba(255,255,255,.07);
  border: 1px solid var(--glass-border); border-radius: 20px;
  font-size: .82rem; color: #cbd5e1;
}
.bus-operator { color: #64748b; font-size: .88rem; display: flex; align-items: center; gap: .4rem; }

/* ---- Fare Box ---- */
.fare-box {
  display: flex; padding: 1.25rem; margin-bottom: 1.5rem; gap: 1rem;
  align-items: center; flex-wrap: wrap;
  background: rgba(16,185,129,.08);
  border-color: rgba(16,185,129,.3);
}
.fare-item { display: flex; align-items: center; gap: .75rem; flex: 1; min-width: 150px; }
.fare-item i { font-size: 1.5rem; color: #10b981; }
.fare-label { font-size: .75rem; color: #64748b; }
.fare-value { font-size: 1.2rem; font-weight: 700; color: #e2e8f0; }
.fare-value.green { color: #10b981; }
.fare-value.small { font-size: .95rem; }
.fare-divider { width: 1px; height: 50px; background: rgba(255,255,255,.1); flex-shrink: 0; }

/* ---- Detail Grid ---- */
.detail-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 1.5rem; margin-bottom: 1.5rem; }
@media (max-width: 768px) { .detail-grid { grid-template-columns: 1fr; } }

.glass-card.map-card { position: relative; }
.card-title {
  display: flex; align-items: center; gap: .5rem;
  font-weight: 700; font-size: 1rem; color: #e2e8f0;
  margin-bottom: 1rem; padding: 1.25rem 1.25rem 0;
}
.card-title i { color: #10b981; }
.route-col .glass-card, .map-col .glass-card { padding: 0; overflow: hidden; }
.route-col .glass-card .card-title, .map-col .glass-card .card-title { padding: 1.25rem 1.25rem .75rem; }

/* ---- Route Timeline ---- */
.route-timeline { padding: 0 1.25rem 1.25rem; }
.stop-item {
  display: flex; gap: .75rem; position: relative;
  padding-bottom: .5rem;
}
.stop-item:not(:last-child)::after {
  content: ''; position: absolute;
  left: 16px; top: 36px;
  width: 2px; bottom: 0;
  background: linear-gradient(to bottom, #10b981, rgba(59,130,246,.3));
}
.stop-dot {
  width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem; font-weight: 700; z-index: 1;
  border: 2px solid;
}
.stop-dot.start { background: rgba(16,185,129,.2); border-color: #10b981; color: #10b981; }
.stop-dot.end { background: rgba(239,68,68,.2); border-color: #ef4444; color: #ef4444; }
.stop-dot.mid { background: rgba(59,130,246,.15); border-color: rgba(59,130,246,.4); color: #60a5fa; }
.stop-dot.highlight { background: rgba(250,204,21,.2); border-color: #fbbf24; color: #fbbf24; }

.stop-info { padding: .35rem 0 .6rem; }
.stop-name { font-size: .92rem; font-weight: 600; color: #e2e8f0; }
.stop-meta { font-size: .77rem; color: #64748b; display: flex; gap: .75rem; margin-top: .15rem; }

/* ---- Map ---- */
.map-container { height: 380px; border-radius: 0 0 20px 20px; }
.map-brand {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: rgba(10,15,30,.85);
  padding: .3rem .75rem; font-size: .72rem; color: #64748b;
  border-radius: 0 0 20px 20px; z-index: 500;
  text-align: right;
}
.map-brand strong { color: #10b981; }

/* Hide default Leaflet attribution */
.leaflet-control-attribution { display: none !important; }

/* Pulsing user dot */
.pulse-dot {
  width: 16px; height: 16px; border-radius: 50%;
  background: #3b82f6;
  box-shadow: 0 0 0 rgba(59,130,246,.4);
  animation: pulse-ring 1.5s ease-out infinite;
}
@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(59,130,246,.5); }
  70%  { box-shadow: 0 0 0 12px rgba(59,130,246,0); }
  100% { box-shadow: 0 0 0 0 rgba(59,130,246,0); }
}

/* ---- Reviews ---- */
.reviews-card { padding: 0; overflow: hidden; margin-bottom: 1.5rem; }
.reviews-card .card-title { padding: 1.25rem 1.25rem .75rem; }

.review-form-wrap { padding: 0 1.25rem 1.25rem; border-bottom: 1px solid rgba(255,255,255,.07); }
.star-picker { display: flex; align-items: center; gap: .75rem; margin-bottom: .75rem; font-size: .9rem; color: #94a3b8; }
.stars { display: flex; gap: .25rem; }
.star { color: #334155; font-size: 1.4rem; cursor: pointer; transition: color .15s, transform .15s; }
.star.active, .star:hover { color: #fbbf24; transform: scale(1.15); }

.review-textarea {
  width: 100%; min-height: 90px; padding: .75rem;
  background: rgba(255,255,255,.06); border: 1px solid var(--glass-border);
  border-radius: 12px; color: #e2e8f0; font-family: var(--font-main);
  font-size: .9rem; resize: vertical; outline: none;
}
.review-textarea:focus { border-color: #10b981; }
.review-textarea::placeholder { color: #475569; }

.review-actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem; margin-top: .75rem; }

.photo-label {
  display: flex; align-items: center; gap: .4rem;
  padding: .45rem .9rem; border-radius: 10px; border: 1px solid var(--glass-border);
  background: rgba(255,255,255,.05); color: #94a3b8; font-size: .85rem;
  cursor: pointer; transition: all .2s;
}
.photo-label:hover { border-color: #10b981; color: #10b981; }

.btn-submit-review {
  display: flex; align-items: center; gap: .4rem;
  padding: .55rem 1.2rem; border-radius: 10px; border: none; cursor: pointer;
  background: linear-gradient(135deg, #10b981, #3b82f6);
  color: #fff; font-size: .88rem; font-family: var(--font-main); font-weight: 600;
  transition: opacity .2s, transform .15s;
}
.btn-submit-review:hover { opacity: .9; transform: translateY(-1px); }

.photo-preview { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .6rem; }
.photo-preview img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; border: 1px solid var(--glass-border); }

.login-prompt {
  padding: 1.5rem; text-align: center; color: #64748b;
  display: flex; align-items: center; justify-content: center; gap: .5rem;
}
.link-btn { background: none; border: none; color: #10b981; cursor: pointer; font-family: var(--font-main); font-size: inherit; text-decoration: underline; }

.reviews-list { padding: 0 1.25rem 1.25rem; display: flex; flex-direction: column; gap: .75rem; }
.review-item {
  background: rgba(255,255,255,.04); border-radius: 14px;
  border: 1px solid rgba(255,255,255,.07); padding: .9rem;
}
.review-header { display: flex; align-items: center; gap: .6rem; margin-bottom: .5rem; }
.review-avatar { width: 36px; height: 36px; border-radius: 50%; }
.review-meta { flex: 1; }
.review-user { font-size: .88rem; font-weight: 600; color: #e2e8f0; }
.review-date { font-size: .75rem; color: #64748b; }
.review-stars { color: #fbbf24; font-size: .85rem; margin-bottom: .4rem; }
.review-comment { font-size: .88rem; color: #94a3b8; line-height: 1.5; }
.review-photo { margin-top: .5rem; }
.review-photo img { max-width: 160px; border-radius: 8px; cursor: pointer; }

/* ---- Modal ---- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,.7); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center; padding: 1rem;
}
.modal-box {
  width: 100%; max-width: 420px; padding: 2rem; text-align: center; position: relative;
}
.modal-close {
  position: absolute; top: .75rem; right: .75rem;
  width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--glass-border);
  background: rgba(255,255,255,.06); color: #94a3b8; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.modal-close:hover { background: rgba(255,255,255,.1); color: #fff; }
.modal-header { margin-bottom: 1.5rem; }
.modal-icon {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto .75rem;
  background: linear-gradient(135deg, rgba(16,185,129,.2), rgba(59,130,246,.2));
  border: 1px solid var(--glass-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: #10b981;
}
.modal-header h2 { font-size: 1.3rem; color: #fff; margin-bottom: .3rem; }
.modal-header p { font-size: .88rem; color: #64748b; }

/* ---- Toast ---- */
.toast {
  position: fixed; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
  padding: .75rem 1.5rem; border-radius: 12px; z-index: 9999;
  background: rgba(30,41,59,.95); backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border); color: #e2e8f0;
  font-size: .9rem; box-shadow: 0 8px 30px rgba(0,0,0,.5);
  max-width: 90vw; text-align: center;
  animation: slideUp .3s ease;
}
.toast.success { border-color: rgba(16,185,129,.4); }
.toast.error { border-color: rgba(239,68,68,.4); }
@keyframes slideUp { from { opacity: 0; transform: translateX(-50%) translateY(20px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .hero-section { padding: 5rem 1rem 2rem; }
  .search-row { flex-direction: column; }
  .swap-btn { transform: rotate(90deg); align-self: center; }
  .swap-btn:hover { transform: rotate(180deg); }
  .detail-hero { flex-direction: column; }
  .bus-image { width: 100%; height: 220px; }
  .fare-box { flex-direction: column; }
  .fare-divider { width: 100%; height: 1px; }
  .buses-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .logo-sub { display: none; }
  .type-toggle { width: 100%; }
  .toggle-btn { flex: 1; justify-content: center; }
  .nav-inner { padding: .6rem 1rem; }
}

.hidden { display: none !important; }
