/* ALIEV: original INDEX header visual language, shared on service pages.
   Scoped to avoid overriding each page's existing body/hero design. */
.site-header.aliev-index-match {
  height:94px; position:fixed; inset:0 0 auto; width:100%;
  z-index:3000; background:rgba(250,247,241,.98);
  border:0; border-bottom:1px solid #e9e1d7; box-shadow:none;
  backdrop-filter:none; color:#052b3d;
  font:400 15px/1.65 Arial,Helvetica,sans-serif;
}
.site-header.aliev-index-match, .site-header.aliev-index-match *,
.site-header.aliev-index-match *::before, .site-header.aliev-index-match *::after {box-sizing:border-box}
.site-header.aliev-index-match a {color:inherit;text-decoration:none}
.site-header.aliev-index-match .header-inner {
  max-width:1440px; width:calc(100% - 80px); height:100%;
  display:flex;align-items:center;justify-content:space-between;
  margin:auto; gap:26px; min-height:0;
}
.site-header.aliev-index-match .brand {
  display:flex;align-items:center;gap:14px;flex:none;min-width:0;
  padding:0; border:0; background:transparent;
}
.site-header.aliev-index-match .brand .brand-mark {
  display:block; width:45px; height:44px; max-width:none;
  object-fit:contain;flex:0 0 45px;
}
.site-header.aliev-index-match .brand-wordmark {
  border-left:1px solid #b8a98e; padding-left:14px;
  display:flex;flex-direction:column;min-width:0;
}
.site-header.aliev-index-match .brand-wordmark strong {
  color:#052b3d;font:400 27px/1 Georgia,'Times New Roman',serif;
  letter-spacing:3px; display:block;
}
.site-header.aliev-index-match .brand-wordmark>span {
  color:#052b3d;font:700 7.6px/1.6 Arial,Helvetica,sans-serif;
  letter-spacing:1.6px;margin-top:5px;white-space:nowrap;
}
.site-header.aliev-index-match .desktop-nav {
  display:flex;gap:26px;align-items:center;margin-left:auto;
}
.site-header.aliev-index-match .desktop-nav a {
  position:relative;white-space:nowrap;
  font:600 11px/1.65 Arial,Helvetica,sans-serif;
  padding:0;display:inline-block;
}
.site-header.aliev-index-match .desktop-nav a::after {
  content:'';position:absolute;height:1px;background:#bd8a3e;
  bottom:-7px;left:0;right:100%;transition:right .2s;
}
.site-header.aliev-index-match .desktop-nav a:hover::after,
.site-header.aliev-index-match .desktop-nav a.active::after {right:0}
.site-header.aliev-index-match .header-cta {
  min-height:41px;min-width:0;padding:10px 16px;
  display:inline-flex;align-items:center;justify-content:center;
  gap:13px;white-space:nowrap;flex:none;
  background:#052b3d; color:#fbf9f5;border:1px solid #bd8a3e;
  border-radius:0;box-shadow:none;letter-spacing:normal;
  font:600 11px/1.4 Arial,Helvetica,sans-serif;
  transition:background .2s;
}
.site-header.aliev-index-match .header-cta:hover {background:#124053;transform:none}
.site-header.aliev-index-match .header-cta svg {
  display:block; width:18px;height:18px; flex:none;
  stroke:#bd8a3e; stroke-width:1.5;fill:none;
  stroke-linecap:round;stroke-linejoin:round;
}
.site-header.aliev-index-match .menu-toggle {
  display:none; width:44px;height:44px; padding:10px;
  flex:none; background:none; border:0; border-radius:0;
  box-shadow:none; cursor:pointer;color:#052b3d;
}
.site-header.aliev-index-match .menu-toggle span {
  display:block;height:1px;background:#052b3d;
  margin:7px 0;transition:transform .2s;
}
.site-header.aliev-index-match .menu-toggle[aria-expanded="true"] span:first-child {transform:translateY(4px) rotate(45deg)}
.site-header.aliev-index-match .menu-toggle[aria-expanded="true"] span:last-child {transform:translateY(-4px) rotate(-45deg)}
.site-header.aliev-index-match .mobile-nav {
  display:block;position:absolute;left:0;right:0;top:100%;
  background:#f5f1eb; padding:16px 24px 26px;
  border-bottom:1px solid #d8c6a8;box-shadow:none;
  max-height:calc(100dvh - 75px);overflow-y:auto;
}
.site-header.aliev-index-match .mobile-nav[hidden] {display:none!important}
.site-header.aliev-index-match .mobile-nav a {
  display:flex;align-items:center;justify-content:space-between;
  padding:13px 0;border-bottom:1px solid #dfd7cc;
  font:400 15px/1.65 Arial,Helvetica,sans-serif;
}
.site-header.aliev-index-match .mobile-nav a:last-child {color:#926323;font-weight:600}
@media(max-width:1190px) {
 .site-header.aliev-index-match .header-inner {width:calc(100% - 56px);gap:22px}
 .site-header.aliev-index-match .desktop-nav {gap:19px}
 .site-header.aliev-index-match .desktop-nav a {font-size:10px}
 .site-header.aliev-index-match .brand-wordmark strong {font-size:25px}
 .site-header.aliev-index-match .brand .brand-mark {width:40px;flex-basis:40px}
 .site-header.aliev-index-match .brand-wordmark>span {font-size:7px}
 .site-header.aliev-index-match .header-cta {font-size:10px;padding:10px 12px}
 .site-header.aliev-index-match .header-cta svg {display:none}
}
@media(max-width:980px) {
 .site-header.aliev-index-match {height:82px}
 .site-header.aliev-index-match .header-inner {width:calc(100% - 56px)}
 .site-header.aliev-index-match .desktop-nav {display:none}
 .site-header.aliev-index-match .header-cta {margin-left:auto;font-size:12px}
 .site-header.aliev-index-match .menu-toggle {display:block}
}
@media(max-width:700px) {
 .site-header.aliev-index-match {height:75px}
 .site-header.aliev-index-match .header-inner {width:calc(100% - 36px);gap:12px}
 .site-header.aliev-index-match .brand {gap:9px}
 .site-header.aliev-index-match .brand .brand-mark {width:34px;height:37px;flex-basis:34px}
 .site-header.aliev-index-match .brand-wordmark {padding-left:9px}
 .site-header.aliev-index-match .brand-wordmark strong {font-size:22px;letter-spacing:2px}
 .site-header.aliev-index-match .brand-wordmark>span {font-size:6px;letter-spacing:1.1px;margin-top:4px}
 .site-header.aliev-index-match .header-cta {font-size:10px;padding:10px;min-height:36px}
 .site-header.aliev-index-match .menu-toggle {width:34px;padding:6px;margin-right:-5px}
}
@media(max-width:360px) {
 .site-header.aliev-index-match .header-cta {display:none}
 .site-header.aliev-index-match .menu-toggle {margin-left:auto}
}

/* Match the final logo dimensions actually used by index.html (including its late overrides).
   Legacy service CSS contains !important branding rules; these scoped overrides win. */
.service-detail-page {animation:none!important;opacity:1!important;}
.site-header.aliev-index-match {animation:none!important;transform:none!important;}
.site-header.aliev-index-match .brand {min-width:0!important;}
.site-header.aliev-index-match .brand img.brand-mark {width:57px!important;height:42px!important;max-width:57px!important;flex:0 0 57px!important;object-fit:contain!important;}
@media(max-width:1190px){
 .site-header.aliev-index-match .brand img.brand-mark {width:51px!important;height:39px!important;max-width:51px!important;flex:0 0 51px!important;}
}
@media(max-width:700px){
 .site-header.aliev-index-match .brand img.brand-mark {width:45px!important;height:35px!important;max-width:45px!important;flex:0 0 45px!important;}
}

/* Reset historic service button rules: show the two hamburger bars like Index. */
.site-header.aliev-index-match .menu-toggle span {width:100%!important;min-width:0!important;}
