/* MOTORCADE — الواجهة العامة
   هوية موكب كارز (من الشعار): كحلي عميق، ذهبي نحاسي دافئ، لمسة فيروزية، سيارات بيضاء
   --ink لون النص، و--fill/--on-fill للأزرار والحالات المختارة (ذهبي بنص كحلي)، و--panel للكتل الداكنة */
:root {
  color-scheme: dark;
  --bg: #010e20;
  --surface: #03172f;
  --card: #072040;
  --ink: #f4f7fb;
  --ink-2: #c6d2e0;
  --muted: #8fa3b9;
  --line: #173a62;
  --accent: #ecae68;
  --accent-dark: #f7cb92;
  --accent-soft: rgba(236,174,104,.13);
  --teal: #2fb5a6;
  --fill: linear-gradient(180deg, #fad7a4 0%, #eaa75f 55%, #c97a3b 100%);
  --on-fill: #010e20;
  --panel: #000a18;
  --glow: 0 0 24px rgba(240,170,95,.45);
  --silver: linear-gradient(180deg, #fad7a4 0%, #eaa75f 55%, #c97a3b 100%);
  --block: radial-gradient(110% 85% at 30% 20%, #16406f 0%, #04193a 50%, #000a18 100%);
  --ok: #3ccf8e;
  --ok-soft: rgba(60,207,142,.12);
  --danger: #ff6b5e;
  --radius: 0px;
  --shadow: 0 18px 40px -18px rgba(0, 0, 0, .75);
  --font: 'Tajawal', 'Segoe UI', Tahoma, sans-serif;
  --font-head: 'Cairo', 'Tajawal', 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); background: var(--bg); color: var(--ink); line-height: 1.75; font-size: 16px; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--on-fill); }
.container { width: min(1240px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.hidden, [hidden] { display: none !important; }
.num { font-variant-numeric: tabular-nums; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 500; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }
.eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--ink); }
.dot { color: var(--accent); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1.5px solid transparent; border-radius: 0; padding: 12px 22px; font-weight: 600; font-size: 15px; cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease); white-space: nowrap; background: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--silver); color: var(--on-fill); border-color: #c9ccd1; }
.btn-primary:hover { background: #fff; color: var(--on-fill); border-color: #fff; box-shadow: var(--glow); }
.btn-dark { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-dark:hover { background: var(--fill); color: var(--on-fill); }
.btn-outline { border-color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--fill); color: var(--on-fill); }
.btn-ghost-light { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--on-fill); }
.btn-wa { background: #1fa855; color: #fff; }
.btn-wa:hover { background: #158a44; }
.btn-block { width: 100%; }
.btn-sm { padding: 8px 14px; font-size: 13.5px; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn .arr, .link-more::after { transition: transform .2s var(--ease); }
.btn:hover .arr { transform: translateX(-4px); }
.arrow-btn { width: 56px; height: 56px; display: grid; place-items: center; background: var(--fill); color: var(--on-fill); font-size: 22px; transition: background .2s var(--ease); }
.arrow-btn:hover { background: #fff; box-shadow: var(--glow); }

/* header */
.topbar { display: none; }
.site-header { background: rgba(11,23,38,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-header .container { display: flex; align-items: center; gap: 28px; height: 72px; }
.logo { display: flex; align-items: baseline; gap: 10px; white-space: nowrap; font-weight: 800; font-size: 26px; letter-spacing: -.02em; line-height: 1; }
.logo i { font-style: normal; color: var(--accent); }
.logo small { font-size: 9.5px; letter-spacing: .3em; color: var(--muted); font-weight: 500; }
.nav { display: flex; gap: 2px; margin-inline-start: auto; }
.nav a { padding: 8px 12px; white-space: nowrap; font-weight: 500; font-size: 14.5px; color: var(--ink-2); position: relative; }
.nav a::after { content: ''; position: absolute; inset-inline: 12px; bottom: 2px; height: 2px; background: var(--accent); transform: scaleX(0); transition: transform .25s var(--ease); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.nav a.active { color: var(--ink); font-weight: 600; }
.header-cta { display: flex; gap: 10px; align-items: center; }
.header-phone { font-size: 13px; color: var(--muted); direction: ltr; }
.header-phone:hover { color: var(--ink); }
.menu-btn { display: none; margin-inline-start: auto; background: none; border: 0; padding: 10px; cursor: pointer; }
.menu-btn span { display: block; width: 26px; height: 2px; background: var(--ink); margin: 6px 0; transition: transform .2s; }
.compare-badge { background: var(--accent); color: var(--on-fill); font-size: 11px; padding: 0 6px; margin-inline-start: 4px; }

/* hero */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr) 60px; gap: 32px; min-height: min(640px, calc(100vh - 72px)); padding: 48px 0 56px; align-items: stretch; }
.hero-copy { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; padding-top: 16px; position: relative; z-index: 2; }
.wordmark { font-size: clamp(64px, 9vw, 132px); font-weight: 800; letter-spacing: -.04em; line-height: .9; margin: 18px 0 0; }
.wordmark i { font-style: normal; color: var(--accent); }
/* شعار موكب كارز مكان الاسم، والسيارة صورة توسان مقصوصة (public/img) */
.wordmark-logo { margin-top: 10px; line-height: 0; }
.wordmark-logo img { width: min(100%, 380px); height: auto; filter: drop-shadow(0 6px 18px rgba(0,0,0,.45)) drop-shadow(0 0 22px rgba(255,255,255,.08)); }
.hero-car.hero-photo { inset-inline: 8% -4%; top: auto; bottom: 7%; }
.hero-photo img { width: 100%; height: auto; display: block; }
.hero h2 { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.35; margin: 0 0 12px; font-weight: 700; }
.hero h2 em { font-style: normal; color: var(--accent); }
.hero-lead { color: var(--ink-2); font-size: 16px; margin: 0 0 24px; max-width: 440px; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-points { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; }
.hero-points span::before { content: '—'; color: var(--accent); margin-inline-end: 6px; }
.hero-stage { position: relative; min-height: 440px; }
.hero-art { position: absolute; inset: 0; }
.hero-block { position: absolute; inset: 14% 0 0 12%; background: var(--block); box-shadow: inset 0 0 0 1px #173a62; }
/* حلقة الضوء تحت السيارة — نفس روح إعلانات المعرض */
.hero-block::before { content: ''; position: absolute; inset-inline: 6%; bottom: 7%; height: 20%; border: 2px solid rgba(250,205,150,.95); border-radius: 50%; box-shadow: 0 0 24px rgba(240,170,95,.5), inset 0 0 24px rgba(240,170,95,.2); }
.hero-block::after { content: 'MOKEP CARS'; position: absolute; bottom: 14px; inset-inline-start: 18px; color: rgba(255,255,255,.22); font-weight: 800; font-size: clamp(40px, 6vw, 84px); letter-spacing: -.03em; line-height: 1; direction: ltr; }
.hero-car { position: absolute; inset-inline: -6% 4%; top: 40%; z-index: 1; animation: carIn 1.1s var(--ease) both; }
.hero-car svg { width: 100%; height: auto; filter: drop-shadow(0 26px 24px rgba(0,0,0,.7)) drop-shadow(0 0 30px rgba(255,255,255,.08)); }
@keyframes carIn { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: none; } }
.hero-art .arrow-btn { position: absolute; bottom: 0; inset-inline-start: 12%; z-index: 2; }
.hero-calc { position: absolute; top: 0; inset-inline-end: 0; width: 250px; background: var(--panel); border: 1px solid var(--line); color: #fff; padding: 18px 20px; z-index: 2; }
.hero-calc .label { font-size: 11px; letter-spacing: .1em; color: #9a9a9a; }
.hero-calc .big { font-size: 34px; font-weight: 800; line-height: 1.15; color: #fff; margin: 2px 0 10px; }
.hero-calc .big small { font-size: 14px; font-weight: 500; color: var(--accent); }
.hero-calc input[type=range] { width: 100%; accent-color: var(--accent); }
.hero-calc .row { display: flex; justify-content: space-between; font-size: 12.5px; color: #bdbdbd; }
.hero-calc a { display: flex; justify-content: space-between; margin-top: 12px; padding-top: 10px; border-top: 1px solid #2a4a6b; font-size: 13px; font-weight: 600; }
.hero-calc a:hover { color: var(--accent); }
.hero-index { writing-mode: vertical-rl; display: flex; justify-content: space-between; align-items: center; font-size: 12px; letter-spacing: .25em; color: var(--muted); direction: ltr; }
.hero-index b { font-size: 54px; font-weight: 800; color: var(--ink); letter-spacing: -.03em; line-height: 1; }
.hero-index span { display: flex; gap: 10px; align-items: center; }
.hero-index span::before { content: ''; width: 2px; height: 40px; background: var(--ink); }

/* search box */
.search-box { position: relative; z-index: 3; margin-top: -36px; background: var(--card); box-shadow: var(--shadow); padding: 18px; display: grid; grid-template-columns: repeat(5, 1fr) auto; gap: 0; align-items: end; }
.search-box .field { padding: 0 14px; border-inline-start: 1px solid var(--line); }
.search-box .field:first-child { border-inline-start: 0; }
.search-box .field select { border: 0; padding-inline: 0; font-weight: 600; background: transparent; }
.search-box .field select:focus { box-shadow: none; }
.search-box .btn { height: 56px; padding: 0 28px; }
.field label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 4px; font-weight: 500; letter-spacing: .02em; }
.field input, .field select, .field textarea { width: 100%; border: 1.5px solid var(--line); border-radius: 0; padding: 10px 12px; background: var(--card); outline: none; transition: border-color .15s; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); }
.field textarea { min-height: 90px; resize: vertical; }
.field .hint { font-size: 12px; color: var(--muted); margin-top: 4px; }

/* sections */
section.block { padding: 80px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 32px; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding-bottom: 18px; }
.section-head h2 { margin: 6px 0 0; font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.section-head h2 i { font-style: normal; color: var(--accent); }
.section-head p { margin: 6px 0 0; color: var(--muted); }
.section-num { font-size: 12px; letter-spacing: .15em; color: var(--accent); font-weight: 600; }
.link-more { font-weight: 600; display: inline-flex; gap: 8px; align-items: center; border-bottom: 2px solid var(--ink); padding-bottom: 2px; }
.link-more::after { content: '←'; }
.link-more:hover { color: var(--accent); border-color: var(--accent); }
.link-more:hover::after { transform: translateX(-4px); }

/* car grid & card */
.car-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px 20px; }
/* no border: the card and the car's studio background share the page navy */
.car-card { background: var(--bg); display: flex; flex-direction: column; position: relative; transition: background .25s var(--ease); }
.car-card::after { content: ''; position: absolute; inset-inline: 0; bottom: 0; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.car-card:hover { background: var(--bg); }
.car-card:hover::after { transform: scaleX(1); }
/* car floats in the card: the photo stays solid (real car), its own studio glow sits behind it,
   the card's navy matches the photo's background and the photo's edges fade into it */
.car-thumb { position: relative; aspect-ratio: 16/9; overflow: hidden; background: radial-gradient(60% 70% at 50% 45%, #03172f 0%, var(--bg) 80%); }
.car-thumb img, .car-thumb svg { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; transition: transform .5s var(--ease); }
.car-thumb img { transform: scale(.86); animation: carFloat 6s ease-in-out infinite; -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent), linear-gradient(180deg, transparent, #000 10%, #000 88%, transparent); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent), linear-gradient(180deg, transparent, #000 10%, #000 88%, transparent); mask-composite: intersect; }
.car-grid > :nth-child(3n+2) .car-thumb img { animation-delay: -2s; }
.car-grid > :nth-child(3n) .car-thumb img { animation-delay: -4s; }
.car-card:hover .car-thumb img { transform: scale(.91); }
.car-card:hover .car-thumb svg { transform: scale(1.04); }
/* the car sits lower so it's centred between the labels on top and the title/price below */
@keyframes carFloat { 0%, 100% { translate: 0 6%; } 50% { translate: 0 3.5%; } }
@media (prefers-reduced-motion: reduce) { .car-thumb img { animation: none; } }
.badges { position: absolute; top: 12px; inset-inline-start: 12px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 2; }
.badge { font-size: 11.5px; font-weight: 600; padding: 3px 9px; background: #fff; color: var(--on-fill); }
.badge-accent { background: var(--fill); color: var(--on-fill); }
.badge-ok { background: #fff; color: var(--on-fill); }
.badge-ok::before { content: '●'; color: var(--ok); font-size: 8px; margin-inline-end: 5px; vertical-align: middle; }
.badge-dark { background: #000; color: #fff; outline: 1px solid #2f5274; }
.badge-red { background: var(--danger); color: #fff; }
/* on the car cards the labels are plain text, no boxes */
.car-thumb .badges { top: 14px; inset-inline: 16px; gap: 4px 14px; }
.car-thumb .badge { background: none; outline: 0; padding: 0; font-size: 12.5px; font-weight: 700; color: var(--ink-2); text-shadow: 0 1px 6px rgba(0, 0, 0, .6); }
.car-thumb .badge-accent { color: var(--accent); box-shadow: none; }
.car-thumb .badge-red { color: var(--danger); }
.car-body { padding: 18px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.car-title { font-weight: 700; font-size: 18px; line-height: 1.35; letter-spacing: -.01em; }
.car-title small { display: block; color: var(--muted); font-weight: 400; font-size: 12.5px; margin-top: 2px; }
.car-title:hover { color: var(--accent); }
.car-specs { display: flex; flex-wrap: wrap; gap: 0; font-size: 12.5px; color: var(--ink-2); }
.car-specs span:not(:last-child)::after { content: '/'; color: var(--line); margin: 0 8px; }
.car-price { display: flex; justify-content: space-between; align-items: end; gap: 8px; border-top: 1px solid var(--line); padding-top: 14px; margin-top: auto; }
.price-cash { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.price-cash small { font-size: 12px; font-weight: 500; color: var(--muted); }
.price-old { color: var(--muted); text-decoration: line-through; font-size: 12.5px; }
.price-monthly { text-align: end; font-size: 11.5px; color: var(--muted); }
.price-monthly b { display: block; color: var(--accent); font-size: 16px; }
.car-actions { display: grid; grid-template-columns: 1fr auto; gap: 0; }
.car-actions .btn { padding-block: 11px; }
.compare-toggle { border-inline-start: 0 !important; }
.compare-toggle.on { background: var(--fill); color: var(--on-fill); }

/* brand grid */
.brand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1px; padding: 1px; }
.brand-tile { outline: 1px solid var(--line); background: var(--surface); padding: 22px 16px; transition: background .2s, color .2s; display: flex; flex-direction: column; gap: 2px; }
.brand-tile:hover { background: var(--fill); color: var(--on-fill); }
.brand-tile b { font-size: 18px; font-weight: 700; }
.brand-tile span { font-size: 12px; color: var(--muted); }
.brand-tile:hover span { color: #3a3e44; }

/* budget chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1.5px solid var(--ink); background: transparent; padding: 10px 18px; font-weight: 600; font-size: 14px; cursor: pointer; transition: .2s; }
.chip:hover, .chip.on { background: var(--fill); border-color: #fff; color: var(--on-fill); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; border-top: 2px solid var(--ink); }
.step { padding: 26px 22px 26px 0; position: relative; border-inline-start: 1px solid var(--line); padding-inline-start: 22px; }
.step:first-child { border-inline-start: 0; padding-inline-start: 0; }
.step::before { counter-increment: s; content: '0' counter(s); display: block; font-size: 44px; font-weight: 800; color: var(--accent); line-height: 1; margin-bottom: 18px; letter-spacing: -.03em; }
.step h3 { margin: 0 0 6px; font-size: 18px; }
.step p { margin: 0; color: var(--muted); font-size: 14px; }

/* features strip */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.feature { display: flex; gap: 14px; align-items: start; }
.feature .ico { flex: none; width: 44px; height: 44px; background: var(--fill); color: var(--on-fill); display: grid; place-items: center; font-size: 19px; }
.feature b { display: block; font-size: 16px; }
.feature span { color: var(--muted); font-size: 13.5px; }
.dark-band { background: var(--panel); color: #fff; border-block: 1px solid var(--line); }
.dark-band .muted, .dark-band .feature span { color: #9a9a9a; }

/* banks */
.bank-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1px; padding: 1px; }
.bank-tile { outline: 1px solid var(--line); background: var(--surface); padding: 20px; display: flex; justify-content: space-between; align-items: center; }
.bank-tile b { font-size: 15px; }
.bank-tile span { color: var(--accent); font-weight: 800; font-size: 20px; }

/* FAQ */
.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 16.5px; padding: 20px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; width: 28px; height: 28px; flex: none; display: grid; place-items: center; background: var(--fill); color: var(--on-fill); font-size: 18px; transition: background .2s; }
.faq details[open] summary::after { content: '−'; background: #fff; box-shadow: var(--glow); }
.faq p { margin: 0 0 20px; color: var(--ink-2); max-width: 760px; }

/* CTA band */
.cta-band { background: var(--block); box-shadow: inset 0 0 0 1px #173a62; color: #fff; padding: 44px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; position: relative; overflow: hidden; }
.cta-band h2 { margin: 0 0 6px; font-size: clamp(24px, 3vw, 34px); font-weight: 800; letter-spacing: -.02em; }
.cta-band p { margin: 0; opacity: .9; }
.cta-band .btn-dark:hover { background: #fff; color: var(--on-fill); }

/* footer */
.site-footer { background: var(--panel); border-top: 1px solid var(--line); color: #b5b5b5; padding: 64px 0 22px; margin-top: 80px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; }
.site-footer h4 { color: #fff; margin: 0 0 16px; font-size: 13px; letter-spacing: .1em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 14px; }
.site-footer a:hover { color: #fff; }
.social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.social a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid #2a4a6b; color: #d3d6da; transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); }
.site-footer .social a:hover { background: var(--silver); color: var(--on-fill); border-color: #a7acb3; }
.site-footer .logo { color: #fff; margin-bottom: 14px; font-size: 34px; }
.footer-bottom { border-top: 1px solid #173a62; margin-top: 44px; padding-top: 18px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12.5px; color: #8a8a8a; }

.wa-float { position: fixed; bottom: 20px; inset-inline-start: 20px; width: 54px; height: 54px; background: #1fa855; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 22px rgba(0,0,0,.25); z-index: 60; transition: transform .2s; }
.wa-float:hover { transform: translateY(-3px); }

/* inner page header */
.page-head { padding: 44px 0 32px; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-head::after { content: ''; position: absolute; inset-inline-end: 0; top: 0; bottom: 0; width: min(26vw, 320px); background: var(--block); }
.page-head .container { position: relative; z-index: 1; }
.page-head h1 { margin: 0; font-size: clamp(30px, 4.5vw, 54px); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.page-head p { margin: 10px 0 0; color: var(--muted); max-width: 560px; }
.page-head-art { position: absolute; inset-inline-end: max(16px, calc((100vw - 1240px) / 2 - 40px)); bottom: -6px; width: min(30vw, 340px); z-index: 1; pointer-events: none; animation: carIn 1s var(--ease) both; }
.page-head-art svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 18px 18px rgba(0,0,0,.2)); }
.page-head-num { position: absolute; top: 18px; inset-inline-end: 22px; z-index: 1; color: #fff; font-size: 12px; letter-spacing: .2em; direction: ltr; opacity: .85; }

/* quick facts strip (car page) */
.quick-specs { display: flex; flex-wrap: wrap; gap: 0; margin-top: 22px; border-top: 2px solid var(--ink); max-width: 640px; }
.quick-specs div { padding: 12px 22px 0 0; flex: 1 1 120px; border-inline-start: 1px solid var(--line); padding-inline-start: 16px; }
.quick-specs div:first-child { border-inline-start: 0; padding-inline-start: 0; }
.quick-specs span { display: block; font-size: 11.5px; color: var(--muted); }
.quick-specs b { font-size: 17px; font-weight: 700; }

/* fixed buy bar on mobile (car page) */
.buy-bar { display: none; }

/* active filter chips (listing) */
.active-filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.active-filters:empty { display: none; }
.active-filters button { border: 0; background: var(--fill); color: var(--on-fill); padding: 5px 10px; font-size: 12.5px; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; }
.active-filters button::after { content: '×'; color: var(--on-fill); font-size: 15px; line-height: 1; }
.active-filters button:hover { background: #fff; }
.results-count { font-size: 15px; }
.results-count b { font-size: 26px; font-weight: 800; letter-spacing: -.02em; margin-inline-end: 4px; }

/* loading skeleton */
.skeleton { background: var(--surface); outline: 1px solid var(--line); }
.skeleton .sk-img { aspect-ratio: 16/9; background: #072040; }
.skeleton .sk-line { height: 12px; margin: 16px 18px 0; background: #072040; }
.skeleton .sk-line.short { width: 40%; margin-bottom: 22px; }
.skeleton .sk-img, .skeleton .sk-line { background: linear-gradient(90deg, #072040 25%, #173a62 50%, #072040 75%); background-size: 200% 100%; animation: shimmer 1.2s linear infinite; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* empty states with art */
.empty-art { display: grid; grid-template-columns: 1fr 1fr; align-items: center; background: var(--card); text-align: start; }
.empty-art .art { background: var(--block); align-self: stretch; display: grid; place-items: center; padding: 36px 20px; min-height: 260px; }
.empty-art .art svg { width: 100%; max-width: 380px; filter: drop-shadow(0 18px 18px rgba(0,0,0,.2)); }
.empty-art .txt { padding: 40px; }
.empty-art h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; margin: 6px 0 8px; letter-spacing: -.02em; }
.empty-art h2 i { font-style: normal; color: var(--accent); }
.empty-art p { color: var(--muted); margin: 0 0 22px; }

/* contact info */
.contact-big { display: grid; gap: 0; border-top: 2px solid var(--ink); }
.contact-big a, .contact-big div { padding: 16px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.contact-big span { color: var(--muted); font-size: 13px; }
.contact-big b { font-size: 17px; }
.contact-big a:hover b { color: var(--accent); }

/* success state after sending a form */
.form-done { display: grid; gap: 10px; padding: 28px; background: var(--panel); border: 1px solid var(--line); color: #fff; }
.form-done b { font-size: 24px; font-weight: 800; }
.form-done b::after { content: '.'; color: var(--accent); }
.form-done p { margin: 0; color: #bdbdbd; }
.crumbs { font-size: 12.5px; color: var(--muted); margin-bottom: 14px; }
.crumbs a:hover { color: var(--accent); }

/* listing page */
.listing { display: grid; grid-template-columns: 270px 1fr; gap: 28px; padding: 32px 0; align-items: start; }
.filters { background: var(--card); padding: 20px; position: sticky; top: 92px; display: grid; gap: 14px; }
.filters h3 { margin: 0; font-size: 16px; display: flex; justify-content: space-between; align-items: center; border-bottom: 2px solid var(--ink); padding-bottom: 10px; }
.filters h3 button { background: none; border: 0; color: var(--accent); cursor: pointer; font-size: 12.5px; font-weight: 600; }
.filter-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg { display: grid; grid-auto-flow: column; border: 1.5px solid var(--ink); }
.seg button { border: 0; background: transparent; padding: 8px; cursor: pointer; font-size: 13.5px; font-weight: 500; }
.seg button.on { background: var(--fill); color: var(--on-fill); }
.toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; gap: 12px; flex-wrap: wrap; }
.toolbar select { border: 1.5px solid var(--ink); border-radius: 0; padding: 8px 12px; background: transparent; font-weight: 500; }
.pager { display: flex; gap: 0; justify-content: center; margin-top: 32px; flex-wrap: wrap; }
.pager button { min-width: 44px; height: 44px; border: 1.5px solid var(--ink); margin-inline-start: -1.5px; background: transparent; cursor: pointer; font-weight: 600; }
.pager button.on { background: var(--fill); color: var(--on-fill); }
.empty { text-align: center; padding: 64px 20px; background: var(--surface); border: 1.5px dashed var(--line); color: var(--muted); }
.empty b { color: var(--ink); font-size: 18px; }
.filters-toggle { display: none; }

/* car detail */
.detail { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 28px; padding: 32px 0; align-items: start; }
.gallery-main { aspect-ratio: 16/10; overflow: hidden; background: #111; position: relative; }
.gallery-main::before { content: ''; position: absolute; inset: 30% 0 0 18%; background: var(--block); }
.gallery-main:has(img)::before { display: none; }
.gallery-main img, .gallery-main svg { width: 100%; height: 100%; object-fit: cover; position: relative; }
.gallery-main svg .bg { display: none; }
.gallery-main svg text { fill: #fff; }
.thumbs { display: flex; gap: 8px; margin-top: 8px; overflow-x: auto; }
.thumbs button { flex: none; width: 96px; aspect-ratio: 16/10; overflow: hidden; border: 2px solid transparent; padding: 0; cursor: pointer; background: #111; opacity: .65; transition: opacity .2s; }
.thumbs button.on { border-color: var(--accent); opacity: 1; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.photo-credit { margin: 6px 0 0; font-size: 11px; color: var(--muted); }
.photo-credit a { color: inherit; text-decoration: underline; }
.panel { background: var(--card); padding: 24px; }
.panel + .panel { margin-top: 16px; }
.panel h2, .panel h3 { margin: 0 0 16px; font-size: 19px; letter-spacing: -.01em; }
.panel h2::before, .panel > h3:first-child::before { content: ''; display: inline-block; width: 10px; height: 10px; background: var(--accent); margin-inline-end: 10px; }
.sticky-side { position: sticky; top: 92px; }
.spec-table { display: grid; grid-template-columns: 1fr 1fr; border-top: 2px solid var(--ink); }
.spec-table div { padding: 12px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 8px; font-size: 14.5px; }
.spec-table div:nth-child(odd) { padding-inline-end: 18px; }
.spec-table div:nth-child(even) { padding-inline-start: 18px; border-inline-start: 1px solid var(--line); }
.spec-table span { color: var(--muted); }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0; margin: 0; list-style: none; }
.feature-list li::before { content: '—'; color: var(--accent); font-weight: 800; margin-inline-end: 8px; }
.price-big { font-size: 38px; font-weight: 800; line-height: 1.15; letter-spacing: -.03em; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; border: 1.5px solid var(--ink); margin-bottom: 18px; }
.tabs button { border: 0; background: none; padding: 10px; font-weight: 600; cursor: pointer; }
.tabs button.on { background: var(--fill); color: var(--on-fill); }

/* finance calculator */
.calc { display: grid; gap: 16px; }
.range-field label { display: flex; justify-content: space-between; font-size: 13.5px; color: var(--muted); margin-bottom: 6px; }
.range-field label b { color: var(--ink); }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 22px; background: transparent; cursor: pointer; }
input[type=range]::-webkit-slider-runnable-track { height: 3px; background: var(--line); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; background: var(--accent); margin-top: -7.5px; border: 0; }
input[type=range]::-moz-range-track { height: 3px; background: var(--line); }
input[type=range]::-moz-range-thumb { width: 18px; height: 18px; background: var(--accent); border: 0; border-radius: 0; }
.hero-calc input[type=range]::-webkit-slider-runnable-track { background: #2a4a6b; }
.calc-result { background: var(--panel); border: 1px solid var(--line); color: #fff; padding: 20px; }
.calc-result .big { font-size: 38px; font-weight: 800; color: #fff; line-height: 1.15; letter-spacing: -.02em; }
.calc-result .big::after { content: ''; display: block; width: 40px; height: 3px; background: var(--accent); margin-top: 10px; }
.calc-lines { display: grid; gap: 5px; margin-top: 12px; font-size: 13.5px; color: #bdbdbd; }
.calc-lines div { display: flex; justify-content: space-between; }
.calc-lines b { color: #fff; font-weight: 500; }
.dbr { margin-top: 12px; font-size: 13px; padding: 9px 11px; }
.dbr.ok { background: rgba(60,207,122,.14); color: #8ee6b0; }
.dbr.bad { background: rgba(255,255,255,.12); color: #ffb3a6; }
.offers-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.offers-table th, .offers-table td { padding: 11px 8px; border-bottom: 1px solid var(--line); text-align: start; }
.offers-table th { color: var(--muted); font-weight: 500; font-size: 12.5px; border-bottom: 2px solid var(--ink); }
.offers-table tr.best td { background: var(--accent-soft); font-weight: 600; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-grid .full { grid-column: 1 / -1; }
.alert { padding: 12px 14px; font-size: 14px; }
.alert-ok { background: var(--ok-soft); color: var(--ok); border-inline-start: 3px solid var(--ok); }
.alert-err { background: var(--accent-soft); color: var(--danger); border-inline-start: 3px solid var(--accent); }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); opacity: 0; pointer-events: none; }

/* compare */
.compare-wrap { overflow-x: auto; background: var(--card); }
.compare-table { width: 100%; border-collapse: collapse; }
.compare-table th, .compare-table td { padding: 14px 12px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: top; }
.compare-table th:first-child, .compare-table td:first-child { text-align: start; color: var(--muted); font-weight: 500; width: 160px; }

/* legal pages */
.legal { max-width: 820px; padding: 40px 0; }
.legal h2 { font-size: 21px; margin: 32px 0 10px; }
.legal h2::before { content: ''; display: inline-block; width: 8px; height: 8px; background: var(--accent); margin-inline-end: 10px; vertical-align: middle; }
.legal p, .legal li { color: var(--ink-2); }
.legal a { color: var(--accent); }
.consent { font-size: 12px; color: var(--muted); margin: 0; }
.consent a { color: var(--ink); text-decoration: underline; }

/* image uploader (sell page + admin) */
.img-list { display: flex; flex-wrap: wrap; gap: 8px; }
.img-item { position: relative; width: 120px; aspect-ratio: 16/10; overflow: hidden; border: 1px solid var(--line); background: #111; }
.img-item img { width: 100%; height: 100%; object-fit: cover; }
.img-item button { position: absolute; top: 4px; inset-inline-end: 4px; border: 0; background: #000; color: #fff; cursor: pointer; font-size: 12px; padding: 2px 6px; }
.img-item .first { position: absolute; bottom: 4px; inset-inline-start: 4px; background: var(--fill); color: var(--on-fill); font-size: 11px; padding: 1px 6px; }
.img-item.loading::after { content: '…'; position: absolute; inset: 0; display: grid; place-items: center; font-size: 24px; color: var(--muted); }
.img-add { width: 120px; aspect-ratio: 16/10; border: 1.5px dashed var(--ink); display: grid; place-items: center; color: var(--ink); cursor: pointer; font-size: 13px; text-align: center; transition: .2s; }
.img-add:hover { background: var(--fill); color: var(--on-fill); }

/* sell page */
.form-section { display: grid; gap: 14px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.form-section:last-of-type { border-bottom: 0; }
.form-section h3 { margin: 0; display: flex; align-items: center; gap: 12px; font-size: 18px; }
.form-section h3 b { font-size: 28px; font-weight: 800; color: var(--accent); line-height: 1; }
.form-3c { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.choice-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1.5px solid var(--ink); }
.choice-cards label { padding: 16px; cursor: pointer; display: flex; gap: 10px; align-items: start; transition: .2s; }
.choice-cards label + label { border-inline-start: 1.5px solid var(--ink); }
.choice-cards label:has(input:checked) { background: var(--fill); color: var(--on-fill); }
.choice-cards label:has(input:checked) span { color: #3a3e44; }
.choice-cards input { accent-color: var(--accent); }
.choice-cards b { display: block; }
.choice-cards span { font-size: 13px; color: var(--muted); }
.side-steps { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; counter-reset: ss; }
.side-steps li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; }
.side-steps li::before { counter-increment: ss; content: '0' counter(ss); font-size: 24px; font-weight: 800; color: var(--accent); line-height: 1.2; }
.side-steps p { margin: 0; color: var(--muted); font-size: 14px; }
.sell-band { background: var(--card); display: grid; grid-template-columns: 1.15fr 1fr; align-items: stretch; }
.sell-band > div:first-child { padding: 44px; }
.sell-band h2 { margin: 6px 0 10px; font-size: clamp(26px, 3.2vw, 38px); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.sell-band ul { margin: 0 0 24px; padding: 0; list-style: none; display: grid; gap: 6px; }
.sell-band li::before { content: '—'; color: var(--accent); font-weight: 800; margin-inline-end: 8px; }
.sell-visual { background: var(--block); box-shadow: inset 0 0 0 1px #173a62; padding: 44px 36px; color: #fff; display: flex; flex-direction: column; justify-content: center; gap: 0; }
.sell-visual .row { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.35); font-size: 15px; }
.sell-visual .row:last-child { border-bottom: 0; }
.sell-visual .row b { font-size: 18px; }

.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: #000; outline: 1px solid #2a4a6b; color: #fff; padding: 13px 22px; z-index: 100; box-shadow: var(--shadow); border-inline-start: 3px solid var(--accent); }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .hero-car { animation: none; }
  * { transition-duration: 0s !important; }
}

/* responsive */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; gap: 20px; padding-top: 32px; }
  .hero-index { display: none; }
  .hero-stage { min-height: 0; }
  .hero-art { position: relative; aspect-ratio: 16/10; }
  .hero-calc { position: relative; width: auto; inset: auto; }
  .search-box { grid-template-columns: repeat(3, 1fr); margin-top: 0; gap: 12px 0; }
  .search-box .field:nth-child(4) { border-inline-start: 0; }
  .search-box .btn { grid-column: 1 / -1; }
  .steps, .features { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .listing, .detail { grid-template-columns: minmax(0, 1fr); }
  .filters { position: static; display: none; }
  .filters.open { display: grid; }
  .filters-toggle { display: inline-flex; }
  .sticky-side { position: static; }
  .header-phone { display: none; }
  .site-header .logo small { display: none; }
  .site-header .container { gap: 16px; }
  .nav a { padding: 8px 7px; font-size: 13.5px; }
}
@media (max-width: 760px) {
  body { font-size: 15px; }
  .page-head { padding-bottom: 120px; }
  .page-head::after { top: auto; height: 96px; width: 62%; }
  .page-head-art { width: 58%; inset-inline-end: 6%; }
  .page-head-num { top: auto; bottom: 74px; }
  .page-head.no-art { padding-bottom: 32px; }
  .page-head.no-art::after { display: none; }
  .quick-specs div { flex-basis: 45%; padding-bottom: 10px; }
  .quick-specs div:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
  .buy-bar { display: flex; position: fixed; inset-inline: 0; bottom: 0; z-index: 70; background: #000; color: #fff; padding: 10px 16px; gap: 12px; align-items: center; justify-content: space-between; border-top: 3px solid var(--accent); transform: translateY(110%); transition: transform .3s var(--ease); }
  .buy-bar.show { transform: none; }
  .buy-bar b { font-size: 18px; display: block; line-height: 1.2; }
  .buy-bar small { color: var(--accent); font-size: 12px; }
  body:has(.buy-bar.show) .wa-float { bottom: 84px; }
  .empty-art { grid-template-columns: 1fr; }
  .empty-art .art { min-height: 0; }
  .empty-art .txt { padding: 26px; }
  .nav, .header-cta { display: none; }
  .menu-btn { display: block; }
  .site-header.open .nav { display: flex; flex-direction: column; position: absolute; top: 72px; inset-inline: 0; background: var(--bg); padding: 8px 16px 16px; border-bottom: 2px solid var(--ink); }
  .site-header.open .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .site-header.open .nav a::after { display: none; }
  .site-header.open .nav a.active { color: var(--accent); }
  .site-header.open .menu-btn span:first-child { transform: translateY(4px) rotate(45deg); }
  .site-header.open .menu-btn span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .wordmark { font-size: 76px; }
  .hero-art { aspect-ratio: 4/3; margin-bottom: 0; }
  .hero-block { inset: 8% 0 0 8%; }
  .hero-car { inset-inline: 4% 6%; top: 26%; }
  .hero-car.hero-photo { inset-inline: 2% 4%; top: auto; bottom: 9%; }
  .hero-art .arrow-btn { inset-inline-start: 6%; width: 48px; height: 48px; }
  .search-box { grid-template-columns: 1fr 1fr; padding: 14px; }
  .search-box .field { border-inline-start: 0; padding: 0 6px; }
  .search-box .field:nth-child(5) { grid-column: 1 / -1; }
  .steps, .features, .footer-grid, .form-grid, .feature-list, .form-3c, .choice-cards, .sell-band { grid-template-columns: 1fr; }
  .step { border-inline-start: 0; padding-inline-start: 0; border-top: 1px solid var(--line); }
  .spec-table { grid-template-columns: 1fr; }
  .spec-table div:nth-child(n) { padding-inline: 0; border-inline-start: 0; }
  .choice-cards label + label { border-inline-start: 0; border-top: 1.5px solid var(--ink); }
  section.block { padding: 52px 0; }
  .cta-band, .sell-band > div:first-child, .sell-visual { padding: 26px; }
  .page-head::after { width: 22vw; }
  .panel { padding: 18px; }
}

/* خط العناوين والأسعار والأزرار: Cairo عريض وواضح يشد الانتباه للسعر والعرض */
h1, h2, h3, h4, .wordmark, .logo, .btn, .price-cash, .price-big, .price-monthly b, .calc-result .big, .hero-calc .big, .section-head h2, .page-head h1, .car-title, .kpi b, .main-head h1, .chip, .badge { font-family: var(--font-head); }
.price-cash, .price-big, .price-monthly b { color: var(--accent); }
.badge-accent { box-shadow: var(--glow); }

/* نموذج التمويل بثلاث خطوات */
.steps-form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 12px; }
.steps-bar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.steps-bar span { padding-top: 10px; border-top: 3px solid var(--line); transition: border-color .3s var(--ease), color .3s var(--ease); }
.steps-bar span.on { border-color: var(--accent); color: var(--ink); }
.steps-nav { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.steps-nav .btn-primary { flex: 1 1 200px; }
