/* The language switch, and the English (left-to-right) variation of every page.
   Layout follows the reading direction through logical properties; only what was
   drawn for right-to-left by hand is turned around here. See assets/js/lang.js. */
.lang-btn { min-height: 36px; padding: 6px 14px; border: 1px solid var(--line); border-radius: var(--r-pill, 999px); background: var(--surface); color: var(--ink); font: 600 .8125rem/1.2 var(--font-latin, inherit); cursor: pointer; white-space: nowrap; transition: border-color .2s ease, color .2s ease; }
.lang-btn[lang="ar"] { font-family: 'IBM Plex Sans Arabic', system-ui, sans-serif; }
.lang-btn:hover { border-color: var(--hover-line, currentColor); color: var(--hover-ink, inherit); }
@media (max-width: 850px) { .lang-btn { min-height: 44px; } }

/* Latin faces for English text and headings. */
html[lang="en"] { --font-ar: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif; --font-display: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif; }
html[lang="en"] :is(.welcome, .hero h2, .modal h2, .service-hero h1, .enterprise-hero h1, .service-title h1) { font-weight: 600; line-height: 1.2; letter-spacing: -.015em; }
html[lang="en"] :is(.brand, .assistant-head h2) { font-weight: 600; }

/* Arrows and markers travel along the reading direction. */
[dir="ltr"] :is(.order-card, .zone-card, .session-card):hover .chevron { transform: translateX(3px); }
[dir="ltr"] svg:has(> use[href="#next"]) { transform: scaleX(-1); }
[dir="ltr"] .enterprise-timeline li { padding: 0 0 24px 36px; }
[dir="ltr"] .enterprise-timeline li:last-child { padding-bottom: 0; }
[dir="ltr"] .enterprise-timeline li:before { right: auto; left: -8px; }
[dir="ltr"] .service-timeline li { padding: 0 0 24px 24px; }
[dir="ltr"] .service-timeline li:last-child { padding-bottom: 0; }
[dir="ltr"] .service-timeline li::before { right: auto; left: -7px; }
[dir="ltr"] .service-hero .hero-art { left: auto; right: -50px; transform: rotate(12deg); }
@media (max-width: 600px) { [dir="ltr"] .service-hero .hero-art { right: -60px; } }
