/* Снабжение строек (/snab) — «Заводская бирка». Один файл на весь сайт.
   Токены (цвета, шрифты, радиус) — в :root в base.html. Жёлтый текстом — только на тёмном. */

/* ---------- запасные шрифты с подогнанными метриками: пока грузится Oswald/Plex, строки не прыгают ---------- */
@font-face { font-family: "Oswald FB Narrow"; src: local("Arial Narrow"), local("ArialNarrow"), local("ArialNarrowMT");
             size-adjust: 93%; ascent-override: 128%; descent-override: 31%; line-gap-override: 0%; }
@font-face { font-family: "Oswald FB"; src: local("Arial"), local("Helvetica"), local("Roboto");
             size-adjust: 80%; ascent-override: 149%; descent-override: 36%; line-gap-override: 0%; }
@font-face { font-family: "Plex FB"; src: local("Arial"), local("Helvetica"), local("Roboto");
             size-adjust: 103%; ascent-override: 99.5%; descent-override: 26.7%; line-gap-override: 0%; }

/* ---------- основа ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--paper); color: var(--text); font: 16px/1.55 var(--f-text); overflow-x: hidden;
       -webkit-font-smoothing: antialiased; }
@supports (overflow: clip) { body { overflow-x: clip; } }
img { max-width: 100%; }
a { color: inherit; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; box-shadow: 0 0 0 2px var(--ink); }
main:focus { outline: none; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--yellow); color: var(--on-yellow); padding: 12px 18px;
        border-radius: var(--radius); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

h1, h2 { font-family: var(--f-head); font-weight: 600; text-transform: uppercase; letter-spacing: .005em; color: var(--ink); }
h1 { font-size: clamp(40px, 5.6vw, 84px); line-height: 1.02; margin: 0 0 22px; }
h2 { font-size: clamp(30px, 3.6vw, 52px); line-height: 1.05; margin: 0 0 18px; }
h3 { font: 600 20px/1.3 var(--f-text); margin: 0 0 8px; color: var(--ink); }
p.lead, .lead { font-size: 19px; line-height: 1.5; color: var(--muted); margin: 0 0 16px; max-width: 40em; }
.sub { color: var(--muted); margin: -4px 0 28px; max-width: 44em; font-size: 17px; }
.eyebrow { display: block; margin: 0 0 14px; font: 500 12px/1.4 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.eyebrow::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 10px; background: var(--yellow); vertical-align: 1px; }
.note-s { color: var(--muted); font-size: 13px; line-height: 1.5; }
.meta { color: var(--muted); font-size: 14px; }
.hint { color: var(--muted); font-size: 13px; font-weight: 400; }
.more { font-weight: 600; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.ico { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 4px;
       background: var(--yellow); color: var(--on-yellow); margin-bottom: 18px; }
.ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- кнопки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px;
       background: var(--yellow); color: var(--on-yellow); border: 1px solid var(--yellow); border-radius: var(--radius);
       font: 600 16px/1.2 var(--f-text); text-decoration: none; text-align: center; cursor: pointer;
       transition: background-color .15s, border-color .15s, color .15s; }
.btn:hover { background: var(--yellow-hover); border-color: var(--yellow-hover); color: var(--on-yellow); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; }
.btn.line { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn.line:hover { border-color: var(--yellow); color: var(--yellow); background: transparent; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .45; cursor: default; }
.btn.sm { min-height: 40px; padding: 8px 14px; font-size: 14px; }
.linkbtn { border: 0; background: none; padding: 0; font: inherit; color: var(--ink); text-decoration: underline;
           text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; cursor: pointer; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.call { color: var(--muted); font-size: 15px; }
.call a { font: 500 15px var(--f-mono); white-space: nowrap; }
.sticky-cta { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; min-height: 52px;
              box-shadow: 0 8px 24px rgba(18,18,20,.35); transition: opacity .2s, transform .2s; }
.sticky-cta.hide { opacity: 0; transform: translateY(140%); pointer-events: none; }

/* ---------- шапка ---------- */
header.top { position: sticky; top: 0; z-index: 30; background: var(--coal); border-bottom: 1px solid var(--line-d); }
header.top .wrap { display: flex; align-items: center; gap: 12px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; margin-right: auto; color: #fff; text-decoration: none; }
.brand svg { flex: none; }
.brand .bt { display: flex; flex-direction: column; min-width: 0; }
.brand .b1 { font: 600 16px/1.1 var(--f-head); text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
.brand .b2 { font: 500 10.5px/1.3 var(--f-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--yellow); white-space: nowrap; margin-top: 3px; }
.brand .sep { display: none; }
.top-links { display: none; gap: 24px; margin-right: 12px; }
.top-links .top-wide { display: none; }   /* 900–1199 px: в шапке 3 раздела, остальные — в подвале */
.top-links a { color: #fff; text-decoration: none; font-size: 15px; font-weight: 500; }
.top-links a:hover { color: var(--yellow); }
.top-phone { flex: none; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: #fff;
             text-decoration: none; border: 1px solid var(--line-d); border-radius: var(--radius); }
.top-phone .num { display: none; }
.top-phone:hover { color: var(--yellow); }
.btn.top-btn { flex: none; min-height: 44px; padding: 8px 18px; font-size: 15px; }

/* ---------- секции ---------- */
.sec { padding: var(--sec) 0; }
.sec:not(.dark):not(.card) + .sec:not(.dark):not(.card) { padding-top: 0; }
.dark { background: var(--coal); color: #fff; }
.dark h2, .dark h3 { color: #fff; }
.dark .eyebrow, .dark .sub, .dark .note-s { color: var(--steel-d); }
.dark .card { background: var(--ink-2); border-color: var(--line-d); color: #fff; }
.dark .card p { color: var(--steel-d); margin: 0; }
.page { padding-top: 48px; padding-bottom: 88px; }
.page h2 { font-size: clamp(28px, 3vw, 42px); margin-top: 64px; }
.page h2.h-first, .page .eyebrow + h2 { margin-top: 0; }
.page .eyebrow { margin-top: 0; }
.page > h1 { font-size: clamp(34px, 4.4vw, 60px); }

/* ---------- тёмная полоса-заголовок внутренних страниц ---------- */
.band { position: relative; background-color: var(--coal); color: #fff; padding: 36px 0 48px;
        background-image: linear-gradient(rgba(255,255,255,.035) 1.5px, transparent 1.5px), linear-gradient(90deg, rgba(255,255,255,.035) 1.5px, transparent 1.5px);
        background-size: 34px 34px; border-bottom: 4px solid var(--yellow); }
.band h1 { color: #fff; font-size: clamp(36px, 4.6vw, 64px); max-width: 15em; margin-bottom: 18px; }
.band .lead { color: #d2d2d6; }
.band .eyebrow { color: var(--yellow); }
.band .call { color: var(--steel-d); }
.band .call a { color: #fff; }
.crumbs { font: 400 12px/1.4 var(--f-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin: 0 0 26px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #8a8a8f; }
.crumbs a { color: inherit; }
.band .crumbs { color: var(--steel-d); }
.band .crumbs a { color: #fff; }

/* ---------- герой ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--coal); color: #fff; }
.hero-bg { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2;
                background: linear-gradient(90deg, rgba(18,18,20,.93) 0%, rgba(18,18,20,.8) 40%, rgba(18,18,20,.3) 100%); }
/* фон — стройка Амурского ГХК с воздуха (CC BY-SA, подпись .hero-credit обязательна), поверх сетка не нужна */
.hero .mesh { display: none; }
.mesh { position: absolute; inset: 0; z-index: -1; color: #fff; opacity: .045; pointer-events: none; }
.mesh svg { display: block; width: 100%; height: 100%; }
.hero-grid { display: grid; gap: 32px; padding-top: 44px; padding-bottom: 40px; }
.hero-text { min-width: 0; }
.hero h1 { color: #fff; }
.hero .eyebrow { color: var(--yellow); }
.hero .lead { color: #d6d6d9; }
.hero .hint { color: var(--steel-d); font-size: 14px; margin: 0 0 26px; max-width: 46em; }
.hero .call { color: var(--steel-d); margin: 18px 0 0; }
.hero .call a { color: #fff; }
.trust { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
         border-top: 1px solid var(--line-d); }
.trust li { min-width: 0; padding: 20px 12px 22px 0; }
.trust li:nth-child(n+3) { border-top: 1px solid var(--line-d); }
.trust li:nth-child(2n) { padding-left: 16px; border-left: 1px solid var(--line-d); }
.trust b { display: block; font: 600 34px/1 var(--f-head); color: #fff; letter-spacing: .01em; }
.trust b i { font-style: normal; color: var(--yellow); }
.trust span { display: block; margin-top: 10px; font: 400 11.5px/1.45 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--steel-d); }

/* карточка оценки — как документ */
.est-card { position: relative; min-width: 0; background: var(--card); color: var(--text); border: 0; border-radius: var(--radius);
            padding: 20px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
.hero .est-card { align-self: start; }
.seg { display: flex; gap: 4px; margin: 0 0 18px; padding: 4px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.seg button { flex: 1 1 0; min-width: 0; min-height: 40px; padding: 9px 10px; border: 0; border-radius: 4px; background: transparent;
              color: var(--muted); font: 600 14px/1.2 var(--f-text); cursor: pointer; }
.seg button:hover { color: var(--ink); }
.seg button[aria-selected="true"] { background: var(--ink); color: #fff; }
.seg-wide { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.seg-wide button { flex: 1 0 auto; padding: 10px 16px; }
.example-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding-bottom: 10px; margin-bottom: 4px;
                border-bottom: 2px solid var(--ink); }
.example-head b { font: 500 12px/1.3 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.badge { font: 500 11px/1.3 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; background: var(--yellow); color: var(--on-yellow);
         padding: 4px 8px; border-radius: 3px; white-space: nowrap; }
.example table { table-layout: fixed; font-size: 13px; }
.example th, .example td { padding: 7px 4px; }
.example td:first-child { overflow-wrap: anywhere; }
.example col.c-name { width: 38%; }
.example .note-s { margin: 12px 0 0; }
.est-card label { font-size: 14px; }
.est-card textarea { min-height: 120px; font-size: 15px; }
.est-go { margin: 12px 0 0; }
.btn.est-go { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn.est-go:hover { background: #000; border-color: #000; color: #fff; }
.btn.est-go[disabled] { opacity: .7; }
.est-card .alert { margin: 12px 0 0; font-size: 14px; }
#est-out { margin-top: 14px; }
.est-table { table-layout: fixed; }
.est-table col.c-name { width: 38%; }
.est-table col.c-qty { width: 16%; }
.est-table td.num { white-space: normal; }
.est-table .rng { white-space: nowrap; }
.est-table td:first-child { overflow-wrap: anywhere; }
.est-table .tag { margin-top: 3px; }
.est-table .dash { color: var(--muted); }
.est-card .totals .rng { white-space: nowrap; }
.est-card .totals div > span:last-child { text-align: right; }
.est-kp { margin-top: 12px; }
#est-hint { margin: 12px 0 0; }

/* таблицы и итоги (оценка, статус заявки, цены категории) */
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 9px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font: 500 11px/1.3 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
td.num, th.num { text-align: right; white-space: nowrap; }
td.num { font-family: var(--f-mono); font-size: .93em; }
.tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tag { display: inline-block; font: 500 11px/1.45 var(--f-mono); color: var(--ink); background: var(--yellow-soft); border-radius: 3px; padding: 1px 6px; }
.tag.no { color: var(--muted); background: #ebe9e3; }
.totals { margin-top: 12px; font-size: 14px; }
.totals div { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.totals div > span:last-child { font-family: var(--f-mono); }
.totals .grand { margin-top: 6px; padding-top: 10px; border-top: 2px solid var(--ink); font-weight: 600; font-size: 17px; color: var(--ink); }
.totals .grand > span:last-child { font-weight: 500; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.status { font: 600 22px/1.25 var(--f-text); color: var(--ink); }
.alert { border-radius: var(--radius); padding: 12px 14px; margin-bottom: 16px; }
.alert.err { background: #fdecea; color: var(--err); }
.alert.ok { background: #e7f5ee; color: var(--ok); }

/* ---------- лента цен ---------- */
.ticker { display: flex; align-items: stretch; background: var(--yellow); color: var(--on-yellow); overflow: hidden;
          font: 400 14px/1.2 var(--f-mono); border-bottom: 1px solid #d8ab00; }
.ticker-tag { flex: none; display: flex; align-items: center; gap: 10px; margin: 0; padding: 0 18px; background: var(--ink); color: #fff;
              font: 500 12px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; position: relative; z-index: 1; }
.ticker-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); }
.ticker-view { flex: 1 1 auto; min-width: 0; overflow: hidden;
               -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 40px), transparent);
               mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 40px), transparent); }
.ticker-run { display: flex; width: max-content; animation: ticker var(--dur, 90s) linear infinite; }
.ticker-list { display: flex; list-style: none; margin: 0; padding: 0; }
.ticker-list li { display: flex; align-items: center; white-space: nowrap; }
.ticker-list li::after { content: ""; width: 6px; height: 6px; margin: 0 22px; background: var(--on-yellow); }
.ticker a { display: block; padding: 16px 0; color: var(--on-yellow); text-decoration: none; }
.ticker a b { font-weight: 500; }
.ticker a:hover { text-decoration: underline; text-decoration-color: currentColor; }
.ticker a:focus-visible { outline-offset: -3px; box-shadow: none; outline-color: var(--ink); }
.ticker:hover .ticker-run, .ticker:focus-within .ticker-run, .ticker.paused .ticker-run { animation-play-state: paused; }
/* пауза ленты (WCAG 2.2.2): на телефоне ховера нет — нужна кнопка; без JS кнопка не работает и скрыта */
.ticker-pause { display: none; flex: none; width: 30px; height: 30px; margin-left: 4px; padding: 0; border: 1px solid rgba(255,255,255,.28);
  border-radius: 6px; background: transparent; color: #fff; cursor: pointer; align-items: center; justify-content: center; }
.js .ticker-pause { display: inline-flex; }
.ticker-pause:hover { border-color: var(--yellow); color: var(--yellow); }
.ticker-pause:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.ticker-pause i { width: 10px; height: 11px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.ticker.paused .ticker-pause i { width: 0; height: 0; border-style: solid; border-color: transparent transparent transparent currentColor;
  border-width: 6px 0 6px 10px; border-right: 0; margin-left: 3px; }
@media (max-width: 559px) {
  .ticker-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .ticker-tag { padding: 0 10px; gap: 8px; }
}
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- путь заявки ---------- */
.path { list-style: none; margin: 10px 0 0; padding: 0; display: grid; }
.path li { position: relative; min-width: 0; padding: 0 0 30px 56px; }
.path li::before { content: ""; position: absolute; left: 15px; top: 40px; bottom: 6px; width: 3px; background: var(--yellow); }
.path li:last-child { padding-bottom: 0; }
.path li:last-child::before { display: none; }
.path-n { position: absolute; left: 0; top: 0; width: 33px; height: 33px; display: grid; place-items: center; border-radius: 4px;
          background: var(--ink); color: var(--yellow); font: 500 13px/1 var(--f-mono); }
.path-t { display: block; font: 600 30px/1.05 var(--f-head); text-transform: uppercase; color: var(--ink); }
.path-d { display: block; margin-top: 6px; color: var(--muted); }

/* ---------- калькуляторы ---------- */
.card.calcs { padding: 20px; }
.calc .radios { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0 0 16px; }
.calc .radios label { display: flex; align-items: center; gap: 8px; min-height: 32px; margin: 0; font-size: 15px; font-weight: 500; cursor: pointer; }
.calc .radios input { width: 18px; height: 18px; margin: 0; }
.calc .fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 14px; }
.calc .fields label { margin: 0; font-size: 13px; font-weight: 600; }
.calc .fields .u { font-weight: 400; color: var(--muted); }
.calc .fields input, .calc .fields select { display: block; margin-top: 6px; font-weight: 400; }
.calc-hint { margin: 12px 0 0; color: var(--muted); font-size: 13px; }
.calc-res { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px;
            margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.calc-res output { min-height: 27px; font: 500 18px/1.4 var(--f-mono); color: var(--ink); }
.calc-res output:empty::before { content: "Введите размеры"; font: 400 15px var(--f-text); color: var(--muted); }
.calc-done { margin: 12px 0 0; color: var(--ok); font-size: 14px; }

/* ---------- поля форм ---------- */
label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 14px; }
input[type=text], input[type=tel], input[type=email], select, textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--field); border-radius: var(--radius);
  background: #fff; color: var(--text); font: inherit; font-size: 16px; }
select { appearance: none; -webkit-appearance: none; padding-right: 36px;
         background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231d1d1f' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 14px center; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--yellow); }
textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
input[type=file] { max-width: 100%; font: inherit; font-size: 14px; }
input[type=file] { color: var(--muted); }
input[type=file]::file-selector-button {
  font: 600 14px/1 "IBM Plex Sans", Arial, sans-serif; color: var(--ink); background: #fff; cursor: pointer;
  border: 1.5px solid var(--ink); border-radius: 6px; padding: 10px 14px; margin-right: 12px;
  transition: background-color .15s, border-color .15s;
}
input[type=file]::file-selector-button:hover { background: var(--yellow); border-color: var(--yellow); }
input[type=checkbox], input[type=radio] { accent-color: var(--ink); }
/* input:focus выше гасит outline — без своего кольца у галочки согласия и радио калькулятора фокуса не видно */
input[type=checkbox]:focus-visible, input[type=radio]:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; box-shadow: none; }
form .row { margin-bottom: 16px; }
.grid2 { display: grid; gap: 0 16px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 14px; }
.check input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* ---------- куда уходят деньги (тёмная секция) ---------- */
.money { background: var(--ink-2); border: 1px solid var(--line-d); border-radius: var(--radius); padding: 24px 20px 20px; }
.mrow { display: grid; gap: 10px; margin-bottom: 30px; }
.mrow:first-child { margin-bottom: 44px; }
.mlab { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 16px; }
.mlab b { font-size: 16px; font-weight: 600; color: #fff; }
.mlab span { font: 500 18px/1.3 var(--f-mono); color: #fff; }
.mrow-us .mlab span { color: var(--yellow); }
.mbar { position: relative; display: flex; height: 30px; background: var(--lane); border-radius: 4px; }
.mbar i { display: block; height: 100%; }
.m-base { background: #e4e2dc; border-radius: 4px 0 0 4px; }
.m-zone { background: repeating-linear-gradient(135deg, #e4e2dc 0 6px, #7d7b76 6px 12px); border-radius: 0 4px 4px 0; }
.m-us { min-width: 14px; background: var(--yellow); border-radius: 4px; }
.mtick { position: absolute; top: 100%; margin-top: 7px; transform: translateX(-50%); font: 400 12px var(--f-mono); color: var(--steel-d); white-space: nowrap; }
.mtick:last-child { transform: translateX(-100%); }
.money .note-s { margin: 0; padding-top: 16px; border-top: 1px solid var(--line-d); }
.why { display: grid; gap: 16px; margin-top: 16px; }
.why h3 { font-size: 19px; }
.why p, .steps p { margin: 0; color: var(--muted); font-size: 15px; }
.dark .why p { color: var(--steel-d); }

/* ---------- как это устроено ---------- */
.flow { margin: 0; }
.flow-grid { display: grid; gap: 8px; align-items: stretch; }
.flow-src, .flow-bot, .flow-dst { min-width: 0; border-radius: var(--radius); padding: 22px 20px; }
.flow-src, .flow-dst { background: var(--card); border: 1px solid var(--ink); }
.flow-h { display: block; margin-bottom: 12px; font: 500 12px/1.3 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.flow-src ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.flow-src li { padding: 8px 10px; border: 1px solid var(--line); border-radius: 4px; background: var(--paper); font-size: 14px; line-height: 1.25; }
.flow-bot { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: var(--ink); color: #fff; padding: 26px 20px; }
.flow-bot b, .flow-dst b { display: block; font: 600 22px/1.1 var(--f-head); text-transform: uppercase; letter-spacing: .01em; }
.flow-bot > span:last-child { display: block; margin-top: 6px; color: var(--steel-d); font-size: 15px; }
.flow-dst { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.flow-ico { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-bottom: 12px; border-radius: 4px; }
.flow-ico svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.flow-bot .flow-ico { color: var(--yellow); border: 1px solid rgba(245,197,24,.5); }
.flow-dst .flow-ico { background: var(--yellow); color: var(--on-yellow); }
.flow-arrow { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 2px 0; }
.flow-arrow span { order: 2; padding: 4px 8px; border: 1px solid var(--ink); border-radius: 3px; background: var(--card);
                   font: 500 11.5px/1.2 var(--f-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--ink); white-space: nowrap; }
.ar { position: relative; display: block; width: 2px; height: 30px; background: var(--ink); }
.ar::after { content: ""; position: absolute; left: 50%; bottom: -2px; transform: translateX(-50%);
             border: 6px solid transparent; border-top: 8px solid var(--ink); border-bottom: 0; }

/* ---------- живая база цен ---------- */
.live { display: grid; gap: 32px; padding: 24px 20px; }
.live-nums { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
.live-nums li { min-width: 0; padding-top: 12px; border-top: 3px solid var(--yellow); }
.live-nums b { display: block; font: 600 46px/1 var(--f-head); color: var(--ink); font-variant-numeric: tabular-nums; }
.live-nums span { display: block; margin-top: 8px; font: 400 11.5px/1.45 var(--f-mono); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.live-chart h3 { margin: 0 0 14px; font: 500 12px/1.3 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.bars li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 5px 12px; align-items: center; font-size: 14px; }
.bars .bn { grid-row: 1; grid-column: 1; overflow-wrap: anywhere; }
.bars .bv { grid-row: 1; grid-column: 2; text-align: right; font: 500 14px var(--f-mono); font-variant-numeric: tabular-nums; }
.bars .bt { grid-column: 1 / -1; height: 12px; overflow: hidden; background: var(--paper); border-radius: 2px; }
.bars .bt i { display: block; height: 100%; background: var(--yellow); border-right: 2px solid var(--ink); transform-origin: left center;
              transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.bars.anim .bt i { transform: scaleX(0); }
.bars.anim.in .bt i { transform: none; }

/* ---------- каталог: плитки ---------- */
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tiles li { min-width: 0; }
.tile, .cgrid a.card { position: relative; display: flex; flex-direction: column; height: 100%; min-height: 148px; padding: 16px 14px;
                       background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); color: var(--text);
                       text-decoration: none; transition: border-color .15s; }
.tile::after, .cgrid a.card::after { content: ""; position: absolute; top: -1px; right: -1px; border-style: solid;
                                     border-width: 0 22px 22px 0; border-color: transparent var(--yellow) transparent transparent;
                                     border-top-right-radius: var(--radius); opacity: 0; transition: opacity .15s; }
.tile:hover, .cgrid a.card:hover { border-color: var(--ink); }
.tile:hover::after, .cgrid a.card:hover::after, .tile:focus-visible::after, .cgrid a.card:focus-visible::after { opacity: 1; }
.tile-n { font: 600 19px/1.1 var(--f-head); text-transform: uppercase; letter-spacing: .01em; color: var(--ink); overflow-wrap: anywhere; }
.tile-p { margin-top: auto; padding-top: 16px; font: 400 12.5px/1.45 var(--f-mono); color: var(--text); }
.tile-p b { font-weight: 500; white-space: nowrap; }
.tile-all { background: var(--ink); border-color: var(--ink); }
.tile-all .tile-n { color: #fff; }
.tile-all .tile-p { color: var(--yellow); }
.tile-all:hover { border-color: var(--yellow); }
.tile-none { color: var(--muted); }
.tile-c { margin-top: 6px; font: 400 11px/1.3 var(--f-mono); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }

/* иконка категории на плитке лендинга: в разметке после текста (цены ближе к ссылке), визуально — сверху */
.t-ico { order: -1; display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 12px; border-radius: 4px;
         background: var(--yellow); color: var(--on-yellow); }
.t-ico svg { width: 22px; height: 22px; }

/* страница каталога: десктоп — компактные плитки, телефон — список строк (как McMaster mobile) */
.cgrid { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; background: var(--card); border: 1px solid var(--line);
         border-radius: var(--radius); overflow: hidden; }
.cgrid li { min-width: 0; }
.cgrid li + li { border-top: 1px solid var(--line); }
.cgrid a.card { display: grid; grid-template-columns: 36px minmax(0, 1fr) 18px; grid-template-areas: "ic t go" "ic p go" "ic n go";
                column-gap: 14px; align-items: center; align-content: center; min-height: 72px; padding: 12px 14px;
                border: 0; border-radius: 0; }
.cgrid a.card::after { display: none; }
.cgrid a.card:hover { background: #fbfaf7; }
.cgrid a.card:focus-visible { outline-offset: -3px; }
.c-ico { grid-area: ic; align-self: start; display: grid; place-items: center; width: 36px; height: 36px; margin-top: 2px; border-radius: 4px;
         background: var(--yellow); color: var(--on-yellow); }
.c-ico svg { width: 22px; height: 22px; }
.c-go { grid-area: go; display: grid; place-items: center; color: var(--steel); }
.c-go .ar { display: none; }
.cgrid a.card:hover .c-go { color: var(--ink); }
.cgrid h2 { grid-area: t; margin: 0; font: 600 18px/1.15 var(--f-head); text-transform: uppercase; color: var(--ink); overflow-wrap: anywhere; }
.cgrid .p { grid-area: p; margin: 5px 0 0; font: 500 14px/1.3 var(--f-mono); color: var(--ink); }
.cgrid .p .f { font-weight: 500; padding: 1px 5px; background: var(--yellow); border-radius: 3px; white-space: nowrap; }
.cgrid .p span { font-weight: 400; color: var(--muted); }
.cgrid .n { grid-area: n; margin: 3px 0 0; color: var(--muted); font-size: 12.5px; line-height: 1.35; overflow-wrap: anywhere; }

/* иконка категории в тёмной полосе-заголовке */
.band-ico { display: block; width: 48px; height: 48px; margin: 0 0 14px; color: var(--yellow); }
.band-ico svg { display: block; }

/* ---------- список-заявка ---------- */
.btn.top-btn { position: relative; }
.list-badge { position: absolute; top: -7px; right: -7px; min-width: 20px; height: 20px; padding: 0 5px; display: grid; place-items: center;
              border-radius: 10px; background: #fff; color: var(--ink); border: 2px solid var(--coal);
              font: 600 11px/1 var(--f-mono); }
.list-badge[hidden] { display: none; }
.list-add { display: none; }
.list-on .list-add { display: inline-flex; }
.list-add { min-width: 124px; white-space: nowrap; }
.list-add.is-on, .list-add.is-on:hover { background: var(--card); border-color: var(--ink); color: var(--ink); }
@media (hover: hover) { .list-add.is-on:hover { background: var(--yellow-soft); } }
.calc-link { display: inline-block; margin-left: 14px; padding: 4px 0; font-size: 14px; color: var(--muted); vertical-align: middle; }
.calc-link:hover { color: var(--ink); }
.listbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--coal); color: #fff;
           border-top: 3px solid var(--yellow); box-shadow: 0 -6px 20px rgba(18,18,20,.25); }
.listbar[hidden] { display: none; }
.listbar-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px;
              padding-top: 8px; padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px)); }
.listbar-t { font: 500 15px/1.3 var(--f-mono); white-space: nowrap; }
@media (max-width: 400px) { .listbar-t { font-size: 13.5px; } .listbar-go { padding: 8px 14px; } }
.listbar-t b { color: var(--yellow); font-weight: 600; }
.listbar-go { min-height: 44px; padding: 8px 18px; font-size: 15px; white-space: nowrap; }
.listbar .btn:focus-visible { outline-color: #fff; }
body.has-listbar footer.foot { padding-bottom: 112px; }
.list-hint { margin: 0 0 8px; padding: 8px 12px; border-left: 4px solid var(--yellow); background: var(--yellow-soft);
             border-radius: 3px; font-size: 14px; line-height: 1.45; color: var(--on-yellow); }

/* ---------- история, миссия-бирка ---------- */
.story { display: grid; gap: 32px; }
.story-text p { margin: 0 0 14px; font-size: 17px; }
.mission { position: relative; margin: 0; padding: 44px 28px 32px; border-radius: var(--radius); background: var(--yellow); color: var(--on-yellow);
           display: flex; flex-direction: column; justify-content: center;
           clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 0 100%); }
.mission::before { content: ""; position: absolute; top: 22px; right: 46px; width: 18px; height: 18px; border-radius: 50%;
                   background: var(--paper); box-shadow: inset 0 0 0 2px rgba(17,17,17,.3); }
.mission .eyebrow { color: var(--on-yellow); }
.mission .eyebrow::before { background: var(--on-yellow); }
.mission p { margin: 0; font: 600 clamp(26px, 3vw, 42px)/1.08 var(--f-head); text-transform: uppercase; color: var(--ink); max-width: 18em; }

/* ---------- кто мы ---------- */
.card.who { display: grid; padding: 0; overflow: hidden; }
.who-photo { margin: 0; }
.who-photo img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 687; object-fit: cover; background: var(--line); }
.who-text { padding: 22px 20px 24px; }
.who-text p { margin: 0 0 16px; font-size: 16px; }
.who-facts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); font: 400 13px/1.5 var(--f-mono); }
.who-facts li { padding: 9px 0; border-bottom: 1px solid var(--line); }
.who-nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; list-style: none; margin: 16px 0 0; padding: 0; }
.who-nums b { display: block; font: 600 28px/1.05 var(--f-head); color: var(--ink); }
.who-nums span { display: block; margin-top: 4px; font: 400 11px/1.4 var(--f-mono); text-transform: uppercase; color: var(--muted); }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 12px; }
.gallery img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); background: var(--line); }

/* ---------- вопросы ---------- */
.faq-sec { display: grid; gap: 20px; }
.faq-aside .call { margin: 0; }
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; padding: 20px 52px 20px 0; list-style: none; cursor: pointer; font-weight: 600; font-size: 18px; line-height: 1.35; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; width: 30px; height: 30px; margin-top: -15px;
                      display: grid; place-items: center; font: 400 26px/1 var(--f-mono); color: var(--ink); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover::after { color: var(--muted); }
.faq summary:focus-visible { outline-offset: 0; box-shadow: none; }
.faq details p { margin: 0; padding: 0 52px 22px 0; color: var(--muted); }

/* ---------- заявка (тёмная) ---------- */
.order { background: var(--coal); color: #fff; padding: var(--sec) 0; }
.order-grid { display: grid; gap: 28px; }
.order h2 { color: #fff; }
.order .eyebrow { color: var(--steel-d); }
.order-h { margin: 22px 0 18px; font: 500 12px/1.3 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--yellow); }
.next { list-style: none; margin: 0 0 24px; padding: 0; counter-reset: n; }
.next li { position: relative; padding: 0 0 22px 54px; color: var(--steel-d); counter-increment: n; }
.next li::before { content: "0" counter(n); position: absolute; left: 0; top: 0; width: 36px; height: 36px; display: grid; place-items: center;
                   border: 1px solid var(--yellow); border-radius: 4px; color: var(--yellow); font: 500 13px/1 var(--f-mono); }
.next b { display: block; color: #fff; font-weight: 600; font-size: 17px; }
.order .call { color: var(--steel-d); margin: 0; }
.order .call a { color: #fff; }
.form-card { border: 0; padding: 22px 18px; color: var(--text); }
.btn-submit { min-height: 56px; font-size: 17px; }

/* ---------- внутренние страницы: категория, «О нас» ---------- */
.price-card { padding: 6px 20px 14px; }
.ptable { table-layout: auto; }
.ptable td.name { font-weight: 600; color: var(--text); overflow-wrap: anywhere; }
.ptable td.price { font-family: var(--f-mono); }
.ptable .from { font-weight: 500; color: var(--ink); white-space: nowrap; padding: 2px 6px;
                background: var(--yellow); border-radius: 3px; }
.ptable .to { display: block; color: var(--muted); font-size: 12.5px; white-space: nowrap; }
.ptable .req { color: var(--muted); }
.ptable td.act { text-align: right; white-space: nowrap; }
.lbl, .lbl-u { display: none; }
.upd { margin: 12px 0 0; color: var(--muted); font-size: 13px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: s; }
.steps li { position: relative; padding: 20px 20px 20px 70px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); counter-increment: s; }
.steps li::before { content: "0" counter(s); position: absolute; left: 20px; top: 20px; width: 34px; height: 34px; display: grid; place-items: center;
                    border-radius: 4px; background: var(--ink); color: var(--yellow); font: 500 13px/1 var(--f-mono); }
.cta-box { margin-top: 64px; padding: 28px 22px; border-radius: var(--radius); background: var(--coal); color: #fff; border-left: 6px solid var(--yellow); }
.page .cta-box h2 { margin: 0 0 10px; color: #fff; }
.cta-box p { margin: 0 0 20px; color: var(--steel-d); }
.cta-box .call { color: var(--steel-d); }
.cta-box .call a { color: #fff; }
.near { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.near a { display: block; padding: 8px 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
          font-size: 14px; text-decoration: none; }
.near a:hover { border-color: var(--ink); }

.about-grid { display: grid; gap: 28px; }
.about-text p { margin: 0 0 16px; font-size: 17px; line-height: 1.65; }
.about-text p.note-s { font-size: 13px; line-height: 1.5; }
.about-text p.result { padding-left: 16px; border-left: 4px solid var(--yellow); font-weight: 600; font-size: 19px; line-height: 1.45; color: var(--ink); }
.about-photo { margin: 0; }
.about-photo img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 687; object-fit: cover; border-radius: var(--radius); background: var(--line); }
.about-photo figcaption { margin-top: 10px; font: 400 12px/1.4 var(--f-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.about .mission { margin-top: 56px; }
.principles { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.principles li { height: 100%; }
.principles p { margin: 0; color: var(--muted); font-size: 15px; }
.about .sec { padding: 64px 0 0; }
.card.partner { display: grid; gap: 22px; margin-top: 64px; padding: 28px 22px; background: var(--coal); color: #fff; border: 0; border-left: 6px solid var(--yellow); }
.page .partner h2 { margin: 0 0 10px; color: #fff; }
.partner .eyebrow { color: var(--steel-d); }
.partner p { margin: 0; font-size: 17px; color: #d2d2d6; }
.partner .call a { color: #fff; }
.req { list-style: none; margin: 0; padding: 0; font: 400 14px/1.5 var(--f-mono); }
.req li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.req li:last-child { border-bottom: 0; }
.about-end { margin-top: 56px; }

/* ---------- подвал ---------- */
footer.foot { background: var(--coal); color: var(--steel-d); font-size: 14px; padding: 48px 0 40px; border-top: 4px solid var(--yellow); }
.foot-grid { display: grid; gap: 32px; }
.foot-col { min-width: 0; }
.foot a { color: #fff; text-decoration: none; }
.foot a:hover { color: var(--yellow); }
.foot-brand { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; color: #fff; font: 600 18px/1.1 var(--f-head); text-transform: uppercase; letter-spacing: .04em; }
.foot-brand svg { flex: none; }
.foot-brand i { display: block; margin-top: 4px; font: 500 10.5px/1.3 var(--f-mono); font-style: normal; letter-spacing: .08em; color: var(--yellow); }
.foot-req { margin: 0; font: 400 13px/1.7 var(--f-mono); }
.foot-h { margin: 0 0 14px; font: 500 12px/1.3 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--steel-d); }
.foot-h a { color: var(--steel-d); }
.foot-nav { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.foot-cats ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 20px; }
.foot-cats li { margin: 0 0 9px; break-inside: avoid; }
body.has-sticky footer.foot { padding-bottom: 104px; }

/* ---------- появление при прокрутке (только с JS, см. snab-site.js) ---------- */
.rv-on .rv { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease;
             transition-delay: calc(var(--i, 0) * 80ms); }
.rv-on .rv.is-in { opacity: 1; transform: none; }

/* ---------- адаптив ---------- */
@media (max-width: 400px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .brand { gap: 8px; }
  .brand svg { width: 26px; height: 26px; }
  .brand .b1 { font-size: 15px; }
  .brand .b2 { font-size: 9.5px; letter-spacing: .06em; }
  .btn.top-btn { padding: 8px 14px; }
  header.top .wrap { gap: 8px; }
  .est-card { padding: 16px 12px; }
  .example table { font-size: 12px; }
  .example th, .example td { padding: 6px 2px; }
  .example col.c-name { width: 34%; }
  .example .num + .num { padding-left: 6px; }
  .tablewrap table { font-size: 12px; }
  .tablewrap th, .tablewrap td { padding: 6px 3px; }
  .seg button { font-size: 13px; padding: 9px 4px; }
  .calc .fields { grid-template-columns: 1fr; }
  .card.calcs { padding: 16px 14px; }
  .trust b { font-size: 30px; }
  .tile { padding: 14px 12px; }
  .tile-n { font-size: 17px; }
  .tile-p { font-size: 12px; }
  .live-nums b { font-size: 40px; }
  .who-nums b { font-size: 22px; }
}
@media (max-width: 719px) {
  .hero::before { background: linear-gradient(180deg, rgba(18,18,20,.88), rgba(18,18,20,.8)); }
  .hero .cta .btn { flex: 1 1 100%; }
  .price-card { padding: 4px 14px 12px; }
  .ptable thead { display: none; }
  .ptable, .ptable tbody { display: block; }
  .ptable tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .ptable tr:last-child { border-bottom: 0; }
  .ptable td { display: block; border: 0; padding: 0; min-width: 0; }
  .ptable td.name { grid-column: 1 / -1; font-size: 15px; }
  .ptable td.unit, .ptable td.sup, .ptable td.dt { display: none; }
  .ptable td.price { text-align: left; white-space: normal; align-self: center; }
  .ptable td.price .to { display: block; margin-top: 4px; }
  .ptable td.act .list-add { min-width: 0; padding: 8px 12px; }
  .ptable td.act { align-self: center; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
  .ptable td.act .calc-link { margin-left: 0; font-size: 13px; }
  .lbl-u { display: inline; font-weight: 400; color: var(--muted); }
  .lbl { display: block; margin-top: 3px; color: var(--muted); font: 400 12px/1.4 var(--f-text); }
}
@media (min-width: 560px) {
  .cgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid2 { grid-template-columns: 1fr 1fr; }
  .tile { padding: 18px; }
  .cgrid { gap: 12px; background: none; border: 0; border-radius: 0; overflow: visible; }
  .cgrid li + li { border-top: 0; }
  .cgrid a.card { grid-template-columns: 40px minmax(0, 1fr) 18px; grid-template-areas: "ic . go" "t t t" "p p p" "n n n";
                  align-items: start; align-content: start; min-height: 0; height: 100%; padding: 16px;
                  border: 1px solid var(--line); border-radius: var(--radius); }
  .cgrid a.card::after { display: block; }
  .cgrid a.card:hover { background: var(--card); border-color: var(--ink); }
  .cgrid a.card:focus-visible { outline-offset: 2px; }
  .c-ico { width: 40px; height: 40px; margin: 0 0 12px; }
  .c-go { align-self: start; margin-top: 2px; }
  .c-go .ar { display: inline; }
  .c-go .ch { display: none; }
  .cgrid .p { margin-top: 10px; }
}
@media (min-width: 720px) {
  :root { --sec: 96px; }
  .wrap { padding-left: 32px; padding-right: 32px; }
  .trust { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .trust li, .trust li:nth-child(2n) { padding: 20px 24px 24px; border-top: 0; border-left: 1px solid var(--line-d); }
  .trust li:first-child { padding-left: 0; border-left: 0; }
  .trust b { font-size: 44px; }
  .est-card { padding: 22px 24px; }
  .path { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .path li { padding: 58px 28px 0 0; }
  .path li::before { left: 40px; right: 8px; top: 15px; bottom: auto; width: auto; height: 3px; }
  .path-t { font-size: 36px; }
  .card.calcs { padding: 24px 28px 26px; }
  .calc .fields { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .money { padding: 32px 36px 26px; }
  .mlab span { font-size: 22px; }
  .why { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .why .card { padding: 28px; }
  .live { padding: 32px 36px; }
  .live-nums b { font-size: 60px; }
  .tiles { gap: 12px; }
  .card.who { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
  .who-photo img { height: 100%; min-height: 400px; aspect-ratio: auto; }
  .who-text { align-self: center; padding: 36px 36px 36px 32px; }
  .gallery { grid-template-columns: repeat(4, 1fr); }
  .form-card { padding: 32px; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .cta-box, .card.partner { padding: 36px 40px; }
  .band { padding: 44px 0 64px; }
  .sticky-cta { display: none; }
  body.has-sticky footer.foot { padding-bottom: 40px; }
  .foot-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr) minmax(0, 1.4fr); gap: 40px; }
}
@media (min-width: 900px) {
  .top-links { display: flex; }
  .top-phone { width: auto; height: auto; padding: 0 4px; border: 0; font: 500 15px var(--f-mono); }
  .top-phone svg { display: none; }
  .top-phone .num { display: inline; }
  .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .flow-grid { grid-template-columns: minmax(0, 1.05fr) 140px minmax(0, 1.1fr) 140px minmax(0, .8fr); gap: 0; align-items: center; }
  .flow-src ul { grid-template-columns: 1fr; }
  .flow-arrow { flex-direction: column; gap: 10px; padding: 0 10px; }
  .flow-arrow span { order: 0; }
  .ar { width: 100%; height: 2px; }
  .ar::after { left: auto; right: -2px; top: 50%; bottom: auto; transform: translateY(-50%);
               border: 6px solid transparent; border-left: 8px solid var(--ink); border-right: 0; }
  .flow-bot { padding: 34px 24px; }
  .live.has-chart { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
  .story { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
  .mission { padding: 56px 44px 44px; }
  .faq-sec { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; }
  .about-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: start; }
  .principles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .card.partner { grid-template-columns: minmax(0, 1.4fr) auto; align-items: center; gap: 40px; }
}
/* 720–1039: герой в одну колонку, текст тянется на всю ширину — над светлой правой частью фото серый 14 px давал 2:1 */
@media (min-width: 720px) and (max-width: 1039px) {
  .hero::before { background: linear-gradient(90deg, rgba(18,18,20,.93) 0%, rgba(18,18,20,.88) 50%, rgba(18,18,20,.78) 100%); }
}
@media (min-width: 1040px) {
  .hero-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: start; padding-top: 52px; padding-bottom: 40px; }
  .order-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; align-items: start; }
  .order-aside { position: sticky; top: 96px; }
}

/* ---------- меньше движения ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-run { animation: none; }
  .ticker-view { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .ticker-dup { display: none; }
  .js .ticker-pause { display: none; }
  .bars .bt i, .faq summary::after, .sticky-cta, .btn, .tile, .tile::after { transition: none; }
  .rv-on .rv { opacity: 1; transform: none; transition: none; }
}
@media print {
  header.top, .ticker, .sticky-cta, .skip, .listbar, .list-add, .list-hint button { display: none; }
  .rv-on .rv { opacity: 1; transform: none; }
}

/* подпись автора фото первого экрана (условие лицензии CC BY-SA) */
.hero-credit { margin: 0; padding: 0 0 10px; font: 400 11px/1.4 "IBM Plex Mono", monospace; color: rgba(255,255,255,.58); text-align: right; overflow-wrap: anywhere; }

@media (min-width: 1200px) { .top-links .top-wide { display: inline; } }
/* поле с hidden внутри <label> (прутки арматуры): общее label{display:block} перебивало hidden */
.calc [hidden] { display: none; }

/* ---------- баннер cookie (Яндекс Метрика): уведомление внизу; липкие кнопки и плашка списка встают над ним (--ck-h) ---------- */
.ck { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: var(--coal); color: #e6e6e8;
      border-top: 3px solid var(--yellow); box-shadow: 0 -6px 20px rgba(0,0,0,.25); }
.ck[hidden] { display: none; }
.ck-in { display: flex; align-items: center; gap: 10px 24px; padding-top: 12px; padding-bottom: 12px; }
.ck-t { margin: 0; flex: 1 1 auto; font-size: 13.5px; line-height: 1.45; }
.ck-t a { color: var(--yellow); }
.ck-ok { flex: 0 0 auto; min-height: 44px; padding: 8px 22px; }
.ck .btn:focus-visible, .ck a:focus-visible { outline-color: #fff; }
@media (max-width: 560px) { .ck-in { flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; } .ck-t { font-size: 12.5px; } .ck-ok { width: 100%; min-height: 40px; } }
.ck-on .sticky-cta { bottom: calc(var(--ck-h, 0px) + 12px); }
.ck-on .listbar { bottom: var(--ck-h, 0px); }
.ck-on footer.foot { padding-bottom: calc(var(--ck-h, 0px) + 40px); }
.ck-on body.has-sticky footer.foot { padding-bottom: calc(var(--ck-h, 0px) + 104px); }
.ck-on body.has-listbar footer.foot { padding-bottom: calc(var(--ck-h, 0px) + 112px); }
@media (min-width: 720px) { .ck-on body.has-sticky footer.foot { padding-bottom: calc(var(--ck-h, 0px) + 40px); } }
@media print { .ck { display: none; } .ck-on footer.foot { padding-bottom: 0; } }
