/* ==========================================================================
   KriHani — public website design system
   Fleet-board visual language: navy / gold / teal from the brand mark,
   concrete-grey boards, license-plate chips, status tags and timelines.
   ========================================================================== */

/* ---------- Fonts (self-hosted) ---------- */
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 200 800; font-display: swap; src: url('/assets/fonts/bricolage-200-800.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 200 800; font-display: swap; src: url('/assets/fonts/manrope-200-800.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/barlowc-500.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/barlowc-600.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/plexarabic-400.woff2') format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/plexarabic-500.woff2') format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/plexarabic-600.woff2') format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: 'IBM Plex Sans Arabic'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/plexarabic-700.woff2') format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/barlowc-700.woff2') format('woff2'); }

/* ---------- Tokens ---------- */
:root {
  --navy-900: #041F35;
  --navy-800: #063559;
  --navy-700: #0A4A78;
  --navy-600: #145C8F;
  --navy-200: #C5D4E2;
  --navy-100: #E3EBF2;
  --navy-50: #F0F4F8;
  --gold-600: #96703C;
  --gold-500: #B8905A;
  --gold-400: #C9A062;
  --gold-200: #EAD9B8;
  --gold-100: #F4ECDD;
  --teal-700: #0B5B56;
  --teal-600: #0F6E68;
  --teal-500: #178A80;
  --teal-100: #D9EEEA;
  --amber-600: #B4600E;
  --amber-100: #F8E8D2;
  --red-600: #B42318;
  --red-100: #F9DEDC;
  --ink: #0E1B28;
  --ink-2: #3B4856;
  --ink-3: #66727F;
  --ink-4: #98A2AD;
  --line: #D8DDE2;
  --line-2: #E9ECEF;
  --bg: #F2F3F1;
  --bg-2: #E9EBE8;
  --surface: #FFFFFF;

  --font-display: 'Bricolage Grotesque', 'IBM Plex Sans Arabic', 'Manrope', system-ui, sans-serif;
  --font-body: 'Manrope', 'IBM Plex Sans Arabic', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-plate: 'Barlow Condensed', 'Arial Narrow', sans-serif;

  --r-xs: 4px;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-pill: 999px;

  --shadow-1: 0 1px 2px rgba(6, 53, 89, .05), 0 2px 10px rgba(6, 53, 89, .06);
  --shadow-2: 0 2px 4px rgba(6, 53, 89, .06), 0 12px 32px rgba(6, 53, 89, .10);
  --shadow-3: 0 4px 10px rgba(4, 31, 53, .14), 0 30px 60px -20px rgba(4, 31, 53, .35);

  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
  --dur-fast: 160ms;
  --dur: 220ms;

  --container: 1200px;
  --gutter: 20px;
  --section: clamp(4.5rem, 4rem + 4vw, 8rem);
  --header-h: 72px;
}
@media (min-width: 768px) { :root { --gutter: 32px; } }

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
@media (min-width: 1024px) { body { font-size: 1.0625rem; } }
img, svg, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 .5em; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 1.5rem + 4.2vw, 4.9rem); font-weight: 650; letter-spacing: -0.03em; line-height: 1.0; }
h2 { font-size: clamp(1.85rem, 1.25rem + 2.3vw, 3.1rem); }
h3 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.55rem); letter-spacing: -0.015em; }
h4 { font-size: 1.0625rem; letter-spacing: -0.005em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: var(--navy-700); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; transition: color var(--dur-fast) ease; }
a:hover { color: var(--navy-800); }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
strong { font-weight: 700; }
small { font-size: .875em; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold-400); outline-offset: 3px; border-radius: 4px; }
.section--dark :focus-visible { outline-color: var(--gold-400); }
::selection { background: var(--gold-200); color: var(--navy-900); }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--navy-800); color: #fff; padding: 10px 14px; border-radius: var(--r-sm); text-decoration: none; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.lede { font-size: clamp(1.0625rem, 1rem + .4vw, 1.25rem); color: var(--ink-2); line-height: 1.55; max-width: 60ch; text-wrap: pretty; }
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: calc(var(--section) * .6); }
.section--white { background: var(--surface); }
.section--dark { background: var(--navy-800); color: #D6E1EB; }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark .lede { color: #B9C9D8; }
.section--dark a { color: #fff; }
.section--deep { background: var(--navy-900); }
.sec-head { max-width: 760px; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head--center .lede { margin-inline: auto; }
.sec-head h2 { margin-bottom: .45em; }

/* Section numbering used only where content is a sequence (product story chapters) */
.chapter { font-family: var(--font-plate); font-weight: 600; font-size: 1.05rem; letter-spacing: .06em; color: var(--gold-600); display: block; margin-bottom: 12px; }
.section--dark .chapter { color: var(--gold-400); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--navy-800); --btn-fg: #fff; --btn-bd: var(--navy-800);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 20px; border-radius: var(--r-sm);
  background: var(--btn-bg); color: var(--btn-fg); border: 1.5px solid var(--btn-bd);
  font-weight: 700; font-size: .95rem; letter-spacing: -0.005em; line-height: 1; text-decoration: none; white-space: nowrap;
  cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent;
  transition: transform var(--dur-fast) var(--ease-out), background-color var(--dur-fast) ease, border-color var(--dur-fast) ease, color var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
}
.btn:hover { color: var(--btn-fg); }
.btn:active { transform: scale(.97); }
.btn--primary:hover { --btn-bg: var(--navy-700); --btn-bd: var(--navy-700); box-shadow: 0 6px 18px -6px rgba(6, 53, 89, .5); }
.btn--gold { --btn-bg: var(--gold-400); --btn-fg: var(--navy-900); --btn-bd: var(--gold-400); }
.btn--gold:hover { --btn-bg: #D6B078; --btn-bd: #D6B078; box-shadow: 0 6px 18px -6px rgba(201, 160, 98, .6); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--navy-800); --btn-bd: transparent; }
.btn--ghost:hover { --btn-bg: var(--navy-50); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--navy-800); --btn-bd: var(--navy-200); }
.btn--outline:hover { --btn-bd: var(--navy-800); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--navy-800); --btn-bd: #fff; }
.btn--light:hover { --btn-bg: var(--navy-50); --btn-bd: var(--navy-50); }
.btn--outline-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .35); }
.btn--outline-light:hover { --btn-bd: #fff; --btn-bg: rgba(255, 255, 255, .06); }
.btn--lg { min-height: 54px; padding: 0 26px; font-size: 1.02rem; border-radius: 10px; }
.btn--sm { min-height: 38px; padding: 0 14px; font-size: .875rem; }
.btn--block { width: 100%; }
.btn .ico { width: 18px; height: 18px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn-note { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; color: var(--ink-3); font-size: .9rem; margin-top: 14px; }
.btn-note span { display: inline-flex; align-items: center; gap: 7px; }
.btn-note svg { width: 16px; height: 16px; color: var(--teal-600); }
.section--dark .btn-note { color: #AFC1D1; }
.section--dark .btn-note svg { color: var(--gold-400); }

/* ---------- License-plate chip ---------- */
.plate {
  display: inline-flex; align-items: stretch; vertical-align: middle;
  font-family: var(--font-plate); font-weight: 700; font-size: .95em; letter-spacing: .04em; line-height: 1;
  border: 1.5px solid var(--ink); border-radius: 5px; background: #fff; color: var(--ink); overflow: hidden; white-space: nowrap;
}
.plate > span { padding: 4px 7px; display: inline-flex; align-items: center; }
.plate > span + span { border-left: 1.5px solid var(--ink); }
.plate > .plate__ar { font-family: 'Segoe UI', Tahoma, sans-serif; font-weight: 600; padding-inline: 6px; font-size: .95em; }
.plate--gold { border-color: var(--gold-500); color: var(--gold-600); background: var(--gold-100); }
.plate--gold > span + span { border-color: var(--gold-500); }
.plate--navy { border-color: var(--navy-800); background: var(--navy-800); color: #fff; }
.plate--navy > span + span { border-color: rgba(255, 255, 255, .35); }
.plate--muted { border-color: var(--line); color: var(--ink-2); }
.plate--muted > span + span { border-color: var(--line); }

/* ---------- Status tags ---------- */
.status { display: inline-flex; align-items: center; gap: 7px; font-size: .8125rem; font-weight: 700; letter-spacing: .01em; padding: 4px 10px 4px 8px; border-radius: var(--r-pill); line-height: 1.2; white-space: nowrap; }
.status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.status--dispo { color: var(--teal-700); background: var(--teal-100); }
.status--loue { color: var(--navy-700); background: var(--navy-100); }
.status--reserve { color: var(--gold-600); background: var(--gold-100); }
.status--maint { color: var(--amber-600); background: var(--amber-100); }
.status--incident { color: var(--red-600); background: var(--red-100); }
.status--indispo { color: var(--ink-3); background: var(--line-2); }
.section--dark .status--dispo { background: rgba(23, 138, 128, .22); color: #8FE0D4; }
.section--dark .status--loue { background: rgba(255, 255, 255, .12); color: #DCE8F2; }
.section--dark .status--reserve { background: rgba(201, 160, 98, .22); color: #EBCB98; }
.section--dark .status--maint { background: rgba(180, 96, 14, .28); color: #F2C08F; }
.section--dark .status--incident { background: rgba(180, 35, 24, .3); color: #F5A6A0; }
.section--dark .status--indispo { background: rgba(255, 255, 255, .08); color: #9FB0C0; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: rgba(242, 243, 241, .82); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid transparent; transition: border-color var(--dur) ease, background-color var(--dur) ease; }
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(242, 243, 241, .92); }
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.brand__img { width: 158px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.site-nav__list a { display: inline-flex; align-items: center; height: 40px; padding: 0 12px; border-radius: var(--r-sm); color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .95rem; transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease; }
.site-nav__list a:hover { background: rgba(6, 53, 89, .06); color: var(--navy-800); }
.site-nav__list a[aria-current="page"] { color: var(--navy-800); box-shadow: inset 0 -2px 0 var(--gold-500); border-radius: var(--r-sm) var(--r-sm) 2px 2px; }
.site-nav__actions { display: flex; gap: 8px; }
.nav-toggle { display: none; width: 48px; height: 48px; margin-right: -8px; border: 0; background: transparent; border-radius: var(--r-sm); flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer; }
.nav-toggle__bar { width: 22px; height: 2px; background: var(--navy-800); border-radius: 2px; transition: transform var(--dur) var(--ease-out), opacity var(--dur-fast) ease; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; transform: scaleX(.4); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 1023px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { position: fixed; inset: var(--header-h) 0 auto 0; max-height: calc(100dvh - var(--header-h)); overflow: auto; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 24px; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-2); transform: translateY(-8px); opacity: 0; visibility: hidden; pointer-events: none; transition: transform var(--dur) var(--ease-out), opacity var(--dur) ease, visibility 0s linear var(--dur); }
  .site-nav.is-open { transform: none; opacity: 1; visibility: visible; pointer-events: auto; transition-delay: 0s; }
  .site-nav__list { flex-direction: column; gap: 0; padding-block: 8px; }
  .site-nav__list a { height: 52px; font-size: 1.05rem; padding-inline: 8px; border-radius: var(--r-sm); }
  .site-nav__list a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--gold-500); border-radius: 2px var(--r-sm) var(--r-sm) 2px; }
  .site-nav__actions { flex-direction: column-reverse; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line-2); }
  .site-nav__actions .btn { min-height: 50px; }
  .site-nav__actions .btn--ghost { --btn-bd: var(--navy-200); }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 420px) { .brand__img { width: 136px; } }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(2.5rem, 2rem + 3vw, 5.5rem) 0; overflow: hidden; }
.hero__grid { display: grid; gap: 40px; align-items: center; }
.hero__copy { max-width: 620px; }
.hero__kicker { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 22px; font-weight: 600; color: var(--ink-2); font-size: .95rem; }
.hero__kicker .plate, .hero__trial .plate { flex: none; }
.hero h1 { margin-bottom: 22px; }
.hero h1 .line { display: block; }
.hero h1 .accent { color: var(--navy-800); }
.hero .lede { margin-bottom: 30px; }
.hero__trial { margin-top: 22px; display: inline-flex; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; font-size: .9rem; color: var(--ink-2); box-shadow: var(--shadow-1); }
.hero__trial strong { color: var(--navy-800); }
@media (min-width: 1024px) {
  .hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 32px; }
}

/* Fleet board: the hero's operational composition */
.board-stage { position: relative; min-height: 520px; }
.board { position: relative; background: var(--navy-800); color: #fff; border-radius: var(--r-lg); padding: 22px 22px 150px; box-shadow: var(--shadow-3); overflow: hidden; }
.board::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 28px 28px; mask-image: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .9)); -webkit-mask-image: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .9)); pointer-events: none; }
.board::after { content: ''; position: absolute; left: 22px; right: 22px; bottom: 56px; height: 2px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .28) 0 18px, transparent 18px 32px); }
.board > * { position: relative; }
.board__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.board__title { font-family: var(--font-plate); font-weight: 600; letter-spacing: .08em; font-size: .95rem; color: #9FB3C4; }
.board__live { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; color: #B9C9D8; white-space: nowrap; }
.board__live i { width: 8px; height: 8px; border-radius: 50%; background: #3FD1B6; box-shadow: 0 0 0 0 rgba(63, 209, 182, .6); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(63, 209, 182, .55); } 70% { box-shadow: 0 0 0 9px rgba(63, 209, 182, 0); } 100% { box-shadow: 0 0 0 0 rgba(63, 209, 182, 0); } }
.board__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.kpi { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); border-radius: 12px; padding: 12px 14px; }
.kpi__label { font-size: .75rem; color: #9FB3C4; font-weight: 600; margin-bottom: 4px; }
.kpi__value { font-family: var(--font-plate); font-weight: 700; font-size: 1.6rem; letter-spacing: .01em; line-height: 1; color: #fff; }
.kpi__value small { font-size: .8rem; font-weight: 600; color: #B9C9D8; margin-left: 3px; }
.kpi--gold .kpi__value { color: var(--gold-400); }
.board__rows { display: grid; gap: 8px; }
.vrow { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .07); border-radius: 12px; padding: 8px 12px 8px 8px; }
.vrow__img { width: 64px; height: 42px; display: flex; align-items: center; }
.vrow__img img { width: 100%; height: auto; }
.vrow__name { font-weight: 700; font-size: .9rem; color: #fff; line-height: 1.2; }
.vrow__meta { font-size: .78rem; color: #9FB3C4; margin-top: 3px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.vrow .plate { font-size: .72rem; border-color: rgba(255, 255, 255, .5); background: transparent; color: #fff; }
.vrow .plate > span + span { border-color: rgba(255, 255, 255, .5); }
.board__timeline { margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .1); }
.board__timeline-head { display: flex; justify-content: space-between; font-size: .75rem; color: #9FB3C4; font-weight: 600; margin-bottom: 8px; }
.mini-tl { position: relative; height: 34px; border-radius: 8px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .07) 0 1px, transparent 1px calc(100% / 7)); }
.mini-tl span { position: absolute; top: 6px; height: 22px; border-radius: 6px; font-size: .72rem; font-weight: 700; display: flex; align-items: center; padding: 0 8px; white-space: nowrap; overflow: hidden; color: var(--navy-900); }
.mini-tl .tl-a { left: 2%; width: 27%; background: #8FE0D4; }
.mini-tl .tl-b { left: 31%; width: 40%; background: var(--gold-400); }
.mini-tl .tl-c { left: 73%; width: 25%; background: #DCE8F2; }
.hero-car { position: absolute; z-index: 3; pointer-events: none; filter: drop-shadow(0 30px 24px rgba(4, 31, 53, .35)); }
.hero-car--main { right: -4%; bottom: -4%; width: 62%; }
.hero-car--back { left: -6%; bottom: 9%; width: 32%; filter: drop-shadow(0 18px 16px rgba(4, 31, 53, .3)); }
.hero-tag { position: absolute; z-index: 4; display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--ink); border-radius: 10px; padding: 8px 12px; font-size: .8rem; font-weight: 700; box-shadow: var(--shadow-2); }
.hero-tag small { font-weight: 600; color: var(--ink-3); }
.hero-tag--a { display: none; }
.hero-tag--b { left: 2%; bottom: -4%; }
@media (max-width: 1023px) {
  .board-stage { margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); min-height: 0; padding-bottom: 72px; }
  .hero-car--main { width: 56%; right: 0; bottom: -2%; }
  .hero-car--back { display: none; }
  .hero-tag--b { left: var(--gutter); bottom: 20px; }
}
@media (max-width: 560px) {
  .board { padding: 16px 14px 120px; border-radius: 18px; }
  .board__kpis { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .kpi { padding: 10px 10px; }
  .kpi__value { font-size: 1.3rem; }
  .vrow { grid-template-columns: 54px 1fr auto; gap: 8px; }
  .vrow__img { width: 54px; height: 36px; }
  .hero-car--main { width: 60%; right: 0; bottom: 0; }
  .board-stage { padding-bottom: 60px; }
}
@media (min-width: 1024px) {
  .board-stage { margin-right: -40px; }
  .board { width: 88%; }
}

/* Hero load sequence */
.hero [data-seq] { opacity: 0; transform: translateY(14px); animation: rise 700ms var(--ease-out) forwards; }
.hero .hero-car[data-seq] { transform: translateX(40px); animation-name: drive; animation-duration: 900ms; }
.hero [data-seq="1"] { animation-delay: 60ms; } .hero [data-seq="2"] { animation-delay: 140ms; } .hero [data-seq="3"] { animation-delay: 220ms; }
.hero [data-seq="4"] { animation-delay: 300ms; } .hero [data-seq="5"] { animation-delay: 420ms; } .hero [data-seq="6"] { animation-delay: 620ms; } .hero [data-seq="7"] { animation-delay: 760ms; }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes drive { to { opacity: 1; transform: none; } }

/* ---------- Module ticker (plates strip) ---------- */
.ticker { border-block: 1px solid var(--line); background: var(--surface); padding-block: 16px; overflow: hidden; margin-top: clamp(2.5rem, 2rem + 3vw, 5rem); }
.ticker__track { display: flex; gap: 14px; width: max-content; animation: ticker 48s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker .plate { font-size: .95rem; }
.ticker .plate > span:first-child { color: var(--ink-3); font-weight: 600; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } .ticker__track > *:nth-child(n+15) { display: none; } }

/* ---------- Chapter layouts (product story) ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; } .split--rev { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } .split--rev > :first-child { order: 2; } }
.split__copy h2 { margin-bottom: .5em; }
.split__copy .lede { margin-bottom: 22px; }
.checklist { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.checklist svg { width: 20px; height: 20px; flex: none; color: var(--teal-600); margin-top: 3px; }
.section--dark .checklist li { color: #C9D6E2; }
.section--dark .checklist svg { color: var(--gold-400); }
.link-arrow { font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.link-arrow svg { width: 18px; height: 18px; transition: transform var(--dur-fast) var(--ease-out); }
.link-arrow:hover svg { transform: translateX(3px); }

/* Fleet grid */
.fleet-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 640px) { .fleet-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.vtile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 12px; display: flex; flex-direction: column; gap: 8px; transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) ease, border-color var(--dur) ease; }
@media (hover: hover) and (pointer: fine) { .vtile:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--navy-200); } }
.vtile__img { aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center; padding: 4px 6px 0; }
.vtile__img img { width: 92%; height: auto; }
.vtile__name { font-weight: 700; font-size: .92rem; line-height: 1.25; }
.vtile__meta { display: flex; justify-content: space-between; align-items: center; gap: 6px 8px; flex-wrap: wrap; }
.vtile .plate { font-size: .72rem; }
.vtile--maint, .vtile--incident { background: repeating-linear-gradient(135deg, var(--surface) 0 12px, #FBF8F2 12px 14px); }
.fleet-legend { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

/* Reservations timeline */
.tl { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-1); overflow: hidden; }
.tl__head { display: grid; grid-template-columns: 180px 1fr; border-bottom: 1px solid var(--line); background: var(--navy-50); }
.tl__corner { padding: 12px 16px; font-weight: 700; font-size: .85rem; color: var(--ink-2); display: flex; align-items: center; gap: 8px; }
.tl__days { display: grid; grid-template-columns: repeat(14, 1fr); }
.tl__days span { padding: 10px 0; text-align: center; font-family: var(--font-plate); font-weight: 600; font-size: .95rem; color: var(--ink-3); border-left: 1px solid var(--line-2); letter-spacing: .03em; }
.tl__days span b { display: block; font-size: .65rem; color: var(--ink-4); font-weight: 600; letter-spacing: .08em; }
.tl__days span.is-today { color: var(--navy-800); background: var(--gold-100); }
.tl__row { display: grid; grid-template-columns: 180px 1fr; border-bottom: 1px solid var(--line-2); min-height: 58px; }
.tl__row:last-child { border-bottom: 0; }
.tl__veh { padding: 8px 12px; display: flex; align-items: center; gap: 10px; border-right: 1px solid var(--line-2); }
.tl__veh img { width: 52px; height: auto; flex: none; }
.tl__veh b { font-size: .82rem; display: block; line-height: 1.2; }
.tl__veh .plate { font-size: .62rem; margin-top: 3px; }
.tl__lane { position: relative; display: grid; grid-template-columns: repeat(14, 1fr); }
.tl__lane > i { border-left: 1px solid var(--line-2); }
.tl__lane > i.is-today { background: rgba(201, 160, 98, .12); }
.tl__bar { position: absolute; top: 11px; height: 36px; border-radius: 8px; display: flex; align-items: center; gap: 8px; padding: 0 10px; font-size: .78rem; font-weight: 700; white-space: nowrap; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06); }
.tl__bar small { font-weight: 600; opacity: .8; }
.tl__bar--loue { background: var(--navy-800); color: #fff; }
.tl__bar--reserve { background: var(--gold-200); color: var(--gold-600); }
.tl__bar--maint { background: var(--amber-100); color: var(--amber-600); background-image: repeating-linear-gradient(135deg, transparent 0 8px, rgba(180, 96, 14, .12) 8px 10px); }
.tl__bar--retour { background: var(--teal-100); color: var(--teal-700); }
.tl__foot { display: flex; flex-wrap: wrap; gap: 10px 18px; padding: 12px 16px; border-top: 1px solid var(--line); background: var(--navy-50); font-size: .82rem; color: var(--ink-2); }
.tl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.tl-wrap .tl { min-width: 760px; }
@media (max-width: 899px) { .tl-wrap { margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); padding-bottom: 6px; } }
.scroll-hint { display: none; font-size: .8rem; color: var(--ink-3); margin-top: 8px; }
@media (max-width: 899px) { .scroll-hint { display: flex; align-items: center; gap: 6px; } }

/* Client → contrat flow (a real sequence) */
.flow { display: grid; gap: 14px; counter-reset: step; list-style: none; margin: 0; padding: 0; }
@media (min-width: 900px) { .flow { grid-template-columns: repeat(4, 1fr); gap: 0; } }
.flow__step { position: relative; background: var(--surface); border: 1px solid var(--line); padding: 22px 20px 20px; counter-increment: step; }
.flow__step::before { content: counter(step, decimal-leading-zero); font-family: var(--font-plate); font-weight: 700; font-size: 2rem; line-height: 1; color: var(--gold-500); display: block; margin-bottom: 14px; }
@media (min-width: 900px) {
  .flow__step { border-right-width: 0; }
  .flow__step:first-child { border-radius: var(--r-lg) 0 0 var(--r-lg); }
  .flow__step:last-child { border-right-width: 1px; border-radius: 0 var(--r-lg) var(--r-lg) 0; }
}
@media (max-width: 899px) { .flow__step { border-radius: var(--r-md); } }
.flow__step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.flow__step p { color: var(--ink-2); font-size: .95rem; margin-bottom: 14px; }
.doc { background: var(--navy-50); border: 1px solid var(--navy-100); border-radius: 10px; padding: 10px 12px; font-size: .8rem; display: grid; gap: 6px; }
.doc__row { display: flex; justify-content: space-between; gap: 10px; }
.doc__row span:first-child { color: var(--ink-3); }
.doc__row b { font-weight: 700; }
.doc__ok { color: var(--teal-700); display: inline-flex; align-items: center; gap: 5px; }
.doc__ok svg { width: 14px; height: 14px; }

/* Finance ledger (dark) */
.ledger { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
@media (min-width: 900px) { .ledger { grid-template-columns: 1.4fr 1fr; } }
.ledger__panel { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--r-lg); padding: 20px; }
.ledger__panel h3 { font-size: 1rem; color: #B9C9D8; font-family: var(--font-body); font-weight: 700; letter-spacing: 0; margin-bottom: 14px; display: flex; justify-content: space-between; align-items: center; }
.ledger__panel h3 .plate { font-size: .72rem; }
.inv { display: grid; grid-template-columns: auto 1fr auto auto; gap: 12px; align-items: center; padding: 11px 0; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .88rem; }
.inv:first-of-type { border-top: 0; }
.inv__num { font-family: var(--font-plate); font-weight: 600; letter-spacing: .05em; color: #9FB3C4; }
.inv__who b { display: block; color: #fff; }
.inv__who span { color: #9FB3C4; font-size: .78rem; }
.inv__amt { font-family: var(--font-plate); font-weight: 700; font-size: 1.1rem; color: #fff; letter-spacing: .02em; }
.inv .status { font-size: .72rem; }
.fin-stats { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.fin-stat { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: 14px; padding: 14px; }
.fin-stat__label { font-size: .78rem; color: #9FB3C4; font-weight: 600; }
.fin-stat__value { font-family: var(--font-plate); font-weight: 700; font-size: 1.7rem; color: #fff; line-height: 1.1; margin-top: 4px; letter-spacing: .01em; }
.fin-stat__value small { font-size: .85rem; color: #9FB3C4; margin-left: 3px; font-weight: 600; }
.fin-stat--warn .fin-stat__value { color: #F2C08F; }
.fin-stat--good .fin-stat__value { color: #8FE0D4; }
.fin-stat--gold .fin-stat__value { color: var(--gold-400); }
.bar-row { margin-top: 12px; }
.bar-row__label { display: flex; justify-content: space-between; font-size: .78rem; color: #9FB3C4; margin-bottom: 6px; }
.bar { height: 8px; background: rgba(255, 255, 255, .1); border-radius: 4px; overflow: hidden; }
.bar > i { display: block; height: 100%; border-radius: 4px; background: var(--gold-400); transform-origin: left; transform: scaleX(0); transition: transform 900ms var(--ease-out) 150ms; }
.is-in .bar > i { transform: scaleX(1); }

/* Vehicle profitability sheet */
.fiche { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-2); overflow: hidden; display: grid; }
@media (min-width: 760px) { .fiche { grid-template-columns: 1.1fr 1fr; } }
.fiche__visual { background: linear-gradient(180deg, var(--navy-50), var(--bg)); padding: 24px 24px 0; display: flex; flex-direction: column; justify-content: space-between; min-height: 300px; position: relative; }
.fiche__visual::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line); }
.fiche__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.fiche__head .plate { flex: none; }
.fiche__head b { display: block; font-size: 1.05rem; }
.fiche__head span { color: var(--ink-3); font-size: .85rem; }
.fiche__car { width: 86%; margin: 12px auto -6px; filter: drop-shadow(0 18px 14px rgba(4, 31, 53, .22)); }
.fiche__data { padding: 22px 24px; display: grid; gap: 14px; align-content: start; }
.odo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.odo__item { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.odo__label { font-size: .75rem; color: var(--ink-3); font-weight: 700; }
.odo__value { font-family: var(--font-plate); font-weight: 700; font-size: 1.6rem; color: var(--ink); line-height: 1.1; letter-spacing: .01em; }
.odo__value small { font-size: .8rem; color: var(--ink-3); font-weight: 600; margin-left: 2px; }
.odo__item--hero { grid-column: 1 / -1; background: var(--navy-800); border-color: var(--navy-800); color: #fff; display: flex; justify-content: space-between; align-items: center; }
.odo__item--hero .odo__label { color: #9FB3C4; }
.odo__item--hero .odo__value { color: var(--gold-400); font-size: 2rem; }
.util { display: flex; align-items: center; gap: 12px; font-size: .85rem; color: var(--ink-2); }
.util .bar { flex: 1; background: var(--line-2); }
.util .bar > i { background: var(--teal-600); }
.util b { font-family: var(--font-plate); font-size: 1.1rem; color: var(--ink); }

/* Team roles */
.roles { display: grid; gap: 12px; }
@media (min-width: 640px) { .roles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.role { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px; }
.role__head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.role__avatar { width: 40px; height: 40px; border-radius: 10px; background: var(--navy-100); color: var(--navy-800); font-family: var(--font-plate); font-weight: 700; font-size: 1.05rem; display: grid; place-items: center; letter-spacing: .04em; }
.role__head b { display: block; }
.role__head span { font-size: .8rem; color: var(--ink-3); }
.perm { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: .85rem; }
.perm li { display: flex; justify-content: space-between; align-items: center; gap: 10px; color: var(--ink-2); }
.sw { width: 32px; height: 18px; border-radius: 10px; background: var(--line); position: relative; flex: none; }
.sw::after { content: ''; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); transition: transform var(--dur) var(--ease-out); }
.sw.on { background: var(--teal-600); }
.sw.on::after { transform: translateX(14px); }

/* ---------- Pricing ---------- */
.billing { display: inline-grid; grid-template-columns: 1fr 1fr; position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 4px; margin-bottom: 10px; isolation: isolate; }
.billing__thumb { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); background: var(--navy-800); border-radius: var(--r-pill); z-index: -1; transition: transform var(--dur) var(--ease-out); }
.billing[data-billing="annual"] .billing__thumb { transform: translateX(100%); }
.billing button { border: 0; background: transparent; min-height: 42px; padding: 0 20px; border-radius: var(--r-pill); font-weight: 700; color: var(--ink-2); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: color var(--dur) ease; white-space: nowrap; }
.billing button[aria-pressed="true"] { color: #fff; }
.billing .save { font-size: .7rem; font-weight: 700; padding: 3px 7px; border-radius: var(--r-pill); background: var(--gold-100); color: var(--gold-600); }
.billing button[aria-pressed="true"] .save { background: var(--gold-400); color: var(--navy-900); }
.billing-note { font-size: .9rem; color: var(--ink-3); margin: 0 0 clamp(1.5rem, 1rem + 2vw, 2.5rem); min-height: 1.4em; }
.pricing-head { text-align: center; display: flex; flex-direction: column; align-items: center; }

.plans { display: grid; gap: 16px; align-items: stretch; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; align-items: end; margin-top: 76px; } }
.plan { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 24px 24px; display: flex; flex-direction: column; gap: 18px; transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) ease; }
@media (min-width: 900px) {
  .plan:first-child { border-radius: var(--r-lg) 0 0 var(--r-lg); border-right: 0; }
  .plan:last-child { border-radius: 0 var(--r-lg) var(--r-lg) 0; border-left: 0; }
  .plan--pro { margin-block: -24px; z-index: 2; border-radius: var(--r-lg) !important; }
}
.plan--pro { background: var(--navy-800); color: #D6E1EB; border-color: var(--navy-800); box-shadow: var(--shadow-3); padding-top: 34px; }
.plan--pro .plan__name, .plan--pro .price__amount, .plan--pro .cap__num { color: #fff; }
.plan--pro .plan__desc, .plan--pro .price__period, .plan--pro .cap__label { color: #AFC1D1; }
.plan__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.plan__name { font-family: var(--font-display); font-weight: 650; font-size: 1.5rem; letter-spacing: -0.02em; color: var(--ink); }
.plan__badge { display: inline-flex; align-items: center; gap: 6px; background: var(--gold-400); color: var(--navy-900); font-size: .75rem; font-weight: 800; letter-spacing: .02em; padding: 5px 10px; border-radius: var(--r-pill); }
.plan__badge svg { width: 12px; height: 12px; }
.plan__founder { display: inline-flex; align-items: center; font-size: .72rem; font-weight: 700; color: var(--gold-600); background: var(--gold-100); border: 1px dashed var(--gold-500); padding: 3px 8px; border-radius: var(--r-pill); margin-left: 8px; }
.plan--pro .plan__founder { color: var(--gold-400); background: rgba(201, 160, 98, .15); }
.plan__desc { font-size: .92rem; color: var(--ink-2); line-height: 1.5; margin: 0; min-height: 3em; }
.price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.price__amount { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.6rem, 2.2rem + 1.2vw, 3.4rem); letter-spacing: -0.04em; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.price__cur { font-family: var(--font-plate); font-weight: 600; font-size: 1.1rem; color: var(--ink-2); letter-spacing: .04em; }
.price__period { font-size: .9rem; color: var(--ink-3); width: 100%; }
.price__period .alt { display: block; font-size: .8rem; }
.plan--pro .price__cur { color: #B9C9D8; }
.price.is-switching .price__amount { animation: blurswap 260ms var(--ease-out); }
@keyframes blurswap { 0% { filter: blur(4px); opacity: .4; transform: translateY(4px); } 100% { filter: blur(0); opacity: 1; transform: none; } }

/* Capacity block: the fleet-size visual */
.cap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.cap__item { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.plan--pro .cap__item { border-color: rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .05); }
.cap__num { font-family: var(--font-plate); font-weight: 700; font-size: 1.9rem; line-height: 1; color: var(--ink); letter-spacing: .01em; }
.cap__num small { font-size: .8rem; font-weight: 600; color: var(--ink-3); margin-left: 2px; letter-spacing: 0; }
.cap__label { font-size: .75rem; color: var(--ink-3); font-weight: 700; margin-top: 2px; }
.plan--pro .cap__num small { color: #AFC1D1; }
.lot { display: grid; grid-template-columns: repeat(10, 1fr); gap: 3px; margin-top: 8px; }
.lot i { display: block; aspect-ratio: 5 / 3; border-radius: 2px; background: var(--navy-200); }
.lot i.f { background: var(--navy-800); }
.plan--pro .lot i { background: rgba(255, 255, 255, .18); }
.plan--pro .lot i.f { background: var(--gold-400); }
.lot--dense { grid-template-columns: repeat(20, 1fr); gap: 2px; }
.lot--dense i { border-radius: 1px; }
.plan__feats { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .9rem; color: var(--ink-2); }
.plan__feats li { display: flex; gap: 9px; align-items: flex-start; }
.plan__feats svg { width: 17px; height: 17px; flex: none; color: var(--teal-600); margin-top: 3px; }
.plan--pro .plan__feats { color: #D6E1EB; }
.plan--pro .plan__feats svg { color: var(--gold-400); }
.plan__feats .incl { font-weight: 700; color: var(--ink); }
.plan--pro .plan__feats .incl { color: #fff; }
.plan__cta { margin-top: auto; display: grid; gap: 8px; }
.plan__cta small { text-align: center; color: var(--ink-3); font-size: .8rem; }
.plan--pro .plan__cta small { color: #AFC1D1; }
.plan__car { position: absolute; right: 18px; top: -52px; width: 132px; filter: drop-shadow(0 10px 10px rgba(4, 31, 53, .3)); pointer-events: none; display: none; }
@media (min-width: 900px) { .plan--pro .plan__car { display: block; } }

.enterprise { margin-top: 40px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; display: grid; gap: 18px; }
@media (min-width: 900px) { .enterprise { grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; padding: 26px 32px; margin-top: 48px; } }
.enterprise__name { font-family: var(--font-display); font-weight: 650; font-size: 1.5rem; letter-spacing: -0.02em; }
.enterprise__name span { display: block; font-family: var(--font-plate); font-weight: 600; font-size: 1.05rem; color: var(--gold-600); letter-spacing: .04em; margin-top: 2px; }
.enterprise__list { display: flex; flex-wrap: wrap; gap: 6px 8px; margin: 10px 0 0; padding: 0; list-style: none; }
.enterprise__list li { font-size: .82rem; font-weight: 600; color: var(--ink-2); background: var(--bg); border: 1px solid var(--line); padding: 4px 10px; border-radius: var(--r-pill); }
.upgrade { margin-top: 40px; display: grid; gap: 14px; align-items: center; background: var(--navy-50); border: 1px solid var(--navy-100); border-radius: var(--r-lg); padding: 22px 24px; }
@media (min-width: 900px) { .upgrade { grid-template-columns: 1fr auto; } }
.upgrade__steps { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-family: var(--font-plate); font-weight: 700; font-size: 1.05rem; letter-spacing: .03em; color: var(--navy-800); }
.upgrade__steps svg { width: 18px; height: 18px; color: var(--gold-500); }
.upgrade p { color: var(--ink-2); margin: 0; }

/* ---------- Comparison ---------- */
.compare-toggle { text-align: center; margin-top: 36px; }
.compare-wrap[hidden] { display: none; }
.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); font-size: .92rem; }
.compare thead th:first-child { border-top-left-radius: var(--r-lg); }
.compare thead th:last-child { border-top-right-radius: var(--r-lg); }
.compare tfoot td:first-child { border-bottom-left-radius: var(--r-lg); }
.compare tfoot td:last-child { border-bottom-right-radius: var(--r-lg); }
.compare th, .compare td { padding: 12px 16px; text-align: left; border-top: 1px solid var(--line-2); vertical-align: middle; }
.compare thead th { position: sticky; top: var(--header-h); background: var(--surface); z-index: 2; border-top: 0; border-bottom: 1px solid var(--line); padding-block: 16px; }
.compare thead th:not(:first-child) { text-align: center; }
.compare thead .pn { font-family: var(--font-display); font-weight: 650; font-size: 1.1rem; letter-spacing: -0.015em; display: block; }
.compare thead .pp { display: block; font-size: .8rem; color: var(--ink-3); font-weight: 600; }
.compare .is-pro { background: var(--navy-50); }
.compare thead .is-pro { background: var(--navy-800); color: #fff; }
.compare thead .is-pro .pp { color: #B9C9D8; }
.compare tbody th { font-weight: 600; color: var(--ink-2); }
.compare tbody td { text-align: center; font-weight: 600; }
.compare .grp th { background: var(--bg); font-family: var(--font-plate); font-weight: 700; letter-spacing: .06em; font-size: .9rem; color: var(--ink-3); padding-block: 9px; }
.compare .grp td { background: var(--bg); }
.compare .ok { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--teal-100); color: var(--teal-700); }
.compare .ok svg { width: 14px; height: 14px; }
.compare .no { color: var(--ink-4); }
.compare .val { font-family: var(--font-plate); font-weight: 700; font-size: 1.05rem; letter-spacing: .02em; }
.compare tfoot td { padding-block: 16px; }
/* Mobile: comparison as expandable groups */
.compare-mobile { display: none; }
@media (max-width: 767px) {
  .compare { display: none; }
  .compare-mobile { display: grid; gap: 10px; }
  .cgroup { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
  .cgroup summary { list-style: none; cursor: pointer; padding: 14px 16px; font-weight: 700; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
  .cgroup summary::-webkit-details-marker { display: none; }
  .cgroup summary svg { width: 18px; height: 18px; color: var(--ink-3); transition: transform var(--dur) var(--ease-out); flex: none; }
  .cgroup[open] summary svg { transform: rotate(180deg); }
  .cgroup__body { border-top: 1px solid var(--line-2); }
  .crow { padding: 10px 16px; border-top: 1px solid var(--line-2); display: grid; gap: 6px; }
  .crow:first-child { border-top: 0; }
  .crow__name { font-size: .9rem; font-weight: 600; color: var(--ink-2); }
  .crow__vals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .crow__vals > span { font-size: .78rem; text-align: center; padding: 6px 4px; border-radius: 8px; background: var(--bg); display: flex; flex-direction: column; gap: 2px; align-items: center; justify-content: center; font-weight: 700; }
  .crow__vals > span > b { font-size: .62rem; font-weight: 700; color: var(--ink-3); letter-spacing: .04em; }
  .crow__vals > span.is-pro { background: var(--navy-800); color: #fff; }
  .crow__vals > span.is-pro > b { color: #B9C9D8; }
  .crow__vals .val { font-family: var(--font-plate); font-size: 1.05rem; letter-spacing: .02em; }
  .crow__vals .ok { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--teal-100); color: var(--teal-700); }
  .crow__vals .ok svg { width: 12px; height: 12px; }
  .crow__vals .is-pro .ok { background: rgba(255, 255, 255, .16); color: #fff; }
  .crow__vals .no { color: var(--ink-4); }
}

/* ---------- Trial section ---------- */
.trial { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: center; }
@media (min-width: 900px) { .trial { grid-template-columns: 1.1fr 1fr; gap: 56px; } }
.trial__card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-2); padding: 24px; position: relative; overflow: hidden; }
.trial__card::before { content: 'PRO'; position: absolute; right: -8px; top: -22px; font-family: var(--font-display); font-weight: 800; font-size: 7rem; letter-spacing: -0.06em; color: var(--navy-50); line-height: 1; pointer-events: none; }
.trial__card > * { position: relative; }
.trial__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line-2); font-size: .95rem; }
.trial__row:first-of-type { border-top: 0; }
.trial__row b { font-family: var(--font-plate); font-size: 1.15rem; letter-spacing: .03em; }
.trial__car { width: 190px; margin: 6px 0 0 auto; filter: drop-shadow(0 10px 10px rgba(4, 31, 53, .25)); }

/* ---------- Audience ---------- */
.audience { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
@media (min-width: 900px) { .audience { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.aud { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.aud__cars { display: flex; align-items: flex-end; gap: 0; height: 70px; margin-bottom: 4px; }
.aud__cars img { width: 92px; height: auto; margin-right: -22px; filter: drop-shadow(0 6px 6px rgba(4, 31, 53, .22)); }
.aud__cars img:last-child { margin-right: 0; }
.aud h3 { margin-bottom: 2px; }
.aud p { color: var(--ink-2); font-size: .95rem; }
.aud__plan { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line-2); display: flex; justify-content: space-between; align-items: center; font-size: .9rem; color: var(--ink-3); }
.aud__plan b { color: var(--navy-800); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 10px; }
.faq__item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); }
.faq__q { width: 100%; text-align: left; background: transparent; border: 0; padding: 18px 20px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-weight: 700; font-size: 1.02rem; cursor: pointer; border-radius: var(--r-md); line-height: 1.35; }
.faq__q svg { width: 20px; height: 20px; flex: none; color: var(--ink-3); transition: transform var(--dur) var(--ease-out); }
.faq__q[aria-expanded="true"] svg { transform: rotate(45deg); color: var(--gold-600); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--dur) var(--ease-out); }
.faq__a > div { overflow: hidden; }
.faq__a p, .faq__a ul { padding-inline: 20px; color: var(--ink-2); }
.faq__a > div > :last-child { padding-bottom: 20px; margin-bottom: 0; }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq-cta { text-align: center; margin-top: 28px; color: var(--ink-2); }

/* ---------- Closing CTA ---------- */
.closing { position: relative; overflow: hidden; background: var(--navy-900); color: #fff; }
.closing::before { content: ''; position: absolute; inset: 0; background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 72px); mask-image: linear-gradient(180deg, transparent, #000 40%, #000 60%, transparent); -webkit-mask-image: linear-gradient(180deg, transparent, #000 40%, #000 60%, transparent); }
.closing .container { position: relative; }
.closing__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 30px; align-items: center; }
@media (min-width: 900px) { .closing__grid { grid-template-columns: 1.1fr 1fr; } }
.closing h2 { font-size: clamp(2.2rem, 1.4rem + 3.4vw, 4rem); color: #fff; letter-spacing: -0.03em; }
.closing .lede { color: #B9C9D8; }
.closing__excel { display: inline-flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 10px; padding: 10px 14px; font-size: .85rem; color: #C9D6E2; margin-bottom: 22px; }
.closing__excel s { color: #8FA3B6; }
.closing__fleet { position: relative; height: 300px; }
.closing__fleet img { position: absolute; filter: drop-shadow(0 20px 18px rgba(0, 0, 0, .45)); }
.closing__fleet .c1 { width: 56%; right: 0; bottom: 10px; z-index: 3; }
.closing__fleet .c2 { width: 46%; left: 6%; bottom: 60px; z-index: 2; opacity: .95; }
.closing__fleet .c3 { width: 38%; left: 34%; bottom: 120px; z-index: 1; opacity: .8; }
.closing__fleet::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .35) 0 22px, transparent 22px 40px); }
@media (max-width: 899px) { .closing__fleet { height: 230px; order: -1; } }

/* ---------- Generic cards & grids ---------- */
.grid-2 { display: grid; gap: 16px; }
.grid-3 { display: grid; gap: 16px; }
@media (min-width: 700px) { .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; }
.card h3, .card h2 { margin-bottom: .35em; }
.card h2 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.55rem); letter-spacing: -0.015em; }
.card p { color: var(--ink-2); font-size: .95rem; }
.card--link { text-decoration: none; color: inherit; display: block; transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) ease, border-color var(--dur) ease; }
@media (hover: hover) and (pointer: fine) { .card--link:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--navy-200); } }
.card__ico { width: 40px; height: 40px; border-radius: 10px; background: var(--navy-50); color: var(--navy-800); display: grid; place-items: center; margin-bottom: 14px; }
.card__ico svg { width: 22px; height: 22px; }
.feature-list { display: grid; gap: 14px; }
@media (min-width: 700px) { .feature-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .feature-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px; }
.feature h3 { font-size: 1.1rem; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.feature h3 .plate { font-size: .7rem; }
.feature ul { margin: 0; padding-left: 1.1em; color: var(--ink-2); font-size: .92rem; display: grid; gap: 4px; }
.feature__plan { margin-top: 12px; font-size: .78rem; color: var(--ink-3); font-weight: 600; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding-block: clamp(2.5rem, 2rem + 3vw, 5rem) clamp(1.5rem, 1rem + 2vw, 3rem); }
.page-hero h1 { font-size: clamp(2.2rem, 1.4rem + 3.2vw, 4rem); margin-bottom: .4em; }
.page-hero .lede { max-width: 64ch; }
.breadcrumb { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: .85rem; color: var(--ink-3); }
.breadcrumb li + li::before { content: '/'; margin-right: 6px; color: var(--ink-4); }
.breadcrumb a { color: var(--ink-3); }

/* ---------- Prose ---------- */
.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); margin-top: 2em; }
.prose h3 { margin-top: 1.6em; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .35em; }
.prose .callout { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--gold-500); border-radius: var(--r-sm); padding: 16px 18px; margin: 1.5em 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: .92rem; margin: 1.2em 0; background: var(--surface); }
@media (max-width: 767px) { .prose table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; } .prose table tbody, .prose table thead { display: table; width: 100%; min-width: 520px; } }
.prose th, .prose td { text-align: left; padding: 10px 12px; border: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--navy-50); }
.article-meta { color: var(--ink-3); font-size: .9rem; margin-bottom: 1.5em; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
@media (min-width: 1024px) { .article-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; align-items: start; } }
.aside-card { position: sticky; top: calc(var(--header-h) + 24px); background: var(--navy-800); color: #D6E1EB; border-radius: var(--r-lg); padding: 24px; }
.aside-card h3 { color: #fff; }
.aside-card p { font-size: .95rem; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 16px; }
.form__row { display: grid; gap: 16px; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: .9rem; }
.field label small { font-weight: 500; color: var(--ink-3); }
.field input, .field select, .field textarea { width: 100%; font: inherit; color: var(--ink); background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 12px 14px; min-height: 48px; transition: border-color var(--dur-fast) ease, box-shadow var(--dur-fast) ease; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--navy-700); box-shadow: 0 0 0 4px rgba(10, 74, 120, .14); }
.field input:user-invalid, .field select:user-invalid, .field textarea:user-invalid { border-color: var(--red-600); }
.field .hint { font-size: .82rem; color: var(--ink-3); }
.form__consent { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--ink-2); }
.form__consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--navy-800); flex: none; }
.alert { border-radius: var(--r-sm); padding: 14px 16px; font-size: .95rem; border: 1px solid; }
.alert--ok { background: var(--teal-100); border-color: var(--teal-500); color: var(--teal-700); }
.alert--err { background: var(--red-100); border-color: var(--red-600); color: var(--red-600); }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 2vw + 12px, 36px); box-shadow: var(--shadow-1); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: start; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 64px; } }
.contact-points { display: grid; gap: 14px; margin-top: 24px; }
.contact-point { display: flex; gap: 14px; align-items: flex-start; }
.contact-point svg { width: 22px; height: 22px; flex: none; color: var(--gold-600); margin-top: 2px; }
.contact-point b { display: block; }
.contact-point span { color: var(--ink-2); font-size: .95rem; }
.hp { position: absolute; inset-inline-start: 0; top: 0; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); opacity: 0; pointer-events: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #AFC1D1; padding: clamp(3rem, 2.5rem + 2vw, 5rem) 0 2rem; font-size: .92rem; }
.site-footer__top { display: grid; gap: 36px; padding-bottom: 36px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
@media (min-width: 900px) { .site-footer__top { grid-template-columns: 1.3fr 2fr; gap: 64px; } }
.site-footer__brand p { max-width: 42ch; margin-top: 18px; }
.site-footer__trial { color: #fff; display: flex; align-items: center; gap: 8px; }
.site-footer__cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
@media (min-width: 640px) { .site-footer__cols { grid-template-columns: repeat(4, 1fr); } }
.site-footer h2 { font-family: var(--font-body); font-size: .85rem; font-weight: 800; letter-spacing: .02em; color: #fff; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer a { color: #C9D6E2; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-top: 22px; font-size: .85rem; color: #8FA3B6; }
.site-footer__credit a { color: var(--gold-400); font-weight: 700; }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding-block: var(--section); }
.notfound .plate { font-size: 2.4rem; margin-bottom: 24px; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 600ms var(--ease-out), transform 700ms var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 80ms; } .reveal[data-delay="2"] { transition-delay: 160ms; } .reveal[data-delay="3"] { transition-delay: 240ms; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero [data-seq] { opacity: 1; transform: none; animation: none; }
  .bar > i { transform: scaleX(1); }
}

/* ---------- Print ---------- */
@media print { .site-header, .site-footer, .nav-toggle, .closing, .ticker { display: none !important; } body { background: #fff; } }


/* ==========================================================================
   Language selector
   ========================================================================== */
.lang { display: inline-flex; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 3px; gap: 2px; margin-inline-end: 6px; }
.lang a { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 32px; padding: 0 10px; border-radius: var(--r-pill); text-decoration: none; font-size: .8rem; font-weight: 700; color: var(--ink-2); letter-spacing: .02em; transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease; }
.lang a[lang="ar-MA"] { font-family: 'IBM Plex Sans Arabic', var(--font-body); font-size: .85rem; }
.lang a:hover { background: var(--navy-50); color: var(--navy-800); }
.lang a[aria-current="true"] { background: var(--navy-800); color: #fff; }
@media (max-width: 1023px) {
  .lang { order: -1; align-self: flex-start; margin: 4px 0 12px; }
  .site-nav__actions { align-items: stretch; }
}

/* ==========================================================================
   Floating contact controls + chatbot
   ========================================================================== */
.fab { --fab-size: 56px; position: fixed; bottom: max(20px, env(safe-area-inset-bottom)); z-index: 60; display: inline-flex; align-items: center; justify-content: center; width: var(--fab-size); height: var(--fab-size); border-radius: 50%; border: 0; cursor: pointer; text-decoration: none; box-shadow: 0 6px 18px -4px rgba(4, 31, 53, .35), 0 2px 6px rgba(4, 31, 53, .12); transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) ease, background-color var(--dur-fast) ease; -webkit-tap-highlight-color: transparent; }
.fab svg { width: 26px; height: 26px; flex: none; }
.fab:active { transform: scale(.95); }
@media (hover: hover) and (pointer: fine) { .fab:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -6px rgba(4, 31, 53, .4), 0 2px 6px rgba(4, 31, 53, .12); } }
.fab__label { position: absolute; top: 50%; transform: translateY(-50%); background: var(--navy-900); color: #fff; font-size: .78rem; font-weight: 700; padding: 6px 10px; border-radius: 8px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity var(--dur-fast) ease; }
@media (hover: hover) and (pointer: fine) { .fab:hover .fab__label, .fab:focus-visible .fab__label { opacity: 1; } }
.fab--call { left: max(20px, env(safe-area-inset-left)); background: var(--navy-800); color: #fff; }
.fab--call .fab__label { left: calc(100% + 10px); }
.fab-stack { position: fixed; right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom)); z-index: 60; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.fab-stack .fab { position: static; }
.fab-stack .fab__label { right: calc(100% + 10px); }
.fab--wa { background: #1FAF54; color: #fff; }
.fab--wa svg { width: 30px; height: 30px; }
.fab--chat { --fab-size: 50px; background: var(--surface); color: var(--navy-800); border: 1.5px solid var(--navy-200); }
.fab--chat .fab--chat__close { display: none; }
.fab--chat[aria-expanded="true"] { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
.fab--chat[aria-expanded="true"] .fab--chat__open { display: none; }
.fab--chat[aria-expanded="true"] .fab--chat__close { display: block; }
.fab--chat svg { width: 24px; height: 24px; }
@media (max-width: 560px) { .fab { --fab-size: 52px; } .fab--chat { --fab-size: 46px; } .fab-stack { gap: 10px; } }
body.nav-open .fab, body.nav-open .fab-stack { visibility: hidden; }
@media (max-width: 560px) { .form-card { margin-bottom: 72px; } }

.chat { position: fixed; z-index: 70; right: max(20px, env(safe-area-inset-right)); bottom: calc(max(20px, env(safe-area-inset-bottom)) + 56px + 12px + 50px + 12px); width: min(380px, calc(100vw - 40px)); max-height: min(560px, calc(100dvh - 180px)); display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-3); overflow: hidden; transform-origin: bottom right; transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out), visibility 0s linear var(--dur); }
.chat[hidden] { display: flex; opacity: 0; transform: translateY(10px) scale(.96); visibility: hidden; pointer-events: none; }
.chat.is-open { opacity: 1; transform: none; visibility: visible; pointer-events: auto; transition-delay: 0s; }
.chat__head { display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 14px; background: var(--navy-800); color: #fff; }
.chat__avatar { width: 38px; height: 38px; border-radius: 10px; background: #fff; display: grid; place-items: center; flex: none; }
.chat__avatar img { width: 30px; height: 30px; }
.chat__titles { flex: 1; min-width: 0; }
.chat__title { font-family: var(--font-body); font-size: 1rem; font-weight: 800; letter-spacing: 0; color: #fff; margin: 0; }
.chat__sub { font-size: .75rem; color: #B9C9D8; margin: 1px 0 0; }
.chat__close { width: 36px; height: 36px; border: 0; background: rgba(255, 255, 255, .1); color: #fff; border-radius: 9px; display: grid; place-items: center; cursor: pointer; }
.chat__close svg { width: 18px; height: 18px; }
.chat__close:hover { background: rgba(255, 255, 255, .18); }
.chat__log { flex: 1; min-height: 160px; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: var(--bg); overscroll-behavior: contain; }
.msg { max-width: 86%; padding: 10px 13px; border-radius: 14px; font-size: .92rem; line-height: 1.5; white-space: pre-line; }
.msg--bot { align-self: flex-start; background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: 5px; color: var(--ink); }
.msg--user { align-self: flex-end; background: var(--navy-800); color: #fff; border-bottom-right-radius: 5px; }
[dir="rtl"] .msg--bot { border-radius: 14px; border-bottom-right-radius: 5px; }
[dir="rtl"] .msg--user { border-radius: 14px; border-bottom-left-radius: 5px; }
.msg a { color: inherit; font-weight: 700; }
.msg__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.msg__actions .btn { min-height: 38px; font-size: .85rem; padding: 0 12px; }
.msg--typing { display: inline-flex; gap: 4px; align-items: center; padding: 12px 14px; }
.msg--typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-4); animation: blink 1s ease-in-out infinite; }
.msg--typing i:nth-child(2) { animation-delay: .15s; } .msg--typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }
.chat__chips { display: flex; gap: 6px; padding: 8px 12px; overflow-x: auto; scrollbar-width: none; background: var(--bg); border-top: 1px solid var(--line-2); }
.chat__chips::-webkit-scrollbar { display: none; }
.chat__chips:empty { display: none; }
.chat__chips button { flex: none; border: 1px solid var(--navy-200); background: var(--surface); color: var(--navy-800); font-size: .78rem; font-weight: 700; padding: 7px 11px; border-radius: var(--r-pill); cursor: pointer; white-space: nowrap; }
.chat__chips button:hover { background: var(--navy-50); }
.chat__form { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--line); background: var(--surface); }
.chat__form input { flex: 1; min-width: 0; font: inherit; font-size: 16px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); }
.chat__form input:focus { outline: 0; border-color: var(--navy-700); box-shadow: 0 0 0 3px rgba(10, 74, 120, .14); }
.chat__send { width: 44px; height: 44px; flex: none; border: 0; border-radius: 10px; background: var(--navy-800); color: #fff; display: grid; place-items: center; cursor: pointer; }
.chat__send svg { width: 20px; height: 20px; }
.chat__send:active { transform: scale(.95); }
[dir="rtl"] .chat__send svg { transform: scaleX(-1); }
@media (max-width: 560px) {
  .chat { right: 12px; left: 12px; width: auto; bottom: calc(max(16px, env(safe-area-inset-bottom)) + 52px + 10px + 46px + 10px); max-height: calc(100dvh - 150px); }
}
.btn--wa { --btn-bg: #1FAF54; --btn-fg: #fff; --btn-bd: #1FAF54; }
.btn--wa:hover { --btn-bg: #189A49; --btn-bd: #189A49; }

/* Help strip (contact options without extra blocks everywhere) */
.help { display: grid; gap: 18px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px 24px; margin-top: 36px; }
@media (min-width: 900px) { .help { grid-template-columns: 1fr auto; } }
.help h3 { margin-bottom: 4px; font-size: 1.2rem; }
.help p { color: var(--ink-2); margin: 0; }
.help__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.section--dark .help, .closing .help { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); }
.section--dark .help h3, .closing .help h3 { color: #fff; }
.section--dark .help p, .closing .help p { color: #B9C9D8; }
.closing .help .btn--outline { --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .35); }
.contact-ways { display: grid; gap: 12px; margin-top: 24px; }
.contact-way { display: flex; align-items: center; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px 16px; text-decoration: none; color: var(--ink); transition: border-color var(--dur-fast) ease, transform var(--dur-fast) var(--ease-out); }
.contact-way:hover { border-color: var(--navy-200); color: var(--ink); }
.contact-way__ico { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; flex: none; color: #fff; background: var(--navy-800); }
.contact-way__ico svg { width: 22px; height: 22px; }
.contact-way--wa .contact-way__ico { background: #1FAF54; }
.contact-way--mail .contact-way__ico { background: var(--gold-500); }
.contact-way b { display: block; font-size: .95rem; }
.contact-way span { font-size: .85rem; color: var(--ink-3); }
.site-footer__contact a { color: #fff; }

/* ==========================================================================
   RTL (Arabic)
   ========================================================================== */
[dir="rtl"] { --font-display: 'IBM Plex Sans Arabic', 'Bricolage Grotesque', system-ui, sans-serif; --font-body: 'IBM Plex Sans Arabic', 'Manrope', system-ui, sans-serif; }
[dir="rtl"] body, [dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4 { letter-spacing: 0; }
[dir="rtl"] h1 { line-height: 1.15; font-weight: 700; }
[dir="rtl"] h2, [dir="rtl"] h3 { line-height: 1.3; }
[dir="rtl"] .lede, [dir="rtl"] p { line-height: 1.75; }
[dir="rtl"] .chapter, [dir="rtl"] .kpi__label, [dir="rtl"] .status, [dir="rtl"] .plate, [dir="rtl"] .board__title { letter-spacing: 0; }
[dir="rtl"] .link-arrow svg, [dir="rtl"] .upgrade__steps svg, [dir="rtl"] .scroll-hint svg { transform: scaleX(-1); }
[dir="rtl"] .link-arrow:hover svg { transform: scaleX(-1) translateX(3px); }
[dir="rtl"] .breadcrumb li + li::before { margin-right: 0; margin-left: 6px; }
[dir="rtl"] .checklist svg { margin-top: 5px; }
[dir="rtl"] ul, [dir="rtl"] ol { padding-left: 0; padding-right: 1.25em; }
[dir="rtl"] .prose ul, [dir="rtl"] .prose ol { padding-left: 0; padding-right: 1.3em; }
[dir="rtl"] .checklist, [dir="rtl"] .plan__feats, [dir="rtl"] .perm, [dir="rtl"] .enterprise__list, [dir="rtl"] .site-footer ul, [dir="rtl"] .site-nav__list, [dir="rtl"] .breadcrumb, [dir="rtl"] .flow { padding-right: 0; }
[dir="rtl"] .prose .callout { border-left: 1px solid var(--line); border-right: 4px solid var(--gold-500); }
[dir="rtl"] .prose th, [dir="rtl"] .prose td { text-align: right; }
[dir="rtl"] .compare th, [dir="rtl"] .compare td { text-align: right; }
[dir="rtl"] .compare thead th:not(:first-child), [dir="rtl"] .compare tbody td { text-align: center; }
[dir="rtl"] .compare thead th:first-child { border-radius: 0 var(--r-lg) 0 0; }
[dir="rtl"] .compare thead th:last-child { border-radius: var(--r-lg) 0 0 0; }
[dir="rtl"] .compare tfoot td:first-child { border-radius: 0 0 var(--r-lg) 0; }
[dir="rtl"] .compare tfoot td:last-child { border-radius: 0 0 0 var(--r-lg); }
@media (min-width: 900px) {
  [dir="rtl"] .flow__step { border-right-width: 1px; border-left-width: 0; }
  [dir="rtl"] .flow__step:first-child { border-radius: 0 var(--r-lg) var(--r-lg) 0; }
  [dir="rtl"] .flow__step:last-child { border-left-width: 1px; border-radius: var(--r-lg) 0 0 var(--r-lg); }
  [dir="rtl"] .plan:first-child { border-radius: 0 var(--r-lg) var(--r-lg) 0; border-right: 1px solid var(--line); border-left: 0; }
  [dir="rtl"] .plan:last-child { border-radius: var(--r-lg) 0 0 var(--r-lg); border-left: 1px solid var(--line); border-right: 0; }
  [dir="rtl"] .plan__car { right: auto; left: 18px; }
}
@media (min-width: 1024px) { [dir="rtl"] .board-stage { margin-right: 0; margin-left: -40px; } }
[dir="rtl"] .tl__veh { border-right: 0; border-left: 1px solid var(--line-2); }
[dir="rtl"] .tl__days span, [dir="rtl"] .tl__lane > i { border-left: 0; border-right: 1px solid var(--line-2); }
[dir="rtl"] .hero-car--main { right: auto; left: -4%; }
[dir="rtl"] .hero-car--back { left: auto; right: -6%; }
[dir="rtl"] .hero-tag--b { left: auto; right: 2%; }
@media (max-width: 1023px) { [dir="rtl"] .hero-car--main { right: auto; left: 0; } [dir="rtl"] .hero-tag--b { left: auto; right: var(--gutter); } }
[dir="rtl"] .sw::after { left: auto; right: 2px; }
[dir="rtl"] .sw.on::after { transform: translateX(-14px); }
[dir="rtl"] .trial__card::before { right: auto; left: -8px; }
[dir="rtl"] .trial__car { margin: 6px auto 0 0; }
[dir="rtl"] .aud__cars img { margin-right: 0; margin-left: -22px; }
[dir="rtl"] .aud__cars img:last-child { margin-left: 0; }
[dir="rtl"] .closing__fleet .c1 { right: auto; left: 0; }
[dir="rtl"] .closing__fleet .c2 { left: auto; right: 6%; }
[dir="rtl"] .closing__fleet .c3 { left: auto; right: 34%; }
[dir="rtl"] .nav-toggle { margin-right: 0; margin-left: -8px; }
@media (max-width: 1023px) { [dir="rtl"] .site-nav__list a[aria-current="page"] { box-shadow: inset -3px 0 0 var(--gold-500); border-radius: var(--r-sm) 2px 2px var(--r-sm); } }
[dir="rtl"] .fab--call .fab__label { left: auto; right: calc(100% + 10px); }
[dir="rtl"] .fab-stack .fab__label { right: auto; left: calc(100% + 10px); }
[dir="rtl"] .price__amount, [dir="rtl"] .kpi__value, [dir="rtl"] .fin-stat__value, [dir="rtl"] .odo__value, [dir="rtl"] .inv__amt, [dir="rtl"] .cap__num, [dir="rtl"] .trial__row b, [dir="rtl"] .inv__num, [dir="rtl"] .tl__days span { direction: ltr; unicode-bidi: isolate; }
[dir="rtl"] .price { justify-content: flex-start; }
[dir="rtl"] .site-footer__credit { direction: ltr; }

[dir="rtl"] .billing__thumb { left: auto; right: 4px; }
[dir="rtl"] .billing[data-billing="annual"] .billing__thumb { transform: translateX(-100%); }
[dir="rtl"] .fab--chat .fab__label, [dir="rtl"] .fab--wa .fab__label { left: calc(100% + 10px); right: auto; }
