/* IFM - Arabic (RTL) layer. Loaded only on /ar/ pages, after ifm.css (23.11.2026).
   Fonts: no new files. Latin (brand names, digits) keeps the site fonts, Arabic glyphs fall back to the system stack. */

html[dir="rtl"] { font-family: 'Montserrat', system-ui, -apple-system, "Segoe UI", Tahoma, "Noto Sans Arabic", "Geeza Pro", sans-serif; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] .bp-name, [dir="rtl"] .bp-tagline, [dir="rtl"] .bp-lead, [dir="rtl"] .bp-essence, [dir="rtl"] .pn-h {
	font-family: 'Cormorant Garamond', system-ui, -apple-system, "Segoe UI", Tahoma, "Noto Sans Arabic", "Geeza Pro", serif;
	font-style: normal; letter-spacing: 0; font-variant-numeric: lining-nums;
}

/* no letter-spacing / uppercase on Arabic */
[dir="rtl"] .bp-eyebrow, [dir="rtl"] .bp-back, [dir="rtl"] .bp-cta a, [dir="rtl"] .bp-note,
[dir="rtl"] .enq label, [dir="rtl"] .enq-actions button.primary { letter-spacing: 0; text-transform: none; }

/* line-height for Arabic script */
[dir="rtl"] p, [dir="rtl"] .about span, [dir="rtl"] .bp-body { line-height: 1.8; }
[dir="rtl"] h1 { line-height: 1.25; }
[dir="rtl"] h2 { line-height: 1.35; }
[dir="rtl"] h3 { line-height: 1.5; }
[dir="rtl"] .bp-name { line-height: 1.35; }
[dir="rtl"] .bp-tagline, [dir="rtl"] .bp-lead, [dir="rtl"] .bp-essence { line-height: 1.7; }
[dir="rtl"] .menu li { line-height: 1.4; }
[dir="rtl"] header article p { line-height: 1.5; }
[dir="rtl"] .bp-eyebrow { font-size: 0.85rem; }

/* home: slide-in menu from the right */
[dir="rtl"] header .menu { left: auto; right: -2000px; }
[dir="rtl"] header.open .menu { left: auto; right: 0; }
[dir="rtl"] header .menu::before { left: auto; right: -3000px; }
[dir="rtl"] #panel .social { right: auto; left: 0; }
[dir="rtl"] header article > div { right: auto; left: 0; }

/* trademark logo strip: keep its LTR loop (decorative, aria-hidden) */
[dir="rtl"] .marquee { direction: ltr; }

/* slider arrows: Swiper runs in RTL mode; "next" sits on the left and points left */
[dir="rtl"] .arrows button.left { transform: none; }
[dir="rtl"] .arrows button.right { transform: scaleX(-1); }
[dir="rtl"] .arrows button.left:hover { left: 0.2rem !important; }
[dir="rtl"] .arrows button.right:hover { right: 0.2rem !important; }

/* toggle icon in "What we do" cards */
[dir="rtl"] #what h3::after { transform: scaleX(-1); }

/* contacts plaque: DMCC image on the left */
[dir="rtl"] .address > div { float: left; margin-left: 0; margin-right: 1.5rem; }
@media (max-width: 677px) { [dir="rtl"] .address > div { float: none; margin: 0 0 1.5rem 0; } }
@media (min-width: 1000px) { [dir="rtl"] .copyright { margin-left: 0; margin-right: 1.5rem; } }

/* off-screen helpers to the right (left overflow would scroll in RTL) */
[dir="rtl"] .skip-link { left: auto; right: -9999px; border-radius: 0 0 0 0.5rem; }
[dir="rtl"] .skip-link:focus { right: 0; }
[dir="rtl"] .enq-hp { left: auto; right: -10000px; }

/* form */
[dir="rtl"] .enq select { background-position: 1rem 55%, 1.3rem 55%; padding-left: 2.4rem; }
[dir="rtl"] .enq input[type="email"] { direction: ltr; text-align: right; }

/* privacy: translation notice */
.pn-ar-note { max-width: 46rem; font-size: 0.95rem; color: #cfc4ad; border: solid 1px #2a2114; border-radius: 1rem; padding: 0.9rem 1.2rem; margin-bottom: 2.4rem; }
