/* ===== шрифты (свои файлы, без внешних запросов) ===== */
@font-face { font-family: "Manrope"; font-weight: 400 800; font-display: swap; src: url(/static/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: 400 800; font-display: swap; src: url(/static/fonts/manrope-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+20A0-20AB, U+20AD-20C4, U+2113; }
@font-face { font-family: "Manrope"; font-weight: 400 800; font-display: swap; src: url(/static/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+2000-206F, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Unbounded"; font-weight: 600 700; font-display: swap; src: url(/static/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: 600 700; font-display: swap; src: url(/static/fonts/unbounded-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+2122, U+2212; }

:root {
  --bg: #070b16;
  --bg-2: #0b1122;
  --card: #0e1528;
  --card-2: #121b33;
  --line: #1c2742;
  --line-2: #27355a;
  --ink: #e7edf9;
  --muted: #8d99b6;
  --dim: #5f6b88;
  --cyan: #22d3ee;
  --green: #3ef0a1;
  --amber: #ffb547;
  --red: #ff6b7a;
  --grad: linear-gradient(110deg, #22d3ee 0%, #3ef0a1 100%);
  --r: 16px;
  --mono: ui-monospace, "Cascadia Code", "JetBrains Mono", Consolas, monospace;
  --head: "Unbounded", "Manrope", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font: 500 17px/1.6 "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
::selection { background: rgba(34, 211, 238, .35); }
a { color: var(--cyan); text-decoration-color: rgba(34, 211, 238, .4); text-underline-offset: 3px; }
a:hover { color: var(--green); }
h1, h2, h3 { font-family: var(--head); font-weight: 700; line-height: 1.15; margin: 0 0 .55em; letter-spacing: -.01em; }
h1 { font-size: clamp(28px, 4.6vw, 52px); }
h2 { font-size: clamp(22px, 2.8vw, 34px); }
h3 { font-size: 17px; }
b, strong { font-weight: 800; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.sec { margin-top: 88px; margin-bottom: 88px; }
.sec-tight { margin-top: 32px; }
.sec.txt { margin-top: 52px; margin-bottom: 52px; }
.hero-sm .kicker { margin-top: 22px; }
.muted { color: var(--muted); font-size: 15px; }
.sub { color: var(--muted); font-size: 18px; margin: -6px 0 26px; max-width: 720px; }
.txt > * { max-width: 820px; }
.txt li { margin: .35em 0; }
.txt li::marker { color: var(--cyan); }
.txt h2 { margin-top: 1.2em; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ic { width: 24px; height: 24px; flex: none; }
.ic-s { width: 19px; height: 19px; }
.ic-box { width: 48px; height: 48px; padding: 11px; border-radius: 13px; color: var(--cyan); background: rgba(34, 211, 238, .08); border: 1px solid rgba(34, 211, 238, .2); }
.kicker { font-family: var(--mono); font-size: 13px; color: var(--cyan); letter-spacing: .04em; text-transform: lowercase; margin-bottom: 12px; }
.kicker span { color: var(--dim); }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(62, 240, 161, .18); margin-right: 7px; vertical-align: 1px; }

/* ===== кнопки ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  border: 0; border-radius: 12px; padding: 12px 20px; white-space: nowrap;
  font: inherit; font-weight: 800; text-decoration: none; cursor: pointer;
  transition: transform .12s, box-shadow .2s, background .2s, border-color .2s, color .2s;
}
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 16px 26px; font-size: 17px; border-radius: 14px; }
.btn-sm { padding: 8px 14px; font-size: 14px; }
.btn-grad { background: var(--grad); color: #03121a; box-shadow: 0 8px 28px -8px rgba(34, 211, 238, .55); }
.btn-grad:hover { color: #03121a; box-shadow: 0 10px 34px -6px rgba(62, 240, 161, .6); transform: translateY(-1px); }
.btn-ghost { background: rgba(255, 255, 255, .03); color: var(--ink); border: 1px solid var(--line-2); }
.btn-ghost:hover { color: var(--ink); border-color: var(--cyan); background: rgba(34, 211, 238, .07); }
.btn:focus-visible, .chip:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }

/* ===== шапка ===== */
.hdr { position: sticky; top: 0; z-index: 30; background: rgba(7, 11, 22, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.hdr-in { display: flex; align-items: center; gap: 22px; min-height: 72px; }
.logo { display: flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; flex: none; }
.logo:hover { color: var(--ink); }
.logo-mark { width: 40px; height: 40px; flex: none; filter: drop-shadow(0 0 12px rgba(34, 211, 238, .25)); }
.logo-t { font-family: var(--head); font-weight: 700; font-size: 15px; line-height: 1.05; letter-spacing: .02em; display: flex; flex-direction: column; }
.logo-t em { font-style: normal; font-size: 12.5px; letter-spacing: .14em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav { display: flex; gap: 4px; }
.nav a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 600; padding: 8px 11px; border-radius: 9px; white-space: nowrap; }
.nav a:hover { color: var(--ink); background: rgba(255, 255, 255, .05); }
.hdr-contact { margin-left: auto; text-align: right; line-height: 1.2; }
.hdr-phone { display: inline-flex; align-items: center; gap: 7px; font-weight: 800; font-size: 18px; color: var(--ink); text-decoration: none; white-space: nowrap; }
.hdr-phone .ic { color: var(--green); }
.hdr-hours { display: block; font-size: 12px; color: var(--muted); margin-top: 3px; }
.burger { flex: none; display: none; background: none; border: 1px solid var(--line-2); border-radius: 10px; width: 44px; height: 42px; padding: 0 11px; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; }
.burger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; }

/* ===== первый экран ===== */
.hero { position: relative; overflow: hidden; padding: 64px 0 44px; border-bottom: 1px solid var(--line); background: radial-gradient(1200px 500px at 15% -10%, rgba(34, 211, 238, .10), transparent 60%), var(--bg); }
.hero-sm { padding: 0 0 36px; }
.grid-bg { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(140, 170, 230, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(140, 170, 230, .06) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 30%, transparent 75%); }
.glow { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; }
.g1 { width: 420px; height: 420px; background: rgba(34, 211, 238, .16); top: -120px; right: 8%; }
.g2 { width: 360px; height: 360px; background: rgba(62, 240, 161, .10); bottom: -160px; left: 30%; }
.hero > .wrap, .hero > nav { position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.lead { font-size: 19px; color: #c3cde2; max-width: 680px; }
.lead b { color: var(--ink); }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 8px; }
.hero-sm-in { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.hero-ic { width: 56px; height: 56px; border-radius: 15px; display: grid; place-items: center; color: var(--cyan); background: rgba(34, 211, 238, .08); border: 1px solid rgba(34, 211, 238, .25); margin: 18px 0 18px; box-shadow: 0 0 30px -6px rgba(34, 211, 238, .4); }
.hero-ic .ic { width: 28px; height: 28px; }
.hero-price { flex: none; background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r); padding: 18px 22px; text-align: right; margin-bottom: 8px; }
.hero-price span { display: block; font-size: 13px; color: var(--muted); }
.hero-price b { font-size: 30px; display: block; }
.hero-price .part { font-style: normal; color: var(--muted); font-size: 14px; }

.stats { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--r); background: rgba(14, 21, 40, .6); }
.stats li { padding: 18px 22px; border-left: 1px solid var(--line); }
.stats li:first-child { border-left: 0; }
.stats b { display: block; font-family: var(--head); font-size: 24px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats span { font-size: 14px; color: var(--muted); }

/* терминал */
.term { background: #060a14; border: 1px solid var(--line-2); border-radius: 18px; box-shadow: 0 30px 80px -30px rgba(34, 211, 238, .35), inset 0 1px 0 rgba(255, 255, 255, .04); overflow: hidden; }
.term-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #0a1020; }
.term-bar i { width: 11px; height: 11px; border-radius: 50%; background: #2a3553; }
.term-bar i:nth-child(1) { background: #ff5f57; } .term-bar i:nth-child(2) { background: #febc2e; } .term-bar i:nth-child(3) { background: #28c840; }
.term-bar span { margin-left: 10px; font-family: var(--mono); font-size: 12.5px; color: var(--dim); }
.term-body { padding: 20px 22px 24px; font-family: var(--mono); font-size: 14.5px; line-height: 2; color: #cfe3f5; min-height: 280px; }
.t-l { opacity: 0; transform: translateY(4px); animation: tIn .35s ease forwards; animation-delay: var(--d); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t-p { color: var(--green); }
.t-dim { color: var(--muted); }
.t-ok { color: var(--green); }
.t-l b { color: #fff; }
.caret { display: inline-block; width: 9px; height: 17px; background: var(--cyan); vertical-align: -3px; animation: blink 1s steps(1) infinite; }
@keyframes tIn { to { opacity: 1; transform: none; } }
@keyframes blink { 50% { opacity: 0; } }

.crumbs { font-size: 14px; color: var(--dim); padding-top: 20px; position: relative; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--cyan); }
.crumbs i { font-style: normal; color: var(--line-2); margin: 0 4px; }

/* ===== карточки ===== */
.cards { display: grid; gap: 14px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 22px; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: var(--ink); background: linear-gradient(180deg, var(--card-2), var(--card)); transition: border-color .2s, transform .2s, box-shadow .2s; }
.card:hover { color: var(--ink); border-color: rgba(34, 211, 238, .5); transform: translateY(-2px); box-shadow: 0 16px 40px -18px rgba(34, 211, 238, .45); }
.card b { font-size: 17px; line-height: 1.3; }
.card-row { flex-direction: row; align-items: center; gap: 16px; padding: 16px 18px; }
.card-row b { flex: 1; }
.arr { color: var(--dim); font-size: 20px; transition: transform .2s, color .2s; }
.card:hover .arr { color: var(--cyan); transform: translateX(3px); }
.cat-meta { color: var(--muted); font-size: 14px; margin-top: auto; font-family: var(--mono); }
.svc-pr { margin-top: auto; font-size: 20px; }
.svc-pr b { font-weight: 800; }
.part { font-style: normal; font-size: 13px; color: var(--muted); font-weight: 600; margin-left: 6px; white-space: nowrap; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: s; }
.steps li { position: relative; counter-increment: s; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.steps li::after { content: "0" counter(s); position: absolute; top: 18px; right: 20px; font-family: var(--mono); color: var(--dim); font-size: 13px; }
.steps b { font-size: 17px; margin-top: 6px; }
.steps span { color: var(--muted); font-size: 15px; }

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cmp { border-radius: var(--r); padding: 22px 24px; border: 1px solid var(--line); background: var(--card); font-family: var(--mono); font-size: 15px; }
.cmp-h { font-family: var(--head); font-size: 16px; margin-bottom: 14px; }
.cmp-bad .cmp-h { color: var(--red); }
.cmp-good { border-color: rgba(62, 240, 161, .35); box-shadow: 0 0 50px -25px rgba(62, 240, 161, .5); }
.cmp-good .cmp-h { color: var(--green); }
.cmp-line { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--line-2); color: var(--muted); }
.cmp-line b { color: var(--ink); white-space: nowrap; }
.cmp-total { display: flex; justify-content: space-between; padding-top: 14px; font-size: 20px; }
.cmp-bad .cmp-total b { color: var(--red); text-decoration: line-through; text-decoration-thickness: 2px; }
.cmp-good .cmp-total b { color: var(--green); }

.areas { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.areas span { font-family: var(--mono); padding: 9px 16px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--card); }

/* ===== таблица цен на страницах услуг ===== */
.ptable { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--card); margin-bottom: 14px; }
.pt-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 15px 20px; border-top: 1px solid var(--line); }
.pt-row:first-child { border-top: 0; }
.pt-name small { display: block; color: var(--muted); font-size: 13.5px; }
.pt-pr { text-align: right; white-space: nowrap; font-size: 17px; }

/* ===== вопросы ===== */
.faq { max-width: 860px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; padding: 0 20px; margin-bottom: 10px; background: var(--card); transition: border-color .2s; }
.faq details[open] { border-color: var(--line-2); }
.faq summary { cursor: pointer; padding: 17px 0; font-weight: 700; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--cyan); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 18px; color: #c3cde2; }

/* ===== призыв ===== */
.cta { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; border: 1px solid rgba(34, 211, 238, .35); border-radius: 22px; padding: 36px; margin: 88px 0; background: radial-gradient(600px 240px at 0% 0%, rgba(34, 211, 238, .16), transparent 70%), radial-gradient(500px 240px at 100% 100%, rgba(62, 240, 161, .12), transparent 70%), var(--card); }
.cta h2 { margin-bottom: .3em; }
.cta p { margin: 0; color: var(--muted); }
.cta-txt { max-width: 560px; }
.cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ===== калькулятор ===== */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; align-items: start; }
.calc-main { min-width: 0; }
.calc-search { position: sticky; top: 84px; z-index: 5; outline: 12px solid var(--bg); display: flex; align-items: center; gap: 10px; background: var(--card-2); border: 1px solid var(--line-2); border-radius: 14px; padding: 0 14px; box-shadow: 0 10px 30px -15px rgba(0, 0, 0, .8); }
.calc-search:focus-within { border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(34, 211, 238, .12); }
.calc-search .ic { color: var(--muted); }
.calc-search input { flex: 1; min-width: 0; background: none; border: 0; color: var(--ink); font: inherit; font-size: 17px; padding: 16px 0; outline: none; }
.calc-search input::placeholder { color: var(--dim); }
.calc-search input::-webkit-search-cancel-button { display: none; }
.calc-clear { background: none; border: 0; color: var(--muted); font-size: 26px; cursor: pointer; line-height: 1; padding: 0 4px; }
.calc-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 4px; }
.chip { font: inherit; font-size: 14px; font-weight: 600; padding: 7px 13px; border-radius: 999px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line-2); color: var(--muted); cursor: pointer; }
.chip:hover, .chip.on { color: var(--ink); border-color: var(--cyan); background: rgba(34, 211, 238, .08); }
.calc-list { margin-top: 14px; display: flex; flex-direction: column; }
.cg { flex-shrink: 0; display: flex; flex-direction: column; margin-bottom: 18px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); overflow: hidden; scroll-margin-top: 160px; }
.cg h3 { order: -2; display: flex; align-items: center; gap: 10px; margin: 0; padding: 14px 18px; font-size: 15px; background: rgba(255, 255, 255, .015); }
.cg h3 .ic { color: var(--cyan); width: 20px; height: 20px; }
.ci { flex-shrink: 0; display: flex; align-items: center; gap: 14px; padding: 13px 18px; border-top: 1px solid var(--line); cursor: pointer; transition: background .15s; }
.ci:hover { background: rgba(34, 211, 238, .04); }
.ci input { position: absolute; opacity: 0; pointer-events: none; }
.ci-box { flex: none; width: 24px; height: 24px; border-radius: 7px; border: 1.5px solid var(--line-2); display: grid; place-items: center; color: transparent; transition: all .15s; }
.ci-box .ic { width: 16px; height: 16px; stroke-width: 3; }
.ci input:checked + .ci-box { background: var(--grad); border-color: transparent; color: #03121a; box-shadow: 0 0 14px -2px rgba(62, 240, 161, .6); }
.ci input:focus-visible + .ci-box { outline: 2px solid var(--cyan); outline-offset: 2px; }
.ci:has(input:checked) { background: rgba(62, 240, 161, .05); }
.ci-name { flex: 1; min-width: 0; font-size: 15.5px; overflow-wrap: anywhere; }
.ci-name small { display: block; color: var(--muted); font-size: 13px; }
.ci-pr { text-align: right; white-space: nowrap; font-size: 15.5px; }
.ci-pr .part { display: block; margin: 0; font-size: 12px; }
.ci[hidden], .cg[hidden] { display: none; }
.calc-compact .calc-search { position: static; }
.calc-compact .calc-list { border: 1px solid var(--line); border-radius: var(--r); background: var(--card); overflow: hidden; }
.calc-compact .calc-list[hidden] { display: none; }
.calc-compact .cg { margin: 0; border: 0; border-radius: 0; background: none; overflow: visible; }
.calc-compact .cg h3 { display: none; }
.calc-compact .calc-list > .cg:first-child > .ci:first-of-type { border-top: 0; }
.calc-compact.idle .ci:not(.pop) { display: none; }
.calc-compact.idle .cg:not(:has(.pop)) { display: none; }
.calc-empty { padding: 22px; border: 1px dashed var(--line-2); border-radius: var(--r); color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 14px; }
.calc-empty[hidden] { display: none; }
.calc-more { color: var(--muted); font-size: 14px; }
mark { background: rgba(34, 211, 238, .22); color: var(--ink); border-radius: 3px; padding: 0 1px; }

.calc-sum { position: sticky; top: 84px; background: linear-gradient(180deg, var(--card-2), var(--card)); border: 1px solid var(--line-2); border-radius: 18px; padding: 20px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
.cs-hd { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--head); font-size: 16px; margin-bottom: 12px; }
.cs-hd span { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.cs-empty { color: var(--muted); font-size: 14.5px; margin: 0 0 6px; }
.cs-list { list-style: none; padding: 0; margin: 0 0 12px; max-height: 260px; overflow-y: auto; scrollbar-width: thin; }
.cs-list li { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; border-bottom: 1px dashed var(--line-2); font-size: 14px; }
.cs-list li span { flex: 1; }
.cs-list li b { white-space: nowrap; }
.cs-x { background: none; border: 0; color: var(--dim); cursor: pointer; font-size: 18px; line-height: 1; padding: 0 2px; }
.cs-x:hover { color: var(--red); }
.cs-row { display: flex; justify-content: space-between; font-size: 14.5px; color: var(--muted); padding: 3px 0; }
.cs-row b { color: var(--ink); font-weight: 700; }
.cs-row .ok { color: var(--green); }
.cs-total { display: flex; justify-content: space-between; align-items: baseline; margin: 12px 0 14px; padding-top: 12px; border-top: 1px solid var(--line-2); }
.cs-total span { font-family: var(--head); font-size: 15px; }
.cs-total b { font-size: 30px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cs-note { font-size: 12.5px; color: var(--muted); margin: 10px 0 0; }
.calc-sum .btn { width: 100%; }
.cs-clear { background: none; border: 0; color: var(--dim); font: inherit; font-size: 13px; cursor: pointer; text-decoration: underline; padding: 0; margin-top: 10px; }

/* ===== подвал ===== */
.ftr { border-top: 1px solid var(--line); background: var(--bg-2); color: var(--muted); padding: 56px 0 24px; }
.ftr a { color: var(--muted); text-decoration: none; }
.ftr a:hover { color: var(--cyan); }
.ftr-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; }
.ftr ul { list-style: none; padding: 0; margin: 0; font-size: 14.5px; }
.ftr li { margin: 7px 0; }
.ftr .logo { color: var(--ink); margin-bottom: 14px; }
.ftr-about { font-size: 14.5px; }
.ftr-h { color: var(--ink); font-weight: 800; margin-bottom: 10px; font-family: var(--head); font-size: 14px; }
.ftr-phone { color: var(--ink) !important; font-weight: 800; font-size: 21px; }
.ftr-hours { font-size: 14px; margin: 2px 0 0; }
.ftr-legal { border-top: 1px solid var(--line); margin-top: 36px; padding-top: 18px; font-size: 12.5px; color: var(--dim); }
.big-phone a { font-family: var(--head); font-size: clamp(26px, 5vw, 40px); text-decoration: none; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ===== нижняя панель на телефоне ===== */
.mbar { display: none; }

/* ===== чат ===== */
.chat-fab { position: fixed; right: 22px; bottom: 22px; z-index: 40; border: 0; border-radius: 999px; background: var(--grad); color: #03121a; font: inherit; font-weight: 800; padding: 15px 22px; box-shadow: 0 12px 34px -8px rgba(34, 211, 238, .65); cursor: pointer; display: flex; gap: 9px; align-items: center; }
.chat-fab::before { content: ""; position: absolute; inset: -4px; border-radius: inherit; border: 2px solid rgba(34, 211, 238, .5); animation: ping 2.4s ease-out infinite; }
@keyframes ping { 0% { opacity: .8; transform: scale(1); } 100% { opacity: 0; transform: scale(1.18); } }
.chat { position: fixed; right: 22px; bottom: 22px; z-index: 50; width: 390px; max-width: calc(100vw - 24px); height: 620px; max-height: calc(100vh - 44px); background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 20px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6), 0 0 60px -20px rgba(34, 211, 238, .35); display: flex; flex-direction: column; overflow: hidden; }
.chat[hidden] { display: none; }
.chat-hd { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); background: var(--card); }
.chat-hd .logo-mark { width: 36px; height: 36px; }
.chat-hd > div { flex: 1; }
.chat-hd b { display: block; font-family: var(--head); font-size: 14px; }
.chat-hd span { font-size: 12.5px; color: var(--muted); }
.chat-x { background: none; border: 0; color: var(--muted); font-size: 30px; line-height: 1; cursor: pointer; }
.chat-x:hover { color: var(--ink); }
.chat-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 9px; background: radial-gradient(400px 200px at 50% 0%, rgba(34, 211, 238, .05), transparent), var(--bg-2); }
.m { max-width: 86%; padding: 11px 14px; border-radius: 15px; font-size: 15px; line-height: 1.5; white-space: pre-line; animation: tIn .25s ease forwards; opacity: 0; }
.m-bot { background: var(--card-2); border: 1px solid var(--line); align-self: flex-start; border-bottom-left-radius: 5px; }
.m-me { background: var(--grad); color: #03121a; font-weight: 700; align-self: flex-end; border-bottom-right-radius: 5px; }
.chat-ctrl { padding: 12px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 7px; max-height: 46%; overflow-y: auto; background: var(--card); }
.qb { border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); color: var(--ink); border-radius: 999px; padding: 9px 14px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.qb:hover { border-color: var(--cyan); background: rgba(34, 211, 238, .08); }
.qb-main { background: var(--grad); border-color: transparent; color: #03121a; font-weight: 800; }
.qb-main:hover { background: var(--grad); filter: brightness(1.08); }
.chat-form { display: flex; gap: 7px; width: 100%; }
.chat-form input { flex: 1; min-width: 0; padding: 12px 13px; font: inherit; font-size: 16px; color: var(--ink); background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 11px; outline: none; }
.chat-form input:focus { border-color: var(--cyan); }
.chat-form button { border: 0; background: var(--grad); color: #03121a; border-radius: 11px; padding: 0 17px; font: inherit; font-weight: 800; font-size: 18px; cursor: pointer; }
.chat-hint { width: 100%; font-size: 12px; color: var(--muted); }
.chat-err { width: 100%; font-size: 13px; color: var(--red); }
.chat-err:empty { display: none; }

/* ===== адаптив ===== */
@media (max-width: 1280px) {
  .hdr-btn { display: none; }
}
@media (max-width: 1140px) {
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--bg-2); box-shadow: 0 24px 40px rgba(0, 0, 0, .6); flex-direction: column; padding: 12px 16px 18px; border-bottom: 1px solid var(--line); gap: 2px; }
  .nav.open { display: flex; }
  .nav a { font-size: 17px; padding: 12px; }
  .burger { display: flex; }
  .hdr-btn { display: none; }
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .calc { grid-template-columns: minmax(0, 1fr); }
  .calc-sum { position: static; }
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .cards-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr 1fr; }
  .compare { grid-template-columns: 1fr; }
  .ftr-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats li:nth-child(3) { border-left: 0; }
  .stats li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .hero-sm-in { flex-direction: column; align-items: flex-start; }
  .hero-price { text-align: left; }
}
@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 62px; }
  .wrap { padding: 0 16px; }
  .sec { margin-top: 60px; margin-bottom: 60px; }
  .hdr-in { gap: 10px; min-height: 64px; }
  .nav { top: 64px; }
  .hdr-hours { display: none; }
  .hdr-phone { font-size: 15px; }
  .hdr-phone .ic { display: none; }
  .logo-mark { width: 34px; height: 34px; }
  .logo-t { font-size: 13px; }
  .logo-t em { font-size: 11px; }
  .hero { padding-top: 40px; }
  .hero-btns .btn { width: 100%; }
  .term-body { font-size: 12.5px; min-height: 0; padding: 16px; }
  .cards-3, .cards-4, .steps { grid-template-columns: 1fr; }
  .cards-3, .cards-4 { gap: 10px; }
  .card.cat, .card.svc { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; row-gap: 2px; align-items: center; padding: 14px 16px; }
  .card.cat .ic-box, .card.svc .ic-box { grid-row: span 2; width: 44px; height: 44px; padding: 10px; }
  .card.cat b, .card.svc b { font-size: 16px; align-self: end; }
  .cat-meta, .svc-pr { margin-top: 0; align-self: start; }
  .svc-pr { font-size: 16px; }
  .card-row { padding: 12px 14px; }
  .card-row .ic-box { width: 44px; height: 44px; padding: 10px; }
  .steps { gap: 10px; }
  .steps li { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; row-gap: 2px; padding: 16px; }
  .steps .ic-box { grid-row: span 2; width: 44px; height: 44px; padding: 10px; }
  .steps b { margin-top: 0; font-size: 16px; padding-right: 22px; }
  .steps li::after { top: 14px; right: 14px; }
  .sec.txt { margin-top: 40px; margin-bottom: 40px; }
  .ftr-grid { grid-template-columns: 1fr 1fr; gap: 28px 18px; }
  .ftr-grid > div:first-child, .ftr-grid > div:last-child { grid-column: 1 / -1; }
  .ftr ul { font-size: 13.5px; }
  .stats li { padding: 14px 16px; }
  .stats b { font-size: 20px; }
  .cta { padding: 24px; margin: 60px 0; }
  .cta-btns .btn { width: 100%; }
  .calc-search { top: 72px; }
  .ci { padding: 12px 14px; gap: 12px; }
  .chat-fab { display: none; }
  .mbar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; border-top: 1px solid var(--line-2); }
  .mbar a, .mbar button { display: flex; align-items: center; justify-content: center; gap: 8px; border: 0; padding: 17px 8px; font: inherit; font-weight: 800; font-size: 16px; text-decoration: none; cursor: pointer; }
  .mbar-call { background: var(--grad); color: #03121a; }
  .mbar-chat { background: var(--card-2); color: var(--ink); }
  .chat { left: 0; right: 0; top: 0; bottom: 0; width: auto; max-width: none; height: 100%; max-height: 100%; border-radius: 0; border: 0; }
}
@media (max-width: 380px) {
  .hdr-phone { font-size: 14px; }
  .logo-t { font-size: 12px; }
}
@media (max-width: 350px) {
  .hdr-contact { display: none; }
  .burger { margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition: none !important; }
  .t-l, .m { opacity: 1; transform: none; }
}
.chat-fab { transition: opacity .2s, transform .2s; }
.chat-fab.fab-off { opacity: 0; transform: translateY(20px); pointer-events: none; }
.mbar-chat.has-sum { background: var(--card-2); color: var(--green); }
.calc-sum .btn { margin-top: 8px; }
