/* ---- Self-hosted шрифты (Manrope 400-800, IBM Plex Mono 400-700) ---- */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-mono-400-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-mono-400-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-mono-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-mono-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-mono-500-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-mono-500-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-mono-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-mono-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-mono-600-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-mono-600-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-mono-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-mono-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-mono-700-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-mono-700-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-mono-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-mono-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/manrope-400-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/manrope-400-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/manrope-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/manrope-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/manrope-500-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/manrope-500-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/manrope-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/manrope-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/manrope-600-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/manrope-600-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/manrope-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/manrope-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/manrope-700-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/manrope-700-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/manrope-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/manrope-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/assets/fonts/manrope-800-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/assets/fonts/manrope-800-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/assets/fonts/manrope-800-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/assets/fonts/manrope-800-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root{
  --brand:#0A4881;
  --brand-dark:#06325C;
  --ink:#26313A;
  --muted:#5B6B7E;
  --muted-2:#5B6266;
  --steel:#868D8D;
  --steel-d:#B9C3C8;
  --line:#BFC4C3;
  --line-light:#E6EEF6;
  --paper:#ECEEEF;
  --paper-blue:#F6FAFE;
  --white:#FFFFFF;
  --text-on-dark:#C9D8E6;
  --text-on-dark-2:#C3D2E3;
  --link-on-dark:#A9BECE;
  --news-card-bg:#0F5596;
  --header-bg:rgba(10,72,129,.92);
  --signal-dim:rgba(10,72,129,.18);
  --accent:#2E7BC4;
  --accent-dim:rgba(46,123,196,.2);
  --accent-soft:rgba(255,255,255,.08);
  --line-blue:#2C5F92;
  --card-line:#E4E9EF;
  --ink-body:#3C4A57;
  --card-shadow-deep:0 26px 54px -32px rgba(10,72,129,.3);
  --paper-page:#F3F7FB;
  --amber:#F5A623;

  --font-main:"Manrope",system-ui,sans-serif;
  --font-mono:"IBM Plex Mono",ui-monospace,monospace;

  --fs-h1:clamp(34px,4.6vw,58px);
  --fs-h2:clamp(28px,3.4vw,52px);
  --fs-h2-s:clamp(26px,3vw,44px);
  --fs-h3:23px;
  --fs-lead:18px;
  --fs-body:15.5px;
  --fs-small:13px;

  --container:1200px;
  --gutter:28px;
  --section-pad:96px;
  --header-h:74px;
  --radius:14px;
  --radius-l:18px;
  --radius-xl:24px;

  --shadow-card:0 18px 44px rgba(36,76,116,.1);
  --shadow-card-hover:0 26px 54px rgba(10,72,129,.2);
  --shadow-product:0 12px 30px -22px rgba(10,72,129,.3);

  --ease:cubic-bezier(.22,.61,.36,1);
  --ease-pop:cubic-bezier(.16,.84,.34,1);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:var(--font-main);color:var(--ink);background:var(--white);-webkit-font-smoothing:antialiased;line-height:1.55;overflow-x:clip}
a{color:inherit;text-decoration:none}
h1,h2,h3{line-height:1.1;letter-spacing:-.02em;margin:0}
p{margin:0}
img{display:block;max-width:100%}
button{font-family:inherit}

.container{max-width:var(--container);margin:0 auto;padding:0 var(--gutter)}
.mono{font-family:var(--font-mono)}

.eyebrow{font-family:var(--font-mono);font-size:12px;letter-spacing:.18em;text-transform:uppercase;color:var(--brand);margin:0 0 16px;font-weight:500;display:inline-flex;align-items:center;gap:10px}
.eyebrow::before{content:"";width:24px;height:1px;background:currentColor}
.eyebrow-plain{font-size:12.5px;font-weight:800;letter-spacing:.2em;text-transform:uppercase;color:var(--brand)}
.eyebrow-plain::before{content:none}
.eyebrow-plain.is-light{color:var(--line)}
.eyebrow.is-muted{color:var(--steel)}

.section{padding:var(--section-pad) 0;position:relative;overflow:hidden}
.section .container{position:relative;z-index:2}
.section-blue{background:radial-gradient(120% 88% at 84% -14%,rgba(255,255,255,.45),rgba(255,255,255,0) 56%),var(--brand);color:#EAF1F7}
.section-blue h2{color:var(--white)}
.section-blue .eyebrow{color:var(--line)}
.section h2{font-size:var(--fs-h2-s);font-weight:800}
.section-title-xl{font-size:var(--fs-h2);font-weight:800;letter-spacing:-.04em;color:var(--ink);margin-top:14px}
.lead{font-size:var(--fs-lead);color:var(--steel);max-width:640px;margin-top:14px;line-height:1.5}
.section-blue .lead{color:var(--steel-d)}

.btn{display:inline-flex;align-items:center;gap:9px;padding:14px 24px;border-radius:11px;font-size:14px;font-weight:700;border:none;cursor:pointer;background:var(--brand);color:var(--white);transition:.18s ease}
.btn:hover{filter:brightness(1.14);transform:translateY(-2px);box-shadow:0 12px 24px -12px rgba(10,72,129,.6)}
.btn:active{filter:brightness(.9);transform:translateY(1px);box-shadow:none}
.btn-ghost-light{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.55);color:var(--white);border-radius:var(--radius);font-size:15px}
.btn-ghost-light:hover{background:var(--white);color:var(--brand);filter:none;box-shadow:none}

.primary-link{font-family:var(--font-mono);font-size:13px;letter-spacing:.08em;text-transform:uppercase;color:var(--line);display:inline-block}
.primary-link::after{content:" →";transition:.2s}
.primary-link:hover::after{margin-left:6px}

.ambient{position:absolute;inset:0;z-index:1;pointer-events:none;overflow:hidden}
.ambient svg{width:100%;height:100%}
.amb-trace{fill:none;stroke:#CDD4D6;stroke-width:1.3;opacity:.26}
.amb-pad{fill:#DCE1E2;opacity:.4}
.amb-pulse{fill:none;stroke:#EAF1F5;stroke-width:2.4;stroke-linecap:round;stroke-dasharray:30 1600;filter:drop-shadow(0 0 7px rgba(220,232,240,.85));opacity:.95;animation:dashFlow var(--pdur,9s) linear var(--pdel,0s) infinite}
.ap-d7{animation-duration:7s}
.ap-d8{animation-duration:8s}
.ap-d10{animation-duration:10s}
.ap-d11{animation-duration:11s}
.ap-d12{animation-duration:12s}
.ap-dl1{animation-delay:1s}
.ap-dl15{animation-delay:1.5s}
.ap-dl2{animation-delay:2s}
.ap-dl45{animation-delay:4.5s}
.ap-dl5{animation-delay:5s}

[data-reveal]{opacity:0;transform:translateY(22px);transition:.7s var(--ease)}
[data-reveal].in{opacity:1;transform:none}

.site-header{position:sticky;top:0;z-index:50;background:var(--header-bg);backdrop-filter:blur(10px);border-bottom:1px solid var(--line);color:#E8F0F6}
/* шапка шире контента body (1200): логотип + 8 пунктов меню + поиск + контакты
   (~1460px) не помещаются в 1200 → своя ширина 1540 (баланс, без прижатия) */
.header-inner{display:flex;align-items:center;gap:20px;height:var(--header-h);max-width:1360px}
.logo{display:flex;align-items:center;flex-shrink:0}
.logo img{height:30px;width:auto}
.site-nav{display:flex;align-items:center;gap:4px;margin:0}   /* меню сразу после логотипа (влево); контакты уходят вправо margin-left:auto */
.nav-item{position:relative;padding:10px 9px;font-size:14px;font-weight:500;color:#CBD9E4;border-radius:8px;transition:color .2s,background .2s;white-space:nowrap;cursor:pointer}
.nav-item:hover{color:var(--white);background:rgba(255,255,255,.1)}
.nav-head{display:block;color:inherit;text-decoration:none;font:inherit}   /* заголовок раздела мегаменю — ссылка в листинг категории (1.2) */
/* поиск в шапке (1.1): компактно на десктопе, разворачивается по фокусу */
.nav-search{display:flex;align-items:center;margin-left:10px;flex-shrink:0}
.nav-search input{width:104px;height:34px;padding:0 10px;font-size:13px;color:#E8F0F6;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.22);border-right:none;border-radius:8px 0 0 8px;outline:none;transition:width .22s var(--ease),background .2s}
.nav-search input::placeholder{color:#9FB3C4}
.nav-search input:focus{width:160px;background:rgba(255,255,255,.14)}
.nav-search button{height:34px;width:36px;flex-shrink:0;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.22);border-radius:0 8px 8px 0;color:#CBD9E4;cursor:pointer;transition:.18s}
.nav-search button:hover{background:var(--brand);color:var(--white)}
.nav-search svg{width:16px;height:16px}
/* Поиск-лупа (сост. 2 «средний» и 3 «планшет-бургер»): по умолчанию скрыта, включается медиазапросами.
   Клик по кнопке → .is-open раскрывает поповер ПОВЕРХ шапки (не раздвигает её). */
.hdr-search{position:relative;display:none;flex-shrink:0;margin-left:14px}
.hdr-search-btn{width:38px;height:38px;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.22);border-radius:9px;color:#CBD9E4;cursor:pointer;transition:.18s}
.hdr-search-btn:hover,.hdr-search.is-open .hdr-search-btn{background:var(--brand);color:var(--white)}
.hdr-search-btn svg{width:17px;height:17px}
.hdr-search-pop{position:absolute;top:calc(100% + 8px);right:0;display:flex;align-items:center;background:var(--brand-dark);border:1px solid var(--line);border-radius:10px;padding:6px;box-shadow:0 20px 44px -18px rgba(0,0,0,.7);opacity:0;visibility:hidden;transform:translateY(-6px);transition:.2s var(--ease);z-index:60}
.hdr-search.is-open .hdr-search-pop{opacity:1;visibility:visible;transform:translateY(0)}
.hdr-search-pop input{width:210px;max-width:60vw;height:36px;padding:0 12px;font-size:14px;color:#E8F0F6;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.22);border-right:none;border-radius:8px 0 0 8px;outline:none}
.hdr-search-pop input::placeholder{color:#9FB3C4}
.hdr-search-pop button{height:36px;width:38px;flex-shrink:0;display:flex;align-items:center;justify-content:center;background:var(--brand);border:1px solid var(--brand);border-radius:0 8px 8px 0;color:var(--white);cursor:pointer}
.hdr-search-pop svg{width:16px;height:16px}
.mega{position:absolute;top:calc(100% + 6px);left:0;min-width:240px;background:var(--brand-dark);border:1px solid var(--line);border-radius:12px;padding:8px;display:flex;flex-direction:column;opacity:0;visibility:hidden;transform:translateY(8px);transition:.22s var(--ease);box-shadow:0 24px 50px -20px rgba(0,0,0,.7);max-height:calc(100vh - var(--header-h) - 26px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.28) transparent}   /* длинные разделы (переключатели ~20 пунктов) не вылезают за экран: высота ограничена вьюпортом + внутренняя прокрутка */
.nav-item:hover .mega{opacity:1;visibility:visible;transform:translateY(0)}
.nav-item:last-child .mega{left:auto;right:0}   /* крайний правый дропдаун («Тех поддержка») — влево, не за край экрана */
.mega::-webkit-scrollbar{width:8px}
.mega::-webkit-scrollbar-track{background:transparent;margin:6px 0}
.mega::-webkit-scrollbar-thumb{background:rgba(255,255,255,.28);border-radius:8px;border:2px solid transparent;background-clip:padding-box}
.mega::-webkit-scrollbar-thumb:hover{background:rgba(255,255,255,.45);border:2px solid transparent;background-clip:padding-box}
.mega a{padding:9px 12px;border-radius:8px;font-size:13px;color:#BFD0DD;font-family:var(--font-mono);transition:.15s}
.mega a:hover{background:rgba(255,255,255,.12);color:var(--white)}
.header-contacts{display:flex;flex-direction:column;line-height:1.3;text-align:right;margin-left:auto;flex-shrink:0}
.header-contacts strong{font-size:14px;color:var(--white);white-space:nowrap}
.header-contacts span{font-family:var(--font-mono);font-size:11px;color:var(--steel-d)}
.header-contacts a{display:block;color:inherit;text-decoration:none;cursor:pointer;transition:color .15s}
.header-contacts a:hover strong{color:var(--accent,#8fd0ff)}
.header-contacts a:hover span{color:var(--white);text-decoration:underline}
.cta-phone a{color:inherit;text-decoration:none;transition:color .15s}
.cta-phone a:hover{color:var(--white);text-decoration:underline}
.nav-toggle{display:none;flex:none;margin-left:auto;width:44px;height:44px;border:1px solid rgba(255,255,255,.3);border-radius:10px;background:transparent;cursor:pointer;flex-direction:column;align-items:center;justify-content:center;gap:5px}
.nav-toggle span{display:block;width:20px;height:2px;background:var(--white);border-radius:2px;transition:.25s var(--ease)}
.nav-toggle.open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.nav-toggle.open span:nth-child(2){opacity:0}
.nav-toggle.open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

.site-footer{position:relative;background:var(--brand);color:var(--link-on-dark);padding:72px 0 40px;border-top:1px solid var(--line);overflow:visible}
.footer-grid{display:grid;grid-template-columns:1.6fr repeat(4,1fr);gap:32px}
.site-footer h3{font-size:13px;letter-spacing:.12em;text-transform:uppercase;color:var(--white);margin-bottom:18px;font-family:var(--font-mono);font-weight:500}
.site-footer h3 a{color:inherit;font:inherit;letter-spacing:inherit;text-transform:inherit;transition:.18s}
.site-footer h3 a:hover{color:var(--link-on-dark)}
.site-footer p{font-size:14px;line-height:1.7;color:var(--steel-d)}
.site-footer a{font-size:14px;line-height:2.1;color:var(--link-on-dark);transition:.18s}
.site-footer a:hover{color:var(--white)}
.footer-logo{height:30px;width:auto;display:block;margin-bottom:14px}
/* a11y utility */
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
/* поиск в футере (тёмный фон) — на существующих токенах */
.footer-search{display:flex;gap:8px;margin-top:16px;max-width:340px}
.footer-search input{flex:1;min-width:0;font-family:inherit;font-size:14px;color:var(--white);background:var(--accent-soft);border:1px solid var(--line-blue);border-radius:11px;padding:11px 14px;outline:none;transition:.18s var(--ease)}
.footer-search input::placeholder{color:var(--link-on-dark)}
.footer-search input:focus{border-color:var(--accent);box-shadow:0 0 0 4px var(--accent-dim)}
.footer-search button{flex:none;font-family:inherit;font-size:14px;font-weight:700;color:var(--white);background:var(--accent);border:none;border-radius:11px;padding:11px 18px;cursor:pointer;transition:.18s ease}
.footer-search button:hover{background:var(--brand-dark)}
/* страница результатов поиска (светлый фон .article-body) */
.site-search{display:flex;gap:10px;max-width:520px;margin:0 0 28px}
.site-search input{flex:1;min-width:0;font-family:inherit;font-size:15px;color:var(--ink);background:#F6F8FA;border:1px solid var(--card-line);border-radius:12px;padding:14px 16px;outline:none;transition:.2s var(--ease)}
.site-search input::placeholder{color:rgba(134,141,141,.7)}
.site-search input:focus{border-color:var(--accent);box-shadow:0 0 0 4px var(--accent-dim);background:var(--white)}
.site-search button{flex:none;font-family:inherit;font-size:14px;font-weight:700;color:var(--white);background:var(--brand);border:none;border-radius:11px;padding:14px 22px;cursor:pointer;transition:.18s ease}
.site-search button:hover{background:var(--brand-dark)}
.search-state{color:var(--muted);font-size:var(--fs-lead)}
.search-count{color:var(--steel);font-family:var(--font-mono);font-size:13px;letter-spacing:.04em;margin-bottom:14px}
.search-results{display:flex;flex-direction:column}
/* заголовок блока выдачи (Продукция / Новости / Страницы / Снято с производства).
   Специфичность выше .article-body h2 (0,0,1,1), иначе тот навяжет 26px/ink. */
.search-results .search-group{font-family:var(--font-mono);font-size:13px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--brand);margin:26px 0 12px;padding-bottom:10px;border-bottom:1px solid var(--card-line)}
.search-results .search-group:first-child{margin-top:0}
.search-item{display:block;padding:16px 18px;border:1px solid var(--card-line);border-radius:12px;margin-bottom:10px;background:var(--white);transition:.18s var(--ease)}
.search-item:hover{border-color:var(--accent);box-shadow:var(--shadow-card)}
/* метка типа — существующий .eyebrow (mono/uppercase/мелкий), без секционного штриха и отступа */
.search-item-type{display:block;margin:0 0 5px;font-size:11px;letter-spacing:.14em}
.search-item-type::before{content:none}
.search-item-title{display:block;font-weight:700;color:var(--ink);font-size:16px;margin-bottom:4px}
.search-item-desc{display:block;color:var(--muted);font-size:14px;line-height:1.5}
.search-pager{display:flex;gap:8px;flex-wrap:wrap;margin-top:26px}
.search-pager a,.search-pager .page-cur{font-family:var(--font-mono);font-size:14px;padding:8px 13px;border-radius:9px;border:1px solid var(--card-line);color:var(--muted)}
.search-pager a:hover{border-color:var(--accent);color:var(--brand)}
.search-pager .page-cur{background:var(--brand);color:var(--white);border-color:var(--brand)}
.foot-glow{position:absolute;left:0;right:0;top:0;height:2px;background:linear-gradient(90deg,transparent,rgba(191,196,195,.5) 20%,var(--line) 50%,rgba(191,196,195,.5) 80%,transparent);box-shadow:0 0 10px rgba(191,196,195,.6);animation:footFlicker 3.2s steps(1,end) infinite;z-index:4}
.foot-sweep{position:absolute;left:0;top:0;width:22%;height:2px;background:linear-gradient(90deg,transparent,#BFE0FF,transparent);animation:footSweep 4.5s linear infinite;z-index:4}
.foot-svg{position:absolute;left:0;top:0;width:100%;height:42px;transform:translateY(calc(-100% + 3px));pointer-events:none;z-index:3}
.foot-svg .flow{animation:flowDash 4s linear infinite}
.foot-svg .node{animation:nodePulse 2.4s ease-in-out infinite}
.foot-svg .node:nth-of-type(2){animation-delay:.6s}
.foot-svg .node:nth-of-type(3){animation-delay:1.2s}
.foot-svg .node:nth-of-type(4){animation-delay:1.8s}

.support-bubble{position:fixed;right:28px;bottom:28px;width:60px;height:60px;border-radius:50%;background:var(--brand);z-index:60;cursor:pointer;box-shadow:0 12px 30px -8px rgba(10,72,129,.45);display:flex;align-items:center;justify-content:center;border:none}
.support-bubble::before{content:"";position:absolute;inset:0;border-radius:50%;border:2px solid var(--line);animation:ring 2.6s infinite}
.support-bubble svg{width:26px;height:26px;stroke:var(--white)}

/* cookie-баннер: fixed внизу справа НАД чат-пузырём (не перекрывает его),
   не в потоке (контент не сдвигается), скрыт до показа через JS */
.cookie-banner{position:fixed;right:28px;bottom:104px;z-index:90;width:360px;max-width:calc(100vw - 56px);background:linear-gradient(150deg,var(--brand),var(--brand-dark));color:#EAF1F7;border-radius:16px;padding:20px 22px;box-shadow:0 24px 60px -18px rgba(0,0,0,.55);font-size:14px;line-height:1.55}
.cookie-banner[hidden]{display:none}
.cookie-banner p{margin:0 0 14px}
.cookie-banner a{color:#fff;text-decoration:underline;text-underline-offset:2px}
.cookie-ok{display:inline-flex;align-items:center;justify-content:center;min-width:120px;padding:10px 24px;border:none;border-radius:10px;background:#fff;color:var(--brand);font-weight:700;font-size:13px;letter-spacing:.04em;text-transform:uppercase;cursor:pointer;transition:.2s}
.cookie-ok:hover{background:#EEF1F5}
@media (max-width:640px){.cookie-banner{right:12px;left:12px;bottom:84px;width:auto;max-width:none}}

@keyframes dashFlow{to{stroke-dashoffset:-1630}}
@keyframes pulseDot{0%{box-shadow:0 0 0 0 var(--signal-dim)}70%{box-shadow:0 0 0 8px transparent}100%{box-shadow:0 0 0 0 transparent}}
@keyframes marquee{to{transform:translateX(calc(-50% - 12px))}}
@keyframes ring{0%{transform:scale(1);opacity:.7}100%{transform:scale(1.8);opacity:0}}
@keyframes flowDash{to{stroke-dashoffset:-260}}
@keyframes nodePulse{0%,100%{r:3;opacity:.7}50%{r:5;opacity:1}}
@keyframes footFlicker{0%,100%{opacity:.35}8%{opacity:1}12%{opacity:.5}20%{opacity:.92}28%{opacity:.6}50%{opacity:1}54%{opacity:.45}70%{opacity:.85}}
@keyframes footSweep{0%{transform:translateX(-40%)}100%{transform:translateX(140%)}}
@keyframes signalOut{0%{transform:translate(-50%,-50%) scale(.32);opacity:0}18%{opacity:.7}100%{transform:translate(-50%,-50%) scale(1);opacity:0}}
@keyframes catFade{from{opacity:0}to{opacity:1}}

/* СОСТ. 2 «средний» (1181–1320): полное поле поиска теснит меню → схлопывается в ЛУПУ
   (клик → всплывающий поповер). Меню чуть ужато. КОНТАКТЫ ОСТАЮТСЯ ВИДНЫ (всегда). */
@media (max-width:1320px){
  .site-nav{gap:2px}
  .nav-item{padding:8px 7px;font-size:13px}
  .nav-search{display:none}   /* инлайн-поле убрано */
  .hdr-search{display:flex}   /* показываем лупу */
}
/* Бургер: даже ужатое меню перестаёт помещаться (~1150px лого+меню). */
@media (max-width:1180px){
  .site-nav{display:none;position:absolute;top:var(--header-h);left:0;right:0;flex-direction:column;align-items:stretch;gap:2px;background:var(--brand-dark);border-bottom:1px solid var(--line);padding:12px 20px 18px;margin:0;max-height:calc(100vh - var(--header-h));overflow-y:auto;overscroll-behavior:contain}   /* длинное бургер-меню (переключатели ~20 п.) скроллится внутри, не обрезается и не уходит за экран */
  .site-nav.open{display:flex}
  .nav-toggle{display:flex}
  .nav-item{padding:12px 10px;font-size:15px}
  .logo{order:1}
  .header-contacts{display:flex;order:2;margin-left:auto}   /* контакты всегда видны */
  .hdr-search{order:3;margin-left:12px}   /* СОСТ. 3 «планшет-бургер»: лупа между контактами и бургером */
  .nav-toggle{order:4;margin-left:12px}
  .mega{position:static;min-width:0;opacity:1;visibility:visible;transform:none;display:none;border:none;box-shadow:none;background:rgba(0,0,0,.18);margin-top:6px;max-height:none;overflow:visible}   /* в бургере прокрутки нет — весь список раскрывается вертикально */
  .nav-item.sub-open .mega{display:flex}
  /* тап по родителю раскрывает подменю (JS preventDefault) — индикатор-стрелка справа */
  .nav-item.has-sub>.nav-head{display:flex;align-items:center;justify-content:space-between}
  .nav-item.has-sub>.nav-head::after{content:"";width:8px;height:8px;flex:none;margin-left:12px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);transition:transform .2s var(--ease);opacity:.65}
  .nav-item.sub-open>.nav-head::after{transform:rotate(-135deg);opacity:.9}
  .nav-search{width:100%;margin:10px 0 0}   /* поиск — полноширинной строкой внизу бургер-меню (сост. 4) */
  .nav-search input,.nav-search input:focus{flex:1;width:auto}
}
@media (max-width:980px){
  :root{--section-pad:64px}
  .footer-grid{grid-template-columns:1fr 1fr}
}
@media (max-width:640px){
  :root{--gutter:20px}
  .header-inner{gap:10px;min-width:0}
  /* ЛОГОТИП сжимается ПЕРВЫМ: гибкая ширина (basis по контенту, shrink), небольшой
     min-width; картинка масштабируется по ширине с сохранением пропорций (height:auto) */
  .logo{flex:0 1 auto;min-width:44px;overflow:hidden}
  .logo img{height:auto;width:auto;max-height:24px;max-width:100%}
  .nav-toggle{margin-left:8px;width:40px;height:40px}
  .hdr-search{margin-left:8px}
  /* КОНТАКТЫ — приоритетный блок: телефон и email видны ЦЕЛИКОМ, НЕ сжимаются и НЕ
     обрезаются. При нехватке места ужимается логотип, а не контакты. */
  .header-contacts{flex-shrink:0;min-width:0;overflow:visible}
  .header-contacts strong{font-size:13px;white-space:nowrap}
  .header-contacts .hc-mail-text{white-space:nowrap;display:inline-block;max-width:none}
  .footer-grid{grid-template-columns:1fr}
  .support-bubble{right:18px;bottom:18px;width:52px;height:52px}
}
/* СОСТ. 4 «мобильный» (≤560): лупы в шапке НЕТ — поиск только в раскрытом бургере.
   Контакты (телефон+email) видны и кликабельны. */
@media (max-width:560px){
  .hdr-search{display:none}        /* лупа убрана */
  .site-nav .nav-search{display:flex}   /* поиск возвращается в бургер-меню (width/flex из ≤1180) */
}
/* Самые узкие (≤380): логотип компактнее + контакты чуть плотнее, чтобы
   логотип+телефон+email+бургер влезли без ухода за край (не прячем контакты). */
@media (max-width:380px){
  .logo{min-width:36px}
  .logo img{max-height:20px}
  .header-inner{gap:6px}
  /* при самых узких/крупном шрифте — email уменьшаем кегль (но показываем ЦЕЛИКОМ),
     логотип уже на min-width; контакты по-прежнему не режутся */
  .header-contacts strong{font-size:12.5px}
  .header-contacts span{font-size:10.5px}
  .header-contacts .hc-mail-text{font-size:10.5px}
}
@media (prefers-reduced-motion:reduce){
  *{animation:none!important;transition:none!important;scroll-behavior:auto!important}
  [data-reveal]{opacity:1;transform:none}
}

/* Снято с производства — пункт мега-меню: приглушённый серо-синий (тускнее обычных
   пунктов #BFD0DD → «недоступен», но читаемо на тёмно-синем). Без текста статуса. */
/* «Все [категория]» — последний пункт подменю, ведёт в общий листинг раздела.
   Отделён тонкой линией и чуть плотнее (десктоп + мобильный единообразно). */
.mega .nav-all{margin-top:4px;padding-top:9px;border-top:1px solid rgba(255,255,255,.14);font-weight:600}
.nav-off{color:#69798A !important}
.mega a.nav-off:hover{color:#BFD0DD !important;background:rgba(255,255,255,.08)}
