/* ============================================================
   ZOOM RENT A CAR — Black / Gold / Grey premium theme
   Mobile-first, RTL-ready
   ============================================================ */

:root {
  --bg: #0b0b0d;
  --bg-2: #101013;
  --surface: #141417;
  --surface-2: #1a1a1f;
  --border: #26262c;
  --chrome: #c9cbd4;
  --chrome-light: #edeef2;
  --chrome-dark: #8b8d98;
  --grey: #9a9aa3;
  --grey-light: #c6c6cd;
  --white: #f5f5f7;
  --green: #25d366;
  --green-dark: #128c4a;
  --red: #e0524d;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 40px rgba(0, 0, 0, .55);
  --chrome-grad: linear-gradient(120deg, #7e818c 0%, #c9cbd4 35%, #ffffff 50%, #c9cbd4 65%, #7e818c 100%);
  --font: 'Outfit', 'Tajawal', system-ui, sans-serif;
}
html[dir="rtl"] body { --font: 'Tajawal', 'Outfit', system-ui, sans-serif; }

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
:focus-visible { outline: 2px solid var(--chrome); outline-offset: 2px; }
section[id], footer[id] { scroll-margin-top: 84px; }
a, button, select, input { touch-action: manipulation; }
body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, select { font-family: inherit; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ---------------------------------------------- Reveal animations */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.22,.61,.36,1); }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; }
}

/* ---------------------------------------------- Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 26px; border-radius: 999px; border: none;
  font-weight: 600; font-size: 15px; letter-spacing: .3px;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }

.btn-chrome {
  background: var(--chrome-grad); background-size: 200% auto;
  color: #101013; box-shadow: 0 6px 24px rgba(201, 203, 212,.25);
  animation: chromeShift 6s linear infinite;
}
.btn-chrome:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(201, 203, 212,.4); }
@keyframes chromeShift { to { background-position: 200% center; } }

.btn-outline {
  background: transparent; color: var(--chrome-light);
  border: 1px solid rgba(201, 203, 212,.55);
}
.btn-outline:hover { background: rgba(201, 203, 212,.1); border-color: var(--chrome); transform: translateY(-2px); }

.btn-dark {
  background: var(--surface-2); color: var(--grey-light);
  border: 1px solid var(--border);
}
.btn-dark:hover { color: var(--chrome-light); border-color: rgba(201, 203, 212,.5); transform: translateY(-2px); }

.btn-wa {
  background: linear-gradient(135deg, #2bb863, #128c4a);
  color: #fff; box-shadow: 0 6px 20px rgba(37, 211, 102, .25);
}
.btn-wa:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(37, 211, 102, .4); }
.btn-wa-big { padding: 16px 34px; font-size: 17px; width: 100%; max-width: 420px; }

/* ---------------------------------------------- Header */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(11, 11, 13, .72);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(201, 203, 212,.12);
  transition: background .3s, box-shadow .3s;
}
.site-header.scrolled { background: rgba(11, 11, 13, .92); box-shadow: 0 8px 30px rgba(0,0,0,.45); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }

.logo { display: flex; align-items: center; line-height: 1; user-select: none; }
.logo-img {
  height: 44px; width: auto; display: block;
  /* logo asset has a solid black background — screen blend makes black transparent on the dark theme */
  mix-blend-mode: screen;
}
.footer-logo .logo-img { height: 54px; }

.main-nav { display: none; gap: 28px; }
.main-nav a { color: var(--grey-light); font-size: 15px; font-weight: 500; position: relative; padding: 6px 0; transition: color .25s; }
.main-nav a::after {
  content: ''; position: absolute; bottom: 0; inset-inline-start: 0; width: 0; height: 2px;
  background: var(--chrome-grad); border-radius: 2px; transition: width .3s ease;
}
.main-nav a:hover { color: var(--chrome-light); }
.main-nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.lang-switch {
  display: flex; border: 1px solid var(--border); border-radius: 999px; overflow: hidden;
  background: var(--surface);
}
.lang-switch a { padding: 6px 13px; font-size: 13px; font-weight: 600; color: var(--grey); transition: all .25s; }
.lang-switch a.active { background: var(--chrome-grad); color: #141414; }
.header-wa { padding: 9px 18px; font-size: 14px; display: none; }

.nav-toggle {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px; padding: 10px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
}
.nav-toggle span { display: block; height: 2px; background: var(--chrome-light); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 99; opacity: 0; pointer-events: none; transition: opacity .3s; }
.nav-overlay.show { opacity: 1; pointer-events: auto; }

@media (max-width: 879px) {
  .main-nav {
    display: flex; flex-direction: column; gap: 6px;
    position: fixed; top: 68px; inset-inline-end: 0; z-index: 100;
    width: min(290px, 84vw); padding: 22px;
    background: rgba(16, 16, 19, .98); border-inline-start: 1px solid var(--border);
    border-bottom: 1px solid var(--border); border-end-start-radius: 18px;
    transform: translateX(110%); transition: transform .35s cubic-bezier(.22,.61,.36,1);
  }
  html[dir="rtl"] .main-nav { transform: translateX(-110%); }
  .main-nav.open, html[dir="rtl"] .main-nav.open { transform: translateX(0); }
  .main-nav a { padding: 12px 10px; border-radius: 10px; font-size: 16px; }
  .main-nav a:hover { background: var(--surface-2); }
  .main-nav a::after { display: none; }
}
@media (min-width: 880px) {
  .main-nav { display: flex; }
  .nav-toggle { display: none; }
  .header-wa { display: inline-flex; }
}

/* ---------------------------------------------- Hero */
.hero {
  position: relative; min-height: 88svh;
  display: flex; align-items: center;
  padding: 130px 0 90px; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
/* Mobile-only chrome "Z" backdrop */
@media (max-width: 879px) {
  .hero { background: url('../img/bg-z.jpg') center / cover no-repeat var(--bg); }
  .hero::before {
    content: ''; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(180deg, rgba(11,11,13,.78) 0%, rgba(11,11,13,.5) 45%, var(--bg) 97%);
  }
  .hero-bg { z-index: 1; }
  .hero-fade { z-index: 1; }
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(110px); opacity: .5; }
.hero-glow-1 {
  width: 540px; height: 540px; top: -160px; inset-inline-end: -120px;
  background: radial-gradient(circle, rgba(201,203,212,.4), transparent 65%);
  animation: floatGlow 9s ease-in-out infinite alternate;
}
.hero-glow-2 {
  width: 440px; height: 440px; bottom: -180px; inset-inline-start: -120px;
  background: radial-gradient(circle, rgba(120,120,135,.32), transparent 65%);
  animation: floatGlow 11s ease-in-out infinite alternate-reverse;
}
@keyframes floatGlow { from { transform: translateY(0) scale(1); } to { transform: translateY(40px) scale(1.12); } }
.hero-lines {
  position: absolute; inset: 0; opacity: .35;
  background-image:
    linear-gradient(rgba(201,203,212,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,203,212,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}
.hero-inner { position: relative; z-index: 2; text-align: center; max-width: 820px; }
.hero-kicker {
  display: inline-block; font-size: 13px; letter-spacing: 4px; text-transform: uppercase;
  color: var(--chrome-light); border: 1px solid rgba(201,203,212,.4);
  padding: 8px 20px; border-radius: 999px; margin-bottom: 26px;
  background: rgba(201,203,212,.07);
}
.hero-title {
  font-size: clamp(40px, 9vw, 76px); font-weight: 800; line-height: 1.06;
  letter-spacing: -1px; margin-bottom: 20px;
  background: linear-gradient(180deg, #ffffff 30%, #b9b9c2 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { font-size: clamp(16px, 2.6vw, 20px); color: var(--grey); max-width: 560px; margin: 0 auto 36px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-fade { position: absolute; bottom: 0; left: 0; right: 0; height: 140px; background: linear-gradient(transparent, var(--bg)); }

/* Social buttons (TikTok / Instagram / Email) */
.hero-social { display: flex; gap: 14px; justify-content: center; margin-top: 30px; }
.social-btn {
  width: 52px; height: 52px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface); border: 1px solid var(--border); color: var(--chrome-light);
  transition: transform .25s ease, border-color .25s, box-shadow .25s, color .25s;
}
.social-btn:hover {
  border-color: var(--chrome); color: #fff; transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(0,0,0,.5), 0 0 0 1px rgba(201,203,212,.2);
}
.social-btn svg { width: 22px; height: 22px; }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social .social-btn { width: 44px; height: 44px; }
.footer-social .social-btn svg { width: 19px; height: 19px; }

/* ---------------------------------------------- Banners */
.banners-section { padding: 10px 0 30px; }
.banner-slider { position: relative; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.banner-track { display: flex; transition: transform .55s cubic-bezier(.22,.61,.36,1); }
.banner-slide {
  min-width: 100%; min-height: 220px; position: relative;
  display: flex; align-items: center;
  background: linear-gradient(115deg, #141418 0%, #1b1b21 55%, #26262e 100%);
  border: 1px solid rgba(201,203,212,.22); border-radius: var(--radius);
  overflow: hidden;
}
.banner-slide::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 85% 20%, rgba(201,203,212,.22), transparent 55%);
}
.banner-slide.has-image { background-size: cover; background-position: center; }
.banner-slide.has-image::before { background: linear-gradient(100deg, rgba(8,8,10,.88) 25%, rgba(8,8,10,.45) 70%, rgba(8,8,10,.2)); }
.banner-content { position: relative; z-index: 2; padding: 34px 30px; max-width: 560px; }
.banner-content h3 {
  font-size: clamp(21px, 4.4vw, 30px); font-weight: 700; line-height: 1.2; margin-bottom: 10px;
  background: var(--chrome-grad); background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: chromeShift 7s linear infinite;
}
.banner-content p { color: var(--grey-light); font-size: 15px; margin-bottom: 16px; }
.banner-cta { color: var(--chrome-light); font-weight: 600; font-size: 15px; transition: opacity .25s; }
.banner-cta:hover { opacity: .8; }
.banner-dots { position: absolute; bottom: 14px; inset-inline-end: 20px; display: flex; gap: 8px; z-index: 3; }
.banner-dot {
  position: relative; width: 9px; height: 9px; border-radius: 50%; border: none;
  background: rgba(255,255,255,.3); transition: all .3s;
}
/* expanded touch target without changing the visual size */
.banner-dot::after { content: ''; position: absolute; inset: -14px; }
.banner-dot.active { background: var(--chrome); width: 26px; border-radius: 6px; }

/* ---------------------------------------------- Sections */
.section-head { text-align: center; margin-bottom: 36px; }
.section-title {
  font-size: clamp(28px, 5.4vw, 42px); font-weight: 800; letter-spacing: -.5px;
  margin-bottom: 10px; position: relative; display: inline-block;
}
.section-title::after {
  content: ''; display: block; width: 56px; height: 3px; border-radius: 3px;
  background: var(--chrome-grad); margin: 14px auto 0;
}
.section-sub { color: var(--grey); font-size: 16px; }

/* ---------------------------------------------- Filters */
.fleet-section { padding: 50px 0 80px; }
.filters {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px; margin-bottom: 34px;
}
.filter-chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 12px; scrollbar-width: none; }
.filter-chips::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto; padding: 9px 20px; border-radius: 999px;
  background: var(--surface-2); color: var(--grey-light);
  border: 1px solid var(--border); font-size: 14px; font-weight: 600;
  transition: all .3s ease;
}
.chip:hover { border-color: rgba(201,203,212,.5); color: var(--chrome-light); }
.chip.active {
  background: var(--chrome-grad); background-size: 200% auto; color: #141414;
  border-color: transparent; box-shadow: 0 4px 16px rgba(201,203,212,.3);
}
.filter-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; border-top: 1px solid var(--border); padding-top: 14px; }
.filter-group { display: flex; flex-direction: column; gap: 6px; flex: 1 1 130px; min-width: 120px; }
.filter-group label { font-size: 12px; color: var(--grey); letter-spacing: .5px; font-weight: 600; text-transform: uppercase; }
.filter-group select, .price-inputs input {
  background: var(--bg-2); color: var(--white);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 10px 12px; font-size: 14px; outline: none; transition: border-color .25s;
  width: 100%;
}
.filter-group select:focus, .price-inputs input:focus { border-color: var(--chrome); box-shadow: 0 0 0 2px rgba(201,203,212,.18); }
.price-inputs { display: flex; align-items: center; gap: 8px; }
.price-inputs span { color: var(--grey); }
.price-inputs input { width: 50%; -moz-appearance: textfield; }
.price-inputs input::-webkit-outer-spin-button, .price-inputs input::-webkit-inner-spin-button { -webkit-appearance: none; }

.filter-toggle { justify-content: flex-end; }
.switch { display: flex; align-items: center; gap: 10px; cursor: pointer; padding: 8px 0; }
.switch input { display: none; }
.switch .slider {
  width: 44px; height: 24px; border-radius: 999px; background: var(--surface-2);
  border: 1px solid var(--border); position: relative; transition: background .3s; flex: 0 0 auto;
}
.switch .slider::after {
  content: ''; position: absolute; top: 2px; inset-inline-start: 3px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--grey); transition: transform .3s, background .3s;
}
.switch input:checked + .slider { background: rgba(201,203,212,.35); border-color: var(--chrome); }
.switch input:checked + .slider::after { transform: translateX(19px); background: var(--chrome); }
html[dir="rtl"] .switch input:checked + .slider::after { transform: translateX(-19px); }
.switch-label { font-size: 14px; color: var(--grey-light); font-weight: 500; }
.filter-clear {
  background: none; border: none; color: var(--grey); font-size: 13px;
  text-decoration: underline; padding: 10px 4px; transition: color .25s; flex: 0 0 auto;
}
.filter-clear:hover { color: var(--chrome-light); }

/* ---------------------------------------------- Car cards */
.cars-grid {
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fill, minmax(265px, 1fr));
}
.car-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s, opacity .3s;
  display: flex; flex-direction: column;
}
.car-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201,203,212,.45);
  box-shadow: 0 18px 44px rgba(0,0,0,.5), 0 0 0 1px rgba(201,203,212,.18);
}
.car-card.filtered-out { display: none; }

.car-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #0e0e11; }
.car-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  transition: transform .6s cubic-bezier(.22,.61,.36,1);
}
.car-card:hover .car-media img { transform: scale(1.06); }
.car-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(transparent 55%, rgba(10,10,12,.55));
}

.badge {
  position: absolute; top: 12px; left: 12px; right: auto; z-index: 2;
  font-size: 12.5px; font-weight: 800; letter-spacing: .6px;
  padding: 7px 14px; border-radius: 999px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 16px rgba(0,0,0,.4);
}
.badge::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-inline-end: 7px; background: currentColor; box-shadow: 0 0 8px currentColor; vertical-align: 1px; }
.badge-avail { background: rgba(14, 159, 82, .55); color: #ffffff; border: 1px solid rgba(23, 201, 106, .65); }
.badge-avail::before { color: #7dffb5; }
.badge-rented { background: rgba(194, 40, 35, .55); color: #ffffff; border: 1px solid rgba(240, 85, 79, .65); }
.badge-rented::before { color: #ffb3af; }

.car-cat-tag {
  position: absolute; bottom: 12px; inset-inline-start: 12px; z-index: 2;
  font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
  color: var(--chrome-light); background: rgba(10,10,12,.6);
  border: 1px solid rgba(201,203,212,.4); padding: 5px 12px; border-radius: 999px;
  backdrop-filter: blur(6px);
}

.car-body { padding: 18px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.car-name { font-size: 19px; font-weight: 700; }
.car-name a { transition: color .25s; }
.car-name a:hover { color: var(--chrome-light); }
.car-specs { display: flex; flex-wrap: wrap; gap: 7px; }
.car-specs span {
  font-size: 12px; color: var(--grey); background: var(--surface-2);
  border: 1px solid var(--border); padding: 4px 11px; border-radius: 999px;
}
.car-price-row { display: flex; align-items: baseline; gap: 18px; margin-top: auto; }
.car-price strong {
  font-size: 21px; font-weight: 800;
  background: var(--chrome-grad); background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.car-price span { font-size: 12.5px; color: var(--grey); margin-inline-start: 3px; }
.car-price-weekly strong { font-size: 16px; }
.car-actions { display: flex; gap: 10px; }
.car-actions .btn { flex: 1; padding: 11px 10px; font-size: 14px; }
.no-results { text-align: center; color: var(--grey); padding: 50px 0; font-size: 17px; }

/* ---------------------------------------------- Trust */
.trust-section { padding: 70px 0; background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.trust-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px 18px; text-align: center;
  transition: transform .3s ease, border-color .3s;
}
.trust-card:hover { transform: translateY(-5px); border-color: rgba(201,203,212,.4); }
.trust-icon {
  width: 56px; height: 56px; margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 16px; color: var(--chrome);
  background: rgba(201,203,212,.1); border: 1px solid rgba(201,203,212,.3);
}
.trust-card h3 { font-size: 15.5px; font-weight: 700; margin-bottom: 6px; }
.trust-card p { font-size: 13px; color: var(--grey); line-height: 1.5; }
.trust-img {
  width: 64px; height: 64px; margin: 0 auto 14px; display: block;
  border-radius: 16px; object-fit: cover; border: 1px solid var(--border);
}

/* ---------------------------------------------- FAQ */
.faq-section { padding: 70px 0; }
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); transition: border-color .25s;
}
.faq-item[open] { border-color: rgba(201,203,212,.45); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 17px 20px; font-weight: 600; font-size: 15.5px; min-height: 44px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon {
  flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--border); color: var(--chrome);
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform .25s ease, border-color .25s;
}
.faq-item[open] .faq-icon { transform: rotate(45deg); border-color: var(--chrome); }
.faq-answer { padding: 0 20px 18px; color: var(--grey-light); font-size: 14.5px; line-height: 1.7; }
.faq-cta { text-align: center; margin-top: 30px; }
.faq-page-section { padding: 46px 0 80px; }
.faq-page-section .faq-list { margin: 0 auto 40px; }

/* ---------------------------------------------- Detail page */
.detail-page { padding: 100px 0 60px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13.5px; color: var(--grey); margin-bottom: 24px; }
.breadcrumb a { color: var(--grey); transition: color .25s; }
.breadcrumb a:hover { color: var(--chrome-light); }
.bc-current { color: var(--grey-light); }

.detail-grid { display: grid; gap: 34px; grid-template-columns: 1fr; }
@media (min-width: 920px) { .detail-grid { grid-template-columns: minmax(0, 46%) minmax(0, 1fr); align-items: start; } }

.detail-gallery { position: sticky; top: 88px; }
@media (max-width: 919px) { .detail-gallery { position: static; } }
.gallery-main {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); background: #0e0e11; box-shadow: var(--shadow);
}
/* Swipeable gallery (scroll-snap, no buttons) */
.gallery-swiper {
  display: flex; overflow-x: auto;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  scrollbar-width: none; overscroll-behavior-x: contain;
}
.gallery-swiper::-webkit-scrollbar { display: none; }
.gallery-slide { flex: 0 0 100%; scroll-snap-align: center; scroll-snap-stop: always; }
.gallery-slide img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; display: block; }
@media (max-width: 919px) { .gallery-slide img { aspect-ratio: 4 / 3.4; } }
.gallery-dots {
  position: absolute; bottom: 12px; left: 0; right: 0; z-index: 2;
  display: flex; justify-content: center; gap: 8px;
}
.gallery-dot {
  position: relative; width: 8px; height: 8px; border-radius: 50%; border: none;
  background: rgba(255,255,255,.35); transition: all .3s; padding: 0;
}
.gallery-dot::after { content: ''; position: absolute; inset: -13px; }
.gallery-dot.active { background: var(--chrome-light); width: 22px; border-radius: 5px; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.gallery-thumbs::-webkit-scrollbar { display: none; }
.gallery-thumb {
  flex: 0 0 76px; height: 76px; border-radius: var(--radius-sm); overflow: hidden;
  border: 2px solid var(--border); background: none; padding: 0;
  transition: border-color .25s, opacity .25s; opacity: .65;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb.active, .gallery-thumb:hover { border-color: var(--chrome); opacity: 1; }

.detail-cat { font-size: 12.5px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--chrome-light); margin-bottom: 8px; }
.detail-title { font-size: clamp(30px, 6vw, 44px); font-weight: 800; letter-spacing: -.5px; margin-bottom: 22px; }

.detail-prices { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 22px; }
.price-box {
  background: var(--surface); border: 1px solid rgba(201,203,212,.35);
  border-radius: var(--radius); padding: 16px 22px; min-width: 150px;
  display: flex; flex-direction: column; gap: 2px; position: relative; overflow: hidden;
}
.price-box::before {
  content: ''; position: absolute; top: 0; inset-inline-start: 0; right: 0;
  height: 2px; background: var(--chrome-grad); width: 100%;
}
.price-label { font-size: 11.5px; color: var(--grey); letter-spacing: 1px; text-transform: uppercase; }
.price-value {
  font-size: 27px; font-weight: 800;
  background: var(--chrome-grad); background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.price-request { font-size: 19px; }
.price-unit { font-size: 12.5px; color: var(--grey); }

.spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 26px 0; }
@media (min-width: 560px) { .spec-grid { grid-template-columns: repeat(3, 1fr); } }
.spec-item {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 13px 15px; display: flex; flex-direction: column; gap: 3px;
}
.spec-label { font-size: 11px; color: var(--grey); letter-spacing: 1px; text-transform: uppercase; }
.spec-value { font-size: 15.5px; font-weight: 600; }
.text-avail { color: #4be084; }
.text-rented { color: #f08782; }

.detail-block { margin-bottom: 28px; }
.detail-block h2 {
  font-size: 20px; font-weight: 700; margin-bottom: 12px;
  display: flex; align-items: center; gap: 10px;
}
.detail-block h2::before { content: ''; width: 4px; height: 20px; border-radius: 3px; background: var(--chrome-grad); }
.detail-desc { color: var(--grey-light); font-size: 15.5px; }

.feature-list, .terms-list { list-style: none; display: grid; gap: 9px; }
@media (min-width: 560px) { .feature-list { grid-template-columns: repeat(2, 1fr); } }
.feature-list li, .terms-list li {
  position: relative; padding-inline-start: 26px; color: var(--grey-light); font-size: 14.5px;
}
.feature-list li::before {
  content: '✦'; position: absolute; inset-inline-start: 4px; color: var(--chrome); font-size: 12px; top: 2px;
}
.terms-list li::before {
  content: ''; position: absolute; inset-inline-start: 6px; top: 9px;
  width: 7px; height: 7px; border-radius: 2px; background: var(--chrome); transform: rotate(45deg);
}
.back-link { display: inline-block; color: var(--grey); margin-top: 4px; font-size: 14.5px; transition: color .25s; }
.back-link:hover { color: var(--chrome-light); }

.similar-section { margin-top: 64px; }
.similar-section .section-title { display: block; text-align: center; margin-bottom: 30px; }
.cars-grid-similar { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

/* On mobile the sticky bottom bar is the single WhatsApp CTA — hide the big inline one */
@media (max-width: 919px) { .detail-page .btn-wa-big { display: none; } }

/* Mobile sticky WA bar on detail page */
.mobile-wa-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 12px 18px calc(12px + env(safe-area-inset-bottom));
  background: rgba(14, 14, 17, .94); backdrop-filter: blur(14px);
  border-top: 1px solid rgba(201,203,212,.25);
}
.mwa-price strong {
  font-size: 20px; font-weight: 800;
  background: var(--chrome-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.mwa-price span { font-size: 12px; color: var(--grey); margin-inline-start: 4px; }
.mobile-wa-bar .btn { padding: 12px 20px; font-size: 14.5px; }
@media (min-width: 920px) { .mobile-wa-bar { display: none; } }
@media (max-width: 919px) { .detail-page { padding-bottom: 110px; } }

/* ---------------------------------------------- SEO pages */
.seo-page { padding-top: 68px; }
.seo-hero {
  padding: 64px 0 44px; position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse at 80% 0%, rgba(201,203,212,.14), transparent 55%),
    var(--bg-2);
  border-bottom: 1px solid var(--border);
}
.seo-title { font-size: clamp(30px, 6.4vw, 50px); font-weight: 800; letter-spacing: -.5px; }
.seo-content-section { padding: 46px 0 80px; }
.seo-content { max-width: 760px; }
.seo-content p { color: var(--grey-light); font-size: 16.5px; margin-bottom: 18px; line-height: 1.75; }
.seo-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 50px; }
.seo-cta .btn-wa-big { width: auto; }
.seo-cars { margin-top: 10px; }

/* ---------------------------------------------- Footer */
.site-footer { background: #08080a; border-top: 1px solid var(--border); padding: 56px 0 26px; margin-top: 30px; }
.footer-grid { display: grid; gap: 36px; grid-template-columns: 1fr; margin-bottom: 36px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.footer-logo { margin-bottom: 14px; }
.footer-brand p { color: var(--grey); font-size: 14px; max-width: 320px; }
.footer-col h4 {
  font-size: 13px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--chrome-light); margin-bottom: 16px; font-weight: 700;
}
.footer-links, .footer-contact { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-links a, .footer-contact a, .footer-contact li { color: var(--grey); font-size: 14px; transition: color .25s; }
.footer-links a:hover, .footer-contact a:hover { color: var(--chrome-light); }
.footer-contact a { display: inline-flex; align-items: center; gap: 8px; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--border); padding-top: 20px;
  color: var(--grey); font-size: 13px;
}
.admin-dot { color: #3a3a42; font-size: 20px; padding: 0 10px; transition: color .3s; }
.admin-dot:hover { color: var(--chrome); }

/* ---------------------------------------------- Floating WhatsApp */
.wa-float {
  position: fixed; bottom: 22px; inset-inline-end: 22px; z-index: 95;
  display: flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, #2bb863, #128c4a); color: #fff;
  padding: 13px 16px; border-radius: 999px;
  box-shadow: 0 10px 30px rgba(18, 140, 74, .45);
  transition: transform .3s ease, box-shadow .3s;
  animation: waPulse 2.6s ease-in-out infinite;
}
.wa-float:hover { transform: scale(1.07); box-shadow: 0 14px 38px rgba(18, 140, 74, .6); }
.wa-float-label { font-size: 14px; font-weight: 600; display: none; }
@media (min-width: 760px) { .wa-float-label { display: inline; } .wa-float { padding: 13px 22px; } }
@keyframes waPulse {
  0%, 100% { box-shadow: 0 10px 30px rgba(18,140,74,.45), 0 0 0 0 rgba(37,211,102,.35); }
  50% { box-shadow: 0 10px 30px rgba(18,140,74,.45), 0 0 0 14px rgba(37,211,102,0); }
}
/* hide floating button when sticky bar is visible on mobile detail page */
@media (max-width: 919px) { .detail-page ~ .wa-float, body:has(.mobile-wa-bar) .wa-float { bottom: 92px; } }

/* ---------------------------------------------- Intro video overlay */
.intro-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: #000;
  opacity: 1;
  transition: opacity .7s ease;
}
/* Intro video is mobile-only */
@media (min-width: 880px) { .intro-overlay { display: none; } }
.intro-overlay video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.intro-overlay.intro-hide { opacity: 0; pointer-events: none; }
html.intro-lock, html.intro-lock body { overflow: hidden; height: 100%; }

.intro-vignette {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse at center, transparent 55%, rgba(0, 0, 0, .35) 100%),
    linear-gradient(transparent 70%, rgba(0, 0, 0, .55));
}

/* "انطلق الآن" butonu — video durunca belirir */
.intro-cta {
  position: absolute; left: 50%; bottom: max(16%, calc(70px + env(safe-area-inset-bottom)));
  transform: translateX(-50%) translateY(16px);
  opacity: 0; pointer-events: none;
  direction: rtl;
  font-family: 'Tajawal', 'Outfit', system-ui, sans-serif;
  font-size: clamp(18px, 4.5vw, 23px); font-weight: 700; letter-spacing: .5px;
  color: #141414;
  background: linear-gradient(120deg, #7e818c 0%, #c9cbd4 35%, #ffffff 50%, #c9cbd4 65%, #7e818c 100%);
  background-size: 200% auto;
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: 999px;
  padding: 15px 46px;
  cursor: pointer;
  box-shadow: 0 8px 34px rgba(201, 203, 212,.45), 0 2px 10px rgba(0, 0, 0, .5);
  transition: opacity .55s ease, transform .55s cubic-bezier(.22, .61, .36, 1), box-shadow .3s;
}
.intro-overlay.show-cta .intro-cta {
  opacity: 1; pointer-events: auto;
  transform: translateX(-50%);
  animation: chromeShift 5s linear infinite, introCtaPulse 2.6s ease-in-out infinite;
}
.intro-cta:hover { box-shadow: 0 12px 44px rgba(201, 203, 212,.65), 0 2px 10px rgba(0, 0, 0, .5); }
.intro-cta:active { transform: translateX(-50%) scale(.96); }
@keyframes introCtaPulse {
  0%, 100% { box-shadow: 0 8px 34px rgba(201, 203, 212,.45), 0 0 0 0 rgba(201, 203, 212,.45); }
  50% { box-shadow: 0 8px 34px rgba(201, 203, 212,.45), 0 0 0 16px rgba(201, 203, 212,0); }
}

/* Atla butonu (köşede, göze batmayan) */
.intro-skip {
  position: absolute; top: calc(16px + env(safe-area-inset-top)); inset-inline-end: 16px;
  background: rgba(10, 10, 12, .45);
  color: rgba(245, 245, 247, .85);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 13px; font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: background .25s, color .25s;
}
.intro-skip:hover { background: rgba(201, 203, 212,.25); color: #ffffff; }

@media (prefers-reduced-motion: reduce) {
  .intro-overlay { transition: opacity .25s ease; }
  .intro-cta { transition: opacity .25s ease; transform: translateX(-50%); }
  .intro-overlay.show-cta .intro-cta { animation: none; }
}

/* ---------------------------------------------- Scrollbar (desktop) */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #2c2c33; border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--chrome-dark); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 2000; background: rgba(4,4,6,.98);
  display: none; align-items: center; justify-content: center;
  direction: ltr; /* arrows keep the same position and meaning in Arabic too */
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 94vw; max-height: 88vh; object-fit: contain; border-radius: 8px;
  box-shadow: 0 20px 80px rgba(0,0,0,.6);
}
.lightbox .lb-close, .lightbox .lb-prev, .lightbox .lb-next {
  position: absolute; z-index: 2; background: rgba(255,255,255,.08); color: #fff;
  border: 1px solid rgba(255,255,255,.15); border-radius: 999px; cursor: pointer;
  width: 46px; height: 46px; font-size: 26px; line-height: 1;
  display: flex; align-items: center; justify-content: center; transition: background .2s;
}
.lightbox .lb-close:hover, .lightbox .lb-prev:hover, .lightbox .lb-next:hover { background: rgba(255,255,255,.2); }
.lightbox .lb-close { top: 18px; inset-inline-end: 18px; }
.lightbox .lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-counter {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.75); font-size: 13.5px; letter-spacing: 1px;
}

/* ---------- Developer credit ---------- */
.dev-credit { font-size: 11px; color: rgba(154, 154, 163, .55); letter-spacing: .3px; }
.dev-credit a { color: rgba(201, 203, 212, .65); text-decoration: none; transition: color .2s; }
.dev-credit a:hover { color: var(--chrome-light, #edeef2); }
.footer-bottom { flex-wrap: wrap; gap: 6px; }

/* ---------- Discounts ---------- */
.price-old {
  color: var(--grey, #9a9aa3); opacity: .75; font-size: .82em;
  text-decoration: line-through; margin-inline-end: 7px; font-weight: 500;
}
.discount-tag {
  position: absolute; top: 12px; right: 12px; left: auto; z-index: 2;
  background: linear-gradient(120deg, #e0524d, #c22823); color: #fff;
  font-size: 12.5px; font-weight: 800; letter-spacing: .5px;
  padding: 7px 12px; border-radius: 999px;
  box-shadow: 0 4px 14px rgba(194, 40, 35, .45);
}
.discount-tag-inline {
  position: static; display: inline-block; font-size: 10.5px; padding: 3px 8px;
  vertical-align: 2px; margin-inline-start: 6px; box-shadow: none;
}
.mwa-price .price-old { display: inline; }

/* ---------- Discount badge on the card corner (weekly-only discount) ---------- */
.car-card { position: relative; overflow: visible; }
.car-media { border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0; }
.discount-tag-corner {
  position: absolute; top: -13px; right: 14px; left: auto;
  font-size: 13px; padding: 7px 14px;
  transform: rotate(3deg);
}
