/* Shared interior-page visual system: aligned with the homepage palette */
:root{--ink:#183b60;--navy:#244765;--navy-2:#315f89;--gold:#5689b7;--gold-soft:#dceaf5;--paper:#f3f6f8;--surface:#fff;--muted:#61778d;--line:#dce6ef;--shadow:0 18px 45px rgba(36,71,101,.10)}
body{background:#f3f6f8!important;color:#183b60}
.site-header{height:76px;background:#4d7fae!important;color:#fff;border:0;box-shadow:0 5px 18px rgba(23,59,91,.10);padding-inline:max(24px,calc((100% - 1190px)/2))}
.brand{color:#fff!important}.brand b{color:#fff!important;font-size:14px}.brand small{color:#e0ebf4!important;font-size:10px}.brand-mark{width:40px;height:40px;border:1px solid #d5e4ef;border-radius:50%;background:transparent;color:#fff}
.nav{color:#eef5fb!important;gap:clamp(10px,1.6vw,22px)}.nav a{color:#eef5fb!important}.nav a:hover,.nav a.active,.nav a[aria-current=page]{color:#fff!important;text-decoration:underline;text-decoration-color:#dceaf5;text-underline-offset:7px}.nav .nav-cta,.nav .nav-cta.active{background:#fff!important;color:#244765!important;border-radius:22px;padding:10px 18px;text-decoration:none!important}.nav .nav-cta:hover{background:#eaf2f8!important;color:#244765!important}
.menu-toggle i{background:#fff!important}
.page-hero{background:linear-gradient(125deg,#eaf2f8,#c7dced 45%,#5688b5)!important;color:#183b60!important;padding:58px 0 52px}.page-hero:after{border-color:#fff8;box-shadow:0 0 0 38px #ffffff22,0 0 0 76px #ffffff12}.page-hero .section-kicker{color:#477ca9!important}.page-hero h1{color:#153e68!important;font-size:clamp(29px,3.4vw,42px)!important}.page-hero p{color:#435d76!important;font-size:13px;max-width:700px}
.content-page{padding-block:48px 78px}.content-page h2{color:#244c70!important;font-size:20px}.content-page p,.content-page li{color:#61778d}.page-intro{background:#e8f0f6!important;border-color:#5689b7!important;color:#365d7e!important;border-radius:12px;padding:19px 22px}
.info-panel,.process-section{background:#e8f0f6!important;border-color:#d5e4ef!important;border-right-color:#5689b7!important;border-radius:12px}
.contact-item,.office-card,.consultation-form-section,.article-card,.news-card,.source-item{border-color:#dce6ef!important;border-radius:14px;box-shadow:0 8px 24px rgba(36,71,101,.045)}
.contact-item:hover,.office-card:hover{border-color:#8eb2d0!important}
.contact-item b,.office-card h3,.news-card h3,.source-item b{color:#244c70!important}
.contact-action,.office-label,.article-meta,.service-index,.news-card>span,.source-item i{color:#5689b7!important}
.service-detail{border-bottom-color:#dce6ef}
.faq-section details{border-bottom-color:#dce6ef}.faq-section summary{color:#244c70}.faq-section summary:after{color:#5689b7}
.under-link{color:#477ca9!important;border-color:#8eb2d0}
.button-gold{background:#477ca9!important;color:#fff!important;box-shadow:0 8px 20px rgba(71,124,169,.2)}.button-gold:hover{background:#315f89!important}
.consultation-form-section,.consultation-form,.booking-box{background:#fff!important;border:1px solid #dce6ef!important;border-radius:16px;box-shadow:0 18px 45px rgba(41,77,108,.07)}
.consultation-form input,.consultation-form select,.consultation-form textarea,.booking-form input,.booking-form select,.booking-form textarea{border-color:#d6e0e9!important;background:#fafdff!important;color:#203e5b!important;border-radius:9px}
.consultation-form label,.booking-form label{color:#294d6c!important}
.consultation-form input:focus,.consultation-form select:focus,.consultation-form textarea:focus,.booking-form input:focus,.booking-form select:focus,.booking-form textarea:focus{outline:2px solid #6d9fc7;outline-offset:1px;border-color:#6d9fc7!important}
.booking-box{background:#eaf2f8!important;padding:26px!important}.booking-box h2{color:#244c70!important}
.jalali-calendar{background:#fff!important;border-color:#d6e4ef!important;border-radius:14px;padding:15px}
.calendar-toolbar button{background:#eaf2f8!important;border-color:#cbddea!important;color:#315f89!important;border-radius:9px}
.calendar-toolbar strong{color:#244c70!important}
.calendar-weekdays span{color:#5689b7!important;font-weight:650}
.calendar-day{background:#f3f8fc!important;color:#244765!important;border-color:transparent!important;border-radius:9px}
.calendar-day:hover:not(:disabled){background:#dceaf5!important;border-color:#8eb2d0!important}
.calendar-day.is-selected{background:#477ca9!important;color:#fff!important}
.calendar-day.is-past{opacity:.3}
.booking-note{background:#fff!important;border-right-color:#5689b7!important;color:#61778d!important;border-radius:10px}
.jalali-date{color:#477ca9!important}
.footer{background:#254a69!important;color:#dce9f3!important}.footer .brand b{color:#fff!important}.footer .brand small{color:#e0ebf4!important}.footer .brand-mark{background:transparent!important;border-color:#d5e4ef!important}.footer p,.footer>a{color:#dce9f3!important}
@media(max-width:900px){.site-header{height:68px;padding-inline:17px}.nav{background:#477ca9!important;top:68px!important;padding:18px 22px 22px!important}.nav a{color:#fff!important}.nav .nav-cta{background:#fff!important;color:#244765!important}.booking-box{padding:20px 15px!important}}
@media(max-width:600px){.page-hero{padding:40px 0!important}.content-page{padding-block:32px 58px}.page-hero h1{font-size:29px!important}.page-hero p{font-size:12px}.booking-box{padding:17px 12px!important}.jalali-calendar{padding:10px 7px}.calendar-weekdays,.calendar-days{gap:4px}.calendar-day,.calendar-empty{min-height:35px}}
@media(prefers-reduced-motion:reduce){.site-header,.nav a,.contact-item,.office-card,.news-card{transition:none!important}}


/* Interior hero banners: legal photography with the homepage blue identity */
.page-hero{position:relative;isolation:isolate;min-height:260px;display:flex;align-items:center;overflow:hidden;background-color:#244765!important;background-image:linear-gradient(90deg,rgba(24,59,96,.78),rgba(36,71,101,.70)),var(--interior-hero-image)!important;background-size:cover!important;background-position:center 48%!important;color:#fff!important;padding:54px 0!important}
.page-hero:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(110deg,rgba(25,63,98,.18),rgba(19,49,78,.52));pointer-events:none}
.page-hero:after{content:"";position:absolute;z-index:-1;width:360px;height:360px;left:-100px;top:-190px;border:1px solid rgba(255,255,255,.25);border-radius:50%;box-shadow:0 0 0 38px rgba(255,255,255,.07),0 0 0 76px rgba(255,255,255,.045);pointer-events:none}
.page-hero .wrap{position:relative;z-index:1;width:min(1190px,calc(100% - 48px));margin-inline:auto}
.page-hero .section-kicker{color:#d9eafa!important;letter-spacing:1.2px}
.page-hero h1{color:#fff!important;font-size:clamp(28px,3.4vw,42px)!important;text-shadow:0 2px 18px rgba(0,0,0,.22);max-width:900px}
.page-hero p{color:#f0f6fb!important;font-size:13px;max-width:720px;text-shadow:0 1px 10px rgba(0,0,0,.2)}
.page-hero.hero-about{--interior-hero-image:url("https://images.unsplash.com/photo-1701605919891-1824e8dae598?auto=format&fit=crop&fm=jpg&q=80&w=1800")}
.page-hero.hero-services{--interior-hero-image:url("https://images.unsplash.com/photo-1774898988393-5c752e4d55e9?auto=format&fit=crop&fm=jpg&q=80&w=1800")}
.page-hero.hero-appointment{--interior-hero-image:url("https://images.unsplash.com/photo-1660784670019-33a36fd82515?auto=format&fit=crop&fm=jpg&q=80&w=1800")}
.page-hero.hero-contact{--interior-hero-image:url("https://images.unsplash.com/photo-1701605919891-1824e8dae598?auto=format&fit=crop&fm=jpg&q=80&w=1800")}
.page-hero.hero-news{--interior-hero-image:url("https://images.unsplash.com/photo-1774898988393-5c752e4d55e9?auto=format&fit=crop&fm=jpg&q=80&w=1800")}
.page-hero.hero-privacy{--interior-hero-image:url("https://images.unsplash.com/photo-1660784670019-33a36fd82515?auto=format&fit=crop&fm=jpg&q=80&w=1800")}
.page-hero.hero-articles{--interior-hero-image:url("https://images.unsplash.com/photo-1774898988393-5c752e4d55e9?auto=format&fit=crop&fm=jpg&q=80&w=1800")}
.page-hero.hero-article{--interior-hero-image:url("https://images.unsplash.com/photo-1660784670019-33a36fd82515?auto=format&fit=crop&fm=jpg&q=80&w=1800")}
@media(max-width:760px){.page-hero{min-height:210px;padding:38px 0!important;background-position:center!important}.page-hero .wrap{width:calc(100% - 34px)}.page-hero h1{font-size:27px!important;line-height:1.55}.page-hero p{font-size:12px;line-height:2}}

/* Shared footer: match the homepage identity across all interior pages. */
.jx-footer{background:#254a69;color:#dce9f3;padding:28px 0}
.jx-footer>.jx-wrap{width:min(1190px,calc(100% - 48px));margin-inline:auto;display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}
.jx-footer p{margin:0;font-size:10px;line-height:2;color:#dce9f3}
.jx-footer .jx-brand{display:inline-flex;align-items:center;gap:9px;color:#fff;text-decoration:none}
.jx-footer .jx-brand b{display:block;color:#fff;font-size:13px}
.jx-footer .jx-brand small{display:block;color:#e0ebf4;font-size:10px}
.jx-footer .jx-mark{width:42px;height:42px;min-width:42px;flex:0 0 42px;display:grid;place-items:center;color:#fff;font-size:0;line-height:0}
.jx-footer .jx-mark:before{content:"";display:block;width:29px;height:29px;background:#fff;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 3v25M10 28h12M5 8h22M8 8 3 19m5-11 5 11M24 8l-5 11m5-11 5 11M2 19h12a6 6 0 0 1-12 0zm16 0h12a6 6 0 0 1-12 0z'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 3v25M10 28h12M5 8h22M8 8 3 19m5-11 5 11M24 8l-5 11m5-11 5 11M2 19h12a6 6 0 0 1-12 0zm16 0h12a6 6 0 0 1-12 0z'/%3E%3C/svg%3E") center/contain no-repeat}
@media(max-width:760px){.jx-footer>.jx-wrap{width:calc(100% - 34px);align-items:flex-start;flex-direction:column;gap:12px}.jx-footer .jx-mark{width:36px;height:36px;min-width:36px;flex-basis:36px}.jx-footer .jx-mark:before{width:25px;height:25px}}
