/* ══════════════════════════════════════════════
   SAVA Digital — RTL overrides (Arabic)
   Loaded only for dir="rtl" pages, after style.css
   ══════════════════════════════════════════════ */

/* ── Fonts: Ubuntu lacks Arabic glyphs ── */
:root {
  --font-display: 'Noto Sans Arabic', 'Ubuntu', system-ui, sans-serif;
  --font-body: 'Noto Sans Arabic', 'Ubuntu', system-ui, sans-serif;
}

/* Arabic is a connected script — letter-spacing breaks joining */
html[dir="rtl"] * {
  letter-spacing: 0 !important;
}

/* ── Frame lines ── */
.frame-left { inset: 0 24px 0 auto; }
.frame-right { inset: 0 auto 0 24px; }
.frame-left-fill { left: auto; right: 0; }
.frame-label-left { left: auto; right: 24px; transform: translate(50%, -50%) rotate(90deg); }
.frame-label-right { right: auto; left: 32px; }

/* ── Logo ── */
.logo-text small { margin-left: 0; margin-right: 6px; }

/* ── Buttons: arrow hover direction ── */
.btn:hover svg { transform: translate(-2px, -2px); }

/* ── Hero ── */
.hero-giant { left: auto; right: 0; }
.typewriter-box { border-left: none; border-right: 2px solid var(--sava); padding-left: 0; padding-right: 16px; }

/* ── Cases ── */
.case-badge { left: auto; right: 16px; }
.case-arrow { right: auto; left: 16px; }
.case-cover-glow { right: auto; left: -64px; }

/* ── Manifesto / About ── */
.manifesto-orb { left: auto; right: 33%; }
.about-stroke { left: auto; right: 0; }

/* ── Process ── */
.process-dot { right: auto; left: 28px; }

/* ── Language switcher dropdown ── */
.lang-menu { right: auto; left: 0; }

/* ── Inputs: keep phone numbers etc. readable ── */
input[type="tel"], input[name="phone"] { direction: ltr; text-align: right; }

/* ── Lists with markers / breadcrumbs inherit direction automatically ── */

/* ── «Піксельне поле»: Ubuntu Mono не має арабських літер ── */
.lbl, .kicker, .kicker span, .lang-switch a, .mobile-menu-title, :is(.tile, .tile-panel) .more .more-lbl, .tp-niche { font-family: var(--font-body); }

/* Стрілки дивляться в бік читання */
.svc-row .ar, .arr { display: inline-flex; transform: scaleX(-1); }
