<style>
* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: transparent;
}

.nav-wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
}

/* TOP BAR */

.top-bar {
/*  
  height: 36px;
  background: #f4f4f4;
  transition: transform .25s ease, opacity .25s ease;
*/

  /* translucemnt */
   height: 36px;
  background: rgba(245,245,245,.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: height .25s ease, opacity .25s ease;  


overflow: hidden;  
}

.top-bar.hide {
  height: 0;
  opacity: 0;
}

/*
.top-bar:not(.hide) ~ .main-nav .mobile-panel {
  max-height: calc(100vh - 132px);
}
*/

.top-bar-inner {
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.top-bar-inner a {
  color: #07113a;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.top-bar-inner a.lang-active {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
}

.top-bar-inner .login {
  border: 1px solid #07113a;
  border-radius: 999px;
  padding: 5px 18px;
}

/* MAIN NAV */

.main-nav {
  /*
  background: #fff;
  box-shadow: 0 1px 0 rgba(0,0,0,.08);
  transition: transform .25s ease;*/

  /* translucent */
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.28);
  box-shadow: 0 1px 20px rgba(0,0,0,.06);

position: relative;
}

.nav-inner {
  height: 82px;
  display: flex;
  align-items: center;
  gap: 30px;
}

.logo {
  color: #07113a;
  font-size: 24px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.logo span {
  color: #5b2cff;
}

/* DESKTOP MENU */

/*
.desktop-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
}*/
.desktop-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
  flex: 1;
}


.desktop-menu a {
  color: #07113a;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.desktop-item {
  position: relative;
}

.desktop-item > a::after {
  content: "⌄";
  margin-left: 6px;
  font-size: 13px;
}

.desktop-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 190px;
  background: #fff;
  border: 1px solid #eee;
  box-shadow: 0 12px 30px rgba(0,0,0,.1);
  padding: 10px;
  display: none;
  z-index: 10000;
}

.desktop-dropdown a {
  display: block;
  padding: 10px;
  font-size: 14px;
}

.desktop-item {
  position: relative;
  padding: 20px 0;
}

.desktop-item:hover .desktop-dropdown {
  display: block;
}

/* BUTTONS */

.desktop-actions {
  display: flex;
  gap: 12px;
}

.btn {
  min-height: 46px;
  padding: 0 22px;
  border-radius: 5px;
  background: #07113a;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn.secondary {
  background: #111827;
}

/* MOBILE */

.mobile-actions {
  display: none;
  margin-left: auto;
  align-items: center;
  gap: 18px;
}

.mobile-short-btn {
  width: 50px;
  height: 50px;
  border-radius: 6px;
  background: #07113a;
  color: #fff;
  display: grid;
  place-items: center;
  text-decoration: none;
}

.burger {
  width: 46px;
  height: 46px;
  border: 0;
  background: transparent;
  padding: 0;
  display: grid;
  align-content: center;
  gap: 7px;
  cursor: pointer;
}

.burger span {
  width: 38px;
  height: 3px;
  background: #07113a;
  display: block;
  border-radius: 3px;
  transition: .2s ease;
}

.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/*
.mobile-panel {
  display: none;
}
*/
.mobile-panel {
  display: none;
  background: #fff;
  border-top: 1px solid #ddd;
  padding: 24px;
  max-height: calc(100vh - 96px);
  overflow-y: auto;
}

/* MOBILE RESPONSIVE */

@media (max-width: 900px) {
  .desktop-menu,
  .desktop-actions {
    display: none;
  }

  .mobile-actions {
    display: flex;
  }

  .nav-inner {
    height: 96px;
  }

  .logo {
    font-size: 22px;
  }

  .mobile-panel {
    display: none;
    background: #fff;
    border-top: 1px solid #ddd;
    padding: 24px;
    max-height: calc(100vh - 96px);
    overflow-y: auto;
  }

  .mobile-panel.open {
    display: block;
  }

  .mobile-panel-buttons {
    display: grid;
    gap: 14px;
    margin-bottom: 34px;
  }

  .mobile-wide-btn {
    height: 58px;
    border-radius: 6px;
    color: #fff;
    background: #07113a;
    display: grid;
    place-items: center;
    font-size: 18px;
    font-weight: 800;
    text-decoration: none;
  }

  .mobile-wide-btn.secondary {
    background: #111827;
  }

  .mobile-link,
  .mobile-toggle {
    width: 100%;
    min-height: 70px;
    border: 0;
    background: transparent;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 23px;
    font-weight: 500;
    text-decoration: none;
    padding: 0 36px;
    cursor: pointer;
  }

  .mobile-toggle span {
    color: #07113a;
    font-size: 24px;
    transition: transform .2s ease;
  }

  .mobile-item.open .mobile-toggle span {
    transform: rotate(180deg);
  }

  .mobile-submenu {
    display: none;
    padding: 0 36px 16px;
  }

  .mobile-item.open .mobile-submenu {
    display: grid;
  }

  .mobile-submenu a {
    color: #555;
    font-size: 17px;
    text-decoration: none;
    padding: 10px 0;
  }

}

@media (max-width: 520px) {

  .nav-wrap {
    padding: 0 18px;
  }

  .logo {
    font-size: 18px;
  }

  .mobile-short-btn {
    width: 50px;
    height: 50px;
  }

  .burger span {
    width: 34px;
  }

  .mobile-link,
  .mobile-toggle {
    padding: 0 18px;
    font-size: 22px;
  }

  .mobile-submenu {
    padding: 0 18px 16px;
  }
}


.hero-cover {
  width: 100%;
  min-height: 100vh;
  padding-top: 160px;
  background: #F11;
  color: #fff;
}



/* tramnslucent and is_dark*/
.site-header.is-dark .main-nav {
  background: rgba(7,17,58,.62);
  border-bottom: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 1px 24px rgba(0,0,0,.22);
}

.site-header.is-dark .desktop-menu a,
.site-header.is-dark .desktop-item > a,
.site-header.is-dark .logo,
.site-header.is-dark .mobile-toggle,
.site-header.is-dark .mobile-link {
  color: #fff;
}

.site-header.is-dark .burger span {
  background: #fff;
}

/* and top bar is_dark*/
.site-header.is-dark .top-bar {
  background: rgba(0,0,0,.35);
}
.site-header.is-dark .top-bar-inner a {
  color: #fff;
}
.site-header.is-dark .top-bar-inner .login {
  border-color: #fff;
}

/* translucent Keep dropdowns/mobile panel solid for readability: */
.desktop-dropdown,
.mobile-panel {
  background: #fff;
}




/* ONLY USE FOR BUTTONS WITH ICONS */ 
.nav-btn {
  min-height: 42px;
  padding: 0 18px;
  border-radius: 5px;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.nav-btn-primary {
  background: #07113a;
}

.nav-btn-secondary {
  background: #111827;
}

.nav-icon {
  font-size: 22px;
  line-height: 1;
}

.mobile-short-btn .nav-icon {
  font-size: 21px;
}



.mobile-wide-btn {
  height: 58px;
  border-radius: 6px;
  color: #fff;
  background: #07113a;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 18px;
  font-weight: 800;
  text-decoration: none;
}


@media (max-width: 900px) {

  .top-bar {
    display: block !important;
    height: 32px !important;
  }

  .top-bar.hide {
    height: 0 !important;
  }

  .top-bar-inner {
    height: 32px !important;
  }

  .main-nav {
    transform: none !important;
  }

  .nav-inner {
    height: 106px !important;
    min-height: 106px !important;
    align-items: center !important;
  }

  .mobile-panel {
    max-height: calc(100vh - 138px) !important;
  }

  .top-bar.hide + .main-nav .mobile-panel {
    max-height: calc(100vh - 106px) !important;
  }

 .hero-cover {
    padding-top: 138px;
  }  

 .mobile-short-btn {
    width: 50px !important;
    height: 50px !important;
  }  
}
</style>