/* SEPINDAR unified desktop header v1 */
@media (min-width:1100px){
  html body .site-header>.wrap.nav{
    width:min(1380px,96.5vw)!important;
    max-width:none!important;
    min-height:92px!important;
    padding-inline:0!important;
    display:flex!important;
    align-items:center!important;
    flex-wrap:nowrap!important;
    gap:14px!important;
  }
  html body .site-header .brand-image-only{
    flex:0 0 205px!important;
    width:205px!important;
    height:72px!important;
    margin:0!important;
    min-width:205px!important;
  }
  html body .site-header .brand-image-only .brand-logo{
    width:205px!important;
    max-width:205px!important;
    height:72px!important;
    max-height:72px!important;
    object-fit:contain!important;
  }
  html body .site-header #primary-navigation{
    position:static!important;
    display:flex!important;
    flex:1 1 auto!important;
    min-width:0!important;
    width:auto!important;
    align-items:center!important;
    justify-content:center!important;
    gap:15px!important;
    margin:0!important;
    padding:0!important;
    overflow:visible!important;
    flex-direction:row!important;
  }
  html body .site-header #primary-navigation>a{
    flex:0 0 auto!important;
    width:auto!important;
    min-height:0!important;
    padding:10px 0!important;
    margin:0!important;
    border:0!important;
    font-size:14px!important;
    line-height:1.45!important;
    font-weight:650!important;
    white-space:nowrap!important;
    letter-spacing:0!important;
  }
  html[dir="rtl"] body .site-header #primary-navigation>a{
    font-size:14px!important;
    line-height:1.6!important;
    font-weight:600!important;
  }
  html body .site-header #primary-navigation>a::after{
    display:none!important;
    content:""!important;
  }
  html body .site-header #primary-navigation>a[aria-current="page"]{
    position:relative!important;
  }
  html body .site-header #primary-navigation>a[aria-current="page"]::after{
    display:block!important;
    content:""!important;
    position:absolute!important;
    left:50%!important;
    bottom:0!important;
    width:30px!important;
    height:2px!important;
    border-radius:2px!important;
    background:#c9a24b!important;
    transform:translateX(-50%)!important;
  }
  html body .site-header .language-switch-v390{
    flex:0 0 auto!important;
    margin:0!important;
    min-width:0!important;
  }
  html body .site-header .language-switch-v390>button{
    width:auto!important;
    min-width:0!important;
    min-height:46px!important;
    padding:8px 11px!important;
    gap:7px!important;
    border-radius:999px!important;
    white-space:nowrap!important;
  }
  html body .site-header .language-switch-v390 .language-active-v390{
    display:flex!important;
    align-items:center!important;
    gap:7px!important;
    white-space:nowrap!important;
  }
  html body .site-header .language-switch-v390 .lang-name-v390{
    display:inline!important;
    width:auto!important;
    max-width:none!important;
    white-space:nowrap!important;
  }
  html body .site-header .nav-cta{
    flex:0 0 auto!important;
    margin:0!important;
    min-height:46px!important;
    padding:0 17px!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    border-radius:999px!important;
    font-size:13px!important;
    line-height:1.35!important;
    font-weight:750!important;
    white-space:nowrap!important;
  }
  html body .site-header .menu-toggle{
    display:none!important;
  }

  html[lang="ku"] body .site-header #primary-navigation{gap:11px!important}
  html[lang="az"] body .site-header #primary-navigation,
  html[lang="tr"] body .site-header #primary-navigation{gap:12px!important}
  /* Azerbaijani: preserve normal typography; recover space through layout, not tiny text. */
  html[lang="az"] body .site-header>.wrap.nav{width:min(1460px,99vw)!important;gap:8px!important}
  html[lang="az"] body .site-header .brand-image-only{flex-basis:178px!important;width:178px!important;min-width:178px!important}
  html[lang="az"] body .site-header .brand-image-only .brand-logo{width:178px!important;max-width:178px!important}
  html[lang="az"] body .site-header #primary-navigation{gap:8px!important}
  html[lang="az"] body .site-header #primary-navigation>a,
  html[lang="az"] body .site-header #primary-navigation>.sep-nav-group>summary{font-size:14px!important}
  html[lang="az"] body .site-header .nav-cta{padding-inline:12px!important;font-size:12px!important}
  html[lang="az"] body .site-header .language-switch-v390 .lang-name-v390{display:inline!important;width:auto!important;max-width:none!important;white-space:nowrap!important}
  html[lang="az"] body .site-header .language-switch-v390>button{padding-inline:9px!important}
}
@media (min-width:1100px) and (max-width:1279px){
  html body .site-header>.wrap.nav{width:98vw!important;gap:10px!important}
  html body .site-header .brand-image-only{flex-basis:170px!important;width:170px!important;min-width:170px!important}
  html body .site-header .brand-image-only .brand-logo{width:170px!important;max-width:170px!important}
  html body .site-header #primary-navigation{gap:10px!important}
  html body .site-header #primary-navigation>a,
  html[dir="rtl"] body .site-header #primary-navigation>a{font-size:13px!important}
  html body .site-header .nav-cta{padding-inline:12px!important;font-size:12px!important}
  html body .site-header .language-switch-v390>button{padding-inline:8px!important}
  html[lang="az"] body .site-header>.wrap.nav{width:99vw!important;gap:6px!important}
  html[lang="az"] body .site-header .brand-image-only{flex-basis:145px!important;width:145px!important;min-width:145px!important}
  html[lang="az"] body .site-header .brand-image-only .brand-logo{width:145px!important;max-width:145px!important}
  html[lang="az"] body .site-header #primary-navigation{gap:6px!important}
  html[lang="az"] body .site-header #primary-navigation>a,
  html[lang="az"] body .site-header #primary-navigation>.sep-nav-group>summary{font-size:13px!important}
  html[lang="az"] body .site-header .nav-cta{padding-inline:8px!important;font-size:12px!important}
}
/* Tablet header bridge: use the proven mobile navigation between 769px and 1099px. */
@media (min-width:769px) and (max-width:1099px){
  html body .site-header{
    position:sticky!important;
    top:0!important;
    z-index:10000!important;
    isolation:isolate!important;
    overflow:visible!important;
    background:linear-gradient(180deg,#082c50 0%,#062441 100%)!important;
    border:0!important;
    box-shadow:none!important;
  }
  html body .site-header>.wrap.nav{
    position:relative!important;
    z-index:10001!important;
    overflow:visible!important;
    min-height:88px!important;
    width:100%!important;
    max-width:none!important;
    padding:12px 18px!important;
    display:grid!important;
    grid-template-columns:76px minmax(0,1fr) 76px!important;
    align-items:center!important;
    gap:8px!important;
  }
  html body .site-header .brand,
  html body .site-header .brand-image-only{
    position:absolute!important;
    left:50%!important;
    top:50%!important;
    transform:translate(-50%,-50%)!important;
    margin:0!important;
    padding:0!important;
    width:auto!important;
    min-width:0!important;
    max-width:46vw!important;
    height:auto!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    z-index:2!important;
  }
  html body .site-header .brand-logo,
  html body .site-header .brand-image-only .brand-logo{
    display:block!important;
    width:168px!important;
    max-width:min(168px,42vw)!important;
    height:auto!important;
    max-height:60px!important;
    object-fit:contain!important;
    margin:0!important;
  }
  html body .site-header .menu-toggle{
    display:flex!important;
    grid-row:1!important;
    width:54px!important;
    height:54px!important;
    border-radius:16px!important;
    border:1px solid rgba(255,255,255,.26)!important;
    background:rgba(255,255,255,.04)!important;
    box-shadow:none!important;
    align-items:center!important;
    justify-content:center!important;
    z-index:4!important;
  }
  html body .site-header .menu-toggle span{background:#fff!important}
  html[dir="rtl"] body .site-header .menu-toggle{grid-column:3!important;justify-self:center!important}
  html[dir="ltr"] body .site-header .menu-toggle{grid-column:1!important;justify-self:center!important}

  html body .site-header .language-switch{
    grid-row:1!important;
    justify-self:center!important;
    margin:0!important;
    z-index:4!important;
  }
  html[dir="rtl"] body .site-header .language-switch{grid-column:1!important}
  html[dir="ltr"] body .site-header .language-switch{grid-column:3!important}
  html body .site-header .language-switch>button{
    min-width:64px!important;
    width:auto!important;
    height:54px!important;
    padding:0 10px!important;
    border:1px solid rgba(255,255,255,.26)!important;
    border-radius:16px!important;
    background:rgba(255,255,255,.04)!important;
    color:#fff!important;
    box-shadow:none!important;
  }
  html body .site-header .language-switch .lang-name-v390{display:none!important}
  html body .site-header .language-switch .lang-caret{color:#fff!important}
  html body .site-header .nav-cta{display:none!important}

  html body .site-header #primary-navigation,
  html body .site-header nav#primary-navigation{
    position:fixed!important;
    top:88px!important;
    left:14px!important;
    right:14px!important;
    z-index:10020!important;
    display:none!important;
    flex-direction:column!important;
    align-items:stretch!important;
    justify-content:flex-start!important;
    width:auto!important;
    height:auto!important;
    max-height:calc(100dvh - 104px)!important;
    margin:0!important;
    padding:12px!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    background:#fff!important;
    border:1px solid rgba(6,38,79,.12)!important;
    border-radius:18px!important;
    box-shadow:0 28px 70px rgba(0,15,40,.38)!important;
    transform:none!important;
    opacity:1!important;
    visibility:visible!important;
    gap:3px!important;
  }
  html body.menu-open .site-header #primary-navigation,
  html body .site-header #primary-navigation.open,
  html body .site-header nav#primary-navigation.open,
  html body .site-header #primary-navigation.sep-mobile-menu-open-r123106{
    display:flex!important;
  }
  html body .site-header #primary-navigation>a{
    display:block!important;
    width:100%!important;
    color:#06264f!important;
    padding:11px 13px!important;
    margin:0!important;
    border-radius:10px!important;
    font-size:15px!important;
    line-height:1.4!important;
    white-space:normal!important;
  }
  html body .site-header #primary-navigation>a::after{display:none!important}
}

/* v1.0.3 — client portal action */
.site-header #primary-navigation>a.nav-portal-v1{font-weight:850!important;color:#8a6815!important;white-space:nowrap!important}
@media(min-width:1100px){.site-header #primary-navigation>a.nav-portal-v1{padding:8px 10px!important;border:1px solid rgba(138,104,21,.26)!important;border-radius:9px!important;background:#fffaf0!important;font-size:12px!important;line-height:1.1!important}.site-header #primary-navigation>a.nav-portal-v1:hover{background:#f8efd9!important;color:#06264f!important}}
@media(max-width:1099px){.site-header #primary-navigation>a.nav-portal-v1{display:block!important;width:100%!important;padding:13px 0!important;border-bottom:1px solid rgba(6,38,79,.08)!important}}

/* Visual audit refinement 2026-10-04: keep compact header centre clear. */
@media (min-width:769px) and (max-width:1099px){
  html body .site-header>.wrap.nav>.header-portal-access-v1{display:none!important}
}
/* Readable contact labels without changing controls or form submission. */
html body .contact-form-v15>label{font-size:13px;line-height:1.5}

@media(min-width:1100px){
 html body.home-page .site-header #primary-navigation>a.mobile-portal-access-v1,
 html body.inner-page .site-header #primary-navigation>a.mobile-portal-access-v1{display:none!important}
}

@media(min-width:1100px) and (max-width:1399px){
 html body .site-header .nav-cta{display:none!important}
 html body .site-header .brand-image-only{width:180px!important;min-width:180px!important;max-width:180px!important}
 html body .site-header .brand-logo{width:180px!important;max-width:180px!important;height:auto!important}
 html body .site-header #primary-navigation{min-width:max-content!important;gap:12px!important}
 html body .site-header #primary-navigation>a,html body .site-header #primary-navigation .nav-group-label{font-size:12px!important}
}

/* Keep the RTL desktop language dropdown inside the viewport. */
@media (min-width:769px){
 html[dir="rtl"] body .site-header .language-menu-v390{inset-inline:0 auto!important;left:0!important;right:auto!important}
}

/* office-specific utility bar v2 */
.utility-office-bar-v2 .utility-office-wrap-v2{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;align-items:center!important;min-height:34px!important;gap:0!important}
.utility-office-v2{display:flex!important;align-items:center!important;gap:9px!important;min-width:0!important;font-size:11px!important;line-height:1.2!important}
.utility-office-v2 a{font-weight:750!important;white-space:nowrap!important;text-decoration:none!important}
.utility-office-label-v2{font-weight:800!important;white-space:nowrap!important;opacity:.78!important}
.utility-office-tehran-v2{grid-column:1!important;justify-content:flex-start!important}
.utility-office-erbil-v2{grid-column:2!important;justify-content:flex-end!important;border-inline-start:1px solid rgba(255,255,255,.14)!important;padding-inline-start:18px!important}
html[dir="rtl"] .utility-office-tehran-v2{grid-column:2!important;justify-content:flex-end!important;border-inline-start:1px solid rgba(255,255,255,.14)!important;padding-inline-start:18px!important}
html[dir="rtl"] .utility-office-erbil-v2{grid-column:1!important;justify-content:flex-start!important;border-inline-start:0!important;padding-inline-start:0!important}
@media(max-width:640px){.utility-office-bar-v2 .utility-office-wrap-v2{min-height:42px!important}.utility-office-v2{flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;gap:2px!important;font-size:10px!important}.utility-office-erbil-v2{align-items:flex-end!important}.utility-office-label-v2{font-size:9px!important}.utility-office-v2 a{font-size:10px!important}html[dir="rtl"] .utility-office-tehran-v2{align-items:flex-end!important}html[dir="rtl"] .utility-office-erbil-v2{align-items:flex-start!important}}

/* Office utility row alignment fix */
.utility-office-bar-v2 .utility-office-tehran-v2,.utility-office-bar-v2 .utility-office-erbil-v2{grid-row:1!important;align-self:center!important;min-height:34px!important;box-sizing:border-box!important}
.utility-office-bar-v2 .utility-office-wrap-v2{grid-template-rows:34px!important}


@media(max-width:700px){
.utility-office-bar-v2{display:block!important;height:42px!important;min-height:42px!important;overflow:hidden!important}
.utility-office-bar-v2 .utility-office-wrap-v2{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;grid-template-rows:42px!important;height:42px!important;min-height:42px!important;padding:0 10px!important}
.utility-office-bar-v2 .utility-office-v2{grid-row:1!important;min-height:42px!important;height:42px!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;gap:1px!important;padding:0 6px!important;border:0!important;text-align:center!important}
.utility-office-bar-v2 .utility-office-label-v2{font-size:9px!important;line-height:1.1!important}
.utility-office-bar-v2 .utility-office-v2 a{font-size:10px!important;line-height:1.1!important}
}


/* Final QA 2026-10-12: contain RTL language menus on mobile and tablet. */
@media(max-width:1099px){
 html[dir="rtl"] body .site-header .language-switch-v390 .language-menu-v390{inset-inline:auto!important;left:auto!important;right:0!important}
}
@media(min-width:769px) and (max-width:1099px){
 html body.inner-page.theme-premium.page-slug-contact form.quote-v15-form input,html body.inner-page.theme-premium.page-slug-contact form.quote-v15-form select,html body.inner-page.theme-premium.page-slug-contact form.quote-v15-form textarea,html body #home-track-ref{font-size:16px!important}
}
@media(max-width:768px){html[dir="rtl"] body.integrated-corporate-page .site-header .language-switch-v390 .language-menu-v390{left:0!important;right:auto!important}}
/* Keep network hover cards inside the existing map. */
.sep-net2-node.n5 .sep-net2-node-card{left:22px!important;right:auto!important}
@media(min-width:621px) and (max-width:900px){
 .sep-net2-node.n3 .sep-net2-node-card,.sep-net2-node.n4 .sep-net2-node-card{left:22px!important;right:auto!important}
}

/* Keep lower network cards within the map vertically. */
.sep-net2-node.n2 .sep-net2-node-card,.sep-net2-node.n5 .sep-net2-node-card{top:auto!important;bottom:26px!important}

/* Mobile office bar: keep contact numbers in the footer and contact page. */
@media(max-width:767px){html body .utility-bar.utility-office-bar-v2{display:none!important;height:0!important;min-height:0!important;padding:0!important;border:0!important;overflow:hidden!important}html body .utility-bar.utility-office-bar-v2>.utility-office-wrap-v2{display:none!important}}

/* Privacy policy mobile reading gutter. */
@media(max-width:767px){html body.page-slug-privacy-policy .legal-page-v1 article.service-prose-v15{box-sizing:border-box!important;padding:24px 20px!important}}

/* Corporate skip link works before JavaScript loads. */
body.integrated-corporate-page>.skip-link{position:fixed!important;top:-1000px!important;inset-inline-start:12px!important;z-index:2147483647!important;padding:12px 18px!important;border-radius:8px;background:#06264F;color:#fff;text-decoration:none}body.integrated-corporate-page>.skip-link:focus{top:8px!important}
