/* Local fonts === */
/* === Inlined fonts === */
/* cyrillic-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(assets/fonts/tDbV2o-flEEny0FZhsfKu5WU4xD2OwG_TA.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(assets/fonts/tDbV2o-flEEny0FZhsfKu5WU4xD_OwG_TA.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(assets/fonts/tDbV2o-flEEny0FZhsfKu5WU4xD4OwG_TA.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(assets/fonts/tDbV2o-flEEny0FZhsfKu5WU4xD0OwG_TA.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(assets/fonts/tDbV2o-flEEny0FZhsfKu5WU4xD1OwG_TA.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;
}
/* latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(assets/fonts/tDbV2o-flEEny0FZhsfKu5WU4xD7OwE.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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/tDbV2o-flEEny0FZhsfKu5WU4xD2OwG_TA.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/tDbV2o-flEEny0FZhsfKu5WU4xD_OwG_TA.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/tDbV2o-flEEny0FZhsfKu5WU4xD4OwG_TA.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/tDbV2o-flEEny0FZhsfKu5WU4xD0OwG_TA.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/tDbV2o-flEEny0FZhsfKu5WU4xD1OwG_TA.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;
}
/* latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/tDbV2o-flEEny0FZhsfKu5WU4xD7OwE.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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/tDbV2o-flEEny0FZhsfKu5WU4xD2OwG_TA.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/tDbV2o-flEEny0FZhsfKu5WU4xD_OwG_TA.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/tDbV2o-flEEny0FZhsfKu5WU4xD4OwG_TA.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/tDbV2o-flEEny0FZhsfKu5WU4xD0OwG_TA.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/tDbV2o-flEEny0FZhsfKu5WU4xD1OwG_TA.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;
}
/* latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/tDbV2o-flEEny0FZhsfKu5WU4xD7OwE.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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/tDbV2o-flEEny0FZhsfKu5WU4xD2OwG_TA.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/tDbV2o-flEEny0FZhsfKu5WU4xD_OwG_TA.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/tDbV2o-flEEny0FZhsfKu5WU4xD4OwG_TA.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/tDbV2o-flEEny0FZhsfKu5WU4xD0OwG_TA.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/tDbV2o-flEEny0FZhsfKu5WU4xD1OwG_TA.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;
}
/* latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/tDbV2o-flEEny0FZhsfKu5WU4xD7OwE.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;
}
/* latin */
@font-face {
  font-family: 'Orbitron';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/yMJRMIlzdpvBhQQL_Qq7dy0.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;
}
/* latin */
@font-face {
  font-family: 'Orbitron';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/yMJRMIlzdpvBhQQL_Qq7dy0.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;
}
/* latin */
@font-face {
  font-family: 'Orbitron';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(assets/fonts/yMJRMIlzdpvBhQQL_Qq7dy0.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;
}
/* vietnamese */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/V8mDoQDjQSkFtoMM3T6r8E7mPb54C-s0.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/V8mDoQDjQSkFtoMM3T6r8E7mPb94C-s0.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;
}
/* latin */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/V8mDoQDjQSkFtoMM3T6r8E7mPbF4Cw.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;
}
/* vietnamese */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/V8mDoQDjQSkFtoMM3T6r8E7mPb54C-s0.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/V8mDoQDjQSkFtoMM3T6r8E7mPb94C-s0.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;
}
/* latin */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/V8mDoQDjQSkFtoMM3T6r8E7mPbF4Cw.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;
}
/* vietnamese */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/V8mDoQDjQSkFtoMM3T6r8E7mPb54C-s0.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/V8mDoQDjQSkFtoMM3T6r8E7mPb94C-s0.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;
}
/* latin */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/V8mDoQDjQSkFtoMM3T6r8E7mPbF4Cw.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;
}
/* vietnamese */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/V8mDoQDjQSkFtoMM3T6r8E7mPb54C-s0.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/V8mDoQDjQSkFtoMM3T6r8E7mPb94C-s0.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;
}
/* latin */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/V8mDoQDjQSkFtoMM3T6r8E7mPbF4Cw.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;
}

/* === Миас + · Cyberpunk Hi-Fi · стилевая система === */


/* === Global polish === */
html { scroll-behavior: smooth; }
.cp ::selection { background: rgba(108, 230, 255, 0.35); color: #fff; text-shadow: 0 0 8px rgba(108, 230, 255, 0.6); }
.cp ::-moz-selection { background: rgba(108, 230, 255, 0.35); color: #fff; }

/* Custom scrollbar */
.cp ::-webkit-scrollbar { width: 10px; height: 10px; }
.cp ::-webkit-scrollbar-track { background: #07070b; }
.cp ::-webkit-scrollbar-thumb { background: #1b1e2f; border: 2px solid #07070b; border-radius: 5px; }
.cp ::-webkit-scrollbar-thumb:hover { background: rgba(108, 230, 255, 0.4); }

/* Focus-visible for keyboard navigation */
.cp *:focus { outline: none; }
.cp *:focus-visible {
  outline: 2px solid var(--neon-cyan);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(108, 230, 255, 0.18);
}
.cp .cp-btn:focus-visible { outline-offset: 4px; }

/* Smarter text wrapping */
.cp h1, .cp h2, .cp h3, .cp h4, .cp .cp-display { text-wrap: balance; }
.cp p, .cp li { text-wrap: pretty; }

/* Anchor offset for sticky nav */
.cp [id] { scroll-margin-top: 88px; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cp *, .cp *::before, .cp *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

:root {
  /* base */
  --bg-0: #07070b;          /* deep space */
  --bg-1: #0d0e14;          /* card */
  --bg-2: #131523;          /* elevated */
  --bg-3: #1b1e2f;          /* hover */
  --line: rgba(108, 230, 255, 0.18);
  --line-soft: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(108, 230, 255, 0.42);

  /* neons */
  --neon-cyan: #6ce6ff;
  --neon-cyan-glow: 0 0 12px rgba(108, 230, 255, 0.6), 0 0 24px rgba(108, 230, 255, 0.25);
  --neon-magenta: #ff4dd2;
  --neon-magenta-glow: 0 0 12px rgba(255, 77, 210, 0.55), 0 0 24px rgba(255, 77, 210, 0.22);
  --neon-lime: #b6ff3c;
  --neon-lime-glow: 0 0 10px rgba(182, 255, 60, 0.55), 0 0 22px rgba(182, 255, 60, 0.22);
  --neon-amber: #ffb347;

  /* text */
  --tx-1: #f4f6ff;
  --tx-2: #c9cee0;
  --tx-3: #8089a6;
  --tx-4: #7a85a8;

  /* fonts */
  --f-display: 'Orbitron', 'Space Grotesk', sans-serif;
  --f-body: 'Space Grotesk', system-ui, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, monospace;
}

.cp {
  background: var(--bg-0);
  color: var(--tx-1);
  font-family: var(--f-body);
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Subtle scanline overlay across the whole site */
.cp::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  background:
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.012) 0,
      rgba(255, 255, 255, 0.012) 1px,
      transparent 1px,
      transparent 3px
    );
  mix-blend-mode: overlay;
}

/* Grid background for sections */
.cp-grid-bg {
  background-image:
    linear-gradient(rgba(108, 230, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108, 230, 255, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
}

.cp-radial-bg {
  background:
    radial-gradient(ellipse at 20% 0%, rgba(108, 230, 255, 0.12), transparent 50%),
    radial-gradient(ellipse at 80% 60%, rgba(255, 77, 210, 0.08), transparent 50%),
    var(--bg-0);
}

/* === Typography === */
.cp h1, .cp h2, .cp h3, .cp h4 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--tx-1);
}

.cp-display {
  font-family: var(--f-display);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 0.95;
}

.cp-mono {
  font-family: var(--f-mono);
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}

.cp-eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--neon-cyan);
}

.cp-eyebrow.lime { color: var(--neon-lime); }
.cp-eyebrow.magenta { color: var(--neon-magenta); }

/* === Layout helpers === */
.cp-wrap { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.cp-flex { display: flex; }
.cp-col { display: flex; flex-direction: column; }
.cp-grid { display: grid; }
.cp-gap-2 { gap: 8px; } .cp-gap-3 { gap: 12px; } .cp-gap-4 { gap: 16px; }
.cp-gap-5 { gap: 20px; } .cp-gap-6 { gap: 24px; } .cp-gap-8 { gap: 32px; }
.cp-gap-10 { gap: 40px; } .cp-gap-12 { gap: 48px; } .cp-gap-16 { gap: 64px; }
.cp-mt-1 { margin-top: 4px; } .cp-mt-2 { margin-top: 8px; } .cp-mt-3 { margin-top: 12px; }
.cp-mt-4 { margin-top: 16px; } .cp-mt-6 { margin-top: 24px; } .cp-mt-8 { margin-top: 32px; }
.cp-mt-10 { margin-top: 40px; } .cp-mt-12 { margin-top: 48px; }
.cp-items-center { align-items: center; }
.cp-items-end { align-items: flex-end; }
.cp-items-baseline { align-items: baseline; }
.cp-items-start { align-items: flex-start; }
.cp-justify-between { justify-content: space-between; }
.cp-justify-center { justify-content: center; }
.cp-flex-1 { flex: 1 1 0; }
.cp-flex-wrap { flex-wrap: wrap; }
.cp-w-full { width: 100%; }
.cp-text-center { text-align: center; }
.cp-relative { position: relative; }

/* === Cards / panels === */
.cp-panel {
  background: var(--bg-1);
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  padding: 24px;
  position: relative;
  transition: border-color .2s ease, transform .25s ease, box-shadow .25s ease, background .2s ease;
}
.cp-panel.is-link, a.cp-panel { text-decoration: none; color: inherit; cursor: pointer; }
.cp-panel.is-link:hover, a.cp-panel:hover {
  border-color: rgba(108, 230, 255, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.45), 0 0 0 1px rgba(108,230,255,0.08);
  background: linear-gradient(180deg, rgba(108, 230, 255, 0.03), rgba(108, 230, 255, 0.0)), var(--bg-1);
}

.cp-panel-neon {
  background: linear-gradient(180deg, rgba(108, 230, 255, 0.04), rgba(108, 230, 255, 0.0)), var(--bg-1);
  border: 1px solid var(--line-strong);
  box-shadow:
    0 0 0 1px rgba(108, 230, 255, 0.06),
    0 0 32px rgba(108, 230, 255, 0.08) inset,
    0 16px 48px rgba(0, 0, 0, 0.4);
  border-radius: 4px;
  padding: 24px;
  position: relative;
}

/* Corner brackets — defining cyberpunk tic */
.cp-corners {
  position: relative;
}
.cp-corners::before,
.cp-corners::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  border: 2px solid var(--neon-cyan);
  pointer-events: none;
}
.cp-corners::before {
  top: -1px; left: -1px;
  border-right: none; border-bottom: none;
  box-shadow: -2px -2px 12px rgba(108, 230, 255, 0.3);
}
.cp-corners::after {
  bottom: -1px; right: -1px;
  border-left: none; border-top: none;
  box-shadow: 2px 2px 12px rgba(108, 230, 255, 0.3);
}
.cp-corners.magenta::before, .cp-corners.magenta::after { border-color: var(--neon-magenta); }
.cp-corners.magenta::before { box-shadow: -2px -2px 12px rgba(255, 77, 210, 0.3); }
.cp-corners.magenta::after { box-shadow: 2px 2px 12px rgba(255, 77, 210, 0.3); }
.cp-corners.lime::before, .cp-corners.lime::after { border-color: var(--neon-lime); }

/* Four-corner brackets variant */
.cp-corners-4 {
  position: relative;
}
.cp-corners-4::before,
.cp-corners-4::after,
.cp-corners-4 > .cp-corner-tr,
.cp-corners-4 > .cp-corner-bl {
  content: '';
  position: absolute;
  width: 12px; height: 12px;
  border: 1.5px solid var(--neon-cyan);
  pointer-events: none;
}
.cp-corners-4::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.cp-corners-4::after { bottom: -1px; right: -1px; border-left: none; border-top: none; }
.cp-corners-4 > .cp-corner-tr { top: -1px; right: -1px; border-left: none; border-bottom: none; }
.cp-corners-4 > .cp-corner-bl { bottom: -1px; left: -1px; border-right: none; border-top: none; }

/* === Buttons === */
.cp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  font-family: var(--f-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: transparent;
  color: var(--tx-1);
  border: 1px solid var(--line-strong);
  cursor: pointer;
  position: relative;
  text-decoration: none;
  transition: background .18s ease, color .18s ease, box-shadow .25s ease, transform .15s ease, border-color .18s ease;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  white-space: nowrap;
}
.cp-btn:active { transform: translateY(1px); }
.cp-btn:hover {
  background: rgba(108, 230, 255, 0.08);
  box-shadow: var(--neon-cyan-glow);
  color: var(--neon-cyan);
}

.cp-btn-primary {
  background: var(--neon-cyan);
  color: #021019;
  border-color: var(--neon-cyan);
  box-shadow: var(--neon-cyan-glow);
}
.cp-btn-primary:hover {
  background: #9aefff;
  color: #021019;
  box-shadow: 0 0 16px rgba(108,230,255,0.7), 0 0 32px rgba(108,230,255,0.3), 0 8px 24px rgba(0,0,0,0.4);
  transform: translateY(-1px);
}

.cp-btn-magenta {
  background: var(--neon-magenta);
  color: #1a0014;
  border-color: var(--neon-magenta);
  box-shadow: var(--neon-magenta-glow);
}

.cp-btn-ghost {
  border-color: var(--line-soft);
  color: var(--tx-2);
}
.cp-btn-ghost:hover {
  border-color: var(--line-strong);
  color: var(--neon-cyan);
  background: rgba(108, 230, 255, 0.05);
}
.cp-btn-sm { padding: 8px 14px; font-size: 11px; }
.cp-btn-lg { padding: 16px 28px; font-size: 14px; }

/* === Status pill / chip === */
.cp-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  background: rgba(108, 230, 255, 0.08);
  color: var(--neon-cyan);
  border: 1px solid rgba(108, 230, 255, 0.3);
  border-radius: 2px;
  text-transform: uppercase;
  white-space: nowrap;
}
.cp-chip.lime { background: rgba(182,255,60,0.08); color: var(--neon-lime); border-color: rgba(182,255,60,0.3); }
.cp-chip.magenta { background: rgba(255,77,210,0.08); color: var(--neon-magenta); border-color: rgba(255,77,210,0.3); }
.cp-chip.dim { background: transparent; color: var(--tx-3); border-color: var(--line-soft); }

.cp-status-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--neon-lime);
  box-shadow: 0 0 8px var(--neon-lime);
  animation: cp-pulse 2s ease-in-out infinite;
}
@keyframes cp-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* === Stat number === */
.cp-stat {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 56px;
  line-height: 0.9;
  background: linear-gradient(180deg, #ffffff 0%, var(--neon-cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.cp-stat-magenta {
  background: linear-gradient(180deg, #ffffff 0%, var(--neon-magenta) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.cp-stat-lime {
  background: linear-gradient(180deg, #ffffff 0%, var(--neon-lime) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.cp-stat-label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tx-3);
  margin-top: 6px;
}

/* === Divider === */
.cp-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}
.cp-divider-v {
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--line-strong), transparent);
}

/* === Input === */
.cp-input {
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--neon-cyan);
  color: var(--tx-1);
  font-family: var(--f-mono);
  font-size: 13px;
  padding: 10px 14px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
.cp-input::placeholder { color: var(--tx-4); }
.cp-input:hover { border-color: var(--line-strong); background: var(--bg-3); }
.cp-input:focus {
  border-color: var(--neon-cyan);
  background: var(--bg-3);
  box-shadow: 0 0 16px rgba(108, 230, 255, 0.2);
}

/* === Range slider === */
.cp-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  background: var(--bg-3);
  outline: none;
  border-radius: 2px;
}
.cp-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px; height: 18px;
  background: var(--neon-cyan);
  border-radius: 0;
  cursor: pointer;
  box-shadow: var(--neon-cyan-glow);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}
.cp-slider::-moz-range-thumb {
  width: 18px; height: 18px;
  background: var(--neon-cyan);
  border: none;
  cursor: pointer;
  box-shadow: var(--neon-cyan-glow);
}

/* === Section frame === */
.cp-section {
  padding: 96px 0;
  position: relative;
}
.cp-section-tight { padding: 48px 0; }

/* Section header pattern */
.cp-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.cp-section-head h2 {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 44px;
  letter-spacing: -0.02em;
  line-height: 1.0;
  max-width: 780px;
}

/* Glitch effect (light) */
@keyframes cp-glitch-1 {
  0%, 100% { transform: translate(0); }
  20% { transform: translate(-1px, 1px); }
  40% { transform: translate(-1px, -1px); }
  60% { transform: translate(1px, 1px); }
  80% { transform: translate(1px, -1px); }
}
.cp-glitch {
  position: relative;
  display: inline-block;
}
.cp-glitch::before, .cp-glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  pointer-events: none;
}
.cp-glitch::before { color: var(--neon-cyan); animation: cp-glitch-1 4s infinite; opacity: 0.6; mix-blend-mode: screen; clip-path: inset(0 0 60% 0); }
.cp-glitch::after  { color: var(--neon-magenta); animation: cp-glitch-1 5s infinite reverse; opacity: 0.6; mix-blend-mode: screen; clip-path: inset(60% 0 0 0); }

/* Marquee */
.cp-marquee {
  overflow: hidden;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: var(--bg-1);
  padding: 14px 0;
}
.cp-marquee-track {
  display: flex;
  gap: 48px;
  animation: cp-scroll 40s linear infinite;
  white-space: nowrap;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tx-3);
  width: max-content;
}
.cp-marquee-track span { display: inline-flex; align-items: center; gap: 8px; }
.cp-marquee-track .dot { color: var(--neon-cyan); }
@keyframes cp-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Floating HUD code lines */
.cp-codeblock {
  font-family: var(--f-mono);
  font-size: 11px;
  line-height: 1.6;
  color: var(--tx-3);
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--line-soft);
  border-left: 2px solid var(--neon-cyan);
  padding: 12px 14px;
  border-radius: 2px;
  white-space: pre;
  overflow: hidden;
}
.cp-codeblock .k { color: var(--neon-magenta); }
.cp-codeblock .v { color: var(--neon-lime); }
.cp-codeblock .s { color: var(--neon-cyan); }
.cp-codeblock .c { color: var(--tx-4); }

/* Image placeholder for cyberpunk look */
.cp-imgph {
  background:
    linear-gradient(135deg, var(--bg-2) 0%, var(--bg-3) 100%);
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}
.cp-imgph::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(108, 230, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108, 230, 255, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
}
.cp-imgph::after {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--tx-3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Nav */
.cp-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 7, 11, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.cp-nav-inner {
  max-width: 1280px; margin: 0 auto; padding: 16px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
/* === Logo === */
.cp-logo {
  font-family: var(--f-display);
  font-weight: 700;
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
  color: var(--tx-1);
  letter-spacing: 0.02em;
}
.cp-logo .cp-logo-mark {
  position: relative;
  width: 42px; height: 42px;
  flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
}
.cp-logo .cp-logo-mark img,
.cp-logo .cp-logo-mark svg,
.cp-logo .cp-logo-mark object {
  width: 100%; height: 100%;
  display: block;
  filter: drop-shadow(0 0 6px rgba(126,231,135,0.35)) drop-shadow(0 0 10px rgba(0,229,255,0.20));
}
.cp-logo .cp-logo-text {
  display: inline-flex; align-items: baseline; gap: 2px;
  font-size: inherit;
  text-transform: none;
}
.cp-logo .cp-logo-text .plus {
  color: var(--neon-cyan);
  text-shadow: 0 0 8px rgba(0,229,255,0.55);
  font-weight: 900;
  margin-left: 2px;
  animation: cp-logo-plus 3.4s ease-in-out infinite;
}
@keyframes cp-logo-float {
  0%,100% { transform: translateY(0) rotate(0deg); }
  50%     { transform: translateY(-1.5px) rotate(0.6deg); }
}
@keyframes cp-logo-halo {
  0%,100% { opacity: 0.55; transform: scale(1); }
  50%     { opacity: 0.95; transform: scale(1.06); }
}
@keyframes cp-logo-spin {
  to { transform: rotate(360deg); }
}
@keyframes cp-logo-plus {
  0%,100% { text-shadow: 0 0 6px rgba(0,229,255,0.45); }
  50%     { text-shadow: 0 0 14px rgba(0,229,255,0.85), 0 0 22px rgba(0,229,255,0.35); }
}
@media (prefers-reduced-motion: reduce) {
  .cp-logo .cp-logo-mark img,
  .cp-logo .cp-logo-mark::before,
  .cp-logo .cp-logo-mark::after,
  .cp-logo .cp-logo-text .plus { animation: none !important; }
}
.cp-logo .dot {
  width: 8px; height: 8px;
  background: var(--neon-cyan);
  border-radius: 50%;
  box-shadow: var(--neon-cyan-glow);
}
.cp-nav-items {
  display: flex; gap: 28px;
  font-family: var(--f-mono); font-size: 12px;
  color: var(--tx-2);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.cp-nav-items a {
  color: var(--tx-2);
  text-decoration: none;
  transition: color 0.15s;
  position: relative;
  padding: 4px 0;
}
.cp-nav-items a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 1px;
  background: var(--neon-cyan);
  box-shadow: 0 0 8px var(--neon-cyan);
  transition: right 0.25s ease;
}
.cp-nav-items a:hover { color: var(--neon-cyan); }
.cp-nav-items a:hover::after { right: 0; }
.cp-nav-items a.is-active { color: var(--neon-cyan); }
.cp-nav-items a.is-active::after { right: 0; }

/* Nav dropdown */
.cp-nav-dd { position: relative; display: inline-block; }
.cp-nav-dd > .cp-nav-trigger {
  cursor: pointer; user-select: none;
  color: var(--tx-2);
  font-family: var(--f-mono); font-size: 12px;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 0; position: relative;
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent; border: 0;
}
.cp-nav-dd > .cp-nav-trigger::after {
  content: '';
  position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1px; background: var(--neon-cyan);
  box-shadow: 0 0 6px var(--neon-cyan);
  transition: right 0.25s ease;
}
.cp-nav-dd:hover > .cp-nav-trigger { color: var(--neon-cyan); }
.cp-nav-dd:hover > .cp-nav-trigger::after { right: 0; }
.cp-nav-dd > .cp-nav-trigger .cp-caret { font-size: 9px; opacity: 0.6; }
.cp-nav-panel {
  position: absolute; top: calc(100% + 12px); left: -16px;
  min-width: 260px; padding: 12px;
  background: var(--bg-1);
  border: 1px solid var(--line-soft);
  box-shadow: 0 16px 40px rgba(0,0,0,0.6), 0 0 0 1px rgba(0,229,255,0.06);
  opacity: 0; pointer-events: none;
  transform: translateY(-4px);
  transition: opacity .18s ease, transform .18s ease;
  z-index: 50;
  display: grid; gap: 2px;
}
.cp-nav-dd:hover > .cp-nav-panel { opacity: 1; pointer-events: auto; transform: translateY(0); }
.cp-nav-panel a {
  display: block; padding: 8px 10px;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.06em;
  color: var(--tx-2); text-decoration: none;
  border-left: 1px solid transparent;
  transition: color .15s ease, background .15s ease, border-color .15s ease;
  text-transform: none;
}
.cp-nav-panel a:hover { color: var(--neon-cyan); background: rgba(0,229,255,0.06); border-left-color: var(--neon-cyan); }
.cp-nav-panel-title {
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.18em;
  color: var(--neon-cyan); padding: 6px 10px 4px; text-transform: uppercase;
}
.cp-nav-panel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 4px; min-width: 460px; }

/* Breadcrumbs */
.cp-breadcrumbs a {
  color: var(--tx-3);
  text-decoration: none;
  transition: color .15s ease;
}
.cp-breadcrumbs a:hover { color: var(--neon-cyan); }
.cp-breadcrumbs .sep { color: var(--tx-4); }
.cp-breadcrumbs .current { color: var(--neon-cyan); }

/* Footer link */
.cp-foot-link {
  color: var(--tx-2);
  font-size: 13px;
  font-family: var(--f-mono);
  text-decoration: none;
  transition: color .15s ease, transform .15s ease;
  display: inline-block;
}
.cp-foot-link:hover { color: var(--neon-cyan); transform: translateX(2px); }

/* Vertical text helper */
.cp-vert {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--tx-4);
  text-transform: uppercase;
}

/* === Service card visuals === */
.svc-art {
  position: absolute;
  pointer-events: none;
  user-select: none;
}

/* — Клининг: floor plan with patrol — */
.svc-plan {
  opacity: 1;
}
.svc-plan .room {
  fill: none;
  stroke: rgba(190, 255, 110, 0.4);
  stroke-width: 1.2;
}
.svc-plan .room-fill {
  fill: rgba(190, 255, 110, 0.05);
}
.svc-plan .room-label {
  fill: rgba(190, 255, 110, 0.75);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
}
.svc-plan .patrol-path {
  fill: none;
  stroke: rgba(190, 255, 110, 0.28);
  stroke-width: 1;
  stroke-dasharray: 3 4;
}
.svc-plan .patrol-dot {
  fill: var(--neon-lime);
  filter: drop-shadow(0 0 6px var(--neon-lime));
  animation: svc-patrol 16s linear infinite;
}
.svc-plan .qc {
  fill: var(--neon-lime);
  opacity: 0.6;
  animation: svc-qc-blink 2.4s ease-in-out infinite;
}
.svc-plan .qc-2 { animation-delay: 0.6s; }
.svc-plan .qc-3 { animation-delay: 1.2s; }
.svc-plan .qc-4 { animation-delay: 1.8s; }
.svc-plan .scan {
  fill: rgba(190, 255, 110, 0.06);
  animation: svc-scan 6s linear infinite;
}
@keyframes svc-patrol {
  0%   { offset-distance: 0%;   }
  100% { offset-distance: 100%; }
}
@keyframes svc-qc-blink {
  0%, 100% { opacity: 0.3; r: 3; }
  50%      { opacity: 1;   r: 5; }
}
@keyframes svc-scan {
  0%   { transform: translateY(-100%); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateY(100%); opacity: 0; }
}

/* — Техобслуживание: pipe lanes — */
.svc-pipes .lane {
  fill: none;
  stroke: rgba(255, 90, 200, 0.4);
  stroke-width: 1.4;
}
.svc-pipes .pulse {
  fill: var(--neon-magenta);
  filter: drop-shadow(0 0 6px var(--neon-magenta));
  animation: svc-pipe-flow 3.2s linear infinite;
}
.svc-pipes .pulse-2 { animation-delay: 1s; animation-duration: 4s; }
.svc-pipes .pulse-3 { animation-delay: 2s; animation-duration: 3.6s; }
.svc-pipes .joint {
  fill: rgba(255, 90, 200, 0.7);
}
.svc-pipes .lane-label {
  fill: rgba(255, 90, 200, 0.85);
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
@keyframes svc-pipe-flow {
  0%   { offset-distance: 0%; opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}

/* — Аренда персонала: badge stack — */
.svc-badges-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: flex-end;
  width: 100%;
}
.svc-badge {
  position: relative;
  flex: 1 1 0;
  max-width: 110px;
  aspect-ratio: 3/4;
  border: 1px solid rgba(190, 255, 110, 0.45);
  background: linear-gradient(180deg, rgba(190,255,110,0.06) 0%, rgba(190,255,110,0.0) 100%);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 22px;
  animation: svc-badge-cycle 6s ease-in-out infinite;
}
.svc-badge::before {
  content: "";
  position: absolute;
  top: -6px; left: 50%;
  transform: translateX(-50%);
  width: 22px; height: 6px;
  background: rgba(190, 255, 110, 0.55);
  border-radius: 2px;
}
.svc-badge .av {
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1.5px solid rgba(190, 255, 110, 0.65);
  position: relative;
}
.svc-badge .av::after {
  content: "";
  position: absolute;
  width: 36px; height: 18px;
  border-radius: 18px 18px 0 0;
  border: 1.5px solid rgba(190, 255, 110, 0.65);
  border-bottom: none;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
}
.svc-badge .bar {
  width: 56px; height: 2px;
  background: rgba(190, 255, 110, 0.3);
  margin-top: 50px;
  border-radius: 1px;
}
.svc-badge .bar + .bar { margin-top: 6px; width: 38px; }
.svc-badge-1 { animation-delay: 0s;   }
.svc-badge-2 { animation-delay: 0.4s; }
.svc-badge-3 { animation-delay: 0.8s; }
@keyframes svc-badge-cycle {
  0%, 100% { opacity: 0.35; transform: translateY(0); }
  10%, 70% { opacity: 1;    transform: translateY(-3px); }
  85%      { opacity: 0.6;  transform: translateY(0); }
}
.svc-counter {
  align-self: flex-end;
  margin-bottom: 14px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.15em;
  color: rgba(190, 255, 110, 0.85);
  font-weight: 600;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}
.svc-counter::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--neon-lime);
  box-shadow: 0 0 6px var(--neon-lime);
  animation: cp-pulse 2s ease-in-out infinite;
}

/* === GLOBAL FIXES === */
.cp svg text { font-size: 16px !important; font-weight: 600; letter-spacing: 0.05em; }
.cp svg text.svc-pin-label, .cp svg text.svc-pipe-label { font-size: 15px !important; }

/* Аренда персонала: ID-cards не наезжают на текст meta */
.cp .cp-staff-meta, .cp [class*="staff-meta"] { margin-bottom: 28px !important; display: block !important; clear: both; }
.cp .cp-staff-cards, .cp [class*="staff-cards"] { margin-top: 16px !important; padding-top: 8px; }
.cp .cp-staff-shift-badge, .cp [class*="shift"] { position: static !important; display: inline-block; margin: 0 0 12px; }

/* Override: убрать absolute/overlap для всех Аренда персонала элементов */
.cp [class*="aren"] [class*="card"],
.cp [class*="staff"] [class*="card"] {
  margin-top: 12px;
}

/* === STRONGER OVERRIDE для lane-label, svc-pipes texts === */
.cp svg text.lane-label,
.cp svg.svc-pipes text,
.cp svg.svc-plan text,
text.lane-label,
text.svc-pin-label,
svg.svc-pipes text,
svg.svc-plan text { font-size: 24px !important; font-weight: 700 !important; letter-spacing: 0.06em !important; }
