/*
 * Arabic (right-to-left). Loaded only on Arabic pages.
 * The mockup CSS mostly uses logical properties (inline-start/end); this file mirrors the rest.
 */

/* Type: Arabic face everywhere, no letter-spacing (it breaks joined letters) */
body,h1,h2,h3,h4,.d,.btn,.mono,button,input,select,textarea,.chip,.big,.sbtn,.tile,.lead,.stats b,.amt,.blist .bn,.card h3,.pcol h3,.perk b{
  font-family:"IBM Plex Sans Arabic","Archivo",Tahoma,sans-serif!important;letter-spacing:0!important;font-stretch:100%!important}
.d,h1,h2{line-height:1.2!important}
.hero h1{line-height:1.15!important}
.mono{text-transform:none}
/* digits, phone numbers and prices stay left-to-right inside Arabic text */
.phone,.num,.big small,.facts b,.amt span,.price b,.ptab td,.prices .pr,.area b,#clock,.strip a,.btn-call,.bar .c small,.cbox .big,.lines li span:last-child,.total b{unicode-bidi:plaintext}

/* Arrows point the reading direction */
.arr,.go,.big .go,.blist .go{display:inline-block;transform:scaleX(-1)}
.btn:hover .arr{transform:scaleX(-1) translateX(4px)}
.blist a:hover .go{transform:scaleX(-1) translateX(6px)}

/* Shading behind hero text sits on the right, where the text starts */
.hero::after{background:linear-gradient(270deg,rgba(13,15,18,.92) 0%,rgba(13,15,18,.55) 45%,rgba(13,15,18,.15) 100%),linear-gradient(0deg,rgba(13,15,18,1) 0%,rgba(13,15,18,0) 35%)!important}
.phero::before{background:linear-gradient(270deg,rgba(13,15,18,.96) 0%,rgba(13,15,18,.78) 50%,rgba(13,15,18,.35) 100%)!important}
@media (max-width:760px){
  .hero::after{background:linear-gradient(0deg,rgba(13,15,18,1) 0%,rgba(13,15,18,.7) 55%,rgba(13,15,18,.35) 100%)!important}
}

/* Badges and captions on photos */
.card .tag{left:auto;right:12px}
.frame figcaption{left:auto;right:14px}

/* Facts rows and column dividers */
.facts div{padding:16px 0 0 16px}
.perk{border-right:0;border-left:1px solid var(--ink-line)}
.perk+.perk{padding-left:0;padding-right:28px}
.perk:last-child{border-left:0}
.pcol{padding:32px 0 36px 32px;border-right:0;border-left:1px solid var(--ink-line)}
.pcol+.pcol{padding-left:32px;padding-right:32px}
.pcol:last-child{border-left:0}
.steps li{padding:24px 0 0 24px}
.steps li+li{padding-left:24px;padding-right:24px;border-left:0;border-right:1px solid var(--ink-line)}
.light .steps li+li{border-right-color:var(--concrete-line)}
.signs div{padding:24px 0 26px 24px}
.signs div:not(:nth-child(3n+1)){padding-left:24px;padding-right:24px;border-left:0;border-right:1px solid var(--concrete-line)}
.ptab th,.ptab td{padding:18px 0 18px 16px}
.tl li{padding-right:0;padding-left:20px}
.tl li::before{left:auto;right:0}

/* Job card decorations mirror */
.ph-strip{right:auto;left:-14%}
.chat{left:auto;right:-12%}
.layers{transform:rotateX(14deg) rotateY(20deg) rotateZ(-2deg)}

/* Booking panel slides in from the left */
.drawer{transform:translateX(-100%)}
.drawer.open{transform:none}

/* Recovery page */
.steps-safe li,.sit .alert{text-align:right}

@media (max-width:1080px){
  .perk:nth-child(2){border-left:0}
  .perk:nth-child(3){padding-right:0}
}
@media (max-width:760px){
  .perk,.perk+.perk{padding:24px 0 26px 12px;border-left:0}
  .pcol,.pcol+.pcol{padding:28px 0;border-left:0}
  .steps li,.steps li+li{padding:20px 0;border-right:0}
  .signs div,.signs div:not(:nth-child(3n+1)){padding:20px 0;border-right:0}
  .ph-strip{left:-2%}
  .chat{right:8px;left:auto}
}
@media (max-width:640px){
  .tl::before,.light .tl::before{left:auto;right:7px}
  .tl li{padding:0 36px 22px 0}
}

