/* RTL + Arabic typography overrides — loaded AFTER style.css, only on /ar/ pages */

body{
  font-family:'Tajawal', sans-serif;
  direction:rtl;
  text-align:right;
}
h1, h2, h3, h4, .brand-word .g1, .eyebrow, .stage-index, .nav-links a, .btn,
.stat-num, .warranty-row .num, .proof-label, .doc-cat, .stage-sector{
  font-family:'Cairo', sans-serif;
}
.lead, .intro, p{ text-align:right; }

/* Nav: direction:rtl (inherited) already mirrors flex order naturally — logo lands
   on the right, links flow right-to-left, no explicit row-reverse needed */
.nav-toggle{margin:-10px 0 -10px -10px;}

/* Borders/accents that were left-anchored flip to right-anchored */
.stage-feature, .doc-note, .warranty-row{border-left:none;}
.stage-feature{border-right:2px solid var(--gold-500); padding-left:0; padding-right:20px;}
.doc-note{border-left:none; border-right:2px solid var(--gold-500);}

/* Diagonal chamfer cuts mirror to the opposite corner */
.hero{clip-path:polygon(0 0, 100% 0, 100% 100%, 90px 100%, 0 calc(100% - var(--chamfer)));}
.stage-media{clip-path:polygon(0 0, 100% 0, 100% calc(100% - 28px), 28px 100%, 0 100%);}
.project-card{clip-path:polygon(100% 0, 100% 100%, 0 100%, 0 26px, 26px 0);}
.identity-box{clip-path:polygon(100% 0, 100% 100%, 0 100%, 0 0, 28px 0);}
.value-card{clip-path:polygon(0 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%);}
.licence-card{clip-path:polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);}
.testi-wrap{clip-path:polygon(100% 0, 100% 100%, 0 100%, 0 0, 34px 0);}
.contact-form{clip-path:polygon(100% 0, 100% 100%, 0 100%, 0 30px, 30px 0);}

/* Numbers stay LTR even inside RTL text (KD amounts, dates, phone numbers, standards) */
.proof-value, .warranty-tag, .doc-meta, td, .stat-num, .num{
  direction:ltr; unicode-bidi:isolate;
}
