/* Dream Auto Loan — design system v2 (mobile first, RTL via logical properties) */
:root {
  --navy-950: #071528;
  --navy-900: #0b1f3a;
  --navy-800: #13294a;
  --navy-700: #1d3860;
  --brand: #1270e3;
  --brand-600: #0f5fc4;
  --brand-50: #eaf2fd;
  --wa: #0e8a4b;
  --wa-600: #0b7440;
  --ink: #0f172a;
  --text: #334155;
  --muted: #5b6878;
  --line: #dfe5ee;
  --bg: #ffffff;
  --bg-alt: #f4f6fa;
  --danger: #b42318;
  --danger-bg: #fef3f2;
  --success: #0e8a4b;

  --font: "Almarai", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-lg: 1.125rem;
  --fs-h3: 1.1875rem;
  --fs-h2: clamp(1.5rem, 1.2rem + 1.4vw, 2.125rem);
  --fs-h1: clamp(1.875rem, 1.35rem + 2.6vw, 3.125rem);

  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 24px; --sp-6: 32px; --sp-7: 48px; --sp-8: 64px;
  --section-y: 56px;
  --gutter: 16px;
  --container: 1180px;

  --radius-sm: 6px;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 2px rgb(15 23 42 / 0.06);
  --shadow: 0 1px 3px rgb(15 23 42 / 0.08), 0 8px 24px rgb(15 23 42 / 0.06);
  --shadow-lg: 0 12px 40px rgb(7 21 40 / 0.28);
  --header-h: 64px;
  --tap: 48px;
  --focus: 0 0 0 3px #fff, 0 0 0 5px var(--brand);
}
@media (min-width: 768px) { :root { --section-y: 80px; --gutter: 24px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body { margin: 0; font-family: var(--font); font-size: var(--fs-base); line-height: 1.7; color: var(--text); background: var(--bg); text-rendering: optimizeLegibility; }
img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3 { color: var(--ink); line-height: 1.3; margin: 0 0 var(--sp-3); font-weight: 700; letter-spacing: 0; }
h1 { font-size: var(--fs-h1); line-height: 1.22; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
p { margin: 0 0 var(--sp-4); }
a { color: var(--brand-600); text-underline-offset: 3px; }
a:hover { color: var(--brand); }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: var(--radius-sm); }
[hidden] { display: none !important; }
[dir="ltr"] { unicode-bidi: isolate; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 820px; }
.center { text-align: center; }
.center-row { justify-content: center; }
.icon { width: 20px; height: 20px; flex: none; }
.skip-link { position: absolute; inset-inline-start: 8px; top: -100px; background: var(--navy-900); color: #fff; padding: 8px 14px; border-radius: var(--radius); z-index: 100; }
.skip-link:focus { top: 8px; }
.note-muted { color: var(--muted); font-size: var(--fs-sm); margin-top: var(--sp-5); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: var(--tap); padding: 0 20px; border-radius: var(--radius); border: 1.5px solid transparent; font-weight: 700; font-size: var(--fs-base); text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; white-space: nowrap; }
.btn .icon { width: 20px; height: 20px; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-600); color: #fff; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-600); color: #fff; }
.btn-outline { background: #fff; color: var(--navy-900); border-color: var(--line); }
.btn-outline:hover { border-color: var(--navy-900); color: var(--navy-900); }
.btn-sm { min-height: 40px; padding: 0 14px; font-size: var(--fs-sm); }
.btn-lg { min-height: 54px; padding: 0 24px; font-size: 1.0625rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-busy="true"] { opacity: .75; cursor: progress; }
.hero-apply .icon, .link-apply .icon { width: 18px; height: 18px; }
.link-apply { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; min-height: var(--tap); }

.icon-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: var(--radius); border: 1.5px solid var(--line); background: #fff; color: var(--navy-900); cursor: pointer; text-decoration: none; }
.icon-btn.wa { color: var(--wa); }
.icon-btn .icon { width: 22px; height: 22px; }

.spinner { display: none; width: 18px; height: 18px; border: 2.5px solid rgb(255 255 255 / .45); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
[aria-busy="true"] .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); height: var(--header-h); }
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; gap: var(--sp-3); height: 100%; }
.logo { display: block; margin-inline-end: auto; flex: none; }
.logo img { height: 30px; width: auto; }
.header-actions { display: flex; align-items: center; gap: var(--sp-2); }
.menu-toggle .i-close { display: none; }
.nav-open .menu-toggle .i-open { display: none; }
.nav-open .menu-toggle .i-close { display: block; }
.site-nav { display: none; }
.nav-open .site-nav { display: block; position: fixed; inset-inline: 0; top: var(--header-h); bottom: 0; background: #fff; padding: var(--sp-4) var(--gutter) var(--sp-7); overflow-y: auto; border-top: 1px solid var(--line); }
.site-nav ul a { display: flex; align-items: center; min-height: 52px; font-size: var(--fs-lg); font-weight: 500; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.site-nav a[aria-current="page"] { color: var(--brand-600); font-weight: 700; }
.nav-contact a { display: inline-flex; align-items: center; gap: 8px; margin-top: var(--sp-5); font-weight: 700; text-decoration: none; color: var(--navy-900); }
@media (max-width: 399px) { .header-actions .icon-btn.wa { display: none; } }
@media (min-width: 1024px) {
  .header-inner { gap: var(--sp-5); }
  .logo { margin-inline-end: 0; }
  .logo img { height: 34px; }
  .site-nav { display: block; margin-inline-end: auto; }
  .site-nav ul { display: flex; gap: 2px; }
  .site-nav ul a { min-height: 40px; padding: 0 10px; font-size: .9375rem; border: 0; border-radius: var(--radius-sm); color: var(--text); }
  .site-nav ul a:hover { color: var(--ink); background: var(--bg-alt); }
  .nav-contact, .menu-toggle { display: none; }
  .btn-sm { min-height: 42px; }
}
.is-minimal .logo { margin-inline-end: auto; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; background: var(--navy-900); color: #dbe4f0; padding: 28px 0 32px; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 38% 30%; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(11 31 58 / .80) 0%, rgb(11 31 58 / .90) 38%, rgb(11 31 58 / .97) 70%); }
.hero-grid { display: grid; gap: 24px; }
.hero h1 { color: #fff; margin-bottom: 12px; }
.hero .eyebrow { color: #8ec0ff; }
.hero-lead { font-size: var(--fs-lg); color: #dbe4f0; margin-bottom: 16px; max-width: 34em; }
.hero-points { display: grid; gap: 8px; margin-bottom: 20px; }
.hero-points li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; color: #fff; }
.hero-points .icon { width: 20px; height: 20px; margin-top: 4px; color: #6fe3a4; stroke-width: 3; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-ctas .btn { flex: 1 1 auto; }
.hero-apply { display: none; }
.hero-call { margin: 14px 0 0; font-size: var(--fs-sm); color: #b9c6d8; }
.hero-call a { color: #fff; font-weight: 700; }
.hero .crumbs a, .hero .crumbs li { color: #b9c6d8; }
@media (min-width: 1024px) {
  .hero { padding: 56px 0 64px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) 420px; gap: 56px; align-items: start; }
  .hero-copy { display: flex; flex-direction: column; }
  .hero-apply { display: inline-flex; }
  .hero-ctas .btn { flex: 0 0 auto; }
}

.eyebrow { font-size: var(--fs-sm); font-weight: 700; color: var(--brand-600); margin-bottom: 8px; }

/* ---------- Lead form ---------- */
.form-card { background: #fff; color: var(--text); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 20px 16px; scroll-margin-top: calc(var(--header-h) + 8px); }
@media (min-width: 400px) { .form-card { padding: 24px 20px; } }
@media (min-width: 1024px) { .form-card { padding: 28px 28px 24px; position: sticky; top: calc(var(--header-h) + 20px); } }
.section .form-card, .form-wrap .form-card { box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-wrap { max-width: 520px; }
.form-title { font-size: 1.375rem; margin-bottom: 4px; }
.form-sub { color: var(--muted); font-size: .9375rem; margin-bottom: 18px; }
.field { margin: 0 0 14px; border: 0; padding: 0; min-width: 0; }
.field label, .field legend { display: block; font-weight: 700; color: var(--ink); font-size: .9375rem; margin-bottom: 6px; padding: 0; }
.field input, .field select { display: block; width: 100%; min-height: 50px; padding: 10px 14px; border: 1.5px solid #c9d2df; border-radius: var(--radius); background: #fff; font-size: 1rem; transition: border-color .15s; }
.field input[dir="ltr"] { text-align: right; letter-spacing: .5px; }
.field input::placeholder { color: #8a96a8; }
.field input:focus, .field select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgb(18 112 227 / .18); }
.field [aria-invalid="true"] { border-color: var(--danger); background: var(--danger-bg); }
.field-error { color: var(--danger); font-size: var(--fs-sm); font-weight: 500; margin: 6px 0 0; }
.field-row { display: grid; gap: 0 12px; grid-template-columns: 1fr 1fr; }
.type-options { display: grid; gap: 8px; }
.type-option { position: relative; display: block; cursor: pointer; }
.type-option input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.type-box { display: grid; grid-template-columns: 28px 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; min-height: 56px; padding: 8px 12px; border: 1.5px solid #c9d2df; border-radius: var(--radius); transition: border-color .15s, background-color .15s; }
.type-box .icon { grid-row: 1 / 3; width: 26px; height: 26px; color: var(--navy-700); }
.type-label { font-weight: 700; color: var(--ink); line-height: 1.35; }
.type-hint { font-size: .8125rem; color: var(--muted); line-height: 1.35; }
.type-option input:checked + .type-box { border-color: var(--brand); background: var(--brand-50); box-shadow: inset 0 0 0 1px var(--brand); }
.type-option input:checked + .type-box .icon { color: var(--brand); }
.type-option input:focus-visible + .type-box { box-shadow: var(--focus); }
fieldset[aria-invalid="true"] .type-box { border-color: var(--danger); }
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.form-error { background: var(--danger-bg); color: var(--danger); border: 1px solid #fecdca; border-radius: var(--radius); padding: 10px 12px; font-size: .9375rem; font-weight: 500; }
.form-note { display: flex; gap: 6px; align-items: flex-start; font-size: .8125rem; color: var(--muted); margin: 12px 0 0; line-height: 1.6; }
.form-note .icon { width: 15px; height: 15px; margin-top: 3px; }
.form-alt { text-align: center; font-size: .9375rem; margin: 10px 0 0; }
.form-alt a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--wa); min-height: 40px; }
.form-alt .icon { width: 18px; height: 18px; }
.success-head { text-align: center; outline: none; }
.success-head:focus-visible, .lead-done:focus-visible { box-shadow: none; }
.success-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #e7f6ee; color: var(--success); margin-bottom: 10px; }
.success-icon .icon { width: 28px; height: 28px; stroke-width: 3; }
.step2-intro { background: var(--bg-alt); border-radius: var(--radius); padding: 10px 12px; font-size: .9375rem; }
.lead-step[data-step="2"] .btn + .btn { margin-top: 10px; }
.lead-done { text-align: center; outline: none; }
.lead-done .btn { margin-top: 8px; }

/* ---------- Sections ---------- */
.section { padding: var(--section-y) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 640px; margin-bottom: var(--sp-6); }
.section-head p:last-child { color: var(--muted); margin: 0; }
.cards-3, .cards-4 { display: grid; gap: 16px; }
@media (min-width: 720px) { .cards-3 { grid-template-columns: repeat(3, 1fr); } .cards-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards-4 { grid-template-columns: repeat(4, 1fr); } }

.service-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px 20px; }
.service-icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: var(--radius); background: var(--brand-50); color: var(--brand-600); margin-bottom: 14px; }
.service-icon .icon { width: 26px; height: 26px; }
.service-card p { margin-bottom: 10px; }
.service-term { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy-800); font-size: .9375rem; }
.service-term .icon { width: 18px; height: 18px; color: var(--success); stroke-width: 3; }
.service-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 8px; }

.steps { display: grid; gap: 14px; margin-bottom: var(--sp-6); counter-reset: none; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { display: flex; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px; }
.step h3 { margin-bottom: 4px; }
.step p { margin: 0; color: var(--muted); font-size: .9375rem; }
.step-num { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--navy-900); color: #fff; font-weight: 700; }

.benefit { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.benefit .icon { width: 28px; height: 28px; color: var(--brand-600); margin-bottom: 12px; }
.benefit p { margin: 0; color: var(--muted); font-size: .9375rem; }

.section-dark { background: var(--navy-900); color: #cdd8e6; }
.section-dark h2 { color: #fff; }
.section-dark .eyebrow { color: #8ec0ff; }
.trust-grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .trust-grid { grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; } }
.trust-no-guarantee { border-inline-start: 3px solid #8ec0ff; padding-inline-start: 12px; color: #fff; }
.trust-facts { display: grid; gap: 0; margin: 0; background: var(--navy-800); border-radius: var(--radius-lg); padding: 6px 20px; }
.trust-facts div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--navy-700); }
.trust-facts div:last-child { border-bottom: 0; }
.trust-facts dt { color: #9fb0c6; font-size: var(--fs-sm); flex: none; }
.trust-facts dd { margin: 0; color: #fff; font-weight: 500; text-align: end; }

.story-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.story-card video, .story-card img { width: 100%; aspect-ratio: 9 / 12; object-fit: cover; background: var(--navy-900); }
.story-body { padding: 16px 18px; }
.story-seg { font-size: var(--fs-sm); font-weight: 700; color: var(--brand-600); margin-bottom: 4px; }

.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 12px 16px; font-weight: 700; color: var(--ink); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; border-inline-end: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s; margin-top: -4px; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.faq details p { padding: 0 16px 16px; margin: 0; }

.contact-grid { display: grid; gap: 12px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }
.contact-card { display: flex; align-items: center; gap: 14px; min-height: 72px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; color: var(--text); text-decoration: none; }
a.contact-card:hover { border-color: var(--navy-700); color: var(--text); }
.contact-card > .icon { width: 26px; height: 26px; color: var(--navy-700); }
.contact-card > span { display: flex; flex-direction: column; min-width: 0; }
.contact-card strong { color: var(--ink); }
.contact-wa > .icon { color: var(--wa); }
.phone-list { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.phone-list a { font-weight: 700; min-height: 36px; display: inline-flex; align-items: center; }
.contact-page { display: grid; gap: 28px; }
@media (min-width: 960px) { .contact-page { grid-template-columns: 1fr 440px; align-items: start; } }
.contact-list { display: grid; gap: 12px; align-content: start; }

.final-cta { background: var(--brand-50); padding: 48px 0; text-align: center; }
.final-inner .hero-ctas { justify-content: center; }
.final-inner .hero-ctas .btn { flex: 0 1 auto; }

/* ---------- Inner pages ---------- */
.page-hero { background: var(--bg-alt); padding: 32px 0 36px; border-bottom: 1px solid var(--line); }
.page-hero .hero-lead { color: var(--text); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: var(--fs-sm); color: var(--muted); margin-bottom: 12px; }
.crumbs li + li::before { content: "/"; margin-inline-end: 6px; color: #9aa6b6; }
.crumbs a { color: var(--muted); }
.prose h2 { margin-top: var(--sp-6); }
.prose h2:first-child { margin-top: 0; }
.check-list { display: grid; gap: 12px; margin-bottom: var(--sp-4); }
.check-list li { display: flex; gap: 10px; }
.check-list .icon { color: var(--success); margin-top: 4px; stroke-width: 3; }
.facts-table { margin: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.facts-table div { display: grid; grid-template-columns: 9.5em 1fr; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.facts-table div:last-child { border-bottom: 0; }
.facts-table dt { color: var(--muted); }
.facts-table dd { margin: 0; color: var(--ink); font-weight: 500; }

/* ---------- About ---------- */
.about-hero .hero-ctas { margin-top: var(--sp-5); }
.bridge { display: grid; gap: 28px; }
.bridge-item { position: relative; padding: 22px 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.bridge-item > .icon { width: 28px; height: 28px; color: var(--brand-600); margin-bottom: 10px; }
.bridge-item p { margin: 0; color: var(--muted); }
.bridge-item.is-main { background: var(--navy-900); border-color: var(--navy-900); color: #cdd8e6; }
.bridge-item.is-main h3 { color: #fff; }
.bridge-item.is-main p { color: #cdd8e6; }
.bridge-item.is-main > .icon { color: #8ec0ff; }
/* سهم بين الكروت: تحت على الموبايل، وناحية الشمال (اتجاه القراءة) على الديسكتوب */
.bridge-item + .bridge-item::before { content: ""; position: absolute; inset-inline-start: 50%; top: -22px; width: 14px; height: 14px; border-right: 3px solid var(--brand); border-bottom: 3px solid var(--brand); transform: translateX(50%) rotate(45deg); }
@media (min-width: 900px) {
  .bridge { grid-template-columns: 1fr 1.15fr 1fr; gap: 36px; align-items: stretch; }
  .bridge-item + .bridge-item::before { top: 50%; inset-inline-start: -26px; transform: translateY(-50%) rotate(135deg); }}
.partners { display: grid; gap: 12px; margin-bottom: var(--sp-4); }
@media (min-width: 640px) { .partners { grid-template-columns: repeat(3, 1fr); } }
.partners li { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 96px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg-alt); text-align: center; }
.partners strong { color: var(--ink); font-size: var(--fs-lg); }
.partners span { color: var(--muted); font-size: var(--fs-sm); }
.clear-list .icon { color: #ff9b8f; }
.dealer-box { padding: 24px; border-radius: var(--radius-lg); background: var(--navy-800); }
.dealer-box h3 { color: #fff; }
.dealer-box p { color: #cdd8e6; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #a9b7c9; padding: 44px 0 24px; font-size: .9375rem; }
.site-footer a { color: #dbe4f0; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; gap: 28px; padding-bottom: 28px; border-bottom: 1px solid #1c2e48; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr; } }
.footer-logo { height: 32px; width: auto; background: #fff; padding: 6px 10px; border-radius: var(--radius-sm); box-sizing: content-box; margin-bottom: 14px; }
.footer-title { color: #fff; font-size: 1rem; margin-bottom: 10px; }
.footer-links li { display: flex; align-items: center; gap: 8px; min-height: 36px; }
.footer-links a { display: inline-flex; align-items: center; gap: 8px; }
.footer-links .icon { width: 18px; height: 18px; flex: none; }
.social { display: flex; gap: 10px; margin-top: 12px; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--radius); background: #13294a; color: #fff; }
.social-lg a { background: var(--bg-alt); color: var(--navy-900); width: 44px; height: 44px; }
.footer-legal { padding-top: 18px; text-align: center; }
.footer-legal p { margin: 0 0 4px; }
.footer-company { font-size: .6875rem; line-height: 1.8; color: #8fa1b8; }
.footer-company a { color: #a9b9ce; }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta { position: fixed; inset-inline: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgb(255 255 255 / .97); border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgb(15 23 42 / .08); transform: translateY(110%); transition: transform .2s ease; }
.sticky-cta.is-visible { transform: none; }
.sticky-cta .btn { min-height: 48px; }
body.has-sticky { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
@media (min-width: 1024px) { .sticky-cta { display: none; } body.has-sticky { padding-bottom: 0; } }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- About + Services v2: هيرو العنوان، شريط الأرقام، الأهداف الأربعة، كارت التمويل بضمان (علي 1/10) ---------- */
.statement-hero { background: linear-gradient(180deg, var(--brand-50) 0%, #fff 100%); padding: 32px 0 36px; }
.statement-hero h1 { font-size: clamp(2rem, 1.3rem + 3.4vw, 3.5rem); line-height: 1.25; color: var(--ink); margin-bottom: 14px; }
.grad { background: linear-gradient(90deg, var(--brand) 0%, #0f9d78 100%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
@supports not (background-clip: text) { .grad { color: var(--brand-600); -webkit-text-fill-color: currentColor; } }
.statement-lead { font-size: var(--fs-lg); color: var(--text); max-width: 38em; margin-bottom: 20px; }
.statement-hero .hero-ctas .btn { flex: 1 1 200px; max-width: 280px; }

.stats-strip { background: var(--navy-900); color: #cdd8e6; padding: 24px 0; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 14px; }
.stats li { display: flex; flex-direction: column; gap: 4px; padding-inline-start: 12px; border-inline-start: 2px solid rgb(255 255 255 / .16); }
.stats strong { color: #fff; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem); line-height: 1.15; font-weight: 700; }
.stats strong small { font-size: .5em; font-weight: 600; color: #8ec0ff; }
.stats span { font-size: .8125rem; line-height: 1.6; color: #b9c6d8; }
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, 1fr); gap: 24px; } }

.goals { display: grid; gap: 16px; }
@media (min-width: 640px) { .goals { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .goals { grid-template-columns: repeat(4, 1fr); } }
.goal-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px 20px 20px; overflow: hidden; box-shadow: var(--shadow-sm); }
.goal-num { position: absolute; inset-block-start: 8px; inset-inline-end: 16px; font-size: 3rem; font-weight: 800; line-height: 1; color: var(--brand-50); user-select: none; }
.goal-icon { position: relative; display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: var(--radius); background: var(--brand-50); color: var(--brand-600); margin-bottom: 14px; }
.goal-icon .icon { width: 26px; height: 26px; }
.goal-card h3 { position: relative; margin-bottom: 6px; }
.goal-card p { position: relative; margin: 0; color: var(--muted); font-size: .9375rem; }

.secured-card { display: grid; gap: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px 20px; box-shadow: var(--shadow); }
.secured-text { color: var(--text); margin-bottom: 14px; }
.secured-figure { display: grid; align-content: center; justify-items: center; text-align: center; gap: 6px; background: linear-gradient(135deg, var(--navy-900), var(--navy-700)); color: #cdd8e6; border-radius: var(--radius-lg); padding: 28px 18px; }
.secured-figure strong { font-size: clamp(2.5rem, 1.8rem + 3vw, 4rem); line-height: 1.1; color: #fff; direction: ltr; }
.secured-figure span { font-size: .9375rem; max-width: 18em; }
@media (min-width: 900px) { .secured-card { grid-template-columns: 1.4fr 1fr; align-items: center; padding: 32px; } }

.btn-text { background: none; border: 0; padding: 8px 0; color: var(--brand-600); font-weight: 700; text-decoration: underline; cursor: pointer; }

/* ---------- قسم أنواع المركبات (صور) ---------- */
.vehicles { display: grid; gap: 14px; }
@media (min-width: 640px) { .vehicles { grid-template-columns: repeat(3, 1fr); } }
.vehicle-card { position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 3 / 2; background: var(--navy-900); box-shadow: var(--shadow-sm); text-decoration: none; }
.vehicle-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.vehicle-card:hover img { transform: scale(1.04); }
.vehicle-name { position: absolute; inset-inline: 0; bottom: 0; padding: 36px 16px 14px; color: #fff; font-weight: 700; font-size: 1.0625rem; background: linear-gradient(180deg, rgb(7 21 40 / 0) 0%, rgb(7 21 40 / .85) 100%); }
@media (prefers-reduced-motion: reduce) { .vehicle-card img { transition: none; } }

/* ---------- بطاقات البرامج (أسلوب المرجع: صورة + عنوان + وصف + زر) ---------- */
.programs { align-items: stretch; }
.program-card { padding: 0; overflow: hidden; }
.program-media { aspect-ratio: 3 / 2; background: var(--navy-900); overflow: hidden; }
.program-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.program-card:hover .program-media img { transform: scale(1.04); }
.program-media-icon { display: grid; place-items: center; background: linear-gradient(135deg, var(--navy-900), var(--navy-700)); color: #8ec0ff; }
.program-media-icon .icon { width: 72px; height: 72px; }
.program-body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.program-body .service-actions { margin-top: auto; padding-top: 10px; display: flex; flex-wrap: wrap; gap: 10px; }
@media (prefers-reduced-motion: reduce) { .program-media img { transition: none; } }

/* ---------- انضم كتاجر + شريط دعوة التجار ---------- */
.dealer-band { display: grid; gap: 18px; align-items: center; background: linear-gradient(135deg, var(--navy-900), var(--navy-700)); color: #cdd8e6; border-radius: var(--radius-lg); padding: 24px 20px; }
.dealer-band h2 { color: #fff; margin-bottom: 6px; }
.dealer-band .eyebrow { color: #8ec0ff; }
.dealer-band p { margin: 0; color: #cdd8e6; }
@media (min-width: 768px) { .dealer-band { grid-template-columns: 1fr auto; padding: 28px 32px; } }
.check-row { display: flex; flex-wrap: wrap; gap: 10px; }
.check-opt { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; cursor: pointer; font-weight: 600; min-height: var(--tap); }
.check-opt input { width: 18px; height: 18px; accent-color: var(--brand); }
.field .check-opt input[type=checkbox] { width: 18px; height: 18px; min-height: 0; padding: 0; flex: none; margin: 0; }
.field .check-opt { display: inline-flex; flex-direction: row; align-items: center; gap: 8px; white-space: nowrap; margin: 0; }

/* ---------- أرقام السيلز (قايمة + صفحة التاجر) ---------- */
.nav-contact { display: grid; gap: 4px; margin-top: var(--sp-5); }
.nav-contact a { margin-top: 0; }
.sales-numbers { display: grid; gap: 12px; }
@media (min-width: 768px) { .sales-numbers { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .sales-numbers { grid-template-columns: repeat(3, 1fr); } }
.sales-number { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.sales-num { font-weight: 700; font-size: 1.125rem; color: var(--navy-900); letter-spacing: .02em; }
.sales-actions { display: flex; gap: 8px; }
/* fix 2026-10-05: on desktop the phone list in the menu was shown and stacked over the header */
@media (min-width: 1024px) { .site-nav .nav-contact { display: none; } }
/* 2026-10-05: on desktop "انضم كتاجر" stands out from the rest of the menu */
@media (min-width: 1024px) {
  .site-nav ul a[href="/dealers"] { border: 1.5px solid var(--brand-600); color: var(--brand-600); font-weight: 700; border-radius: 999px; padding: 0 14px; }
  .site-nav ul a[href="/dealers"]:hover { background: var(--brand-600); color: #fff; }
}
/* ---------- Phase 1 fixes 2026-10-05 (Cloude IT + Dream Loan IT audit) ---------- */
/* 1) Submit button label was blue on blue: .btn-text (text-link class) also hit the label span inside buttons */
.btn .btn-text { color: inherit; text-decoration: none; padding: 0; background: none; border: 0; font-weight: inherit; }
/* 2) "How we work" step cards: h3 + p were siblings of the number on services/about and collapsed into thin columns */
.step { display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 14px; align-items: start; }
.step > .step-num { grid-row: span 2; }
.step > h3, .step > p, .step > div { grid-column: 2; }
/* 3) Desktop hero: the photo was a 656x328 box under the buttons; make it a background like on mobile */
@media (min-width: 1024px) {
  .hero-media::after { background: linear-gradient(90deg, rgb(11 31 58 / .55) 0%, rgb(11 31 58 / .86) 45%, rgb(11 31 58 / .96) 72%); }
}
/* 4) Cards whose icon reference is missing showed an empty gap */
.icon:has(use[href="#i-undefined"]) { display: none; }

/* =====================================================================
   v2 template (2026-10-05, staging): one header/footer, two hero types,
   consistent sections. Same tokens, logo, font and components as above.
   ===================================================================== */

/* ---------- Tap targets (AA, 44px) ---------- */
.icon-btn { width: 44px; height: 44px; }
.social a { width: 44px; height: 44px; }
.form-alt a { min-height: 44px; }
.link-apply .icon, .faq-more .icon, .btn .icon { flex: none; }

/* ---------- Header v2 ---------- */
.header-call { display: none; align-items: center; gap: 6px; min-height: 44px; padding: 0 6px; font-weight: 700; color: var(--navy-900); text-decoration: none; white-space: nowrap; }
.header-call .icon { width: 20px; height: 20px; color: var(--navy-700); }
.header-call:hover { color: var(--brand-600); }
@media (max-width: 479px) { .header-actions .icon-btn.wa { display: none; } }
@media (min-width: 1024px) {
  .header-inner { gap: var(--sp-4); }
  .header-call { display: inline-flex; }
  .header-call span { display: none; }
  .site-nav ul.nav-list { align-items: center; }
}
@media (min-width: 1200px) { .header-call span { display: inline; } }

/* Financing dropdown */
.nav-sub-toggle { display: none; }
.nav-group-label { display: block; padding: 18px 0 6px; font-size: var(--fs-sm); font-weight: 700; color: var(--muted); border-bottom: 1px solid var(--line); }
.site-nav .nav-sub a { padding-inline-start: 14px; font-size: var(--fs-base); }
.site-nav .nav-sub-all a { color: var(--brand-600); font-weight: 700; }
@media (min-width: 1024px) {
  .nav-group-label { display: none; }
  .has-sub { position: relative; }
  .nav-sub-toggle { display: inline-flex; align-items: center; gap: 4px; min-height: 40px; padding: 0 10px; border: 0; border-radius: var(--radius-sm); background: none; color: var(--text); font-size: .9375rem; font-weight: 500; cursor: pointer; }
  .nav-sub-toggle:hover, .has-sub.is-open .nav-sub-toggle { color: var(--ink); background: var(--bg-alt); }
  .has-sub.is-active .nav-sub-toggle { color: var(--brand-600); font-weight: 700; }
  .nav-chev { width: 16px; height: 16px; transition: transform .15s; }
  .has-sub.is-open .nav-chev { transform: rotate(180deg); }
  .site-nav ul.nav-sub { display: none; position: absolute; top: 100%; inset-inline-start: 0; min-width: 230px; padding: 8px; margin-top: 6px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); flex-direction: column; gap: 0; z-index: 60; }
  .site-nav ul.nav-sub::before { content: ""; position: absolute; inset-inline: 0; top: -10px; height: 10px; }
  .has-sub:hover > .nav-sub, .has-sub:focus-within > .nav-sub, .has-sub.is-open > .nav-sub { display: flex; }
  .site-nav .nav-sub a { min-height: 44px; padding: 0 12px; width: 100%; font-size: .9375rem; }
  .site-nav .nav-sub-all { border-top: 1px solid var(--line); margin-top: 4px; padding-top: 4px; }
}

/* Mobile menu contact */
.nav-contact { gap: 8px; }
.nav-contact a { min-height: 48px; }

/* ---------- Hero A (product) ---------- */
.hero .crumbs ol { margin-bottom: 14px; }
.hero .crumbs li + li::before { color: #7f93ad; }
@media (min-width: 1024px) {
  .hero { padding: 48px 0 56px; }
  .hero-grid { align-items: center; }
}

/* ---------- Hero B (light page hero) ---------- */
.page-hero { padding: 28px 0 36px; }
.page-hero h1 { font-size: clamp(1.75rem, 1.3rem + 2vw, 2.625rem); margin-bottom: 10px; }
.page-hero .hero-lead { max-width: 40em; }
.page-hero .hero-ctas { margin-top: 20px; }
.page-hero .hero-ctas .btn { flex: 1 1 200px; max-width: 280px; }
.page-hero .center .hero-lead { margin-inline: auto; }
@media (min-width: 768px) { .page-hero { padding: 36px 0 48px; } }

/* ---------- Trust strip ---------- */
.trust-strip { background: #fff; border-bottom: 1px solid var(--line); padding: 20px 0; }
.trust-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
.trust-items li { display: flex; align-items: flex-start; gap: 10px; font-size: var(--fs-sm); color: var(--muted); line-height: 1.5; }
.trust-items li > .icon { width: 26px; height: 26px; color: var(--brand-600); margin-top: 2px; }
.trust-items strong { display: block; color: var(--ink); font-size: .9375rem; }
@media (min-width: 900px) { .trust-items { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; } .trust-strip { padding: 24px 0; } }

/* ---------- Program cards (4) ---------- */
.programs .program-body h3 { margin-bottom: 6px; }
.programs .service-term { align-items: flex-start; line-height: 1.5; }
.programs .service-term .icon { margin-top: 2px; }
.programs .service-actions .btn { width: 100%; }
.section-alt .service-card { box-shadow: var(--shadow-sm); }

/* ---------- Benefits always have an icon ---------- */
.benefit { background: #fff; }
.benefit h3 { margin-bottom: 6px; }

/* ---------- FAQ link ---------- */
.faq-more { margin: 16px 0 0; text-align: center; }
.faq-more a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 700; text-decoration: none; }

/* ---------- Financing pages: vehicle types, who, papers ---------- */
.type-grid { display: grid; gap: 12px; }
.type-card { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.type-card > .icon { width: 28px; height: 28px; color: var(--brand-600); }
.type-card strong { display: block; color: var(--ink); }
.type-card span span { display: block; font-size: var(--fs-sm); color: var(--muted); line-height: 1.5; }
.type-card.is-no > .icon { color: var(--danger); }
.type-grid.n6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 720px) { .type-grid.n6, .type-grid.n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .type-grid.n4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .type-grid.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .type-grid.n4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.info-grid { display: grid; gap: 16px; }
@media (min-width: 900px) { .info-grid { grid-template-columns: 1fr 1fr; } }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px 20px; }
.info-card h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.info-card h3 .icon { width: 24px; height: 24px; color: var(--brand-600); }
.info-card .check-list { margin-bottom: 0; }
.info-note { margin: 14px 0 0; font-size: var(--fs-sm); color: var(--muted); }
.steps { margin-bottom: 0; }
.steps + .center { margin-top: var(--sp-6); }
.other-programs { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; margin: 20px 0 0; font-size: .9375rem; }
.other-programs a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }

/* ---------- Services: steps strip ---------- */
.steps-strip { display: grid; gap: 12px; margin-bottom: 8px; }
.steps-strip li { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 12px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); font-weight: 700; color: var(--ink); }
@media (min-width: 600px) { .steps-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .steps-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- CTA + form block (services, about) ---------- */
.cta-form { display: grid; gap: 28px; }
.cta-form-copy p:not(.eyebrow) { color: var(--text); }
@media (min-width: 960px) { .cta-form { grid-template-columns: 1fr 440px; align-items: center; gap: 56px; } }

/* ---------- About ---------- */
.bridge-more { margin: 24px 0 0; }
.facts-title { color: #fff; margin-bottom: 12px; }
.section-dark .clear-list li { color: #e3eaf3; }

/* ---------- Sales numbers (contact + dealers only), compact rows ---------- */
.sales-compact { display: grid; gap: 8px; }
.sales-compact li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 4px 4px 4px 4px; padding-inline-start: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.sales-tel { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; flex: 1; font-weight: 700; font-size: 1.0625rem; color: var(--navy-900); text-decoration: none; letter-spacing: .02em; }
.sales-tel .icon { width: 18px; height: 18px; color: var(--navy-700); }
.sales-tel:hover { color: var(--brand-600); }
.sales-compact .icon-btn.wa { border-color: transparent; background: #e7f6ee; }
@media (min-width: 640px) { #sales-numbers .sales-compact { grid-template-columns: 1fr; max-width: 520px; } }
.contact-sales { align-items: flex-start; }
.contact-sales > span { width: 100%; }
.contact-sales .sales-compact { margin-top: 10px; }
.contact-sales .sales-compact li { background: var(--bg-alt); }
.contact-more { font-size: var(--fs-sm); color: var(--brand-600); font-weight: 700; }

/* ---------- Footer v2 (4 columns) ---------- */
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.35fr 1fr 1fr 1.25fr; gap: 32px; } }
.footer-brand p { margin-bottom: 10px; }
.footer-broker { display: flex; align-items: flex-start; gap: 8px; color: #dbe4f0; font-weight: 700; font-size: .875rem; }
.footer-broker .icon { width: 18px; height: 18px; margin-top: 3px; color: #8ec0ff; }
.footer-links li { min-height: 44px; }
.footer-links a { min-height: 44px; }
.footer-addr { align-items: flex-start !important; padding: 10px 0; line-height: 1.6; }
.footer-addr .icon { margin-top: 3px; }
.footer-company { font-size: .8125rem; color: #a3b3c7; }
.footer-legal-links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0 18px; }
.footer-legal-links a { display: inline-flex; align-items: center; min-height: 44px; }

/* ---------- Legal pages ---------- */
.legal h2 { font-size: 1.25rem; margin-top: var(--sp-6); }
.legal-list { list-style: disc; padding-inline-start: 22px; margin: 0 0 var(--sp-4); }
.legal-list li { margin-bottom: 6px; }
.legal a { overflow-wrap: anywhere; }

/* ---------- Sticky mobile bar: 3 buttons ---------- */
.sticky-cta { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.sticky-cta .btn { padding: 0 8px; gap: 6px; font-size: .9375rem; }
.sticky-cta .btn .icon { width: 18px; height: 18px; }
body.has-sticky { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
@media (min-width: 1024px) { body.has-sticky { padding-bottom: 0; } }

/* ---------- No horizontal scroll, ever ---------- */
html, body { overflow-x: clip; }

/* v2: 44px minimum for header controls too */
.skip-link { display: inline-flex; align-items: center; min-height: 44px; }
.logo { display: flex; align-items: center; min-height: 44px; }
.btn-sm { min-height: 44px; }
@media (min-width: 1024px) {
  .btn-sm { min-height: 44px; }
  .site-nav ul a, .nav-sub-toggle { min-height: 44px; }
}
@media (min-width: 1024px) { .has-sub.is-dismissed > .nav-sub { display: none; } }
.nowrap { white-space: nowrap; }
