/* Главная (САЙТ-15) — макет «вариант А», design/moqup-home-A.
   1. Основа: макет свёрстан без Bootstrap — content-box, line-height
      normal, без отступов у figure и списков. Здесь это возвращается
      внутри .hm; общий Bootstrap остаётся на остальных страницах.
   2. Правила <style> макета — под :where(.hm): вес селектора как
      в макете, Bootstrap и style.css перекрываются порядком подключения.
   3. Inline-стили макета — классы .hm-sN (один класс на уникальный
      стиль). Вес 0-2-0 — выше правил п. 2, как у inline-стиля; правила
      макета с !important по-прежнему сильнее. Цвета и радиусы — токены
      css/tokens.css (свои значения макета — --mq-home-*).
   Шапка 64 px фиксированная (nav.css) — отступ сверху у .hm. */
.hm { color: var(--mq-ink); background: #fff; line-height: normal; padding-top: 64px; }
:where(.hm) *, :where(.hm) *::before, :where(.hm) *::after { box-sizing: content-box; }
:where(.hm) figure, :where(.hm) ul, :where(.hm) ol { margin: 0; padding: 0; }
:where(.hm) img, :where(.hm) svg { vertical-align: baseline; }
/* Фото ленты — в <picture> (webp + jpg): обёртка блочная, иначе img
   с width="600" раздвигает кадр шире 300 px макета. */
:where(.hm) .mq-photos picture { display: block; }
:where(.hm) .mq-photos figure { min-width: 0; }
:where(.hm) .mq-photos img { height: auto; }  /* атрибут height="450" иначе перебил бы aspect-ratio 4/3 макета */

/* ── 2. Правила макета ── */
:where(.hm) a{color:var(--mq-accent);text-decoration:none}
:where(.hm) a:hover{color:var(--mq-accent-hover)}
:where(.hm) h1,:where(.hm) h2,:where(.hm) h3,:where(.hm) p{margin:0}
:where(.hm) .mq-txt a{color:var(--mq-accent);text-decoration:none}
:where(.hm) .mq-txt a:hover{text-decoration:underline}
@keyframes hd-dashL{from{stroke-dashoffset:300}to{stroke-dashoffset:0}}
@keyframes hd-dashR{from{stroke-dashoffset:-300}to{stroke-dashoffset:0}}
@keyframes hd-ping{0%{transform:scale(.85);opacity:.55}100%{transform:scale(1.35);opacity:0}}
:where(.hm) .flow-l{stroke-dasharray:20 280;stroke-dashoffset:300;animation:hd-dashL 5s linear infinite}
:where(.hm) .flow-r{stroke-dasharray:20 280;stroke-dashoffset:-300;animation:hd-dashR 5s linear infinite}
:where(.hm) .flow-l-slow{stroke-dasharray:20 380;stroke-dashoffset:300;animation:hd-dashL 7s linear infinite}
:where(.hm) .flow-r-slow{stroke-dasharray:20 380;stroke-dashoffset:-300;animation:hd-dashR 7s linear infinite}
:where(.hm) .hd-ping{animation:hd-ping 2.8s ease-out infinite;transform-origin:center}
@keyframes hd-ping2{0%{transform:scale(.92);opacity:.7}100%{transform:scale(2.1);opacity:0}}
:where(.hm) .hd-ping2{animation:hd-ping2 7s cubic-bezier(.2,.6,.4,1) infinite;transform-origin:center;opacity:0}
:where(.hm) .mq-anim-m{display:none}
:where(.hm) .mq-photos{display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;padding-bottom:8px;scrollbar-width:thin}
:where(.hm) .mq-photos figure{flex:0 0 300px;scroll-snap-align:start}
@media (max-width:760px){
:where(.hm) .mq-anim-d{display:none !important}
:where(.hm) .mq-anim-m{display:block}
:where(.hm) .mq-photos{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:12px;margin:0 -24px;padding:0 24px 6px}
:where(.hm) .mq-photos figure{flex:0 0 74%;scroll-snap-align:start}
:where(.hm) .mq-hero-b{min-height:0 !important;padding-top:48px !important}
:where(.hm) .mq-btns a{flex:1 1 100%;justify-content:center}
}
@media (prefers-reduced-motion: reduce){
:where(.hm) .hd-ping2{animation:none}
:where(.hm) .flow-l,:where(.hm) .flow-r,:where(.hm) .flow-l-slow,:where(.hm) .flow-r-slow,:where(.hm) .hd-ping,:where(.hm) .hd-ping2{animation:none}
}
:where(.hm) .mq-mob{display:none !important}
@keyframes hd-ping2{0%{transform:scale(.92);opacity:.7}100%{transform:scale(2.1);opacity:0}}
:where(.hm) .hd-ping2{animation:hd-ping2 7s cubic-bezier(.2,.6,.4,1) infinite;transform-origin:center;opacity:0}
:where(.hm) .mq-faq summary::-webkit-details-marker{display:none}
:where(.hm) .mq-faq[open] .mq-faq-i{transform:rotate(45deg);background:var(--mq-accent-tint) !important}
@media (max-width:760px){
:where(.hm) .mq-mob{display:flex !important}
:where(.hm) .mq-desk,:where(.hm) .mq-desk-flex{display:none !important}
:where(.hm) .mq-hero{padding:32px 20px 24px !important;gap:24px !important}
:where(.hm) .mq-hero > div{flex-basis:100% !important}
:where(.hm) .mq-h1{font-size:34px !important;line-height:1.08 !important}
:where(.hm) .mq-btns a{flex:1 1 100%;justify-content:center;height:54px !important;font-size:16px !important}
:where(.hm) .mq-stats-wrap{padding:0 20px 40px !important}
:where(.hm) .mq-stats{grid-template-columns:1fr 1fr !important;gap:8px !important}
:where(.hm) .mq-stats > div{padding:14px 16px !important;border-radius:16px !important}
:where(.hm) .mq-stats > div > p:first-child{font-size:20px !important;letter-spacing:-0.01em}
:where(.hm) .mq-stats > div > p:last-child{font-size:12.5px !important;line-height:1.35}
:where(.hm) .mq-stats > div:last-child{grid-column:span 2}
:where(.hm) .mq-h2{font-size:28px !important;line-height:1.15 !important}
:where(.hm) .mq-h2-cta{font-size:30px !important}
:where(.hm) .mq-h3{font-size:22px !important}
:where(.hm) .mq-pad{padding-top:56px !important;padding-bottom:56px !important;padding-left:20px !important;padding-right:20px !important}
:where(.hm) .mq-pad-b{padding:8px 20px 56px !important;gap:16px !important}
:where(.hm) .mq-lead{font-size:16px !important}
:where(.hm) .mq-card{padding:24px 20px !important;border-radius:24px !important;min-height:0 !important}
:where(.hm) .mq-card p{font-size:15px !important}
:where(.hm) .mq-tiles{grid-template-columns:1fr 1fr !important}
:where(.hm) .mq-tiles > div{flex-direction:row !important;align-items:center;gap:10px !important;padding:10px 12px !important}
:where(.hm) .mq-tiles > div > span:first-child{font-size:20px !important;min-width:28px}
:where(.hm) .mq-tiles > div > span:last-child{font-size:12px !important}
:where(.hm) section{max-width:100%}
:where(.hm) section.hm-m3{padding:0 20px 56px !important}
:where(.hm) .mq-art{font-size:15.5px !important;align-items:flex-start !important}
:where(.hm) .mq-read{font-size:0 !important}
:where(.hm) .mq-read::after{content:"→";font-size:18px}
:where(.hm) .mq-calc{padding:28px 20px 20px !important;border-radius:24px !important;gap:24px !important}
:where(.hm) .mq-calc-txt{flex:1 1 100% !important;min-width:0}
:where(.hm) .mq-calc-h{font-size:25px !important}
:where(.hm) .mq-calc-txt p{font-size:15px !important}
:where(.hm) .mq-calc-txt .mq-btns{display:none !important}
:where(.hm) .mq-calc-btn-m{display:flex !important}
:where(.hm) .mq-calc-form{flex:1 1 100% !important;padding:16px !important;border-radius:18px !important}
:where(.hm) .mq-calc-form span{font-size:13px !important}
:where(.hm) .mq-pubs{margin:-4px 0 24px !important;gap:6px 16px !important}
:where(.hm) .mq-pubs-l{flex:1 1 100%;font-size:13px}
:where(.hm) .mq-pubs b{font-size:14px;white-space:nowrap}
:where(.hm) .mq-chat{padding:24px 20px !important;border-radius:24px !important}
:where(.hm) .mq-chat-h{font-size:21px !important}
:where(.hm) .mq-photos{margin:0 -20px !important;padding:0 20px 6px !important}
:where(.hm) .mq-photos figure{flex:0 0 78% !important}
:where(.hm) .mq-cta-wrap{padding:56px 20px 64px !important;gap:16px !important}
:where(.hm) .mq-cta-wrap > p{font-size:16px !important}
:where(.hm) .mq-cta1 a{width:100% !important}
:where(.hm) .mq-cta2{flex-wrap:nowrap !important;gap:8px !important}
:where(.hm) .mq-cta2 a{flex:1 1 0 !important;width:auto !important;height:48px !important;font-size:14px !important;padding:0 8px !important}
:where(.hm) .mq-trust{flex-direction:column;gap:6px !important;font-size:13.5px !important}
:where(.hm) .mq-trust .mq-dot{display:none}
:where(.hm) .mq-cta2 a{white-space:nowrap}
:where(.hm) .mq-cta2{width:100%}
:where(.hm) .mq-calc-form b{white-space:nowrap}
:where(.hm) .mq-calc-form > div:last-child > span span{font-size:11.5px !important}
:where(.hm) .mq-stats > div > p:first-child{white-space:nowrap}
:where(.hm) .mq-hero .mq-h1 + p{font-size:16px !important}
:where(.hm) .mq-hero p{font-size:inherit}
:where(.hm) .mq-hero p.hm-m1{font-size:13px !important}
:where(.hm) .mq-pad p.hm-m2{font-size:16px !important}
}
@media (min-width:761px){
:where(.hm) .mq-faq{padding:22px 24px !important}
:where(.hm) .mq-faq summary{pointer-events:none;padding:0 !important;font-size:18px !important;cursor:default !important}
:where(.hm) .mq-faq .mq-faq-i{display:none !important}
:where(.hm) .mq-faq p{font-size:16px !important;padding:8px 0 0 !important}
}

/* ── 3. Стили элементов макета ── */
.hm .hm-s1{background:linear-gradient(180deg,var(--mq-bg-1) 0%,#fff 100%)}
.hm .hm-s2{max-width:1200px;margin:0 auto;padding:72px 24px 56px;display:flex;flex-wrap:wrap;gap:48px;align-items:center}
.hm .hm-s3{flex:1 1 520px;min-width:0;display:flex;flex-direction:column;gap:22px}
.hm .hm-s4{align-self:flex-start;background:var(--mq-ok-bg);color:var(--mq-ok);font-weight:700;font-size:14px;padding:8px 14px;border-radius:var(--mq-r-pill)}
.hm .hm-s5{font-size:clamp(36px,4.6vw,58px);line-height:1.06;font-weight:800;letter-spacing:-0.02em}
.hm .hm-s6{font-size:19px;line-height:1.55;color:var(--mq-ink-2);max-width:560px}
.hm .hm-s7{display:flex;flex-wrap:wrap;gap:12px;margin-top:6px}
.hm .hm-s8{height:58px;padding:0 34px;border-radius:var(--mq-r-pill);background:var(--mq-accent);color:#fff;font-weight:800;font-size:17px;display:inline-flex;align-items:center;box-shadow:0 12px 28px rgba(76,61,247,.3)}
.hm .hm-s9{height:58px;padding:0 30px;border-radius:var(--mq-r-pill);background:#fff;border:1.5px solid var(--mq-line-3);color:var(--mq-ink);font-weight:700;font-size:17px;display:inline-flex;align-items:center}
.hm .hm-s10{font-size:14px;color:var(--mq-muted)}
.hm .hm-s11{flex:1 1 440px;min-width:0;max-width:560px}
.hm .hm-s12{position:relative;width:100%;max-width:560px;aspect-ratio:560/520;margin:0 auto}
.hm .hm-s13{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.hm .hm-s14{animation-delay:0s}
.hm .hm-s15{animation-delay:-1.7s}
.hm .hm-s16{animation-delay:-3.4s}
.hm .hm-s17{animation-delay:-0.9s}
.hm .hm-s18{animation-delay:-2.6s}
.hm .hm-s19{animation-delay:-4.3s}
.hm .hm-s20{animation-delay:-0.0s}
.hm .hm-s21{animation-delay:-0.7s}
.hm .hm-s22{animation-delay:-1.3s}
.hm .hm-s23{animation-delay:-1.4s}
.hm .hm-s24{animation-delay:-2.1s}
.hm .hm-s25{animation-delay:-3.9s}
.hm .hm-s26{animation-delay:-2.8s}
.hm .hm-s27{animation-delay:-5.2s}
.hm .hm-s28{animation-delay:-3.5s}
.hm .hm-s29{animation-delay:-6.5s}
.hm .hm-s30{animation-delay:-4.2s}
.hm .hm-s31{animation-delay:-0.8s}
.hm .hm-s32{animation-delay:-4.9s}
.hm .hm-s33{position:absolute;left:12.5%;top:17.692%;width:56px;height:56px;margin:-28px 0 0 -28px;border-radius:var(--mq-r-14);background:#fff;box-shadow:0 4px 14px rgba(14,17,22,.08),0 0 0 1px rgba(14,17,22,.04);display:flex;align-items:center;justify-content:center}
.hm .hm-s34{width:25px;height:25px}
.hm .hm-s35{position:absolute;left:7.857%;top:39.615%;width:56px;height:56px;margin:-28px 0 0 -28px;border-radius:var(--mq-r-14);background:#fff;box-shadow:0 4px 14px rgba(14,17,22,.08),0 0 0 1px rgba(14,17,22,.04);display:flex;align-items:center;justify-content:center}
.hm .hm-s36{position:absolute;left:7.857%;top:60.385%;width:56px;height:56px;margin:-28px 0 0 -28px;border-radius:var(--mq-r-14);background:#fff;box-shadow:0 4px 14px rgba(14,17,22,.08),0 0 0 1px rgba(14,17,22,.04);display:flex;align-items:center;justify-content:center}
.hm .hm-s37{position:absolute;left:12.5%;top:82.308%;width:56px;height:56px;margin:-28px 0 0 -28px;border-radius:var(--mq-r-14);background:#fff;box-shadow:0 4px 14px rgba(14,17,22,.08),0 0 0 1px rgba(14,17,22,.04);display:flex;align-items:center;justify-content:center}
.hm .hm-s38{position:absolute;left:87.5%;top:17.692%;width:56px;height:56px;margin:-28px 0 0 -28px;border-radius:var(--mq-r-14);background:#fff;box-shadow:0 4px 14px rgba(14,17,22,.08),0 0 0 1px rgba(14,17,22,.04);display:flex;align-items:center;justify-content:center}
.hm .hm-s39{position:absolute;left:92.143%;top:39.615%;width:56px;height:56px;margin:-28px 0 0 -28px;border-radius:var(--mq-r-14);background:#fff;box-shadow:0 4px 14px rgba(14,17,22,.08),0 0 0 1px rgba(14,17,22,.04);display:flex;align-items:center;justify-content:center}
.hm .hm-s40{position:absolute;left:92.143%;top:60.385%;width:56px;height:56px;margin:-28px 0 0 -28px;border-radius:var(--mq-r-14);background:#fff;box-shadow:0 4px 14px rgba(14,17,22,.08),0 0 0 1px rgba(14,17,22,.04);display:flex;align-items:center;justify-content:center}
.hm .hm-s41{position:absolute;left:87.5%;top:82.308%;width:56px;height:56px;margin:-28px 0 0 -28px;border-radius:var(--mq-r-14);background:#fff;box-shadow:0 4px 14px rgba(14,17,22,.08),0 0 0 1px rgba(14,17,22,.04);display:flex;align-items:center;justify-content:center}
.hm .hm-s42{position:absolute;left:50.0%;top:50.0%;width:150px;height:150px;margin:-75px 0 0 -75px}
.hm .hm-s43{position:absolute;inset:0;border-radius:37px;border:2px solid var(--mq-violet-300);animation-delay:0s}
.hm .hm-s44{position:absolute;inset:0;border-radius:37px;border:1.5px solid var(--mq-violet-300);animation-delay:-1.75s}
.hm .hm-s45{position:absolute;inset:0;border-radius:37px;border:1.5px solid var(--mq-violet-300);animation-delay:-3.5s}
.hm .hm-s46{position:absolute;inset:0;border-radius:37px;border:1.2px solid var(--mq-violet-300);animation-delay:-5.25s}
.hm .hm-s47{position:absolute;inset:0;border-radius:37px;background:#fff;border:1px solid var(--mq-home-line-violet);box-shadow:0 18px 40px rgba(76,61,247,.16);display:flex;align-items:center;justify-content:center}
.hm .hm-s48{position:relative;width:100%;max-width:360px;aspect-ratio:340/300;margin:8px auto 0}
.hm .hm-s49{animation-delay:-1.6s}
.hm .hm-s50{animation-delay:-2.4s}
.hm .hm-s51{animation-delay:-3.2s}
.hm .hm-s52{animation-delay:-4.0s}
.hm .hm-s53{animation-delay:-0.4s}
.hm .hm-s54{animation-delay:-1.2s}
.hm .hm-s55{animation-delay:-3.3s}
.hm .hm-s56{position:absolute;left:10.000%;top:20.000%;width:46px;height:46px;margin:-23px 0 0 -23px;border-radius:11px;background:#fff;box-shadow:0 4px 14px rgba(14,17,22,.08),0 0 0 1px rgba(14,17,22,.04);display:flex;align-items:center;justify-content:center}
.hm .hm-s57{width:20px;height:20px}
.hm .hm-s58{position:absolute;left:10.000%;top:50.000%;width:46px;height:46px;margin:-23px 0 0 -23px;border-radius:11px;background:#fff;box-shadow:0 4px 14px rgba(14,17,22,.08),0 0 0 1px rgba(14,17,22,.04);display:flex;align-items:center;justify-content:center}
.hm .hm-s59{position:absolute;left:10.000%;top:80.000%;width:46px;height:46px;margin:-23px 0 0 -23px;border-radius:11px;background:#fff;box-shadow:0 4px 14px rgba(14,17,22,.08),0 0 0 1px rgba(14,17,22,.04);display:flex;align-items:center;justify-content:center}
.hm .hm-s60{position:absolute;left:90.000%;top:20.000%;width:46px;height:46px;margin:-23px 0 0 -23px;border-radius:11px;background:#fff;box-shadow:0 4px 14px rgba(14,17,22,.08),0 0 0 1px rgba(14,17,22,.04);display:flex;align-items:center;justify-content:center}
.hm .hm-s61{position:absolute;left:90.000%;top:50.000%;width:46px;height:46px;margin:-23px 0 0 -23px;border-radius:11px;background:#fff;box-shadow:0 4px 14px rgba(14,17,22,.08),0 0 0 1px rgba(14,17,22,.04);display:flex;align-items:center;justify-content:center}
.hm .hm-s62{position:absolute;left:90.000%;top:80.000%;width:46px;height:46px;margin:-23px 0 0 -23px;border-radius:11px;background:#fff;box-shadow:0 4px 14px rgba(14,17,22,.08),0 0 0 1px rgba(14,17,22,.04);display:flex;align-items:center;justify-content:center}
.hm .hm-s63{position:absolute;left:50%;top:50%;width:96px;height:96px;margin:-48px 0 0 -48px}
.hm .hm-s64{position:absolute;inset:0;border-radius:24px;border:2px solid var(--mq-violet-300);animation-delay:0s}
.hm .hm-s65{position:absolute;inset:0;border-radius:24px;border:1.5px solid var(--mq-violet-300);animation-delay:-1.75s}
.hm .hm-s66{position:absolute;inset:0;border-radius:24px;border:1.5px solid var(--mq-violet-300);animation-delay:-3.5s}
.hm .hm-s67{position:absolute;inset:0;border-radius:24px;border:1.2px solid var(--mq-violet-300);animation-delay:-5.25s}
.hm .hm-s68{position:absolute;inset:0;border-radius:24px;background:#fff;border:1px solid var(--mq-home-line-violet);box-shadow:0 18px 40px rgba(76,61,247,.16);display:flex;align-items:center;justify-content:center}
.hm .hm-s69{max-width:1200px;margin:0 auto;padding:0 24px 64px;position:relative}
.hm .hm-s70{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px}
.hm .hm-s71{border:1px solid var(--mq-line-2);border-radius:var(--mq-r-18);padding:18px 20px;background:#fff}
.hm .hm-s72{font-size:28px;font-weight:800}
.hm .hm-s73{font-size:14px;color:var(--mq-muted);margin-top:4px}
.hm .hm-s74{max-width:1200px;margin:0 auto;padding:24px 24px 72px;display:flex;flex-wrap:wrap;gap:24px 64px}
.hm .hm-s75{flex:1 1 300px;font-size:34px;line-height:1.15;font-weight:800;letter-spacing:-0.01em}
.hm .hm-s76{flex:2 1 560px;min-width:0;display:flex;flex-direction:column;gap:14px;font-size:18px;line-height:1.6;color:var(--mq-ink-2)}
.hm .hm-s77{color:var(--mq-ink)}
.hm .hm-s78{background:var(--mq-bg-1)}
.hm .hm-s79{max-width:1200px;margin:0 auto;padding:72px 24px;display:flex;flex-direction:column;gap:32px}
.hm .hm-s80{font-size:34px;line-height:1.15;font-weight:800;letter-spacing:-0.01em;max-width:720px}
.hm .hm-s81{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:16px}
.hm .hm-s82{background:var(--mq-ink);color:#fff;border-radius:var(--mq-r-28);padding:32px;display:flex;flex-direction:column;gap:14px;min-height:300px}
.hm .hm-s83{font-size:14px;font-weight:700;color:var(--mq-violet-300)}
.hm .hm-s84{font-size:26px;line-height:1.2;font-weight:800}
.hm .hm-s85{font-size:16px;line-height:1.55;color:var(--mq-home-gray-7)}
.hm .hm-s86{margin-top:auto;font-weight:700;color:#fff}
.hm .hm-s87{background:#fff;color:var(--mq-ink);border-radius:var(--mq-r-28);padding:32px;display:flex;flex-direction:column;gap:14px;border:1px solid var(--mq-line-2);min-height:300px}
.hm .hm-s88{font-size:14px;font-weight:700;color:var(--mq-accent-text)}
.hm .hm-s89{font-size:16px;line-height:1.55;color:var(--mq-ink-2)}
.hm .hm-s90{background:#fff;border:1px solid var(--mq-line-2);border-radius:var(--mq-r-14);padding:10px;display:flex;flex-direction:column;gap:8px;box-shadow:0 8px 22px rgba(40,30,140,.07);font-weight:500}
.hm .hm-s91{display:flex;justify-content:space-between;align-items:center;font-size:8px;color:var(--mq-muted)}
.hm .hm-s92{color:var(--mq-home-gray-1)}
.hm .hm-s93{position:relative;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:2px;border:1px solid var(--mq-home-gray-2);border-radius:10px;padding:6px 4px 7px}
.hm .hm-s94{position:absolute;left:10%;right:30%;bottom:14px;height:2px;background:var(--mq-home-green)}
.hm .hm-s95{position:absolute;left:70%;right:10%;bottom:14px;height:2px;background:var(--mq-home-gray-4)}
.hm .hm-s96{display:flex;flex-direction:column;align-items:center;gap:4px;position:relative;z-index:1}
.hm .hm-s97{font-size:7px;line-height:1.2;font-weight:500;letter-spacing:-0.01em;color:var(--mq-ink);text-align:center;min-height:9px}
.hm .hm-s98{width:16px;height:16px;border-radius:var(--mq-r-pill);background:var(--mq-home-green);display:flex;align-items:center;justify-content:center}
.hm .hm-s99{width:16px;height:16px;border-radius:var(--mq-r-pill);background:var(--mq-home-amber);display:flex;align-items:center;justify-content:center;box-shadow:0 0 0 3px rgba(251,179,9,.2)}
.hm .hm-s100{font-size:7px;line-height:1.2;font-weight:500;letter-spacing:-0.01em;color:var(--mq-home-gray-1);text-align:center;min-height:9px}
.hm .hm-s101{width:16px;height:16px;border-radius:var(--mq-r-pill);background:var(--mq-home-gray-4)}
.hm .hm-s102{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:6px;font-size:8.5px;line-height:1.35;color:var(--mq-ink)}
.hm .hm-s103{border:1px solid var(--mq-home-gray-2);border-radius:8px;padding:5px 7px}
.hm .hm-s104{font-weight:700;font-size:9px;padding-bottom:4px}
.hm .hm-s105{display:flex;align-items:center;gap:5px;padding:4px 0;border-top:1px solid var(--mq-home-gray-2)}
.hm .hm-s106{width:4px;height:4px;border-radius:var(--mq-r-pill);background:var(--mq-home-gray-1);flex:none}
.hm .hm-s107{border:1px solid var(--mq-home-gray-2);border-radius:8px;padding:5px 7px;display:flex;flex-direction:column;gap:4px}
.hm .hm-s108{display:flex;justify-content:space-between;align-items:center;font-size:9px;font-weight:700}
.hm .hm-s109{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:2px 0;font-size:7px;text-align:center}
.hm .hm-s110{height:13px;display:flex;align-items:center;justify-content:center;color:var(--mq-ink-2)}
.hm .hm-s111{height:13px;width:13px;justify-self:center;border-radius:var(--mq-r-pill);background:var(--mq-accent);color:#fff;font-weight:600;display:flex;align-items:center;justify-content:center}
.hm .hm-s112{height:13px;width:13px;justify-self:center;border-radius:var(--mq-r-pill);background:var(--mq-home-amber);color:#fff;font-weight:600;display:flex;align-items:center;justify-content:center}
.hm .hm-s113{height:13px;width:13px;justify-self:center;border-radius:var(--mq-r-pill);background:var(--mq-home-pink-2);color:#fff;font-weight:600;display:flex;align-items:center;justify-content:center}
.hm .hm-s114{border:1px solid var(--mq-home-gray-2);border-radius:8px;padding:5px 7px;display:flex;flex-direction:column;font-size:8px;color:var(--mq-ink)}
.hm .hm-s115{font-weight:700;font-size:9px;padding-bottom:3px}
.hm .hm-s116{display:grid;grid-template-columns:1.9fr 1fr 0.7fr 0.9fr;gap:6px;align-items:center;padding:3px 0;border-bottom:1px solid var(--mq-home-gray-6)}
.hm .hm-s117{text-align:right;color:var(--mq-ink-2)}
.hm .hm-s118{text-align:right}
.hm .hm-s119{display:grid;grid-template-columns:1.9fr 1fr 0.7fr 0.9fr;gap:6px;align-items:center;padding:3px 0;font-weight:700}
.hm .hm-s120{text-align:right;color:var(--mq-ink-2);font-weight:500}
.hm .hm-s121{margin-top:auto;font-weight:700}
.hm .hm-s122{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:4px}
.hm .hm-s123{background:var(--mq-home-violet-bg);border-radius:var(--mq-r-14);padding:12px 12px 10px;display:flex;flex-direction:column;gap:6px}
.hm .hm-s124{font-size:26px;line-height:1;font-weight:800;color:var(--mq-accent)}
.hm .hm-s125{font-size:11px;font-weight:600;color:var(--mq-muted)}
.hm .hm-s126{background:var(--mq-home-amber-bg);border-radius:var(--mq-r-14);padding:12px 12px 10px;display:flex;flex-direction:column;gap:6px}
.hm .hm-s127{font-size:26px;line-height:1;font-weight:800;color:var(--mq-home-amber-text)}
.hm .hm-s128{background:var(--mq-home-green-bg);border-radius:var(--mq-r-14);padding:12px 12px 10px;display:flex;flex-direction:column;gap:6px}
.hm .hm-s129{font-size:26px;line-height:1;font-weight:800;color:var(--mq-ok)}
.hm .hm-s130{background:var(--mq-home-bg-5);border-radius:var(--mq-r-14);padding:12px 12px 10px;display:flex;flex-direction:column;gap:6px}
.hm .hm-s131{font-size:26px;line-height:1;font-weight:800;color:var(--mq-ink-2)}
.hm .hm-s132{background:var(--mq-home-pink-bg);border-radius:var(--mq-r-14);padding:12px 12px 10px;display:flex;flex-direction:column;gap:6px}
.hm .hm-s133{font-size:26px;line-height:1;font-weight:800;color:var(--mq-home-pink)}
.hm .hm-s134{display:flex;align-items:center;justify-content:space-between;border:1px dashed var(--mq-line-3);border-radius:var(--mq-r-14);padding:10px 14px;font-size:13px;color:var(--mq-ink-2)}
.hm .hm-s135{font-weight:800;color:var(--mq-ink)}
.hm .hm-s136{background:var(--mq-warn-bg);border-radius:var(--mq-r-22);padding:22px 28px;display:flex;flex-wrap:wrap;align-items:center;gap:12px 24px;color:var(--mq-ink)}
.hm .hm-s137{font-size:18px;font-weight:800}
.hm .hm-s138{font-size:16px;color:var(--mq-ink-2);flex:1 1 320px}
.hm .hm-s139{font-weight:700;color:var(--mq-warn)}
.hm .hm-s140{max-width:1200px;margin:0 auto;padding:80px 24px;display:flex;flex-wrap:wrap;gap:40px;align-items:flex-start}
.hm .hm-s141{flex:1 1 440px;min-width:0;display:flex;flex-direction:column;gap:18px}
.hm .hm-s142{font-size:34px;line-height:1.15;font-weight:800;letter-spacing:-0.01em}
.hm .hm-s143{font-size:18px;line-height:1.6;color:var(--mq-ink-2)}
.hm .hm-s144{font-weight:700}
.hm .hm-s145{flex:1 1 440px;min-width:0;margin:0;background:#fff;border-radius:var(--mq-r-28);box-shadow:0 30px 80px rgba(40,30,140,.14),0 2px 6px rgba(14,17,22,.05);padding:28px;display:flex;flex-direction:column}
.hm .hm-s146{font-size:13px;font-weight:700;color:var(--mq-muted);text-transform:uppercase;letter-spacing:.06em}
.hm .hm-s147{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 0;border-bottom:1px dashed var(--mq-line-2)}
.hm .hm-s148{font-size:16px;color:var(--mq-ink-2);min-width:0}
.hm .hm-s149{display:flex;align-items:center;gap:10px;flex:none}
.hm .hm-s150{font-size:16px;font-weight:700;color:var(--mq-muted-2);text-decoration-color:var(--mq-home-red);text-decoration-thickness:2px}
.hm .hm-s151{background:var(--mq-ok-bg);color:var(--mq-ok);font-size:12px;font-weight:700;padding:4px 10px;border-radius:var(--mq-r-pill);white-space:nowrap}
.hm .hm-s152{margin-top:20px;background:var(--mq-ink);color:#fff;border-radius:20px;padding:20px 22px;display:flex;flex-direction:column;gap:10px}
.hm .hm-s153{font-size:13px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--mq-violet-300)}
.hm .hm-s154{display:flex;align-items:center;flex-wrap:wrap;gap:10px 14px}
.hm .hm-s155{font-size:38px;line-height:1;font-weight:800;letter-spacing:-0.02em}
.hm .hm-s156{display:inline-flex;align-items:center;gap:6px;background:var(--mq-ok-bg);color:var(--mq-ok);font-size:14px;font-weight:700;padding:7px 12px;border-radius:var(--mq-r-pill)}
.hm .hm-s157{font-size:13px;color:var(--mq-home-gray-8)}
.hm .hm-s158{max-width:1200px;margin:0 auto;padding:0 24px 80px;display:flex;flex-direction:column;gap:28px}
.hm .hm-s159{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:12px}
.hm .hm-s160{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px}
.hm .hm-s161{background:#fff;border:1px solid var(--mq-line-2);border-radius:var(--mq-r-22);padding:22px 24px;display:flex;flex-direction:column;gap:16px;color:var(--mq-ink);box-shadow:0 1px 2px rgba(14,17,22,.04),0 8px 24px rgba(14,17,22,.04)}
.hm .hm-s162{display:flex;align-items:center;gap:12px}
.hm .hm-s163{width:44px;height:44px;border-radius:var(--mq-r-12);background:var(--mq-home-violet-bg);display:flex;align-items:center;justify-content:center;flex:none}
.hm .hm-s164{display:flex;flex-direction:column;gap:2px;min-width:0}
.hm .hm-s165{font-size:17px}
.hm .hm-s166{font-size:13px;color:var(--mq-muted)}
.hm .hm-s167{display:flex;flex-direction:column;gap:4px}
.hm .hm-s168{font-size:28px;letter-spacing:-0.01em}
.hm .hm-s169{font-size:16px;color:var(--mq-muted);font-weight:600}
.hm .hm-s170{display:flex;flex-wrap:wrap;gap:6px}
.hm .hm-s171{display:inline-flex;align-items:center;height:26px;padding:0 10px;border-radius:var(--mq-r-pill);font-size:12.5px;font-weight:600;background:var(--mq-home-bg-5);color:var(--mq-ink-2)}
.hm .hm-s172{display:inline-flex;align-items:center;height:26px;padding:0 10px;border-radius:var(--mq-r-pill);font-size:12.5px;font-weight:600;background:var(--mq-home-pink-bg);color:var(--mq-home-pink)}
.hm .hm-s173{margin-top:auto;padding-top:14px;border-top:1px solid var(--mq-bg-4);display:flex;justify-content:space-between;font-size:14px;font-weight:700}
.hm .hm-s174{color:var(--mq-accent)}
.hm .hm-s175{width:44px;height:44px;border-radius:var(--mq-r-12);background:var(--mq-home-amber-bg);display:flex;align-items:center;justify-content:center;flex:none}
.hm .hm-s176{width:44px;height:44px;border-radius:var(--mq-r-12);background:var(--mq-home-green-bg);display:flex;align-items:center;justify-content:center;flex:none}
.hm .hm-s177{list-style:none;margin:0;padding:0;border-top:1px solid var(--mq-line-2)}
.hm .hm-s178{border-bottom:1px solid var(--mq-line-2)}
.hm .hm-s179{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px 0;font-size:17px;font-weight:600;color:var(--mq-ink)}
.hm .hm-s180{color:var(--mq-accent);flex:none;font-size:15px;font-weight:700}
.hm .hm-s181{height:52px;border-radius:var(--mq-r-pill);border:1.5px solid var(--mq-line-3);color:var(--mq-ink);font-weight:700;font-size:16px;align-items:center;justify-content:center}
.hm .hm-s182{max-width:1200px;margin:0 auto;padding:0 24px 80px}
.hm .hm-s183{background:var(--mq-accent);color:#fff;border-radius:var(--mq-r-28);padding:40px;display:flex;flex-wrap:wrap;align-items:center;gap:32px 48px}
.hm .hm-s184{flex:1 1 420px;display:flex;flex-direction:column;gap:14px}
.hm .hm-s185{font-size:14px;font-weight:700;color:var(--mq-home-violet-200b)}
.hm .hm-s186{font-size:32px;line-height:1.2;letter-spacing:-0.01em}
.hm .hm-s187{font-size:16px;line-height:1.55;color:var(--mq-accent-ring)}
.hm .hm-s188{display:flex;flex-wrap:wrap;align-items:center;gap:12px 18px;margin-top:6px}
.hm .hm-s189{height:56px;padding:0 6px 0 26px;border-radius:var(--mq-r-pill);background:#fff;color:var(--mq-ink);display:inline-flex;align-items:center;gap:14px;box-shadow:0 10px 24px rgba(14,17,22,.18)}
.hm .hm-s190{display:inline-flex;align-items:baseline;gap:8px;white-space:nowrap}
.hm .hm-s191{font-size:16px;font-weight:800}
.hm .hm-s192{font-size:14px;font-weight:600;color:var(--mq-muted)}
.hm .hm-s193{width:44px;height:44px;border-radius:var(--mq-r-pill);background:var(--mq-accent);display:inline-flex;align-items:center;justify-content:center;flex:none}
.hm .hm-s194{flex:0 1 380px;background:#fff;color:var(--mq-ink);border-radius:20px;padding:20px;display:flex;flex-direction:column;gap:12px;box-shadow:0 20px 40px rgba(14,17,22,.18)}
.hm .hm-s195{font-size:12px;color:var(--mq-muted);font-weight:600}
.hm .hm-s196{height:40px;border:1px solid var(--mq-line-2);border-radius:10px;padding:0 12px;display:flex;align-items:center;font-size:14px;color:var(--mq-ink)}
.hm .hm-s197{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.hm .hm-s198{display:flex;justify-content:space-between;align-items:center;background:var(--mq-bg-1);border-radius:var(--mq-r-12);padding:12px 14px}
.hm .hm-s199{display:flex;flex-direction:column;gap:2px}
.hm .hm-s200{font-size:12px;color:var(--mq-muted)}
.hm .hm-s201{font-size:13px}
.hm .hm-s202{font-size:22px}
.hm .hm-s203{font-size:13px;color:var(--mq-muted);font-weight:600}
.hm .hm-s204{width:100%;box-sizing:border-box;height:56px;padding:0 6px 0 20px;gap:10px;border-radius:var(--mq-r-pill);background:#fff;color:var(--mq-ink);align-items:center;justify-content:space-between;box-shadow:0 10px 24px rgba(14,17,22,.18)}
.hm .hm-s205{display:inline-flex;align-items:baseline;gap:6px;white-space:nowrap;min-width:0}
.hm .hm-s206{font-size:15px;font-weight:800}
.hm .hm-s207{font-size:12.5px;font-weight:600;color:var(--mq-muted)}
.hm .hm-s208{width:44px;height:44px;border-radius:var(--mq-r-pill);background:var(--mq-accent);display:flex;align-items:center;justify-content:center;flex:none}
.hm .hm-s209{display:block}
.hm .hm-s210{max-width:1200px;margin:0 auto;padding:72px 24px;display:flex;flex-direction:column;gap:28px}
.hm .hm-s211{background:#fff;border-radius:var(--mq-r-22);padding:24px;display:flex;flex-direction:column;gap:14px;box-shadow:0 1px 2px rgba(14,17,22,.04),0 8px 24px rgba(14,17,22,.04)}
.hm .hm-s212{display:flex;justify-content:space-between;align-items:center}
.hm .hm-s213{width:44px;height:44px;border-radius:var(--mq-r-12);background:var(--mq-home-pink-bg);display:flex;align-items:center;justify-content:center}
.hm .hm-s214{display:inline-flex;align-items:center;height:26px;padding:0 10px;border-radius:var(--mq-r-pill);background:var(--mq-home-bg-5);color:var(--mq-ink-2);font-size:12.5px;font-weight:600}
.hm .hm-s215{display:flex;flex-direction:column;gap:6px}
.hm .hm-s216{font-size:18px}
.hm .hm-s217{font-size:15px;line-height:1.55;color:var(--mq-ink-2)}
.hm .hm-s218{width:44px;height:44px;border-radius:var(--mq-r-12);background:var(--mq-home-violet-bg);display:flex;align-items:center;justify-content:center}
.hm .hm-s219{width:44px;height:44px;border-radius:var(--mq-r-12);background:var(--mq-home-green-bg);display:flex;align-items:center;justify-content:center}
.hm .hm-s220{display:flex;flex-direction:column;gap:14px}
.hm .hm-s221{display:flex;justify-content:space-between;align-items:center;gap:16px}
.hm .hm-s222{font-size:15px;font-weight:700;color:var(--mq-ink)}
.hm .hm-s223{display:flex;gap:8px}
.hm .hm-s224{width:44px;height:44px;border-radius:var(--mq-r-pill);border:1.5px solid var(--mq-line-3);background:#fff;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;padding:0}
.hm .hm-s225{margin:0;display:flex;flex-direction:column;gap:8px}
.hm .hm-s226{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:var(--mq-r-18);display:block;background:var(--mq-line-2)}
.hm .hm-s227{font-size:14px;line-height:1.4;color:var(--mq-ink-2)}
.hm .hm-s228{display:flex;flex-wrap:wrap;gap:10px 24px;align-items:center;font-size:15px;color:var(--mq-muted);margin:-8px 0 28px}
.hm .hm-s229{color:var(--mq-ink-2)}
.hm .hm-s230{background:var(--mq-accent);color:#fff;border-radius:var(--mq-r-28);padding:36px 40px;display:flex;flex-wrap:wrap;align-items:center;gap:20px 40px}
.hm .hm-s231{flex:1 1 420px;display:flex;flex-direction:column;gap:8px}
.hm .hm-s232{font-size:26px}
.hm .hm-s233{display:flex;flex-wrap:wrap;gap:12px}
.hm .hm-s234{height:52px;padding:0 24px;border-radius:var(--mq-r-pill);background:#fff;color:var(--mq-ink);font-weight:800;display:inline-flex;align-items:center;gap:10px}
.hm .hm-s235{height:52px;padding:0 24px;border-radius:var(--mq-r-pill);background:var(--mq-home-max-bg);display:inline-flex;align-items:center;box-shadow:inset 0 0 0 1px rgba(255,255,255,.18)}
.hm .hm-s236{height:24px;display:block}
.hm .hm-s237{max-width:880px;margin:0 auto;padding:72px 24px;display:flex;flex-direction:column;gap:12px}
.hm .hm-s238{font-size:34px;line-height:1.15;font-weight:800;letter-spacing:-0.01em;margin-bottom:12px}
.hm .hm-s239{background:#fff;border-radius:var(--mq-r-18);padding:0 20px}
.hm .hm-s240{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:18px 0;font-size:16px;font-weight:700}
.hm .hm-s241{width:28px;height:28px;border-radius:var(--mq-r-pill);background:var(--mq-home-bg-5);flex:none;display:flex;align-items:center;justify-content:center}
.hm .hm-s242{font-size:15px;line-height:1.6;color:var(--mq-ink-2);padding:0 0 18px}
.hm .hm-s243{background:linear-gradient(180deg,#fff 0%,var(--mq-home-violet-bg-3) 100%)}
.hm .hm-s244{max-width:880px;margin:0 auto;padding:88px 24px 104px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:20px}
.hm .hm-s245{display:inline-flex;align-items:center;height:32px;padding:0 14px;border-radius:var(--mq-r-pill);background:var(--mq-ok-bg);color:var(--mq-ok);font-size:14px;font-weight:700}
.hm .hm-s246{font-size:44px;line-height:1.12;font-weight:800;letter-spacing:-0.02em}
.hm .hm-s247{font-size:18px;line-height:1.55;color:var(--mq-ink-2);max-width:640px}
.hm .hm-s248{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin-top:8px}
.hm .hm-s249{height:58px;width:260px;box-sizing:border-box;padding:0 20px;justify-content:center;border-radius:var(--mq-r-pill);background:var(--mq-accent);color:#fff;font-weight:800;font-size:17px;display:inline-flex;align-items:center;box-shadow:0 12px 28px rgba(76,61,247,.3)}
.hm .hm-s250{height:58px;width:260px;box-sizing:border-box;padding:0 20px;justify-content:center;border-radius:var(--mq-r-pill);background:#fff;border:1.5px solid var(--mq-line-3);color:var(--mq-ink);font-weight:700;font-size:17px;display:inline-flex;align-items:center}
.hm .hm-s251{display:flex;flex-wrap:wrap;justify-content:center;gap:12px}
.hm .hm-s252{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px 14px;font-size:14px;color:var(--mq-muted);margin-top:6px}
.hm .hm-s253{width:4px;height:4px;border-radius:var(--mq-r-pill);background:var(--mq-home-gray-5)}

/* ── 4. Узкие экраны (до 360 px) — правка к макету (САЙТ-15) ──
   Макет нарисован на 390. На 320 плашки цифр 2×2 («раз в 10 дней»
   без переноса) и пример расчёта (строка «Себестоимость — 858,89 ₽»)
   не помещались в колонку и выходили за край. С 361 px ничего не меняется. */
@media (max-width: 360px) {
  :where(.hm) .mq-stats > div { padding: 12px 12px !important; }
  :where(.hm) .mq-stats > div > p:first-child { font-size: 17px !important; }
  :where(.hm) .mq-calc-form { padding: 12px !important; min-width: 0; }
  :where(.hm) .mq-calc-form > div:last-child { padding: 10px !important; gap: 6px; }
}

/* Подвал вплотную к последнему блоку (САЙТ-22, решение 26.11.2026): общий
   отступ .site-footer { margin-top: 48px } из css/footer.css давал белую
   полосу между цветным финальным блоком (главная, /ved-company, /upravlenie-importom) и тёмным подвалом. footer.css не трогается — на
   страницах с белым низом отступ остаётся; нижний отступ даёт сам последний
   блок внутри своего фона. */
.site-footer { margin-top: 0; }
