/* Shared header only. Keep the incumbent Manrope, blue accent and floating shape. */
html body .spv-header.spv-header--glass {
  --spv-nav-ease: cubic-bezier(.23, 1, .32, 1);
  position: fixed;
  z-index: 70;
  gap: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .78), rgba(247, 250, 255, .6));
  -webkit-backdrop-filter: blur(30px) saturate(140%) brightness(1.04);
  backdrop-filter: blur(30px) saturate(140%) brightness(1.04);
  border: 1px solid rgba(255, 255, 255, .76);
  background-clip: padding-box;
  box-shadow: 0 8px 28px rgba(27, 52, 99, .075), inset 0 1px 0 rgba(255, 255, 255, .94), inset 0 -1px 0 rgba(255, 255, 255, .25);
  overflow: visible;
}
html body .spv-header--glass > .spv-logo { flex-shrink: 0; margin-right: auto; }
html body .spv-header--glass .spv-desktop-nav { margin: 0 auto; gap: 0; }
.spv-header-links, .spv-header-panel ul { list-style: none; padding: 0; margin: 0; }
.spv-header-links { display: flex; align-items: center; gap: 2px; }
html body .spv-header--glass .spv-header-links > li > a,
html body .spv-header--glass .spv-header-branch > summary {
  display: flex; align-items: center; gap: 6px; min-height: 44px;
  padding: 10px 10px; border-radius: 12px; font-size: 14px; font-weight: 550;
  white-space: nowrap; color: #122340; line-height: 1.4; cursor: pointer;
  text-decoration: none; list-style: none;
  transition: background-color 120ms ease, color 120ms ease;
}
.spv-header-branch > summary::-webkit-details-marker { display: none; }
html body .spv-header--glass .spv-header-branch > summary::after,
html body #mobile-menu.spv-menu--glass .spv-header-branch > summary::after {
  content: ''; width: 6px; height: 6px; border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor; transform: rotate(45deg); margin: -3px 2px 0 3px;
  flex-shrink: 0; transition: transform 160ms var(--spv-nav-ease);
}
html body .spv-header--glass .spv-header-branch[open] > summary,
html body .spv-header--glass .spv-header-links > li > a[aria-current='page'] { color: #064ee3; background: rgba(224, 234, 255, .8); }
html body .spv-header--glass .spv-header-branch[open] > summary::after,
html body #mobile-menu.spv-menu--glass .spv-header-branch[open] > summary::after { transform: rotate(225deg); margin-top: 3px; }
html body .spv-header--glass .spv-header-branch { position: static; }
html body .spv-header--glass .spv-header-panel {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%);
  width: min(900px, calc(100vw - 48px)); padding: 20px; border-radius: 24px;
  max-height: calc(100dvh - 126px); overflow-y: auto; overscroll-behavior: contain;
  background: rgba(250, 252, 255, .98);
  -webkit-backdrop-filter: blur(28px) saturate(150%); backdrop-filter: blur(28px) saturate(150%);
  box-shadow: 0 20px 54px rgba(17, 40, 84, .16), inset 0 1px 0 #fff;
  transform-origin: 50% 0;
  scrollbar-width: thin; scrollbar-color: #a4b8dc transparent;
}
/* Transparent hit area joins the trigger to its floating panel. */
.spv-header-branch[open]::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 12px; }
.spv-header-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
[data-branch='solutions'] .spv-header-columns { grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); }
[data-branch='solutions'] .spv-header-column:last-child ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
[data-branch='company'] .spv-header-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
html body .spv-header--glass [data-branch='cms'] .spv-header-panel { width: min(600px, calc(100vw - 48px)); }
html body .spv-header--glass [data-branch='company'] .spv-header-panel { width: min(640px, calc(100vw - 48px)); }
.spv-header-cms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 12px; }
.spv-header-column { min-width: 0; }
.spv-header-column > strong { display: block; color: #53647e; padding: 10px 12px 8px; font-size: 13px; font-weight: 600; line-height: 1.5; }
.spv-header-column > ul + strong { margin-top: 16px; }
html body .spv-header--glass .spv-header-panel a {
  display: flex; align-items: center; min-height: 44px; padding: 10px 12px;
  font-size: 14px; line-height: 1.5; border-radius: 10px; white-space: normal;
  text-decoration: none; color: #122340; font-weight: 500;
  transition: background-color 120ms ease, color 120ms ease;
}
html body .spv-header--glass .spv-header-panel-top { padding-bottom: 12px; margin-bottom: 8px; border-bottom: 1px solid #dce5f3; }
html body .spv-header--glass .spv-header-panel-top a { font-weight: 650; color: #064ee3; }
html body .spv-header--glass .spv-header-panel a[aria-current='page'] { background: #e3edff; color: #064ee3; }
html body .spv-header--glass .spv-header-phone { white-space: nowrap; font-size: 13px; }
html body .spv-header--glass .spv-social { width: 44px; height: 44px; flex: 0 0 44px; }
html body .spv-header--glass .spv-header-call { flex-shrink: 0; font-size: 13px; padding-inline: 18px; min-height: 48px; }
html body .spv-header--glass .spv-menu-toggle { position: relative; width: 44px; height: 44px; min-width: 44px; padding: 0; font-size: 0; border: 0; background: rgba(229, 237, 253, .85); border-radius: 50%; color: #064ee3; }
html body .spv-header--glass .spv-menu-toggle::before,
html body .spv-header--glass .spv-menu-toggle::after { content: ''; position: absolute; width: 18px; height: 2px; background: currentColor; left: 13px; border-radius: 2px; }
html body .spv-header--glass .spv-menu-toggle::before { top: 17px; }
html body .spv-header--glass .spv-menu-toggle::after { top: 25px; }
html body .spv-header--glass :is(a, summary, button):focus-visible,
html body #mobile-menu.spv-menu--glass :is(a, summary, button):focus-visible { outline: 3px solid #a25500; outline-offset: 2px; }
html body .spv-header--glass :is(summary, button),
html body #mobile-menu.spv-menu--glass :is(summary, button) { touch-action: manipulation; -webkit-tap-highlight-color: transparent; user-select: none; }
html body .spv-header--glass .spv-menu-toggle:active,
html body #mobile-menu.spv-menu--glass .spv-button:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) {
  html body .spv-header--glass .spv-header-links > li > a:hover,
  html body .spv-header--glass .spv-header-branch > summary:hover,
  html body .spv-header--glass .spv-header-panel a:hover { background: #e7effe; color: #064ee3; }
}
@media (max-width: 1439px) { html body .spv-header--glass .spv-header-phone { display: none; } }
@media (max-width: 1099px) {
  html body .spv-header--glass .spv-desktop-nav,
  html body .spv-header--glass .spv-header-call,
  html body .spv-header--glass .spv-header-phone { display: none; }
  html body .spv-header--glass .spv-menu-toggle { display: block; }
  html body .spv-header.spv-header--glass { gap: 10px; padding-inline: 20px; }
}
@media (max-width: 480px) {
  html body .spv-header.spv-header--glass { gap: 6px; padding-inline: 12px; }
  html body .spv-header--glass > .spv-logo { font-size: 23px; letter-spacing: -.04em; }
}
html body #mobile-menu.spv-menu--glass {
  --spv-nav-ease: cubic-bezier(.23, 1, .32, 1);
  position: fixed; inset: 12px 12px auto auto; margin: 0; width: min(460px, calc(100% - 24px));
  height: auto; min-height: 0; transform: none;
  max-width: none; max-height: calc(100dvh - 24px); box-sizing: border-box;
  padding: 24px 24px max(24px, env(safe-area-inset-bottom)); border-radius: 26px; border: 1px solid rgba(255,255,255,.9);
  background: rgba(245, 249, 255, .95); color: #122340;
  -webkit-backdrop-filter: blur(26px) saturate(155%); backdrop-filter: blur(26px) saturate(155%);
  box-shadow: 0 24px 70px rgba(17, 40, 84, .23); overflow-y: auto; overscroll-behavior: contain;
  animation: none; scrollbar-width: thin; scrollbar-color: #a4b8dc transparent;
}
html body #mobile-menu.spv-menu--glass::backdrop { background: rgba(20, 39, 74, .24); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
html body #mobile-menu.spv-menu--glass > .spv-logo { display: inline-block; margin: 4px 56px 26px 0; font-size: 25px; }
html body #mobile-menu.spv-menu--glass .spv-dialog-close { position: sticky; float: right; right: 0; top: 0; margin: 0 0 -44px; transform: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #e3ebfa; color: #122340; font-size: 0; z-index: 2; }
html body #mobile-menu.spv-menu--glass .spv-dialog-close::before,
html body #mobile-menu.spv-menu--glass .spv-dialog-close::after { content: ''; position: absolute; left: 13px; top: 21px; width: 18px; height: 2px; background: currentColor; transform: rotate(45deg); }
html body #mobile-menu.spv-menu--glass .spv-dialog-close::after { transform: rotate(-45deg); }
html body #mobile-menu.spv-menu--glass nav { display: block; margin: 0; padding: 0; }
html body #mobile-menu.spv-menu--glass .spv-header-links { display: block; width: 100%; }
html body #mobile-menu.spv-menu--glass .spv-header-links > li { border-top: 1px solid rgba(96, 124, 168, .2); }
html body #mobile-menu.spv-menu--glass .spv-header-links > li > a,
html body #mobile-menu.spv-menu--glass .spv-header-branch > summary {
  display: flex; justify-content: space-between; align-items: center; width: 100%; min-height: 56px;
  margin: 0; padding: 14px 4px; border: 0; border-radius: 0; background: transparent; color: #122340;
  text-align: left; font-size: 19px; font-weight: 550; line-height: 1.4; text-decoration: none; list-style: none; cursor: pointer;
}
html body #mobile-menu.spv-menu--glass .spv-header-branch[open] > summary { color: #064ee3; }
html body #mobile-menu.spv-menu--glass .spv-header-branch::after { display: none; }
html body #mobile-menu.spv-menu--glass .spv-header-panel { padding: 4px 0 18px; }
html body #mobile-menu.spv-menu--glass .spv-header-columns,
html body #mobile-menu.spv-menu--glass .spv-header-cms,
html body #mobile-menu.spv-menu--glass .spv-header-column ul { display: block; }
html body #mobile-menu.spv-menu--glass .spv-header-column strong { padding: 16px 10px 4px; font-size: 13px; }
html body #mobile-menu.spv-menu--glass .spv-header-panel a {
  display: flex; align-items: center; min-height: 44px; padding: 10px; margin: 0; border: 0;
  background: transparent; text-align: left; color: #122340; border-radius: 10px;
  font-size: 16px; line-height: 1.5; font-weight: 500; text-decoration: none;
}
html body #mobile-menu.spv-menu--glass .spv-header-panel a[aria-current='page'] { background: #e3edff; color: #064ee3; }
html body #mobile-menu.spv-menu--glass .spv-menu-contacts { border-top: 1px solid #cfdbef; padding-top: 22px; margin-top: 12px; }
html body #mobile-menu.spv-menu--glass .spv-menu-phone { display: flex; align-items: center; min-height: 44px; font-size: 21px; font-weight: 650; margin: 0 0 12px; text-decoration: none; color: #122340; }
html body #mobile-menu.spv-menu--glass .spv-menu-contacts > .spv-button { display: flex; justify-content: center; min-height: 52px; width: 100%; color: #fff; background: #064ee3; font-size: 16px; border-radius: 14px; margin: 0; }
html body #mobile-menu.spv-menu--glass .spv-menu-messengers { display: flex; gap: 12px; margin-top: 12px; }
html body #mobile-menu.spv-menu--glass .spv-menu-messengers a { display: flex; justify-content: center; align-items: center; flex: 1; min-height: 44px; padding: 8px; margin: 0; border: 1px solid #c6d5f0; border-radius: 12px; font-size: 15px; text-decoration: none; background: rgba(255,255,255,.45); color: #064ee3; }
html.spv-mobile-nav-open { overflow: hidden; scrollbar-gutter: stable; }
html[data-spv-nav-input='keyboard'] body .spv-header--glass *,
html[data-spv-nav-input='keyboard'] body .spv-header--glass *::after,
html[data-spv-nav-input='keyboard'] body #mobile-menu.spv-menu--glass *,
html[data-spv-nav-input='keyboard'] body #mobile-menu.spv-menu--glass *::after { transition-duration: 0s !important; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  html body .spv-header.spv-header--glass, html body #mobile-menu.spv-menu--glass { background: #f5f8fe; }
}
@media (prefers-reduced-transparency: reduce) {
  html body .spv-header.spv-header--glass, html body .spv-header--glass .spv-header-panel,
  html body #mobile-menu.spv-menu--glass { background: #f5f8fe; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-reduced-motion: reduce) {
  .spv-header--glass *, .spv-header--glass *::after,
  #mobile-menu.spv-menu--glass *, #mobile-menu.spv-menu--glass *::after { transition-duration: 0s !important; }
}
