/* KHAYAL Arabic layer. The main stylesheet already uses logical properties; this file only adjusts type and icons. */
html[dir="rtl"] { --font: "Plex Arabic", "Manrope", Tahoma, "Segoe UI", sans-serif; }
html[dir="rtl"] body { font-family: var(--font); line-height: 1.8; }
html[dir="rtl"] :is(h1, h2, h3, h4, .k-h1, .k-h2, .k-h3, .k-h4) { letter-spacing: 0; line-height: 1.3; font-weight: 700; }
html[dir="rtl"] .k-h1 { font-size: clamp(2rem, 4vw, 3.4rem); }
html[dir="rtl"] .k-h1--xl { font-size: clamp(2.3rem, 5.2vw, 4.4rem); }
/* No Arabic italics: the accent clause is set in gold, upright, same family. */
html[dir="rtl"] :is(.k-h1, .k-h2, .k-h3) em, html[dir="rtl"] .k-footer__brandline em { font-family: var(--font); font-style: normal; font-weight: 700; font-size: 1em; line-height: inherit; letter-spacing: 0; }
html[dir="rtl"] :is(.k-statement) { font-family: var(--font); font-style: normal; font-weight: 500; font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.6; }
html[dir="rtl"] :is(.k-step__n, .k-card__n, .k-feature__n, .k-row__n, .k-svc__n, .k-timeline__n) { font-family: "Manrope", sans-serif; font-style: normal; font-weight: 600; }
html[dir="rtl"] :is(.k-eyebrow, .k-kicker, .k-related__cat, .k-pcard__tag, .k-facts dt, .k-footer__title, .k-contact__label, .k-ba__tag, .k-nextproj__label, .k-vm__label, .k-mega__overview, .k-timeline__card dt, .k-table thead th, .k-bagrid__label) { letter-spacing: 0; text-transform: none; font-size: .86rem; }
html[dir="rtl"] .k-lead { line-height: 1.85; }
/* Arrows and chevrons point the reading direction. */
html[dir="rtl"] :is(.k-link, .k-card__go, .k-pcard__go, .k-btn--gold, .k-mega__overview, .k-mega__foot, .k-mlink, .k-svc__item, .k-nextproj__inner, .k-bento__go, .k-mega__cat) .k-icon:not(.k-flip),
html[dir="rtl"] .k-related__go, html[dir="rtl"] .k-check--signal .k-icon { transform: scaleX(-1); }
html[dir="rtl"] .k-flip { transform: none; }
html[dir="rtl"] .k-btn--gold:hover .k-icon, html[dir="rtl"] .k-card:hover .k-card__go .k-icon, html[dir="rtl"] .k-pcard:hover .k-pcard__go .k-icon { transform: scaleX(-1) translateX(4px); }
html[dir="rtl"] .k-nextproj__inner:hover .k-icon { transform: scaleX(-1) translateX(6px); }
html[dir="rtl"] .k-mega__links a:hover { padding-inline-start: 6px; }
/* Numbers, phones and emails stay left-to-right inside Arabic text. */
html[dir="rtl"] :is(a[href^="tel:"] span, a[href^="mailto:"] span, input[type="email"], input[type="tel"], .k-verify b) { direction: ltr; unicode-bidi: isolate; }
html[dir="rtl"] .k-field input[type="email"] { text-align: right; }
html[dir="rtl"] .k-lang span, html[dir="rtl"] .k-mlink--lang span { font-family: "Manrope", sans-serif; }
