/* Шрифты Inter и Inter Tight (SIL Open Font License) — локально, без обращения к Google (12.11.2026). Источник: fonts.googleapis.com */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/assets/fonts/Inter-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/assets/fonts/Inter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/assets/fonts/Inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(/assets/fonts/InterTight-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(/assets/fonts/InterTight-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(/assets/fonts/InterTight-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   Метком Групп — стили сайта. Дизайн «Корпоративный + Технологичный» (выбран 06.11.2026):
   основа — светлый строгий «Корпоративный» (designs\v2.html): Inter Tight / Inter, тёмно-синий #0d2552,
   оранжевый акцент #E84C0A, тонкие линии, фото завода; от «Технологичного» (designs\v3.html) —
   живая схема завода, тёмные блоки с мягким градиентом и «стеклом», крупный калькулятор, изометрические иллюстрации.
   Движение — src\site.js (плавная прокрутка, появление, счётчики, параллакс), отключается при «уменьшить движение».
   ========================================================================== */
:root {
  --bg: #ffffff; --soft: #f3f6fb; --soft-2: #eaf0f9; --ink: #0d2552; --navy: #0d2552; --navy-2: #163a7a; --deep: #081b44;
  --text: #3a4864; --muted: #6e7b96; --line: #e2e8f2; --blue: #1f5fd6; --blue-2: #2f6bff; --blue-soft: #e9f0fd;
  --or: #e84c0a; --or-2: #ff6a2a; --or-soft: #fdf0ea; --green: #23a047;
  --card: #ffffff; --plate: #f3f6fb; --r: 14px; --r-lg: 22px; --font: 'Inter', system-ui, sans-serif; --head: 'Inter Tight', 'Inter', system-ui, sans-serif;
  --ease: cubic-bezier(.2,.8,.2,1);
  --red: #e84c0a; --red-soft: #fdf0ea; --ink-2: #3b4a66; --bg-2: #f3f6fb;   /* для блока MinKey */
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.65 var(--font); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 40px; }
h1, h2, h3 { font-family: var(--head); color: var(--ink); margin: 0; line-height: 1.06; letter-spacing: -.03em; }
h1, h2 { font-weight: 300; } h1 b, h2 b { font-weight: 700; }
h2 { font-size: clamp(30px, 4.2vw, 60px); }
h3 { font-weight: 650; letter-spacing: -.015em; line-height: 1.2; }
section { padding: clamp(72px, 9vw, 128px) 0; position: relative; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.lab { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); margin-bottom: 22px; }
.lab::before { content: ""; width: 10px; height: 10px; background: var(--or); flex: none; }
.lab .e { display: none; }
.lab:has(.live)::before { display: none; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 28px 64px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 60px); }
.sec-head p { max-width: 440px; margin: 0; color: var(--muted); }
img.ill { width: 100%; height: 100%; object-fit: contain; }
/* подложка изометрических иллюстраций — светлая и в тёмной теме: контур рисунков тёмно-синий */
.dots { background-color: var(--plate); background-image: radial-gradient(var(--dot, #c9d8f2) 1.1px, transparent 1.2px); background-size: 22px 22px; }

/* Кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 17px 28px; border-radius: 10px; background: var(--or); color: #fff; font: 650 16px/1 var(--font);
  text-decoration: none; border: 0; cursor: pointer; white-space: nowrap; transition: transform .35s var(--ease), box-shadow .35s, background .3s, color .3s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -12px rgba(232,76,10,.7); }
.btn.navy, .btn.blue { background: var(--navy); } .btn.navy:hover { box-shadow: 0 16px 32px -12px rgba(13,37,82,.6); }
.btn.line, .btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn.line:hover, .btn.ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn.glass { background: rgba(255,255,255,.1); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); backdrop-filter: blur(8px); }
.btn.glass:hover { background: #fff; color: var(--ink); }
.btn.sm { padding: 13px 20px; font-size: 14.5px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.more { display: inline-flex; gap: 10px; align-items: center; font-weight: 650; text-decoration: none; color: var(--ink); }
.more i { font-style: normal; transition: transform .3s; } .more:hover i { transform: translateX(6px); }

/* ---------- Шапка ---------- */
.progress { position: fixed; left: 0; right: 0; top: 0; height: 3px; background: var(--or); transform-origin: 0 50%; transform: scaleX(0); z-index: 60; pointer-events: none; }
.hdr { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(14px) saturate(1.4); border-bottom: 1px solid var(--line); transition: transform .45s var(--ease); }
.hdr.hide { transform: translateY(-100%); }
.hdr .wrap { display: flex; align-items: center; gap: 28px; height: 80px; }
.logo { flex: none; } .logo img { height: 36px; width: auto; }
.nav { display: flex; gap: 2px; flex: 1; height: 100%; font-weight: 550; font-size: 15px; color: var(--ink); }
.nav > a, .nav .dd > a { display: flex; align-items: center; height: 100%; padding: 0 12px; text-decoration: none; position: relative; transition: color .2s; }
.nav > a::after, .nav .dd > a::after { content: ""; position: absolute; left: 12px; right: 100%; bottom: 0; height: 2px; background: var(--or); transition: right .3s var(--ease); }
.nav > a:hover, .nav .dd:hover > a { color: var(--or); }
.nav > a:hover::after, .nav .dd:hover > a::after, .nav a[aria-current]::after { right: 12px; }
.nav .dd { position: relative; }
.dd-panel { position: absolute; top: 100%; left: -8px; min-width: 320px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 30px 60px -20px rgba(13,37,82,.25); padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s, transform .3s var(--ease), visibility .25s; }
.dd:hover .dd-panel, .dd:focus-within .dd-panel { opacity: 1; visibility: visible; transform: none; }
.dd-panel a { display: block; padding: 10px 14px; border-radius: 10px; text-decoration: none; font-weight: 650; color: var(--ink); }
.dd-panel a small { display: block; font-weight: 400; color: var(--muted); font-size: 13px; }
.dd-panel a:hover { background: var(--soft); color: var(--or); }
.hphone { text-decoration: none; font-weight: 750; font-size: 18px; line-height: 1.15; text-align: right; white-space: nowrap; color: var(--ink); }
.hphone small { display: block; font-weight: 400; font-size: 12px; color: var(--muted); }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--soft); position: relative; cursor: pointer; flex: none; color: var(--ink); }
.burger span, .burger span::before, .burger span::after { position: absolute; left: 13px; width: 20px; height: 2px; background: currentColor; content: ""; transition: transform .3s, background .3s; }
.burger span { top: 22px; } .burger span::before { top: -6px; left: 0; } .burger span::after { top: 6px; left: 0; }
body.menu-open .burger span { background: transparent; } body.menu-open .burger span::before { transform: translateY(6px) rotate(45deg); } body.menu-open .burger span::after { transform: translateY(-6px) rotate(-45deg); }
.drawer { position: fixed; inset: 68px 0 0 0; z-index: 49; background: var(--card); overflow-y: auto; padding: 12px 18px 120px; transform: translateX(100%); transition: transform .35s var(--ease); visibility: hidden; }
body.menu-open .drawer { transform: none; visibility: visible; } body.menu-open { overflow: hidden; }
.drawer a, .drawer summary { display: block; padding: 15px 4px; font: 650 18px var(--head); color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.drawer summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; }
.drawer summary::-webkit-details-marker { display: none; }
.drawer summary::after { content: "+"; color: var(--or); } .drawer details[open] summary::after { content: "–"; }
.drawer details a { font: 500 16px var(--font); padding-left: 16px; color: var(--text); }
.drawer .btn { margin-top: 22px; width: 100%; }

/* ---------- Главная: первый экран ---------- */
.hero { padding: 64px 0 40px; }
.hero-g { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 72px; align-items: center; }
.hero h1 { font-size: clamp(36px, 4.3vw, 64px); letter-spacing: -.04em; }
.hero h1 b { color: var(--or); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 64px; border-top: 1px solid var(--line); }
.stats > div { padding: 26px 28px; border-left: 1px solid var(--line); }
.stats > div:first-child { border-left: 0; padding-left: 0; }
.stats b { display: block; font: 300 clamp(34px, 3.6vw, 54px)/1 var(--head); color: var(--ink); letter-spacing: -.04em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stats b em { font-style: normal; color: var(--or); font-weight: 600; margin-left: 4px; font-size: .58em; }
.stats > div > span { display: block; color: var(--muted); font-size: 14.5px; margin-top: 10px; }

/* ---------- Тёмный «технологичный» блок: градиент, сетка, стекло ---------- */
.dark { background: var(--deep); color: #c7d4f2; isolation: isolate; overflow: hidden; --line: rgba(255,255,255,.14); }
.dark h2, .dark h3 { color: #fff; } .dark h2 b { background: linear-gradient(90deg, #ff9a5c, #ff5a1f); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dark .lab { color: #9fc0ff; }
.dark .sec-head p { color: #9fb0d6; }
.mesh { position: absolute; inset: 0; overflow: hidden; z-index: -1; pointer-events: none; }
.mesh i { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .7; animation: blob 18s ease-in-out infinite alternate; }
.mesh i:nth-child(1) { width: 50vw; height: 50vw; left: -12vw; top: -22vw; background: #1f5fff; }
.mesh i:nth-child(2) { width: 36vw; height: 36vw; right: -8vw; top: 8vw; background: #6a3dff; opacity: .55; animation-duration: 22s; }
.mesh i:nth-child(3) { width: 30vw; height: 30vw; left: 34vw; bottom: -18vw; background: #ff5a1f; opacity: .35; animation-duration: 26s; }
@keyframes blob { to { transform: translate(6vw, 4vw) scale(1.15); } }
.dark::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 90%); mask-image: linear-gradient(180deg, #000, transparent 90%); }
.glass { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(18px) saturate(1.3); border-radius: 28px; box-shadow: 0 40px 100px -30px rgba(0,0,0,.55); }
.live { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #2bd46b; animation: live 1.8s infinite; flex: none; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(43,212,107,.6); } 70% { box-shadow: 0 0 0 10px rgba(43,212,107,0); } 100% { box-shadow: 0 0 0 0 rgba(43,212,107,0); } }

/* Живая схема завода */
.plant-sec .g { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 64px; align-items: center; }
.plant-sec p.lead { font-size: 18px; margin: 22px 0 0; }
.psteps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 4px; }
.psteps a { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: center; padding: 14px 16px; border-radius: 14px; text-decoration: none; transition: background .3s; }
.psteps a:hover, .psteps a.on { background: rgba(255,255,255,.08); }
.psteps i { font-style: normal; width: 38px; height: 38px; border-radius: 50%; background: var(--or); color: #fff; font-weight: 800; font-size: 13px; display: grid; place-items: center; }
.psteps b { color: #fff; display: block; font-size: 17px; } .psteps span { font-size: 14.5px; color: #9fb0d6; }
.plant { padding: 18px; background: rgba(240,246,255,.94); }
.pl-in { position: relative; } .pl-in img { width: 100%; height: 100%; }
.spot { position: absolute; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 8px; text-decoration: none; z-index: 2; }
.spot i { font-style: normal; width: 36px; height: 36px; border-radius: 50%; background: var(--or); color: #fff; font-weight: 800; font-size: 12.5px; display: grid; place-items: center; box-shadow: 0 0 0 6px rgba(232,76,10,.22); animation: pulse 2.4s infinite; transition: transform .2s; }
.spot:nth-child(3) i { animation-delay: .6s; } .spot:nth-child(4) i { animation-delay: 1.2s; } .spot:nth-child(5) i { animation-delay: 1.8s; }
.spot b { background: #fff; color: var(--ink); font-size: 13px; padding: 5px 10px; border-radius: 8px; box-shadow: 0 8px 20px -8px rgba(13,37,82,.45); opacity: 0; transform: translateX(-6px); transition: opacity .25s, transform .25s; pointer-events: none; white-space: nowrap; }
.spot:hover i, .spot.on i { transform: scale(1.12); }
.spot:hover b, .spot.on b, .spot:focus-visible b { opacity: 1; transform: none; }
@keyframes pulse { 50% { box-shadow: 0 0 0 12px rgba(232,76,10,0); } }

/* ---------- Калькулятор (технологичный элемент) ---------- */
.calc-sec { padding-bottom: 40px; }
.calc { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); border-radius: 26px; overflow: hidden; border: 1px solid var(--line); background: var(--card); box-shadow: 0 40px 100px -40px rgba(13,37,82,.35); }
.c-in { padding: 48px; }
.c-in h2 { margin-bottom: 30px; }
.c-l { display: block; font-size: 12.5px; font-weight: 700; color: var(--muted); margin: 18px 0 8px; letter-spacing: .05em; text-transform: uppercase; }
.c-kind, .c-kg { font: 600 17px var(--font); color: var(--ink); background: var(--soft); border: 1.5px solid transparent; border-radius: 12px; padding: 15px 16px; width: 100%; }
.c-kind:focus, .c-kg:focus { outline: 0; border-color: var(--blue); background: var(--card); box-shadow: 0 0 0 4px var(--blue-soft); }
.c-w { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 20px; align-items: center; }
.c-range { width: 100%; accent-color: var(--or); }
.c-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.c-chips button { border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 8px 14px; font: 600 14px var(--font); color: var(--text); cursor: pointer; transition: all .2s; }
.c-chips button:hover, .c-chips button.on { border-color: var(--or); color: var(--or); background: var(--or-soft); }
.c-out { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: 40px 48px; color: #c7d4f2;
  background: linear-gradient(150deg, #0d2552 0%, #163a7a 100%); }
.c-pic { height: 190px; border-radius: 18px; background: rgba(240,246,255,.94); padding: 12px; }
.c-pic img { animation: float 5s ease-in-out infinite; }
.c-pic.pop img { animation: pop .45s cubic-bezier(.3,1.6,.5,1); }
@keyframes pop { 0% { transform: scale(.6) rotate(-6deg); opacity: 0; } 100% { transform: none; opacity: 1; } }
.c-sum small { display: block; font-size: 14px; color: #9fb0d6; }
.c-sum b { display: block; font: 700 clamp(38px, 4.6vw, 60px)/1.05 var(--head); color: #fff; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.c-sum .c-how { color: #9fb0d6; font-size: 15px; }
.c-out .btn { align-self: flex-start; }
.note { color: var(--muted); font-size: 14px; margin-top: 18px; }

/* ---------- Прайс ---------- */
.price-sec .grid { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 72px; align-items: start; }
.price-sec p.sub { color: var(--muted); margin: 22px 0 0; }
.tabs { display: grid; gap: 8px; margin-top: 32px; }
.tabs button { text-align: left; border: 1px solid var(--line); background: var(--card); border-radius: 10px; padding: 15px 18px; font: 600 15.5px var(--font); color: var(--text); cursor: pointer; display: flex; align-items: center; gap: 12px; transition: all .25s; }
.tabs button::before { content: ""; width: 8px; height: 8px; background: var(--line); flex: none; }
.tabs button[aria-selected="true"] { border-color: var(--navy); color: #fff; background: var(--navy); }
.tabs button[aria-selected="true"]::before { background: var(--or); }
.ptable { background: var(--card); border-radius: var(--r-lg); border: 1px solid var(--line); padding: 6px 30px; box-shadow: 0 30px 70px -40px rgba(13,37,82,.35); }
.ptable[hidden] { display: none; }
.ptable .row { display: grid; grid-template-columns: minmax(0, 1fr) 130px 130px; gap: 20px; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 500; }
.ptable .row:last-child { border: 0; }
.ptable a.row:hover span:first-child { color: var(--or); }
.ptable .row.h { font-size: 12px; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; font-weight: 700; }
.ptable .price { color: var(--ink); font-size: 18px; font-weight: 750; }
.ptable .ask { color: var(--or); font-weight: 600; font-size: 15px; }

/* ---------- Как сдать лом ---------- */
.howto { padding-top: 40px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; position: relative; }
.steps::before { content: ""; position: absolute; left: 12%; right: 12%; top: 110px; border-top: 2px dashed #c9d8f2; z-index: 0; }
.step { position: relative; z-index: 1; }
.step .pic { height: 220px; border-radius: var(--r-lg); padding: 6px; margin-bottom: 22px; border: 1px solid var(--line); }
.step .pic img { transition: transform .5s var(--ease); } .step:hover .pic img { transform: translateY(-6px) scale(1.04); }
.step small { color: var(--or); font-weight: 800; letter-spacing: .1em; font-size: 13px; }
.step h3 { font-size: 22px; margin: 6px 0 8px; }
.step p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.6; }

/* ---------- Документы ---------- */
.docs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 8px 0 32px; }
.prose .docs { grid-template-columns: minmax(0, 1fr); }
.doc { display: flex; gap: 18px; align-items: center; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: var(--ink); background: var(--card); transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.doc:hover { border-color: var(--or); transform: translateY(-3px); box-shadow: 0 20px 40px -20px rgba(13,37,82,.3); }
.doc .ic { flex: none; width: 46px; height: 56px; border-radius: 8px; background: var(--or); color: #fff; font: 800 11px/56px var(--font); text-align: center; }
.doc b { display: block; line-height: 1.35; font-weight: 600; font-size: 15.5px; }
.doc small { color: var(--muted); }

/* ---------- Пункты приёма ---------- */
.pts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 18px; }
.pt { position: relative; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 32px 30px 128px; background: var(--card); overflow: hidden; }
.pt > img { position: absolute; left: 22px; top: 28px; width: 84px; height: 84px; }
.pt.noimg { padding-left: 32px; }
.pt .reg { display: block; color: var(--or); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: 12.5px; }
.pt h3 { font-size: 21px; margin: 8px 0 8px; line-height: 1.3; }
.pt p { margin: 2px 0; color: var(--muted); }
.pt a { font-weight: 750; color: var(--ink); text-decoration: none; }
.pt .map { display: inline-block; margin-top: 12px; color: var(--blue); font-weight: 650; font-size: 15px; }
[data-glow]::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(232,76,10,.08), transparent 60%); }
[data-glow]:hover::after { opacity: 1; }

/* ---------- FAQ ---------- */
.faq-sec { background: var(--soft); }
.faq-g { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; font: 600 clamp(17px, 1.5vw, 20px)/1.35 var(--head); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line); color: var(--ink); font-weight: 500; transition: transform .35s var(--ease), background .3s, color .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--or); border-color: var(--or); color: #fff; }
.faq p { margin: -4px 0 22px; color: var(--muted); max-width: 640px; }

/* ---------- Заявка (тёмный блок с градиентом) ---------- */
.lead-form { padding: clamp(72px, 9vw, 120px) 0; }
.lead-form .grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: center; }
.lead-form p { font-size: 18px; margin: 22px 0 0; }
.lead-form .alt { margin-top: 26px; }
.lead-form .alt a { color: #fff; font: 700 clamp(30px, 3.4vw, 46px)/1 var(--head); text-decoration: none; letter-spacing: -.03em; }
.lead-form .mails { margin-top: 22px; font-size: 15px; color: #9fb0d6; } .lead-form .mails a { color: #fff; }
.zform { background: var(--card); border-radius: 22px; box-shadow: 0 40px 90px -30px rgba(0,0,0,.5); padding: 40px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; color: var(--text); }
.zform label { display: grid; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--muted); letter-spacing: .03em; }
.zform label:nth-of-type(n+3) { grid-column: span 2; }
.zform input, .zform select, .zform textarea { font: 500 16px var(--font); color: var(--ink); background: var(--soft); border: 1.5px solid transparent; border-radius: 12px; padding: 15px 16px; width: 100%; }
.zform input:focus, .zform select:focus, .zform textarea:focus { outline: 0; border-color: var(--blue); background: var(--card); box-shadow: 0 0 0 4px var(--blue-soft); }
.zform textarea { resize: vertical; min-height: 64px; }
.zform label.ok { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; letter-spacing: 0; line-height: 1.45; font-size: 13.5px; }
.zform label.ok input { width: 18px; height: 18px; flex: none; margin: 1px 0 0; accent-color: var(--or); }
.zform label.ok a { color: var(--blue); }
.zform .btn { grid-column: span 2; }
.zform .hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.zform .f-msg { grid-column: span 2; margin: 0; min-height: 1em; color: var(--or); font-size: 14px; font-weight: 600; }
.zform:has(.f-done) { display: block; }
.f-done { padding: 34px 6px; text-align: center; }
.f-done b { font-size: 22px; display: block; margin-bottom: 8px; color: var(--ink); }
.f-done p { color: var(--muted); font-size: 16px; margin: 0; } .f-done a { color: var(--or); font-weight: 700; }

.modal { position: fixed; inset: 0; z-index: 70; background: rgba(8,27,68,.5); backdrop-filter: blur(6px); display: none; align-items: center; justify-content: center; padding: 16px; }
.modal.open { display: flex; animation: audin .3s var(--ease); }
.modal .box { position: relative; background: var(--card); border-radius: 22px; width: min(540px, 100%); max-height: 92vh; overflow: auto; padding: 34px 30px 22px; }
.modal h3 { font-size: 26px; font-weight: 300; margin: 0 0 6px; } .modal h3 b { font-weight: 700; }
.modal .x { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border: 0; background: var(--soft); border-radius: 50%; font-size: 22px; cursor: pointer; color: var(--ink); }
.modal .zform { padding: 0; box-shadow: none; border-radius: 0; }

/* ---------- Внутренние страницы ---------- */
.page-head { padding: 40px 0 72px; }
.ph-g { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.page-head h1 { font-size: clamp(32px, 4.2vw, 60px); }
.page-head h1 b { color: var(--or); }
.page-head .ph-t > p { font-size: 18.5px; max-width: 640px; margin: 22px 0 0; }
.page-head .cta { margin-top: 30px; }
.page-head.plain .ph-g { grid-template-columns: minmax(0, 1fr); }
.ph-art { position: relative; isolation: isolate; overflow: hidden; border-radius: 26px; aspect-ratio: 4/3; background: var(--deep); padding: 28px; }
.ph-art .ill { position: relative; animation: float 6s ease-in-out infinite; filter: drop-shadow(0 30px 30px rgba(0,0,0,.25)); }
.ph-art .plate { position: absolute; inset: 14% 12%; border-radius: 22px; background: rgba(240,246,255,.94); z-index: -1; }
.ph-art .chip { position: absolute; left: 18px; bottom: 18px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); color: #fff;
  backdrop-filter: blur(10px); font-size: 13px; font-weight: 600; padding: 7px 12px; border-radius: 999px; }
.ph-art.photo { padding: 0; background: #000; }
.ph-art.photo > img { width: 100%; height: 100%; object-fit: cover; }
.ph-art.photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(8,27,68,.7)); }
.crumbs { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 14px; color: var(--muted); margin: 0 0 28px; padding: 0; list-style: none; }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: var(--or); }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--line); }

.layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 72px; padding: 64px 0 40px; align-items: start; border-top: 1px solid var(--line); }
.aside { position: sticky; top: 100px; display: grid; gap: 14px; }
.aside .box { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px 26px; background: var(--card); }
.aside .box.hot { background: var(--deep); border-color: var(--deep); color: #c7d4f2; position: relative; overflow: hidden; isolation: isolate; }
.aside .box.hot::before { content: ""; position: absolute; width: 260px; height: 260px; right: -90px; top: -110px; border-radius: 50%; background: #1f5fff; filter: blur(60px); opacity: .7; z-index: -1; }
.aside .box.hot b.t { display: block; font: 600 20px var(--head); color: #fff; }
.aside .box.hot p { color: #9fb0d6; margin: 6px 0 16px; font-size: 15px; line-height: 1.5; }
.aside .box.hot a.tel { display: block; font: 700 24px var(--head); color: #fff; text-decoration: none; margin-bottom: 14px; letter-spacing: -.02em; }
.aside .box.hot .btn { width: 100%; }
.aside h3 { font-size: 16px; margin-bottom: 10px; }
.aside nav a { display: block; padding: 9px 0; border-top: 1px solid var(--line); text-decoration: none; font-size: 15px; font-weight: 500; color: var(--text); line-height: 1.4; }
.aside nav a:first-of-type { border-top: 0; }
.aside nav a:hover { color: var(--or); }
.aside nav a[aria-current] { color: var(--or); font-weight: 650; }
.aside .pp { margin: 0 0 12px; font-size: 14.5px; line-height: 1.5; } .aside .pp b { color: var(--ink); }
.ybtn { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; color: var(--blue); text-decoration: none; }

.prose { font-size: 17px; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(24px, 2.5vw, 34px); font-weight: 600; letter-spacing: -.025em; margin: 48px 0 16px; }
.prose h3 { font-size: 20px; margin: 30px 0 10px; }
.prose p { margin: 0 0 16px; }
.prose ul { margin: 0 0 22px; padding: 0; list-style: none; display: grid; gap: 10px; }
.prose ul li { padding-left: 26px; position: relative; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 9px; height: 9px; background: var(--or); }
.prose .tbl { overflow-x: auto; margin: 8px 0 28px; border: 1px solid var(--line); border-radius: var(--r); }
.prose table { border-collapse: collapse; width: 100%; font-size: 15px; }
.prose th, .prose td { padding: 12px 16px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose thead th { background: var(--soft); border-top: 0; font-size: 12.5px; color: var(--muted); font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.prose td { color: var(--ink); } .prose td.sub { background: var(--soft); font-weight: 700; }
.prose td:not(:first-child) { white-space: nowrap; }

.inline-cta { display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; border-radius: var(--r-lg); padding: 26px 30px; margin: 40px 0;
  background: linear-gradient(120deg, #0d2552, #163a7a); color: #b6c3df; }
.inline-cta b { font: 600 20px var(--head); display: block; color: #fff; }
.inline-cta span { font-size: 15px; }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin: 10px 0 30px; }
.gallery a { display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 3/2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery a:hover img { transform: scale(1.05); }

.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 6px 0 34px; }
.facts div { background: var(--soft); border-radius: var(--r); padding: 22px 24px; border-left: 3px solid var(--or); }
.facts b { display: block; font: 300 32px/1.1 var(--head); color: var(--ink); letter-spacing: -.03em; }
.facts b em { font-style: normal; font-weight: 700; }
.facts span { font-size: 14.5px; color: var(--muted); }

.req { background: var(--soft); border-radius: var(--r-lg); padding: 26px 30px; font-size: 15.5px; }
.req dl { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 10px 20px; margin: 0; }
.req dt { color: var(--muted); } .req dd { margin: 0; font-weight: 600; color: var(--ink); }

/* Цикл производства (фото) */
.cycle { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 10px 0 40px; }
.cycle > div { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--card); }
.cycle .pic { height: 120px; overflow: hidden; } .cycle .pic img { width: 100%; height: 100%; object-fit: cover; }
.cycle .pic.dots { padding: 10px; }
.cycle small, .cycle h3, .cycle p { display: block; margin-left: 16px; margin-right: 16px; }
.cycle small { color: var(--or); font-weight: 800; font-size: 12.5px; letter-spacing: .08em; margin-top: 14px; }
.cycle h3 { font-size: 17px; margin-top: 4px; margin-bottom: 6px; }
.cycle p { margin-top: 0; margin-bottom: 16px; color: var(--muted); font-size: 14px; line-height: 1.5; }

.lightbox { position: fixed; inset: 0; z-index: 80; background: rgba(8,27,68,.9); display: none; align-items: center; justify-content: center; padding: 16px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 90vh; border-radius: 12px; }
.lightbox button { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; font-size: 22px; cursor: pointer; }

/* ---------- Подвал ---------- */
.ftr { background: var(--soft); padding: 88px 0 30px; font-size: 15px; color: var(--muted); border-top: 1px solid var(--line); }
.ftr .cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 56px; }
.ftr h4 { color: var(--ink); margin: 0 0 16px; font-size: 15px; }
.ftr .cols a { display: block; text-decoration: none; padding: 4px 0; } .ftr .cols a:hover { color: var(--or); }
.ftr .cols p { margin: 16px 0 0; max-width: 320px; }
.ftr .big { color: var(--ink) !important; font: 700 22px var(--head); }
.ftr .mk { --bg-2: #ffffff; --ink: #0d2552; --line: #e2e8f2; }
.ftr .legal { margin-top: 30px; font-size: 13px; line-height: 1.6; }
.callbar { display: none; }

/* ---------- Движение (html.mo — когда разрешено) ---------- */
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.mo .rv { transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.mo .rv:not(.in) { opacity: 0; transform: translateY(36px); }
.mo [data-rv="mask"] { overflow: hidden; transition: clip-path 1.2s var(--ease); transition-delay: var(--d, 0s); }
.mo [data-rv="mask"]:not(.in) { clip-path: inset(0 0 100% 0); }
.mo [data-rv="mask"] img { transition: transform 1.6s var(--ease); } .mo [data-rv="mask"]:not(.in) img { transform: scale(1.25); }
.mo [data-rv="zoom"] { transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.mo [data-rv="zoom"]:not(.in) { opacity: 0; transform: scale(.9); }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.w > span { display: inline-block; transition: transform 1s var(--ease); }
.mo [data-words]:not(.in) .w > span { transform: translateY(108%); }
/* Движение не выключается при «уменьшить движение» в системе (12.11.2026, пользователь: «всему сайту добавь плавность»; на его Windows Server настройка включена). */

/* ---------- Адаптив ---------- */
@media (max-width: 1220px) { .nav { display: none; } .burger { display: block; } .hphone { margin-left: auto; } }
@media (max-width: 1100px) {
  .hero-g, .plant-sec .g, .price-sec .grid, .lead-form .grid, .ph-g, .faq-g { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .ph-art { max-width: 560px; aspect-ratio: 16/10; }
  .calc { grid-template-columns: minmax(0, 1fr); }
  .cycle { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .docs { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stats > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .layout { grid-template-columns: minmax(0, 1fr); gap: 40px; } .aside { position: static; }
  .ftr .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
    .hdr .wrap { height: 68px; gap: 10px; } .logo img { height: 28px; }
  .hdr .btn.sm { display: none; } .hphone { font-size: 15px; } .hphone small { display: none; }
  .hero { padding-top: 32px; }
  .stats > div { padding: 18px 12px 18px 0; } .stats > div:nth-child(even) { padding-left: 14px; }
  .plant { padding: 8px; border-radius: 20px; } .spot i { width: 28px; height: 28px; font-size: 11px; } .spot b { display: none; }
  .c-in { padding: 28px 20px; } .c-out { padding: 26px 20px 28px; } .c-w { grid-template-columns: minmax(0, 1fr); gap: 14px; } .c-pic { height: 150px; } .c-out .btn { align-self: stretch; }
  .ptable { padding: 4px 18px; } .ptable .row { grid-template-columns: minmax(0, 1fr) auto; gap: 12px; } .ptable .row > :nth-child(3) { display: none; } .ptable .price { font-size: 16px; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 34px; } .steps::before { display: none; } .step .pic { height: 180px; }
  .clients { padding: 4px 18px; } .clients li { flex-direction: column; gap: 0; } .clients small { text-align: left; }
  .docs { grid-template-columns: minmax(0, 1fr); }
  .pt { padding: 24px 22px 24px 96px; } .pt.noimg { padding-left: 22px; } .pt > img { width: 60px; height: 60px; left: 18px; top: 24px; }
  .zform { grid-template-columns: minmax(0, 1fr); padding: 24px; border-radius: 20px; }
  .zform label, .zform .btn, .zform .f-msg { grid-column: auto !important; }
  .page-head { padding: 22px 0 48px; } .page-head .ph-t > p { font-size: 17px; } .ph-art { padding: 18px; border-radius: 20px; }
  .layout { padding-top: 40px; } .prose { font-size: 16px; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .req dl { grid-template-columns: minmax(0, 1fr); gap: 2px; } .req dd { margin-bottom: 10px; }
  .cycle { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ftr .cols { grid-template-columns: minmax(0, 1fr); } .ftr { padding-bottom: 110px; }
  .callbar { display: flex; position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 40; gap: 8px; }
  .callbar .btn { flex: 1; padding: 16px 10px; } .callbar .btn.navy { background: var(--navy); }
}
@media (max-width: 400px) { .hero h1 { font-size: 31px; } .logo img { height: 25px; } .hphone { font-size: 14px; } }

/* ==========================================================================
   12.11.2026 — «легче и современнее»: бенто-сетка на главной, карточки видов лома вместо 75 страниц,
   поиск по видам лома (Ctrl+K), тёмная тема, плавные переходы между страницами (View Transitions).
   ========================================================================== */
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
@view-transition { navigation: auto; }
.hdr { view-transition-name: hdr; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; }

/* Марки и заказчики */
.grades { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 34px; }
.grades span { padding: 7px 13px; border-radius: 999px; font-weight: 650; font-size: 14px; border: 1px solid var(--line); color: var(--ink); background: var(--card); }
.dark .grades span { color: #fff; background: rgba(255,255,255,.06); }
.clients { list-style: none; margin: 0; padding: 10px 30px; }
.clients li { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 600; }
.clients li:last-child { border: 0; } .clients small { color: var(--muted); font-weight: 400; text-align: right; }

/* Бенто: направления на главной и в /services/ */
.what { background: var(--soft); }
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(230px, auto); gap: 16px; }
.b-card { position: relative; isolation: isolate; overflow: hidden; border-radius: 24px; background: var(--card); border: 1px solid var(--line); padding: 26px; display: flex; flex-direction: column; justify-content: flex-end; gap: 14px;
  color: var(--text); text-decoration: none; transition: transform .45s var(--ease), box-shadow .45s; }
.b-card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(13,37,82,.45); }
.b-link { position: absolute; inset: 0; z-index: 1; }
.b-card a:not(.b-link), .b-card button { position: relative; z-index: 2; }
.b-ph { position: absolute; inset: 0; z-index: -1; }
.b-ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.b-card:hover .b-ph img { transform: scale(1.06); }
.b-ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,27,68,.2), rgba(8,27,68,.55) 45%, rgba(8,27,68,.92)); }
.b-card:has(.b-ph) { color: #dbe4f7; border: 0; }
.b-card:has(.b-ph) b, .b-card.dark b { color: #fff; }
.b-t { display: flex; flex-direction: column; gap: 6px; }
.b-t small { font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--or); }
.b-card:has(.b-ph) .b-t small { color: #ffb38f; }
.b-t b { font: 600 clamp(22px, 2.2vw, 30px)/1.1 var(--head); letter-spacing: -.02em; color: var(--ink); }
.b-t > span { font-size: 15px; }
.b-t > .b-price { font: 300 clamp(34px, 3.6vw, 52px)/1 var(--head); color: #fff; letter-spacing: -.03em; }
.b-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.b-chips a { font-size: 13.5px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); color: #fff; text-decoration: none; backdrop-filter: blur(6px); transition: background .25s; }
.b-chips a:hover { background: var(--or); border-color: var(--or); }
.b-lead { grid-column: span 2; grid-row: span 2; }
.b-alloy { grid-column: span 2; justify-content: space-between; }
.b-alloy .grades { margin: 0; }
.b-find { justify-content: space-between; }
.b-find .cta { position: relative; z-index: 2; }
.svc-list { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 300px; }
.svc-list .b-card:first-child { grid-row: span 2; }

/* Страница раздела: виды лома карточками */
.svc { padding: 24px 0 clamp(56px, 7vw, 96px); }
.jump { display: flex; gap: 8px; flex-wrap: wrap; position: sticky; top: 80px; z-index: 5; padding: 10px 0; margin-bottom: 18px; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(10px); }
.jump a { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: 14.5px; color: var(--ink); background: var(--card); transition: all .25s; }
.jump a:hover { border-color: var(--or); color: var(--or); }
.grp { scroll-margin-top: 150px; }
.grp + .grp { margin-top: 56px; }
.grp h2 { font-size: clamp(26px, 2.8vw, 38px); font-weight: 600; margin-bottom: 22px; display: flex; align-items: baseline; gap: 12px; }
.grp h2 small { font: 700 14px var(--font); color: var(--or); background: var(--or-soft); padding: 4px 10px; border-radius: 999px; }
.kinds { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 14px; }
.kind { position: relative; display: grid; grid-template-columns: 92px minmax(0, 1fr); grid-template-areas: "pic t" "pic p" "go go"; gap: 4px 16px; align-items: start; padding: 18px; border: 1px solid var(--line); border-radius: 18px;
  background: var(--card); color: var(--text); text-decoration: none; scroll-margin-top: 150px; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.kind:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -24px rgba(13,37,82,.4); border-color: transparent; }
.k-pic { grid-area: pic; height: 84px; border-radius: 14px; background: var(--plate); padding: 6px; }
.k-pic img { transition: transform .45s cubic-bezier(.3,1.6,.5,1); } .kind:hover .k-pic img { transform: scale(1.1) rotate(-2deg); }
.k-t { grid-area: t; } .k-t b { display: block; color: var(--ink); font-weight: 650; line-height: 1.3; font-size: 16.5px; } .k-t small { display: block; color: var(--muted); font-size: 14px; line-height: 1.45; margin-top: 3px; }
.k-p { grid-area: p; font-size: 14px; } .k-p em { font-style: normal; font-weight: 750; color: var(--ink); font-size: 17px; } .k-p i { font-style: normal; color: var(--muted); }
.k-go { grid-area: go; justify-self: start; margin-top: 10px; border: 0; background: none; padding: 0; font: 650 14.5px var(--font); color: var(--or); cursor: pointer; }
.k-go:hover { text-decoration: underline; }
.kind:target { border-color: var(--or); box-shadow: 0 0 0 4px var(--or-soft); animation: hit 1.6s var(--ease) 2; }
@keyframes hit { 50% { box-shadow: 0 0 0 10px var(--or-soft); } }
.svc-more { padding: clamp(56px, 7vw, 96px) 0; border-top: 1px solid var(--line); }
.svc-more .two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 72px; align-items: start; }
.svc-more h2 { font-size: clamp(28px, 3.2vw, 44px); margin-bottom: 24px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 34px; color: var(--ink); font-weight: 500; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--or-soft); color: var(--or); font-size: 13px; font-weight: 800; display: grid; place-items: center; }
.pts.one { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 8px; }
.more-t { border: 1px solid var(--line); border-radius: 18px; background: var(--card); }
.more-t summary { cursor: pointer; padding: 20px 24px; font-weight: 650; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.more-t summary::after { content: "+"; color: var(--or); font-size: 22px; line-height: 1; } .more-t[open] summary::after { content: "–"; }
.more-t summary::-webkit-details-marker { display: none; }
.more-t .prose { padding: 0 24px 8px; }

/* Доверие: лицензии + бегущий список заказчиков */
.trust { padding-bottom: 0; }
.trust-more { display: flex; gap: 32px; flex-wrap: wrap; margin: 0; }
.clients-run { margin-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.cr-track { display: flex; width: max-content; animation: tk 80s linear infinite; }
.clients-run:hover .cr-track { animation-play-state: paused; }
.cr-track > div { display: flex; }
.cr-track span { padding: 26px 34px; border-right: 1px solid var(--line); font: 600 18px var(--head); color: var(--ink); white-space: nowrap; }
.cr-track small { display: block; font: 400 13px var(--font); color: var(--muted); margin-top: 2px; }

/* Кнопки в шапке: поиск и тема */
.hbtn { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: border-color .25s, color .25s; }
.hbtn:hover { border-color: var(--or); color: var(--or); }
.hbtn svg { width: 20px; height: 20px; }
.hsearch { width: auto; padding: 0 12px; display: flex; gap: 8px; border-radius: 999px; font: 500 14px var(--font); color: var(--muted); }
.hsearch kbd { font: 600 11.5px var(--font); border: 1px solid var(--line); border-radius: 6px; padding: 2px 6px; color: var(--muted); }
.theme .moon, :root[data-theme="dark"] .theme .sun { display: none; } :root[data-theme="dark"] .theme .moon { display: block; }

/* Окно поиска */
.srch { position: fixed; inset: 0; z-index: 75; background: rgba(8,27,68,.45); backdrop-filter: blur(8px); display: none; justify-content: center; align-items: flex-start; padding: 12vh 16px 16px; }
.srch.open { display: flex; animation: audin .25s var(--ease); }
.srch .box { width: min(640px, 100%); background: var(--card); border-radius: 22px; box-shadow: 0 40px 100px -30px rgba(0,0,0,.6); overflow: hidden; border: 1px solid var(--line); }
.srch input { width: 100%; border: 0; border-bottom: 1px solid var(--line); background: transparent; padding: 22px 24px; font: 500 19px var(--font); color: var(--ink); outline: 0; }
.srch ul { list-style: none; margin: 0; padding: 8px; max-height: min(56vh, 520px); overflow-y: auto; }
.srch li a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 16px; padding: 12px 16px; border-radius: 12px; text-decoration: none; color: var(--ink); font-weight: 600; }
.srch li a small { grid-column: 1; color: var(--muted); font-size: 13.5px; font-weight: 400; }
.srch li a em { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-style: normal; font-weight: 700; color: var(--or); font-size: 14px; white-space: nowrap; }
.srch li a.on, .srch li a:hover { background: var(--soft); }
.srch .empty { padding: 18px 16px; color: var(--muted); }
.srch .empty a { color: var(--or); font-weight: 650; }

/* ---------- Тёмная тема: по системе или переключателю в шапке ---------- */
:root[data-theme="dark"] {
  --bg: #08122a; --soft: #0d1a38; --soft-2: #112146; --card: #0f1e40; --plate: #e6edf8; --ink: #edf2ff; --navy: #2a4c9a; --navy-2: #3a5fb5; --deep: #050d22;
  --text: #c2cde6; --muted: #8e9cbc; --line: rgba(255,255,255,.11); --blue: #79a6ff; --blue-soft: rgba(121,166,255,.16); --or-soft: rgba(232,76,10,.16);
  --red-soft: rgba(232,76,10,.16); --ink-2: #c2cde6; --bg-2: #0d1a38; color-scheme: dark;
}
:root[data-theme="dark"] .logo img, :root[data-theme="dark"] .ftr .cols > div:first-child img { filter: brightness(0) invert(1); }
:root[data-theme="dark"] .ftr .mk { --bg-2: #ffffff; --red-soft: #fdf0ea; --ink: #0d2552; --ink-2: #3b4a66; --line: #e2e8f2; --muted: #6e7b96; --text: #3a4864; }
:root[data-theme="dark"] .ph-art .plate, :root[data-theme="dark"] .plant, :root[data-theme="dark"] .c-pic { background: var(--plate); }

@media (max-width: 1100px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .b-lead { grid-row: span 1; min-height: 360px; }
  .svc-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } .svc-list .b-card:first-child { grid-row: auto; }
  .svc-more .two { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .hsearch span, .hsearch kbd { display: none; } .hsearch { width: 44px; padding: 0; justify-content: center; }
}
@media (max-width: 700px) {
  .bento, .svc-list { grid-template-columns: minmax(0, 1fr); grid-auto-rows: minmax(220px, auto); }
  .b-lead, .b-alloy { grid-column: auto; }
  .b-card { padding: 22px; border-radius: 20px; }
  .jump { top: 68px; flex-wrap: nowrap; overflow-x: auto; margin: 0 -18px 14px; padding: 10px 18px; scrollbar-width: none; }
  .jump a { flex: none; }
  .kind { grid-template-columns: 72px minmax(0, 1fr); padding: 14px; } .k-pic { height: 68px; }
  .hbtn { width: 40px; height: 40px; } .hdr .theme { display: none; }
  .cr-track span { padding: 18px 22px; font-size: 16px; }
  .srch { padding-top: 70px; }
}
body:has(.hdr.hide) .jump { top: 0; }
@media (max-width: 1440px) { .hsearch span, .hsearch kbd { display: none; } .hsearch { width: 44px; padding: 0; justify-content: center; } .hdr .wrap { gap: 18px; } .nav > a, .nav .dd > a { padding: 0 10px; } }
.nav > a, .nav .dd > a { white-space: nowrap; }
.b-pgm, .b-find { grid-column: span 2; }
@media (max-width: 1340px) { .nav { display: none; } .burger { display: block; } .hphone { margin-left: auto; } }
@media (max-width: 700px) { .b-pgm, .b-find { grid-column: auto; } }
@media (max-width: 480px) { .hphone { display: none; } .hsearch { margin-left: auto; } }
.b-card.dark { background: var(--deep); border: 0; color: #c7d4f2; } .b-card.dark .b-t small { color: #ff9a5c; }
.srch .empty a { display: inline; padding: 0; }

/* ---------- Цены от биржи (12.11.2026): котировки, стоимость металла по ЦБ ---------- */
.mkt { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; margin: 8px 0 24px; }
.mkt > div { background: var(--card); padding: 18px 20px; }
.mkt small { display: block; color: var(--muted); font-size: 13px; font-weight: 600; }
.mkt b { display: block; font: 600 clamp(20px, 2vw, 26px)/1.2 var(--head); color: var(--ink); letter-spacing: -.02em; font-variant-numeric: tabular-nums; margin-top: 4px; }
.mkt p { grid-column: 1 / -1; margin: 0; background: var(--card); padding: 10px 20px 14px; font-size: 13.5px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.mkt p::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #2bd46b; box-shadow: 0 0 0 4px rgba(43,212,107,.18); flex: none; }
.svc-more .mkt { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 28px; }
.mtab { margin-top: 28px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); padding: 6px 22px 16px; }
.mtab-h { padding: 14px 0 10px; } .mtab-h b { display: block; color: var(--ink); font-size: 17px; } .mtab-h small { color: var(--muted); font-size: 13.5px; }
.mtab > div:not(.mtab-h) { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); }
.mtab > div b { color: var(--ink); font-variant-numeric: tabular-nums; }
.mtab p { margin: 10px 0 0; font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.ptable .row { grid-template-columns: minmax(0, 1fr) auto; }
.ptable .pnote { margin: 4px 0 14px; font-size: 13.5px; color: var(--muted); }
[data-pk], [data-mk], [data-mx] { font-variant-numeric: tabular-nums; }
@media (max-width: 700px) { .mkt, .svc-more .mkt { grid-template-columns: repeat(2, minmax(0, 1fr)); } .mkt > div { padding: 14px 16px; } }

/* ==========================================================================
   Дизайн 12.11.2026 — «Промышленный минимализм» + живое табло цен:
   плотные заголовки без смеси тонкого и жирного, без цветных пятен, фото тонированы в фирменный синий
   (при наведении — в цвете), на первом экране — табло биржевых цен вместо мозаики фото.
   ========================================================================== */
h1, h2 { font-weight: 650; letter-spacing: -.035em; }
h1 b, h2 b { font-weight: inherit; }
h2 b { color: var(--or); }
.dark h2 b { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: #ff8a4c; }
.mesh { display: none; }
.dark { background: linear-gradient(165deg, #0a1d48 0%, var(--deep) 70%); }

/* Первый экран */
.hero { padding: 72px 0 40px; }
.hero h1 { font-size: clamp(38px, 4.6vw, 68px); line-height: 1.02; }
.hero-lead { font-size: 19px; max-width: 540px; margin: 26px 0 32px; }
.hero-alt { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 30px; font-size: 15px; }
.hero-alt a { color: var(--ink); font-weight: 600; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.hero-alt a::after { content: "→"; color: var(--or); transition: transform .3s; }
.hero-alt a:hover { color: var(--or); } .hero-alt a:hover::after { transform: translateX(4px); }

/* Табло цен */
.board { background: var(--card); border: 1px solid var(--line); border-radius: 26px; padding: 8px 26px 20px; box-shadow: 0 50px 100px -50px rgba(13,37,82,.45), 0 0 0 6px var(--soft); }
.bd-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 0 14px; border-bottom: 1px solid var(--line); }
.bd-h span { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); font-size: 15px; letter-spacing: .02em; }
.bd-h small { color: var(--muted); font-size: 13px; }
.bd-lme { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; align-items: end; padding: 18px 0 16px; border-bottom: 1px solid var(--line); }
.board small { display: block; color: var(--muted); font-size: 12.5px; font-weight: 600; letter-spacing: .02em; }
.board b { font-variant-numeric: tabular-nums; color: var(--ink); }
.bd-lme b { display: block; font: 650 clamp(34px, 3.4vw, 46px)/1.05 var(--head); letter-spacing: -.035em; margin-top: 4px; white-space: nowrap; }
.bd-lme b i { font-style: normal; font-size: .45em; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.chg { display: inline-block; margin-top: 8px; font-style: normal; font-size: 13px; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.chg.up { color: #16a34a; background: rgba(22,163,74,.1); } .chg.down { color: #dc2626; background: rgba(220,38,38,.09); }
.spark { width: 100%; height: 72px; overflow: visible; }
.spark .line { fill: none; stroke: var(--or); stroke-width: 2.2; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.spark .area { fill: var(--or-soft); }
.board.in .spark .line { stroke-dasharray: 1200; animation: draw 1.8s var(--ease) both; }
@keyframes draw { from { stroke-dashoffset: 1200; } to { stroke-dashoffset: 0; } }
.bd-2 { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
.bd-2 > div { padding: 14px 0; } .bd-2 > div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.bd-2 b { display: block; font: 650 22px/1.2 var(--head); margin-top: 3px; letter-spacing: -.02em; }
.bd-list { list-style: none; margin: 0; padding: 6px 0; }
.bd-list a { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; text-decoration: none; color: var(--text); font-size: 15.5px; border-bottom: 1px dashed var(--line); }
.bd-list li:last-child a { border: 0; }
.bd-list a:hover span { color: var(--or); }
.bd-list b { white-space: nowrap; }
.bd-more { display: block; text-align: center; padding: 13px; border-radius: 12px; background: var(--soft); color: var(--ink); font-weight: 650; text-decoration: none; font-size: 15px; transition: background .25s, color .25s; }
.bd-more:hover { background: var(--navy); color: #fff; }
.flash { animation: flash 1.2s var(--ease); }
@keyframes flash { 0% { background: rgba(232,76,10,.25); } 100% { background: transparent; } }

/* Фото — тонированы в фирменный синий, при наведении цветные */
.b-ph img, .ph-art.photo > img, .cycle .pic img { filter: grayscale(1) sepia(.35) hue-rotate(178deg) saturate(2.4) contrast(1.06) brightness(.98); transition: filter .6s var(--ease), transform 1.2s var(--ease); }
.b-card:hover .b-ph img, .ph-art.photo:hover > img, .cycle > div:hover .pic img { filter: none; }

/* Шапка без верхней строки — чуть выше */
.hdr .wrap { height: 76px; }

@media (max-width: 1100px) { .hero-g { gap: 44px; } .board { max-width: 640px; } }
@media (max-width: 700px) {
  .hero { padding-top: 28px; } .hero-lead { font-size: 17px; }
  .hero .cta .btn { flex: 1 1 100%; }
  .board { padding: 4px 18px 16px; border-radius: 22px; box-shadow: 0 30px 60px -40px rgba(13,37,82,.45), 0 0 0 4px var(--soft); }
  .bd-lme { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .spark { height: 56px; }
  .bd-list a { font-size: 14.5px; }
}
:root[data-theme="dark"] .board { box-shadow: 0 0 0 6px var(--soft); }
.stats b, .b-t > .b-price { font-weight: 600; }
.facts b { font-weight: 600; }

/* Ровные переносы (12.11.2026): заголовки — строки одинаковой длины, абзацы — без одинокого слова в последней строке.
   Неразрывные пробелы после предлогов, у чисел и перед тире расставляет типограф в tools\build-site.js. */
h1, h2, h3, .b-t b, .k-t b, .grp h2, .bd-h span, .modal h3, .inline-cta b { text-wrap: balance; }
p, li, small, .k-t small, .b-t > span, .sec-head p, dd, figcaption, summary { text-wrap: pretty; }
h1, h2, h3 { overflow-wrap: break-word; }
/* Первый экран: текст и табло выровнены по верху (12.11.2026) */
.hero-g { align-items: start; }
.hero-t { padding-top: 34px; }
@media (max-width: 1100px) { .hero-t { padding-top: 0; } }

/* ---------- Персональные данные (12.11.2026): уведомление о cookies, документы ---------- */
.ck { position: fixed; left: 16px; bottom: 16px; z-index: 65; width: min(460px, calc(100% - 32px)); background: var(--card); color: var(--text); border: 1px solid var(--line); border-radius: 18px;
  padding: 18px 20px; box-shadow: 0 30px 70px -30px rgba(8,27,68,.55); font-size: 14.5px; line-height: 1.5; animation: audin .4s var(--ease); }
.ck[hidden] { display: none; }
.ck p { margin: 0 0 14px; } .ck a { color: var(--blue); }
.ck-b { display: flex; gap: 8px; flex-wrap: wrap; }
.ck .btn { padding: 11px 16px; font-size: 14px; }
.linkbtn { border: 0; background: none; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
.ftr .legal a, .ftr .legal .linkbtn { color: var(--muted); }
.legal-doc .doc-meta { color: var(--muted); font-size: 15px; padding: 14px 18px; background: var(--soft); border-radius: 12px; }
.legal-doc h2 { font-size: clamp(21px, 2.2vw, 26px); margin-top: 36px; }
@media (max-width: 700px) { .ck { left: 10px; right: 10px; bottom: 80px; width: auto; } }

/* ---------- Лицензии: миниатюры и просмотр на сайте (12.11.2026) ---------- */
.doc-v { flex-direction: column; align-items: stretch; gap: 0; padding: 0; overflow: hidden; }
.doc-th { position: relative; display: block; height: 220px; overflow: hidden; background: var(--plate); border-bottom: 1px solid var(--line); }
.doc-th img { width: 82%; height: auto; margin: 18px auto 0; box-shadow: 0 12px 30px -12px rgba(13,37,82,.45); transition: transform .5s var(--ease); }
.doc-v:hover .doc-th img { transform: translateY(-6px) scale(1.03); }
.doc-th i { position: absolute; right: 12px; top: 12px; font-style: normal; font-size: 12.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: rgba(13,37,82,.85); color: #fff; }
.doc-t { display: block; padding: 16px 20px 18px; }
.doc-t small { color: var(--or); font-weight: 600; }
.prose .docs:has(.doc-v) { grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); }
.docv { position: fixed; inset: 0; z-index: 85; background: rgba(8,18,42,.95); overflow-y: auto; }
.docv[hidden] { display: none; }
.docv-bar { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: #08122a; color: #fff; }
.docv-bar b { flex: 1; font-size: 15px; font-weight: 600; line-height: 1.3; }
.docv-bar .btn.line { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); }
.docv-bar .x { flex: none; width: 42px; height: 42px; border-radius: 50%; border: 0; background: #fff; color: var(--navy); font-size: 22px; cursor: pointer; }
.docv-pages { display: grid; gap: 16px; justify-items: center; padding: 20px 16px 60px; }
.docv-pages img { width: min(900px, 100%); height: auto; border-radius: 6px; box-shadow: 0 20px 60px -20px rgba(0,0,0,.7); background: #fff; }
body.doc-open { overflow: hidden; }
@media (max-width: 700px) { .doc-th { height: 190px; } .docv-bar b { font-size: 13.5px; } .docv-bar .btn { padding: 10px 12px; } }
.doc-t b { overflow-wrap: break-word; }
@media (max-width: 700px) {
  .doc-v { flex-direction: row; align-items: stretch; }
  .doc-th { width: 112px; height: auto; flex: none; border-bottom: 0; border-right: 1px solid var(--line); }
  .doc-th img { width: 84%; margin-top: 12px; }
  .doc-th i { right: auto; left: 6px; top: auto; bottom: 6px; font-size: 11px; padding: 3px 7px; }
  .doc-t { padding: 14px 16px; } .doc-t b { font-size: 15px; }
}

/* ---------- Анимации (12.11.2026): табло, график, схема завода, калькулятор, переходы ---------- */
/* Табло: разряды перещёлкиваются */
.od { display: inline-block; height: 1.1em; line-height: 1.1em; overflow: hidden; vertical-align: -.24em; }
.od-c { display: inline-block; transition: transform 1.1s cubic-bezier(.2,.9,.25,1); will-change: transform; }
/* График: точка последней цены, подсказка */
.spark-w { position: relative; }
.sp-dot { position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--or); box-shadow: 0 0 0 0 rgba(232,76,10,.5); animation: spdot 2s infinite; }
@keyframes spdot { 70% { box-shadow: 0 0 0 10px rgba(232,76,10,0); } 100% { box-shadow: 0 0 0 0 rgba(232,76,10,0); } }
.sp-guide { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--ink); opacity: 0; transition: opacity .2s; pointer-events: none; }
.sp-tip { position: absolute; bottom: calc(100% + 6px); transform: translateX(-50%); white-space: nowrap; background: var(--navy); color: #fff; font-size: 12.5px; font-weight: 700; padding: 5px 9px; border-radius: 8px; opacity: 0; transition: opacity .2s; pointer-events: none; font-variant-numeric: tabular-nums; }
.spark-w.hover .sp-guide { opacity: .25; } .spark-w.hover .sp-tip { opacity: 1; }
.spark-w { cursor: crosshair; }
/* Схема завода: этапы загораются по прокрутке */
.psteps a { transition: background .4s, opacity .4s; }
.plant-sec.scroll-steps .psteps a:not(.lit) { opacity: .55; }
.psteps a.lit i { box-shadow: 0 0 0 5px rgba(232,76,10,.25); }
.psteps i { transition: box-shadow .4s, transform .4s; } .psteps a.on i { transform: scale(1.12); }
/* Калькулятор: сумма подпрыгивает */
.c-sum b { display: inline-block; transform-origin: 0 70%; }
.c-sum.bump b { animation: bump .45s cubic-bezier(.3,1.6,.5,1); }
@keyframes bump { 40% { transform: scale(1.06); } }
/* Появление блоков — спокойнее: короче путь и время */
.mo .rv { transition-duration: .7s; }
.mo .rv:not(.in) { transform: translateY(18px); }
/* Карточки — единый отклик на наведение */
.pt { transition: transform .35s var(--ease), box-shadow .35s; }
.pt:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -24px rgba(13,37,82,.35); }
/* Переход между страницами: название раздела перетекает из карточки в заголовок */
::view-transition-group(*) { animation-duration: .5s; animation-timing-function: cubic-bezier(.2,.8,.2,1); }

/* Анимации-подсказки — и при «меньше движения» в системе (у пользователя на Windows Server она включена, 12.11.2026).
   Общее правило выше гасит всё через !important — здесь возвращаем только эти. Появление блоков по-прежнему отключается. */
@media (prefers-reduced-motion: reduce) {
  .od-c { transition: transform 1.1s cubic-bezier(.2,.9,.25,1) !important; }
  .sp-dot { animation: spdot 2s infinite !important; }
  .live { animation: live 1.8s infinite !important; }
  .board.in .spark .line { animation: draw 1.8s cubic-bezier(.2,.8,.2,1) both !important; }
  .c-sum.bump b { animation: bump .45s cubic-bezier(.3,1.6,.5,1) !important; }
  .psteps a { transition: background .4s, opacity .4s !important; } .psteps i { transition: box-shadow .4s, transform .4s !important; }
  .spot i { animation: pulse 2.4s infinite !important; transition: transform .2s !important; }
  .spot b { transition: opacity .25s, transform .25s !important; }
  .flash { animation: flash 1.2s !important; }
  .kind:target { animation: hit 1.6s cubic-bezier(.2,.8,.2,1) 2 !important; }
  .sp-tip, .sp-guide { transition: opacity .2s !important; }
}

/* ---------- Без изометрических рисунков (12.11.2026, пользователю не понравились) ---------- */
/* Карточки видов лома: название, пояснение, цена — только текст */
.kind { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "t p" "go go"; gap: 6px 16px; padding: 20px 22px; }
.k-p { text-align: right; white-space: nowrap; padding-top: 2px; }
.k-p em { font-size: 19px; }
.kind { border-left: 3px solid var(--or); }
a.kind { border-left-color: var(--navy); }
/* Шаги: крупный номер вместо рисунка */
.steps::before { top: 30px; left: 70px; right: 0; border-top-style: solid; border-color: var(--line); }
.st-n { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--card); border: 2px solid var(--or); color: var(--or); font: 700 20px var(--head); margin-bottom: 20px; position: relative; }
.step:hover .st-n { background: var(--or); color: #fff; transition: background .3s, color .3s; }
/* Калькулятор без картинки: сумма — главный элемент правой части */
.c-out { justify-content: center; }
.c-sum b { font-size: clamp(44px, 5.4vw, 72px); }
/* Пункты приёма — без рисунка */
.pt.noimg { padding: 26px 28px; }
/* Завод: фото этапов вместо схемы */
.pfilm { position: relative; aspect-ratio: 4 / 3; border-radius: 26px; overflow: hidden; background: #0a1d48; box-shadow: 0 40px 100px -30px rgba(0,0,0,.6); }
.pf { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .8s ease; }
.pf.on { opacity: 1; }
.pf img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 6s ease-out; }
.pf.on img { transform: scale(1); }
.pf::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(5,13,34,.85)); }
.pf figcaption { position: absolute; left: 24px; bottom: 26px; z-index: 1; display: flex; align-items: center; gap: 12px; color: #fff; font: 650 clamp(20px, 2vw, 26px)/1.2 var(--head); letter-spacing: -.02em; }
.pf figcaption i { font-style: normal; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--or); font-size: 14px; font-weight: 800; }
.pf-bar { position: absolute; left: 24px; right: 24px; bottom: 12px; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.pf-bar i { height: 3px; border-radius: 3px; background: rgba(255,255,255,.25); transition: background .5s; }
.pf-bar i.on { background: var(--or); }
@media (prefers-reduced-motion: reduce) { .pf { transition: opacity .8s ease !important; } .pf-bar i { transition: background .5s !important; } }
@media (max-width: 700px) {
  .kind { padding: 16px 16px 16px 18px; } .k-p em { font-size: 17px; }
  .steps { gap: 26px; } .st-n { width: 52px; height: 52px; font-size: 18px; margin-bottom: 14px; }
  .pfilm { border-radius: 20px; } .pf figcaption { left: 16px; bottom: 22px; font-size: 19px; } .pf figcaption i { width: 34px; height: 34px; }
  .pf-bar { left: 16px; right: 16px; }
}
.c-sum .c-how { display: block; margin-top: 6px; }

/* Калькулятор: правая часть — сумма, условия сделки, кнопка и телефон (12.11.2026: «много пустого») */
.calc { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.c-out { justify-content: center; gap: 26px; padding: 44px 44px; }
.c-sum b { font-size: clamp(44px, 4.6vw, 64px); }
.c-facts { list-style: none; margin: 0; padding: 22px 0 0; border-top: 1px solid rgba(255,255,255,.14); display: grid; gap: 12px; }
.c-facts li { position: relative; padding-left: 32px; color: #dbe4f7; font-size: 15.5px; line-height: 1.45; transition: color .3s; }
.c-facts li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; color: #fff; background: rgba(255,255,255,.14); transition: background .3s; }
.c-facts li.on { color: #fff; font-weight: 650; } .c-facts li.on::before { background: var(--or); }
.c-act { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.c-out .c-act .btn { align-self: auto; }
.c-tel { color: #fff; font: 650 18px var(--head); text-decoration: none; white-space: nowrap; } .c-tel:hover { color: #ffb38f; }
@media (max-width: 1100px) { .calc { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 700px) { .c-out { padding: 28px 20px 30px; gap: 22px; } .c-act .btn { flex: 1 1 100%; } .c-tel { margin: 0 auto; } }

/* Карточки видов лома — без цветной полосы-«закладки» (12.11.2026): название сверху, внизу на одной линии цена и кнопка */
.kind, a.kind { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: 1fr auto; grid-template-areas: "t t" "p go"; gap: 20px 12px; align-items: end;
  padding: 22px 22px 20px; border: 1px solid var(--line); border-radius: 20px; }
.kind:hover { border-color: var(--or); box-shadow: 0 22px 44px -26px rgba(13,37,82,.35); }
.k-t { align-self: start; }
.k-t b { font-size: 17.5px; }
.k-p { grid-area: p; text-align: left; padding: 0; white-space: nowrap; }
.k-p em { font: 650 21px/1 var(--head); letter-spacing: -.02em; color: var(--ink); }
.k-p i { display: inline-block; font-size: 13px; font-weight: 600; color: var(--muted); background: var(--soft); padding: 6px 11px; border-radius: 999px; }
.k-go { grid-area: go; margin: 0; justify-self: end; padding: 9px 15px; border-radius: 999px; background: var(--soft); color: var(--ink); font-size: 14px; text-decoration: none; transition: background .25s, color .25s; }
.k-go:hover { text-decoration: none; }
.kind:hover .k-go { background: var(--or); color: #fff; }
@media (max-width: 700px) { .kind, a.kind { padding: 18px; gap: 16px 10px; } .k-p em { font-size: 19px; } .k-go { padding: 8px 13px; font-size: 13.5px; } }
.grp h2 { display: block; } .grp h2 small { display: inline-block; vertical-align: middle; margin-left: 10px; }

/* ==========================================================================
   Плавность по всему сайту (12.11.2026): единая мягкая кривая для наведений, плавное раскрытие
   аккордеонов, появление вкладок, окон и меню. Работает и при «уменьшить движение» в системе.
   ========================================================================== */
:root { --smooth: cubic-bezier(.22,.8,.24,1); interpolate-size: allow-keywords; }
a, button, .btn, input, select, textarea, summary { transition: color .3s var(--smooth), background-color .3s var(--smooth), border-color .3s var(--smooth), box-shadow .35s var(--smooth), opacity .3s var(--smooth), transform .35s var(--smooth); }
.btn { transition: transform .4s var(--smooth), box-shadow .4s var(--smooth), background-color .3s var(--smooth), color .3s var(--smooth); }
.btn:active { transform: translateY(0) scale(.97); transition-duration: .12s; }
.b-card, .kind, .doc, .pt, .step, .board, .more-t, .ptable, .calc { transition: transform .5s var(--smooth), box-shadow .5s var(--smooth), border-color .4s var(--smooth); }

/* Аккордеоны (FAQ, «Химический состав», пункты мобильного меню) — раскрываются плавно */
details::details-content { block-size: 0; overflow: clip; transition: block-size .45s var(--smooth), content-visibility .45s allow-discrete; }
details[open]::details-content { block-size: auto; }
.faq details p, .more-t .prose, .drawer details a { opacity: 0; transform: translateY(-6px); transition: opacity .4s var(--smooth) .05s, transform .45s var(--smooth) .05s; }
.faq details[open] p, .more-t[open] .prose, .drawer details[open] a { opacity: 1; transform: none; }
.faq summary::after, .drawer summary::after, .more-t summary::after { transition: transform .4s var(--smooth), background-color .3s, color .3s, border-color .3s; }

/* Вкладки прайса — новая таблица мягко проявляется */
.ptable:not([hidden]) { animation: tabin .45s var(--smooth); }
@keyframes tabin { from { opacity: 0; transform: translateY(8px); } }
.tabs button { transition: background-color .3s var(--smooth), color .3s var(--smooth), border-color .3s var(--smooth); }

/* Выпадающее меню — мягче */
.dd-panel { transition: opacity .3s var(--smooth), transform .4s var(--smooth), visibility .3s; }

/* Окна: звонок, поиск, просмотр лицензий, cookies — появляются с лёгким подъёмом */
.modal.open .box, .srch.open .box { animation: popin .45s var(--smooth); }
.docv:not([hidden]) { animation: fadein .3s var(--smooth); }
.docv:not([hidden]) .docv-pages img:first-child { animation: popin .5s var(--smooth); }
@keyframes popin { from { opacity: 0; transform: translateY(14px) scale(.98); } }
@keyframes fadein { from { opacity: 0; } }

/* Шапка прячется и возвращается мягче, мобильное меню выезжает плавнее */
.hdr { transition: transform .5s var(--smooth), background-color .3s; }
.drawer { transition: transform .45s var(--smooth), visibility .45s; }

/* Появление блоков при прокрутке и заголовков по словам — одна кривая */
.mo .rv { transition: opacity .8s var(--smooth), transform .8s var(--smooth); transition-delay: var(--d, 0s); }
.w > span { transition: transform 1s var(--smooth); }

/* Фото в карточках и шапках — плавное приближение и цвет при наведении */
.b-ph img, .ph-art.photo > img, .pf img { transition: filter .7s var(--smooth), transform 1.2s var(--smooth); }

/* ---------- Контакты (12.11.2026): кому звонить по задаче, где мы, реквизиты ---------- */
.cx { padding-top: 8px; }
.page-head.plain .ph-t > p a { color: var(--ink); font-weight: 700; text-decoration: none; white-space: nowrap; }
.cx-tasks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cx-t { display: flex; flex-direction: column; gap: 14px; padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: var(--card); transition: border-color .4s var(--smooth), box-shadow .5s var(--smooth); }
.cx-t:hover { border-color: var(--or); box-shadow: 0 26px 50px -30px rgba(13,37,82,.4); }
.cx-t h2 { font-size: clamp(22px, 2vw, 27px); }
.cx-t > p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.5; }
.cx-l { display: grid; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); margin-top: auto; }
.cx-l a { font: 650 clamp(20px, 1.8vw, 24px)/1.2 var(--head); color: var(--ink); text-decoration: none; letter-spacing: -.02em; word-break: break-word; }
.cx-l a:hover { color: var(--or); }
.cx-l small { display: block; font: 500 13.5px var(--font); color: var(--muted); margin-top: 3px; letter-spacing: 0; }
.cx-t .btn { align-self: flex-start; }
.cx-t:first-child { background: var(--deep); border-color: var(--deep); color: #c7d4f2; }
.cx-t:first-child h2, .cx-t:first-child .cx-l a { color: #fff; } .cx-t:first-child > p, .cx-t:first-child .cx-l small { color: #9fb0d6; }
.cx-t:first-child .cx-l { border-color: rgba(255,255,255,.14); } .cx-t:first-child .cx-l a { font-size: clamp(26px, 2.4vw, 32px); }
.cx-places { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cx-p { padding: 26px 28px; border: 1px solid var(--line); border-radius: 22px; background: var(--card); }
.cx-p .reg { display: block; color: var(--or); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: 12.5px; }
.cx-p h3 { font-size: 20px; margin: 10px 0 8px; line-height: 1.3; }
.cx-p p { margin: 2px 0; color: var(--muted); }
.cx-p .cx-c a { color: var(--ink); font-weight: 700; text-decoration: none; }
.cx-p .map { display: inline-block; margin-top: 14px; color: var(--blue); font-weight: 650; font-size: 15px; text-decoration: none; }
.cx-req { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 20px 56px; align-items: start; margin-top: clamp(56px, 7vw, 88px); padding: 32px 36px; border-radius: 22px; background: var(--soft); }
.cx-req h2 { font-size: clamp(24px, 2.4vw, 32px); }
.cx-req dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 28px; }
.cx-req dt { color: var(--muted); font-size: 13.5px; } .cx-req dd { margin: 2px 0 0; color: var(--ink); font-weight: 600; }
.cx-req .more { grid-column: 2; }
@media (max-width: 1100px) { .cx-tasks, .cx-places { grid-template-columns: minmax(0, 1fr); } .cx-req { grid-template-columns: minmax(0, 1fr); } .cx-req .more { grid-column: auto; } }
@media (max-width: 700px) { .cx-t, .cx-p { padding: 22px; } .cx-req { padding: 24px 22px; } .cx-req dl { grid-template-columns: minmax(0, 1fr); } }

/* ==========================================================================
   Блок студии MinKey в подвале сайта (minkey-footer.css)
   Цель — новые клиенты: выгода в заголовке, «этот сайт сделали мы» как довод, теги услуг,
   логотип-ключ, буквы-обезьянки (minkey ≈ monkey) и кнопка, которая бьётся, как сердце.
   Цвета берутся из переменных сайта (--ink, --line, --red …), если они есть; иначе — свои значения ниже.
   ========================================================================== */
.mk {
  --mk-ink: var(--ink, #1b1d20);
  --mk-ink-2: var(--ink-2, #565b63);
  --mk-line: var(--line, #e2e5e9);
  --mk-bg: var(--bg-2, #f4f5f7);
  --mk-tint: var(--red-soft, #fbeee8);          /* оттенок фона слева */
  --mk-accent: var(--red, #AC3606);             /* галочки в тегах, рамка при наведении */
  --mk-live: var(--green, #259D33);             /* огонёк «берёт новые проекты» */
  --mk-radius: var(--radius, 16px);
  --mk-font: var(--head, 'Onest', system-ui, sans-serif);
  --mk-heart: #d90429;                          /* кнопка — красная, как сердце */
  --mk-heart-hi: #ff1f3d;
  --mk-beat-1: 1.12; --mk-beat-2: 1.07; --mk-beat-3: 1.01;   /* сила удара сердца */
  --mk-min: #12305e;                            /* фирменные цвета MinKey: «Min» */
  --mk-key: #12a594;                            /* «Key» */

  box-sizing: border-box; flex: 1 1 100%;       /* во flex-подвале встаёт отдельной строкой во всю ширину */
  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(--mk-line); border-radius: var(--mk-radius);
  background: linear-gradient(120deg, var(--mk-tint), var(--mk-bg) 70%);
  color: var(--mk-ink-2); text-decoration: none; font-size: 15px; line-height: 1.5;
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.mk:hover { border-color: var(--mk-accent); box-shadow: 0 14px 34px rgba(20,24,30,.08); transform: translateY(-2px); }
.mk:focus-visible { outline: 3px solid var(--mk-accent); outline-offset: 3px; }

/* Левая часть: огонёк, заголовок, довод, теги */
.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(--mk-ink); }
.mk-live i { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--mk-live); }
.mk-live i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--mk-live); 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(--mk-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(--mk-line); font-size: 13.5px; color: var(--mk-ink); }
.mk-tags span::before { content: "✓ "; color: var(--mk-accent); font-weight: 700; }

/* Правая часть: логотип-ключ + слово MinKey.ru, под ними кнопка */
.mk-r { display: grid; justify-items: center; gap: 14px; }
.mk-word { display: flex; align-items: center; gap: 10px; padding: 0 6px; font: 800 46px/1 var(--mk-font); letter-spacing: -.01em; color: var(--mk-min); user-select: none; }
.mk-letters { display: flex; align-items: flex-start; padding: 0 4px; }
.mk-letters > span.k { color: var(--mk-key); font: inherit; text-transform: none; letter-spacing: inherit; }   /* у сайта может быть свой .k */
.mk-letters small { align-self: flex-end; margin-left: 2px; font-size: 18px; font-weight: 700; color: var(--mk-ink-2); }

/* Ключ кувыркается по очереди: вправо (по часовой), через 7 с — влево (против часовой); при наведении — каждые 2,2 с.
   В каждом кадре одинаковый набор translate/rotate/scale — иначе браузер срезает оборот. */
.mk-key { width: 50px; height: 50px; flex: none; 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); }
}

/* Буквы-обезьянки: внешний span пританцовывает (у каждой буквы свой период, поэтому не в такт),
   внутренний b делает трюки — класс t-* ставит minkey-footer.js. Два transform не мешают друг другу. */
.mk-letters > span { display: inline-block; transform-origin: 50% 100%; animation: mk-swing 2.4s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -.35s); }
.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 { display: inline-block; font: inherit; }
@keyframes mk-swing { from { transform: rotate(-6deg); } to { transform: rotate(6deg); } }
.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); } }

/* Кнопка — красное бьющееся сердце: сильный «тук», спад, слабее «тук», длинная пауза; 0,9 с (~67 уд/мин).
   Бьётся всегда — и при наведении (вся карточка — ссылка), и при «меньше движения»: это спокойный ритм, не вспышки.
   !important — чтобы общие правила сайта вида «* { animation: none !important }» её не глушили. */
.mk-go { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 10px 28px; border-radius: 999px; background: var(--mk-heart); color: #fff; font-weight: 700; font-size: 16px; white-space: nowrap; box-shadow: 0 10px 24px rgba(217,4,41,.3); }
.mk .mk-go { animation: mk-heart .9s infinite !important; }
.mk-go > span { transition: transform .25s; }
.mk:hover .mk-go > span { transform: translateX(4px); }
.mk-heart { width: 20px; height: 20px; fill: #fff; flex: none; animation: mk-heart-icon .9s infinite; }
@keyframes mk-heart {
  0% { transform: scale(1); background-color: var(--mk-heart); 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: var(--mk-heart-hi); 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: var(--mk-heart-hi); 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: var(--mk-heart); 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); } }

/* Телефон: всё в одну колонку, кнопка во всю ширину */
@media (max-width: 760px) {
  .mk { grid-template-columns: 1fr; padding: 20px 16px; }
  .mk-r { justify-items: stretch; }
  .mk-word { justify-self: center; font-size: 40px; }
  .mk-key { width: 44px; height: 44px; }
  .mk-go { justify-content: center; }
  .mk { --mk-beat-1: 1.04; --mk-beat-2: 1.025; --mk-beat-3: 1.005; }   /* кнопка во всю ширину — бьётся мягче, не вылезает за карточку */
}

/* «Меньше движения» в системе: буквы и ключ стоят, оживают при наведении (это действие самого человека); сердце бьётся */
@media (prefers-reduced-motion: reduce) {
  .mk, .mk-go > span { transition: none; }
  .mk:hover { transform: none; }
  .mk-live i::after, .mk-letters > span, .mk-key { animation: none; }
  .mk:hover .mk-key { animation: mk-key-tumble 4.4s ease-in-out infinite; }
}

/* Буквы-обезьянки и ключ двигаются всегда, как и кнопка-сердце (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; }
