/* Pula Consultancy: Arabic (RTL) layer. Loaded only on /ar/ pages, after style.css. */
:root{
  --serif:"Noto Kufi Arabic","IBM Plex Sans Arabic",Tahoma,sans-serif;
  --sans:"IBM Plex Sans Arabic","Noto Kufi Arabic",Tahoma,system-ui,sans-serif;
  --latin-serif:"Cormorant Garamond",Georgia,serif;
  --s1:clamp(2.15rem,3.9vw,3.6rem); --s2:clamp(1.6rem,2.6vw,2.45rem);
  --t-h2s:clamp(1.4rem,2vw,1.8rem); --t-h3:1.25rem; --t-lede:clamp(1.12rem,1.5vw,1.35rem); --t-q:1.08rem;
}
body{font-size:17px;line-height:1.9}
/* Arabic letters must stay joined: no tracking, no caps transforms */
[dir=rtl] *{letter-spacing:0!important;text-transform:none!important}
h1,h2,h3,h4{font-weight:600;line-height:1.45}
.hero h1,.phero h1{line-height:1.5}
.hero h1 .ln{padding:.04em 0 .14em}
em,.it{font-family:inherit;font-style:normal}
.eyebrow{font-size:.86rem!important;font-weight:600}
.btn,.link,.nav a,.ov__go,.tbl th,.field label,.pref legend,.crumbs ol,.hero__card .tag,.foot-top h3{font-weight:600}
.btn{font-size:.9rem;padding:16px 28px}
.nav a{font-size:.95rem}
.nav .btn{font-size:.85rem}
.qa summary{line-height:1.6}
.qa .a p,.prose p,.content p,.who li,.offer p,.pillar p,.value p,.cta-list li{line-height:1.9}
.lede,.receive p,.mv p,.statement blockquote,.hero__card p,.prose--l p:first-child,.statement__body p:first-child{line-height:1.7!important}
.statement blockquote{font-size:clamp(1.35rem,2.4vw,2.1rem);max-width:30ch}
.ticker__track span{font-size:1.25rem}
.card .tg,.ov__tg{font-style:normal}

/* Latin brand elements and numerals keep their original typography */
/* Arabic logo lockup: بولا | للاستشارات (horizontal, live text) */
.wordmark{direction:ltr}
.wm-ar{display:inline-flex;align-items:center;gap:14px;direction:rtl;white-space:nowrap}
.wm-ar b{font:700 1.95rem/1 "Noto Kufi Arabic",sans-serif;color:var(--paper);padding-bottom:.12em}
.wm-ar i{display:block;width:1px;height:28px;background:var(--gold-2);opacity:.75}
.wm-ar span{font:500 1.95rem/1 "Noto Kufi Arabic",sans-serif;color:var(--gold-2);padding-bottom:.12em}
/* v1.4 proportions: 48px door, tight gap, lettering centred on the door and set 2.6px lower */
.brand,.site-head .brand{align-items:center;gap:6.3px}
.brand>svg:first-child{width:48px;height:48px;margin-top:0}
.brand .wm-ar{position:relative;top:0}
.foot-top .wm-ar b{font-size:2.2rem}
.foot-top .wm-ar span{font-size:2.2rem}
.foot-top .brand{gap:7.1px}
.foot-top .brand>svg:first-child{width:54px;height:54px}
.foot-top .brand .wm-ar{top:0}
@media (max-width:960px){
  .site-head .brand{gap:5.1px}
  .site-head .brand>svg:first-child{width:39.4px;height:39.4px;margin-top:0}
  .site-head .brand .wm-ar{top:0}
}
.foot-mega{font-family:"Noto Kufi Arabic",sans-serif;font-weight:600;line-height:1.05;font-size:clamp(5rem,15vw,13rem)}
.svc-row .n,.ov__n,.phero__num,.offer>li::before,.value::before,.drop a span,.more span,.card .n{font-family:var(--latin-serif);font-style:italic}
.svc-row .n,.phero__num,.offer>li::before{font-style:normal}
.lead input[type=email],.lead input[type=tel]{text-align:right}

/* Off-screen helpers: in RTL, negative left offsets create sideways scroll */
html,body{overflow-x:clip}
.skip{left:auto;right:12px;top:-200px}
.skip:focus{left:auto;right:12px;top:12px}
.hp{left:auto;right:0;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%)}

/* Mirror the layout */
.nav>ul a::after{left:100%;right:0;transition:left .4s var(--ease)}
.nav>ul a:hover::after,.nav>ul a[aria-current]::after{left:0;right:0}
.drop{left:auto;right:-24px}
.hero__lines{right:auto;left:-6vw}
.hero__media::after{background:linear-gradient(180deg,rgba(8,16,18,.55) 0%,rgba(8,16,18,.2) 35%,rgba(8,16,18,.92) 88%),radial-gradient(80% 60% at 15% 20%,rgba(184,145,90,.22),transparent 60%)}
.scroll-cue{left:auto;right:28px}
.phero__num{right:auto;left:4vw}
.crumbs li+li::before{margin-right:0;margin-left:10px}
.ic-arrow{transform:scaleX(-1)}
.btn:hover .ic-arrow,.ov__item:hover .ov__go .ic-arrow{transform:scaleX(-1) translateX(4px)}
.svc-row a::before{background:linear-gradient(270deg,rgba(184,145,90,.14),rgba(184,145,90,0))}
.svc-row a:hover{padding-left:0;padding-right:16px}
.svc-row a:hover .go{transform:rotate(45deg)}
.pillar{padding:40px 0 10px 30px;border-right:0;border-left:1px solid var(--line);margin-right:0;margin-left:30px}
.pillar:last-child,.pillar--end{border-left:0;margin-left:0}
.dark .pillar{border-color:var(--line-l)}
.frame{margin:0 0 22px 22px}
.frame::after{inset:22px 22px -22px -22px}
.frame figcaption{left:auto;right:-1px;font-style:normal}
.offer ul li{padding-left:0;padding-right:18px;border-left:0;border-right:2px solid var(--sand)}
.note{border-left:0;border-right:3px solid var(--gold)}
.notice{border-left:0;border-right:3px solid}
.receive::after{right:auto;left:-60px}
.tbl th{text-align:right}
.tbl td:first-child{font-family:var(--serif);font-size:1.05rem;white-space:normal;min-width:120px}
.faq-nav a{padding:11px 18px 11px 0;border-left:0;border-right:1px solid var(--line)}
.qa .a{padding:0 0 28px 60px}
.lead .field select{background-position:left 4px center;padding-left:22px}
.ov__item li{padding-left:0;padding-right:14px}
.ov__item li::before{left:auto;right:0}
.step::before{content:"الخطوة " counter(s)}
.ticker__track{animation-name:tick-rtl;animation-direction:reverse}
/* Scroll cue: Arabic does not read vertically, so the word sits upright above the line */
.scroll-cue{writing-mode:horizontal-tb;flex-direction:column;align-items:center;gap:12px;width:max-content;white-space:nowrap;font:600 1.05rem/1.4 var(--sans)!important;color:var(--gold-2);right:32px;bottom:28px}
.scroll-cue::after{width:1.5px;height:56px}
.top-anchor{left:auto;right:0}
@keyframes tick-rtl{to{transform:translateX(50%)}}
@media (max-width:960px){
  .nav{transform:translateX(-100%)}
  .nav.open{transform:none}
  .nav>ul>li>a{font:600 1.35rem/1.5 var(--serif)}
  .drop a{font-family:var(--sans)}
  .nav .lang-sw{align-self:flex-start}
  .site-head .wm-ar{gap:11px}
  .site-head .wm-ar b{font-size:1.6rem}
  .site-head .wm-ar i{height:22px}
  .site-head .wm-ar span{font-size:1.6rem}
  .pillar:nth-child(2){border-left:0;margin-left:0}
}
/* v1.8: WhatsApp button sits bottom-left in Arabic */
.wa-float{right:auto;left:22px}
@media (max-width:640px){.wa-float{right:auto;left:16px}}
.wa-float span{font-family:"Noto Kufi Arabic",sans-serif;letter-spacing:0}
/* v1.6: keep the Arabic door at full size on desktop (the English em sizing must not shrink it) and fit narrow phones */
@media (min-width:961px){.site-head .brand{font-size:34px}}
@media (max-width:380px){
  .site-head .brand>svg:first-child{width:32px;height:32px}
  .site-head .wm-ar{gap:8px}
  .site-head .wm-ar b,.site-head .wm-ar span{font-size:1.3rem}
  .site-head .wm-ar i{height:18px}
}
@media (max-width:640px){
  .pillar{border-left:0!important;margin-left:0!important}
  .qa .a{padding-left:0}
  .frame::after{inset:12px 12px -12px -10px}
  .hero--home h1{font-size:1.9rem}
}
