/* MiralDrive public website (landing-page/v2). Logical properties only, so the same file serves LTR (fr/en) and RTL (ar). */
:root {
    --green: #1e8750;
    --green-dark: #166a3f;
    --ink: #00211d;
    --surface-deep: #0b3a30;
    --bg-soft: #f3f8f5;
    --tint: #e6f3ec;
    --tint-text: #14613a;
    --border: #e3ece8;
    --muted: #4f5f5c;
    --muted-2: #3a4845;
    --on-dark: #b9ccc6;
    --on-dark-2: #dde8e4;
    --yellow: #ffc107;
    --error: #b42318;
    --warn-bg: #fff4d6;
    --warn-text: #7a5300;
    --radius-card: 20px;
    --radius-band: 28px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.mx { margin: 0; background: #fff; color: var(--ink); font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Tahoma, sans-serif; line-height: 1.5; -webkit-font-smoothing: antialiased; }
.mx a { color: var(--ink); text-decoration: none; }
.mx a:hover { color: var(--green); }
.mx img { max-width: 100%; }
.mx h1, .mx h2, .mx h3, .mx p, .mx figure, .mx blockquote, .mx ol, .mx ul { margin: 0; padding: 0; }
.mx ol, .mx ul { list-style: none; }
.mx :focus-visible { outline: 3px solid var(--green); outline-offset: 2px; border-radius: 6px; }
.mx-skip { position: absolute; inset-inline-start: -9999px; top: 0; background: var(--ink); color: #fff !important; padding: 10px 16px; z-index: 100; }
.mx-skip:focus { inset-inline-start: 8px; }

.mx-wrap { max-width: 1200px; margin-inline: auto; padding-inline: 24px; }
.mx-section { padding-block: 96px; }
.mx-section--soft { background: var(--bg-soft); }
.mx-section--bordered { border-block-start: 1px solid var(--border); }
.mx-stack { display: flex; flex-direction: column; }
.mx-gap-12 { gap: 12px; } .mx-gap-16 { gap: 16px; } .mx-gap-24 { gap: 24px; } .mx-gap-48 { gap: 48px; }
.mx-eyebrow { font-size: 14px; font-weight: 700; color: var(--green); }
.mx-h1 { font-size: clamp(40px, 5vw, 64px); line-height: 1.05; letter-spacing: -0.03em; font-weight: 800; }
.mx-h2 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.1; letter-spacing: -0.02em; font-weight: 800; max-inline-size: 640px; }
.mx-h2--sm { font-size: clamp(28px, 3vw, 40px); line-height: 1.15; }
.mx-lead { font-size: 18px; line-height: 1.6; color: var(--muted); max-inline-size: 540px; }
.mx-text { font-size: 15px; line-height: 1.6; color: var(--muted); }
.mx-pill-tag { align-self: flex-start; font-size: 13px; font-weight: 600; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--border); color: var(--muted-2); }

/* Toggle bar */
.mx-topbar { background: var(--ink); }
.mx-topbar .mx-wrap { padding-block: 8px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.mx-seg { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--surface-deep); }
.mx-seg a { padding: 8px 18px; border-radius: 999px; color: var(--on-dark-2); font-size: 14px; font-weight: 600; }
.mx-seg a:hover { color: #fff; }
.mx-seg a[aria-current='page'] { background: #fff; color: var(--ink); font-weight: 700; }
.mx-topbar__link { font-size: 13px; font-weight: 600; color: var(--on-dark-2) !important; }
.mx-topbar__link:hover { color: #fff !important; }

/* Header */
.mx-header { border-block-end: 1px solid var(--border); background: #fff; }
.mx-header .mx-wrap { padding-block: 18px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.mx-brand { display: flex; align-items: center; gap: 10px; }
.mx-brand img { height: 36px; width: auto; display: block; }
.mx-badge-business { font-size: 12px; font-weight: 700; letter-spacing: .06em; padding: 5px 9px; border-radius: 6px; background: var(--tint); color: var(--tint-text); }
.mx-nav { display: flex; flex-wrap: wrap; gap: 28px; font-size: 15px; font-weight: 500; }
.mx-nav a[aria-current='page'] { font-weight: 700; }
.mx-header__actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

/* Buttons */
.mx-btn { display: inline-flex; align-items: center; justify-content: center; font: inherit; font-size: 15px; font-weight: 700; padding: 13px 22px; border-radius: 999px; border: 1px solid transparent; cursor: pointer; text-align: center; }
.mx-btn--dark { background: var(--ink); color: #fff !important; }
.mx-btn--dark:hover { background: var(--surface-deep); }
.mx-btn--green { background: var(--green); color: #fff !important; padding: 16px 26px; font-size: 16px; }
.mx-btn--green:hover { background: var(--green-dark); }
.mx-btn--ghost { border-color: var(--ink); background: transparent; }
.mx-btn--white { background: #fff; color: var(--ink) !important; }
.mx-btn--link { font-weight: 600; padding-inline: 16px; }

/* Store badges */
.mx-badges { display: flex; flex-wrap: wrap; gap: 12px; }
.mx-store { display: flex; flex-direction: column; padding: 12px 22px; border-radius: 14px; background: var(--ink); color: #fff !important; min-inline-size: 160px; }
.mx-store span:first-child { font-size: 12px; color: var(--on-dark); }
.mx-store span:last-child { font-size: 17px; font-weight: 700; }
.mx-store:hover { background: var(--surface-deep); }

/* Hero */
.mx-hero { background: var(--bg-soft); }
.mx-hero--dark { background: var(--ink); color: #fff; }
.mx-hero .mx-wrap { padding-block: 72px 88px; display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.mx-hero--dark .mx-wrap { padding-block: 80px 96px; }
.mx-hero__text { flex: 1 1 440px; min-inline-size: 0; display: flex; flex-direction: column; gap: 24px; }
.mx-hero__visual { flex: 1 1 440px; min-inline-size: 0; position: relative; block-size: 520px; border-radius: var(--radius-band); overflow: hidden; background: #e9f1ed; }
.mx-hero__visual > svg, .mx-hero__visual > img { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; object-fit: cover; }
.mx-eta { position: absolute; inset-inline: 24px; inset-block-end: 24px; background: #fff; border-radius: 18px; padding: 18px 20px; display: flex; align-items: center; gap: 16px; box-shadow: 0 12px 32px rgba(0, 33, 29, .12); }
.mx-eta__icon { inline-size: 48px; block-size: 48px; border-radius: 50%; background: var(--bg-soft); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.mx-eta__text { flex: 1; min-inline-size: 0; display: flex; flex-direction: column; gap: 2px; }
.mx-eta__text strong { font-size: 15px; } .mx-eta__text span { font-size: 13px; color: var(--muted); }
.mx-eta__badge { font-size: 15px; font-weight: 700; padding: 8px 12px; border-radius: 10px; background: var(--tint); color: var(--tint-text); }
.mx-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.mx-chips strong { color: var(--ink); font-weight: 600; }
.mx-chip { padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--border); }
.mx-hero__card { flex: 1 1 380px; min-inline-size: 0; max-inline-size: 460px; background: #fff; color: var(--ink); border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.mx-hero__card .mx-store { min-inline-size: 0; padding: 14px 20px; border-radius: 14px; }
.mx-hero__card .mx-store--green { background: var(--green); }
.mx-hero__card .mx-store--green span:first-child { color: #ddf1e6; }

/* Cards and grids */
.mx-grid { display: grid; gap: 20px; }
.mx-grid--240 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.mx-grid--260 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.mx-grid--300 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.mx-grid--320 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 56px; }
.mx-card { border: 1px solid var(--border); border-radius: var(--radius-card); padding: 28px; display: flex; flex-direction: column; gap: 12px; background: #fff; }
.mx-card h3, .mx-feature h3 { font-size: 19px; font-weight: 700; }
.mx-feature { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: 16px; background: var(--bg-soft); }
.mx-feature > svg { flex-shrink: 0; }
.mx-feature strong { font-size: 16px; font-weight: 700; display: block; margin-block-end: 4px; }
.mx-feature p { font-size: 14px; line-height: 1.5; color: var(--muted); }
.mx-step { display: flex; flex-direction: column; gap: 12px; }
.mx-step__n { inline-size: 40px; block-size: 40px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.mx-step h3 { font-size: 20px; font-weight: 700; }
.mx-steps-row { display: flex; gap: 16px; align-items: flex-start; }
.mx-steps-row h3 { font-size: 17px; font-weight: 700; margin-block-end: 4px; }
.mx-check { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.mx-check svg { flex-shrink: 0; }
.mx-check--card { padding: 18px 20px; border-radius: 16px; background: var(--bg-soft); }

/* Categories */
.mx-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.mx-filter { border: 1px solid var(--border); background: #fff; color: var(--ink); font: inherit; font-size: 14px; font-weight: 600; padding: 10px 18px; border-radius: 999px; cursor: pointer; }
.mx-filter[aria-pressed='true'] { background: var(--ink); color: #fff; border-color: var(--ink); }
.mx-cat { text-align: start; font: inherit; color: inherit; background: #fff; cursor: pointer; border: 2px solid var(--border); border-radius: var(--radius-card); padding: 27px; display: flex; flex-direction: column; gap: 14px; }
.mx-cat[aria-pressed='true'] { border-color: var(--green); box-shadow: 0 10px 28px rgba(0, 33, 29, .1); }
.mx-cat[hidden] { display: none; }
.mx-cat__img { block-size: 120px; inline-size: 100%; border-radius: 14px; background: var(--bg-soft); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.mx-cat__img img { block-size: 100%; inline-size: 100%; object-fit: contain; }
.mx-cat__row { display: flex; inline-size: 100%; align-items: center; justify-content: space-between; }
.mx-tag { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--tint); color: var(--tint-text); }
.mx-cat__selected { font-size: 13px; font-weight: 700; color: var(--tint-text); visibility: hidden; }
.mx-cat[aria-pressed='true'] .mx-cat__selected { visibility: visible; }
.mx-cat__name { font-size: 20px; font-weight: 700; }

/* Bands */
.mx-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.mx-band { border-radius: 24px; padding: 40px; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.mx-band--dark { background: var(--ink); color: #fff; }
.mx-band--dark p { color: var(--on-dark); }
.mx-band--tint { background: var(--tint); }
.mx-band h2 { font-size: 34px; line-height: 1.15; letter-spacing: -0.02em; font-weight: 800; }
.mx-band p { font-size: 16px; line-height: 1.6; color: var(--muted-2); }
.mx-cta { padding: 0 24px 96px; }
.mx-cta__box { max-inline-size: 1200px; margin-inline: auto; border-radius: var(--radius-band); padding: 56px 48px; background: var(--green); color: #fff; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.mx-cta__box p { font-size: 17px; line-height: 1.6; color: #ddf1e6; }
.mx-cta__box .mx-store { min-inline-size: 160px; }
.mx-cta__box > div:first-child { flex: 1 1 420px; display: flex; flex-direction: column; gap: 12px; }

/* Stats, testimonials */
.mx-stat { padding: 24px; border-radius: 18px; border: 1px solid var(--border); display: flex; flex-direction: column; gap: 6px; }
.mx-stat strong { font-size: 32px; font-weight: 800; color: var(--green); }
.mx-stat span { font-size: 14px; color: var(--muted); }
.mx-quote { padding: 28px; border-radius: 20px; background: var(--bg-soft); display: flex; flex-direction: column; gap: 16px; }
.mx-stars { font-size: 16px; color: #b7791f; letter-spacing: 2px; }
.mx-quote figcaption { display: flex; align-items: center; gap: 12px; }
.mx-avatar { inline-size: 40px; block-size: 40px; border-radius: 50%; background: #d7e4d2; object-fit: cover; }
.mx-quote figcaption strong { display: block; font-size: 15px; } .mx-quote figcaption span { font-size: 13px; color: var(--muted); }

/* Business preview */
.mx-preview { flex: 1 1 460px; min-inline-size: 0; background: #fff; border: 1px solid var(--border); border-radius: 24px; box-shadow: 0 16px 40px rgba(0, 33, 29, .08); overflow: hidden; }
.mx-preview__bar { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-block-end: 1px solid var(--border); font-size: 14px; font-weight: 700; }
.mx-preview__bar span { font-size: 12px; font-weight: 400; color: var(--muted); }
.mx-preview__kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 20px; }
.mx-kpi { padding: 14px; border-radius: 14px; background: var(--bg-soft); display: flex; flex-direction: column; gap: 4px; }
.mx-kpi span { font-size: 12px; color: var(--muted); } .mx-kpi strong { font-size: 18px; font-weight: 800; }
.mx-preview__list { padding: 0 20px 20px; display: flex; flex-direction: column; gap: 8px; }
.mx-preview__list > strong { font-size: 13px; }
.mx-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 12px; font-size: 13px; }
.mx-row small { display: block; color: var(--muted); font-size: 13px; } .mx-row b { font-weight: 600; display: block; }
.mx-status { padding: 4px 10px; border-radius: 999px; font-weight: 600; font-size: 13px; white-space: nowrap; }
.mx-status--ok { background: var(--tint); color: var(--tint-text); }
.mx-status--warn { background: var(--warn-bg); color: var(--warn-text); }
.mx-status--no { background: #fde8e6; color: var(--error); }
.mx-status--neutral { background: var(--bg-soft); color: var(--muted-2); }

/* Business request form */
.mx-demand { padding: 0 24px 96px; }
.mx-demand__box { max-inline-size: 1200px; margin-inline: auto; border-radius: var(--radius-band); padding: 56px 48px; background: var(--ink); color: #fff; display: flex; flex-wrap: wrap; gap: 48px; }
.mx-demand__intro { flex: 1 1 340px; display: flex; flex-direction: column; gap: 16px; }
.mx-demand__intro p { font-size: 17px; line-height: 1.6; color: var(--on-dark); }
.mx-demand__panel { flex: 1 1 460px; min-inline-size: 0; background: #fff; color: var(--ink); border-radius: 20px; padding: 28px; }
.mx-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.mx-field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted-2); }
.mx-field--full { grid-column: 1 / -1; }
.mx-input { font: inherit; font-size: 15px; font-weight: 400; padding: 14px 16px; border-radius: 12px; border: 1px solid #b9ccc6; color: var(--ink); background: #fff; inline-size: 100%; min-inline-size: 0; }
.mx-input[aria-invalid='true'] { border-color: var(--error); }
.mx-input-group { display: flex; gap: 8px; }
.mx-prefix { font-size: 15px; font-weight: 600; padding: 14px 12px; border-radius: 12px; background: var(--bg-soft); border: 1px solid #b9ccc6; }
.mx-mini-btn { font: inherit; font-size: 13px; font-weight: 600; padding: 0 14px; border-radius: 12px; border: 1px solid #b9ccc6; background: #fff; color: var(--ink); cursor: pointer; }
.mx-error { font-size: 12px; font-weight: 500; color: var(--error); }
.mx-locate { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 12px; background: var(--bg-soft); border: 1px solid var(--border); }
.mx-locate[data-invalid='true'] { border-color: var(--error); }
.mx-locate div { display: flex; flex-direction: column; gap: 2px; font-size: 13px; } .mx-locate strong { font-weight: 600; color: var(--muted-2); } .mx-locate span { color: var(--muted); }
.mx-submit { grid-column: 1 / -1; border: 0; border-radius: 12px; padding: 16px; font: inherit; font-size: 16px; font-weight: 700; background: var(--green); color: #fff; cursor: pointer; }
.mx-submit:disabled { opacity: .7; cursor: progress; }
.mx-linkbtn { font: inherit; font-size: 13px; font-weight: 700; color: var(--tint-text); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; }
.mx-note { grid-column: 1 / -1; font-size: 13px; color: var(--muted); }
.mx-hp { position: absolute; inset-inline-start: -9999px; inline-size: 1px; block-size: 1px; overflow: hidden; }
.mx-alert { grid-column: 1 / -1; padding: 12px 14px; border-radius: 12px; background: #fde8e6; color: var(--error); font-size: 14px; }
.mx-status-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.mx-status-head small { display: block; font-size: 13px; color: var(--muted); } .mx-status-head strong { font-size: 20px; font-weight: 800; }
.mx-timeline { display: flex; flex-direction: column; gap: 14px; margin-block: 20px; }
.mx-timeline li { display: flex; gap: 14px; align-items: flex-start; }
.mx-dot { inline-size: 28px; block-size: 28px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; background: var(--border); color: var(--muted); }
.mx-dot[data-state='done'] { background: var(--green); color: #fff; }
.mx-dot[data-state='current'] { background: var(--warn-bg); color: var(--warn-text); }
.mx-dot[data-state='declined'] { background: #fde8e6; color: var(--error); }
.mx-timeline strong { display: block; font-size: 15px; } .mx-timeline span { font-size: 13px; color: var(--muted); }
.mx-summary { padding: 14px 16px; border-radius: 12px; background: var(--bg-soft); font-size: 13px; line-height: 1.6; color: var(--muted-2); margin-block-end: 16px; }
.mx-summary span { display: block; }
.mx-panel-btn { display: block; inline-size: 100%; text-align: center; border: 0; border-radius: 12px; padding: 16px; font: inherit; font-size: 16px; font-weight: 700; color: #fff !important; cursor: pointer; }
.mx-panel-btn--green { background: var(--green); } .mx-panel-btn--dark { background: var(--ink); }
.mx-lookup { display: grid; gap: 16px; }

/* Content pages */
.mx-page { padding-block: 72px; }
.mx-page h1 { font-size: clamp(32px, 4vw, 48px); font-weight: 800; letter-spacing: -0.02em; margin-block-end: 24px; }
.mx-prose { max-inline-size: 820px; font-size: 16px; line-height: 1.8; color: var(--muted-2); }
.mx-prose h2, .mx-prose h3 { margin-block: 24px 8px; color: var(--ink); }
.mx-prose ul { list-style: disc; padding-inline-start: 24px; } .mx-prose ol { list-style: decimal; padding-inline-start: 24px; }
.mx-prose a { color: var(--green); text-decoration: underline; }
.mx-contact { display: grid; gap: 16px; max-inline-size: 560px; }
.mx-contact div { padding: 18px 20px; border-radius: 16px; background: var(--bg-soft); }
.mx-contact small { display: block; color: var(--muted); font-size: 13px; }

/* Footer */
.mx-footer { background: var(--ink); color: #fff; }
.mx-footer .mx-wrap { padding-block: 56px 32px; display: flex; flex-direction: column; gap: 40px; }
.mx-footer__cols { display: flex; flex-wrap: wrap; gap: 48px; justify-content: space-between; }
.mx-footer__brand { flex: 1 1 240px; display: flex; flex-direction: column; gap: 12px; max-inline-size: 320px; }
.mx-footer__brand img { height: 34px; width: auto; align-self: flex-start; }
.mx-footer__brand p { font-size: 14px; line-height: 1.7; color: var(--on-dark); }
.mx-footer__social { display: flex; flex-wrap: wrap; gap: 16px; font-size: 14px; font-weight: 600; }
.mx-footer__col { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.mx-footer__col strong { font-weight: 700; }
.mx-footer a { color: var(--on-dark-2); } .mx-footer a:hover { color: #fff; }
.mx-footer__bottom { border-block-start: 1px solid #1c3f38; padding-block-start: 24px; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; font-size: 13px; color: var(--on-dark); }
.mx-footer__lang { display: flex; gap: 16px; }
.mx-footer__lang a[aria-current='true'] { font-weight: 700; color: #fff; }

@media (max-width: 640px) {
    .mx-section { padding-block: 64px; }
    .mx-wrap { padding-inline: 16px; }
    .mx-cta, .mx-demand { padding-inline: 16px; }
    .mx-cta__box, .mx-demand__box { padding: 32px 22px; }
    .mx-hero .mx-wrap { padding-block: 48px 56px; gap: 40px; }
    .mx-hero__visual { block-size: 420px; }
    .mx-nav { gap: 18px; }
    .mx-band { padding: 28px; }
    .mx-demand__panel { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }

/* ===== "Demander une course": the booking card (page /reserver) ===== */
.mx-rd__points { display: flex; flex-direction: column; gap: 10px; }
.mx-rd-card { position: relative; background: #fff; border: 1px solid var(--border); border-radius: 28px; padding: 26px 26px 22px; box-shadow: 0 28px 70px rgba(0, 33, 29, .16); animation: mx-rd-card-in .6s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes mx-rd-card-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.mx-rd-head { display: flex; align-items: center; gap: 14px; margin-block-end: 18px; }
.mx-rd-head__icon { inline-size: 48px; block-size: 48px; border-radius: 14px; background: var(--green); color: #fff; display: grid; place-items: center; flex-shrink: 0; box-shadow: 0 10px 22px rgba(30, 135, 80, .3); }
.mx-rd-head__title { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.mx-rd-head__sub { font-size: 14px; line-height: 1.4; color: var(--muted); margin-block-start: 3px; }
/* progress */
.mx-rd-progress { block-size: 4px; border-radius: 4px; background: var(--tint); overflow: hidden; margin-block-end: 18px; }
.mx-rd-progress span { display: block; block-size: 100%; background: linear-gradient(90deg, var(--green), #34b577); transform-origin: left center; transform: scaleX(.33); transition: transform .45s cubic-bezier(.2, .8, .2, 1); border-radius: 4px; }
[dir='rtl'] .mx-rd-progress span { transform-origin: right center; }
.mx .mx-rd-steps { display: flex; justify-content: space-between; gap: 8px; margin-block-end: 22px; }
.mx-rd-steps li { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--muted); transition: color .25s; }
.mx-rd-steps li b { inline-size: 26px; block-size: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; background: var(--bg-soft); color: var(--muted-2); border: 1px solid var(--border); transition: all .3s; }
.mx-rd-steps li[data-state='current'] { color: var(--ink); }
.mx-rd-steps li[data-state='current'] b { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(0, 33, 29, .08); }
.mx-rd-steps li[data-state='done'] b { background: var(--green); color: #fff; border-color: var(--green); font-size: 0; }
.mx-rd-steps li[data-state='done'] b::before { content: '\2713'; font-size: 13px; }

/* panes */
.mx-rd-pane.is-in { animation: mx-rd-in .42s cubic-bezier(.2, .8, .2, 1); }
@keyframes mx-rd-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.mx-rd-pane[hidden], .mx-rd-flow[hidden], .mx-rd-done[hidden], .mx-rd-track[hidden] { display: none; }

/* the trip: two labelled fields */
.mx-rd-fields { display: flex; flex-direction: column; gap: 14px; }
.mx-rd-field { display: flex; flex-direction: column; gap: 6px; }
.mx-rd-label { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--muted-2); }
.mx-rd-dot { inline-size: 10px; block-size: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px var(--tint); }
.mx-rd-dot--b { border-radius: 3px; background: #e03137; box-shadow: 0 0 0 3px #fde8e6; }
.mx-rd-inputwrap { position: relative; }
.mx-rd-field:first-child .mx-input { padding-inline-end: 124px; }
.mx-rd-locate { position: absolute; inset-inline-end: 8px; inset-block-start: 50%; transform: translateY(-50%); display: inline-flex; align-items: center; gap: 6px; font: inherit; font-size: 12px; font-weight: 700; color: var(--tint-text); background: var(--tint); border: 0; border-radius: 999px; padding: 7px 11px; cursor: pointer; transition: background .2s; }
.mx-rd-locate:hover { background: #d4ebdf; } .mx-rd-locate:disabled { opacity: .7; cursor: progress; }
.mx .mx-rd-list { position: absolute; z-index: 30; inset-inline: 0; inset-block-start: calc(100% + 6px); background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 18px 40px rgba(0, 33, 29, .16); max-block-size: 260px; overflow-y: auto; padding: 6px; }
.mx .mx-rd-list[hidden] { display: none; }
.mx-rd-list li { padding: 10px 12px; border-radius: 10px; cursor: pointer; display: flex; flex-direction: column; gap: 2px; }
.mx-rd-list li strong { font-size: 14px; font-weight: 600; } .mx-rd-list li small { font-size: 12px; color: var(--muted); }
.mx-rd-list li:hover, .mx-rd-list li.is-active { background: var(--bg-soft); }
.mx-rd-list li.is-empty { cursor: default; color: var(--muted); font-size: 13px; }

/* when */
.mx-rd-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mx-rd-choice { position: relative; display: block; cursor: pointer; }
.mx-rd-choice input, .mx-rd-chip input { position: absolute; opacity: 0; inline-size: 1px; block-size: 1px; }
.mx-rd-choice__box { display: flex; flex-direction: column; gap: 4px; padding: 18px; border: 2px solid var(--border); border-radius: 18px; color: var(--muted-2); transition: border-color .2s, background .2s, transform .2s, box-shadow .2s; block-size: 100%; }
.mx-rd-choice__box strong { font-size: 16px; color: var(--ink); } .mx-rd-choice__box small { font-size: 12px; color: var(--muted); }
.mx-rd-choice:hover .mx-rd-choice__box { transform: translateY(-2px); }
.mx-rd-choice input:checked + .mx-rd-choice__box { border-color: var(--green); background: var(--tint); color: var(--green); box-shadow: 0 10px 24px rgba(30, 135, 80, .16); }
.mx-rd-choice input:focus-visible + .mx-rd-choice__box, .mx-rd-chip input:focus-visible + span { outline: 3px solid var(--green); outline-offset: 2px; }
.mx-rd-later { margin-block-start: 14px; animation: mx-rd-in .35s ease; }
.mx-rd-later[hidden] { display: none; }
.mx-rd-cats { margin-block-start: 18px; display: flex; flex-direction: column; gap: 8px; }
.mx-rd-cats__label { font-size: 13px; font-weight: 600; color: var(--muted-2); }
.mx-rd-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.mx-rd-chip { position: relative; cursor: pointer; }
.mx-rd-chip span { display: inline-block; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--border); font-size: 14px; font-weight: 600; transition: all .2s; }
.mx-rd-chip input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }

/* estimated price (step 2 and the confirmation) */
.mx-rd-price { margin-block-start: 18px; padding: 14px 16px; border-radius: 14px; background: var(--tint); border: 1px solid var(--border); display: flex; flex-direction: column; gap: 4px; }
.mx-rd-price[hidden], .mx-rd-price [hidden] { display: none; }
.mx-rd-price__label { font-size: 13px; font-weight: 600; color: var(--muted-2); }
.mx-rd-price__row { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.mx-rd-price__row strong { font-size: 26px; line-height: 1.1; font-weight: 800; color: var(--green); }
.mx-rd-price__row del { font-size: 16px; color: var(--muted); }
.mx-rd-price__note { align-self: flex-start; padding: 3px 10px; border-radius: 999px; background: #FFF3CD; color: #7A5A00; font-size: 12px; font-weight: 700; }
.mx-rd-price__hint { font-size: 12px; color: var(--muted); }
.mx-rd-price--done { inline-size: 100%; text-align: start; margin-block: 0 16px; }
.mx-rd-chip__price { display: block; margin-block-start: 2px; font-size: 12px; font-weight: 700; opacity: .85; }

/* actions */
.mx-rd-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-block-start: 22px; }
.mx-rd-actions .mx-rd-btn { flex: 1; }
.mx-rd-btn { border: 0; border-radius: 14px; padding: 16px 22px; font: inherit; font-size: 16px; font-weight: 700; color: #fff; background: var(--green); cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; box-shadow: 0 10px 22px rgba(30, 135, 80, .28); }
.mx-rd-btn:hover { background: var(--green-dark); transform: translateY(-1px); } .mx-rd-btn:active { transform: none; }
.mx-rd-btn:disabled { opacity: .7; cursor: progress; transform: none; }
.mx-rd-back { border: 0; background: none; font: inherit; font-size: 14px; font-weight: 700; color: var(--muted-2); cursor: pointer; padding: 12px 6px; }
.mx-rd-back:hover { color: var(--ink); }
.mx-rd-trackopen { margin-block-start: 18px; display: block; margin-inline: auto; }
.mx-rd-who { margin-block-end: 4px; }
.mx-rd-track { display: grid; gap: 14px; animation: mx-rd-in .4s ease; }

/* confirmation */
.mx-rd-done { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.mx-rd-done.is-in { animation: mx-rd-in .5s cubic-bezier(.2, .8, .2, 1); }
.mx-rd-tick { inline-size: 76px; block-size: 76px; }
.mx-rd-tick circle { stroke-dasharray: 145; stroke-dashoffset: 145; animation: mx-rd-draw .7s ease forwards; }
.mx-rd-tick path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: mx-rd-draw .5s ease .45s forwards; }
.mx-rd-tick.is-declined circle, .mx-rd-tick.is-declined path { stroke: var(--error); }
@keyframes mx-rd-draw { to { stroke-dashoffset: 0; } }
.mx-rd-done h3 { font-size: 24px; font-weight: 800; letter-spacing: -0.01em; }
.mx-rd-ref { display: flex; flex-direction: column; gap: 2px; padding: 10px 22px; border-radius: 14px; background: var(--bg-soft); border: 1px dashed #b9ccc6; }
.mx-rd-ref small { font-size: 12px; color: var(--muted); } .mx-rd-ref strong { font-size: 22px; font-weight: 800; letter-spacing: .08em; }
.mx-rd-done .mx-summary { inline-size: 100%; text-align: start; margin: 0; }
.mx-rd-state { min-block-size: 30px; }
.mx-rd-done .mx-rd-actions { inline-size: 100%; }

@media (max-width: 640px) {
    .mx-rd-card { padding: 20px; border-radius: 22px; }
    .mx-rd-steps li span { display: none; } .mx-rd-steps { justify-content: center; gap: 28px; }
    .mx-rd-choices { grid-template-columns: 1fr; }
    .mx-rd-field:first-child .mx-input { padding-inline-end: 16px; }
    .mx-rd-locate { position: static; transform: none; margin-block-start: 8px; }
}
@media (prefers-reduced-motion: reduce) { .mx-rd-tick circle, .mx-rd-tick path { stroke-dashoffset: 0; } }

/* ----- "Demander une course": the map and the Google Maps helpers ----- */
.mx-rd-mapwrap { margin-block-start: 16px; display: flex; flex-direction: column; gap: 8px; }
.mx-rd-targets { display: flex; gap: 8px; }
.mx-rd-target { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-size: 13px; font-weight: 700; padding: 9px 12px; border-radius: 12px; border: 2px solid var(--border); background: #fff; color: var(--muted-2); cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.mx-rd-target i { inline-size: 10px; block-size: 10px; border-radius: 50%; background: var(--green); }
.mx-rd-target u { inline-size: 10px; block-size: 10px; border-radius: 2px; background: #e03137; text-decoration: none; }
.mx-rd-target.is-active { border-color: var(--ink); background: var(--bg-soft); color: var(--ink); }
.mx-rd-map { position: relative; z-index: 0; isolation: isolate; block-size: 230px; border-radius: 16px; overflow: hidden; border: 1px solid var(--border); background: #e9f1ed; }
.mx-rd-map[hidden] { display: none; }
.mx-rd-maphint { font-size: 12px; color: var(--muted); text-align: center; }

/* the pins: a teardrop in green (pickup) or red (destination), a white dot inside */
.mx-rd-pin span { position: relative; display: block; inline-size: 30px; block-size: 30px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); box-shadow: 0 6px 14px rgba(0, 33, 29, .35); border: 3px solid #fff; transition: transform .2s; }
.mx-rd-pin span::after { content: ''; position: absolute; inset: 7px; border-radius: 50%; background: #fff; }
.mx-rd-pin--from span { background: var(--green); }
.mx-rd-pin--to span { background: #e03137; }
.mx-rd-pin:hover span { transform: rotate(-45deg) scale(1.08); }
.leaflet-marker-draggable { cursor: grab; }

/* the Google Maps link input */
.mx-rd-link { margin-block-start: 14px; display: flex; flex-direction: column; gap: 6px; }
.mx-rd-linkhint { font-size: 12px; line-height: 1.45; color: var(--muted); }

/* the phone check: the SMS code */
.mx-rd-otp { margin-block-start: 6px; padding: 16px; border-radius: 16px; background: var(--bg-soft); border: 1px solid var(--border); display: flex; flex-direction: column; gap: 12px; animation: mx-rd-in .35s ease; }
.mx-rd-otp[hidden] { display: none; }
.mx-rd-otp__sent { font-size: 14px; font-weight: 600; color: var(--muted-2); }
.mx-rd-code { font-size: 24px; font-weight: 800; letter-spacing: .5em; text-align: center; padding-inline-start: calc(16px + .5em); }
.mx-rd-otp__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mx-rd-otp__row .mx-linkbtn:disabled { color: var(--muted); text-decoration: none; cursor: default; }

@media (max-width: 640px) { .mx-rd-map { block-size: 200px; } .mx-rd-target { white-space: nowrap; font-size: 12px; padding: 9px 6px; gap: 6px; } }

/* ===== Ask for a ride: scroll reveal, hero button, animated home band and the /reserver page ===== */
.mx-js .mx-reveal { opacity: 0; transform: translateY(26px); transition: opacity .75s ease var(--d, 0s), transform .75s cubic-bezier(.2, .8, .2, 1) var(--d, 0s); }
.mx-js .mx-reveal.is-in { opacity: 1; transform: none; }

/* The button above the store badges */
.mx-rcta { align-self: flex-start; position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 10px; box-shadow: 0 14px 30px rgba(30, 135, 80, .34); transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s, background .2s; }
.mx-rcta:hover { transform: translateY(-2px); box-shadow: 0 18px 38px rgba(30, 135, 80, .42); }
.mx-rcta:active { transform: none; }
.mx-rcta svg { transition: transform .25s; flex-shrink: 0; }
.mx-rcta:hover svg { transform: translateX(4px); }
[dir='rtl'] .mx-rcta svg { transform: scaleX(-1); } [dir='rtl'] .mx-rcta:hover svg { transform: scaleX(-1) translateX(4px); }
.mx-rcta::after { content: ''; position: absolute; inset-block: 0; inset-inline-start: -60%; inline-size: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .38), transparent); transform: skewX(-20deg); pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
    .mx-rcta { animation: mx-rcta-pulse 3.2s ease-in-out infinite; }
    .mx-rcta::after { animation: mx-rcta-shine 3.2s ease-in-out infinite; }
}
@keyframes mx-rcta-pulse { 0%, 100% { box-shadow: 0 14px 30px rgba(30, 135, 80, .34), 0 0 0 0 rgba(30, 135, 80, .35); } 55% { box-shadow: 0 14px 30px rgba(30, 135, 80, .34), 0 0 0 12px rgba(30, 135, 80, 0); } }
@keyframes mx-rcta-shine { 0%, 55% { inset-inline-start: -60%; } 90%, 100% { inset-inline-start: 130%; } }

/* Home: the animated band that leads to the form */
.mx-rp { padding-block: 24px 96px; }
.mx-rp__box { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: 56px; border-radius: var(--radius-band); background: linear-gradient(135deg, var(--ink) 0%, var(--surface-deep) 100%); color: #fff; }
.mx-rp__glow { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; }
.mx-rp__glow--a { inline-size: 340px; block-size: 340px; background: rgba(30, 135, 80, .5); inset-block-start: -120px; inset-inline-end: -60px; }
.mx-rp__glow--b { inline-size: 260px; block-size: 260px; background: rgba(255, 193, 7, .16); inset-block-end: -110px; inset-inline-start: 25%; }
.mx-rp__text { position: relative; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.mx-rp__eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .04em; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); color: var(--on-dark-2); }
.mx-rp h2 { font-size: clamp(28px, 3.2vw, 42px); line-height: 1.12; letter-spacing: -0.02em; font-weight: 800; color: #fff; }
.mx-rp__text > p { font-size: 17px; line-height: 1.6; color: var(--on-dark); max-inline-size: 520px; }
.mx .mx-rp__steps { display: flex; flex-wrap: wrap; gap: 10px; }
.mx-rp__steps li { display: flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); font-size: 14px; font-weight: 600; color: var(--on-dark-2); }
[dir='rtl'] .mx-rp__steps li { padding: 8px 8px 8px 16px; }
.mx-rp__steps b { inline-size: 26px; block-size: 26px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-size: 13px; }
.mx-rp .mx-rcta { margin-block-start: 6px; }
.mx-rp__scene { position: relative; min-block-size: 360px; border-radius: 22px; overflow: hidden; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); align-self: stretch; }
.mx-rp__scene > svg { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; display: block; }
.mx-rp__chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 14px; background: #fff; color: var(--ink); font-size: 13px; font-weight: 700; box-shadow: 0 14px 30px rgba(0, 0, 0, .28); }
.mx-rp__chips { position: absolute; inset: 0; pointer-events: none; opacity: var(--fade, 1); }
.mx-rp__dyn { opacity: var(--fade, 1); }
.mx-rp__chip--1 { inset-block-start: 18px; inset-inline-start: 18px; }
.mx-rp__chip--2 { inset-block-start: 46%; inset-inline-end: 18px; }
.mx-rp__chip--3 { inset-block-end: 18px; inset-inline-end: 18px; }
.mx-js .mx-rp__chip { opacity: 0; transform: translateY(10px) scale(.96); transition: opacity .35s ease, transform .45s cubic-bezier(.2, .8, .2, 1); }
.mx-js .mx-rp__chip.is-on { opacity: 1; transform: none; }
.mx-rp__steps li { transition: background .3s, border-color .3s, color .3s, transform .3s; }
.mx-rp__steps b { transition: background .3s, color .3s, transform .3s; }
.mx-rp__steps li.is-on { background: rgba(52, 211, 127, .16); border-color: rgba(52, 211, 127, .55); color: #fff; transform: translateY(-2px); }
.mx-rp__steps li.is-on b { transform: scale(1.12); box-shadow: 0 0 0 4px rgba(52, 211, 127, .22); }
.mx-rp__steps li.is-done b { background: #fff; color: var(--green); }
#rpRoute { filter: drop-shadow(0 0 7px rgba(52, 211, 127, .65)); }
#rpTaxi { filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .35)); }
@media (prefers-reduced-motion: no-preference) {
    .mx-rp__glow--a { animation: mx-rp-float 9s ease-in-out infinite; }
    .mx-rp__glow--b { animation: mx-rp-float 11s ease-in-out infinite reverse; }
}
@keyframes mx-rp-float { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-24px, 22px); } }

/* Ride page: hero with the form, how it works, questions */
.mx-rh { position: relative; overflow: clip; background: radial-gradient(900px 480px at 85% -10%, rgba(30, 135, 80, .16), transparent 60%), radial-gradient(700px 420px at -10% 110%, rgba(255, 193, 7, .14), transparent 60%), var(--bg-soft); }
.mx-hero.mx-rh .mx-wrap { align-items: flex-start; }
.mx-rh__text { padding-block-start: 12px; }
.mx-rh__form { flex: 1 1 460px; max-inline-size: 540px; min-inline-size: 0; margin-inline: auto; }
.mx-rh__form .mx-rd { position: relative; }
/* How it works: three steps on a line that draws itself, each with a small picture of what happens */
.mx-hw { background: #fff; }
.mx-hw__head { display: flex; flex-direction: column; gap: 12px; }
.mx-hw__head .mx-lead { max-inline-size: 560px; }
.mx-hw__grid { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 60px; padding-block-start: 36px; }
.mx-hw__step { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 0 26px 28px; border-radius: 24px; background: var(--bg-soft); border: 1px solid var(--border); transition: transform .3s, box-shadow .3s, border-color .3s; }
.mx-hw__step:hover { transform: translateY(-5px); box-shadow: 0 24px 50px rgba(0, 33, 29, .1); border-color: #b9dcc9; }
.mx-hw__step:not(:last-child)::after { content: ''; position: absolute; inset-block-start: -22px; inset-inline-end: -52px; inline-size: 44px; block-size: 44px; border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%231e8750' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 20px no-repeat; border: 1px solid #b9dcc9; box-shadow: 0 8px 18px rgba(0, 33, 29, .08); }
[dir='rtl'] .mx-hw__step:not(:last-child)::after { transform: scaleX(-1); }
.mx-hw__top { display: flex; justify-content: center; margin-block-start: -36px; }
.mx-hw__icon { position: relative; inline-size: 72px; block-size: 72px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 8px #fff, 0 14px 28px rgba(30, 135, 80, .35); }
.mx-hw__icon b { position: absolute; inset-block-start: -4px; inset-inline-end: -4px; inline-size: 26px; block-size: 26px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 13px; display: grid; place-items: center; border: 2px solid #fff; }
.mx-hw__art { min-block-size: 112px; border-radius: 16px; background: #fff; border: 1px solid var(--border); padding: 16px; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.mx-hw__field { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--border); font-size: 13px; color: var(--muted); }
.mx-hw__dot { inline-size: 10px; block-size: 10px; border-radius: 50%; background: var(--green); flex-shrink: 0; }
.mx-hw__dot--b { border-radius: 3px; background: #e03137; }
.mx-hw__code { display: flex; justify-content: center; gap: 7px; }
.mx-hw__code span { inline-size: 30px; block-size: 40px; border-radius: 9px; background: var(--bg-soft); border: 1px solid var(--border); display: grid; place-items: center; font-weight: 800; font-size: 18px; color: var(--ink); opacity: .25; transform: translateY(4px); }
.mx-hw__ticket { display: flex; align-items: center; gap: 8px; }
.mx-hw__ticket small { font-size: 12px; font-weight: 800; letter-spacing: .08em; color: var(--muted-2); background: var(--bg-soft); border: 1px dashed #b9ccc6; border-radius: 8px; padding: 6px 9px; }
.mx-hw__ticket .mx-hw__ok { flex: 1; padding: 8px 10px; }
.mx-hw__trip { display: flex; align-items: center; gap: 10px; padding-inline: 4px; }
.mx-hw__track { position: relative; flex: 1; block-size: 6px; border-radius: 6px; background: #e3ece8; }
.mx-hw__track em { position: absolute; inset-block: 0; inset-inline-start: 0; inline-size: 62%; border-radius: 6px; background: linear-gradient(90deg, var(--green), #34d37f); }
[dir='rtl'] .mx-hw__track em { background: linear-gradient(270deg, var(--green), #34d37f); }
.mx-hw__track b { position: absolute; inset-block-start: 50%; inset-inline-start: 62%; margin-inline-start: -15px; margin-block-start: -15px; inline-size: 30px; block-size: 30px; border-radius: 50%; background: var(--yellow); border: 2px solid var(--ink); display: grid; place-items: center; box-shadow: 0 6px 12px rgba(0, 33, 29, .25); }
[dir='rtl'] .mx-hw__track b svg { transform: scaleX(-1); }
.mx-hw__ok { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--tint-text); background: var(--tint); border-radius: 10px; padding: 9px 12px; }
.mx-hw__step h3 { font-size: 21px; font-weight: 800; letter-spacing: -0.01em; text-align: center; }
.mx-hw__step .mx-text { color: var(--muted); text-align: center; }
@media (prefers-reduced-motion: no-preference) {
    .mx-hw__step.is-in .mx-hw__code span { animation: mx-hw-digit .4s ease both; animation-delay: calc(.9s + var(--k) * .22s); }
    .mx-hw__step.is-in .mx-hw__track em { animation: mx-hw-fill 4.2s cubic-bezier(.45, 0, .2, 1) 1s infinite; }
    .mx-hw__step.is-in .mx-hw__track b { animation: mx-hw-move 4.2s cubic-bezier(.45, 0, .2, 1) 1s infinite; }
    .mx-hw__step:not(:last-child)::after { animation: mx-hw-nudge 2.4s ease-in-out infinite; }
}
@keyframes mx-hw-digit { to { opacity: 1; transform: none; } }
@keyframes mx-hw-fill { 0% { inline-size: 0; } 78%, 100% { inline-size: 100%; } }
@keyframes mx-hw-move { 0% { inset-inline-start: 0; } 78%, 100% { inset-inline-start: 100%; } }
@keyframes mx-hw-nudge { 0%, 100% { translate: 0 0; } 50% { translate: 4px 0; } }
@media (prefers-reduced-motion: reduce) { .mx-hw__code span { opacity: 1; transform: none; } }

/* Vehicle categories */
.mx-rpick { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 20px; }
.mx-rpick__card { background: #fff; border: 1px solid var(--border); border-radius: 22px; padding: 14px 14px 22px; display: flex; flex-direction: column; gap: 6px; transition: transform .3s, box-shadow .3s; }
.mx-rpick__card:hover { transform: translateY(-5px); box-shadow: 0 22px 46px rgba(0, 33, 29, .1); }
.mx-rpick__img { block-size: 130px; border-radius: 14px; background: var(--bg-soft); display: grid; place-items: center; overflow: hidden; margin-block-end: 8px; }
.mx-rpick__img img { max-block-size: 100%; object-fit: contain; transition: transform .4s; }
.mx-rpick__card:hover .mx-rpick__img img { transform: scale(1.06); }
.mx-rpick__card strong { font-size: 18px; font-weight: 800; padding-inline: 8px; }
.mx-rpick__card p { font-size: 14px; color: var(--muted); padding-inline: 8px; line-height: 1.5; }

/* Opening sequence of /reserver: "Ready to go?" plays first, then the text and the form arrive one after the other */
.mx-ri { display: none; }
.mx-seq .mx-ri { display: flex; }
.mx-ri[hidden] { display: none !important; }
.mx-ri { position: absolute; inset: 0; z-index: 20; align-items: flex-start; justify-content: center; padding: clamp(72px, 15vh, 160px) 24px 40px; background: radial-gradient(900px 480px at 85% -10%, rgba(30, 135, 80, .16), transparent 60%), radial-gradient(700px 420px at -10% 110%, rgba(255, 193, 7, .14), transparent 60%), var(--bg-soft); cursor: pointer; transition: opacity .6s ease, transform .6s cubic-bezier(.6, 0, .2, 1), filter .6s ease; }
.mx-ri.is-out { opacity: 0; transform: translateY(-40px); filter: blur(12px); pointer-events: none; }
.mx-ri__inner { display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; max-inline-size: 900px; }
.mx-ri__tag { font-size: 13px; font-weight: 700; padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--border); color: var(--muted-2); animation: mx-ri-up .7s cubic-bezier(.2, .8, .2, 1) both; }
.mx-ri__title { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 .24em; font-size: clamp(46px, 8.5vw, 108px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.04; color: var(--ink); }
.mx-ri__word { display: inline-block; overflow: hidden; padding-block-end: .1em; }
.mx-ri__word > span { display: inline-block; animation: mx-ri-word .9s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(.2s + var(--w) * .13s); }
.mx-ri__text { font-size: 19px; line-height: 1.6; color: var(--muted); max-inline-size: 620px; text-wrap: balance; animation: mx-ri-up .8s cubic-bezier(.2, .8, .2, 1) .75s both; }
.mx-ri__go { align-self: center; animation: mx-ri-up .8s cubic-bezier(.2, .8, .2, 1) .95s both, mx-rcta-pulse 3.2s ease-in-out 1.8s infinite; border: 0; cursor: pointer; font-family: inherit; }
.mx-ri__go svg { animation: mx-ri-bob 1.4s ease-in-out infinite; }
.mx-ri__bar { inline-size: 120px; block-size: 3px; border-radius: 3px; background: #d6e6de; overflow: hidden; animation: mx-ri-up .6s ease 1.1s both; }
.mx-ri__bar i { display: block; block-size: 100%; inline-size: 100%; background: var(--green); transform: scaleX(0); transform-origin: left center; animation: mx-ri-bar 1.2s linear 1.2s forwards; }
[dir='rtl'] .mx-ri__bar i { transform-origin: right center; }
@keyframes mx-ri-up { from { opacity: 0; transform: translateY(26px); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes mx-ri-word { from { transform: translateY(110%) rotate(4deg); } to { transform: none; } }
@keyframes mx-ri-bob { 0%, 100% { transform: translateY(-1px); } 50% { transform: translateY(3px); } }
@keyframes mx-ri-bar { to { transform: scaleX(1); } }
.mx-seq .mx-rh [data-seq] { opacity: 0; transform: translateY(36px); filter: blur(10px); }
.mx-seq .mx-rh [data-seq-form] { transform: translateY(80px) scale(.95); }
.mx-seq .mx-rh.is-live [data-seq] { opacity: 1; transform: none; filter: none; transition: opacity .8s ease calc(var(--i) * .15s), transform .95s cubic-bezier(.2, .8, .2, 1) calc(var(--i) * .15s), filter .8s ease calc(var(--i) * .15s); }
@media (max-width: 900px) {
    .mx-rp__box { grid-template-columns: minmax(0, 1fr); padding: 32px 22px; gap: 28px; }
    .mx-rp__scene { min-block-size: 300px; }
    .mx-hw__grid { grid-template-columns: minmax(0, 1fr); gap: 64px; }
    .mx-hw__step:not(:last-child)::after { inset-inline-end: auto; inset-inline-start: calc(50% - 22px); inset-block-start: auto; inset-block-end: -42px; rotate: 90deg; }
    .mx-rpick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .mx-rp { padding-block: 8px 64px; }
    .mx-rcta { align-self: stretch; justify-content: center; }
    .mx-rp .mx-rcta { align-self: stretch; }
    .mx-rh__form { flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) { .mx-js .mx-reveal { opacity: 1; transform: none; } }

.mx-section--soft + .mx-cta { padding-block-start: 64px; }

/* Hero: the ride button is exactly as wide as the two store badges under it */
.mx-heroact { align-self: flex-start; display: inline-flex; flex-direction: column; gap: 14px; max-inline-size: 100%; }
.mx-heroact .mx-rcta { align-self: stretch; justify-content: center; }
