/* ================================================
   ELANSARY AUTO — Location de Voitures
   Warm Sand & Limestone Editorial Theme
   Rich, textured, and comfortable contrast without harsh white glare
   ================================================ */

/* ---------- Design Tokens ---------- */
:root {
  --bg: #f4f1ea;          /* Warm limestone sand base */
  --bg-2: #ece7dc;        /* Soft desert clay tint */
  --bg-3: #e2dbce;        /* Deeper warm stone section */
  --bg-card: #fcfbf8;     /* Warm ivory / chalk card */
  --input-bg: #ffffff;
  color-scheme: light;
  
  --accent: #b85422;      /* Rich Moroccan terracotta */
  --accent-h: #9a4014;    /* Deep warm burnt amber */
  --accent-soft: rgba(184, 84, 34, 0.1);
  
  --text-primary: #1c1917;   /* Deep warm charcoal/espresso */
  --text-secondary: #44403c; /* Warm charcoal body text */
  --text-muted: #78716c;     /* Warm stone muted caption */
  
  --white: #1c1917;          /* Backwards-compat token */
  --gray-1: #44403c;
  --gray-2: #78716c;
  --gray-3: #d6cebf;
  
  --border: #ddd5c7;         /* Warm subtle stone border */
  --border-h: rgba(184, 84, 34, 0.4);
  
  --shadow-sm: 0 2px 10px rgba(41, 37, 36, 0.05);
  --shadow-md: 0 8px 24px rgba(41, 37, 36, 0.08);
  --shadow-lg: 0 16px 36px rgba(41, 37, 36, 0.12);

  --font-h: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-b: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-ar-h: 'Noto Kufi Arabic', Tahoma, Arial, sans-serif;
  --font-ar-b: 'Noto Sans Arabic', Tahoma, Arial, sans-serif;

  --fs-display: clamp(2.8rem, 6.5vw, 5.5rem);
  --fs-h1: clamp(2rem, 3.8vw, 3.4rem);
  --fs-h2: clamp(1.5rem, 2.6vw, 2.4rem);
  --fs-h3: clamp(1.1rem, 1.2vw, 1.35rem);
  --fs-body: clamp(0.92rem, 0.4vw + 0.8rem, 1.02rem);
  --fs-sm: 0.85rem;
  --fs-xs: 0.75rem;

  --pad-section: clamp(4.5rem, 8vw, 7.5rem);
  --pad-x: clamp(1.5rem, 4vw, 4rem);
  --max-w: 1280px;
  --header-h: 4.5rem;

  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.4s;

  --radius: 8px;
  --radius-lg: 14px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-b);
  font-size: var(--fs-body);
  color: var(--text-primary);
  background-color: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
h1, h2, h3, h4, h5 { font-family: var(--font-h); font-weight: 700; line-height: 1.15; color: var(--text-primary); }
p { color: var(--text-secondary); }

/* ---------- Scroll Reveal Animations ---------- */
.rv {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}
.rv.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.rv-d1 { transition-delay: .06s; }
.rv-d2 { transition-delay: .12s; }
.rv-d3 { transition-delay: .18s; }
.rv-d4 { transition-delay: .24s; }
.rv-d5 { transition-delay: .30s; }
.rv-d6 { transition-delay: .36s; }

/* ---------- Layout & Utilities ---------- */
.wrap {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-inline: var(--pad-x);
}

.section {
  padding: var(--pad-section) 0;
  position: relative;
}

.label {
  font-family: var(--font-h);
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--accent);
  margin-bottom: .6rem;
  display: inline-block;
}

.heading-lg { font-size: var(--fs-h1); letter-spacing: -.02em; }
.heading-md { font-size: var(--fs-h2); letter-spacing: -.02em; }
.heading-sm { font-size: var(--fs-h3); }

em { font-style: normal; color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-h);
  font-size: var(--fs-sm);
  font-weight: 600;
  padding: .8rem 1.6rem;
  border-radius: var(--radius);
  transition: all .25s var(--ease);
  white-space: nowrap;
}

.btn--fill {
  background: var(--accent);
  color: #ffffff;
  border: 1px solid var(--accent);
  box-shadow: 0 4px 14px rgba(184, 84, 34, 0.25);
}
.btn--fill:hover {
  background: var(--accent-h);
  border-color: var(--accent-h);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(184, 84, 34, 0.35);
  color: #ffffff;
}

.btn--outline {
  border: 1.5px solid var(--border);
  color: var(--text-primary);
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
}
.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
  background: #ffffff;
}

.btn--text {
  padding: 0;
  color: var(--accent);
  font-weight: 700;
}
.btn--text:hover { color: var(--accent-h); }
.btn--text .arrow { transition: transform .2s; }
.btn--text:hover .arrow { transform: translateX(4px); }

.btn--whatsapp {
  background: #25D366;
  color: #ffffff;
  border: 1px solid #20bd5a;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
  font-weight: 700;
}
.btn--whatsapp:hover {
  background: #20bd5a;
  border-color: #1da850;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.4);
  color: #ffffff;
}

.btn--full { width: 100%; justify-content: center; }
.btn--sm { padding: .55rem 1rem; font-size: var(--fs-xs); }
.btn--lg { padding: .95rem 2rem; font-size: var(--fs-body); }

.arrow { width: 16px; height: 16px; flex-shrink: 0; }

/* ---------- Header & Navigation ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 100;
  background: rgba(244, 241, 234, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background .3s, box-shadow .3s;
}
.header.is-scrolled, .header.scrolled {
  background: rgba(244, 241, 234, 0.98);
  box-shadow: 0 4px 20px rgba(41, 37, 36, 0.08);
}
.header__inner {
  max-width: var(--max-w);
  height: 100%;
  margin: 0 auto;
  padding-inline: var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  width: 174px;
  height: 58px;
  overflow: hidden;
  flex-shrink: 0;
}
.logo__image {
  display: block;
  width: 96%;
  height: auto;
  margin-inline: auto;
  max-width: none;
  object-fit: contain;
  transform: translateY(3px);
}

/* Use the correct logo treatment for each header surface. */
.header .logo {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

:root[data-theme="light"] .header:not(.header--hero) .logo__image,
:root[data-theme="light"] .header.header--hero.is-scrolled .logo__image,
:root[data-theme="light"] .header.header--hero.scrolled .logo__image {
  content: url('../assets/elansary-auto-logo-light.png?v=5');
}

.nav__links {
  display: flex;
  gap: 2rem;
}
.nav__link {
  font-family: var(--font-h);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-secondary);
  transition: color .2s;
  position: relative;
}
.nav__link:hover { color: var(--accent); }
.nav__link.active {
  color: var(--text-primary);
  font-weight: 800;
}
.nav__link.active::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.language-switcher {
  position: relative;
  display: inline-flex;
  direction: ltr;
}
.language-switcher__trigger {
  min-width: 78px;
  height: 42px;
  padding: 0 .65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .42rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: color-mix(in srgb, var(--bg-card) 94%, transparent);
  color: var(--text-primary);
  box-shadow: 0 5px 18px rgba(30, 25, 21, .07);
  font-family: var(--font-h);
  font-size: .74rem;
  font-weight: 800;
  cursor: pointer;
  transition: border-color .2s, background .2s, box-shadow .2s, transform .2s;
}
.language-switcher__trigger:hover,
.language-switcher.is-open .language-switcher__trigger {
  border-color: color-mix(in srgb, var(--accent) 52%, var(--border));
  background: var(--bg-card);
  box-shadow: 0 8px 24px rgba(30, 25, 21, .12);
}
.language-switcher__trigger:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.language-switcher__globe,
.language-switcher__globe svg {
  width: 16px;
  height: 16px;
  display: block;
}
.language-switcher__globe svg,
.language-switcher__chevron {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.language-switcher__chevron {
  width: 14px;
  height: 14px;
  transition: transform .25s var(--ease);
}
.language-switcher.is-open .language-switcher__chevron { transform: rotate(180deg); }
.language-switcher__menu {
  position: absolute;
  top: calc(100% + .65rem);
  right: 0;
  z-index: 120;
  width: 188px;
  padding: .45rem;
  display: grid;
  gap: .22rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: color-mix(in srgb, var(--bg-card) 97%, transparent);
  color: var(--text-primary);
  box-shadow: 0 18px 48px rgba(25, 20, 17, .18);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px) scale(.97);
  transform-origin: top right;
  transition: opacity .2s, visibility .2s, transform .25s var(--ease-out);
}
.language-switcher.is-open .language-switcher__menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
.language-switcher__menu button {
  width: 100%;
  min-height: 42px;
  padding: .55rem .65rem;
  display: grid;
  grid-template-columns: 32px 1fr 18px;
  align-items: center;
  gap: .55rem;
  border-radius: 9px;
  color: var(--text-secondary);
  text-align: left;
  transition: background .18s, color .18s;
}
.language-switcher__menu button:hover,
.language-switcher__menu button:focus-visible {
  background: var(--accent-soft);
  color: var(--text-primary);
  outline: none;
}
.language-switcher__menu button > span {
  color: var(--accent);
  font-family: var(--font-h);
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .06em;
}
.language-switcher__menu button > strong {
  font-size: .82rem;
  font-weight: 700;
}
.language-switcher__menu button > i {
  color: var(--accent);
  font-style: normal;
  font-weight: 900;
  opacity: 0;
}
.language-switcher__menu button.is-selected {
  background: var(--accent-soft);
  color: var(--text-primary);
}
.language-switcher__menu button.is-selected > i { opacity: 1; }
:root[data-theme="dark"] .language-switcher__trigger {
  box-shadow: 0 5px 22px rgba(0, 0, 0, .22);
}
:root[data-theme="dark"] .language-switcher__menu {
  box-shadow: 0 20px 54px rgba(0, 0, 0, .42);
}
.language-switcher--mobile {
  width: 100%;
  padding-top: .35rem;
}

/* Language and theme are already available in the mobile header. */
.mob-nav .language-switcher--mobile,
.mob-nav .mob-nav__theme {
  display: none !important;
}
.language-switcher--mobile .language-switcher__trigger {
  width: 100%;
  justify-content: space-between;
  padding-inline: .85rem;
}
.language-switcher--mobile .language-switcher__menu {
  position: static;
  width: 100%;
  max-height: 0;
  margin-top: 0;
  padding-block: 0;
  border-width: 0;
  overflow: hidden;
  transform: none;
  box-shadow: none;
  transition: max-height .3s var(--ease-out), margin-top .3s, padding .3s, opacity .2s;
}
.language-switcher--mobile.is-open .language-switcher__menu {
  max-height: 180px;
  margin-top: .5rem;
  padding: .45rem;
  border-width: 1px;
}

html[dir="rtl"] body {
  direction: rtl;
  font-family: var(--font-ar-b);
  text-align: right;
  line-height: 1.85;
}
html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4,
html[dir="rtl"] h5,
html[dir="rtl"] .nav__link,
html[dir="rtl"] .btn,
html[dir="rtl"] .label {
  font-family: var(--font-ar-h);
}
html[dir="rtl"] p,
html[dir="rtl"] input,
html[dir="rtl"] select,
html[dir="rtl"] textarea,
html[dir="rtl"] .mob-nav,
html[dir="rtl"] .footer-showcase {
  font-family: var(--font-ar-b);
}
html[dir="rtl"] .faq-question,
html[dir="rtl"] input,
html[dir="rtl"] select,
html[dir="rtl"] textarea {
  text-align: right;
}
html[dir="rtl"] .hours-time,
html[dir="rtl"] [href^="tel:"],
html[dir="rtl"] .car-card__price,
html[dir="rtl"] .price-value,
html[dir="rtl"] .channel-val,
html[dir="rtl"] #carModelYear,
html[dir="rtl"] .rate-amount,
html[dir="rtl"] .addon-item__price,
html[dir="rtl"] .price-row strong,
html[dir="rtl"] .total-amount,
html[dir="rtl"] #modalRef,
html[dir="rtl"] #modalTotal {
  direction: ltr;
  unicode-bidi: isolate;
}
html[dir="rtl"] .channel-val,
html[dir="rtl"] #carModelYear {
  text-align: right;
}
html[dir="rtl"] input[type="tel"],
html[dir="rtl"] input[type="email"],
html[dir="rtl"] input[type="time"] {
  direction: ltr;
  unicode-bidi: isolate;
  text-align: right;
}
html[dir="rtl"] .hero-possessive { display: none; }
html[dir="rtl"] .hero__title {
  line-height: 1.32;
  letter-spacing: 0;
}
html[dir="rtl"] .hero-word-rotator {
  width: 10ch;
  min-width: 10ch;
  height: 1.3em;
  vertical-align: -.18em;
  text-align: right;
}
html[dir="rtl"] .hero-word {
  inset: 0 0 auto auto;
  width: 100%;
  padding-inline: .08em;
  text-align: right;
}
html[dir="rtl"] .hero__desc {
  max-width: min(580px, 100%);
  padding-inline-end: .1rem;
  overflow-wrap: anywhere;
}
html[dir="rtl"] .hero__scroll,
html[dir="rtl"] .section-head--center,
html[dir="rtl"] .stat-card,
html[dir="rtl"] .booking-modal__header {
  text-align: center;
}
html[dir="rtl"] .arrow,
html[dir="rtl"] .btn--back svg {
  transform: scaleX(-1);
}
html[dir="rtl"] .btn--text:hover .arrow {
  transform: scaleX(-1) translateX(4px);
}

.burger {
  display: none;
  width: 28px; height: 20px;
  position: relative;
  cursor: pointer;
}
.burger i {
  position: absolute;
  left: 0; width: 100%; height: 2px;
  background: var(--text-primary);
  transition: all .3s;
}
.burger i:nth-child(1) { top: 0; }
.burger i:nth-child(2) { top: 9px; }
.burger i:nth-child(3) { top: 18px; }

.mob-nav {
  display: none;
  position: fixed;
  top: var(--header-h); left: 0; right: 0;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  padding: 1.5rem var(--pad-x);
  flex-direction: column;
  gap: 1rem;
  z-index: 99;
}
.mob-nav.open { display: flex; }
.mob-nav a {
  font-family: var(--font-h);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  padding: .5rem 0;
  border-bottom: 1px solid var(--border);
}

/* ---------- Hero (Homepage) ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  height: 100vh;
  height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
  background: #1c1917;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__media video {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 1;
  filter: brightness(.9) contrast(1.04) saturate(1.04);
}
.hero__gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 14, 13, .8) 0%, rgba(15, 14, 13, .52) 38%, rgba(15, 14, 13, .12) 72%, rgba(15, 14, 13, .04) 100%),
    linear-gradient(180deg, rgba(15, 14, 13, .24) 0%, rgba(15, 14, 13, .08) 55%, rgba(15, 14, 13, .62) 100%);
  z-index: 1;
}
.hero__body {
  position: relative;
  z-index: 2;
  padding-top: 3rem;
  padding-bottom: 4rem;
}
.hero__title {
  font-size: var(--fs-display);
  color: #f5f2ea;
  letter-spacing: -.03em;
  margin-bottom: 1.2rem;
  text-shadow: 0 3px 24px rgba(0, 0, 0, .55);
}
.hero__title em { color: #ea580c; }
.hero-word-rotator {
  position: relative;
  display: inline-block;
  min-width: 8.4ch;
  height: 1.05em;
  overflow: hidden;
  vertical-align: -.08em;
  color: #ea580c;
}
.hero-word {
  position: absolute;
  inset: 0 auto auto 0;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(48%);
  animation: heroWordRotate 9s cubic-bezier(.22, 1, .36, 1) infinite;
  will-change: transform, opacity;
}
.hero-word--route { animation-delay: 0s; }
.hero-word--liberte { animation-delay: -6s; }
.hero-word--aventure { animation-delay: -3s; }

@keyframes heroWordRotate {
  0%, 26% {
    opacity: 1;
    transform: translateY(0);
  }
  33% {
    opacity: 0;
    transform: translateY(-48%);
  }
  34%, 92% {
    opacity: 0;
    transform: translateY(48%);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-word { animation: none; display: none; }
  .hero-word--route { display: inline; opacity: 1; transform: none; }
}
.hero__desc {
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  color: #e7e2d6;
  max-width: 580px;
  margin-bottom: 2rem;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .7);
}
.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero__scroll {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  color: #d6cebf;
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: .1em;
}


.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: var(--fs-xs);
  color: var(--text-muted);
}
.breadcrumb-nav a { color: var(--text-muted); transition: color .2s; }
.breadcrumb-nav a:hover { color: var(--accent); }
.breadcrumb-sep { opacity: .4; }
.breadcrumb-active { color: var(--accent); font-weight: 600; }

/* ---------- Featured & Fleet Grid ---------- */
.featured {
  background: var(--bg);
}
.featured__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2.5rem;
  gap: 1rem;
}
.featured__row, .fleet-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* ---------- Car Card Component ---------- */
.car-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all .3s var(--ease);
  cursor: pointer;
}
.car-card:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
.car-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-h);
  box-shadow: var(--shadow-lg);
  background: #ffffff;
}
.car-card__img {
  position: relative;
  background: var(--bg-2);
  aspect-ratio: 16/10;
  overflow: hidden;
}
.car-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.car-card:hover .car-card__img img {
  transform: scale(1.04);
}
.car-card__tag {
  position: absolute;
  top: 1rem; left: 1rem;
  background: var(--accent);
  color: #ffffff;
  font-family: var(--font-h);
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: .25rem .7rem;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.car-card__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.car-card__cat {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--accent);
  margin-bottom: .2rem;
}
.car-card__name {
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-bottom: .8rem;
}
.car-card__specs {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-bottom: 1.2rem;
}
.car-card__specs span {
  background: var(--bg-2);
  border: 1px solid var(--border);
  padding: .25rem .6rem;
  border-radius: 4px;
  font-size: .72rem;
  color: var(--text-secondary);
  font-weight: 600;
}
.car-card__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.car-card__price strong {
  font-family: var(--font-h);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--accent);
}
.car-card__price small {
  font-size: .75rem;
  color: var(--text-muted);
}

/* ---------- Fleet Filters ---------- */
.fleet-filters {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.fleet-filter {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  color: var(--text-secondary);
  font-family: var(--font-h);
  font-size: var(--fs-xs);
  font-weight: 600;
  padding: .5rem 1.2rem;
  border-radius: 100px;
  transition: all .2s;
}
.fleet-filter:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: #ffffff;
}
.fleet-filter.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

/* ---------- About Split (Why Us) ---------- */
.about-split {
  background: var(--bg-2);
}
.about-split__grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 4rem;
  align-items: center;
}
.about-split__visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.about-split__visual img {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* ---------- Stats Row ---------- */
.stats-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat__num {
  font-family: var(--font-h);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.stat__txt {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  margin-top: .4rem;
  font-weight: 600;
}

/* ---------- Values Grid ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: all .25s var(--ease);
}
.value-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-h);
  box-shadow: var(--shadow-md);
  background: #ffffff;
}
.value-card__num {
  font-family: var(--font-h);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
  opacity: .9;
  margin-bottom: .8rem;
}
.value-card h4 {
  font-size: 1.15rem;
  margin-bottom: .5rem;
}
.value-card p {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
}

/* ---------- Reviews ---------- */
.reviews {
  background: var(--bg-2);
}
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.2rem;
  transition: all .25s;
}
.review-card:hover {
  background: #ffffff;
  border-color: var(--border-h);
  box-shadow: var(--shadow-md);
}
.review-stars {
  color: #d97706;
  font-size: .95rem;
  letter-spacing: .15em;
}
.review-text {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.6;
}
.review-author strong {
  display: block;
  font-size: var(--fs-sm);
  color: var(--text-primary);
  font-family: var(--font-h);
}
.review-author small {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

/* ---------- CTA Section ---------- */
.cta {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.cta h2 { margin-bottom: .6rem; }
.cta p { max-width: 540px; margin: 0 auto 2rem; }

/* ---------- Footer (Deep Espresso Slate Anchor) ---------- */
.footer {
  background: #181615;
  color: #a8a29e;
  padding: 4.5rem 0 2.5rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}
.footer__brand .logo {
  display: inline-flex;
  margin-bottom: .8rem;
}
.footer__brand p {
  color: #a8a29e;
  font-size: var(--fs-sm);
  max-width: 280px;
}
.footer__social {
  display: flex;
  gap: .8rem;
  margin-top: 1.2rem;
}
.footer__social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(245, 242, 234, 0.08);
  color: #f5f2ea;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
}
.footer__social a:hover {
  background: var(--accent);
  transform: translateY(-2px);
}
.footer__col h5 {
  font-family: var(--font-h);
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #f5f2ea;
  margin-bottom: 1.2rem;
}
.footer__col ul {
  display: grid;
  gap: .6rem;
}
.footer__col a {
  font-size: var(--fs-sm);
  color: #a8a29e;
  transition: color .2s;
}
.footer__col a:hover { color: #f5f2ea; }

.footer__bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(245, 242, 234, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--fs-xs);
}
.footer__bottom-links {
  display: flex;
  gap: 1.5rem;
}
.footer__bottom-links a { color: #a8a29e; }
.footer__bottom-links a:hover { color: #f5f2ea; }

/* Shared animated showcase footer */
.footer.footer--showcase {
  padding: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% -25%, rgba(208, 102, 44, .17), transparent 43%),
    #151311;
  color: #f5f2ea;
}
.footer-showcase__main {
  min-height: 390px;
  padding-block: 4.75rem 4.1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.55rem;
  text-align: center;
}
.footer-showcase__logo {
  display: inline-flex;
  width: clamp(190px, 19vw, 270px);
  height: 86px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.footer-showcase__logo img {
  width: 100%;
  height: 185px;
  max-width: none;
  object-fit: cover;
  object-position: center;
}
.footer-showcase__tagline {
  max-width: 520px;
  color: #b9b2aa;
  font-size: var(--fs-sm);
}
.footer-showcase__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .55rem 1.15rem;
}
.footer-showcase__nav a {
  position: relative;
  isolation: isolate;
  padding: .55rem .8rem;
  border-radius: 8px;
  color: #e8e2da;
  font-family: var(--font-h);
  font-size: var(--fs-sm);
  font-weight: 650;
  transition: color .25s var(--ease), transform .25s var(--ease);
}
.footer-showcase__nav a::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border: 1px solid rgba(214, 112, 55, .35);
  border-radius: inherit;
  background: rgba(198, 84, 32, .18);
  opacity: 0;
  transform: scale(.7);
  transition: opacity .25s var(--ease), transform .35s var(--ease-out);
}
.footer-showcase__nav a:hover,
.footer-showcase__nav a:focus-visible {
  color: #fff8ef;
  transform: translateY(-2px) scale(1.03);
}
.footer-showcase__nav a:hover::before,
.footer-showcase__nav a:focus-visible::before {
  opacity: 1;
  transform: scale(1);
}
.footer-showcase__social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
}
.footer-showcase__social a {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(245, 242, 234, .25);
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: #f2ede7;
  transition: transform .25s var(--ease), color .25s, background .25s, border-color .25s;
}
.footer-showcase__social a:hover,
.footer-showcase__social a:focus-visible {
  transform: translateY(-3px) scale(1.06);
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}
.footer-showcase__social svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.footer-showcase__social .is-filled { fill: currentColor; stroke: none; }
.footer-showcase__divider {
  width: 100%;
  height: 44px;
  border-block: 1px solid rgba(245, 242, 234, .12);
  color: rgba(245, 242, 234, .16);
  background-image: repeating-linear-gradient(315deg, currentColor 0, currentColor 1px, transparent 1px, transparent 7px);
  background-size: 10px 10px;
  animation: footerStripeTravel 20s linear infinite;
}
@keyframes footerStripeTravel {
  to { background-position-x: 100px; }
}
.footer-showcase__bottom {
  min-height: 90px;
  padding-block: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: #9f9891;
  font-size: var(--fs-xs);
}
.footer-showcase__bottom p { color: inherit; }
.footer-showcase__item {
  opacity: 0;
  transform: translateY(18px);
}
.footer-showcase__item.is-visible {
  animation: footerItemReveal .7s var(--ease-out) var(--footer-delay, 0ms) both;
}
@keyframes footerItemReveal {
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 700px) {
  .footer-showcase__main {
    min-height: 0;
    padding-block: 3.5rem 3rem;
    gap: 1.35rem;
  }
  .footer-showcase__nav { gap: .35rem .45rem; }
  .footer-showcase__nav a { font-size: .83rem; padding: .5rem .65rem; }
  .footer-showcase__divider { height: 34px; }
  .footer-showcase__bottom {
    min-height: 110px;
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .footer-showcase__divider { animation: none; }
  .footer-showcase__item,
  .footer-showcase__item.is-visible { opacity: 1; transform: none; animation: none; }
}

/* =============================================
   RESERVATION PAGE (WARM SAND THEME)
   ============================================= */
.reserve-page-wrap {
  background-color: var(--bg);
  padding-top: calc(var(--header-h) + 2.5rem);
  padding-bottom: 5rem;
  position: relative;
}
.reserve-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.car-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}
.car-meta-badge-row { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.car-badge {
  font-family: var(--font-h);
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: .3rem .8rem;
  border-radius: 6px;
}
.car-badge--accent { background: var(--accent); color: #ffffff; }
.car-badge--dark { background: var(--bg-2); border: 1px solid var(--border); color: var(--text-secondary); }

.car-avail-badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #166534;
  font-size: .75rem;
  font-weight: 600;
  padding: .3rem .8rem;
  border-radius: 100px;
}
.pulse-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 6px #16a34a;
}

.btn--back {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-h);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-secondary);
  transition: color .2s;
}
.btn--back:hover { color: var(--accent); }

/* Left Showcase Card */
.reserve-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}
.reserve-card__img-wrap {
  position: relative;
  background: var(--bg-2);
  border-radius: calc(var(--radius) - 2px);
  overflow: hidden;
  aspect-ratio: 16/10;
  margin-bottom: .75rem;
  border: 1px solid var(--border);
}
.reserve-card__img-wrap img,
.reserve-card__img-wrap video {
  width: 100%; height: 100%;
  object-fit: cover;
}
.reserve-card__img-wrap video {
  display: block;
  background: #0f1115;
}
.reserve-card__img-wrap [hidden],
.car-media-thumbs[hidden] {
  display: none;
}
.car-media-thumbs {
  display: flex;
  gap: .75rem;
  margin: 0 0 2rem;
  overflow-x: auto;
  padding: .2rem;
}
.media-thumb {
  position: relative;
  width: 104px;
  aspect-ratio: 16 / 10;
  flex: 0 0 auto;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 8px;
  background: var(--bg-2);
  cursor: pointer;
  opacity: .72;
  transition: opacity .2s, border-color .2s, transform .2s;
}
.media-thumb:hover,
.media-thumb.is-active {
  opacity: 1;
  border-color: var(--accent);
}
.media-thumb:hover { transform: translateY(-2px); }
.media-thumb:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
.media-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-thumb__play {
  position: absolute;
  inset: 50% auto auto 50%;
  translate: -50% -50%;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding-left: 2px;
  border-radius: 50%;
  color: #fff;
  background: rgba(0, 0, 0, .72);
  box-shadow: 0 3px 12px rgba(0, 0, 0, .3);
}
.reserve-card__tag {
  position: absolute;
  top: 1rem; left: 1rem;
  background: var(--accent);
  color: #ffffff;
  font-family: var(--font-h);
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: .25rem .75rem;
  border-radius: 4px;
}
.reserve-card__avail {
  position: absolute;
  bottom: 1rem; left: 1rem;
  background: rgba(252, 251, 248, 0.95);
  backdrop-filter: blur(8px);
  color: #166534;
  font-size: var(--fs-xs);
  font-weight: 700;
  padding: .35rem .8rem;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  border: 1px solid #a7f3d0;
  box-shadow: var(--shadow-sm);
}

.reserve-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.8rem;
}
.reserve-card__name {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  color: var(--text-primary);
  margin-top: .2rem;
}
.rate-amount {
  font-family: var(--font-h);
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--accent);
  display: block;
  line-height: 1;
}
.rate-period {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

.reserve-subtitle {
  font-size: var(--fs-sm);
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-weight: 700;
}

/* Specs Badges Grid */
.reserve-specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .8rem;
  margin-bottom: 1.8rem;
}
.spec-box {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: .85rem;
  display: flex;
  align-items: center;
  gap: .8rem;
  transition: all .2s;
}
.spec-box:hover {
  background: #ffffff;
  border-color: var(--border-h);
  box-shadow: var(--shadow-sm);
}
.spec-box__icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.spec-box__info small {
  display: block;
  font-size: .68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.spec-box__info strong {
  display: block;
  font-size: var(--fs-xs);
  color: var(--text-primary);
  margin-top: .1rem;
}

.features-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.feature-tag {
  font-size: .75rem;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: .35rem .85rem;
  color: var(--text-primary);
  font-weight: 600;
}

.perks-list {
  display: grid;
  gap: .7rem;
}
.perks-list li {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: var(--fs-sm);
  color: var(--text-secondary);
}

/* Conditions Card */
.rental-conditions-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-top: 2rem;
}
.rental-conditions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
}
.condition-item {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  background: var(--bg-card);
  padding: .8rem 1rem;
  border-radius: calc(var(--radius) - 2px);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
}
.condition-label { font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); }
.condition-value { font-size: var(--fs-xs); font-weight: 700; color: var(--text-primary); }

/* Right Sticky Booking Card */
.booking-card {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
  scroll-margin-top: calc(var(--header-h) + 1rem);
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius);
  padding: 2.2rem;
}
.booking-card__desc {
  font-size: var(--fs-xs);
  color: var(--text-secondary);
  margin-top: .3rem;
}
.form-section-title {
  font-family: var(--font-h);
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--accent);
  margin: 1.5rem 0 .9rem;
  padding-bottom: .4rem;
  border-bottom: 1px solid var(--border);
}
.form-section-title:first-of-type { margin-top: 0; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.form-group { margin-bottom: 1rem; position: relative; }
.form-group label {
  display: block;
  font-family: var(--font-h);
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-secondary);
  margin-bottom: .4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .75rem 1rem;
  background: var(--input-bg, #ffffff);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-family: var(--font-b);
  font-size: var(--fs-sm);
  transition: all .25s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(184, 84, 34, 0.14);
}
.form-group textarea { resize: vertical; min-height: 90px; }
.form-group select,
.form-select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2378716c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1rem;
  padding-right: 2.5rem;
}

/* Addon Options */
.addon-options {
  display: grid;
  gap: .6rem;
  margin-bottom: 1rem;
}
.addon-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: .75rem 1rem;
  cursor: pointer;
  transition: all .2s;
}
.addon-item:hover {
  background: #ffffff;
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}
.addon-item input[type="checkbox"] {
  width: 18px; height: 18px;
  accent-color: var(--accent);
  cursor: pointer;
}
.addon-item__text { flex: 1; font-size: var(--fs-xs); }
.addon-item__text strong { display: block; color: var(--text-primary); font-size: .82rem; }
.addon-item__text small { color: var(--text-muted); }
.addon-item__price {
  font-family: var(--font-h);
  font-size: .8rem;
  font-weight: 700;
  color: var(--accent);
}

/* Price Breakdown */
.price-breakdown-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem;
  margin: 1.5rem 0;
}
.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--fs-xs);
  color: var(--text-secondary);
  margin-bottom: .55rem;
}
.price-row strong { color: var(--text-primary); font-weight: 700; }
.text-free { color: #166534; font-weight: 700; }

.price-row--total {
  margin-top: .9rem;
  padding-top: .9rem;
  border-top: 1px solid var(--border);
  margin-bottom: 0;
}
.total-label {
  display: block;
  font-family: var(--font-h);
  font-size: .95rem;
  font-weight: 700;
  color: var(--text-primary);
}
.total-sub {
  display: block;
  font-size: .68rem;
  color: var(--text-muted);
}
.total-amount {
  font-family: var(--font-h);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent);
}

.booking-actions {
  display: grid;
  gap: .8rem;
}
.booking-note {
  font-size: .72rem;
  color: var(--text-muted);
  margin-top: 1rem;
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  line-height: 1.5;
}
.booking-note svg { flex-shrink: 0; margin-top: .15rem; color: var(--accent); }

/* Reservation steps */
.booking-progress {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .4rem;
  margin: 1.4rem 0 1.1rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--border);
}
.addon-item--none.is-selected {
  background: var(--accent-soft);
  border-color: color-mix(in srgb, var(--accent) 42%, var(--border));
}
.booking-progress__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
  min-width: 0;
  padding: .35rem .1rem;
  color: var(--text-muted);
  font-family: var(--font-h);
  font-size: .68rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  transition: color .2s;
}
.booking-progress__step:disabled { cursor: default; }
.booking-progress__step:not(:disabled):hover { color: var(--accent); }
.booking-progress__step:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.booking-progress__number {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--bg-2);
  color: var(--text-secondary);
  font-size: .8rem;
  transition: background .2s, color .2s, border-color .2s;
}
.booking-progress__step.is-active { color: var(--text-primary); }
.booking-progress__step.is-active .booking-progress__number {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.booking-progress__step.is-complete .booking-progress__number {
  background: var(--accent-soft);
  border-color: color-mix(in srgb, var(--accent) 35%, var(--border));
  color: var(--accent);
}
.booking-step[hidden],
.booking-step-error[hidden] { display: none !important; }
.booking-step:not([hidden]) { animation: bookingStepIn .28s var(--ease-out) both; }
@keyframes bookingStepIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.booking-step__actions {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 1.2rem;
}
.booking-step__actions .btn { min-height: 44px; }
.booking-step__actions--review { justify-content: flex-start; margin: .4rem 0 1rem; }
.booking-step-error {
  margin: .25rem 0 1rem;
  padding: .75rem .9rem;
  border: 1px solid color-mix(in srgb, #b42318 40%, var(--border));
  border-radius: var(--radius);
  background: color-mix(in srgb, #b42318 10%, var(--bg-card));
  color: #b42318;
  font-size: .82rem;
  line-height: 1.45;
}
:root[data-theme="dark"] .booking-step-error { color: #ffb4a8; }
.booking-review {
  display: grid;
  gap: .75rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-2);
}
.booking-review > div { display: flex; justify-content: space-between; gap: 1rem; font-size: .78rem; }
.booking-review span { color: var(--text-muted); }
.booking-review strong { color: var(--text-primary); font-weight: 700; text-align: end; }
html[dir="rtl"] .booking-progress__step,
html[dir="rtl"] .booking-step__actions .btn { font-family: var(--font-ar-h); }
html[dir="rtl"] .booking-step__actions [aria-hidden="true"] { display: inline-block; transform: scaleX(-1); }
@media (max-width: 480px) {
  .booking-progress__step { font-size: .6rem; }
  .booking-progress__number { width: 1.8rem; height: 1.8rem; }
  .booking-step__actions { display: grid; grid-template-columns: 1fr; }
  .booking-step__actions .btn { width: 100%; }
  .booking-review > div { flex-direction: column; gap: .15rem; }
  .booking-review strong { text-align: start; }
}
@media (prefers-reduced-motion: reduce) {
  .booking-step:not([hidden]) { animation: none; }
}

/* Confirmation Modal */
.booking-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all .3s var(--ease);
}
.booking-modal.is-open { opacity: 1; visibility: visible; }
.booking-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(28, 25, 23, 0.65);
  backdrop-filter: blur(8px);
}
.booking-modal__content {
  position: relative;
  z-index: 2;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  max-width: 520px;
  width: 100%;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
  transform: scale(0.95) translateY(10px);
  transition: all .3s var(--ease-out);
}
.booking-modal.is-open .booking-modal__content { transform: none; }
.modal-close {
  position: absolute;
  top: 1rem; right: 1rem;
  font-size: 1.8rem;
  color: var(--text-muted);
  line-height: 1;
  width: 32px; height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all .2s;
}
.modal-close:hover { color: var(--text-primary); background: var(--bg-2); }

.modal-success-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  border: 1px solid rgba(184, 84, 34, 0.2);
}

.modal-recap {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem;
  margin: 1.5rem 0;
}
.modal-recap__item {
  display: flex;
  justify-content: space-between;
  font-size: var(--fs-xs);
  color: var(--text-secondary);
  padding: .45rem 0;
  border-bottom: 1px solid var(--border);
}
.modal-recap__item strong { color: var(--text-primary); }
.modal-recap__item--total {
  border-bottom: none;
  padding-top: .8rem;
  font-size: var(--fs-sm);
}
.modal-recap__item--total strong { color: var(--accent); font-size: 1.15rem; }
.modal-desc {
  font-size: var(--fs-xs);
  color: var(--text-secondary);
  text-align: center;
  line-height: 1.55;
  margin-bottom: 1.8rem;
}
.modal-actions {
  display: grid;
  gap: .8rem;
}

/* =============================================
   CONTACT & ABOUT PAGES (WARM SAND THEME)
   ============================================= */
.hero-subtext {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  margin-top: .4rem;
  max-width: 620px;
}

.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.contact-channel-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
  transition: all .25s var(--ease);
}
.contact-channel-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-h);
  box-shadow: var(--shadow-md);
  background: #ffffff;
}
.contact-channel-card__header {
  display: flex;
  align-items: center;
  gap: .9rem;
}
.channel-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.channel-icon--wa {
  background: #ecfdf5;
  color: #166534;
}
.channel-label {
  display: block;
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-muted);
}
.channel-val {
  font-family: var(--font-h);
  font-size: .95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: .1rem;
}
.channel-desc {
  font-size: var(--fs-xs);
  color: var(--text-secondary);
  line-height: 1.5;
  flex: 1;
}
.channel-btn {
  width: 100%;
  justify-content: center;
}
.channel-actions {
  display: grid;
  gap: .6rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.2rem;
  box-shadow: var(--shadow-md);
}

.location-card, .hours-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.location-card__head, .hours-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.location-item {
  display: flex;
  gap: .9rem;
  margin-bottom: 1.2rem;
}
.location-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.location-item strong {
  display: block;
  font-size: var(--fs-xs);
  color: var(--text-primary);
  font-family: var(--font-h);
}
.location-item span {
  display: block;
  font-size: var(--fs-xs);
  color: var(--text-secondary);
  margin-top: .15rem;
  line-height: 1.45;
}

.agency-map-placeholder {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) - 2px);
  height: 280px;
  overflow: hidden;
}
.agency-map-placeholder iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.map-pin-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: .4rem .9rem;
  border-radius: 100px;
  color: var(--text-primary);
  font-size: var(--fs-xs);
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.hours-status {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .72rem;
  font-weight: 700;
  padding: .3rem .75rem;
  border-radius: 100px;
}
.hours-status--open {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #166534;
}
.hours-status--closed {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #dc2626;
}
.status-dot--open { background: #16a34a; }
.status-dot--closed { background: #ef4444; }

.hours-table {
  display: grid;
  gap: .4rem;
}
.hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .45rem .6rem;
  border-radius: 4px;
  font-size: var(--fs-xs);
  color: var(--text-secondary);
}
.hours-row--today {
  background: rgba(184, 84, 34, 0.1);
  border: 1px solid rgba(184, 84, 34, 0.3);
  color: var(--text-primary);
  font-weight: 700;
}
.today-tag {
  font-size: .62rem;
  background: var(--accent);
  color: #ffffff;
  padding: .15rem .45rem;
  border-radius: 3px;
  font-weight: 700;
  text-transform: uppercase;
  margin-left: .4rem;
}

/* Contact Form UX States */
.input-error {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15) !important;
}
.field-error-msg {
  color: #dc2626;
  font-size: .7rem;
  margin-top: .3rem;
  display: none;
}
.form-success-card {
  text-align: center;
  padding: 2rem 1rem;
}
.success-recap-box {
  background: var(--bg-2);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: .8rem 1rem;
  font-size: var(--fs-xs);
  color: var(--text-secondary);
  margin-top: 1rem;
}
.btn-spinner {
  width: 14px; height: 14px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #ffffff;
  border-radius: 50%;
  display: inline-block;
  animation: spin .8s linear infinite;
  margin-right: .4rem;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* FAQ Accordions */
.faq-accordion-wrap {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}
.faq-column {
  min-width: 0;
  display: grid;
  gap: .8rem;
  align-content: start;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all .25s;
}
.faq-item.is-open {
  border-color: rgba(184, 84, 34, 0.35);
  box-shadow: var(--shadow-md);
  background: var(--bg-card);
}
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.5rem;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-h);
  font-size: var(--fs-sm);
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}
.faq-icon {
  flex-shrink: 0;
  color: var(--accent);
  transition: transform .3s var(--ease);
}
.faq-item.is-open .faq-icon { transform: rotate(180deg); }
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  padding: 0 1.5rem;
  opacity: 0;
  transition: grid-template-rows .42s var(--ease-out),
              padding-bottom .32s var(--ease-out),
              opacity .24s ease;
}
.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
  padding-bottom: 1.2rem;
  opacity: 1;
}
.faq-answer p {
  min-height: 0;
  overflow: hidden;
  font-size: var(--fs-xs);
  color: var(--text-secondary);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .faq-accordion-wrap {
    grid-template-columns: 1fr;
    gap: .8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq-answer,
  .faq-icon {
    transition: none;
  }
}

/* About Page Why Grid */
.about-why__heading {
  max-width: 720px;
  margin: 0 0 2.4rem;
  text-align: start;
}
.about-why__heading > p:last-child {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-top: .7rem;
}
.about-why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(242px, auto);
  gap: .9rem;
  counter-reset: why-point;
}
.why-card {
  position: relative;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: 0 3px 12px rgba(41, 37, 36, .035);
  transition: transform .3s var(--ease-out), border-color .3s, box-shadow .3s;
  counter-increment: why-point;
}
.why-card::before {
  content: counter(why-point, decimal-leading-zero);
  position: absolute;
  inset-block-start: 1.65rem;
  inset-inline-end: 1.6rem;
  color: var(--text-muted);
  font: 600 .72rem var(--font-h);
  letter-spacing: .12em;
}
.why-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-h);
  box-shadow: var(--shadow-md);
}
.why-card__icon {
  width: 46px; height: 46px;
  border-radius: var(--radius);
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: auto;
}
.why-card h4 {
  font-size: 1.12rem;
  color: var(--text-primary);
  margin-bottom: .6rem;
  line-height: 1.3;
}
.why-card p {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.65;
}
.why-card:first-child,
.why-card:last-child {
  grid-column: span 2;
}
.why-card:first-child {
  background:
    linear-gradient(90deg, rgba(20, 20, 19, .98) 0%, rgba(20, 20, 19, .91) 40%, rgba(20, 20, 19, .12) 100%),
    url('../assets/cars/dacia-duster.jpg') center 53% / cover;
  border-color: rgba(255, 255, 255, .12);
  color: #fff;
}
.why-card:first-child h4,
.why-card:first-child p,
.why-card:last-child h4,
.why-card:last-child p {
  color: #fff;
}
.why-card:first-child h4,
.why-card:first-child p {
  max-width: 52%;
}
.why-card:first-child::before,
.why-card:last-child::before {
  color: rgba(255, 255, 255, .65);
}
.why-card:first-child .why-card__icon,
.why-card:last-child .why-card__icon {
  background: rgba(255, 255, 255, .13);
  color: #fff;
}
.why-card:last-child {
  background: var(--accent);
  border-color: var(--accent);
  justify-content: flex-end;
}
.why-card:last-child .why-card__icon {
  position: absolute;
  inset-block-start: 1.6rem;
  inset-inline-start: 1.6rem;
}
.why-card:last-child h4,
.why-card:last-child p {
  max-width: 65%;
}
.why-card:last-child h4 {
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
}
html[dir="rtl"] .why-card:first-child {
  background:
    linear-gradient(270deg, rgba(20, 20, 19, .98) 0%, rgba(20, 20, 19, .91) 40%, rgba(20, 20, 19, .12) 100%),
    url('../assets/cars/dacia-duster.jpg') center 53% / cover;
}

/* Commitment Box */
.commitment-box {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}
.commitment-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.commitment-copy {
  min-width: 0;
  padding-inline-start: 0;
  border: 0;
}
.commitment-copy h2 {
  max-width: 13ch;
  margin-top: .65rem;
  color: #f7f3eb;
  font-size: clamp(2.4rem, 4.2vw, 4rem);
  line-height: 1.1;
}
.commitment-copy > p {
  max-width: 48ch;
  margin-top: 1.5rem;
  color: #d0c7bb;
  font-size: 1rem;
  line-height: 1.8;
}
.commitment-copy .label {
  color: #f3a36f;
}
.commitment-check-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-block-start: 1px solid rgba(255,255,255,.18);
}
.commit-item {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
  padding-block: 1.15rem;
  border-block-end: 1px solid rgba(255,255,255,.18);
  font-size: .96rem;
  color: #f7f3eb;
  font-weight: 600;
  line-height: 1.5;
}
.commit-item svg {
  flex: 0 0 18px;
  margin-top: .12rem;
  stroke: #f3a36f;
}

html[dir="rtl"] .commitment-copy h2 {
  max-width: 15ch;
  line-height: 1.35;
}

@media (max-width: 900px) {
  .commitment-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 1024px) {
  .about-why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: auto;
  }
  .why-card:first-child,
  .why-card:last-child {
    min-height: 290px;
  }
}

@media (max-width: 768px) {
  .about-why__heading {
    margin-bottom: 2rem;
  }
  .about-why-grid {
    grid-template-columns: 1fr;
  }
  .why-card {
    min-height: 0;
    padding: 1.5rem;
  }
  .why-card:first-child,
  .why-card:last-child {
    grid-column: auto;
    min-height: 300px;
  }
  .why-card:first-child {
    background:
      linear-gradient(0deg, rgba(20, 20, 19, .98), rgba(20, 20, 19, .12)),
      url('../assets/cars/dacia-duster.jpg') center / cover;
  }
  html[dir="rtl"] .why-card:first-child {
    background:
      linear-gradient(0deg, rgba(20, 20, 19, .98), rgba(20, 20, 19, .12)),
      url('../assets/cars/dacia-duster.jpg') center / cover;
  }
  .why-card:first-child h4,
  .why-card:first-child p,
  .why-card:last-child h4,
  .why-card:last-child p {
    max-width: 100%;
  }
  .commitment-copy {
    padding-inline-start: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .why-card {
    transition: none;
  }
  .why-card:hover {
    transform: none;
  }
}

/* Morocco Exploration Grid */
.about-morocco-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.city-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 1.2rem;
}
.city-tag {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: .4rem .9rem;
  font-size: var(--fs-xs);
  color: var(--text-primary);
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}
.morocco-carousel {
  position: relative;
  aspect-ratio: 14 / 9;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-2);
  box-shadow: var(--shadow-md);
}
.morocco-carousel__track,
.morocco-carousel__slide {
  position: absolute;
  inset: 0;
}
.morocco-carousel__slide {
  opacity: 0;
  transform: scale(1.035);
  transition: opacity 1s ease, transform 5.5s ease;
  pointer-events: none;
}
.morocco-carousel__slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
  z-index: 1;
}
.morocco-carousel__slide::after {
  content: '';
  position: absolute;
  inset: 55% 0 0;
  background: linear-gradient(transparent, rgba(10, 10, 10, .68));
}
.morocco-carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.morocco-carousel__slide figcaption {
  position: absolute;
  left: 1.2rem;
  bottom: 1rem;
  z-index: 2;
  color: #fff;
  font-family: var(--font-h);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .55);
}
.morocco-carousel__dots {
  position: absolute;
  right: 1rem;
  bottom: 1.15rem;
  z-index: 3;
  display: flex;
  gap: .42rem;
}
.morocco-carousel__dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .55);
  box-shadow: 0 1px 6px rgba(0, 0, 0, .25);
  transition: width .3s ease, border-radius .3s ease, background .3s ease;
}
.morocco-carousel__dots button.is-active {
  width: 24px;
  border-radius: 10px;
  background: #fff;
}
@media (prefers-reduced-motion: reduce) {
  .morocco-carousel__slide { transition: none; transform: none; }
}

.about-intro__grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3.5rem;
  align-items: center;
}
.about-intro__img img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

/* =============================================
   PRINT STYLES FOR RECEIPT
   ============================================= */
@media print {
  body * { visibility: hidden; }
  #printableReceipt, #printableReceipt * { visibility: visible; }
  #printableReceipt {
    position: absolute;
    left: 0; top: 0; width: 100%;
    background: #ffffff !important;
    color: #111111 !important;
    box-shadow: none !important;
    border: 1px solid #ddd !important;
    padding: 2rem !important;
  }
  #printableReceipt .modal-close,
  #printableReceipt .modal-actions { display: none !important; }
}

/* =============================================
   RESPONSIVE LAYOUT
   ============================================= */
@media (max-width: 1024px) {
  .featured__row, .fleet-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .reviews__grid { grid-template-columns: repeat(2, 1fr); }
  .reviews__grid .review-card:last-child { display: none; }
  .reserve-grid { grid-template-columns: 1fr; }
  .booking-card { position: static; }
  .contact-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .about-why-grid { grid-template-columns: repeat(2, 1fr); }
  .about-morocco-grid { grid-template-columns: 1fr; }
  .about-intro__grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav__links, .nav__cta { display: none; }
  .burger { display: block; }
  .featured__row, .fleet-grid { grid-template-columns: 1fr; }
  .about-split__grid { grid-template-columns: 1fr; }
  .reviews__grid { grid-template-columns: 1fr; }
  .reviews__grid .review-card:last-child { display: flex; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; text-align: center; gap: 1rem; }
  .values-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .stats-row { flex-wrap: wrap; gap: 1.5rem; }
  .featured__head { flex-direction: column; align-items: flex-start; }
  .reserve-specs-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-cards-grid { grid-template-columns: 1fr; }
  .about-why-grid { grid-template-columns: 1fr; }
  .commitment-check-grid { grid-template-columns: 1fr; }
  .commitment-section .commitment-box { padding: 0; }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .reserve-specs-grid { grid-template-columns: 1fr; }
  .booking-card { padding: 1.5rem; }
  .reserve-card { padding: 1.2rem; }
  .rental-conditions-grid { grid-template-columns: 1fr; }
}


/* =============================================
   SERVICES & ADVANTAGES STRIP
   ============================================= */
.services-strip {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.services-strip__head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
}
.services-strip__sub {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  margin-top: .4rem;
}
.services-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.svc-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  transition: all .3s var(--ease);
}
.svc-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-h);
  box-shadow: var(--shadow-md);
  background: #ffffff;
}
.svc-card__icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all .3s;
}
.svc-card:hover .svc-card__icon {
  background: var(--accent);
  color: #ffffff;
  transform: scale(1.05);
}
.svc-card__content {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  flex: 1;
}
.svc-card__tag {
  font-family: var(--font-h);
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--accent);
}
.svc-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.25;
}
.svc-card__desc {
  font-size: var(--fs-xs);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-top: .2rem;
}

@media (max-width: 1024px) {
  .services-strip__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .services-strip__grid { grid-template-columns: 1fr; }
}


/* Transparent header over hero before scroll */
.header.header--hero:not(.is-scrolled):not(.scrolled) {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.6) 0%, transparent 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.header.header--hero:not(.is-scrolled):not(.scrolled) .logo {
  color: #ffffff;
}
.header.header--hero:not(.is-scrolled):not(.scrolled) .nav__link {
  color: #e2e8f0;
}
.header.header--hero:not(.is-scrolled):not(.scrolled) .nav__link:hover {
  color: #f97316;
}
.header.header--hero:not(.is-scrolled):not(.scrolled) .nav__link.active {
  color: #ffffff;
}
.header.header--hero:not(.is-scrolled):not(.scrolled) .burger i {
  background: #ffffff;
}


/* ---------- Standard Clean Sections (No background images) ---------- */
.section {
  padding: var(--pad-section) 0;
  position: relative;
  background-color: var(--bg);
}

/* Specific Section Background Colors */
.featured { background-color: var(--bg); }
.about-split { background-color: var(--bg-2); }
.services-strip { background-color: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.cta { background-color: var(--bg-card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.fleet-section { background-color: var(--bg); }
.about-intro-section { background-color: var(--bg); }
.about-facts-section {
  background: var(--bg);
  padding-block: clamp(2.5rem, 5vw, 4.5rem);
}
.about-facts__intro { max-width: 680px; margin-bottom: 1.5rem; }
.about-facts__intro .heading-md { margin-block: .35rem .65rem; }
.about-facts__intro > p:last-child { color: var(--text-secondary); line-height: 1.65; }
.about-facts__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.about-facts__item {
  min-width: 0;
  padding: clamp(1.25rem, 2.5vw, 2rem);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
}
.about-facts__item h3 { margin: 0 0 .75rem; font-family: var(--font-h); font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--text-primary); }
.about-facts__item p { margin: 0; color: var(--text-secondary); font-size: var(--fs-sm); line-height: 1.7; }
.about-facts__item > a { display: inline-flex; margin-block-start: 1rem; margin-inline-end: 1.25rem; color: var(--accent); font-weight: 700; text-decoration: underline; text-underline-offset: .2em; }
.about-facts__item a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (max-width: 700px) {
  .about-facts__grid { grid-template-columns: 1fr; }
}
.about-why-section {
  background-color: var(--bg-2);
  padding-block: clamp(3.5rem, 6vw, 5.5rem);
}
.commitment-section {
  background-color: #211d1a;
  border-block: 1px solid #40352f;
  padding-block: clamp(3.5rem, 6vw, 5.5rem);
}
.about-fleet-section { background-color: var(--bg-2); }
.about-morocco-section {
  --drive-car-width: clamp(250px, 31vw, 430px);
  --drive-car-bottom: clamp(16px, 2vw, 30px);
  --drive-start-overshoot: .16;
  --drive-end-overshoot: .16;
  --drive-scroll-start: 0;
  --drive-scroll-end: 1;
  --drive-follow-smoothing: .16;
  background-color: var(--bg);
  padding-bottom: calc(var(--pad-section) + clamp(82px, 10vw, 128px));
  overflow: hidden;
}
.about-morocco-section > .wrap {
  position: relative;
  z-index: 2;
}
.morocco-scroll-car {
  position: absolute;
  left: 0;
  bottom: var(--drive-car-bottom);
  z-index: 1;
  width: var(--drive-car-width);
  aspect-ratio: 3.45 / 1;
  overflow: hidden;
  visibility: hidden;
  pointer-events: none;
  user-select: none;
  will-change: transform;
  contain: layout paint;
}
.morocco-scroll-car img {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: auto;
  max-width: none;
  transform: translateY(-50%);
  -webkit-user-drag: none;
}
@media (max-width: 768px) {
  .about-morocco-section {
    --drive-car-width: clamp(190px, 56vw, 300px);
    --drive-car-bottom: 16px;
    padding-bottom: calc(var(--pad-section) + 74px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .about-morocco-section { padding-bottom: var(--pad-section); }
  .morocco-scroll-car { display: none; }
}
.stats-section { background-color: var(--bg-2); }
.contact-cards-section { background-color: var(--bg); padding-top: 2.5rem; padding-bottom: 3rem; }
.contact-main-section { background-color: var(--bg-2); }
.faq-section { background-color: var(--bg-2); }
.reserve-page-wrap {
  background-color: var(--bg);
  padding-top: calc(var(--header-h) + 2.5rem);
  padding-bottom: 5rem;
  position: relative;
}

/* =============================================
   PAGE HERO TOP BANNERS ONLY (35% - 40% OPACITY)
   ============================================= */
.page-hero {
  position: relative;
  padding-top: calc(var(--header-h) + 2.8rem);
  padding-bottom: 3.2rem;
  background-color: var(--bg-2);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 35%;
  background-repeat: no-repeat;
  opacity: 0.38; /* 35% to 40% opacity as requested */
  filter: grayscale(20%) contrast(105%);
  pointer-events: none;
  z-index: 0;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(236, 231, 220, 0.45) 0%, rgba(236, 231, 220, 0.95) 100%);
  pointer-events: none;
  z-index: 1;
}

.page-hero .wrap {
  position: relative;
  z-index: 2;
}

/* Shared Elansary agency photo for all inner-page top banners */
/* 1. Fleet Page Banner ('Nos véhicules') */
.page-hero--fleet::before {
  background-image: url('../assets/elansary-agency.png');
  background-position: center 35%;
  opacity: 0.38;
}

/* 2. About Us Page Banner ('À propos de nous') */
.page-hero--about::before {
  background-image: url('../assets/elansary-agency.png');
  background-position: center 40%;
  opacity: 0.38;
}

/* 3. Contact Page Banner ('Contactez-nous') */
.page-hero--contact::before {
  background-image: url('../assets/elansary-agency.png');
  background-position: center 45%;
  opacity: 0.38;
}


/* =============================================
   DARK THEME VARIABLES & OVERRIDES
   ============================================= */
:root[data-theme="dark"] {
  --white: #f5f2eb;
  --gray-1: #d6cebf;
  --gray-2: #a8a096;
  --gray-3: #3a3630;
  color-scheme: dark;
  --bg: #141312;            /* Deep warm espresso */
  --bg-2: #1d1b19;          /* Rich charcoal */
  --bg-card: #252320;       /* Elevated dark limestone card */
  --bg-trans: rgba(20, 19, 18, 0.94);
  --input-bg: #1c1a17;
  color-scheme: dark;
  --border: #3a3630;        /* Subtle warm border */
  --border-h: #ea580c;      /* Terracotta hover */
  --text-primary: #f5f2eb;  /* Off-white readable text */
  --text-secondary: #b8b0a4;/* Muted warm grey */
  --text-muted: #80776b;
  --accent: #e0682e;        /* Luminous warm terracotta */
  --accent-h: #f97316;
  --accent-soft: rgba(224, 104, 46, 0.18);
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.6);
}

/* Header and Navigation in dark theme */
:root[data-theme="dark"] .header {
  background: rgba(20, 19, 18, 0.94);
  border-bottom: 1px solid var(--border);
}
:root[data-theme="dark"] .header.is-scrolled,
:root[data-theme="dark"] .header.scrolled {
  background: rgba(20, 19, 18, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}
:root[data-theme="dark"] .mob-nav {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
}

/* Theme Toggle Button */
.theme-toggle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .25s var(--ease);
  position: relative;
  box-shadow: var(--shadow-sm);
  margin-left: .6rem;
  flex-shrink: 0;
}
.theme-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.theme-toggle__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .3s, opacity .3s;
}

/* Light mode: Show Moon (to switch to dark) */
:root:not([data-theme="dark"]) .theme-toggle__icon--sun {
  display: none !important;
}
:root:not([data-theme="dark"]) .theme-toggle__icon--moon {
  display: flex !important;
}

/* Dark mode: Show Sun (to switch to light) */
:root[data-theme="dark"] .theme-toggle__icon--moon {
  display: none !important;
}
:root[data-theme="dark"] .theme-toggle__icon--sun {
  display: flex !important;
  color: #fbbf24;
}

/* Header hero transparent state on dark mode */
:root[data-theme="dark"] .header.header--hero:not(.is-scrolled):not(.scrolled) .theme-toggle {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

/* Dark mode card hover states */
:root[data-theme="dark"] .car-card:hover,
:root[data-theme="dark"] .svc-card:hover,
:root[data-theme="dark"] .value-card:hover,
:root[data-theme="dark"] .contact-card:hover,
:root[data-theme="dark"] .commitment-card:hover {
  background: #2d2a26;
}

:root[data-theme="dark"] .page-hero::after {
  background: linear-gradient(180deg, rgba(20, 19, 18, 0.45) 0%, rgba(20, 19, 18, 0.95) 100%);
}

:root[data-theme="dark"] .form-group input,
:root[data-theme="dark"] .form-group select,
:root[data-theme="dark"] .form-group textarea,
:root[data-theme="dark"] select,
:root[data-theme="dark"] .form-input,
:root[data-theme="dark"] .form-select,
:root[data-theme="dark"] .form-textarea {
  background-color: #1c1a17 !important;
  color-scheme: dark;
  border-color: var(--border);
  color: #f5f2eb !important;
}

:root[data-theme="dark"] .form-group select,
:root[data-theme="dark"] .form-select,
:root[data-theme="dark"] select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23e0682e' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 1rem center !important;
  background-size: 1rem !important;
  padding-right: 2.5rem !important;
}

:root[data-theme="dark"] select option {
  background-color: #1c1a17 !important;
  color: #f5f2eb !important;
}

html[dir="rtl"] :root[data-theme="dark"] .form-group select,
html[dir="rtl"] :root[data-theme="dark"] .form-select,
html[dir="rtl"] :root[data-theme="dark"] select {
  background-position: left 1rem center !important;
  padding-right: 1rem !important;
  padding-left: 2.5rem !important;
}

:root[data-theme="dark"] .form-group input:focus,
:root[data-theme="dark"] .form-group select:focus,
:root[data-theme="dark"] .form-group textarea:focus,
:root[data-theme="dark"] select:focus,
:root[data-theme="dark"] .form-input:focus,
:root[data-theme="dark"] .form-select:focus,
:root[data-theme="dark"] .form-textarea:focus {
  background-color: #252320 !important;
  color: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(224, 104, 46, 0.22) !important;
  border-color: var(--accent);
}

:root[data-theme="dark"] .addon-item {
  background: var(--bg-card);
  border-color: var(--border);
}

:root[data-theme="dark"] .addon-item:hover {
  border-color: var(--accent);
  background: #2d2a26;
}

:root[data-theme="dark"] .booking-modal__box {
  background: var(--bg-card);
  border-color: var(--border);
}

:root[data-theme="dark"] .spec-item {
  background: #1a1816;
  border-color: var(--border);
}

:root[data-theme="dark"] .feature-tag {
  background: rgba(224, 104, 46, 0.12);
  border-color: rgba(224, 104, 46, 0.25);
  color: #f5f2eb;
}

:root[data-theme="dark"] .faq-accordion {
  background: var(--bg-card);
  border-color: var(--border);
}

:root[data-theme="dark"] .contact-map-card {
  background: var(--bg-card);
  border-color: var(--border);
}


/* =============================================
   THEME TOGGLE BUTTON & DARK MODE STYLES
   ============================================= */

/* Theme Toggle Button */
.theme-toggle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--bg-card);
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .25s var(--ease);
  position: relative;
  box-shadow: var(--shadow-sm);
  margin: 0;
  flex-shrink: 0;
  z-index: 10;
}
.theme-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  background: var(--bg-card);
}

.theme-toggle__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

/* Light mode (default): show Moon icon */
:root:not([data-theme="dark"]) .theme-toggle__icon--sun {
  display: none !important;
}
:root:not([data-theme="dark"]) .theme-toggle__icon--moon {
  display: flex !important;
}

/* Dark mode (active): show Sun icon */
:root[data-theme="dark"] .theme-toggle__icon--moon {
  display: none !important;
}
:root[data-theme="dark"] .theme-toggle__icon--sun {
  display: flex !important;
  color: #fbbf24;
}

/* Transparent header on hero for theme toggle (both light & dark mode) */
.header.header--hero:not(.is-scrolled):not(.scrolled) .theme-toggle {
  background: rgba(255, 255, 255, 0.16) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  color: #ffffff !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.header.header--hero:not(.is-scrolled):not(.scrolled) .theme-toggle:hover {
  background: rgba(255, 255, 255, 0.26) !important;
  border-color: rgba(255, 255, 255, 0.45) !important;
  color: #ffffff !important;
}
.header.header--hero:not(.is-scrolled):not(.scrolled) .theme-toggle__icon svg {
  stroke: #ffffff !important;
}
:root[data-theme="dark"] .header.header--hero:not(.is-scrolled):not(.scrolled) .theme-toggle__icon--sun svg {
  stroke: #fbbf24 !important;
}

/* Mobile drawer theme item */
.mob-nav__theme {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  border-top: 1px solid var(--border);
  margin-top: 0.5rem;
}
.mob-nav__theme span {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary);
}

/* =============================================
   DARK THEME PALETTE OVERRIDES ([data-theme="dark"])
   ============================================= */
:root[data-theme="dark"] {
  --bg: #141312;
  --bg-2: #1d1b19;
  --bg-card: #252320;
  --bg-trans: rgba(20, 19, 18, 0.94);
  --border: #3a3630;
  --border-h: #ea580c;
  --text-primary: #f5f2eb;
  --text-secondary: #b8b0a4;
  --text-muted: #80776b;
  --accent: #e0682e;
  --accent-h: #f97316;
  --accent-soft: rgba(224, 104, 46, 0.18);
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.6);
}

:root[data-theme="dark"] body {
  background-color: var(--bg);
  color: var(--text-primary);
}

:root[data-theme="dark"] .header {
  background: rgba(20, 19, 18, 0.94);
  border-bottom: 1px solid var(--border);
}
:root[data-theme="dark"] .header.is-scrolled,
:root[data-theme="dark"] .header.scrolled {
  background: rgba(20, 19, 18, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}
:root[data-theme="dark"] .mob-nav {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
}

:root[data-theme="dark"] .car-card,
:root[data-theme="dark"] .svc-card,
:root[data-theme="dark"] .value-card,
:root[data-theme="dark"] .contact-card,
:root[data-theme="dark"] .commitment-card,
:root[data-theme="dark"] .faq-accordion,
:root[data-theme="dark"] .contact-map-card,
:root[data-theme="dark"] .rental-summary-card,
:root[data-theme="dark"] .booking-modal__box {
  background: var(--bg-card);
  border-color: var(--border);
}

:root[data-theme="dark"] .car-card:hover,
:root[data-theme="dark"] .svc-card:hover,
:root[data-theme="dark"] .value-card:hover,
:root[data-theme="dark"] .contact-card:hover,
:root[data-theme="dark"] .commitment-card:hover {
  background: #2d2a26;
}

:root[data-theme="dark"] .form-group input,
:root[data-theme="dark"] .form-group select,
:root[data-theme="dark"] .form-group textarea,
:root[data-theme="dark"] select,
:root[data-theme="dark"] .form-input,
:root[data-theme="dark"] .form-select,
:root[data-theme="dark"] .form-textarea {
  background-color: #1c1a17 !important;
  color-scheme: dark;
  border-color: var(--border);
  color: #f5f2eb !important;
}
:root[data-theme="dark"] .form-group input:focus,
:root[data-theme="dark"] .form-group select:focus,
:root[data-theme="dark"] .form-group textarea:focus,
:root[data-theme="dark"] select:focus,
:root[data-theme="dark"] .form-input:focus,
:root[data-theme="dark"] .form-select:focus,
:root[data-theme="dark"] .form-textarea:focus {
  background-color: #252320 !important;
  color: #ffffff !important;
  border-color: var(--accent);
}

:root[data-theme="dark"] .spec-item,
:root[data-theme="dark"] .spec-box {
  background: #1a1816;
  border-color: var(--border);
}

:root[data-theme="dark"] .addon-item {
  background: var(--bg-card);
  border-color: var(--border);
}
:root[data-theme="dark"] .addon-item:hover {
  border-color: var(--accent);
  background: #2d2a26;
}

:root[data-theme="dark"] .feature-tag {
  background: rgba(224, 104, 46, 0.12);
  border-color: rgba(224, 104, 46, 0.25);
  color: #f5f2eb;
}

:root[data-theme="dark"] .page-hero::after {
  background: linear-gradient(180deg, rgba(20, 19, 18, 0.45) 0%, rgba(20, 19, 18, 0.95) 100%);
}


/* Dark theme WhatsApp channel icon matching theme */
:root[data-theme="dark"] .channel-icon--wa {
  background: rgba(37, 211, 102, 0.16) !important;
  border: 1px solid rgba(37, 211, 102, 0.3) !important;
  color: #25d366 !important;
}

/* Dark theme status & green element contrast */
:root[data-theme="dark"] .car-avail-badge,
:root[data-theme="dark"] .hours-status--open {
  background: rgba(34, 197, 94, 0.15) !important;
  border-color: rgba(34, 197, 94, 0.3) !important;
  color: #4ade80 !important;
}
:root[data-theme="dark"] .reserve-card__avail {
  background: rgba(20, 19, 18, 0.92) !important;
  border-color: rgba(34, 197, 94, 0.35) !important;
  color: #4ade80 !important;
}
:root[data-theme="dark"] .text-free {
  color: #4ade80 !important;
}
:root[data-theme="dark"] .hours-status--closed {
  background: rgba(239, 68, 68, 0.15) !important;
  border-color: rgba(239, 68, 68, 0.3) !important;
  color: #f87171 !important;
}
:root[data-theme="dark"] .contact-channel-card:hover {
  background: #2d2a26 !important;
}
:root[data-theme="dark"] .rental-conditions-card,
:root[data-theme="dark"] .booking-card {
  background: var(--bg-card);
  border-color: var(--border);
}
:root[data-theme="dark"] .spec-box:hover {
  background: #2d2a26;
}

/* Fallback catch-all for any inline gray text in dark mode */
:root[data-theme="dark"] [style*="var(--gray-1)"] {
  color: #d6cebf !important;
}
:root[data-theme="dark"] [style*="var(--gray-2)"] {
  color: #a8a096 !important;
}
:root[data-theme="dark"] [style*="var(--white)"] {
  color: #f5f2eb !important;
}

/* Location input styling */
.location-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.location-input-icon {
  position: absolute;
  left: 1rem;
  color: var(--accent);
  pointer-events: none;
  z-index: 1;
}
html[dir="rtl"] .location-input-icon {
  left: auto;
  right: 1rem;
}
.location-input {
  padding-left: 2.75rem !important;
}
html[dir="rtl"] .location-input {
  padding-left: 1rem !important;
  padding-right: 2.75rem !important;
}

/* ==========================================================================
   COMPREHENSIVE MOBILE & TABLET SYSTEM (iOS & Android Optimized)
   ========================================================================== */

/* Touch Action & Tap Target Optimization */
a, button, input, select, textarea, .theme-toggle, .fleet-filter, .addon-item {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

/* ==========================================================================
   MOBILE FLOATING ACTION DOCK (21st.dev Component)
   ========================================================================== */
.mob-quick-bar {
  display: none;
  position: fixed;
  left: 50%;
  bottom: max(12px, env(safe-area-inset-bottom, 12px));
  transform: translateX(-50%);
  width: min(390px, calc(100% - 24px));
  z-index: 990;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 9999px;
  padding: 6px;
  box-shadow: 
    0 16px 36px -4px rgba(28, 25, 23, 0.16),
    0 4px 12px rgba(28, 25, 23, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
  user-select: none;
  -webkit-user-select: none;
}
.mob-quick-bar__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  width: 100%;
}
.mob-quick-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 7px 4px 8px;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.04);
  text-decoration: none;
  color: var(--text-primary);
  position: relative;
  overflow: hidden;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  -webkit-tap-highlight-color: transparent;
}
.mob-quick-btn:hover {
  background: rgba(0, 0, 0, 0.06);
  transform: translateY(-1px);
}
.mob-quick-btn:active {
  transform: scale(0.92);
  background: rgba(0, 0, 0, 0.08);
}
.mob-quick-btn__icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
}
.mob-quick-btn:hover .mob-quick-btn__icon {
  transform: scale(1.08);
}
.mob-quick-btn:active .mob-quick-btn__icon {
  transform: scale(0.94);
}
/* Call Button (Warm Terracotta / Primary Accent) */
.mob-quick-btn--call .mob-quick-btn__icon {
  background: linear-gradient(135deg, #c2703e 0%, #a35022 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(194, 112, 62, 0.35);
}
/* WhatsApp Button (Original Official Green Gradient) */
.mob-quick-btn--wa .mob-quick-btn__icon {
  background: linear-gradient(135deg, #25D366 0%, #1ebe5d 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}
/* Instagram Button (Original Official Radiant Gradient) */
.mob-quick-btn--ig .mob-quick-btn__icon {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(214, 36, 159, 0.38);
}
.mob-quick-btn__label {
  font-family: var(--font-h);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text-primary);
  line-height: 1;
  white-space: nowrap;
}

/* Site-wide Floating Actions (WhatsApp + Instagram), positioned clear of the mobile action bar. */
.floating-actions {
  position: fixed;
  inset-inline-end: clamp(1rem, 2.5vw, 2rem);
  bottom: clamp(1rem, 2.5vw, 2rem);
  z-index: 96;
  display: flex;
  align-items: center;
  gap: 12px;
  pointer-events: none;
}
.floating-actions > a {
  pointer-events: auto;
}

.floating-whatsapp,
.floating-instagram {
  position: relative;
  inset-inline-end: auto;
  bottom: auto;
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), background .25s, filter .25s;
  text-decoration: none;
  flex-shrink: 0;
}
.floating-whatsapp:not(.floating-actions *) {
  position: fixed;
  inset-inline-end: clamp(1rem, 2.5vw, 2rem);
  bottom: clamp(1rem, 2.5vw, 2rem);
  z-index: 96;
}

.floating-whatsapp {
  background: #19bd63;
  box-shadow: 0 10px 28px rgba(9, 91, 49, .32);
}
.floating-whatsapp svg {
  width: 31px;
  height: 31px;
  fill: currentColor;
  display: block;
}
.floating-whatsapp:hover {
  transform: translateY(-3px);
  background: #16aa59;
  box-shadow: 0 14px 34px rgba(9, 91, 49, .4);
}

.floating-instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  box-shadow: 0 10px 28px rgba(220, 39, 67, .32);
}
.floating-instagram svg {
  width: 30px;
  height: 30px;
  display: block;
}
.floating-instagram:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(220, 39, 67, .48);
  filter: brightness(1.08);
}

.floating-whatsapp:active,
.floating-instagram:active {
  transform: scale(.94);
}

.floating-whatsapp:focus-visible {
  outline: 3px solid #19bd63;
  outline-offset: 4px;
}
.floating-instagram:focus-visible {
  outline: 3px solid #e6683c;
  outline-offset: 4px;
}

@media (max-width: 768px) {
  .floating-actions,
  .floating-whatsapp:not(.floating-actions *) {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .floating-whatsapp,
  .floating-instagram {
    transition: none;
  }
  .floating-whatsapp:hover,
  .floating-whatsapp:active,
  .floating-instagram:hover,
  .floating-instagram:active {
    transform: none;
  }
}

/* Dark mode for mobile quick action dock (21st.dev) */
:root[data-theme="dark"] .mob-quick-bar {
  background: rgba(22, 20, 18, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 
    0 18px 40px -4px rgba(0, 0, 0, 0.65),
    0 4px 14px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
:root[data-theme="dark"] .mob-quick-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #f5f2eb;
}
:root[data-theme="dark"] .mob-quick-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}
:root[data-theme="dark"] .mob-quick-btn:active {
  background: rgba(255, 255, 255, 0.14);
}
:root[data-theme="dark"] .mob-quick-btn__label {
  color: rgba(245, 242, 235, 0.9);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */

/* Tablets & Small Laptops (max-width: 1024px) */
@media (max-width: 1024px) {
  :root {
    --pad-section: 4.5rem;
  }

  .nav__links { gap: 1.2rem; }
  
  .featured__row, .fleet-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .about-split__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .about-split__visual {
    max-height: 420px;
  }
  
  .services-strip__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .reserve-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .booking-card {
    position: static;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

/* Mobile Screens (max-width: 768px) */
@media (max-width: 768px) {
  :root {
    --header-h: 64px;
    --pad-section: 3.5rem;
    --pad-x: 1.2rem;
    --fs-display: 2.4rem;
  }

  body {
    padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)); /* Space for floating mobile bottom bar */
  }

  .mob-quick-bar {
    display: block;
  }

  /* Header adjustments */
  .nav__links, .nav__cta {
    display: none;
  }
  .header__actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-inline-start: auto;
  }
  .burger {
    display: block;
  }

  .header__inner {
    padding-inline: 1.2rem;
  }

  html[dir="rtl"] .header__actions {
    direction: ltr;
    margin-left: 0;
  }

  html[dir="rtl"] .header__inner {
    direction: ltr;
    justify-content: space-between;
  }

  html[dir="rtl"] .hero__body {
    padding-inline: max(1.35rem, env(safe-area-inset-left)) max(1.35rem, env(safe-area-inset-right));
  }

  html[dir="rtl"] .hero__title,
  html[dir="rtl"] .hero__desc {
    width: 100%;
    max-width: 100%;
  }

  /* Mobile Drawer Menu */
  .mob-nav {
    position: fixed;
    top: var(--header-h); left: 0; right: 0; bottom: 0;
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    background: var(--bg-card);
    border-bottom: none;
    padding: 1.5rem 1.5rem calc(2rem + 70px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    flex-direction: column;
    gap: 1.2rem;
    display: none;
    z-index: 99;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  }
  .mob-nav.open {
    display: flex;
    animation: mobNavSlide .25s var(--ease-out);
  }
  @keyframes mobNavSlide {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .mob-nav a {
    font-size: 1.25rem;
    font-weight: 700;
    padding: .8rem 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-primary);
  }
  .mob-nav a:hover {
    color: var(--accent);
  }

  .burger.open i:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }
  .burger.open i:nth-child(2) {
    opacity: 0;
  }
  .burger.open i:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  /* Hero adjustments */
  .hero__gradient {
    background:
      linear-gradient(180deg, rgba(15, 14, 13, .38) 0%, rgba(15, 14, 13, .3) 48%, rgba(15, 14, 13, .72) 100%),
      linear-gradient(90deg, rgba(15, 14, 13, .7) 0%, rgba(15, 14, 13, .28) 100%);
  }
  .hero__title {
    font-size: clamp(2.1rem, 8vw, 2.8rem);
    line-height: 1.15;
  }
  .hero__desc {
    font-size: var(--fs-sm);
    margin-bottom: 1.8rem;
  }
  .hero__actions {
    flex-direction: column;
    width: 100%;
  }
  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }
  .hero__scroll {
    display: none;
  }

  /* Page hero headers */
  .page-hero {
    padding-top: calc(var(--header-h) + 1.8rem);
    padding-bottom: 2.2rem;
  }

  /* Car grids */
  .featured__row, .fleet-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* Fleet horizontal filter chips bar */
  .fleet-filters {
    display: flex;
    overflow-x: auto;
    flex-wrap: nowrap;
    gap: .5rem;
    padding-bottom: .8rem;
    margin-bottom: 2rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .fleet-filters::-webkit-scrollbar {
    display: none;
  }
  .fleet-filter {
    white-space: nowrap;
    flex-shrink: 0;
    padding: .55rem 1.1rem;
    font-size: .78rem;
  }

  /* Stats grid */
  .stats-row {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .stat {
    padding: 1.2rem;
  }

  /* Services strip */
  .services-strip__grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  /* Contact cards */
  .contact-cards-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  /* Reservation page specs */
  .reserve-specs-grid {
    grid-template-columns: 1fr 1fr;
    gap: .6rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .rental-conditions-grid {
    grid-template-columns: 1fr;
  }

  /* Booking confirmation receipt modal as mobile bottom sheet */
  .booking-modal {
    padding: 0;
    align-items: flex-end;
  }
  .booking-modal__content {
    max-width: 100%;
    max-height: 90vh;
    max-height: 90dvh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 20px 20px 0 0;
    padding: 2rem 1.5rem calc(2rem + env(safe-area-inset-bottom, 0px));
    transform: translateY(100%);
  }
  .booking-modal.is-open .booking-modal__content {
    transform: translateY(0);
  }

  /* Footer */
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer__bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* Small Smartphone Screens (max-width: 480px) */
@media (max-width: 480px) {
  :root {
    --fs-display: 2rem;
    --pad-x: 1rem;
  }

  .header__inner {
    padding-inline: 1rem;
  }

  .header .logo {
    width: 132px;
    height: 52px;
  }

  .header__actions {
    gap: .42rem;
  }

  .header__actions .language-switcher__trigger {
    min-width: 62px;
    height: 38px;
    padding-inline: .5rem;
    gap: .35rem;
  }

  .header__actions .language-switcher__globe {
    display: none;
  }

  .header__actions .theme-toggle {
    width: 38px;
    height: 38px;
  }

  .burger {
    width: 25px;
  }

  .car-card__body, .reserve-card, .booking-card, .contact-form, .location-card, .hours-card {
    padding: 1.4rem 1.1rem;
  }

  .reserve-specs-grid {
    grid-template-columns: 1fr;
  }

  .car-card__foot {
    flex-direction: column;
    align-items: flex-start;
    gap: .8rem;
  }
  .car-card__foot .btn {
    width: 100%;
    justify-content: center;
    padding: .65rem 1rem;
    background: var(--accent);
    color: #ffffff;
    border-radius: var(--radius-sm);
  }
  .car-card__foot .btn .arrow {
    stroke: #ffffff;
  }
}


/* =============================================
   CUSTOM THEMED CALENDAR BOX (Warm Sand & Dark Theme)
   ============================================= */

.date-picker-wrap {
  position: relative;
  margin-bottom: .5rem;
}

.custom-date-trigger {
  display: flex;
  align-items: center;
  gap: .85rem;
  background: var(--bg-2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .75rem 1rem;
  cursor: pointer;
  transition: all .2s var(--ease);
  user-select: none;
}
.custom-date-trigger:hover, .custom-date-trigger:focus-visible {
  border-color: var(--accent);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  outline: none;
}
.custom-date-trigger.is-active {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
  background: #ffffff;
}
:root[data-theme="dark"] .custom-date-trigger:hover,
:root[data-theme="dark"] .custom-date-trigger:focus-visible,
:root[data-theme="dark"] .custom-date-trigger.is-active {
  background: #24221f;
}

.date-icon {
  color: var(--accent);
  flex-shrink: 0;
}
.date-trigger-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.date-trigger-label {
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-muted);
}
.date-trigger-val {
  font-family: var(--font-h);
  font-size: .95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: .15rem;
}

/* Calendar Popover Box */
.custom-calendar-box {
  display: none;
  position: absolute;
  top: 100%; left: 0; right: 0;
  z-index: 120;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
  padding: 1.4rem;
  margin-top: .6rem;
  animation: calFadeIn .2s var(--ease-out);
}
.custom-calendar-box.is-open {
  display: block;
}

@keyframes calFadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

:root[data-theme="dark"] .custom-calendar-box {
  background: var(--bg-card);
  border-color: var(--border);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

/* Calendar Header */
.cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
  padding-bottom: .8rem;
  border-bottom: 1px solid var(--border);
}
.cal-title {
  font-family: var(--font-h);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
  text-transform: capitalize;
}
.cal-nav-btn {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-2);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .2s;
}
.cal-nav-btn:hover {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}
.cal-nav-btn:disabled,
.cal-nav-btn[aria-disabled="true"],
.cal-nav-btn.is-disabled {
  opacity: .25;
  cursor: not-allowed;
  pointer-events: none;
  background: var(--bg-2) !important;
  color: var(--text-muted) !important;
  border-color: var(--border) !important;
}

/* Weekdays */
.cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  margin-bottom: .6rem;
}
.cal-weekdays span {
  font-family: var(--font-h);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: .06em;
}

/* Days Grid */
.cal-days-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}
.cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-h);
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-primary);
  border-radius: 6px;
  cursor: pointer;
  position: relative;
  transition: all .15s var(--ease);
  user-select: none;
}
.cal-day:hover:not(.cal-day--empty):not(.cal-day--disabled) {
  background: var(--accent-soft);
  color: var(--accent);
}
.cal-day--empty {
  cursor: default;
  pointer-events: none;
}
.cal-day--disabled,
.cal-day--past {
  opacity: .25;
  cursor: not-allowed !important;
  pointer-events: none !important;
  color: var(--text-muted) !important;
  background: transparent !important;
  text-decoration: line-through;
}
.cal-day--today::after {
  content: '';
  position: absolute;
  bottom: 4px;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--accent);
}
.cal-day--selected-start {
  background: var(--accent) !important;
  color: #ffffff !important;
  font-weight: 800;
  border-radius: 8px 0 0 8px;
}
.cal-day--selected-end {
  background: var(--accent) !important;
  color: #ffffff !important;
  font-weight: 800;
  border-radius: 0 8px 8px 0;
}
.cal-day--selected-single {
  background: var(--accent) !important;
  color: #ffffff !important;
  font-weight: 800;
  border-radius: 8px !important;
}
.cal-day--in-range {
  background: var(--accent-soft) !important;
  color: var(--accent) !important;
  border-radius: 0 !important;
  font-weight: 700;
}

/* Presets */
.cal-presets {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1rem;
  padding-top: .8rem;
  border-top: 1px solid var(--border);
}
.cal-presets-label {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
}
.cal-preset-btn {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: .3rem .75rem;
  font-size: .75rem;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all .2s;
}
.cal-preset-btn:hover {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

/* Footer */
.cal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  padding-top: .8rem;
  border-top: 1px solid var(--border);
}
.cal-status {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--accent);
}

@media (max-width: 640px) {
  .custom-calendar-box {
    position: fixed;
    top: auto; bottom: 0; left: 0; right: 0;
    border-radius: 20px 20px 0 0;
    max-height: 85vh;
    overflow-y: auto;
    z-index: 1000;
    padding: 1.5rem 1.2rem calc(1.5rem + env(safe-area-inset-bottom, 0px));
  }
}


.reserve-page-wrap .breadcrumb-nav {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}

/* Mobile navigation: large type and a clear current-page state, inspired by
   21st.dev's vertical menu pattern. */
@media (max-width: 768px) {
  .mob-nav,
  :root[data-theme="dark"] .mob-nav {
    display: flex;
    height: calc(100dvh - var(--header-h));
    padding: clamp(1.3rem, 4.5vh, 2.4rem) max(1.15rem, env(safe-area-inset-left)) calc(1.2rem + env(safe-area-inset-bottom));
    gap: 0;
    background: var(--bg);
    border: 0;
    box-shadow: 0 24px 60px rgba(28, 25, 23, .16);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    scrollbar-width: none;
    transition: opacity .28s var(--ease-out), transform .38s var(--ease-out), visibility .38s;
  }
  .mob-nav::-webkit-scrollbar { display: none; }
  .mob-nav.open,
  :root[data-theme="dark"] .mob-nav.open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    animation: none;
  }
  .mob-nav__intro {
    padding: 0 .35rem clamp(1.2rem, 3vh, 1.8rem);
    text-align: start;
  }
  .mob-nav__eyebrow {
    display: block;
    margin-bottom: .55rem;
    color: var(--accent);
    font-family: var(--font-h);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
  }
  .mob-nav__title {
    max-width: 100%;
    color: var(--text-primary);
    font-family: var(--font-h);
    font-size: clamp(1.55rem, 5.4vw, 2.2rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -.035em;
  }
  .mob-nav > .mob-nav__link {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-height: clamp(68px, 10vh, 86px);
    margin-bottom: .45rem;
    padding: .7rem 1rem;
    border: 1px solid transparent;
    border-radius: 12px;
    color: var(--text-primary);
    font-size: clamp(1.35rem, 5vw, 1.85rem);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -.035em;
    transition: color .2s, background .2s, border-color .2s, transform .25s var(--ease-out);
  }
  .mob-nav > .mob-nav__link::after {
    content: '↗';
    display: grid;
    place-items: center;
    flex: 0 0 2.4rem;
    width: 2.4rem;
    height: 2.4rem;
    margin-inline-start: auto;
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--accent);
    font-family: var(--font-b);
    font-size: 1.2rem;
    font-weight: 400;
    transition: transform .25s var(--ease-out), background .25s, color .25s;
  }
  .mob-nav > .mob-nav__link:hover,
  .mob-nav > .mob-nav__link:focus-visible {
    background: var(--bg-2);
    transform: translateX(3px);
  }
  .mob-nav > .mob-nav__link:hover::after,
  .mob-nav > .mob-nav__link:focus-visible::after { transform: rotate(45deg); }
  .mob-nav > .mob-nav__link[aria-current="page"] {
    background: var(--accent-soft);
    border-color: color-mix(in srgb, var(--accent) 24%, transparent);
    color: var(--accent);
  }
  .mob-nav > .mob-nav__link[aria-current="page"]::after {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--bg-card);
  }
  .mob-nav__footer {
    margin-top: auto;
    padding: clamp(1rem, 2vh, 1.4rem) .35rem 0;
    border-top: 1px solid var(--border);
  }
  .mob-nav__note {
    margin-bottom: .8rem;
    color: var(--text-secondary);
    font-size: .88rem;
  }
  .mob-nav .mob-nav__action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 52px;
    padding: .7rem 1rem;
    border: 0;
    border-radius: 9px;
    background: var(--accent);
    color: #fff;
    font-size: .95rem;
    font-weight: 700;
    transition: background .2s, transform .2s;
  }
  .mob-nav .mob-nav__action:hover,
  .mob-nav .mob-nav__action:focus-visible {
    background: var(--accent-h);
    transform: translateY(-2px);
  }
  .mob-nav .mob-nav__action span:last-child { font-size: 1.3rem; font-weight: 400; }
  html[dir="rtl"] .mob-nav { direction: rtl; }
  html[dir="rtl"] .mob-nav__eyebrow,
  html[dir="rtl"] .mob-nav__title,
  html[dir="rtl"] .mob-nav__link,
  html[dir="rtl"] .mob-nav__action { font-family: var(--font-ar-h); letter-spacing: 0; }
  html[dir="rtl"] .mob-nav__title { max-width: none; line-height: 1.5; }
  html[dir="rtl"] .mob-nav > .mob-nav__link:hover,
  html[dir="rtl"] .mob-nav > .mob-nav__link:focus-visible { transform: translateX(-3px); }
  html[dir="rtl"] .mob-nav > .mob-nav__link::after { transform: scaleX(-1); }
  html[dir="rtl"] .mob-nav > .mob-nav__link:hover::after,
  html[dir="rtl"] .mob-nav > .mob-nav__link:focus-visible::after { transform: scaleX(-1) rotate(45deg); }
}
@media (max-width: 768px) and (max-height: 650px) {
  .mob-nav { padding-top: 1rem; }
  .mob-nav__intro { padding-bottom: .5rem; }
  .mob-nav > .mob-nav__link { min-height: 56px; }
  .mob-nav__footer { margin-top: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .mob-nav,
  .mob-nav > .mob-nav__link,
  .mob-nav > .mob-nav__link::after { transition: none; }
}

/* --------------------------------------------------------------------------
   Server-rendered SEO pages: city and vehicle landing pages
   -------------------------------------------------------------------------- */
.seo-page-body {
  --surface: #f3ede4;
  --card: #fffdf9;
  background: var(--bg, #f8f5ef);
  color: var(--text-primary, #27231e);
  font-family: var(--font-b, "DM Sans", system-ui, sans-serif);
}
:root[data-theme="dark"] .seo-page-body { --surface: #1d1b19; --card: #252320; }
:root[data-theme="dark"] .seo-callout { background: #292521; }
.seo-site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bg, #f8f5ef);
  background: color-mix(in srgb, var(--bg, #f8f5ef) 94%, transparent);
  border-bottom: 1px solid var(--border, #ded7cd);
  backdrop-filter: blur(14px);
}
.seo-site-header__inner,
.seo-site-footer__inner,
.seo-container {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}
.seo-site-header__inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}
.seo-site-header__brand {
  display: block;
  width: 174px;
  height: 58px;
  flex: none;
  text-decoration: none;
}
.seo-site-header__logo { display: block; width: 100%; height: 100%; object-fit: cover; }
.seo-site-header__logo--dark { display: none; }
:root[data-theme="dark"] .seo-site-header__logo--light { display: none; }
:root[data-theme="dark"] .seo-site-header__logo--dark { display: block; }
.seo-site-header__actions { display: flex; align-items: center; gap: .7rem; }
.seo-site-header__actions .theme-toggle { z-index: 1; }
.seo-language-switcher { position: relative; direction: ltr; }
.seo-language-switcher summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  min-width: 78px;
  height: 42px;
  padding: 0 .6rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-card);
  color: var(--text-primary);
  box-shadow: 0 5px 18px rgba(30, 25, 21, .07);
  cursor: pointer;
  font-family: var(--font-h);
  font-size: .74rem;
  font-weight: 800;
  list-style: none;
}
.seo-language-switcher summary::-webkit-details-marker { display: none; }
.seo-language-switcher summary:hover,
.seo-language-switcher[open] summary { border-color: var(--accent); }
.seo-language-switcher summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.seo-language-switcher summary svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.seo-language-switcher summary svg:last-child { width: 12px; height: 12px; transition: transform .2s; }
.seo-language-switcher[open] summary svg:last-child { transform: rotate(180deg); }
.seo-language-switcher__menu {
  position: absolute;
  top: calc(100% + .55rem);
  right: 0;
  z-index: 50;
  width: 188px;
  display: grid;
  gap: .2rem;
  padding: .45rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg-card);
  box-shadow: 0 18px 48px rgba(25, 20, 17, .18);
}
html[dir="rtl"] .seo-language-switcher__menu { right: auto; left: 0; }
.seo-language-switcher__menu a {
  display: grid;
  grid-template-columns: 28px 1fr 14px;
  align-items: center;
  gap: .5rem;
  min-height: 42px;
  padding: .5rem .65rem;
  border-radius: 9px;
  color: var(--text-secondary);
  font-size: .8rem;
  text-decoration: none;
}
.seo-language-switcher__menu a > span,
.seo-language-switcher__menu a > i { color: var(--accent); font-size: .7rem; font-style: normal; font-weight: 800; }
.seo-language-switcher__menu a:hover,
.seo-language-switcher__menu a:focus-visible,
.seo-language-switcher__menu a[aria-current="page"] { background: var(--accent-soft); color: var(--text-primary); }
.seo-site-header nav { display: flex; align-items: center; gap: 1rem; }
.seo-site-header nav a {
  color: var(--text-secondary, #645e57);
  font-size: .92rem;
  font-weight: 600;
  text-decoration: none;
}
.seo-site-header nav a:hover,
.seo-site-header nav a:focus-visible,
.seo-site-footer a:hover,
.seo-site-footer a:focus-visible,
.seo-link-list a:hover,
.seo-vehicle-card a:hover { color: var(--accent, #c2703e); }
.seo-language-nav { align-items: center; display: flex; gap: .35rem; }
.seo-language-nav a { border: 1px solid var(--border, #ded7cd); border-radius: 999px; color: var(--text-secondary, #645e57); font-size: .7rem; font-weight: 800; letter-spacing: .04em; padding: .32rem .48rem; text-decoration: none; }
.seo-language-nav a[aria-current="page"] { background: var(--text-primary, #27231e); border-color: var(--text-primary, #27231e); color: #fff; }
.seo-site-header__cta {
  border-radius: 999px;
  background: var(--accent, #c2703e);
  color: #fff;
  font-size: .88rem;
  font-weight: 700;
  padding: .68rem 1rem;
  text-decoration: none;
  white-space: nowrap;
}
.seo-site-header__cta:hover,
.seo-site-header__cta:focus-visible { background: var(--accent-dark, #9c4e25); color: #fff; }
.seo-hero {
  padding: clamp(4.5rem, 9vw, 7.5rem) 0 clamp(3.5rem, 7vw, 6rem);
  background: radial-gradient(circle at 92% 8%, color-mix(in srgb, var(--accent, #c2703e) 22%, transparent), transparent 34%), var(--surface, #f3ede4);
  border-bottom: 1px solid var(--border, #ded7cd);
}
.seo-hero .seo-container { max-width: 880px; margin-left: max(1.25rem, calc((100% - 1120px) / 2)); }
.seo-eyebrow {
  color: var(--accent, #c2703e);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .13em;
  margin: 0 0 .8rem;
  text-transform: uppercase;
}
.seo-hero h1 {
  color: var(--text-primary, #27231e);
  font-family: var(--font-h, "Outfit", system-ui, sans-serif);
  font-size: clamp(2.35rem, 6vw, 4.7rem);
  letter-spacing: -.055em;
  line-height: .98;
  margin: 0;
  max-width: 900px;
}
.seo-hero > .seo-container > p:not(.seo-eyebrow),
.seo-vehicle-hero > div > p:not(.seo-eyebrow):not(.seo-price):not(.seo-availability) {
  color: var(--text-secondary, #645e57);
  font-size: clamp(1.03rem, 2vw, 1.2rem);
  line-height: 1.7;
  margin: 1.35rem 0 0;
  max-width: 730px;
}
.seo-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.seo-actions .btn { text-decoration: none; }
.seo-section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.seo-section--muted { background: var(--surface, #f3ede4); }
.seo-two-column {
  display: grid;
  gap: clamp(2rem, 6vw, 5rem);
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, .8fr);
  align-items: start;
}
.seo-section h2,
.seo-info-card h2,
.seo-callout h2 {
  color: var(--text-primary, #27231e);
  font-family: var(--font-h, "Outfit", system-ui, sans-serif);
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  letter-spacing: -.035em;
  line-height: 1.08;
  margin: 0 0 1rem;
}
.seo-section p { color: var(--text-secondary, #645e57); line-height: 1.72; }
.seo-info-card,
.seo-callout {
  background: var(--card, #fffdf9);
  border: 1px solid var(--border, #ded7cd);
  border-radius: 20px;
  box-shadow: 0 14px 35px rgba(45, 31, 20, .06);
  padding: clamp(1.4rem, 3vw, 2rem);
}
.seo-info-card h2,
.seo-callout h2 { font-size: 1.35rem; }
.seo-info-card ul { color: var(--text-secondary, #645e57); line-height: 1.7; margin: .85rem 0 0; padding-left: 1.2rem; }
.seo-section-heading { margin-bottom: 2rem; max-width: 720px; }
.seo-section-heading p:last-child { margin-bottom: 0; }
.seo-vehicle-grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.seo-location-grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.seo-location-card {
  background: var(--card, #fffdf9);
  border: 1px solid var(--border, #ded7cd);
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(45, 31, 20, .06);
  overflow: hidden;
}
.seo-location-card__image {
  display: block;
  height: 190px;
  object-fit: cover;
  width: 100%;
}
.seo-location-card__content {
  display: flex;
  flex-direction: column;
  min-height: 245px;
  padding: 1.5rem;
}
.seo-location-card .seo-eyebrow { margin-bottom: .65rem; }
.seo-location-card h2 { font-size: 1.45rem; margin-bottom: .7rem; }
.seo-location-card p:not(.seo-eyebrow) { font-size: .94rem; margin: 0; }
.seo-location-card a { color: var(--text-primary, #27231e); font-size: .9rem; font-weight: 800; margin-top: auto; padding-top: 1rem; text-decoration: underline; text-underline-offset: 3px; }
.seo-vehicle-card {
  overflow: hidden;
  background: var(--card, #fffdf9);
  border: 1px solid var(--border, #ded7cd);
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(45, 31, 20, .06);
}
.seo-vehicle-card img { display: block; height: 190px; object-fit: cover; width: 100%; }
.seo-vehicle-card > div { padding: 1.2rem; }
.seo-vehicle-card p { color: var(--accent, #c2703e); font-size: .78rem; font-weight: 800; letter-spacing: .08em; margin: 0 0 .35rem; text-transform: uppercase; }
.seo-vehicle-card h3 { font-family: var(--font-h, "Outfit", system-ui, sans-serif); font-size: 1.28rem; margin: 0; }
.seo-vehicle-card strong { display: block; font-size: .92rem; margin-top: .7rem; }
.seo-vehicle-card a { color: var(--text-primary, #27231e); display: inline-block; font-size: .9rem; font-weight: 800; margin-top: 1rem; text-decoration: underline; text-underline-offset: 3px; }
.seo-center { text-align: center; margin: 2rem 0 0; }
.seo-faq { border-bottom: 1px solid var(--border, #ded7cd); padding: .9rem 0; }
.seo-faq:first-of-type { border-top: 1px solid var(--border, #ded7cd); }
.seo-faq summary { color: var(--text-primary, #27231e); cursor: pointer; font-weight: 800; list-style-position: outside; padding-right: 1rem; }
.seo-faq p { margin: .7rem 0 .15rem; }
.seo-updated { margin: 1.2rem 0 0; color: var(--text-secondary, #625d57); font-size: .85rem; }
.seo-callout { background: var(--text-primary, #27231e); border: 0; }
.seo-callout h2,
.seo-callout p { color: #fff; }
.seo-callout p { opacity: .8; }
.seo-callout .btn--fill { background: var(--accent, #c2703e); color: #fff; text-decoration: none; }
.seo-hero--vehicle { padding-block: clamp(3rem, 7vw, 5.5rem); }
.seo-hero--vehicle .seo-container { width: min(1560px, calc(100% - 2.5rem)); max-width: none; margin-inline: auto; }
.seo-vehicle-hero { align-items: center; display: grid; gap: clamp(2rem, 5vw, 5rem); grid-template-columns: minmax(0, .95fr) minmax(0, 1.6fr); }
.seo-vehicle-hero img,
.seo-vehicle-hero__video { display: block; border-radius: 22px; box-shadow: 0 20px 45px rgba(45, 31, 20, .15); height: auto; max-height: 450px; object-fit: cover; width: 100%; }
.seo-vehicle-hero__video { aspect-ratio: auto; height: clamp(360px, 33vw, 560px); max-height: none; pointer-events: none; }
.seo-price { color: var(--text-primary, #27231e); font-size: 1rem; margin: 1.2rem 0 0; }
.seo-price strong { color: var(--accent, #c2703e); font-family: var(--font-h, "Outfit", system-ui, sans-serif); font-size: 1.75rem; }
.seo-availability { color: var(--text-secondary, #645e57); font-size: .9rem; font-weight: 700; margin: .35rem 0 0; }
.seo-specs { display: grid; gap: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 1.15rem 0 2.5rem; }
.seo-specs div,
.seo-conditions div { border-bottom: 1px solid var(--border, #ded7cd); padding: .85rem .9rem .85rem 0; }
.seo-specs dt,
.seo-conditions dt { color: var(--text-muted, #837a70); font-size: .77rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.seo-specs dd,
.seo-conditions dd { color: var(--text-primary, #27231e); font-weight: 700; line-height: 1.45; margin: .25rem 0 0; }
.seo-feature-list { color: var(--text-secondary, #645e57); display: grid; gap: .55rem; line-height: 1.5; margin: 1rem 0 0; padding-left: 1.25rem; }
.seo-conditions { margin: 0; }
.seo-link-list { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.25rem; }
.seo-link-list a { border: 1px solid var(--border, #ded7cd); border-radius: 999px; color: var(--text-primary, #27231e); font-size: .88rem; font-weight: 700; padding: .55rem .8rem; text-decoration: none; }
.seo-related-list { margin: 0 0 1.25rem; padding-left: 1.15rem; }
.seo-related-list li { margin-bottom: .55rem; }
.seo-related-list a { color: #fff; font-weight: 700; text-underline-offset: 3px; }
.seo-site-footer { background: #211d19; color: #fff; padding: 2.5rem 0; }
.seo-site-footer__inner { align-items: center; display: grid; gap: 1.5rem; grid-template-columns: 1.2fr 1fr auto; }
.seo-site-footer strong { font-family: var(--font-h, "Outfit", system-ui, sans-serif); letter-spacing: .06em; }
.seo-site-footer p { color: rgba(255,255,255,.65); margin: .35rem 0 0; }
.seo-site-footer nav { display: flex; flex-wrap: wrap; gap: .75rem 1rem; }
.seo-site-footer a { color: #fff; font-size: .88rem; text-decoration: none; }
.seo-site-footer__contact { display: grid; gap: .45rem; justify-items: end; text-align: right; }
html[dir="rtl"] .seo-page-body { font-family: "Noto Sans Arabic", var(--font-b, system-ui, sans-serif); }
html[dir="rtl"] .seo-page-body h1,
html[dir="rtl"] .seo-page-body h2,
html[dir="rtl"] .seo-page-body h3,
html[dir="rtl"] .seo-page-body strong { font-family: "Noto Kufi Arabic", var(--font-h, system-ui, sans-serif); letter-spacing: 0; }
html[dir="rtl"] .seo-info-card ul,
html[dir="rtl"] .seo-feature-list,
html[dir="rtl"] .seo-related-list { padding-left: 0; padding-right: 1.25rem; }
html[dir="rtl"] .seo-site-footer__contact { justify-items: start; text-align: right; }
@media (max-width: 850px) {
  .seo-site-header__inner { min-height: auto; padding-block: .9rem; flex-wrap: wrap; }
  .seo-site-header nav { order: 3; width: 100%; justify-content: space-between; }
  .seo-site-header__actions { margin-inline-start: auto; }
  .seo-two-column,
  .seo-vehicle-hero,
  .seo-site-footer__inner { grid-template-columns: 1fr; }
  .seo-site-footer__contact { justify-items: start; text-align: left; }
  .seo-vehicle-hero__video { aspect-ratio: 2.35 / 1; height: auto; }
  .seo-vehicle-grid,
  .seo-location-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .seo-site-header__inner,
  .seo-site-footer__inner,
  .seo-container { width: min(100% - 1.5rem, 1120px); }
  .seo-site-header nav { gap: .55rem; overflow-x: auto; padding-bottom: .15rem; }
  .seo-site-header nav a { font-size: .82rem; white-space: nowrap; }
  .seo-site-header__brand { width: 155px; height: 52px; }
  .seo-site-header__actions { gap: .5rem; }
  .seo-site-header__cta { display: none; }
  .seo-hero--vehicle .seo-container { width: min(100% - 1.5rem, 1280px); }
  .seo-vehicle-grid,
  .seo-location-grid,
  .seo-specs { grid-template-columns: 1fr; }
  .seo-vehicle-card img { height: 205px; }
}
