/* =========================================================
   Motorak: design tokens (sampled from the brand mockup)
   ========================================================= */
:root {
  --navy-950: #081829;
  --navy-900: #0B1F33;
  --navy-800: #0D243A;
  --navy-700: #14304D;
  --navy-600: #1F4166;

  --gold-400: #ECC27A;
  --gold-500: #E2B865;   /* buttons / accents on navy */
  --gold-600: #D7AD52;   /* logo gold */
  --gold-text: #86601A;  /* gold text on light backgrounds (AA 4.5:1) */

  --cream-50: #FBF8F2;
  --cream-100: #F6F0E7;
  --cream-200: #EEE4D4;

  --ink: #0D243A;
  --ink-muted: #4A5A6B;
  --on-dark: #FFFFFF;
  --on-dark-muted: #C9D3DE;
  --line-light: #E3D8C6;
  --line-dark: rgba(226, 184, 101, .35);
  --error: #B42318;
  --success: #1F7A4D;

  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(13, 36, 58, .06), 0 2px 8px rgba(13, 36, 58, .06);
  --shadow-md: 0 8px 24px rgba(13, 36, 58, .10);
  --shadow-lg: 0 18px 48px rgba(13, 36, 58, .18);

  --space-1: 4px;  --space-2: 8px;  --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 64px;
  --space-9: 96px;

  --container: 1240px;
  --header-h: 84px;

  --ease-out: cubic-bezier(.22, .61, .36, 1);
  --dur-fast: 160ms;
  --dur: 240ms;
  --dur-slow: 600ms;

  --z-header: 100;
  --z-menu: 90;
  --z-skip: 1000;
}

/* =========================================================
   Base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream-50);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 3px; border-radius: 6px; }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.text-gold { color: var(--gold-500); }

.skip-link {
  position: absolute; inset-inline-start: 16px; top: -60px; z-index: var(--z-skip);
  background: var(--gold-500); color: var(--navy-900); font-weight: 700;
  padding: 10px 16px; border-radius: var(--radius-sm); text-decoration: none;
  transition: top var(--dur) var(--ease-out);
}
.skip-link:focus { top: 12px; }

.icon {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 10px 22px;
  border-radius: var(--radius-pill); border: 2px solid transparent;
  font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none;
  cursor: pointer; touch-action: manipulation;
  transition: background-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out),
              border-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out),
              transform var(--dur-fast) var(--ease-out);
}
.btn .icon { width: 18px; height: 18px; transition: transform var(--dur) var(--ease-out); }
.btn:hover .icon { transform: translateX(3px); }
.btn:active { transform: scale(.97); }
.btn-sm { min-height: 44px; padding: 8px 18px; font-size: .95rem; }
.btn-lg { min-height: 52px; padding: 12px 28px; font-size: 1.05rem; }
.btn-block { width: 100%; }

.btn-gold { background: var(--gold-500); color: var(--navy-900); box-shadow: 0 6px 18px rgba(226, 184, 101, .28); }
.btn-gold:hover { background: var(--gold-400); box-shadow: 0 10px 26px rgba(226, 184, 101, .38); }

.btn-navy { background: var(--navy-800); color: var(--on-dark); }
.btn-navy:hover { background: var(--navy-700); }

.btn-outline-light { border-color: var(--gold-500); color: var(--on-dark); background: transparent; }
.btn-outline-light:hover { background: rgba(226, 184, 101, .14); }

.btn-ghost-light { color: var(--on-dark); border-color: rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .04); }
.btn-ghost-light:hover { border-color: var(--on-dark); background: rgba(255, 255, 255, .1); }

.btn[disabled] { opacity: .55; cursor: progress; }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-header);
  height: var(--header-h);
  transition: background-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), height var(--dur) var(--ease-out);
}
.site-header.is-scrolled {
  background: rgba(11, 31, 51, .94);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, .25);
  --header-h: 72px;
}
.header-inner { height: 100%; display: flex; align-items: center; gap: var(--space-5); }

.brand { display: block; flex: none; border-radius: 12px; }
.brand img { height: 54px; width: auto; transition: height var(--dur) var(--ease-out); }
.site-header.is-scrolled .brand img { height: 46px; }

.main-nav { margin-inline-start: auto; }
.main-nav ul { display: flex; gap: 6px; }
.main-nav a:not(.btn) {
  position: relative; display: inline-flex; align-items: center; min-height: 44px;
  padding: 8px 12px; color: var(--on-dark); text-decoration: none; font-weight: 500;
  border-radius: 8px; transition: color var(--dur) var(--ease-out);
}
.main-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 3px;
  border-radius: 3px; background: var(--gold-500);
  transform: scaleX(0); transform-origin: left; transition: transform var(--dur) var(--ease-out);
}
.main-nav a:not(.btn):hover { color: var(--gold-400); }
.main-nav a.is-active { color: var(--gold-500); font-weight: 700; }
.main-nav a.is-active::after, .main-nav a:not(.btn):hover::after { transform: scaleX(1); }
.nav-cta-mobile { display: none; }

.header-cta { flex: none; }

.menu-toggle {
  display: none;
  width: 48px; height: 48px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .25);
  background: rgba(255, 255, 255, .06); color: var(--on-dark);
  align-items: center; justify-content: center; cursor: pointer;
}
.menu-toggle .icon { width: 24px; height: 24px; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(560px, 40vw, 720px);
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: clamp(70px, 8vw, 120px);
  background: linear-gradient(180deg, #0D2238 0%, var(--navy-800) 100%);
  color: var(--on-dark);
  display: flex; align-items: center;
}
/* Full-height photo (sky, flag and fort included) anchored to the right, fading into navy on the left */
.hero-media { position: absolute; z-index: -1; inset: 0; overflow: hidden; }
.hero-media img {
  position: absolute; right: 0; bottom: 0;
  /* about 3/4 of the width, like the mockup; image is 1072x490 */
  width: 74vw; max-width: none; height: auto;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.6) 14%, #000 30%), linear-gradient(180deg, transparent 0%, #000 12%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.6) 14%, #000 30%), linear-gradient(180deg, transparent 0%, #000 12%);
  mask-composite: intersect;
}
/* Keep the headline readable where it overlaps the photo on narrower screens */
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(13, 36, 58, .92) 0%, rgba(13, 36, 58, .55) 30%, rgba(13, 36, 58, 0) 50%);
}

.hero-content { position: relative; }
.hero-title {
  font-size: clamp(2.75rem, 1.2rem + 4.6vw, 5rem);
  font-weight: 700; line-height: 1.02; letter-spacing: -0.03em;
  display: flex; flex-direction: column;
  text-shadow: 0 2px 24px rgba(8, 24, 41, .45);
}
.hero-lead {
  margin-top: var(--space-5);
  max-width: 31ch;
  font-size: clamp(1.1rem, 1rem + .45vw, 1.35rem);
  color: #E9EEF3; line-height: 1.5;
  text-shadow: 0 1px 12px rgba(8, 24, 41, .6);
}
.hero-actions { margin-top: var(--space-6); display: flex; flex-wrap: wrap; gap: var(--space-3); }

.hero-curve { position: absolute; left: 0; right: 0; bottom: -2px; width: 100%; height: clamp(44px, 6.5vw, 100px); display: block; }
.curve-fill { fill: var(--cream-100); }
.curve-line { fill: none; stroke: url(#gold-fade); stroke-width: 6; stroke-linecap: round; vector-effect: non-scaling-stroke; }

/* =========================================================
   Feature strip
   ========================================================= */
.feature-strip { background: var(--cream-100); padding: 8px 0 var(--space-6); }
.feature-list { display: grid; grid-template-columns: repeat(5, 1fr); }
.feature { text-align: center; padding: var(--space-3) var(--space-4); position: relative; }
.feature + .feature::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 14%; bottom: 14%; width: 1px;
  background: linear-gradient(180deg, transparent, var(--gold-600), transparent);
}
.feature-icon { width: 48px; height: 48px; color: var(--navy-800); stroke-width: 1.6; margin: 0 auto var(--space-3); }
.feature-title { font-size: 1.2rem; font-weight: 700; color: var(--navy-800); }
.feature p { color: var(--ink-muted); margin-top: 2px; }

/* =========================================================
   Overview cards
   ========================================================= */
.overview { background: var(--cream-50); padding: var(--space-6) 0 var(--space-8); }
.overview-grid { display: grid; grid-template-columns: 1.05fr 1.05fr .75fr; gap: var(--space-4); }
.ov-card {
  position: relative; overflow: hidden; border-radius: var(--radius);
  min-height: 270px; box-shadow: var(--shadow-sm);
}
.eyebrow {
  font-size: .85rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--gold-text);
}
.eyebrow-gold { color: var(--gold-500); }
.ov-title { font-size: clamp(1.35rem, 1.1rem + .8vw, 1.75rem); font-weight: 700; margin-top: 6px; }

.ov-markets { background: var(--navy-800); color: var(--on-dark); }
.ov-markets img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%;
}
.ov-markets::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(13, 36, 58, .97) 0%, rgba(13, 36, 58, .85) 42%, rgba(13, 36, 58, .15) 78%);
}
.ov-body { position: relative; z-index: 2; padding: var(--space-5) var(--space-5); display: flex; flex-direction: column; gap: 10px; height: 100%; }
.ov-markets .ov-body { max-width: 66%; }
.ov-markets .ov-body p:not(.eyebrow) { color: #E2E8EF; }
.ov-body .btn { align-self: flex-start; margin-top: auto; }

.ov-process { background: var(--cream-100); border: 1px solid var(--line-light); padding: var(--space-5); }
.ov-process .ov-title { color: var(--navy-800); }
.mini-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin-top: var(--space-5); counter-reset: s; }
.mini-steps li {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px;
  text-align: center; font-size: .9rem; font-weight: 600; line-height: 1.25; color: var(--navy-800);
}
.mini-steps li + li::before {
  content: "→"; position: absolute; inset-inline-start: -10px; top: 18px; color: var(--gold-600); font-weight: 700;
}
.step-badge {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; color: var(--navy-800); box-shadow: var(--shadow-sm);
}
.step-badge .icon { width: 26px; height: 26px; }

.ov-local { background: var(--navy-800); color: var(--on-dark); }
.ov-local .ov-body { max-width: 62%; }
.ov-text { color: #E2E8EF; font-size: 1.05rem; }
.oman-map {
  position: absolute; inset-inline-end: 10px; top: 16px; width: 44%; height: auto;
  fill: none; stroke: var(--gold-500); stroke-width: 1.4; stroke-linejoin: round;
}
.map-pin { color: var(--gold-500); }
.map-pin use { fill: var(--gold-500); stroke: var(--navy-800); stroke-width: 1.6; }

/* =========================================================
   Sections
   ========================================================= */
.section { padding: var(--space-9) 0; }
.section-cream { background: var(--cream-100); }
.section-head { max-width: 720px; margin: 0 auto var(--space-7); text-align: center; }
.section-title { font-size: clamp(1.9rem, 1.3rem + 2vw, 2.75rem); font-weight: 700; margin-top: 8px; color: var(--navy-800); text-wrap: balance; }
.section-lead { margin-top: var(--space-4); color: var(--ink-muted); font-size: 1.1rem; }
.section-head-light .section-title { color: var(--on-dark); }

/* Services */
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-5); }
.service-card {
  background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm);
  border: 1px solid var(--line-light);
  display: flex; flex-direction: column;
  transition: box-shadow var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.service-media { aspect-ratio: 16 / 8; overflow: hidden; background: var(--cream-200); }
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.service-card:hover .service-media img { transform: scale(1.04); }
.service-body { position: relative; padding: var(--space-6) var(--space-5) var(--space-5); display: flex; flex-direction: column; gap: 10px; flex: 1; }
.service-icon {
  position: absolute; top: -28px; inset-inline-start: var(--space-5);
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy-800); color: var(--gold-500); border: 3px solid #fff; box-shadow: var(--shadow-md);
}
.service-icon .icon { width: 26px; height: 26px; }
.service-body h3 { font-size: 1.4rem; color: var(--navy-800); margin-top: 6px; }
.service-body p { color: var(--ink-muted); }
.service-body .btn { align-self: flex-start; margin-top: var(--space-2); }

.service-card-wide { grid-column: 1 / -1; flex-direction: row; }
.service-card-wide .service-media { flex: 1.2; aspect-ratio: auto; min-height: 280px; }
.service-card-wide .service-body { flex: 1; justify-content: center; padding: var(--space-7) var(--space-6); }
.service-card-wide .service-icon { position: static; margin-bottom: 4px; border-color: var(--cream-100); }

.ticks { display: grid; gap: 6px; margin-top: 4px; }
.ticks li { display: flex; align-items: flex-start; gap: 10px; color: var(--ink); font-weight: 500; }
.ticks .icon { color: var(--gold-text); width: 20px; height: 20px; margin-top: 2px; stroke-width: 2.5; }
.ticks-lg li { font-size: 1.05rem; }

/* Process */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-4); position: relative; }
.steps::before {
  content: ""; position: absolute; left: 10%; right: 10%; top: 62px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--gold-600) 0 8px, transparent 8px 16px);
  opacity: .7;
}
.step {
  position: relative; background: #fff; border: 1px solid var(--line-light); border-radius: var(--radius);
  padding: var(--space-5) var(--space-4); text-align: center; box-shadow: var(--shadow-sm);
}
.step-num { display: block; font-size: .85rem; font-weight: 700; letter-spacing: .1em; color: var(--gold-text); }
.step-icon {
  position: relative; z-index: 1;
  width: 64px; height: 64px; margin: 8px auto 14px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy-800); color: var(--gold-500); box-shadow: 0 0 0 6px var(--cream-100);
}
.step-icon .icon { width: 28px; height: 28px; }
.step h3 { font-size: 1.15rem; color: var(--navy-800); }
.step p { color: var(--ink-muted); margin-top: 6px; font-size: .95rem; }

/* Why */
.why {
  padding: var(--space-9) 0; color: var(--on-dark);
  background:
    radial-gradient(900px 400px at 15% 0%, rgba(226, 184, 101, .12), transparent 60%),
    var(--navy-800);
}
.values { display: grid; grid-template-columns: repeat(4, 1fr); }
.value { text-align: center; padding: var(--space-4) var(--space-5); position: relative; }
.value + .value::before { content: ""; position: absolute; inset-inline-start: 0; top: 10%; bottom: 10%; width: 1px; background: var(--line-dark); }
.value-icon { width: 52px; height: 52px; color: var(--gold-500); stroke-width: 1.6; margin: 0 auto var(--space-4); }
.value h3 { font-size: 1.2rem; }
.value p { color: var(--on-dark-muted); margin-top: 8px; }

/* About */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: var(--space-8); align-items: center; }
.about-media { position: relative; }
.about-media img {
  width: 100%; max-width: 460px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); margin-inline: auto;
}
.about-media::after {
  content: ""; position: absolute; z-index: -1; inset: 24px -16px -16px 24px; max-width: 460px;
  border: 2px solid var(--gold-600); border-radius: var(--radius-lg);
}
.about-copy .section-title { margin-bottom: var(--space-4); }
.about-copy p:not(.eyebrow) { color: var(--ink-muted); font-size: 1.08rem; margin-bottom: var(--space-4); max-width: 60ch; }

/* =========================================================
   Bid with Motorak
   ========================================================= */
.bid-hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-6); }
.bid-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: var(--space-6); }
.bid-trust li { display: inline-flex; align-items: center; gap: 8px; color: #E2E8EF; font-weight: 500; }
.bid-trust .icon { color: var(--gold-500); width: 20px; height: 20px; }

.steps.steps-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps.steps-6::before { display: none; }

.bid-cols { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); align-items: stretch; }
.bid-card {
  background: #fff; border: 1px solid var(--line-light); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); padding: var(--space-6);
}
.bid-card-navy {
  background: radial-gradient(500px 240px at 100% 0%, rgba(226, 184, 101, .16), transparent 60%), var(--navy-800);
  color: var(--on-dark); border-color: transparent;
}
.bid-card-title { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); color: var(--navy-800); margin-top: 6px; }
.bid-card-navy .bid-card-title { color: #fff; }
.bid-card-lead { color: var(--ink-muted); margin: 10px 0 var(--space-4); }
.deposit-rule { font-size: 1.25rem; margin: var(--space-4) 0; color: #E2E8EF; }
.deposit-rule strong { color: var(--gold-400); font-size: 1.6rem; font-variant-numeric: tabular-nums; }
.ticks-light li { color: #fff; }
.ticks-light .icon { color: var(--gold-500); }
.ticks-light strong { color: var(--gold-400); }
.deposit-example {
  margin-top: var(--space-5); padding: 12px 16px; border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .07); border: 1px dashed rgba(226, 184, 101, .5); color: #E2E8EF;
}
.cost-list { display: grid; gap: 12px; }
.cost-list li { display: flex; gap: 14px; align-items: flex-start; }
.cost-n {
  flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--cream-100); color: var(--navy-800); font-weight: 700; font-size: .9rem; border: 1px solid var(--line-light);
}
.cost-list strong { display: block; color: var(--navy-800); }
.cost-list span { color: var(--ink-muted); font-size: .95rem; }

.rules { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-4); }
.rule {
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius);
  padding: var(--space-5);
}
.rule > .icon { width: 36px; height: 36px; color: var(--gold-500); stroke-width: 1.6; margin-bottom: 12px; }
.rule h3 { font-size: 1.1rem; }
.rule p { color: var(--on-dark-muted); margin-top: 8px; font-size: .95rem; }
.rule strong { color: var(--gold-400); }
.rules-note { text-align: center; color: var(--on-dark-muted); margin-top: var(--space-6); font-size: .95rem; }

.safety-note {
  display: flex; gap: 14px; align-items: flex-start; margin-top: var(--space-5);
  padding: 16px 18px; border-radius: var(--radius); background: rgba(226, 184, 101, .12); border: 1px solid rgba(226, 184, 101, .4);
}
.safety-note .icon { flex: none; width: 26px; height: 26px; color: var(--gold-400); margin-top: 2px; }
.safety-note p { color: #E2E8EF; }
.safety-note strong { color: #fff; }

.field-label { font-weight: 600; font-size: .95rem; color: var(--navy-800); }
.deposit-live {
  min-height: 48px; display: flex; align-items: center; padding: 10px 14px; border-radius: var(--radius-sm);
  background: var(--cream-100); border: 1.5px dashed #CBBFAA; color: var(--ink-muted); font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.deposit-live.has-value { color: var(--navy-800); border-style: solid; border-color: var(--gold-600); background: #FFF8E8; font-size: 1.1rem; }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-weight: 500; color: var(--ink); line-height: 1.5; }
.field .check input[type="checkbox"] {
  flex: none; width: 22px; height: 22px; min-height: 0; padding: 0; margin: 2px 0 0; border: 0;
  accent-color: var(--navy-800); cursor: pointer;
}
.check span { flex: 1; min-width: 0; }
.field.has-error .check span { color: var(--error); }

.faq-wrap { max-width: 860px; }
.faq { display: grid; gap: 12px; }
.faq details {
  background: #fff; border: 1px solid var(--line-light); border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 22px; min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-weight: 700; color: var(--navy-800); font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--cream-100); color: var(--gold-text); font-size: 1.3rem; font-weight: 700; transition: transform var(--dur) var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 2px; border-radius: var(--radius); }
.faq details p { padding: 0 22px 20px; color: var(--ink-muted); }

@media (max-width: 1080px) {
  .steps.steps-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bid-cols { grid-template-columns: 1fr; }
  .rules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .steps.steps-6 { grid-template-columns: 1fr; }
  .rules { grid-template-columns: 1fr; }
  .bid-card { padding: var(--space-5); }
  .bid-hero-actions .btn { flex: 1 1 100%; }
}

/* Coming soon: China */
.china { padding: var(--space-9) 0; background: linear-gradient(180deg, var(--cream-50) 0%, var(--cream-100) 100%); }
.china-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--space-8); align-items: center; }
.soon-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: var(--radius-pill);
  background: var(--navy-800); color: var(--gold-400); font-weight: 700; font-size: .85rem;
  letter-spacing: .08em; text-transform: uppercase;
}
[dir="rtl"] .soon-badge { letter-spacing: 0; text-transform: none; font-size: 1rem; }
.soon-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-500); animation: soon-pulse 2s ease-out infinite; }
@keyframes soon-pulse {
  0% { box-shadow: 0 0 0 0 rgba(226, 184, 101, .6); }
  70% { box-shadow: 0 0 0 10px rgba(226, 184, 101, 0); }
  100% { box-shadow: 0 0 0 0 rgba(226, 184, 101, 0); }
}
.china .section-title { margin-top: var(--space-4); }
.china-lead { color: var(--ink-muted); font-size: 1.1rem; margin: var(--space-4) 0 var(--space-5); max-width: 58ch; }
.china-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-5); margin-top: var(--space-6); }
.china-note { color: var(--ink-muted); }
.china-visual svg { display: block; width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.radio-soon { font-weight: 500; opacity: .75; margin-inline-start: 2px; }
@media (max-width: 1080px) {
  .china-grid { grid-template-columns: 1fr; gap: var(--space-7); }
  .china-visual { max-width: 520px; }
}
@media (max-width: 760px) {
  .china { padding: var(--space-8) 0; }
  .china-actions .btn { width: 100%; }
}

/* Contact */
.contact {
  padding: var(--space-9) 0; color: var(--on-dark);
  background: linear-gradient(160deg, var(--navy-800), var(--navy-950));
}
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: var(--space-8); align-items: start; }
.contact .section-title { color: var(--on-dark); }
.contact-lead { color: var(--on-dark-muted); margin-top: var(--space-4); font-size: 1.08rem; }
.contact-list { display: grid; gap: var(--space-3); margin-top: var(--space-6); }
.contact-list li { display: flex; align-items: center; gap: 12px; }
.contact-list .icon { color: var(--gold-500); width: 22px; height: 22px; }
.contact-list a { color: var(--on-dark); text-decoration-color: var(--gold-500); text-underline-offset: 4px; min-height: 44px; display: inline-flex; align-items: center; }
.contact-list a:hover { color: var(--gold-400); }

.quote-form {
  background: var(--cream-50); color: var(--ink); border-radius: var(--radius-lg);
  padding: var(--space-6); box-shadow: var(--shadow-lg); display: grid; gap: var(--space-4);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; border: 0; padding: 0; margin: 0; }
.field label, .field legend { font-weight: 600; font-size: .95rem; color: var(--navy-800); padding: 0; }
.req { color: var(--error); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  border: 1.5px solid #CBBFAA; border-radius: var(--radius-sm); background: #fff;
  transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: #7A8794; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: none; border-color: var(--navy-700); box-shadow: 0 0 0 4px rgba(226, 184, 101, .45);
}
.field.has-error input, .field.has-error textarea { border-color: var(--error); }
.field-hint { font-size: .85rem; color: var(--ink-muted); }
.field-error { font-size: .88rem; color: var(--error); font-weight: 600; min-height: 0; }
.field-error:empty { display: none; }

.radio-group { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 2px; }
.radio { position: relative; cursor: pointer; }
.radio input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.radio span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 20px;
  border: 1.5px solid #CBBFAA; border-radius: var(--radius-pill); background: #fff; font-weight: 600;
  transition: background-color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.radio input:checked + span { background: var(--navy-800); border-color: var(--navy-800); color: var(--gold-400); }
.radio input:focus-visible + span { outline: 3px solid var(--gold-500); outline-offset: 2px; }

.form-summary {
  background: #FDECEA; border: 1px solid #F4B8B1; color: var(--error);
  border-radius: var(--radius-sm); padding: 12px 16px; font-weight: 600;
}
.form-summary ul { margin-top: 6px; padding-inline-start: 18px; list-style: disc; font-weight: 500; }
.form-summary a { color: var(--error); }
.form-status { text-align: center; font-weight: 600; min-height: 1.6em; }
.form-status.is-success { color: var(--success); }

.spinner {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2.5px solid rgba(13, 36, 58, .25); border-top-color: var(--navy-900);
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Footer */
.site-footer { background: var(--navy-950); color: var(--on-dark-muted); padding: var(--space-7) 0 var(--space-5); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--space-6); }
.footer-brand img { height: 50px; width: auto; }
.footer-brand p { margin-top: var(--space-3); font-size: .95rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 8px; }
.footer-links a { display: inline-flex; min-height: 44px; align-items: center; padding: 0 10px; color: var(--on-dark); text-decoration: none; font-weight: 500; border-radius: 8px; }
.footer-links a:hover { color: var(--gold-400); }
.footer-bottom {
  margin-top: var(--space-6); padding-top: var(--space-4); border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-2); font-size: .9rem;
}

/* =========================================================
   Reveal on scroll (only when JS + motion allowed)
   ========================================================= */
.js-motion .reveal { opacity: 0; transform: translateY(18px); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); transition-delay: var(--delay, 0ms); }
.js-motion .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .service-card:hover, .service-card:hover .service-media img { transform: none; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1200px) {
  .main-nav a:not(.btn) { padding: 8px 9px; }
  .overview-grid { grid-template-columns: 1fr 1fr; }
  .ov-local { grid-column: 1 / -1; min-height: 220px; }
  .ov-local .ov-body { max-width: 70%; }
  .oman-map { width: auto; height: 86%; inset-inline-end: 6%; }
}

@media (max-width: 1080px) {
  :root { --header-h: 72px; }
  .menu-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .brand img { height: 46px; }
  .main-nav {
    position: fixed; z-index: var(--z-menu); inset: var(--header-h) 0 auto 0;
    background: var(--navy-900); padding: var(--space-4) 20px var(--space-6);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .35);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out), visibility 0s linear var(--dur);
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  }
  .main-nav.is-open { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .main-nav a:not(.btn) { width: 100%; min-height: 52px; font-size: 1.1rem; padding: 10px 8px; border-bottom: 1px solid rgba(255, 255, 255, .08); border-radius: 0; }
  .main-nav a:not(.btn)::after { display: none; }
  .nav-cta-mobile { display: inline-flex; width: 100%; margin-top: var(--space-5); min-height: 52px; }
  .site-header:has(.main-nav.is-open) { background: var(--navy-900); }

  .hero { min-height: auto; padding-bottom: 0; flex-direction: column; align-items: stretch; }
  .hero-media {
    position: relative; inset: auto; order: 2; margin-top: 8px;
    aspect-ratio: 3 / 2; max-height: 480px;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 10%); mask-image: linear-gradient(180deg, transparent 0%, #000 10%);
  }
  .hero-media::after { display: none; }
  .hero-media img {
    inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 58% 100%;
    -webkit-mask-image: none; mask-image: none;
  }

  .feature-list { grid-template-columns: repeat(3, 1fr); row-gap: var(--space-4); }
  .feature:nth-child(4)::before { display: none; }

  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps::before { display: none; }
  .values { grid-template-columns: repeat(2, 1fr); row-gap: var(--space-5); }
  .value:nth-child(3)::before { display: none; }
  .contact-grid, .about-grid { grid-template-columns: 1fr; gap: var(--space-7); }
}

@media (max-width: 760px) {
  .section, .why, .contact { padding: var(--space-8) 0; }
  .overview-grid, .service-grid { grid-template-columns: 1fr; }
  .ov-markets .ov-body { max-width: 100%; }
  .ov-markets::before { background: linear-gradient(180deg, rgba(13, 36, 58, .55) 0%, rgba(13, 36, 58, .96) 70%); }
  .ov-markets { min-height: 340px; }
  .ov-markets .ov-body { justify-content: flex-end; }
  .mini-steps { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .mini-steps li { font-size: .78rem; }
  .mini-steps li + li::before { display: none; }
  .step-badge { width: 48px; height: 48px; }
  .step-badge .icon { width: 22px; height: 22px; }
  .service-card-wide { flex-direction: column; }
  .service-card-wide .service-media { min-height: 0; aspect-ratio: 16 / 8; }
  .service-card-wide .service-body { padding: var(--space-6) var(--space-5) var(--space-5); }
  .feature-list { grid-template-columns: repeat(2, 1fr); }
  .feature:nth-child(4)::before { display: block; }
  .feature:nth-child(3)::before, .feature:nth-child(5)::before { display: none; }
  .feature:nth-child(5) { grid-column: 1 / -1; }
  .steps { grid-template-columns: 1fr; }
  .step { display: grid; grid-template-columns: auto 1fr; column-gap: var(--space-4); text-align: start; align-items: start; }
  .step-num { grid-column: 2; }
  .step-icon { grid-row: 1 / span 3; grid-column: 1; margin: 0; }
  .step h3, .step p { grid-column: 2; }
  .values { grid-template-columns: 1fr; }
  .value + .value::before { left: 20%; right: 20%; top: 0; bottom: auto; width: auto; height: 1px; }
  .value:nth-child(3)::before { display: block; }
  .form-row { grid-template-columns: 1fr; }
  .quote-form { padding: var(--space-5); }
  .hero-actions .btn { flex: 1 1 100%; }
}

@media (max-width: 420px) {
  .brand img { height: 40px; }
  .ov-local .ov-body { max-width: 100%; }
  .oman-map { opacity: .25; }
}

/* =========================================================
   Inventory page
   ========================================================= */
.main-nav a:not(.btn) { white-space: nowrap; }
@media (min-width: 1081px) and (max-width: 1340px) {
  .header-inner { gap: 14px; }
  .main-nav ul { gap: 0; }
  .main-nav a:not(.btn) { padding: 8px 8px; font-size: .95rem; }
  .brand img { height: 48px; }
}
/* Not enough room for the header button too: the hero and menu already offer "Get a Quote" */
@media (min-width: 1081px) and (max-width: 1220px) {
  .header-cta { display: none; }
}

.page-hero {
  position: relative; overflow: hidden; color: var(--on-dark);
  padding: calc(var(--header-h) + 48px) 0 clamp(96px, 10vw, 140px);
  background:
    radial-gradient(900px 420px at 85% 0%, rgba(226, 184, 101, .16), transparent 60%),
    linear-gradient(180deg, #0D2238 0%, var(--navy-800) 100%);
}
.page-title { font-size: clamp(2.2rem, 1.4rem + 3vw, 3.6rem); font-weight: 700; margin-top: 8px; letter-spacing: -0.02em; }
.page-lead { margin-top: var(--space-4); max-width: 60ch; color: #E2E8EF; font-size: 1.1rem; }
.inv-stats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: var(--space-5); }
.inv-stats li {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); font-weight: 500;
}
.inv-stats strong { color: var(--gold-500); font-size: 1.15rem; font-variant-numeric: tabular-nums; }

.inventory { background: var(--cream-100); padding: 0 0 var(--space-9); }
.inv-toolbar {
  position: relative; z-index: 2; margin-top: calc(-1 * clamp(56px, 6vw, 84px));
  background: #fff; border: 1px solid var(--line-light); border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  padding: var(--space-5); display: grid; grid-template-columns: minmax(240px, 1fr) auto; gap: var(--space-4) var(--space-5); align-items: end;
}
.inv-selects { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--space-4); }
.inv-more { display: none; }
.btn-outline-navy { border-color: var(--line-light); background: #fff; color: var(--navy-800); }
.btn-outline-navy:hover { border-color: var(--navy-800); }
.input-icon { position: relative; }
.input-icon .icon { position: absolute; inset-inline-start: 14px; top: 50%; transform: translateY(-50%); color: var(--ink-muted); pointer-events: none; }
.input-icon input { padding-inline-start: 44px; }
.field select { cursor: pointer; }

.inv-meta { display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); margin: var(--space-5) 0 var(--space-4); min-height: 44px; }
.inv-count { font-weight: 600; color: var(--navy-800); }
.btn-link {
  background: none; border: 0; padding: 8px 4px; min-height: 44px; cursor: pointer;
  color: var(--gold-text); font-weight: 700; text-decoration: underline; text-underline-offset: 4px;
}
.btn-link:hover { color: var(--navy-800); }

.inv-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); }
.car-card {
  background: #fff; border: 1px solid var(--line-light); border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
  transition: box-shadow var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.car-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.car-media { position: relative; aspect-ratio: 16 / 10; background: var(--cream-200); overflow: hidden; }
.car-media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.car-card:hover .car-media img { transform: scale(1.04); }
.car-placeholder {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 6px; text-align: center;
  color: var(--gold-500);
  background:
    radial-gradient(360px 180px at 50% 0%, rgba(226, 184, 101, .2), transparent 70%),
    linear-gradient(160deg, var(--navy-700), var(--navy-900));
}
.car-placeholder .ph-car { width: 92px; height: 92px; stroke-width: 1.1; }
.car-placeholder .ph-name { color: #fff; font-weight: 700; font-size: 1.05rem; }
.car-placeholder .ph-note { display: inline-flex; align-items: center; gap: 6px; color: var(--on-dark-muted); font-size: .9rem; font-weight: 500; }
.car-placeholder .ph-note .icon { width: 16px; height: 16px; }

.car-badge {
  position: absolute; top: 14px; inset-inline-start: 14px;
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: var(--radius-pill);
  font-size: .85rem; font-weight: 700; box-shadow: 0 4px 12px rgba(0, 0, 0, .18);
}
.car-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
/* Card photo opens the gallery */
.car-media-btn {
  display: block; width: 100%; height: 100%; padding: 0; margin: 0; border: 0; background: none;
  cursor: zoom-in; border-radius: 0;
}
.car-media-btn:focus-visible { outline: 3px solid var(--gold-500); outline-offset: -3px; }
.car-media .car-badge, .car-media .car-photos { pointer-events: none; }

/* =========================================================
   Photo gallery
   ========================================================= */
html.has-dialog { overflow: hidden; }
.gallery {
  width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: var(--navy-950); color: #fff; overflow: hidden;
}
.gallery::backdrop { background: var(--navy-950); }
.gallery[open] { display: grid; grid-template-rows: auto 1fr auto; animation: gal-in var(--dur) var(--ease-out); }
@keyframes gal-in { from { opacity: 0; } to { opacity: 1; } }

.gal-top { display: flex; align-items: center; gap: var(--space-4); padding: var(--space-4) var(--space-5); }
.gal-heading { flex: 1; min-width: 0; }
.gal-title { font-size: clamp(1.05rem, .9rem + .6vw, 1.35rem); font-weight: 700; }
.gal-sub { color: var(--on-dark-muted); font-size: .9rem; }
.gal-count { font-weight: 700; font-variant-numeric: tabular-nums; color: var(--gold-400); white-space: nowrap; }

.gal-btn {
  display: inline-grid; place-items: center; width: 48px; height: 48px; flex: none;
  border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .08);
  color: #fff; cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.gal-btn:hover { background: rgba(255, 255, 255, .18); border-color: var(--gold-500); }
.gal-btn:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 2px; }
.gal-btn .icon { width: 22px; height: 22px; }

.gal-stage { position: relative; min-height: 0; overflow: hidden; touch-action: pan-y; user-select: none; }
.gal-img {
  position: absolute; inset: 0; width: 100%; height: 100%; padding: 0 76px; object-fit: contain;
  transition: opacity var(--dur) var(--ease-out);
}
.gal-img.is-loading { opacity: .35; }
.gal-nav { position: absolute; top: 50%; transform: translateY(-50%); }
.gal-prev { inset-inline-start: var(--space-4); }
.gal-next { inset-inline-end: var(--space-4); }
.gal-prev .icon { transform: scaleX(-1); }
[dir="rtl"] .gal-prev .icon { transform: none; }
[dir="rtl"] .gal-next .icon { transform: scaleX(-1); }
.gallery.is-single .gal-nav, .gallery.is-single .gal-dots { display: none; }

.gal-bottom { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding: var(--space-4) var(--space-5) var(--space-5); }
.gal-dots { display: flex; flex-wrap: wrap; gap: 6px; }
.gal-dots span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .3); transition: background-color var(--dur-fast), transform var(--dur-fast); }
.gal-dots span.is-active { background: var(--gold-500); transform: scale(1.3); }

@media (max-width: 760px) {
  .gal-top { padding: var(--space-3) var(--space-4); }
  .gal-img { padding: 0; }
  .gal-nav { background: rgba(8, 24, 41, .6); }
  .gal-prev { inset-inline-start: var(--space-2); }
  .gal-next { inset-inline-end: var(--space-2); }
  .gal-bottom { flex-direction: column; align-items: stretch; }
  .gal-dots { justify-content: center; order: -1; }
  .gal-actions { flex-direction: column-reverse; align-items: stretch; gap: var(--space-2); }
  .gal-ext { text-align: center; }
  .gal-enquire { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .gallery[open] { animation: none; }
}

.car-photos {
  position: absolute; bottom: 12px; inset-inline-end: 12px;
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: var(--radius-pill);
  background: rgba(8, 24, 41, .78); color: #fff; font-size: .82rem; font-weight: 600;
}
.car-photos .icon { width: 15px; height: 15px; }
.badge-oman { background: #E6F4EC; color: #14633D; }
.badge-transit { background: #FFF3DC; color: #6E4A0E; }
.badge-auction { background: var(--navy-800); color: #fff; }
.badge-auction::before { background: var(--gold-500); }

.car-body { padding: var(--space-5); display: flex; flex-direction: column; gap: 12px; flex: 1; }
.car-kicker { font-size: .92rem; font-weight: 600; color: var(--ink-muted); }
.car-title { font-size: 1.3rem; color: var(--navy-800); margin-top: -8px; }
.car-condition { display: flex; flex-wrap: wrap; gap: 6px 8px; margin-top: -2px; }
.cond-title, .cond-damage {
  display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: var(--radius-pill);
  font-size: .82rem; font-weight: 700; line-height: 1.4;
}
.cond-clean { background: #E6F4EC; color: #14633D; }
.cond-warn { background: #FFF3DC; color: #6E4A0E; }
.cond-damage { background: #F3F4F6; color: #374151; font-weight: 600; }
.cond-damage .icon { width: 14px; height: 14px; color: #B45309; }
.car-specs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px;
  padding: 12px 0; border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light);
}
.car-specs li { display: flex; align-items: center; gap: 8px; font-size: .94rem; min-width: 0; }
.car-specs .icon { width: 18px; height: 18px; color: var(--gold-text); }
.swatch { width: 16px; height: 16px; border-radius: 50%; background: var(--sw); border: 1px solid rgba(0, 0, 0, .25); flex: none; margin-inline: 1px; }
.car-price-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-top: auto; }
.price-label { display: block; font-size: .84rem; color: var(--ink-muted); font-weight: 500; }
.price { font-size: 1.45rem; font-weight: 700; color: var(--navy-800); font-variant-numeric: tabular-nums; }
.price-none { font-size: 1.1rem; color: var(--ink-muted); }
.car-ref { font-size: .82rem; color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.car-ext {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; min-height: 32px;
  color: var(--navy-700); font-weight: 700; font-size: .92rem; text-decoration: underline;
  text-decoration-color: var(--gold-600); text-underline-offset: 4px;
}
.car-ext:hover { color: var(--gold-text); }
.car-ext .icon { width: 15px; height: 15px; }
.car-ext-light { color: #fff; min-height: 44px; }
.car-ext-light:hover { color: var(--gold-400); }
[dir="rtl"] .car-ext .icon { transform: scaleX(-1); }
.gal-actions { display: flex; align-items: center; gap: var(--space-4); flex-wrap: wrap; justify-content: flex-end; }
.car-actions { display: flex; gap: 10px; }
.car-actions .btn-gold { flex: 1; }
.btn-square { width: 48px; min-width: 48px; padding: 0; }
.btn-square .icon { width: 22px; height: 22px; }
.btn.btn-square:hover .icon { transform: none; }

.inv-soon {
  text-align: center; background: #fff; border: 1px solid var(--line-light); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); padding: var(--space-8) var(--space-5);
  position: relative; z-index: 2; margin-top: calc(-1 * clamp(56px, 6vw, 84px));
}
.inv-soon > .icon { width: 56px; height: 56px; color: var(--gold-600); stroke-width: 1.5; margin: 0 auto 12px; }
.inv-soon h2 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); color: var(--navy-800); }
.inv-soon p { color: var(--ink-muted); margin: 10px auto 24px; max-width: 52ch; font-size: 1.05rem; }
.inv-soon .btn-navy .icon { width: 18px; height: 18px; }
.inv-empty {
  text-align: center; background: #fff; border: 1.5px dashed #CBBFAA; border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-5);
}
.inv-empty > .icon { width: 48px; height: 48px; color: var(--gold-text); margin: 0 auto 12px; }
.inv-empty h2 { font-size: 1.5rem; color: var(--navy-800); }
.inv-empty p { color: var(--ink-muted); margin: 8px auto 20px; max-width: 46ch; }
.inv-empty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

.inv-cta { background: var(--navy-800); color: var(--on-dark); padding: var(--space-8) 0; }
.inv-cta-inner { display: flex; justify-content: space-between; align-items: center; gap: var(--space-6); flex-wrap: wrap; }
.inv-cta h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); }
.inv-cta p { color: var(--on-dark-muted); margin-top: 8px; max-width: 60ch; }

@media (max-width: 1080px) {
  .inv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .inv-selects { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .inv-toolbar { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .inv-grid { grid-template-columns: 1fr; }
  .inv-toolbar { padding: var(--space-4); }
  .inv-more { display: inline-flex; justify-self: start; }
  .inv-selects { display: none; grid-template-columns: 1fr 1fr; }
  .inv-selects.is-open { display: grid; }
  .inv-selects .field:last-child { grid-column: 1 / -1; }
  .inv-status .radio span { padding: 8px 14px; }
  .inv-cta-inner .btn { width: 100%; }
}

/* =========================================================
   Language switch
   ========================================================= */
.lang-switch {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; min-width: 44px; padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, .3); border-radius: var(--radius-pill);
  color: var(--on-dark); text-decoration: none; font-weight: 700; font-size: .95rem;
  transition: border-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out), background-color var(--dur) var(--ease-out);
}
.lang-switch:hover { border-color: var(--gold-500); color: var(--gold-400); background: rgba(226, 184, 101, .1); }
.lang-switch[lang="ar"] { font-family: var(--font-ar); font-size: 1.05rem; }
.lang-switch[lang="en"] { font-family: var(--font); }

@media (max-width: 1080px) {
  .header-inner { gap: 10px; }
  .lang-switch { margin-inline-start: auto; }
}

/* Keep phone numbers, emails and Latin snippets left-to-right inside Arabic text */
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }

/* =========================================================
   Arabic / right-to-left
   ========================================================= */
:root { --font-ar: "Tajawal", "DM Sans", "Segoe UI", Tahoma, sans-serif; }

[dir="rtl"] body { font-family: var(--font-ar); line-height: 1.75; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { letter-spacing: 0; line-height: 1.3; }
[dir="rtl"] .hero-title { letter-spacing: 0; line-height: 1.15; font-weight: 800; }
[dir="rtl"] .eyebrow { letter-spacing: 0; text-transform: none; font-size: 1rem; }
[dir="rtl"] .feature-title, [dir="rtl"] .service-body h3 { font-weight: 800; }

/* Arrows point the reading direction */
[dir="rtl"] .btn .icon { transform: scaleX(-1); }
[dir="rtl"] .btn:hover .icon { transform: scaleX(-1) translateX(3px); }
[dir="rtl"] .mini-steps li + li::before { content: "←"; }

[dir="rtl"] .main-nav a:not(.btn)::after { transform-origin: right; }

/* Mirror the hero photo so the car sits on the left and the text reads on the right
   (a flag seen from the other side is mirrored, so the scene stays natural) */
[dir="rtl"] .hero-media { transform: scaleX(-1); }
[dir="rtl"] .hero-curve { transform: scaleX(-1); }

[dir="rtl"] .ov-markets img { object-position: 30% 50%; }
[dir="rtl"] .ov-markets::before {
  background: linear-gradient(270deg, rgba(13, 36, 58, .97) 0%, rgba(13, 36, 58, .85) 42%, rgba(13, 36, 58, .15) 78%);
}
[dir="rtl"] .about-media::after { inset: 24px 24px -16px -16px; }

/* Latin model names (e.g. "3 Series 330i") keep their own order inside Arabic layout */
[dir="rtl"] .car-title, [dir="rtl"] .ph-name, [dir="rtl"] .car-kicker, [dir="rtl"] .gal-title { unicode-bidi: plaintext; text-align: right; }
[dir="rtl"] .car-ref { direction: ltr; }

[dir="rtl"] input[type="tel"], [dir="rtl"] input[type="email"] { direction: ltr; text-align: right; }
[dir="rtl"] input[type="tel"]::placeholder, [dir="rtl"] input[type="email"]::placeholder { text-align: right; }

@media (max-width: 760px) {
  [dir="rtl"] .ov-markets::before { background: linear-gradient(180deg, rgba(13, 36, 58, .55) 0%, rgba(13, 36, 58, .96) 70%); }
}
