/* ============================================================
   DeepSynergy — RTL & Arabic overrides
   Applied automatically when translations.js sets dir="rtl"
   ============================================================ */

/* Arabic font loaded on demand */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Arabic:wght@300;400;500;600;700&display=swap');

[dir="rtl"] {
  font-family: 'Noto Sans Arabic', 'Segoe UI', 'DM Sans', system-ui, sans-serif;
}

/* ── Nav ── */
[dir="rtl"] .nav-inner { flex-direction: row-reverse; }
[dir="rtl"] .nav-links { flex-direction: row-reverse; }
[dir="rtl"] .nav-actions { flex-direction: row-reverse; }
[dir="rtl"] .lang-select {
  background-position: left 6px center;
  padding-left: 20px;
  padding-right: 8px;
}

/* ── Mobile drawer ── */
[dir="rtl"] .mobile-drawer-inner,
[dir="rtl"] .mobile-drawer-footer { direction: rtl; }
[dir="rtl"] .mobile-nav-links { text-align: right; }

/* ── Hero ── */
[dir="rtl"] .hero-tag-row { flex-direction: row-reverse; }
[dir="rtl"] .hero h1,
[dir="rtl"] .hero-mission,
[dir="rtl"] .hero-sub { text-align: right; }
[dir="rtl"] .hero-ctas { flex-direction: row-reverse; justify-content: flex-start; }
[dir="rtl"] .stat-grid .stat-card { text-align: right; }

/* ── Section headers ── */
[dir="rtl"] .sec-header { text-align: right; }
[dir="rtl"] .sec-header.center { text-align: center; }
[dir="rtl"] .eyebrow { text-align: right; }

/* ── Cards ── */
[dir="rtl"] .diff-card,
[dir="rtl"] .svc-card,
[dir="rtl"] .ind-card,
[dir="rtl"] .region-card { text-align: right; }
[dir="rtl"] .svc-card-footer { flex-direction: row-reverse; }
[dir="rtl"] .svc-link { flex-direction: row-reverse; }
[dir="rtl"] .ind-top { flex-direction: row-reverse; }
[dir="rtl"] .ind-wins { text-align: right; }

/* ── ISO phases ── */
[dir="rtl"] .iso-checks { text-align: right; }
[dir="rtl"] .iso-check { flex-direction: row-reverse; gap: 10px; }
[dir="rtl"] .iso-phases { text-align: right; }
[dir="rtl"] .iso-phase { text-align: right; border-right: none; border-left: 2px solid rgba(93,202,165,0.2); padding: 16px 16px 16px 0; }

/* ── Case strip ── */
[dir="rtl"] .case-inner { flex-direction: row-reverse; }
[dir="rtl"] .case-metrics { flex-direction: row-reverse; }

/* ── Contact form ── */
[dir="rtl"] .form-label { display: block; text-align: right; }
[dir="rtl"] .form-input,
[dir="rtl"] .form-select { text-align: right; direction: rtl; }
[dir="rtl"] .form-row { flex-direction: row-reverse; }
[dir="rtl"] .form-actions { text-align: right; }
[dir="rtl"] .ceo-row { flex-direction: row-reverse; }

/* ── Lang strip ── */
[dir="rtl"] .lang-inner { flex-direction: row-reverse; }
[dir="rtl"] .lang-pills { flex-direction: row-reverse; flex-wrap: wrap; }

/* ── Trust strip ── */
[dir="rtl"] .trust-inner { flex-direction: row-reverse; }
[dir="rtl"] .trust-logos { flex-direction: row-reverse; }

/* ── Reach ── */
[dir="rtl"] .regions-grid .region-card { text-align: right; }

/* ── Footer ── */
[dir="rtl"] .footer-grid { direction: rtl; }
[dir="rtl"] .footer-col { text-align: right; }
[dir="rtl"] .footer-links { text-align: right; align-items: flex-end; }
[dir="rtl"] .footer-brand { text-align: right; }
[dir="rtl"] .footer-brand a { flex-direction: row-reverse; }
[dir="rtl"] .footer-bottom { flex-direction: row-reverse; }
[dir="rtl"] .footer-copy { text-align: right; }
[dir="rtl"] .footer-legal { flex-direction: row-reverse; }

/* ── Page hero breadcrumb ── */
[dir="rtl"] .breadcrumb { direction: rtl; }

/* ── Buttons ── */
[dir="rtl"] .btn { flex-direction: row-reverse; }
