/* V18: RTL isolation + responsive fit for handheld, tablet and desktop. */
html,body,.site-shell{width:100%;max-width:100%;overflow-x:clip}
*,*::before,*::after{box-sizing:border-box}
body.urdu-home{font-family:'Noto Naskh Arabic',Tahoma,Arial,sans-serif;font-size:16px}
body.urdu-home .nav,body.urdu-home .brand,body.urdu-home .brand-name,body.urdu-home .dev-showcase,body.urdu-home .dev-showcase *{direction:ltr}
body.urdu-home :is(.hero-copy,.pricing-block,.contact-section,.reviews-inline,.footer,.wizard-shell){font-family:'Noto Naskh Arabic',Tahoma,Arial,sans-serif;letter-spacing:normal}
/* Keep the hero illustration on the RIGHT in both languages, so it never sits beneath Urdu headings. */
.hero{direction:ltr!important;display:flex!important;align-items:center!important;position:relative;overflow:hidden!important}
.hero-copy,.urdu-home .hero-copy{position:relative!important;z-index:5!important;width:48%!important;max-width:690px!important;min-width:0!important;margin-right:auto!important;flex:none!important}
.urdu-home .hero-copy{direction:rtl;text-align:right}
.urdu-home .hero h1{font-family:'Noto Naskh Arabic',Tahoma,sans-serif!important;font-weight:700!important;line-height:1.55!important;font-size:clamp(34px,3.8vw,58px)!important;letter-spacing:0!important;margin:12px 0!important}
.urdu-home .hero-sub{line-height:1.9!important;max-width:570px;font-size:clamp(16px,1.3vw,20px)}
.urdu-home .hero-actions{direction:rtl!important;justify-content:flex-start!important;flex-wrap:wrap!important}
.urdu-home .hero-tag{letter-spacing:0!important;font-family:inherit!important}
.urdu-home .micro-trust{direction:rtl;justify-content:flex-start}
.dev-showcase,.urdu-home .dev-showcase{left:51%!important;right:4%!important;top:14%!important;bottom:10%!important;width:auto!important;max-width:none!important;direction:ltr!important;z-index:2!important;opacity:1!important}
.dev-window{width:100%!important;max-width:680px!important;max-height:100%!important}
.dev-floating-card{max-width:180px}
/* Section text is RTL, while cards remain a stable grid in both languages. */
.urdu-home .pricing-block,.urdu-home .contact-section,.urdu-home .reviews-inline,.urdu-home .footer{direction:rtl;text-align:right}
.urdu-home .pricing-intro{text-align:center;max-width:830px}
.urdu-home .pricing-intro h2,.urdu-home .contact-heading h2{line-height:1.65!important;letter-spacing:0!important}
.urdu-home .pricing-grid{direction:rtl}
.urdu-home .neural-price{min-width:0;text-align:right}
.urdu-home .neural-price h3{line-height:1.65!important;min-height:0}
.urdu-home .neural-price>p,.urdu-home .neural-price li{line-height:1.8!important}
.urdu-home .price-amount{display:flex;align-items:baseline;gap:8px;direction:rtl!important;flex-wrap:wrap}
.urdu-home .price-amount small{direction:ltr;unicode-bidi:isolate}
.urdu-home .price-amount strong{direction:ltr;unicode-bidi:isolate}
.urdu-home .price-top{direction:rtl!important}
.urdu-home .footer-top{direction:rtl;grid-template-columns:minmax(0,1.65fr) minmax(0,1fr) minmax(0,1fr);align-items:start}
.urdu-home .footer-top>div,.urdu-home .footer-bottom{min-width:0;text-align:right}
.urdu-home .footer-top>div:first-child{grid-column:auto}
.urdu-home .footer a,.urdu-home .footer button,.urdu-home .footer p{line-height:1.9!important;overflow-wrap:anywhere}
.urdu-home .footer-brand{direction:ltr!important;display:inline-flex!important;white-space:normal}
.urdu-home .footer-bottom{display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px}
.urdu-home .footer-bottom [dir=ltr]{unicode-bidi:isolate}
.urdu-home .contact-section{direction:rtl;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:clamp(20px,4vw,55px)}
.urdu-home .contact-form{direction:rtl;text-align:right;min-width:0}
.urdu-home .contact-form :is(input,textarea,select){font:500 16px/1.75 'Noto Naskh Arabic',Tahoma,sans-serif;max-width:100%;min-width:0}
/* Wizard: genuine RTL, wrapped cards and controls without clipping. */
.wizard-shell[dir=rtl]{font-family:'Noto Naskh Arabic',Tahoma,Arial,sans-serif!important;direction:rtl;text-align:right;line-height:1.75!important}
.wizard-shell[dir=rtl] :is(h2,h3,label,p,.wizard-count){font-family:inherit!important;letter-spacing:0!important;line-height:1.75!important}
.wizard-shell[dir=rtl] .wizard-heading{direction:rtl;flex-wrap:wrap;gap:12px}
.wizard-shell[dir=rtl] .wizard-choices{direction:rtl}
.wizard-shell[dir=rtl] .wizard-choice{min-width:0;min-height:74px;display:flex;align-items:center;gap:12px;text-align:right;overflow-wrap:anywhere;white-space:normal}
.wizard-shell[dir=rtl] .wizard-choice span{min-width:0;overflow-wrap:anywhere;line-height:1.65!important}
.wizard-shell[dir=rtl] :is(input,textarea,select){font-family:inherit;font-size:16px!important;max-width:100%;min-width:0}
.wizard-shell[dir=rtl] :is(input[type=email],input[type=url]){direction:ltr;text-align:left}
.wizard-shell[dir=rtl] .wizard-count{direction:rtl;unicode-bidi:plaintext}
.wizard-shell[dir=rtl] .wizard-progress{direction:ltr}
.page-mode .modal,.page-mode .wizard-page{min-width:0;max-width:100%}
/* Responsive breakpoints */
@media(max-width:1150px){
 .hero-copy,.urdu-home .hero-copy{width:53%!important}
 .dev-showcase,.urdu-home .dev-showcase{left:53%!important;right:3%!important}
 .footer-top,.urdu-home .footer-top{grid-template-columns:minmax(0,1.5fr) repeat(2,minmax(0,1fr))!important;gap:28px!important}
 .nav-links{gap:20px!important}
}
@media(max-width:900px){
 .hero{min-height:680px!important;height:auto!important;padding-top:55px!important;padding-bottom:100px!important}
 .hero-copy,.urdu-home .hero-copy{width:90%!important;max-width:650px!important;margin-right:auto!important}
 .dev-showcase,.urdu-home .dev-showcase{left:32%!important;right:-6%!important;top:20%!important;bottom:5%!important;opacity:.15!important;filter:blur(.5px)!important}
 .dev-floating-card{display:none!important}
 .contact-section,.urdu-home .contact-section{grid-template-columns:minmax(0,1fr)!important;gap:24px!important}
 .footer-top,.urdu-home .footer-top{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .footer-top>div:first-child,.urdu-home .footer-top>div:first-child{grid-column:1/-1!important}
 .pricing-grid{grid-template-columns:minmax(0,1fr)!important;max-width:620px;margin:0 auto}
 .page-mode .modal{padding:28px 22px!important}
}
@media(max-width:650px){
 .nav{padding-inline:4%!important;gap:9px!important;min-width:0}
 .brand{min-width:0;gap:8px!important}.brand-name{font-size:clamp(14px,3.9vw,19px)!important;letter-spacing:-.4px!important;white-space:nowrap}
 .brand-mark{width:35px!important;height:35px!important;flex-shrink:0}
 .nav-actions{gap:5px!important}.language-toggle{padding:7px 9px!important;font-size:12px!important}.account-btn{padding:8px 10px!important;font-size:11px!important}
 .nav-links{position:absolute;z-index:50;left:4%!important;right:4%!important;top:70px;direction:rtl;max-height:70vh;overflow-y:auto}
 .hero{min-height:620px!important;padding:52px 5% 90px!important}
 .hero-copy,.urdu-home .hero-copy{width:100%!important;max-width:100%!important}
 .hero h1{font-size:clamp(36px,9vw,56px)!important;line-height:1.15!important;letter-spacing:-1.5px!important;overflow-wrap:anywhere}
 .urdu-home .hero h1{font-size:clamp(31px,7.8vw,45px)!important;line-height:1.65!important}
 .hero-sub{max-width:100%;font-size:16px!important;line-height:1.65!important}
 .hero-actions{display:flex;flex-wrap:wrap;gap:10px!important}.hero-actions .btn{flex:1 1 140px;min-width:0!important;white-space:normal;padding:12px 14px!important}
 .dev-showcase,.urdu-home .dev-showcase{left:2%!important;right:-7%!important;top:24%!important;bottom:0!important;opacity:.10!important}
 .hero-tag{font-size:10px!important;letter-spacing:.6px!important}
 .pricing-block{padding:45px 5% 65px!important}.pricing-intro h2{font-size:clamp(28px,7.5vw,40px)!important}
 .neural-price{width:100%;max-width:100%;padding:22px!important}
 .contact-section,.urdu-home .contact-section{margin:35px auto 10px!important;padding:20px 5%!important}
 .contact-form{padding:19px!important}.contact-grid{grid-template-columns:minmax(0,1fr)!important}
 .reviews-inline{margin:35px 5% 55px!important;padding:10px 0!important}
 .footer{margin-top:30px!important}.footer-top,.urdu-home .footer-top{grid-template-columns:minmax(0,1fr)!important;gap:22px!important;padding:29px 6%!important}
 .footer-top>div:first-child,.urdu-home .footer-top>div:first-child{grid-column:auto!important}
 .footer-bottom{padding:20px 6%!important}
 .modal-backdrop.page-mode{padding:12px 3% 40px!important}
 .page-mode .modal{padding:24px 15px!important;min-height:0!important;border-radius:17px!important}
 .page-mode .wizard-page{padding:17px 12px!important}
 .page-mode .wizard-choices,.wizard-shell[dir=rtl] .wizard-choices{grid-template-columns:minmax(0,1fr)!important}
 .wizard-shell h2{font-size:clamp(25px,6vw,33px)!important}
 .wizard-heading{padding-right:25px}
 .wizard-footer{display:flex;gap:10px;flex-wrap:wrap}.wizard-footer .btn{flex:1 1 125px;min-width:0}
 .form-grid{grid-template-columns:minmax(0,1fr)!important}
 .floating-whatsapp{right:14px!important;bottom:15px!important;width:52px!important;height:52px!important}
}
@media(max-width:375px){.nav{padding-inline:10px!important}.brand-name{font-size:13px!important}.account-btn{font-size:10px!important;padding:7px!important}.hero-actions .btn{flex-basis:100%}.hero{min-height:680px!important}}
@media(prefers-reduced-motion:reduce){.dev-showcase{transform:none!important}.dev-window,.dev-floating-card{animation:none!important}}
