@font-face{font-family:'Cormorant Garamond';font-style:normal;font-weight:500 700;font-display:swap;src:url(../fonts/cormorant-garamond-500-normal-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:'Cormorant Garamond';font-style:normal;font-weight:500 700;font-display:swap;src:url(../fonts/cormorant-garamond-500-normal-cyrillic.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
@font-face{font-family:'Cormorant Garamond';font-style:normal;font-weight:500 700;font-display:swap;src:url(../fonts/cormorant-garamond-500-normal-vietnamese.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}
@font-face{font-family:'Cormorant Garamond';font-style:normal;font-weight:500 700;font-display:swap;src:url(../fonts/cormorant-garamond-500-normal-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Cormorant Garamond';font-style:normal;font-weight:500 700;font-display:swap;src:url(../fonts/cormorant-garamond-500-normal-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:400;font-display:swap;src:url(../fonts/ibm-plex-mono-400-normal-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(../fonts/ibm-plex-mono-400-normal-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(../fonts/ibm-plex-mono-400-normal-vietnamese.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}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/ibm-plex-mono-400-normal-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-20C4, 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(../fonts/ibm-plex-mono-400-normal-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(../fonts/ibm-plex-mono-500-normal-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(../fonts/ibm-plex-mono-500-normal-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(../fonts/ibm-plex-mono-500-normal-vietnamese.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}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/ibm-plex-mono-500-normal-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-20C4, 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(../fonts/ibm-plex-mono-500-normal-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 Sans';font-style:normal;font-weight:400 600;font-display:swap;src:url(../fonts/ibm-plex-sans-400-normal-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 Sans';font-style:normal;font-weight:400 600;font-display:swap;src:url(../fonts/ibm-plex-sans-400-normal-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 Sans';font-style:normal;font-weight:400 600;font-display:swap;src:url(../fonts/ibm-plex-sans-400-normal-greek.woff2) format('woff2');unicode-range:U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF}
@font-face{font-family:'IBM Plex Sans';font-style:normal;font-weight:400 600;font-display:swap;src:url(../fonts/ibm-plex-sans-400-normal-vietnamese.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}
@font-face{font-family:'IBM Plex Sans';font-style:normal;font-weight:400 600;font-display:swap;src:url(../fonts/ibm-plex-sans-400-normal-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'IBM Plex Sans';font-style:normal;font-weight:400 600;font-display:swap;src:url(../fonts/ibm-plex-sans-400-normal-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}
/* ==========================================================================
   Белгосгеоцентр — шаблон belgeo
   Дизайн-система: тёмно-зелёный + голубой, Cormorant Garamond / IBM Plex
   Все цвета — через переменные: темы для слабовидящих переопределяют только их.
   ========================================================================== */
:root {
  --ink: #13221c; --ink2: #33443d; --muted: #4f5f58;
  --bg: #f7f8f5; --surface: #fff; --line: #d9dfda; --line2: #d3ddd6; --grid: #e6ebe7;
  --dark: #0d3326; --dark2: #082419; --dark-line: #3d6b5a; --dark-hover: #164536;
  --on-dark: #fff; --on-dark2: #a9c6b7; --on-dark3: #cfe0d6;
  --accent: #1d6b45; --accent-h: #155537; --on-accent: #fff; --accent-soft: #cfe6d8; --accent-light: #9fd0b4;
  --tint: #e3eff5; --tint-line: #bcd6e4; --tint-ink: #2b5d78; --tint-ink2: #1f4a60;
  --sand: #efe9dc; --sand-line: #ddd2b8; --sand-ink: #8a7650;
  --link: #1d6b45; --focus: #2b5d78; --focus-dark: #9fd0e8;
  --f-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --f-sans: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --f-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --gutter: clamp(16px, 4vw, 48px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 130px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1rem/1.5 var(--f-sans); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: var(--link); }
a:hover { color: var(--dark); }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.hdr :focus-visible, .ftr :focus-visible { outline-color: var(--focus-dark); }
[hidden] { display: none !important; }
.wrap { max-width: 1360px; margin: 0 auto; padding-inline: var(--gutter); }
.mono, .mono-label { font-family: var(--f-mono); }
.mono-label { font-size: .75rem; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }
.mono-label--inline { letter-spacing: .04em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -80px; z-index: 100; background: #fff; color: var(--dark); padding: 12px 16px; font-weight: 600; text-decoration: none; border: 2px solid var(--dark); }
.skip:focus { top: 8px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 0 22px; background: var(--accent); color: var(--on-accent); font-weight: 600; text-decoration: none; border: 0; border-radius: 2px; cursor: pointer; }
.btn:hover { background: var(--accent-h); color: var(--on-accent); }
.btn--lg { min-height: 54px; padding: 0 24px; font-size: 1rem; box-shadow: 0 2px 0 var(--dark); }
.btn--ghost { background: rgba(255, 255, 255, .6); color: var(--dark); border: 1px solid var(--dark); font-weight: 500; }
.btn--ghost:hover { background: #fff; color: var(--dark); }
.btn--dark { background: var(--dark); color: var(--on-dark); }
.btn--dark:hover { background: var(--accent); color: var(--on-dark); }
.btn--outline { background: transparent; color: var(--dark); border: 1px solid var(--dark); font-weight: 500; min-height: 44px; font-size: .875rem; padding: 0 16px; }
.btn--outline:hover { background: #f2f6f8; color: var(--dark); }
.btn--block { display: flex; justify-content: space-between; width: 100%; min-height: 48px; padding: 0 16px; font-size: .9375rem; }
.link-arrow { display: inline-block; font-weight: 600; color: var(--link); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.link-arrow:hover { color: var(--dark); }
.serif { font-family: var(--f-serif); }

/* ---------- Шапка ---------- */
.hdr { position: sticky; top: 0; z-index: 50; }
.topbar { background: var(--dark2); color: var(--on-dark3); font-size: .8125rem; }
.topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 8px; }
.topbar__org { display: flex; align-items: center; gap: 10px; min-width: 0; }
.topbar__org span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.emblem { width: 26px; height: 26px; flex: none; object-fit: contain; }
.topbar__phone { color: #fff; text-decoration: none; font-family: var(--f-mono); white-space: nowrap; }
.topbar__phone:hover { color: #fff; text-decoration: underline; }
.hdr-main { background: var(--dark); color: var(--on-dark); border-bottom: 1px solid #1e4a3a; position: relative; }
.hdr-main__in { height: 76px; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--on-dark); text-decoration: none; flex: none; }
.brand:hover { color: var(--on-dark); }
.brand__mark { width: 40px; height: 40px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font: 700 1.5rem/1 var(--f-serif); letter-spacing: .01em; }
.brand__sub { font: .625rem/1 var(--f-mono); color: var(--on-dark2); margin-top: 4px; letter-spacing: .06em; }
.tools { display: flex; align-items: center; gap: 10px; flex: none; margin-left: auto; }
.tool { height: 40px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 12px; background: transparent; color: var(--on-dark); border: 1px solid var(--dark-line); cursor: pointer; font-size: .875rem; font-weight: 500; }
.tool:hover { background: var(--dark-hover); }
.tool--vi { border-color: var(--tint); }
.tool--vi:hover, .tool--vi[aria-pressed="true"] { background: var(--tint); color: var(--dark); }
.tool--icon { width: 40px; padding: 0; }
.tool--burger { display: none; width: 44px; height: 44px; padding: 0; background: var(--accent); border: 0; }
.tool--burger:hover { background: var(--accent-h); }

/* языки */
.langs { display: flex; border: 1px solid var(--dark-line); }
.langs a, .langs span { min-width: 40px; height: 38px; display: inline-flex; align-items: center; justify-content: center; color: var(--on-dark); font: 500 .8125rem var(--f-mono); text-decoration: none; }
.langs a:hover { background: var(--dark-hover); color: var(--on-dark); }
.langs .is-active { background: var(--tint); color: var(--dark); }

/* ---------- Меню: десктоп = мегаменю, мобильное = аккордеон до 3 уровней ---------- */
.nav { flex: 1; align-self: stretch; }
.nav__l1 { list-style: none; display: flex; justify-content: center; height: 100%; }
.nav__item { display: flex; }
.nav__btn, .nav__link { height: 100%; display: flex; align-items: center; gap: 6px; padding: 0 10px; background: none; border: 0; border-top: 3px solid transparent; border-bottom: 3px solid transparent; color: var(--on-dark); font-size: .9375rem; font-weight: 500; cursor: pointer; white-space: nowrap; text-decoration: none; }
.nav__btn:hover, .nav__link:hover { background: var(--dark-hover); color: var(--on-dark); }
.nav__btn[aria-expanded="true"] { border-bottom-color: var(--accent-light); background: var(--dark-hover); }
.nav__item.is-active > .nav__btn, .nav__item.is-active > .nav__link { border-bottom-color: #5b9a78; }
.nav__chev { transition: transform .2s; }
.nav__btn[aria-expanded="true"] .nav__chev { transform: rotate(180deg); }
.nav__panel { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); color: var(--ink); border-top: 3px solid var(--accent); box-shadow: 0 24px 40px -24px rgba(8, 36, 25, .45); }
.nav__btn[aria-expanded="true"] + .nav__panel { display: block; }
html:not(.js) .nav__item:hover > .nav__panel, html:not(.js) .nav__item:focus-within > .nav__panel { display: block; }
.nav__panel-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 2fr); gap: 48px; padding-block: 36px 40px; }
.nav__intro { border-right: 1px solid var(--line); padding-right: 32px; }
.nav__intro-label { font: .75rem var(--f-mono); color: var(--muted); letter-spacing: .08em; }
.nav__intro-title { font: 600 2.5rem/1.05 var(--f-serif); margin-top: 8px; }
.nav__intro-desc { color: var(--muted); font-size: .9375rem; line-height: 1.55; margin-top: 12px; max-width: 34ch; }
.nav__intro .btn { margin-top: 20px; min-height: 44px; font-size: .875rem; }
.nav__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; align-content: start; }
.nav__coltitle { display: block; width: 100%; text-align: left; background: none; border: 0; padding: 0 0 10px; margin: 0 0 10px; border-bottom: 1px solid var(--line); font-weight: 600; font-size: .9375rem; color: var(--ink); text-decoration: none; cursor: default; }
a.nav__coltitle { cursor: pointer; }
a.nav__coltitle:hover { color: var(--accent); }
.nav__coltitle .nav__chev { display: none; }
.nav__l3 { list-style: none; display: flex; flex-direction: column; }
.nav__l3 a { color: var(--ink); text-decoration: none; font-size: .9375rem; padding: 7px 0; display: flex; justify-content: space-between; }
.nav__l3 a::after { content: "→"; color: #9aa8a1; }
.nav__l3 a:hover { color: var(--accent); }
.nav__l3 .is-current > a { color: var(--accent); font-weight: 600; }

/* ---------- Поиск, панель для слабовидящих ---------- */
.searchbar { background: var(--tint); border-bottom: 1px solid var(--tint-line); padding-block: 16px; }
.searchbar form, .searchbar .mod-finder, .searchbar .js-finder-searchform { margin: 0; }
.searchbar .input-group, .searchbar .awesomplete { display: flex; gap: 8px; width: 100%; }
.searchbar input[type="search"], .searchbar input[type="text"] { flex: 1; min-width: 0; height: 48px; padding: 0 16px; border: 1px solid var(--tint-ink); background: #fff; font: inherit; font-size: 1rem; color: var(--ink); border-radius: 2px; }
.searchbar button, .searchbar .btn-primary { height: 48px; padding: 0 20px; background: var(--dark); color: #fff; border: 0; font-weight: 600; cursor: pointer; border-radius: 2px; }
.searchbar label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.vi-panel { background: #fff; color: #000; border-bottom: 3px solid #000; }
.vi-panel__in { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-block: 12px; }
.vi-group { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.vi-group__t { font-weight: 600; }
.vi-btn { min-width: 44px; height: 44px; padding: 0 14px; border: 2px solid #000; background: #fff; color: #000; font-weight: 700; cursor: pointer; }
.vi-btn[aria-pressed="true"], .vi-btn.is-on { outline: 3px solid #000; outline-offset: 2px; }
.vi-btn--a1 { font-size: 1rem; } .vi-btn--a2 { font-size: 1.25rem; } .vi-btn--a3 { font-size: 1.5rem; }
.vi-btn--wb { background: #000; color: #fff; } .vi-btn--blue { background: #9dd1ff; color: #063462; }
.vi-btn--txt { font-weight: 600; }
.vi-panel__off { margin-left: auto; background: #000; color: #fff; }

/* ---------- Главная ---------- */
.hero { background-color: var(--bg); background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px), radial-gradient(120% 80% at 100% 0%, var(--tint) 0, rgba(227, 239, 245, 0) 60%); background-size: 48px 48px, 48px 48px, 100% 100%; border-bottom: 1px solid var(--line); }
.hero__grid { padding-block: clamp(40px, 7vw, 96px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: clamp(32px, 5vw, 72px); align-items: stretch; }
.hero__text { display: flex; flex-direction: column; justify-content: center; gap: 28px; padding-block: 8px; }
.eyebrow { display: flex; align-items: center; gap: 12px; font: .75rem var(--f-mono); letter-spacing: .08em; color: var(--tint-ink); text-transform: uppercase; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.hero h1 { font: 600 clamp(2.875rem, 6.4vw, 5.75rem)/.98 var(--f-serif); letter-spacing: -.01em; color: var(--dark); text-wrap: balance; }
.hero__lead { font-size: clamp(1.0625rem, 1.4vw, 1.1875rem); line-height: 1.6; color: var(--ink2); max-width: 46ch; text-wrap: pretty; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }

.strata { position: relative; min-height: 460px; flex: 1; display: flex; flex-direction: column; border: 1px solid #b9c7be; background: #fff; box-shadow: 0 30px 50px -40px rgba(8, 36, 25, .6); overflow: hidden; }
.strata__head { display: flex; justify-content: space-between; padding: 10px 14px; font: .6875rem var(--f-mono); letter-spacing: .06em; color: var(--muted); border-bottom: 1px solid #b9c7be; background: #fff; }
.strata__layer { display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; padding: 10px 14px; border-top: 1px solid rgba(13, 51, 38, .2); animation: stratumIn .8s cubic-bezier(.2, .7, .2, 1) both; }
.strata__layer:first-of-type { border-top: 0; }
.strata__layer b { font-weight: 600; font-size: .875rem; }
.strata__layer span { font: .6875rem var(--f-mono); }
.strata__l1 { flex: 1.1; background: repeating-linear-gradient(0deg, #efe9dc 0 7px, #e4dccb 7px 8px); color: #3a3428; animation-delay: .15s; }
.strata__l2 { flex: 1; background: radial-gradient(#b9d3e1 1.2px, transparent 1.4px) 0 0/10px 10px, #e3eff5; color: #1f4a60; animation-delay: .27s; }
.strata__l3 { flex: 1.2; background: repeating-linear-gradient(45deg, #f4f5ef 0 9px, #e3e7dc 9px 10px); color: #3d4a3f; animation-delay: .39s; }
.strata__l4 { flex: 2.1; background: repeating-linear-gradient(0deg, #cfe2d4 0 14px, #b9d4c1 14px 16px); color: #0d3326; animation-delay: .51s; }
.strata__l5 { flex: 1.3; background: repeating-linear-gradient(60deg, #1a4636 0 8px, #143b2d 8px 9px), #1a4636; color: #dfece4; animation-delay: .63s; }
.strata__bore { position: absolute; left: 78%; top: 37px; bottom: 0; width: 3px; background: #0d3326; transform-origin: top; animation: drill 1.9s cubic-bezier(.6, 0, .2, 1) .5s both; }
.strata__bore::before { content: ""; position: absolute; left: -6px; top: -6px; width: 15px; height: 6px; background: #1d6b45; }
@keyframes stratumIn { from { opacity: 0; transform: translateX(32px); } to { opacity: 1; transform: none; } }
@keyframes drill { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

.sec { padding-block: clamp(64px, 9vw, 120px); }
.sec--white { background: var(--surface); }
.sec--paper { background: var(--bg); }
.sec--tint { background: var(--tint); border-block: 1px solid var(--tint-line); }
.sec--bt { border-top: 1px solid var(--line); }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; }
.sec-head--grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 24px 64px; align-items: end; margin-bottom: 44px; }
.sec-head__main { max-width: 720px; }
.sec-head__side { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.h2 { margin: 14px 0 0; font: 600 clamp(2.25rem, 4.4vw, 3.75rem)/1.02 var(--f-serif); color: var(--dark); text-wrap: balance; }
.h2--md { font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.05; }
.lede { font-size: 1.0625rem; line-height: 1.55; color: var(--ink2); max-width: 52ch; }
.about { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: clamp(24px, 4vw, 64px); }
.about__body { grid-column: span 2; min-width: 0; display: flex; flex-direction: column; gap: 56px; }
.about__big { font: 500 clamp(1.625rem, 2.6vw, 2.375rem)/1.28 var(--f-serif); color: var(--ink); text-wrap: pretty; }
.about__big mark { background: linear-gradient(transparent 62%, var(--accent-soft) 62%); color: inherit; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 24px; }
.stat { border-top: 2px solid var(--dark); padding-top: 16px; display: flex; flex-direction: column-reverse; }
.stat dt { font: .75rem var(--f-mono); letter-spacing: .06em; color: var(--muted); text-transform: uppercase; }
.stat dd { margin: 6px 0 0; font: 600 clamp(3rem, 5vw, 4.5rem)/1 var(--f-serif); color: var(--accent); }

/* карточки систем */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line2); border-radius: 2px; box-shadow: 0 12px 24px -22px rgba(13, 51, 38, .6); }
.card__bar { height: 10px; background: repeating-linear-gradient(90deg, var(--c1, #1d6b45) 0 24px, var(--c2, #5b9a78) 24px 30px); }
.card__body { padding: 24px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.card__meta { display: flex; justify-content: space-between; gap: 8px; font: .75rem var(--f-mono); color: var(--muted); }
.card__title { font: 600 1.75rem/1.1 var(--f-serif); color: var(--dark); }
.card__text { font-size: .9375rem; line-height: 1.55; color: var(--ink2); flex: 1; }
.card--cabinet { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 12px 24px -22px rgba(13, 51, 38, .6); }

.steps { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.steps--line { border-top: 2px solid var(--dark); }
.steps li { padding: 24px 24px 0 0; display: flex; flex-direction: column; gap: 10px; }
.steps__k { font: .8125rem var(--f-mono); color: var(--tint-ink); text-transform: uppercase; }
.steps h3 { font-size: 1.1875rem; font-weight: 600; }
.steps p { font-size: .9375rem; line-height: 1.55; color: var(--ink2); }
.timeline { list-style: none; display: flex; flex-direction: column; }
.timeline li { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 20px; padding: 24px 0; border-top: 1px solid var(--dark); }
.timeline li:last-child { border-bottom: 1px solid var(--dark); }
.timeline li:nth-child(2) { background: linear-gradient(90deg, #f2f7f3, transparent); }
.timeline li:nth-child(3) { background: linear-gradient(90deg, var(--tint), transparent); }
.timeline__n { font: 600 2.75rem/1 var(--f-serif); color: #9fbcae; }
.timeline li:nth-child(2) .timeline__n { color: #6f9e86; } .timeline li:nth-child(3) .timeline__n { color: #3e7f5f; } .timeline li:nth-child(4) .timeline__n { color: var(--accent); }
.timeline h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: 6px; }
.timeline p { font-size: .9375rem; line-height: 1.55; color: var(--ink2); }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: clamp(40px, 6vw, 96px); }
.stack { display: flex; flex-direction: column; gap: 20px; }

/* ---------- Внутренние страницы ---------- */
.phero { background-color: var(--bg); background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 48px 48px; border-bottom: 1px solid var(--line); }
.phero__in { padding-block: clamp(28px, 4vw, 48px) clamp(40px, 6vw, 72px); display: flex; flex-direction: column; gap: clamp(24px, 4vw, 40px); }
.phero__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 24px 64px; align-items: end; }
.phero__title { font: 600 clamp(2.625rem, 5.6vw, 5rem)/.98 var(--f-serif); color: var(--dark); text-wrap: balance; }
.phero__lead { font-size: 1.125rem; line-height: 1.6; color: var(--ink2); max-width: 54ch; }
.page--dark .phero { background-color: var(--dark); background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); border-color: var(--dark); color: var(--on-dark); }
.page--dark .phero__title { color: var(--on-dark); }
.page--dark .phero__lead { color: #d7e6dd; }
.page--dark .breadcrumbs, .page--dark .breadcrumbs a { color: var(--on-dark2); }
.page--dark .breadcrumbs [aria-current] { color: #fff; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; font: .75rem var(--f-mono); color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; }
.breadcrumbs a { color: var(--tint-ink); }
.breadcrumbs [aria-current] { color: var(--ink); }
.content { background: var(--surface); padding-block: clamp(32px, 5vw, 64px) clamp(56px, 8vw, 104px); }
.page--nopad .content { padding-top: 0; }
.err { padding-block: 64px; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }

/* текст статей */
.prose { color: var(--ink2); font-size: 1.0625rem; line-height: 1.65; max-width: 80ch; }
.prose h2 { font: 600 clamp(2rem, 3.4vw, 2.75rem)/1.05 var(--f-serif); color: var(--dark); margin: 1.6em 0 .5em; }
.prose h3 { font: 600 1.75rem/1.1 var(--f-serif); color: var(--dark); margin: 1.4em 0 .4em; }
.prose p, .prose ul, .prose ol { margin: 0 0 1em; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose-wide { max-width: none; }
.message-note { padding: 14px 16px; background: var(--tint); border-left: 3px solid var(--tint-ink); }

/* страница «Недропользователю» и «Деятельность» */
.sub { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.sub__aside { position: sticky; top: 140px; display: flex; flex-direction: column; gap: 20px; }
.sidenav { display: flex; flex-direction: column; border-top: 2px solid var(--dark); }
.sidenav a { display: flex; justify-content: space-between; align-items: center; min-height: 48px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: .9375rem; font-weight: 500; }
.sidenav a:hover { color: var(--accent); }
.sidenav span { font: .75rem var(--f-mono); color: var(--muted); }
.support { background: var(--tint); border: 1px solid var(--tint-line); padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.support a { font: 600 1.625rem var(--f-serif); color: var(--dark); text-decoration: none; }
.support small { font-size: .875rem; color: var(--ink2); }
.sub__main { display: flex; flex-direction: column; gap: clamp(56px, 7vw, 88px); min-width: 0; }
.blk { display: flex; flex-direction: column; gap: 22px; }
.blk__head { display: flex; align-items: baseline; gap: 16px; }
.blk__head .mono { font-size: .8125rem; color: var(--muted); }
.blk__head h2 { font: 600 clamp(2rem, 3.4vw, 2.75rem)/1.05 var(--f-serif); color: var(--dark); }
.sys { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 20px 32px; padding: 24px; border: 1px solid var(--line2); border-top: 4px solid var(--c1, #1d6b45); border-radius: 2px; box-shadow: 0 12px 24px -22px rgba(13, 51, 38, .6); background: var(--surface); }
.sys__main { grid-column: span 2; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.sys__meta { display: flex; flex-wrap: wrap; gap: 8px 16px; font: .75rem var(--f-mono); color: var(--muted); }
.sys__ok { display: inline-flex; align-items: center; gap: 6px; color: var(--accent-h); }
.sys__ok::before { content: ""; width: 8px; height: 8px; background: var(--accent); }
.sys h3 { font: 600 1.875rem/1.1 var(--f-serif); color: var(--dark); }
.sys p { font-size: .9375rem; line-height: 1.55; color: var(--ink2); }
.sys__act { display: flex; flex-direction: column; gap: 8px; justify-content: flex-end; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.tags li { padding: 4px 10px; background: #f2f6f3; border: 1px solid var(--line); font-size: .8125rem; }
.cabinet { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px 40px; align-items: center; padding: clamp(24px, 3vw, 36px); background: var(--dark); color: var(--on-dark); border-radius: 2px; box-shadow: 0 4px 0 -1px var(--accent); }
.cabinet h3 { font: 600 clamp(1.75rem, 2.6vw, 2.25rem)/1.08 var(--f-serif); }
.cabinet p { color: #e3efe8; line-height: 1.5; margin-top: 8px; }
.cabinet .mono-label { color: var(--on-dark2); }
.cabinet .btn { background: var(--tint); color: var(--dark); min-height: 56px; font-size: 1.0625rem; justify-self: start; }
.cabinet .btn:hover { background: #fff; color: var(--dark); }
.access { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 12px; }
.access li { padding: 20px; display: flex; flex-direction: column; gap: 8px; border: 1px solid var(--sand-line); background: var(--sand); }
.access li:nth-child(2) { background: var(--tint); border-color: var(--tint-line); }
.access li:nth-child(3) { background: #e6f0e8; border-color: #c4dccb; }
.access b { font: 600 2.5rem/1 var(--f-serif); color: var(--sand-ink); }
.access li:nth-child(2) b { color: var(--tint-ink); } .access li:nth-child(3) b { color: var(--accent); }
.access h3 { font-size: 1.0625rem; font-weight: 600; }
.access p { font-size: .875rem; line-height: 1.55; color: var(--ink2); }
.tbl-wrap { position: relative; overflow-x: auto; border-top: 2px solid var(--dark); }
.tbl { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .9375rem; }
.tbl th { font: 500 .6875rem var(--f-mono); letter-spacing: .06em; color: var(--muted); text-align: left; padding: 12px; text-transform: uppercase; }
.tbl td { padding: 14px 12px; border-top: 1px solid var(--line); }
.tbl tr:last-child td { border-bottom: 1px solid var(--line); }
.tbl .mono { font-size: .8125rem; }
.tbl td:last-child { text-align: right; white-space: nowrap; font-weight: 600; }
.faq { border-top: 2px solid var(--dark); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; min-height: 60px; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; font-size: 1.0625rem; font-weight: 600; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 32px; height: 32px; border: 1px solid var(--dark); display: flex; align-items: center; justify-content: center; font: 1rem var(--f-mono); }
.faq details[open] summary::after { content: "−"; }
.faq summary:hover { color: var(--accent); }
.faq p { padding: 0 48px 20px 0; line-height: 1.6; color: var(--ink2); }

.kpi { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); border-top: 1px solid var(--dark-line); }
.kpi--panel { background: var(--dark); color: var(--on-dark); padding: 0 clamp(20px, 3vw, 40px); margin-bottom: clamp(40px, 6vw, 72px); border-top: 0; }
.kpi div { padding: 20px 20px 0 0; display: flex; flex-direction: column-reverse; }
.kpi dd { font: 600 clamp(2.75rem, 4.6vw, 4rem)/1 var(--f-serif); color: var(--accent-light); }
.kpi dt { margin-top: 8px; font: .75rem var(--f-mono); letter-spacing: .06em; color: var(--on-dark2); text-transform: uppercase; }
.dirs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 1px; background: var(--line2); border: 1px solid var(--line2); }
.dir { background: var(--surface); padding: 28px 24px; display: flex; flex-direction: column; gap: 12px; min-height: 240px; color: var(--ink); text-decoration: none; }
a.dir:hover { background: #f2f7f3; color: var(--ink); }
.dir__n { font: .75rem var(--f-mono); color: var(--accent); }
.dir h3 { font: 600 1.75rem/1.1 var(--f-serif); color: var(--dark); }
.dir p { font-size: .9375rem; line-height: 1.55; color: var(--ink2); flex: 1; }
.dir b, .dir a { font-weight: 600; }
.fund { background: var(--bg); border: 1px solid var(--line); padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; gap: clamp(40px, 6vw, 72px); }
.lifecycle { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.lifecycle li { display: flex; flex-direction: column; }
.lifecycle i { display: block; height: 14px; border: 1px solid var(--sand-line); background: repeating-linear-gradient(0deg, #efe9dc 0 4px, #e4dccb 4px 5px); }
.lifecycle li:nth-child(2) i { background: radial-gradient(#b9d3e1 1.2px, transparent 1.4px) 0 0/8px 8px, #e3eff5; border-color: var(--tint-line); }
.lifecycle li:nth-child(3) i { background: repeating-linear-gradient(0deg, #cfe2d4 0 5px, #b9d4c1 5px 6px); border-color: #b9d4c1; }
.lifecycle li:nth-child(4) i { background: repeating-linear-gradient(60deg, #1a4636 0 5px, #143b2d 5px 6px); border-color: var(--dark); }
.lifecycle div { padding: 18px 20px 0 0; display: flex; flex-direction: column; gap: 8px; }
.lifecycle span { font: .75rem var(--f-mono); color: var(--sand-ink); text-transform: uppercase; }
.lifecycle li:nth-child(2) span { color: var(--tint-ink); } .lifecycle li:nth-child(3) span { color: var(--accent); } .lifecycle li:nth-child(4) span { color: var(--dark); }
.lifecycle p { font-size: .9375rem; line-height: 1.55; color: var(--ink2); }
.duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.panel { background: var(--surface); border: 1px solid var(--line2); padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.panel--tint { background: var(--tint); border-color: var(--tint-line); }
.panel h3 { font: 600 1.75rem var(--f-serif); color: var(--dark); }
.dl-rows > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.dl-rows > div:last-child { border-bottom: 1px solid var(--line); }
.dl-rows dd { font: .875rem var(--f-mono); color: var(--accent); }
.dl-addr { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 20px; font-size: .9375rem; }
.dl-addr dt { font: .75rem var(--f-mono); color: var(--tint-ink2); padding-top: 2px; }

/* ---------- Процедуры: аккордеон на главной ---------- */
.proc-list { display: flex; flex-direction: column; gap: 10px; }
.proc { background: var(--surface); border: 1px solid #c6d6de; border-radius: 2px; box-shadow: 0 1px 0 var(--tint-line), 0 3px 0 -1px #f2f7fa, 0 4px 0 -1px #c6d6de, 0 14px 24px -20px rgba(13, 51, 38, .5); }
.proc__head { width: 100%; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(14px, 2.4vw, 28px); align-items: center; padding: clamp(18px, 2vw, 24px) clamp(16px, 2.4vw, 28px); background: var(--surface); border: 0; text-align: left; cursor: pointer; color: var(--ink); }
.proc__head:hover, .proc__head[aria-expanded="true"] { background: #f4f9fb; }
.proc__n { font: .8125rem var(--f-mono); color: var(--tint-ink); align-self: start; padding-top: 6px; }
.proc__t { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.proc__title { font: 600 clamp(1.3125rem, 2vw, 1.625rem)/1.15 var(--f-serif); text-wrap: pretty; }
.proc__meta { display: flex; flex-wrap: wrap; gap: 6px 20px; font: .75rem var(--f-mono); color: var(--muted); }
.proc__chev { width: 40px; height: 40px; border: 1px solid var(--dark); display: flex; align-items: center; justify-content: center; background: var(--surface); color: var(--dark); transition: background .2s; }
.proc__head[aria-expanded="true"] .proc__chev { background: var(--dark); color: var(--on-dark); }
.proc__chev svg { transition: transform .25s; }
.proc__head[aria-expanded="true"] .proc__chev svg { transform: rotate(180deg); }
.proc__body { border-top: 1px solid #c6d6de; padding: 0 clamp(16px, 2.4vw, 28px) clamp(20px, 2.4vw, 28px); }
.proc__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); }
.proc__foot p { font: .75rem var(--f-mono); color: var(--muted); max-width: 60ch; }
.proc__acts { display: flex; flex-wrap: wrap; gap: 10px; }
.proc__acts .btn { min-height: 44px; font-size: .875rem; padding: 0 18px; }
.tabs__list { display: flex; border-bottom: 1px solid var(--line); margin: 0 0 22px; overflow-x: auto; }
.tabs__tab { height: 52px; padding: 0 20px; background: none; border: 0; border-bottom: 3px solid transparent; margin-bottom: -1px; font-size: .9375rem; font-weight: 600; color: var(--muted); cursor: pointer; white-space: nowrap; display: flex; align-items: center; gap: 8px; }
.tabs__tab:hover { color: var(--dark); }
.tabs__tab[aria-selected="true"] { color: var(--dark); border-bottom-color: var(--accent); }
.tabs__n { font: .6875rem var(--f-mono); font-weight: 400; color: var(--muted); }
.doclist { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 10px; }
.doclist li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; background: var(--bg); border: 1px solid #e1e6e2; border-left: 3px solid var(--accent); font-size: .9375rem; line-height: 1.45; }
.doclist__n { font: .75rem var(--f-mono); color: var(--accent); padding-top: 2px; }
.kv > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; padding: 14px 0; border-bottom: 1px dashed #c6d6de; font-size: .9375rem; }
.kv dt { color: var(--ink2); }
.kv dd { font: 500 .875rem var(--f-mono); color: var(--dark); text-align: right; }

/* ---------- Процедуры: страница-каталог ---------- */
.esub { background: var(--dark); color: var(--on-dark); padding: 24px; border-radius: 2px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 4px 0 -1px var(--accent); }
.esub .mono-label { color: var(--on-dark2); }
.esub p { line-height: 1.5; color: #e3efe8; }
.esub .btn { align-self: flex-start; background: var(--tint); color: var(--dark); }
.esub .btn:hover { background: #fff; color: var(--dark); }
.pcat-head { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 24px; margin-bottom: 28px; }
.ptools { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; padding-bottom: 20px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.ptools__search { flex: 1 1 280px; display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 14px; border: 1px solid #9fb1a8; border-radius: 2px; background: var(--surface); }
.ptools__search input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-size: 1rem; color: var(--ink); background: none; }
.ptools__search:focus-within { outline: 3px solid var(--focus); outline-offset: 1px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { height: 40px; padding: 0 14px; border: 1px solid #9fb1a8; background: var(--surface); color: var(--ink); font-size: .875rem; font-weight: 500; border-radius: 2px; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--dark); color: var(--on-dark); border-color: var(--dark); }
.check { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: .9375rem; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--accent); }
.pcount { font: .75rem var(--f-mono); color: var(--muted); margin-bottom: 16px; text-transform: uppercase; }
.pgrid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.plist { border: 1px solid var(--line2); border-bottom: 0; }
.plist__item { width: 100%; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; padding: 18px 20px 18px 16px; background: var(--surface); border: 0; border-left: 4px solid transparent; border-bottom: 1px solid var(--line2); text-align: left; cursor: pointer; color: var(--ink); }
.plist__item:hover { background: #f4f9fb; }
.plist__item[aria-pressed="true"] { background: #f4f9fb; border-left-color: var(--accent); }
.plist__n { font: .8125rem var(--f-mono); color: var(--tint-ink); padding-top: 3px; }
.plist__c { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.plist__cat { font: .6875rem var(--f-mono); letter-spacing: .06em; color: var(--muted); text-transform: uppercase; }
.plist__title { font: 600 1.375rem/1.15 var(--f-serif); text-wrap: pretty; }
.plist__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; font: .75rem var(--f-mono); color: var(--muted); }
.badge { padding: 3px 8px; background: var(--tint); color: var(--tint-ink2); border: 1px solid var(--tint-line); }
.plist__empty { padding: 40px 24px; border-bottom: 1px solid var(--line2); display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.plist__empty b { font: 600 1.625rem var(--f-serif); }
.pdetail { position: sticky; top: 140px; background: var(--surface); border: 1px solid #c6d6de; border-radius: 2px; box-shadow: 0 3px 0 -1px #f2f7fa, 0 4px 0 -1px #c6d6de, 0 24px 40px -32px rgba(13, 51, 38, .6); }
.pdetail__head { background: var(--dark); color: var(--on-dark); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.pdetail__head .mono-label { color: var(--on-dark2); letter-spacing: .06em; }
.pdetail__head h2 { font: 600 clamp(1.625rem, 2.4vw, 2rem)/1.1 var(--f-serif); text-wrap: pretty; }
.pdetail__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.pdetail__facts div { padding: 16px 24px; border-bottom: 1px solid var(--line); }
.pdetail__facts div:nth-child(odd) { border-right: 1px solid var(--line); }
.pdetail__facts div:nth-last-child(-n+2) { border-bottom: 0; }
.pdetail__facts dt { font: .6875rem var(--f-mono); color: var(--muted); }
.pdetail__facts dd { margin-top: 4px; font-weight: 600; }
.pdetail__body { padding: 0 24px 24px; }
.pdetail__dept { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 16px; font-size: .875rem; color: var(--ink2); }
.pdetail__dept .mono-label { display: block; margin-bottom: 4px; font-size: .6875rem; letter-spacing: 0; }
.pdetail__acts { display: flex; flex-wrap: wrap; gap: 10px; }
.pdetail__acts .btn { min-height: 44px; font-size: .875rem; padding: 0 18px; }

/* форма заявки */
.apply { margin-top: clamp(40px, 6vw, 72px); background: var(--bg); border: 1px solid var(--line); }
.apply__in { padding: clamp(24px, 4vw, 56px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.apply h2 { font: 600 clamp(2rem, 3.6vw, 3rem)/1.05 var(--f-serif); color: var(--dark); margin-top: 12px; }
.apply__lead { margin-top: 16px; line-height: 1.6; color: var(--ink2); }
.apply__steps { grid-template-columns: minmax(0, 1fr); margin-top: 28px; border-top: 2px solid var(--dark); }
.apply__steps li { padding: 16px 0 0; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; background: var(--surface); border: 1px solid #c6d6de; border-top: 4px solid var(--accent); padding: clamp(20px, 3vw, 32px); box-shadow: 0 24px 40px -32px rgba(13, 51, 38, .6); }
.form__f { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.form__f--full { grid-column: 1 / -1; }
.form label.lbl { font-size: .875rem; font-weight: 600; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form select, .form textarea { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid #9fb1a8; border-radius: 2px; background: #fff; color: var(--ink); font: inherit; font-size: 1rem; }
.form textarea { min-height: 120px; resize: vertical; }
.form .check { align-items: flex-start; min-height: 0; }
.form .check input { margin-top: 2px; flex: none; }
.form__go { display: flex; justify-content: flex-start; flex-wrap: wrap; gap: 14px; align-items: center; }
.form__go .btn { border: 0; }

/* ---------- Подвал ---------- */
.ftr { background: var(--dark); color: #d7e6dd; }
.ftr__banners { padding-top: 40px; }
.ftr__banners-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 16px; }
.ftr .mono-label { color: var(--on-dark2); }
.ftr__arrows { display: flex; gap: 8px; }
.arrow { width: 40px; height: 40px; background: none; border: 1px solid var(--dark-line); color: #fff; cursor: pointer; }
.arrow:hover { background: var(--dark-hover); }
.banners { list-style: none; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; margin: 0 -6px; padding: 0 6px; }
.banners::-webkit-scrollbar { display: none; }
.banners li { flex: 0 0 calc((100% - 24px) / 3); scroll-snap-align: start; }
.banners a { height: 96px; display: flex; align-items: flex-end; padding: 12px 14px; background: repeating-linear-gradient(135deg, #164536 0 9px, #123d2f 9px 10px); border: 1px solid #2f5d4c; color: #e3efe8; text-decoration: none; font: .8125rem var(--f-mono); }
.banners a:hover { border-color: var(--accent-light); color: #fff; }
.ftr__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 40px; padding-block: 56px 48px; }
.ftr__col { display: flex; flex-direction: column; gap: 12px; font-size: .9375rem; line-height: 1.5; min-width: 0; }
.ftr__logos { display: flex; gap: 14px; align-items: center; }
.ftr__logos img { width: auto; height: 72px; object-fit: contain; }
.brand--ftr .brand__name { font-size: 1.625rem; }
.ftr__org { font-size: .875rem; line-height: 1.55; color: #bcd3c6; }
.ftr__unp { font: .875rem var(--f-mono); color: var(--on-dark); }
.ftr__addr { font-style: normal; color: #fff; }
.ftr__phone { color: #fff; font: 600 1.75rem var(--f-serif); text-decoration: none; }
.ftr__phone:hover { color: #fff; text-decoration: underline; }
.ftr__hours { font-size: .8125rem; color: var(--on-dark2); }
.ftr__mail { color: var(--accent-soft); }
.ftr__menu { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.ftr__menu a, .ftr__official a { color: #fff; text-decoration: none; padding: 5px 0; display: block; }
.ftr__menu a:hover { color: var(--accent-light); }
.ftr__official { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.ftr__official a { display: flex; justify-content: space-between; align-items: center; min-height: 52px; padding: 0 16px; border: 1px solid var(--dark-line); font-size: .875rem; }
.ftr__official a:hover { background: var(--dark-hover); }
.ftr__bottom { background: var(--dark2); }
.ftr__bottom-in { padding-block: 16px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: .8125rem; color: var(--on-dark2); }

/* системные сообщения Joomla */
joomla-alert, .alert { display: block; margin: 0 0 20px; padding: 14px 18px; background: var(--tint); border-left: 4px solid var(--tint-ink); }
.alert-success { background: #e6f0e8; border-color: var(--accent); }
.alert-danger, .alert-error { background: #fbe9e7; border-color: #b3261e; }
joomla-alert .alert-heading, .alert .alert-heading { font-weight: 600; margin-right: 8px; }
joomla-alert button.joomla-alert--close { float: right; background: none; border: 0; font-size: 1.25rem; cursor: pointer; }

/* ---------- Адаптив ---------- */
@media (max-width: 1599px) { .tool--vi .tool__label { display: none; } .tool--vi { width: 40px; padding: 0; } }
@media (max-width: 959px) {
  .topbar__phone { display: none; }
  .tool--burger { display: inline-flex; }
  .hdr-main__in { gap: 12px; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); color: var(--ink); border-top: 3px solid var(--accent); max-height: calc(100vh - 130px); overflow-y: auto; box-shadow: 0 24px 40px -24px rgba(8, 36, 25, .45); }
  .nav.is-open { display: block; }
  .nav__l1 { display: block; height: auto; }
  .nav__item { display: block; border-bottom: 1px solid var(--line); }
  .nav__btn, .nav__link { width: 100%; min-height: 56px; height: auto; padding: 0 20px; justify-content: space-between; border: 0; color: var(--ink); font-size: 1.0625rem; font-weight: 600; text-align: left; }
  .nav__btn:hover, .nav__link:hover { background: #f4f9fb; color: var(--ink); }
  .nav__btn[aria-expanded="true"] { background: #f4f9fb; }
  .nav__panel { position: static; border: 0; box-shadow: none; background: #f2f6f8; }
  .nav__panel-in { display: block; padding: 0 20px 12px; }
  .nav__intro { display: none; }
  .nav__cols { display: block; }
  .nav__col { padding-top: 6px; }
  .nav__coltitle { display: flex; justify-content: space-between; align-items: center; min-height: 48px; margin: 0; padding: 0; border-bottom: 1px dashed #c8d6de; font: 600 .75rem var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--tint-ink); cursor: pointer; }
  .nav__coltitle .nav__chev { display: block; transition: transform .2s; }
  .nav__coltitle[aria-expanded="true"] .nav__chev { transform: rotate(180deg); }
  .nav__coltitle[aria-expanded="false"] + .nav__l3 { display: none; }
  .nav__l3 a { min-height: 44px; align-items: center; padding: 0 0 0 12px; font-size: 1rem; border-bottom: 1px dashed #c8d6de; }
  .nav__l3 a::after { content: none; }
  .nav .langs-m { display: flex; gap: 8px; padding: 16px 20px; }
  .tools__lang { display: none; }
  .nav .tools__lang-m .langs { border-color: var(--dark); }
  .nav .tools__lang-m .langs a, .nav .tools__lang-m .langs span { color: var(--dark); flex: 1; height: 44px; }
  .nav .tools__lang-m .langs { width: 100%; margin: 16px 20px; width: calc(100% - 40px); }
  .nav .tools__lang-m .langs .is-active { background: var(--dark); color: #fff; }
  .sub { grid-template-columns: minmax(0, 1fr); }
  .sub__aside, .pdetail { position: static; }
  .pgrid { grid-template-columns: minmax(0, 1fr); }
  .apply__in { grid-template-columns: minmax(0, 1fr); }
  .sys__main { grid-column: auto; }
  .about__body { grid-column: auto; }
  .banners li { flex-basis: calc((100% - 12px) / 2); }
}
@media (min-width: 960px) { .tools__lang-m { display: none; } }
@media (max-width: 767px) {
  .tools__lang { display: none; }
  .banners li { flex-basis: 100%; }
  .form { grid-template-columns: minmax(0, 1fr); }
  .brand__sub { display: none; }
  .brand__name { font-size: 1.375rem; }
  .strata { min-height: 380px; }
  .kv > div { grid-template-columns: minmax(0, 1fr); gap: 4px; } .kv dd { text-align: left; }
  .pdetail__facts { grid-template-columns: minmax(0, 1fr); } .pdetail__facts div:nth-child(odd) { border-right: 0; } .pdetail__facts div:nth-last-child(2) { border-bottom: 1px solid var(--line); }
}
@media (min-width: 768px) and (max-width: 959px) { .tools__lang { display: block; } }

/* ==========================================================================
   Версия для слабовидящих
   ========================================================================== */
html.vi-s1 { font-size: 125%; } html.vi-s2 { font-size: 150%; } html.vi-s3 { font-size: 175%; }
html.vi-sp body { letter-spacing: .06em; word-spacing: .16em; line-height: 1.8; }
html.vi a { text-decoration: underline; text-underline-offset: 3px; }
html.vi * { animation: none !important; transition: none !important; }
html.vi-noimg img, html.vi-noimg .strata, html.vi-noimg .card__bar { display: none !important; }
html.vi .hero, html.vi .phero, html.vi .proc, html.vi .card, html.vi .sys { background-image: none; box-shadow: none; }
html.vi-bw {
  --ink: #000; --ink2: #000; --muted: #000; --bg: #fff; --surface: #fff; --line: #000; --line2: #000; --grid: #fff;
  --dark: #fff; --dark2: #fff; --dark-line: #000; --dark-hover: #e6e6e6; --on-dark: #000; --on-dark2: #000; --on-dark3: #000;
  --accent: #000; --accent-h: #222; --on-accent: #fff; --accent-soft: #e6e6e6; --accent-light: #000;
  --tint: #fff; --tint-line: #000; --tint-ink: #000; --tint-ink2: #000; --sand: #fff; --sand-line: #000; --sand-ink: #000;
  --link: #000; --focus: #000; --focus-dark: #000;
}
html.vi-wb {
  --ink: #fff; --ink2: #fff; --muted: #fff; --bg: #000; --surface: #000; --line: #fff; --line2: #fff; --grid: #000;
  --dark: #000; --dark2: #000; --dark-line: #fff; --dark-hover: #333; --on-dark: #fff; --on-dark2: #fff; --on-dark3: #fff;
  --accent: #ffe600; --accent-h: #fff; --on-accent: #000; --accent-soft: #333; --accent-light: #ffe600;
  --tint: #000; --tint-line: #fff; --tint-ink: #ffe600; --tint-ink2: #ffe600; --sand: #000; --sand-line: #fff; --sand-ink: #ffe600;
  --link: #ffe600; --focus: #ffe600; --focus-dark: #ffe600;
}
html.vi-blue {
  --ink: #063462; --ink2: #063462; --muted: #063462; --bg: #9dd1ff; --surface: #9dd1ff; --line: #063462; --line2: #063462; --grid: #9dd1ff;
  --dark: #063462; --dark2: #063462; --dark-line: #9dd1ff; --dark-hover: #0a4a8c; --on-dark: #9dd1ff; --on-dark2: #9dd1ff; --on-dark3: #9dd1ff;
  --accent: #063462; --accent-h: #0a4a8c; --on-accent: #9dd1ff; --accent-soft: #cde8ff; --accent-light: #9dd1ff;
  --tint: #9dd1ff; --tint-line: #063462; --tint-ink: #063462; --tint-ink2: #063462; --sand: #9dd1ff; --sand-line: #063462; --sand-ink: #063462;
  --link: #063462; --focus: #063462; --focus-dark: #9dd1ff;
}
html.vi-bw .hero, html.vi-wb .hero, html.vi-blue .hero { background-image: none; }
html.vi-bw .hdr-main, html.vi-bw .topbar, html.vi-bw .ftr, html.vi-bw .ftr__bottom { border-bottom: 2px solid #000; }
html.vi .btn--ghost, html.vi .esub .btn, html.vi .cabinet .btn { background: var(--surface); color: var(--ink); border: 2px solid var(--ink); }
html.vi-wb .btn { border: 2px solid #fff; }
html.vi .brand__mark, html.vi .emblem { filter: none; }
html.vi-bw .brand__mark, html.vi-bw .nav__btn[aria-expanded="true"], html.vi-bw .nav__btn:hover { background: #e6e6e6; }
html.vi-bw .esub, html.vi-bw .cabinet, html.vi-bw .pdetail__head, html.vi-bw .page--dark .phero { border: 2px solid #000; }
html.vi-bw .page--dark .phero { background: #fff; color: #000; }
html.vi-wb .page--dark .phero, html.vi-blue .page--dark .phero { background-image: none; }
html.vi-wb .tool--vi:hover, html.vi-wb .tool--vi[aria-pressed="true"] { background: #fff; color: #000; }
html.vi .nav__panel { border-top-width: 3px; }
html.vi .tabs__tab[aria-selected="true"] { text-decoration: underline; }
