/* Sahla public landing page: the scroll-driven delivery map (see landing-road.js). */

:root {
    --sahla-orange: #f58220;
    --sahla-orange-dark: #e07012;
    --sahla-orange-soft: rgba(245, 130, 32, 0.12);
    --sahla-ink: #111111;
    --sahla-text: #1f2937;
    --sahla-muted: #6b7280;
    --sahla-border: #e5e7eb;
    --sahla-bg: #faf7f2;
    --sahla-surface: #ffffff;
    --sahla-surface-2: #f6f1ea;
    /* Map (Google Maps-like day palette) */
    --map-land: #f4f2ed;
    --map-building: #e8e4dc;
    --map-park: #cfe9c7;
    --map-water: #aad3f2;
    --map-street: #ffffff;
    --map-street-casing: #e1ddd4;
    --map-avenue: #ffffff;
    --map-avenue-casing: #d3cdc1;
    --map-highway: #fde59a;
    --map-highway-casing: #efc65a;
    --map-label: #7d766a;
    --map-highway-label: #8a6410;
    --route-casing: #ffffff;
    --route-ahead: #a2abb8;
    --route-done: #f58220;
    --route-done-casing: #c4600c;
    --pin: #9aa3af;
    --pin-dest: #ea4335;
    --panel-bg: rgba(255, 255, 255, 0.92);
    /* Step cards are a little see-through so the moto shows behind them. */
    --step-card-bg: rgba(255, 255, 255, 0.75);
    --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.06);
    --shadow-md: 0 10px 30px rgba(16, 24, 40, 0.08);
    --radius: 16px;
    --gutter: 16px;
    --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans Arabic", sans-serif;
    color-scheme: light;
}

[data-theme="dark"] {
    color-scheme: dark;
    --sahla-orange-soft: rgba(245, 130, 32, 0.2);
    --sahla-ink: #f7f4ef;
    --sahla-text: #ebe6df;
    --sahla-muted: #a8a29a;
    --sahla-border: #3a342c;
    --sahla-bg: #14110e;
    --sahla-surface: #1e1a16;
    --sahla-surface-2: #2a241e;
    /* Map (night palette) */
    --map-land: #1c2128;
    --map-building: #232a33;
    --map-park: #1b3326;
    --map-water: #0f2840;
    --map-street: #343d4a;
    --map-street-casing: #262d36;
    --map-avenue: #414b5a;
    --map-avenue-casing: #2b323d;
    --map-highway: #5c4e2c;
    --map-highway-casing: #43391f;
    --map-label: #7f8996;
    --map-highway-label: #e2c27a;
    --route-casing: #0f1318;
    --route-ahead: #5d6876;
    --route-done: #ff9a3d;
    --route-done-casing: #a85309;
    --pin: #6b7684;
    --pin-dest: #f2665a;
    --panel-bg: rgba(30, 26, 22, 0.9);
    --step-card-bg: rgba(30, 26, 22, 0.72);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.45);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.5);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.landing {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font);
    color: var(--sahla-text);
    background: var(--sahla-bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    line-height: 1.55;
}

h1, h2 {
    color: var(--sahla-ink);
    line-height: 1.15;
    margin: 0 0 0.6rem;
    text-wrap: balance;
}

h2 {
    font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.2rem);
}

p {
    margin: 0 0 1rem;
}

a {
    color: var(--sahla-orange-dark);
}

:focus-visible {
    outline: 3px solid rgba(245, 130, 32, 0.45);
    outline-offset: 2px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.6rem 1.2rem;
    border-radius: 12px;
    border: 1px solid transparent;
    font: inherit;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn--primary {
    background: var(--sahla-orange);
    color: #fff;
    box-shadow: 0 8px 20px rgba(245, 130, 32, 0.28);
}

.btn--primary:hover {
    background: var(--sahla-orange-dark);
}

.btn--ghost {
    background: var(--sahla-surface);
    color: var(--sahla-ink);
    border-color: var(--sahla-border);
}

.btn--ghost:hover {
    border-color: var(--sahla-orange);
}

.btn--lg {
    min-height: 52px;
    padding: 0.8rem 1.5rem;
    font-size: 1.05rem;
}

/* ===== Top bar ===== */
.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.6rem var(--gutter);
    padding-top: max(0.6rem, env(safe-area-inset-top));
    background: color-mix(in srgb, var(--sahla-bg) 85%, transparent);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--sahla-border);
}

.topbar__brand {
    display: inline-flex;
    flex-shrink: 0;
}

.topbar__logo {
    height: 36px;
    width: auto;
    display: block;
}

.topbar__logo--dark,
[data-theme="dark"] .topbar__logo--light {
    display: none;
}

[data-theme="dark"] .topbar__logo--dark {
    display: block;
}

.topbar__actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
}

.lang-flags {
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
    padding: 0.2rem;
    border-radius: 999px;
    border: 1px solid var(--sahla-border);
    background: var(--sahla-surface);
}

.lang-flags__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.35rem;
    min-height: 1.95rem;
    padding-inline: 0.45rem;
    border-radius: 999px;
    transition: background-color 0.15s ease, transform 0.15s ease;
}

.lang-flags__btn:hover {
    transform: scale(1.06);
}

.lang-flags__btn.is-active {
    background: var(--sahla-orange-soft);
}

.lang-flags__flag {
    display: block;
    width: 1.4rem;
    height: 0.95rem;
    border-radius: 3px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
    opacity: 0.7;
    transition: opacity 0.15s ease;
}

.lang-flags__btn:hover .lang-flags__flag,
.lang-flags__btn.is-active .lang-flags__flag {
    opacity: 1;
}

.lang-flags--footer {
    margin-top: 1rem;
    width: fit-content;
}

.theme-toggle {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 999px;
    border: 1px solid var(--sahla-border);
    background: var(--sahla-surface);
    color: var(--sahla-ink);
    cursor: pointer;
}

.theme-toggle svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.theme-toggle__sun,
[data-theme="dark"] .theme-toggle__moon {
    display: none;
}

[data-theme="dark"] .theme-toggle__sun {
    display: block;
}

/* ===== Journey layout: content panels over a full-width map, route down the middle ===== */
.journey {
    position: relative;
    overflow-x: clip;
}

.journey-map {
    display: none;
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 140px, #000 calc(100% - 140px), transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0, #000 140px, #000 calc(100% - 140px), transparent 100%);
}

.js .journey-map {
    display: block;
}

.map {
    display: block;
    width: 100%;
    height: 100%;
    visibility: hidden;
}

.map.is-ready {
    visibility: visible;
}

.stop {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr minmax(200px, 24%) 1fr;
    max-width: 1180px;
    margin: 0 auto;
    padding: clamp(3.5rem, 8vw, 6rem) var(--gutter);
}

.stop[data-side="start"] .stop__content {
    grid-column: 1;
}

.stop[data-side="end"] .stop__content {
    grid-column: 3;
}

.stop[data-side="center"] .stop__content {
    grid-column: 1 / -1;
    justify-self: center;
    max-width: 640px;
    text-align: center;
}

/* Every stop is a panel floating on the map. */
.stop__content,
.card {
    padding: clamp(1.25rem, 3vw, 2rem);
    border-radius: var(--radius);
    background: var(--panel-bg);
    border: 1px solid var(--sahla-border);
    box-shadow: var(--shadow-md);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.stop__content {
    min-width: 0;
}

/* ===== Step cards: icon badge, see-through panel, active / hover motion ===== */
.card.card--step {
    background: var(--step-card-bg);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.step-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.step-head .step-tag {
    margin-bottom: 0;
}

.step-icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 2.9rem;
    height: 2.9rem;
    border-radius: 14px;
    background: var(--sahla-orange-soft);
    color: var(--sahla-orange-dark);
    box-shadow: inset 0 0 0 1px rgba(245, 130, 32, 0.25);
    transition: background-color 0.35s ease, color 0.35s ease, box-shadow 0.35s ease;
}

.step-icon svg {
    width: 1.55rem;
    height: 1.55rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.card--step {
    transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.stop.is-active .card--step {
    border-color: rgba(245, 130, 32, 0.55);
    box-shadow: 0 0 0 3px rgba(245, 130, 32, 0.16), 0 18px 40px rgba(245, 130, 32, 0.18);
}

.stop.is-active .step-icon {
    background: var(--sahla-orange);
    color: #fff;
    box-shadow: 0 6px 16px rgba(245, 130, 32, 0.4);
}

.eyebrow,
.step-tag {
    display: inline-block;
    margin-bottom: 0.75rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--sahla-orange-dark);
}

.step-tag {
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    background: var(--sahla-orange-soft);
}

.lede {
    color: var(--sahla-muted);
    font-size: 1.05rem;
}

.note {
    font-size: 0.9rem;
    color: var(--sahla-muted);
    padding: 0.6rem 0.8rem;
    border-radius: 10px;
    background: var(--sahla-surface-2);
}

.checklist {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
    display: grid;
    gap: 0.5rem;
}

.checklist li {
    position: relative;
    padding-inline-start: 1.75rem;
}

.checklist li::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 0.3em;
    width: 1.1rem;
    height: 1.1rem;
    border-radius: 999px;
    background: var(--sahla-orange-soft)
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e07012' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 70% no-repeat;
}

/* ===== Hero ===== */
.hero {
    position: relative;
    overflow: hidden;
    min-height: calc(100vh - 60px);
    min-height: calc(100svh - 60px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(2rem, 5vw, 4rem) var(--gutter) 1.5rem;
}

.hero__glow {
    position: absolute;
    inset: -20% -10% auto auto;
    width: min(720px, 90vw);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 130, 32, 0.22) 0%, rgba(245, 130, 32, 0) 65%);
    pointer-events: none;
}

[dir="rtl"] .hero__glow {
    inset: -20% auto auto -10%;
}

.hero__inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: clamp(2rem, 5vw, 4rem);
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
}

.hero__title {
    font-size: clamp(2.1rem, 1.3rem + 3.6vw, 3.6rem);
    letter-spacing: -0.02em;
}

[dir="rtl"] .hero__title {
    letter-spacing: 0;
    line-height: 1.3;
}

.hero__text {
    font-size: 1.15rem;
    color: var(--sahla-muted);
    max-width: 34rem;
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.hero__facts {
    list-style: none;
    padding: 0;
    margin: 2rem 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1.4rem;
    color: var(--sahla-text);
    font-size: 0.92rem;
    font-weight: 600;
}

.hero__facts li {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.hero__facts svg {
    width: 20px;
    height: 20px;
    padding: 4px;
    box-sizing: content-box;
    border-radius: 999px;
    background: var(--sahla-orange-soft);
    fill: none;
    stroke: var(--sahla-orange-dark);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hero__scroll {
    position: relative;
    align-self: center;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 2rem;
    font-size: 0.9rem;
    color: var(--sahla-muted);
    text-decoration: none;
}

.hero__scroll svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    animation: nudge 1.6s ease-in-out infinite;
}

@keyframes nudge {
    50% { transform: translateY(4px); }
}

/* Phone mockup */
.hero__visual {
    position: relative;
    justify-self: center;
    padding: 1.5rem 2.5rem;
}

.phone {
    position: relative;
    width: 270px;
    padding: 12px;
    border-radius: 38px;
    background: #16120e;
    box-shadow: 0 30px 60px rgba(16, 24, 40, 0.22), inset 0 0 0 2px #2c2620;
    transform: rotate(-3deg);
    animation: float 6s ease-in-out infinite;
}

[dir="rtl"] .phone {
    transform: rotate(3deg);
}

@keyframes float {
    50% { translate: 0 -10px; }
}

.phone__notch {
    position: absolute;
    top: 18px;
    left: 50%;
    width: 72px;
    height: 18px;
    margin-left: -36px;
    border-radius: 999px;
    background: #16120e;
    z-index: 2;
}

.phone__screen {
    border-radius: 28px;
    overflow: hidden;
    background: var(--sahla-surface);
    padding: 2.4rem 0.9rem 1rem;
    display: grid;
    gap: 0.8rem;
}

.mock-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mock-head__title {
    font-weight: 800;
    color: var(--sahla-ink);
}

.mock-head__eta {
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: var(--sahla-orange-soft);
    color: var(--sahla-orange-dark);
    font-size: 0.75rem;
    font-weight: 700;
}

.mock-map {
    height: 130px;
    border-radius: 16px;
    overflow: hidden;
    background: var(--sahla-surface-2);
}

.mock-map svg {
    width: 100%;
    height: 100%;
    display: block;
}

.mock-map__block {
    fill: var(--sahla-border);
    opacity: 0.7;
}

.mock-map__route {
    fill: none;
    stroke: var(--sahla-orange);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: 2 8;
}

.mock-map__shop {
    fill: var(--sahla-ink);
}

.mock-map__home circle {
    fill: var(--sahla-orange);
}

.mock-map__home path {
    fill: #fff;
}

.mock-map__bike circle {
    fill: var(--sahla-surface);
    stroke: var(--sahla-orange);
    stroke-width: 2.5;
}

.mock-map__bike path {
    fill: none;
    stroke: var(--sahla-ink);
    stroke-width: 1.4;
    stroke-linecap: round;
}

.mock-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.55rem;
    font-size: 0.82rem;
    color: var(--sahla-muted);
}

.mock-steps li {
    position: relative;
    padding-inline-start: 1.6rem;
}

.mock-steps li::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 0.15em;
    width: 0.95rem;
    height: 0.95rem;
    border-radius: 999px;
    border: 2px solid var(--sahla-border);
    background: var(--sahla-surface);
    box-sizing: border-box;
}

.mock-steps li.is-done {
    color: var(--sahla-text);
}

.mock-steps li.is-done::before {
    border-color: var(--sahla-orange);
    background: var(--sahla-orange)
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 70% no-repeat;
}

.mock-steps li.is-active {
    color: var(--sahla-ink);
    font-weight: 700;
}

.mock-steps li.is-active::before {
    border-color: var(--sahla-orange);
    box-shadow: 0 0 0 4px var(--sahla-orange-soft);
    animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {
    50% { box-shadow: 0 0 0 7px rgba(245, 130, 32, 0.08); }
}

.mock-total {
    display: flex;
    justify-content: space-between;
    padding-top: 0.7rem;
    border-top: 1px dashed var(--sahla-border);
    font-size: 0.85rem;
    color: var(--sahla-muted);
}

.mock-total strong {
    color: var(--sahla-ink);
}

.float-chip {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.85rem;
    border-radius: 14px;
    background: var(--sahla-surface);
    border: 1px solid var(--sahla-border);
    box-shadow: var(--shadow-md);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--sahla-ink);
    white-space: nowrap;
    animation: float 7s ease-in-out infinite;
}

.float-chip--top {
    top: 0.25rem;
    inset-inline-start: -1rem;
    animation-delay: -2s;
}

.float-chip--bottom {
    bottom: 0;
    inset-inline-end: -1rem;
    animation-delay: -4s;
}

.float-chip__dot {
    width: 0.6rem;
    height: 0.6rem;
    border-radius: 999px;
    background: #12b76a;
    box-shadow: 0 0 0 4px rgba(18, 183, 106, 0.18);
}

.float-chip__icon {
    color: var(--sahla-orange);
}

/* ===== Stats ===== */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 0.75rem;
    margin: 1.25rem 0 0;
}

.stat {
    padding: 1rem 1.1rem;
    border-radius: var(--radius);
    background: var(--sahla-surface);
    border: 1px solid var(--sahla-border);
    box-shadow: var(--shadow-sm);
}

.stat__value {
    margin: 0;
    font-size: clamp(1.9rem, 1.4rem + 2vw, 2.6rem);
    font-weight: 800;
    color: var(--sahla-orange);
    font-variant-numeric: tabular-nums;
    text-align: start;
}

.stat__label {
    font-size: 0.9rem;
    color: var(--sahla-muted);
    font-weight: 600;
}

/* ===== Shop fronts: a carousel row (landing-stores.js) that advances one card at a time ===== */
.shop-carousel {
    --gap: 0.75rem;
    position: relative;
    margin: 1.25rem 0 1.5rem;
}

.shop-carousel__viewport {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    /* Room for the cards' hover lift and shadow. */
    padding-block: 0.4rem;
    margin-block: -0.4rem;
}

.shop-carousel__viewport::-webkit-scrollbar {
    display: none;
}

/* Once the script drives it: no native scrolling or snapping (re-snapping would shift the cards out of view),
   vertical page scrolling still works over it and horizontal swipes go to the script. */
.shop-carousel.is-ready .shop-carousel__viewport {
    overflow: hidden;
    scroll-snap-type: none;
    touch-action: pan-y;
}

.shopfronts {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: var(--gap);
}

.shop-carousel.is-ready .shopfronts {
    will-change: transform;
}

.shop-carousel.is-animated .shopfronts {
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.shopfront {
    flex: 0 0 100%;
    min-width: 0;
    scroll-snap-align: start;
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: 14px;
    background: var(--sahla-surface);
    border: 1px solid var(--sahla-border);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.shopfront__awning {
    position: absolute;
    inset: 0 0 auto;
    z-index: 1;
    height: 8px;
    background: repeating-linear-gradient(90deg, var(--sahla-orange) 0 14px, var(--sahla-surface-2) 14px 28px);
}

.shopfront__media {
    display: block;
    aspect-ratio: 16 / 9;
    max-height: 220px;
    width: 100%;
    background: var(--sahla-surface-2);
}

.shopfront__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* No store photo: the Sahla logo (white background baked in) on white, in both themes. */
.shopfront__img.is-fallback {
    object-fit: contain;
    padding: 0.9rem 0.6rem 0.4rem;
    background: #fff;
}

.shopfront__body {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.65rem 0.75rem 0.75rem;
    text-align: start;
}

.shopfront__name {
    font-weight: 700;
    color: var(--sahla-ink);
    font-size: 0.95rem;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.shopfront__cat {
    font-size: 0.78rem;
    color: var(--sahla-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.shopfront__rating {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    align-self: flex-start;
    margin-top: 0.2rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--sahla-ink);
    font-variant-numeric: tabular-nums;
}

.shopfront__star {
    color: #f5b301;
    font-size: 0.95rem;
    line-height: 1;
}

.shopfront__count {
    font-weight: 500;
    color: var(--sahla-muted);
}

.shopfront__rating--new {
    padding: 0.1rem 0.5rem;
    border-radius: 999px;
    background: var(--sahla-orange-soft);
    color: var(--sahla-orange-dark);
    font-size: 0.75rem;
}

.shop-carousel__arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    border-radius: 999px;
    border: 1px solid var(--sahla-border);
    background: var(--sahla-surface);
    color: var(--sahla-ink);
    box-shadow: var(--shadow-sm), 0 4px 12px rgba(16, 24, 40, 0.12);
    cursor: pointer;
    transform: translateY(-50%);
    transition: background-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.shop-carousel__arrow[hidden] {
    display: none;
}

.shop-carousel__arrow--prev {
    inset-inline-start: -0.9rem;
}

.shop-carousel__arrow--next {
    inset-inline-end: -0.9rem;
}

.shop-carousel__arrow:hover {
    background: var(--sahla-orange);
    border-color: var(--sahla-orange);
    color: #fff;
}

.shop-carousel__arrow:active {
    transform: translateY(-50%) scale(0.92);
}

.shop-carousel__arrow:focus-visible {
    outline: 2px solid var(--sahla-orange);
    outline-offset: 2px;
}

.shop-carousel__arrow svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

[dir="rtl"] .shop-carousel__arrow svg {
    transform: scaleX(-1);
}

/* ===== App badges (same look as the mobile app gate) ===== */
.mobile-app-gate__stores {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.mobile-app-gate__store {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 12rem;
    padding: 0.7rem 1.15rem 0.7rem 0.85rem;
    border-radius: 12px;
    color: #fff;
    text-decoration: none;
    border: 1px solid transparent;
    box-shadow: 0 6px 18px rgba(16, 24, 40, 0.16);
    transition: transform 0.15s ease, filter 0.15s ease;
}

.mobile-app-gate__store--android {
    background: linear-gradient(160deg, #1f1f1f 0%, #000 100%);
    border-color: #333;
}

.mobile-app-gate__store--ios {
    background: linear-gradient(160deg, #2f6fed 0%, #1758d1 55%, #0d47b8 100%);
    border-color: #1a56c4;
}

.mobile-app-gate__store:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
}

/* Landing app card: both stores side by side on one line. */
.card--app .mobile-app-gate__stores {
    flex-wrap: nowrap;
    gap: 0.5rem;
}

.card--app .mobile-app-gate__store {
    flex: 1 1 0;
    min-width: 0;
    gap: 0.5rem;
    padding: 0.55rem 0.7rem;
}

.card--app .mobile-app-gate__store-icon {
    width: 1.6rem;
    height: 1.6rem;
}

.card--app .mobile-app-gate__store-text {
    min-width: 0;
}

.card--app .mobile-app-gate__store-name {
    font-size: 0.95rem;
    white-space: nowrap;
}

/* Store not published yet: greyed out, not clickable. */
.mobile-app-gate__store.is-soon {
    filter: grayscale(1);
    opacity: 0.5;
    box-shadow: none;
    cursor: not-allowed;
}

.mobile-app-gate__store.is-soon:hover {
    filter: grayscale(1);
    transform: none;
}

.mobile-app-gate__store-icon {
    width: 2rem;
    height: 2rem;
    flex-shrink: 0;
}

.mobile-app-gate__store-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.15;
}

.mobile-app-gate__store-eyebrow {
    font-size: 0.65rem;
    font-weight: 500;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.mobile-app-gate__store-name {
    font-size: 1.05rem;
    font-weight: 700;
}

/* ===== FAQ ===== */
.faq {
    display: grid;
    gap: 0.6rem;
}

.faq-group {
    margin-top: 1.5rem;
}

/* Role tabs + one slide per role (landing-faq.js). */
.faq-tabs {
    display: flex;
    gap: 0.25rem;
    margin-top: 1.25rem;
    padding: 0.25rem;
    border-radius: 16px;
    background: var(--sahla-surface-2);
    border: 1px solid var(--sahla-border);
}

.faq-tabs[hidden] {
    display: none;
}

.faq-tabs__tab {
    flex: 1 1 0;
    min-width: 0;
    padding: 0.55rem 0.4rem;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: var(--sahla-muted);
    font: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.faq-tabs__tab:hover {
    color: var(--sahla-ink);
}

.faq-tabs__tab[aria-selected="true"] {
    background: var(--sahla-orange);
    color: #fff;
    box-shadow: 0 4px 12px rgba(245, 130, 32, 0.3);
}

.faq-tabs__tab:focus-visible {
    outline: 2px solid var(--sahla-orange);
    outline-offset: 2px;
}

.faq-slides.is-ready .faq-slides__viewport {
    overflow: hidden;
    margin-top: 1rem;
    transition: height 0.35s ease;
}

.faq-slides.is-ready .faq-slides__track {
    display: flex;
    align-items: flex-start;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-slides.is-ready .faq-group {
    flex: 0 0 100%;
    min-width: 0;
    margin-top: 0;
}

.faq-slides.is-ready .faq-group__title {
    display: none;
}

@media (prefers-reduced-motion: reduce) {
    .faq-slides.is-ready .faq-slides__viewport,
    .faq-slides.is-ready .faq-slides__track {
        transition: none;
    }
}

.faq-group__title {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0 0 0.75rem;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--sahla-orange-dark);
}

.faq-group__title::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--sahla-border);
}

.faq__item {
    border-radius: 12px;
    background: var(--sahla-surface);
    border: 1px solid var(--sahla-border);
}

.faq__item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 1.1rem;
    font-weight: 600;
    color: var(--sahla-ink);
    cursor: pointer;
    list-style: none;
}

.faq__item summary::-webkit-details-marker {
    display: none;
}

.faq__item summary::after {
    content: "+";
    flex-shrink: 0;
    font-size: 1.3rem;
    line-height: 1;
    color: var(--sahla-orange);
    transition: transform 0.2s ease;
}

.faq__item[open] summary::after {
    transform: rotate(45deg);
}

.faq__item p {
    margin: 0;
    padding: 0 1.1rem 1rem;
    color: var(--sahla-muted);
    line-height: 1.6;
}

/* ===== Destination ===== */
.stop--destination {
    padding-top: 9rem;
    padding-bottom: 5rem;
}

.role-ctas {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin: 1.5rem 0 1rem;
}

.role-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.1rem 0.75rem;
    border-radius: var(--radius);
    background: var(--sahla-surface);
    border: 1px solid var(--sahla-border);
    box-shadow: var(--shadow-sm);
    color: var(--sahla-ink);
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.role-cta:hover {
    transform: translateY(-3px);
    border-color: var(--sahla-orange);
}

.role-cta__icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 999px;
    background: var(--sahla-orange);
}

.role-cta__icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: #fff;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.destination__login {
    font-weight: 600;
}

/* ===== Footer (same structure as the Flexy Pro public footer) ===== */
.site-footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--sahla-border);
    background: var(--sahla-surface);
    padding: 3.5rem var(--gutter) max(2rem, env(safe-area-inset-bottom));
}

.site-footer__grid {
    display: grid;
    gap: 2rem;
    max-width: 1120px;
    margin: 0 auto;
}

@media (min-width: 720px) {
    .site-footer__grid {
        grid-template-columns: 1.4fr 1fr 1fr 1fr;
    }
}

.site-footer__logo {
    display: inline-flex;
}

.site-footer__logo img {
    height: 44px;
    width: auto;
}

.site-footer__brand p {
    margin: 1rem 0;
    color: var(--sahla-muted);
    font-size: 0.95rem;
}

.site-footer h4 {
    margin: 0 0 0.85rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--sahla-muted);
}

[dir="rtl"] .site-footer h4 {
    letter-spacing: 0;
    text-transform: none;
    font-size: 0.9rem;
}

.site-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.5rem;
}

.site-footer a {
    color: var(--sahla-text);
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.15s ease;
}

.site-footer a:hover {
    color: var(--sahla-orange);
}

/* Call / WhatsApp links in the Contact column: a small brand icon next to the label. */
.site-footer a.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.contact-link__icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 999px;
    color: #fff;
}

.contact-link__icon svg {
    width: 0.95rem;
    height: 0.95rem;
}

.contact-link--phone .contact-link__icon {
    background: var(--sahla-orange);
}

.contact-link--phone .contact-link__icon svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linejoin: round;
}

.contact-link--whatsapp .contact-link__icon {
    background: #25d366;
}

.contact-link--whatsapp .contact-link__icon svg {
    fill: currentColor;
}

.site-footer__social-label {
    margin: 1.25rem 0 0.5rem;
    font-size: 0.8rem;
    color: var(--sahla-muted);
}

.social {
    display: flex;
    gap: 0.5rem;
}

.site-footer .social__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 999px;
    border: 1px solid var(--sahla-border);
    color: var(--sahla-muted);
    transition: transform 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.site-footer .social__link:hover {
    transform: scale(1.08);
    color: var(--sahla-orange);
    border-color: var(--sahla-orange);
}

.site-footer__bottom {
    max-width: 1120px;
    margin: 2.5rem auto 0;
    padding-top: 1.25rem;
    border-top: 1px solid var(--sahla-border);
    text-align: center;
}

.site-footer__bottom p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--sahla-muted);
}

.site-footer a.site-footer__credit {
    color: var(--sahla-orange);
    font-size: inherit;
    font-weight: 600;
}

[data-theme="dark"] .site-footer a.site-footer__credit {
    color: #fff;
}

.site-footer a.site-footer__credit:hover {
    filter: brightness(1.08);
}

/* ===== Map ===== */
.map__land {
    fill: var(--map-land);
}

.map__building {
    fill: var(--map-building);
}

.map__park {
    fill: var(--map-park);
}

.map__water {
    fill: none;
    stroke: var(--map-water);
    stroke-linecap: round;
}

.map__streets path {
    fill: none;
    stroke-linecap: square;
}

.map__street-casing {
    stroke: var(--map-street-casing);
    stroke-width: 11px;
}

.map__street {
    stroke: var(--map-street);
    stroke-width: 8px;
}

.map__avenue-casing {
    stroke: var(--map-avenue-casing);
    stroke-width: 18px;
}

.map__avenue {
    stroke: var(--map-avenue);
    stroke-width: 14px;
}

.map__highway-casing {
    stroke: var(--map-highway-casing);
    stroke-width: 20px;
}

.map__highway {
    stroke: var(--map-highway);
    stroke-width: 15px;
}

.map__labels text {
    fill: var(--map-label);
    stroke: var(--map-land);
    stroke-width: 3px;
    paint-order: stroke;
    stroke-linejoin: round;
}

/* Neighbourhood names, like district labels on Google Maps */
.map__labels .map__district {
    font: 700 14px var(--font);
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

[dir="rtl"] .map__labels .map__district {
    font-size: 16px;
    letter-spacing: 0;
}

.map__labels .map__road-name {
    font: 700 10px var(--font);
    letter-spacing: 0.06em;
    fill: var(--map-highway-label);
    stroke: var(--map-highway);
    stroke-width: 2px;
}

/* Real landmarks (icon + name), coloured by kind like points of interest on Google Maps */
.map-place__bg {
    fill: var(--place-color, #5f6368);
    stroke: #fff;
    stroke-width: 2px;
}

.map-place__icon {
    fill: none;
    stroke: #fff;
    stroke-width: 1.6px;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.map-place--park .map-place__icon,
.map-place--spring .map-place__icon,
.map-place--culture .map-place__icon {
    fill: #fff;
    stroke-width: 0.8px;
}

.map__labels .map-place__name {
    font: 600 12px var(--font);
    fill: var(--place-color, #5f6368);
    stroke: var(--map-land);
    stroke-width: 3.5px;
}

[data-theme="dark"] .map__labels .map-place__name {
    fill: color-mix(in srgb, var(--place-color, #9aa0a6) 70%, #fff);
}

.map-place--hospital { --place-color: #d93025; }
.map-place--park,
.map-place--stadium { --place-color: #188038; }
.map-place--bus { --place-color: #1a73e8; }
.map-place--water,
.map-place--spring { --place-color: #1967d2; }
.map-place--school,
.map-place--library { --place-color: #9334e6; }
.map-place--culture { --place-color: #12a4af; }
.map-place--townhall,
.map-place--mosque,
.map-place--civic { --place-color: #5f6368; }

/* ===== Route ===== */
.route {
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.route--casing {
    stroke: var(--route-casing);
    stroke-width: 14px;
}

.route--ahead {
    stroke: var(--route-ahead);
    stroke-width: 8px;
}

.route--done-casing {
    stroke: var(--route-done-casing);
    stroke-width: 12px;
}

.route--done {
    stroke: var(--route-done);
    stroke-width: 8px;
}

.map-start circle:first-child {
    fill: var(--route-casing);
    stroke: var(--route-done-casing);
    stroke-width: 3px;
}

.map-start circle:last-child {
    fill: var(--route-done);
}

/* Stop pins */
.map-pin__shadow {
    fill: rgba(0, 0, 0, 0.22);
}

.map-pin__body {
    fill: var(--pin);
    stroke: rgba(0, 0, 0, 0.18);
    stroke-width: 1px;
    transition: fill 0.3s ease;
}

.map-pin__dot {
    fill: #fff;
    transition: opacity 0.2s ease;
}

.map-pin__check {
    fill: none;
    stroke: #fff;
    stroke-width: 2.6px;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.map-pin {
    transform-box: fill-box;
}

.map-pin.is-reached .map-pin__body {
    fill: var(--route-done);
}

.map-pin.is-reached .map-pin__dot {
    opacity: 0;
}

.map-pin.is-reached .map-pin__check {
    opacity: 1;
}

.map-dest__body {
    fill: var(--pin-dest);
    stroke: rgba(0, 0, 0, 0.2);
    stroke-width: 1px;
}

.map-dest__home {
    fill: none;
    stroke: #fff;
    stroke-width: 2.6px;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Navigation puck */
.puck {
    will-change: transform;
}

.puck__halo {
    fill: rgba(245, 130, 32, 0.18);
    transform-box: fill-box;
    transform-origin: center;
    animation: puck-pulse 2s ease-out infinite;
}

@keyframes puck-pulse {
    from { transform: scale(0.55); opacity: 1; }
    to { transform: scale(1.15); opacity: 0; }
}

.puck__heading path {
    fill: var(--route-done);
    stroke: #fff;
    stroke-width: 2px;
    stroke-linejoin: round;
}

.puck__ring {
    fill: #fff;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.puck__core {
    fill: var(--sahla-orange);
}

.puck__bike circle,
.puck__bike path {
    fill: none;
    stroke: #fff;
    stroke-width: 2.2px;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.journey.is-arrived .puck__halo,
.journey.is-arrived .puck__heading {
    display: none;
}

/* ETA callout next to the puck */
.route-eta {
    position: absolute;
    top: 0;
    left: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.65rem;
    border-radius: 10px;
    background: var(--sahla-surface);
    color: var(--sahla-ink);
    font-size: 0.85rem;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
    will-change: transform;
}

.route-eta.is-flipped {
    translate: -100% 0;
}

.route-eta svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: var(--sahla-orange);
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.journey.is-arrived .route-eta {
    background: var(--sahla-orange);
    color: #fff;
}

.journey.is-arrived .route-eta svg {
    stroke: #fff;
}

/* ===== Reveal (JS only, motion allowed) ===== */
@media (prefers-reduced-motion: no-preference) {
    .js .journey.is-live .stop .stop__content {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .js .journey.is-live .stop[data-side="start"] .stop__content {
        transform: translateX(calc(32px * var(--dir, 1)));
    }

    .js .journey.is-live .stop[data-side="end"] .stop__content {
        transform: translateX(calc(-32px * var(--dir, 1)));
    }

    .js .journey.is-live .stop.is-revealed .stop__content {
        opacity: 1;
        transform: none;
    }

    /* Once revealed, step cards lift when active and tilt toward the pointer (--rx/--ry set by landing-road.js). */
    .js .journey.is-live .stop.is-revealed .card--step {
        transform: perspective(900px) translateY(var(--lift, 0px)) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
        transition: opacity 0.6s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
            border-color 0.35s ease, box-shadow 0.35s ease;
    }

    .js .journey.is-live .stop.is-revealed .card--step.is-tilting {
        transition: opacity 0.6s ease, transform 0.12s ease-out, border-color 0.35s ease, box-shadow 0.35s ease;
    }

    .js .journey.is-live .stop.is-active .card--step {
        --lift: -5px;
    }

    .js .journey.is-live .stop .card--step.is-tilting {
        --lift: -7px;
        box-shadow: 0 22px 44px rgba(16, 24, 40, 0.16);
    }

    .step-icon svg {
        animation: step-float 3.2s ease-in-out infinite;
    }

    .stop[data-checkpoint="2"] .step-icon svg {
        animation-delay: -1.1s;
    }

    .stop[data-checkpoint="3"] .step-icon svg {
        animation-delay: -2.2s;
    }

    .stop.is-active .step-icon svg {
        animation-duration: 1.8s;
    }

    .js .journey.is-live .stop--destination .role-cta {
        opacity: 0;
        transform: translateY(16px) scale(0.96);
        transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    .js .journey.is-arrived .stop--destination .role-cta {
        opacity: 1;
        transform: none;
    }

    .js .journey.is-arrived .stop--destination .role-cta:nth-child(2) {
        transition-delay: 0.1s;
    }

    .js .journey.is-arrived .stop--destination .role-cta:nth-child(3) {
        transition-delay: 0.2s;
    }
}

@keyframes step-float {
    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    30% {
        transform: translateY(-3px) rotate(-4deg);
    }

    65% {
        transform: translateY(1px) rotate(3deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .hero__scroll svg,
    .puck__halo,
    .phone,
    .float-chip,
    .mock-steps li.is-active::before {
        animation: none;
    }
}

[dir="rtl"] {
    --dir: -1;
}

/* ===== Phones: panels stack over the map, the route stays in the middle behind them ===== */
@media (max-width: 767.98px) {
    .topbar__login {
        display: none;
    }

    .lang-flags__btn {
        min-width: 2.1rem;
        padding-inline: 0.35rem;
    }

    .stop {
        display: block;
        padding-block: 4.5rem;
    }

    .stop__content,
    .card {
        background: color-mix(in srgb, var(--panel-bg) 88%, transparent);
    }

    .card.card--step {
        background: var(--step-card-bg);
    }

    .stop[data-side="center"] .stop__content {
        text-align: start;
    }

    .hero {
        min-height: auto;
        padding-top: 2rem;
    }

    .hero__inner {
        grid-template-columns: 1fr;
    }

    .hero__visual {
        padding: 1rem 1.5rem 0;
    }

    .phone {
        width: 240px;
    }

    .stop--destination {
        padding-top: 6rem;
    }

    .role-ctas {
        grid-template-columns: 1fr;
    }

    .role-cta {
        flex-direction: row;
    }

    .route--casing {
        stroke-width: 12px;
    }

    .route--ahead,
    .route--done {
        stroke-width: 7px;
    }

    .route--done-casing {
        stroke-width: 10px;
    }

    .js .journey.is-live .stop[data-side="start"] .stop__content,
    .js .journey.is-live .stop[data-side="end"] .stop__content {
        transform: translateY(24px);
    }
}

@media (max-width: 380px) {
    .lang-flags__btn {
        min-width: 1.9rem;
        padding-inline: 0.25rem;
    }
}
