/* Homepage-only design layer. Loaded after shared styles so it cannot alter route,
   pricing, guide, or admin pages. */
body.vendora-root-page {
  --bg: #071a2e;
  --bg-soft: #102b47;
  --surface: rgba(7, 26, 46, 0.90);
  --surface-strong: #081725;
  --line: rgba(200, 169, 107, 0.24);
  --line-strong: rgba(200, 169, 107, 0.42);
  --text: #fffaf0;
  --muted: #edf2f6;
  --accent: #c8a96b;
  --accent-strong: #f4d994;
  --accent-soft: rgba(200, 169, 107, 0.12);
  --accent-soft-strong: rgba(200, 169, 107, 0.22);
  background:
    radial-gradient(circle at 78% 4%, rgba(200, 169, 107, 0.12), transparent 30%),
    radial-gradient(circle at 10% 28%, rgba(16, 43, 71, 0.28), transparent 34%),
    linear-gradient(180deg, #071a2e 0%, #081725 48%, #102b47 100%);
}

.home-hero-mobile-summary { display: none; }

/* Live Dispatch Banner */
.live-dispatch-bar {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.35);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #bbf7d0;
  margin-bottom: 14px;
  backdrop-filter: blur(8px);
}
.pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: pulse-ring 1.8s infinite cubic-bezier(0.66, 0, 0, 1);
}
@keyframes pulse-ring {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* Authority & Verified Certifications Grid */
.authority-cert-section {
  padding: 12px 0 24px;
}
.authority-cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.authority-cert-card {
  padding: 20px;
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(200, 169, 107, 0.28);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.authority-cert-card:hover {
  transform: translateY(-3px);
  border-color: rgba(200, 169, 107, 0.55);
}
.authority-cert-card .cert-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(200, 169, 107, 0.25), rgba(200, 169, 107, 0.08));
  border: 1px solid rgba(200, 169, 107, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-strong);
  font-size: 1.25rem;
}
.authority-cert-card h3 {
  margin: 0;
  font-size: 1.05rem;
  color: var(--accent-strong);
  display: flex;
  align-items: center;
  gap: 6px;
}
.authority-cert-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.45;
}
.authority-cert-card .cert-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #86efac;
  font-size: 0.74rem;
  font-weight: 700;
}

/* Fleet Tier & Luggage Matching Matrix */
.fleet-tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}
.fleet-tier-card {
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(17, 34, 56, 0.9), rgba(8, 23, 37, 0.95));
  border: 1px solid rgba(200, 169, 107, 0.28);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.fleet-tier-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  border-color: rgba(200, 169, 107, 0.55);
}
.fleet-tier-card.featured-vip {
  border: 2px solid #e1bd73;
  box-shadow: 0 20px 50px rgba(225, 189, 115, 0.18);
}
.fleet-tier-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 5px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #c8a96b, #e5c78f);
  color: #071a2e;
  font-weight: 800;
  font-size: 0.76rem;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);
  z-index: 2;
}
[dir="rtl"] .fleet-tier-badge { right: auto; left: 14px; }
.fleet-tier-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.fleet-tier-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 14px;
}
.fleet-tier-body h3 {
  margin: 0;
  font-size: 1.25rem;
  color: var(--accent-strong);
}
.fleet-tier-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.fleet-spec-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text);
}
.fleet-spec-item i {
  color: var(--accent);
  width: 16px;
  height: 16px;
}
.fleet-tier-features {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--muted);
}
.fleet-tier-features li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.fleet-tier-features li i {
  color: #22c55e;
  width: 15px;
  height: 15px;
}
.fleet-tier-actions {
  margin-top: auto;
  padding-top: 10px;
}

/* Luggage & Passenger Matcher Tool */
.luggage-matcher-panel {
  margin-top: 28px;
  padding: 24px;
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(200, 169, 107, 0.1), rgba(16, 43, 71, 0.3));
  border: 1px solid rgba(200, 169, 107, 0.35);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 24px;
  align-items: center;
}
.matcher-inputs {
  display: grid;
  gap: 16px;
}
.matcher-input-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.matcher-input-row label {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}
.matcher-stepper {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(8, 23, 37, 0.85);
  border: 1px solid rgba(200, 169, 107, 0.3);
  border-radius: 12px;
  padding: 4px;
}
.matcher-stepper button {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.matcher-stepper button:hover {
  background: var(--accent);
  color: #071a2e;
}
.matcher-stepper span {
  min-width: 28px;
  text-align: center;
  font-weight: 800;
  font-size: 1rem;
  color: var(--accent-strong);
}
.matcher-output-box {
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(8, 23, 37, 0.92);
  border: 1px solid rgba(200, 169, 107, 0.4);
  display: grid;
  gap: 8px;
}
.matcher-output-title {
  font-size: 0.82rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 800;
}
.matcher-recommendation {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent-strong);
  display: flex;
  align-items: center;
  gap: 8px;
}
.matcher-note {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.4;
}

/* Verified Route Reviews */
.reviews-section {
  padding: 24px 0;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 20px;
}
.review-card {
  padding: 20px;
  border-radius: 20px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}
.review-stars {
  color: #fbbf24;
  font-size: 0.95rem;
  letter-spacing: 2px;
}
.review-route-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(200, 169, 107, 0.15);
  border: 1px solid rgba(200, 169, 107, 0.3);
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 700;
}
.review-text {
  font-size: 0.88rem;
  color: #f1f5f9;
  line-height: 1.5;
  margin: 0;
  flex: 1;
}
.review-author-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.review-author {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
}
.review-verified-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  color: #86efac;
  font-weight: 700;
}

/* AI Concierge Widget & Launcher */
.ai-concierge-launcher {
  position: fixed;
  bottom: 96px;
  right: 24px;
  z-index: 55;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #102b47, #071a2e);
  border: 1px solid rgba(200, 169, 107, 0.45);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), 0 0 20px rgba(200, 169, 107, 0.2);
  color: #fffaf0;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  font-weight: 800;
  font-size: 0.88rem;
}
[dir="rtl"] .ai-concierge-launcher { right: auto; left: 24px; }
.ai-concierge-launcher:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55), 0 0 25px rgba(200, 169, 107, 0.35);
}
.ai-sparkle-icon {
  color: var(--accent-strong);
  font-size: 1.1rem;
}

/* AI Concierge Modal */
.ai-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 10, 18, 0.75);
  backdrop-filter: blur(10px);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.ai-modal-overlay.active { display: flex; }
.ai-modal-card {
  width: min(620px, 100%);
  max-height: 85vh;
  background: linear-gradient(170deg, #0a1f36, #051221);
  border: 1px solid rgba(200, 169, 107, 0.38);
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.ai-modal-header {
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(200, 169, 107, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ai-modal-header h3 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--accent-strong);
  display: flex;
  align-items: center;
  gap: 8px;
}
.ai-modal-close {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
}
.ai-modal-close:hover { color: #fff; background: rgba(255, 255, 255, 0.1); }
.ai-modal-chat-body {
  padding: 18px 20px;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-height: 50vh;
}
.ai-bubble {
  max-width: 85%;
  padding: 12px 16px;
  border-radius: 18px;
  font-size: 0.9rem;
  line-height: 1.5;
}
.ai-bubble.assistant {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f1f5f9;
  border-bottom-left-radius: 4px;
}
[dir="rtl"] .ai-bubble.assistant { border-bottom-left-radius: 18px; border-bottom-right-radius: 4px; }
.ai-bubble.user {
  align-self: flex-end;
  background: linear-gradient(135deg, rgba(200, 169, 107, 0.3), rgba(200, 169, 107, 0.15));
  border: 1px solid rgba(200, 169, 107, 0.4);
  color: #fffaf0;
  border-bottom-right-radius: 4px;
}
[dir="rtl"] .ai-bubble.user { border-bottom-right-radius: 18px; border-bottom-left-radius: 4px; }
.ai-quick-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.ai-chip {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(200, 169, 107, 0.1);
  border: 1px solid rgba(200, 169, 107, 0.25);
  color: var(--accent-strong);
  font-size: 0.78rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
.ai-chip:hover {
  background: var(--accent);
  color: #071a2e;
}
.ai-modal-footer {
  padding: 14px 20px;
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  gap: 10px;
}
.ai-input-field {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  padding: 10px 14px;
  color: #fff;
  font-size: 0.9rem;
}
.ai-send-btn {
  padding: 10px 16px;
  border-radius: 14px;
  border: none;
  background: linear-gradient(135deg, #c8a96b, #e5c78f);
  color: #071a2e;
  font-weight: 800;
  cursor: pointer;
}

/* Mobile Quick-Action Dock */
.mobile-bottom-dock {
  display: none;
}
@media (max-width: 768px) {
  .mobile-bottom-dock {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 70;
    padding: 10px 14px;
    background: rgba(7, 26, 46, 0.96);
    border-top: 1px solid rgba(200, 169, 107, 0.3);
    backdrop-filter: blur(14px);
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.4);
  }
  .dock-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px 6px;
    border-radius: 12px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-decoration: none;
  }
  .dock-btn.primary-wa {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #fff;
    border-color: #25d366;
  }
  .dock-btn i { width: 18px; height: 18px; }
  .floating-wa { display: none !important; }
  body.vendora-root-page { padding-bottom: 74px; }
  .ai-concierge-launcher { display: none; }
  
  .authority-cert-grid { grid-template-columns: 1fr 1fr; }
  .fleet-tier-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .luggage-matcher-panel { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .authority-cert-grid { grid-template-columns: 1fr; }
}
