﻿
 .nav-sub {
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: opacity 0.28s ease, transform 0.28s ease;
  height: auto !important;
  overflow: visible !important;
  margin-top: 60px;
}

.nav-sub.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-subsub {
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
  height: auto !important;
  overflow: visible !important;
}

.nav-subsub.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.sub-list {
  display: flex !important;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  position: absolute;
  height: auto;
  padding: 14px 24px;
}

.sub-list.show {
  opacity: 1;
  pointer-events: auto;
  position: relative;
}

.subsub-list {
  display: flex !important;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  position: absolute;
  padding: 13px 0;
}

.subsub-list.show {
  opacity: 1;
  pointer-events: auto;
  position: relative;
}

.sub-list li,
.subsub-list li {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}

.nav-main ul {
  display: flex;
  align-items: center;
}

.nav-main a {
  position: relative;
  text-decoration: none;
  color: #111;
  font-weight: 500;
  padding: 18px 0;
  transition: color .25s ease;
}

.nav-main li:hover a {
  color: #f4c81c;
}

.nav-main li:hover a::after {
  width: 100%;
}

.nav-sub,
.nav-subsub {
  position: fixed;
  left: 0;
  width: 100%;
  background: #fff;
  opacity: 0;
  transform: translateY(15px);
  pointer-events: none;
  transition: all .35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 20px 60px rgba(0,0,0,.08);
}

.nav-sub.visible,
.nav-subsub.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-sub.visible {
  height: var(--sub-h);
background-color: rgba(44, 40, 41, 0.9);  top: 60px;
}

.nav-subsub.visible {
  height: var(--sub-h);
  background-color: rgba(49, 46, 46, 0.95);;
  top: calc(60px + var(--sub-h, 56px));
}

.menu-title {
  color: #878787;
  font-size: 16px;
  padding-right: 10px;
  list-style: none;
  display: block;
  font-weight: bold;
  margin-bottom: 8px; margin-top:11px
}

.sub-list,
.subsub-list {
  display: none;
  padding: 20px;
  gap: 20px;
}

.sub-list.show,
.subsub-list.show {
  display: flex;
}

.sub-list.show li,
.subsub-list.show li {
  opacity: 0;
  transform: translateY(-10px);
  animation: fadeDown 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes fadeDown {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.sub-list.show li:nth-child(1) { animation-delay: .05s; }
.sub-list.show li:nth-child(2) { animation-delay: .1s; }
.sub-list.show li:nth-child(3) { animation-delay: .15s; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.sub-list a,
.subsub-list a {
  transition: all .25s ease;
}

.sub-list a:hover,
.subsub-list a:hover {
  transform: translateY(1px);
  color: #f4c81c;
}

#burger {
  display: none;
}

@media(max-width: 900px) {
  .nav-main ul { display: none; }
  #burger { display: block; }
}

.header__sticky.header-sticky.header__sticky-black-2 {
  border-bottom: 0px solid rgba(255, 255, 255, 0.04);
}

.main-list { display: flex; list-style: none; height: 100%; flex: 1; align-items: stretch; }
.main-list > li { display: flex; align-items: stretch; }
.main-list > li > a {
  display: flex; align-items: center; gap: 5px;
  padding: 0 13px;
  font-size: 16px;
  font-weight: 500;
  font-family: var(--tp-ff-manrope); color: var(--text);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s; cursor: pointer;
}

.header__sticky.header-sticky.header__sticky-black .main-menu-8 ul li a {
  padding: 2px 0px;
}

.main-list > li > a:hover,
.main-list > li.active > a { color: #f4c81c!important; border-bottom-color:#f4c81c; }

.chev { width: 12px; height: 12px; flex-shrink: 0; transition: transform .2s; opacity: .45; }
.main-list > li.active > a .chev { transform: rotate(180deg); opacity: 1; }

.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: 6px;
  font-size: 13.5px; font-weight: 600;
  white-space: nowrap; cursor: pointer;
  transition: background .15s, color .15s;
}
.nav-btn-outline {
  border: 1.5px solid #f4c81c; color: #f4c81c; background: transparent;
}
.nav-btn-outline:hover { background: #f4c81c; color: #fff; }
.nav-btn-solid {
  background: #f4c81c; color: #fff; border: 1.5px solid #f4c81c;
}
.nav-btn-solid:hover { background: #f4c81c; border-color: #f4c81c; }
.nav-btn svg { width: 16px; height: 16px; }

.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; margin-left: 10px; flex-shrink: 0; }
.burger span { display: block; width: 23px; height: 2px; background: var(--text); border-radius: 2px; transition: .2s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-sub {
  background: var(--subbg);
  border-bottom: 2px solid var(--border);
  position: fixed;
  top: 60px;
  left: 0;
  width: 100%;
  z-index: 290;
  height: 0;
  overflow: hidden;
  transition: height .2s ease;
  margin-top: 0;
}

.nav-sub.visible { height: var(--sub-h); }

.nav-sub-inner {
  max-width: 1000px; margin: 0 auto;
  height: var(--sub-h); display: flex; align-items: stretch; padding: 0 24px;
}

.sub-list { display: none; list-style: none; align-items: stretch; height: 100%; }
.sub-list.show { display: flex; }
.sub-list > li { display: flex; align-items: stretch; }
.sub-list > li > a {
  display: flex; align-items: center; gap: 5px;
  padding: 0 16px;
  font-size: 15px; font-weight: 600; color: var(--text);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s; cursor: pointer;
}
.sub-list > li > a:hover,
.sub-list > li.active > a { color: #f4c81c; border-bottom-color: #f4c81c; }
.sub-list > li > a .chev { opacity: .45; }
.sub-list > li.active > a .chev { transform: rotate(180deg); opacity: 1; }

.nav-subsub {
  background: var(--subsubbg);
  border-bottom: 2px solid var(--border);
  position: fixed;
  top: calc(60px + var(--sub-h, 56px));
  left: 0;
  width: 100%;
  z-index: 280;
  height: 0;
  overflow: hidden;
  transition: height .2s ease;
}

.nav-subsub.visible { height: var(--subsub-h); }

.nav-subsub-inner {
  max-width: 1000px; margin: 0 auto;
  height: var(--subsub-h); display: flex; align-items: stretch; padding: 0 24px;
}

.subsub-list {
  padding: 13px 0px 13px 0px !important;
}

.subsub-list { display: none; list-style: none; align-items: center; height: 100%; gap: 4px; }
.subsub-list.show { display: flex; }
.subsub-list > li > a {
  display: flex; align-items: center;
  padding: 0 14px; height: 100%;
  font-size: 15px; font-weight: 500; color: var(--text);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s; margin-top: 0px;
}

.subsub-list > li > a:hover { color: #f4c81c; border-bottom-color: #f4c81c; }

.mobile-drawer {
  display: none;
  background: var(--bg);
  border-top: 2px solid var(--border);
  position: fixed;
  top: 60px;
  left: 0;
  width: 100%;
  z-index: 295;
  max-height: calc(100vh - 60px);
  overflow-y: auto;
}

.mobile-drawer.open { display: block; }

.mob-item { border-bottom: 2px solid var(--border); }
.mob-btn {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 14px 20px; background: none; border: none;
  font-size: 15px; font-weight: 600; color: var(--text); cursor: pointer; text-align: left;
}
.mob-btn .chev { transition: transform .2s; opacity: .45; }
.mob-btn.open { color: #f4c81c; }
.mob-btn.open .chev { transform: rotate(180deg); opacity: 1; }

.mob-sub { display: none; background: var(--subbg); }
.mob-sub.open { display: block; }

.mob-sub-btn {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 11px 32px; background: none;
  border: none; border-bottom: 2px solid var(--border);
  font-size: 15px; font-weight: 600; color: var(--text); cursor: pointer; text-align: left;
}
.mob-sub-btn .chev { opacity: .45; transition: transform .2s; }
.mob-sub-btn.open { color: #f4c81c; }
.mob-sub-btn.open .chev { transform: rotate(180deg); }

.mob-sub2 { display: none; background: var(--subsubbg); }
.mob-sub2.open { display: block; }
.mob-sub2 a {
  display: block; padding: 10px 48px;
  font-size: 15px; font-weight: 500; color: var(--text);
  border-bottom: 2px solid var(--border);
}
.mob-sub2 a:last-child { border: none; }
.mob-sub2 a:hover { color: #f4c81c; }

.mob-plain {
  display: block; padding: 11px 32px;
  font-size: 15px; font-weight: 500; color: var(--text);
  border-bottom: 2px solid var(--border);
}
.mob-plain:last-child { border: none; }
.mob-plain:hover { color: #f4c81c; }

.mob-direct {
  display: block; padding: 14px 20px;
  font-size: 15px; font-weight: 600; color: var(--text);
  border-bottom: 2px solid var(--border);
}
.mob-direct:hover { color: #f4c81c; }

.mob-buttons { display: flex; gap: 10px; padding: 16px 20px; }
.mob-buttons a { flex: 1; text-align: center; padding: 10px; border-radius: 6px; font-size: 15px; font-weight: 600; }
.mob-btn-o { border: 1.5px solid #f4c81c; color: #f4c81c; }
.mob-btn-s { background: #f4c81c; color: #fff; border: 1.5px solid #f4c81c; }

.hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #2d2d5e 100%);
  color: #fff; text-align: center;
  padding: 80px 24px;
}
.hero h1 { font-size: 32px; font-weight: 800; margin-bottom: 12px; }
.hero p { font-size: 16px; opacity: .8; max-width: 520px; margin: 0 auto 28px; }
.hero-btn {
  display: inline-block; padding: 13px 32px;
  background: #f4c81c; color: #fff;
  border-radius: 8px; font-size: 15px; font-weight: 700;
  transition: background .15s;
}
.hero-btn:hover { background: #f4c81c; }

@media(max-width: 900px) {
  .main-list, .nav-right { display: none; }
  .burger { display: flex; }
  .nav-sub, .nav-subsub { display: none !important; }
}

@media(min-width: 901px) {
  .mobile-drawer { display: none !important; }
}


@media only screen and (min-width: 1200px) and (max-width: 1620px), only screen and (min-width: 992px) and (max-width: 1199px) {
    .main-menu-8 ul li {
        margin-right: 28px;
    }
}
header {
    position: relative;
    z-index: 300;
}

.logo {
    position: relative;
    z-index: 301; 
}