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;
}

.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-accent-color-text);
}

.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-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: 48px;
  height: 48px;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.header-mobile .burger span {
  position: absolute;
  width: 40px;
  height: 3px;
  border-radius: 999px;
  background: var(--brand-primary-color);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.header-mobile .burger span:first-child {
  transform: translateY(-10px);
}

.header-mobile .burger span:last-child {
  transform: translateY(10px);
}

.header-mobile .burger.open span:first-child {
  transform: rotate(45deg);
}

.header-mobile .burger.open span:nth-child(2) {
  opacity: 0;
}

.header-mobile .burger.open span:last-child {
  transform: rotate(-45deg);
}

.burger-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(90vw, 420px);
  padding: 5.5rem 1.25rem 2rem;
  background: var(--white);
  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;
}

.topmenu{
    display: flex;
    gap: 100px;
    justify-content: end;
    margin: 0;
}
.topmenu span,
.topmenu a{
    color: var(--brand-primary-color);
    font-size: 16px;
    font-weight: 300;
}

.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: center;
  gap: 75px;
  flex: 1 1 auto;
}

.nav-list > li {
  position: relative;
  margin-bottom:0;
}
.nav-list > li:last-child a{
    border-radius: var(--brlg);
    background-color: var(--brand-secondary-color);
    transition: all ease .3s;
    padding: 11px 45px 13px;
}
.nav-list > li:last-child a:hover{
    background-color: var(--brand-secondary-color-hover);
    transition: all ease .3s;
}
.nav-list > li:last-child span{
    color: var(--brand-secondary-color-text)!important;
    font-weight: 600;
}

.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: 0.98rem;
}

.nav-list li.btn.secondary a span{color:var(--white);}

.menu-item a span:hover,
.menu-item a:hover span,
.menu-item a:focus-visible span {
  color: var(--brand-secondary-color);
}

.nav-list .menu-item-has-children > a::after {
  content: '▾';
  font-size: 0.7rem;
  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);
}

.nav-list .sub-menu,
.nav-list .children {
  position: absolute;
  top:100%;
  left: 0;
  min-width: 200px;
  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 .menu-item-413 .sub-menu{
  min-width:300px;
}
.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%;
  margin-bottom:0;
}

.nav-list .sub-menu a,
.nav-list .children a {
  display: flex;
  width: 100%;
  padding: 5px 15px;
  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;
}

.burger-menu .topmenu{
  display:block;
  margin-top:-75px;
  margin-bottom:50px;
}

.mobile-menu > li {
  position: relative;
  margin: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.mobile-menu a {
  display: block;
  padding: 15px 0;
  font-size: 1rem;
  font-weight: 600;
  text-align:center;
}


.mobile-menu .sub-menu,
.mobile-menu .children {
  display: none;
  background: var(--brand-secondary-color-lightest);
  padding: 5px;
}

.mobile-menu .submenu-open > .sub-menu,
.mobile-menu .submenu-open > .children {
  display: block;
}

.mobile-menu .sub-menu li {
  margin: 0;
}
.mobile-menu .sub-menu li a{
  padding:5px 0;
}

.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);
}

.mobile-menu > li:last-child{
  margin-top:15px;
}
.mobile-menu > li:last-child a{
    border-radius: var(--brlg);
    background-color: var(--brand-secondary-color);
    transition: all ease .3s;
    padding: 11px 45px 13px;
}
.mobile-menu > li:last-child a:hover{
    background-color: var(--brand-secondary-color-hover);
    transition: all ease .3s;
}
.mobile-menu > li:last-child span{
    color: var(--brand-secondary-color-text)!important;
    font-weight: 600;
}

@media (max-width: 1199px) {
  .navbar {
    gap: 1rem;
  }

  .nav-list {
    gap: 1rem;
  }
}

@media (max-width: 991px) {
  .header-mobile {
    display: flex;
  }

  .header-desktop {
    display: none;
  }
}

@media (min-width: 992px) {
  .header-mobile {
    display: none;
  }

  .header-desktop {
    display: block;
  }
}
@media (max-width: 600px) {
  .header-mobile .logo{
    width:75%;
  }
  .burger-menu{
    width: min(97.5vw, 420px);
  }
}