.elementor-46 .elementor-element.elementor-element-fa43fa5{--display:flex;--gap:0px 0px;--row-gap:0px;--column-gap:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-46 .elementor-element.elementor-element-bb10f76{margin:0px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;padding:0px 0px 0px 0px;}.elementor-46:not(.elementor-motion-effects-element-type-background), .elementor-46 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#313131;}.elementor-theme-builder-content-area{height:400px;}.elementor-location-header:before, .elementor-location-footer:before{content:"";display:table;clear:both;}@media(min-width:768px){.elementor-46 .elementor-element.elementor-element-fa43fa5{--content-width:1600px;}}/* Start custom CSS for html, class: .elementor-element-bb10f76 */.ps-header {
  --ps-bg: #04080f;
  --ps-panel: #0a1322;
  --ps-ink: #f7f9ff;
  --ps-muted: #a9b5d0;
  --ps-faint: #6d7a94;
  --ps-border: rgba(169, 181, 208, 0.14);
  --ps-accent: #67c9ff;
  --ps-accent-ink: #052033;
  --ps-btn: linear-gradient(135deg, #2456ff 0%, #0090ff 100%);
  --ps-btn-hover: linear-gradient(135deg, #315fff 0%, #10a6ff 100%);
  --ps-font: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  position: sticky;
  top: 0;
  z-index: 999;
  width: 100%;
  max-width: none;
  margin: 0;
  background: var(--ps-bg);
  border-bottom: 1px solid var(--ps-border);
  font-family: var(--ps-font);
  color: var(--ps-ink);
}

.ps-header a { text-decoration: none; }
.ps-header .icon { flex: none; display: block; }

body.admin-bar .ps-header { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar .ps-header { top: 46px; }
}

/* ---------- ОСНОВНОЙ РЯД ---------- */
.ps-header__inner {
  width: min(1540px, 100% - 96px);
  min-height: 76px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
}

.ps-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: fit-content;
  color: var(--ps-ink);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.ps-header__brand svg { width: 38px; height: 38px; }
.ps-header__brand span { color: var(--ps-accent); }

.ps-header__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 0;
}

.ps-header__nav-item,
.ps-has-dropdown { position: relative; }

.ps-header__nav-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ps-ink);
  font: inherit;
  font-size: 15.5px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  -webkit-appearance: none;
  appearance: none;
}
.ps-header__nav-link:hover {
  color: var(--ps-accent);
  background: rgba(103, 201, 255, 0.07);
}

.ps-header__nav-link:focus,
.ps-header__nav-link:focus-visible,
.ps-header__nav-link:active {
  background: transparent !important;
  color: var(--ps-ink) !important;
  outline: none !important;
  box-shadow: none !important;
}
.ps-header__nav-link:hover,
.ps-has-dropdown.is-open > .ps-header__nav-link {
  background: rgba(103, 201, 255, 0.07) !important;
  color: var(--ps-accent) !important;
}

.ps-header__chevron {
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: 0.85;
  transition: transform 0.2s ease;
}
.ps-has-dropdown.is-open .ps-header__chevron {
  transform: rotate(225deg) translateY(2px);
}

.ps-has-dropdown::after {
  content: "";
  position: absolute;
  left: -18px;
  right: -18px;
  top: 100%;
  height: 20px;
  display: block;
}

.ps-header__dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  width: 620px;
  margin-left: -310px;
  padding: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 18px;
  background: #060d1a;
  border: 1px solid rgba(103, 201, 255, 0.16);
  border-radius: 18px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.55);
  transform: translateY(8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.ps-has-dropdown:hover .ps-header__dropdown,
.ps-has-dropdown:focus-within .ps-header__dropdown,
.ps-has-dropdown.is-open .ps-header__dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.ps-header__dropdown-label {
  grid-column: span 1;
  padding: 4px 14px 8px;
  color: var(--ps-faint);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ps-header__dropdown a {
  min-height: 46px;
  padding: 11px 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  color: var(--ps-ink);
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.25;
  transition: background 0.2s ease, color 0.2s ease;
}
.ps-header__dropdown a small {
  color: var(--ps-muted);
  font-size: 12.5px;
  font-weight: 500;
}
.ps-header__dropdown a:hover {
  background: rgba(103, 201, 255, 0.08);
  color: var(--ps-accent);
}
.ps-header__dropdown a:hover small { color: var(--ps-muted); }

.ps-header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

.ps-header__lang {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 700;
}
.ps-header__lang a { color: var(--ps-faint); padding: 4px 4px; transition: color 0.2s ease; }
.ps-header__lang a:hover { color: var(--ps-accent); }
.ps-header__lang a[aria-current="true"] { color: var(--ps-accent); }
.ps-header__lang span { color: rgba(169, 181, 208, 0.25); }

.ps-header__cta,
.ps-header__cta:hover,
.ps-header__cta:focus,
.ps-header__cta:active {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 11px 22px;
  border-radius: 999px;
  color: #ffffff !important;
  font-size: 14.5px;
  font-weight: 700;
  white-space: nowrap;
  outline: none !important;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}
.ps-header__cta {
  background: var(--ps-btn) !important;
  box-shadow: 0 12px 32px rgba(35, 109, 255, 0.32);
}
.ps-header__cta:hover {
  background: var(--ps-btn-hover) !important;
  box-shadow: 0 14px 38px rgba(35, 109, 255, 0.42);
}
.ps-header__cta svg { width: 16px; height: 16px; }

.ps-header__burger {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--ps-border);
  border-radius: 12px;
  background: var(--ps-panel);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  -webkit-appearance: none;
  appearance: none;
}

.ps-header__burger:hover,
.ps-header__burger:focus,
.ps-header__burger:focus-visible,
.ps-header__burger:active {
  background: var(--ps-panel) !important;
  border-color: rgba(103, 201, 255, 0.3) !important;
  color: var(--ps-ink) !important;
  outline: none !important;
  box-shadow: none !important;
}

.ps-header__burger span {
  width: 22px;
  height: 2px;
  display: block;
  margin: 5px auto;
  background: var(--ps-ink) !important;
  border-radius: 10px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.ps-header.is-menu-open .ps-header__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ps-header.is-menu-open .ps-header__burger span:nth-child(2) { opacity: 0; }
.ps-header.is-menu-open .ps-header__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.ps-mobile-menu { display: none; }
body.ps-menu-lock { overflow: hidden; }


/* ============ BREAKPOINT 1280 ============ */
@media (max-width: 1280px) {
  .ps-header__inner { width: calc(100% - 48px); gap: 16px; }
  .ps-header__nav-link { padding: 0 12px; font-size: 15px; }
  .ps-header__cta { padding: 11px 18px; font-size: 14px; }
}


/* ============ BREAKPOINT 980 — мобильный ============ */
@media (max-width: 980px) {

  .ps-header__inner {
    width: 100%;
    min-height: 64px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .ps-header__brand { font-size: 19px; }
  .ps-header__brand svg { width: 34px; height: 34px; }

  .ps-header__nav,
  .ps-header__lang,
  .ps-header__cta { display: none; }

  .ps-header__burger { display: block; }

  .ps-mobile-menu {
    position: fixed;
    inset: var(--ps-mobile-menu-top, 64px) 0 auto 0;
    z-index: 998;
    display: block;
    width: 100vw;
    height: calc(100dvh - var(--ps-mobile-menu-top, 64px));
    background: var(--ps-bg);
    color: var(--ps-ink);
    transform: translateX(100%);
    visibility: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    transition: transform 0.24s ease, visibility 0.24s ease;
  }
  .ps-header.is-menu-open .ps-mobile-menu {
    transform: translateX(0);
    visibility: visible;
  }

  .ps-mobile-menu__inner {
    width: 100%;
    min-height: 100%;
    padding: 10px 16px 0;
    display: flex;
    flex-direction: column;
    background: var(--ps-bg);
  }

  .ps-mobile-menu__link,
  .ps-mobile-menu__toggle {
    width: 100%;
    min-height: 56px;
    padding: 0 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 0;
    border-bottom: 1px solid var(--ps-border);
    background: transparent;
    color: var(--ps-ink);
    font: inherit;
    font-size: 17px;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .ps-mobile-menu__toggle,
  .ps-mobile-menu__toggle:hover,
  .ps-mobile-menu__toggle:focus,
  .ps-mobile-menu__toggle:active,
  .ps-mobile-menu__toggle.is-open {
    background: transparent !important;
    color: var(--ps-ink) !important;
    box-shadow: none !important;
    outline: none !important;
    -webkit-appearance: none !important;
    appearance: none !important;
  }
  .ps-mobile-menu__toggle.is-open {
    border-bottom-color: var(--ps-border) !important;
  }

  .ps-mobile-menu__toggle span {
    width: 10px;
    height: 10px;
    margin-right: 6px;
    border-right: 2px solid var(--ps-accent);
    border-bottom: 2px solid var(--ps-accent);
    transform: rotate(45deg);
    transition: transform 0.2s ease;
  }
  .ps-mobile-menu__toggle.is-open span {
    transform: rotate(225deg) translate(-2px, -2px);
  }

  .ps-mobile-menu__panel {
    display: block;
    max-height: 0;
    margin: 0;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    transition: max-height 0.26s ease, opacity 0.18s ease, visibility 0.18s ease;
  }
  .ps-mobile-menu__panel.is-open {
    max-height: 900px;
    margin: 10px 0 14px;
    visibility: visible;
    opacity: 1;
  }
  .ps-mobile-menu__panel a {
    min-height: 50px;
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    background: var(--ps-panel);
    color: var(--ps-ink);
    border-bottom: 1px solid rgba(169, 181, 208, 0.08);
    font-size: 15px;
    font-weight: 600;
    -webkit-tap-highlight-color: transparent;
  }
  .ps-mobile-menu__panel a small {
    color: var(--ps-muted);
    font-size: 12.5px;
    font-weight: 500;
  }
  .ps-mobile-menu__panel a:hover { color: var(--ps-accent); }
  .ps-mobile-menu__panel a:first-child {
    margin-top: 10px;
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
  }
  .ps-mobile-menu__panel a:last-child {
    margin-bottom: 10px;
    border-bottom: 0;
    border-bottom-left-radius: 14px;
    border-bottom-right-radius: 14px;
  }

  .ps-mobile-lang {
    margin: 20px 0 4px;
    padding-top: 16px;
    border-top: 1px solid var(--ps-border);
  }
  .ps-mobile-lang__label {
    margin: 0 0 10px 4px;
    display: block;
    color: var(--ps-faint);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  .ps-mobile-lang__row { display: flex; flex-wrap: wrap; gap: 10px; }
  .ps-mobile-lang__row a {
    min-width: 60px;
    min-height: 44px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--ps-panel);
    color: var(--ps-ink);
    border: 1px solid var(--ps-border);
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    -webkit-tap-highlight-color: transparent;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  }
  .ps-mobile-lang__row a:hover { color: var(--ps-accent); border-color: rgba(103, 201, 255, 0.4); }
  .ps-mobile-lang__row a[aria-current="true"] {
    color: #ffffff;
    background: var(--ps-btn);
    border-color: transparent;
  }

  .ps-mobile-menu__cta {
    position: sticky;
    bottom: 0;
    z-index: 1001;
    margin: auto -16px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: var(--ps-bg);
    border-top: 1px solid var(--ps-border);
  }
  .ps-mobile-menu__tg,
  .ps-mobile-menu__mail {
    width: 100%;
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 700;
    -webkit-tap-highlight-color: transparent;
  }
  .ps-mobile-menu__tg {
    background: var(--ps-btn);
    color: #ffffff;
    box-shadow: 0 12px 32px rgba(35, 109, 255, 0.3);
  }
  .ps-mobile-menu__tg svg { width: 18px; height: 18px; }
  .ps-mobile-menu__mail {
    background: transparent;
    color: var(--ps-accent);
    border: 1.5px solid rgba(103, 201, 255, 0.45);
  }
  .ps-mobile-menu__mail svg { width: 18px; height: 18px; }
}


/* ============ BREAKPOINT 420 ============ */
@media (max-width: 420px) {
  .ps-header__inner { padding: 0 12px; }
  .ps-header__brand { font-size: 17px; }
}

/* ---- Якорная навигация ---- */
html { scroll-behavior: smooth; }
#napryamky, #pakety, #komanda, #kontakty, #keisy {
  scroll-margin-top: 96px;
}

@media (prefers-reduced-motion: reduce) {
  .ps-header *, .ps-mobile-menu * { transition: none !important; }
  html { scroll-behavior: auto; }
}/* End custom CSS */