/* RIFU Motors — public website, order links and customer portal.
   Formal and calm: navy ink on white, the logo's gold as a fine accent only,
   Noto Kufi Arabic for headings (it echoes the stencil capitals of the logo) and
   IBM Plex Sans Arabic for reading. Both fonts are bundled in /static/fonts (SIL OFL). */

@font-face { font-family: "RIFU Text"; src: url("../fonts/plex-arabic-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "RIFU Text"; src: url("../fonts/plex-arabic-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "RIFU Text"; src: url("../fonts/plex-arabic-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "RIFU Text"; src: url("../fonts/plex-arabic-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "RIFU Display"; src: url("../fonts/kufi-arabic-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "RIFU Display"; src: url("../fonts/kufi-arabic-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --ink: #13253A;          /* navy: headings and main actions */
  --ink-2: #33475B;        /* reading text */
  --muted: #677788;
  --deep: #0C1B2A;         /* top bar and footer */
  --stone: #F3F5F7;        /* quiet section background */
  --line: #DCE2E8;
  --line-soft: #E9EDF1;
  --gold: #A8823A;         /* the logo's gold, for rules, numerals and icons */
  --gold-ink: #7A5C1E;     /* gold that stays readable as small text */
  --gold-soft: #F7F1E5;
  --ok: #2E7D4F; --ok-soft: #E5F2EA;
  --bad: #B3261E; --bad-soft: #FBE7E5;
  --info: #1F5FA8;
  --harbor: var(--ink); --mist: var(--stone);   /* older names still used in a few templates */
  --text: "RIFU Text", "Segoe UI", Tahoma, Arial, "Microsoft YaHei", "PingFang SC", sans-serif;
  --display: "RIFU Display", "RIFU Text", "Segoe UI", Tahoma, Arial, sans-serif;
  --radius: 8px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--text); font-size: 16.5px; line-height: 1.85; color: var(--ink-2); background: #fff;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3 { font-family: var(--display); color: var(--ink); font-weight: 700; line-height: 1.5; letter-spacing: 0; }
/* English pages: Latin needs less line height, and Plex reads better than Kufi's Latin for headings */
html[lang=en] body { line-height: 1.65; }
html[lang=en] h1, html[lang=en] h2, html[lang=en] h3 { font-family: var(--text); line-height: 1.25; letter-spacing: -.01em; }
a { color: var(--info); }
img { max-width: 100%; }
:focus-visible { outline: 3px solid rgba(168, 130, 58, .6); outline-offset: 2px; border-radius: 4px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.ltr { direction: ltr; unicode-bidi: isolate; }
.muted { color: var(--muted); }
svg.i { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; vertical-align: -4px; flex: none; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 22px; border-radius: 6px;
  border: 1px solid var(--line); background: #fff; color: var(--ink); font: inherit; font-size: 15.5px; font-weight: 600;
  line-height: 1.4; text-decoration: none; cursor: pointer; }
.btn:hover { border-color: #C5CED8; background: #FAFBFC; }
.btn-primary, .btn-dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-primary:hover, .btn-dark:hover { background: #1D3550; border-color: #1D3550; }
.btn-wa { background: #F1F9F4; border-color: #BFE0CB; color: #136B37; }
.btn-wa:hover { background: #E4F4EA; border-color: #A9D5B9; }
.btn-sm { padding: 7px 14px; font-size: 14px; }
.btn-lg { padding: 13px 28px; font-size: 16.5px; }
.btn-block { width: 100%; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.contact .actions, .about-actions { margin-top: 24px; }
.flashes { padding-top: 16px; }

/* top bar and header */
.topbar { background: var(--deep); color: #B9C6D3; font-size: 13.5px; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.tb-contact { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar a { color: #D9E2EA; text-decoration: none; display: inline-flex; gap: 7px; align-items: center; }
.topbar a:hover { color: #fff; }
.topbar svg.i { width: 16px; height: 16px; vertical-align: -3px; color: var(--gold); }
.lang-switch { font-size: 13.5px; font-weight: 500; }
.site-head { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .98); border-bottom: 1px solid var(--line); }
.site-head .bar { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.wordmark { display: flex; align-items: center; gap: 14px; color: var(--ink); text-decoration: none; }
.wordmark img { height: 30px; width: auto; display: block; flex: none; }
.wordmark .wm-ar { padding-inline-start: 14px; border-inline-start: 1px solid var(--line); font-family: var(--display); font-weight: 600; font-size: 16px; color: var(--ink); white-space: nowrap; }
.site-head nav { display: flex; gap: 6px; margin-inline-start: auto; }
.site-head nav a { color: var(--ink-2); text-decoration: none; font-size: 15.5px; font-weight: 500; padding: 8px 12px; border-radius: 6px; }
.site-head nav a:hover { color: var(--ink); background: var(--stone); }
.site-head nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--gold); border-radius: 0; }
.mnav { display: none; position: relative; margin-inline-start: auto; }
.mnav summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 6px; color: var(--ink); }
.mnav summary::-webkit-details-marker { display: none; }
.mnav[open] summary { background: var(--stone); }
.mnav .menu { position: absolute; inset-inline-end: 0; top: 52px; min-width: 220px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 16px 40px -16px rgba(12, 27, 42, .35); padding: 8px; display: grid; }
.mnav .menu a { padding: 10px 12px; color: var(--ink); text-decoration: none; border-radius: 6px; font-weight: 500; }
.mnav .menu a:hover { background: var(--stone); }
.mnav .menu a.menu-cta { margin-top: 6px; background: var(--ink); color: #fff; text-align: center; font-weight: 600; }

/* hero */
.hero { background: linear-gradient(180deg, #F5F7F9 0%, #EEF2F5 100%); border-bottom: 1px solid var(--line); padding: 76px 0 84px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 64px; align-items: center; }
.hero-tag { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; color: var(--gold-ink); font-weight: 600; font-size: 16px; }
.hero-tag::before { content: ""; width: 34px; height: 2px; background: var(--gold); flex: none; }
.hero h1 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.45; margin: 0 0 18px; text-wrap: balance; }
.hero .lead { font-size: 18.5px; line-height: 1.9; color: var(--ink-2); max-width: 34em; margin: 0; }
html[lang=en] .hero h1 { line-height: 1.18; }
html[lang=en] .hero .lead { line-height: 1.7; }
.hero .actions { margin-top: 32px; }

/* the order journey, set like an official paper */
.process { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: 0 0 var(--radius) var(--radius);
  padding: 26px 30px 12px; box-shadow: 0 24px 48px -32px rgba(12, 27, 42, .45); }
.process h2 { font-size: 19px; margin: 0 0 6px; }
.process ol { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.process li { position: relative; counter-increment: step; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 4px 16px; padding: 14px 0; border-top: 1px solid var(--line-soft); }
.process li:first-child { border-top: 0; }
.process li::before { content: counter(step); grid-row: span 2; width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--gold);
  color: var(--gold-ink); font-family: var(--display); font-weight: 700; font-size: 15px; display: grid; place-items: center; line-height: 1; }
html[lang=ar] .process li::before { content: counter(step, arabic-indic); }
.process li strong { color: var(--ink); font-size: 16px; font-weight: 600; line-height: 1.6; }
.process li span { color: var(--muted); font-size: 14.5px; line-height: 1.7; }

/* plain facts under the hero */
.facts { border-bottom: 1px solid var(--line); background: #fff; }
.facts-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fact { display: flex; gap: 14px; align-items: flex-start; padding: 28px 24px; border-inline-start: 1px solid var(--line-soft); }
.fact:first-child { border-inline-start: 0; padding-inline-start: 0; }
.fact svg.i { width: 26px; height: 26px; color: var(--gold); margin-top: 3px; }
.fact strong { display: block; color: var(--ink); font-weight: 600; font-size: 15.5px; line-height: 1.6; }
.fact span { display: block; color: var(--muted); font-size: 14px; line-height: 1.75; margin-top: 2px; }

/* sections */
.section { padding: 76px 0; }
.section.alt { background: var(--stone); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 30px; flex-wrap: wrap; }
.section h2 { font-size: clamp(24px, 2.4vw, 31px); margin: 0; }
.section .intro { color: var(--muted); margin: 8px 0 0; max-width: 46em; }

/* car cards */
.cars-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.car-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.car-card:hover { border-color: #C5CED8; }
.car-card .img { aspect-ratio: 16 / 10; background: var(--stone); display: grid; place-items: center; overflow: hidden; border-bottom: 1px solid var(--line-soft); }
.car-card .img img { width: 100%; height: 100%; object-fit: cover; }
.car-card .img img.ph { width: 58%; height: auto; object-fit: contain; opacity: .85; }
.car-card .body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.car-card h3 { margin: 0; font-family: var(--text); font-size: 17px; font-weight: 600; line-height: 1.5; }
.car-card h3 a { color: var(--ink); text-decoration: none; }
.car-card h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.car-card .specs { font-size: 14px; color: var(--muted); }
.car-card .foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line-soft); }
.price { font-weight: 700; font-size: 19px; color: var(--ink); line-height: 1.4; }
.price small { font-weight: 500; color: var(--muted); font-size: 13px; }
.price.req { font-size: 15px; color: var(--muted); font-weight: 600; }
.tag { display: inline-block; font-size: 12.5px; padding: 1px 9px; border-radius: 4px; background: var(--stone); color: var(--ink-2); font-weight: 600; border: 1px solid var(--line-soft); }
.tag.used { background: var(--gold-soft); color: var(--gold-ink); border-color: #EADFC8; }
.tag.ev { background: #E6F2EF; color: #11685B; border-color: #CFE6E0; }

/* payment terms */
.pay-band { background: var(--stone); }
.pay-band h2 { color: var(--ink); }
.pay-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.pay-list div { display: flex; gap: 12px; align-items: flex-start; padding: 22px 24px; color: var(--ink); font-weight: 600; font-size: 16px; line-height: 1.7; border-inline-start: 1px solid var(--line-soft); }
.pay-list svg.i { color: var(--gold); margin-top: 3px; }
.pay-list div:first-child { border-inline-start: 0; }
.pay-list div.is-key { box-shadow: inset 0 3px 0 var(--gold); }
.pay-band .note { color: var(--muted); margin: 16px 0 0; font-size: 15px; }

/* about strip on the home page */
.about-tag { margin: 2px 0 0; color: var(--gold-ink); font-weight: 600; }

/* contact */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.contact-list { display: grid; gap: 10px; }
.contact-list > a, .contact-list > div { display: flex; gap: 14px; align-items: center; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; background: #fff; }
.contact-list > a:hover { border-color: #C5CED8; background: #FAFBFC; }
.contact-list svg.i { color: var(--gold); }
.contact-list small { display: block; color: var(--muted); font-size: 13px; }

/* footer */
.site-foot { background: var(--deep); color: #A7B6C5; padding: 52px 0 0; font-size: 14.5px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.foot-brand img { height: 70px; width: auto; display: block; }
.foot-tag { color: #fff; font-weight: 600; margin: 12px 0 6px; }
.foot-about { margin: 0; line-height: 1.85; }
.site-foot a { color: #D9E2EA; }
.foot-h { color: #fff; font-size: 15.5px; margin: 6px 0 12px; }
.foot-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-list li { line-height: 1.6; }
.foot-list small { display: block; color: #7D91A5; font-size: 12.5px; }
.foot-links { display: flex; gap: 18px; flex-wrap: wrap; }
.foot-list a { text-decoration: none; }
.foot-list a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 40px; padding: 18px 24px 24px; font-size: 13px; color: #7D91A5; }

/* catalogue */
.filters { display: flex; gap: 12px; flex-wrap: wrap; align-items: end; margin-bottom: 28px; padding: 18px; background: var(--stone); border: 1px solid var(--line-soft); border-radius: var(--radius); }
.filters label { display: flex; flex-direction: column; gap: 4px; font-size: 13.5px; color: var(--muted); font-weight: 500; }
.filters select, .filters input { padding: 10px 12px; border: 1px solid var(--line); border-radius: 6px; font: inherit; font-size: 15px; background: #fff; min-width: 150px; color: var(--ink); }
.filters .grow { flex: 1; min-width: 200px; }
.filters .grow input { width: 100%; }
.empty-box { text-align: center; padding: 52px 20px; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); }

/* car page */
.car-detail { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 48px; align-items: start; }
.gallery .main { aspect-ratio: 16 / 10; background: var(--stone); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; display: grid; place-items: center; }
.gallery .main img { width: 100%; height: 100%; object-fit: cover; }
.gallery .thumbs { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.gallery .thumbs img { width: 92px; height: 62px; object-fit: cover; border-radius: 6px; cursor: pointer; border: 2px solid transparent; }
.gallery .thumbs img:hover { border-color: var(--gold); }
.section.car-page { padding-top: 34px; }
.back-link { margin: 0 0 20px; font-size: 15px; }
.back-link a { color: var(--muted); text-decoration: none; }
.back-link a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.gallery .main img.ph { width: 60%; height: auto; object-fit: contain; }
.car-detail h1 { font-family: var(--text); font-weight: 700; margin: 0 0 10px; font-size: clamp(24px, 3vw, 34px); line-height: 1.3; }
.car-info .specs { display: flex; gap: 6px; flex-wrap: wrap; }
.car-price { margin: 18px 0 6px; }
.car-price .price { font-size: 30px; }
.car-price .price.req { font-size: 20px; }
.car-desc { white-space: pre-line; }
.car-actions { margin-top: 20px; }
.spec-table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; }
.spec-table th { text-align: start; color: var(--muted); font-weight: 500; padding: 9px 0; width: 42%; border-bottom: 1px solid var(--line-soft); }
.spec-table td { padding: 9px 0; border-bottom: 1px solid var(--line-soft); color: var(--ink); }

/* order form */
.form-hero { background: var(--stone); border-bottom: 1px solid var(--line); padding: 34px 0; }
.form-hero .co { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.form-hero .form-mark { width: 68px; height: 68px; background: #fff; border-radius: var(--radius); padding: 8px; border: 1px solid var(--line); }
.form-hero h1 { margin: 0; font-size: clamp(25px, 2.8vw, 32px); }
.form-hero .co-name { color: var(--gold-ink); font-size: 15px; font-weight: 600; }
.form-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 24px 32px; align-items: start; padding-top: 34px; padding-bottom: 44px; }
.panel { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.panel-head { padding: 16px 20px; border-bottom: 1px solid var(--line-soft); display: flex; justify-content: space-between; gap: 10px; align-items: center; flex-wrap: wrap; }
.panel-head h2 { margin: 0; font-size: 19px; }
.panel-body { padding: 18px 20px; }
.pick-search { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 6px; font: inherit; }
.pick-list { list-style: none; margin: 0; padding: 0; }
.pick { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 20px; border-top: 1px solid var(--line-soft); }
.pick.on { background: var(--gold-soft); }
.pick .ph { width: 76px; height: 52px; border-radius: 6px; background: var(--stone); overflow: hidden; display: grid; place-items: center; }
.pick .ph img { width: 100%; height: 100%; object-fit: cover; }
.pick .ph img.ph-img { width: 70%; height: auto; object-fit: contain; }
.pick .name { font-weight: 600; color: var(--ink); line-height: 1.5; }
.pick .meta { font-size: 13.5px; color: var(--muted); }
.pick .ctrls { display: flex; flex-direction: column; gap: 6px; align-items: stretch; min-width: 132px; }
.stepper { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: #fff; }
.stepper button { width: 38px; height: 38px; border: 0; background: var(--stone); font-size: 20px; cursor: pointer; color: var(--ink); }
.stepper button:hover { background: #E4E9EE; }
.stepper input { width: 52px; height: 38px; border: 0; text-align: center; font: inherit; font-weight: 700; color: var(--ink); -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pick select { padding: 6px 8px; border: 1px solid var(--line); border-radius: 6px; font: inherit; font-size: 13.5px; background: #fff; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 600; font-size: 14.5px; color: var(--ink); }
.field input, .field textarea, .field select { width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 6px; font: inherit; font-size: 16px; background: #fff; color: var(--ink); }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--ink); outline: 3px solid rgba(168, 130, 58, .28); outline-offset: 0; }
.field .help { font-size: 13px; color: var(--muted); }
.field .err { font-size: 13.5px; color: var(--bad); font-weight: 600; }
.field.bad input, .field.bad textarea { border-color: var(--bad); background: #FFF8F7; }
.alert { padding: 12px 16px; border-radius: var(--radius); margin-bottom: 16px; }
.alert.bad { background: var(--bad-soft); color: #8A1C16; border: 1px solid #F0C2BD; }
.alert.info { background: var(--gold-soft); color: #5A4316; border: 1px solid #EADFC8; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.submit-bar { grid-column: 1 / -1; position: sticky; bottom: 0; z-index: 5; background: rgba(255, 255, 255, .98); border: 1px solid var(--line); box-shadow: 0 -10px 24px -18px rgba(12, 27, 42, .45); padding: 12px 18px; display: flex; gap: 12px; align-items: center; justify-content: space-between; border-radius: var(--radius); }
.submit-bar .count { font-weight: 700; color: var(--ink); }

/* thanks */
.thanks { max-width: 640px; margin: 64px auto 88px; text-align: center; }
.thanks .badge-ok { width: 64px; height: 64px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); display: grid; place-items: center; margin: 0 auto 16px; }
.thanks .badge-ok svg { width: 34px; height: 34px; stroke-width: 2.2; }
.thanks h1 { margin: 0 0 8px; }
.thanks .num { display: inline-block; font-size: 24px; font-weight: 700; letter-spacing: .02em; background: var(--stone); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 18px; margin: 8px 0 14px; direction: ltr; color: var(--ink); }
.thanks ul { text-align: start; display: inline-block; margin: 8px auto 20px; }

/* portal */
.portal-head { background: var(--ink); color: #C9D5E0; padding: 34px 0 38px; }
.portal-head h1 { color: #fff; margin: 0 0 4px; font-size: clamp(25px, 2.8vw, 32px); }
.summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 24px; }
.summary div { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); padding: 14px 18px; }
.summary span { font-size: 13.5px; color: #A7B6C5; display: block; }
.summary strong { font-size: 24px; color: #fff; direction: ltr; unicode-bidi: isolate; display: block; text-align: start; font-weight: 600; }
.summary .due strong { color: #E3C48A; }
.order-card { border: 1px solid var(--line); border-radius: var(--radius); margin-top: 24px; overflow: hidden; background: #fff; }
.order-card .oc-head { display: flex; justify-content: space-between; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line-soft); flex-wrap: wrap; align-items: center; background: #FBFCFD; }
.order-card .oc-head h2 { margin: 0; font-size: 19px; }
.issuer-line { font-size: 13.5px; color: var(--gold-ink); margin-top: 2px; font-weight: 500; }
.order-card .oc-body { padding: 20px 22px; }
.status-pill { display: inline-block; padding: 3px 12px; border-radius: 4px; font-size: 13.5px; font-weight: 600; background: var(--stone); color: var(--ink); border: 1px solid var(--line); }
.status-pill.done { background: var(--ok-soft); color: var(--ok); border-color: #CBE5D4; }
.route { display: grid; grid-template-columns: repeat(var(--n, 6), minmax(0, 1fr)); position: relative; margin: 4px 0 20px; }
.route::before { content: ""; position: absolute; top: 12px; right: 8%; left: 8%; height: 2px; background: var(--line); }
.route .fill { position: absolute; top: 12px; height: 2px; background: var(--ink); inset-inline-start: 8%; }
.route .stop { position: relative; text-align: center; font-size: 13px; color: var(--muted); padding-top: 28px; line-height: 1.4; }
.route .stop::before { content: ""; position: absolute; top: 5px; left: 50%; transform: translateX(-50%); width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 2px solid var(--line); z-index: 1; }
.route .stop.done { color: var(--ink-2); }
.route .stop.done::before { background: var(--ink); border-color: var(--ink); }
.route .stop.now { color: var(--ink); font-weight: 700; }
.route .stop.now::before { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 0 5px rgba(168, 130, 58, .22); }
table.lines { width: 100%; border-collapse: collapse; font-size: 15px; }
table.lines th { text-align: start; font-size: 13px; color: var(--muted); font-weight: 600; padding: 8px 6px; border-bottom: 1px solid var(--line); }
table.lines td { padding: 10px 6px; border-bottom: 1px solid var(--line-soft); vertical-align: top; color: var(--ink); }
table.lines .n { text-align: end; font-variant-numeric: tabular-nums; white-space: nowrap; direction: ltr; unicode-bidi: isolate; }
table.lines tfoot td { font-weight: 700; border-bottom: 0; }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; margin-top: 20px; }
.box { border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 16px 18px; background: #FBFCFD; }
.box h3 { margin: 0 0 8px; font-size: 16px; }
.kv { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 4px 16px; font-size: 14.5px; margin: 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; overflow-wrap: anywhere; color: var(--ink); }
.events { list-style: none; margin: 10px 0 0; padding: 0; }
.events li { position: relative; padding: 0 20px 10px 0; font-size: 14.5px; }
[dir=ltr] .events li { padding: 0 0 10px 20px; }
.events li::before { content: ""; position: absolute; right: 3px; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
[dir=ltr] .events li::before { right: auto; left: 3px; }
.events small { color: var(--muted); display: block; }
.doc-links { display: flex; gap: 8px; flex-wrap: wrap; }
.pending { border: 1px dashed #DCC9A1; background: var(--gold-soft); border-radius: var(--radius); padding: 14px 18px; margin-top: 24px; }

/* about page */
.about-hero { background: var(--stone); border-bottom: 1px solid var(--line); padding: 46px 0; }
.about-hero-in { display: flex; gap: 34px; align-items: center; flex-wrap: wrap; }
.about-hero h1 { margin: 0 0 8px; font-size: clamp(28px, 3.2vw, 38px); }
.about-hero .tagline { display: flex; align-items: center; gap: 12px; margin: 0; color: var(--gold-ink); font-weight: 600; }
.about-hero .tagline::before { content: ""; width: 34px; height: 2px; background: var(--gold); }
.about-logo { height: 120px; width: auto; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); padding: 6px 12px; }
.about-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 48px; align-items: start; }
.about-text { font-size: 18px; line-height: 2; color: var(--ink-2); margin: 0; max-width: 40em; }
.about-text + .about-text { margin-top: 14px; }
.chair { margin: 26px 0 0; padding: 12px 18px; border-inline-start: 3px solid var(--gold); background: var(--stone); border-radius: 0 6px 6px 0; display: inline-block; }
[dir=rtl] .chair { border-radius: 6px 0 0 6px; }
.chair small { display: block; color: var(--muted); font-size: 13px; }
.chair strong { color: var(--ink); font-size: 17px; font-family: var(--display); font-weight: 600; }
.group-box { border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: 0 0 var(--radius) var(--radius); padding: 22px 24px; background: #fff; }
.group-box h2 { margin: 0 0 12px; font-size: 20px; }
.group-list { list-style: none; margin: 0; padding: 0; }
.group-list li { padding: 14px 0; border-top: 1px solid var(--line-soft); display: grid; gap: 2px; }
.group-list li:first-child { border-top: 0; padding-top: 0; }
.group-list strong { color: var(--ink); line-height: 1.6; font-weight: 600; }
.group-list .legal { color: var(--ink-2); font-size: 14px; text-align: start; }
.group-list .country { color: var(--muted); font-size: 14px; display: flex; gap: 6px; align-items: center; }
.small-note { font-size: 13.5px; margin: 12px 0 0; }

/* supply solutions */
.ws-head { max-width: 46em; margin-bottom: 28px; }
.ws-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.ws-item { padding: 26px 26px 24px; border-inline-start: 1px solid var(--line-soft); }
.ws-item:first-child { border-inline-start: 0; }
.ws-item svg.i { width: 28px; height: 28px; color: var(--gold); }
.ws-item h3 { margin: 12px 0 6px; font-size: 19px; }
.ws-item p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.85; }
.ws-foot { display: flex; margin-top: 22px; }

/* market expertise band: the market study's finding about trust, and the chart of the 15 interviews */
.evidence { background: var(--deep); color: #C9D3DD; padding: 80px 0; }
.ev-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.evidence h2 { color: #fff; font-size: clamp(24px, 2.6vw, 33px); margin: 0 0 14px; }
.ev-copy p { margin: 0 0 12px; font-size: 16.5px; line-height: 1.95; max-width: 34em; }
.ev-copy .ev-then { color: #fff; font-weight: 600; }
.ev-link { display: inline-block; margin-top: 6px; color: #E2C27E; font-weight: 600; text-decoration: underline; text-underline-offset: 5px; }
.ev-link:hover { color: #F0D59B; }
.ev-chart { margin: 0; padding: 26px 26px 18px; border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius); }
.ev-rows { display: grid; gap: 4px; }
.ev-row { display: grid; grid-template-columns: minmax(0, 12em) auto minmax(2ch, 1fr); align-items: center; gap: 16px; padding: 7px 0; }
.ev-name { font-size: 14.5px; line-height: 1.5; color: #C9D3DD; }
.ev-dots { display: flex; gap: 7px; }
.ev-dots .d { width: 20px; height: 20px; border-radius: 50%; background: #F3F5F7; flex: none; }
.ev-row.is-muted .ev-dots .d { background: transparent; box-shadow: inset 0 0 0 2px #7D91A5; }
.ev-n { font-family: var(--text); font-size: 19px; line-height: 1.3; color: #E2C27E; }
.ev-row.is-muted .ev-name, .ev-row.is-muted .ev-n { color: #93A5B6; }
.ev-chart figcaption { margin-top: 18px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 13.5px; color: #93A5B6; }

/* market insights page */
.ins-hero { background: var(--stone); border-bottom: 1px solid var(--line); padding: 54px 0 46px; }
.ins-hero h1 { font-size: clamp(28px, 3.4vw, 42px); margin: 0 0 12px; max-width: 22em; text-wrap: balance; }
.ins-hero .lead { max-width: 46em; margin: 0; font-size: 17.5px; color: var(--ink-2); }
.finding { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 44px; padding: 36px 0; border-top: 1px solid var(--line); }
.finding:first-child { border-top: 0; padding-top: 0; }
.f-fig strong { display: block; font-family: var(--display); font-size: 34px; line-height: 1.35; color: var(--gold-ink); font-weight: 700; }
html[lang=en] .f-fig strong { font-family: var(--text); letter-spacing: -.01em; }
.f-fig span { display: block; color: var(--muted); font-size: 14px; line-height: 1.75; margin-top: 6px; max-width: 17em; }
.f-text h2 { font-size: clamp(20px, 2vw, 24px); margin: 0 0 8px; }
.f-text p { margin: 0 0 14px; max-width: 46em; }
.f-text .f-means { margin: 0; padding: 11px 16px; border-inline-start: 3px solid var(--gold); background: var(--gold-soft); color: var(--ink);
  border-start-end-radius: 6px; border-end-end-radius: 6px; }
.f-means strong { color: var(--gold-ink); font-weight: 700; margin-inline-end: 4px; }
.ins-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.ins-two h2 { font-size: 22px; margin: 0 0 16px; }
.mf-list { margin: 0; display: grid; gap: 14px; }
.mf-list div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.mf-list dt { color: var(--ink); font-weight: 600; line-height: 1.7; }
.mf-list dd { margin: 4px 0 0; color: var(--muted); font-size: 15px; line-height: 1.8; }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); }
.check-list svg.i { color: var(--gold); margin-top: 5px; }
.ins-cta { display: flex; justify-content: space-between; align-items: center; gap: 20px 32px; flex-wrap: wrap; padding: 28px 30px;
  border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: 0 0 var(--radius) var(--radius); }
.ins-cta h2 { font-size: 22px; margin: 0 0 6px; }
.ins-cta p { margin: 0; color: var(--muted); max-width: 38em; }
.ins-source { margin: 22px 0 0; color: var(--muted); font-size: 13.5px; line-height: 1.85; max-width: 62em; }

@media (max-width: 1080px) {
  .site-head nav { display: none; }
  .mnav { display: block; }
  .site-head .bar { gap: 14px; }
  .cta-head { display: none; }
}
@media (max-width: 960px) {
  .hero-grid, .car-detail, .contact, .form-grid, .about-grid { grid-template-columns: minmax(0, 1fr); }
  .hero { padding: 48px 0 56px; }
  .hero-grid { gap: 40px; }
  .facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact { border-inline-start: 0; border-top: 1px solid var(--line-soft); padding-inline: 0 18px; }
  .fact:nth-child(-n+2) { border-top: 0; }
  .cars-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pay-list { grid-template-columns: minmax(0, 1fr); }
  .pay-list div { border-inline-start: 0; border-top: 1px solid var(--line-soft); }
  .pay-list div:first-child { border-top: 0; }
  .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot-brand { grid-column: 1 / -1; }
  .ws-grid { grid-template-columns: minmax(0, 1fr); }
  .ws-item { border-inline-start: 0; border-top: 1px solid var(--line-soft); }
  .ws-item:first-child { border-top: 0; }
  .ev-grid, .ins-two { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .evidence { padding: 60px 0; }
  .finding { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 28px 0; }
  .f-fig { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
  .f-fig strong { font-size: 28px; }
  .f-fig span { margin-top: 0; max-width: none; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  body { font-size: 16px; }
  .topbar .tb-mail, .topbar .tb-phone { display: none; }
  .site-head .bar { min-height: 66px; }
  .wordmark img { height: 26px; }
  .wordmark .wm-ar { font-size: 14px; padding-inline-start: 10px; }
  .hero .lead { font-size: 17px; }
  .hero .actions .btn { flex: 1 1 auto; }
  .process { padding: 20px 18px 6px; }
  .facts-grid { grid-template-columns: minmax(0, 1fr); }
  .fact, .fact:nth-child(-n+2) { border-top: 1px solid var(--line-soft); padding: 20px 0; }
  .fact:first-child { border-top: 0; }
  .cars-grid { grid-template-columns: minmax(0, 1fr); }
  .ws-item { padding: 22px 18px; }
  .ws-foot .btn { width: 100%; }
  .ev-chart { padding: 18px 16px 14px; }
  .ev-row { grid-template-columns: minmax(0, 8.5em) auto minmax(2ch, 1fr); gap: 12px; }
  .ev-dots { gap: 5px; }
  .ev-dots .d { width: 16px; height: 16px; }
  .ins-cta { padding: 22px 18px; }
  .ins-cta .actions .btn { flex: 1 1 auto; }
  .summary { grid-template-columns: minmax(0, 1fr); }
  .two { grid-template-columns: minmax(0, 1fr); }
  .pick { grid-template-columns: 60px minmax(0, 1fr); padding: 12px 14px; }
  .pick .ph { width: 60px; height: 44px; }
  .pick .ctrls { grid-column: 1 / -1; flex-direction: row; min-width: 0; }
  .pick .ctrls select { flex: 1; }
  .route .stop { font-size: 11px; }
  .section { padding: 52px 0; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .about-logo { height: 96px; }
  .order-card .oc-body { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
