/* Arabic-only overrides; shared styles, photographs and wordmarks stay intact. */
html[lang="ar"][dir="rtl"]{
  --sans:"Noto Sans Arabic","Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --serif:var(--sans);
}
html[lang="ar"][dir="rtl"] body{line-height:1.85;overflow-wrap:anywhere}
html[lang="ar"][dir="rtl"] :where(body,body *):not(:where(.brand-txt,.brand-txt *)){
  letter-spacing:0;text-transform:none;
}
html[lang="ar"][dir="rtl"] :is(.ltr,[dir="ltr"]){direction:ltr;unicode-bidi:isolate}
html[lang="ar"][dir="rtl"] .brand-txt{
  --serif:"Cormorant Garamond",Georgia,"Times New Roman",serif;
  direction:ltr;unicode-bidi:isolate;text-align:left;white-space:nowrap;
  font-family:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
}
html[lang="ar"][dir="rtl"] .display{font-weight:400;line-height:1.45}
html[lang="ar"][dir="rtl"] .h1{font-size:clamp(2.2rem,5.5vw,4.2rem)}
html[lang="ar"][dir="rtl"] .h2{font-size:clamp(1.7rem,3.6vw,2.7rem)}
html[lang="ar"][dir="rtl"] :is(h3,.quote-card h2){line-height:1.6}
html[lang="ar"][dir="rtl"] :is(.lede,.svc p,.vbody p,.step p,.checks li,.review blockquote,.tour p,.routes-note){line-height:1.85}
html[lang="ar"][dir="rtl"] :is(.eyebrow,.hero-facts span,.field label,.vbody .cls,.vspecs span,.tour .t-kind,.tour .t-go,.split-media figcaption,.cinfo .k,.f-grid h3,.route .r-price,.rev-score small,.review .who span){
  font-size:.8rem;line-height:1.75;
}
html[lang="ar"][dir="rtl"] .eyebrow::before{flex:none}
html[lang="ar"][dir="rtl"] .btn{font-size:.9rem;line-height:1.65;white-space:normal;max-width:100%;text-align:center}
html[lang="ar"][dir="rtl"] .btn-sm{font-size:.82rem}
html[lang="ar"][dir="rtl"] .link-gold{font-size:.85rem;line-height:1.7;max-width:100%}
html[lang="ar"][dir="rtl"] .nav a{font-size:.85rem}
html[lang="ar"][dir="rtl"] .nav a::after{left:auto;right:0}
html[lang="ar"][dir="rtl"] .lang{direction:ltr;unicode-bidi:isolate;font-size:.75rem;flex:none}
html[lang="ar"][dir="rtl"] .lang a{display:inline-flex;align-items:center;min-height:32px;white-space:nowrap}
html[lang="ar"][dir="rtl"] .lang a[hreflang="ar"]{font-size:.8rem}
html[lang="ar"][dir="rtl"] .lang i{flex:none}
html[lang="ar"][dir="rtl"] .mobile-nav{overflow-y:auto;justify-content:flex-start}
html[lang="ar"][dir="rtl"] .mobile-nav > a{flex:none;font-size:clamp(1.35rem,4vw,1.8rem);font-weight:400;line-height:1.6}
html[lang="ar"][dir="rtl"] .mobile-nav > a:first-child{margin-top:auto}
html[lang="ar"][dir="rtl"] .mobile-nav .m-actions{flex:none;margin-bottom:auto}

/* Let translated text wrap instead of forcing grid tracks or controls wider. */
html[lang="ar"][dir="rtl"] :is(.quote-grid,.hero-facts,.services,.routes,.fleet,.tours,.split,.steps,.reviews,.contact,.f-grid,.sec-head,.cinfo li,.vspecs,.review .who,.rev-score) > *{min-width:0}
html[lang="ar"][dir="rtl"] :is(.field input,.field select){min-width:0;max-width:100%}
html[lang="ar"][dir="rtl"] .field select{background-position:left .85rem center;padding-left:2.2rem;padding-right:.85rem}
html[lang="ar"][dir="rtl"] #f-pax{text-align:right}
html[lang="ar"][dir="rtl"] .quote-grid .btn{height:auto;min-height:46px}
html[lang="ar"][dir="rtl"] .hero-facts li{padding:1.55rem 1.9rem 0 1.5rem}
html[lang="ar"][dir="rtl"] .hero-facts li:first-child{padding-right:0;padding-left:1.5rem}
html[lang="ar"][dir="rtl"] .hero-facts li::before{left:auto;right:0}
html[lang="ar"][dir="rtl"] .hero-facts b{line-height:1.3;text-align:right}
html[lang="ar"][dir="rtl"] :is(.step .n,.rev-score .num){font-weight:400;line-height:1.3}
html[lang="ar"][dir="rtl"] .route .r-cities{flex-wrap:wrap;line-height:1.7;gap:.3rem .7rem}
html[lang="ar"][dir="rtl"] .route .r-meta{flex-wrap:wrap;gap:.35rem 1rem}
html[lang="ar"][dir="rtl"] .route .r-meta svg{flex:none}
html[lang="ar"][dir="rtl"] .route .r-end{text-align:left;max-width:100%}
html[lang="ar"][dir="rtl"] .route .r-price b{display:inline-block;margin-left:0;margin-right:.18rem;white-space:nowrap}
html[lang="ar"][dir="rtl"] .vspecs{flex-wrap:wrap;gap:.75rem 1.4rem}
html[lang="ar"][dir="rtl"] .rev-top .btn{margin-left:0;margin-right:auto}
html[lang="ar"][dir="rtl"] .rev-top .g{flex:0 1 auto;min-width:0;max-width:100%}
html[lang="ar"][dir="rtl"] .rev-top .g svg{flex:none}

/* In-flow captions can grow beyond the preferred photo ratio without clipping. */
html[lang="ar"][dir="rtl"] .tour{display:grid;min-height:min-content}
html[lang="ar"][dir="rtl"] .tour > img{position:absolute;inset:0}
html[lang="ar"][dir="rtl"] .tour .t-body{position:relative;inset:auto;align-self:end}

/* Mirror directional artwork only, never vehicle photos or identity icons. */
html[lang="ar"][dir="rtl"] :is(.route .r-cities,.tour .t-go,.link-gold) svg{transform:scaleX(-1);flex:none}
html[lang="ar"][dir="rtl"] .link-gold:hover svg{transform:translateX(-3px) scaleX(-1)}
html[lang="ar"][dir="rtl"] .hero-bg::after{
  background:
    linear-gradient(180deg,rgba(10,10,11,.82) 0%,rgba(10,10,11,.3) 34%,rgba(10,10,11,.66) 72%,var(--ink) 100%),
    linear-gradient(265deg,rgba(10,10,11,.74) 0%,rgba(10,10,11,.18) 58%,rgba(10,10,11,.04) 100%);
}
html[lang="ar"][dir="rtl"] .band-bg::after{background:linear-gradient(270deg,rgba(10,10,11,.94) 10%,rgba(10,10,11,.6) 70%,rgba(10,10,11,.4) 100%)}
html[lang="ar"][dir="rtl"] .vmain .zoom{right:auto;left:14px}
html[lang="ar"][dir="rtl"] .mosaic .zoom{right:auto;left:12px}
html[lang="ar"][dir="rtl"] .wa-float{right:auto;left:22px}
html[lang="ar"][dir="rtl"] .lb .x{right:auto;left:18px}
/* DOM order is RTL: previous (-1) is right; next (+1) is left. */
html[lang="ar"][dir="rtl"] .lb .prev{left:auto;right:18px}
html[lang="ar"][dir="rtl"] .lb .next{right:auto;left:18px}
html[lang="ar"][dir="rtl"] .lb .nav-b svg{transform:scaleX(-1)}

@media (max-width:1100px){
  html[lang="ar"][dir="rtl"] .hdr-end{margin-left:0;margin-right:auto}
  html[lang="ar"][dir="rtl"] .burger{margin-left:0;margin-right:0}
}
@media (max-width:860px){
  html[lang="ar"][dir="rtl"] .hero-bg::after{
    background:linear-gradient(180deg,rgba(10,10,11,.84) 0%,rgba(10,10,11,.4) 26%,rgba(10,10,11,.78) 58%,rgba(10,10,11,.95) 86%,var(--ink) 100%);
  }
  html[lang="ar"][dir="rtl"] .hero-facts li{padding:1.5rem 1.6rem 0 1rem}
  html[lang="ar"][dir="rtl"] .hero-facts li:nth-child(odd){padding-right:0;padding-left:1rem}
  html[lang="ar"][dir="rtl"] .sticky-cta{padding-bottom:env(safe-area-inset-bottom,0px)}
  html[lang="ar"][dir="rtl"] .sticky-cta a{min-width:0;font-size:.85rem;line-height:1.65;padding:.85rem .65rem}
  html[lang="ar"][dir="rtl"] .sticky-cta svg{flex:none}
  html[lang="ar"][dir="rtl"] body{padding-bottom:calc(72px + env(safe-area-inset-bottom,0px))}
}
@media (max-width:620px){
  html[lang="ar"][dir="rtl"] .route .r-main{flex-basis:100%}
  html[lang="ar"][dir="rtl"] .route .r-end{text-align:right;align-items:flex-start}
  html[lang="ar"][dir="rtl"] .rev-top .btn{margin-right:0}
}
@media (max-width:430px){
  /* Keep the complete Latin wordmark, EN / BS / Arabic and 42px menu at 320px. */
  html[lang="ar"][dir="rtl"] .hdr{padding-inline:12px;gap:8px}
  html[lang="ar"][dir="rtl"] .hdr .brand{gap:7px}
  html[lang="ar"][dir="rtl"] .hdr .brand-txt b{font-size:.9rem}
  html[lang="ar"][dir="rtl"] .hdr-end{gap:8px}
  html[lang="ar"][dir="rtl"] .lang{gap:4px;font-size:.72rem}
  html[lang="ar"][dir="rtl"] .lang a[hreflang="ar"]{font-size:.78rem}
}

/* FAQ: mirrored disclosure markers and padding. */
html[lang="ar"][dir="rtl"] .faq summary{padding:1.15rem 0 1.15rem 2.4rem}
html[lang="ar"][dir="rtl"] .faq summary::after{right:auto;left:0}
html[lang="ar"][dir="rtl"] .faq details p{padding:0 0 1.3rem 2.4rem}
