/* Биение тока: витрина v2. Один файл, без Тильды. */
:root {
  --bg: #000;
  --card: #0a0a0a;
  --line: #1f1f1f;
  --line-2: #2c2c2c;
  --text: #d6d6d6;
  --mute: #9a9a9a;
  --white: #fff;
  --acc: #89be49;
  --call: #199c68;
  --grad: linear-gradient(90deg, #2792e4 0%, #4eb2cd 48%, #4bb873 100%);
  --grad-v: linear-gradient(180deg, #2792e4 0%, #4eb2cd 48%, #4bb873 100%);
  --grad-title: linear-gradient(140deg, #448dd2 0%, #569da3 19%, #5ea585 38%, #68ae6f 56%, #73bc46 75%, #89be49 100%);
  --head: Oswald, "Arial Narrow", Arial, sans-serif;
  --body: Roboto, Arial, sans-serif;
  --max: 1160px;
  --pad: 20px;
  --sec: 96px;
  --gap: 48px;
  --radius: 14px;
  --hdr: 96px;
  --tabbar: 0px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (max-width: 960px) { :root { --sec: 72px; --gap: 40px; --hdr: 72px; } }
@media (max-width: 640px) { :root { --sec: 56px; --gap: 32px; --pad: 16px; --hdr: 64px; } }
@media (max-width: 980px) { :root { --tabbar: calc(66px + env(safe-area-inset-bottom)); } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--body);
  padding-bottom: var(--tabbar);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--acc); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 4px; }
::selection { background: #2c5f1a; color: #fff; }
[hidden] { display: none !important; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 1000; padding: 10px 16px; background: var(--acc); color: #000; font-weight: 600; border-radius: 8px; }
.skip:focus { top: 12px; color: #000; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--pad)); margin: 0 auto; padding: 0 var(--pad); }
.wrap-narrow { max-width: calc(820px + 2 * var(--pad)); }
.wrap-narrow-l { max-width: 760px; }
.center { text-align: center; }

/* Типографика */
.h1, .h2, .h3, .prose h2 { margin: 0; color: var(--white); font-family: var(--head); font-weight: 600; letter-spacing: .02em; text-transform: uppercase; text-wrap: balance; }
.h1 { font-size: clamp(30px, 4.2vw, 52px); line-height: 1.08; }
.h2 { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.15; }
.h2-l { margin-bottom: 24px; }
.h3 { font-size: 19px; font-weight: 500; line-height: 1.3; }
.lead { margin-top: 12px; color: var(--mute); font-size: 16px; line-height: 1.6; text-wrap: pretty; }
.lead-l { margin: 16px 0 0; max-width: 640px; font-size: 17px; color: #b8b8b8; }
.text { margin-top: 14px; max-width: 640px; color: var(--mute); }
.note { margin-top: 14px; color: #7c7c7c; font-size: 13px; }
.count { display: inline-block; min-width: 26px; padding: 4px 8px; border-radius: 12px; background: #151515; color: #8a8a8a; font: 500 12px/1 var(--body); letter-spacing: 0; text-align: center; }

/* Кнопки: прозрачные с градиентной рамкой, как на Тильде */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 28px;
  border: 2px solid transparent; border-radius: 10px;
  background: linear-gradient(#000, #000) padding-box, var(--grad) border-box;
  color: #fff; font: 600 15px/1 var(--head); letter-spacing: .06em; text-transform: uppercase;
  transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { background: var(--grad) border-box; color: #000; }
.btn:active { transform: translateY(1px); }
.btn-green { background: linear-gradient(#000, #000) padding-box, linear-gradient(90deg, #4bb873, #89be49) border-box; color: #9fd86a; }
.btn-green:hover { background: linear-gradient(90deg, #4bb873, #89be49) border-box; color: #000; }
.btn-ghost { background: linear-gradient(#000, #000) padding-box, linear-gradient(#333, #333) border-box; }
.btn-ghost:hover { background: linear-gradient(#000, #000) padding-box, linear-gradient(90deg, #89be49, #89be49) border-box; color: var(--acc); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 14px; }

/* Шапка */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(0, 0, 0, .86); backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.hdr.is-stuck { border-bottom-color: var(--line); }
.hdr::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--grad); opacity: 0; transition: opacity .3s; }
.hdr.is-stuck::after { opacity: .5; }
.hdr-in { display: flex; align-items: center; gap: 24px; height: var(--hdr); }
.hdr-logo { flex: 0 0 auto; }
.hdr-logo img { width: 300px; height: auto; }
.hdr-nav { display: flex; gap: 18px; margin-left: auto; }
.hdr-nav a { color: #fff; font: 600 15px/1 var(--head); letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.hdr-nav a:hover { color: var(--acc); }
.seek { position: relative; display: flex; align-items: center; gap: 8px; width: 170px; height: 40px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 10px; background: #0a0a0a; transition: width .25s var(--ease), border-color .2s; }
.seek:focus-within { width: 260px; border-color: var(--acc); }
.seek-ico, .find svg, .menu-find svg { width: 18px; height: 18px; flex: 0 0 18px; fill: none; stroke: var(--acc); stroke-width: 2; stroke-linecap: round; }
.seek input { flex: 1; min-width: 0; height: 38px; border: 0; outline: 0; background: transparent; color: #fff; font-size: 15px; }
.seek input::placeholder, .find input::placeholder, .menu-find input::placeholder, .fld input::placeholder, .fld textarea::placeholder { color: #6b6b6b; opacity: 1; }
.seek-drop { position: absolute; top: calc(100% + 8px); right: 0; width: min(440px, 90vw); max-height: 70vh; overflow: auto; background: #050505; border: 1px solid var(--line-2); border-radius: 12px; box-shadow: 0 20px 50px rgba(0, 0, 0, .6); z-index: 60; }
.seek-hit { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; border-top: 1px solid var(--line); color: #fff; font-size: 15px; }
.seek-hit:first-child { border-top: 0; }
.seek-hit:hover, .seek-hit.is-on { background: #0f1a0a; color: var(--acc); }
.seek-hit small { flex: 0 0 auto; color: var(--acc); font: 600 11px/1.6 var(--head); letter-spacing: .06em; text-transform: uppercase; }
.seek-empty { padding: 12px 14px; color: var(--mute); }
.burger { display: inline-flex; align-items: center; gap: 10px; height: 44px; color: #fff; font: 600 15px/1 var(--head); letter-spacing: .04em; text-transform: uppercase; }
.burger:hover { color: var(--acc); }
.burger-ico { display: grid; gap: 5px; width: 22px; }
.burger-ico i { display: block; height: 2px; background: currentColor; border-radius: 2px; }
@media (max-width: 1240px) { .hdr-nav { gap: 14px; } .hdr-nav a { font-size: 14px; } .hdr-logo img { width: 240px; } }
@media (max-width: 1100px) { .hdr-nav { display: none; } .seek { margin-left: auto; } }
@media (max-width: 980px) { .burger { display: none; } .hdr-logo img { width: 190px; } .seek { width: auto; flex: 1; max-width: 360px; } .seek:focus-within { width: auto; } }
@media (max-width: 520px) { .hdr-in { gap: 12px; } .hdr-logo img { width: 140px; } }

/* Секции */
.sec { position: relative; padding: var(--sec) 0; }
.sec-tight { padding: calc(var(--sec) * .6) 0; }
.sec-head { max-width: 720px; margin: 0 auto var(--gap); text-align: center; }

/* Главная: первый экран */
.hero { padding: clamp(40px, 8vw, 110px) 0 clamp(40px, 6vw, 80px); text-align: center; overflow: hidden; }
.current { width: min(500px, 80vw); margin: 0 auto; background: #000; overflow: hidden; }
.current svg { width: 100%; height: auto; }
.hero-t { margin: clamp(12px, 3vw, 32px) 0 0; font-weight: 700; }
.hero-brand { display: block; background: var(--grad-title); -webkit-background-clip: text; background-clip: text; color: transparent; font: 700 clamp(52px, 9vw, 104px)/1 var(--head); letter-spacing: .01em; text-transform: uppercase; }
.hero-sub { display: block; margin-top: 16px; color: #c4c4c4; font: 400 clamp(16px, 1.9vw, 21px)/1.3 var(--head); letter-spacing: .06em; text-transform: uppercase; }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 36px; }
.hero-cta-l { justify-content: flex-start; margin-top: 28px; }
.ticker { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; margin-top: 44px; color: #6e6e6e; font: 500 14px/1.4 var(--head); letter-spacing: .08em; text-transform: uppercase; }
.ticker li::before { content: "•"; margin-right: 8px; color: var(--acc); }
@media (max-width: 520px) { .hero-cta .btn { width: 100%; } .ticker { flex-direction: column; align-items: center; gap: 6px; } }

/* Карточки разделов на главной */
.cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.cat { display: flex; flex-direction: column; padding: 24px; border: 1px solid rgba(78, 178, 205, .16); border-radius: var(--radius); background: linear-gradient(180deg, rgba(31, 123, 208, .12), rgba(138, 201, 253, .03)); transition: border-color .2s; }
.cat:hover { border-color: rgba(137, 190, 73, .55); }
.cat-h { display: flex; align-items: center; gap: 12px; min-height: 44px; margin-bottom: 16px; color: #fff; font: 600 17px/1.25 var(--head); letter-spacing: .02em; text-transform: uppercase; }
.cat-h .bt-dev, .cat-h .bt-dev svg { width: 44px; height: 44px; flex: 0 0 44px; }
.cat ul { flex: 1; display: grid; align-content: start; gap: 8px; margin-bottom: 20px; }
.cat li a { color: var(--text); font-size: 15px; line-height: 1.4; }
.cat li a:hover { color: var(--acc); }
.cat-more { display: inline-flex; align-items: center; gap: 8px; color: var(--acc); font: 600 14px/1 var(--head); letter-spacing: .06em; text-transform: uppercase; }
.cat-more .count { background: rgba(137, 190, 73, .14); color: var(--acc); }
.bt-dev { display: block; line-height: 0; }
.bt-dev svg { width: 100%; height: 100%; }

/* Плитки брендов */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: 12px; }
.tile { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 64px; padding: 12px 10px; border: 1px solid var(--line); border-radius: 12px; background: #000; color: #eee; font: 500 14px/1.2 var(--head); letter-spacing: .04em; text-align: center; text-transform: uppercase; transition: border-color .2s, color .2s; }
.tile:hover { border-color: var(--acc); color: var(--acc); }
.tile small { color: #6c6c6c; font: 400 11px/1 var(--body); }
.tile.is-more { display: none; }
.tiles.is-open .tile.is-more { display: flex; }
.tiles-s { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.tiles-s .tile { min-height: 52px; justify-content: space-between; text-align: left; padding: 10px 14px; }
.more-wrap { margin-top: 32px; }
@media (max-width: 520px) { .tiles { grid-template-columns: repeat(2, 1fr); } }

/* Процесс */
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.steps::before { content: ""; position: absolute; top: 23px; left: calc(100% / 6); right: calc(100% / 6); height: 2px; background: var(--grad); }
.step { position: relative; text-align: center; }
.step-n { position: relative; z-index: 1; display: inline-grid; place-items: center; width: 48px; height: 48px; margin-bottom: 20px; border: 2px solid transparent; border-radius: 50%; background: linear-gradient(#000, #000) padding-box, var(--grad) border-box; color: #fff; font: 600 16px/1 var(--head); }
.step .h3 { margin-bottom: 10px; }
.step p { max-width: 320px; margin: 0 auto; color: var(--mute); }
@media (max-width: 640px) {
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps::before { top: 24px; bottom: 24px; left: 23px; right: auto; width: 2px; height: auto; background: var(--grad-v); }
  .step { padding-left: 72px; text-align: left; min-height: 48px; }
  .step-n { position: absolute; left: 0; top: 0; margin: 0; }
  .step .h3 { padding-top: 12px; }
  .step p { max-width: none; }
}

/* Преимущества */
.adv { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.adv-card { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 32px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); text-align: center; }
.adv-ico { display: grid; place-items: center; width: 112px; height: 112px; border-radius: 50%; background: #000; box-shadow: 0 0 0 1px #1c1c1c; }
.adv-ico img { width: 96px; height: 96px; }
.adv-card p { color: var(--mute); font-size: 15px; line-height: 1.5; }
@media (max-width: 960px) { .adv { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .adv { gap: 12px; } .adv-card { padding: 22px 12px; } .adv-ico { width: 84px; height: 84px; } .adv-ico img { width: 72px; height: 72px; } .adv-card .h3 { font-size: 16px; } .adv-card p { font-size: 13px; } }

/* Юр. лицам */
.coop { overflow: hidden; padding-bottom: 0; }
.coop .sec-head { margin-bottom: 28px; }
.coop-art { position: relative; margin-top: var(--gap); height: min(48vw, 560px); }
.coop-art img { width: 100%; height: 100%; object-fit: cover; }
.coop-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, #000 0, transparent 14%, transparent 86%, #000 100%), linear-gradient(to bottom, #000 0, transparent 18%, transparent 70%, #000 100%); pointer-events: none; }

/* Заявка */
.request-in { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.request-copy .lead { max-width: 440px; }
.request-points { display: grid; gap: 12px; margin-top: 28px; }
.request-points li { display: flex; align-items: center; gap: 12px; color: #cfcfcf; }
.request-points li::before { content: ""; width: 22px; height: 22px; flex: 0 0 22px; border-radius: 50%; background: rgba(137, 190, 73, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2389be49' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat; }
.request-form { display: grid; gap: 16px; padding: clamp(20px, 3vw, 32px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.fld { display: grid; gap: 8px; }
.fld span { color: #fff; font: 500 14px/1.2 var(--head); letter-spacing: .05em; text-transform: uppercase; }
.fld input, .fld textarea { width: 100%; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 10px; background: #000; color: #fff; font-size: 16px; line-height: 1.4; outline: 0; transition: border-color .2s; }
.fld textarea { resize: vertical; min-height: 96px; }
.fld input:focus, .fld textarea:focus { border-color: var(--acc); }
.fld input:user-invalid { border-color: #c2553d; }
.agree { display: flex; gap: 10px; align-items: flex-start; color: var(--mute); font-size: 13px; line-height: 1.5; }
.agree input { width: 18px; height: 18px; margin: 1px 0 0; flex: 0 0 18px; accent-color: var(--acc); }
.agree a { color: var(--acc); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-msg { min-height: 1.4em; color: var(--mute); font-size: 14px; }
.form-msg.is-err { color: #ff8a70; }
.request-form .btn, .modal .btn { width: 100%; }
@media (max-width: 860px) { .request-in { grid-template-columns: 1fr; } }

/* Вопросы */
.faq-list { border-top: 1px solid var(--line-2); }
.faq-item { border-bottom: 1px solid var(--line-2); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; color: #fff; font: 500 18px/1.35 var(--head); letter-spacing: .02em; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--acc); }
.plus { position: relative; width: 20px; height: 20px; flex: 0 0 20px; }
.plus::before, .plus::after { content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 2px; background: currentColor; transition: transform .25s var(--ease); }
.plus::after { transform: rotate(90deg); }
.faq-item[open] .plus::after { transform: rotate(0); }
.faq-item p { padding: 0 40px 22px 0; color: var(--mute); }
.faq-item::details-content { block-size: 0; overflow: hidden; transition: block-size .3s var(--ease), content-visibility .3s allow-discrete; }
.faq-item[open]::details-content { block-size: auto; }
@supports (interpolate-size: allow-keywords) { :root { interpolate-size: allow-keywords; } }

/* Контакты */
.contacts { border-top: 1px solid var(--line); }
.contacts-in { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.contacts-list { display: grid; gap: 18px; margin: 28px 0 0; }
.contacts-list div { display: grid; gap: 4px; }
.contacts-list dt { color: #777; font: 500 12px/1 var(--head); letter-spacing: .08em; text-transform: uppercase; }
.contacts-list dd { margin: 0; color: #eee; font-size: 17px; }
.contacts-list a:hover { color: var(--acc); }
.contacts-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.contacts-map { position: relative; aspect-ratio: 4 / 3; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #0a0a0a; }
.contacts-map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.35) contrast(1.05); }
@media (max-width: 860px) { .contacts-in { grid-template-columns: 1fr; } }

/* Подвал */
.ftr { padding: var(--gap) 0 calc(var(--gap) + 12px); border-top: 1px solid var(--line); text-align: center; }
.rates { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-bottom: var(--gap); }
.rates .bt-rate { display: flex; align-items: center; justify-content: center; gap: 14px; flex: 0 1 260px; min-height: 76px; padding: 14px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #000; color: #fff; transition: border-color .2s; }
.rates .bt-rate:hover { border-color: var(--acc); color: #fff; }
.bt-rate-logo svg { width: 40px; height: 40px; }
.bt-rate-body { display: flex; align-items: center; gap: 12px; }
.bt-rate-num, .bt-rate-name { color: #fff; font: 600 30px/1 var(--head); }
.bt-rate-meta { display: grid; gap: 4px; text-align: left; }
.bt-rate-stars { color: var(--acc); font-size: 14px; letter-spacing: 2px; line-height: 1; }
.bt-rate-n { color: var(--mute); font-size: 13px; line-height: 1.2; }
.ftr-nav, .ftr-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; }
.ftr-nav a { color: #fff; font: 600 15px/1.2 var(--head); letter-spacing: .03em; }
.ftr-nav a:hover, .ftr-legal a:hover { color: var(--acc); }
.ftr-logo { display: inline-block; margin: var(--gap) 0; }
.ftr-logo img { width: min(300px, 80vw); height: auto; }
.ftr-legal a { color: var(--mute); font-size: 13px; }
.ftr-copy { max-width: 760px; margin: 20px auto 0; color: #666; font-size: 12px; line-height: 1.6; }
@media (max-width: 640px) { .rates .bt-rate { flex: 1 1 100%; } }

/* Нижний бар телефона */
.tabbar { display: none; }
@media (max-width: 980px) {
  .tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: grid; grid-template-columns: repeat(4, 1fr); height: var(--tabbar); padding-bottom: env(safe-area-inset-bottom); background: rgba(0, 0, 0, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid #262626; }
  .tabbar a, .tabbar button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: #fff; font-size: 12px; }
  .tabbar img { width: 24px; height: 24px; object-fit: contain; }
}

/* Плавающие кнопки: 20px от края и от низа, над баром */
.fab { position: fixed; z-index: 65; bottom: calc(var(--tabbar) + var(--cookie, 0px) + 20px); display: grid; place-items: center; transition: bottom .25s var(--ease), opacity .2s; }
.fab-up { left: 20px; width: 50px; height: 50px; color: #fff; }
.fab-up svg { width: 50px; height: 50px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.fab-up:hover { color: var(--acc); }
.fab-call { right: 20px; width: 60px; height: 60px; border-radius: 50%; background: var(--call); box-shadow: 0 8px 24px rgba(25, 156, 104, .35); }
.fab-call svg { width: 28px; height: 28px; fill: #fff; }
.fab-call::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--call); animation: ring 2.4s var(--ease) infinite; }
@keyframes ring { 0% { transform: scale(1); opacity: .8; } 80%, 100% { transform: scale(1.5); opacity: 0; } }

/* Модальные окна и меню услуг на <dialog> */
dialog { padding: 0; border: 0; color: inherit; background: transparent; max-width: none; max-height: none; }
dialog::backdrop { background: rgba(0, 0, 0, .7); backdrop-filter: blur(4px); }
.x { position: relative; width: 44px; height: 44px; flex: 0 0 44px; }
.x::before, .x::after { content: ""; position: absolute; left: 11px; right: 11px; top: 21px; height: 2px; background: #fff; transform: rotate(45deg); }
.x::after { transform: rotate(-45deg); }
.x:hover::before, .x:hover::after { background: var(--acc); }
.modal { width: min(440px, calc(100vw - 32px)); margin: auto; }
.modal-in { position: relative; display: grid; gap: 16px; padding: 32px 24px 24px; border: 1px solid var(--line-2); border-radius: 18px; background: #050505; }
.modal .x { position: absolute; top: 8px; right: 8px; }
.modal-t { padding-right: 40px; color: #fff; font: 600 22px/1.2 var(--head); letter-spacing: .02em; text-transform: uppercase; }
.modal-alt { color: var(--mute); font-size: 14px; }
.modal-alt a { color: var(--acc); }
.modal[open] { animation: pop .25s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }

/* Меню услуг. ПК: панель под шапкой, слева разделы, справа услуги выбранного раздела. */
.menu { position: fixed; inset: var(--hdr) 0 auto; width: min(1200px, calc(100vw - 32px)); max-height: calc(100dvh - var(--hdr) - 24px); margin: 0 auto; border: 1px solid var(--line-2); border-radius: 0 0 18px 18px; background: #050505; box-shadow: 0 30px 80px rgba(0, 0, 0, .7); overflow: hidden; }
.menu[open] { display: flex; flex-direction: column; animation: drop .22s var(--ease); }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } }
.menu::backdrop { background: rgba(0, 0, 0, .55); backdrop-filter: blur(2px); }
.menu-bar { flex: 0 0 auto; border-bottom: 1px solid var(--line); }
.menu-bar::before { content: ""; display: block; height: 2px; background: var(--grad); }
.menu-head { display: flex; align-items: center; gap: 16px; padding: 14px 16px 14px 24px; }
.menu-t { display: none; color: #fff; font: 600 20px/1 var(--head); letter-spacing: .04em; text-transform: uppercase; }
.menu-find { display: flex; align-items: center; gap: 10px; flex: 1; height: 46px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 10px; background: #000; cursor: text; }
.menu-find:focus-within { border-color: var(--acc); }
.menu-find input { flex: 1; min-width: 0; height: 44px; border: 0; outline: 0; background: transparent; color: #fff; font-size: 15px; }
.menu-brands { flex: 0 0 auto; color: var(--acc); font: 600 14px/1 var(--head); letter-spacing: .06em; text-transform: uppercase; }
.menu-brands:hover { color: #fff; }
.menu-body { flex: 1; min-height: 0; display: grid; grid-template-columns: 320px 1fr; }
.menu-rail { overflow: auto; overscroll-behavior: contain; padding: 8px; border-right: 1px solid var(--line); background: #030303; }
.menu-tab { display: flex; align-items: center; gap: 10px; width: 100%; padding: 6px 10px; border-radius: 8px; color: #d8d8d8; font: 400 14px/1.3 var(--body); text-align: left; transition: background .15s, color .15s; }
.menu-tab .bt-dev, .menu-tab .bt-dev svg { width: 24px; height: 24px; flex: 0 0 24px; }
.menu-tab .count { font-size: 12px; color: #777; }
.menu-tab-t { flex: 1; min-width: 0; }
.menu-tab:hover { background: #0f0f0f; color: #fff; }
.menu-tab.is-on { background: #0f1a0a; color: var(--acc); box-shadow: inset 3px 0 0 var(--acc); }
.menu-tab.is-on .count { background: rgba(137, 190, 73, .16); color: var(--acc); }
.menu-panels { overflow: auto; overscroll-behavior: contain; }
.menu-cat { display: none; }
.menu-cat.is-on { display: block; }
.menu-h { display: none; }
.menu-pane { padding: 22px 28px 28px; }
.menu-pane-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.menu-pane-t { color: #fff; font: 600 22px/1.15 var(--head); letter-spacing: .03em; text-transform: uppercase; }
.menu-pane-all, .menu-all a { color: var(--acc); font: 600 13px/1.3 var(--head); letter-spacing: .06em; text-transform: uppercase; }
.menu-pane-all::after { content: " →"; }
.menu-list { columns: 3 200px; column-gap: 28px; }
.menu-list li { break-inside: avoid; }
.menu-list a { display: block; padding: 5px 0; color: #cfcfcf; font-size: 14px; line-height: 1.35; }
.menu-list a:hover, .menu-list a:focus-visible { color: var(--acc); }
.menu-all { display: none; }
.menu-pop { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.menu-pop-t { margin-bottom: 10px; color: #777; font: 500 12px/1 var(--head); letter-spacing: .08em; text-transform: uppercase; }
.menu-pop-list { display: flex; flex-wrap: wrap; gap: 8px; }
.menu-pop-list a { padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 999px; color: #ddd; font-size: 13px; }
.menu-pop-list a:hover { border-color: var(--acc); color: var(--acc); }
.menu-results { grid-column: 1 / -1; overflow: auto; overscroll-behavior: contain; padding: 12px 16px 20px; }
.menu.is-find .menu-rail, .menu.is-find .menu-panels { display: none; }
.mr-group + .mr-group { margin-top: 14px; }
.mr-t { padding: 8px 10px; color: #777; font: 500 12px/1 var(--head); letter-spacing: .08em; text-transform: uppercase; }
.mr-item { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 11px 12px; border-radius: 10px; color: #eee; font-size: 16px; }
.mr-item small { flex: 0 0 auto; color: #777; font-size: 13px; }
.mr-item:hover, .mr-item.is-on { background: #0f1a0a; color: var(--acc); }
.mr-item mark { background: none; color: var(--acc); }
.mr-empty { padding: 16px 12px; color: var(--mute); }
.mr-more { display: inline-block; margin: 12px 12px 0; color: var(--acc); font: 600 13px/1.3 var(--head); letter-spacing: .06em; text-transform: uppercase; }

/* Телефон: на весь экран, разделы раскрываются по нажатию */
@media (max-width: 800px) {
  .menu { inset: 0; width: 100%; max-height: none; height: 100%; border: 0; border-radius: 0; background: #000; }
  .menu::backdrop { background: #000; }
  .menu-head { flex-wrap: wrap; gap: 12px; padding: 12px var(--pad); }
  .menu-t { display: block; }
  .menu .x { margin-left: auto; }
  .menu-brands { display: none; }
  .menu-find { order: 3; flex: 1 1 100%; }
  .menu-body { display: block; overflow: auto; overscroll-behavior: contain; padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
  .menu-rail { display: none; }
  .menu-panels { overflow: visible; }
  .menu-cat, .menu-cat.is-on { display: block; border-bottom: 1px solid var(--line); }
  .menu-h { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 60px; padding: 10px var(--pad); color: #fff; font: 600 15px/1.25 var(--head); letter-spacing: .03em; text-align: left; text-transform: uppercase; }
  .menu-h .bt-dev, .menu-h .bt-dev svg { width: 36px; height: 36px; flex: 0 0 36px; }
  .menu-h-t { flex: 1; min-width: 0; }
  .chev { display: block; width: 10px; height: 10px; margin: 0 4px 4px; border-right: 2px solid #8a8a8a; border-bottom: 2px solid #8a8a8a; transform: rotate(45deg); transition: transform .2s; }
  .menu-cat.is-open .chev { margin: 4px 4px 0; transform: rotate(-135deg); }
  .menu-pane { display: none; padding: 0 var(--pad) 16px 64px; }
  .menu-cat.is-open .menu-pane { display: block; }
  .menu-pane-head, .menu-pop { display: none; }
  .menu-list { columns: auto; }
  .menu-list a { padding: 10px 0; font-size: 16px; }
  .menu-all { display: block; }
  .menu-all a { display: block; padding-top: 10px; }
  .menu.is-find .menu-panels { display: none; }
  .menu-results { padding: 8px var(--pad) 24px; }
}

/* Внутренние страницы */
.page-hero { padding: 28px 0 calc(var(--sec) * .6); }
.page-hero-center { padding: var(--sec) 0; }
.page-hero-in { display: flex; align-items: center; justify-content: space-between; gap: 48px; margin-top: 20px; }
.page-hero-copy { flex: 1 1 560px; min-width: 0; max-width: 660px; }
.page-hero-art { position: relative; flex: 0 0 438px; aspect-ratio: 438 / 389; }
.page-hero-art::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 36%; background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, .3) 40%, #000); pointer-events: none; }
.hero-img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; }
.art-icon { display: grid; place-items: center; width: 100%; height: 100%; padding: 18%; }
.brand-mark { display: grid; place-items: center; flex: 0 0 400px; height: 280px; padding: 24px; border: 1px solid rgba(78, 178, 205, .2); border-radius: 18px; background: radial-gradient(ellipse at 50% 120%, rgba(39, 146, 228, .22), transparent 60%), #000; overflow: hidden; }
.brand-mark img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.brand-mark span { max-width: 100%; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font: 700 clamp(40px, 5vw, 72px)/1 var(--head); text-align: center; text-transform: uppercase; overflow-wrap: anywhere; }
.facts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.facts li { display: grid; gap: 4px; min-width: 128px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 12px; }
.facts b { color: #fff; font: 600 26px/1 var(--head); }
.facts span { color: var(--mute); font-size: 13px; }
@media (max-width: 960px) { .page-hero-art { flex-basis: 300px; } .brand-mark { flex-basis: 300px; height: 220px; } }
@media (max-width: 760px) {
  .page-hero-in { flex-direction: column; align-items: stretch; gap: 24px; }
  .page-hero-art { order: -1; flex: 0 0 auto; width: min(360px, 100%); margin: 0 auto; }
  .brand-mark { display: none; }
  .hero-cta-l .btn { flex: 1 1 auto; }
}
@media (max-width: 420px) { .facts li { flex: 1 1 0; min-width: 0; padding: 12px; } .facts b { font-size: 22px; } }

.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; color: #7b7b7b; font: 400 13px/1.4 var(--head); letter-spacing: .03em; }
.crumbs li:not(:last-child)::after { content: "/"; margin: 0 10px; color: #444; }
.crumbs a { color: var(--acc); }
.crumbs a:hover { color: #fff; }

/* Карточки услуг */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #000; color: #fff; transition: border-color .2s, transform .2s var(--ease); }
.card:hover { border-color: var(--acc); color: #fff; transform: translateY(-2px); }
.card-art { display: block; aspect-ratio: 4 / 3; background: #000; border-bottom: 1px solid var(--line); }
.card-img { width: 100%; height: 100%; object-fit: contain; }
.card-body { display: flex; flex-direction: column; flex: 1; gap: 6px; padding: 16px 18px 18px; }
.card-sub { color: var(--mute); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.card-t { font: 500 17px/1.3 var(--head); letter-spacing: .02em; text-transform: uppercase; }
.card:hover .card-t { color: var(--acc); }
.card-go { margin-top: auto; padding-top: 8px; color: var(--acc); font: 600 13px/1.3 var(--head); letter-spacing: .06em; text-transform: uppercase; }
@media (max-width: 560px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } .card-body { padding: 12px 14px 14px; } .card-t { font-size: 15px; } }

/* Прайс */
.tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tier { display: flex; flex-direction: column; gap: 8px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.tier-name { color: #fff; font: 600 17px/1.2 var(--head); letter-spacing: .03em; text-transform: uppercase; }
.tier-desc { flex: 1; color: var(--mute); font-size: 14px; line-height: 1.5; }
.tier-price { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font: 600 20px/1.25 var(--head); }
@media (max-width: 960px) { .tiers { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .tiers { grid-template-columns: 1fr; } }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.price { width: 100%; border-collapse: collapse; }
.price th, .price td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.price tr:last-child td { border-bottom: 0; }
.price th { color: var(--acc); font: 600 13px/1.2 var(--head); letter-spacing: .06em; text-transform: uppercase; background: #070707; }
.price td { color: #ddd; font-size: 15px; }
.price-v { color: #fff !important; font-weight: 500; }
.nw { white-space: nowrap; }
@media (max-width: 560px) { .price th, .price td { padding: 12px; font-size: 14px; } }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; padding: 9px 16px; border: 1px solid var(--line-2); border-radius: 999px; background: #000; color: #ddd; font-size: 13px; font-weight: 500; transition: border-color .2s, color .2s, background .2s; }
.chip:hover { border-color: var(--acc); color: var(--acc); }
.chip.is-on { border-color: var(--acc); background: var(--acc); color: #000; }

.prose { color: #cfcfcf; font-size: 16px; line-height: 1.7; }
.prose > * + * { margin-top: 14px; }
.prose h2 { margin-top: 36px; font-size: clamp(20px, 2.2vw, 26px); }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 22px; list-style: disc; }
.prose li + li { margin-top: 6px; }
.prose a { color: var(--acc); text-decoration: underline; text-underline-offset: 3px; }
.prose b { color: #fff; }

.find { display: flex; align-items: center; gap: 10px; max-width: 520px; height: 52px; margin-top: 24px; padding: 0 8px 0 16px; border: 1px solid var(--line-2); border-radius: 12px; background: #0a0a0a; }
.find:focus-within { border-color: var(--acc); }
.find input { flex: 1; min-width: 0; height: 50px; border: 0; outline: 0; background: transparent; color: #fff; font-size: 16px; }
.find-l { max-width: 640px; }
.page-hero-center .find { margin-left: auto; margin-right: auto; }
.alpha { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 24px; }
.alpha a { display: grid; place-items: center; min-width: 34px; height: 34px; padding: 0 8px; border: 1px solid var(--line); border-radius: 8px; color: #ccc; font: 500 14px/1 var(--head); }
.alpha a:hover { border-color: var(--acc); color: var(--acc); }
.letter + .letter { margin-top: 36px; }
.letter-h { margin: 0 0 14px; color: var(--acc); font: 600 24px/1 var(--head); }
.empty { color: var(--mute); }
.hits { display: grid; gap: 10px; }
.hit { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 12px; background: #000; color: #fff; }
.hit:hover { border-color: var(--acc); color: #fff; }
.hit-ico { width: 40px; height: 40px; flex: 0 0 40px; }
.hit-t { flex: 1; font-size: 16px; }
.hit-k { color: var(--acc); font: 600 12px/1 var(--head); letter-spacing: .06em; text-transform: uppercase; }
.big404 { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font: 700 clamp(90px, 16vw, 180px)/1 var(--head); }

/* Баннер cookie */
.cookie { position: fixed; z-index: 66; left: 50%; bottom: calc(var(--tabbar) + 20px); transform: translateX(-50%); display: flex; align-items: center; gap: 16px; width: min(600px, calc(100vw - 32px)); padding: 14px 16px 14px 20px; border: 1px solid var(--line-2); border-radius: 14px; background: rgba(12, 12, 12, .96); backdrop-filter: blur(10px); box-shadow: 0 16px 40px rgba(0, 0, 0, .5); color: #cfcfcf; font-size: 14px; line-height: 1.45; }
.cookie a { color: var(--acc); }
.cookie .btn { flex: 0 0 auto; }
@media (max-width: 980px) { .cookie { bottom: var(--tabbar); left: 0; right: 0; width: auto; transform: none; border-radius: 14px 14px 0 0; border-bottom: 0; } }