/*
Theme Name: Maher Alammari Rental
Theme URI: https://maheralammari.com
Author: Maher Alammari
Author URI: https://maheralammari.com
Description: Luxury car rental WordPress theme with bilingual Arabic/English support, interactive booking wizard, and premium car showcase.
Version: 1.0.0
License: GPL v2 or later
Text Domain: maher-almari
Domain Path: /languages
*/

:root {
  --bg-main: #ffffff;
  --bg-secondary: #f4f4f4;
  --text-main: #000000;
  --text-muted: rgba(0,0,0,0.4);
  --text-subtle: rgba(0,0,0,0.3);
  --text-form: #ffffff;
  --bg-form: #000000;
  --border-main: rgba(0,0,0,0.1);
  --border-subtle: rgba(0,0,0,0.05);
  --bg-subtle: rgba(0,0,0,0.03);
  --brand-red: #f90102;
  --brand-dark: #0f1012;
  --wa-green: #25D366;
  --wa-green-dark: #128C7E;
  --bg-card: #ffffff;
  --bg-input: #f5f5f5;
  --bg-surface: #eeeeee;
  --font-sans: 'Plus Jakarta Sans', 'Cairo', ui-sans-serif, system-ui, sans-serif;
  --font-serif: 'Outfit', 'Cairo', sans-serif;
}
[data-theme="dark"] {
  --bg-main: #000000;
  --border-input: rgba(255,255,255,0.35);
  --bg-secondary: #0f1012;
  --text-main: #ffffff;
  --text-muted: rgba(255,255,255,0.4);
  --text-subtle: rgba(255,255,255,0.3);
  --border-main: rgba(255,255,255,0.1);
  --border-subtle: rgba(255,255,255,0.05);
  --bg-subtle: rgba(255,255,255,0.03);
  --text-form: #000000;
  --bg-form: #ffffff;
  --bg-card: rgba(30,32,36,0.72);
  --bg-input: #1b1d20;
  --bg-surface: #1b1d20;
}
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--bg-main);
  color: var(--text-main);
  transition: background-color .3s, color .3s;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--brand-red); color: #fff; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-main); }
::-webkit-scrollbar-thumb { background: var(--brand-red); border-radius: 3px; }

/* ===== UTILITY ===== */
.max-wrap { max-width: 1280px; margin: 0 auto; padding: 0 16px; }
@media (min-width:768px) { .max-wrap { padding: 0 32px; } }

/* ===== NAV ===== */
.nav {
  height: 96px; background: rgba(0,0,0,0.9);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-main);
  position: sticky; top: 0; z-index: 99999;
  transition: background-color .3s;
}
[data-theme="light"] .nav { background: rgba(255,255,255,0.9); }
.nav-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 16px;
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}
@media (min-width:768px) { .nav-inner { padding: 0 32px; } }
.nav-logo { display: flex; align-items: center; gap: 12px; cursor: pointer; text-decoration: none; }
.nav-logo-img { height: 44px; width: auto; object-fit: contain; display: block; }
.logo-dark { display: none !important; }
[data-theme="dark"] .logo-light { display: none !important; }
[data-theme="dark"] .logo-dark { display: block !important; }
.nav-logo-text { display: flex; flex-direction: column; }
.nav-logo-ar { font-family: 'Cairo', sans-serif; font-weight: 700; font-size: 16px; color: var(--text-main); line-height: 1.1; }
.nav-logo-en { font-family: var(--font-sans); font-size: 10px; font-weight: 700; color: var(--text-main); text-transform: uppercase; letter-spacing: 2px; opacity: 0.5; }
[dir="rtl"] .nav-logo-text { align-items: flex-end; }
.nav-links { display: none; align-items: center; gap: 32px; height: 100%; }
@media (min-width:768px) { .nav-links { display: flex; } }
.nav-link {
  font-size: 10px; font-weight: 900; text-transform: uppercase;
  letter-spacing: 0.3em; background: none; border: none;
  color: var(--text-main); opacity: 0.4; cursor: pointer;
  transition: all 0.3s; height: 100%; display: flex; align-items: center;
  position: relative; font-family: var(--font-sans);
}
.nav-link:hover { opacity: 1; }
.nav-link.active { opacity: 1; color: var(--brand-red); }
.nav-link.active::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 4px; background: var(--brand-red);
}
[dir="rtl"] .nav-links { flex-direction: row; }
[dir="rtl"] .nav-actions { flex-direction: row-reverse; }
@media (min-width:768px) { .nav-link .lang-ar { font-size: 13px; } }
[dir="rtl"] .lang-btn { flex-direction: row-reverse; }
.nav-link-wa { color: var(--wa-green) !important; opacity: 1 !important; }
.nav-link-wa:hover { opacity: 0.8 !important; }
.nav-actions { display: flex; align-items: center; gap: 8px; }
@media (min-width:768px) { .nav-actions { gap: 12px; } }
.nav-btn {
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  border-radius: 16px; background: var(--bg-secondary);
  border: 1px solid var(--border-main); color: var(--text-main);
  cursor: pointer; transition: all 0.3s; font-size: 16px;
}
.nav-btn:hover { border-color: var(--brand-red); }
.lang-btn {
  padding: 0 16px; height: 44px; display: flex; align-items: center; gap: 8px;
  border-radius: 16px; background: var(--bg-secondary);
  border: 1px solid var(--border-main); color: var(--text-main);
  cursor: pointer; transition: all 0.3s; font-size: 10px;
  font-weight: 900; text-transform: uppercase; letter-spacing: 1px;
  font-family: var(--font-sans);
}
.lang-btn:hover { border-color: var(--brand-red); }
.lang-icon {
  width: 24px; height: 24px; border-radius: 8px;
  background: rgba(249,1,2,0.1); color: var(--brand-red);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 900; transition: all 0.3s;
}
.lang-btn:hover .lang-icon { background: var(--brand-red); color: #fff; }
.mobile-menu-btn { display: flex; }
@media (min-width:768px) { .mobile-menu-btn { display: none; } }
.mobile-menu {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  z-index: 99998; pointer-events: none; opacity: 0;
  transition: opacity 0.3s;
}
.mobile-menu.open { pointer-events: auto; opacity: 1; }
.mobile-menu-backdrop {
  position: absolute; inset: 0; background: rgba(0,0,0,0.5);
}
.mobile-menu-inner {
  position: absolute; top: 0; left: 0; right: 0;
  background: var(--bg-main); border-bottom: 1px solid var(--border-main);
  padding: 24px; padding-top: 110px; display: flex; flex-direction: column; gap: 16px;
  max-height: 100%; overflow-y: auto;
}
.mobile-link {
  padding: 16px 24px; border-radius: 16px; font-size: 10px;
  font-weight: 900; text-transform: uppercase; letter-spacing: 1px;
  background: var(--bg-secondary); border: none; color: var(--text-main);
  cursor: pointer; text-align: left; font-family: var(--font-sans);
  transition: all 0.3s; text-decoration: none;
}
.mobile-link:hover { opacity: 0.8; }
[dir="rtl"] .mobile-link { text-align: right; }

/* ===== HERO ===== */
.hero {
  padding: 64px 0 40px; position: relative;
  text-align: center;
}
@media (min-width:768px) { .hero { padding: 96px 0 48px; } }
.hero-glow {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 100%; height: 600px;
  background: radial-gradient(ellipse, rgba(249,1,2,0.03) 0%, transparent 70%);
  pointer-events: none; animation: pulse-glow 4s ease-in-out infinite;
}
@keyframes pulse-glow { 0%,100%{opacity:1} 50%{opacity:0.5} }
.hero-label {
  font-family: var(--font-serif); font-weight: 900; font-style: italic;
  text-transform: uppercase; letter-spacing: -0.02em;
  font-size: clamp(32px, 6vw, 72px); line-height: 1;
  color: var(--brand-red); margin-bottom: 12px;
}
.hero-title {
  font-family: var(--font-serif); font-weight: 900; font-style: italic;
  text-transform: uppercase; letter-spacing: -0.02em;
  font-size: clamp(32px, 6vw, 72px); line-height: 1;
  margin-bottom: 12px;
}
.hero-title-ar {
  font-family: 'Cairo', sans-serif; font-weight: 700;
  font-size: clamp(18px, 2.5vw, 32px);
  color: var(--text-muted); direction: rtl; margin-bottom: 20px;
}
.hero-label-ar {
  font-family: var(--font-serif); font-weight: 900;
  font-size: clamp(28px, 5vw, 56px);
  text-transform: uppercase; letter-spacing: -0.02em; line-height: 1;
  color: var(--brand-red); margin-bottom: 12px; direction: rtl;
}
.hero-desc {
  font-size: 15px; line-height: 1.7; opacity: 0.5;
  max-width: 540px; margin: 0 auto 32px; font-weight: 500;
}
.hero-cta {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--brand-red); color: #fff; border: none;
  padding: 16px 40px; border-radius: 16px;
  font-family: var(--font-sans); font-weight: 900; font-size: 14px;
  text-transform: uppercase; letter-spacing: 0.02em;
  cursor: pointer; transition: all 0.3s;
  box-shadow: 0 20px 40px rgba(249,1,2,0.2);
}
.hero-cta:hover { transform: translateY(-2px); box-shadow: 0 24px 48px rgba(249,1,2,0.3); }
.hero-cta:active { transform: scale(0.95); }

/* ===== SEARCH ===== */
.search { padding: 0 0 80px; }
@media (min-width:768px) { .search { padding: 0 0 96px; } }
.sw-card {
  background: var(--bg-card); backdrop-filter: blur(24px);
  border: 1px solid var(--border-main);
  border-radius: 40px; padding: 24px;
  box-shadow: 0 32px 128px rgba(0,0,0,0.4);
  position: relative; overflow: hidden;
}
@media (min-width:768px) { .sw-card { padding: 40px; border-radius: 40px; } }
.sw-grid-top {
  display: grid; grid-template-columns: 1fr; gap: 32px;
  margin-bottom: 32px; padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
@media (min-width:1024px) { .sw-grid-top { grid-template-columns: 1fr 1fr; } }
.sw-label {
  font-size: 10px; font-weight: 900; text-transform: uppercase;
  letter-spacing: 0.2em; color: var(--brand-red); display: block; margin-bottom: 12px;
  font-family: var(--font-sans);
}
.sw-tier-group {
  display: flex; gap: 8px;
  background: var(--bg-surface); padding: 6px; border-radius: 16px;
  border: 1px solid var(--border-main);
}
.sw-tier-btn {
  flex: 1; min-width: 0;
  padding: 8px 12px; border-radius: 12px; font-weight: 700;
  transition: all 0.3s; font-size: 12px; border: none; cursor: pointer;
  font-family: var(--font-sans); background: transparent; color: var(--text-muted);
}
@media (min-width:768px) { .sw-tier-btn { font-size: 14px; padding: 8px 16px; } }
.sw-tier-btn:hover { color: var(--text-main); opacity: 0.8; }
.sw-tier-btn.active {
  background: var(--brand-red); color: #fff;
  box-shadow: 0 8px 32px rgba(249,1,2,0.2); transform: scale(1.02);
}
.sw-currency-group {
  display: flex; gap: 8px; background: var(--bg-surface); padding: 6px;
  border-radius: 16px; border: 1px solid var(--border-main); height: fit-content;
}
.sw-currency-btn {
  flex: 1; padding: 8px 16px; border-radius: 12px; font-weight: 700;
  transition: all 0.3s; font-size: 12px; border: none; cursor: pointer;
  font-family: var(--font-sans); background: transparent; color: var(--text-muted);
}
@media (min-width:768px) { .sw-currency-btn { font-size: 14px; } }
.sw-currency-btn:hover { color: var(--text-main); opacity: 0.8; }
.sw-currency-btn.active {
  background: #fbbf24; color: #000;
  box-shadow: 0 8px 32px rgba(251,191,36,0.2); transform: scale(1.02);
}
.sw-form { display: flex; flex-direction: column; gap: 24px; }
.sw-field-row { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width:768px) { .sw-field-row { grid-template-columns: 1fr 1fr; } }
.sw-field { display: flex; flex-direction: column; gap: 12px; }
.sw-field-label {
  font-size: 10px; font-weight: 900; text-transform: uppercase;
  letter-spacing: 0.1em; display: flex; align-items: center; gap: 8px;
  font-family: var(--font-sans); color: var(--text-muted);
  transition: color 0.3s;
}
.sw-field-label.error { color: var(--brand-red); animation: pulse-error 1s infinite; }
@keyframes pulse-error { 0%,100%{opacity:1} 50%{opacity:0.5} }
.sw-field-label-icon { width: 16px; height: 16px; color: var(--brand-red); }
.sw-select-wrap { position: relative; }
.sw-select {
  width: 100%; background: var(--bg-input); border: 1px solid var(--border-main);
  border-radius: 16px; padding: 16px 20px; appearance: none;
  color: var(--text-main); font-size: 14px; font-weight: 700; outline: none;
  transition: all 0.3s; cursor: pointer; font-family: var(--font-sans);
}
.sw-select:focus { border-color: var(--brand-red); }
.sw-select.error { border-color: var(--brand-red); box-shadow: 0 0 0 4px rgba(249,1,2,0.1); }
.sw-select-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  pointer-events: none; color: var(--text-muted); font-size: 10px;
}
.sw-input {
  width: 100%; background: var(--bg-input); border: 1px solid var(--border-main);
  border-radius: 16px; padding: 16px; color: var(--text-main);
  font-size: 13px; font-weight: 700; outline: none;
  transition: all 0.3s; font-family: var(--font-sans);
}
@media (min-width:768px) { .sw-input { font-size: 14px; } }
.sw-input:focus { border-color: var(--brand-red); }
.sw-input.error { border-color: var(--brand-red); }
.sw-input[readonly] { opacity: 0.6; cursor: not-allowed; border-style: dashed; background: var(--bg-subtle); }
.sw-input:disabled {
  opacity: 0.6; cursor: not-allowed; background: var(--bg-input); border-style: dashed;
  color: #000;
}
.sw-input::-webkit-calendar-picker-indicator { filter: brightness(0) saturate(100%) invert(18%) sepia(99%) saturate(7310%) hue-rotate(355deg) brightness(92%) contrast(129%); cursor: pointer; }

/* ===== EXTRAS TOGGLE ===== */
.sw-extras {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.sw-extra {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px;
  border-radius: 16px; border: 1.5px solid var(--border-main);
  background: var(--bg-input); cursor: pointer;
  transition: all 0.3s; user-select: none;
}
.sw-extra:hover { border-color: var(--brand-red); }
.sw-extra.active { border-color: var(--brand-red); background: rgba(249,1,2,0.06); }
.sw-extra-check {
  width: 22px; height: 22px; border-radius: 6px; border: 2px solid var(--border-main);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; color: #fff; transition: all 0.3s; flex-shrink: 0;
}
.sw-extra.active .sw-extra-check { background: var(--brand-red); border-color: var(--brand-red); }
.sw-extra.active .sw-extra-check::after { content: '✓'; }
.sw-extra-info { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.sw-extra-name { font-size: 13px; font-weight: 700; color: var(--text-main); }
.sw-extra-price { font-size: 11px; font-weight: 600; color: var(--text-muted); }
.sw-input:disabled::-webkit-calendar-picker-indicator { display: none; }
.sw-time-group { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sw-warning {
  text-align: center; font-size: 12px; font-weight: 700;
  background: rgba(249,1,2,0.05); padding: 12px 16px; border-radius: 12px;
  border: 1px solid rgba(249,1,2,0.2); color: var(--brand-red);
  overflow: hidden; transition: all 0.3s;
}
.sw-submit {
  width: 100%; background: var(--brand-red); color: #fff;
  border: none; font-weight: 900; font-size: 13px; text-transform: uppercase;
  letter-spacing: 0.1em; padding: 16px; border-radius: 16px;
  cursor: pointer; transition: all 0.3s;
  box-shadow: 0 16px 48px rgba(249,1,2,0.3);
  display: flex; align-items: center; justify-content: center; gap: 12px;
  font-family: var(--font-sans);
}
.sw-submit:hover { background: rgba(249,1,2,0.9); transform: scale(1.01); }
.sw-submit:active { transform: scale(0.95); }

/* ===== SERVICES SELECTOR ===== */


/* ===== SECTION ===== */
.section { padding: 64px 0; }
@media (min-width:768px) { .section { padding: 96px 0; } }
.section-label {
  font-size: 12px; font-weight: 900; color: var(--brand-red);
  text-transform: uppercase; letter-spacing: 0.4em;
  margin-bottom: 16px; font-family: var(--font-sans);
}
.section-label-ar {
  font-family: var(--font-serif); font-weight: 900;
  font-size: clamp(28px, 5vw, 56px);
  text-transform: uppercase; letter-spacing: -0.02em; line-height: 1;
  color: var(--brand-red); margin-bottom: 12px; direction: rtl;
}
.section-title {
  font-family: var(--font-serif); font-weight: 900; font-style: italic;
  text-transform: uppercase; letter-spacing: -0.02em;
  font-size: clamp(28px, 4vw, 48px); line-height: 1.1; margin-bottom: 8px;
}
.section-title-ar {
  font-family: var(--font-serif); font-weight: 900;
  font-size: clamp(28px, 5vw, 56px);
  text-transform: uppercase; letter-spacing: -0.02em; line-height: 1;
  color: var(--text-main); margin-bottom: 12px; direction: rtl;
}
.section-header { text-align: center; margin-bottom: 48px; }

/* ===== FEATURES ===== */
.features-grid {
  display: grid; grid-template-columns: 1fr; gap: 16px;
}
@media (min-width:768px) { .features-grid { grid-template-columns: repeat(3, 1fr); } }
.feature-card {
  background: var(--bg-secondary); border: 1px solid var(--border-main);
  border-radius: 48px; padding: 40px 32px; text-align: center;
  transition: all 0.3s; cursor: pointer;
}
.feature-card:hover {
  border-color: rgba(249,1,2,0.3);
  transform: translateY(-4px);
}
.feature-icon {
  width: 56px; height: 56px; margin: 0 auto 20px;
  border-radius: 16px; background: rgba(249,1,2,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; transition: all 0.3s;
}
.feature-card:hover .feature-icon { background: var(--brand-red); }
.feature-card:hover .feature-icon svg { filter: brightness(0) invert(1); }
.feature-name {
  font-family: var(--font-serif); font-weight: 900; font-style: italic;
  font-size: 20px; text-transform: uppercase; letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.feature-name-ar {
  font-family: 'Cairo', sans-serif; font-size: 14px; font-weight: 800;
  color: var(--text-muted); direction: rtl; margin-bottom: 8px;
}
.feature-desc {
  font-size: 13px; font-weight: 500; opacity: 0.4; line-height: 1.6;
}

/* ===== FLEET CATEGORY TABS ===== */
.cat-tabs {
  display: flex; gap: 10px; margin-bottom: 48px;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory; scrollbar-width: none;
  padding-bottom: 4px; justify-content: center;
}
.cat-tabs::-webkit-scrollbar { display: none; }
.cat-tab { scroll-snap-align: start; flex-shrink: 0; }
@media (min-width:768px) {
  .cat-tabs { display: flex; gap: 12px; overflow-x: visible; padding-bottom: 0; justify-content: center; flex-wrap: wrap; }
}
.cat-tab {
  padding: 18px 14px; border-radius: 20px;
  border: 1px solid var(--border-main);
  background: var(--bg-secondary);
  cursor: pointer; text-align: center; color: #000;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
@media (min-width:768px) { .cat-tab { padding: 22px; border-radius: 28px; } }
.cat-tab.active {
  border-color: var(--brand-red);
  color: #000; background: #fff;
}
.cat-tab-name {
  font-family: var(--font-serif);
  font-weight: 900; font-style: italic; text-transform: uppercase;
  letter-spacing: -0.02em; font-size: 10px;
}
@media (min-width:768px) { .cat-tab-name { font-size: 12px; } }
.cat-tab-count {
  font-size: 9px; font-weight: 700; color: var(--text-muted);
  background: var(--bg-subtle); padding: 1px 8px; border-radius: 20px;
}
.cat-tab.active .cat-tab-count { background: var(--bg-subtle); color: var(--text-muted); }

/* ===== FLEET CURRENCY TOGGLE ===== */
.fleet-currency-strip { margin-bottom: 24px; text-align: center; }
.fleet-currency-inner { display: inline-flex; align-items: center; gap: 12px; background: var(--bg-surface); border: 1px solid var(--border-main); border-radius: 100px; padding: 6px 16px 6px 20px; }
.fleet-currency-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); }
.fleet-currency-switch { display: flex; gap: 3px; }
.fleet-currency-opt { padding: 5px 14px; border: none; border-radius: 100px; font-size: 11px; font-weight: 700; cursor: pointer; font-family: var(--font-sans); background: transparent; color: var(--text-muted); transition: all 0.25s; }
.fleet-currency-opt small { font-weight: 400; opacity: 0.5; }
.fleet-currency-opt:hover { color: var(--text-main); }
.fleet-currency-opt.active { background: #fbbf24; color: #000; }
.fleet-currency-opt.active small { opacity: 0.7; }

/* ===== CAR CARD ===== */
.cars-grid {
  display: grid; grid-template-columns: 1fr; gap: 28px;
}
@media (min-width:768px) { .cars-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width:1200px) { .cars-grid { grid-template-columns: repeat(3, 1fr); } }
.car-card {
  background: var(--bg-secondary); border: 1px solid var(--border-main);
  border-radius: 28px; overflow: hidden; transition: all 0.5s cubic-bezier(0.4,0,0.2,1);
  position: relative; display: flex; flex-direction: column;
  opacity: 0; transform: translateY(30px); animation: carCardIn 0.6s ease forwards;
}
.car-card:nth-child(1) { animation-delay: 0.05s; }
.car-card:nth-child(2) { animation-delay: 0.1s; }
.car-card:nth-child(3) { animation-delay: 0.15s; }
.car-card:nth-child(4) { animation-delay: 0.2s; }
.car-card:nth-child(5) { animation-delay: 0.25s; }
.car-card:nth-child(6) { animation-delay: 0.3s; }
.car-card:hover {
  border-color: rgba(249,1,2,0.25);
  transform: translateY(-6px);
  box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 0 60px rgba(249,1,2,0.06);
}
@keyframes carCardIn {
  to { opacity: 1; transform: translateY(0); }
}
.car-card-img {
  aspect-ratio: 16/10; overflow: hidden; background: var(--bg-input);
  position: relative;
}
.car-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.4,0,0.2,1);
}
.car-card:hover .car-card-img img { transform: scale(1.1); }
.car-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.car-card-category {
  font-size: 10px; font-weight: 900; text-transform: uppercase;
  letter-spacing: 0.2em; color: var(--brand-red); margin-bottom: 4px;
}
.car-card-name {
  font-family: var(--font-serif); font-weight: 900; font-style: italic;
  font-size: 17px; text-transform: uppercase; letter-spacing: -0.02em; line-height: 1.2;
  margin: 0 0 12px;
}
.car-card-year {
  font-family: var(--font-sans); font-size: 12px; opacity: 0.35;
  font-weight: 700; white-space: nowrap; font-style: normal;
}
.car-card-pricing {
  display: flex; gap: 6px;
  margin: 16px 0;
}
.car-card-pricing .car-card-tier { flex: 1; min-width: 0; }
.car-card-tier {
  padding: 10px 6px; border-radius: 14px; text-align: center;
  border: 1px solid var(--border-main); cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
  background: var(--bg-main); position: relative;
}
.car-card-tier:hover { border-color: rgba(249,1,2,0.35); transform: translateY(-2px); }
.car-card-tier.active {
  border-color: var(--brand-red);
  background: transparent;
  box-shadow: 0 8px 32px rgba(249,1,2,0.12);
}
.car-card-tier-save-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  font-size: 9px; font-weight: 900; color: #fff;
  padding: 3px 12px; border-radius: 100px; white-space: nowrap;
  display: flex; align-items: center; gap: 3px; z-index: 2;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  outline: 2px solid var(--bg-secondary);
  animation: badgeEntrance 0.6s cubic-bezier(0.34,1.56,0.64,1) both;
}
.car-card-tier-save-badge.weekly {
  background: linear-gradient(135deg, #22c55e, #059669);
  animation: badgeEntrance 0.6s cubic-bezier(0.34,1.56,0.64,1) both,
             badgeFade 4s ease-in-out 1.5s infinite;
}
.car-card-tier-save-badge.monthly {
  background: linear-gradient(135deg, var(--brand-red), #f97316);
  transform: translateX(-50%) scale(1.05);
  animation: badgeEntrance 0.6s cubic-bezier(0.34,1.56,0.64,1) 0.15s both,
             badgeFade 4s ease-in-out 1.5s infinite;
  box-shadow: 0 4px 20px rgba(249,1,2,0.4);
}
@keyframes badgeEntrance {
  0% { opacity: 0; transform: translateX(-50%) translateY(10px) scale(0.7); }
  60% { opacity: 1; transform: translateX(-50%) translateY(-2px) scale(1.05); }
  100% { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
}
@keyframes badgeFade {
  0%, 100% { opacity: 1; }
  30% { opacity: 0.3; }
  60% { opacity: 0.3; }
  85% { opacity: 1; }
}
.car-card-tier-save-badge svg { width: 10px; height: 10px; fill: #fff; }
.car-card-feat-badge {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%); z-index: 2;
  color: #fff;
  padding: 6px 14px; border-radius: 100px;
  font-size: 11px; font-weight: 800; letter-spacing: 0.02em;
  white-space: nowrap; max-width: calc(100% - 24px);
  overflow: hidden; text-overflow: ellipsis;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  animation: badgeEntrance 0.6s cubic-bezier(0.34,1.56,0.64,1) both;
}
.car-card-tier-period {
  font-size: 7px; font-weight: 900; text-transform: uppercase;
  letter-spacing: 0.08em; margin-top: 2px; transition: color 0.3s;
}
.car-card-tier-period,
.car-card-tier.active .car-card-tier-period { color: var(--text-muted); }
.car-card-tier.active .car-card-tier-period { color: var(--brand-red); }
.car-card-tier-period { opacity: 0.8; }
.car-card-tier-price {
  font-size: 11px; font-weight: 900; display: flex; align-items: center;
  justify-content: center; gap: 3px; margin-top: 2px;
}
.car-card-tier-price-val { font-size: 11px; }
.car-card-tier-price-orig {
  font-size: 9px; font-weight: 700; opacity: 0.3;
  text-decoration: line-through; margin-right: 2px;
}
.car-card-tier-price-unit { font-size: 6px; font-weight: 700; opacity: 0.7; }
.car-card-tier.active .car-card-tier-price-unit { color: rgba(249,1,2,0.5); }
.car-card-tier-total {
  font-size: 7px; opacity: 0.75; font-weight: 700;
}
.car-card-tier.active .car-card-tier-total { opacity: 0.7; color: var(--brand-red); }
.car-card-specs {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
  margin-bottom: 24px; padding: 12px 16px;
  background: var(--bg-main); border: 1px solid var(--border-main);
  border-radius: 12px; font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em; opacity: 0.6;
}
.car-card-spec {
  display: flex; align-items: center; gap: 8px;
}
.car-card-spec-icon {
  width: 12px; height: 12px; color: var(--brand-red); flex-shrink: 0;
  opacity: 1;
}
.car-card-spec-label { margin-right: 2px; }
[dir="rtl"] .car-card-spec-label { margin-right: 0; margin-left: 2px; }
.car-card-btn {
  width: 100%; padding: 14px; margin-top: auto;
  border-radius: 14px;
  border: 1px solid var(--brand-red);
  background: transparent;
  color: var(--brand-red);
  font-size: 11px; font-weight: 900; text-transform: uppercase;
  letter-spacing: 0.12em; cursor: pointer; transition: all 0.35s;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-sans); position: relative; overflow: hidden;
}
.car-card-btn::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(249,1,2,0.08), transparent);
  opacity: 0; transition: opacity 0.35s;
}
.car-card-btn:hover::before { opacity: 1; }
.car-card-btn:hover {
  background: var(--brand-red);
  color: #fff;
  box-shadow: 0 12px 40px rgba(249,1,2,0.3);
  transform: translateY(-2px);
}
.car-card-btn:active { transform: translateY(0) scale(0.98); }
.car-card-btn svg { width: 14px; height: 14px; transition: transform 0.35s; }
.car-card-btn:hover svg { transform: translateX(4px); }
[dir="rtl"] .car-card-btn svg { transform: rotate(180deg); }
[dir="rtl"] .car-card-btn:hover svg { transform: rotate(180deg) translateX(-4px); }
.car-card-btn:disabled {
  opacity: 0.2; cursor: not-allowed;
  background: transparent; color: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.1);
}
.car-card-btn:disabled:hover { background: transparent; color: rgba(255,255,255,0.1); box-shadow: none; transform: none; }
.car-card-btn:disabled::before { display: none; }

/* ===== CONTACT ===== */
.contact-grid {
  display: grid; grid-template-columns: 1fr; gap: 32px;
}
@media (min-width:1024px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-info {
  background: var(--bg-secondary); border: 1px solid var(--border-main);
  border-radius: 48px; padding: 48px; box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}
.contact-item { display: flex; align-items: flex-start; gap: 24px; margin-bottom: 40px; }
.contact-item-icon {
  width: 56px; height: 56px; border-radius: 16px;
  background: rgba(249,1,2,0.1); display: flex; align-items: center;
  justify-content: center; font-size: 22px; color: var(--brand-red); flex-shrink: 0;
}
.contact-item-label {
  font-size: 10px; font-weight: 900; text-transform: uppercase;
  letter-spacing: 1px; opacity: 0.4; margin-bottom: 4px;
}
.contact-item-value {
  font-family: var(--font-serif); font-size: 20px; font-weight: 900;
  font-style: italic; letter-spacing: 0.02em; line-height: 1.3;
}
@media (min-width:768px) { .contact-item-value { font-size: 24px; } }
.contact-item-sub {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; opacity: 0.3; margin-top: 6px;
}
.contact-social-label {
  font-size: 10px; font-weight: 900; text-transform: uppercase;
  letter-spacing: 1px; opacity: 0.4; margin-bottom: 16px; padding-top: 32px;
  border-top: 1px solid var(--border-main);
}
.contact-socials { display: flex; flex-wrap: wrap; gap: 12px; }
.contact-social {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--bg-main); border: 1px solid var(--border-main);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-main); text-decoration: none; font-size: 16px;
  opacity: 0.4; transition: all 0.3s;
}
.contact-social:hover { opacity: 1; border-color: var(--brand-red); color: var(--brand-red); }
.contact-cta {
  background: var(--bg-main); border-radius: 24px; padding: 40px;
  display: flex; flex-direction: column; justify-content: center;
  position: relative; border: 1px solid var(--border-main);
  box-shadow: 0 8px 32px rgba(0,0,0,0.06);
}
.contact-cta-glow { display: none; }
.contact-cta-title {
  font-family: var(--font-serif); font-weight: 900;
  font-size: clamp(20px, 2.5vw, 28px);
  letter-spacing: -0.02em; color: var(--text-main); margin-bottom: 6px; line-height: 1.2;
}
.contact-cta-desc {
  font-size: 13px; font-weight: 500; color: var(--text-muted);
  margin-bottom: 24px; line-height: 1.6;
}
.contact-cta-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--text-main); color: var(--bg-main); border: none;
  padding: 16px 36px; border-radius: 14px;
  font-family: var(--font-sans); font-weight: 800; font-size: 13px;
  letter-spacing: 0.02em;
  cursor: pointer; transition: all 0.3s;
  width: 100%;
}
.contact-cta-btn:hover { opacity: 0.85; }
.contact-cta-btn[style*="var(--wa-green)"] { background: var(--wa-green); }
.contact-cta-btn[style*="var(--wa-green)"]:hover { opacity: 0.85; }

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-secondary); border-top: 1px solid var(--border-main);
  padding: 80px 0 48px;
}
.footer-grid {
  display: grid; grid-template-columns: 1fr; gap: 48px; margin-bottom: 64px;
}
@media (min-width:768px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width:1024px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
.footer-grid > div { text-align: start; }
.footer-desc { max-width: 320px; }
.footer-logo-img { margin-bottom: 16px; }
.footer-logo-img { height: 48px; width: auto; object-fit: contain; margin-bottom: 16px; display: block; }
.footer-desc { font-size: 14px; opacity: 0.6; line-height: 1.7; font-weight: 500; max-width: 320px; color: var(--text-main); }
.footer-heading {
  font-size: 14px; font-weight: 900; text-transform: uppercase;
  letter-spacing: 0.2em; margin-bottom: 32px; color: var(--brand-red);
}
.footer-link {
  display: block; font-size: 14px; font-weight: 700;
  opacity: 0.6; color: var(--text-main); text-decoration: none;
  padding: 6px 0; transition: all 0.3s; background: none; border: none;
  cursor: pointer; font-family: var(--font-sans); text-align: left;
}
.footer-link:hover { opacity: 1; color: var(--brand-red); }
.footer-bottom {
  padding-top: 32px; border-top: 1px solid var(--border-main);
  text-align: center;
}
.footer-copy {
  font-size: 10px; font-weight: 900; text-transform: uppercase;
  letter-spacing: 0.2em; opacity: 0.5; font-style: italic; color: var(--text-main);
}
.footer-admin {
  display: inline-block; margin-top: 12px; font-size: 10px;
  font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
  color: var(--text-main); opacity: 0.4; text-decoration: none; transition: all 0.3s;
  background: none; border: none; cursor: pointer; font-family: var(--font-sans);
}
.footer-admin:hover { opacity: 1; color: var(--brand-red); }
.footer-social-bar { margin-bottom: 48px; padding-top: 48px; border-top: 1px solid var(--border-main); }
.footer-social-bar-links { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.footer-social-link {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: 10px;
  background: var(--bg-subtle, rgba(0,0,0,0.03));
  border: 1px solid var(--border-main);
  font-size: 13px; font-weight: 700; text-decoration: none;
  color: var(--text-main); transition: all 0.2s;
}
.footer-social-link:hover { background: var(--brand-red, #f90102); border-color: var(--brand-red, #f90102); color: #fff; transform: translateY(-2px); }
.footer-social-link:hover svg { color: #fff; }
@media (max-width:480px) {
  .footer-social-link { padding: 6px 12px; font-size: 11px; gap: 6px; }
  .footer-social-link svg { width: 16px; height: 16px; }
  .footer-copy { font-size: 8px; }
}

/* ===== PROGRESS BAR ===== */
.progress-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 40;
  background: var(--bg-secondary); backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-top: 1px solid var(--border-main);
  padding: 16px 0; transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
@media (min-width:768px) { .progress-bar { padding: 24px 0; } }
.progress-bar.hidden { transform: translateY(100%); }
.progress-inner {
  max-width: 64rem; margin: 0 auto; padding: 0 16px;
  display: flex; justify-content: space-between; overflow-x: auto; gap: 16px;
}
@media (min-width:768px) { .progress-inner { padding: 0 32px; } }
.progress-inner::-webkit-scrollbar { display: none; }
.progress-step {
  display: flex; align-items: center; gap: 8px;
  flex: 1; justify-content: center;
}
@media (min-width:768px) { .progress-step { gap: 12px; } }
.progress-number {
  width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 900;
  border: 1px solid var(--border-main); color: var(--text-main);
  transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
}
.progress-number.active {
  background: var(--brand-red); border-color: var(--brand-red);
  color: #fff;
}
.progress-number.completed {
  background: #22c55e; border-color: #22c55e;
  color: #fff; box-shadow: 0 4px 16px rgba(34,197,94,0.3);
}
.progress-check { width: 14px; height: 14px; display: block; }
.progress-label {
  font-size: 9px; font-weight: 900; text-transform: uppercase;
  letter-spacing: 0.1em; white-space: nowrap; transition: all 0.3s;
  color: var(--text-main);
}
.progress-label.active { opacity: 1; }
.progress-label:not(.active) { opacity: 0.45; }
@media (max-width: 767px) {
  .progress-label:not(.active) { display: none; }
}
.progress-line {
  height: 1px; background: var(--border-main);
  flex: 1; max-width: 48px; opacity: 0.3;
  display: none;
}
@media (min-width:768px) { .progress-line { display: block; } }

/* ===== CHECKOUT ===== */
.checkout-grid {
  max-width: 640px; margin: 0 auto;
}
.checkout-card {
  font-family: var(--font-serif); background: var(--bg-secondary); border-radius: 24px; padding: 32px;
  border: 1px solid var(--border-main); margin-bottom: 16px;
}
.checkout-card-title {
  font-family: var(--font-serif); font-size: 11px; font-weight: 900; text-transform: uppercase;
  letter-spacing: 0.15em; color: var(--brand-red); margin-bottom: 16px;
}
.checkout-car {
  display: flex; gap: 16px; align-items: center;
}
.checkout-car img {
  width: 120px; height: 80px; object-fit: cover; border-radius: 12px;
}
.checkout-car-info h3 { font-size: 16px; font-weight: 800; color: var(--text-main); }
.checkout-car-info p { font-size: 12px; color: var(--text-muted); }
.checkout-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 0; border-bottom: 1px solid var(--border-subtle);
  font-size: 14px; color: var(--text-main);
}
.checkout-row:last-child { border-bottom: none; }
.checkout-row-label { font-weight: 500; }
.checkout-row-value { font-weight: 700; }
.checkout-total {
  font-size: 18px; font-weight: 900; color: var(--brand-red);
}
.checkout-service-row {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 0; font-size: 13px;
}
.checkout-service-info { flex: 1; }
.checkout-service-name { font-weight: 600; color: var(--text-main); margin-bottom: 2px; }
.checkout-service-remove { background: none; border: 1.5px solid var(--brand-red); cursor: pointer; color: var(--brand-red); font-size: 10px; width: 22px; height: 22px; padding: 0; opacity: 0.55; transition: opacity 0.2s, background 0.2s, color 0.2s; line-height: 1; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.checkout-service-remove:hover { opacity: 1; background: var(--brand-red); color: #fff; }
.checkout-service-days { font-size: 11px; color: var(--text-muted); }
.checkout-service-price { font-weight: 700; color: var(--text-main); margin-left: auto; }
.checkout-btn {
  display: block; width: 100%; padding: 18px; border-radius: 16px;
  background: var(--wa-green); color: #fff; border: none; font-size: 16px;
  font-weight: 800; cursor: pointer; font-family: var(--font-sans);
  text-align: center; text-decoration: none; transition: all 0.3s;
  margin-top: 16px;
}
.checkout-btn:hover { background: var(--wa-green-dark); }
.step-nav {
  display: flex; justify-content: center; gap: 16px; margin-top: 40px;
}
.step-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 36px; border-radius: 50px; border: none; font-size: 13px;
  font-weight: 800; cursor: pointer; font-family: var(--font-sans);
  text-decoration: none; transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  letter-spacing: 0.03em; position: relative; overflow: hidden;
}
.step-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
@media (max-width:640px) { .step-btn { padding: 12px 24px; font-size: 11px; gap: 6px; } .step-btn svg { width: 14px; height: 14px; } .step-nav { gap: 10px; margin-top: 24px; } }
.step-prev {
  background: transparent; color: var(--text-main);
  border: 1.5px solid var(--border-main);
}
.step-prev:hover { background: var(--bg-secondary); border-color: var(--text-muted); transform: translateY(-1px); }
.step-prev:active { transform: translateY(0); }
.step-next {
  background: var(--brand-red); color: #fff;
  box-shadow: 0 8px 32px rgba(249,1,2,0.25);
}
.step-next:hover { opacity: 0.92; transform: translateY(-2px); box-shadow: 0 12px 40px rgba(249,1,2,0.35); }
.step-next:active { transform: translateY(0); box-shadow: 0 4px 16px rgba(249,1,2,0.2); }
.step-nav .step-next:only-child { margin: 0 auto; }
.checkout-days-stepper {
  display: inline-flex; align-items: center; gap: 0;
  border: 1px solid var(--border-main); border-radius: 8px; overflow: hidden;
}
.checkout-days-btn {
  width: 28px; height: 28px; border: none; background: var(--bg-secondary);
  color: var(--text-main); font-size: 16px; font-weight: 700; cursor: pointer;
  display: flex; align-items: center; justify-content: center; line-height: 1;
  transition: background 0.15s; padding: 0;
}
.checkout-days-btn:hover { background: var(--bg-surface); }
.checkout-days-value {
  min-width: 28px; text-align: center; font-size: 13px; font-weight: 800;
  color: var(--text-main); padding: 0 4px; line-height: 28px;
}
.checkout-days-label { font-size: 11px; color: var(--text-muted); font-weight: 600; }
.checkout-days-mult { font-size: 11px; color: var(--text-muted); font-weight: 500; margin-left: 8px; }

/* ===== CONTACT FORM ===== */
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form-field { display: flex; flex-direction: column; gap: 4px; }
.contact-form-label {
  font-size: 11px; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.05em; color: var(--text-muted);
}
.contact-form-input {
  width: 100%; padding: 14px 16px; border-radius: 14px;
  border: 1px solid var(--border-main); background: var(--bg-input);
  color: var(--text-main); font-size: 14px; font-weight: 600;
  font-family: var(--font-sans); outline: none; transition: border 0.2s;
}
.contact-form-input:focus { border-color: var(--text-main); box-shadow: 0 0 0 3px rgba(0,0,0,0.04); }

/* ===== SUCCESS MODAL ===== */
.modal-overlay {
  position: fixed; inset: 0; z-index: 999;
  background: rgba(0,0,0,0.7); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
}
.modal-content {
  background: var(--bg-main); border-radius: 32px; padding: 48px 32px 32px;
  max-width: 420px; width: 100%; text-align: center;
  border: 1px solid var(--border-main);
  animation: modalIn 0.3s ease;
}
@keyframes modalIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.modal-icon {
  display: flex; align-items: center; justify-content: center; margin: 0 auto 20px;
}
.modal-icon svg.modal-icon-circle { width: 80px; height: 80px; }
.modal-title {
  font-size: 22px; font-weight: 900; color: var(--text-main);
  font-family: var(--font-serif); margin-bottom: 8px;
}
.modal-desc {
  font-size: 13px; color: var(--text-muted); line-height: 1.6;
  margin-bottom: 4px;
}
.modal-brand {
  font-size: 10px; font-weight: 900; text-transform: uppercase;
  letter-spacing: 0.15em; color: var(--text-subtle); margin-bottom: 24px;
}
.modal-actions { display: flex; flex-direction: column; gap: 10px; }
.modal-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px; border-radius: 14px; border: none; font-size: 13px;
  font-weight: 800; cursor: pointer; font-family: var(--font-sans);
  text-decoration: none; transition: all 0.2s;
}
.modal-btn-wa { background: var(--wa-green); color: #fff; }
.modal-btn-wa:hover { background: var(--wa-green-dark); }
.modal-btn-email { background: var(--bg-secondary); color: var(--text-main); border: 1px solid var(--border-main); }
.modal-btn-email:hover { background: var(--bg-subtle); }
.modal-btn-home { background: var(--brand-red); color: #fff; }
.modal-btn-home:hover { opacity: 0.9; }
.modal-btn-close { background: none; color: var(--text-muted); text-decoration: underline; }

/* ===== LANGUAGE VISIBILITY ===== */
[lang^="en"] .lang-ar, [lang="en"] .lang-ar { display: none !important; }
[lang="ar"] .lang-en { display: none !important; }
.lang-ar, .lang-en { transition: opacity 0.3s; }

/* ===== SKELETON LOADING ===== */
.skeleton { background: linear-gradient(90deg, var(--bg-surface) 25%, var(--bg-secondary) 50%, var(--bg-surface) 75%); background-size: 200% 100%; animation: skeleton-shimmer 1.5s ease-in-out infinite; border-radius: 8px; }
@keyframes skeleton-shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

@keyframes grid-attention { 0%,100%{box-shadow:0 0 0 0 rgba(249,1,2,0)} 30%{box-shadow:0 0 0 4px rgba(249,1,2,0.3)} 70%{box-shadow:0 0 0 2px rgba(249,1,2,0.1)} }
.skeleton-card { border-radius: 28px; overflow: hidden; background: var(--bg-secondary); border: 1px solid var(--border-main); }
.skeleton-card-img { aspect-ratio: 16/10; }
.skeleton-card-body { padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.skeleton-line { height: 12px; width: 100%; }
.skeleton-line-sm { height: 12px; width: 60%; }
.skeleton-line-xs { height: 12px; width: 40%; }
.skeleton-pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.skeleton-pricing div { height: 60px; border-radius: 14px; }

/* ===== INLINE FORM VALIDATION ===== */
.ma-field-error { font-size: 10px; font-weight: 700; color: var(--brand-red); margin-top: 4px; display: none; }
.ma-field-error.visible { display: block; }
input.error, select.error, textarea.error { border-color: var(--brand-red) !important; box-shadow: 0 0 0 3px rgba(249,1,2,0.1) !important; }
input.success, select.success { border-color: #22c55e !important; }

/* ===== RTL COMPREHENSIVE SUPPORT ===== */
[dir="rtl"] .nav-inner { flex-direction: row-reverse; }
[dir="rtl"] .nav-links { flex-direction: row; }
[dir="rtl"] .nav-links .nav-link-wa { margin-left: 0; }
[dir="rtl"] .nav-actions { flex-direction: row-reverse; }
[dir="rtl"] .nav-logo { flex-direction: row-reverse; }
[dir="rtl"] .mobile-link { text-align: right; }
[dir="rtl"] .mobile-menu-inner { direction: rtl; }

[dir="rtl"] .sw-grid-top { direction: rtl; }
[dir="rtl"] .sw-select { background-position: left 20px center !important; padding: 16px 20px; }
[dir="rtl"] .sw-field-label { flex-direction: row-reverse; }
[dir="rtl"] .sw-time-group { direction: rtl; }
[dir="rtl"] .sw-extras { direction: rtl; }
[dir="rtl"] .sw-extra { flex-direction: row-reverse; }
[dir="rtl"] .sw-extra-info { text-align: right; }
[dir="rtl"] .sw-field-row { direction: rtl; }
[dir="rtl"] .sw-card { direction: rtl; }

[dir="rtl"] .features-grid { direction: rtl; }
[dir="rtl"] .feature-card { direction: rtl; text-align: center; }
[dir="rtl"] .feature-desc { text-align: center; }

[dir="rtl"] .cat-tabs { direction: rtl; }
[dir="rtl"] .car-card { direction: rtl; }
[dir="rtl"] .car-card-body { direction: rtl; }
[dir="rtl"] .car-card-header { direction: rtl; }
[dir="rtl"] .car-card-name { text-align: right; }
[dir="rtl"] .car-card-year { text-align: left; }
[dir="rtl"] .car-card-category-overlay { left: auto; right: 16px; }
[dir="rtl"] .car-card-tier { text-align: center; }
[dir="rtl"] .step-nav { direction: rtl; }
[dir="rtl"] .step-next { margin-left: 0; margin-right: auto; }

[dir="rtl"] .checkout-grid { direction: rtl; }
[dir="rtl"] .checkout-car { flex-direction: row-reverse; }
[dir="rtl"] .checkout-car-info { text-align: right; }
[dir="rtl"] .checkout-row { flex-direction: row-reverse; }
[dir="rtl"] .checkout-service-row { flex-direction: row-reverse; }
[dir="rtl"] .checkout-days-label { margin-left: 4px; }
[dir="rtl"] .checkout-service-days { text-align: right; }

[dir="rtl"] .contact-grid { direction: rtl; }
[dir="rtl"] .contact-info { direction: rtl; }
[dir="rtl"] .contact-item { flex-direction: row-reverse; }
[dir="rtl"] .contact-item > div { text-align: right; }
[dir="rtl"] .contact-socials { direction: rtl; }
[dir="rtl"] .contact-cta { direction: rtl; }
[dir="rtl"] .contact-cta-btn { align-self: flex-end; }
[dir="rtl"] .contact-form { direction: rtl; }
[dir="rtl"] .contact-form-label { text-align: right; }
[dir="rtl"] .contact-form-input { text-align: right; }

[dir="rtl"] .footer { direction: rtl; }
[dir="rtl"] .footer-grid { direction: rtl; }
[dir="rtl"] .footer-link { text-align: right; }
[dir="rtl"] .footer-heading { text-align: right; }
[dir="rtl"] .footer-desc { text-align: right; }
[dir="rtl"] .footer-bottom { direction: rtl; }
[dir="rtl"] .footer-logo-img { margin-left: 0; }
[dir="rtl"] .footer-social-bar { direction: rtl; }
[dir="rtl"] .footer-social-link { text-align: right; }

[dir="ltr"] .footer { }
[dir="ltr"] .footer-desc { text-align: left; }

[dir="rtl"] .modal-content { direction: rtl; }
[dir="rtl"] .modal-actions { direction: rtl; }
[dir="rtl"] .modal-btn { flex-direction: row-reverse; }
[dir="rtl"] .section-header { direction: rtl; }
[dir="rtl"] .hero-title-ar { direction: rtl; }
[dir="rtl"] .progress-inner { flex-direction: row; }
[dir="ltr"] .progress-inner { flex-direction: row; }
[dir="rtl"] .step-entering { animation: stepFadeInRtl 0.35s cubic-bezier(0.4,0,0.2,1) forwards; }
[dir="rtl"] .step-leaving { animation: stepFadeOutRtl 0.25s cubic-bezier(0.4,0,0.2,1) forwards; }
@keyframes stepFadeInRtl { 0%{opacity:0;transform:translateY(16px)} 100%{opacity:1;transform:translateY(0)} }
@keyframes stepFadeOutRtl { 0%{opacity:1;transform:translateY(0)} 100%{opacity:0;transform:translateY(-12px)} }

/* ===== RESPONSIVE ===== */
@media (max-width: 640px) {
  .cat-tabs { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .contact-info { padding: 24px; border-radius: 32px; }
  .contact-cta { padding: 32px; border-radius: 32px; }
  .feature-card { border-radius: 32px; padding: 32px 24px; }
  .car-card-specs { grid-template-columns: repeat(2, 1fr); }
  .car-card-name { font-size: 14px; }
  .checkout-service-name { font-size: 11px; }
  .sw-extras { grid-template-columns: 1fr; }
}

/* ===== TOUCH DEVICES: disable sticky hover ===== */
@media (hover: none) and (pointer: coarse) {
  .feature-card:hover { transform: none; border-color: var(--border-main); }
  .feature-card:hover .feature-icon { background: rgba(249,1,2,0.1); }
  .feature-card:hover .feature-icon svg { filter: none; }
  .car-card:hover { transform: none; box-shadow: none; }
  .car-card:hover .car-card-img img { transform: none; }
  .car-card-btn:hover { background: transparent; color: var(--brand-red); box-shadow: none; transform: none; }
  .cat-tab:hover { transform: none; }
  .sw-submit:hover { transform: none; }
  .hero-cta:hover { transform: none; }
  .contact-cta-btn:hover { opacity: 1; }
  .nav-btn:hover { border-color: var(--border-main); }
  .nav-link:hover { opacity: 0.4; }
}

/* ===== ELEMENTOR COMPATIBILITY ===== */
body.elementor-active .elementor-section.elementor-section-boxed > .elementor-container,
body.elementor-active .e-container > .elementor-container,
body.elementor-active .e-con-inner { max-width: 1200px; }

[dir="rtl"] .elementor-section-boxed > .elementor-container,
[dir="rtl"] .e-con > .e-con-inner { direction: rtl; text-align: right; }

[data-theme="dark"] .elementor-section,
[data-theme="dark"] .elementor-element-edit-mode,
[data-theme="dark"] .elementor-widget-wrap { background-color: var(--bg-main) !important; color: var(--text-main) !important; }

[data-theme="dark"] .elementor-heading-title { color: var(--text-main) !important; }
[data-theme="dark"] .elementor-button { border-color: var(--border-main) !important; }
[data-theme="dark"] .sw-input,
[data-theme="dark"] .sw-select,
[data-theme="dark"] .sw-extra-check,
[data-theme="dark"] .sw-tier-group,
[data-theme="dark"] .sw-currency-group { border-color: var(--border-input); }
[data-theme="dark"] .sw-input:disabled { background: #c0c4c8; color: #000; }
[data-theme="dark"] .cat-tab { background: #f4f4f4; border-color: rgba(0,0,0,0.1); color: #000; }
[data-theme="dark"] .cat-tab-count { color: #000; }
[data-theme="dark"] .cat-tab.active .cat-tab-count { color: var(--brand-red); }
[data-theme="dark"] .car-card { border-color: var(--brand-red); }
[data-theme="dark"] .sw-card { border-color: var(--brand-red); }
[data-theme="dark"] .feature-card { border-color: var(--brand-red); }
@media (max-width:767px) {
  [data-theme="dark"] .nav-btn,
  [data-theme="dark"] .lang-btn { border-color: var(--border-input); }
}
[data-theme="dark"] .cat-tab.active { background: #fff; border-color: var(--brand-red); }

.elementor-widget .elementor-icon-list-item { align-items: center; }

.elementor-canvas #elementor-canvas-content { min-height: 100vh; display: flex; flex-direction: column; }

/* ===== ACCESSIBILITY ===== */
.skip-link {
  position: absolute;
  top: -1000px;
  left: 8px;
  z-index: 999999;
  background: var(--text-main, #000);
  color: var(--bg-main, #fff);
  padding: 8px 16px;
  border-radius: 0 0 8px 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus {
  top: 0;
}

:focus-visible {
  outline: 2px solid var(--brand-red, #f90102);
  outline-offset: 2px;
}

/* ===== 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;
  }
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* ===== DARK MODE IMPROVEMENTS ===== */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --bg-main: #0f1012;
    --bg-secondary: #1a1b1e;
    --text-main: #f0f0f0;
    --text-muted: rgba(255,255,255,0.4);
    --text-subtle: rgba(255,255,255,0.3);
    --bg-card: #1a1b1e;
    --bg-input: #1a1b1e;
    --bg-surface: #1a1b1e;
    --border-main: rgba(255,255,255,0.1);
    --border-subtle: rgba(255,255,255,0.05);
    --bg-subtle: rgba(255,255,255,0.03);
  }
}

/* ===== STEP TRANSITIONS ===== */
.step-entering { animation: stepFadeIn 0.35s cubic-bezier(0.4,0,0.2,1) forwards; }
.step-leaving { animation: stepFadeOut 0.25s cubic-bezier(0.4,0,0.2,1) forwards; }
@keyframes stepFadeIn { 0%{opacity:0;transform:translateY(16px)} 100%{opacity:1;transform:translateY(0)} }
@keyframes stepFadeOut { 0%{opacity:1;transform:translateY(0)} 100%{opacity:0;transform:translateY(-12px)} }

/* ===== TOAST NOTIFICATIONS ===== */
#toastContainer {
  position: fixed; top: 96px; right: 20px; z-index: 10000;
  display: flex; flex-direction: column; gap: 8px; pointer-events: none;
  max-width: 360px;
}
[dir="rtl"] #toastContainer { right: auto; left: 20px; }
.toast {
  pointer-events: auto; display: flex; align-items: center; gap: 10px;
  padding: 14px 18px; border-radius: 14px; font-size: 13px; font-weight: 600;
  font-family: var(--font-sans); backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  transform: translateX(120%); opacity: 0;
  transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
}
.toast-visible { transform: translateX(0); opacity: 1; }
[dir="rtl"] .toast { transform: translateX(-120%); }
[dir="rtl"] .toast-visible { transform: translateX(0); }
.toast-success { background: rgba(34,197,94,0.95); color: #fff; }
.toast-error { background: rgba(239,68,68,0.95); color: #fff; }
.toast-warning { background: rgba(251,191,36,0.95); color: #1a1a1a; }
.toast-info { background: rgba(59,130,246,0.95); color: #fff; }
.toast-icon { font-size: 16px; font-weight: 900; flex-shrink: 0; width: 20px; text-align: center; }
.toast-msg { flex: 1; line-height: 1.4; }
.toast-close {
  background: none; border: none; color: inherit; cursor: pointer;
  font-size: 18px; opacity: 0.6; padding: 0; line-height: 1;
  flex-shrink: 0; font-family: var(--font-sans);
}
.toast-close:hover { opacity: 1; }

/* ===== PRICE UPDATE FLASH ===== */
@keyframes priceFlash { 0%,100%{opacity:1} 30%{opacity:0.5;color:var(--brand-red)} 60%{opacity:1;color:var(--brand-red)} }
.price-flash { animation: priceFlash 0.6s ease; }

/* ===== CONFETTI CANVAS ===== */
.confetti-canvas { border-radius: 24px; }

/* ===== SECTION ENTRY BASE ===== */
#searchSection, #checkout, #contact { transition: opacity 0.3s ease, transform 0.3s ease; }

/* ===== MIN FONT SIZE FIX ===== */
.contact-page .cp-field label,
.modal-btn-primary,
.modal-btn-secondary,
.step-marker,
.progress-step-label,
.checkout-service-included { font-size: clamp(11px, 1.5vw, 14px); }



