:root {
  --site-chrome-bg: #08051c;
  --site-chrome-bg-solid: rgba(8, 5, 28, 0.99);
  --site-chrome-link: #ffffff;
  --site-chrome-muted: rgba(255, 255, 255, 0.62);
  --site-chrome-accent: #ff6b09;
  --site-chrome-purple: #9b5cff;
  --site-chrome-purple-soft: #c49dff;
}

.visually_hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.header.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  display: flex;
  width: 100%;
  height: 86px;
  align-items: center;
  justify-content: flex-end;
  padding: 0 clamp(28px, 5vw, 76px);
  background: rgba(8, 5, 28, 0.98);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: none;
  transition: height 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.header.site-header.scrolled {
  height: 68px;
  background: var(--site-chrome-bg-solid);
  box-shadow: 0 12px 28px rgba(2, 1, 12, 0.22);
}

.header.site-header .logo {
  display: flex;
  align-items: center;
  flex-basis: auto;
  padding-left: 0;
}

.header.site-header .logo a {
  display: inline-flex;
  align-items: center;
  gap: 0;
  color: var(--site-chrome-link);
  font-size: 34px;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 86px;
  text-decoration: none;
  transition: line-height 0.2s ease, color 0.18s ease;
}

.header.site-header .logo img {
  width: 64px;
  height: auto;
  margin-right: 14px;
}

.header.site-header .logo a span,
.footer.site-footer .footer_logo a span {
  color: var(--site-chrome-accent);
  font-weight: 900;
}

.header.site-header.scrolled .logo a {
  line-height: 68px;
}

.header.site-header .main_nav {
  display: block;
  flex-basis: auto;
}

.header.site-header .main_nav ul {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
  transform: none;
}

.header.site-header .main_nav ul li {
  margin-right: clamp(28px, 3vw, 48px);
}

.header.site-header .main_nav ul li:last-child {
  margin-right: 0;
}

.header.site-header .main_nav ul li a {
  position: relative;
  display: block;
  color: var(--site-chrome-link);
  font-size: 14px;
  font-weight: 600;
  line-height: 40px;
  text-decoration: none;
  transition: color 0.18s ease;
}

.header.site-header .main_nav ul li a:hover,
.header.site-header .main_nav ul li.active > a,
.header.site-header .main_nav ul li a[aria-current="page"] {
  color: var(--site-chrome-purple-soft);
}

.header.site-header .main_nav ul li.active > a::after,
.header.site-header .main_nav ul li a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  border-radius: 999px;
  background: var(--site-chrome-purple);
}

.header.site-header .hamburger_container {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  margin-right: 0;
  padding: 0;
  border: 0;
  color: var(--site-chrome-link);
  background: transparent;
  appearance: none;
  cursor: pointer;
}

.header.site-header .hamburger_container:focus-visible,
.menu_container.site-menu .menu_close:focus-visible,
.cookie-ok-btn:focus-visible {
  outline: 2px solid rgba(196, 157, 255, 0.8);
  outline-offset: 3px;
}

.header.site-header .hamburger_lines {
  display: inline-flex;
  width: 24px;
  flex-direction: column;
  gap: 5px;
}

.header.site-header .hamburger_lines span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.menu_container.site-menu {
  position: fixed;
  top: 0;
  right: -400px;
  z-index: 1100;
  width: min(400px, 100vw);
  height: 100vh;
  opacity: 0;
  background: #ffffff;
  transition: right 0.3s cubic-bezier(0.7, 0, 0.3, 1), opacity 0.3s cubic-bezier(0.7, 0, 0.3, 1);
}

.menu_container.site-menu.active {
  right: 0;
  opacity: 1;
}

.menu_container.site-menu .menu {
  width: 100%;
  height: 100%;
}

.menu_container.site-menu .menu_close {
  position: absolute;
  top: 34px;
  right: 30px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  color: #100a2d;
  background: transparent;
  cursor: pointer;
  font-size: 34px;
  line-height: 1;
}

.menu_container.site-menu ul {
  margin: 0;
  padding-top: 112px;
  padding-right: 50px;
  list-style: none;
}

.menu_container.site-menu ul li {
  position: relative;
  margin-bottom: 10px;
}

.menu_container.site-menu ul li::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -10px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #6d3df3;
  transform: translateY(-50%);
}

.menu_container.site-menu ul li a {
  color: #100a2d;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.9;
  text-decoration: none;
  transition: color 0.2s ease;
}

.menu_container.site-menu ul li a:hover,
.menu_container.site-menu ul li.active a,
.menu_container.site-menu ul li a[aria-current="page"] {
  color: #6d3df3;
}

body .footer.site-footer {
  position: relative;
  z-index: 2;
  margin-top: -2px;
  padding: clamp(56px, 5vw, 72px) 0 42px;
  overflow: visible;
  background: var(--site-chrome-bg);
}

body .footer.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -138px;
  z-index: 0;
  height: 170px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 180' preserveAspectRatio='none'%3E%3Cpath fill='%2308051c' d='M0 126 C138 82 298 68 478 88 C650 107 755 148 930 126 C1116 102 1266 54 1440 70 L1440 180 L0 180 Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100% 100%;
  pointer-events: none;
}

body .footer.site-footer > .container {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 48px));
  max-width: 1180px;
}

body .footer.site-footer .row {
  display: grid;
  grid-template-columns: minmax(280px, 1.35fr) minmax(110px, 0.6fr) minmax(150px, 0.8fr) minmax(110px, 0.6fr) minmax(120px, 0.65fr);
  align-items: start;
  column-gap: clamp(34px, 4.6vw, 78px);
  row-gap: 34px;
  margin-right: 0;
  margin-left: 0;
}

body .footer.site-footer .row > [class*="col-"] {
  width: auto;
  max-width: none;
  min-width: 0;
  flex: initial;
  padding-right: 0;
  padding-left: 0;
}

body .footer.site-footer .footer_intro p {
  margin-bottom: 0;
  color: var(--site-chrome-muted);
}

body .footer.site-footer .footer_logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  padding-left: 0;
}

body .footer.site-footer .footer_logo a {
  display: inline-flex;
  align-items: center;
  color: #ffffff;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1;
  text-decoration: none;
}

body .footer.site-footer .footer_logo img {
  display: block;
  width: 58px;
  flex: 0 0 auto;
  height: auto;
  margin-right: 0;
}

body .footer.site-footer .footer_col a,
body .footer.site-footer .footer_cr {
  color: var(--site-chrome-muted);
}

body .footer.site-footer .footer_col_title {
  margin-bottom: 10px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
}

body .footer.site-footer .footer_col {
  margin-bottom: 24px;
}

body .footer.site-footer .footer_col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

body .footer.site-footer .footer_col ul li {
  margin-bottom: 2px;
}

body .footer.site-footer .footer_col ul li a {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  font-size: 13px;
  line-height: 1.35;
  text-decoration: none;
  transition: color 0.18s ease;
}

body .footer.site-footer .footer_col ul li a:hover {
  color: #ffffff;
}

body .footer.site-footer .footer_cr {
  width: 100%;
  margin-top: 18px;
  padding-bottom: 4px;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
}

body .footer.site-footer .footer_social {
  margin-top: 22px;
}

body .footer.site-footer .footer_social ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body .footer.site-footer .footer_social ul li {
  display: inline-flex;
  margin: 0;
}

body .footer.site-footer .footer_social ul li a {
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.08);
  text-decoration: none;
  transition: color 0.18s ease, background 0.18s ease;
}

body .footer.site-footer .footer_social ul li a:hover {
  color: #ffffff;
  background: rgba(139, 86, 255, 0.28);
}

body .footer.site-footer .footer_social .social-letter {
  display: inline-flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  line-height: 1;
}

.cookie-banner {
  position: fixed;
  right: 24px;
  bottom: 24px;
  left: 24px;
  z-index: 1200;
  display: none;
  align-items: center;
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 22px;
  border: 1px solid #a6cff4;
  border-radius: 22px;
  color: #30445a;
  background: #dff1ff;
  box-shadow: 0 20px 60px rgba(28, 83, 130, 0.18);
  font-family: Arial, "Helvetica Neue", sans-serif;
}

.cookie-text {
  flex: 1;
}

.cookie-text span {
  color: #30445a;
  font-size: 17px;
  line-height: 1.55;
}

.cookie-text a {
  color: #114f82;
  border-bottom: 1px solid currentColor;
  text-decoration: none;
}

.cookie-ok-btn {
  flex: 0 0 170px;
  min-height: 52px;
  border: 1px solid #abcbe8;
  border-radius: 999px;
  color: #15314b;
  background: #ffffff;
  cursor: pointer;
  font-size: 16px;
  font-weight: 800;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.cookie-ok-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(28, 83, 130, 0.16);
}

@media (min-width: 992px) {
  .header.site-header .hamburger_container {
    display: none;
  }
}

@media (max-width: 991px) {
  .header.site-header {
    height: 76px;
    padding: 0 24px;
  }

  .header.site-header.scrolled {
    height: 66px;
  }

  .header.site-header .main_nav {
    display: none;
  }

  .header.site-header .hamburger_container {
    display: inline-flex;
  }

  .header.site-header .logo a {
    font-size: 29px;
    line-height: 76px;
  }

  .header.site-header.scrolled .logo a {
    line-height: 66px;
  }

  .header.site-header .logo img {
    width: 56px;
    margin-right: 10px;
  }
}

@media (max-width: 767px) {
  body .footer.site-footer::before {
    top: -100px;
    height: 130px;
  }

  body .footer.site-footer > .container {
    width: min(100% - 32px, 1180px);
  }

  body .footer.site-footer .row {
    grid-template-columns: 1fr;
    row-gap: 8px;
  }

  body .footer.site-footer {
    padding-bottom: 34px;
  }

  .cookie-banner {
    right: 12px;
    bottom: 12px;
    left: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 16px;
  }

  .cookie-text span {
    font-size: 14px;
  }

  .cookie-ok-btn {
    width: 100%;
    flex-basis: auto;
  }
}

@media (max-width: 575px) {
  .header.site-header {
    padding: 0 18px;
  }

  .header.site-header .logo a {
    font-size: 25px;
  }

  .header.site-header .logo img {
    width: 50px;
  }

  .menu_container.site-menu ul {
    padding-right: 34px;
  }
}
