/* =========================================================================
   VeriTrust Access — RTL + Persian typography
   Activated when <html dir="rtl" lang="fa">
   ========================================================================= */

[lang="fa"] {
  --font-display: "Vazirmatn", "Sora", system-ui, sans-serif;
  --font-body: "Vazirmatn", "Manrope", system-ui, sans-serif;
}
/* keep mono (codes, refs) latin for legibility, but allow Persian digits */
[lang="fa"] .eyebrow,
[lang="fa"] .vh-eyebrow,
[lang="fa"] .flow-num,
[lang="fa"] .dash-h .sub,
[lang="fa"] .logo-text span { font-family: "Vazirmatn", var(--font-mono); letter-spacing: 0.12em; }

[lang="fa"] body { letter-spacing: 0; }
[lang="fa"] h1, [lang="fa"] h2, [lang="fa"] h3, [lang="fa"] h4 { letter-spacing: 0; }

/* Left-aligned section heads should follow reading direction */
[dir="rtl"] .section-head.left { text-align: right; }
[dir="rtl"] .eyebrow::before { background: linear-gradient(270deg, transparent, var(--accent)); }

/* Eyebrow underline + flex flows mirror automatically; fix a few absolutes */
[dir="rtl"] .hero-trust,
[dir="rtl"] .cta-assure .a,
[dir="rtl"] .pp,
[dir="rtl"] .hero-badge,
[dir="rtl"] .vh-badge { direction: rtl; }

/* Dashboard: keep numbers/deltas tidy */
[dir="rtl"] .kpi .d,
[dir="rtl"] .dash-h .sub { direction: ltr; }
[dir="rtl"] .statlist .row { direction: rtl; }

/* Form: align labels/inputs to the right */
[dir="rtl"] .field input,
[dir="rtl"] .field textarea { text-align: right; }
[dir="rtl"] .field input[type="email"],
[dir="rtl"] .field input[type="tel"],
[dir="rtl"] .field input[type="number"] { text-align: left; direction: ltr; }

/* Footer columns flow right */
[dir="rtl"] .foot-col a { text-align: right; }

/* Mono badges & latin brand keep LTR */
[dir="rtl"] .foot-bottom .badges .b,
[dir="rtl"] .logo-text b,
[dir="rtl"] .dash-brand b,
[dir="rtl"] .ds-logo b { direction: ltr; }

/* Nav language toggle stays visually consistent */
[dir="rtl"] .lang-toggle { direction: ltr; }

/* Card hover translate is fine; nothing else needed — fl/grid + gap mirror */
