/* Энсис Технологии: технологичный слой (поле сигналов, курсор-куб, линия прокрутки). */

/* Signal field */
.fx-field { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
.st-hero > .fx-field, .st-page-hero > .fx-field { position: absolute; z-index: 0; }
.fx-host { isolation: isolate; }
.fx-host > .fx-field { z-index: -1; }

/* Cursor: an isometric cube that opens into a hexagon over anything clickable */
html.fx-cursor-on, html.fx-cursor-on * { cursor: none !important; }
html.fx-cursor-on input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
html.fx-cursor-on textarea { cursor: text !important; }

.fx-cursor, .fx-dot, .fx-ripple { position: fixed; left: 0; top: 0; pointer-events: none; }
.fx-cursor { z-index: 2147483000; width: 52px; height: 52px; margin: -26px 0 0 -26px; color: #0072bc; transition: opacity .25s, color .25s; will-change: transform; }
.fx-cursor svg { width: 100%; height: 100%; overflow: visible; transform: scale(.7); transition: transform .5s cubic-bezier(.2, .8, .1, 1); }
.fx-cursor__hex { fill: rgb(0 114 188 / 0); stroke: currentColor; stroke-width: 1.6px; vector-effect: non-scaling-stroke; transition: fill .3s; }
.fx-cursor__y { fill: none; stroke: currentColor; stroke-width: 1.6px; vector-effect: non-scaling-stroke; transition: opacity .25s; }
.fx-cursor[data-tone="light"] { color: #fff; }
.fx-cursor.is-hover svg { transform: scale(1.4) rotate(30deg); }
.fx-cursor.is-hover .fx-cursor__y { opacity: 0; }
.fx-cursor.is-hover .fx-cursor__hex { fill: rgb(0 114 188 / .14); }
.fx-cursor[data-tone="light"].is-hover .fx-cursor__hex { fill: rgb(255 255 255 / .12); }
.fx-cursor.is-down svg { transform: scale(.5); }
.fx-cursor.is-hover.is-down svg { transform: scale(1.1) rotate(30deg); }

.fx-dot { z-index: 2147483001; width: 8px; height: 8px; margin: -4px 0 0 -4px; transition: opacity .2s; will-change: transform; }
.fx-dot::before { content: ""; position: absolute; inset: 0; background: #0072bc; transform: skewX(-30deg); transition: background .25s, transform .3s; }
.fx-dot[data-tone="light"]::before { background: #fff; }
.fx-dot.is-hover::before { transform: skewX(-30deg) scale(0); }

.fx-cursor.is-hidden, .fx-dot.is-hidden, .fx-cursor.is-text, .fx-dot.is-text { opacity: 0; }

.fx-ripple { z-index: 2147482999; width: 52px; height: 52px; margin: -26px 0 0 -26px; color: #0072bc; animation: fx-ripple .75s cubic-bezier(.2, .8, .1, 1) forwards; }
.fx-ripple[data-tone="light"] { color: #fff; }
.fx-ripple svg { width: 100%; height: 100%; overflow: visible; }
.fx-ripple path { fill: none; stroke: currentColor; stroke-width: 1.4px; vector-effect: non-scaling-stroke; }
@keyframes fx-ripple {
  from { transform: scale(.6); opacity: .9; }
  to { transform: scale(2.8) rotate(30deg); opacity: 0; }
}

/* Magnetic lock: the cursor frames the card's cube mark */
.fx-cursor.is-stuck { color: #fff; filter: drop-shadow(0 0 6px rgb(0 114 188 / .95)) drop-shadow(0 0 18px rgb(0 114 188 / .5)); }
.fx-cursor.is-stuck .fx-cursor__y { opacity: 0; }
.fx-cursor.is-stuck .fx-cursor__hex { fill: rgb(0 114 188 / .1); }
.fx-cursor.is-stuck svg { transition: transform .35s cubic-bezier(.2, .8, .1, 1); }
.fx-dot.is-stuck::before { transform: skewX(-30deg) scale(0); }
.fx-mega__card.is-magnet { background: rgb(199 201 204 / .13); }
.fx-mega__card.is-magnet::before { transform: scaleX(1); }
.fx-mega__card--all.is-magnet { background: #0072bc; }
.fx-mega__card--all.is-magnet .fx-mega__go { width: 72px; }

/* Scroll signal: a thin action-blue line along the top edge */
.fx-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 2147482990; background: #0072bc; transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }

/* Hero marks drift slightly with the pointer */
.st-hero__mark-home img, .st-page-hero__mark img { will-change: transform; }

/* ---------- Header navigation ---------- */
.fx-util { display: none; }
.st-header__panel-foot .st-lang { margin-top: 8px; font-size: 17px; }

@media (min-width: 1280px) {
  :root { --header-h: 122px; }
  html.fx-navx { scroll-padding-top: 100px; }

  html.fx-navx body > header.st-header { position: fixed; z-index: 50; height: auto; transition: box-shadow .4s; }
  html.fx-navx .st-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgb(13 35 64 / 0); pointer-events: none; transition: background .45s cubic-bezier(.2, .8, .1, 1); }
  html.fx-navx .st-header.is-scrolled::before { background: rgb(13 35 64 / .9); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); }
  html.fx-navx .st-header.is-open::before { background: #0d2340; }
  html.fx-navx .st-header.is-scrolled { box-shadow: 0 1px 0 rgb(199 201 204 / .14); }

  /* Utility row */
  .fx-util { display: flex; justify-content: space-between; align-items: center; height: 38px; padding-inline: var(--gutter); font-size: 13px; font-weight: 500; letter-spacing: .02em; color: var(--silver); border-bottom: 1px solid rgb(199 201 204 / .14); overflow: hidden; transition: height .45s cubic-bezier(.2, .8, .1, 1), opacity .3s, border-color .3s; }
  .fx-util a { transition: color .2s; }
  .fx-util a:hover { color: #fff; }
  .fx-util__right { display: flex; align-items: center; gap: 28px; }
  .fx-util .st-header__phone { font-size: 13px; font-weight: 600; color: #fff; }
  .fx-util .st-lang { font-size: 12px; letter-spacing: .08em; }
  .st-header.is-scrolled .fx-util { height: 0; opacity: 0; border-color: transparent; }

  /* Main row */
  html.fx-navx .st-header__bar { height: 84px; gap: clamp(20px, 2vw, 40px); transition: height .45s cubic-bezier(.2, .8, .1, 1); }
  html.fx-navx .st-header.is-scrolled .st-header__bar { height: 68px; }
  html.fx-navx .st-header__logo { width: 168px; transition: width .45s cubic-bezier(.2, .8, .1, 1); }
  html.fx-navx .st-header.is-scrolled .st-header__logo { width: 146px; }
  html.fx-navx .st-nav { position: relative; align-self: stretch; height: auto; gap: clamp(14px, 1.65vw, 34px); font-size: clamp(14px, 1.09vw, 17px); font-weight: 600; letter-spacing: .005em; }
  html.fx-navx .st-nav__group { display: flex; align-self: stretch; }
  html.fx-navx .st-nav__sub { display: none !important; }
  .fx-nav-link { position: relative; display: inline-flex; align-items: center; align-self: stretch; color: #fff; }
  .fx-nav-label { display: inline-block; transform-origin: 50% 80%; will-change: transform, opacity; white-space: nowrap; }
  .fx-nav-link:focus-visible { outline: none; }
  .fx-nav-link:focus-visible .fx-nav-label { outline: 2px solid var(--silver); outline-offset: 6px; }

  /* Isometric chevron on the directions trigger */
  .fx-nav-trigger .fx-nav-label::after { content: ""; display: inline-block; width: 7px; height: 7px; margin: 0 2px 3px 11px; vertical-align: middle; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg); opacity: .7; transition: transform .45s cubic-bezier(.2, .8, .1, 1), margin .45s, opacity .3s; }
  .fx-nav-trigger[aria-expanded="true"] .fx-nav-label::after { transform: rotate(225deg); margin-bottom: -3px; opacity: 1; }

  /* Signal line that slides under the word */
  .fx-nav-ind { position: absolute; left: 0; bottom: 18px; width: 0; height: 2px; background: #0072bc; pointer-events: none; opacity: 0; box-shadow: 0 0 14px 1px rgb(0 114 188 / .75); transition: transform .5s cubic-bezier(.2, .8, .1, 1), width .5s cubic-bezier(.2, .8, .1, 1), opacity .3s, bottom .45s; }
  .fx-nav-ind::before { content: ""; position: absolute; left: -5px; top: -4px; width: 10px; height: 10px; background: #0072bc; transform: skewX(-30deg); }
  .fx-nav-ind.is-on { opacity: 1; }
  .st-header.is-scrolled .fx-nav-ind { bottom: 12px; }

  /* Chamfered call to action */
  html.fx-navx .st-header__side { gap: 16px; }
  html.fx-navx .st-header__cta { min-height: 48px; padding: 0 24px; font-size: 15px; clip-path: polygon(12px 0, 100% 0, 100% 100%, 0 100%, 0 12px); transition: background .3s, min-height .45s; }
  html.fx-navx .st-header.is-scrolled .st-header__cta { min-height: 44px; }

  /* Mega panel */
  .fx-mega { position: absolute; top: 100%; left: 0; right: 0; background: #0d2340; border-top: 1px solid rgb(199 201 204 / .14); clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .5s cubic-bezier(.7, 0, .2, 1), visibility 0s .5s; }
  .fx-mega.is-open { clip-path: inset(0 0 -4px 0); visibility: visible; transition: clip-path .6s cubic-bezier(.2, .8, .1, 1); }
  .fx-mega::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: #0072bc; transform: scaleX(0); transform-origin: 0 50%; transition: transform .3s; }
  .fx-mega.is-open::after { transform: scaleX(1); transition: transform .9s cubic-bezier(.2, .8, .1, 1) .12s; }
  .fx-mega__in { position: relative; max-width: 1440px; margin: 0 auto; padding: 36px var(--gutter) 40px; display: grid; grid-template-columns: minmax(200px, 240px) minmax(0, 1fr); gap: clamp(28px, 3vw, 48px); }
  .fx-mega { max-height: calc(100vh - 110px); overflow-y: auto; overscroll-behavior: contain; }
  .fx-mega__intro { display: flex; flex-direction: column; gap: 14px; opacity: 0; transform: translateY(12px); transition: opacity .3s, transform .3s; }
  .fx-mega.is-open .fx-mega__intro { opacity: 1; transform: none; transition: opacity .5s .1s, transform .6s cubic-bezier(.2, .8, .1, 1) .1s; }
  .fx-mega__eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--silver); }
  .fx-mega__count { display: flex; align-items: baseline; gap: 12px; color: #fff; }
  .fx-mega__count b { font-size: 76px; font-weight: 800; line-height: .9; letter-spacing: -.03em; }
  .fx-mega__count span { font-size: 20px; font-weight: 700; }
  .fx-mega__lead { max-width: 22em; font-size: 15px; line-height: 1.55; color: var(--silver); }
  .fx-mega__preview { position: relative; width: 112px; height: 112px; margin-top: auto; }
  .fx-mega__preview img { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transform: translateY(10px) scale(.86); transition: opacity .35s, transform .55s cubic-bezier(.2, .8, .1, 1); }
  .fx-mega__preview img.is-on { opacity: 1; transform: none; }

  .fx-mega__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
  .fx-mega__card { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 20px 20px 22px; color: #fff; background: rgb(199 201 204 / .06); clip-path: polygon(16px 0, 100% 0, 100% 100%, 0 100%, 0 16px); opacity: 0; transform: translateY(22px); transition: opacity .25s, transform .3s, background .3s; }
  .fx-mega.is-open .fx-mega__card { opacity: 1; transform: none; transition: opacity .45s calc(var(--i) * 45ms + 140ms), transform .6s cubic-bezier(.2, .8, .1, 1) calc(var(--i) * 45ms + 140ms), background .3s 0s; }
  .fx-mega__card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: #0072bc; transform: scaleX(0); transform-origin: 0 50%; transition: transform .45s cubic-bezier(.2, .8, .1, 1); }
  .fx-mega__card:hover, .fx-mega__card:focus-visible { background: rgb(199 201 204 / .13); outline: none; }
  .fx-mega__card:hover::before, .fx-mega__card:focus-visible::before { transform: scaleX(1); }
  .fx-mega__mark { width: 44px; height: 44px; margin-bottom: 4px; transition: transform .55s cubic-bezier(.2, .8, .1, 1); }
  .fx-mega__card:hover .fx-mega__mark, .fx-mega__card:focus-visible .fx-mega__mark { transform: translateY(-5px) scale(1.12); }
  .fx-mega__card--key .fx-mega__name { font-size: 17px; }
  .fx-mega__name { font-size: 15.5px; font-weight: 700; line-height: 1.28; }
  .fx-mega__desc { font-size: 13px; line-height: 1.45; color: var(--silver); }
  .fx-mega__card--all { justify-content: space-between; background: transparent; box-shadow: inset 0 0 0 1px rgb(199 201 204 / .3); }
  .fx-mega__card--all .fx-mega__name { font-size: 17px; }
  .fx-mega__card--all:hover { background: #0072bc; }
  .fx-mega__go { position: relative; align-self: flex-end; width: 44px; height: 2px; background: currentColor; transition: width .45s cubic-bezier(.2, .8, .1, 1); }
  .fx-mega__go::after { content: ""; position: absolute; right: 0; top: -4px; width: 10px; height: 10px; background: currentColor; transform: skewX(-30deg); }
  .fx-mega__card--all:hover .fx-mega__go { width: 72px; }

  /* Dim the page under an open panel */
  .fx-scrim { position: fixed; inset: 0; z-index: 45; background: rgb(13 35 64 / .55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: opacity .4s, visibility 0s .4s; }
  .fx-scrim.is-on { opacity: 1; visibility: visible; transition: opacity .4s; }
}

/* Tighter main row on 1280-1440 screens so seven items fit */
@media (min-width: 1280px) and (max-width: 1440px) {
  html.fx-navx { --gutter: 32px; }
  html.fx-navx .st-header__logo { width: 150px; }
  html.fx-navx .st-nav { gap: 18px; font-size: 14.5px; }
  html.fx-navx .st-header__cta { padding: 0 18px; font-size: 14px; }
}

@media (min-width: 1280px) {
  html.fx-tight-1 .st-nav { font-size: 13.5px !important; gap: 14px !important; }
  html.fx-tight-2 .st-header__logo { width: 128px !important; }
  html.fx-tight-2 .st-header__cta { padding: 0 14px !important; }
}

@media (prefers-reduced-motion: reduce) {
  .fx-mega, .fx-mega__card, .fx-mega__intro, .fx-nav-ind, .fx-util { transition: none !important; }
  .fx-cursor svg, .fx-dot::before { transition: none; }
  .fx-ripple { display: none; }
}

/* ---------- Below desktop the mega menu, its scrim and the nav line stay out ---------- */
@media (max-width: 1279.98px) {
  .fx-mega, .fx-scrim, .fx-nav-ind { display: none !important; }
}

/* ---------- Phone: long words must not push the page sideways ---------- */
@media (max-width: 767px) {
  body > :not(.st-header) :is(p, li, dd, dt, figcaption, td, th, blockquote) {
    overflow-wrap: break-word;
    -webkit-hyphens: auto;
    hyphens: auto;
  }
  body > :not(.st-header) :is(h1, h2, h3, h4) { overflow-wrap: break-word; }
}
@media (max-width: 479px) {
  .st-grid--2:has(> .st-tile) { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 359px) {
  body > :not(.st-header) :is(h1, h2, h3, h4) { -webkit-hyphens: auto; hyphens: auto; }
}

/* ---------- Direction cards: every cut-out sits in the same box, so the links line up ---------- */
.st-dir--ill .st-dir__ill { flex: none; width: 132px; height: 132px; object-fit: contain; object-position: right bottom; }
@media (max-width: 767px) {
  .st-dir--ill .st-dir__ill { width: 104px; height: 104px; }
}

/* ---------- Contacts and the request form ---------- */
@media (min-width: 1024px) {
  .st-split:has(.st-contacts) { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(48px, 5vw, 96px); }
  .st-split:has(.st-contacts) > div:first-child { padding-top: clamp(28px, 3.5vw, 56px); }
}
.st-contacts { gap: 32px 40px; }
.st-split .st-h2 + .st-contacts { margin-top: clamp(28px, 2.6vw, 40px); }
.st-contacts dt { margin-bottom: 8px; font-size: 13px; letter-spacing: .02em; }
.st-contacts dd { margin-top: 0; font-size: 16px; font-weight: 500; line-height: 1.55; color: var(--navy); }
.st-contacts > div:nth-child(-n+2) dd { font-size: 22px; font-weight: 700; line-height: 1.3; white-space: nowrap; }
.st-req { margin-top: 36px; padding-top: 24px; font-size: 14px; line-height: 1.65; }

#request-wrap > .st-h2 + .st-lead { margin: 16px 0 36px; max-width: 48ch; font-size: 17px; line-height: 1.55; }
#request-wrap .st-form { gap: 30px; }
#request-wrap .st-group legend { margin-bottom: 10px; }
#request-wrap .st-group__chips { gap: 8px; }
#request-wrap .st-group__chips span { min-height: 38px; padding: 0 14px; font-size: 14px; }
#request-wrap .st-submit { padding-top: 4px; }
#request-wrap .st-legal { font-size: 13px; }
.st-sec--mist #request-wrap { padding: clamp(24px, 3.5vw, 56px); background: #fff; clip-path: polygon(28px 0, 100% 0, 100% 100%, 0 100%, 0 28px); }
.st-sec--mist #request-wrap .st-h2 { font-size: clamp(30px, 3vw, 44px); }
@media (max-width: 767px) {
  .st-contacts > div:nth-child(-n+2) dd { font-size: 20px; }
  .st-sec--mist #request-wrap { clip-path: polygon(18px 0, 100% 0, 100% 100%, 0 100%, 0 18px); }
}

/* ---------- Typography: balanced headings, calmer paragraphs, readable measure ---------- */
h1, h2, h3, h4, .st-h2, .st-dir__name { text-wrap: balance; }
p, li, dd, blockquote, figcaption { text-wrap: pretty; }
.fx-keep { display: inline-block; max-width: 100%; }
/* A glued pair never widens its column: grid and flex children may shrink below their content */
.st-hero__main, .st-hero__copy, .st-page-hero > * , .st-page-hero__in > *, .st-hero__copy > * { min-width: 0; max-width: 100%; }
@media (max-width: 767px) {
  .st-hero h1, .st-page-hero h1 { overflow-wrap: break-word; font-size: clamp(30px, 9.6vw, 44px); text-wrap: wrap; }
}
.st-lead { max-width: 62ch; }
.st-split > div > .st-h2 + .st-lead { margin-top: 20px; }
.st-split > div:not(#request-wrap) > .st-lead + * { margin-top: 32px; }
.st-tech__body p, [data-section-type="compliance"] .st-sec__in > p, [data-section-type="compliance"] p { max-width: 68ch; }
/* «Что решаем»: text starts right under the heading and reads as a lead, the cut-out sits beside it */
.st-what { align-items: start; }
.st-what .st-prose p { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.6; max-width: 58ch; }
@media (min-width: 901px) { .st-what__ill { max-width: 300px; margin-top: -24px; } }

/* ---------- Mobile menu: tiles with marks, numbered sections, a fixed action bar ---------- */
.st-header__panel.fx-mnav-on { display: block; padding: 0; overflow: hidden; background: #0d2340; }
.st-header__panel.fx-mnav-on > .st-header__close,
.st-header__panel.fx-mnav-on > .st-header__panel-links,
.st-header__panel.fx-mnav-on > .st-header__panel-foot { display: none; }
@media (min-width: 1280px) { .st-header__panel.fx-mnav-on { display: none; } }

.fx-mnav { position: relative; display: flex; flex-direction: column; height: 100%; height: 100dvh; color: #fff; isolation: isolate; }
.fx-mnav::before { content: ""; position: absolute; z-index: -1; right: -18%; bottom: 14%; width: 78vw; max-width: 420px; aspect-ratio: 1; background: url("ensys-mark-ensys-reverse.svg") center / contain no-repeat; opacity: .05; transform: rotate(-8deg); pointer-events: none; }
.fx-mnav::after { content: ""; position: absolute; z-index: -1; inset: 0; background-image: linear-gradient(30deg, rgb(199 201 204 / .05) 1px, transparent 1px), linear-gradient(150deg, rgb(199 201 204 / .05) 1px, transparent 1px); background-size: 48px 28px; pointer-events: none; }

.fx-mnav__top { display: flex; align-items: center; justify-content: space-between; flex: none; height: 72px; padding: 0 var(--gutter, 16px); border-bottom: 1px solid rgb(199 201 204 / .12); }
.fx-mnav__logo img { display: block; width: 132px; height: auto; }
.fx-mnav__close { position: relative; width: 48px; height: 48px; border: 1px solid rgb(199 201 204 / .35); background: rgb(255 255 255 / .04); color: #fff; cursor: pointer; clip-path: polygon(12px 0, 100% 0, 100% 100%, 0 100%, 0 12px); transition: background .25s, border-color .25s; }
.fx-mnav__close span { position: absolute; left: 50%; top: 50%; width: 20px; height: 2px; background: currentColor; transform: translate(-50%, -50%) rotate(45deg); }
.fx-mnav__close span + span { transform: translate(-50%, -50%) rotate(-45deg); }
.fx-mnav__close:active { background: #0072bc; border-color: #0072bc; }

.fx-mnav__body { flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 22px var(--gutter, 16px) 28px; }
.fx-mnav__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.fx-mnav__label { display: block; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #c7c9cc; }
.fx-mnav__label i { font-style: normal; color: #0072bc; margin-left: 6px; }
.fx-mnav__label--list { margin: 30px 0 6px; }
.fx-mnav__all { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: #fff; }
.fx-mnav__all svg, .fx-mrow svg, .fx-mnav__cta svg { width: 16px; height: 16px; flex: none; }

.fx-mnav__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.fx-mtile { position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 12px; align-items: center; min-height: 68px; padding: 12px 12px 12px 14px; background: rgb(255 255 255 / .045); border: 1px solid rgb(199 201 204 / .14); clip-path: polygon(14px 0, 100% 0, 100% 100%, 0 100%, 0 14px); transition: background .25s, border-color .25s; }
.fx-mtile img { grid-row: 1 / span 2; width: 34px; height: 34px; }
.fx-mtile b { font-size: 15px; font-weight: 700; line-height: 1.2; align-self: end; }
.fx-mtile small { font-size: 12px; line-height: 1.3; color: #c7c9cc; align-self: start; }
.fx-mtile:last-child:nth-child(odd) { grid-column: 1 / -1; }
.fx-mtile:active, .fx-mtile.is-current { background: rgb(0 114 188 / .22); border-color: #0072bc; }
.fx-mtile.is-current::after { content: ""; position: absolute; right: 10px; top: 10px; width: 6px; height: 6px; background: #0072bc; transform: rotate(45deg); }

.fx-mnav__list { display: grid; }
.fx-mrow { display: grid; grid-template-columns: 26px minmax(0, 1fr) 16px; align-items: center; gap: 12px; min-height: 54px; border-bottom: 1px solid rgb(199 201 204 / .12); color: #fff; }
.fx-mrow__n { font-size: 12px; font-weight: 600; letter-spacing: .06em; color: #0072bc; }
.fx-mrow__t { font-size: 20px; font-weight: 700; line-height: 1.2; }
.fx-mrow svg { color: #c7c9cc; transition: transform .25s, color .25s; }
.fx-mrow:active svg, .fx-mrow.is-current svg { color: #0072bc; transform: translate(2px, -2px); }
.fx-mrow.is-current .fx-mrow__t { color: #c7c9cc; }

.fx-mnav__foot { flex: none; padding: 14px var(--gutter, 16px) calc(66px + env(safe-area-inset-bottom, 0px)); background: rgb(10 28 52 / .96); border-top: 1px solid rgb(199 201 204 / .14); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.fx-mnav__cta { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 54px; font-size: 16px; clip-path: polygon(14px 0, 100% 0, 100% 100%, 0 100%, 0 14px); }
.fx-mnav__meta { display: flex; align-items: center; gap: 12px; margin-top: 12px; min-height: 42px; }
.fx-mnav__contacts { display: grid; gap: 2px; min-width: 0; white-space: nowrap; }
.fx-mnav__tel { font-size: 16px; font-weight: 700; color: #fff; }
.fx-mnav__mail { font-size: 14px; color: #c7c9cc; }
.fx-mnav__tools { display: flex; align-items: center; gap: 10px; }
body.vx-menu-open .st-float { opacity: 0; visibility: hidden; pointer-events: none; }
.fx-mnav__lang { display: inline-flex; flex: none; border: 1px solid rgb(199 201 204 / .35); font-size: 13px; font-weight: 700; letter-spacing: .06em; }
.fx-mnav__lang > * { display: grid; place-items: center; min-width: 40px; height: 46px; padding: 0 10px; color: #c7c9cc; }
.fx-mnav__lang [aria-current] { background: #fff; color: #0d2340; }

/* Arrival: tiles and rows rise in sequence when the menu opens */
@keyframes fxMnavIn { from { opacity: 0; transform: translate3d(0, 14px, 0); } to { opacity: 1; transform: none; } }
.st-header[data-vx-active] .fx-mtile,
.st-header[data-vx-active] .fx-mrow { animation: fxMnavIn .5s cubic-bezier(.2, .8, .1, 1) both; animation-delay: calc(80ms + var(--i, 0) * 35ms); }
.st-header[data-vx-active] .fx-mnav__foot { animation: fxMnavIn .5s cubic-bezier(.2, .8, .1, 1) .12s both; }
@media (prefers-reduced-motion: reduce) {
  .st-header[data-vx-active] .fx-mtile, .st-header[data-vx-active] .fx-mrow, .st-header[data-vx-active] .fx-mnav__foot { animation: none; }
}
.fx-mtile b, .fx-mtile small { min-width: 0; overflow-wrap: break-word; }
@media (max-width: 419px) {
  .fx-mtile { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto; row-gap: 2px; align-items: start; padding: 12px; }
  .fx-mtile img { grid-row: auto; width: 28px; height: 28px; margin-bottom: 6px; }
  .fx-mtile:last-child:nth-child(odd) { grid-template-columns: 28px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 12px; align-items: center; }
  .fx-mtile:last-child:nth-child(odd) img { grid-row: 1 / span 2; margin: 0; }
  .fx-mtile b { font-size: 14px; }
  .fx-mrow__t { font-size: 18px; }
}
