/* AIDDoco public-site header v2. Isolated components; does not restyle page content. */
.ad-header,.ad-header *{box-sizing:border-box}
.ad-header[hidden],.ad-header [hidden]{display:none!important}
.ad-header{--ah-ink:#19253f;--ah-muted:#586681;--ah-brand:#6451d8;--ah-light:#f3f1ff;position:sticky;top:0;z-index:1100;direction:rtl;min-height:76px;background:rgba(255,255,255,.97);-webkit-backdrop-filter:blur(18px) saturate(150%);backdrop-filter:blur(18px) saturate(150%);border-bottom:1px solid rgba(196,204,225,.6);box-shadow:0 3px 16px rgba(21,33,64,.035);font-family:IRANSansX,IRANSans,Vazirmatn,Tahoma,Arial,sans-serif;font-size:13px;line-height:1.5;color:var(--ah-ink)}
.ad-header:before{content:"";position:absolute;inset:0 0 auto;height:3px;background:linear-gradient(90deg,#66cddc,#7560e1 48%,#5143b9);pointer-events:none}
.ad-header.is-scrolled{background:rgba(255,255,255,.985);box-shadow:0 9px 30px rgba(18,34,66,.085)}
.ad-header a,.ad-header summary{color:inherit;text-decoration:none}
.ad-header a:focus-visible,.ad-header button:focus-visible,.ad-header summary:focus-visible{outline:3px solid #7969ed;outline-offset:3px}
.ad-header__inner{width:min(1270px,calc(100% - 44px));margin:0 auto;display:flex;align-items:center;gap:20px;min-height:78px}
.ad-header__brand{display:inline-flex;align-items:center;flex:0 0 auto;gap:11px;direction:ltr;white-space:nowrap;color:var(--ah-ink)!important}
.ad-header__mark{width:45px;height:45px;display:grid;place-items:center;border-radius:14px;color:#fff;flex-shrink:0;background:linear-gradient(145deg,#7b6be8 2%,#5640c4 74%);box-shadow:0 8px 19px rgba(101,80,219,.21)}
.ad-header__mark svg{width:30px;height:30px;display:block;fill:none;stroke:currentColor;stroke-width:2.7;stroke-linecap:round;stroke-linejoin:round}
.ad-header__brand-text{display:flex;flex-direction:column;align-items:flex-start;line-height:1.2}
.ad-header__brand-text strong{font-family:Arial,sans-serif;font-weight:850;font-size:21px;letter-spacing:-.8px;color:#1c2745}
.ad-header__brand-text small{font:650 9px/1.8 Arial,sans-serif;letter-spacing:1.45px;color:#808aa5}
.ad-header__nav{display:flex;align-items:center;gap:2px;margin-inline:auto;white-space:nowrap}
.ad-header__navlink,.ad-header__services-summary{min-height:42px;padding:11px 11px;display:inline-flex;align-items:center;gap:5px;border-radius:11px;color:#45526f!important;font-size:12px;font-weight:750;transition:background .15s ease,color .15s ease;cursor:pointer}
.ad-header__navlink:hover,.ad-header__services-summary:hover,.ad-header__navlink[aria-current="page"]{background:#f1effe;color:#5543cb!important}
.ad-header__services{position:relative;margin:0}
.ad-header__services-summary{list-style:none;user-select:none}
.ad-header__services-summary::-webkit-details-marker{display:none}
.ad-header__chevron{width:13px;height:13px;stroke:currentColor;stroke-width:2;fill:none;transition:transform .16s ease}
.ad-header__services[open] .ad-header__chevron{transform:rotate(180deg)}
.ad-header__dropdown{position:absolute;inset-block-start:calc(100% + 15px);inset-inline-start:0;z-index:1110;min-width:255px;padding:9px;background:white;border:1px solid #e3e6f1;border-radius:17px;box-shadow:0 20px 55px rgba(28,38,70,.18);display:grid;gap:3px}
.ad-header__dropdown:before{content:"";position:absolute;inset-block-start:-12px;left:0;right:0;height:12px}
.ad-header__dropdown a{display:flex;align-items:center;padding:11px 13px;gap:9px;border-radius:10px;color:#33425e!important;font-size:12px;font-weight:700}
.ad-header__dropdown a:hover,.ad-header__dropdown a:focus-visible{background:#f5f3ff;color:#5848cc!important}
.ad-header__dropdown .ad-header__dropdown-note{display:block;margin:7px 12px 4px;font-size:10px;font-weight:600;color:#8b96a8}
.ad-header__actions{display:flex;align-items:center;flex:0 0 auto;gap:8px;margin-inline-start:auto}
.ad-header__login{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;min-height:43px;padding:10px 12px;border-radius:12px;font-size:12px;font-weight:750;color:#46516e!important}
.ad-header__login:hover{background:#f5f6fa}
.ad-header__cta{display:inline-flex;align-items:center;justify-content:center;gap:9px;white-space:nowrap;min-height:43px;padding:10px 17px;border-radius:12px;background:linear-gradient(135deg,#7965e8,#5642c4);color:#fff!important;font-size:12px;font-weight:800;box-shadow:0 7px 16px rgba(89,65,197,.18);transition:transform .15s ease,box-shadow .15s ease}
.ad-header__cta:hover{transform:translateY(-1px);box-shadow:0 11px 22px rgba(89,65,197,.26);color:#fff!important}
.ad-header__cta svg{width:17px;height:17px;display:block;fill:none;stroke:currentColor;stroke-width:2.3;stroke-linecap:round}
.ad-header__toggle{display:none;align-items:center;justify-content:center;width:43px;height:43px;border:1px solid #e0e3f0;background:#fff;border-radius:12px;cursor:pointer;color:#202f50;padding:0}
.ad-header__toggle svg{width:22px;height:22px;stroke:currentColor;stroke-width:2.1;fill:none;stroke-linecap:round}
.ad-header__mobile{display:none}
.ad-header__mobile a{color:#364561!important}
.ad-header__mobile a[aria-current="page"]{background:#f1efff!important;color:#5340bf!important}
@media(max-width:1170px){
 .ad-header__inner{width:min(1100px,calc(100% - 36px));gap:13px;min-height:74px}
 .ad-header__nav{display:none}
 .ad-header__login{display:none}
 .ad-header__toggle{display:inline-flex}
 .ad-header__mobile:not([hidden]){display:block;position:absolute;top:100%;inset-inline:0;width:100%;max-height:calc(100dvh - 74px);overflow:auto;overscroll-behavior:contain;background:#fff;border-bottom:1px solid #dfe4f1;box-shadow:0 18px 35px rgba(17,34,70,.14);padding:15px max(18px,calc((100% - 1100px)/2))}
 .ad-header__mobile-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
 .ad-header__mobile-list a{display:flex;align-items:center;min-height:45px;padding:10px 13px;border-radius:12px;background:#f8f9fd;font-size:12px;font-weight:750}
 .ad-header__mobile-list a:hover{background:#f0edfd}
 .ad-header__mobile-title{padding:15px 4px 8px;margin:0;color:#78849c;font-size:11px;font-weight:800}
 .ad-header__mobile-actions{display:flex;gap:10px;margin-top:13px;border-top:1px solid #e9edf5;padding-top:15px}
 .ad-header__mobile-actions a{flex:1;justify-content:center;display:flex;align-items:center;padding:11px;border-radius:12px;border:1px solid #dfe2f2;color:#5140ba!important;font-weight:850}
 .ad-header__mobile-actions a:first-child{background:#6550d8;color:#fff!important;border-color:#6550d8}
}
@media(max-width:620px){
 .ad-header__inner{width:calc(100% - 28px);min-height:65px;gap:10px}
 .ad-header__mark{width:40px;height:40px;border-radius:12px}
 .ad-header__mark svg{width:27px;height:27px}
 .ad-header__brand{gap:8px}
 .ad-header__brand-text strong{font-size:19px}
 .ad-header__brand-text small{font-size:8px;letter-spacing:1px}
 .ad-header__actions>.ad-header__cta{display:none}
 .ad-header__mobile:not([hidden]){max-height:calc(100dvh - 65px);padding:12px 14px}
 .ad-header__mobile-list{grid-template-columns:1fr;gap:4px}
 .ad-header__mobile-list a{min-height:44px}
 .ad-header__toggle{width:40px;height:40px}
}
@media(prefers-reduced-motion:reduce){.ad-header *{transition:none!important}}

/* SIVI mobile services navigation 20261101 */
.ad-header__mobile-services{grid-column:1/-1;min-width:0}
.ad-header__mobile-services>summary{display:flex;align-items:center;justify-content:space-between;min-height:45px;padding:10px 13px;border-radius:12px;background:#f8f9fd;color:#45526f;cursor:pointer;font-size:12px;font-weight:750;list-style:none}
.ad-header__mobile-services>summary::-webkit-details-marker{display:none}
.ad-header__mobile-services>summary::after{content:"⌄";font-size:16px;transition:transform .15s ease}
.ad-header__mobile-services[open]>summary{background:#f1effe;color:#5543cb}
.ad-header__mobile-services[open]>summary::after{transform:rotate(180deg)}
.ad-header__mobile-services>summary:focus-visible{outline:2px solid #5543cb;outline-offset:2px}
.ad-header__mobile-services-items{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding-top:7px}
.ad-header__mobile-services-items a{background:#f1f4fb}
.ad-header__mobile-services-items a[aria-current="page"]{background:#e9e5fc;color:#5543cb}
@media(max-width:430px){.ad-header__mobile-services-items{grid-template-columns:1fr}}
