/* ==========================================================================
   SALMOH RENT CAR — DRIVEX 2026
   White / black / red premium car-rental design system.
   Loaded last. Overrides the legacy dark + ivory themes.
   Mobile-first, flat 2D only (no perspective / 3D transforms).
   ========================================================================== */

:root {
  --dx-red: #E11D2E;
  --dx-red-dark: #B3122A;
  --dx-red-deep: #7A0C1B;
  --dx-red-soft: #FDECEE;
  --dx-gold: #D2A73C;
  --dx-gold-deep: #B4881F;
  --dx-black: #0B0B0C;
  --dx-ink: #171719;
  --dx-muted: #6B6B70;
  --dx-muted-2: #8A8A90;
  --dx-line: #E7E4DE;
  --dx-line-strong: #D8D4CC;
  --dx-bg: #F6F4F0;
  --dx-white: #FFFFFF;
  --dx-cream: #FBF9F5;
  --dx-radius: 18px;
  --dx-radius-lg: 26px;
  --dx-shadow: 0 24px 60px -32px rgba(11, 11, 12, 0.28);
  --dx-shadow-soft: 0 14px 36px -24px rgba(11, 11, 12, 0.22);
  --dx-font: "Outfit", "Cairo", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --dx-transition: 220ms cubic-bezier(0.2, 0.7, 0.3, 1);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  background: var(--dx-white) !important;
  color: var(--dx-ink) !important;
  font-family: var(--dx-font) !important;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body,
button,
input,
select,
textarea {
  font-family: var(--dx-font);
}

html[dir="rtl"] body {
  font-family: "Cairo", "Outfit", sans-serif;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

::selection {
  background: var(--dx-red);
  color: #fff;
}

/* --------------------------------------------------------------------------
   1. Shared shell
   -------------------------------------------------------------------------- */

.container {
  width: min(1240px, calc(100% - 3rem));
  margin-inline: auto;
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 1.5rem, 1240px);
  }
}

.dx-section {
  padding: clamp(3.5rem, 7vw, 6.5rem) 0;
}

.dx-section--tight {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.dx-section--cream {
  background: var(--dx-bg);
}

.dx-section--white {
  background: var(--dx-white);
}

.dx-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--dx-red);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.dx-eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--dx-red);
  border-radius: 99px;
}

.dx-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(1.8rem, 3vw, 2.8rem);
}

.dx-section-head--center {
  display: block;
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
}

.dx-title {
  color: var(--dx-black);
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.02;
  margin: 0.55rem 0 0;
}

.dx-title em,
.dx-title .dx-red {
  color: var(--dx-red);
  font-style: normal;
}

.dx-sub {
  color: var(--dx-muted);
  font-size: clamp(0.95rem, 1.2vw, 1.08rem);
  line-height: 1.7;
  max-width: 620px;
  margin: 0.9rem 0 0;
}

.dx-section-head--center .dx-sub {
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   2. Header / navigation
   -------------------------------------------------------------------------- */

.luxe-topbar {
  background: var(--dx-black) !important;
  color: #fff !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  min-height: 34px;
}

.luxe-topbar-inner {
  min-height: 34px;
  gap: 1rem;
  font-size: 0.74rem;
}

.luxe-topbar-offer {
  color: rgba(255, 255, 255, 0.78) !important;
  letter-spacing: 0.01em;
}

.luxe-topbar-offer i {
  color: var(--dx-red) !important;
}

.luxe-topbar-links a {
  color: rgba(255, 255, 255, 0.82) !important;
  font-weight: 600;
}

.luxe-topbar-links a:hover {
  color: #fff !important;
}

.luxe-topbar-links i {
  color: var(--dx-red) !important;
}

.site-header {
  position: sticky !important;
  top: 0;
  z-index: 900;
  background: rgba(255, 255, 255, 0.94) !important;
  border-bottom: 1px solid var(--dx-line) !important;
  box-shadow: none !important;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: box-shadow var(--dx-transition), background var(--dx-transition);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98) !important;
  box-shadow: 0 12px 30px -24px rgba(11, 11, 12, 0.3) !important;
}

.nav-container {
  min-height: 76px;
  gap: 1.5rem;
}

.brand-logo {
  gap: 0.7rem;
  text-decoration: none;
}

.brand-logo .logo-img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 10px;
  background: var(--dx-black);
  padding: 3px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-name {
  color: var(--dx-black) !important;
  font-size: 1.22rem !important;
  font-weight: 900 !important;
  letter-spacing: -0.04em !important;
}

.brand-sub {
  color: var(--dx-muted) !important;
  font-size: 0.56rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.17em !important;
  margin-top: 0.3rem;
}

.nav-links {
  gap: clamp(1rem, 2vw, 1.8rem) !important;
}

.nav-link {
  position: relative;
  color: var(--dx-ink) !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  padding: 0.35rem 0 !important;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--dx-red);
  border-radius: 99px;
  transition: width var(--dx-transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--dx-red) !important;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-controls {
  gap: 0.7rem !important;
}

.lang-btn {
  background: var(--dx-bg) !important;
  border: 1px solid var(--dx-line) !important;
  color: var(--dx-ink) !important;
  border-radius: 10px !important;
  min-height: 42px;
  padding: 0 0.8rem !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
}

.lang-btn:hover {
  border-color: var(--dx-red) !important;
  color: var(--dx-red) !important;
}

.lang-dropdown {
  background: #fff !important;
  border: 1px solid var(--dx-line) !important;
  box-shadow: var(--dx-shadow) !important;
  border-radius: 14px !important;
  overflow: hidden;
}

.lang-option {
  color: var(--dx-ink) !important;
  font-size: 0.86rem !important;
  font-weight: 600;
  padding: 0.7rem 0.9rem !important;
}

.lang-option:hover,
.lang-option.active {
  background: var(--dx-red-soft) !important;
  color: var(--dx-red) !important;
}

.btn-whatsapp-nav,
.site-header .btn-primary {
  background: var(--dx-black) !important;
  color: #fff !important;
  border: 1px solid var(--dx-black) !important;
  border-radius: 11px !important;
  min-height: 44px;
  padding: 0 1.15rem !important;
  font-size: 0.84rem !important;
  font-weight: 700 !important;
  box-shadow: none !important;
}

.btn-whatsapp-nav:hover,
.site-header .btn-primary:hover {
  background: var(--dx-red) !important;
  border-color: var(--dx-red) !important;
  color: #fff !important;
  transform: translateY(-1px);
}

.menu-toggle-btn {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 11px;
  border: 1px solid var(--dx-line);
  background: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle-btn .bar {
  width: 20px;
  height: 2px;
  background: var(--dx-black);
  border-radius: 99px;
  transition: var(--dx-transition);
}

.mobile-drawer {
  background: #fff !important;
  color: var(--dx-ink) !important;
}

.drawer-header {
  border-bottom: 1px solid var(--dx-line) !important;
}

.drawer-close-btn {
  color: var(--dx-black) !important;
}

.drawer-link {
  color: var(--dx-ink) !important;
  border-bottom: 1px solid var(--dx-line) !important;
  font-weight: 700 !important;
}

.drawer-link.active,
.drawer-link:hover {
  color: var(--dx-red) !important;
}

.d-lang-btn {
  background: var(--dx-bg) !important;
  border: 1px solid var(--dx-line) !important;
  color: var(--dx-ink) !important;
  border-radius: 9px !important;
  font-weight: 700;
}

.d-lang-btn.active {
  background: var(--dx-black) !important;
  border-color: var(--dx-black) !important;
  color: #fff !important;
}

/* --------------------------------------------------------------------------
   3. Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border-radius: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  text-decoration: none;
  transition: background var(--dx-transition), color var(--dx-transition),
    border-color var(--dx-transition), transform var(--dx-transition),
    box-shadow var(--dx-transition);
}

.btn-primary,
.btn-red-action,
.btn-card-wa,
.btn-search-trigger {
  background: var(--dx-black) !important;
  border: 1px solid var(--dx-black) !important;
  color: #fff !important;
  box-shadow: none !important;
}

.btn-primary:hover,
.btn-red-action:hover,
.btn-card-wa:hover,
.btn-search-trigger:hover {
  background: var(--dx-red) !important;
  border-color: var(--dx-red) !important;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 12px 26px -18px rgba(225, 29, 46, 0.7) !important;
}

.btn-secondary {
  background: #fff !important;
  border: 1px solid var(--dx-line-strong) !important;
  color: var(--dx-black) !important;
  box-shadow: none !important;
}

.btn-secondary:hover {
  border-color: var(--dx-black) !important;
  color: var(--dx-black) !important;
  background: var(--dx-cream) !important;
}

.btn-lg {
  min-height: 52px;
  padding: 0 1.5rem !important;
  font-size: 0.92rem !important;
}

.btn-block {
  width: 100%;
}

.dx-btn-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  font-size: 0.7rem;
}

/* --------------------------------------------------------------------------
   4. Hero
   -------------------------------------------------------------------------- */

.dx-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 18%, rgba(225, 29, 46, 0.08) 0%, transparent 34%),
    linear-gradient(180deg, #fff 0%, #fbfaf7 100%);
  padding: clamp(2.6rem, 5vw, 5.2rem) 0 clamp(2rem, 4vw, 3.4rem);
}

.dx-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(11, 11, 12, 0.055) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 72%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 72%);
  pointer-events: none;
}

.dx-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: clamp(2rem, 4vw, 4rem);
}

.dx-hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.dx-hero-title {
  color: var(--dx-black);
  font-size: clamp(2.7rem, 5.2vw, 5.1rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 0.96;
  margin: 0.9rem 0 0;
}

.dx-hero-title .dx-red {
  color: var(--dx-red);
}

.dx-hero-title .dx-outline {
  display: inline-block;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(11, 11, 12, 0.28);
  letter-spacing: -0.04em;
}

.dx-hero-text {
  color: var(--dx-muted);
  font-size: clamp(0.98rem, 1.25vw, 1.12rem);
  line-height: 1.75;
  max-width: 560px;
  margin: 1.25rem 0 0;
}

.dx-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.7rem;
}

.dx-hero-stats {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-top: clamp(2rem, 4vw, 3.2rem);
  border-top: 1px solid var(--dx-line);
  padding-top: 1.4rem;
  max-width: 560px;
}

.dx-stat {
  flex: 1;
  padding-inline: 1.1rem;
  border-inline-start: 1px solid var(--dx-line);
}

.dx-stat:first-child {
  padding-inline-start: 0;
  border-inline-start: 0;
}

.dx-stat strong {
  display: block;
  color: var(--dx-black);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
}

.dx-stat span {
  display: block;
  color: var(--dx-muted);
  font-size: 0.72rem;
  font-weight: 600;
  margin-top: 0.4rem;
}

.dx-hero-media {
  position: relative;
  z-index: 1;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dx-hero-media::before {
  content: "";
  position: absolute;
  inset: 12% -4% 8% 10%;
  background: linear-gradient(135deg, var(--dx-red) 0%, var(--dx-red-dark) 55%, var(--dx-red-deep) 100%);
  clip-path: polygon(18% 0, 100% 0, 100% 82%, 82% 100%, 0 100%, 0 24%);
  border-radius: 26px;
  opacity: 0.96;
}

.dx-hero-media::after {
  content: "SALMOH";
  position: absolute;
  right: -2%;
  bottom: 0;
  color: rgba(11, 11, 12, 0.055);
  font-size: clamp(4.5rem, 10vw, 9rem);
  font-weight: 900;
  letter-spacing: -0.07em;
  line-height: 0.75;
  pointer-events: none;
  z-index: 0;
}

.dx-hero-photo {
  position: relative;
  z-index: 2;
  width: min(100%, 610px);
  aspect-ratio: 1.28 / 1;
  object-fit: cover;
  object-position: center;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 40px 80px -38px rgba(11, 11, 12, 0.6);
}

.dx-hero-float {
  position: absolute;
  z-index: 3;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 14px;
  box-shadow: var(--dx-shadow);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.dx-hero-float--top {
  top: 6%;
  inset-inline-start: 0;
  padding: 0.7rem 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.dx-hero-float--top i {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--dx-red-soft);
  color: var(--dx-red);
  font-size: 0.85rem;
}

.dx-hero-float--top strong {
  display: block;
  color: var(--dx-black);
  font-size: 0.8rem;
  font-weight: 800;
}

.dx-hero-float--top span {
  display: block;
  color: var(--dx-muted);
  font-size: 0.64rem;
  font-weight: 600;
}

.dx-hero-float--price {
  bottom: 7%;
  inset-inline-end: 0;
  padding: 0.8rem 1rem;
  text-align: center;
}

.dx-hero-float--price strong {
  display: block;
  color: var(--dx-black);
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
}

.dx-hero-float--price span {
  display: block;
  color: var(--dx-muted);
  font-size: 0.62rem;
  font-weight: 600;
  margin-top: 0.25rem;
}

/* --------------------------------------------------------------------------
   5. Search bar
   -------------------------------------------------------------------------- */

.dx-search {
  position: relative;
  z-index: 4;
  margin-top: clamp(2rem, 4vw, 3.2rem);
}

.dx-search-card {
  background: #fff;
  border: 1px solid var(--dx-line);
  border-radius: 18px;
  box-shadow: 0 26px 60px -34px rgba(11, 11, 12, 0.35);
  padding: 1rem;
}

.dx-search-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr auto;
  gap: 0.6rem;
  align-items: end;
}

.dx-search-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.dx-search-field label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--dx-muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
}

.dx-search-field label i {
  color: var(--dx-red);
  font-size: 0.7rem;
}

.dx-search-field input,
.dx-search-field select,
.search-input {
  width: 100%;
  min-height: 46px;
  background: var(--dx-bg) !important;
  border: 1px solid transparent !important;
  border-radius: 10px !important;
  color: var(--dx-ink) !important;
  font-size: 0.86rem !important;
  font-weight: 600 !important;
  padding: 0 0.8rem !important;
  outline: none;
}

.dx-search-field input:focus,
.dx-search-field select:focus,
.search-input:focus {
  border-color: var(--dx-red) !important;
  background: #fff !important;
  box-shadow: 0 0 0 3px rgba(225, 29, 46, 0.1) !important;
}

.dx-search-btn {
  min-height: 46px;
  padding: 0 1.2rem !important;
  border-radius: 10px !important;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   6. Category cards
   -------------------------------------------------------------------------- */

.dx-cats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.dx-cat-card {
  position: relative;
  display: block;
  min-height: 300px;
  border-radius: 18px;
  overflow: hidden;
  background: var(--dx-black);
  text-decoration: none;
  isolation: isolate;
}

.dx-cat-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.2, 0.7, 0.3, 1), filter 600ms;
}

.dx-cat-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 11, 12, 0.08) 0%, rgba(11, 11, 12, 0.72) 100%);
  z-index: 1;
}

.dx-cat-card:hover img {
  transform: scale(1.045);
  filter: saturate(1.08);
}

.dx-cat-content {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 1.3rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.dx-cat-tag {
  display: inline-block;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.8;
  margin-bottom: 0.35rem;
}

.dx-cat-content h3 {
  color: #fff;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0;
}

.dx-cat-content p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8rem;
  margin: 0.45rem 0 0;
  max-width: 220px;
  line-height: 1.5;
}

.dx-cat-arrow {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 0.8rem;
  transition: background var(--dx-transition), transform var(--dx-transition);
}

.dx-cat-card:hover .dx-cat-arrow {
  background: var(--dx-red);
  border-color: var(--dx-red);
  transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   7. Fleet cards
   -------------------------------------------------------------------------- */

.dx-fleet-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.8rem;
}

.dx-fleet-head .dx-title {
  margin-top: 0.4rem;
}

.dx-fleet-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--dx-black);
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid var(--dx-black);
  padding-bottom: 0.15rem;
  white-space: nowrap;
}

.dx-fleet-link:hover {
  color: var(--dx-red);
  border-color: var(--dx-red);
}

.fleet-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 1rem !important;
}

/* The fleet must always be visible: the legacy scroll-reveal script must not
   leave the homepage grid hidden if the observer is delayed or fails. */
#fleetGrid {
  opacity: 1 !important;
  transform: none !important;
}

.fleet-grid .car-card {
  display: flex;
  flex-direction: column;
  background: #fff !important;
  border: 1px solid var(--dx-line) !important;
  border-radius: 16px !important;
  overflow: hidden;
  box-shadow: none !important;
  transform: none !important;
  transition: border-color var(--dx-transition), box-shadow var(--dx-transition),
    transform var(--dx-transition);
  will-change: auto !important;
}

.fleet-grid .car-card:hover {
  border-color: rgba(225, 29, 46, 0.38) !important;
  box-shadow: 0 20px 46px -30px rgba(11, 11, 12, 0.4) !important;
  transform: translateY(-3px) !important;
}

.fleet-grid .car-card-img-wrap {
  position: relative;
  height: auto !important;
  aspect-ratio: 1.5 / 1;
  background: #111 !important;
  overflow: hidden;
  perspective: none !important;
}

.fleet-grid .car-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.2, 0.7, 0.3, 1);
  filter: none !important;
}

.fleet-grid .car-card:hover .car-card-img {
  transform: scale(1.04);
}

.fleet-grid .car-card-tags {
  position: absolute;
  top: 0.7rem;
  inset-inline-start: 0.7rem;
  z-index: 2;
}

.fleet-grid .badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(255, 255, 255, 0.94) !important;
  color: var(--dx-black) !important;
  border: 0 !important;
  border-radius: 7px !important;
  padding: 0.32rem 0.5rem !important;
  font-size: 0.6rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.02em;
  text-transform: none !important;
  box-shadow: 0 6px 14px -10px rgba(0, 0, 0, 0.4);
}

.fleet-grid .badge-tag.luxury {
  background: var(--dx-red) !important;
  color: #fff !important;
}

.fleet-grid .badge-tag.sport {
  background: var(--dx-black) !important;
  color: #fff !important;
}

.fleet-grid .car-year-badge {
  position: absolute;
  top: 0.7rem;
  bottom: auto !important;
  inset-inline-end: 0.7rem;
  z-index: 2;
  background: rgba(11, 11, 12, 0.62) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 7px !important;
  padding: 0.3rem 0.45rem !important;
  font-size: 0.62rem !important;
  font-weight: 700 !important;
  backdrop-filter: blur(8px);
}

.fleet-grid .car-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 0.9rem !important;
  gap: 0.7rem;
}

.fleet-grid .car-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  margin: 0 !important;
}

.fleet-grid .car-title {
  color: var(--dx-black) !important;
  font-size: 1rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 !important;
}

.fleet-grid .car-category-sub {
  display: block;
  color: var(--dx-muted) !important;
  font-size: 0.7rem !important;
  font-weight: 500 !important;
  margin-top: 0.2rem;
}

.fleet-grid .car-card-price {
  display: none !important;
}

.fleet-grid .car-specs-grid {
  display: flex !important;
  flex-wrap: wrap;
  gap: 0.4rem 0.75rem !important;
  background: transparent !important;
  border: 0 !important;
  border-top: 1px solid var(--dx-line) !important;
  border-radius: 0 !important;
  padding: 0.65rem 0 0 !important;
  margin: 0 !important;
  backdrop-filter: none !important;
}

.fleet-grid .car-specs-grid .spec-item {
  display: inline-flex !important;
  align-items: center;
  gap: 0.3rem;
  color: var(--dx-muted) !important;
  font-size: 0.7rem !important;
  font-weight: 600 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
}

.fleet-grid .car-specs-grid .spec-item i {
  color: var(--dx-red) !important;
  font-size: 0.68rem !important;
}

.fleet-grid .car-specs-grid .spec-item strong {
  color: var(--dx-muted) !important;
  font-weight: 600 !important;
  font-size: inherit !important;
}

.fleet-grid .car-features-checklist {
  display: none !important;
}

.fleet-grid .car-card-actions {
  margin-top: auto !important;
  padding: 0 !important;
}

.fleet-grid .car-card-actions .btn {
  width: 100%;
  min-height: 38px;
  font-size: 0.74rem !important;
  border-radius: 9px !important;
}

.fleet-grid .car-card-actions .btn i {
  font-size: 0.72rem;
}

/* Price shown in the new footer line */
.dx-card-price-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: auto;
}

.dx-card-price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  color: var(--dx-black);
  white-space: nowrap;
}

.dx-card-price strong {
  font-size: 1.12rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.dx-card-price span {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--dx-muted);
}

.dx-card-price small {
  font-size: 0.62rem;
  color: var(--dx-muted-2);
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   8. Split / why section
   -------------------------------------------------------------------------- */

.dx-split {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.dx-split-media {
  position: relative;
  min-height: 440px;
  border-radius: 24px;
  overflow: hidden;
  background: var(--dx-black);
}

.dx-split-media img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
  display: block;
}

.dx-split-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(11, 11, 12, 0.6) 100%);
}

.dx-split-badge {
  position: absolute;
  z-index: 2;
  inset-inline-start: 1.2rem;
  bottom: 1.2rem;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  padding: 0.75rem 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  box-shadow: var(--dx-shadow);
}

.dx-split-badge i {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--dx-red);
  color: #fff;
  font-size: 0.8rem;
}

.dx-split-badge strong {
  display: block;
  color: var(--dx-black);
  font-size: 0.78rem;
  font-weight: 800;
}

.dx-split-badge span {
  display: block;
  color: var(--dx-muted);
  font-size: 0.64rem;
  font-weight: 600;
}

.dx-feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 1.6rem;
}

.dx-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 0.85rem;
  background: #fff;
  border: 1px solid var(--dx-line);
  border-radius: 13px;
  transition: border-color var(--dx-transition), box-shadow var(--dx-transition);
}

.dx-feature:hover {
  border-color: rgba(225, 29, 46, 0.3);
  box-shadow: var(--dx-shadow-soft);
}

.dx-feature i {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--dx-red-soft);
  color: var(--dx-red);
  font-size: 0.85rem;
}

.dx-feature strong {
  display: block;
  color: var(--dx-black);
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.25;
}

.dx-feature p {
  color: var(--dx-muted);
  font-size: 0.78rem;
  line-height: 1.5;
  margin: 0.2rem 0 0;
}

/* --------------------------------------------------------------------------
   9. Steps
   -------------------------------------------------------------------------- */

.dx-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  position: relative;
}

.dx-step {
  position: relative;
  background: #fff;
  border: 1px solid var(--dx-line);
  border-radius: 16px;
  padding: 1.4rem 1.2rem;
  overflow: hidden;
}

.dx-step::after {
  content: "";
  position: absolute;
  top: 2.4rem;
  inset-inline-end: -1rem;
  width: 2rem;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--dx-line-strong) 0 4px, transparent 4px 8px);
  z-index: 2;
}

.dx-step:last-child::after {
  display: none;
}

.dx-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--dx-red-soft);
  color: var(--dx-red);
  font-size: 0.78rem;
  font-weight: 900;
  margin-bottom: 0.9rem;
}

.dx-step h3 {
  color: var(--dx-black);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 0.35rem;
}

.dx-step p {
  color: var(--dx-muted);
  font-size: 0.8rem;
  line-height: 1.55;
  margin: 0;
}

/* --------------------------------------------------------------------------
   10. Reviews
   -------------------------------------------------------------------------- */

.dx-stars {
  display: flex;
  justify-content: center;
  gap: 0.3rem;
  color: var(--dx-gold);
  font-size: 0.8rem;
}

/* --------------------------------------------------------------------------
   10b. Reviews — testimonial carousel (white cards, gold stars, dot nav)
   -------------------------------------------------------------------------- */

.dx-review-carousel {
  margin-top: 0.25rem;
}

.dx-review-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  min-height: 320px;
}

.dx-review-card {
  flex: 0 0 auto;
  order: 0;
  width: clamp(220px, 25%, 300px);
  background: var(--dx-white);
  border: 1px solid var(--dx-line);
  border-radius: 20px;
  padding: 1.7rem 1.5rem;
  text-align: center;
  box-shadow: 0 16px 34px -26px rgba(11, 11, 12, 0.28);
  cursor: pointer;
  transition: transform 450ms cubic-bezier(0.2, 0.7, 0.3, 1),
    box-shadow 450ms cubic-bezier(0.2, 0.7, 0.3, 1),
    width 450ms cubic-bezier(0.2, 0.7, 0.3, 1);
}

.dx-review-card.is-prev {
  order: 1;
  transform: rotate(-2deg) scale(0.94);
}

.dx-review-card.is-next {
  order: 3;
  transform: rotate(2deg) scale(0.94);
}

.dx-review-card.is-hidden {
  display: none;
}

.dx-review-card.is-active {
  order: 2;
  width: clamp(320px, 44%, 410px);
  padding: 2.3rem 2.1rem;
  border-radius: 26px;
  border-color: transparent;
  box-shadow: 0 34px 70px -32px rgba(11, 11, 12, 0.35);
  cursor: default;
  z-index: 2;
}

.dx-review-card.is-active .dx-stars {
  font-size: 0.95rem;
}

.dx-review-card blockquote {
  margin: 0;
  color: var(--dx-muted);
  font-size: 0.82rem;
  line-height: 1.7;
}

.dx-review-card.is-active blockquote {
  color: var(--dx-ink);
  font-size: 1.04rem;
  font-weight: 600;
  line-height: 1.62;
}

.dx-review-author {
  margin-top: 1.05rem;
  color: var(--dx-gold);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.4;
}

.dx-review-author span::before {
  content: "\2014  ";
}

.dx-review-card.is-active .dx-review-author {
  color: var(--dx-gold-deep);
  font-size: 0.86rem;
}

.dx-review-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1.5rem;
}

.dx-review-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #E3DED4;
  cursor: pointer;
  transition: width 300ms cubic-bezier(0.2, 0.7, 0.3, 1),
    background 300ms cubic-bezier(0.2, 0.7, 0.3, 1);
}

.dx-review-dot.is-active {
  width: 26px;
  background: var(--dx-gold);
}

html[dir="rtl"] .dx-review-card.is-prev {
  transform: rotate(2deg) scale(0.94);
}

html[dir="rtl"] .dx-review-card.is-next {
  transform: rotate(-2deg) scale(0.94);
}

@media (max-width: 920px) {
  .dx-review-stage {
    gap: 0;
    min-height: 0;
  }

  .dx-review-card {
    display: none;
  }

  .dx-review-card.is-active {
    display: block;
    width: 100%;
    max-width: 430px;
    margin-inline: auto;
    transform: none;
    padding: 1.9rem 1.5rem;
  }

  .dx-review-dots {
    margin-top: 1.1rem;
  }
}

/* --------------------------------------------------------------------------
   11. FAQ
   -------------------------------------------------------------------------- */

.dx-faq {
  max-width: 900px;
  margin-inline: auto;
}

.dx-faq .faq-item {
  background: #fff !important;
  border: 1px solid var(--dx-line) !important;
  border-radius: 13px !important;
  margin-bottom: 0.6rem !important;
  overflow: hidden;
  box-shadow: none !important;
}

.dx-faq .faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: transparent !important;
  border: 0 !important;
  color: var(--dx-black) !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  text-align: start;
  padding: 1rem 1.1rem !important;
  cursor: pointer;
}

.dx-faq .faq-icon {
  color: var(--dx-red) !important;
  transition: transform var(--dx-transition);
}

.dx-faq .faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.dx-faq .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 280ms ease;
}

.dx-faq .faq-item.active .faq-answer {
  max-height: 300px;
}

.dx-faq .faq-answer p {
  color: var(--dx-muted) !important;
  font-size: 0.82rem !important;
  line-height: 1.65;
  margin: 0;
  padding: 0 1.1rem 1rem;
}

/* --------------------------------------------------------------------------
   12. CTA band
   -------------------------------------------------------------------------- */

.dx-cta {
  position: relative;
  overflow: hidden;
  background: var(--dx-black);
  border-radius: 26px;
  padding: clamp(2rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2rem;
}

.dx-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(225, 29, 46, 0.28) 0%, transparent 38%),
    linear-gradient(120deg, transparent 55%, rgba(225, 29, 46, 0.12) 100%);
  pointer-events: none;
}

.dx-cta > * {
  position: relative;
  z-index: 1;
}

.dx-cta .dx-eyebrow {
  color: #FF8A93;
}

.dx-cta .dx-eyebrow::before {
  background: #FF8A93;
}

.dx-cta h2 {
  color: #fff;
  font-size: clamp(1.8rem, 3.4vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.02;
  margin: 0.6rem 0 0;
}

.dx-cta p {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.92rem;
  line-height: 1.65;
  max-width: 540px;
  margin: 0.8rem 0 0;
}

.dx-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.dx-cta .btn-primary {
  background: var(--dx-red) !important;
  border-color: var(--dx-red) !important;
}

.dx-cta .btn-primary:hover {
  background: #fff !important;
  border-color: #fff !important;
  color: var(--dx-black) !important;
}

.dx-cta .btn-secondary {
  background: transparent !important;
  border-color: rgba(255, 255, 255, 0.28) !important;
  color: #fff !important;
}

.dx-cta .btn-secondary:hover {
  background: #fff !important;
  border-color: #fff !important;
  color: var(--dx-black) !important;
}

/* --------------------------------------------------------------------------
   13. Footer
   -------------------------------------------------------------------------- */

.dx-footer,
.site-footer {
  background: var(--dx-black) !important;
  color: rgba(255, 255, 255, 0.7) !important;
  border-top: 0 !important;
  padding: clamp(2.8rem, 5vw, 4.5rem) 0 0 !important;
}

.dx-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding-bottom: 2.5rem;
}

.dx-footer-brand .brand-name {
  color: #fff !important;
}

.dx-footer-brand .brand-sub {
  color: rgba(255, 255, 255, 0.5) !important;
}

.dx-footer-brand p {
  color: rgba(255, 255, 255, 0.6) !important;
  font-size: 0.82rem;
  line-height: 1.7;
  max-width: 320px;
  margin: 1rem 0 1.2rem;
}

.dx-footer-social {
  display: flex;
  gap: 0.5rem;
}

.dx-footer-social a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 0.85rem;
  transition: background var(--dx-transition), border-color var(--dx-transition);
}

.dx-footer-social a:hover {
  background: var(--dx-red);
  border-color: var(--dx-red);
}

.dx-footer-col h4 {
  color: #fff !important;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 1rem;
}

.dx-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.dx-footer-col li,
.dx-footer-col a {
  color: rgba(255, 255, 255, 0.6) !important;
  font-size: 0.8rem;
  line-height: 1.5;
  text-decoration: none;
}

.dx-footer-col a:hover {
  color: #fff !important;
}

.dx-footer-col i {
  color: var(--dx-red) !important;
  width: 16px;
  margin-inline-end: 0.4rem;
}

.dx-newsletter {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.9rem;
}

.dx-newsletter input {
  min-width: 0;
  flex: 1;
  height: 42px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  padding: 0 0.75rem;
  font-size: 0.8rem;
  outline: none;
}

.dx-newsletter input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.dx-newsletter button {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 9px;
  background: var(--dx-red);
  color: #fff;
  cursor: pointer;
}

.dx-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.1rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.dx-footer-bottom p,
.dx-footer-bottom a {
  color: rgba(255, 255, 255, 0.45) !important;
  font-size: 0.72rem;
  margin: 0;
  text-decoration: none;
}

.dx-footer-bottom a:hover {
  color: #fff !important;
}

.dx-footer-legal {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   14. Page banners for inner pages
   -------------------------------------------------------------------------- */

.page-header-banner {
  background:
    radial-gradient(circle at 82% 18%, rgba(225, 29, 46, 0.2) 0%, transparent 42%),
    linear-gradient(120deg, #0B0B0C 0%, #171719 65%, #0B0B0C 100%) !important;
  border-bottom: 1px solid rgba(225, 29, 46, 0.32) !important;
}

.page-header-banner .section-tag {
  background: rgba(225, 29, 46, 0.16) !important;
  border-color: rgba(225, 29, 46, 0.45) !important;
  color: #FF8A93 !important;
}

.page-header-banner .page-title,
.page-header-banner h1 {
  color: #fff !important;
}

.page-header-banner .page-main-desc {
  color: rgba(255, 255, 255, 0.68) !important;
}

.breadcrumb-trail {
  color: var(--dx-muted) !important;
}

.breadcrumb-trail a {
  color: var(--dx-black) !important;
}

.breadcrumb-trail a:hover {
  color: var(--dx-red) !important;
}

.breadcrumb-arrow {
  color: var(--dx-muted-2) !important;
}

.page-header-banner .breadcrumb-trail {
  color: #A8A39A !important;
}

.page-header-banner .breadcrumb-trail a {
  color: #D8D4CC !important;
}

.page-header-banner .breadcrumb-trail a:hover {
  color: #FF8A93 !important;
}

/* --------------------------------------------------------------------------
   15. Inner page surfaces
   -------------------------------------------------------------------------- */

.fleet-section,
.digital-experience-section,
.advantages-section,
.locations-section,
.faq-section,
.contact-section,
.single-article-section,
.policy-section,
.blog-listing-section {
  background: var(--dx-white) !important;
}

.fleet-section:nth-of-type(even),
.digital-experience-section,
.locations-section,
.contact-section {
  background: var(--dx-bg) !important;
}

.section-tag {
  background: var(--dx-red-soft) !important;
  border: 1px solid rgba(225, 29, 46, 0.24) !important;
  color: var(--dx-red) !important;
  box-shadow: none !important;
  font-weight: 800 !important;
}

.section-title {
  color: var(--dx-black) !important;
  letter-spacing: -0.04em !important;
}

.section-subtitle,
.page-main-desc,
.car-subtitle,
.car-card-subtitle,
.blog-card-desc,
.article-lead {
  color: var(--dx-muted) !important;
}

.red-highlight,
.gradient-text {
  color: var(--dx-red) !important;
  background: none !important;
  -webkit-text-fill-color: currentColor !important;
  text-shadow: none !important;
}

/* Filters */
.filter-tabs,
.transmission-filter {
  background: var(--dx-bg) !important;
  border: 1px solid var(--dx-line) !important;
  border-radius: 12px !important;
}

.filter-tab,
.trans-btn {
  color: var(--dx-muted) !important;
  font-weight: 700 !important;
}

.filter-tab:hover,
.trans-btn:hover {
  color: var(--dx-black) !important;
  background: rgba(11, 11, 12, 0.05) !important;
}

.filter-tab.active,
.trans-btn.active {
  background: var(--dx-black) !important;
  color: #fff !important;
  box-shadow: none !important;
}

.sort-select,
.fleet-search-box input {
  background: #fff !important;
  border: 1px solid var(--dx-line) !important;
  color: var(--dx-ink) !important;
  border-radius: 10px !important;
}

/* Forms on booking / contact pages */
.panel-card,
.fast-booking-form-card,
.booking-summary-panel .panel-card,
.booking-top-car-banner {
  background: #fff !important;
  border: 1px solid var(--dx-line) !important;
  border-radius: 18px !important;
  box-shadow: var(--dx-shadow-soft) !important;
}

/* Booking success state — replaces the legacy WhatsApp redirect. */
.booking-success-panel {
  text-align: center;
  padding: 2rem 1rem;
}

.booking-success-panel[hidden] {
  display: none !important;
}

.booking-success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  font-size: 1.9rem;
}

.booking-success-panel h3 {
  color: var(--dx-black);
  font-size: 1.45rem;
  margin-bottom: 0.6rem;
}

.booking-success-panel p {
  color: var(--dx-muted);
  max-width: 52ch;
  margin: 0 auto 0.9rem;
  line-height: 1.65;
}

.booking-success-ref {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--dx-bg);
  border: 1px solid var(--dx-line);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  color: var(--dx-ink);
}

.booking-success-ref strong {
  color: var(--dx-red);
  letter-spacing: 0.03em;
}

.booking-success-actions {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}

.modal-success-panel {
  padding: 1.25rem 0.5rem 0.5rem;
}

@media (max-width: 480px) {
  .booking-success-actions {
    flex-direction: column;
  }

  .booking-success-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .booking-success-panel h3 {
    font-size: 1.25rem;
  }

  .booking-success-ref {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    width: 100%;
    max-width: 320px;
    margin-inline: auto;
    border-radius: 14px;
    padding: 0.8rem 1rem;
  }

  .booking-success-ref strong {
    font-size: 1.05rem;
    overflow-wrap: anywhere;
  }
}

.form-input,
.form-select,
.form-textarea,
textarea.form-input {
  background: var(--dx-bg) !important;
  border: 1px solid var(--dx-line) !important;
  color: var(--dx-ink) !important;
  border-radius: 10px !important;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--dx-red) !important;
  background: #fff !important;
  box-shadow: 0 0 0 3px rgba(225, 29, 46, 0.1) !important;
}

.form-field label,
.form-group-title,
.search-group label {
  color: var(--dx-ink) !important;
  font-weight: 700 !important;
}

.panel-header,
.form-section-title,
.summary-card-title {
  color: var(--dx-black) !important;
}

.form-section-block {
  border-color: var(--dx-line) !important;
}

.extra-checkbox,
.payment-method-card {
  background: var(--dx-bg) !important;
  border: 1px solid var(--dx-line) !important;
  border-radius: 11px !important;
  color: var(--dx-ink) !important;
}

.payment-method-card.active {
  border-color: var(--dx-red) !important;
  background: var(--dx-red-soft) !important;
}

.text-gold,
.text-green {
  color: var(--dx-red) !important;
}

/* WhatsApp brand glyph stays green everywhere */
.fa-brands.fa-whatsapp {
  color: #25D366 !important;
}

/* ...except where the button background is already green */
.share-btn.wa .fa-whatsapp,
.float-whatsapp .fa-whatsapp {
  color: #FFFFFF !important;
}

.btn-tp-reviews:hover .fa-whatsapp {
  color: #000000 !important;
}

/* Blog cards */
.blog-card {
  background: #fff !important;
  border: 1px solid var(--dx-line) !important;
  border-radius: 16px !important;
  box-shadow: none !important;
}

.blog-card:hover {
  border-color: rgba(225, 29, 46, 0.35) !important;
  box-shadow: var(--dx-shadow-soft) !important;
  transform: translateY(-3px) !important;
}

.blog-card-title,
.blog-card h3 {
  color: var(--dx-black) !important;
}

.blog-card-desc,
.blog-meta {
  color: var(--dx-muted) !important;
}

/* Policy */
.policy-card {
  background: #fff !important;
  border: 1px solid var(--dx-line) !important;
  border-radius: 20px !important;
  box-shadow: var(--dx-shadow-soft) !important;
}

.policy-card h2 {
  color: var(--dx-black) !important;
}

.policy-card p,
.policy-card li {
  color: var(--dx-muted) !important;
}

.policy-card a {
  color: var(--dx-red) !important;
}

/* Comments */
.article-comments-section {
  background: transparent !important;
  border-top-color: var(--dx-line) !important;
}

.comments-main-title {
  color: var(--dx-black) !important;
}

.comment-item {
  background: #fff !important;
  border: 1px solid var(--dx-line) !important;
  border-radius: 13px !important;
}

.comment-body p {
  color: var(--dx-muted) !important;
}

/* Footer legacy selectors */
.site-footer .footer-heading,
.site-footer .footer-brand-col .brand-name {
  color: #fff !important;
}

.site-footer .footer-tagline,
.site-footer .footer-links a,
.site-footer .footer-contact-list li,
.site-footer .footer-bottom p {
  color: rgba(255, 255, 255, 0.6) !important;
}

.site-footer .footer-links a:hover {
  color: #fff !important;
}

.site-footer .footer-social-links a {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  color: #fff !important;
}

.site-footer .footer-social-links a:hover {
  background: var(--dx-red) !important;
  border-color: var(--dx-red) !important;
}

/* --------------------------------------------------------------------------
   16. Floating contact / mobile bottom bar
   -------------------------------------------------------------------------- */

.floating-contact-bar {
  position: fixed;
  z-index: 850;
  inset-inline: auto 1rem;
  bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  background: transparent;
  border: 0;
  padding: 0;
  box-shadow: none;
}

.float-btn {
  position: relative;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 1.3rem;
  box-shadow: 0 12px 26px -12px rgba(11, 11, 12, 0.5);
  transition: transform var(--dx-transition), background var(--dx-transition), box-shadow var(--dx-transition);
}

.float-btn:hover {
  transform: translateY(-2px);
}

.float-whatsapp {
  background: #25d366 !important;
  border-color: transparent !important;
  color: #ffffff !important;
}

.float-whatsapp:hover {
  background: #1ebe5b !important;
  box-shadow: 0 14px 30px -10px rgba(37, 211, 102, 0.55) !important;
}

/* --------------------------------------------------------------------------
   17. Toast
   -------------------------------------------------------------------------- */

.toast-notification {
  background: var(--dx-black) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 11px !important;
  box-shadow: var(--dx-shadow) !important;
}

.toast-notification i {
  color: #4ADE80 !important;
}

/* --------------------------------------------------------------------------
   18. RTL
   -------------------------------------------------------------------------- */

html[dir="rtl"] .dx-hero-title,
html[dir="rtl"] .dx-title,
html[dir="rtl"] .dx-sub,
html[dir="rtl"] .dx-hero-text,
html[dir="rtl"] .dx-section-head,
html[dir="rtl"] .dx-feature,
html[dir="rtl"] .dx-step,
html[dir="rtl"] .dx-footer-col,
html[dir="rtl"] .dx-footer-brand {
  text-align: right;
}

html[dir="rtl"] .dx-cat-card:hover .dx-cat-arrow {
  transform: translateX(-3px) scaleX(-1);
}

html[dir="rtl"] .dx-cat-arrow i,
html[dir="rtl"] .dx-fleet-link i,
html[dir="rtl"] .btn i.fa-arrow-right {
  transform: scaleX(-1);
}

html[dir="rtl"] .dx-step::after {
  inset-inline-end: auto;
  inset-inline-start: -1rem;
}

html[dir="rtl"] .dx-hero-media::after {
  right: auto;
  left: -2%;
}

/* --------------------------------------------------------------------------
   19. Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1100px) {
  .fleet-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  /* Four featured cars read better as a 2×2 grid on tablets. */
  .fleet-grid[data-page="home"] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .dx-hero-media {
    min-height: 360px;
  }

  .dx-hero-photo {
    aspect-ratio: 1.2 / 1;
  }
}

@media (max-width: 960px) {
  .nav-links {
    display: none !important;
  }

  .menu-toggle-btn {
    display: inline-flex;
  }

  .dx-hero-grid {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }

  .dx-hero-content {
    max-width: 720px;
  }

  .dx-hero-media {
    min-height: 320px;
    max-width: 680px;
    width: 100%;
    margin-inline: auto;
  }

  .dx-hero-photo {
    width: 100%;
    aspect-ratio: 1.55 / 1;
  }

  .dx-search-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dx-search-btn {
    grid-column: 1 / -1;
  }

  .dx-cats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .dx-cat-card {
    min-height: 240px;
  }

  .dx-split {
    grid-template-columns: 1fr;
  }

  .dx-split-media,
  .dx-split-media img {
    min-height: 340px;
  }

  .dx-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dx-step:nth-child(2)::after {
    display: none;
  }

  .dx-footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }

  .dx-footer-brand {
    grid-column: 1 / -1;
  }

  .dx-cta {
    grid-template-columns: 1fr;
  }

  .dx-cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 76px;
  }

  .luxe-topbar {
    display: none !important;
  }

  .nav-container {
    min-height: 64px;
    gap: 0.6rem;
  }

  .brand-logo .logo-img {
    width: 36px;
    height: 36px;
  }

  .brand-name {
    font-size: 1.02rem !important;
  }

  .brand-sub {
    font-size: 0.48rem !important;
    letter-spacing: 0.12em !important;
  }

  .header-controls {
    margin-inline-start: auto;
  }

  .lang-switcher {
    display: none !important;
  }

  .btn-whatsapp-nav span {
    display: none;
  }

  .btn-whatsapp-nav {
    width: 44px;
    padding: 0 !important;
  }

  .btn-whatsapp-nav i {
    font-size: 1rem;
  }

  .dx-hero {
    padding-top: 2rem;
  }

  .dx-hero-title {
    font-size: clamp(2.35rem, 10.5vw, 3.6rem);
  }

  .dx-hero-text {
    font-size: 0.92rem;
  }

  .dx-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .dx-hero-actions .btn {
    width: 100%;
  }

  .dx-hero-stats {
    margin-top: 1.8rem;
  }

  .dx-stat {
    padding-inline: 0.7rem;
  }

  .dx-stat strong {
    font-size: 1.2rem;
  }

  .dx-stat span {
    font-size: 0.62rem;
  }

  .dx-hero-media {
    min-height: 250px;
  }

  .dx-hero-photo {
    aspect-ratio: 1.3 / 1;
    border-radius: 18px;
  }

  .dx-hero-media::before {
    inset: 10% -2% 6% 8%;
    border-radius: 18px;
  }

  .dx-hero-float--top {
    top: 4%;
    padding: 0.5rem 0.65rem;
  }

  .dx-hero-float--top i {
    width: 28px;
    height: 28px;
    font-size: 0.7rem;
  }

  .dx-hero-float--top strong {
    font-size: 0.68rem;
  }

  .dx-hero-float--top span {
    font-size: 0.56rem;
  }

  .dx-hero-float--price {
    bottom: 4%;
    padding: 0.6rem 0.75rem;
  }

  .dx-hero-float--price strong {
    font-size: 1rem;
  }

  .dx-search {
    margin-top: 1.5rem;
  }

  .dx-search-card {
    padding: 0.75rem;
    border-radius: 14px;
  }

  .dx-search-grid {
    grid-template-columns: 1fr;
  }

  .dx-search-btn {
    grid-column: auto;
  }

  .dx-section {
    padding: 3rem 0;
  }

  .dx-section-head,
  .dx-fleet-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .dx-title {
    font-size: clamp(1.75rem, 7.5vw, 2.5rem);
  }

  .dx-cats {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .dx-cat-card {
    min-height: 220px;
  }

  .dx-cat-content {
    padding: 1rem;
  }

  .fleet-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.75rem !important;
  }

  .fleet-grid .car-card-body {
    padding: 0.7rem !important;
  }

  .fleet-grid .car-title {
    font-size: 0.88rem !important;
  }

  .fleet-grid .car-category-sub {
    font-size: 0.62rem !important;
  }

  .fleet-grid .car-specs-grid {
    gap: 0.3rem 0.5rem !important;
    padding-top: 0.5rem !important;
  }

  .fleet-grid .car-specs-grid .spec-item {
    font-size: 0.62rem !important;
  }

  .fleet-grid .car-card-actions .btn {
    min-height: 34px;
    font-size: 0.66rem !important;
  }

  .dx-card-price strong {
    font-size: 0.95rem;
  }

  .dx-card-price span,
  .dx-card-price small {
    font-size: 0.58rem;
  }

  .dx-split-media,
  .dx-split-media img {
    min-height: 260px;
  }

  .dx-steps {
    grid-template-columns: 1fr;
  }

  .dx-step::after {
    display: none;
  }

  .dx-footer-grid {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }

  .dx-footer-brand {
    grid-column: auto;
  }

  .dx-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }

  .dx-cta {
    padding: 1.5rem;
    border-radius: 18px;
  }

  .dx-cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .dx-cta-actions .btn {
    width: 100%;
  }

  body {
    padding-bottom: calc(0.9rem + env(safe-area-inset-bottom));
  }
}

@media (max-width: 480px) {
  .container {
    width: calc(100% - 1.25rem);
  }

  .dx-hero-title {
    font-size: clamp(2.15rem, 11.5vw, 2.9rem);
  }

  .dx-hero-float--top {
    display: none;
  }

  .fleet-grid,
  .fleet-grid[data-page="home"] {
    grid-template-columns: 1fr !important;
  }

  .fleet-grid .car-card-img-wrap {
    aspect-ratio: 1.6 / 1;
  }

  .dx-stat {
    padding-inline: 0.55rem;
  }

  .dx-stat strong {
    font-size: 1.05rem;
  }

  .dx-stat span {
    font-size: 0.56rem;
  }

  .dx-section-head--center {
    text-align: left;
  }
}

/* Blog article: stack the in-article CTA so icon, copy and buttons never
   push the page wider than the viewport. */
@media (max-width: 640px) {
  .article-cta-box {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.35rem;
    border-radius: 16px;
  }

  .cta-box-icon {
    width: 52px;
    height: 52px;
    font-size: 1.45rem;
  }

  .cta-box-content {
    min-width: 0;
    width: 100%;
  }

  .cta-box-btns {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-box-btns .btn {
    width: 100%;
    justify-content: center;
  }

  /* Put the long current-page label on its own line instead of squeezing it
     next to "Accueil › Blog". */
  .breadcrumb-trail {
    flex-wrap: wrap;
    gap: 0.35rem 0.5rem;
    line-height: 1.5;
  }

  .breadcrumb-trail > span {
    flex-basis: 100%;
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .breadcrumb-trail > .breadcrumb-arrow:nth-of-type(2) {
    display: none;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* --------------------------------------------------------------------------
   18. Advantages CTA + booking photo hero
   -------------------------------------------------------------------------- */

.dx-adv-cta {
  display: flex;
  justify-content: center;
  margin-bottom: 2.4rem;
}

.dx-adv-cta .btn {
  box-shadow: 0 16px 34px -16px rgba(225, 29, 46, 0.55);
}

.page-header-banner.has-photo-bg {
  background:
    linear-gradient(100deg, rgba(11, 11, 12, 0.88) 0%, rgba(11, 11, 12, 0.64) 55%, rgba(11, 11, 12, 0.4) 100%),
    url("assets/images/booking-hero-winter.jpg") center / cover no-repeat !important;
}

html[dir="rtl"] .page-header-banner.has-photo-bg {
  background:
    linear-gradient(260deg, rgba(11, 11, 12, 0.88) 0%, rgba(11, 11, 12, 0.64) 55%, rgba(11, 11, 12, 0.4) 100%),
    url("assets/images/booking-hero-winter.jpg") center / cover no-repeat !important;
}
