:root{--navy:#061421;--navy2:#09213a;--navy3:#0d2c4a;--gold:#d9ad49;--gold2:#f1d077;--bg:#f5f7fb;--paper:#fff;--ink:#0d1726;--muted:#6d7685;--line:#e5eaf1;--green:#23a66d;--blue:#2d78d4;--amber:#d99a22;--red:#db4b4b}*{box-sizing:border-box}body{margin:0;font-family:Tahoma,"Segoe UI",Arial,sans-serif;direction:rtl;background:var(--bg);color:var(--ink);line-height:1.8}a{text-decoration:none;color:inherit}img{max-width:100%;display:block}button,input,textarea,select{font:inherit}.container{width:min(1320px,calc(100% - 48px));margin:auto}.site-header{height:76px;background:#061421;color:#fff;border-bottom:1px solid rgba(255,255,255,.08);position:sticky;top:0;z-index:50}.nav{height:100%;display:flex;align-items:center;gap:28px}.brand{display:flex;align-items:center;gap:12px;margin-left:auto}.mark{width:54px;height:54px;border-radius:50%;border:2px solid rgba(217,173,73,.8);display:grid;place-items:center;color:var(--gold);font:800 28px Georgia}.brand strong{display:block;color:var(--gold);font-size:21px;line-height:1.2}.brand small{color:#d1d9e2}.menu{display:flex;gap:26px;font-weight:800;font-size:14px}.menu a.active{color:var(--gold);border-bottom:2px solid var(--gold);padding-block:25px}.header-cta{margin-right:auto;border:1px solid var(--gold);color:#fff;border-radius:7px;padding:9px 17px;font-weight:900;background:rgba(217,173,73,.07)}.btn{border:0;border-radius:8px;padding:11px 22px;font-weight:900;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px}.btn.gold{background:linear-gradient(180deg,#efcf73,#c99631);color:#081421}.btn.dark{background:#061421;color:#fff}.btn.outline{background:#fff;border:1px solid var(--line);color:#173451}.hero{background:linear-gradient(90deg,rgba(6,20,33,.96),rgba(6,20,33,.86)),url('/assets/ranjbar/about-scale.png') center/cover;color:#fff}.hero.home{min-height:690px;background:linear-gradient(90deg,rgba(6,20,33,.96),rgba(6,20,33,.72)),url('/assets/ranjbar/about-scale.png') center/cover}.home-hero{display:grid;grid-template-columns:1.05fr .95fr;align-items:center;gap:45px;padding:64px 0 34px}.portrait{height:490px;border-radius:12px 12px 0 0;background:#fff url('/assets/ranjbar/ranjbar-real-portrait.png') center bottom/cover no-repeat;box-shadow:0 28px 70px rgba(0,0,0,.34);align-self:end}.hero h1,.page-hero h1{margin:0;color:var(--gold2);font-size:62px;line-height:1.22}.hero h2{font-size:34px;margin:10px 0 22px}.hero p{font-size:18px;color:#e7edf4}.hero-actions{display:flex;gap:14px;margin-top:28px}.stats{margin-top:-58px;position:relative;z-index:2}.stats-grid{background:linear-gradient(135deg,#061421,#0a2745);border:1px solid rgba(217,173,73,.25);border-radius:11px;display:grid;grid-template-columns:repeat(4,1fr);color:#fff;box-shadow:0 20px 42px rgba(6,20,33,.22)}.stat{text-align:center;padding:24px}.stat strong{display:block;color:var(--gold2);font-size:32px}.stat span{font-weight:800}.section{padding:58px 0}.title{margin:0 0 22px;text-align:center;font-size:32px}.subtitle{text-align:center;color:var(--muted);margin-top:-14px}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.cards.four{grid-template-columns:repeat(4,1fr)}.cards.six{grid-template-columns:repeat(6,1fr)}.card,.panel{background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 12px 28px rgba(16,28,45,.06)}.card{overflow:hidden}.card-pad{padding:22px}.icon{color:var(--gold);font:900 32px Georgia}.service{text-align:center;min-height:220px;padding:28px 18px}.service h3{font-size:19px}.service p,.card p{color:var(--muted);font-size:14px}.thumb{height:170px;background:center/cover}.split{display:grid;grid-template-columns:1fr 1fr;gap:24px}.list{display:grid;gap:12px}.list-row{display:grid;grid-template-columns:82px 1fr;gap:12px;align-items:center;padding:10px;border-bottom:1px solid var(--line)}.list-row img{width:82px;height:62px;object-fit:cover;border-radius:8px}.dark-cta{background:linear-gradient(135deg,#061421,#082845);color:#fff;border-radius:12px;padding:35px 42px;display:grid;grid-template-columns:1fr auto;align-items:center;gap:18px}.dark-cta h2{margin:0;color:#fff}.dark-cta p{color:#dbe4ee}.footer{background:#061421;color:#dce5ef;padding:48px 0 18px}.footer-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr 1fr;gap:42px}.footer h3,.footer strong{color:var(--gold)}.footer a,.footer p{display:block;color:#d4dce6;font-size:14px}.copy{text-align:center;border-top:1px solid rgba(255,255,255,.09);margin-top:28px;padding-top:14px;color:#aeb8c3;font-size:12px}.page-hero{padding:58px 0 70px;text-align:center;background:linear-gradient(90deg,rgba(6,20,33,.96),rgba(6,20,33,.82)),url('/assets/ranjbar/about-scale.png') center/cover;color:#fff}.page-hero h1{font-size:48px;color:#fff}.searchbar{width:min(640px,100%);height:58px;margin:26px auto 0;background:#fff;border-radius:9px;display:flex;align-items:center;gap:10px;padding:0 12px;box-shadow:0 16px 34px rgba(0,0,0,.18)}.searchbar input{border:0;outline:0;flex:1;color:#152235}.layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:24px}.featured{display:grid;grid-template-columns:1fr 1fr;overflow:hidden}.featured .info{background:#061421;color:#fff;padding:38px}.featured h2{font-size:29px;color:#fff}.chips{display:flex;gap:10px;flex-wrap:wrap;margin:22px 0}.chip{border:1px solid var(--line);background:#fff;border-radius:8px;padding:9px 16px;font-weight:800}.chip.active{background:#061421;color:#fff}.side-card{padding:22px;margin-bottom:20px}.rank{display:grid;grid-template-columns:60px 1fr;gap:10px;margin-bottom:14px;align-items:center}.rank img{width:60px;height:50px;object-fit:cover;border-radius:7px}.article-hero{background:#061421;color:#fff}.article-top{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center;padding:42px 0}.article-top h1{font-size:42px;color:#fff}.article-img{height:430px;background:url('/assets/ranjbar/video-contract.png') center/cover;border-radius:0}.article-body{max-width:760px;margin:auto;background:#fff;padding:48px 0}.article-body h2{font-size:26px}.callout{border-radius:10px;padding:18px 20px;background:#eefaf4;border:1px solid #d7f2e4;color:#214d38;margin:22px 0}.toc{position:sticky;top:96px}.video-feature{display:grid;grid-template-columns:1.15fr .85fr;gap:24px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:26px;box-shadow:0 18px 40px rgba(16,28,45,.08)}.video-box{min-height:360px;background:url('/assets/ranjbar/video-contract.png') center/cover;border-radius:12px;display:grid;place-items:center;color:#fff;font-size:64px}.category-card{text-align:center;padding:26px}.timeline{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;text-align:center}.step-dot{width:38px;height:38px;border-radius:50%;background:#09213a;color:#fff;display:grid;place-items:center;margin:0 auto 10px}.form-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:24px}.form-card{padding:28px}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.field{display:grid;gap:7px}.field input,.field select,.field textarea{border:1px solid var(--line);border-radius:8px;padding:12px;background:#fff}.field textarea{min-height:150px}.field.full{grid-column:1/-1}.otp{max-width:600px;margin:22px auto;background:#fff;border:1px solid var(--line);border-radius:12px;padding:24px;text-align:center;box-shadow:0 18px 45px rgba(16,28,45,.1)}.otp-boxes{display:flex;justify-content:center;gap:10px;margin:18px 0}.otp-box{width:54px;height:54px;border:1px solid var(--line);border-radius:8px;display:grid;place-items:center;font-size:20px}.qa-item{padding:22px;margin-bottom:14px}.status{display:inline-flex;border-radius:999px;padding:4px 12px;font-size:12px;font-weight:900}.status.green{background:#ddf7e8;color:var(--green)}.status.amber{background:#fff3d8;color:#9b6a0b}.request-types{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.request-type{border:1px solid var(--line);border-radius:10px;padding:22px;text-align:center;background:#fff}.request-type.active{border-color:var(--gold);box-shadow:0 0 0 2px rgba(217,173,73,.12)}.stepper{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;background:#fff;border:1px solid var(--line);border-radius:13px;padding:24px;margin-top:-42px;position:relative}.portal{display:grid;grid-template-columns:280px minmax(0,1fr) 320px;gap:24px;padding:24px}.portal-side{background:linear-gradient(180deg,#061421,#09213a);color:#fff;border-radius:0;padding:24px;min-height:100vh}.portal-side .brand{margin:0 0 24px}.portal-link{display:flex;align-items:center;gap:12px;padding:14px;border-radius:8px;font-weight:800}.portal-link.active{background:rgba(255,255,255,.11);color:var(--gold2)}.portal-main .panel,.portal-aside .panel{padding:22px;margin-bottom:18px}.upload{border:2px dashed #bdd0e4;border-radius:12px;padding:34px;text-align:center;color:#35516e;background:#f8fbff}.file-row{display:grid;grid-template-columns:1fr 80px 110px 30px;gap:10px;align-items:center;border-bottom:1px solid var(--line);padding:12px}.admin-shell{display:grid;grid-template-columns:280px minmax(0,1fr);min-height:100vh}.admin-side{background:linear-gradient(180deg,#061421,#082642);color:#fff;padding:26px}.admin-side .mark{width:96px;height:96px;margin:0 auto 14px}.admin-link{display:flex;align-items:center;gap:12px;padding:14px;border-radius:9px;font-weight:900}.admin-link.active{background:linear-gradient(90deg,#ad7f27,#d8ad49);color:#fff}.admin-main{padding:22px}.topbar{height:62px;background:#fff;border:1px solid var(--line);border-radius:12px;margin-bottom:18px;display:flex;align-items:center;gap:16px;padding:0 18px}.kpis{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}.kpi{padding:20px}.board{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.column{border-radius:12px;padding:14px;background:#f7f9fc;border:1px solid var(--line)}table{width:100%;border-collapse:collapse;font-size:13px}th{background:#f2f5f8;text-align:right;color:#485466}th,td{padding:11px 10px;border-bottom:1px solid var(--line)}@media(max-width:1000px){.menu{display:none}.home-hero,.split,.layout,.article-top,.video-feature,.form-layout,.portal,.admin-shell{grid-template-columns:1fr}.portrait{height:390px;opacity:.45}.stats-grid,.cards.four,.cards.six,.kpis,.board,.timeline,.request-types{grid-template-columns:1fr 1fr}.portal-side{min-height:auto}.footer-grid{grid-template-columns:1fr 1fr}.layout{display:block}.toc{position:static}}@media(max-width:620px){.container{width:min(100% - 28px,1320px)}.site-header{height:66px}.brand small,.header-cta{display:none}.hero h1{font-size:38px}.hero h2{font-size:22px}.home-hero{text-align:center;padding-top:34px}.hero-actions{display:grid}.stats-grid,.cards,.cards.four,.cards.six,.field-grid,.stepper,.timeline,.request-types,.kpis,.board,.footer-grid{grid-template-columns:1fr}.featured{grid-template-columns:1fr}.portal{padding:0}.portal-main,.portal-aside{padding:14px}.dark-cta{grid-template-columns:1fr;text-align:center}.article-body{padding:28px 14px}.file-row{grid-template-columns:1fr}}
/* refinement pass: match generated 2026 mockups more closely */
.portrait{background-size:contain!important;background-position:center bottom!important}
.chip{color:var(--ink)}
.chip.active{color:#fff}
.cards.five{grid-template-columns:repeat(5,1fr)}
.page-hero .chips{justify-content:center}
.page-hero .chip{background:rgba(255,255,255,.08);color:#fff;border-color:rgba(255,255,255,.18);min-width:132px;text-align:center}
.page-hero .chip.active{background:var(--gold);color:#061421}
.video-feature{margin-top:-72px;position:relative;z-index:2}
.request-type .icon,.category-card .icon{font-size:38px}
.form-card{box-shadow:0 18px 44px rgba(16,28,45,.08)}
@media(max-width:1000px){.cards.five{grid-template-columns:repeat(2,1fr)}.portrait{opacity:.55}}
@media(max-width:620px){.cards.five{grid-template-columns:1fr}.portrait{background-size:contain!important}}
/* hero portrait generated from the real reference photo for a natural lawyer scene */
.portrait{background-image:url('/assets/ranjbar/ranjbar-hero-natural.png')!important;background-size:cover!important;background-position:center!important;background-color:#061421!important}
@media(max-width:1000px){.portrait{opacity:.72}}

/* product polish pass */
.about-band{display:grid;grid-template-columns:.95fr 1.05fr;gap:0;overflow:hidden;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 18px 44px rgba(16,28,45,.08)}
.about-photo{min-height:380px;background:linear-gradient(90deg,rgba(6,20,33,.08),rgba(6,20,33,.02)),url('/assets/ranjbar/about-scale.png') center/cover}
.about-copy{padding:42px}
.about-copy h2{font-size:31px;margin:10px 0 14px}
.mini-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:22px 0}
.mini-grid span,.privacy-note{background:#f7fafc;border:1px solid var(--line);border-radius:9px;padding:10px 12px;color:#36506b;font-weight:800;font-size:13px}
.testimonial{padding:24px;min-height:180px;display:grid;align-content:space-between}
.testimonial p{font-size:15px;color:#354257}
.testimonial span{color:var(--gold);letter-spacing:2px}
.article-content{font-size:16px}
.article-content h2{margin-top:8px;color:#09213a}
.article-content h3{margin:24px 0 6px;color:#14233a}
.tip-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:28px 0}
.tip-card{border:1px solid var(--line);border-radius:10px;padding:16px;background:#fff;text-align:center}
.tip-card span{display:grid;place-items:center;width:34px;height:34px;margin:0 auto 8px;border-radius:50%;background:#fff6e0;color:#bf8425;font-weight:900}
.tip-card strong{display:block;color:#122033}
.tip-card p{font-size:12px}
.quote-box{margin:28px 0;padding:22px;border:1px solid #f0d9a2;background:linear-gradient(180deg,#fffdf8,#fff);border-radius:10px;color:#24364a;font-size:18px}
.quote-box strong{display:block;margin-top:10px;color:var(--gold)}
.comment-box{margin-top:28px;border-top:1px solid var(--line);padding-top:24px}
.privacy-note{margin-top:14px;background:#fff8e7;border-color:#efd9a8;color:#6b4a12}
.filter-row{display:flex;gap:12px;align-items:center;margin:22px 0 0}
.searchbar.compact{height:44px;margin:0;box-shadow:none;border:1px solid var(--line);flex:1}
.qa-meta{display:flex;justify-content:space-between;gap:12px;align-items:center;color:var(--muted)}
.qa-actions{display:flex;gap:18px;color:#5e6d80;border-top:1px solid var(--line);padding-top:12px;margin-top:14px}
.private-card{background:linear-gradient(160deg,#061421,#092b4c);color:#fff}
.private-card p{color:#d8e1ec}
.checkline{display:flex;gap:10px;align-items:center;margin-top:16px;color:#34465d;font-weight:800}
.faq-band{margin-top:28px;padding:28px}
.faq-row{display:flex;justify-content:space-between;align-items:center;border:1px solid var(--line);border-radius:8px;background:#fff;padding:14px 16px;font-weight:900}
.portal-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px;padding:16px 20px;border-radius:12px;background:linear-gradient(135deg,#061421,#0a2b4b);color:#fff}
.portal-top strong{color:#78e0a9}
.security-panel{display:grid;grid-template-columns:auto 1fr;gap:10px;align-items:center;background:linear-gradient(90deg,#f5fff9,#fff)}
.security-panel strong{color:#118954;font-size:20px}
.portal .stepper{grid-template-columns:repeat(5,1fr)}
.card,.panel,.metric-card,.side-card,.form-card{transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.card:hover,.panel:hover{transform:translateY(-2px);box-shadow:0 18px 38px rgba(16,28,45,.09);border-color:#d9e1ec}
.btn:hover{filter:saturate(1.05);transform:translateY(-1px)}
@media(max-width:1000px){.about-band,.tip-grid{grid-template-columns:1fr 1fr}.portal .stepper{grid-template-columns:1fr 1fr}.filter-row{display:grid}.about-photo{min-height:280px}}
@media(max-width:620px){.about-band,.mini-grid,.tip-grid{grid-template-columns:1fr}.about-copy{padding:24px}.portal-top{display:grid;gap:8px}.portal .stepper{grid-template-columns:1fr}.qa-meta{display:grid}.qa-actions{justify-content:space-between;gap:8px}}

/* mobile navigation polish */
@media(max-width:1000px){.site-header{height:auto}.nav{min-height:70px;flex-wrap:wrap;padding:10px 0;gap:12px}.menu{display:flex!important;order:3;width:100%;gap:8px;overflow-x:auto;padding:8px 0 2px;scrollbar-width:none}.menu::-webkit-scrollbar{display:none}.menu a{white-space:nowrap;border:1px solid rgba(255,255,255,.12);border-radius:999px;padding:7px 12px!important;background:rgba(255,255,255,.04)}.menu a.active{border-color:var(--gold);background:rgba(217,173,73,.12)}.header-cta{margin-right:0;margin-left:0}}
@media(max-width:620px){.brand{margin-left:0}.brand strong{font-size:18px}.header-cta{display:inline-flex;font-size:12px;padding:7px 10px}.hero.home{min-height:auto}.home-hero{gap:22px}.portrait{height:300px}.page-hero{padding:36px 0 42px}.page-hero h1{font-size:34px}.searchbar{height:auto;min-height:50px}.searchbar button{padding:8px 12px}.service{min-height:auto}.stat{padding:18px}.portal{grid-template-columns:1fr}.portal-side{border-radius:0}.portal-aside{padding-bottom:24px}}

html,body{max-width:100%;overflow-x:hidden}
@media(max-width:620px){.container{width:calc(100% - 28px);max-width:100%;overflow:hidden}.nav{justify-content:center}.brand{max-width:100%;justify-content:center}.menu{max-width:100vw;margin-inline:-14px;padding-inline:14px}.hero h1{font-size:34px}.hero h2{font-size:24px}.hero p{font-size:15px}.stats{margin-top:0}.stats-grid{border-radius:0;margin-inline:-14px}.stepper{overflow:hidden}.stepper>div{display:grid;justify-items:center;text-align:center;gap:8px}.form-card,.panel,.card{max-width:100%}.request-type{min-width:0}.otp{max-width:100%;padding:18px 12px}.otp-boxes{gap:6px}.otp-box{width:42px;height:42px}.portal{overflow:hidden}.portal-main,.portal-aside{min-width:0}.file-row{overflow:hidden}.file-row span{min-width:0;overflow-wrap:anywhere}.field input,.field select,.field textarea{min-width:0;width:100%}}
@media(max-width:620px){.container{overflow:visible}.page-hero h1{font-size:29px;line-height:1.45;overflow-wrap:anywhere}.title,.form-card h2,.panel h2{font-size:25px;line-height:1.45;overflow-wrap:anywhere}.home-hero>div:first-child{min-width:0}.menu{direction:rtl}.request-types{grid-template-columns:1fr!important}.request-type{text-align:center}.field-grid{grid-template-columns:1fr!important}}
@media(max-width:620px){.menu{margin-inline:0!important;padding-inline:0!important;max-width:100%!important}.stats-grid{margin-inline:0!important;border-radius:11px}.page-hero .container,.hero .container{overflow:hidden}.page-hero h1,.page-hero p,.form-card h2{text-align:center}}
@media(max-width:620px){.page-hero .container{overflow:visible}.page-hero h1{font-size:24px!important;max-width:320px;margin-inline:auto;white-space:normal}.page-hero p{font-size:14px;max-width:320px;margin-inline:auto;line-height:1.9}.hero .container{overflow:visible}}

/* unified hero + premium parallax depth */
:root{--hero-x:0px;--hero-y:0px;--scroll-y:0px}
.hero.home{position:relative;isolation:isolate;overflow:hidden;min-height:720px;background:linear-gradient(90deg,rgba(6,20,33,.98) 0%,rgba(6,20,33,.86) 34%,rgba(6,20,33,.34) 58%,rgba(6,20,33,.9) 100%),url('/assets/ranjbar/ranjbar-hero-natural.png') left center/cover no-repeat!important}
.hero.home::before{content:"";position:absolute;inset:-8% -4% -12%;z-index:-2;background:radial-gradient(circle at 18% 26%,rgba(217,173,73,.22),transparent 19%),radial-gradient(circle at 78% 74%,rgba(241,208,119,.12),transparent 24%),url('/assets/ranjbar/about-scale.png') center/cover no-repeat;opacity:.34;filter:blur(.2px);transform:translate3d(calc(var(--hero-x) * .45),calc(var(--scroll-y) * -.08 + var(--hero-y) * .45),0) scale(1.05);transition:transform .12s linear}
.hero.home::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(6,20,33,.08),rgba(6,20,33,.72)),linear-gradient(90deg,rgba(6,20,33,.72),transparent 42%,rgba(6,20,33,.38));pointer-events:none}
.home-hero{min-height:640px;display:flex!important;align-items:center;justify-content:flex-start;padding:76px 0 86px!important}
.home-hero>div:first-child{width:min(620px,100%);padding:34px 0;transform:translate3d(calc(var(--hero-x) * -.16),calc(var(--hero-y) * -.12),0);transition:transform .12s linear}
.home-hero .portrait{display:none!important}
.hero.home h1{text-shadow:0 18px 52px rgba(0,0,0,.48)}
.hero.home p{max-width:610px}
.hero-actions .btn{box-shadow:0 16px 34px rgba(0,0,0,.18)}
.stats{margin-top:-74px}
.stats-grid{backdrop-filter:blur(18px);background:linear-gradient(135deg,rgba(6,20,33,.94),rgba(10,39,69,.86));transform:translateY(calc(var(--scroll-y) * -.018));will-change:transform}
.section{position:relative}
.card,.panel,.dark-cta,.about-band{will-change:transform}
.card:hover,.panel:hover{transform:translateY(-5px)}
.about-photo{background-attachment:fixed}
@media(prefers-reduced-motion:reduce){.hero.home::before,.home-hero>div:first-child,.stats-grid{transform:none!important;transition:none!important}.about-photo{background-attachment:scroll}}
@media(max-width:1000px){.hero.home{min-height:auto;background-position:center top!important}.home-hero{min-height:600px;justify-content:center;text-align:center}.home-hero>div:first-child{margin:auto;padding-top:260px}.stats{margin-top:-36px}.about-photo{background-attachment:scroll}}
@media(max-width:620px){.hero.home{background:linear-gradient(180deg,rgba(6,20,33,.58) 0%,rgba(6,20,33,.92) 48%,rgba(6,20,33,.98) 100%),url('/assets/ranjbar/ranjbar-hero-natural.png') center top/auto 360px no-repeat!important}.home-hero{min-height:620px;padding:328px 0 36px!important}.home-hero>div:first-child{padding:0;transform:none!important}.hero.home h1{font-size:34px!important}.hero.home h2{font-size:23px!important}.stats{margin-top:0}.about-photo{background-attachment:scroll}}

/* Bexon-inspired premium rhythm, adapted for a legal brand */
.hero-trust-card{width:min(410px,100%);margin-top:28px;padding:18px 20px;border:1px solid rgba(241,208,119,.24);border-radius:14px;background:rgba(255,255,255,.08);box-shadow:0 18px 45px rgba(0,0,0,.22);backdrop-filter:blur(18px);display:grid;gap:4px;color:#fff;transform:translate3d(calc(var(--hero-x) * .22),calc(var(--hero-y) * .18),0)}
.hero-trust-card span{color:#dbe5ef;font-size:13px}
.hero-trust-card strong{color:var(--gold2);font-size:16px}
.trust-strip{margin-top:26px;overflow:hidden;background:#edf2f6;border-block:1px solid #dfe7ef}
.trust-track{display:flex;gap:16px;white-space:nowrap;padding:18px 0;animation:trust-move 24s linear infinite}
.trust-track span{display:inline-flex;align-items:center;gap:10px;padding:10px 18px;border:1px solid #dbe3ec;border-radius:999px;background:#fff;color:#102239;font-weight:900;box-shadow:0 10px 24px rgba(16,28,45,.04)}
.trust-track span::before{content:"◆";color:var(--gold);font-size:12px}
@keyframes trust-move{from{transform:translateX(0)}to{transform:translateX(180px)}}
.section-head{display:grid;grid-template-columns:.72fr 1.28fr;gap:34px;align-items:end;margin-bottom:28px}
.section-head h2{font-size:38px;line-height:1.45;margin:0;color:#081828;max-width:880px}
.process-section{background:linear-gradient(180deg,#f5f7fb 0%,#edf2f6 100%)}
.process-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.process-card{min-height:300px;padding:26px;border-radius:18px;border:1px solid #dfe7ef;background:linear-gradient(180deg,#fff,#f9fbfd);box-shadow:0 18px 44px rgba(16,28,45,.06);position:relative;overflow:hidden;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.process-card::after{content:"";position:absolute;inset:auto -40px -54px auto;width:150px;height:150px;border-radius:50%;background:rgba(217,173,73,.12)}
.process-card span{display:block;color:rgba(6,20,33,.14);font-size:74px;font-weight:900;line-height:1;margin-bottom:26px}
.process-card h3{font-size:22px;margin:0 0 10px;color:#071625}
.process-card p{color:#5e6d80;margin:0}
.process-card:hover{transform:translateY(-8px);box-shadow:0 28px 65px rgba(16,28,45,.12);border-color:#d8ad49}
@media(max-width:1000px){.section-head{grid-template-columns:1fr}.process-grid{grid-template-columns:1fr 1fr}.hero-trust-card{margin-inline:auto}.trust-track{animation-duration:34s}}
@media(max-width:620px){.hero-trust-card{padding:15px;margin-top:18px}.trust-strip{margin-top:0}.trust-track{width:max-content;padding:14px 0}.section-head h2{font-size:26px;text-align:center}.section-head{text-align:center}.process-grid{grid-template-columns:1fr}.process-card{min-height:auto}.process-card span{font-size:52px;margin-bottom:14px}}

/* final home QA pass: mobile should feel composed, not clipped */
@media(max-width:620px){
  .site-header{overflow:hidden}
  .nav{width:100%;padding:12px 0 8px}
  .menu{justify-content:flex-start;scroll-padding-inline:14px;padding-bottom:4px!important}
  .menu a{flex:0 0 auto}
  .hero.home{background-position:center top!important}
  .home-hero{padding:322px 0 32px!important;min-height:640px}
  .hero.home p{max-width:340px!important;width:100%;margin:14px auto 0!important;padding:0 12px;white-space:normal;overflow:visible}
  .hero-actions{width:100%;max-width:340px;margin:22px auto 0}
  .hero-trust-card{width:min(340px,calc(100vw - 36px));margin-inline:auto}
  .stats{width:100%;padding:14px 14px 0}
  .stats .container{width:100%;padding:0}
  .stats-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px;background:transparent!important;border:0!important;box-shadow:none!important}
  .stat{border-radius:14px;background:linear-gradient(145deg,#061421,#19314a);border:1px solid rgba(217,173,73,.22);box-shadow:0 14px 30px rgba(6,20,33,.18)}
  .trust-track{animation:none;overflow-x:auto;width:100%;scrollbar-width:none}
  .trust-track::-webkit-scrollbar{display:none}
}

/* final containment: no section should feel cropped on narrow phones */
@media(max-width:620px){
  body{width:100%;overflow-x:hidden}
  .site-header,.hero,.stats,.trust-strip,.section,.footer{max-width:100vw;overflow:hidden}
  .container{width:calc(100vw - 28px)!important;max-width:calc(100vw - 28px)!important;margin-inline:auto!important}
  .stats{padding:14px 0 0!important}
  .stats-grid{grid-template-columns:1fr!important;width:100%!important}
  .stat{padding:20px 14px!important}
  .cards,.cards.six,.cards.four,.cards.five,.process-grid,.split{grid-template-columns:1fr!important;width:100%}
  .card,.panel,.service,.about-band,.dark-cta,.process-card{width:100%;max-width:100%}
  .service{padding:26px 18px}
  .trust-track{max-width:100%;padding-inline:0}
}

/* phone navigation should look intentional, not half-scrolled */
@media(max-width:620px){
  .menu{overflow:visible!important;flex-wrap:wrap!important;justify-content:center!important;gap:8px!important}
  .menu a{font-size:12px;padding:7px 10px!important}
  .trust-track{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;width:100%!important;white-space:normal!important;overflow:visible!important}
  .trust-track span{font-size:12px;padding:8px 12px}
  .service p{max-width:260px;margin-inline:auto;text-align:center}
}

/* kill remaining RTL horizontal drift on phones */
@media(max-width:620px){
  html,body{width:100vw!important;max-width:100vw!important;overflow-x:hidden!important}
  .nav{display:grid!important;grid-template-columns:1fr;justify-items:center}
  .brand{width:100%;justify-content:center}
  .header-cta{margin:0!important}
  .menu{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));width:100%!important;max-width:100%!important;overflow:visible!important;direction:rtl}
  .menu a{display:flex!important;align-items:center;justify-content:center;white-space:normal!important;min-width:0!important;width:100%;line-height:1.7}
  .hero-actions .btn{width:100%;max-width:100%}
  .hero-trust-card{max-width:100%!important}
  .trust-track{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));direction:rtl}
  .trust-track span{justify-content:center;white-space:normal;text-align:center}
  .home-hero,.home-hero>div:first-child,.hero-actions{width:100%!important;max-width:100%!important}
}

/* strict narrow phone fallback */
@media(max-width:620px){
  .menu{grid-template-columns:1fr!important;width:calc(100vw - 28px)!important}
  .menu a{width:100%!important}
  .home-hero>div:first-child{width:calc(100vw - 32px)!important;max-width:calc(100vw - 32px)!important;margin-inline:auto!important}
  .hero-actions{width:calc(100vw - 48px)!important;max-width:330px!important;margin-inline:auto!important}
  .hero-trust-card{width:calc(100vw - 48px)!important;max-width:330px!important}
  .stats{width:100vw!important;max-width:100vw!important}
  .stats-grid{width:calc(100vw - 28px)!important;margin-inline:auto!important}
  .trust-track{grid-template-columns:1fr!important;width:calc(100vw - 28px)!important;margin-inline:auto!important}
}

@media(max-width:620px){
  .hero-actions{width:280px!important;max-width:calc(100vw - 64px)!important}
  .hero-trust-card{width:280px!important;max-width:calc(100vw - 64px)!important}
}

/* hero redesign: keep Mr. Ranjbar visible and premium, not buried under overlays */
.hero.home{
  min-height:760px!important;
  background:
    radial-gradient(circle at 18% 52%,rgba(241,208,119,.16),transparent 22%),
    linear-gradient(90deg,rgba(6,20,33,.18) 0%,rgba(6,20,33,.34) 30%,rgba(6,20,33,.86) 58%,rgba(6,20,33,.98) 100%),
    url('/assets/ranjbar/ranjbar-hero-natural.png') left center/auto 100% no-repeat!important;
  background-color:#061421!important;
}
.hero.home::before{
  inset:0!important;
  background:
    linear-gradient(90deg,transparent 0%,rgba(6,20,33,.08) 28%,rgba(6,20,33,.74) 62%,rgba(6,20,33,.94) 100%),
    radial-gradient(circle at 82% 24%,rgba(217,173,73,.15),transparent 28%)!important;
  opacity:1!important;
  filter:none!important;
  transform:none!important;
}
.hero.home::after{
  background:
    linear-gradient(180deg,rgba(6,20,33,.02) 0%,rgba(6,20,33,.24) 60%,rgba(6,20,33,.82) 100%)!important;
}
.home-hero{
  min-height:680px!important;
  justify-content:flex-start!important;
  padding:86px 0 110px!important;
}
.home-hero>div:first-child{
  width:min(610px,48vw)!important;
  margin-right:auto!important;
  padding:28px 0!important;
}
.hero.home h1{font-size:74px!important}
.hero.home h2{font-size:38px!important}
.hero.home p{max-width:560px!important}
.hero-trust-card{
  background:rgba(8,22,36,.78)!important;
  border-color:rgba(217,173,73,.38)!important;
}
.stats{margin-top:-88px!important}
@media(max-width:1000px){
  .hero.home{
    min-height:720px!important;
    background:
      linear-gradient(180deg,rgba(6,20,33,.12) 0%,rgba(6,20,33,.56) 42%,rgba(6,20,33,.97) 76%),
      url('/assets/ranjbar/ranjbar-hero-natural.png') center top/auto 430px no-repeat!important;
    background-color:#061421!important;
  }
  .hero.home::before{background:radial-gradient(circle at 50% 20%,rgba(217,173,73,.14),transparent 24%)!important}
  .home-hero{min-height:720px!important;justify-content:center!important;padding:430px 0 42px!important;text-align:center!important}
  .home-hero>div:first-child{width:min(620px,100%)!important;margin:auto!important}
  .stats{margin-top:0!important}
}
@media(max-width:620px){
  .hero.home{
    min-height:auto!important;
    background:
      linear-gradient(180deg,rgba(6,20,33,.08) 0%,rgba(6,20,33,.48) 38%,rgba(6,20,33,.98) 68%),
      url('/assets/ranjbar/ranjbar-hero-natural.png') center top/auto 390px no-repeat!important;
    background-color:#061421!important;
  }
  .home-hero{min-height:720px!important;padding:390px 0 34px!important}
  .hero.home h1{font-size:38px!important}
  .hero.home h2{font-size:25px!important}
}

/* professional hero composition: portrait stays clear, copy sits in its own premium zone */
.hero.home{
  min-height:790px!important;
  background:
    radial-gradient(circle at 18% 46%,rgba(241,208,119,.24),transparent 23%),
    linear-gradient(90deg,rgba(6,20,33,.02) 0%,rgba(6,20,33,.08) 28%,rgba(6,20,33,.58) 46%,rgba(6,20,33,.96) 66%,rgba(6,20,33,.99) 100%),
    url('/assets/ranjbar/ranjbar-hero-natural.png') left bottom/auto 104% no-repeat!important;
  background-color:#061421!important;
}
.hero.home::before{
  display:none!important;
}
.hero.home::after{
  z-index:-1!important;
  background:
    linear-gradient(180deg,rgba(6,20,33,0) 0%,rgba(6,20,33,.10) 48%,rgba(6,20,33,.78) 100%),
    linear-gradient(90deg,rgba(6,20,33,.08) 0%,rgba(6,20,33,.06) 31%,rgba(6,20,33,.76) 58%,rgba(6,20,33,.98) 100%)!important;
}
.home-hero{
  display:grid!important;
  grid-template-columns:minmax(520px,1.02fr) minmax(520px,.98fr)!important;
  align-items:center!important;
  min-height:690px!important;
  padding:92px 0 120px!important;
  direction:ltr!important;
}
.home-hero>div:first-child{
  grid-column:2!important;
  justify-self:end!important;
  width:min(610px,100%)!important;
  margin:0!important;
  padding:34px 0!important;
  direction:rtl!important;
  text-align:right!important;
}
.hero.home h1{
  font-size:70px!important;
  line-height:1.15!important;
  text-shadow:0 20px 48px rgba(0,0,0,.42)!important;
}
.hero.home h2{
  font-size:36px!important;
}
.hero.home p{
  max-width:540px!important;
  margin-right:0!important;
}
.hero-actions{
  justify-content:flex-start!important;
}
.hero-trust-card{
  margin-right:0!important;
  margin-left:auto!important;
}
@media(max-width:1180px){
  .hero.home{
    background:
      radial-gradient(circle at 22% 42%,rgba(241,208,119,.20),transparent 23%),
      linear-gradient(90deg,rgba(6,20,33,.02) 0%,rgba(6,20,33,.18) 34%,rgba(6,20,33,.78) 58%,rgba(6,20,33,.98) 100%),
      url('/assets/ranjbar/ranjbar-hero-natural.png') left bottom/auto 98% no-repeat!important;
  }
  .home-hero{
    grid-template-columns:minmax(430px,1fr) minmax(430px,1fr)!important;
  }
  .hero.home h1{font-size:60px!important}
}
@media(max-width:1000px){
  .hero.home{
    min-height:auto!important;
    background:
      linear-gradient(180deg,rgba(6,20,33,.02) 0%,rgba(6,20,33,.12) 34%,rgba(6,20,33,.86) 59%,rgba(6,20,33,.99) 100%),
      url('/assets/ranjbar/ranjbar-hero-natural.png') center top/auto 455px no-repeat!important;
    background-color:#061421!important;
  }
  .home-hero{
    display:flex!important;
    min-height:770px!important;
    padding:455px 0 46px!important;
    justify-content:center!important;
    text-align:center!important;
    direction:rtl!important;
  }
  .home-hero>div:first-child{
    width:min(620px,100%)!important;
    text-align:center!important;
  }
  .hero.home p{margin-inline:auto!important}
  .hero-actions{justify-content:center!important}
  .hero-trust-card{margin-inline:auto!important}
}
@media(max-width:620px){
  .hero.home{
    background:
      linear-gradient(180deg,rgba(6,20,33,.00) 0%,rgba(6,20,33,.10) 30%,rgba(6,20,33,.82) 57%,rgba(6,20,33,.99) 100%),
      url('/assets/ranjbar/ranjbar-hero-natural.png') center top/auto 410px no-repeat!important;
  }
  .home-hero{
    min-height:760px!important;
    padding:410px 0 36px!important;
  }
  .hero.home h1{font-size:36px!important}
  .hero.home h2{font-size:23px!important}
}

/* final hero light balance: keep the portrait alive while preserving text contrast */
.hero.home{
  background:
    radial-gradient(circle at 22% 43%,rgba(241,208,119,.16),transparent 22%),
    linear-gradient(90deg,rgba(6,20,33,0) 0%,rgba(6,20,33,0) 35%,rgba(6,20,33,.42) 50%,rgba(6,20,33,.94) 66%,rgba(6,20,33,.99) 100%),
    url('/assets/ranjbar/ranjbar-hero-natural.png') left bottom/auto 104% no-repeat!important;
}
.hero.home::after{
  background:
    linear-gradient(180deg,rgba(6,20,33,0) 0%,rgba(6,20,33,0) 58%,rgba(6,20,33,.72) 100%),
    linear-gradient(90deg,rgba(6,20,33,0) 0%,rgba(6,20,33,0) 40%,rgba(6,20,33,.58) 61%,rgba(6,20,33,.96) 100%)!important;
}
@media(max-width:1180px){
  .hero.home{
    background:
      radial-gradient(circle at 22% 42%,rgba(241,208,119,.14),transparent 23%),
      linear-gradient(90deg,rgba(6,20,33,0) 0%,rgba(6,20,33,.02) 34%,rgba(6,20,33,.58) 56%,rgba(6,20,33,.98) 100%),
      url('/assets/ranjbar/ranjbar-hero-natural.png') left bottom/auto 98% no-repeat!important;
  }
}
@media(max-width:1000px){
  .hero.home{
    background:
      linear-gradient(180deg,rgba(6,20,33,0) 0%,rgba(6,20,33,0) 31%,rgba(6,20,33,.70) 57%,rgba(6,20,33,.99) 100%),
      url('/assets/ranjbar/ranjbar-hero-natural.png') center top/auto 455px no-repeat!important;
    background-color:#061421!important;
  }
}
@media(max-width:620px){
  .hero.home{
    background:
      linear-gradient(180deg,rgba(6,20,33,0) 0%,rgba(6,20,33,0) 27%,rgba(6,20,33,.72) 55%,rgba(6,20,33,.99) 100%),
      url('/assets/ranjbar/ranjbar-hero-natural.png') center top/auto 410px no-repeat!important;
    background-color:#061421!important;
  }
}

/* navigation QA: active state should never move the menu item vertically */
.site-header{
  height:78px!important;
}
.nav{
  height:100%!important;
  align-items:stretch!important;
}
.brand,
.header-cta{
  align-self:center!important;
}
.menu{
  align-self:stretch!important;
  align-items:stretch!important;
  gap:18px!important;
}
.menu a{
  position:relative!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  height:100%!important;
  padding:0 7px!important;
  border-bottom:0!important;
  color:#f3f7fb;
  line-height:1!important;
  transition:color .18s ease,background .18s ease;
}
.menu a::after{
  content:"";
  position:absolute;
  right:8px;
  left:8px;
  bottom:0;
  height:3px;
  border-radius:999px 999px 0 0;
  background:var(--gold);
  opacity:0;
  transform:scaleX(.55);
  transition:opacity .18s ease,transform .18s ease;
}
.menu a:hover,
.menu a.active{
  color:var(--gold2)!important;
}
.menu a.active::after{
  opacity:1;
  transform:scaleX(1);
}
@media(max-width:1000px){
  .site-header{height:auto!important}
  .nav{
    align-items:center!important;
    min-height:70px!important;
  }
  .menu{
    align-self:auto!important;
    align-items:center!important;
  }
  .menu a{
    height:auto!important;
    min-height:38px!important;
    padding:8px 13px!important;
    line-height:1.6!important;
    border:1px solid rgba(255,255,255,.12)!important;
  }
  .menu a::after{display:none!important}
  .menu a.active{
    border-color:var(--gold)!important;
    background:linear-gradient(180deg,rgba(217,173,73,.20),rgba(217,173,73,.08))!important;
    color:var(--gold2)!important;
  }
}
@media(max-width:620px){
  .menu a{
    min-height:42px!important;
    padding:9px 12px!important;
  }
}

/* Material-inspired surface system, adapted to the legal navy/gold brand */
:root{
  --md-ease:cubic-bezier(.2,0,0,1);
  --md-shadow-1:0 2px 6px rgba(15,23,42,.10),0 1px 2px rgba(15,23,42,.08);
  --md-shadow-2:0 8px 24px rgba(15,23,42,.12),0 2px 8px rgba(15,23,42,.08);
  --md-shadow-3:0 18px 48px rgba(15,23,42,.16),0 6px 18px rgba(15,23,42,.10);
  --md-focus:0 0 0 4px rgba(217,173,73,.18);
}
.btn,
.chip,
.header-cta,
.faq-row,
.request-type,
.portal-link,
.admin-link{
  position:relative;
  overflow:hidden;
  isolation:isolate;
}
.btn,
.header-cta{
  min-height:46px;
  border-radius:999px!important;
  box-shadow:var(--md-shadow-1);
  transition:transform .18s var(--md-ease),box-shadow .18s var(--md-ease),filter .18s var(--md-ease),background .18s var(--md-ease);
}
.btn:hover,
.header-cta:hover{
  transform:translateY(-2px);
  box-shadow:var(--md-shadow-2);
}
.btn:active,
.header-cta:active{
  transform:translateY(0) scale(.99);
  box-shadow:var(--md-shadow-1);
}
.btn.outline{
  background:#fff;
  border-color:#dfe7ef;
}
.btn.dark{
  background:linear-gradient(180deg,#09233d,#061421);
}
.card,
.panel,
.service,
.metric-card,
.side-card,
.form-card,
.process-card,
.request-type,
.faq-row,
.stat{
  box-shadow:var(--md-shadow-1);
  transition:transform .22s var(--md-ease),box-shadow .22s var(--md-ease),border-color .22s var(--md-ease),background .22s var(--md-ease);
}
.card:hover,
.panel:hover,
.service:hover,
.process-card:hover,
.request-type:hover,
.faq-row:hover{
  transform:translateY(-4px);
  box-shadow:var(--md-shadow-3);
  border-color:rgba(217,173,73,.42);
}
.service .icon,
.category-card .icon{
  width:58px;
  height:58px;
  margin:0 auto 14px;
  border-radius:18px;
  display:grid;
  place-items:center;
  background:linear-gradient(145deg,#fff8e7,#f2f6fb);
  box-shadow:inset 0 0 0 1px rgba(217,173,73,.20),var(--md-shadow-1);
}
.chips{
  align-items:center;
}
.chip{
  border-radius:999px!important;
  min-height:38px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 1px 2px rgba(15,23,42,.06);
  transition:background .18s var(--md-ease),box-shadow .18s var(--md-ease),transform .18s var(--md-ease),color .18s var(--md-ease);
}
.chip:hover{
  transform:translateY(-1px);
  box-shadow:var(--md-shadow-1);
  border-color:#d8ad49;
}
.chip.active{
  background:linear-gradient(180deg,#09233d,#061421)!important;
  box-shadow:var(--md-shadow-2);
}
.field{
  position:relative;
}
.field input,
.field select,
.field textarea,
.searchbar{
  border-radius:14px!important;
  transition:border-color .16s var(--md-ease),box-shadow .16s var(--md-ease),background .16s var(--md-ease);
}
.field input:focus,
.field select:focus,
.field textarea:focus,
.searchbar:focus-within{
  border-color:var(--gold)!important;
  box-shadow:var(--md-focus),var(--md-shadow-1)!important;
  outline:0;
}
.searchbar{
  box-shadow:var(--md-shadow-2);
}
.otp-box{
  border-radius:14px;
  box-shadow:var(--md-shadow-1);
  transition:border-color .16s var(--md-ease),box-shadow .16s var(--md-ease),transform .16s var(--md-ease);
}
.otp-box:hover{
  border-color:var(--gold);
  transform:translateY(-2px);
  box-shadow:var(--md-shadow-2);
}
.status{
  box-shadow:0 1px 2px rgba(15,23,42,.06);
}
.step-dot{
  box-shadow:0 8px 20px rgba(6,20,33,.14);
}
.request-type.active{
  background:linear-gradient(180deg,#fffdf7,#fff);
  box-shadow:var(--md-focus),var(--md-shadow-2);
}
.ripple-wave{
  position:absolute;
  width:18px;
  height:18px;
  border-radius:50%;
  pointer-events:none;
  background:rgba(255,255,255,.45);
  transform:translate(-50%,-50%) scale(0);
  animation:ripple-wave .58s var(--md-ease);
  z-index:0;
}
.btn.outline .ripple-wave,
.chip .ripple-wave,
.request-type .ripple-wave,
.faq-row .ripple-wave{
  background:rgba(217,173,73,.24);
}
@keyframes ripple-wave{
  to{transform:translate(-50%,-50%) scale(18);opacity:0}
}
@media(max-width:620px){
  .btn,.header-cta{min-height:44px}
  .service .icon,.category-card .icon{width:52px;height:52px;border-radius:16px}
  .card:hover,.panel:hover,.service:hover,.process-card:hover,.request-type:hover,.faq-row:hover{transform:none}
}

/* luxury law firm direction: quieter motion, stronger editorial typography, fewer template-like shapes */
:root{
  --law-black:#050b12;
  --law-charcoal:#111820;
  --law-paper:#fbfaf7;
  --law-warm:#f4f1ea;
  --law-border:rgba(17,24,32,.12);
  --law-heading:"Times New Roman","Noto Naskh Arabic",Vazirmatn,serif;
}
body{
  background:var(--law-paper);
}
.site-header{
  background:rgba(5,11,18,.78)!important;
  backdrop-filter:blur(16px);
  border-bottom:1px solid rgba(255,255,255,.06)!important;
  transition:background .28s ease,border-color .28s ease,box-shadow .28s ease;
}
.site-header.is-scrolled{
  background:rgba(5,11,18,.96)!important;
  border-bottom-color:rgba(217,173,73,.18)!important;
  box-shadow:0 10px 28px rgba(0,0,0,.18);
}
.brand strong,
.hero.home h1,
.hero.home h2,
.hero.home h3,
.page-hero h1,
.title,
.section-head h2,
.why-title h2,
.about-copy h2,
.contact-copy h2,
.confidential-card h2,
.dark-cta h2{
  font-family:var(--law-heading)!important;
  letter-spacing:0!important;
}
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:#b88b38;
  font-size:12px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.eyebrow::before{
  content:"";
  width:34px;
  height:1px;
  background:currentColor;
  opacity:.55;
}
.hero-copy .eyebrow{
  color:#f0cf7a;
  margin-bottom:14px;
}
.hero.home h3{
  margin:18px 0 0;
  color:#f7f3ea;
  font-size:28px;
  line-height:1.6;
  font-weight:700!important;
}
.hero.home p{
  color:#d7dde3!important;
  max-width:620px!important;
}
.hero.home p span{
  display:inline;
}
.btn,
.chip,
.header-cta,
.card,
.panel,
.service,
.process-card,
.request-type,
.faq-row,
.stats-grid,
.hero-trust-card,
.dark-cta,
.about-band{
  border-radius:8px!important;
}
.btn,
.header-cta{
  border-radius:6px!important;
}
.btn.gold::after,
.btn.outline::after,
.service a span{
  transition:transform .22s ease;
}
.btn:hover::after,
.service:hover a span{
  transform:translateX(-4px);
}
.trust-strip{
  margin-top:0!important;
  background:var(--law-warm)!important;
}
.trust-track{
  animation:none!important;
  justify-content:center;
  flex-wrap:wrap;
  white-space:normal!important;
}
.trust-track span{
  border-radius:4px!important;
  box-shadow:none!important;
}
.stats-grid{
  background:linear-gradient(135deg,rgba(5,11,18,.96),rgba(18,31,44,.96))!important;
}
.stat strong{
  font-size:22px!important;
  color:#f0cf7a!important;
}
.section{
  padding:76px 0;
}
.editorial-head{
  max-width:760px;
  margin:0 auto 34px;
  text-align:center;
}
.editorial-head p,
.section-head p,
.why-title p,
.faq-layout>div:first-child p,
.contact-copy p{
  color:#647083;
  margin:10px 0 0;
}
.practice-section{
  background:linear-gradient(180deg,#fbfaf7,#f4f1ea);
}
.cards.four{
  grid-template-columns:repeat(4,minmax(0,1fr));
}
.service{
  text-align:right!important;
  min-height:250px;
  padding:28px 24px!important;
}
.service .icon{
  width:42px!important;
  height:42px!important;
  margin:0 0 18px!important;
  border-radius:6px!important;
  background:transparent!important;
  box-shadow:none!important;
  font-size:24px!important;
}
.service a{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-top:12px;
  color:#8a631f;
  font-weight:800;
}
.about-editorial{
  background:#fff;
}
.about-band{
  grid-template-columns:.88fr 1.12fr!important;
  border-color:var(--law-border)!important;
  box-shadow:0 20px 46px rgba(17,24,32,.07)!important;
}
.about-photo{
  background:linear-gradient(90deg,rgba(5,11,18,.10),rgba(5,11,18,.02)),url('/assets/ranjbar/ranjbar-hero-natural.png') center/cover!important;
  background-attachment:scroll!important;
}
.about-copy blockquote{
  margin:26px 0;
  padding:22px 24px;
  border-right:3px solid var(--gold);
  background:#f7f3ea;
  color:#111820;
  font-family:var(--law-heading);
  font-size:24px;
  line-height:1.9;
}
.mini-grid span{
  border-radius:6px!important;
  background:#fbfaf7!important;
}
.why-section{
  background:var(--law-charcoal);
  color:#fff;
}
.why-grid{
  display:grid;
  grid-template-columns:.82fr 1.18fr;
  gap:56px;
  align-items:start;
}
.why-title{
  position:sticky;
  top:110px;
}
.why-title h2{
  font-size:44px;
  line-height:1.45;
  margin:12px 0;
}
.why-title p{
  color:#c7d0da;
}
.why-list{
  display:grid;
  gap:14px;
}
.why-item{
  display:grid;
  grid-template-columns:92px 1fr;
  gap:22px;
  padding:26px 0;
  border-bottom:1px solid rgba(255,255,255,.12);
}
.why-item span{
  color:rgba(240,207,122,.28);
  font:900 54px/1 var(--law-heading);
}
.why-item h3{
  color:#fff;
  margin:0 0 8px;
}
.why-item p{
  margin:0;
  color:#c7d0da;
}
.process-section{
  background:#fbfaf7!important;
}
.timeline-law{
  position:relative;
}
.timeline-law::before{
  content:"";
  position:absolute;
  top:70px;
  right:7%;
  left:7%;
  height:1px;
  background:rgba(17,24,32,.12);
}
.process-card{
  border-radius:6px!important;
  min-height:260px!important;
  background:#fff!important;
}
.process-card span{
  color:rgba(17,24,32,.16)!important;
  font-family:var(--law-heading);
}
.case-card{
  padding:28px;
  min-height:220px;
}
.case-card h3{
  font-family:var(--law-heading);
  font-size:24px;
  line-height:1.7;
}
.confidentiality-section{
  padding-block:38px;
  background:#fbfaf7;
}
.confidential-card{
  display:grid;
  grid-template-columns:100px 1fr;
  gap:28px;
  align-items:center;
  padding:42px;
  background:linear-gradient(135deg,#050b12,#0a2035);
  color:#fff;
  border:1px solid rgba(217,173,73,.22);
}
.confidential-card p{
  color:#d7dde3;
}
.shield-icon{
  width:78px;
  height:78px;
  display:grid;
  place-items:center;
  border:1px solid rgba(217,173,73,.38);
  color:#f0cf7a;
  font-size:42px;
}
.article-card .thumb{
  overflow:hidden;
  transition:transform .28s ease;
}
.article-card:hover .thumb{
  transform:scale(1.03);
}
.faq-layout{
  display:grid;
  grid-template-columns:.82fr 1.18fr;
  gap:44px;
  align-items:start;
}
.faq-layout .title{
  text-align:right;
}
.faq-list{
  display:grid;
  gap:10px;
}
.faq-list details{
  background:#fff;
  border:1px solid var(--law-border);
  border-radius:6px;
  padding:0;
}
.faq-list summary{
  cursor:pointer;
  padding:18px 20px;
  font-weight:900;
  color:#111820;
}
.faq-list details p{
  margin:0;
  padding:0 20px 18px;
  color:#647083;
}
.contact-section{
  background:linear-gradient(180deg,#f4f1ea,#fbfaf7);
}
.contact-grid{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:34px;
  align-items:start;
}
.contact-copy{
  padding:28px 0;
}
.contact-copy h2{
  font-size:42px;
  line-height:1.55;
}
.contact-list{
  display:grid;
  gap:10px;
  margin-top:24px;
  color:#293746;
}
.contact-list span{
  padding-bottom:10px;
  border-bottom:1px solid rgba(17,24,32,.10);
}
.contact-form{
  padding:28px;
}
.contact-form .field{
  margin-bottom:14px;
}
.cta-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}
.mobile-sticky-cta{
  display:none;
}
.reveal{
  will-change:transform,opacity;
}
.mobile-break{display:none}
@media(prefers-reduced-motion:reduce){
  .reveal{transform:none!important;opacity:1!important}
  *,*::before,*::after{animation-duration:.001ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.001ms!important}
}
@media(max-width:1000px){
  .cards.four,.why-grid,.faq-layout,.contact-grid{grid-template-columns:1fr!important}
  .why-title{position:static}
  .timeline-law::before{display:none}
  .confidential-card{grid-template-columns:1fr}
}
@media(max-width:620px){
  .mobile-break{display:block}
  .section{padding:52px 0}
  .hero.home h3{font-size:20px;text-align:center}
  .hero.home p span{display:block}
  .eyebrow{justify-content:center;width:100%;letter-spacing:0}
  .eyebrow::before{width:22px}
  .service{text-align:center!important;min-height:auto}
  .service .icon{margin-inline:auto!important}
  .about-copy blockquote{font-size:19px;padding:18px}
  .why-title h2,.contact-copy h2{font-size:30px;text-align:center}
  .why-item{grid-template-columns:1fr;text-align:center;gap:8px}
  .confidential-card{padding:28px}
  .faq-layout .title{text-align:center}
  .mobile-sticky-cta{
    position:fixed;
    right:14px;
    left:14px;
    bottom:12px;
    z-index:80;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px;
    padding:8px;
    background:rgba(5,11,18,.92);
    border:1px solid rgba(217,173,73,.25);
    border-radius:8px;
    backdrop-filter:blur(14px);
    opacity:0;
    pointer-events:none;
    transform:translateY(12px);
    transition:opacity .24s ease,transform .24s ease;
  }
  body.has-scrolled-cta .mobile-sticky-cta{
    opacity:1;
    pointer-events:auto;
    transform:translateY(0);
  }
  .mobile-sticky-cta a{
    display:grid;
    place-items:center;
    min-height:40px;
    border-radius:5px;
    background:#fff;
    color:#061421;
    font-weight:900;
  }
  .mobile-sticky-cta a:last-child{
    background:linear-gradient(180deg,#efcf73,#c99631);
  }
  .footer{padding-bottom:86px}
}

/* final hero blend: one continuous image, soft fade from the copy side */
.hero.home{
  background:
    linear-gradient(90deg,rgba(5,11,18,0) 0%,rgba(5,11,18,.06) 30%,rgba(5,11,18,.42) 54%,rgba(5,11,18,.88) 78%,rgba(5,11,18,.98) 100%),
    radial-gradient(circle at 78% 42%,rgba(217,173,73,.08),transparent 28%),
    url('/assets/ranjbar/ranjbar-hero-natural.png') left bottom/auto 104% no-repeat!important;
}
.hero.home::after{
  z-index:0!important;
  background:
    linear-gradient(180deg,rgba(5,11,18,0) 0%,rgba(5,11,18,.03) 56%,rgba(5,11,18,.76) 100%),
    linear-gradient(90deg,rgba(5,11,18,0) 0%,rgba(5,11,18,.18) 28%,rgba(5,11,18,.56) 46%,rgba(5,11,18,.88) 62%,rgba(5,11,18,.98) 100%),
    radial-gradient(ellipse at 63% 50%,rgba(5,11,18,.72),transparent 38%)!important;
}
.hero.home .home-hero,
.hero.home .stats-grid{
  position:relative;
  z-index:1;
}
@media(max-width:1000px){
  .hero.home{
    background:
      linear-gradient(180deg,rgba(5,11,18,0) 0%,rgba(5,11,18,.04) 32%,rgba(5,11,18,.72) 58%,rgba(5,11,18,.99) 100%),
      url('/assets/ranjbar/ranjbar-hero-natural.png') center top/auto 455px no-repeat!important;
  }
}
@media(max-width:620px){
  .hero.home{
    background:
      linear-gradient(180deg,rgba(5,11,18,0) 0%,rgba(5,11,18,.04) 31%,rgba(5,11,18,.76) 58%,rgba(5,11,18,.99) 100%),
      url('/assets/ranjbar/ranjbar-hero-natural.png') center top/auto 410px no-repeat!important;
  }
}

/* dedicated service pages */
.service-hero{
  position:relative;
  overflow:hidden;
  padding:132px 0 74px;
  color:#fff;
  background:
    linear-gradient(90deg,rgba(5,11,18,.98),rgba(5,11,18,.86) 58%,rgba(5,11,18,.58)),
    url('/assets/ranjbar/about-scale.png') center/cover;
}
.service-hero::after{
  content:"";
  position:absolute;
  inset:auto 0 0;
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(217,173,73,.45),transparent);
}
.service-hero-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) 360px;
  gap:42px;
  align-items:end;
}
.service-hero h1{
  margin:14px 0;
  font-family:var(--law-heading);
  font-size:56px;
  line-height:1.35;
}
.service-hero p{
  max-width:780px;
  color:#d7dde3;
  font-size:18px;
}
.service-brief{
  display:grid;
  gap:12px;
  padding:24px;
  border:1px solid rgba(217,173,73,.26);
  background:rgba(255,255,255,.06);
  backdrop-filter:blur(14px);
}
.service-brief strong{
  color:#f0cf7a;
}
.service-brief span{
  padding-top:10px;
  border-top:1px solid rgba(255,255,255,.12);
  color:#eef3f7;
}
.service-detail-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) 340px;
  gap:28px;
}
.service-content{
  padding:36px;
}
.service-content h2{
  font-family:var(--law-heading);
  font-size:36px;
  line-height:1.5;
}
.service-content blockquote{
  margin:26px 0;
  padding:22px;
  border-right:3px solid var(--gold);
  background:#f7f3ea;
  font-family:var(--law-heading);
  font-size:23px;
  line-height:1.9;
}
.service-list{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  margin-top:18px;
}
.service-list span{
  padding:14px 16px;
  border:1px solid var(--law-border);
  background:#fbfaf7;
  font-weight:800;
}
.related-services{
  margin-top:48px;
}
@media(max-width:1000px){
  .service-hero-grid,.service-detail-grid{grid-template-columns:1fr}
}
@media(max-width:620px){
  .service-hero{padding:96px 0 50px;text-align:center}
  .service-hero h1{font-size:38px}
  .service-hero p{font-size:15px}
  .service-list{grid-template-columns:1fr}
  .service-content{padding:24px}
}

/* Bootstrap + GSAP polish layer */
html{
  scroll-behavior:smooth;
  scroll-padding-top:96px;
}
.scroll-progress{
  position:fixed;
  inset:0 auto auto 0;
  z-index:120;
  width:100%;
  height:3px;
  background:linear-gradient(90deg,#c99631,#f1d077);
  transform:scaleX(0);
  transform-origin:left center;
  box-shadow:0 0 18px rgba(217,173,73,.35);
  pointer-events:none;
}
.scroll-top{
  position:fixed;
  right:22px;
  bottom:22px;
  z-index:90;
  width:46px;
  height:46px;
  padding:0!important;
  border-radius:50%!important;
  opacity:0;
  pointer-events:none;
  transform:translateY(12px);
}
body.has-scrolled-cta .scroll-top{
  opacity:1;
  pointer-events:auto;
  transform:translateY(0);
}
.btn,
.header-cta,
.service,
.card{
  backface-visibility:hidden;
}
.form-control,
.form-select{
  min-height:48px;
  border-color:var(--line);
  border-radius:8px;
}
.form-control:focus,
.form-select:focus{
  border-color:var(--gold);
  box-shadow:0 0 0 .25rem rgba(217,173,73,.18);
}
.page-hero,
.service-hero{
  isolation:isolate;
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .scroll-progress,.scroll-top{transition:none!important}
}
@media(max-width:620px){
  .scroll-top{
    display:none;
  }
}

/* unified public navigation: desktop menu, mobile sandwich drawer */
.menu-toggle,
.menu-close,
.mobile-brand-label,
.mobile-menu-backdrop,
.mobile-menu-panel{
  display:none;
}
.site-header .nav{
  min-height:76px;
}
@media(max-width:1000px){
  body.menu-open{
    overflow:hidden;
  }
  .site-header{
    height:70px!important;
    overflow:visible!important;
  }
  .site-header .nav{
    display:flex!important;
    flex-wrap:nowrap!important;
    justify-content:space-between!important;
    width:min(1320px,calc(100% - 32px))!important;
    min-height:70px!important;
    height:70px!important;
    padding:0!important;
    gap:12px!important;
  }
  .site-header .brand{
    width:auto!important;
    max-width:calc(100% - 64px)!important;
    margin:0!important;
    justify-content:flex-start!important;
  }
  .site-header .brand .mark{
    width:44px;
    height:44px;
    font-size:24px;
    flex:0 0 auto;
  }
  .site-header .brand strong{
    font-size:18px;
  }
  .site-header .brand small{
    display:block!important;
    font-size:11px;
    white-space:nowrap;
  }
  .site-header .menu,
  .site-header .header-cta{
    display:none!important;
  }
  .menu-toggle{
    position:relative;
    display:grid;
    place-items:center;
    width:46px;
    height:46px;
    padding:0;
    border:1px solid rgba(217,173,73,.42);
    border-radius:10px;
    background:rgba(255,255,255,.06);
    color:#fff;
    cursor:pointer;
    flex:0 0 auto;
    overflow:hidden;
  }
  .menu-toggle span{
    position:absolute;
    width:20px;
    height:2px;
    border-radius:999px;
    background:#f1d077;
    transition:transform .24s ease,opacity .2s ease,top .24s ease;
  }
  .menu-toggle span:nth-child(1){top:15px}
  .menu-toggle span:nth-child(2){top:22px}
  .menu-toggle span:nth-child(3){top:29px}
  body.menu-open .menu-toggle span:nth-child(1){
    top:22px;
    transform:rotate(45deg);
  }
  body.menu-open .menu-toggle span:nth-child(2){
    opacity:0;
  }
  body.menu-open .menu-toggle span:nth-child(3){
    top:22px;
    transform:rotate(-45deg);
  }
  .mobile-menu-backdrop{
    position:fixed;
    inset:0;
    z-index:94;
    display:block;
    background:rgba(3,9,16,.52);
    backdrop-filter:blur(6px);
    opacity:0;
    pointer-events:none;
    transition:opacity .24s ease;
  }
  .mobile-menu-panel{
    position:fixed;
    top:0;
    right:0;
    bottom:0;
    z-index:95;
    display:grid;
    grid-template-rows:auto 1fr auto;
    width:min(88vw,380px);
    padding:18px;
    color:#fff;
    background:
      radial-gradient(circle at 20% 0%,rgba(217,173,73,.18),transparent 28%),
      linear-gradient(180deg,#071523,#0a2540 58%,#04101d);
    border-left:1px solid rgba(217,173,73,.18);
    box-shadow:-24px 0 70px rgba(0,0,0,.36);
    transform:translateX(104%);
    transition:transform .3s cubic-bezier(.2,.8,.2,1);
  }
  body.menu-open .mobile-menu-backdrop{
    opacity:1;
    pointer-events:auto;
  }
  body.menu-open .mobile-menu-panel{
    transform:translateX(0);
  }
  .mobile-menu-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    padding-bottom:16px;
    border-bottom:1px solid rgba(255,255,255,.1);
  }
  .mobile-menu-head .brand{
    margin:0!important;
  }
  .menu-close{
    display:grid;
    place-items:center;
    width:42px;
    height:42px;
    border:1px solid rgba(255,255,255,.15);
    border-radius:10px;
    background:rgba(255,255,255,.05);
    color:#fff;
    font-size:28px;
    line-height:1;
    cursor:pointer;
  }
  .mobile-menu-links{
    display:grid;
    align-content:start;
    gap:8px;
    padding:18px 0;
    overflow:auto;
  }
  .mobile-menu-links a{
    display:flex;
    align-items:center;
    justify-content:space-between;
    min-height:48px;
    padding:0 14px;
    border:1px solid rgba(255,255,255,.09);
    border-radius:9px;
    color:#edf3f8;
    font-weight:800;
    background:rgba(255,255,255,.035);
  }
  .mobile-menu-links a::after{
    content:"‹";
    color:#d8ad45;
    font-size:20px;
  }
  .mobile-menu-links a.active{
    color:#f1d077;
    border-color:rgba(217,173,73,.55);
    background:rgba(217,173,73,.13);
  }
  .mobile-menu-actions{
    display:grid;
    gap:10px;
    padding-top:16px;
    border-top:1px solid rgba(255,255,255,.1);
  }
  .mobile-menu-actions .btn{
    width:100%;
    min-height:48px;
  }
}
@media(max-width:620px){
  .site-header .nav{
    width:calc(100% - 24px)!important;
  }
  .site-header .brand small{
    display:none!important;
  }
  .site-header .brand strong{
    font-size:17px;
  }
  .mobile-menu-panel{
    width:min(92vw,360px);
  }
}

@media(max-width:1000px){
  html,body{
    max-width:100%;
    overflow-x:hidden;
  }
  .site-header .nav{
    display:grid!important;
    grid-template-columns:46px minmax(0,1fr)!important;
    align-items:center!important;
    direction:ltr;
    position:relative;
  }
  .site-header .menu-toggle{
    grid-column:1;
    justify-self:start;
  }
  .site-header .brand{
    display:none!important;
  }
  .mobile-brand-label{
    display:none!important;
  }
  .mobile-brand-label strong,
  .mobile-brand-label small{
    display:block;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
  }
  .mobile-brand-label strong{
    color:#f1d077;
    font-size:18px;
    line-height:1.35;
    font-weight:900;
  }
  .mobile-brand-label small{
    color:#d7dde3;
    font-size:11px;
    line-height:1.35;
  }
}
