header .current-menu-item > a > span,
header .current-menu-parent > a > span,
header .current_page_item > a > span,
header .current_page_parent > a > span,
header .current-menu-ancestor > a > span {
  color: var(--brand-secondary-color) !important;
}

header .current-menu-item.btn > a > span,
header .current-menu-parent.btn > a > span,
header .current_page_item.btn > a > span,
header .current_page_parent.btn > a > span,
header .current-menu-ancestor.btn > a > span {
  color: var(--white) !important;
}

.site-header {
  position: relative;
  z-index: 999;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background: var(--white);
  transition: transform 0.3s ease;
}

.header * {
  color: var(--brand-primary-color);
}

.header-desktop.hide {
  transform: translateY(-110%);
}

.header-mobile {
  display: none;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 0.75rem 1rem;
}

.logo,
.logo-mobile {
  display: inline-flex;
  align-items: center;
  min-height: 95px;
  padding:5px 0;
}

.logo img,
.logo-mobile img {
  max-width: 260px;
  max-height: 80px;
  object-fit: contain;
}

.logo-text {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.header-mobile .burger {
  position: relative;
  z-index: 1001;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.header-mobile .burger span {
  position: absolute;
  width: 32px;
  height: 3px;
  border-radius: 999px;
  background: var(--brand-accent-color);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.header-mobile .burger span:first-child {
  transform: translateY(-9px);
}

.header-mobile .burger span:last-child {
  transform: translateY(9px);
}

.header-mobile .burger.open span:first-child {
  transform: rotate(45deg);
  background: #fff;
}

.header-mobile .burger.open span:nth-child(2) {
  opacity: 0;
}

.header-mobile .burger.open span:last-child {
  transform: rotate(-45deg);
  background: #fff;
}

.burger-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(90vw, 420px);
  padding: 5.5rem 1.25rem 2rem;
  background: color-mix(in srgb, var(--brand-primary-color) 96%, #000 4%);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.18);
  overflow-y: auto;
  transform: translateX(105%);
  transition: transform 0.3s ease;
}

.burger-menu.active {
  transform: translateX(0);
}

.burger-menu .btn {
  margin-top: 1rem;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 78px;
}

.nav-list,
.nav-list .sub-menu,
.nav-list .children,
.mobile-menu,
.mobile-menu .sub-menu,
.mobile-menu .children {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 75px;
  flex: 1 1 auto;
}

.nav-list > li {
  position: relative;
  margin-bottom:0;
}

.nav-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 1rem 0;
  white-space: nowrap;
  text-decoration: none;
  font-weight: 600;
  font-size: 105%;
}

.nav-list .btn a{
  padding:0;
}
.nav-list .btn a span{
  color:var(--white);
}
.nav-list .btn:hover a span{
  color:var(--white);
}

.menu-item a span:hover,
.menu-item a:hover span,
.menu-item a:focus-visible span {
  color: var(--brand-primary-color-hover);
}

.nav-list .menu-item-has-children > a::after {
  content: '▾';
  font-size: 100%;
  transform: translateY(1px);
  transition: transform 0.2s ease;
}

.nav-list .menu-item-has-children:hover > a::after,
.nav-list .menu-item-has-children:focus-within > a::after {
  transform: rotate(180deg);
  margin-top:7.5px;
}

.nav-list .sub-menu,
.nav-list .children {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0.5rem;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.nav-list .sub-menu .sub-menu,
.nav-list .children .children,
.nav-list .sub-menu .children,
.nav-list .children .sub-menu {
  top: -0.5rem;
  left: calc(100% - 0.25rem);
}

.nav-list li:hover > .sub-menu,
.nav-list li:hover > .children,
.nav-list li:focus-within > .sub-menu,
.nav-list li:focus-within > .children {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-list .sub-menu li,
.nav-list .children li {
  width: 100%;
}

.nav-list .sub-menu a,
.nav-list .children a {
  display: flex;
  width: 100%;
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  white-space: normal;
}

.nav-list .sub-menu a:hover,
.nav-list .sub-menu a:focus-visible,
.nav-list .children a:hover,
.nav-list .children a:focus-visible {
  background: rgba(255, 255, 255, 0.08);
}

.header-cta {
  flex-shrink: 0;
}

.mobile-menu > li {
  position: relative;
  margin: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.mobile-menu a {
  display: block;
  padding: 0.9rem 2.5rem 0.9rem 0;
  font-size: 1rem;
  font-weight: 600;
}

.mobile-menu .sub-menu,
.mobile-menu .children {
  display: none;
  padding: 0 0 0.5rem 1rem;
}

.mobile-menu .submenu-open > .sub-menu,
.mobile-menu .submenu-open > .children {
  display: block;
}

.mobile-menu .submenu-toggle {
  position: absolute;
  top: 0.55rem;
  right: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--brand-primary-color-text);
  cursor: pointer;
  transition: transform 0.2s ease;
}

.mobile-menu .submenu-toggle.is-open {
  transform: rotate(180deg);
}

.topheader{
  background:var(--brand-accent-color);
}
.topheader .topmenu-nav{
  width:100%;
  display:flex;
  justify-content:end;
}
.topheader .topmenu-nav ul{
  display:flex;
  gap:1rem;
  justify-content: space-between;
  width: 40%;
  align-content: center;
  margin-bottom: 0;
}
.topheader .topmenu-nav ul li{
  list-style:none;
  margin:0;
}
.topheader .topmenu-nav ul li a{
  color:var(--white);
  position:relative;
  padding: 10px 0 14px;
  display: block;
  line-height: 1.2;
}

.topheader .topmenu-nav .phone,
.topheader .topmenu-nav .mail,
.topheader .topmenu-nav .login{
  position:relative;
  padding-left:30px;
}

.topheader .topmenu-nav .phone:before{
  content: '';
  display:block;
  height:16px;
  width:16px;
  background:url('../img/phone.svg') no-repeat center center;
  background-size:cover;
  position:absolute;
  top:13px;
  left:0;
}
.topheader .topmenu-nav .mail:before{
  content: '';
  display:block;
  height:14px;
  width:20px;
  background:url('../img/mail.svg') no-repeat center center;
  background-size:cover;
  position:absolute;
  top:15px;
  left:0;
}
.topheader .topmenu-nav .login:before{
  content: '';
  display:block;
  height:20px;
  width:15px;
  background:url('../img/login.svg') no-repeat center center;
  background-size:cover;
  position:absolute;
  top:10px;
  left:0;
}

input,
textarea,
select{
  padding:15px 25px 17px!important;
  border-radius:30px!important;
  background:var(--white);
}
input::placeholder,
textarea::placeholder{
  color:var(--brand-primary-color)!important;
  font-weight:600;
}
textarea{
  min-height:280px!important;
  resize:none;
}

/* -------------------------------------------------------------------------------------------------------------------------------- */

@media (max-width: 1480px) {

.header-mobile{display: flex;}
.header-desktop{display: none;}
.header *{color: #fff;}
.menu-item a span:hover, 
.menu-item a:hover span, 
.menu-item a:focus-visible span{color: var(--brand-secondary-color);}
.mobile-menu .btn a{display: contents;}
.burger-menu .btn{padding: 10px 40px 13px;}
.mobile-menu .sub-menu a{padding: 0.25rem 2.5rem 0.25rem 0;}
  
}

@media (max-width: 1199px) {

}

@media (max-width: 991px) {

}

@media (max-width: 767px) {

  .logo img, .logo-mobile img{max-width: 200px;max-height: 60px;}
  .logo, .logo-mobile{min-height: 60px;}

}

@media (max-width: 600px) {

}

@media (max-width: 400px) {

}