@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --green: #64ff28;
}

html:has(body.sc-site-header-page),
html.sc-site-header-page-root {
  scroll-padding-top: 74px;
}

body.sc-site-header-page {
  overflow-x: clip;
}

body.sc-site-header-page #wrapper,
body.sc-site-header-page #content,
body.sc-site-header-page #content > .container,
body.sc-site-header-page #content > .container > .row {
  width: 100%;
  max-width: none;
  padding: 0;
  margin: 0;
  flex: none !important;
  overflow: visible !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  background: transparent !important;
}

body.sc-site-header-page .container {
  background: transparent !important;
}

body.sc-site-header-page #content > .container:first-child {
  position: relative;
  z-index: 30;
}

body.sc-site-header-page #content > .container:first-child .row {
  justify-content: center;
}

body.sc-site-header-page .sc-public.sc-catalog-page,
body.sc-site-header-page .sc-public.sc-detail-page {
  padding-top: 74px;
}

body.sc-site-header-page .sc-catalog-body {
  padding-top: 0;
}

.sc-site-header,
.sc-site-header * {
  box-sizing: border-box;
}

.sc-site-header a {
  text-decoration: none;
}

.sc-site-header button {
  font: inherit;
}

.site-header {
  height: 74px;
  display: grid;
  grid-template-columns: 270px 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 0 30px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 100;
  background: rgba(2, 8, 10, .96);
  border-bottom: 1px solid rgb(74 219 27 / 73%);
  backdrop-filter: blur(10px);
}

.site-header .brand img {
  width: 265px;
  height: 64px;
  object-fit: contain;
  object-position: left center;
}

.site-header .main-nav {
  display: flex;
  justify-content: center;
  gap: 25px;
  font-size: 14px;
  font-weight: 600;
  font-family: Inter, system-ui, sans-serif;
}

.site-header .main-nav a {
  padding: 10px 0;
  color: #e7eff0;
  border-bottom: 2px solid transparent;
}

.site-header .main-nav a:hover,
.site-header .main-nav a.active {
  color: var(--green);
  border-color: var(--green);
}

.site-header .main-nav a.main-nav-highlight {
  align-self: center;
  padding: 10px;
  margin: 0;
  border: 1px solid var(--green);
  border-radius: 5px;
  background: linear-gradient(180deg, rgba(100, 255, 40, .18), rgba(100, 255, 40, .08));
  color: #fff;
  font-weight: 800;
  letter-spacing: .02em;
  box-shadow: 0 0 18px rgba(100, 255, 40, .22);
  border-bottom: 1px solid var(--green);
}

.site-header .main-nav a.main-nav-highlight:hover,
.site-header .main-nav a.main-nav-highlight.active {
  background: linear-gradient(180deg, rgba(100, 255, 40, .28), rgba(100, 255, 40, .12));
  color: #fff;
  border-color: #8dff4a;
  transform: translateY(-1px);
}

.site-header.site-header--services {
  grid-template-columns: minmax(180px, 270px) 1fr auto;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.site-header .main-nav-simple {
  justify-content: right;
  align-items: center;
  gap: 36px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.site-header .main-nav-simple a {
  position: relative;
  padding: 10px 2px;
  border-radius: 0;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .02em;
  color: #b4c0c4;
  border-bottom: 0;
  transition: color .2s ease;
}

.site-header .main-nav-simple a:hover {
  color: #fff;
  background: transparent;
}

.site-header .main-nav-simple a.main-nav-highlight {
  padding: 10px 2px;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  font-weight: 600;
  box-shadow: none;
}

.site-header .main-nav-simple a.main-nav-highlight::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--green);
  opacity: .85;
}

.site-header .main-nav-simple a.main-nav-highlight:hover,
.site-header .main-nav-simple a.main-nav-highlight.active {
  background: transparent;
  border-color: transparent;
  color: #fff;
  transform: none;
}

.site-header.site-header--services .header-actions {
  gap: 10px;
}

.site-header.site-header--services .btn {
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 8px;
  letter-spacing: .01em;
}

.site-header.site-header--services .btn:hover {
  transform: none;
  filter: none;
}

.site-header.site-header--services .btn-green {
  background: #5ce632;
  color: #0b1608;
  box-shadow: none;
}

.site-header.site-header--services .btn-green:hover {
  background: #6ef042;
}

.site-header.site-header--services .btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, .22);
  color: #eef2f3;
}

.site-header.site-header--services .btn-outline:hover {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .35);
  color: #fff;
}

.site-header .header-actions {
  display: flex;
  gap: 14px;
}

.site-header .menu-toggle {
  display: none;
}

.site-header .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 12px 24px;
  font-weight: 800;
  font-family: Inter, system-ui, sans-serif;
  cursor: pointer;
  transition: .2s ease;
}

.site-header .btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.site-header .btn-green {
  background: linear-gradient(180deg, #72ff36, #35c80d);
  color: #041006;
  box-shadow: 0 0 24px rgba(88, 255, 32, .18);
}

.site-header .btn-outline {
  background: rgba(4, 12, 14, .8);
  border-color: #4e6b70;
  color: #fff;
}

.site-header .btn-outline:hover {
  color: #fff;
  background: rgba(100, 255, 40, .14);
  border-color: var(--green);
  filter: none;
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: 230px 1fr auto;
  }

  .site-header .brand img {
    width: 225px;
  }

  .site-header .main-nav {
    gap: 20px;
  }
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: 1fr auto auto;
    padding: 0 16px;
  }

  .site-header .brand img {
    width: 190px;
  }

  .site-header .menu-toggle {
    display: block;
    background: none;
    border: 1px solid #36555b;
    color: #fff;
    border-radius: 6px;
    padding: 7px 10px;
    cursor: pointer;
  }

  .site-header .main-nav {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: #041114;
    flex-direction: column;
    gap: 0;
    padding: 10px 20px;
    border-bottom: 1px solid rgb(74 219 27 / 73%);
  }

  .site-header .main-nav.open {
    display: flex;
  }

  .site-header .main-nav a {
    padding: 13px;
  }

  .site-header .main-nav a.main-nav-highlight {
    align-self: flex-start;
    margin-top: 6px;
  }

  .site-header .header-actions .btn-outline {
    display: none;
  }

  .site-header .header-actions .btn-green {
    padding: 10px 14px;
    font-size: 12px;
  }

  .site-header.site-header--services {
    height: auto;
    min-height: 74px;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    align-items: center;
    padding: 10px 16px 0;
    gap: 0;
  }

  .site-header.site-header--services .brand {
    grid-column: 1;
    grid-row: 1;
  }

  .site-header.site-header--services .brand img {
    width: 170px;
    height: auto;
    max-height: 52px;
  }

  .site-header.site-header--services .header-actions {
    grid-column: 2;
    grid-row: 1;
  }

  .site-header.site-header--services .main-nav-simple {
    display: flex !important;
    grid-column: 1 / -1;
    grid-row: 2;
    position: static;
    justify-content: flex-start;
    gap: 28px;
    width: 100%;
    margin: 0;
    padding: 10px 0 12px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    background: transparent;
  }

  .site-header.site-header--services .main-nav-simple a,
  .site-header.site-header--services .main-nav-simple a.main-nav-highlight {
    padding: 4px 2px 8px;
    font-size: 13px;
  }

  body.sc-site-header-page .sc-public.sc-catalog-page,
  body.sc-site-header-page .sc-public.sc-detail-page {
    padding-top: 118px;
  }
}
