/* ══════════════════════════════════════════════════════════
   AUTOLUO — Main Stylesheet  (Expedia-inspired car rental)
   ══════════════════════════════════════════════════════════ */

/* ── Variables ─────────────────────────────────────────── */
:root {
  --primary:       #0056b3;
  --primary-dark:  #003d80;
  --primary-light: #dbeafe;
  --accent:        #ff6b00;
  --accent-hover:  #e55d00;
  --dark:          #1a1a2e;
  --gray:          #6b7280;
  --gray-light:    #9ca3af;
  --bg-light:      #f5f7fa;
  --white:         #ffffff;
  --border:        #e5e7eb;
  --success:       #059669;
  --warning:       #d97706;
  --danger:        #dc2626;
  --whatsapp:      #25d366;
  --radius:        10px;
  --radius-lg:     16px;
  --shadow:        0 2px 12px rgba(0,0,0,.08);
  --shadow-md:     0 4px 24px rgba(0,0,0,.12);
  --shadow-lg:     0 8px 40px rgba(0,0,0,.16);
  --transition:    0.2s ease;
  --font:          'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ── Reset / Base ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--dark); background: var(--white); line-height: 1.6; font-size: 15px; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
input, select, textarea, button { font-family: inherit; }
button { cursor: pointer; }

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

/* ── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 12px 24px; border-radius: var(--radius); font-weight: 600;
  font-size: 14px; border: 2px solid transparent; cursor: pointer;
  transition: all var(--transition); white-space: nowrap;
}
.btn-primary  { background: var(--primary);  color: var(--white); border-color: var(--primary); }
.btn-primary:hover  { background: var(--primary-dark); border-color: var(--primary-dark); }
.btn-accent   { background: var(--accent);   color: var(--white); border-color: var(--accent); }
.btn-accent:hover   { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn-outline  { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover  { background: var(--primary); color: var(--white); }
.btn-outline-white  { background: transparent; color: var(--white); border-color: rgba(255,255,255,.7); }
.btn-outline-white:hover { background: var(--white); color: var(--primary); }
.btn-white    { background: var(--white); color: var(--primary); }
.btn-white:hover    { background: var(--bg-light); }
.btn-whatsapp { background: var(--whatsapp); color: var(--white); border-color: var(--whatsapp); }
.btn-whatsapp:hover { background: #1ebe5c; }
.btn-search   { background: var(--accent); color: var(--white); border-color: var(--accent); padding: 14px 28px; font-size: 15px; border-radius: var(--radius); }
.btn-search:hover { background: var(--accent-hover); }
.btn-disabled { background: var(--border); color: var(--gray-light); cursor: not-allowed; }
.btn-sm       { padding: 8px 16px; font-size: 13px; }
.btn-lg       { padding: 15px 32px; font-size: 16px; }
.btn-full     { width: 100%; }

/* ── Top Bar ───────────────────────────────────────────── */
.topbar { background: var(--dark); color: rgba(255,255,255,.85); font-size: 13px; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 38px; gap: 16px; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 20px; }
.topbar-left a, .topbar-right span { display: flex; align-items: center; gap: 5px; color: rgba(255,255,255,.85); transition: color var(--transition); }
.topbar-left a:hover { color: var(--white); }

/* ── Header ────────────────────────────────────────────── */
.site-header {
  background: var(--white); box-shadow: 0 1px 0 var(--border);
  position: sticky; top: 0; z-index: 1000;
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }

/* Logo */
.site-logo { display: flex; align-items: center; flex-shrink: 0; }
.site-logo img { height: 44px; width: auto; }
.logo-text { font-size: 26px; font-weight: 800; letter-spacing: -0.5px; }
.logo-text.lg { font-size: 30px; }
.logo-auto { color: var(--primary); }
.logo-luo  { color: var(--accent); }

/* Navigation */
.primary-nav { flex: 1; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-list li a {
  display: block; padding: 8px 14px; font-size: 14px; font-weight: 500;
  color: var(--dark); border-radius: 8px; transition: all var(--transition);
}
.nav-list li a:hover, .nav-list li.current-menu-item a, .nav-list li.current_page_item a {
  color: var(--primary); background: var(--primary-light);
}
.header-actions { display: flex; align-items: center; gap: 10px; }

/* Mobile Toggle */
.mobile-toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 6px;
}
.mobile-toggle span { display: block; width: 24px; height: 2px; background: var(--dark); border-radius: 2px; transition: all 0.3s; }

/* ── Mobile Menu ───────────────────────────────────────── */
.mobile-menu-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 1998; }
.mobile-menu-overlay.show { display: block; }
.mobile-menu {
  position: fixed; top: 0; right: -320px; width: 300px; height: 100vh;
  background: var(--white); z-index: 1999; overflow-y: auto;
  transition: right 0.3s ease; box-shadow: var(--shadow-lg);
}
.mobile-menu.open { right: 0; }
.mobile-menu-header { display: flex; align-items: center; justify-content: space-between; padding: 20px; border-bottom: 1px solid var(--border); }
.mobile-close { background: none; border: none; font-size: 20px; color: var(--gray); }
.mobile-nav-list { padding: 16px; }
.mobile-nav-list li a { display: block; padding: 12px 16px; font-size: 15px; font-weight: 500; border-radius: 8px; transition: all var(--transition); }
.mobile-nav-list li a:hover { background: var(--primary-light); color: var(--primary); }
.mobile-menu-contact { padding: 16px; }

/* ── Hero Section ──────────────────────────────────────── */
.hero-section {
  position: relative; min-height: 580px; background: linear-gradient(135deg, #003d80 0%, #0056b3 50%, #0070e0 100%);
  background-size: cover; background-position: center; display: flex; align-items: center;
}
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,30,80,.75) 0%, rgba(0,20,60,.6) 100%); }
.hero-content { position: relative; z-index: 1; text-align: center; padding: 60px 20px; width: 100%; }
.hero-title { font-size: clamp(28px, 5vw, 52px); font-weight: 800; color: var(--white); line-height: 1.15; margin-bottom: 16px; text-shadow: 0 2px 8px rgba(0,0,0,.3); }
.hero-subtitle { font-size: clamp(15px, 2vw, 19px); color: rgba(255,255,255,.9); margin-bottom: 36px; }

/* Search Box */
.hero-search-box { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; max-width: 900px; margin: 0 auto 24px; }
.search-tabs { background: var(--bg-light); border-bottom: 1px solid var(--border); padding: 12px 20px 0; }
.search-tab { background: none; border: none; padding: 10px 20px; font-size: 14px; font-weight: 600; color: var(--gray); border-bottom: 3px solid transparent; cursor: pointer; transition: all var(--transition); border-radius: 0; }
.search-tab.active { color: var(--primary); border-bottom-color: var(--primary); }
.search-fields { display: flex; align-items: flex-end; gap: 1px; padding: 16px; flex-wrap: wrap; }
.search-field { flex: 1; min-width: 180px; }
.sf-label { display: flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--gray); margin-bottom: 6px; }
.sf-input { width: 100%; padding: 11px 12px; border: 1px solid var(--border); border-radius: var(--radius); font-size: 14px; color: var(--dark); background: var(--white); transition: border-color var(--transition); appearance: none; }
.sf-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0,86,179,.1); }

/* Hero trust badges */
.hero-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 28px; }
.hero-trust span { color: rgba(255,255,255,.9); font-size: 13px; font-weight: 500; display: flex; align-items: center; gap: 4px; }

/* ── Stats ─────────────────────────────────────────────── */
.stats-section { background: var(--primary); padding: 28px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-item { color: var(--white); }
.stat-number { font-size: 36px; font-weight: 800; line-height: 1; }
.stat-number span { font-size: 22px; opacity: .8; }
.stat-label { font-size: 13px; opacity: .85; margin-top: 4px; font-weight: 500; }

/* ── Section Commons ───────────────────────────────────── */
.section { padding: 72px 0; }
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 36px; flex-wrap: wrap; gap: 16px; }
.section-header.center { flex-direction: column; text-align: center; }
.section-tag { display: inline-block; background: var(--primary-light); color: var(--primary); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; padding: 4px 12px; border-radius: 20px; margin-bottom: 8px; }
.section-title { font-size: clamp(22px, 3vw, 32px); font-weight: 700; color: var(--dark); }
.section-desc { color: var(--gray); font-size: 16px; margin-top: 8px; max-width: 520px; }
.section-header.center .section-desc { margin: 8px auto 0; }
.section-subheading { font-size: 18px; font-weight: 700; color: var(--dark); margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid var(--border); }

/* ── Car Cards Grid ────────────────────────────────────── */
.cars-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }

/* Car Card */
.car-card { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); border: 1px solid var(--border); overflow: hidden; transition: transform var(--transition), box-shadow var(--transition); display: flex; flex-direction: column; }
.car-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.car-card.car-unavailable { opacity: .75; }

.car-card-image-wrap { position: relative; overflow: hidden; aspect-ratio: 16/10; background: var(--bg-light); display: block; }
.car-card-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.car-card:hover .car-card-img { transform: scale(1.04); }
.car-card-img-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: var(--bg-light); }
.car-card-img-placeholder svg { width: 80%; opacity: .5; }

.car-badge { position: absolute; top: 12px; left: 12px; background: var(--accent); color: var(--white); font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 20px; text-transform: uppercase; letter-spacing: .5px; }
.car-badge-booked { background: var(--danger); }
.car-category-tag { position: absolute; bottom: 10px; left: 10px; background: rgba(0,0,0,.6); color: var(--white); font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 20px; }

.car-card-body { padding: 18px; display: flex; flex-direction: column; flex: 1; gap: 12px; }
.car-card-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.car-card-title { font-size: 16px; font-weight: 700; color: var(--dark); line-height: 1.3; }
.car-card-title a:hover { color: var(--primary); }
.car-card-year { font-size: 12px; color: var(--gray-light); margin-top: 2px; display: block; }

.car-card-price-wrap { text-align: right; flex-shrink: 0; }
.price-old { font-size: 12px; color: var(--gray-light); text-decoration: line-through; display: block; }
.car-card-price { display: flex; align-items: baseline; gap: 2px; }
.price-amount { font-size: 22px; font-weight: 800; color: var(--primary); }
.price-period { font-size: 12px; color: var(--gray); }

/* Specs */
.car-card-specs { display: flex; flex-wrap: wrap; gap: 8px; }
.spec-item { display: flex; align-items: center; gap: 5px; font-size: 12px; color: var(--gray); background: var(--bg-light); padding: 5px 10px; border-radius: 6px; }

/* Card footer */
.car-card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--border); }
.car-deposit-note { font-size: 12px; color: var(--gray); }
.car-free-cancel  { font-size: 12px; color: var(--success); font-weight: 600; }

/* Category pills */
.category-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.pill { padding: 8px 18px; border-radius: 20px; border: 1.5px solid var(--border); background: var(--white); font-size: 13px; font-weight: 600; color: var(--gray); cursor: pointer; transition: all var(--transition); }
.pill:hover, .pill.active { background: var(--primary); border-color: var(--primary); color: var(--white); }

/* ── Destinations ──────────────────────────────────────── */
.destinations-section { background: var(--bg-light); }
.destinations-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.dest-card { display: flex; align-items: center; gap: 14px; background: var(--white); border-radius: var(--radius); padding: 18px; border: 1px solid var(--border); box-shadow: var(--shadow); transition: all var(--transition); }
.dest-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.dest-emoji { font-size: 32px; flex-shrink: 0; }
.dest-info h3 { font-size: 15px; font-weight: 700; color: var(--dark); margin-bottom: 2px; }
.dest-info p  { font-size: 12px; color: var(--gray); }
.dest-arrow { margin-left: auto; color: var(--primary); font-size: 18px; flex-shrink: 0; }

/* ── How It Works ──────────────────────────────────────── */
.how-section { background: var(--white); }
.steps-grid { display: flex; align-items: flex-start; gap: 0; flex-wrap: wrap; }
.step-card { flex: 1; min-width: 180px; text-align: center; padding: 24px 16px; }
.step-number { font-size: 48px; font-weight: 800; color: var(--primary-light); line-height: 1; margin-bottom: 8px; }
.step-icon { font-size: 36px; margin-bottom: 12px; }
.step-card h3 { font-size: 16px; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.step-card p  { font-size: 13px; color: var(--gray); line-height: 1.6; }
.step-connector { align-self: flex-start; margin-top: 60px; font-size: 28px; color: var(--gray-light); flex-shrink: 0; }

/* ── Why Us ────────────────────────────────────────────── */
.why-section { background: linear-gradient(135deg, var(--bg-light) 0%, #edf4ff 100%); }
.why-inner { display: grid; grid-template-columns: 1fr 2fr; gap: 60px; align-items: center; }
.why-text .section-title { margin-bottom: 16px; }
.why-text .section-desc  { margin-bottom: 28px; }
.why-features { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.why-feature { display: flex; align-items: flex-start; gap: 14px; }
.why-feature-icon { font-size: 28px; flex-shrink: 0; }
.why-feature h4 { font-size: 14px; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.why-feature p  { font-size: 13px; color: var(--gray); line-height: 1.5; }

/* ── Testimonials ──────────────────────────────────────── */
.testimonials-section { background: var(--white); }
.testimonials-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.testimonial-card { background: var(--bg-light); border-radius: var(--radius-lg); padding: 24px; border: 1px solid var(--border); }
.testimonial-header { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.t-avatar { font-size: 32px; }
.t-name    { font-size: 14px; font-weight: 700; color: var(--dark); }
.t-country { font-size: 12px; color: var(--gray); }
.t-text    { font-size: 14px; color: var(--gray); font-style: italic; line-height: 1.7; }
.stars     { margin-left: auto; display: flex; gap: 2px; }
.star.filled { color: #fbbf24; }
.star { color: var(--border); font-size: 16px; }

/* ── CTA Section ───────────────────────────────────────── */
.cta-section { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); padding: 64px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-text h2 { font-size: clamp(22px, 3vw, 34px); font-weight: 800; color: var(--white); margin-bottom: 8px; }
.cta-text p  { color: rgba(255,255,255,.85); font-size: 16px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── Archive Page ──────────────────────────────────────── */
.page-header { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); padding: 48px 0; color: var(--white); }
.page-title    { font-size: clamp(22px, 3vw, 36px); font-weight: 800; color: var(--white); }
.page-subtitle { color: rgba(255,255,255,.8); margin-top: 8px; font-size: 15px; }
.archive-header .page-title { margin-bottom: 8px; }
.search-recap { background: rgba(255,255,255,.15); border-radius: 8px; padding: 8px 16px; font-size: 14px; display: inline-block; margin-top: 12px; }

.archive-layout { display: grid; grid-template-columns: 260px 1fr; gap: 32px; padding-top: 36px; padding-bottom: 60px; align-items: start; }

/* Filter Sidebar */
.filter-sidebar { background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--border); padding: 24px; position: sticky; top: 90px; }
.filter-sidebar-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.filter-sidebar-header h3 { font-size: 16px; font-weight: 700; }
.filter-reset { background: none; border: none; color: var(--primary); font-size: 13px; font-weight: 600; cursor: pointer; }
.filter-reset:hover { text-decoration: underline; }
.filter-group { margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.filter-group:last-of-type { border-bottom: none; }
.filter-group-title { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--dark); margin-bottom: 12px; }
.filter-options { display: flex; flex-direction: column; gap: 8px; }
.filter-options.scrollable { max-height: 160px; overflow-y: auto; }
.filter-option { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--dark); cursor: pointer; }
.filter-option input[type="radio"] { accent-color: var(--primary); }
.filter-count { margin-left: auto; color: var(--gray-light); font-size: 11px; }

/* Price Range */
.price-range-wrap { padding: 4px 0; }
.price-range-wrap input[type="range"] { width: 100%; accent-color: var(--primary); }
.price-range-labels { display: flex; justify-content: space-between; font-size: 12px; color: var(--gray); margin-top: 6px; }
#price-range-val { font-weight: 700; color: var(--primary); }

/* Archive Toolbar */
.archive-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; gap: 16px; flex-wrap: wrap; }
.results-count { font-size: 14px; color: var(--gray); }
.results-count strong { color: var(--dark); font-weight: 700; }
.toolbar-right { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.toolbar-right label { font-size: 13px; color: var(--gray); }
.sort-select { padding: 8px 12px; border: 1px solid var(--border); border-radius: 8px; font-size: 13px; }
.mobile-filter-toggle { display: none; align-items: center; gap: 6px; padding: 8px 14px; border: 1px solid var(--border); border-radius: 8px; background: var(--white); font-size: 13px; font-weight: 600; }

/* Pagination */
.archive-pagination { margin-top: 40px; }
.archive-pagination .page-numbers { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }
.archive-pagination .page-numbers li { }
.archive-pagination .page-numbers a,
.archive-pagination .page-numbers span { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 8px; border: 1px solid var(--border); font-size: 14px; font-weight: 600; color: var(--dark); transition: all var(--transition); }
.archive-pagination .page-numbers a:hover { background: var(--primary); border-color: var(--primary); color: var(--white); }
.archive-pagination .page-numbers .current { background: var(--primary); border-color: var(--primary); color: var(--white); }
.archive-pagination .page-numbers .prev, .archive-pagination .page-numbers .next { width: auto; padding: 0 14px; }

/* Loading spinner */
.loading-spinner { text-align: center; padding: 60px; color: var(--gray); }
.spinner { width: 40px; height: 40px; border: 3px solid var(--border); border-top-color: var(--primary); border-radius: 50%; animation: spin 0.8s linear infinite; margin: 0 auto 12px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* No results */
.no-results { grid-column: 1/-1; text-align: center; padding: 60px; }
.no-results-icon { font-size: 60px; margin-bottom: 16px; }
.no-results h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.no-results p  { color: var(--gray); }

/* Mobile filter overlay */
.mobile-filter-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 999; }
.mobile-filter-overlay.show { display: block; }

/* ── Single Car Page ────────────────────────────────────── */
.breadcrumb-bar { background: var(--bg-light); border-bottom: 1px solid var(--border); padding: 12px 0; }
.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--gray); flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span:not(:last-child) { color: var(--gray-light); }

.single-car-layout { display: grid; grid-template-columns: 1fr 360px; gap: 36px; padding: 36px 20px 60px; align-items: start; max-width: 1200px; margin: 0 auto; }
.single-car-main { min-width: 0; }
.single-car-sidebar { position: sticky; top: 90px; }

/* Gallery */
.car-gallery { margin-bottom: 32px; border-radius: var(--radius-lg); overflow: hidden; }
.gallery-main { position: relative; aspect-ratio: 16/9; background: var(--bg-light); border-radius: var(--radius-lg); overflow: hidden; }
.gallery-main-img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.2s; }
.gallery-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,.5); color: var(--white); border: none; width: 44px; height: 44px; border-radius: 50%; font-size: 22px; display: flex; align-items: center; justify-content: center; transition: background var(--transition); z-index: 2; }
.gallery-nav:hover { background: rgba(0,0,0,.75); }
.gallery-prev { left: 12px; }
.gallery-next { right: 12px; }
.gallery-counter { position: absolute; bottom: 12px; right: 12px; background: rgba(0,0,0,.6); color: var(--white); font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 20px; }
.gallery-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding-bottom: 4px; }
.gallery-thumb { border: 2px solid transparent; border-radius: 8px; overflow: hidden; flex-shrink: 0; width: 80px; height: 54px; padding: 0; background: none; transition: border-color var(--transition); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb.active, .gallery-thumb:hover { border-color: var(--primary); }
.gallery-placeholder { background: var(--bg-light); border-radius: var(--radius-lg); aspect-ratio: 16/9; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--gray-light); }
.gallery-placeholder svg { width: 60%; opacity: .5; margin-bottom: 12px; }

/* Car header */
.car-header-section { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 32px; flex-wrap: wrap; }
.car-type-label { display: inline-block; background: var(--primary-light); color: var(--primary); font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 20px; margin-bottom: 8px; }
.car-single-title { font-size: clamp(20px, 3vw, 28px); font-weight: 800; color: var(--dark); line-height: 1.2; margin-bottom: 10px; }
.car-meta-row { display: flex; flex-wrap: wrap; gap: 8px; }
.car-meta-tag { font-size: 13px; color: var(--gray); background: var(--bg-light); padding: 4px 10px; border-radius: 6px; }

.car-price-display { text-align: right; flex-shrink: 0; }
.price-crossed { font-size: 14px; text-decoration: line-through; color: var(--gray-light); display: block; }
.price-main-display { display: flex; align-items: baseline; gap: 4px; justify-content: flex-end; }
.price-big  { font-size: 36px; font-weight: 800; color: var(--primary); }
.price-unit { font-size: 14px; color: var(--gray); }
.price-deposit { font-size: 12px; color: var(--gray); margin-top: 4px; }

/* Specs grid */
.specs-grid-section { margin-bottom: 32px; }
.specs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.spec-card { display: flex; align-items: center; gap: 12px; background: var(--bg-light); border-radius: var(--radius); padding: 14px; border: 1px solid var(--border); }
.spec-icon { font-size: 22px; flex-shrink: 0; }
.spec-details { display: flex; flex-direction: column; }
.spec-label { font-size: 11px; color: var(--gray); font-weight: 600; text-transform: uppercase; letter-spacing: .3px; }
.spec-value { font-size: 14px; font-weight: 700; color: var(--dark); }

/* Description */
.car-description { margin-bottom: 32px; }
.car-desc-content { color: var(--gray); line-height: 1.8; font-size: 15px; }

/* Features */
.car-features-section { margin-bottom: 32px; }
.features-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.feature-item { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--dark); }
.feature-check { color: var(--success); font-weight: 700; font-size: 16px; }

/* Inclusions */
.inclusions-section { margin-bottom: 32px; }
.inclusions-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.inclusions-col { background: var(--bg-light); border-radius: var(--radius); padding: 20px; border: 1px solid var(--border); }
.inclusions-col.included { border-left: 4px solid var(--success); }
.inclusions-col.excluded { border-left: 4px solid var(--danger); }
.inclusions-col h4 { font-size: 14px; font-weight: 700; margin-bottom: 12px; }
.inclusions-col ul { display: flex; flex-direction: column; gap: 6px; }
.inclusions-col ul li { font-size: 13px; color: var(--gray); display: flex; align-items: center; gap: 6px; }
.inclusions-col ul li::before { content: '•'; color: currentColor; font-size: 16px; }

/* Locations */
.pickup-locations { margin-bottom: 32px; }
.location-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.location-tag { background: var(--primary-light); color: var(--primary); padding: 6px 14px; border-radius: 20px; font-size: 13px; font-weight: 600; }

/* Related cars */
.related-cars-section { padding: 60px 0; background: var(--bg-light); }

/* ── Booking Widget ─────────────────────────────────────── */
.booking-widget { background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--border); box-shadow: var(--shadow-md); overflow: hidden; }
.booking-widget-header { background: var(--primary); padding: 20px; display: flex; align-items: center; justify-content: space-between; }
.bw-price { display: flex; align-items: baseline; gap: 4px; }
.bw-old-price { font-size: 13px; text-decoration: line-through; color: rgba(255,255,255,.6); }
.bw-price-main { font-size: 28px; font-weight: 800; color: var(--white); }
.bw-price-per  { font-size: 13px; color: rgba(255,255,255,.8); }
.bw-avail { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; }
.bw-avail.available { color: #6ee7b7; }
.bw-avail.unavailable { color: #fca5a5; }
.bw-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.bw-avail.available .bw-dot { background: #6ee7b7; animation: pulse 1.5s infinite; }
.bw-avail.unavailable .bw-dot { background: #fca5a5; }
@keyframes pulse { 0%,100%{ opacity:1; } 50%{ opacity:.5; } }

/* Booking Form */
.booking-form { padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.form-row { display: grid; gap: 12px; }
.form-row-2 { grid-template-columns: 1fr 1fr; }
.form-group { display: flex; flex-direction: column; gap: 4px; }
.form-label { font-size: 12px; font-weight: 700; color: var(--dark); }
.req { color: var(--danger); }
.form-input { padding: 10px 12px; border: 1.5px solid var(--border); border-radius: 8px; font-size: 13px; color: var(--dark); background: var(--white); transition: border-color var(--transition); width: 100%; }
.form-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0,86,179,.1); }
.form-textarea { resize: vertical; min-height: 70px; }
.form-divider { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--gray-light); padding: 4px 0 0; border-top: 1px solid var(--border); }

/* Booking Summary */
.booking-summary { background: var(--bg-light); border-radius: 8px; padding: 14px; border: 1px solid var(--border); }
.bs-row { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--gray); padding: 4px 0; }
.bs-total { border-top: 1px solid var(--border); margin-top: 6px; padding-top: 8px; font-weight: 700; color: var(--dark); }
.bs-total span:last-child { color: var(--primary); font-size: 16px; }

.form-disclaimer { font-size: 11px; color: var(--gray); display: flex; align-items: flex-start; gap: 5px; }
.form-disclaimer svg { margin-top: 1px; flex-shrink: 0; color: var(--success); }

/* Booking success/error */
.booking-success { padding: 24px 20px; text-align: center; }
.success-icon { width: 60px; height: 60px; background: var(--success); color: var(--white); border-radius: 50%; font-size: 24px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.booking-success h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; color: var(--dark); }
.booking-success p  { font-size: 14px; color: var(--gray); margin-bottom: 8px; }
.booking-error { margin: 12px 20px; padding: 12px 16px; background: #fee2e2; color: var(--danger); border-radius: 8px; font-size: 13px; font-weight: 600; }
.booking-unavailable-msg { padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.bw-help { padding: 12px 20px; background: var(--bg-light); font-size: 12px; color: var(--gray); display: flex; align-items: center; gap: 6px; border-top: 1px solid var(--border); }
.bw-help a { color: var(--primary); font-weight: 600; }
.contact-card { margin-top: 16px; background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--border); padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.contact-card h4 { font-size: 15px; font-weight: 700; }
.contact-card p  { font-size: 13px; color: var(--gray); }

/* ── Page Content ───────────────────────────────────────── */
.page-content-wrap { padding: 60px 20px; max-width: 800px; margin: 0 auto; }
.page-content { line-height: 1.8; color: var(--gray); }
.page-content h2,h3 { color: var(--dark); margin: 28px 0 12px; }
.page-content p { margin-bottom: 16px; }

/* ── Footer ────────────────────────────────────────────── */
.site-footer { background: var(--dark); color: rgba(255,255,255,.8); }
.footer-top { padding: 64px 0 48px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px; }
.footer-logo { margin-bottom: 14px; }
.footer-desc { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,.65); margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.social-link { width: 36px; height: 36px; background: rgba(255,255,255,.1); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.7); transition: all var(--transition); }
.social-link:hover { background: var(--primary); color: var(--white); }
.footer-heading { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; color: var(--white); margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links li a { font-size: 14px; color: rgba(255,255,255,.65); transition: color var(--transition); }
.footer-links li a:hover { color: var(--white); }
.footer-contact-list { display: flex; flex-direction: column; gap: 12px; }
.footer-contact-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: rgba(255,255,255,.65); }
.footer-contact-list li svg { flex-shrink: 0; margin-top: 2px; opacity: .7; }
.footer-contact-list li a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: rgba(255,255,255,.5); flex-wrap: wrap; gap: 8px; }

/* ── WhatsApp Float ─────────────────────────────────────── */
.whatsapp-float { position: fixed; bottom: 28px; right: 28px; background: var(--whatsapp); color: var(--white); border-radius: 50px; padding: 12px 18px; display: flex; align-items: center; gap: 8px; box-shadow: 0 4px 20px rgba(37,211,102,.4); z-index: 999; transition: all var(--transition); font-weight: 600; font-size: 14px; }
.whatsapp-float:hover { transform: translateY(-2px); box-shadow: 0 6px 28px rgba(37,211,102,.5); color: var(--white); }
.whatsapp-float span { display: none; }
.whatsapp-float:hover span { display: inline; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .why-inner { grid-template-columns: 1fr; gap: 40px; }
  .single-car-layout { grid-template-columns: 1fr; }
  .single-car-sidebar { position: static; }
  .archive-layout { grid-template-columns: 220px 1fr; gap: 24px; }
  .destinations-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { flex-direction: column; align-items: center; }
  .step-connector { transform: rotate(90deg); margin: 0; }
}

@media (max-width: 768px) {
  .topbar-right { display: none; }
  .primary-nav, .header-actions .btn-outline-white { display: none; }
  .mobile-toggle { display: flex; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .cars-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
  .archive-layout { grid-template-columns: 1fr; }
  .filter-sidebar { display: none; position: fixed; left: 0; top: 0; bottom: 0; width: 280px; z-index: 1001; border-radius: 0; overflow-y: auto; }
  .filter-sidebar.open { display: block; }
  .mobile-filter-toggle { display: flex; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .search-fields { flex-direction: column; }
  .search-field { width: 100%; }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-actions { justify-content: center; }
  .destinations-grid { grid-template-columns: 1fr; }
  .inclusions-grid { grid-template-columns: 1fr; }
  .features-list { grid-template-columns: 1fr; }
  .form-row-2 { grid-template-columns: 1fr; }
  .why-features { grid-template-columns: 1fr; }
  .car-header-section { flex-direction: column; }
  .car-price-display { text-align: left; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-trust { flex-direction: column; align-items: center; }
  .cars-grid { grid-template-columns: 1fr; }
  .step-card { padding: 16px; }
  .specs-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
}
