@font-face{font-family:Vazirmatn;src:url('/assets/fonts/Vazirmatn[wght].ttf') format('truetype');font-style:normal;font-weight:100 900;font-display:swap;}
:root{--ink:#182433;--navy:#101d2d;--navy2:#172b40;--muted:#667487;--paper:#f7f8fa;--white:#fff;--line:#e6eaf0;--gold:#c6a36a;--gold-light:#e7d4b0;--teal:#4b9b99;--shadow:0 24px 70px rgba(16,29,45,.10);font-family:Vazirmatn,Tahoma,sans-serif;color:var(--ink);scroll-behavior:smooth}
*{box-sizing:border-box}html{scroll-padding-top:90px}body{margin:0;background:var(--paper);line-height:1.9}a{color:inherit;text-decoration:none}button{font:inherit}.wrap{width:min(1160px,calc(100% - 48px));margin-inline:auto}
.site-header{height:84px;padding:0 max(24px,calc((100% - 1160px)/2));display:flex;align-items:center;justify-content:space-between;background:rgba(255,255,255,.96);border-bottom:1px solid rgba(230,234,240,.8);position:sticky;top:0;z-index:20;backdrop-filter:blur(16px)}
.brand{display:flex;align-items:center;gap:12px}.brand-mark{width:44px;height:44px;border-radius:13px;background:var(--navy);color:var(--gold-light);display:grid;place-items:center;font:600 17px Georgia,serif;letter-spacing:1px;box-shadow:0 7px 18px #101d2d24}.brand b,.brand small{display:block}.brand b{font-size:14px;font-weight:700;color:var(--navy)}.brand small{font-size:10px;color:#8390a0;margin-top:1px}
.nav{display:flex;align-items:center;gap:29px;font-size:12px;color:#596779}.nav a{transition:color .2s}.nav a:hover,.nav a.active,.nav a[aria-current=page]{color:#a27d43}.nav .nav-cta{background:var(--navy);color:white;padding:11px 19px;border-radius:9px;box-shadow:0 7px 18px #101d2d1c}.nav .nav-cta:hover{background:#263d56;color:white}.menu-toggle{display:none}
.hero{min-height:650px;position:relative;overflow:hidden;display:grid;grid-template-columns:1.05fr .95fr;align-items:center;gap:45px;padding:82px max(24px,calc((100% - 1160px)/2)) 86px;background:linear-gradient(118deg,#101d2d 0%,#172b40 62%,#203d50 100%);color:white}
.hero:before{content:"";position:absolute;width:660px;height:660px;border:1px solid #ffffff12;border-radius:50%;left:-230px;top:-320px;box-shadow:0 0 0 70px #ffffff08,0 0 0 140px #ffffff05}.hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent 0%,#ffffff06 50%,transparent 100%);pointer-events:none}.hero-content,.hero-visual{position:relative;z-index:1}
.eyebrow,.section-kicker{font-size:11px;letter-spacing:.5px;color:var(--gold)}.eyebrow{display:inline-flex;align-items:center;gap:10px;padding:7px 13px;border:1px solid #ffffff24;border-radius:99px;background:#ffffff09}.eyebrow span{width:7px;height:7px;border-radius:50%;background:var(--teal);box-shadow:0 0 0 5px #4b9b9925}
h1{font-size:clamp(36px,4.6vw,60px);line-height:1.48;font-weight:600;letter-spacing:-1.4px;margin:24px 0 15px}h1 em,h2 em{font-style:normal;color:var(--gold-light)}.hero-lead{font-size:18px;color:#f0dfc1;margin:0 0 9px}.hero-copy{font-size:13px;line-height:2.35;color:#c1ccd7;max-width:540px;margin:0}.hero-actions{display:flex;align-items:center;gap:14px;margin-top:31px;flex-wrap:wrap}.button{display:inline-flex;gap:20px;align-items:center;justify-content:center;padding:12px 21px;border-radius:9px;font-size:12px;transition:transform .22s,background .22s,box-shadow .22s}.button:hover{transform:translateY(-3px)}.button-gold{background:var(--gold);color:#152438;box-shadow:0 10px 24px #c6a36a2b}.button-gold:hover{background:#dfc18c;box-shadow:0 14px 28px #c6a36a40}.button-outline{border:1px solid #ffffff45;color:#fff}.button-outline:hover{background:#ffffff12}.hero-note{display:flex;align-items:center;gap:11px;color:#9eacbb;font-size:10px;margin-top:48px}.note-line{width:32px;height:1px;background:var(--gold)}
.hero-visual{min-height:430px;display:grid;place-items:center}.visual-frame{width:min(100%,440px);height:420px;position:relative;border:1px solid #ffffff25;border-radius:26px;background:linear-gradient(145deg,#ffffff14,#ffffff03);box-shadow:0 35px 90px #07111e55;overflow:hidden;display:flex;align-items:center;justify-content:center}.visual-frame:before{content:"";position:absolute;width:300px;height:300px;border:1px solid #d9bd8a55;border-radius:50%;box-shadow:0 0 0 34px #d9bd8a0c,0 0 0 68px #d9bd8a08}.visual-frame:after{content:"";position:absolute;inset:18px;border:1px solid #ffffff18;border-radius:17px}.visual-monogram{position:relative;z-index:1;text-align:center}.visual-monogram strong{display:block;font:italic 150px/.9 Georgia,serif;letter-spacing:-18px;color:#e8d4ae;text-shadow:0 12px 50px #0008}.visual-monogram span{display:block;margin-top:26px;color:#c8d1dc;font:10px Georgia,serif;letter-spacing:3px}.visual-stamp{position:absolute;z-index:2;bottom:32px;right:30px;background:#f7f8fa;color:var(--navy);padding:13px 17px;border-radius:12px;box-shadow:0 12px 35px #0004}.visual-stamp b,.visual-stamp small{display:block}.visual-stamp b{font-size:11px}.visual-stamp small{font-size:9px;color:#788596}.visual-index{position:absolute;left:30px;top:28px;color:#c9b58e;font:10px Georgia;letter-spacing:2px}.hero-bottom{position:absolute;bottom:23px;left:max(24px,calc((100% - 1160px)/2));right:max(24px,calc((100% - 1160px)/2));display:flex;justify-content:space-between;color:#9aabba;font:9px Georgia;letter-spacing:2px}
.credentials{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;position:relative;margin-top:-1px;padding-block:24px}.credentials>div{display:flex;align-items:center;gap:15px;padding:18px 21px;background:white;border:1px solid var(--line);border-radius:13px;box-shadow:0 10px 30px #101d2d08}.credential-number{width:38px;height:38px;border-radius:11px;background:#f3eee5;color:#a17f49;display:grid;place-items:center;font:12px Georgia;flex:none}.credentials b,.credentials small{display:block}.credentials b{font-size:12px;font-weight:700}.credentials small{font-size:10px;color:var(--muted);margin-top:3px}
.intro-section{padding-block:100px}.intro-grid{display:grid;grid-template-columns:.95fr 1.05fr;gap:80px;margin-top:20px;align-items:start}.intro-grid h2,.section-heading h2,.contact-band h2{font-size:clamp(28px,3vw,40px);line-height:1.7;font-weight:600;margin:0;color:var(--navy)}.intro-grid p{font-size:13px;color:var(--muted);margin:0 0 16px;line-height:2.4}.under-link{display:inline-flex;align-items:center;gap:15px;color:#987544;font-size:12px;margin-top:12px;border-bottom:1px solid var(--gold);padding-bottom:6px}
.services-preview{background:#eef1f4;padding:88px 0 96px}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:30px;margin:18px 0 36px}.section-heading p{max-width:330px;font-size:12px;color:var(--muted);line-height:2.2}.service-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:17px}.service-card{background:white;padding:27px 26px 25px;min-height:240px;border:1px solid #e4e9ee;border-radius:15px;transition:transform .25s,box-shadow .25s,border-color .25s;position:relative;overflow:hidden}.service-card:before{content:"";position:absolute;top:0;right:0;width:4px;height:0;background:var(--gold);transition:height .25s}.service-card:hover{transform:translateY(-6px);box-shadow:var(--shadow);border-color:#d7c29f}.service-card:hover:before{height:100%}.service-card>span{font:12px Georgia;color:#b18c52}.service-card h3{font-size:16px;font-weight:700;margin:20px 0 8px;color:var(--navy)}.service-card p{font-size:11px;color:var(--muted);line-height:2.2;min-height:66px}.service-card b{font-size:10px;color:#987544;font-weight:600}
.contact-band{padding-block:82px;display:flex;align-items:center;justify-content:space-between;gap:30px}.contact-band h2{font-size:29px;margin-top:10px}
.footer{background:#0d1927;color:#c4ccd6;padding:29px 0}.footer-inner{display:flex;align-items:center;justify-content:space-between;gap:20px}.footer p,.footer>a{font-size:10px;color:#9ba7b7}.footer .brand b{color:white}.footer .brand small{color:#9ba7b7}.footer .brand-mark{background:#1c2c40;border-color:#c6a36a}
.page-hero{background:linear-gradient(115deg,#101d2d,#203b50);color:white;padding:70px 0 66px;position:relative;overflow:hidden}.page-hero:after{content:"";position:absolute;width:360px;height:360px;border:1px solid #ffffff18;border-radius:50%;left:-100px;top:-210px;box-shadow:0 0 0 45px #ffffff08,0 0 0 90px #ffffff05}.page-hero .wrap{position:relative;z-index:1}.page-hero h1{font-size:clamp(30px,4vw,43px);margin:10px 0}.page-hero p{color:#c0cbd6;font-size:13px;max-width:650px;line-height:2.2}.content-page{padding-block:58px 95px;max-width:900px}.content-page h2{font-size:21px;font-weight:700;color:var(--navy);margin:32px 0 10px}.content-page>h2:first-child{margin-top:0}.content-page p,.content-page li{font-size:13px;color:#596779;line-height:2.45}.content-page ul,.content-page ol{padding-right:22px}.info-panel{background:#f0f2f4;border:1px solid #e2e7ec;border-right:3px solid var(--gold);border-radius:12px;padding:20px 24px;margin:26px 0}.info-panel>b{color:var(--navy);font-size:13px}.info-panel p{margin-bottom:0}.contact-list{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:28px}.contact-item{background:white;border:1px solid var(--line);border-radius:13px;padding:21px;box-shadow:0 8px 25px #101d2d07;transition:border-color .2s,transform .2s,box-shadow .2s}.contact-item:hover{border-color:#d5bd92;transform:translateY(-3px);box-shadow:var(--shadow)}.contact-item small,.contact-item b{display:block}.contact-item small{font-size:10px;color:#7c8796}.contact-item b{font-size:13px;margin-top:6px;direction:ltr;text-align:right;overflow-wrap:anywhere;color:var(--navy)}.contact-action{display:inline-block;font-size:10px;color:#987b48;margin-top:9px;border-bottom:1px solid var(--gold)}
.page-intro{font-size:13px!important;color:#48566a!important;background:#f0f2f4;padding:20px 24px;border-right:3px solid var(--gold);border-radius:10px;margin-bottom:42px}.service-detail{position:relative;padding:8px 72px 28px 0;margin:0 0 28px;border-bottom:1px solid var(--line)}.service-index{position:absolute;right:0;top:7px;color:#b18c52;font:17px Georgia}.service-detail h2,.process-section h2,.faq-section h2{margin-top:0}.service-detail ul,.process-section ol,.process-section ul{padding-right:22px}.process-section{background:#f0f2f4;border:1px solid #e4e9ee;border-radius:14px;padding:27px 30px;margin:36px 0}.process-section p,.process-section li{font-size:12px}.muted-note{color:#7b8796!important;font-size:11px!important}.faq-section{margin:46px 0}.faq-section details{border-bottom:1px solid var(--line);padding:16px 0}.faq-section summary{cursor:pointer;font-size:13px;font-weight:700;color:#26364b;list-style:none;position:relative;padding-left:30px}.faq-section summary::-webkit-details-marker{display:none}.faq-section summary:after{content:"+";position:absolute;left:4px;top:-3px;color:#a88b55;font:22px Georgia}.faq-section details[open] summary:after{content:"−"}.faq-section details p{font-size:12px;margin:12px 0 0;color:#687487}
.skip-link{position:absolute;top:8px;right:8px;z-index:30;padding:10px 16px;background:var(--gold-light);color:var(--navy);transform:translateY(-160%);transition:transform .2s}.skip-link:focus{transform:translateY(0)}a:focus-visible,button:focus-visible{outline:3px solid #d2b47f;outline-offset:4px}#main-content{scroll-margin-top:24px}
.reveal{opacity:0;transform:translateY(18px);transition:opacity .7s ease,transform .7s ease}.reveal.is-visible{opacity:1;transform:none}
@media(max-width:850px){.site-header{height:74px}.menu-toggle{display:flex;flex-direction:column;gap:5px;background:none;border:0;padding:10px}.menu-toggle i{width:23px;height:2px;border-radius:2px;background:var(--navy)}.nav{display:none;position:absolute;top:74px;right:0;left:0;background:white;padding:18px 24px 25px;flex-direction:column;align-items:stretch;gap:14px;border-top:1px solid var(--line);box-shadow:0 18px 30px #101d2d15}.nav.open{display:flex}.nav .nav-cta{text-align:center}.hero{grid-template-columns:1fr;padding-top:54px;gap:25px;min-height:auto}.hero-visual{min-height:330px;grid-row:1}.visual-frame{height:320px;max-width:360px}.visual-monogram strong{font-size:120px}.hero-content{grid-row:2}.hero-note{margin-top:30px}.credentials{grid-template-columns:1fr;margin-top:0;padding-block:18px}.credentials>div{padding:14px 17px}.intro-section{padding-block:68px}.intro-grid{grid-template-columns:1fr;gap:18px}.section-heading{display:block}.section-heading p{margin-top:8px}.service-cards{grid-template-columns:1fr}.service-card{min-height:unset}.service-card p{min-height:unset}.contact-band{padding-block:58px;display:block}.contact-band .button{margin-top:22px}.footer-inner{gap:18px;flex-wrap:wrap}.page-hero{padding:52px 0}.content-page{padding-block:42px 70px}}
@media(max-width:560px){.wrap{width:min(100% - 34px,1160px)}.site-header{padding-inline:17px}.hero{padding:45px 17px 70px}.hero h1{font-size:35px;letter-spacing:-.8px}.hero-visual{min-height:285px}.visual-frame{height:275px;max-width:320px}.visual-monogram strong{font-size:104px}.visual-stamp{bottom:22px;right:20px}.visual-index{left:22px;top:20px}.hero-actions{gap:10px}.button{padding:11px 15px}.hero-bottom{left:17px;right:17px}.credentials{width:calc(100% - 34px)}.intro-grid h2,.section-heading h2{font-size:29px}.contact-list{grid-template-columns:1fr}.service-detail{padding-right:48px}.process-section{padding:21px 18px}.page-intro{padding:16px}.footer-inner{align-items:flex-start;flex-direction:column}.footer-inner>p{margin:0}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}.reveal{opacity:1;transform:none}}

/* Massively-inspired cinematic legal direction */
.cinematic-hero{min-height:760px;grid-template-columns:1.05fr .95fr;padding-top:100px;padding-bottom:115px;background:#10131b url("/assets/images/hero-legal.svg") center 46%/cover no-repeat}
.cinematic-hero:before{inset:0;width:auto;height:auto;border:0;border-radius:0;left:0;top:0;box-shadow:none;background:linear-gradient(90deg,rgba(8,12,19,.96) 0%,rgba(8,12,19,.82) 48%,rgba(8,12,19,.28) 100%)}
.cinematic-hero:after{background:linear-gradient(0deg,rgba(7,10,16,.8),transparent 26%,rgba(7,10,16,.18) 100%)}
.hero-overline{font:10px Georgia,serif;letter-spacing:3px;color:#d8c29a;margin:30px 0 0}
.cinematic-hero h1{font-size:clamp(42px,5.2vw,70px);line-height:1.55;margin:14px 0 18px;text-shadow:0 3px 30px #0008}
.cinematic-hero .hero-copy{max-width:570px;color:#e0e2e5}
.legal-visual{min-height:500px}
.legal-visual .visual-frame{width:min(100%,490px);height:490px;border:1px solid #d6c09666;border-radius:2px;background:#090d13;box-shadow:0 35px 100px #0009}
.legal-visual .visual-frame:before{content:none}
.legal-visual .visual-frame:after{inset:14px;border:1px solid #ffffff42;border-radius:0}
.legal-visual .visual-frame img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:brightness(.72) saturate(.72);transition:transform 1.2s ease,filter .8s ease}
.legal-visual .visual-frame:hover img{transform:scale(1.045);filter:brightness(.86) saturate(.85)}
.legal-visual .visual-stamp{right:auto;left:30px;bottom:30px;border-radius:0;background:rgba(12,18,27,.88);border:1px solid #d6c09680;color:#fff;backdrop-filter:blur(10px)}
.legal-visual .visual-stamp small{color:#d4c7b0}
.legal-visual .visual-index{z-index:2}
.scroll-cue{position:absolute;bottom:20px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:10px;color:#c4c4c4;font:9px Georgia;letter-spacing:2px;z-index:2}
.scroll-cue span{height:27px;width:16px;border:1px solid #d8c29a;border-radius:12px;position:relative}
.scroll-cue span:after{content:"";position:absolute;top:5px;left:6px;width:2px;height:6px;background:#d8c29a;animation:scrollPulse 1.5s infinite}
@keyframes scrollPulse{0%{opacity:0;transform:translateY(0)}50%{opacity:1}100%{opacity:0;transform:translateY(9px)}}
.justice-feature{min-height:510px;display:grid;grid-template-columns:1.05fr .95fr;background:#111a26;color:#fff;overflow:hidden}
.justice-photo{min-height:510px;background:linear-gradient(90deg,transparent 60%,#111a26 100%),url("/assets/images/courthouse.svg") center/cover no-repeat;filter:saturate(.72)}
.justice-copy{align-self:center;padding:70px clamp(32px,7vw,110px) 70px 40px}
.justice-copy h2{font-size:clamp(32px,4vw,48px);line-height:1.7;font-weight:600;margin:18px 0;color:#fff}
.justice-copy p{font-size:13px;line-height:2.5;color:#c0c8d2;max-width:470px}
.justice-copy .under-link{color:#dfc28f}
.cinematic-hero .hero-bottom{color:#d3c6ad}
.services-preview{background:#e9e7e1}
.service-card{border-radius:2px;box-shadow:0 16px 40px #121b2810}
.service-card:after{content:"";position:absolute;inset:auto 0 0;height:3px;background:var(--gold);transform:scaleX(0);transform-origin:right;transition:transform .35s}
.service-card:hover:after{transform:scaleX(1)}
@media(max-width:850px){
 .cinematic-hero{grid-template-columns:1fr;min-height:auto;padding:52px 24px 84px;gap:24px}
 .cinematic-hero:before{background:linear-gradient(180deg,rgba(8,12,19,.88),rgba(8,12,19,.76))}
 .legal-visual{grid-row:1;min-height:310px}
 .legal-visual .visual-frame{height:310px;max-width:520px}
 .cinematic-hero .hero-content{grid-row:2}
 .justice-feature{grid-template-columns:1fr}
 .justice-photo{min-height:300px;background-image:linear-gradient(0deg,#111a26 0%,transparent 40%),url("/assets/images/courthouse.svg")}
 .justice-copy{padding:45px 28px 60px}
 .scroll-cue{display:none}
}
@media(max-width:560px){
 .cinematic-hero{padding:36px 17px 60px}
 .cinematic-hero h1{font-size:37px}
 .hero-overline{font-size:8px;letter-spacing:2px}
 .legal-visual{min-height:260px}
 .legal-visual .visual-frame{height:260px}
 .legal-visual .visual-stamp{left:20px;bottom:20px}
 .justice-photo{min-height:240px}
 .justice-copy{padding:34px 20px 45px}
}
@media(prefers-reduced-motion:reduce){.scroll-cue span:after{animation:none}}


/* Mobile hero refinement: intentional hierarchy and balanced image placement */
@media (max-width: 850px) {
  .cinematic-hero { display:flex; flex-direction:column; align-items:stretch; gap:26px; padding:42px 24px 68px; }
  .cinematic-hero .hero-content { order:1; width:100%; max-width:650px; margin-inline:auto; }
  .cinematic-hero .legal-visual { order:2; width:100%; min-height:0; margin-inline:auto; }
  .cinematic-hero .legal-visual .visual-frame { width:100%; max-width:650px; height:clamp(190px,54vw,300px); margin-inline:auto; }
  .cinematic-hero .legal-visual .visual-frame img { object-position:center 43%; }
  .cinematic-hero .hero-overline { max-width:100%; font-size:9px; line-height:1.8; letter-spacing:1.35px; overflow-wrap:anywhere; margin-top:20px; }
  .cinematic-hero h1 { font-size:clamp(30px,7.8vw,43px); line-height:1.55; letter-spacing:-.5px; margin:12px 0; }
  .cinematic-hero .hero-lead { font-size:16px; margin-bottom:7px; }
  .cinematic-hero .hero-copy { max-width:100%; font-size:12px; line-height:2.2; }
  .cinematic-hero .hero-actions { margin-top:22px; gap:9px; }
  .cinematic-hero .hero-actions .button { min-height:44px; padding:10px 14px; gap:10px; }
  .cinematic-hero .hero-note { margin-top:22px; line-height:1.9; align-items:flex-start; }
  .cinematic-hero .legal-visual .visual-index { display:none; }
  .cinematic-hero .legal-visual .visual-stamp { left:18px; right:auto; bottom:18px; max-width:calc(100% - 36px); padding:9px 12px; }
  .cinematic-hero .hero-bottom { bottom:18px; font-size:8px; letter-spacing:1px; }
}
@media (max-width:560px) {
  .cinematic-hero { padding:30px 17px 62px; gap:21px; }
  .cinematic-hero .eyebrow { font-size:10px; padding:6px 11px; }
  .cinematic-hero .hero-overline { font-size:8px; letter-spacing:1px; line-height:1.9; }
  .cinematic-hero h1 { font-size:clamp(29px,8vw,35px); line-height:1.58; }
  .cinematic-hero .hero-copy { font-size:11.5px; }
  .cinematic-hero .hero-actions { display:grid; grid-template-columns:1fr 1fr; align-items:stretch; }
  .cinematic-hero .hero-actions .button { justify-content:space-between; min-width:0; font-size:11px; }
  .cinematic-hero .legal-visual .visual-frame { height:205px; border-radius:2px; }
  .cinematic-hero .legal-visual .visual-frame:after { inset:9px; }
  .cinematic-hero .legal-visual .visual-stamp { left:14px; bottom:14px; padding:7px 10px; }
  .cinematic-hero .legal-visual .visual-stamp b { font-size:10px; }
  .cinematic-hero .legal-visual .visual-stamp small { font-size:8px; }
  .cinematic-hero .hero-bottom { left:17px; right:17px; font-size:7px; letter-spacing:.7px; }
}

/* Office addresses and appointment details */
.office-section{margin:42px 0}.office-section>h2{margin-top:0}.office-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:20px}.office-card{background:#fff;border:1px solid var(--line);border-top:3px solid var(--gold);padding:24px;border-radius:12px;box-shadow:0 10px 28px #101d2d08}.office-label{font-size:10px;color:#a17d47}.office-card h3{font-size:16px;color:var(--navy);margin:9px 0}.office-card p{font-size:12px;line-height:2.3;color:var(--muted)}.office-card .under-link{margin-top:5px}.footer-offices{font-size:10px!important;line-height:2.1;color:#c2cbd5!important;max-width:390px;margin:0}.footer-inner{flex-wrap:wrap}@media(max-width:560px){.office-grid{grid-template-columns:1fr}.footer-offices{max-width:100%}}

/* Additional content pages, article cards and consultation request */
.article-list{display:grid;gap:18px}.article-card{padding:25px 28px;background:#fff;border:1px solid var(--line);border-right:3px solid var(--gold);border-radius:12px;box-shadow:0 10px 28px #101d2d08}.article-card h2{margin:10px 0!important;font-size:20px!important}.article-card h2 a{color:var(--navy);text-decoration:none}.article-card p{margin:0 0 12px}.article-meta{display:block;color:#9b7b49;font-size:10px;letter-spacing:.2px}.article-body>p{font-size:14px;line-height:2.6}.article-body h2{margin-top:30px}.consultation-form-section{margin:42px 0;padding:26px;background:#f0f2f4;border:1px solid #e2e7ec;border-radius:14px}.consultation-form-section>h2{margin-top:0}.consultation-form-section>p{font-size:12px;line-height:2.3;color:#687487}.consultation-form{display:grid;gap:9px;margin-top:20px}.consultation-form label{font-size:12px;font-weight:700;color:var(--navy)}.consultation-form input:not([type=checkbox]),.consultation-form select,.consultation-form textarea{width:100%;border:1px solid #d7dee5;border-radius:8px;background:#fff;padding:12px;font:inherit;font-size:13px;color:#26364b}.consultation-form textarea{resize:vertical}.consultation-form .form-consent{display:flex;align-items:flex-start;gap:9px;font-weight:400;line-height:2;margin:8px 0}.consultation-form .button{justify-self:start;border:0;cursor:pointer}.error-page{min-height:55vh;display:flex;flex-direction:column;justify-content:center;align-items:flex-start}.error-page h1{font-size:clamp(34px,5vw,54px);color:var(--navy);margin:12px 0}.error-page>p{font-size:14px;line-height:2.4;color:var(--muted)}.error-page .hero-actions{margin-top:20px}
@media(max-width:560px){.article-card{padding:20px 17px}.consultation-form-section{padding:20px 16px}.error-page .hero-actions{display:grid;width:100%;grid-template-columns:1fr}.error-page .button{justify-content:center}}


/* Mobile FAQ overflow fix: keep questions and answers inside the viewport */
@media (max-width: 560px) {
  .faq-section {
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
    overflow-x: clip;
  }
  .faq-section details,
  .faq-section summary,
  .faq-section details p,
  .faq-section > .under-link {
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
  }
  .faq-section summary {
    display: block;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
    line-height: 2.2;
    padding-right: 0;
    padding-left: 32px;
  }
  .faq-section details p {
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 2.3;
  }
}


/* Robust mobile FAQ containment for narrow Safari and embedded webviews */
@media (max-width: 560px) {
  html, body { max-width: 100%; overflow-x: hidden; }
  main#main-content { min-width: 0; max-width: 100%; }
  .faq-section,
  main#main-content > .faq-section {
    display: block;
    width: calc(100% - 34px) !important;
    max-width: calc(100% - 34px) !important;
    min-width: 0 !important;
    margin-inline: auto !important;
    padding-inline: 0;
    overflow: hidden !important;
    transform: none;
  }
  .faq-section *,
  .faq-section *::before,
  .faq-section *::after {
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
  }
  .faq-section details { width: 100%; }
  .faq-section summary {
    display: block;
    width: 100%;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: normal;
    padding-right: 0;
    padding-left: 34px;
  }
  .faq-section details p {
    width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

/* Persian appointment calendar */
.booking-form .jalali-calendar { width:100%; padding:16px; background:#fff; border:1px solid #dfe4e9; border-radius:12px; }
.calendar-toolbar { display:grid; grid-template-columns:42px 1fr 42px; align-items:center; gap:10px; margin-bottom:14px; text-align:center; }
.calendar-toolbar strong { color:#172b40; font-size:14px; }
.calendar-toolbar button { width:40px; height:40px; border:1px solid #e3e7eb; border-radius:9px; background:#f7f8fa; color:#987544; font-size:25px; cursor:pointer; }
.calendar-weekdays,.calendar-days { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:5px; text-align:center; }
.calendar-weekdays { margin-bottom:7px; color:#7b8796; font-size:10px; }
.calendar-days { direction:rtl; }
.calendar-day,.calendar-empty { min-width:0; aspect-ratio:1; }
.calendar-day { border:1px solid #e8ebef; border-radius:8px; background:#fff; color:#26364b; font:500 13px Vazirmatn,Tahoma,sans-serif; cursor:pointer; }
.calendar-day:not(:disabled):hover { border-color:#c6a36a; background:#fbf7ef; }
.calendar-day.is-selected { background:#172b40; border-color:#172b40; color:#fff; box-shadow:0 4px 12px #172b4030; }
.calendar-day:disabled { color:#c4cbd3; background:#f5f6f7; cursor:not-allowed; }
.jalali-date { min-height:26px; line-height:2; }
@media(max-width:560px) {
 .booking-form .jalali-calendar { padding:10px 8px; }
 .calendar-weekdays,.calendar-days { gap:3px; }
 .calendar-weekdays { font-size:9px; }
 .calendar-day { font-size:12px; border-radius:6px; }
}


/* Unified inner-page identity: warm ivory surfaces, deep navy and cinematic legal imagery */
body:has(.page-hero){background:#f3f1eb}
.page-hero{
  min-height:270px;
  display:flex;
  align-items:center;
  padding:64px 0 60px;
  isolation:isolate;
  background-color:#10131b;
  background-image:
    linear-gradient(105deg,rgba(7,11,18,.94) 0%,rgba(10,17,27,.83) 48%,rgba(12,24,37,.57) 100%),
    url("/assets/images/courthouse.svg");
  background-size:cover;
  background-position:center 48%;
  border-bottom:1px solid rgba(198,163,106,.34);
}
.page-hero:before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background:
    radial-gradient(ellipse at 78% 18%,rgba(104,166,202,.24),transparent 34%),
    radial-gradient(ellipse at 12% 88%,rgba(198,163,106,.19),transparent 32%),
    linear-gradient(115deg,transparent 38%,rgba(255,255,255,.07) 51%,transparent 64%);
  animation:legalHeaderGlow 11s ease-in-out infinite alternate;
}
.page-hero:after{
  content:"";
  position:absolute;
  width:390px;
  height:390px;
  left:-125px;
  top:-230px;
  z-index:0;
  pointer-events:none;
  border:1px solid rgba(225,203,163,.25);
  border-radius:50%;
  box-shadow:0 0 35px rgba(198,163,106,.12),0 0 0 42px rgba(255,255,255,.035),0 0 0 86px rgba(255,255,255,.025);
}
.page-hero .wrap{z-index:1}
.page-hero .section-kicker{color:#e1c18a;text-shadow:0 0 18px rgba(225,193,138,.45)}
.page-hero h1{color:#fff;text-shadow:0 4px 28px rgba(0,0,0,.48)}
.page-hero p{color:#e0e4e9;text-shadow:0 2px 14px rgba(0,0,0,.55)}
@keyframes legalHeaderGlow{
  from{opacity:.65;transform:translateX(-1.5%)}
  to{opacity:1;transform:translateX(1.5%)}
}
body:has(.page-hero) .content-page{color:#263447}
body:has(.page-hero) .content-page h2{color:#172b40}
body:has(.page-hero) .content-page p,
body:has(.page-hero) .content-page li{color:#526174}
body:has(.page-hero) .info-panel,
body:has(.page-hero) .process-section,
body:has(.page-hero) .consultation-form-section,
body:has(.page-hero) .page-intro{
  background:linear-gradient(135deg,#fffefa,#eeeae1);
  border-color:#e2ddd2;
  box-shadow:0 12px 34px rgba(16,29,45,.055);
}
body:has(.page-hero) .info-panel{border-right:3px solid #c6a36a}
body:has(.page-hero) .article-card,
body:has(.page-hero) .contact-item,
body:has(.page-hero) .office-card,
body:has(.page-hero) .news-card,
body:has(.page-hero) .source-item{
  background:#fffefa;
  border-color:#e5e0d6;
  box-shadow:0 12px 34px rgba(16,29,45,.06);
}
body:has(.page-hero) .article-card h2 a,
body:has(.page-hero) .office-card h3{color:#172b40}
body:has(.page-hero) .consultation-form label{color:#172b40}
body:has(.page-hero) .consultation-form input:not([type=checkbox]),
body:has(.page-hero) .consultation-form select,
body:has(.page-hero) .consultation-form textarea{
  background:#fff;
  border-color:#d9d4ca;
  color:#263447;
}
body:has(.page-hero) .booking-form .jalali-calendar{background:#fffefa;border-color:#e2ddd2}
body:has(.page-hero) .calendar-toolbar strong{color:#172b40}
body:has(.page-hero) .calendar-day{background:#fff;border-color:#e5e0d6;color:#26364b}
body:has(.page-hero) .calendar-day.is-selected{background:#172b40;border-color:#172b40;color:#fff}
@media(max-width:850px){
  .page-hero{min-height:235px;padding:48px 0 44px;background-position:center}
  .page-hero:after{width:300px;height:300px;left:-150px;top:-190px}
}
@media(max-width:560px){
  .page-hero{min-height:215px;padding:38px 0 34px;background-position:58% center}
  .page-hero h1{font-size:clamp(27px,7vw,36px);line-height:1.55}
  .page-hero p{font-size:12px;line-height:2.1}
}
@media(prefers-reduced-motion:reduce){.page-hero:before{animation:none}}


/* Typography refinement: Vazirmatn throughout, with a calmer heading scale */
html,body,button,input,select,textarea{
  font-family:"Vazirmatn",Tahoma,sans-serif;
}
h1,h2,h3,h4,h5,h6{
  font-family:"Vazirmatn",Tahoma,sans-serif;
  letter-spacing:0;
}
h1{font-size:clamp(32px,4vw,50px);line-height:1.55}
.intro-grid h2,.section-heading h2{font-size:clamp(25px,2.6vw,35px);line-height:1.75}
.contact-band h2{font-size:26px}
.page-hero h1{font-size:clamp(27px,3.3vw,37px);line-height:1.6}
.content-page h2{font-size:19px}
.article-card h2{font-size:18px!important}
.service-card h3,.office-card h3{font-size:15px}
.cinematic-hero h1{font-size:clamp(34px,4.4vw,58px);line-height:1.6}
.justice-copy h2{font-size:clamp(28px,3.4vw,42px)}
.error-page h1{font-size:clamp(30px,4.2vw,46px)}
@media(max-width:850px){
  .cinematic-hero h1{font-size:clamp(30px,6.8vw,39px)}
}
@media(max-width:560px){
  .hero h1{font-size:clamp(29px,7.4vw,33px)}
  .intro-grid h2,.section-heading h2{font-size:26px}
  .page-hero h1{font-size:clamp(25px,6.6vw,32px)}
  .content-page h2{font-size:18px}
  .cinematic-hero h1{font-size:clamp(28px,7.2vw,33px)}
  .justice-copy h2{font-size:28px}
}
