/* bytovki.odk-perm.ru — вариант A «Светлый каталог» (выбран 25.10.2026). В одном семействе с okna159.ru:
   Onest, красный и зелёный из логотипа ОДК. Конструктор и каталог — во второй половине файла. */
:root {
  --red: #AC3606; --red-dark: #8a2b05; --red-soft: #fbeee8; --green: #259D33;
  --ink: #1b1d20; --ink-2: #565b63; --line: #e2e5e9; --bg: #fff; --bg-2: #f4f5f7;
  --accent: var(--red); --accent-ink: #fff; --surface: #fff; --surface-2: #fff; --radius: 16px; --head: 'Onest', sans-serif;
  --wrap: 1240px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font: 400 17px/1.6 'Onest', system-ui, sans-serif; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }   /* height: auto — у <img> есть width/height от сборки */
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -.015em; }
h2 { font-size: clamp(28px, 3.6vw, 44px); }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
section { padding: clamp(64px, 8vw, 110px) 0; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: 14px; }
.lead { font-size: clamp(17px, 1.4vw, 19px); color: var(--ink-2); max-width: 60ch; margin-top: 16px; }
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 12px 26px; border-radius: 999px; font: 600 16px 'Onest', sans-serif; text-decoration: none; border: 0; cursor: pointer; transition: background .2s, border-color .2s; }
.btn-main { background: var(--red); color: #fff; }
.btn-main:hover { background: var(--red-dark); }
.btn-ghost { background: transparent; border: 1.5px solid var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.calc-total .btn-ghost { color: #fff; border-color: rgba(255,255,255,.3); }
.calc-total .btn-ghost:hover { border-color: #fff; }

.top { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 72px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.logo img { height: 34px; width: auto; }
.logo span { font-size: 13px; line-height: 1.25; color: var(--ink-2); border-left: 1px solid var(--line); padding-left: 12px; }
.nav { display: flex; gap: 22px; margin-left: auto; font-size: 15px; font-weight: 500; }
.nav a { text-decoration: none; color: var(--ink-2); padding: 10px 0; white-space: nowrap; }
/* 7 пунктов + номер + кнопка помещаются в строку от 1380 px; уже — номер прячем, «Рассчитать» остаётся */
@media (min-width: 1061px) and (max-width: 1500px) { .logo span { display: none; } }
@media (min-width: 1061px) and (max-width: 1380px) { .top .phone { display: none; } .nav { gap: 20px; } }
.nav a:hover { color: var(--red); }
.phone { font-weight: 700; text-decoration: none; white-space: nowrap; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 14px; border-radius: 8px; }
/* Мобильное меню на <details>: работает и без JS (как на okna159.ru) */
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--line); display: grid; place-items: center; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span, .menu summary span::before, .menu summary span::after { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .2s, background .2s; }
.menu summary span::before, .menu summary span::after { content: ''; position: absolute; left: 0; }
.menu summary span::before { top: -6px; } .menu summary span::after { top: 6px; }
.menu[open] summary span { background: transparent; }
.menu[open] summary span::before { transform: translateY(6px) rotate(45deg); }
.menu[open] summary span::after { transform: translateY(-6px) rotate(-45deg); }
.menu .panel { position: absolute; right: 0; top: 56px; width: min(320px, calc(100vw - 32px)); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 20px 50px rgba(20,24,30,.14); padding: 10px; display: grid; }
.menu .panel a { text-decoration: none; padding: 12px 14px; border-radius: 10px; font-weight: 500; }
.menu .panel a:hover { background: var(--bg-2); }
.menu .panel .tel { margin-top: 6px; background: var(--red); color: #fff; text-align: center; font-weight: 700; }
.menu .panel .tel:hover { background: var(--red-dark); }
@media (max-width: 1060px) { .nav { display: none; } .phone { margin-left: auto; } .menu { display: block; } }
@media (max-width: 700px) { .top .btn { display: none; } }
@media (max-width: 600px) {
  .logo span, .top .btn, .top .phone { display: none; } .menu { margin-left: auto; }
  .menu .panel { position: fixed; left: 16px; right: 16px; top: 64px; width: auto; }
}

/* Кнопка звонка на телефоне — появляется после первого экрана (site.js) */
.fab { display: none; }
@media (max-width: 700px) {
  .fab { display: inline-flex; align-items: center; gap: 8px; position: fixed; z-index: 25; right: 16px; bottom: 16px; padding: 14px 20px 14px 16px; border-radius: 999px; background: var(--red); color: #fff; font-weight: 700; text-decoration: none; box-shadow: 0 12px 30px rgba(172,54,6,.35); transform: translateY(120px); opacity: 0; transition: transform .4s cubic-bezier(.2,.7,.2,1), opacity .4s; }
  .fab svg { width: 20px; height: 20px; }
  .fab.show { transform: none; opacity: 1; }
}

.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 7vw, 96px); background: linear-gradient(180deg, #fff 0%, var(--bg-2) 100%); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5.4vw, 68px); font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--red); }
.hero .lead { font-size: clamp(18px, 1.6vw, 21px); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.facts { display: grid; grid-template-columns: repeat(3, auto); gap: 28px; margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line); justify-content: start; }
.facts b { display: block; font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; line-height: 1.1; }
.facts span { font-size: 14px; color: var(--ink-2); }
.hero-pic { position: relative; }
.hero-pic img { width: 100%; mix-blend-mode: multiply; }
@media (min-width: 1360px) { .hero-pic img { width: 120%; max-width: none; margin-left: -4%; } }   /* уже — каркас обрезался справа */
.hero-pic .tag { position: absolute; left: 6%; bottom: 8%; background: #fff; border-radius: 14px; padding: 12px 16px; box-shadow: 0 10px 30px rgba(0,0,0,.08); font-size: 14px; line-height: 1.35; }
.hero-pic .tag b { display: block; font-size: 16px; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } .hero-pic img { width: 100%; margin: 0; } .facts { grid-template-columns: repeat(3, 1fr); gap: 14px; } }

.types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.type { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.type:hover { border-color: var(--red); box-shadow: 0 14px 34px rgba(0,0,0,.07); }
.type img { aspect-ratio: 16/10; object-fit: contain; background: var(--bg-2); padding: 10px; }
.type div { padding: 20px 22px 24px; }
.type h3 { font-size: 22px; }
.type p { color: var(--ink-2); margin-top: 6px; font-size: 15.5px; }
.type .go { display: inline-block; margin-top: 14px; color: var(--red); font-weight: 600; font-size: 15px; }
@media (max-width: 860px) { .types { grid-template-columns: 1fr; } .type { flex-direction: row; } .type img { width: 42%; aspect-ratio: auto; } }
@media (max-width: 520px) { .type { flex-direction: column; } .type img { width: 100%; } }

#calc { background: var(--bg-2); }
.calc { margin-top: 36px; }

.works { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 260px; gap: 12px; margin-top: 36px; }
@media (max-width: 760px) { .works { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; } }

.inter { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; align-items: start; }
.finishes { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 10px; }
.finishes li { display: flex; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.finishes li b { white-space: nowrap; }
.istrip { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 150px; gap: 8px; }
.istrip .shot:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.istrip .shot:nth-child(n+10) { display: none; }   /* 2×2 + 8 = 12 клеток: 3 ряда по 4 или 4 по 3; остальные — в просмотре стрелками */
@media (max-width: 900px) { .inter { grid-template-columns: 1fr; } .istrip { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 110px; } }

#why { background: var(--bg-2); }
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 36px; }
.why div { background: #fff; border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); }
.why b { display: block; font-size: 32px; font-weight: 800; color: var(--red); line-height: 1; margin-bottom: 14px; }
.why h3 { font-size: 18px; }
.why p { font-size: 15px; color: var(--ink-2); margin-top: 6px; }
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 56px; list-style: none; padding: 0; }
.steps li { counter-increment: s; border-top: 2px solid var(--ink); padding-top: 16px; font-size: 15px; color: var(--ink-2); }
.steps li::before { content: "0" counter(s); display: block; font-weight: 800; color: var(--ink); font-size: 14px; margin-bottom: 8px; }
.steps b { display: block; color: var(--ink); font-size: 17px; margin-bottom: 4px; }
@media (max-width: 900px) { .why, .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .why, .steps { grid-template-columns: 1fr; } }

.faq { max-width: 860px; margin-top: 30px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 44px 20px 0; font-size: 19px; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 13px; font-size: 28px; font-weight: 300; color: var(--red); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 0 22px; color: var(--ink-2); max-width: 70ch; }

.contacts { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.big-phone { display: inline-block; font-size: clamp(30px, 4vw, 48px); font-weight: 800; text-decoration: none; margin-top: 18px; letter-spacing: -.02em; }
.big-phone:hover { color: var(--red); }
.contacts dl { margin: 26px 0 0; display: grid; grid-template-columns: 130px 1fr; gap: 10px 18px; font-size: 16px; }
.contacts dt { color: var(--ink-2); }
.contacts dd { margin: 0; }
.req { margin-top: 28px; background: var(--bg-2); border-radius: var(--radius); padding: 22px 24px; font-size: 14.5px; color: var(--ink-2); line-height: 1.7; }
.req b { color: var(--ink); }
/* Карта — OpenStreetMap (как на okna159.ru: без рекламы и чужих cookie), поверх — ссылка в Яндекс Карты */
.map { position: relative; min-height: 440px; height: 100%; border-radius: var(--radius); overflow: hidden; background: var(--bg-2); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-open { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 600; padding: 9px 14px 9px 10px; border-radius: 10px; box-shadow: 0 4px 16px rgba(20,24,30,.18); }
.map-open svg { width: 18px; height: 18px; color: #fc3f1d; }
.map-open:hover { color: var(--red); }
@media (max-width: 860px) { .contacts { grid-template-columns: minmax(0, 1fr); } .contacts dl { grid-template-columns: 1fr; gap: 2px; } .contacts dd { margin-bottom: 10px; } .map { min-height: 320px; } }

footer { border-top: 1px solid var(--line); padding: 26px 0; font-size: 14px; color: var(--ink-2); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; }
footer a { color: var(--ink); }
footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
@media (max-width: 700px) { footer { padding-bottom: 96px; } }   /* место под кнопку звонка */

/* Страница вида бытовок */
.crumbs { font-size: 14px; color: var(--ink-2); padding-top: 26px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--red); }
.crumbs span { margin: 0 8px; opacity: .6; }
.kind-hero { padding: 24px 0 clamp(48px, 6vw, 80px); background: linear-gradient(180deg, #fff 0%, var(--bg-2) 100%); }
.kind-hero .wrap > .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin-top: 22px; }
.kind-hero h1 { font-size: clamp(34px, 4.6vw, 58px); font-weight: 800; }
.kind-hero .pic { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.kind-hero .pic img { width: 100%; aspect-ratio: 4/3; object-fit: contain; }
.uses { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.uses li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 15px; }
.price-line { margin-top: 24px; font-size: 16px; color: var(--ink-2); }
.price-line b { font-size: 26px; color: var(--ink); font-weight: 800; margin-right: 6px; }
@media (max-width: 860px) { .kind-hero .wrap > .grid { grid-template-columns: minmax(0, 1fr); } }
.others { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 30px; }
@media (max-width: 700px) { .others { grid-template-columns: 1fr; } }

/* Тексты для людей и поиска: о производстве, страницы видов, цены */
.narrow { max-width: 860px; }
.seo-text h2 { font-size: clamp(24px, 2.6vw, 32px); margin: 40px 0 14px; }
.seo-text > h2:first-child, .seo-text > .eyebrow + h2 { margin-top: 0; }
.seo-text h3 { font-size: 20px; margin-bottom: 10px; }
.seo-text p, .seo-text li { color: var(--ink-2); }
.seo-text p + p { margin-top: 14px; }
.seo-text ul { margin: 12px 0 14px; padding-left: 22px; display: grid; gap: 8px; }
.seo-text li b, .seo-text td b { color: var(--ink); }
.seo-text a { color: var(--red); }
.seo-text .cols { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; margin-top: 26px; }
.seo-text .cols > div:last-child { background: var(--bg-2); border-radius: var(--radius); padding: 24px; }
.cities { list-style: none; padding: 0 !important; display: flex !important; flex-wrap: wrap; gap: 6px !important; }
.cities li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; font-size: 14.5px; color: var(--ink); }
@media (max-width: 860px) { .seo-text .cols { grid-template-columns: minmax(0, 1fr); gap: 24px; } }
.ptable-wrap { overflow-x: auto; margin: 16px 0 10px; border: 1px solid var(--line); border-radius: var(--radius); }
.ptable { width: 100%; border-collapse: collapse; font-size: 16px; }
.ptable th { text-align: left; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); background: var(--bg-2); padding: 12px 16px; }
.ptable td { padding: 12px 16px; border-top: 1px solid var(--line); color: var(--ink); vertical-align: top; }
.ptable td:last-child, .ptable th:last-child { text-align: right; white-space: nowrap; font-weight: 700; }
.ptable tr.hl td { background: var(--red-soft); }
@media (max-width: 560px) { .ptable { font-size: 14.5px; } .ptable td, .ptable th { padding: 10px 12px; } .ptable td:last-child { white-space: normal; } }

/* 404 */
.nf { padding: clamp(80px, 12vw, 160px) 0; text-align: center; }
.nf b { display: block; font-size: clamp(80px, 14vw, 160px); line-height: 1; color: var(--red); font-weight: 800; }
.nf .lead { margin: 16px auto 28px; }
.nf .hero-cta { justify-content: center; }

/* ---------- Конструктор, каталог, просмотр фото. Цвета — через переменные:
   --accent --accent-ink --ink --ink-2 --line --surface --surface-2 --radius --head */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) 340px; grid-template-areas: "view total" "form total"; gap: 20px 28px; align-items: start; }
.calc-view { grid-area: view; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 20px 14px; color: var(--ink-2); }
.calc-draw svg { width: 100%; height: auto; display: block; }
.calc-size { margin: 10px 0 0; font-size: 14px; color: var(--ink-2); text-align: center; }
.calc-form { grid-area: form; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.calc-form fieldset { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px 16px; background: var(--surface); min-width: 0; }
.calc-form legend { font-weight: 700; font-size: 15px; padding: 0 6px; margin-left: -6px; color: var(--ink); }
.calc-form fieldset:last-child { grid-column: 1 / -1; }
.calc-form fieldset:last-child .wins { grid-template-columns: repeat(4, auto); justify-content: start; gap: 6px 28px; }
.calc-form fieldset:last-child .checks { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 720px) { .calc-form fieldset:last-child .wins, .calc-form fieldset:last-child .checks { grid-template-columns: 1fr 1fr; } }
.len { display: flex; align-items: center; gap: 14px; }
.len input { flex: 1; accent-color: var(--accent); height: 40px; touch-action: pan-y; }
.len output { font: 700 22px/1 var(--head); min-width: 56px; text-align: right; color: var(--ink); }
.len-scale { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-2); margin-top: 2px; }
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(36px, 1fr)); gap: 8px; }
.swatches label { position: relative; cursor: pointer; }
.swatches input, .seg input, .checks input { position: absolute; opacity: 0; pointer-events: none; }
.swatches span { display: block; aspect-ratio: 1; border-radius: 50%; background: var(--c); border: 1px solid rgba(0,0,0,.18); min-height: 36px; max-width: 48px; }
.swatches input:checked + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.swatches input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }
.swatches em { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }   /* подпись для экранного диктора */
.seg { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.seg:first-of-type { margin-top: 0; }
.seg label { cursor: pointer; flex: 1 1 auto; }
.seg span, .checks span { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; min-height: 40px; padding: 6px 10px; border-radius: calc(var(--radius) * .6); border: 1.5px solid var(--line); font-size: 14px; font-weight: 500; color: var(--ink); background: var(--surface-2); line-height: 1.25; }
.seg small, .checks small { font-size: 12.5px; font-weight: 500; color: var(--ink-2); }
.seg input:checked + span, .checks input:checked + span { border-color: var(--accent); background: var(--accent); color: var(--accent-ink); }
.seg input:checked + span small, .checks input:checked + span small { color: inherit; opacity: .85; }
.seg input:focus-visible + span, .checks input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }
.pair { display: grid; grid-template-columns: 52px 1fr; align-items: center; gap: 8px; margin-top: 8px; font-size: 14px; color: var(--ink-2); }
.pair:first-of-type { margin-top: 0; }
.pair .seg { margin: 0; }
.wins { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; margin-bottom: 10px; }
.win { display: grid; grid-template-columns: minmax(0, 1fr) 32px 22px 32px; align-items: center; gap: 4px; font-size: 14px; color: var(--ink); }
.win small { grid-column: 1 / -1; margin-top: -4px; font-size: 12.5px; color: var(--ink-2); }
.win button { width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--surface-2); color: var(--ink); font-size: 18px; line-height: 1; cursor: pointer; }
.win button:hover { border-color: var(--accent); }
.win b { text-align: center; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.checks label { cursor: pointer; position: relative; }
.calc-total { grid-area: total; position: sticky; top: 96px; background: var(--total-bg, var(--ink)); color: var(--total-ink, #fff); border-radius: var(--radius); padding: 24px; display: grid; gap: 12px; }
.ct-label { margin: 0; font-size: 14px; opacity: .75; }
.ct-sum { margin: 0; font: 800 40px/1 var(--head); letter-spacing: -.02em; }
.ct-lines { list-style: none; margin: 0; padding: 12px 0; border-block: 1px solid rgba(127,127,127,.3); display: grid; gap: 6px; font-size: 14px; }
.ct-lines li { display: flex; justify-content: space-between; gap: 12px; }
.ct-lines li.empty { opacity: .7; }
.ct-base, .ct-note { margin: 0; font-size: 12.5px; line-height: 1.5; opacity: .72; }
.calc-total .btn { justify-content: center; width: 100%; white-space: normal; text-align: center; }
.cv-sum { display: none; }
.calc-nojs { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; font-size: 17px; }
.calc-nojs b { font-size: 28px; display: block; }
/* Узкий экран: схема с ценой прилипает сверху, пока листают опции; полный расчёт — после опций */
@media (max-width: 1100px) {
  .calc { grid-template-columns: 1fr; grid-template-areas: "view" "form" "total"; }
  .calc-total { position: static; }
  .calc-view { position: sticky; top: var(--sticky-top, 72px); z-index: 5; box-shadow: 0 8px 20px rgba(0,0,0,.08); }
  /* на альбомном планшете полноширинная схема занимала больше половины экрана и закрывала опции под собой */
  .calc-draw svg { max-height: min(30vh, 260px); }
  .calc-size { display: none; }
  .cv-sum { display: block; margin: 6px 0 0; text-align: center; font-size: 14px; }
  .cv-sum b { font: 800 20px var(--head); color: var(--ink); margin-left: 4px; }
}
@media (max-width: 720px) {
  .calc-form { grid-template-columns: 1fr; }
  .calc-view { padding: 12px 8px 10px; }
}
@media (max-width: 440px) { .wins, .checks, .calc-form fieldset:last-child .wins { grid-template-columns: 1fr; } }

/* Каталог планировок */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tabs button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font: 600 15px var(--body, inherit); cursor: pointer; }
.tabs button small { font-size: 12px; color: var(--ink-2); }
.tabs button[aria-selected=true] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.tabs button[aria-selected=true] small { color: inherit; opacity: .8; }
.tab-note { margin: 14px 0 18px; color: var(--ink-2); }
.tab-note a { color: var(--red); font-weight: 600; }
/* Без JS вкладок нет: все виды друг под другом, все планировки видны */
.tabs { display: none; }
.js .tabs { display: flex; }
.panel-h { font-size: 22px; margin-top: 34px; }
.js .panel-h { display: none; }
.js [data-panel]:not(.all) .plan:nth-child(n+9) { display: none; }
.more { display: none; }
.js .more { display: flex; }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.plan { position: relative; display: block; padding: 0; border: 1px solid var(--line); border-radius: calc(var(--radius) * .7); background: #fff; overflow: hidden; cursor: zoom-in; }
.plan img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; transition: transform .3s; }
.plan:hover img { transform: scale(1.04); }
.plan span { position: absolute; left: 8px; top: 8px; font-size: 12px; font-weight: 600; background: rgba(255,255,255,.9); color: #222; padding: 2px 8px; border-radius: 99px; }
.more { margin: 18px auto 0; display: flex; }
@media (max-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .plans { grid-template-columns: repeat(2, 1fr); gap: 8px; } }

/* Лента фото */
.shot { position: relative; display: block; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: calc(var(--radius) * .7); overflow: hidden; }
.shot img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.shot:hover img { transform: scale(1.04); }
.shot span { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 12px; text-align: left; color: #fff; font-weight: 600; font-size: 15px; background: linear-gradient(transparent, rgba(0,0,0,.65)); }

/* Просмотр */
.lb { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lb::backdrop { background: rgba(10,12,15,.88); }
.lb img { position: absolute; inset: 0; margin: auto; max-width: min(92vw, 1400px); max-height: 84vh; object-fit: contain; border-radius: 8px; background: #fff; }
.lb button { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; }
.lb button:hover { background: rgba(255,255,255,.28); }
.lb-x { top: 16px; right: 16px; }
.lb-p { left: 16px; top: 50%; translate: 0 -50%; }
.lb-n { right: 16px; top: 50%; translate: 0 -50%; }
.lb-c { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; color: #fff; font-size: 14px; margin: 0; }

/* ---------- Компактный конструктор (01.11.2026) ----------
   Параметры — одна карточка, строки «подпись слева | выбор справа» вместо отдельной карточки на каждый.
   Выбранный вариант — мягкая подсветка, а не сплошная заливка. Подпись — float: так legend встаёт в строку. */
.calc { gap: 16px 24px; }
.calc-form, .calc-form > div:not([hidden]) { display: block; }
.calc-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 20px; }
.calc-form fieldset { display: flow-root; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: none; padding: 14px 0; }
.calc-form fieldset:first-child, .calc-form > div > fieldset:first-child { border-top: 0; }
.calc-form legend { float: left; width: 168px; margin: 0; padding: 9px 16px 0 0; font-size: 14.5px; line-height: 1.3; }
.calc-form legend small { display: block; margin: 3px 0 0; font-size: 12.5px; line-height: 1.35; }
.calc-form legend ~ * { margin-left: 168px; }
.seg span, .checks span { min-height: 38px; padding: 5px 12px; background: var(--surface); transition: border-color .15s, background-color .15s, color .15s; }
.seg label:hover span, .checks label:hover span { border-color: var(--ink-2); }
.seg input:checked + span, .checks input:checked + span { border-color: var(--accent); background: var(--red-soft); color: var(--red-dark); font-weight: 600; }
.seg input:checked + span small, .checks input:checked + span small { color: var(--red-dark); opacity: .8; }
.calc-total { top: 88px; padding: 20px; gap: 10px; }
.calc-total .btn { min-height: 46px; }
.ct-call { flex-direction: column; gap: 0; line-height: 1.2; }
.ct-call small { font-size: 13px; font-weight: 500; opacity: .85; }
details.ct-base summary { cursor: pointer; opacity: 1; font-weight: 600; }
details.ct-base[open] summary { margin-bottom: 4px; }
@media (max-width: 720px) {
  .calc-form { padding: 0 14px; }
  .calc-form legend { width: 100%; padding: 0 0 8px; }   /* остаётся float: иначе рамка группы рисуется сквозь подпись */
  .calc-form legend ~ * { margin-left: 0; clear: left; }
}

/* ---------- Подпись разработчика (01.11.2026) ----------
   Рекламный блок студии minkey.ru: цель — новые клиенты. Выгода в заголовке, «этот сайт сделали мы» как довод,
   теги — то, что посетитель только что видел на сайте; мигающий огонёк «берёт новые проекты» и крупная кнопка. */
footer .mk { flex: 1 1 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 18px 40px; margin-top: 8px; padding: 24px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(120deg, var(--red-soft), var(--bg-2) 70%); color: var(--ink-2); text-decoration: none; font-size: 15px; line-height: 1.5; transition: border-color .25s, box-shadow .25s, transform .25s; }
.mk-l { display: grid; gap: 8px; justify-items: start; min-width: 0; }
.mk-live { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink); }
.mk-live i { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.mk-live i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--green); animation: mk-pulse 1.8s ease-out infinite; }
@keyframes mk-pulse { to { transform: scale(3); opacity: 0; } }
.mk-h { font-size: clamp(20px, 2.2vw, 26px); line-height: 1.2; color: var(--ink); text-wrap: balance; }
.mk-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.mk-tags span { padding: 4px 12px 4px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 13.5px; color: var(--ink); }
.mk-tags span::before { content: "✓ "; color: var(--red); font-weight: 700; }
.mk-go { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 10px 28px; border-radius: 999px; background: var(--red); color: #fff; font-weight: 700; font-size: 16px; white-space: nowrap; box-shadow: 0 10px 24px rgba(172,54,6,.25); transition: background-color .25s; }
.mk-go span { transition: transform .25s; }
footer .mk:hover { border-color: var(--red); box-shadow: 0 14px 34px rgba(20,24,30,.08); transform: translateY(-2px); }
.mk:hover .mk-go { background: var(--red-dark); }
.mk:hover .mk-go span { transform: translateX(4px); }
footer .mk:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
@media (max-width: 760px) { footer .mk { grid-template-columns: 1fr; padding: 20px 16px; } .mk-go { justify-self: stretch; justify-content: center; } }
@media (prefers-reduced-motion: reduce) { .mk-live i::after { animation: none; } footer .mk, .mk-go span { transition: none; } footer .mk:hover { transform: none; } }
/* «minkey» = monkey: буквы качаются, как обезьянки.
   Внешний span качается (mk-swing), внутренний b делает трюки — два transform не мешают друг другу. */
.mk-r { display: grid; justify-items: center; gap: 14px; }
.mk-word { position: relative; display: flex; align-items: flex-start; padding: 14px 6px 0; font: 800 46px/1 var(--head, 'Onest', sans-serif); letter-spacing: -.01em; color: #12305e; user-select: none; }
.mk-letters > span > b { display: inline-block; font: inherit; }
.mk-letters > span { display: inline-block; transform-origin: 50% -14px; animation: mk-swing 2.4s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -.35s); }
.mk-letters small { align-self: flex-end; margin-left: 2px; font-size: 18px; font-weight: 700; color: var(--ink-2); }
@keyframes mk-swing { from { transform: rotate(-6deg); } to { transform: rotate(6deg); } }
@media (max-width: 760px) { .mk-r { justify-items: stretch; } .mk-word { justify-self: center; font-size: 40px; } }
@media (prefers-reduced-motion: reduce) { .mk-letters > span { animation: none; } }   /* трюки скрипт показывает только при наведении */
/* Ключ MinKey слева; при наведении поворачивается, как в замке. Буквы Key — бирюзовые, как в логотипе студии */
.mk-word { align-items: center; gap: 10px; padding-top: 0; }
.mk-letters { position: relative; display: flex; align-items: flex-start; padding: 14px 4px 0; }
.mk-letters > span.k { color: #12a594; }
.mk-key { width: 50px; height: 50px; flex: none; transition: transform .5s cubic-bezier(.3, .7, .2, 1.4); }
.mk:hover .mk-key, .mk:focus-visible .mk-key { transform: rotate(-25deg) scale(1.1); }
@media (max-width: 760px) { .mk-key { width: 44px; height: 44px; } }
/* Буквы-обезьянки ведут себя хаотично: у каждой свой период качания, трюки выбирает скрипт в подвале (класс t-*). */
.mk-letters > span:nth-child(1) { animation-duration: 1.7s; }
.mk-letters > span:nth-child(2) { animation-duration: 2.3s; }
.mk-letters > span:nth-child(3) { animation-duration: 1.9s; }
.mk-letters > span:nth-child(4) { animation-duration: 2.9s; }
.mk-letters > span:nth-child(5) { animation-duration: 2.1s; }
.mk-letters > span:nth-child(6) { animation-duration: 2.6s; }
.mk-letters > span > b.t-hop { animation: mk-t-hop .6s cubic-bezier(.3, .7, .3, 1); }
.mk-letters > span > b.t-flip { animation: mk-t-flip .8s cubic-bezier(.3, .7, .3, 1); }
.mk-letters > span > b.t-hang { animation: mk-t-hang 1.4s ease-in-out; }
.mk-letters > span > b.t-shake { animation: mk-t-shake .7s linear; }
.mk-letters > span > b.t-stretch { animation: mk-t-stretch .7s ease-in-out; }
.mk-letters > span > b.t-dash { animation: mk-t-dash .7s cubic-bezier(.3, .7, .3, 1); }
@keyframes mk-t-hop { 40% { transform: translateY(-18px) scale(1.35); } 75% { transform: translateY(2px) scale(1.1, .9); } }
@keyframes mk-t-flip { 50% { transform: translateY(-22px) scale(1.3) rotate(180deg); } 100% { transform: rotate(360deg); } }
@keyframes mk-t-hang { 20%, 75% { transform: translateY(-6px) rotate(180deg) scale(1.15); } }
@keyframes mk-t-shake { 10%, 30%, 50%, 70%, 90% { transform: translateX(-3px) rotate(-6deg); } 20%, 40%, 60%, 80% { transform: translateX(3px) rotate(6deg); } }
@keyframes mk-t-stretch { 45% { transform: scale(.85, 1.45) translateY(-6px); } }
@keyframes mk-t-dash { 45% { transform: translate(var(--dx, 12px), -14px) scale(1.2) rotate(12deg); } }
/* Без лианы: буквы пританцовывают на месте (ось качания — низ буквы).
   Ключ раз в 5 с подпрыгивает и делает сальто, при наведении — подряд. Кнопка пульсирует светящимся кольцом. */
.mk-letters { padding-top: 0; }
.mk-letters > span { transform-origin: 50% 100%; }
.mk-key { animation: mk-key-flip 5s cubic-bezier(.3, .7, .3, 1) 2s infinite; transition: none; }
.mk:hover .mk-key, .mk:focus-visible .mk-key { transform: none; animation-duration: 1.1s; animation-delay: 0s; }
@keyframes mk-key-flip { 0%, 76%, 100% { transform: none; } 86% { transform: translateY(-16px) rotate(180deg) scale(1.15); } 96% { transform: translateY(0) rotate(360deg); } }
.mk-go { position: relative; animation: mk-glow 2s ease-out infinite; }
@keyframes mk-glow { 0% { box-shadow: 0 10px 24px rgba(172,54,6,.25), 0 0 0 0 rgba(172,54,6,.55); } 70%, 100% { box-shadow: 0 10px 24px rgba(172,54,6,.25), 0 0 0 16px rgba(172,54,6,0); } }
@media (prefers-reduced-motion: reduce) { .mk-key, .mk-go { animation: none; } .mk:hover .mk-key { animation: mk-key-flip 1.1s cubic-bezier(.3, .7, .3, 1) infinite; } }
/* Сальто ключа медленнее (1,6 с раз в 7 с; при наведении — 2,2 с подряд).
   Кнопка мигает цветом и кольцом всегда, даже при «меньше движения»: это спокойная пульсация раз в 1,6 с, не вспышки. */
.mk-key { animation: mk-key-flip 7s ease-in-out 2s infinite; }
.mk:hover .mk-key, .mk:focus-visible .mk-key { animation: mk-key-flip 2.2s ease-in-out infinite; }
@keyframes mk-key-flip { 0%, 72%, 100% { transform: none; } 84% { transform: translateY(-16px) rotate(180deg) scale(1.15); } 96% { transform: translateY(0) rotate(360deg); } }
.mk-go, footer .mk .mk-go { animation: mk-blink 1.6s ease-in-out infinite !important; }
@keyframes mk-blink {
  0%, 100% { background-color: #AC3606; box-shadow: 0 10px 24px rgba(172,54,6,.25), 0 0 0 0 rgba(224,97,44,.6); }
  50% { background-color: #f07a3e; box-shadow: 0 10px 30px rgba(240,122,62,.55), 0 0 0 14px rgba(240,122,62,0); transform: scale(1.04); }
}
/* мигание не останавливаем при наведении: вся карточка — ссылка, курсор на ней гасил кнопку */
@media (prefers-reduced-motion: reduce) { .mk-key { animation: none; } .mk:hover .mk-key { animation: mk-key-flip 2.2s ease-in-out infinite; } }
/* Ключ кувыркается по очереди: вправо (по часовой), через 7 с — влево (против часовой). Цикл 14 с, при наведении — 4,4 с. */
.mk-key { animation: mk-key-tumble 14s ease-in-out 2s infinite; }
.mk:hover .mk-key, .mk:focus-visible .mk-key { animation: mk-key-tumble 4.4s ease-in-out infinite; }
@keyframes mk-key-tumble {   /* одинаковый набор функций в каждом кадре — иначе браузер срезает оборот */
  0%, 30% { transform: translate(0, 0) rotate(0deg) scale(1); }
  36% { transform: translate(10px, -16px) rotate(180deg) scale(1.15); }
  42%, 80% { transform: translate(0, 0) rotate(360deg) scale(1); }
  86% { transform: translate(-10px, -16px) rotate(180deg) scale(1.15); }
  92%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
}
@media (prefers-reduced-motion: reduce) { .mk-key { animation: none; } .mk:hover .mk-key { animation: mk-key-tumble 4.4s ease-in-out infinite; } }
/* Кнопка бьётся, как сердце: двойной удар «тук-тук» и пауза, ~70 ударов в минуту; на ударе — рост, вспышка цвета и волна. */
.mk-go, footer .mk .mk-go { animation: mk-heart 1.3s ease-in-out infinite !important; }
@keyframes mk-heart {
  0%, 45%, 100% { transform: scale(1); background-color: #AC3606; box-shadow: 0 10px 24px rgba(172,54,6,.25), 0 0 0 0 rgba(240,122,62,.55); }
  12% { transform: scale(1.1); background-color: #f07a3e; box-shadow: 0 12px 30px rgba(240,122,62,.5), 0 0 0 6px rgba(240,122,62,.35); }
  22% { transform: scale(1.02); background-color: #c94a14; }
  32% { transform: scale(1.08); background-color: #f07a3e; box-shadow: 0 12px 30px rgba(240,122,62,.5), 0 0 0 12px rgba(240,122,62,.15); }
}
/* Кнопка — красное сердце: цвет #d90429, белое сердечко слева. Ритм как у сердца: сильный «тук», спад, слабее «тук», длинная пауза; 0,9 с (~67 уд/мин). */
.mk-go, footer .mk .mk-go { background: #d90429; box-shadow: 0 10px 24px rgba(217,4,41,.3); animation: mk-heart 0.9s infinite !important; }
.mk-heart { width: 20px; height: 20px; fill: #fff; flex: none; animation: mk-heart-icon 0.9s infinite; }
@keyframes mk-heart {
  0% { transform: scale(1); background-color: #d90429; box-shadow: 0 10px 24px rgba(217,4,41,.3), 0 0 0 0 rgba(255,31,61,.6); animation-timing-function: cubic-bezier(.2, 0, .4, 1); }
  10% { transform: scale(1.12); background-color: #ff1f3d; box-shadow: 0 12px 32px rgba(255,31,61,.55), 0 0 0 4px rgba(255,31,61,.45); animation-timing-function: ease-in; }
  20% { transform: scale(1.01); background-color: #e00a30; }
  30% { transform: scale(1.07); background-color: #ff1f3d; box-shadow: 0 12px 30px rgba(255,31,61,.45), 0 0 0 10px rgba(255,31,61,.2); animation-timing-function: ease-out; }
  55%, 100% { transform: scale(1); background-color: #d90429; box-shadow: 0 10px 24px rgba(217,4,41,.3), 0 0 0 18px rgba(255,31,61,0); }
}
@keyframes mk-heart-icon { 0%, 55%, 100% { transform: scale(1); } 10% { transform: scale(1.35); } 20% { transform: scale(1.05); } 30% { transform: scale(1.22); } }
/* Сила удара — переменные: на телефоне кнопка во всю ширину, и рост на 12% выводил её за края карточки */
.mk { --mk-beat-1: 1.12; --mk-beat-2: 1.07; --mk-beat-3: 1.01; }
@keyframes mk-heart {
  0% { transform: scale(1); background-color: #d90429; box-shadow: 0 10px 24px rgba(217,4,41,.3), 0 0 0 0 rgba(255,31,61,.6); animation-timing-function: cubic-bezier(.2, 0, .4, 1); }
  10% { transform: scale(var(--mk-beat-1)); background-color: #ff1f3d; box-shadow: 0 12px 32px rgba(255,31,61,.55), 0 0 0 4px rgba(255,31,61,.45); animation-timing-function: ease-in; }
  20% { transform: scale(var(--mk-beat-3)); background-color: #e00a30; }
  30% { transform: scale(var(--mk-beat-2)); background-color: #ff1f3d; box-shadow: 0 12px 30px rgba(255,31,61,.45), 0 0 0 10px rgba(255,31,61,.2); animation-timing-function: ease-out; }
  55%, 100% { transform: scale(1); background-color: #d90429; box-shadow: 0 10px 24px rgba(217,4,41,.3), 0 0 0 18px rgba(255,31,61,0); }
}
@media (max-width: 760px) { .mk { --mk-beat-1: 1.04; --mk-beat-2: 1.025; --mk-beat-3: 1.005; } }

/* Подпись у логотипа — как на сайте мебели (сайты-сёстры ОДК одинаковые): красная черта, жирное направление, ниже «на заказ» */
.logo { display: flex; align-items: center; gap: 14px; text-decoration: none; flex: none; }
.logo img { height: 40px; width: auto; }
.logo span { display: block; font-size: 13px; line-height: 1.2; color: var(--ink-2); border-left: 2px solid var(--red); padding-left: 14px; white-space: nowrap; }
.logo span b { display: block; font-size: 17px; color: var(--ink); font-weight: 800; letter-spacing: -.01em; }
@media (max-width: 600px) { .logo { gap: 10px; } .logo img { height: 32px; } .logo span { font-size: 11.5px; padding-left: 10px; } .logo span b { font-size: 15px; } }
@media (max-width: 340px) { .logo span { display: none; } }
@media (min-width: 1061px) and (max-width: 1180px) { .logo span { display: none; } }   /* как у мебели: на узком ноутбуке меню не помещается вместе с подписью */

/* Верхняя полоска, как у сайта мебели (сайты-сёстры ОДК одинаковые): адрес, телефон, ссылки на соседние сайты.
   Прокручивается вместе со страницей; телефон в шапке на широком экране не дублируем. */
.topbar { background: var(--bg-2); border-bottom: 1px solid var(--line); font-size: 13.5px; color: var(--ink-2); }
.topbar .wrap { display: flex; align-items: center; gap: 28px; height: 38px; }
.topbar a { text-decoration: none; color: inherit; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.topbar a:hover { color: var(--red); }
.topbar svg { width: 15px; height: 15px; color: var(--red); }
.tb-tel { display: flex; gap: 18px; margin-left: auto; }
.tb-tel b { color: var(--ink); font-weight: 700; }
.tb-group { display: flex; gap: 18px; padding-left: 28px; border-left: 1px solid var(--line); }
@media (max-width: 1060px) { .topbar { display: none; } }
@media (min-width: 1061px) { .top .phone { display: none !important; } }
/* Первый экран: новая картинка (2000 px, без белых полей) — без растяжения на 120%, вровень с заголовком
   и не выше окна: на невысоких экранах с верхней полоской низ бытовки уходил за край */
.hero-pic { align-self: start; margin-top: 28px; }
.hero-pic img { width: 100%; margin-left: 0; max-width: 100%; max-height: max(320px, calc(100svh - 300px)); object-fit: contain; object-position: center top; }
@media (min-width: 1360px) { .hero-pic img { width: 100%; margin-left: 0; } }
@media (max-width: 900px) { .hero-pic { margin-top: 0; } .hero-pic img { max-height: none; } }

/* Буквы-обезьянки и ключ двигаются всегда, как и кнопка-сердце (01.11.2026, пользователь): при «меньше движения»
   в системе блок замирал целиком, а на сайте окон общее «* { animation: none !important }» глушило даже наведение. */
.mk .mk-letters > span { animation: mk-swing 2.4s ease-in-out calc(var(--i) * -.35s) infinite alternate !important; }
.mk .mk-letters > span:nth-child(1) { animation-duration: 1.7s !important; }
.mk .mk-letters > span:nth-child(2) { animation-duration: 2.3s !important; }
.mk .mk-letters > span:nth-child(3) { animation-duration: 1.9s !important; }
.mk .mk-letters > span:nth-child(4) { animation-duration: 2.9s !important; }
.mk .mk-letters > span:nth-child(5) { animation-duration: 2.1s !important; }
.mk .mk-letters > span:nth-child(6) { animation-duration: 2.6s !important; }
.mk .mk-letters > span > b.t-hop { animation: mk-t-hop .6s cubic-bezier(.3, .7, .3, 1) !important; }
.mk .mk-letters > span > b.t-flip { animation: mk-t-flip .8s cubic-bezier(.3, .7, .3, 1) !important; }
.mk .mk-letters > span > b.t-hang { animation: mk-t-hang 1.4s ease-in-out !important; }
.mk .mk-letters > span > b.t-shake { animation: mk-t-shake .7s linear !important; }
.mk .mk-letters > span > b.t-stretch { animation: mk-t-stretch .7s ease-in-out !important; }
.mk .mk-letters > span > b.t-dash { animation: mk-t-dash .7s cubic-bezier(.3, .7, .3, 1) !important; }
.mk .mk-key { animation: mk-key-tumble 14s ease-in-out 2s infinite !important; }
.mk:hover .mk-key, .mk:focus-visible .mk-key { animation: mk-key-tumble 4.4s ease-in-out infinite !important; }
.mk .mk-heart { animation: mk-heart-icon .9s infinite !important; }
.mk .mk-live i::after { animation: mk-pulse 1.8s ease-out infinite !important; }

/* ODK-ORDER START — окно заявки, источник: C:\Project\ODK_Zakazy\web (node tools\sync.js), здесь не править */
/* Окно заявки сайтов ОДК (odk-order.css). Цвета — переменные сайта (--ink, --red …) с запасными значениями. */
.odk-order { width: min(460px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: var(--radius, 16px); box-shadow: 0 30px 80px rgba(20,24,30,.25); color: var(--ink, #1b1d20); font: inherit; }
.odk-order::backdrop { background: rgba(20,24,30,.55); }
.odk-order form, .oo-done { display: grid; gap: 12px; padding: 26px 24px 24px; position: relative; }
.odk-order form[hidden], .oo-done[hidden] { display: none; }
.oo-x { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--bg-2, #f4f5f7); font-size: 24px; line-height: 1; cursor: pointer; color: var(--ink, #1b1d20); }
.oo-h { margin: 0 40px 0 0; font-size: 22px; line-height: 1.2; }
.oo-sub, .oo-done p { margin: 0; color: var(--ink-2, #565b63); font-size: 15px; line-height: 1.5; }
.odk-order label { display: grid; gap: 5px; font-size: 14px; font-weight: 600; }
.odk-order label i { color: var(--red, #AC3606); font-style: normal; }
.odk-order input:not([type=checkbox]), .odk-order textarea { width: 100%; box-sizing: border-box; padding: 11px 13px; border: 1.5px solid var(--line, #e2e5e9); border-radius: 10px; font: 400 16px/1.4 inherit; font-family: inherit; color: inherit; background: #fff; }
.odk-order input:focus, .odk-order textarea:focus { outline: none; border-color: var(--red, #AC3606); }
.odk-order textarea { resize: vertical; min-height: 76px; }
.oo-calc { background: var(--bg-2, #f4f5f7); border-radius: 10px; padding: 10px 12px; font-size: 13px; }
.oo-calc pre { margin: 6px 0 0; max-height: 140px; overflow: auto; white-space: pre-wrap; font: inherit; color: var(--ink-2, #565b63); }
.oo-ok { grid-template-columns: auto 1fr; align-items: start; font-weight: 400 !important; font-size: 13px !important; color: var(--ink-2, #565b63); }
.oo-ok input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--red, #AC3606); }
.oo-ok a { color: inherit; }
.oo-trap { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.oo-err { margin: 0; color: #b42318; font-size: 14px; }
.oo-send { display: inline-flex; justify-content: center; align-items: center; min-height: 50px; padding: 10px 22px; border: 0; border-radius: 999px; background: var(--red, #AC3606); color: #fff !important; font: 700 16px inherit; font-family: inherit; text-decoration: none; cursor: pointer; }
.oo-send:hover { background: var(--red-dark, #8a2b05); }
.oo-send:disabled { opacity: .6; cursor: default; }
.odk-order label small { font-weight: 400; font-size: 13px; color: var(--ink-2, #565b63); }
/* ODK-ORDER END */

/* Страницы политики и согласия (152-ФЗ) и кнопка «Оставить заявку» в контактах */
.doc { padding-block: 0 72px; }
.doc h1 { font-size: clamp(28px, 4vw, 40px); line-height: 1.15; margin: 22px 0 18px; }
.doc h2 { font-size: 20px; margin: 28px 0 8px; }
.doc p { max-width: 78ch; color: var(--ink-2); margin: 0 0 10px; }
.doc a { color: var(--red); }
.odk-cta { margin-top: 14px; }


/* ===================== Плавность — как на сайте окон (01.11.2026) =====================
   Сайты-сёстры ОДК ведут себя одинаково: плавные переходы между страницами, первый экран «лесенкой»,
   блоки проявляются при прокрутке, подъём карточек и кнопок, тень шапки, полоса прогресса, плавные ответы на вопросы.
   Работает всегда, в том числе при «меньше движения» в Windows (решение владельца). */
html { interpolate-size: allow-keywords; }
@view-transition { navigation: auto; }
.top { view-transition-name: header; transition: box-shadow .3s; }
.top.scrolled { box-shadow: 0 8px 24px rgba(20,24,30,.07); }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; }
::view-transition-group(*) { animation-duration: .45s; animation-timing-function: cubic-bezier(.2,.7,.2,1); }

/* Фон первого экрана: мягкие пятна цветов логотипа */
.hero { position: relative; isolation: isolate; }
.hero::before { content: ''; position: absolute; z-index: -1; pointer-events: none; width: 620px; height: 620px; right: -160px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(172,54,6,.09), transparent 65%); animation: odk-drift 18s ease-in-out infinite alternate; }
@keyframes odk-drift { to { transform: translate(-60px, 50px) scale(1.08); } }

/* Первый экран проявляется «лесенкой» */
@keyframes odk-rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.hero .eyebrow, .hero h1, .hero .lead, .hero .hero-cta, .hero .facts, .hero .perks, .hero-pic { animation: odk-rise .8s cubic-bezier(.2,.7,.2,1) both; }
.hero h1 { animation-delay: .08s; } .hero .lead { animation-delay: .18s; } .hero .hero-cta { animation-delay: .28s; }
.hero .facts, .hero .perks { animation-delay: .38s; } .hero-pic { animation-delay: .15s; }

/* Блоки ниже первого экрана проявляются при прокрутке (класс ставит site.js) */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* Кнопки и карточки: подъём и тень при наведении */
.btn { transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-main:hover { box-shadow: 0 10px 24px rgba(172,54,6,.28); }
.type, .variant, .mats > div, .group a, .plan, .shot, .steps > li, .why li { transition: transform .3s, box-shadow .3s, border-color .3s; }
.type:hover, .variant:hover, .mats > div:hover, .group a:hover, .plan:hover, .shot:hover, .steps > li:hover, .why li:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(20,24,30,.08); }
.type .art svg, .type img, .plan img, .shot img { transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.type:hover .art svg, .type:hover img, .plan:hover img, .shot:hover img { transform: scale(1.05); }

/* Полоса прогресса прокрутки (Chrome/Edge 115+; в остальных её нет) */
.odk-progress { position: fixed; z-index: 30; left: 0; right: 0; top: 0; height: 3px; background: var(--red); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; }
@supports (animation-timeline: scroll()) { .odk-progress { animation: odk-progress linear both; animation-timeline: scroll(root); } }
@keyframes odk-progress { to { transform: scaleX(1); } }

/* Ответы на вопросы раскрываются плавно (Chrome/Edge 131+; в остальных — мгновенно) */
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size .4s cubic-bezier(.2,.7,.2,1), content-visibility .4s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
.faq summary { transition: color .2s; }
.faq summary:hover { color: var(--red); }
.faq summary::after { transition: transform .3s; }
