/* Каркас: шапка и подвал. Страницы этот файл не переопределяют. */
html {
  background: #12141c;
  overscroll-behavior-y: none;
}
body {
  overscroll-behavior-y: none;
  padding-top: var(--vf-bar);
}

.vf-head,
.vf-head * {
  box-sizing: border-box;
}
.vf-head {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 70;
  height: var(--vf-bar);
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  background: #12141c;
  border-bottom: 0;
  color: #f7f6ff;
  font-family: Inter, system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.2;
}
.vf-brand {
  justify-self: start;
  font-size: 15px;
  font-weight: 600;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}
.vf-brand span { font-weight: 450; opacity: 0.65; margin-left: 6px; }
.vf-nav {
  display: flex;
  justify-self: center;
  align-items: center;
  gap: 28px;
  color: rgba(237, 237, 243, 0.7);
}
.vf-nav a { color: inherit; text-decoration: none; white-space: nowrap; }
.vf-nav a:hover,
.vf-nav a[aria-current="page"] { color: #f7f6ff; }
.vf-tools {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 14px;
}
.vf-phone {
  font-weight: 500;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}
.vf-burger {
  display: none;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.vf-burger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  border-radius: 1px;
}
.vf-drop { position: relative; }
.vf-drop__btn {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.vf-drop__menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  padding: 8px 0;
  background: #12141c;
  border: 1px solid rgba(247, 246, 255, 0.12);
}
.vf-drop__menu a { display: block; padding: 10px 16px; }
.vf-nav-dim { display: none; }
@media (min-width: 901px) and (max-width: 1279px) {
  .vf-head { column-gap: 8px; padding-left: 12px; padding-right: 12px; }
  .vf-nav { gap: 10px; font-size: 13px; }
  .vf-tools { gap: 8px; }
}
@media (min-width: 1280px) and (max-width: 1439px) {
  .vf-nav { gap: 16px; }
}
@media (max-width: 1023px) {
  .vf-brand,
  .vf-phone { display: inline-flex; align-items: center; min-height: 44px; }
  .vf-foot__list a { display: inline-flex; align-items: center; min-height: 44px; }
}
@media (max-width: 900px) {
  .vf-head { display: flex; justify-content: space-between; }
  .vf-burger { display: inline-flex; }
  .vf-nav {
    display: none;
    position: fixed;
    top: var(--vf-bar);
    left: 0;
    right: 0;
    z-index: 79;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 12px;
    background: #12141c;
    border-bottom: 0;
    max-height: calc(100dvh - var(--vf-bar));
    overflow-y: auto;
  }
  .vf-nav a { padding: 14px 24px; font-size: 16px; color: rgba(237, 237, 243, 0.86); }
  body.is-nav-open .vf-nav { display: flex; width: 100%; }
  body.is-nav-open { overflow: hidden; }
  body.is-nav-open .vf-nav-dim {
    display: block;
    position: fixed;
    top: var(--vf-bar);
    left: 0;
    right: 0;
    height: calc(100dvh - var(--vf-bar));
    z-index: 78;
    margin: 0;
    padding: 0;
    border: 0;
    background: rgba(8, 9, 14, 0.72);
    cursor: pointer;
  }
}
@media (min-width: 768px) and (max-width: 1023px) and (orientation: portrait) {
  body.is-nav-open { overflow: visible; }
}

.vf-foot,
.vf-foot * { box-sizing: border-box; }
.vf-foot {
  position: relative;
  z-index: 40;
  margin-top: 0;
  background: #0c1633;
  color: #ededf3;
  padding: var(--vcp-foot-top) 0 var(--vcp-foot-bottom);
  font-family: Inter, system-ui, sans-serif;
  font-size: 16px;
  line-height: normal;
}
.vf-foot a { color: inherit; text-decoration: none; font-size: inherit; line-height: inherit; }
.vf-foot__grid,
.vf-foot__bar {
  width: min(1216px, calc(100% - 2 * var(--vcp-gutter)));
  margin-inline: auto;
}
.vf-foot__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  align-items: start;
}
.vf-foot__col { padding: 0 32px; border-left: 1px solid rgba(237, 237, 243, 0.12); }
.vf-foot__col:first-child { padding-left: 0; border-left: 0; }
.vf-foot__col:last-child { padding-right: 0; }
.vf-foot__brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; }
.vf-foot__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #f4f6fb;
  color: #0f1c3f;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}
.vf-foot__name { display: flex; flex-direction: column; }
.vf-foot__name strong { font-size: 18px; font-weight: 700; letter-spacing: 0.3px; line-height: 1.1; color: #fff; }
.vf-foot__name span {
  margin-top: 1px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.72);
}
.vf-foot__rule { width: 48px; height: 1px; margin: 20px 0 22px; background: rgba(237, 237, 243, 0.22); }
.vf-foot__meta { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.vf-foot__meta li,
.vf-foot__meta a { color: #c8c8d2; font-size: 14px; line-height: 1.45; }
.vf-foot__meta a:hover { color: #fff; }
.vf-foot__h { margin: 0 0 18px; color: #9a9aab; font-size: 14px; font-weight: 500; }
.vf-foot__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.vf-foot__list a { color: #c8c8d2; font-size: 14px; line-height: 1.4; }
.vf-foot__list a:hover { color: #fff; }
.vf-foot__bar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid rgba(237, 237, 243, 0.12);
  color: #8b8b99;
  font-size: 13px;
}
.vf-foot__legal p { margin: 8px 0 0; line-height: 1.45; }
.vf-foot__soc { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.vf-foot__soc a { display: flex; color: #f3f4f6; }
.vf-foot__soc a:hover { color: #fff; }
.vf-foot__soc svg { width: 46px; height: 46px; }
html.has-cookie .vf-foot { padding-bottom: calc(var(--vcp-foot-bottom) + var(--cookie-h, 118px)); }
@media (max-width: 900px) {
  .vf-foot__grid { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .vf-foot__col:nth-child(odd) { padding-left: 0; border-left: 0; }
  .vf-foot__col:nth-child(even) { padding-right: 0; }
}
@media (max-width: 640px) {
  .vf-foot__grid { grid-template-columns: 1fr; }
  .vf-foot__col {
    padding: 0 0 28px;
    border-left: 0;
    border-bottom: 1px solid rgba(237, 237, 243, 0.12);
  }
  .vf-foot__col:last-child { padding-bottom: 0; border-bottom: 0; }
}
