/* Perfect Look Service & Wash · демо. Характер C «Имя»: их вывеска и логотип в каждом кадре; холодный графит, красный — только сигналом.
   Mobile first: база 390 px, расширение через min-width. Кит (kit.css) даёт механику, оформление — здесь. */
:root {
  --bg: #0b0d0f; --bg2: #13161a; --fg: #eef0f2; --mute: #9aa3ab; --graph: #2a3036; --frame: #6a2230;
  --acc: #e3141a; --acc-btn: #c81017; --line: rgb(238 240 242 / .16);
  --f: "Geologica", "Arial", system-ui, sans-serif;
  --t: "Wix Madefor Text", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gut: max(16px, 4vw);
  --kit-fg: var(--fg); --kit-bg: var(--bg); --kit-accent: var(--fg); --kit-line: var(--line); --kit-radius: 0px;
}
* { box-sizing: border-box; }
html { overflow-x: clip; scroll-padding-top: 64px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; overflow-x: clip; background: var(--bg); color: var(--fg); font: 400 16px/1.5 var(--t); text-rendering: optimizeLegibility; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wrap { width: 100%; max-width: 1320px; margin-inline: auto; padding-inline: var(--gut); }
.h2 { margin: 0; font-family: var(--f); font-weight: 700; font-size: clamp(28px, 7.4vw, 56px); line-height: 1.05; letter-spacing: -.01em; text-wrap: balance; }
.it { font-family: var(--f); font-weight: 900; font-variation-settings: "slnt" -12; }
section { scroll-margin-top: 56px; }

/* кнопки */
.btn { display: inline-grid; place-items: center; min-height: 48px; padding: 0 22px; font: 700 16px/1 var(--t); text-decoration: none; border: 1px solid transparent; border-radius: 0; text-align: center; }
.btn--lg { min-height: 52px; }
.btn--acc { background: var(--acc-btn); color: #fff; }
.btn--acc:hover { background: var(--acc); }
.btn--line { border-color: rgb(238 240 242 / .45); color: var(--fg); background: none; }
.btn--line:hover { border-color: var(--fg); }
.more { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; margin-top: 16px; font-weight: 700; text-decoration: none; border-bottom: 1px solid currentColor; }
.more svg { width: 18px; height: 18px; }

/* шапка */
.top { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 10px; height: 56px; padding-inline: var(--gut); background: var(--bg); border-bottom: 1px solid var(--line); }
.top__logo { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.top__logo img { height: 36px; width: auto; }
.top__demo { padding: 4px 8px; font: 500 12px/1.4 var(--t); color: var(--mute); border: 1px solid var(--line); }
.top__nav, .top__tel, .top__book { display: none; }
.top__menu { display: grid; place-items: center; width: 44px; height: 44px; margin-left: auto; padding: 0; background: none; border: 0; }
.top__menu svg { width: 24px; height: 24px; }
.top__panel { position: absolute; top: 56px; left: 0; right: 0; display: grid; padding: 4px var(--gut) 12px; background: var(--bg2); border-bottom: 1px solid var(--line); }
.top__panel[hidden] { display: none; }
.top__panel a, .nav-fn--row { display: flex; align-items: center; gap: 12px; min-height: 48px; text-decoration: none; font-weight: 500; border-top: 1px solid var(--line); }
.nav-fn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0; background: none; border: 0; font-weight: 500; }
.nav-fn svg { width: 20px; height: 20px; flex: none; }
.nav-fn--row { width: 100%; }
@media (min-width: 900px) {
  .top { gap: 18px; height: 64px; }
  .top__logo img { height: 42px; }
  .top__tel { display: block; margin-left: auto; font: 500 15px/1.45 var(--t); text-decoration: none; white-space: nowrap; }
  .top__book { display: inline-grid; min-height: 42px; padding-inline: 20px; }
  .top__menu { margin-left: 0; }
  .top__panel { top: 64px; }
}
@media (min-width: 1200px) {
  .top__nav { display: flex; align-items: center; gap: 18px; margin-left: 24px; font-size: 15px; white-space: nowrap; }
  .top__nav a { display: none; text-decoration: none; color: var(--mute); }
  .top__nav .nav-fn { color: var(--fg); }
  .top__panel .nav-fn--row { display: none; }
}
@media (min-width: 1500px) {
  .top__nav a { display: inline; }
  .top__nav a:hover { color: var(--fg); }
  .top__menu, .top__panel { display: none; }
}

/* первый экран */
.hero { position: relative; display: grid; align-items: end; min-height: min(calc(100svh - 56px), 716px); overflow: clip; }
.hero__media { position: absolute; inset: 0; background: var(--bg2); }
.hero__media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgb(11 13 15 / .35) 0, rgb(11 13 15 / 0) 22%, rgb(11 13 15 / .55) 58%, rgb(11 13 15 / .96) 100%); }
.hero__video { width: 100%; height: 100%; object-fit: cover; }
.hero__pause { position: absolute; z-index: 2; top: 12px; right: 12px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; background: rgb(11 13 15 / .7); border: 1px solid var(--line); }
.hero__pause svg { width: 20px; height: 20px; }
.hero__pause .i-play, .hero__pause[aria-pressed="true"] .i-pause { display: none; }
.hero__pause[aria-pressed="true"] .i-play { display: block; }
.hero__text { position: relative; z-index: 1; padding: 0 var(--gut) 24px; }
.hero h1 { margin: 0; font: 700 clamp(32px, 9vw, 44px)/1.04 var(--f); letter-spacing: -.01em; text-wrap: balance; }
.hero__sub { margin: 12px 0 0; max-width: 36ch; color: #d4d8dc; }
.hero__cta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
@media (min-width: 1024px) {
  .hero { grid-template-columns: 1fr 1fr; align-items: stretch; height: min(calc(100svh - 64px), 860px); min-height: 0; }
  .hero__media { position: relative; grid-column: 2; grid-row: 1; overflow: clip; }
  .hero__video { position: absolute; inset: 0; object-position: 50% 50%; }
  .hero__media::after { display: none; }
  .hero__pause { top: auto; bottom: 20px; right: 20px; }
  .hero__text { grid-column: 1; grid-row: 1; align-self: center; padding: 24px 56px 24px max(32px, calc((100vw - 1320px) / 2 + 32px)); }
  .hero h1 { font-size: clamp(44px, 4.6vw, 68px); line-height: 1; }
  .hero__sub { font-size: 20px; max-width: 34ch; margin-top: 20px; }
  .hero__cta { grid-template-columns: auto auto; justify-content: start; gap: 12px; margin-top: 28px; }
  .hero__cta .btn { min-width: 168px; }
}

/* «Было выполнено» — фирменная секция: строки подписи переключают петлю детали одной машины */
.dn { padding: 28px 0 24px; border-top: 1px solid var(--line); }
.dn__in { display: grid; gap: 10px; }
.dn__k { margin: 0 0 2px; font-size: 15px; line-height: 1.3; color: var(--mute); }
.dn__frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg2); border: 1px solid var(--frame); }
.dn__pane { position: absolute; inset: 0; }
.dn__pane[hidden] { display: none; }
.dn__pane video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.dn__cap { position: absolute; inset: auto 0 0; margin: 0; padding: 48px 14px 12px; font: 500 15px/1.35 var(--t); background: linear-gradient(180deg, rgb(11 13 15 / 0), rgb(11 13 15 / .88) 70%); pointer-events: none; }
.dn__rows { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.dn__row { position: relative; display: block; min-height: 52px; padding: 8px 12px 8px 16px; text-align: left; background: none; border: 1px solid var(--line); color: var(--mute); }
.dn__row::before { content: ""; position: absolute; left: -1px; top: -1px; bottom: -1px; width: 3px; background: var(--acc); transform: scaleY(0); transform-origin: 50% 0; transition: transform .18s ease-out; }
.dn__row[aria-pressed="true"] { color: var(--fg); border-color: rgb(238 240 242 / .4); }
.dn__row[aria-pressed="true"]::before { transform: scaleY(1); }
.dn__n { display: block; font: 900 17px/1.3 var(--f); font-variation-settings: "slnt" -12; }
.dn__d { display: none; }
@media (prefers-reduced-motion: reduce) { .dn__row::before { transition: none; } }
@media (min-width: 900px) {
  .dn { padding: 88px 0 96px; }
  .dn__in { grid-template-columns: minmax(0, 1fr) minmax(0, 440px); column-gap: clamp(40px, 6vw, 96px); align-items: start; }
  .dn__head { grid-column: 1; grid-row: 1; align-self: end; padding-bottom: 20px; }
  .dn__k { font-size: 20px; }
  .dn__frame { grid-column: 2; grid-row: 1 / span 2; aspect-ratio: 9 / 16; }
  .dn__rows { grid-column: 1; grid-row: 2; display: grid; grid-template-columns: 1fr; gap: 0; align-content: start; }
  .dn__row { display: grid; grid-template-columns: minmax(160px, 36%) 1fr; gap: 20px; align-items: baseline; min-height: 88px; padding: 22px 8px 22px 22px; border: 0; border-top: 1px solid var(--line); }
  .dn__row:last-child { border-bottom: 1px solid var(--line); }
  .dn__row::before { left: 0; top: 0; bottom: 0; width: 4px; }
  .dn__row[aria-pressed="true"] { border-color: var(--line); }
  .dn__n { font-size: clamp(24px, 2.4vw, 34px); }
  .dn__d { display: block; font-size: 17px; line-height: 1.4; }
  .dn__cap { display: none; }
}

/* до и после: шторки с роликом в обоих слоях */
.ba { padding: 28px 0 20px; border-top: 1px solid var(--line); }
.ba__grid { display: grid; gap: 8px; margin-top: 12px; }
.ba__item { display: none; }
.ba__item.is-cur { display: block; }
.ba__frame { --kit-ratio: 4 / 5; --kit-bg: var(--bg); background: var(--bg2); }
.kit-ba__tag { font: 500 13px/1.3 var(--t); }
.bapairs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.bap { display: grid; gap: 4px; padding: 0; background: none; border: 0; color: var(--mute); text-align: center; font: 500 13px/1.3 var(--t); }
.bap img { width: 100%; aspect-ratio: 1; object-fit: cover; border: 2px solid transparent; }
.bap span { min-height: 18px; }
.bap[aria-pressed="true"] { color: var(--fg); }
.bap[aria-pressed="true"] img { border-color: var(--fg); }
@media (min-width: 900px) {
  .ba { padding: 88px 0 96px; }
  .ba__grid { grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
  .ba__item { display: block; }
  .bapairs { display: none; }
}

/* работы: мозаика разных размеров без пустот */
.works { padding: 28px 0 20px; border-top: 1px solid var(--line); }
.mzw { container-type: inline-size; margin-top: 18px; }
.mz { --n: 2; --gap: 2px; --rr: 1.25; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); grid-auto-rows: calc((100cqw - (var(--n) - 1) * var(--gap)) / var(--n) * var(--rr)); grid-auto-flow: dense; gap: var(--gap); }
.mz__t { position: relative; padding: 0; margin: 0; overflow: hidden; background: var(--bg2); border: 0; cursor: zoom-in; }
.mz__t--w { grid-column: span 2; }
.mz__t--b { grid-column: span 2; grid-row: span 2; }
.mz__t--h { grid-row: span 2; }
.mz__t img, .mz__t video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: contrast(1.05) saturate(.96); transition: transform .7s cubic-bezier(.2, .7, .1, 1); }
.mz__t:hover img, .mz__t:hover video { transform: scale(1.035); }
.mz__t:focus-visible { outline-offset: -3px; }
.mz__t--zoom { --z: 1.3; }
.mz__t--zoom video { filter: contrast(1.05) saturate(.96) brightness(1.22); }
.mz__t--zoom video { transform: scale(var(--z)); transform-origin: 50% 57%; }
.mz__t--zoom:hover video { transform: scale(calc(var(--z) * 1.035)); }
@media (min-width: 900px) {
  .works { padding: 88px 0 96px; }
  .mz { --n: 4; --rr: 1; --gap: 4px; margin-top: 8px; }
  .mz__t.md-b { grid-column: span 2; grid-row: span 2; --z: 1.25; }
  .mz__t.md-h { grid-column: span 1; grid-row: span 2; }
  .mz__t.md-1 { grid-column: span 1; grid-row: span 1; }
  .mzw { margin-top: 40px; }
}
@media (prefers-reduced-motion: reduce) { .mz__t img, .mz__t video { transition: none; } .mz__t:hover img, .mz__t:hover video { transform: none; } }

/* услуги */
.svc { padding: 28px 0 20px; border-top: 1px solid var(--line); }
.sv__list { margin-top: 14px; }
.sv__h { margin: 0; border-top: 1px solid var(--line); }
.sv__btn { display: grid; grid-template-columns: 1fr 28px; align-items: center; column-gap: 12px; width: 100%; min-height: 54px; padding: 8px 0; text-align: left; background: none; border: 0; }
.sv__name { font: 700 clamp(19px, 5vw, 30px)/1.3 var(--f); }
.sv__btn svg { width: 26px; height: 26px; transition: rotate .2s ease; }
.sv__btn[aria-expanded="true"] svg { rotate: 180deg; }
.sv__in { display: grid; gap: 16px; }
.sv__in::after { content: ""; order: 9; height: 8px; }
.sv__media { margin: 0; width: 100%; height: 280px; overflow: hidden; background: var(--bg2); }
.sv__media video { width: 100%; height: 100%; object-fit: cover; }
.spec { margin: 0; }
.spec > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 4px 16px; padding: 10px 0; border-top: 1px solid var(--line); }
.spec > div:first-child { border-top: 0; }
.spec dt { max-width: 56ch; font-size: 15px; }
.spec dt.it { font-size: 18px; }
.spec dd { margin: 0; font: 500 15px/1.5 var(--t); text-align: right; white-space: nowrap; }
.spec__ask { color: var(--mute); }
.spec__legend { margin: 0 0 4px; font-size: 13px; color: var(--mute); text-align: right; }
.spec__h { margin: 14px 0 2px; font: 700 14px/1.3 var(--t); color: var(--mute); }
.spec__go { display: flex; align-items: center; justify-content: space-between; min-height: 48px; font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--line); }
.spec__go svg { width: 18px; height: 18px; }
@media (min-width: 900px) {
  .svc { padding: 88px 0 96px; }
  .sv__btn { min-height: 84px; }
  .sv__in { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; gap: 48px; }
  .sv__in--media .sv__media { order: 2; grid-column: 2; height: 440px; }
  .sv__in--media .sv__body { order: 1; grid-column: 1; }
  .sv__in:not(.sv__in--media) { grid-template-columns: minmax(0, 760px); }
  .spec dt { font-size: 17px; }
  .spec dd { font-size: 17px; }
  .spec dt.it { font-size: 22px; }
}

/* отзывы */
.rev { padding: 32px 0 24px; background: var(--bg2); border-top: 1px solid var(--line); }
.rev__head small { display: block; margin-top: 8px; font: 500 14px/1.45 var(--t); letter-spacing: 0; color: var(--mute); }
.rev__list { display: flex; gap: 12px; margin: 16px 0 0; padding: 0; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.rev__list::-webkit-scrollbar { display: none; }
.rev__list li { flex: 0 0 84%; padding: 18px; border: 1px solid var(--line); scroll-snap-align: start; }
.rev__list p { margin: 0; font: 500 clamp(16px, 4.4vw, 21px)/1.4 var(--t); max-width: 38ch; text-wrap: pretty; }
.rev__by { display: block; margin-top: 10px; font: 400 13px/1.4 var(--t); color: var(--mute); }
@media (min-width: 900px) {
  .rev { padding: 88px 0 96px; }
  .rev__list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; margin: 28px 0 0; overflow: visible; }
  .rev__list li { padding: 22px 0; border: 0; border-top: 1px solid var(--line); }
  .rev__list li:first-child { grid-column: 1 / -1; }
  .rev__list li:first-child p { font-size: 32px; max-width: 34ch; }
}

/* шиномонтаж по радиусу: цена из ячейки таблицы их сторис */
.ty { padding: 28px 0 22px; border-top: 1px solid var(--line); }
.ty__box { display: grid; gap: 8px; margin-top: 14px; }
.ty__seg, .ty__radii, .ty__svc { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
.ty__seg::-webkit-scrollbar, .ty__radii::-webkit-scrollbar, .ty__svc::-webkit-scrollbar { display: none; }
.ty__seg button, .ty__radii button, .ty__svc button, .ty__count button { flex: 0 0 auto; scroll-snap-align: start; min-height: 44px; padding: 0 14px; font: 500 15px/1.3 var(--t); position: relative; white-space: nowrap; background: none; border: 1px solid var(--line); color: var(--mute); }
.ty__radii button { min-width: 64px; padding: 6px 10px; display: grid; gap: 2px; place-items: center; }
.ty__radii small { display: none; font: 500 13px/1.3 var(--t); }
.ty button[aria-pressed="true"] { color: var(--fg); border-color: var(--acc); }
.ty button[aria-pressed="true"]::after { content: ""; position: absolute; inset: auto 0 0; height: 3px; background: var(--acc); }
.ty button[aria-disabled="true"] { opacity: .35; pointer-events: none; }
.ty__count { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.ty__out { padding: 8px 0 0; }
.ty__price { margin: 0; display: flex; align-items: baseline; gap: 8px; }
.ty__num { font-size: clamp(52px, 15vw, 84px); line-height: 1; }
.ty__cur { font: 700 24px/1.3 var(--f); color: var(--mute); }
.ty__what { margin: 6px 0 0; font: 500 16px/1.4 var(--t); }
.ty__def { margin: 2px 0 0; min-height: 1.4em; font-size: 14px; color: var(--mute); }
.ty__foot { margin: 8px 0 0; font-size: 13px; line-height: 1.45; color: var(--mute); }
@media (min-width: 900px) {
  .ty { padding: 88px 0 96px; }
  .ty__box { margin-top: 36px; gap: 14px; }
  .ty__seg, .ty__radii, .ty__svc { overflow: visible; flex-wrap: wrap; }
  .ty__seg button, .ty__svc button, .ty__count button { min-height: 52px; padding: 0 22px; font-size: 17px; }
  .ty__radii { flex-wrap: nowrap; gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .ty__radii button { flex: 1 1 0; min-width: 0; min-height: 84px; padding: 12px 4px; border: 0; border-right: 1px solid var(--line); gap: 6px; font-size: 17px; }
  .ty__radii button:last-child { border-right: 0; }
  .ty__radii small { display: block; color: var(--mute); }
  .ty__radii button[aria-pressed="true"] small { color: var(--fg); }
  .ty__count { grid-template-columns: repeat(2, 200px); }
  .ty__out { padding-top: 20px; }
  .ty__what { font-size: 20px; }
  .ty__def { font-size: 16px; }
  .ty__foot { margin-top: 20px; font-size: 14px; max-width: 80ch; }
}

/* контакты */
.contacts { padding: 28px 0 20px; border-top: 1px solid var(--line); }
.contacts__in { display: grid; gap: 12px; }
.contacts__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.contacts__logo { width: 112px; height: auto; }
.contacts__list { display: grid; margin: 6px 0 0; }
.contacts__list > div { display: grid; grid-template-columns: 78px minmax(0, 1fr); align-items: baseline; gap: 2px 12px; padding: 6px 0; border-top: 1px solid var(--line); }
.contacts__list dt { font: 400 13px/1.45 var(--t); color: var(--mute); }
.contacts__list dd { margin: 0; font-size: 15px; }
.contacts__list a { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: 3px; }
.contacts__cta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.contacts__route { grid-column: 1 / -1; min-height: 44px; }
.contacts__map { min-height: 0; width: 100%; height: 200px; aspect-ratio: auto; }
@media (min-width: 900px) {
  .contacts { padding: 88px 0 96px; }
  .contacts__in { grid-template-columns: 1fr 1fr; column-gap: 64px; align-items: stretch; }
  .contacts__logo { width: 180px; }
  .contacts__list { margin-top: 28px; }
  .contacts__list > div { grid-template-columns: 120px 1fr; padding: 12px 0; }
  .contacts__list dd { font-size: 18px; }
  .contacts__cta { grid-template-columns: auto auto auto; justify-content: start; margin-top: 24px; gap: 12px; }
  .contacts__cta .btn { min-width: 150px; }
  .contacts__route { grid-column: auto; min-height: 52px; }
  .contacts__map { height: auto; min-height: 480px; aspect-ratio: auto; }
}

/* подвал: слово-маска слева, описание справа (kit-foot-split) */
.foot { padding-bottom: calc(88px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.foot .kit-foot-split__wm { padding-top: 32px; }
.wm { margin: 0; padding: .06em .08em .1em 0; font-family: var(--f); font-weight: 900; font-size: 22vw; line-height: .92; letter-spacing: -.01em; }
.wm .kit-wordmask__l { padding-inline: .005em; }
.foot__in { display: grid; gap: 4px; padding-top: 8px; font-size: 14px; color: var(--mute); }
.foot__in p { margin: 0; max-width: 70ch; }
.foot__in b { color: var(--fg); }
.foot__in a { display: inline-flex; align-items: center; min-height: 44px; }
@media (min-width: 900px) {
  .foot { padding-bottom: 32px; }
  .kit-foot-split__wm .wm { font-size: calc(100cqw / 3.1); }
  .foot .kit-foot-split__wm { padding-top: 0; }
  .foot > .kit-foot-split { padding-block: 56px 16px; }
  .foot__in { font-size: 15px; }
}

/* липкая панель */
.bar { background: var(--bg); }
.bar a { font: 700 16px var(--t); }
.bar__call { border: 1px solid rgb(238 240 242 / .45); }
.bar__book { background: var(--acc-btn); color: #fff; }

/* листы-макеты */
.sheet { margin: auto; width: min(520px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 0; color: var(--fg); background: var(--bg2); border: 1px solid var(--line); overflow: auto; }
.sheet::backdrop { background: rgb(0 0 0 / .66); }
.sheet__box { position: relative; padding: 28px 20px 24px; }
.sheet__x { position: absolute; top: 4px; right: 4px; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; background: none; border: 0; }
.sheet__x svg { width: 24px; height: 24px; }
.sheet__h { margin: 0 44px 16px 0; font: 700 26px/1.1 var(--f); }
.fm { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.fm__row { display: grid; gap: 4px; min-width: 0; }
.fm__row--full { grid-column: 1 / -1; }
.fm__lab { font: 500 13px/1.45 var(--t); color: var(--mute); }
.fm input:not([type="hidden"]), .fm select { width: 100%; min-height: 48px; padding: 0 12px; color: var(--fg); background: rgb(11 13 15 / .55); border: 1px solid rgb(238 240 242 / .3); border-radius: 0; color-scheme: dark; }
.fm__go, .fm > .kit-mock__out, .fm > template { grid-column: 1 / -1; }
.fm__go { width: 100%; margin-top: 4px; }
.ans { display: grid; gap: 10px; justify-items: start; padding: 16px; background: var(--bg); border: 1px solid var(--line); }
.ans__stat { margin: 0; font: 700 20px/1.25 var(--f); }
.ans__txt { margin: 0; color: var(--mute); }
.cert { display: grid; gap: 4px; padding: 20px; background: var(--bg); color: var(--fg); border: 1px solid var(--frame); }
.cert__logo { width: 150px; height: auto; margin-bottom: 8px; }
.cert__kind { margin: 0; font: 500 13px/1.45 var(--t); color: var(--mute); }
.cert__nom { margin: 6px 0; font-size: 40px; line-height: 1.3; }
.cert__to, .cert__from { margin: 0; font: 700 18px/1.3 var(--t); }
.cert__where { display: grid; gap: 2px; margin: 12px 0 0; font: 400 13px/1.45 var(--t); color: var(--mute); }
.sheet .kit-mock__out > a.btn { margin-top: 12px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* заголовок фирменной секции — модель в одну строку на телефоне */
.dn .h2 { font-size: clamp(22px, 6vw, 56px); }
