/* Radio Wave Service — минимализм с характером: белый, глубокий синий, сигнальный лайм.
   Шрифты: Unbounded (заголовки, перекликается с логотипом), Manrope (текст), JetBrains Mono (цифры, номера). */

@font-face { font-family: 'Unbounded'; font-weight: 200 900; font-display: swap; src: url(../fonts/unbounded-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Unbounded'; font-weight: 200 900; font-display: swap; src: url(../fonts/unbounded-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-weight: 200 800; font-display: swap; src: url(../fonts/manrope-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Manrope'; font-weight: 200 800; font-display: swap; src: url(../fonts/manrope-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: 'JetBrains Mono'; font-weight: 100 800; font-display: swap; src: url(../fonts/jetbrains-mono-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'JetBrains Mono'; font-weight: 100 800; font-display: swap; src: url(../fonts/jetbrains-mono-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ink: #0b2232;
  --ink-2: #133246;
  --ink-3: #1d4560;
  --blue: #1f6f9f;
  --blue-2: #2a8cc4;
  --steel: #8f9aa3;
  --muted: #56687a;
  --line: #e2e8ec;
  --line-2: #cfd8de;
  --mist: #f2f5f7;
  --paper: #ffffff;
  --lime: #c6ef4e;
  --lime-2: #b4e02f;
  --on-dark: #e8f0f5;
  --on-dark-muted: #9db1c0;
  --line-dark: rgba(255, 255, 255, .12);

  --f-display: 'Unbounded', 'Manrope', system-ui, sans-serif;
  --f-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;

  --gutter: clamp(16px, 4vw, 40px);
  --max: 1240px;
  --r: 22px;
  --r-sm: 14px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--f-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3 { margin: 0; font-weight: 500; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--lime); color: var(--ink); }
:focus-visible { outline: 2px solid var(--blue-2); outline-offset: 3px; border-radius: 6px; }

.container { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }
.i { width: 20px; height: 20px; flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- типографика ---------- */
h1, h2 { overflow-wrap: break-word; hyphens: auto; }
h1 { font-family: var(--f-display); font-weight: 500; font-size: clamp(36px, 5.6vw, 76px); line-height: 1.04; letter-spacing: -.035em; }
h2 { font-family: var(--f-display); font-weight: 500; font-size: clamp(27px, 3.4vw, 46px); line-height: 1.1; letter-spacing: -.03em; }
h3, .h3 { font-family: var(--f-display); font-weight: 500; font-size: clamp(19px, 1.6vw, 23px); line-height: 1.25; letter-spacing: -.015em; }
mark { color: inherit; background: linear-gradient(var(--lime), var(--lime)) no-repeat 0 86% / 100% .36em; -webkit-box-decoration-break: clone; box-decoration-break: clone; padding: 0 .05em; margin: 0 -.05em; animation: mark-in 1s .35s var(--ease) both; }
@keyframes mark-in { from { background-size: 0 .36em; } }
.eyebrow { display: flex; align-items: center; gap: 12px; font: 500 12.5px/1.3 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.section-dark .eyebrow { color: var(--on-dark-muted); }
.hero-lead, .section-lead { font-size: clamp(17px, 1.35vw, 19.5px); line-height: 1.6; color: var(--muted); max-width: 60ch; }
.section-dark .section-lead { color: var(--on-dark-muted); }
.fine { margin-top: 28px; font-size: 14px; color: var(--muted); max-width: 80ch; }
.section-dark .fine { color: var(--on-dark-muted); }

/* «волна» из столбиков — значок у подписей, как в логотипе */
.wave-mark { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
.wave-mark i { width: 3px; border-radius: 2px; background: currentColor; opacity: .55; animation: wm 1.6s var(--ease) infinite; }
.wave-mark i:nth-child(1) { height: 50%; animation-delay: 0s; }
.wave-mark i:nth-child(2) { height: 85%; animation-delay: .12s; }
.wave-mark i:nth-child(3) { height: 100%; animation-delay: .24s; background: var(--blue-2); opacity: 1; }
.wave-mark i:nth-child(4) { height: 70%; animation-delay: .36s; }
.wave-mark i:nth-child(5) { height: 40%; animation-delay: .48s; }
.section-dark .wave-mark i:nth-child(3) { background: var(--lime); }
@keyframes wm { 50% { transform: scaleY(.55); } }
.wave-mark i { transform-origin: bottom; }

/* ---------- кнопки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 24px; border-radius: 999px; font-weight: 700; font-size: 15.5px; letter-spacing: -.005em; white-space: nowrap; transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease); border: 1px solid transparent; }
.btn .i { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover .i:last-child { transform: translateX(3px); }
.btn:active { transform: scale(.98); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); }
.btn-accent { background: var(--lime); color: var(--ink); }
.btn-accent:hover { background: #d6f77a; }
.btn-ghost { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-ghost .i:first-child { width: 17px; height: 17px; }
.btn-glass { color: #fff; border-color: rgba(255, 255, 255, .38); background: rgba(255, 255, 255, .06); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn-glass:hover { border-color: #fff; background: rgba(255, 255, 255, .14); }
.btn-glass .i:first-child { width: 17px; height: 17px; }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14px; gap: 8px; }
.btn-lg { height: 58px; padding: 0 30px; font-size: 16.5px; }
.round-btn { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--ink); background: var(--paper); transition: background .2s, color .2s, border-color .2s; }
.round-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.round-btn[disabled] { opacity: .35; pointer-events: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); border-bottom: 1px solid var(--line-2); padding-bottom: 4px; transition: border-color .2s, gap .25s var(--ease); }
.link-arrow:hover { border-color: var(--ink); gap: 12px; }

/* ---------- шапка ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .82); -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { display: block; flex: none; }
.logo-svg { height: 42px; width: auto; overflow: visible; }
.logo-word { fill: var(--ink); }
.logo-svc { fill: var(--steel); }
.logo-g0 { stop-color: var(--steel); }
.logo-g1 { stop-color: var(--blue-2); }
.logo-wave rect { transform-box: fill-box; transform-origin: bottom; }
.brand:hover .logo-wave rect { animation: logo-bar .9s var(--ease) calc(var(--i) * 28ms) both; }
@keyframes logo-bar { 40% { transform: scaleY(.35); } }

.nav { margin-left: auto; }
.nav > ul { display: flex; align-items: center; gap: 2px; }
.nav-link { display: inline-flex; align-items: center; gap: 4px; padding: 9px 14px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--ink); transition: background .2s; }
.nav-link .i { width: 16px; height: 16px; transition: transform .25s; }
.nav-link:hover, .has-drop:focus-within > .nav-link, .has-drop:hover > .nav-link { background: var(--mist); }
.nav-link[aria-current] { background: var(--mist); box-shadow: inset 0 -2px 0 var(--ink); border-radius: 999px 999px 999px 999px; }
.has-drop { position: relative; }
.has-drop:hover .nav-link .i, .has-drop:focus-within .nav-link .i { transform: rotate(180deg); }
.drop { position: absolute; top: 100%; left: 50%; padding-top: 12px; transform: translate(-50%, 6px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .25s var(--ease), visibility .2s; }
.has-drop:hover .drop, .has-drop:focus-within .drop { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.drop-inner { width: 640px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 12px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 30px 60px -20px rgba(11, 34, 50, .25); }
.drop-item { display: flex; gap: 14px; padding: 14px; border-radius: var(--r-sm); transition: background .2s; }
.drop-item:hover { background: var(--mist); }
.drop-num { font: 500 12px/1.9 var(--f-mono); color: var(--steel); }
.drop-item b { display: block; font-weight: 700; font-size: 15px; line-height: 1.35; }
.drop-item small { display: block; margin-top: 4px; font-size: 13px; line-height: 1.45; color: var(--muted); }
.drop-all { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; padding: 14px; margin-top: 4px; border-top: 1px solid var(--line); font-weight: 700; font-size: 14.5px; }
.drop-all:hover { color: var(--blue); }

.header-cta { display: flex; align-items: center; gap: 18px; }
.header-phone { font: 500 14.5px var(--f-mono); letter-spacing: -.01em; color: var(--ink); white-space: nowrap; }
.header-phone:hover { color: var(--blue); }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.8px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), top .3s var(--ease); }
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 25px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 21px; transform: rotate(-45deg); }
.site-header .logo-word, .site-header .logo-svc, .nav-link, .header-phone { transition: fill .3s, color .3s, background .2s; }
.site-header.is-top { background: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.site-header.is-top .logo-word { fill: #fff; }
.site-header.is-top .logo-svc { fill: rgba(255, 255, 255, .7); }
.site-header.is-top .logo-g0 { stop-color: #8fa3b3; }
.site-header.is-top .logo-g1 { stop-color: var(--lime); }
.site-header.is-top .nav-link, .site-header.is-top .header-phone { color: #fff; }
.site-header.is-top .nav-link:hover, .site-header.is-top .has-drop:hover > .nav-link, .site-header.is-top .has-drop:focus-within > .nav-link { background: rgba(255, 255, 255, .12); }
.site-header.is-top .nav-link[aria-current] { background: rgba(255, 255, 255, .12); box-shadow: inset 0 -2px 0 var(--lime); }
.site-header.is-top .btn-dark { background: var(--lime); color: var(--ink); }
.site-header.is-top .burger { border-color: rgba(255, 255, 255, .4); }
.site-header.is-top .burger span { background: #fff; }
.mobile-menu { position: fixed; z-index: 55; inset: var(--header-h) 0 0; background: var(--paper); overflow-y: auto; padding: 18px 0 40px; border-top: 1px solid var(--line); }
.mobile-nav { display: grid; }
.mobile-nav a { font: 500 26px/1.2 var(--f-display); letter-spacing: -.02em; padding: 14px 0; border-bottom: 1px solid var(--line); }
.mobile-nav a[aria-current] { color: var(--blue); }
.mobile-svc { display: grid; gap: 2px; margin-top: 22px; }
.mobile-svc a { display: flex; gap: 12px; padding: 8px 0; font-weight: 600; font-size: 15.5px; }
.mobile-svc span { font: 500 12px/2 var(--f-mono); color: var(--steel); }
.mobile-contacts { display: grid; gap: 8px; margin-top: 26px; font: 500 17px var(--f-mono); }
.mobile-contacts span { font: 500 14px var(--f-body); color: var(--muted); }

/* ---------- секции ---------- */
.section { padding-block: clamp(72px, 9vw, 132px); }
.section-tight { padding-block: clamp(40px, 5vw, 72px); }
.section-top0 { padding-top: clamp(56px, 7vw, 96px); }
.section-mist { background: var(--mist); }
.section-dark { background: var(--ink); color: var(--on-dark); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 24px 56px; align-items: end; margin-bottom: clamp(36px, 4.5vw, 64px); }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head h2 { max-width: 20ch; }
.section-head .section-lead { justify-self: end; max-width: 46ch; }

/* ---------- герой ---------- */
.hero { position: relative; isolation: isolate; display: flex; min-height: max(100svh, 720px); margin-top: calc(-1 * var(--header-h)); overflow: hidden; background: var(--ink); color: #fff; }
.hero-slides { position: absolute; inset: 0; z-index: -2; overflow: hidden; container-type: size; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s var(--ease); }
.hero-slide.is-on { opacity: 1; }
.hero-frame { position: absolute; top: 50%; left: var(--fx); width: max(100cqw, 177.78cqh); aspect-ratio: 16 / 9; transform: translate(calc(-1 * var(--fx)), -50%); transform-origin: var(--fx) 35%; }
.hero-frame img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.1) contrast(1.06); }
.hero-frame img.is-flip { transform: scaleX(-1); }
.hero-slide.is-on .hero-frame, .hero-slide.is-leaving .hero-frame { animation: kenburns 12s linear both; }
@keyframes kenburns { from { scale: 1.02; } to { scale: 1.13; } }
.hero-shade { position: absolute; inset: 0; z-index: -1; pointer-events: none; background:
  linear-gradient(90deg, rgba(7, 24, 35, .9) 0%, rgba(7, 24, 35, .66) 32%, rgba(7, 24, 35, .14) 60%, rgba(7, 24, 35, 0) 78%),
  linear-gradient(0deg, rgba(7, 24, 35, .96) 0%, rgba(7, 24, 35, .6) 24%, rgba(7, 24, 35, 0) 50%),
  linear-gradient(180deg, rgba(7, 24, 35, .6) 0%, rgba(7, 24, 35, 0) 20%); }
.hero-waves { position: absolute; width: 0; height: 0; }
.hero-waves i { position: absolute; left: 0; top: 0; width: 34cqh; height: 34cqh; margin: -17cqh 0 0 -17cqh; border-radius: 50%; border: 3px solid transparent; border-left-color: var(--lime); border-right-color: var(--lime); filter: drop-shadow(0 0 6px rgba(198, 239, 78, .7)); opacity: 0; transform: scale(.06); animation: radio 3.6s cubic-bezier(.15, .55, .35, 1) infinite; }
.hero-waves i:nth-child(2) { animation-delay: .9s; }
.hero-waves i:nth-child(3) { animation-delay: 1.8s; }
.hero-waves i:nth-child(4) { animation-delay: 2.7s; }
.hero-waves b { position: absolute; left: -5px; top: -5px; width: 10px; height: 10px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(198, 239, 78, .25), 0 0 26px 8px rgba(198, 239, 78, .55); animation: beacon 2s ease-in-out infinite; }
.hero-slide:not(.is-on) .hero-waves { display: none; }
@keyframes radio { 0% { opacity: 0; transform: scale(.06); } 10% { opacity: 1; } 70% { opacity: .5; } 100% { opacity: 0; transform: scale(1); } }
@keyframes beacon { 50% { opacity: .45; } }
.hero-inner { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 48px; padding-top: calc(var(--header-h) + clamp(24px, 7vh, 96px)); padding-bottom: 22px; }
.hero h1 { color: #fff; font-size: clamp(42px, 7vw, 100px); letter-spacing: -.045em; line-height: .98; text-shadow: 0 2px 40px rgba(0, 0, 0, .25); }
.hero .eyebrow, .hero-dark .eyebrow, .band .eyebrow { color: rgba(255, 255, 255, .72); }
.hero .wave-mark i:nth-child(3), .hero-dark .wave-mark i:nth-child(3), .band .wave-mark i:nth-child(3) { background: var(--lime); }
.hero mark, .hero-dark mark { background: none; color: var(--lime); padding: 0; margin: 0; animation: none; }
.hero-grid { display: grid; gap: 26px; }
.hero-side { display: grid; grid-template-columns: minmax(0, 600px) auto; justify-content: space-between; align-items: end; gap: 24px 48px; }
.hero .hero-lead { color: rgba(232, 240, 245, .86); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-side .hero-actions { margin-top: 0; }
.hero-bottom { display: grid; gap: 20px; }
.hero-captions { display: flex; gap: 12px; }
.hero-cap { flex: 1; min-width: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; align-items: center; text-align: left; color: rgba(255, 255, 255, .5); font: 500 12px/1.3 var(--f-mono); letter-spacing: .02em; transition: color .3s; }
.hero-cap:hover, .hero-cap.is-on { color: #fff; }
.hc-bar { grid-column: 1 / -1; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .2); overflow: hidden; }
.hc-bar i { display: block; height: 100%; background: var(--lime); transform: scaleX(0); transform-origin: left; }
.hero-cap.is-on .hc-bar i { animation: cap-progress var(--slide-ms, 7000ms) linear both; }
.hero.is-paused .hero-cap.is-on .hc-bar i, .hero.is-paused .hero-frame, .hero.is-paused .hero-waves * { animation-play-state: paused; }
@keyframes cap-progress { to { transform: scaleX(1); } }
.hc-num { color: var(--lime); }
.hc-txt { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- тёмная шапка внутренних страниц ---------- */
.page-hero.hero-dark { position: relative; isolation: isolate; display: flex; flex-direction: column; min-height: min(86svh, 760px); margin-top: calc(-1 * var(--header-h)); padding: calc(var(--header-h) + clamp(18px, 3vw, 32px)) 0 clamp(56px, 7vw, 100px); overflow: hidden; background: var(--ink); color: #fff; }
.ph-media { position: absolute; top: 0; right: 0; bottom: 0; width: 68%; z-index: -1; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .55) 22%, #000 48%); mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .55) 22%, #000 48%); }
.ph-media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--fx, 60%) 50%; filter: saturate(1.08) contrast(1.05); animation: ph-in 1.8s var(--ease) both; }
.is-flip-media .ph-media img { transform: scaleX(-1); }
@keyframes ph-in { from { opacity: 0; scale: 1.07; } }
.ph-media::after { content: ''; position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(11, 34, 50, .6) 0%, rgba(11, 34, 50, .25) 50%, rgba(11, 34, 50, .04) 80%),
  linear-gradient(0deg, rgba(11, 34, 50, .75) 0%, rgba(11, 34, 50, 0) 36%),
  linear-gradient(180deg, rgba(11, 34, 50, .6) 0%, rgba(11, 34, 50, 0) 24%); }
.ph-inner { flex: 1; display: flex; flex-direction: column; }
.ph-text { margin-block: auto 0; max-width: 660px; padding-top: clamp(40px, 7vw, 96px); }
.hero-dark h1 { color: #fff; margin-bottom: 22px; text-shadow: 0 2px 40px rgba(0, 0, 0, .25); }
.hero-dark .hero-lead { color: rgba(232, 240, 245, .84); }
.hero-dark .crumbs { color: rgba(255, 255, 255, .55); margin-bottom: 0; }
.hero-dark .crumbs a:hover, .hero-dark .crumbs [aria-current] { color: #fff; }
.hero-dark .basis-chip { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.hero-dark .basis-chip small, .hero-dark .basis-chip em { color: rgba(255, 255, 255, .62); }

/* ---------- панорама ---------- */
.band { position: relative; isolation: isolate; display: flex; align-items: center; min-height: clamp(460px, 64vh, 700px); overflow: hidden; background: var(--ink); color: #fff; }
.band-media { position: absolute; inset: -14% 0; z-index: -2; will-change: transform; }
.band-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; filter: saturate(1.1) contrast(1.05); }
.band::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7, 24, 35, .88) 0%, rgba(7, 24, 35, .55) 45%, rgba(7, 24, 35, .1) 80%), linear-gradient(0deg, rgba(7, 24, 35, .45), transparent 40%); }
.band-inner { padding-block: 88px; }
.band h2 { color: #fff; max-width: 15ch; margin-bottom: 20px; font-size: clamp(30px, 4.2vw, 58px); }
.band p { max-width: 50ch; margin-bottom: 32px; color: rgba(232, 240, 245, .86); font-size: clamp(17px, 1.35vw, 19.5px); }

/* ---------- спектр ---------- */
.spectrum { position: relative; --sp-bar: var(--ink); --sp-dim: #c3ccd3; --sp-hi: var(--blue-2); --sp-grid: var(--line); }
.spectrum-dark { --sp-bar: #d4e1ea; --sp-dim: #3d5a6e; --sp-hi: var(--lime); --sp-grid: var(--line-dark); }
.spectrum-hero { --sp-bar: rgba(255, 255, 255, .9); --sp-dim: rgba(255, 255, 255, .32); --sp-grid: rgba(255, 255, 255, .16); }
.spectrum-hero .spectrum-stage { height: clamp(80px, 11vh, 120px); }
.spectrum-hero .spectrum-head { min-height: 36px; padding-bottom: 10px; }
.spectrum-dark .spectrum-axis { color: rgba(255, 255, 255, .5); }
.spectrum-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 44px; padding-bottom: 14px; border-bottom: 1px solid var(--sp-grid); }
.spectrum-readout { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; font: 500 13px/1.4 var(--f-mono); letter-spacing: .02em; }
.ro-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sp-hi); box-shadow: 0 0 0 0 var(--sp-hi); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--sp-hi) 60%, transparent); } 70% { box-shadow: 0 0 0 10px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.ro-name { font-weight: 700; }
.ro-range { color: var(--muted); }
.ro-svc { padding: 3px 9px; border-radius: 999px; background: var(--mist); font-size: 12px; }
.ro-svc:empty, .ro-range:empty { display: none; }
.spectrum-dark .ro-range { color: var(--on-dark-muted); }
.spectrum-dark .ro-svc { background: rgba(255, 255, 255, .08); }
.spectrum-legend { display: flex; align-items: center; gap: 10px; font: 500 12px var(--f-mono); color: var(--muted); white-space: nowrap; }
.spectrum-legend i { width: 22px; height: 0; border-bottom: 2px solid var(--sp-hi); }
.spectrum-dark .spectrum-legend { color: var(--on-dark-muted); }
.spectrum-stage { position: relative; height: clamp(150px, 19vw, 250px); cursor: crosshair; }
.spectrum-stage canvas { width: 100%; height: 100%; touch-action: pan-y; }
.spectrum-range { position: absolute; bottom: -1px; height: 0; border-bottom: 2px solid var(--sp-hi); pointer-events: none; }
.spectrum-axis { position: relative; height: 34px; border-top: 1px solid var(--sp-grid); font: 500 11px var(--f-mono); color: var(--steel); }
.spectrum-axis span { position: absolute; top: 9px; transform: translateX(-50%); white-space: nowrap; }
.spectrum-axis span::before { content: ''; position: absolute; left: 50%; top: -10px; height: 5px; border-left: 1px solid currentColor; }
.spectrum-axis span:first-child { transform: none; }
.spectrum-axis span:first-child::before { left: 0; }
.band-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 0 32px; margin-top: 40px; }
.band-list li { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 14px 4px; border-bottom: 1px solid var(--line-dark); cursor: pointer; transition: background .2s, padding .25s var(--ease); border-radius: 8px; }
.band-list li:hover, .band-list li.is-active { background: rgba(255, 255, 255, .05); padding-inline: 12px; }
.band-list li.is-active .b-name { color: var(--lime); }
.b-name { font-weight: 700; }
.b-range { grid-column: 1; font: 500 12.5px var(--f-mono); color: var(--on-dark-muted); }
.b-svc { grid-row: 1 / span 2; grid-column: 2; align-self: center; font: 500 11px var(--f-mono); color: var(--on-dark-muted); text-align: right; max-width: 12ch; }

/* ---------- цифры и клиенты ---------- */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fact { padding: 30px 28px 32px 0; display: grid; gap: 12px; align-content: start; }
.fact + .fact { padding-left: 28px; border-left: 1px solid var(--line); }
.fact b { font: 500 clamp(40px, 4.4vw, 60px)/1 var(--f-display); letter-spacing: -.045em; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.fact b span { white-space: nowrap; }
.fact b small { font: 500 15px var(--f-mono); letter-spacing: 0; color: var(--muted); }
.fact > span { font-size: 15px; line-height: 1.45; color: var(--muted); }
.clients { margin-top: clamp(40px, 5vw, 64px); display: grid; gap: 16px; }
.clients-label { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; font: 500 12.5px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--steel); }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 36px; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font: 500 clamp(22px, 2.6vw, 34px)/1.2 var(--f-display); letter-spacing: -.03em; color: var(--ink); white-space: nowrap; opacity: .82; }
.marquee-track i { width: 9px; height: 9px; border-radius: 3px; background: var(--lime); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- список услуг ---------- */
.svc-list { border-top: 1px solid var(--line); counter-reset: svc; }
.svc-row { border-bottom: 1px solid var(--line); }
.svc-row a { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1.05fr) 56px; grid-template-areas: "num title short arrow" "num title basis arrow"; gap: 4px 32px; align-items: center; padding: 30px 0; isolation: isolate; }
.svc-row a::before { content: ''; position: absolute; inset: 0 calc(-1 * min(20px, var(--gutter))); background: var(--mist); border-radius: var(--r-sm); z-index: -1; transform: scaleY(.6); opacity: 0; transition: transform .35s var(--ease), opacity .3s; }
.svc-row a:hover::before, .svc-row a:focus-visible::before { transform: none; opacity: 1; }
.svc-num { font: 500 13px var(--f-mono); color: var(--steel); }
.svc-row .svc-num { grid-area: num; }
.svc-row .svc-short { grid-area: short; }
.svc-row .svc-basis { grid-area: basis; }
.svc-title { grid-area: title; font: 500 clamp(21px, 2.1vw, 30px)/1.15 var(--f-display); letter-spacing: -.025em; transition: transform .35s var(--ease); }
.svc-row a:hover .svc-title { transform: translateX(8px); }
.svc-short { color: var(--muted); font-size: 16px; line-height: 1.5; }
.svc-basis { font: 500 12px var(--f-mono); color: var(--blue); letter-spacing: .01em; }
.svc-arrow { grid-area: arrow; justify-self: end; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-2); transition: background .3s, color .3s, border-color .3s, transform .35s var(--ease); }
.svc-row a:hover .svc-arrow { background: var(--ink); border-color: var(--ink); color: var(--lime); transform: rotate(-45deg); }
.svc-preview { position: fixed; left: 0; top: 0; z-index: 40; width: 300px; aspect-ratio: 16 / 10; border-radius: var(--r-sm); overflow: hidden; pointer-events: none; opacity: 0; transform: translate3d(-50%, -50%, 0) scale(.85); transition: opacity .25s, transform .35s var(--ease); background: var(--ink); box-shadow: 0 30px 60px -20px rgba(11, 34, 50, .45); }
.svc-preview.is-on { opacity: 1; }
.svc-preview img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- фото (тонировка в фирменный синий) ---------- */
.photo { position: relative; margin: 0; overflow: hidden; border-radius: var(--r); background: var(--ink); aspect-ratio: 4 / 3; }
.photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.06) contrast(1.04); transition: transform 1.2s var(--ease); }
.photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(11, 34, 50, .3)); pointer-events: none; }
.photo-tall { aspect-ratio: 4 / 4.4; }
.photo-dark { aspect-ratio: 16 / 11; }
a:hover .photo img, .photo:hover img { transform: scale(1.035); }

/* ---------- подбор ---------- */
.quiz { background: var(--paper); border: 1px solid var(--line); border-radius: calc(var(--r) + 6px); padding: clamp(22px, 3.4vw, 44px); box-shadow: 0 40px 80px -50px rgba(11, 34, 50, .35); }
.quiz-steps { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; font: 500 12.5px var(--f-mono); color: var(--steel); }
.quiz-steps span { white-space: nowrap; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); transition: background .3s, color .3s, border-color .3s; }
.quiz-steps span.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.quiz-steps span.is-done { color: var(--ink); border-color: var(--line-2); }
.quiz-step { border: 0; margin: 0; padding: 0; min-width: 0; animation: step-in .45s var(--ease); }
@keyframes step-in { from { opacity: 0; transform: translateY(12px); } }
.quiz-step legend { padding: 0; margin-bottom: 20px; font: 500 clamp(20px, 2vw, 26px)/1.2 var(--f-display); letter-spacing: -.02em; }
.quiz-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.quiz-opt { text-align: left; display: grid; gap: 6px; align-content: start; padding: 20px 22px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--paper); transition: border-color .2s, background .2s, transform .25s var(--ease); position: relative; }
.quiz-opt:hover { border-color: var(--ink); transform: translateY(-2px); }
.quiz-opt b { font-weight: 700; font-size: 16.5px; line-height: 1.3; padding-right: 26px; }
.quiz-opt small { font-size: 14px; line-height: 1.45; color: var(--muted); }
.quiz-opt::after { content: ''; position: absolute; top: 20px; right: 20px; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--line-2); transition: all .2s; }
.quiz-opt[data-multi]::after { border-radius: 5px; }
.quiz-opt.is-on { border-color: var(--ink); background: var(--mist); }
.quiz-opt.is-on::after { border-color: var(--ink); background: var(--ink); box-shadow: inset 0 0 0 4px var(--mist); }
.quiz-opt.is-on[data-multi]::after { background: var(--lime); border-color: var(--ink); box-shadow: inset 0 0 0 3px var(--ink); }
.quiz-nav { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 24px; }
.quiz-back { font-weight: 700; color: var(--muted); display: inline-flex; gap: 6px; align-items: center; }
.quiz-back:hover { color: var(--ink); }
.quiz-result h3 { margin-bottom: 8px; }
.quiz-result > p { color: var(--muted); margin-bottom: 22px; }
.quiz-picks { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.quiz-pick { display: grid; grid-template-columns: auto 1fr auto; gap: 4px 16px; align-items: center; padding: 20px 22px; border-radius: var(--r-sm); background: var(--ink); color: #fff; transition: transform .25s var(--ease), background .2s; }
.quiz-pick:hover { transform: translateY(-2px); background: var(--ink-2); }
.quiz-pick .n { grid-row: 1 / span 2; font: 500 12px var(--f-mono); color: var(--lime); align-self: start; padding-top: 4px; }
.quiz-pick b { font-weight: 700; font-size: 16.5px; }
.quiz-pick small { grid-column: 2; font-size: 13.5px; color: var(--on-dark-muted); line-height: 1.45; }
.quiz-pick .i { grid-row: 1 / span 2; grid-column: 3; color: var(--lime); }
.quiz-note { margin-top: 14px; font-size: 14.5px; color: var(--muted); }

/* ---------- лаборатории ---------- */
.lab-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 64px; align-items: center; margin-bottom: clamp(40px, 5vw, 64px); }
.lab-intro h2 { margin-bottom: 20px; max-width: 16ch; }
.lab-intro .btn { margin-top: 30px; }
.lab-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.lab-card { padding: clamp(24px, 3vw, 38px); border-radius: var(--r); border: 1px solid var(--line); background: var(--paper); display: flex; flex-direction: column; gap: 14px; }
.section-dark .lab-card { background: var(--ink-2); border-color: var(--line-dark); }
.lab-kicker { font: 500 12.5px var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--blue); }
.section-dark .lab-kicker { color: var(--lime); }
.lab-card > p:not(.lab-kicker) { color: var(--muted); font-size: 16px; }
.section-dark .lab-card > p:not(.lab-kicker) { color: var(--on-dark-muted); }
.lab-card dl { margin: auto 0 0; padding-top: 18px; border-top: 1px solid var(--line); display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; font-size: 14px; }
.section-dark .lab-card dl { border-color: var(--line-dark); }
.lab-card dt { color: var(--steel); }
.lab-card dd { margin: 0; font-family: var(--f-mono); font-weight: 600; text-align: right; }
.measures { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.measures li { display: grid; gap: 8px; align-content: start; padding: 26px 24px 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-height: 180px; transition: background .25s; }
.measures li:hover { background: var(--mist); }
.m-unit { font: 600 13px var(--f-mono); color: var(--blue); margin-bottom: 18px; }
.measures b { font: 500 18px/1.3 var(--f-display); letter-spacing: -.015em; }
.measures small { color: var(--muted); font-size: 14px; }

/* ---------- процесс ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: p; }
.process li { padding: 0 28px 0 0; display: grid; gap: 10px; align-content: start; }
.process-bars { display: flex; align-items: flex-end; gap: 4px; height: 34px; margin-bottom: 18px; }
.process-bars i { width: 6px; border-radius: 3px; background: var(--line-2); }
.process-bars i:nth-child(1) { height: 30%; }
.process-bars i:nth-child(2) { height: 55%; }
.process-bars i:nth-child(3) { height: 80%; }
.process-bars i:nth-child(4) { height: 100%; }
.process li:nth-child(1) .process-bars i:nth-child(-n + 1),
.process li:nth-child(2) .process-bars i:nth-child(-n + 2),
.process li:nth-child(3) .process-bars i:nth-child(-n + 3),
.process li:nth-child(4) .process-bars i:nth-child(-n + 4) { background: var(--ink); }
.process li:nth-child(4) .process-bars i:nth-child(4) { background: var(--lime-2); }
.process-num { font: 500 12.5px var(--f-mono); color: var(--steel); padding-top: 18px; border-top: 1px solid var(--line-2); }
.process h3 { font-size: 21px; }
.process p { color: var(--muted); font-size: 15.5px; }

/* ---------- письма, документы ---------- */
.carousel { position: relative; }
.carousel-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 20px) / 4); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > * { scroll-snap-align: start; }
.carousel-nav { display: flex; gap: 10px; margin-top: 28px; }
.letter, .doc { min-width: 0; text-align: left; display: grid; gap: 10px; align-content: start; }
.letter-paper, .doc-paper { position: relative; display: block; border-radius: var(--r-sm); overflow: hidden; background: #fff; border: 1px solid var(--line); aspect-ratio: 560 / 792; box-shadow: 0 1px 0 var(--line), 0 20px 40px -30px rgba(11, 34, 50, .4); transition: transform .4s var(--ease), box-shadow .4s; }
.letter-paper img, .doc-paper img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.letter:hover .letter-paper, .doc:hover .doc-paper { transform: translateY(-4px) rotate(-.6deg); box-shadow: 0 1px 0 var(--line), 0 30px 50px -28px rgba(11, 34, 50, .5); }
.letter-zoom { position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: var(--lime); opacity: 0; transform: scale(.8); transition: opacity .25s, transform .3s var(--ease); }
.letter:hover .letter-zoom, .doc:hover .letter-zoom, .letter:focus-visible .letter-zoom, .doc:focus-visible .letter-zoom { opacity: 1; transform: none; }
.letter > *, .doc > * { min-width: 0; max-width: 100%; }
.letter-org { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 10px; margin-top: 8px; font: 500 18px/1.25 var(--f-display); letter-spacing: -.015em; }
.letter-org small { font: 500 12px var(--f-mono); color: var(--steel); }
.letter-text { font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.lic-table { border-top: 1px solid var(--line); }
.lic-row { display: grid; grid-template-columns: 200px 1fr 140px 40px; gap: 24px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); transition: padding .3s var(--ease), background .3s; }
.lic-row:hover { padding-inline: 16px; background: var(--mist); }
.lic-num { font: 600 15px var(--f-mono); }
.lic-desc { color: var(--ink); }
.lic-kind { font: 500 12px var(--f-mono); color: var(--steel); text-transform: uppercase; letter-spacing: .06em; }
.lic-go { justify-self: end; color: var(--steel); }
.lic-row:hover .lic-go { color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.chip { height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); font-weight: 600; font-size: 15px; transition: all .2s; }
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.doc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 32px 20px; }
.doc-num { margin-top: 8px; font: 600 13px var(--f-mono); color: var(--blue); overflow-wrap: anywhere; }
.doc-title { font: 500 16.5px/1.3 var(--f-display); letter-spacing: -.01em; }
.doc-meta { font-size: 14px; color: var(--muted); }
.doc-meta em { font-style: normal; font: 500 11.5px var(--f-mono); padding: 2px 7px; border-radius: 6px; background: var(--mist); color: var(--ink); }
.doc-section + .doc-section { margin-top: 64px; }
.doc-h { margin-bottom: 28px; }
.doc.is-hidden, .doc-section.is-hidden { display: none; }

/* ---------- страницы услуг ---------- */
.page-hero { padding: clamp(28px, 4vw, 48px) 0 clamp(48px, 7vw, 96px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font: 500 12.5px var(--f-mono); color: var(--steel); margin-bottom: clamp(32px, 5vw, 64px); }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current] { color: var(--ink); }
.svc-hero h1 { font-size: clamp(32px, 4vw, 56px); }
.basis { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.basis-chip { display: grid; padding: 12px 16px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--mist); }
.basis-chip small { font: 500 11px var(--f-mono); letter-spacing: .05em; text-transform: uppercase; color: var(--steel); }
.basis-chip b { font: 600 16px var(--f-mono); margin-top: 2px; }
.basis-chip em { font-style: normal; font-size: 13px; color: var(--muted); }
.svc-cols { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px 80px; }
.svc-block .eyebrow { margin-bottom: 18px; }
.svc-block .eyebrow:not(:first-child) { margin-top: 44px; }
.checks { display: grid; gap: 0; border-top: 1px solid var(--line); }
.checks li { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 17.5px; line-height: 1.45; }
.checks .i { width: 22px; height: 22px; color: var(--blue); margin-top: 1px; }
.checks-light { border-color: var(--line-dark); }
.checks-light li { border-color: var(--line-dark); color: var(--on-dark); font-size: 16.5px; }
.checks-light .i { color: var(--lime); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 10px 16px; border-radius: 999px; background: var(--mist); font-weight: 600; font-size: 15px; }
.results { display: grid; gap: 10px; }
.results li { display: flex; gap: 14px; align-items: center; padding: 18px 20px; border-radius: var(--r-sm); background: var(--ink); color: #fff; font-weight: 600; }
.results .i { color: var(--lime); }
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px 80px; }
.faq-wrap h2 { margin-bottom: 16px; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 24px 0; cursor: pointer; list-style: none; font: 500 clamp(17px, 1.5vw, 20px)/1.35 var(--f-display); letter-spacing: -.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; border: 1px solid var(--line-2); transition: transform .3s var(--ease), background .2s, color .2s; }
.faq details[open] summary i { transform: rotate(45deg); background: var(--ink); color: #fff; border-color: var(--ink); }
.faq details p { padding: 0 60px 26px 0; color: var(--muted); font-size: 16.5px; }
.pager { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: center; padding-block: 32px 56px; }
.pager-link { display: grid; gap: 4px; padding: 20px 0; min-width: 0; }
.pager-link small { display: inline-flex; align-items: center; gap: 4px; font: 500 12px var(--f-mono); color: var(--steel); }
.pager-link small .i { width: 14px; height: 14px; }
.pager-link b { font: 500 18px/1.25 var(--f-display); letter-spacing: -.015em; transition: color .2s; }
.pager-link:hover b { color: var(--blue); }
.pager-next { text-align: right; justify-items: end; }
.pager-all { font-weight: 700; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-2); }
.pager-all:hover { border-color: var(--ink); }
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 20px; }
.svc-card { display: grid; gap: 18px; align-content: start; }
.svc-card .photo { aspect-ratio: 16 / 11; }
.svc-card-body { display: grid; gap: 8px; }
.svc-card .svc-num { font-size: 12.5px; }
.svc-card-title { font: 500 22px/1.2 var(--f-display); letter-spacing: -.02em; transition: color .2s; }
.svc-card:hover .svc-card-title { color: var(--blue); }

/* ---------- о компании ---------- */
.ph-text.about-hero { max-width: 760px; }
.about-hero h1 { font-size: clamp(32px, 4.2vw, 60px); }
.timeline { border-top: 1px solid var(--line); }
.timeline li { display: grid; grid-template-columns: 220px 1fr; gap: 16px 40px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.tl-year { font: 500 clamp(30px, 3.2vw, 44px)/1 var(--f-display); letter-spacing: -.04em; color: var(--ink); }
.timeline h3 { margin-bottom: 8px; }
.timeline p { color: var(--muted); max-width: 70ch; }
.tl-now .tl-year { color: var(--blue); }
.mission { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 80px; }
.mission-quote { font: 400 clamp(22px, 2.4vw, 32px)/1.35 var(--f-display); letter-spacing: -.02em; color: #fff; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.principles article { padding: 32px 30px 34px; border-radius: var(--r); background: var(--mist); display: grid; gap: 12px; align-content: start; }
.pr-tag { justify-self: start; font: 600 12px var(--f-mono); padding: 6px 10px; border-radius: 8px; background: var(--ink); color: var(--lime); margin-bottom: 24px; }
.principles p { color: var(--muted); font-size: 16px; }
.requisites { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; margin: 0; }
.requisites div { display: grid; grid-template-columns: 160px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.section-mist .requisites div { border-color: var(--line-2); }
.requisites dt { color: var(--steel); font-size: 15px; }
.requisites dd { margin: 0; font-weight: 600; }

/* ---------- контакты ---------- */
.contacts-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 20px; align-items: stretch; }
.contact-cards { display: grid; gap: 16px; }
.c-card { padding: 28px 30px; border-radius: var(--r); border: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.c-card-row { grid-template-columns: 1fr auto; align-items: end; }
.c-label { display: flex; gap: 10px; align-items: center; font: 500 12.5px var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--steel); margin-bottom: 6px; }
.c-label .i { width: 17px; height: 17px; }
.c-big { font: 500 21px/1.3 var(--f-display); letter-spacing: -.02em; }
.c-card p:not(.c-label):not(.c-big):not(.open-status) { color: var(--muted); }
.c-phone { display: flex; align-items: center; gap: 12px; }
.big-phone { font: 500 clamp(22px, 2.3vw, 30px)/1.25 var(--f-mono); letter-spacing: -.03em; transition: color .2s; }
.big-phone:hover { color: var(--blue); }
.copy-btn { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: var(--steel); transition: background .2s, color .2s; position: relative; }
.copy-btn:hover { background: var(--mist); color: var(--ink); }
.copy-btn.is-done::after { content: 'Скопировано'; position: absolute; left: 100%; margin-left: 6px; font: 500 12px var(--f-mono); color: var(--blue); white-space: nowrap; }
.route-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.route-links .i { width: 15px; height: 15px; }
.open-status { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; margin-top: 6px; }
.open-status .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--steel); }
.open-status.is-open .dot { background: #34b36a; box-shadow: 0 0 0 4px rgba(52, 179, 106, .18); }
.open-status.is-closed .dot { background: #e0864a; }
.map-wrap { position: relative; border-radius: var(--r); overflow: hidden; min-height: 460px; background: var(--mist); border: 1px solid var(--line); }
.map { position: absolute; inset: 0; z-index: 1; }
.map-fallback { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 8px; color: var(--muted); }
.map-fallback a { color: var(--blue); font-weight: 700; }
.map .leaflet-tile-pane { filter: grayscale(1) contrast(1.02) brightness(1.03); }
.rw-pin { position: relative; width: 22px; height: 22px; }
.rw-pin b { position: absolute; inset: 0; border-radius: 50%; background: var(--ink); border: 4px solid var(--lime); box-shadow: 0 6px 16px rgba(11, 34, 50, .35); }
.rw-pin i { position: absolute; inset: -14px; border-radius: 50%; border: 2px solid var(--blue-2); opacity: 0; animation: pin-wave 2.4s var(--ease) infinite; }
.rw-pin i:nth-child(2) { animation-delay: .8s; }
.rw-pin i:nth-child(3) { animation-delay: 1.6s; }
@keyframes pin-wave { 0% { transform: scale(.3); opacity: .9; } 100% { transform: scale(2.2); opacity: 0; } }
.leaflet-popup-content { font: 600 14px/1.45 var(--f-body) !important; color: var(--ink); }
.leaflet-popup-content a { color: var(--blue) !important; }

/* ---------- форма ---------- */
.section-form { background: var(--ink); color: var(--on-dark); }
.form-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px 80px; align-items: start; }
.section-form .eyebrow { color: var(--on-dark-muted); }
.section-form .wave-mark i:nth-child(3) { background: var(--lime); }
.form-intro h2 { color: #fff; margin-bottom: 20px; font-size: clamp(27px, 3vw, 40px); }
.form-note { color: var(--on-dark-muted); margin-bottom: 32px; max-width: 44ch; }
.form-phones { display: grid; gap: 6px; }
.form-phones .big-phone { color: #fff; }
.form-phones .big-phone:hover { color: var(--lime); }
.section-form .open-status { color: var(--on-dark); margin-top: 18px; }
.form-addr { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; color: var(--on-dark-muted); font-size: 15.5px; }
.form-addr .i { margin-top: 2px; width: 18px; height: 18px; color: var(--lime); }
.lead-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; padding: clamp(22px, 3vw, 40px); border-radius: calc(var(--r) + 4px); background: var(--paper); color: var(--ink); }
.field { display: grid; gap: 8px; min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: 14px; }
.field label small { font-weight: 500; color: var(--steel); margin-left: 4px; }
.field input, .field textarea, .field select { width: 100%; border: 1px solid var(--line-2); border-radius: 12px; background: var(--paper); padding: 14px 16px; font-size: 16px; transition: border-color .2s, box-shadow .2s; appearance: none; -webkit-appearance: none; }
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: #9aa7b2; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(42, 140, 196, .14); }
.field.is-invalid input { border-color: #d0573a; box-shadow: 0 0 0 4px rgba(208, 87, 58, .12); }
.select { position: relative; }
.select select { padding-right: 44px; cursor: pointer; }
.select .i { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--steel); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.45; color: var(--muted); cursor: pointer; position: relative; }
.consent input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; }
.consent .box { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; border: 1.5px solid var(--line-2); transition: background .2s, border-color .2s; }
.consent .box .i { width: 15px; height: 15px; color: var(--ink); opacity: 0; transform: scale(.6); transition: all .2s var(--ease); stroke-width: 2.6; }
.consent input:checked + .box { background: var(--lime); border-color: var(--ink); }
.consent input:checked + .box .i { opacity: 1; transform: none; }
.consent input:focus-visible + .box { outline: 2px solid var(--blue-2); outline-offset: 2px; }
.consent.is-invalid .box { border-color: #d0573a; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; margin-top: 4px; }
.form-status { font-size: 14.5px; font-weight: 600; }
.form-status.is-error { color: #c0492c; }
.form-status.is-ok { color: #23824a; }
.lead-form.is-sending button[type="submit"] { opacity: .6; pointer-events: none; }
.form-done { grid-column: 1 / -1; display: grid; gap: 14px; justify-items: start; padding: 20px 0; animation: step-in .45s var(--ease); }
.form-done .badge { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--lime); }
.form-done .badge .i { width: 30px; height: 30px; stroke-width: 2.4; }
.form-done p { color: var(--muted); max-width: 44ch; }

/* ---------- подвал ---------- */
.site-footer { background: #071823; color: var(--on-dark-muted); padding: 72px 0 32px; font-size: 15px; }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr .8fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--line-dark); }
.footer-brand .logo-svg { height: 46px; }
.footer-brand p { margin-top: 22px; max-width: 32ch; }
.footer-col h3 { font: 500 12px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.footer-col ul { display: grid; gap: 9px; }
.footer-col a:hover { color: var(--lime); }
.footer-contacts { display: grid; gap: 8px; align-content: start; }
.footer-phone { font: 500 16px var(--f-mono); color: #fff; }
.footer-contacts p { margin-top: 6px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-top: 26px; font-size: 13px; }
.footer-demo { font: 500 11.5px var(--f-mono); padding: 3px 8px; border-radius: 6px; border: 1px solid var(--line-dark); }

/* ---------- просмотр документов ---------- */
.lightbox { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(7, 24, 35, .96); color: #fff; overflow: hidden; }
.lightbox::backdrop { background: transparent; }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr; animation: lb-in .3s var(--ease); }
@keyframes lb-in { from { opacity: 0; } }
.lb-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px clamp(16px, 3vw, 28px); border-bottom: 1px solid var(--line-dark); }
.lb-info { display: grid; gap: 2px; min-width: 0; }
.lb-info b { font: 500 16px/1.3 var(--f-display); letter-spacing: -.01em; }
.lb-info span { font: 500 12px/1.4 var(--f-mono); color: var(--on-dark-muted); overflow: hidden; text-overflow: ellipsis; }
.lb-tools { display: flex; align-items: center; gap: 10px; flex: none; }
.lb-tools .round-btn { width: 44px; height: 44px; background: transparent; color: #fff; border-color: var(--line-dark); }
.lb-tools .round-btn:hover { background: #fff; color: var(--ink); }
.lb-count { font: 500 13px var(--f-mono); color: var(--on-dark-muted); padding: 0 6px; }
.lb-lang { display: flex; padding: 3px; border-radius: 999px; border: 1px solid var(--line-dark); }
.lb-lang button { height: 36px; padding: 0 14px; border-radius: 999px; font: 600 13px var(--f-mono); color: var(--on-dark-muted); }
.lb-lang button.is-active { background: var(--lime); color: var(--ink); }
.lb-stage { overflow: auto; display: grid; place-items: center; padding: 24px; cursor: zoom-in; }
.lb-stage img { max-height: calc(100vh - 130px); width: auto; max-width: 100%; border-radius: 6px; background: #fff; box-shadow: 0 40px 80px rgba(0, 0, 0, .5); transition: opacity .2s; }
.lb-stage.is-zoomed { cursor: zoom-out; place-items: start center; }
.lb-stage.is-zoomed img { max-height: none; max-width: none; width: min(1800px, 180vw); }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255, 255, 255, .08); color: #fff; border-color: transparent; }
.lb-prev { left: 16px; }
.lb-next { right: 16px; }
.lb-hint { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); font: 500 12px var(--f-mono); color: var(--on-dark-muted); pointer-events: none; }

/* ---------- 404 ---------- */


/* ---------- появление при прокрутке ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- адаптив ---------- */
@media (max-width: 1180px) {
  .header-phone { display: none; }
  .nav-link { padding: 9px 11px; }
}
@media (max-width: 1023px) {
  :root { --header-h: 66px; }
  .nav, .header-cta .btn { display: none; }
  .burger { display: block; }
  .header-cta { margin-left: auto; }
  .header-phone { display: block; font-size: 14px; }
  .logo-svg { height: 36px; }
  .hero-grid, .lab-intro, .form-grid, .mission, .faq-wrap, .svc-cols, .contacts-grid { grid-template-columns: minmax(0, 1fr); }
  .section-head { grid-template-columns: minmax(0, 1fr); }
  .section-head .section-lead { justify-self: start; }
  .hero-shade { background: linear-gradient(180deg, rgba(7, 24, 35, .62) 0%, rgba(7, 24, 35, .3) 28%, rgba(7, 24, 35, .72) 58%, rgba(7, 24, 35, .97) 100%); }
  .hero-inner { padding-top: calc(var(--header-h) + 48px); }
  .hero-side { grid-template-columns: minmax(0, 1fr); }
  .hc-txt { display: none; }
  .hero-cap { grid-template-columns: auto; }
  .page-hero.hero-dark { min-height: 0; }
  .ph-media { width: 100%; -webkit-mask-image: none; mask-image: none; }
  .ph-media::after { background: linear-gradient(180deg, rgba(11, 34, 50, .7) 0%, rgba(11, 34, 50, .5) 35%, rgba(11, 34, 50, .9) 80%, var(--ink) 100%); }
  .band-media img { object-position: 64% 55%; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .fact:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .svc-row a { grid-template-columns: 44px minmax(0, 1fr) 48px; grid-template-areas: "num title arrow" "num short arrow" "num basis arrow"; gap: 8px 18px; }
  .svc-arrow { width: 44px; height: 44px; }
  .svc-num { align-self: start; padding-top: 8px; }
  .measures { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 0; }
  .principles { grid-template-columns: minmax(0, 1fr); }
  .requisites { grid-template-columns: minmax(0, 1fr); }
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timeline li { grid-template-columns: 120px 1fr; }
  .lic-row { grid-template-columns: 170px 1fr 32px; }
  .lic-kind { display: none; }
  .photo-tall { aspect-ratio: 16 / 10; }
  .carousel-track { grid-auto-columns: minmax(240px, 42%); }
  .map-wrap { min-height: 380px; }
  .svc-preview { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .header-phone { display: none; }
  .hero h1 { font-size: clamp(34px, 10.8vw, 60px); }
  .hero h1 .dash { display: none; }
  .fact b { font-size: clamp(30px, 8.6vw, 40px); }
  .hero-actions .btn { flex: 1 1 auto; }
  .spectrum-legend { display: none; }
  .fact { padding: 22px 14px 24px 0; }
  .fact + .fact { padding-left: 14px; }
  .fact:nth-child(3) { padding-left: 0; }
  .fact > span { font-size: 13.5px; }
  .fact > span br { display: none; }
  .lab-cards, .svc-grid, .measures { grid-template-columns: minmax(0, 1fr); }
  .measures li { min-height: 0; }
  .process { grid-template-columns: minmax(0, 1fr); }
  .lead-form { grid-template-columns: minmax(0, 1fr); }
  .svc-hero h1, .about-hero h1 { font-size: clamp(26px, 7.6vw, 34px); }
  .hero { min-height: 100svh; }
  .hero-inner { gap: 36px; }
  .footer-top { grid-template-columns: minmax(0, 1fr); }
  .timeline li { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .lic-row { grid-template-columns: 1fr 28px; gap: 4px 12px; }
  .lic-num { grid-column: 1; }
  .lic-desc { grid-column: 1; font-size: 15px; color: var(--muted); }
  .lic-go { grid-row: 1 / span 2; grid-column: 2; }
  .requisites div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .carousel-track { grid-auto-columns: 78%; }
  .faq details p { padding-right: 0; }
  .pager { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pager-all { display: none; }
  .pager-link b { font-size: 15px; overflow-wrap: anywhere; }
  .c-card { padding: 22px; }
  .c-card-row { grid-template-columns: minmax(0, 1fr); }
  .lb-info span { display: none; }
  .lb-count { display: none; }
  .lb-prev, .lb-next { top: auto; bottom: 16px; transform: none; }
  .lb-hint { display: none; }
  .doc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; }
  .doc-title { font-size: 14.5px; }
  .letter-org { font-size: 15.5px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
@media print {
  .site-header, .site-footer, .section-form, .lightbox, .spectrum, .carousel-nav { display: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
