/* ==========================================================
   HavenKey: RTL overrides
   The CSS uses logical properties, so very little is needed here.
   Never change font-family or font-style in this file.
   ========================================================== */

/* Arabic/Hebrew letters must stay joined, so no letter-spacing */
[dir="rtl"] .hk-logo__tag,
[dir="rtl"] .hk-nav__link,
[dir="rtl"] .hk-login {
  letter-spacing: 0;
}

/* Flip the Login arrow so it points the reading direction */
[dir="rtl"] .hk-login i { transform: scaleX(-1); }
[dir="rtl"] .hk-login:hover i { transform: scaleX(-1) translateX(4px); }

/* Page-level RTL fixes for later sections go below */

[data-theme="light"][dir="rtl"] .hk3-hero__stage { --fade: 270deg; }




/* ---------- Hero (RTL): the notch moves to the right side ---------- */
[dir="rtl"] .hk-hero__title,
[dir="rtl"] .hk-cta { letter-spacing: 0; }

[dir="rtl"] .hk-hero__notch {
  padding: 18px 0 0 18px;
  border-top-right-radius: 0;
  border-top-left-radius: var(--r);
}
[dir="rtl"] .hk-hero__notch::before {
  left: auto;
  right: 0;
  background: radial-gradient(circle at 0 0, transparent calc(var(--r) - .5px), var(--bg) var(--r));
}
[dir="rtl"] .hk-cta i { transform: scaleX(-1); }
[dir="rtl"] .hk-cta:hover i { transform: scaleX(-1) translateX(4px); }



/* ---------- About section (RTL) ---------- */
[dir="rtl"] .hk-eyebrow,
[dir="rtl"] .hk-h2,
[dir="rtl"] .hk-link { letter-spacing: 0; }

[dir="rtl"] .hk-link i { transform: scaleX(-1); }


/* ---------- Services (RTL) ---------- */
[dir="rtl"] .hk-svc__title,
[dir="rtl"] .hk-svc-stage__tag { letter-spacing: 0; }

[dir="rtl"] .hk-svc__arrow i { transform: scaleX(-1); }

/* ---------- Properties (RTL) ---------- */
[dir="rtl"] .hk-tile__label { letter-spacing: 0; }


/* ---------- How it works (RTL) ---------- */
[dir="rtl"] .hk-hstep__title { letter-spacing: 0; }

/* the progress fill grows from the right (vertical bars still grow from the top) */
[dir="rtl"] .hk-step__bar::after { transform-origin: top right; }
@media (min-width: 768px) {
  [dir="rtl"] .hk-step__bar::after { transform-origin: right; }
}

/* ---------- Why HavenKey (RTL) ---------- */
[dir="rtl"] .hk-vs__title { letter-spacing: 0; }


/* ---------- FAQ (RTL) ---------- */
[dir="rtl"] .hk-faq__q { letter-spacing: 0; }
[dir="rtl"] .hk-faq__help-title { letter-spacing: 0; }

/* ---------- Final CTA (RTL) ---------- */
[dir="rtl"] .hk-final__pills li { letter-spacing: 0; }

/* ---------- Footer (RTL) ---------- */
[dir="rtl"] .hk-footer__label,
[dir="rtl"] .hk-news__btn,
[dir="rtl"] .hk-news__msg { letter-spacing: 0; }

[dir="rtl"] .hk-news__arrow { transform: scaleX(-1); }




/* ---------- Home 2: Hero (RTL) ---------- */
[dir="rtl"] .hk2-hero__badge,
[dir="rtl"] .hk2-hero__title,
[dir="rtl"] .hk2-hero__facts li { letter-spacing: 0; }
 

/* ---------- Home 2: About (RTL) ---------- */
[dir="rtl"] .hk2-about__badge-num,
[dir="rtl"] .hk2-feat__title,
[dir="rtl"] .hk2-stat__num { letter-spacing: 0; }


[dir="rtl"] .hk2-svc__title,
[dir="rtl"] .hk2-svc__num,
[dir="rtl"] .hk2-svc__count-num { letter-spacing: 0; }


[dir="rtl"] .hk2-ow__tag,
[dir="rtl"] .hk2-ow__result { letter-spacing: 0; }
[dir="rtl"] .hk2-ow__btn i { transform: scaleX(-1); }
[dir="rtl"] .hk2-ow__bar span { transform-origin: right; }


[dir="rtl"] .hk2-strip { --strip-dir: -1; }
[dir="rtl"] .hk2-strip__title { letter-spacing: 0; }



[dir="rtl"] .hk2-pr__price,
[dir="rtl"] .hk2-pr__name { letter-spacing: 0; }
[dir="rtl"] .hk2-pr__btn i { transform: scaleX(-1); }
[dir="rtl"] .hk2-pr__btn:hover i { transform: scaleX(-1) translateX(4px); }


[dir="rtl"] .hk2-tm__quote p { font-style: normal; }
[dir="rtl"] .hk2-tm__avatar { letter-spacing: 0; }


/* ---------- Home 2: Final CTA (RTL) ---------- */
[dir="rtl"] .hk2-cta__title,
[dir="rtl"] .hk2-cta__facts li,
[dir="rtl"] .hk2-cta__pill { letter-spacing: 0; }


/* ---------- About page (RTL) ---------- */
[dir="rtl"] .hka-crumbs,
[dir="rtl"] .hka-hero__title,
[dir="rtl"] .hka-quote__text,
[dir="rtl"] .hka-values__label,
[dir="rtl"] .hka-values__title,
[dir="rtl"] .hka-ms__year,
[dir="rtl"] .hka-ms__title,
[dir="rtl"] .hka-person__ini,
[dir="rtl"] .hka-person__name,
[dir="rtl"] .hka-cta__title,
[dir="rtl"] .hka-facts li { letter-spacing: 0; }

/* Mirror the decorative key so it leans toward the page edge */
[dir="rtl"] .hka-cta__key { transform: translateY(-50%) scaleX(-1) rotate(-28deg); }

/* Quote icon sits at the reading start */
[dir="rtl"] .hka-quote > i { transform: scaleX(-1); display: inline-block; }


/* ---------- About: Story (RTL) ---------- */
[dir="rtl"] .hka-tale__title,
[dir="rtl"] .hka-tale__badge-num,
[dir="rtl"] .hka-tale__quote blockquote p,
[dir="rtl"] .hka-tale__avatar,
[dir="rtl"] .hka-vals__title { letter-spacing: 0; }

[dir="rtl"] .hka-tale__mark { transform: scaleX(-1); }

[dir="rtl"] .hka-vals__n { letter-spacing: 0; }


/* ---------- About: History slider (RTL) ---------- */
[dir="rtl"] .hka-hs__yr,
[dir="rtl"] .hka-hs__lb,
[dir="rtl"] .hka-hs__kicker,
[dir="rtl"] .hka-hs__title,
[dir="rtl"] .hka-hs__year { letter-spacing: 0; }

[dir="rtl"] .hka-hs__steps::after { transform-origin: right; }
[dir="rtl"] .hka-hs__btn i { transform: scaleX(-1); }

/* ---------- About: Team cards (RTL) ---------- */
[dir="rtl"] .hka-pc__num,
[dir="rtl"] .hka-pc__badge,
[dir="rtl"] .hka-pc__name,
[dir="rtl"] .hka-pc__role { letter-spacing: 0; }




[dir="rtl"] .hk2-ow__tag,
[dir="rtl"] .hk2-ow__result,
[dir="rtl"] .hk2-ow__tab { letter-spacing: 0; }
[dir="rtl"] .hk2-ow__btn i { transform: scaleX(-1); }
[dir="rtl"] .hk2-ow__stage { --ow-dir: to left; }


/* ---------- Services: Hero (RTL) ---------- */
[dir="rtl"] .hks-hero__badge,
[dir="rtl"] .hks-hero__title { letter-spacing: 0; }
[dir="rtl"] .hks-hero__stage { --hks-dir: to left; }
[dir="rtl"] .hks-feat__title i { transform: scaleX(-1); }
[dir="rtl"] .hks-feat:hover .hks-feat__title i { transform: scaleX(-1) translateX(4px); }


/* ---------- Services: sections (RTL) ---------- */
[dir="rtl"] .hks-sc__badge,
[dir="rtl"] .hks-rc__title,
[dir="rtl"] .hks-rc__num,
[dir="rtl"] .hks-mt__num,
[dir="rtl"] .hks-dash__val { letter-spacing: 0; }

/* ---------- Services: Properties (RTL) ---------- */
[dir="rtl"] .hks-pr__name { letter-spacing: 0; }

/* ---------- Contact: Hero (RTL) ---------- */
[dir="rtl"] .hkc-hero__title { letter-spacing: 0; }

/* ---------- Contact: Form (RTL) ---------- */
[dir="rtl"] .hkc-done__title { letter-spacing: 0; }
[dir="rtl"] .hkc-send .fa-paper-plane { transform: scaleX(-1); }
[dir="rtl"] .hkc-again i { transform: scaleX(-1); }


/* ---------- Contact: Find us (RTL) ---------- */
[dir="rtl"] .hkc-hours__badge { letter-spacing: 0; }


/* ---------- Contact: CTA (RTL) ---------- */
[dir="rtl"] .hkc-cta__title { letter-spacing: 0; }
[dir="rtl"] .hkc-cta__call i { transform: none; }
[dir="rtl"] .hkc-cta__call:hover i { transform: none; }


/* ---------- Log in / Sign up (RTL) ---------- */
[dir="rtl"] .hkau__title,
[dir="rtl"] .hkau__done-title { letter-spacing: 0; }

[dir="rtl"] .hkau__arrow { transform: scaleX(-1); }
[dir="rtl"] .hkau__submit:hover:not(:disabled) .hkau__arrow { transform: scaleX(-1) translateX(4px); }
[dir="rtl"] .hkau__back i,
[dir="rtl"] .hkau__again i { transform: scaleX(-1); }


/* ---------- 404 page (RTL) ---------- */
[dir="rtl"] .hkn__code,
[dir="rtl"] .hkn__title { letter-spacing: 0; }

/* Mirror the decorative key so it leans toward the page edge */
[dir="rtl"] .hkn__key { transform: translateY(-50%) scaleX(-1) rotate(-28deg); }


/* ---------- Dashboards: shell (RTL) ---------- */
[dir="rtl"] .hkd__side { --hkd-x: 105%; }

[dir="rtl"] .hkd__avatar,
[dir="rtl"] .hkd__stat-num,
[dir="rtl"] .hkd__stat-label,
[dir="rtl"] .hkd__label,
[dir="rtl"] .hkd__title,
[dir="rtl"] .hkd-ph__title { letter-spacing: 0; }

[dir="rtl"] .hkd__logout i { transform: scaleX(-1); }


/* ---------- User dashboard: Overview (RTL) ---------- */
[dir="rtl"] .hkdu-hero__eyebrow,
[dir="rtl"] .hkdu-hero__title,
[dir="rtl"] .hkdu-hero__big,
[dir="rtl"] .hkdu-ring__num,
[dir="rtl"] .hkdu-live,
[dir="rtl"] .hkdu-stat__num,
[dir="rtl"] .hkdu-pill,
[dir="rtl"] .hkdu-panel__title,
[dir="rtl"] .hkdu-more,
[dir="rtl"] .hkdu-tag,
[dir="rtl"] .hkdu-insp__name { letter-spacing: 0; }
[dir="rtl"] .hkdu-more i { transform: scaleX(-1); }

[dir="rtl"] .hkdao-date span,
[dir="rtl"] .hkdao-qa__item { letter-spacing: 0; }

[dir="rtl"] .hkdas-switch input:checked + .hkdas-switch__ui::after { transform: translateX(-20px); }
[dir="rtl"] .hkdas-ava { letter-spacing: 0; }
