/* ═══════════════════════════════════════════════
   RIDEAWAY — MOBILE-FIRST STYLESHEET v2
   ═══════════════════════════════════════════════ */

:root {
  --ink:       #0D0D0D;
  --ink-soft:  #3D3D3D;
  --sand:      #F5F0E8;
  --sand-dark: #EDE8DC;
  --white:     #FFFFFF;
  --accent:    #E8530A;
  --accent-2:  #F7C244;
  --trust:     #1A6B3C;
  --border:    rgba(13,13,13,0.12);
  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.07);
  --shadow:    0 6px 24px rgba(0,0,0,0.10);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.14);
  --font-display: 'Bebas Neue', sans-serif;
  --font-serif:   'DM Serif Display', serif;
  --font-body:    'DM Sans', sans-serif;
  --nav-h: 60px;
  --max-w: 1200px;
}

/* ═══ RESET ═══ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--sand);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: var(--font-body); }
/* 16px min on inputs prevents iOS zoom */
input, select, textarea { font-family: var(--font-body); font-size: 16px; }

/* ═══ UTILITY ═══ */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { padding: 0 24px; } }
.section { padding: 48px 0; }
@media (min-width: 768px) { .section { padding: 80px 0; } }
.section-eyebrow { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--accent); margin-bottom: 10px; }
.section-title { font-family: var(--font-serif); font-size: clamp(28px, 7vw, 54px); line-height: 1.1; color: var(--ink); margin-bottom: 32px; }
.section-title em { font-style: italic; color: var(--accent); }

/* ═══ NAVIGATION ═══ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  background: rgba(245,240,232,0.95);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 16px;
  transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: var(--shadow-sm); }
.nav-logo { font-family: var(--font-display); font-size: 26px; letter-spacing: 1px; color: var(--ink); }
.nav-logo span { color: var(--accent); }
.nav-hamburger {
  display: flex; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 6px;
  -webkit-tap-highlight-color: transparent;
}
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: all 0.3s; }
.nav-hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.nav-menu {
  position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: var(--white); border-bottom: 1.5px solid var(--border);
  flex-direction: column; padding: 0;
  transform: translateY(-110%); opacity: 0; pointer-events: none;
  transition: transform 0.28s cubic-bezier(0.4,0,0.2,1), opacity 0.28s;
  z-index: 999; display: flex; box-shadow: var(--shadow);
}
.nav-menu.open { transform: translateY(0); opacity: 1; pointer-events: all; }
.nav-link { display: block; padding: 16px 20px; border-bottom: 1px solid var(--border); font-size: 16px; font-weight: 600; color: var(--ink-soft); }
.nav-link.active { color: var(--accent); }
.nav-link:last-child { border-bottom: none; }
@media (min-width: 900px) {
  .nav { padding: 0 24px; }
  .nav-hamburger { display: none; }
  .nav-menu {
    position: static; transform: none !important; opacity: 1 !important; pointer-events: all;
    flex-direction: row; gap: 28px; border: none; background: transparent;
    box-shadow: none; padding: 0;
  }
  .nav-link { padding: 0; border: none; font-size: 15px; transition: color 0.2s; }
  .nav-link:hover { color: var(--accent); }
}

/* ═══ HERO ═══ */
.hero {
  min-height: 100svh; min-height: 100vh; /* fallback for no svh support */
  padding-top: var(--nav-h);
  display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.5;
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(60px); pointer-events: none; }
.hero-glow--1 { width: 360px; height: 360px; background: radial-gradient(circle, rgba(232,83,10,0.18) 0%, transparent 70%); top: -60px; right: -60px; animation: glow-drift 8s ease-in-out infinite alternate; }
.hero-glow--2 { width: 260px; height: 260px; background: radial-gradient(circle, rgba(247,194,68,0.14) 0%, transparent 70%); bottom: 80px; left: -40px; animation: glow-drift 12s ease-in-out infinite alternate-reverse; }
@keyframes glow-drift { from { transform: translate(0,0); } to { transform: translate(20px, 16px); } }
.hero-content { position: relative; z-index: 1; padding: 40px 16px 28px; text-align: center; }
.hero-badge { display: inline-flex; align-items: center; background: rgba(232,83,10,0.1); color: var(--accent); border: 1px solid rgba(232,83,10,0.25); border-radius: 100px; padding: 5px 14px; font-size: 12px; font-weight: 700; margin-bottom: 18px; animation: fadeUp 0.5s ease both; }
.hero-title { font-family: var(--font-display); font-size: clamp(60px, 18vw, 140px); line-height: 0.88; color: var(--ink); margin-bottom: 16px; letter-spacing: 1px; animation: fadeUp 0.5s ease 0.08s both; }
.hero-title em { color: var(--accent); font-style: italic; font-family: var(--font-serif); }
.hero-subtitle { font-size: clamp(14px, 4vw, 18px); color: var(--ink-soft); font-weight: 400; margin-bottom: 24px; line-height: 1.6; animation: fadeUp 0.5s ease 0.16s both; }
.booking-card { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; margin-bottom: 24px; animation: fadeUp 0.5s ease 0.24s both; text-align: left; }
.booking-card__inner { padding: 16px; }
.booking-row { margin-bottom: 12px; }
.booking-row--split { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.booking-field { display: flex; flex-direction: column; }
.booking-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--ink-soft); margin-bottom: 6px; }
.booking-input { border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 13px 14px; font-size: 16px; font-weight: 600; font-family: var(--font-body); background: var(--sand); color: var(--ink); outline: none; transition: border-color 0.2s; appearance: none; -webkit-appearance: none; width: 100%; }
.booking-input:focus { border-color: var(--accent); background: var(--white); }
.btn-hero { width: 100%; padding: 16px; background: var(--accent); color: var(--white); border: none; border-radius: var(--radius-sm); font-size: 16px; font-weight: 700; transition: transform 0.15s; display: flex; align-items: center; justify-content: center; gap: 8px; -webkit-tap-highlight-color: transparent; }
.btn-hero:active { transform: scale(0.98); }
.btn-arrow { transition: transform 0.2s; }
.hero-trust { display: flex; align-items: center; justify-content: center; gap: 14px; animation: fadeUp 0.5s ease 0.32s both; }
.trust-item { display: flex; flex-direction: column; align-items: center; }
.trust-num { font-family: var(--font-display); font-size: 24px; line-height: 1; }
.trust-text { font-size: 10px; font-weight: 600; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.3px; }
.trust-divider { width: 1px; height: 32px; background: var(--border); }
.hero-scroll-hint { text-align: center; font-size: 11px; color: var(--ink-soft); padding-bottom: 16px; animation: bounce 2s ease infinite; }
@keyframes bounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
@media (min-width: 600px) {
  .hero-content { padding: 60px 24px 40px; max-width: 680px; margin: 0 auto; }
  .booking-card__inner { padding: 20px; }
}

/* ═══ WHY STRIP ═══ */
.why-strip { background: var(--ink); color: var(--white); padding: 12px 0; overflow: hidden; }
.why-strip__track { display: flex; gap: 48px; white-space: nowrap; animation: marquee 18s linear infinite; font-size: 12px; font-weight: 600; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ═══ HOW IT WORKS ═══ */
.how-section { background: var(--white); }
.steps-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 600px) { .steps-grid { grid-template-columns: repeat(3, 1fr); } }
.step-card { background: var(--sand); border-radius: var(--radius); padding: 22px 18px; position: relative; overflow: hidden; }
.step-num { font-family: var(--font-display); font-size: 56px; line-height: 1; color: rgba(13,13,13,0.06); position: absolute; top: 8px; right: 12px; }
.step-icon { font-size: 28px; margin-bottom: 10px; }
.step-card h3 { font-family: var(--font-serif); font-size: 19px; margin-bottom: 7px; }
.step-card p { font-size: 14px; color: var(--ink-soft); line-height: 1.7; }

/* ═══ TRUST SECTION ═══ */
.trust-section { background: var(--sand); }
.trust-layout { display: flex; flex-direction: column; gap: 32px; }
@media (min-width: 900px) { .trust-layout { flex-direction: row; gap: 80px; align-items: center; } }
.trust-text-block { flex: 1; }
.trust-body { font-size: 15px; color: var(--ink-soft); margin-bottom: 14px; line-height: 1.8; }
.trust-pills { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.t-pill { background: var(--white); border: 1.5px solid var(--border); border-radius: 100px; padding: 5px 12px; font-size: 12px; font-weight: 600; }
.trust-visual { flex: 1; display: flex; flex-direction: column; gap: 12px; }
.trust-card-float { background: var(--white); border-radius: var(--radius); padding: 12px 16px; display: flex; align-items: center; gap: 10px; box-shadow: var(--shadow); border: 1.5px solid var(--border); }
@media (min-width: 900px) {
  .trust-card-float--1 { margin-left: -16px; animation: float-1 4s ease-in-out infinite alternate; }
  .trust-card-float--2 { margin-left: 16px; animation: float-2 5s ease-in-out infinite alternate; }
}
@keyframes float-1 { from { transform: translateY(0); } to { transform: translateY(-7px); } }
@keyframes float-2 { from { transform: translateY(0); } to { transform: translateY(7px); } }
.tf-icon { font-size: 22px; }
.tf-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--ink-soft); }
.tf-name { font-size: 13px; font-weight: 600; }
.trust-stat-box { background: var(--ink); color: var(--white); border-radius: var(--radius); padding: 20px 18px; display: flex; align-items: center; gap: 14px; }
.tsb-row { flex: 1; text-align: center; }
.tsb-big { font-family: var(--font-display); font-size: 36px; line-height: 1; color: var(--accent-2); }
.tsb-sub { font-size: 10px; font-weight: 600; opacity: 0.65; text-transform: uppercase; }
.tsb-divider { width: 1px; height: 44px; background: rgba(255,255,255,0.15); }

/* ═══ FLEET PREVIEW (homepage) ═══ */
.fleet-preview { background: var(--white); }
.category-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (min-width: 900px) { .category-grid { grid-template-columns: repeat(4, 1fr); } }
.cat-card { border: 1.5px solid var(--border); border-radius: var(--radius); overflow: hidden; display: block; -webkit-tap-highlight-color: transparent; }
.cat-card:active { opacity: 0.9; }
.cat-img { height: 100px; background: var(--sand-dark); background-size: cover; background-position: center; }
@media (min-width: 600px) { .cat-img { height: 140px; } }
.cat-img--scooter { background-image: url('https://images.unsplash.com/photo-1596700683050-c650e41712d7?auto=format&fit=crop&w=600&q=70'); }
.cat-img--bike    { background-image: url('https://images.unsplash.com/photo-1558981285-6f0c94958bb6?auto=format&fit=crop&w=600&q=70'); }
.cat-img--ev      { background-image: url('https://images.unsplash.com/photo-1622185135505-2d795003994a?auto=format&fit=crop&w=600&q=70'); }
.cat-img--car     { background-image: url('https://images.unsplash.com/photo-1541899481282-d53bffe3c35d?auto=format&fit=crop&w=600&q=70'); }
.cat-info { padding: 11px; position: relative; }
.cat-info h3 { font-family: var(--font-serif); font-size: 16px; margin-bottom: 2px; }
.cat-info p { font-size: 12px; color: var(--ink-soft); }
.cat-tag { position: absolute; top: -11px; right: 8px; background: var(--accent); color: var(--white); font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 100px; text-transform: uppercase; white-space: nowrap; }
.cat-tag--green { background: var(--trust); }
.fleet-cta-row { text-align: center; margin-top: 28px; }

/* ═══ VENDORS PREVIEW (homepage) ═══ */
.vendors-preview { background: var(--sand); }
.vendors-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 600px) { .vendors-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); } }
.vendor-card { background: var(--white); border-radius: var(--radius); padding: 18px; border: 1.5px solid var(--border); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.vendor-card:active { opacity: 0.95; }
.vc-header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.vc-avatar { width: 42px; height: 42px; border-radius: 10px; background: var(--ink); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; flex-shrink: 0; }
.vc-avatar--alt { background: var(--accent); }
.vc-name { font-size: 15px; font-weight: 700; }
.vc-loc { font-size: 12px; color: var(--ink-soft); margin-top: 1px; }
.vc-badge { margin-left: auto; background: rgba(26,107,60,0.1); color: var(--trust); font-size: 10px; font-weight: 700; padding: 3px 7px; border-radius: 100px; white-space: nowrap; flex-shrink: 0; }
.vc-stats { font-size: 12px; color: var(--ink-soft); margin-bottom: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.vc-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.vc-tags span { background: var(--sand); border: 1px solid var(--border); border-radius: 100px; padding: 3px 9px; font-size: 11px; font-weight: 600; }
.vendor-card--more { border-style: dashed; display: flex; align-items: center; justify-content: center; background: transparent; min-height: 100px; }
.vc-more-inner { text-align: center; display: flex; flex-direction: column; gap: 5px; align-items: center; }
.vc-more-num { font-family: var(--font-display); font-size: 44px; line-height: 1; color: var(--accent); }
.btn-small { background: var(--ink); color: var(--white); padding: 7px 14px; border-radius: var(--radius-sm); font-size: 12px; font-weight: 700; }

/* ═══ REVIEWS ═══ */
.reviews-section { background: var(--white); }
.reviews-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 600px) { .reviews-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); } }
.review-card { background: var(--sand); border-radius: var(--radius); padding: 20px; border: 1.5px solid var(--border); }
.review-card--accent { background: var(--ink); color: var(--white); }
.review-card--accent .review-author { color: rgba(255,255,255,0.5); }
.review-stars { font-size: 17px; color: #F59E0B; margin-bottom: 10px; }
.review-card p { font-size: 14px; line-height: 1.75; font-style: italic; margin-bottom: 14px; }
.review-author { font-size: 12px; font-weight: 700; color: var(--ink-soft); }

/* ═══ CTA ═══ */
.cta-section { background: var(--ink); color: var(--white); padding: 64px 0; text-align: center; position: relative; overflow: hidden; }
.cta-glow { position: absolute; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(232,83,10,0.28) 0%, transparent 70%); top: 50%; left: 50%; transform: translate(-50%,-50%); pointer-events: none; }
.cta-inner { position: relative; z-index: 1; }
.cta-title { font-family: var(--font-serif); font-size: clamp(28px, 8vw, 60px); line-height: 1.1; margin-bottom: 12px; }
.cta-title em { color: var(--accent-2); font-style: italic; }
.cta-sub { font-size: 15px; opacity: 0.65; margin-bottom: 28px; padding: 0 16px; }
.btn-cta { display: inline-block; padding: 15px 32px; background: var(--accent); color: var(--white); border-radius: var(--radius-sm); font-size: 15px; font-weight: 700; -webkit-tap-highlight-color: transparent; }
.btn-cta:active { opacity: 0.9; }

/* ═══ FOOTER ═══ */
.footer { background: var(--ink); color: rgba(255,255,255,0.65); padding: 40px 0 0; }
.footer--compact { padding: 0; }
.footer-inner { display: flex; flex-direction: column; gap: 24px; padding: 0 16px; margin-bottom: 28px; }
@media (min-width: 768px) { .footer-inner { flex-direction: row; justify-content: space-between; gap: 40px; } }
.footer-logo { font-family: var(--font-display); font-size: 26px; color: var(--white); margin-bottom: 6px; }
.footer-brand p { font-size: 13px; line-height: 1.7; }
.footer-links { display: flex; gap: 32px; }
.footer-col { display: flex; flex-direction: column; gap: 9px; }
.footer-col-title { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--white); margin-bottom: 2px; }
.footer-col a { font-size: 13px; transition: color 0.2s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 14px 16px; display: flex; justify-content: space-between; font-size: 12px; opacity: 0.5; flex-wrap: wrap; gap: 4px; max-width: var(--max-w); margin: 0 auto; width: 100%; }

/* ═══ BUTTONS ═══ */
.btn-outline { display: inline-block; padding: 12px 22px; border: 2px solid var(--ink); border-radius: var(--radius-sm); font-size: 14px; font-weight: 700; color: var(--ink); transition: background 0.2s, color 0.2s; -webkit-tap-highlight-color: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-outline--dark { border-color: var(--white); color: var(--white); }
.btn-outline--dark:hover { background: var(--white); color: var(--ink); }

/* ═══ PAGE HERO (inner pages) ═══ */
.page-hero { padding-top: var(--nav-h); position: relative; overflow: hidden; background: var(--ink); }
.page-hero__bg { position: absolute; inset: 0; background: linear-gradient(135deg, #0D0D0D 0%, #1a1a1a 60%, rgba(232,83,10,0.12) 100%); }
.page-hero__content { position: relative; z-index: 1; padding: 36px 0 40px; }
.page-hero__content h1 { font-family: var(--font-display); font-size: clamp(36px, 10vw, 80px); color: var(--white); margin-bottom: 8px; }
.page-hero__content p { font-size: 15px; color: rgba(255,255,255,0.58); max-width: 440px; line-height: 1.6; }
.breadcrumb-bar { background: var(--sand-dark); padding: 10px 0; border-bottom: 1px solid var(--border); }
.breadcrumb-bar a { font-size: 13px; font-weight: 600; color: var(--accent); }

/* ════════════════════════════════════════════
   FLEET PAGE
   ════════════════════════════════════════════ */
.fleet-page { background: var(--sand); }

/* Compact dark intro with search built in */
.fleet-intro { padding-top: var(--nav-h); background: var(--ink); }
.fleet-intro__title { font-family: var(--font-display); font-size: clamp(34px, 10vw, 60px); color: var(--white); padding-top: 28px; line-height: 0.95; }
.fleet-intro__sub { font-size: 13px; color: rgba(255,255,255,0.5); margin-top: 6px; margin-bottom: 18px; }

/* Search widget — white card rounding up from dark hero */
.fleet-search-widget { background: var(--white); border-radius: var(--radius-lg) var(--radius-lg) 0 0; padding: 16px 16px 0; }
.fsw-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--ink-soft); display: block; margin-bottom: 6px; }
.fsw-input { width: 100%; border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 13px 14px; font-size: 16px; font-weight: 600; font-family: var(--font-body); background: var(--sand); color: var(--ink); outline: none; transition: border-color 0.2s; appearance: none; -webkit-appearance: none; margin-bottom: 10px; }
.fsw-input:focus { border-color: var(--accent); background: var(--white); }
.fsw-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fsw-field { display: flex; flex-direction: column; }
.fsw-cats { display: flex; gap: 8px; overflow-x: auto; padding: 12px 0 14px; scrollbar-width: none; }
.fsw-cats::-webkit-scrollbar { display: none; }

/* ── STICKY SUMMARY BAR ──
   Hidden by default. Slides down when user scrolls past the widget.
   Single slim line: location+dates pill + category emoji pills.
*/
.search-summary-bar {
  position: sticky;
  top: var(--nav-h);
  z-index: 900;
  background: var(--white);
  border-bottom: 1.5px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  padding: 9px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  transform: translateY(-110%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.28s cubic-bezier(0.4,0,0.2,1), opacity 0.2s;
  will-change: transform;
}
.search-summary-bar.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}
.ssb-pill {
  display: flex; align-items: center; gap: 5px;
  background: var(--sand); border: 1.5px solid var(--border);
  border-radius: 100px; padding: 6px 11px;
  font-size: 12px; font-weight: 700;
  flex-shrink: 0; cursor: pointer; -webkit-tap-highlight-color: transparent;
  max-width: 190px; overflow: hidden;
  transition: border-color 0.15s;
}
.ssb-pill:active { border-color: var(--accent); }
.ssb-loc { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 70px; }
.ssb-sep { color: var(--border); flex-shrink: 0; }
.ssb-dates { color: var(--ink-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; font-size: 11px; }
.ssb-edit { font-size: 10px; flex-shrink: 0; }
.ssb-cat-pills { display: flex; gap: 6px; overflow-x: auto; flex: 1; scrollbar-width: none; }
.ssb-cat-pills::-webkit-scrollbar { display: none; }

/* ── SEARCH EDIT PANEL (collapses under sticky bar) ── */
/* ── SEARCH EDIT PANEL (collapses under sticky bar) ── */
.search-panel {
  position: sticky;
  top: calc(var(--nav-h) + 52px);
  z-index: 890;
  background: var(--white);
  border-bottom: 1.5px solid transparent; /* Hidden by default */
  box-shadow: none; /* Hidden by default */
  max-height: 0;
  overflow: hidden;
  opacity: 0; /* Fully invisible */
  pointer-events: none;
  transition: max-height 0.35s cubic-bezier(0.4,0,0.2,1), opacity 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.search-panel.open { 
  max-height: 380px; 
  border-bottom: 1.5px solid var(--border); /* Restores border */
  box-shadow: var(--shadow); /* Restores shadow */
  opacity: 1; /* Restores visibility */
  pointer-events: all;
}

.sp-inner { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 10px; }
.sp-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--ink-soft); display: block; margin-bottom: 5px; }
.sp-input { width: 100%; border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 12px 14px; font-size: 16px; font-weight: 600; font-family: var(--font-body); background: var(--sand); color: var(--ink); outline: none; transition: border-color 0.2s; appearance: none; -webkit-appearance: none; }
.sp-input:focus { border-color: var(--accent); background: var(--white); }
.sp-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sp-field { display: flex; flex-direction: column; }
.sp-apply { width: 100%; padding: 13px; background: var(--accent); color: var(--white); border: none; border-radius: var(--radius-sm); font-size: 15px; font-weight: 700; -webkit-tap-highlight-color: transparent; }
.sp-apply:active { opacity: 0.9; }

.search-panel.open { 
  max-height: 380px; 
  border-bottom: 1.5px solid var(--border); /* Restore border */
  box-shadow: var(--shadow); /* Restore shadow */
  opacity: 1; /* Restore visibility */
  pointer-events: all;
}
/* Fleet list */
.fleet-section { background: var(--sand); padding: 14px 0 40px; }
.fleet-vendor-block { background: var(--white); border-radius: var(--radius-lg); border: 1.5px solid var(--border); margin-bottom: 14px; overflow: hidden; }
.fvb-header { display: flex; justify-content: space-between; align-items: center; padding: 13px 14px; border-bottom: 1px solid var(--border); cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background 0.15s; }
.fvb-header:active { background: var(--sand); }
.fvb-left { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1; }
.fvb-avatar { width: 38px; height: 38px; border-radius: 9px; background: var(--ink); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; flex-shrink: 0; }
.fvb-avatar--alt { background: var(--accent); }
.fvb-name { font-size: 14px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fvb-loc { font-size: 11px; color: var(--ink-soft); margin-top: 1px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fvb-verified { color: var(--trust); font-weight: 700; }
.fvb-right { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; flex-shrink: 0; margin-left: 8px; }
.fvb-rating { font-size: 12px; font-weight: 700; white-space: nowrap; }
.fvb-rating span { font-size: 11px; color: var(--ink-soft); font-weight: 400; }
.fvb-view { font-size: 11px; color: var(--accent); font-weight: 700; white-space: nowrap; }
.vehicle-scroll-wrap { padding: 12px 0 6px; }
.vehicle-scroll { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 14px 10px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.vehicle-scroll::-webkit-scrollbar { display: none; }
.scroll-hint { text-align: center; font-size: 11px; color: var(--ink-soft); padding-bottom: 4px; opacity: 0.6; }

/* Vehicle Cards */
.v-card { min-width: 175px; max-width: 175px; border: 1.5px solid var(--border); border-radius: var(--radius); overflow: hidden; scroll-snap-align: start; flex-shrink: 0; background: var(--white); }
@media (min-width: 480px) { .v-card { min-width: 200px; max-width: 200px; } }
.vc-img-wrap { position: relative; height: 115px; overflow: hidden; }
.vc-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.vc-badge-tag { position: absolute; top: 7px; left: 7px; background: var(--ink); color: var(--white); font-size: 10px; font-weight: 700; padding: 3px 6px; border-radius: 5px; }
.vc-verified-tag { position: absolute; top: 7px; right: 7px; background: var(--trust); color: var(--white); font-size: 10px; font-weight: 700; padding: 3px 6px; border-radius: 5px; }
.vc-body { padding: 11px; }
.vc-title { font-size: 13px; font-weight: 700; margin-bottom: 2px; line-height: 1.3; }
.vc-meta { font-size: 10px; color: var(--ink-soft); margin-bottom: 7px; }
.vc-price { font-size: 17px; font-weight: 800; margin-bottom: 9px; }
.vc-price span { font-size: 11px; color: var(--ink-soft); font-weight: 400; }
.btn-book-card { width: 100%; padding: 9px; background: var(--accent); color: var(--white); border: none; border-radius: var(--radius-sm); font-size: 12px; font-weight: 700; -webkit-tap-highlight-color: transparent; }
.btn-book-card:active { opacity: 0.9; }

/* VPV Cards (vendor profile vehicle grid) */
.vp-vehicles-grid { display: grid; grid-template-columns: 1fr; gap: 12px; padding: 18px 16px 40px; }
@media (min-width: 480px) { .vp-vehicles-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .vp-vehicles-grid { grid-template-columns: repeat(3, 1fr); } }
.vpv-card { border: 1.5px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.vpv-card .vc-img-wrap { height: 170px; }
.vpv-card .vc-body { padding: 14px; }
.vpv-card .vc-title { font-size: 15px; }
.vpv-card .vc-price { font-size: 20px; }

/* ═══ BOOKING MODAL ═══ */
.modal-overlay { position: fixed; inset: 0; background: rgba(13,13,13,0.65); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); z-index: 2000; display: flex; align-items: flex-end; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.25s; }
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal-box { background: var(--white); border-radius: var(--radius-lg) var(--radius-lg) 0 0; padding: 8px 16px 32px; width: 100%; max-height: 92vh; overflow-y: auto; -webkit-overflow-scrolling: touch; transform: translateY(40px); transition: transform 0.28s cubic-bezier(0.4,0,0.2,1); position: relative; }
.modal-overlay.open .modal-box { transform: translateY(0); }
.modal-drag-handle { width: 40px; height: 4px; background: var(--border); border-radius: 2px; margin: 10px auto 18px; }
.modal-close { position: absolute; top: 18px; right: 14px; background: var(--sand); border: none; width: 30px; height: 30px; border-radius: 50%; font-size: 13px; display: flex; align-items: center; justify-content: center; -webkit-tap-highlight-color: transparent; }
.modal-header { margin-bottom: 14px; }
.modal-header h2 { font-family: var(--font-serif); font-size: 22px; margin-bottom: 3px; }
.modal-header p { font-size: 13px; color: var(--ink-soft); }
.modal-vehicle-tag { background: var(--sand); border-radius: var(--radius-sm); padding: 10px 13px; font-size: 13px; font-weight: 700; margin-bottom: 18px; border-left: 3px solid var(--accent); word-break: break-word; }
.mf-group { margin-bottom: 14px; }
.mf-label { display: block; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--ink-soft); margin-bottom: 6px; }
.mf-input { width: 100%; border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 13px 14px; font-size: 16px; font-family: var(--font-body); background: var(--sand); color: var(--ink); outline: none; transition: border-color 0.2s; appearance: none; }
.mf-input:focus { border-color: var(--accent); background: var(--white); }
.mf-textarea { min-height: 70px; resize: none; }
.mf-trust-note { display: flex; align-items: center; gap: 7px; background: rgba(26,107,60,0.08); border-radius: var(--radius-sm); padding: 10px 12px; font-size: 12px; color: var(--trust); font-weight: 600; margin-bottom: 14px; }
.btn-submit { width: 100%; padding: 16px; background: var(--accent); color: var(--white); border: none; border-radius: var(--radius-sm); font-size: 16px; font-weight: 700; -webkit-tap-highlight-color: transparent; }
.btn-submit:active { opacity: 0.9; }
.mf-loader { text-align: center; padding: 13px; font-weight: 700; color: var(--accent); font-size: 14px; }

/* ═══ SUCCESS TOAST ═══ */
.success-toast { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%) translateY(80px); background: var(--ink); color: var(--white); border-radius: var(--radius); padding: 13px 18px; display: flex; align-items: center; gap: 10px; box-shadow: var(--shadow-lg); z-index: 3000; min-width: min(280px, 90vw); transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), opacity 0.3s; opacity: 0; }
.success-toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }
.success-toast strong { display: block; font-size: 13px; }
.success-toast p { font-size: 11px; opacity: 0.7; margin-top: 1px; }

/* ════════════════════════════════════════════
   VENDOR PROFILE PAGE
   ════════════════════════════════════════════ */
.vp-hero { background: var(--ink); color: var(--white); padding: calc(var(--nav-h) + 20px) 0 24px; }
.vp-hero__inner { display: flex; align-items: flex-start; gap: 14px; }
.vp-avatar-large { width: 56px; height: 56px; border-radius: 12px; flex-shrink: 0; background: var(--accent); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 800; }
.vp-verified-badge { font-size: 10px; font-weight: 700; color: #4ade80; letter-spacing: 1px; margin-bottom: 3px; }
.vp-hero__info h1 { font-family: var(--font-display); font-size: clamp(26px, 8vw, 48px); margin-bottom: 5px; line-height: 1; }
.vp-meta-row { font-size: 12px; opacity: 0.6; display: flex; gap: 5px; flex-wrap: wrap; }
.vp-dot { opacity: 0.3; }
.vp-info-strip { display: flex; flex-direction: column; gap: 14px; padding: 18px 16px; }
@media (min-width: 768px) { .vp-info-strip { flex-direction: row; padding: 24px; } }
.vp-map-box { border-radius: var(--radius); overflow: hidden; border: 1.5px solid var(--border); flex: 1; }
.vp-map-placeholder { height: 170px; background: var(--sand); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; cursor: pointer; }
.map-pin-anim { font-size: 32px; animation: bounce 2s ease infinite; }
.map-label { font-size: 13px; font-weight: 700; }
.map-sub { font-size: 12px; color: var(--accent); font-weight: 600; }
.vp-details-box { display: flex; flex-direction: column; gap: 12px; flex: 1; }
.vpd-item { display: flex; align-items: flex-start; gap: 10px; }
.vpd-icon { font-size: 16px; flex-shrink: 0; margin-top: 1px; }
.vpd-title { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--ink-soft); }
.vpd-val { font-size: 13px; font-weight: 600; }

/* Vendor tabs — FIXED */
.vp-tabs-wrap { background: var(--white); border-bottom: 1.5px solid var(--border); position: sticky; top: var(--nav-h); z-index: 100; }
.vp-tabs { display: flex; max-width: var(--max-w); margin: 0 auto; }
.vp-tab { padding: 14px 0; background: none; border: none; border-bottom: 3px solid transparent; font-size: 14px; font-weight: 700; color: var(--ink-soft); margin-bottom: -1.5px; cursor: pointer; -webkit-tap-highlight-color: transparent; flex: 1; text-align: center; transition: color 0.2s, border-color 0.2s; }
.vp-tab.active { color: var(--accent); border-bottom-color: var(--accent); }

/* THE FIX — tab content visibility */
.vp-tab-content { display: none; padding-bottom: 48px; }
.vp-tab-content.active { display: block; }

/* Reviews layout */
.vp-reviews { padding: 20px 16px; }
.vpr-summary { background: var(--sand); border-radius: var(--radius); padding: 20px; text-align: center; margin-bottom: 18px; }
.vpr-big { font-family: var(--font-display); font-size: 60px; line-height: 1; }
.vpr-stars { font-size: 20px; color: #F59E0B; margin: 4px 0; }
.vpr-count { font-size: 12px; color: var(--ink-soft); }
@media (min-width: 768px) {
  .vp-reviews { display: grid; grid-template-columns: 160px 1fr; gap: 28px; padding: 28px; }
  .vpr-summary { margin-bottom: 0; align-self: start; }
}
.vpr-list { display: flex; flex-direction: column; gap: 10px; }
.vpr-item { background: var(--sand); border-radius: var(--radius-sm); padding: 13px 14px; }
.vpr-item-top { display: flex; justify-content: space-between; margin-bottom: 5px; font-size: 13px; font-weight: 700; }
.vpr-item p { font-size: 13px; color: var(--ink-soft); line-height: 1.6; margin-bottom: 5px; }
.vpr-date { font-size: 11px; color: var(--ink-soft); opacity: 0.6; }

/* ════════════════════════════════════════════
   VENDORS PAGE
   ════════════════════════════════════════════ */
.vendors-big-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 600px) { .vendors-big-grid { grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); } }
.vbg-card { background: var(--white); border-radius: var(--radius-lg); border: 1.5px solid var(--border); padding: 20px; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: transform 0.2s; }
.vbg-card:active { transform: scale(0.99); }
.vbg-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; }
.vbg-avatar { width: 48px; height: 48px; border-radius: 11px; background: var(--ink); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 800; }
.vbg-avatar--alt { background: var(--accent); }
.vbg-badge { background: rgba(26,107,60,0.1); color: var(--trust); font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 100px; }
.vbg-card h3 { font-family: var(--font-serif); font-size: 20px; margin-bottom: 4px; }
.vbg-loc { font-size: 13px; color: var(--ink-soft); margin-bottom: 10px; }
.vbg-stats { display: flex; gap: 8px; font-size: 12px; color: var(--ink-soft); margin-bottom: 10px; flex-wrap: wrap; }
.vbg-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.vbg-tags span { background: var(--sand); border: 1px solid var(--border); border-radius: 100px; padding: 3px 9px; font-size: 11px; font-weight: 600; }
.vbg-cta { color: var(--accent); font-size: 13px; font-weight: 700; }
.vbg-card--join { background: var(--sand); border-style: dashed; display: flex; align-items: center; justify-content: center; min-height: 180px; }
.vbg-join-inner { text-align: center; padding: 16px; }
.vbg-join-icon { font-size: 36px; margin-bottom: 8px; }
.vbg-join-inner h3 { font-family: var(--font-serif); font-size: 20px; margin-bottom: 7px; }
.vbg-join-inner p { font-size: 13px; color: var(--ink-soft); margin-bottom: 14px; line-height: 1.6; }

/* ════════════════════════════════════════════
   HOW IT WORKS PAGE
   ════════════════════════════════════════════ */
.hiw-section { background: var(--white); }
.hiw-steps { max-width: 580px; margin: 0 auto; }
.hiw-step { display: flex; gap: 14px; align-items: flex-start; }
.hiw-step-num { font-family: var(--font-display); font-size: 40px; line-height: 1; color: rgba(13,13,13,0.07); flex-shrink: 0; width: 48px; text-align: right; padding-top: 3px; }
.hiw-step-body { flex: 1; padding: 0 0 28px; }
.hiw-icon { font-size: 26px; margin-bottom: 9px; }
.hiw-step-body h3 { font-family: var(--font-serif); font-size: 19px; margin-bottom: 7px; }
.hiw-step-body p { font-size: 14px; color: var(--ink-soft); line-height: 1.8; }
.hiw-connector { width: 2px; background: var(--border); height: 14px; margin-left: 44px; }
.hiw-vendor-section { background: var(--sand); }
.hiw-vendor-inner { display: flex; flex-direction: column; gap: 28px; }
@media (min-width: 900px) { .hiw-vendor-inner { flex-direction: row; gap: 80px; align-items: center; } }
.hiw-checks { display: flex; flex-direction: column; gap: 13px; margin-top: 20px; }
.hiw-check { display: flex; gap: 10px; }
.hiw-check > span { font-size: 15px; color: var(--trust); font-weight: 800; flex-shrink: 0; margin-top: 1px; }
.hiw-check strong { display: block; font-size: 14px; margin-bottom: 1px; }
.hiw-check p { font-size: 13px; color: var(--ink-soft); }
.hvv-card { background: var(--ink); color: var(--white); border-radius: var(--radius-lg); padding: 28px 22px; text-align: center; }
.hvv-icon { font-size: 36px; margin-bottom: 10px; }
.hvv-title { font-family: var(--font-display); font-size: 22px; margin-bottom: 18px; color: var(--accent-2); }
.hvv-checks { display: flex; flex-direction: column; gap: 8px; }
.hvvc-row { background: rgba(255,255,255,0.07); border-radius: var(--radius-sm); padding: 10px 14px; font-size: 13px; font-weight: 600; }
/* FAQ */
.faq-section { background: var(--white); }
.faq-inner { max-width: 600px; }
.faq-list { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; padding: 16px 0; display: flex; justify-content: space-between; align-items: center; background: none; border: none; text-align: left; font-size: 14px; font-weight: 700; cursor: pointer; -webkit-tap-highlight-color: transparent; gap: 12px; }
.faq-q span { font-size: 17px; transition: transform 0.2s; flex-shrink: 0; }
.faq-item.open .faq-q span { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 0 16px; font-size: 14px; color: var(--ink-soft); line-height: 1.8; }
.faq-item.open .faq-a { display: block; }

/* ═══ ANIMATIONS ═══ */
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

/* ═══ FILTER PILLS ═══ */
.fpill { padding: 6px 13px; border: 2px solid var(--border); border-radius: 100px; font-size: 13px; font-weight: 700; white-space: nowrap; background: var(--white); color: var(--ink); transition: all 0.15s; flex-shrink: 0; -webkit-tap-highlight-color: transparent; cursor: pointer; }
.fpill.active { background: var(--ink); border-color: var(--ink); color: var(--white); }
.fpill:active { opacity: 0.85; }
