/* ==============================================================================
   HUMBLE SAFARIS - PRODUCTION LUXURY STYLESHEET
   Colors: Savanna Green (#1B4332), Sunset Amber (#E07A2E), Acacia Gold (#F2C744), Ivory (#FAF7F0)
   ============================================================================== */

:root {
  --primary: #1B4332;
  --primary-hover: #143527;
  --secondary: #E07A2E;
  --secondary-hover: #C8651E;
  --accent: #F2C744;
  --sky: #8ECAE6;
  --bg-light: #FAF7F0;
  --card-bg: #FFFFFF;
  --text-main: #1F2937;
  --text-muted: #6B7280;
  --border-color: #E5E7EB;
  --radius: 12px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
  --shadow-md: 0 6px 20px rgba(27,67,50,0.08);
  --shadow-lg: 0 12px 36px rgba(27,67,50,0.12);
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-light);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; transition: color 0.2s; }
img { max-width: 100%; height: auto; display: block; }

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, .serif {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.25;
}

.section-title {
  text-align: center;
  margin-bottom: 48px;
}
.section-title .badge {
  display: inline-block;
  background: rgba(224, 122, 46, 0.12);
  color: var(--secondary);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 6px 14px;
  border-radius: 30px;
  margin-bottom: 12px;
}
.section-title h2 { font-size: clamp(28px, 4vw, 42px); }
.section-title p { color: var(--text-muted); max-width: 650px; margin: 12px auto 0; font-size: 16px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-1px); }
.btn-secondary { background: var(--secondary); color: #fff; }
.btn-secondary:hover { background: var(--secondary-hover); transform: translateY(-1px); }
.btn-outline { background: transparent; border: 1.5px solid var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-sm { padding: 8px 16px; font-size: 13px; border-radius: 6px; }

/* Top Promo Bar */
.top-bar {
  background: var(--primary);
  color: #fff;
  padding: 8px 0;
  font-size: 13px;
}
.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar-links { display: flex; gap: 20px; align-items: center; }

/* Navigation Header */
.main-header {
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}
.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-logo .lion-icon { font-size: 28px; }
.brand-logo .brand-text { display: flex; flex-direction: column; }
.brand-logo .brand-name {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.5px;
}
.brand-logo .brand-sub {
  font-size: 10px;
  color: var(--secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.nav-menu { display: flex; gap: 28px; list-style: none; align-items: center; }
.nav-menu a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-main);
  padding: 6px 0;
  position: relative;
}
.nav-menu a:hover, .nav-menu a.active { color: var(--secondary); }
.header-actions { display: flex; gap: 14px; align-items: center; }

/* Mobile Menu Button */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--primary);
}

/* Hero Section */
.hero-slider {
  position: relative;
  height: 80vh;
  min-height: 580px;
  overflow: hidden;
  background: #000;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: center;
}
.hero-slide.active { opacity: 1; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(27,67,50,0.4) 0%, rgba(15,35,26,0.85) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 850px;
}
.hero-badge {
  display: inline-block;
  background: var(--accent);
  color: #1B4332;
  font-weight: 700;
  font-size: 13px;
  padding: 6px 16px;
  border-radius: 30px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.hero-title {
  font-size: clamp(38px, 6vw, 64px);
  color: #fff;
  margin-bottom: 18px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  margin-bottom: 32px;
  color: #FAF7F0;
  line-height: 1.5;
  text-shadow: 0 1px 5px rgba(0,0,0,0.3);
}

/* Hero Search Bar */
.search-widget {
  background: #ffffff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 24px;
  margin-top: -50px;
  position: relative;
  z-index: 10;
}
.search-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) auto;
  gap: 16px;
  align-items: flex-end;
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--primary); }
.form-control {
  padding: 12px 14px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  background: #fff;
  outline: none;
  transition: border-color 0.2s;
}
.form-control:focus { border-color: var(--secondary); }

/* Card Grids */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 30px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

/* Tour Card */
.tour-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}
.tour-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.tour-img-wrap {
  position: relative;
  height: 240px;
  overflow: hidden;
}
.tour-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.tour-card:hover .tour-img-wrap img { transform: scale(1.05); }
.tour-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
}
.tour-duration {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}
.tour-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.tour-dest { font-size: 12px; font-weight: 600; color: var(--secondary); text-transform: uppercase; margin-bottom: 6px; }
.tour-title { font-size: 19px; margin-bottom: 12px; color: var(--primary); }
.tour-overview { font-size: 14px; color: var(--text-muted); margin-bottom: 18px; line-height: 1.5; flex: 1; }
.tour-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
}
.tour-price-box .from { font-size: 11px; color: var(--text-muted); text-transform: uppercase; }
.tour-price-box .price { font-size: 20px; font-weight: 700; color: var(--primary); }

/* Destination Card */
.dest-card {
  position: relative;
  height: 320px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: block;
}
.dest-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.dest-card:hover img { transform: scale(1.08); }
.dest-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(27,67,50,0.9) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: #fff;
}
.dest-overlay h3 { color: #fff; font-size: 22px; margin-bottom: 4px; }
.dest-overlay p { font-size: 13px; color: #FAF7F0; opacity: 0.9; }

/* Vehicle Card */
.vehicle-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  padding: 20px;
}
.vehicle-img { height: 180px; width: 100%; object-fit: cover; border-radius: 8px; margin-bottom: 16px; }
.vehicle-specs {
  display: flex;
  gap: 12px;
  font-size: 13px;
  color: var(--text-muted);
  margin: 12px 0 16px;
  flex-wrap: wrap;
}

/* Trust Pillars (Why Choose Us) */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  text-align: center;
}
.trust-item {
  background: #fff;
  padding: 30px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.trust-icon { font-size: 38px; margin-bottom: 14px; }
.trust-item h4 { font-size: 18px; margin-bottom: 8px; color: var(--primary); }
.trust-item p { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

/* Testimonials Carousel */
.test-card {
  background: #fff;
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--accent);
}
.test-stars { color: #F59E0B; font-size: 16px; margin-bottom: 12px; }
.test-quote { font-style: italic; font-size: 15px; margin-bottom: 18px; color: #374151; }
.test-author { display: flex; align-items: center; gap: 12px; }
.test-author img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.test-author-info h5 { font-size: 15px; color: var(--primary); }
.test-author-info span { font-size: 12px; color: var(--text-muted); }

/* Footer */
.main-footer {
  background: #11281E;
  color: #D1D5DB;
  padding: 60px 0 20px;
  margin-top: 80px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 50px;
}
.footer-col h4 { color: #fff; font-size: 17px; margin-bottom: 18px; font-family: var(--font-serif); }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 16px;
}
.payment-badges { display: flex; gap: 10px; align-items: center; font-size: 13px; }

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 62px;
  height: 62px;
  padding: 5px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25D366;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  z-index: 1000;
  transition: transform 0.2s, background-color 0.6s ease, box-shadow 0.6s ease;
  animation: whatsapp-green-pulse 1.8s ease-in-out infinite;
}
.whatsapp-float img { width: 100%; height: 100%; display: block; }
.whatsapp-float:hover { transform: scale(1.1); }
@keyframes whatsapp-green-pulse {
  0%, 100% { background-color: #25D366; box-shadow: 0 4px 16px rgba(37,211,102,.30), 0 0 0 0 rgba(37,211,102,.35); }
  50% { background-color: #075E54; box-shadow: 0 4px 18px rgba(7,94,84,.42), 0 0 0 9px rgba(7,94,84,0); }
}

/* Responsive adjustments */
@media (max-width: 1100px) {
  .container { padding-left: 20px; padding-right: 20px; }
  .nav-menu { gap: 18px; }
  .admin-main { padding: 24px; }
}

@media (max-width: 900px) {
  .container { padding-left: 16px; padding-right: 16px; }
  .top-bar-inner { flex-wrap: wrap; gap: 8px 16px; }
  .top-bar-inner > div:first-child { flex: 1 1 100%; }
  .top-bar-links { flex-wrap: wrap; gap: 10px 16px; }
  .header-inner { position: relative; flex-wrap: wrap; gap: 12px; }
  .header-inner nav { order: 3; flex: 1 1 100%; }
  .nav-menu { display: none; flex-direction: column; align-items: stretch; gap: 0; width: 100%; padding: 12px 0; }
  .nav-menu a { display: block; padding: 10px 0; }
  .mobile-toggle { display: block; }
  .header-actions { margin-left: auto; }
  .search-form { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-slider { height: 70vh; min-height: 460px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }

  /* Tourist dashboard */
  .dash-container { flex-direction: column; gap: 20px; margin-top: 24px; }
  .dash-sidebar { width: 100% !important; }
  .dash-menu { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 8px; }
  .dash-menu li a { min-height: 44px; }
  .dash-content { min-width: 0; }

  /* Admin dashboard */
  body:has(.admin-sidebar) { display: block; }
  .admin-sidebar { position: relative !important; width: 100% !important; height: auto !important; max-height: none !important; }
  .admin-sidebar-header { padding: 16px 20px; }
  .admin-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 8px; padding: 12px; }
  .admin-nav-item a { min-height: 44px; padding: 10px 12px; }
  .admin-main { margin-left: 0 !important; max-width: 100% !important; padding: 16px !important; }
  .admin-topbar { flex-wrap: wrap; gap: 12px; padding: 16px; }
  .admin-topbar > div:last-child { width: 100%; justify-content: space-between; flex-wrap: wrap; }
  .admin-card { padding: 16px; overflow: hidden; }
  .table-responsive { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  table.admin-table { min-width: 680px; }
}

@media (max-width: 640px) {
  .brand-logo .brand-name { font-size: 18px; }
  .brand-logo .brand-sub { font-size: 8px; }
  .header-actions .btn { padding: 8px 12px; font-size: 12px; }
  .grid-3, .grid-4, .footer-grid { grid-template-columns: 1fr; }
  .section-title { margin-bottom: 28px; }
  .hero-slider { min-height: 420px; }
  .hero-title { font-size: clamp(30px, 10vw, 44px); }
  .hero-sub { font-size: 15px; }
  .search-widget { padding: 16px; margin-top: -30px; }
  .btn { width: 100%; }
  .btn-sm { width: auto; }
  .payment-badges { flex-wrap: wrap; }
  .dash-menu, .admin-nav { grid-template-columns: 1fr; }
  .dash-hero { padding: 22px 18px; }
  .kpi-row { grid-template-columns: 1fr 1fr; gap: 12px; }
  .kpi-card { padding: 14px; }
  .kpi-val { font-size: 22px; }
}

@media (max-width: 420px) {
  .top-bar { font-size: 11px; }
  .header-inner { padding: 12px 0; }
  .header-actions { gap: 8px; }
  .header-actions .btn-outline { display: none; }
  .kpi-row { grid-template-columns: 1fr; }
  .admin-topbar h2 { font-size: 18px !important; }
  .admin-topbar > div:last-child > span { font-size: 11px !important; }
}

/* Tourist mobile navigation drawer */
.tourist-drawer-overlay { display:none; }
@media (max-width: 900px) {
  .tourist-site .main-header { position: sticky; top:0; z-index:999; }
  .tourist-site .tourist-nav { position:fixed; top:0; left:0; bottom:0; z-index:130; width:min(86vw,320px); background:#fff; transform:translate3d(-105%,0,0); transition:transform .24s ease; box-shadow:12px 0 32px rgba(0,0,0,.24); overflow-y:auto; padding:78px 18px 24px; }
  .tourist-site.tourist-drawer-open .tourist-nav { transform:translate3d(0,0,0); }
  .tourist-site .nav-menu { display:flex !important; flex-direction:column; align-items:stretch; gap:0; width:100%; padding:0; }
  .tourist-site .nav-menu a { display:block; min-height:44px; padding:11px 8px; border-bottom:1px solid #EEF2F0; }
  .tourist-site .tourist-drawer-overlay { display:none; position:fixed; inset:0; z-index:120; background:rgba(0,0,0,.48); }
  .tourist-site.tourist-drawer-open .tourist-drawer-overlay { display:block; }
  .tourist-site.tourist-drawer-open { overflow:hidden; }
}

/* Planner and public safari-search mobile corrections */
.planner-hero { background:linear-gradient(135deg,#143527,#2d6a4f); color:#fff; border-radius:16px; padding:34px; }
.planner-hero h1 { font-family:Georgia,serif; font-size:38px; margin:10px 0; }
.planner-hero p { color:#e5efe9; max-width:760px; }
.planner-kicker { color:#f7d38c; font-weight:700; letter-spacing:.08em; text-transform:uppercase; font-size:12px; }
.planner-form { display:flex; gap:10px; flex-wrap:wrap; margin-top:22px; }
.planner-form textarea { flex:1; min-width:280px; }
.planner-actions { display:flex; gap:12px; flex-wrap:wrap; margin:18px 0; }
.planner-result, .planner-prompts { margin-top:18px; }
.planner-copy { white-space:pre-wrap; line-height:1.7; color:#374151; }
.muted { color:#6B7280; }
@media (max-width:900px) {
  .planner-page { padding:24px 16px 44px !important; }
  .planner-hero { padding:22px 18px; }
  .planner-hero h1 { font-size:30px; line-height:1.15; }
  .planner-form { display:block; }
  .planner-form textarea { width:100%; min-width:0; margin-bottom:10px; box-sizing:border-box; }
  .planner-form button { width:100%; }
  .planner-actions .btn { flex:1 1 100%; text-align:center; }
}
@media (max-width:900px) {
  .tourist-site .mobile-toggle { position:relative; z-index:1400; }
  .tourist-site .tourist-nav { visibility:hidden; pointer-events:none; }
  .tourist-site.tourist-drawer-open .tourist-nav { visibility:visible; pointer-events:auto; }
  .tourist-site .tourist-drawer-overlay { pointer-events:none; }
  .tourist-site.tourist-drawer-open .tourist-drawer-overlay { pointer-events:auto; }
}

/* Shared tourist portal and confirmation-page design */
.confirmation-page { max-width:760px; padding:60px 24px 90px; }
.confirmation-card { background:#fff; border-radius:18px; padding:42px; box-shadow:var(--shadow-lg); border-top:6px solid #10B981; text-align:center; }
.confirmation-icon { font-size:54px; margin-bottom:12px; }
.confirmation-card h1 { font-size:clamp(30px,5vw,42px); margin-bottom:8px; }
.confirmation-lead { color:#6B7280; font-size:16px; margin-bottom:24px; }
.confirmation-summary { background:#F9FAFB; border:1px solid #E5E7EB; border-radius:10px; padding:20px; text-align:left; margin-bottom:28px; }
.confirmation-summary > div { display:flex; justify-content:space-between; gap:18px; margin-bottom:10px; font-size:14px; }
.confirmation-summary > div:last-child { margin-bottom:0; }
.confirmation-summary span { color:#6B7280; }
.confirmation-summary strong { color:var(--primary); font-size:16px; text-align:right; }
.confirmation-paid { color:#047857 !important; }
.confirmation-status { background:#DEF7EC; color:#03543F; padding:2px 8px; border-radius:12px; font-size:12px; }
.confirmation-receipt { width:100%; margin-bottom:30px; }
.confirmation-actions { display:flex; gap:16px; justify-content:center; }
.confirmation-actions .btn { flex:1; }
@media(max-width:600px){.confirmation-page{padding:34px 16px 60px}.confirmation-card{padding:28px 18px}.confirmation-summary>div{align-items:flex-start}.confirmation-actions{display:grid;grid-template-columns:1fr}.confirmation-actions .btn{width:100%}}

/* Fluid tour detail pages */
.tour-detail-page { padding:40px 24px 80px; }
.tour-detail-layout { display:grid; grid-template-columns:minmax(0,2fr) minmax(300px,1fr); gap:40px; align-items:start; }
.tour-detail-main, .tour-detail-sidebar { min-width:0; }
.tour-detail-main img { max-width:100%; }
.tour-detail-sidebar { position:relative; }
.tour-detail-sidebar > div { max-width:100%; }
.tour-featured-image { width:100%; height:clamp(260px,38vw,420px) !important; }
.tour-featured-image img { width:100%; height:100%; object-fit:cover; }
.tour-detail-main .accordion-content { overflow-wrap:anywhere; }
@media (max-width: 900px) {
  .tour-detail-page { padding:24px 16px 56px; }
  .tour-detail-layout { grid-template-columns:1fr; gap:28px; }
  .tour-detail-sidebar { order:2; }
  .tour-detail-main { order:1; }
  .tour-detail-sidebar > div { position:static !important; padding:22px !important; }
  .tour-detail-main h1 { font-size:clamp(28px,8vw,38px) !important; overflow-wrap:anywhere; }
  .tour-detail-main > div[style*="display:flex"] { gap:10px !important; font-size:13px !important; }
  .tour-inclusion-grid { grid-template-columns:1fr !important; gap:14px !important; }
  .tour-guest-grid { grid-template-columns:1fr 1fr !important; }
  .tour-featured-image { height:clamp(220px,58vw,360px) !important; margin-bottom:24px !important; }
  .tour-detail-sidebar form .form-control { width:100%; max-width:100%; }
  .tour-detail-sidebar textarea { resize:vertical; }
}
@media (max-width: 480px) {
  .tour-detail-page { padding-left:12px; padding-right:12px; }
  .tour-guest-grid { grid-template-columns:1fr !important; }
  .tour-detail-main > div[style*="display:flex"] { display:grid !important; grid-template-columns:1fr; }
  .tour-detail-sidebar > div { padding:18px !important; }
  .tour-detail-sidebar .btn { width:100%; }
}

/* Fluid contact page */
.contact-page { padding:40px 24px 80px; }
.contact-layout { display:grid; grid-template-columns:minmax(280px,1fr) minmax(0,1.2fr); gap:50px; align-items:start; }
.contact-card { background:#fff; border-radius:12px; padding:36px; box-shadow:var(--shadow-sm); min-width:0; }
.contact-details { height:fit-content; }
.contact-fields-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; margin-bottom:14px; }
.contact-card .form-control { width:100%; max-width:100%; box-sizing:border-box; }
.contact-card textarea { resize:vertical; min-height:130px; }
.contact-card strong { overflow-wrap:anywhere; }
@media (max-width: 900px) {
  .contact-page { padding:24px 16px 56px; }
  .contact-layout { grid-template-columns:1fr; gap:24px; }
  .contact-card { padding:24px 20px; }
  .contact-card h3 { font-size:21px !important; }
  .contact-fields-grid { grid-template-columns:1fr; gap:0; margin-bottom:0; }
  .contact-fields-grid .form-group { margin-bottom:14px; }
  .contact-card .btn { width:100%; }
}
@media (max-width: 480px) {
  .contact-page { padding-left:12px; padding-right:12px; }
  .contact-card { padding:20px 16px; }
  .contact-page .section-title h1 { font-size:clamp(28px,8vw,36px); line-height:1.15; }
  .contact-page .section-title p { font-size:14px; }
}

/* Mobile install prompt and rounded app-style viewport */
.hs-install-prompt { position:fixed; left:50%; bottom:18px; transform:translateX(-50%); width:min(92vw,430px); z-index:1800; }
.hs-install-prompt[hidden] { display:none; }
.hs-install-prompt-inner { display:grid; gap:8px; padding:16px 18px; color:#fff; background:#143527; border:1px solid rgba(255,255,255,.18); border-radius:22px; box-shadow:0 10px 32px rgba(0,0,0,.28); }
.hs-install-prompt-inner span { color:#D8E9DF; font-size:13px; line-height:1.45; }
.hs-install-actions { display:flex; align-items:center; gap:10px; }
.hs-install-dismiss { margin-left:auto; border:0; color:#fff; background:transparent; font-size:25px; cursor:pointer; }
@media(max-width:600px){
  html { background:#0f2f22; }
  body.tourist-site { margin:8px; min-height:calc(100vh - 16px); border-radius:22px; overflow-x:hidden; box-shadow:0 0 0 1px rgba(255,255,255,.08); }
  body.tourist-site .main-header, body.tourist-site .top-bar, body.tourist-site main, body.tourist-site .main-footer { overflow:hidden; }
  body.tourist-site .main-header { border-radius:22px 22px 0 0; }
  body.tourist-site .main-footer { border-radius:0 0 22px 22px; }
}

/* About and journal responsive layouts */
.about-page { padding:40px 24px 80px; }
.about-story-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(280px,1fr); gap:50px; align-items:center; margin-bottom:70px; }
.about-stats { display:flex; gap:30px; flex-wrap:wrap; }
.about-hero-image { border-radius:16px; overflow:hidden; box-shadow:var(--shadow-lg); height:450px; min-width:0; }
.about-hero-image-img { width:100%; height:100%; object-fit:cover; }
.journal-detail-page { padding:40px 24px 80px; max-width:900px; }
.journal-meta { display:flex; gap:20px; flex-wrap:wrap; color:#6B7280; font-size:13px; margin-bottom:28px; padding-bottom:16px; border-bottom:1px solid #E5E7EB; }
.journal-cover { width:100%; aspect-ratio:16/9; max-height:520px; border-radius:12px; overflow:hidden; margin-bottom:36px; background:#E5E7EB; }
.journal-cover img { width:100%; height:100%; object-fit:cover; object-position:center; }
@media(max-width:900px){ .about-page,.journal-detail-page{padding:24px 16px 56px;} .about-story-grid{grid-template-columns:1fr;gap:28px;margin-bottom:40px;} .about-hero-image{height:clamp(260px,65vw,420px);} .about-stats{gap:18px;} .journal-meta{gap:10px 16px;} }
@media(max-width:480px){ .about-page,.journal-detail-page{padding-left:12px;padding-right:12px;} .about-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;} .about-stats>div{min-width:0;} .about-stats>div>div{font-size:25px!important;} .about-stats span{font-size:11px!important;display:block;line-height:1.3;} .journal-cover{aspect-ratio:4/3;border-radius:10px;} }

.booking-contact-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:12px}.booking-live-summary{background:#ECFDF5;border:1px solid #A7F3D0;color:#065F46;border-radius:8px;padding:10px;font-size:13px;margin:10px 0 14px}@media(max-width:600px){.booking-contact-grid{grid-template-columns:1fr}.tour-guest-grid{grid-template-columns:1fr!important}}

/* Humble Safaris responsive footer layout */
.tourist-site .footer-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px 28px;
  align-items: start;
}
.tourist-site .footer-col { min-width: 0; }
.tourist-site .footer-col h4 { line-height: 1.25; }
@media (max-width: 900px) {
  .tourist-site .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 22px; }
}
@media (max-width: 640px) {
  .tourist-site .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .tourist-site .footer-col { padding-bottom: 4px; }
  .tourist-site .footer-col h4 { margin-bottom: 12px; font-size: 16px; }
  .tourist-site .footer-col ul li { margin-bottom: 8px; }
  .tourist-site .footer-col form { max-width: 100%; }
}

.vendor-plan-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; align-items:stretch; }
.vendor-plan-card { display:flex; flex-direction:column; gap:10px; }
.vendor-plan-card .btn { margin-top:auto; }
.vendor-plan-price { font-size:24px; font-weight:700; color:#143527; }
@media (max-width:900px){ .vendor-plan-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:640px){ .vendor-plan-grid { grid-template-columns:1fr; } .vendor-flow { padding-left:12px !important; padding-right:12px !important; } .vendor-flow .admin-card { overflow:hidden; } }

.hotel-feature-card { display:grid; grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr); gap:28px; background:#fff; border-radius:18px; padding:24px; box-shadow:0 10px 30px rgba(0,0,0,.08); }
.hotel-feature-media>img { width:100%; aspect-ratio:16/9; object-fit:cover; border-radius:14px; }
.hotel-media-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin-top:10px; }
.hotel-media-grid img,.hotel-media-grid video { width:100%; aspect-ratio:4/3; object-fit:cover; border-radius:10px; background:#122; }
.hotel-feature-content h2 { margin:4px 0 8px; font-size:clamp(26px,4vw,42px); }
.hotel-description { line-height:1.7; }
.hotel-room-list { display:grid; gap:10px; margin:12px 0 18px; }
.hotel-room-row { display:flex; justify-content:space-between; gap:14px; align-items:center; padding:13px 0; border-bottom:1px solid #e6ece9; }
.hotel-room-row small { display:block; color:#61716b; margin-top:4px; }
.hotel-room-price { text-align:right; font-weight:700; white-space:nowrap; }
.hotel-pagination { display:flex; justify-content:space-between; align-items:center; gap:18px; margin:24px 0 8px; }
.hotel-pagination a { color:#17634d; font-weight:700; }
@media (max-width:760px){ .hotel-feature-card { grid-template-columns:1fr; padding:16px; } .hotel-media-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .hotel-room-row { align-items:flex-start; flex-direction:column; } .hotel-room-price { text-align:left; white-space:normal; } .hotel-pagination { font-size:14px; } }

.global-search-panel { max-width:1100px; margin:24px auto; padding:0 16px; }
.global-search-form { background:#fff; border:1px solid #e1e9e5; border-radius:16px; padding:18px; box-shadow:0 8px 24px rgba(0,0,0,.06); }
.global-search-form label { display:block; font-weight:700; margin-bottom:9px; }
.global-search-row { display:flex; gap:10px; }
.global-search-row input { flex:1; min-width:0; padding:12px 14px; border:1px solid #cbd8d1; border-radius:8px; }
.search-result-group { margin:28px 0; }
.search-result-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.search-result-card { border:1px solid #e1e9e5; border-radius:14px; overflow:hidden; background:#fff; }
.search-result-card img { width:100%; aspect-ratio:16/9; object-fit:cover; }
.search-result-card>div { padding:15px; }
.search-result-card h3 { margin:0 0 8px; }
.search-result-card p { line-height:1.5; color:#61716b; }
@media(max-width:760px){ .global-search-row { flex-direction:column; } .global-search-row .btn { width:100%; } .search-result-grid { grid-template-columns:1fr; } }

.hotel-detail-page { max-width:1120px; padding:32px 16px 64px; }
.hotel-detail-breadcrumb { color:#61716b; margin-bottom:18px; }
.hotel-detail-hero { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr); gap:28px; align-items:start; }
.hotel-detail-hero-image { width:100%; aspect-ratio:16/10; object-fit:cover; border-radius:16px; }
.hotel-detail-media-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin-top:10px; }
.hotel-detail-media-grid img,.hotel-detail-media-grid video { width:100%; aspect-ratio:4/3; object-fit:cover; border-radius:10px; background:#122; }
.hotel-detail-summary { background:#fff; padding:26px; border-radius:16px; box-shadow:0 8px 24px rgba(0,0,0,.07); }
.hotel-detail-summary h1 { font-size:clamp(28px,5vw,48px); margin:4px 0 8px; }
.hotel-detail-section { margin-top:30px; }
.hotel-detail-room { display:flex; justify-content:space-between; gap:20px; align-items:center; padding:18px 0; border-bottom:1px solid #e1e9e5; }
.hotel-detail-room h3 { margin:0 0 6px; }
.hotel-detail-room p { margin:0; color:#61716b; }
.hotel-detail-room-price { display:flex; gap:10px; align-items:center; white-space:nowrap; }
.hotel-detail-room-price strong { font-size:20px; }
.hotel-page-numbers { display:flex; gap:6px; align-items:center; }
.hotel-page-numbers a { min-width:34px; text-align:center; padding:7px 9px; border-radius:7px; }
.hotel-page-numbers a.active { background:#17634d; color:#fff; }
@media(max-width:760px){ .hotel-detail-hero { grid-template-columns:1fr; } .hotel-detail-media-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .hotel-detail-room { align-items:flex-start; flex-direction:column; } .hotel-detail-room-price { white-space:normal; flex-wrap:wrap; } .hotel-pagination { flex-wrap:wrap; justify-content:center; } }

/* Final responsive marketplace controls */
.global-search-panel { width:100%; box-sizing:border-box; }
.global-search-form { width:100%; box-sizing:border-box; }
.global-search-heading { display:flex; flex-wrap:wrap; align-items:baseline; gap:8px 12px; margin-bottom:10px; }
.global-search-heading strong { font-size:18px; }
.global-search-heading span { color:#61716b; }
.global-search-row { display:grid; grid-template-columns:minmax(0,1fr) minmax(150px,190px) auto; align-items:stretch; }
.global-search-row input,.global-search-row select,.global-search-row button { min-width:0; box-sizing:border-box; }

.vehicle-marketplace,.hotel-marketplace,.vehicle-feature-card,.hotel-feature-card { width:100%; max-width:100%; box-sizing:border-box; min-width:0; }
.vehicle-feature-card { display:grid; grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr); gap:28px; background:#fff; border-radius:18px; padding:24px; box-shadow:0 10px 30px rgba(0,0,0,.08); overflow:hidden; }
.vehicle-feature-image,.vehicle-feature-content { min-width:0; max-width:100%; }
.vehicle-feature-image img { display:block; width:100%; max-width:100%; height:auto; aspect-ratio:16/10; object-fit:cover; border-radius:14px; }
.vehicle-feature-content h2,.vehicle-feature-content p { overflow-wrap:anywhere; }
.vehicle-specs { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.vehicle-feature-footer { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:14px; }
.vehicle-feature-footer .btn { max-width:100%; }

.hotel-pagination,.vehicle-pagination { width:100%; box-sizing:border-box; display:grid; grid-template-columns:minmax(100px,1fr) auto minmax(100px,1fr); align-items:center; gap:12px; margin:28px 0 8px; }
.hotel-pagination > a:first-child,.vehicle-pagination > a:first-child { justify-self:start; }
.hotel-pagination > a:last-child,.vehicle-pagination > a:last-child { justify-self:end; }
.hotel-page-numbers { justify-self:center; display:flex; flex-wrap:wrap; justify-content:center; align-items:center; gap:6px; }
.hotel-pagination > a,.vehicle-pagination > a,.hotel-page-numbers a { color:#17634d; font-weight:700; text-decoration:none; border:1px solid #cfe0d8; background:#fff; padding:9px 13px; border-radius:9px; transition:.2s ease; }
.hotel-pagination > a:hover,.vehicle-pagination > a:hover,.hotel-page-numbers a:hover { background:#edf7f1; transform:translateY(-1px); }
.hotel-page-numbers a.active { background:#17634d; border-color:#17634d; color:#fff; }
.hotel-page-numbers span { color:#61716b; padding:0 2px; }

@media (max-width:760px) {
  .global-search-panel { margin:16px auto; padding:0 12px; }
  .global-search-form { padding:14px; border-radius:12px; }
  .global-search-heading { display:block; line-height:1.35; }
  .global-search-heading strong,.global-search-heading span { display:block; }
  .global-search-heading span { margin-top:3px; font-size:14px; }
  .global-search-row { grid-template-columns:1fr; gap:8px; }
  .global-search-row input,.global-search-row select,.global-search-row button { width:100%; min-height:44px; }
  .vehicle-marketplace,.hotel-marketplace { padding-left:12px !important; padding-right:12px !important; }
  .vehicle-feature-card { grid-template-columns:1fr; gap:18px; padding:14px; border-radius:14px; }
  .vehicle-feature-content h2 { font-size:clamp(28px,9vw,42px); line-height:1.1; }
  .vehicle-specs { grid-template-columns:1fr; }
  .vehicle-feature-footer { align-items:stretch; flex-direction:column; }
  .vehicle-feature-footer .btn { width:100%; text-align:center; }
  .hotel-pagination,.vehicle-pagination { grid-template-columns:1fr 1fr; gap:10px; }
  .hotel-page-numbers { grid-column:1 / -1; grid-row:1; width:100%; order:0; }
  .hotel-pagination > a:first-child,.vehicle-pagination > a:first-child { grid-column:1; grid-row:2; justify-self:start; }
  .hotel-pagination > a:last-child,.vehicle-pagination > a:last-child { grid-column:2; grid-row:2; justify-self:end; }
  .hotel-pagination > a:only-child,.vehicle-pagination > a:only-child { grid-column:1 / -1; justify-self:center; }
}

/* Site-wide fluid page pass */
.vehicle-detail-page { padding:40px 24px 80px; }
.vehicle-detail-breadcrumb { color:var(--text-muted); margin-bottom:24px; overflow-wrap:anywhere; }
.vehicle-detail-layout { display:grid; grid-template-columns:minmax(0,2fr) minmax(280px,1fr); gap:40px; align-items:start; }
.vehicle-detail-main,.vehicle-detail-booking { min-width:0; }
.vehicle-detail-category { color:var(--secondary); font-size:13px; font-weight:700; text-transform:uppercase; }
.vehicle-detail-main h1 { font-size:clamp(30px,5vw,52px); margin:6px 0 20px; overflow-wrap:anywhere; }
.vehicle-detail-image { width:100%; aspect-ratio:16/10; border-radius:12px; overflow:hidden; margin-bottom:30px; }
.vehicle-detail-image img { width:100%; height:100%; object-fit:cover; }
.vehicle-detail-main h2 { font-size:clamp(24px,3vw,32px); margin-bottom:14px; }
.vehicle-detail-specs { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; margin-bottom:30px; }
.vehicle-detail-specs > div { background:#fff; padding:16px; border-radius:8px; border:1px solid var(--border-color); min-width:0; }
.vehicle-detail-specs strong,.vehicle-detail-specs span { display:block; overflow-wrap:anywhere; }
.vehicle-detail-specs span { margin-top:5px; color:var(--text-muted); }
.vehicle-detail-features { color:#4B5563; line-height:1.7; overflow-wrap:anywhere; }
.vehicle-booking-card { background:#fff; border-radius:12px; padding:30px; box-shadow:var(--shadow-lg); border-top:5px solid var(--secondary); position:sticky; top:90px; }
.vehicle-rate-label { font-size:12px; color:var(--text-muted); text-transform:uppercase; }
.vehicle-rate { font-size:clamp(28px,4vw,40px); font-weight:700; color:var(--primary); margin:6px 0 16px; overflow-wrap:anywhere; }
.vehicle-driver-note { background:#F9FAFB; padding:12px; border-radius:6px; font-size:13px; color:#4B5563; margin-bottom:20px; overflow-wrap:anywhere; }
.vehicle-book-button { width:100%; }
@media (max-width:900px) {
  .vehicle-detail-layout { grid-template-columns:1fr; gap:24px; }
  .vehicle-booking-card { position:static; }
}
@media (max-width:640px) {
  .vehicle-detail-page { padding:28px 14px 60px; }
  .vehicle-detail-specs { grid-template-columns:1fr; gap:10px; }
  .vehicle-booking-card { padding:20px 16px; }
  [style*="grid-template-columns"] { grid-template-columns:1fr !important; }
  [style*="display: grid"] { min-width:0 !important; }
}
