/* =====================================================
   Smart Booking — Public CSS
   Theme: rounded, soft shadows, gradient highlights
   ===================================================== */

:root {
  --c-bg: #fbfaf6;
  --c-surface: #ffffff;
  --c-text: #0a2540;
  --c-muted: #5b6a82;
  --c-border: #e6e8ee;
  --c-primary: #0a2540;          /* deep navy */
  --c-primary-2: #1e5aa8;        /* royal blue */
  --c-primary-soft: #eaf0f8;
  --c-accent: #c89030;            /* warm gold for highlights */
  --c-accent-soft: #fbf3df;
  --c-success: #0d9b6c;
  --c-warning: #c97a14;
  --c-danger:  #c93a3a;
  --c-info:    #1e5aa8;
  --shadow-sm: 0 2px 6px rgba(10,37,64,0.06);
  --shadow:    0 8px 28px rgba(10,37,64,0.10);
  --shadow-lg: 0 18px 46px rgba(10,37,64,0.16);
  --radius-sm: 10px;
  --radius:    18px;
  --radius-lg: 28px;
  --grad: linear-gradient(135deg, #0a2540 0%, #1e5aa8 100%);
  --grad-button: linear-gradient(135deg, #1e5aa8 0%, #2c75c9 100%);
  --grad-text: linear-gradient(135deg, #c89030 0%, #e8b14a 60%, #f4c971 100%);
  --grad-accent: linear-gradient(135deg, #c89030 0%, #e6b35a 100%);
  --t: 0.25s cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--c-bg);
  color: var(--c-text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--c-primary); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--c-primary-2); }
img { max-width: 100%; }
h1,h2,h3,h4 { color: var(--c-text); line-height: 1.2; margin: 0 0 12px; }
h1 { font-size: clamp(32px, 4.4vw, 56px); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(24px, 2.8vw, 36px); font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: 19px; font-weight: 700; }
p  { margin: 0 0 12px; }

.container { width: min(1180px, 92%); margin: 0 auto; }
.narrow { max-width: 720px; margin: 0 auto; }
.muted { color: var(--c-muted); }
.small { font-size: 13px; }
.center { text-align: center; }
.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.78);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--c-border);
  transition: box-shadow var(--t);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--c-text); font-weight: 800; }
.brand-mark {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px;
  flex-shrink: 0;
}
.brand-mark img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 4px 10px rgba(10,37,64,0.25));
}
/* On dark backgrounds (footer / admin sidebar), brighten the logo slightly so
   the dark-navy "B" portion remains visible against navy. */
.site-footer .brand-mark img,
.admin-sidebar .brand-mark img,
.admin-login-card .brand-mark img {
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.5)) brightness(1.15);
}
.brand-name { font-size: 18px; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { color: var(--c-text); font-weight: 500; }
.nav-links a:hover { color: var(--c-primary); }
.nav-toggle { display: none; background: none; border: 0; flex-direction: column; gap: 5px; padding: 8px; cursor: pointer; }
.nav-toggle span { width: 22px; height: 2px; background: var(--c-text); border-radius: 2px; transition: var(--t); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 700; font-size: 14px; letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--t), box-shadow var(--t), background var(--t), color var(--t), filter var(--t);
  text-decoration: none;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--grad-button); color: #fff;
  box-shadow: 0 8px 22px rgba(30,90,168,0.36);
  text-shadow: 0 1px 1px rgba(0,0,0,0.12);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(30,90,168,0.48); color: #fff; filter: brightness(1.05); }

/* Button loading state — used by the booking form */
.btn .btn-spinner { display: none; width: 16px; height: 16px; border: 2.5px solid rgba(255,255,255,0.35); border-top-color: #fff; border-radius: 50%; animation: sb-spin 0.7s linear infinite; margin-left: 10px; vertical-align: middle; }
.btn.is-loading { pointer-events: none; opacity: 0.92; transform: none !important; filter: none !important; }
.btn.is-loading .btn-spinner { display: inline-block; }
.btn.is-loading .btn-label::after { content: '…'; }
.btn:disabled { cursor: not-allowed; }
@keyframes sb-spin { to { transform: rotate(360deg); } }

/* Full-page overlay shown while booking submission is in flight */
.sb-overlay { position: fixed; inset: 0; background: rgba(15,23,42,0.78); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); z-index: 9999; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.22s ease; }
.sb-overlay.is-visible { opacity: 1; }
.sb-overlay-inner { background: #fff; border-radius: 18px; padding: 28px 36px; display: flex; gap: 20px; align-items: center; max-width: 92vw; box-shadow: 0 24px 60px rgba(0,0,0,0.22); }
.sb-loader { width: 48px; height: 48px; border: 4px solid #e2e8f0; border-top-color: var(--c-primary, #1e3a8a); border-radius: 50%; animation: sb-spin 0.85s linear infinite; flex: 0 0 auto; }
.sb-overlay-text { display: flex; flex-direction: column; gap: 4px; }
.sb-overlay-text b { font-size: 16px; font-weight: 700; color: var(--c-text, #0f172a); }
.sb-overlay-text span { font-size: 13px; color: var(--c-muted, #64748b); }
@media (max-width: 480px) {
  .sb-overlay-inner { padding: 22px 24px; gap: 14px; border-radius: 14px; }
  .sb-loader { width: 38px; height: 38px; border-width: 3.5px; }
  .sb-overlay-text b { font-size: 14.5px; }
  .sb-overlay-text span { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .btn .btn-spinner, .sb-loader { animation: none; }
}
.btn-ghost { background: var(--c-surface); color: var(--c-text); border-color: var(--c-border); }
.btn-ghost:hover { border-color: var(--c-primary); color: var(--c-primary); }
.btn-danger { background: var(--c-danger); color: #fff; }
.btn-danger:hover { background: #c93a3a; color: #fff; }
.btn-whatsapp {
  background: linear-gradient(135deg, #1faa53 0%, #25D366 100%);
  color: #fff;
  box-shadow: 0 8px 22px rgba(37,211,102,0.36);
  text-shadow: 0 1px 1px rgba(0,0,0,0.12);
}
.btn-whatsapp:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 12px 28px rgba(37,211,102,0.50); filter: brightness(1.04); }
.btn-whatsapp svg { display: block; }
.btn-lg { padding: 14px 26px; font-size: 15px; }
.btn-sm { padding: 8px 14px; font-size: 13px; }

/* Hero */
.hero { position: relative; padding: 64px 0 40px; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: -10% -20% auto auto; width: 60%; height: 90%;
  background: radial-gradient(closest-side, rgba(30,90,168,0.14), transparent 70%);
  filter: blur(10px); pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; bottom: -30%; left: -10%; width: 60%; height: 80%;
  background: radial-gradient(closest-side, rgba(200,144,48,0.10), transparent 70%);
  pointer-events: none;
}
.hero-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.eyebrow {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: var(--c-accent-soft); color: var(--c-accent);
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  border: 1px solid rgba(200,144,48,0.22);
}
.lead { font-size: 18px; color: var(--c-muted); max-width: 56ch; }
.hero-cta { display: flex; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 28px; margin-top: 38px; flex-wrap: wrap; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 26px; font-weight: 800; }
.hero-stats span { color: var(--c-muted); font-size: 13px; }

.hero-art { position: relative; min-height: 420px; display: flex; align-items: center; justify-content: center; }
.hero-scene { width: 100%; max-width: 520px; position: relative; z-index: 2; }
.bus-svg { width: 100%; height: auto; display: block; }
.bus-body { transform-origin: center; animation: bus-bob 1.4s ease-in-out infinite; }
.bus-wheel { animation: bus-wheel-spin 1.2s linear infinite; transform-box: fill-box; }
.road-dashes { animation: bus-road 0.7s linear infinite; }
.bus-cloud.cloud-1 { animation: bus-cloud-1 22s linear infinite; transform-box: fill-box; }
.bus-cloud.cloud-2 { animation: bus-cloud-2 30s linear infinite; transform-box: fill-box; }
.bus-sun { transform-origin: 330px 55px; animation: bus-sun-pulse 4s ease-in-out infinite; transform-box: fill-box; }
@keyframes bus-bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes bus-wheel-spin { to { transform: rotate(360deg); } }
@keyframes bus-road { from { transform: translateX(0); } to { transform: translateX(-70px); } }
@keyframes bus-cloud-1 { from { transform: translateX(0); } to { transform: translateX(420px); } }
@keyframes bus-cloud-2 { from { transform: translateX(-50px); } to { transform: translateX(400px); } }
@keyframes bus-sun-pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.06); } }
@media (prefers-reduced-motion: reduce) {
  .bus-body, .bus-wheel, .road-dashes, .bus-cloud, .bus-sun { animation: none; }
}
.orb { position: absolute; border-radius: 50%; filter: blur(0.5px); animation: float 8s ease-in-out infinite; }
.orb-1 { width: 280px; height: 280px; background: linear-gradient(135deg,#0a2540,#1e5aa8); top: 30px; right: 0; opacity: 0.92; }
.orb-2 { width: 180px; height: 180px; background: linear-gradient(135deg,#1e5aa8,#5b87c4); top: 180px; left: 30px; opacity: 0.75; animation-delay: -2s; }
.orb-3 { width: 120px; height: 120px; background: linear-gradient(135deg,#c89030,#e6b35a); bottom: 20px; right: 60px; opacity: 0.85; animation-delay: -4s; }
.float-card {
  position: absolute; background: #fff; border-radius: 16px;
  padding: 12px 16px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 12px;
  font-size: 13px; min-width: 200px;
  animation: float 6s ease-in-out infinite;
}
.float-card span { font-size: 26px; }
.float-card b { display: block; font-weight: 700; }
.float-card i { font-style: normal; color: var(--c-muted); font-size: 12px; }
.card-1 { top: 60px; left: 40px; animation-delay: 0s; }
.card-2 { top: 220px; right: 0; animation-delay: -1.5s; }
.card-3 { bottom: 30px; left: 100px; animation-delay: -3s; }

@keyframes float {
  0%,100% { transform: translateY(0) rotate(0); }
  50%     { transform: translateY(-14px) rotate(0.5deg); }
}

/* Sections */
.section { padding: 70px 0; position: relative; }
.section-alt { background: linear-gradient(180deg, transparent, #eef2f8 50%, transparent); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 36px; }
.section-head .eyebrow { margin-bottom: 12px; }
.section-head p { color: var(--c-muted); font-size: 16px; }

/* Category grid */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.cat-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 22px;
  display: flex; flex-direction: column; gap: 10px;
  color: var(--c-text);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  position: relative; overflow: hidden;
}
.cat-card::before {
  content: ''; position: absolute; inset: 0;
  background: var(--grad); opacity: 0;
  transition: opacity var(--t);
}
.cat-card > * { position: relative; z-index: 1; }
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; color: #fff; }
.cat-card:hover::before { opacity: 1; }
.cat-card:hover .cat-name, .cat-card:hover .cat-arrow { color: #fff; }
.cat-icon { font-size: 32px; }
.cat-name { font-weight: 700; font-size: 17px; }
.cat-arrow { color: var(--c-muted); font-weight: 700; transition: transform var(--t); }
.cat-card:hover .cat-arrow { transform: translateX(4px); }

/* Service cards */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.svc-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--c-primary); }
.svc-icon { font-size: 32px; margin-bottom: 12px; display: inline-grid; place-items: center;
  width: 56px; height: 56px; background: var(--c-primary-soft); border-radius: 16px; }
.svc-icon.big { width: 84px; height: 84px; font-size: 42px; }
.svc-card h3 { margin: 8px 0 6px; }

/* How it works */
.how-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.how-step {
  background: #fff; border: 1px solid var(--c-border);
  border-radius: var(--radius); padding: 26px;
  transition: transform var(--t), box-shadow var(--t);
}
.how-step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.how-num {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--grad); color: #fff;
  font-weight: 800; margin-bottom: 12px;
  box-shadow: 0 6px 16px rgba(10,37,64,0.30);
}

/* CTA */
.cta-section { padding-top: 0; }
.cta-card {
  background: var(--grad); color: #fff;
  border-radius: var(--radius-lg);
  padding: 44px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  box-shadow: 0 18px 44px rgba(10,37,64,0.32);
  position: relative; overflow: hidden;
}
.cta-card::before {
  content: ''; position: absolute; top: -40%; right: -10%;
  width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(200,144,48,0.30), transparent 70%);
  pointer-events: none;
}
.cta-card h2, .cta-card p { color: #fff; }
.cta-card p { opacity: 0.9; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-card .btn-ghost { background: rgba(255,255,255,0.14); color: #fff; border-color: rgba(255,255,255,0.3); }
.cta-card .btn-ghost:hover { background: rgba(255,255,255,0.24); color: #fff; }
.cta-card .btn-primary { background: var(--grad-accent); color: #fff; box-shadow: 0 8px 24px rgba(200,144,48,0.45); }
.cta-card .btn-primary:hover { color: #fff; box-shadow: 0 12px 30px rgba(200,144,48,0.55); }
.cta-card > * { position: relative; z-index: 1; }

/* Page hero */
.page-hero { padding: 72px 0 36px; background: radial-gradient(at 30% 0%, rgba(30,90,168,0.10), transparent 60%); }
.search-box {
  margin-top: 18px; width: 100%; max-width: 480px;
  padding: 14px 18px; font-size: 15px;
  border: 1px solid var(--c-border); border-radius: 999px;
  background: #fff; box-shadow: var(--shadow-sm);
  transition: border-color var(--t), box-shadow var(--t);
}
.search-box:focus { outline: 0; border-color: var(--c-primary); box-shadow: 0 0 0 4px var(--c-primary-soft); }

/* Cards */
.card {
  background: #fff; border: 1px solid var(--c-border);
  border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow-sm);
}
.card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }

/* Forms */
.form { display: flex; flex-direction: column; gap: 14px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 13px; color: var(--c-text); }
.form input, .form select, .form textarea {
  padding: 12px 14px; font: inherit;
  border: 1px solid var(--c-border); border-radius: 12px;
  background: #fff; transition: border-color var(--t), box-shadow var(--t);
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: 0; border-color: var(--c-primary);
  box-shadow: 0 0 0 4px var(--c-primary-soft);
}
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.grid-span { grid-column: 1 / -1; }
.form-actions { display: flex; gap: 12px; margin-top: 12px; flex-wrap: wrap; }
.form-actions.center { justify-content: center; }

/* Booking page layout */
.form-wrap { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; align-items: start; }
.side .badge {
  display: inline-block; padding: 6px 12px; border-radius: 999px;
  background: var(--c-primary-soft); color: var(--c-primary);
  font-size: 12px; font-weight: 700; margin-top: 10px;
}

/* Auth */
.auth-card h1 { font-size: 28px; }
.auth-card .form { gap: 14px; margin-top: 18px; }
.auth-card .form > button[type="submit"] { margin-top: 8px; width: 100%; }
.auth-card > p.center { margin-top: 22px; margin-bottom: 0; }
.auth-card > p.center a { font-weight: 600; }

/* Booking list */
.booking-list { display: flex; flex-direction: column; gap: 14px; }
.booking-row { display: grid; grid-template-columns: 60px 1fr auto; gap: 16px; align-items: start; padding: 18px 22px; }
.b-icon { font-size: 36px; width: 56px; height: 56px; display: grid; place-items: center; background: var(--c-primary-soft); border-radius: 16px; }
.b-title { font-weight: 700; font-size: 16px; }
.booking-details { margin-top: 10px; }
.booking-details > summary { cursor: pointer; display: inline-block; font-size: 13px; font-weight: 600; color: var(--c-primary); padding: 4px 0; list-style: none; user-select: none; }
.booking-details > summary::-webkit-details-marker { display: none; }
.booking-details > summary::before { content: '▸ '; display: inline-block; transition: transform 0.18s ease; font-size: 11px; }
.booking-details[open] > summary::before { transform: rotate(90deg); }
.booking-details[open] > summary { margin-bottom: 10px; }
.b-kv { display: grid; grid-template-columns: 130px 1fr; gap: 8px 16px; margin: 0; padding: 14px 16px; background: var(--c-bg-soft, #f8fafc); border-radius: 10px; font-size: 13.5px; }
.b-kv dt { color: var(--c-muted); font-weight: 600; font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.04em; }
.b-kv dd { margin: 0; color: var(--c-text); word-break: break-word; }
@media (max-width: 640px) {
  .b-kv { grid-template-columns: 1fr; gap: 2px 0; }
  .b-kv dd { margin-bottom: 8px; }
}

/* Status pills */
.status {
  display: inline-block; padding: 4px 12px;
  border-radius: 999px; font-size: 12px; font-weight: 700;
  background: #f0f2f7; color: var(--c-muted);
  text-transform: capitalize;
}
.status.big { padding: 8px 18px; font-size: 14px; }
.status-pending     { background: #fff4e0; color: #b76e1a; }
.status-confirmed   { background: #e0f0ff; color: #1a5fb7; }
.status-in_progress { background: #e6e0ff; color: #5a3bb7; }
.status-completed   { background: #d8f5e3; color: #1aa572; }
.status-cancelled   { background: #fde0e0; color: #c93a3a; }

/* Flash */
.flash { padding: 14px 18px; border-radius: 14px; margin: 14px 0; font-size: 14px; }
.flash ul { margin: 0; padding-left: 18px; }
.flash-success { background: #e1f6ec; color: #0c6c4a; border: 1px solid #b8e8d0; }
.flash-error   { background: #fde6e6; color: #a32626; border: 1px solid #f3bdbd; }
.flash-info    { background: #e0eeff; color: #1a4f8c; border: 1px solid #b8d4f3; }

/* Success page */
.success-card { text-align: center; padding: 48px 36px; }
.code-box {
  display: inline-block; margin: 14px 0;
  padding: 14px 22px; border-radius: 14px;
  background: var(--c-accent-soft); color: var(--c-accent);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-weight: 800; font-size: 22px; letter-spacing: 0.05em;
  border: 1px solid rgba(200,144,48,0.30);
}
.check-anim { display: flex; justify-content: center; margin-bottom: 12px; }
.check-circle { stroke-dasharray: 176; stroke-dashoffset: 176; animation: draw 0.7s ease-out forwards; stroke: #1e5aa8 !important; }
.check-tick   { stroke: #1e5aa8 !important; }
.check-tick { stroke-dasharray: 50; stroke-dashoffset: 50; animation: draw 0.5s 0.6s ease-out forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ============================================
   Footer — premium navy with gold accent strip
   ============================================ */
.site-footer {
  position: relative;
  background:
    radial-gradient(at 90% 0%, rgba(30,90,168,0.20), transparent 55%),
    radial-gradient(at 10% 100%, rgba(200,144,48,0.08), transparent 50%),
    linear-gradient(180deg, #0a2540 0%, #061a2e 100%);
  color: #b8c2d4;
  padding: 80px 0 28px;
  margin-top: 80px;
  font-size: 15px;
  line-height: 1.7;
}
.footer-accent {
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent 0%, #c89030 30%, #f4c971 50%, #c89030 70%, transparent 100%);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
  gap: 56px;
  align-items: start;
}

/* Brand column */
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand .brand-name { color: #ffffff; font-size: 19px; }
.footer-tag {
  color: #98a4ba;
  font-size: 14px;
  line-height: 1.7;
  max-width: 36ch;
  margin: 0 0 22px;
}
.footer-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 600;
  color: #d4ddec;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

/* Social icons */
.footer-social { margin-top: 22px; }
.footer-social-label {
  font-size: 11px; font-weight: 700; color: #98a4ba;
  text-transform: uppercase; letter-spacing: 0.12em;
  margin-bottom: 10px;
}
.footer-social-row { display: flex; gap: 10px; }
.social-ico {
  display: inline-grid; place-items: center;
  width: 38px; height: 38px; border-radius: 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  color: #d4ddec;
  text-decoration: none;
  transition: transform var(--t), background var(--t), color var(--t), border-color var(--t);
}
.social-ico:hover { transform: translateY(-2px); color: #ffffff; }
.social-fb:hover { background: rgba(24,119,242,0.20); border-color: #1877f2; }
.social-tt:hover { background: linear-gradient(135deg, rgba(37,244,238,0.20), rgba(254,44,85,0.20)); border-color: #fe2c55; }

/* Link columns */
.footer-col h4 {
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 18px;
  position: relative;
  padding-bottom: 10px;
}
.footer-col h4::after {
  content: '';
  position: absolute; left: 0; bottom: 0;
  width: 28px; height: 2px;
  background: linear-gradient(90deg, #c89030, #f4c971);
  border-radius: 2px;
}
.footer-col a {
  display: block;
  color: #b8c2d4;
  font-size: 14px;
  padding: 6px 0;
  text-decoration: none;
  transition: color var(--t), transform var(--t);
}
.footer-col a:hover { color: #ffffff; transform: translateX(3px); }

/* Contact column */
.footer-contact-row {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: #b8c2d4;
  margin-bottom: 10px;
  line-height: 1.5;
}
.footer-contact-row a { color: #b8c2d4; padding: 0; display: inline; }
.footer-contact-row a:hover { color: #ffffff; transform: none; }
.fc-icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  display: inline-grid; place-items: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  font-size: 13px;
}

/* Divider + bottom bar */
.footer-divider {
  height: 1px;
  margin: 50px 0 22px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.10) 20%, rgba(255,255,255,0.10) 80%, transparent);
}
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 14px;
  font-size: 13px;
  color: #8893a8;
}
.footer-copy { letter-spacing: 0.02em; }
.footer-credit { letter-spacing: 0.02em; }
.dev-credit {
  font-weight: 700;
  background: linear-gradient(135deg, #c89030 0%, #e8b14a 50%, #f4c971 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  transition: filter var(--t);
  margin-left: 4px;
}
.dev-credit:hover { filter: brightness(1.18); }
.footer-top {
  color: #98a4ba;
  font-size: 13px; font-weight: 600;
  padding: 8px 14px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.10);
  text-decoration: none;
  transition: var(--t);
}
.footer-top:hover { color: #fff; border-color: rgba(200,144,48,0.45); background: rgba(200,144,48,0.08); }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .site-footer { padding: 60px 0 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { justify-content: center; text-align: center; flex-direction: column; gap: 10px; }
}

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.22,.61,.36,1); }
.reveal.in { opacity: 1; transform: none; }

/* Responsive */
/* =====================================================
   WhatsApp floating chat widget
   ===================================================== */
.wa-widget {
  position: fixed; bottom: 22px; right: 22px;
  z-index: 90;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Launcher pill */
.wa-launcher {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px 14px 18px;
  background: linear-gradient(135deg, #1faa53 0%, #25D366 100%);
  color: #fff;
  border: 0; border-radius: 999px;
  font-weight: 700; font-size: 15px;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(37,211,102,0.45), 0 4px 10px rgba(0,0,0,0.12);
  transition: transform 0.25s cubic-bezier(.22,.61,.36,1), box-shadow 0.25s;
  position: relative;
}
.wa-launcher:hover  { transform: translateY(-3px); box-shadow: 0 18px 36px rgba(37,211,102,0.55); }
.wa-launcher:active { transform: translateY(0); }
.wa-launcher svg { display: block; }
.wa-launcher-label { white-space: nowrap; }

/* Pulse ring around the launcher (subtle attention) */
.wa-launcher::before {
  content: ''; position: absolute; inset: 0;
  border-radius: 999px;
  box-shadow: 0 0 0 0 rgba(37,211,102,0.55);
  animation: wa-pulse 2.4s ease-out infinite;
  pointer-events: none;
}
@keyframes wa-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(37,211,102,0.45); }
  70%  { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* Notification badge */
.wa-badge {
  position: absolute; top: -6px; right: -6px;
  min-width: 22px; height: 22px;
  padding: 0 6px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #ff3b30; color: #fff;
  border: 2px solid #fff;
  border-radius: 999px;
  font-size: 11px; font-weight: 800;
  box-shadow: 0 2px 6px rgba(255,59,48,0.5);
}
.wa-launcher.is-open .wa-badge { display: none; }

/* Chat card */
.wa-card {
  position: absolute; right: 0; bottom: calc(100% + 14px);
  width: 320px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.20), 0 8px 20px rgba(0,0,0,0.08);
  overflow: hidden;
  transform-origin: bottom right;
  transform: scale(0.85) translateY(10px);
  opacity: 0; pointer-events: none;
  transition: transform 0.28s cubic-bezier(.22,1.2,.36,1), opacity 0.2s;
}
.wa-widget.is-open .wa-card {
  transform: scale(1) translateY(0);
  opacity: 1; pointer-events: auto;
}

/* Card header — green WhatsApp gradient */
.wa-card-head {
  background: linear-gradient(135deg, #1faa53 0%, #25D366 100%);
  color: #fff;
  padding: 16px 18px;
  display: grid;
  grid-template-columns: 44px 1fr 28px;
  align-items: center;
  gap: 12px;
}
.wa-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: #ffffff;
  display: grid; place-items: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  overflow: hidden;
  padding: 4px;
}
.wa-avatar img { width: 100%; height: 100%; object-fit: contain; display: block; }
.wa-head-text { line-height: 1.25; }
.wa-name { font-weight: 700; font-size: 15px; }
.wa-status { font-size: 12px; opacity: 0.92; display: flex; align-items: center; gap: 6px; margin-top: 2px; }
.wa-dot { width: 8px; height: 8px; border-radius: 50%; background: #b5ffb5; box-shadow: 0 0 6px rgba(181,255,181,0.9); }
.wa-close {
  width: 28px; height: 28px;
  background: rgba(255,255,255,0.18); border: 0;
  color: #fff; font-size: 20px; line-height: 1;
  border-radius: 50%; cursor: pointer;
  transition: background 0.2s;
  display: grid; place-items: center;
  padding: 0;
}
.wa-close:hover { background: rgba(255,255,255,0.32); }

/* Card body */
.wa-card-body {
  padding: 22px 18px 16px;
  background:
    linear-gradient(180deg, #f0f4f7 0%, #e9eef2 100%);
  position: relative;
}
.wa-card-body::before {
  /* Subtle WhatsApp-style chat-paper texture using SVG dots */
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(15,87,52,0.06) 1px, transparent 1px);
  background-size: 14px 14px;
  pointer-events: none;
}
.wa-bubble {
  position: relative; z-index: 1;
  background: #fff;
  border-radius: 4px 14px 14px 14px;
  padding: 12px 14px 8px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.10);
  max-width: 88%;
}
.wa-bubble p { margin: 0 0 4px; font-size: 14px; line-height: 1.5; color: #303030; }
.wa-time { display: block; text-align: right; font-size: 11px; color: #8b95a0; }

/* CTA button */
.wa-card-cta {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px;
  background: linear-gradient(135deg, #1faa53 0%, #25D366 100%);
  color: #fff !important;
  font-weight: 700; font-size: 15px;
  text-decoration: none;
  transition: filter 0.2s;
}
.wa-card-cta:hover { filter: brightness(1.06); color: #fff; }

/* Phone — keep it visible & comfortable */
@media (max-width: 480px) {
  .wa-widget { bottom: 16px; right: 16px; left: 16px; }
  .wa-card { width: auto; right: 0; left: 0; }
  .wa-launcher { padding: 12px 18px 12px 16px; font-size: 14px; margin-left: auto; display: inline-flex; }
  .wa-widget { display: flex; flex-direction: column; align-items: flex-end; }
}

/* =====================================================
   RESPONSIVE LAYERS — Desktop / Laptop / Tablet / Phone
   ===================================================== */

/* Prevent any horizontal overflow on every device */
html, body { overflow-x: hidden; max-width: 100%; }
img, svg, video { max-width: 100%; height: auto; }

/* Large laptop ≤ 1280 */
@media (max-width: 1280px) {
  .container { width: min(1100px, 92%); }
  .footer-grid { gap: 40px; }
}

/* Small laptop / large tablet ≤ 1024 */
@media (max-width: 1024px) {
  .section { padding: 60px 0; }
  .page-hero { padding: 56px 0 28px; }
  .hero { padding: 48px 0 32px; }
  .hero-stats { gap: 22px; margin-top: 28px; }
  .hero-stats strong { font-size: 22px; }
  .cta-card { padding: 36px; }
  .form-wrap { gap: 20px; }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 32px; }
}

/* Tablet portrait ≤ 900 */
@media (max-width: 900px) {
  .nav { gap: 12px; }
  .hero-inner { grid-template-columns: 1fr; gap: 28px; }
  .hero-text { order: 1; }
  .hero-art { order: 2; min-height: 320px; }
  .hero-scene { max-width: 420px; }
  .form-wrap { grid-template-columns: 1fr; }
  .form-wrap .side { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }
  .cta-card { padding: 32px; text-align: left; }
  .cta-card h2 { font-size: 26px; }
}

/* Mobile / tablet ≤ 768 (most phones in landscape) */
@media (max-width: 768px) {
  h1 { font-size: clamp(28px, 7vw, 40px); }
  h2 { font-size: clamp(22px, 5vw, 28px); }
  .section { padding: 48px 0; }
  .section-head { margin-bottom: 24px; }
  .hero { padding: 36px 0 24px; }
  .page-hero { padding: 44px 0 22px; }
  .lead { font-size: 16px; }
  .btn-lg { padding: 12px 22px; font-size: 14px; }
  .cta-card { flex-direction: column; align-items: flex-start; padding: 28px; gap: 18px; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { flex: 1 1 auto; }
  .booking-row { grid-template-columns: 50px 1fr; row-gap: 8px; }
  .b-status { grid-column: 1 / -1; }
  .form-actions .btn { flex: 1 1 auto; }
  .data-table thead { display: none; }
  /* Tables already have overflow-x:auto wrapper for those that need columns */
}

/* Mobile portrait ≤ 640 — engage hamburger nav */
@media (max-width: 640px) {
  .nav { padding: 12px 0; }
  .brand-name { font-size: 16px; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; top: 64px; right: 4%; left: 4%;
    background: #fff; padding: 18px;
    border-radius: 18px; box-shadow: var(--shadow-lg);
    flex-direction: column; align-items: stretch; gap: 8px;
    width: auto; max-width: none;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: var(--t);
  }
  .nav-links.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a { padding: 10px 12px; border-radius: 10px; }
  .nav-links a:hover { background: var(--c-primary-soft); }
  .nav-links .btn { justify-content: center; }
  .grid-2 { grid-template-columns: 1fr; }
  .hero-stats { gap: 16px; }
  .hero-stats div { flex: 1 1 30%; min-width: 90px; }
  .hero-stats strong { font-size: 20px; }
  .hero-art { min-height: 260px; }
  .orb-1 { width: 200px; height: 200px; top: 20px; right: -10px; }
  .orb-2 { width: 130px; height: 130px; top: 130px; left: 10px; }
  .orb-3 { width: 90px;  height: 90px;  bottom: 10px; right: 30px; }
  .hero-scene { max-width: 320px; }
  .float-card { min-width: 0; max-width: 200px; padding: 10px 12px; font-size: 12px; }
  .float-card span { font-size: 22px; }
  .card-1 { top: 30px; left: 10px; }
  .card-2 { top: 150px; right: 0; }
  .card-3 { bottom: 10px; left: 30px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .auth-card, .success-card { padding: 28px 22px; }
  .form-actions { flex-direction: column; }
  .form-actions .btn { width: 100%; }
  .filter-bar { flex-direction: column; align-items: stretch; }
  .filter-bar input, .filter-bar select { width: 100%; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .booking-row { padding: 14px 16px; }
  .code-box { font-size: 18px; padding: 12px 18px; }
  .container { width: min(1180px, 94%); }
}

/* Tiny phones ≤ 380 */
@media (max-width: 380px) {
  h1 { font-size: 26px; }
  h2 { font-size: 20px; }
  .section { padding: 36px 0; }
  .hero { padding: 24px 0 16px; }
  .stat-grid { grid-template-columns: 1fr; }
  .hero-stats div { flex: 1 1 100%; }
  .float-card { max-width: 170px; }
  .cat-grid, .svc-grid, .how-grid { grid-template-columns: 1fr; }
}

/* Landscape phones — keep header from feeling cramped */
@media (max-height: 480px) and (orientation: landscape) {
  .hero { padding: 24px 0; }
  .hero-art { min-height: 220px; }
}

/* Touch devices — larger tap targets */
@media (hover: none) and (pointer: coarse) {
  .btn { min-height: 44px; padding: 12px 22px; }
  .form input, .form select, .form textarea { min-height: 44px; padding: 12px 14px; font-size: 16px; /* prevents iOS zoom */ }
  .nav-links a { padding: 12px 10px; }
}

/* ============================================================
   Vendor picker (booking form) — consistent card layout,
   polished selected state, matches admin design system
   ============================================================ */
.vendor-picker {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}
.vendor-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1.5px solid #e5e7eb;
  border-radius: 16px;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.15s ease;
  position: relative;
  min-height: 76px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}
.vendor-option:hover {
  border-color: #cbd5e1;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}
.vendor-option input {
  position: absolute;
  opacity: 0; width: 0; height: 0;
  pointer-events: none;
}
.vendor-option.is-selected {
  border-color: var(--c-primary, #1e3a8a);
  background: linear-gradient(135deg, #eef2ff 0%, #f8f9ff 100%);
  box-shadow:
    0 0 0 3px rgba(30, 58, 138, 0.12),
    0 4px 12px rgba(30, 58, 138, 0.08);
}

/* Logo / placeholder / "any available" icon — all render as 48px squircle */
.vendor-option-logo {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid #e5e7eb;
  background: #f5f5f7;
}
.vendor-option-logo--placeholder {
  background: linear-gradient(135deg, #eef2ff 0%, #dbeafe 100%);
  color: var(--c-primary, #1e3a8a);
  display: grid; place-items: center;
  font-weight: 700; font-size: 15px;
  letter-spacing: -0.02em;
  border-color: rgba(30, 58, 138, 0.15);
}
.vendor-option-logo--any {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  color: #b45309;
  display: grid; place-items: center;
  border-color: rgba(245, 158, 11, 0.20);
}
.vendor-option-logo--any svg { width: 22px; height: 22px; }

.vendor-option-body { min-width: 0; flex: 1; }
.vendor-option-title {
  font-weight: 600; font-size: 14.5px;
  color: #0a0a0a;
  display: flex; align-items: center; gap: 6px;
  line-height: 1.3;
}
.vendor-option-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}
.vendor-option-sub {
  font-size: 12.5px;
  color: #6b7280;
  margin-top: 3px;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.vendor-verified {
  display: inline-grid; place-items: center;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--c-primary, #1e3a8a);
  color: #fff;
  font-size: 10px; font-weight: 700; line-height: 1;
  flex-shrink: 0;
}

/* Radio-style check indicator in the top-right of each card */
.vendor-option-check {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1.5px solid #d4d4d8;
  display: grid; place-items: center;
  background: #ffffff;
  transition: all 0.15s ease;
}
.vendor-option-check svg {
  width: 12px; height: 12px;
  color: #ffffff;
  opacity: 0;
  transform: scale(0.6);
  transition: all 0.15s ease;
}
.vendor-option.is-selected .vendor-option-check {
  background: var(--c-primary, #1e3a8a);
  border-color: var(--c-primary, #1e3a8a);
}
.vendor-option.is-selected .vendor-option-check svg {
  opacity: 1;
  transform: scale(1);
}

/* ============================================================
   Vendor picker — collapsed summary + expandable panel
   ============================================================ */
.sb-vp { position: relative; margin-bottom: 8px; }

/* Collapsed summary card */
.sb-vp-summary {
  display: flex; align-items: center; gap: 14px;
  background: #ffffff;
  border: 1px solid #e6e8ee;
  border-radius: 16px;
  padding: 14px 16px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.sb-vp-summary:hover { border-color: #d5deff; box-shadow: 0 2px 8px rgba(15,23,42,0.05); }
.sb-vp-sum-logo {
  width: 44px; height: 44px;
  border-radius: 12px;
  object-fit: cover; flex-shrink: 0;
  background: #eaf0ff;
  display: flex; align-items: center; justify-content: center;
  color: #1e3a8a; font-weight: 700; font-size: 14px;
}
.sb-vp-sum-logo--any { background: #fef3c7; color: #b45309; }
.sb-vp-sum-logo--any svg { width: 22px; height: 22px; }
.sb-vp-sum-logo--ph { background: #eef0f4; color: #64748b; }
.sb-vp-sum-body { flex: 1 1 auto; min-width: 0; }
.sb-vp-sum-title { font-weight: 600; color: #0a2540; font-size: 15px; display: flex; align-items: center; gap: 6px; }
.sb-vp-sum-sub   { font-size: 13px; color: #64748b; margin-top: 2px; }
.sb-vp-change {
  display: inline-flex; align-items: center; gap: 6px;
  background: #f5f6fa; color: #0a2540;
  border: 1px solid #eef0f4; border-radius: 10px;
  padding: 8px 12px; font-size: 13px; font-weight: 600;
  cursor: pointer; flex-shrink: 0;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.sb-vp-change:hover { background: #eef0f4; border-color: #d9dde5; }

/* Expanded panel */
.sb-vp-panel {
  margin-top: 8px;
  background: #ffffff;
  border: 1px solid #e6e8ee;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(15,23,42,0.06), 0 20px 40px rgba(15,23,42,0.08);
}
.sb-vp-panel-head {
  display: flex; align-items: center; gap: 8px;
  padding: 12px; border-bottom: 1px solid #eef0f4; background: #fbfbfc;
}
.sb-vp-search {
  position: relative; flex: 1 1 auto;
  display: flex; align-items: center;
}
.sb-vp-search svg {
  position: absolute; left: 12px; color: #94a3b8; pointer-events: none;
}
.sb-vp-search input {
  width: 100%; padding: 10px 12px 10px 36px;
  background: #ffffff; border: 1px solid #e6e8ee; border-radius: 10px;
  font-family: inherit; font-size: 14px; color: #0a2540;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.sb-vp-search input:focus {
  outline: none; border-color: #1e3a8a;
  box-shadow: 0 0 0 3px rgba(30,58,138,0.12);
}
.sb-vp-city {
  position: relative; flex: 0 0 auto;
  min-width: 160px;
}
/* Ensure the enhanced dropdown trigger sizes to fit the panel-head slot */
.sb-vp-city .sb-pub-dd { width: 100%; min-width: 160px; }
.sb-vp-city .sb-pub-dd-trigger {
  height: 40px;
  padding: 8px 14px;
  border-radius: 10px;
  font-weight: 500;
}
.sb-vp-close {
  width: 38px; height: 38px; border-radius: 10px;
  background: transparent; border: 1px solid transparent;
  color: #64748b; cursor: pointer; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 0.15s ease, color 0.15s ease;
}
.sb-vp-close:hover { background: #f5f6fa; color: #0a2540; }

.sb-vp-list {
  max-height: 360px; overflow-y: auto;
  padding: 6px;
}
.sb-vp-list::-webkit-scrollbar { width: 8px; }
.sb-vp-list::-webkit-scrollbar-thumb { background: #d9dde5; border-radius: 4px; }
.sb-vp-list::-webkit-scrollbar-thumb:hover { background: #c1c7d0; }

/* Override .form label { flex-direction: column } that would otherwise stack the rows */
.form label.sb-vp-row,
.sb-vp-row {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 12px;
  padding: 10px 12px; margin: 2px 0;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.12s ease;
  position: relative;
}
.sb-vp-row:hover { background: #f5f6fa; }
.sb-vp-row input[type="radio"] {
  position: absolute; opacity: 0; pointer-events: none;
}
.sb-vp-row-logo {
  width: 36px; height: 36px; border-radius: 10px;
  object-fit: cover; flex-shrink: 0;
  background: #eaf0ff;
  display: flex; align-items: center; justify-content: center;
  color: #1e3a8a; font-weight: 700; font-size: 12px;
}
.sb-vp-row-logo--any { background: #fef3c7; color: #b45309; }
.sb-vp-row-logo--any svg { width: 18px; height: 18px; }
.sb-vp-row-logo--ph { background: #eef0f4; color: #64748b; }
.sb-vp-row-body { flex: 1 1 auto; min-width: 0; }
.sb-vp-row-title { font-weight: 600; color: #0a2540; font-size: 14px; display: flex; align-items: center; gap: 6px; }
.sb-vp-row-sub   { font-size: 12px; color: #64748b; margin-top: 1px; }
.sb-vp-row-check {
  width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid #cbd5e1;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.sb-vp-row-check svg {
  width: 12px; height: 12px; color: #ffffff;
  opacity: 0; transform: scale(0.6);
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.sb-vp-row.is-selected {
  background: #eaf0ff;
}
.sb-vp-row.is-selected .sb-vp-row-check {
  background: #1e3a8a; border-color: #1e3a8a;
}
.sb-vp-row.is-selected .sb-vp-row-check svg {
  opacity: 1; transform: scale(1);
}
.form label.sb-vp-row.is-hidden,
.sb-vp-row.is-hidden { display: none !important; }

.sb-vp-empty {
  padding: 32px 16px;
  text-align: center;
  color: #94a3b8;
  font-size: 14px;
}

/* ============================================================
   Flatpickr theme overrides — match the Notion/Attio design system
   ============================================================ */
.flatpickr-calendar {
  background: #ffffff !important;
  border: 1px solid #e6e8ee !important;
  border-radius: 16px !important;
  box-shadow:
    0 4px 12px rgba(15, 23, 42, 0.08),
    0 20px 40px rgba(15, 23, 42, 0.10) !important;
  padding: 6px !important;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
  width: 320px !important;
}
.flatpickr-calendar.arrowTop::before,
.flatpickr-calendar.arrowTop::after,
.flatpickr-calendar.arrowBottom::before,
.flatpickr-calendar.arrowBottom::after { display: none; }   /* remove the arrow tail */

/* Header (month/year + prev/next) */
.flatpickr-months {
  padding: 6px 4px 10px !important;
  align-items: center !important;
}
.flatpickr-month {
  color: #0a2540 !important;
  height: 34px !important;
}
.flatpickr-current-month {
  padding: 4px 0 0 !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #0a2540 !important;
}
.flatpickr-current-month .cur-month,
.flatpickr-current-month input.cur-year {
  font-weight: 700 !important;
  font-size: 15px !important;
  color: #0a2540 !important;
}
.flatpickr-prev-month, .flatpickr-next-month {
  padding: 6px !important;
  border-radius: 8px !important;
  color: #6b7280 !important;
  transition: all 0.15s ease;
  fill: #6b7280 !important;
}
.flatpickr-prev-month:hover, .flatpickr-next-month:hover {
  background: #f5f6fa !important;
  color: #0a2540 !important;
  fill: #0a2540 !important;
}
.flatpickr-prev-month svg, .flatpickr-next-month svg { fill: currentColor !important; }

/* Weekday labels */
span.flatpickr-weekday {
  color: #94a3b8 !important;
  font-weight: 600 !important;
  font-size: 11px !important;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Days */
.flatpickr-day {
  border-radius: 10px !important;
  color: #0a2540 !important;
  font-weight: 500 !important;
  font-size: 13.5px !important;
  height: 36px !important;
  line-height: 36px !important;
  max-width: 40px !important;
  margin: 2px 0 !important;
  border: 0 !important;
  transition: background 0.1s ease, color 0.1s ease;
}
.flatpickr-day:hover,
.flatpickr-day:focus {
  background: #eaf0f8 !important;
  color: #0a2540 !important;
}
.flatpickr-day.today {
  color: var(--c-primary, #0a2540) !important;
  font-weight: 700 !important;
  border: 0 !important;
  background: transparent !important;
}
.flatpickr-day.today::after {
  content: '';
  position: absolute; bottom: 6px; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--c-primary, #0a2540);
}
.flatpickr-day.selected,
.flatpickr-day.selected:hover,
.flatpickr-day.selected.today {
  background: var(--c-primary, #0a2540) !important;
  color: #ffffff !important;
  border: 0 !important;
  box-shadow: 0 4px 10px rgba(10, 37, 64, 0.25) !important;
  font-weight: 600 !important;
}
.flatpickr-day.selected.today::after { background: #ffffff; }
.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay,
.flatpickr-day.flatpickr-disabled {
  color: #cbd5e1 !important;
}
.flatpickr-day.flatpickr-disabled:hover { background: transparent !important; }

/* ---------- Time picker ---------- */
/* Standalone time-only picker (noCalendar mode) — give the popover its own card padding */
.flatpickr-calendar.noCalendar.hasTime {
  width: 240px !important;
  padding: 10px !important;
}
.flatpickr-calendar.noCalendar.hasTime .flatpickr-time { border-top: 0 !important; padding-top: 0 !important; }

.flatpickr-time {
  border-top: 1px solid #eef0f4 !important;
  padding: 10px !important;
  display: flex !important;
  align-items: stretch !important;
  gap: 6px !important;
  height: auto !important;
  max-height: none !important;
}
.flatpickr-time .numInputWrapper {
  flex: 1 1 0 !important;
  position: relative !important;
  background: #f5f6fa !important;
  border: 1px solid #eef0f4 !important;
  border-radius: 10px !important;
  height: 44px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.flatpickr-time .numInputWrapper:hover {
  background: #eef0f4 !important;
  border-color: #d9dde5 !important;
}
.flatpickr-time input {
  font-family: inherit !important;
  color: #0a2540 !important;
  font-weight: 600 !important;
  font-size: 18px !important;
  background: transparent !important;
  border: 0 !important;
  text-align: center !important;
  padding: 0 !important;
  height: 100% !important;
  width: 100% !important;
}
.flatpickr-time input:hover,
.flatpickr-time input:focus { background: transparent !important; outline: none !important; }

/* Up/down spinner arrows */
.flatpickr-time .numInputWrapper span {
  border: 0 !important;
  opacity: 0;
  transition: opacity 0.15s ease;
  right: 4px !important;
  width: 14px !important;
}
.flatpickr-time .numInputWrapper:hover span { opacity: 1; }
.flatpickr-time .numInputWrapper span.arrowUp::after { border-bottom-color: #6b7280 !important; }
.flatpickr-time .numInputWrapper span.arrowDown::after { border-top-color: #6b7280 !important; }
.flatpickr-time .numInputWrapper span:hover.arrowUp::after { border-bottom-color: var(--c-primary, #1e3a8a) !important; }
.flatpickr-time .numInputWrapper span:hover.arrowDown::after { border-top-color: var(--c-primary, #1e3a8a) !important; }

/* The " : " separator */
.flatpickr-time .flatpickr-time-separator {
  color: #94a3b8 !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  align-self: center !important;
  padding: 0 2px !important;
  width: auto !important;
  height: auto !important;
}

/* AM / PM segment */
.flatpickr-time .flatpickr-am-pm {
  flex: 0 0 64px !important;
  color: var(--c-primary, #1e3a8a) !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  letter-spacing: 0.5px !important;
  background: #eaf0ff !important;
  border: 1px solid #d5deff !important;
  border-radius: 10px !important;
  height: 44px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.flatpickr-time .flatpickr-am-pm:hover,
.flatpickr-time .flatpickr-am-pm:focus {
  background: var(--c-primary, #1e3a8a) !important;
  color: #ffffff !important;
  border-color: var(--c-primary, #1e3a8a) !important;
}

/* Make the input itself look consistent with other form fields */
.form input.flatpickr-input,
.form input.form-control-flatpickr {
  cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='4' width='18' height='18' rx='2'/><path d='M16 2v4M8 2v4M3 10h18'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
}
.form input[type="time"].flatpickr-input {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='10'/><path d='M12 6v6l4 2'/></svg>");
}

/* ============================================================
   Custom dropdown (public) — replaces native <select> menu
   ============================================================ */
.sb-pub-dd { position: relative; display: inline-block; vertical-align: middle; }
.sb-pub-dd.is-open .sb-pub-dd-chev { transform: rotate(180deg); }
.sb-pub-dd-native {
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 100% !important; height: 100% !important;
  top: 0; left: 0;
  padding: 0 !important; border: 0 !important;
  background: transparent !important;
}
.sb-pub-dd-trigger {
  display: inline-flex; align-items: center; justify-content: space-between;
  gap: 10px;
  min-width: 160px; width: 100%;
  padding: 10px 14px;
  background: #ffffff;
  border: 1px solid var(--c-border, #e6e8ee);
  border-radius: 10px;
  font-family: inherit; font-size: 14px; font-weight: 500;
  color: var(--c-text, #0a2540);
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  text-align: left;
  line-height: 1.3;
}
.sb-pub-dd-trigger:hover { border-color: #c7cdd8; }
.sb-pub-dd-trigger:focus,
.sb-pub-dd.is-open .sb-pub-dd-trigger {
  outline: 0;
  border-color: var(--c-primary, #0a2540);
  box-shadow: 0 0 0 3px rgba(10, 37, 64, 0.10);
}
.sb-pub-dd-trigger:disabled { opacity: 0.5; cursor: not-allowed; background: #f5f6fa; }
.sb-pub-dd-label {
  flex: 1; min-width: 0;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sb-pub-dd-chev {
  flex-shrink: 0;
  color: #6b7280;
  transition: transform 0.18s ease;
}
.sb-pub-dd-menu {
  position: absolute;
  z-index: 1000;
  list-style: none;
  margin: 0;
  padding: 6px;
  min-width: 200px;
  max-height: 340px;
  overflow-y: auto;
  background: #ffffff;
  border: 1px solid var(--c-border, #e6e8ee);
  border-radius: 14px;
  box-shadow:
    0 4px 12px rgba(15, 23, 42, 0.08),
    0 20px 40px rgba(15, 23, 42, 0.10);
  opacity: 0;
  transform: translateY(-6px) scale(0.98);
  transform-origin: top center;
  transition: opacity 0.14s ease, transform 0.14s ease;
  pointer-events: none;
}
.sb-pub-dd-menu.is-open { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.sb-pub-dd-menu.is-above { transform-origin: bottom center; }
.sb-pub-dd-menu::-webkit-scrollbar { width: 8px; }
.sb-pub-dd-menu::-webkit-scrollbar-thumb { background: #d4d4d8; border-radius: 4px; border: 2px solid #ffffff; }
.sb-pub-dd-menu::-webkit-scrollbar-thumb:hover { background: #a1a1aa; }

.sb-pub-dd-item {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 10px;
  border-radius: 10px;
  font-size: 14px; font-weight: 500;
  color: var(--c-text, #0a2540);
  cursor: pointer;
  user-select: none;
  transition: background 0.08s ease;
  line-height: 1.35;
}
.sb-pub-dd-item:hover,
.sb-pub-dd-item.is-active { background: #f5f6fa; }
.sb-pub-dd-item.is-selected {
  background: var(--c-primary-soft, #eaf0f8);
  color: var(--c-primary, #0a2540);
  font-weight: 600;
}
.sb-pub-dd-item.is-selected.is-active { background: #d9e3ee; }
.sb-pub-dd-item.is-disabled { opacity: 0.45; cursor: not-allowed; }
.sb-pub-dd-check {
  flex-shrink: 0;
  width: 18px; height: 18px;
  display: grid; place-items: center;
  color: var(--c-primary, #0a2540);
  opacity: 0;
  transition: opacity 0.1s ease;
}
.sb-pub-dd-item.is-selected .sb-pub-dd-check { opacity: 1; }
.sb-pub-dd-check svg { fill: none; stroke: currentColor; }
.sb-pub-dd-item-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ============================================================
   Public vendor directory — premium cards, consistent height
   ============================================================ */
.vendor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  align-items: stretch;   /* all cards same height */
}
.vendor-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #eef0f4;
  border-radius: 20px;
  padding: 24px;
  display: flex; flex-direction: column; gap: 16px;
  text-decoration: none; color: inherit;
  transition: transform 0.18s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.18s ease,
              border-color 0.18s ease;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
  overflow: hidden;
}
.vendor-card:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow:
    0 4px 12px rgba(30, 58, 138, 0.08),
    0 20px 40px rgba(30, 58, 138, 0.08);
  text-decoration: none;
}
.vendor-card.is-featured {
  border-color: rgba(251, 191, 36, 0.35);
  background: linear-gradient(180deg, #fffdf7 0%, #ffffff 40%);
}
.vendor-card.is-featured:hover {
  box-shadow:
    0 4px 12px rgba(245, 158, 11, 0.14),
    0 20px 40px rgba(245, 158, 11, 0.10);
}

/* Featured ribbon — small pill top-right */
.vendor-card-ribbon {
  position: absolute; top: 14px; right: 14px;
  padding: 4px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #78350f;
  font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 2px 6px rgba(245, 158, 11, 0.30);
  z-index: 1;
}

/* Header: logo left, verified badge floats over the corner of the logo */
.vendor-card-head {
  position: relative;
  display: inline-block;
  align-self: flex-start;
}
.vendor-card-logo {
  width: 68px; height: 68px;
  border-radius: 18px;
  object-fit: cover;
  border: 1px solid #e5e7eb;
  display: block;
}
.vendor-card-logo--placeholder {
  background: linear-gradient(135deg, #dbeafe 0%, #eef2ff 100%);
  color: var(--c-primary, #1e3a8a);
  display: grid; place-items: center;
  font-weight: 700; font-size: 24px;
  letter-spacing: -0.02em;
  border-color: rgba(30, 58, 138, 0.12);
}
.vendor-card-verified {
  position: absolute; bottom: -4px; right: -4px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--c-primary, #1e3a8a);
  color: #ffffff;
  display: grid; place-items: center;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(30, 58, 138, 0.30);
}
.vendor-card-verified svg { width: 12px; height: 12px; }

/* Body */
.vendor-card-body { display: flex; flex-direction: column; gap: 6px; }
.vendor-card-name {
  font-size: 17px; font-weight: 700; color: #0a0a0a;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.vendor-card-location {
  display: flex; align-items: center; gap: 6px;
  font-size: 13.5px;
  color: #6b7280;
  line-height: 1.4;
}
.vendor-card-location svg {
  width: 14px; height: 14px;
  flex-shrink: 0;
  color: #94a3b8;
}

/* Services chips row — pushes to bottom before CTA */
.vendor-card-services {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: auto;
}
.vendor-chip {
  font-size: 11.5px; font-weight: 500;
  color: #475569;
  background: #f3f4f7;
  border: 1px solid #e5e7eb;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.vendor-chip--more {
  background: #eef2ff;
  color: var(--c-primary, #1e3a8a);
  border-color: rgba(30, 58, 138, 0.15);
  font-weight: 600;
}
.vendor-chip--muted { color: #94a3b8; background: transparent; border-style: dashed; }

/* CTA on hover — always present but colour intensifies on hover */
.vendor-card-cta {
  display: flex; align-items: center; gap: 6px;
  padding-top: 12px;
  margin-top: 4px;
  border-top: 1px solid #f1f2f5;
  font-size: 13px; font-weight: 600;
  color: var(--c-primary, #1e3a8a);
  transition: gap 0.18s ease;
}
.vendor-card-cta svg { width: 14px; height: 14px; transition: transform 0.18s ease; }
.vendor-card:hover .vendor-card-cta { gap: 8px; }
.vendor-card:hover .vendor-card-cta svg { transform: translateX(2px); }

.vendor-detail-hero {
  display: flex; align-items: center; gap: 20px;
  padding: 28px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  margin-bottom: 20px;
}
.vendor-detail-logo {
  width: 96px; height: 96px;
  border-radius: 18px;
  object-fit: cover;
  border: 1px solid #e5e7eb;
  flex-shrink: 0;
}
.vendor-detail-logo--placeholder {
  background: linear-gradient(135deg, #eef2ff, #f5f5f7);
  color: var(--c-primary, #1e3a8a);
  display: grid; place-items: center;
  font-weight: 700; font-size: 36px;
}
@media (max-width: 640px) {
  .vendor-detail-hero { flex-direction: column; text-align: center; padding: 22px; }
}

/* ============================================================
   Mobile audit — public site targeted fixes
   ============================================================ */

/* Prevent horizontal page scroll from any wide element */
html, body { max-width: 100%; overflow-x: hidden; }

/* Auth cards — ensure comfortable padding + narrow-friendly */
@media (max-width: 480px) {
  .auth-card { padding: 28px 22px !important; border-radius: 16px !important; }
  .auth-card h1 { font-size: 22px !important; }
  .container.narrow { padding-left: 12px; padding-right: 12px; }
}

/* Vendor picker collapsed summary on booking page — allow items to wrap gracefully */
@media (max-width: 480px) {
  .sb-vp-summary { flex-wrap: wrap; }
  .sb-vp-change  { margin-left: auto; }
}

/* Vendor cards on directory: shrink logo pane on small screens */
@media (max-width: 640px) {
  .vendor-card { padding: 16px !important; }
  .vendor-card-logo { width: 48px !important; height: 48px !important; }
}

/* Grid-2 form (booking) — stack under 640px */
@media (max-width: 640px) {
  .form.grid-2, .grid-2 { grid-template-columns: 1fr !important; }
  .grid-span { grid-column: 1 / -1; }
}

/* Booking form heading + section spacing tighter on mobile */
@media (max-width: 480px) {
  .form h2, .booking-form h2 { font-size: 17px; }
  .form-wrap, .booking-form { padding: 4px 0; }
  .card.form { padding: 20px !important; border-radius: 16px !important; }
}

/* Hero on home: text stacks above the bus scene on narrow */
@media (max-width: 640px) {
  .hero-inner { grid-template-columns: 1fr !important; text-align: center; gap: 24px; }
  .hero-art   { max-width: 340px; margin: 0 auto; width: 100%; }
  .hero-art svg { width: 100%; height: auto; }
  .hero-cta   { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-text  { padding: 0 8px; }

  .hero-text .eyebrow {
    font-size: 11px;
    padding: 6px 14px;
    margin-bottom: 14px;
  }

  .hero h1 {
    font-size: 32px !important;
    line-height: 1.12;
    letter-spacing: -0.028em;
    font-weight: 800;
    text-wrap: balance;
    max-width: 20ch;
    margin: 0 auto;
  }
  /* The gold accent phrase gets its own line + italic serif-ish feel — reads as a punchline, not an afterthought */
  .hero h1 .grad-text {
    display: block;
    margin-top: 6px;
    font-style: italic;
    font-weight: 700;
    letter-spacing: -0.015em;
  }

  .hero-text .lead {
    font-size: 15.5px;
    line-height: 1.6;
    color: var(--c-muted);
    max-width: 40ch;
    margin: 16px auto 0;
    text-wrap: pretty;
  }
}
@media (max-width: 380px) {
  .hero-art { max-width: 280px; }
  .hero h1  { font-size: 28px !important; max-width: 18ch; }
  .hero-text .lead { font-size: 14.5px; }
}

/* Section titles + eyebrow chip size */
@media (max-width: 480px) {
  .section-head h2 { font-size: 22px; }
  .eyebrow { font-size: 11px; }
}

/* Category + service cards — smaller gap + friendlier tap targets */
@media (max-width: 480px) {
  .cat-grid, .svc-grid { gap: 10px; }
  .cat-card, .svc-card { padding: 14px 16px; }
  .cat-icon, .svc-icon { font-size: 24px; }
}

/* CTA card at bottom of home stacks */
@media (max-width: 640px) {
  .cta-card { flex-direction: column; text-align: center; gap: 16px; padding: 24px !important; }
  .cta-actions { flex-direction: column; width: 100%; }
  .cta-actions .btn { width: 100%; justify-content: center; }
}

/* Flatpickr calendar — never wider than viewport on mobile */
@media (max-width: 380px) {
  .flatpickr-calendar { width: 100% !important; max-width: calc(100vw - 24px) !important; }
}

/* Nav menu drawer — improve tap targets */
@media (max-width: 900px) {
  .nav-links a { padding: 10px 14px; font-size: 14px; }
}

/* my-bookings — booking card + dl grid stack cleanly */
@media (max-width: 640px) {
  .booking-card { padding: 16px !important; }
  .booking-card dl { grid-template-columns: 1fr; gap: 8px; }
  .booking-card dt { padding-top: 4px; }
}
