/* CleanMachine (Клин Машин) · демо. Характер C «Имя»: графит и бирюзовый знака плоскостями, брусковая антиква Bitter как на вывеске.
   Метафора — прайс-стойка у ворот: выбираешь свой кузов, цены страницы становятся твоей колонкой.
   Mobile first: база 390 px, расширение через min-width. Кит (kit.css) даёт механику, оформление — здесь. */
:root {
  --bg: #101418; --bg2: #1a2027; --fg: #eef0ee; --mute: #8d969c;
  --teal: #0fa298; --teal-hi: #3cc9bd; --ink: #061b19;
  --line: rgb(238 240 238 / .16);
  --serif: "Bitter", "Roboto Slab", Georgia, serif;
  --f: "Source Sans 3", "Source Sans Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gut: max(16px, 4vw);
  --kit-fg: var(--fg); --kit-bg: var(--bg); --kit-accent: var(--teal-hi); --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 17px/1.5 var(--f); 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(--teal-hi); 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: 800 clamp(32px, 8.4vw, 60px)/1.04 var(--serif); letter-spacing: -.015em; text-wrap: balance; }
.h3 { margin: 0; font: 700 clamp(22px, 5.6vw, 30px)/1.25 var(--serif); }
.lead { margin: 14px 0 0; max-width: 58ch; color: #c3cacd; text-wrap: pretty; }
section { scroll-margin-top: 56px; }

/* кнопки */
.btn { display: inline-grid; place-items: center; min-height: 48px; padding: 0 22px; font: 700 16px/1 var(--f); text-decoration: none; border: 1px solid transparent; text-align: center; }
.btn--lg { min-height: 52px; }
.btn--teal { background: var(--teal); color: var(--ink); }
.btn--teal:hover { background: var(--teal-hi); }
.btn--line { border-color: rgb(238 240 238 / .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: 20px; font-weight: 700; text-decoration: none; border-bottom: 1px solid currentColor; }
.more svg { width: 18px; height: 18px; }
.lnk { display: inline; padding: 0; background: none; border: 0; color: var(--teal-hi); text-decoration: underline; text-underline-offset: 3px; text-align: left; }

/* шапка */
.top { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 8px; height: 60px; padding-inline: var(--gut); background: var(--bg); border-bottom: 1px solid var(--line); }
.top__logo { display: inline-flex; align-items: center; gap: 9px; min-height: 48px; text-decoration: none; white-space: nowrap; }
.mark { width: 30px; height: 30px; flex: none; }
.top__who { display: grid; gap: 1px; }
.top__name { font: 800 20px/1 var(--serif); letter-spacing: -.01em; }
.top__name i { font-style: normal; color: var(--teal-hi); }
.top__cert { font: 400 11px/1.3 var(--f); color: var(--mute); }
.top__cert .x { display: none; }
.top__demo { margin-left: auto; padding: 3px 8px; font: 600 12px/1.4 var(--f); color: var(--mute); border: 1px solid var(--line); }
.top__nav, .top__tel, .top__book { display: none; }
.top__call, .top__menu { display: grid; place-items: center; flex: none; width: 44px; height: 44px; padding: 0; background: none; border: 0; }
.top__call svg, .top__menu svg { width: 24px; height: 24px; }
.top__panel { position: absolute; top: 60px; 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: 600; 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: 600; }
.nav-fn svg { width: 20px; height: 20px; flex: none; color: var(--teal-hi); }
.nav-fn--row { width: 100%; }
@media (min-width: 900px) {
  .top { gap: 18px; }
  .top__cert .x { display: inline; }
  .top__demo { margin-left: 0; }
  .top__tel { display: block; margin-left: auto; font: 700 17px/1.45 var(--serif); text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums; }
  .top__book { display: inline-grid; min-height: 42px; padding-inline: 20px; }
  .top__call { display: none; }
}
@media (min-width: 1360px) {
  .top__cert .x2 { display: none; }
  .top__nav { display: flex; align-items: center; gap: 16px; margin-left: 12px; font-size: 15px; white-space: nowrap; }
  .top__nav a { text-decoration: none; color: #c3cacd; }
  .top__nav a:hover, .nav-fn:hover { color: var(--fg); }
  .top__menu, .top__panel { display: none; }
}

/* первый экран */
.hero { position: relative; display: grid; align-items: end; min-height: min(calc(100svh - 60px), 820px); 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(16 20 24 / .35) 0, rgb(16 20 24 / 0) 22%, rgb(16 20 24 / .55) 54%, rgb(16 20 24 / .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(16 20 24 / .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: 800 clamp(34px, 9.6vw, 44px)/1.02 var(--serif); letter-spacing: -.02em; text-wrap: balance; }
.nw { white-space: nowrap; }
.hero__sub { margin: 12px 0 0; max-width: 34ch; color: #dde2e3; }
.hero__rating { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; font: 600 15px/1.4 var(--f); }
.hero__rating svg { width: 17px; height: 17px; color: var(--teal-hi); flex: none; }
.hero__cta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.hero__tel { padding-inline: 6px; font: 700 15px/1.3 var(--serif); white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (min-width: 1024px) {
  .hero { grid-template-columns: 1fr 1fr; align-items: stretch; min-height: min(88vh, 860px); }
  .hero__media { position: relative; grid-column: 2; grid-row: 1; min-height: 100%; }
  .hero__video { position: absolute; inset: 0; }
  .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: 56px 56px 56px max(32px, calc((100vw - 1320px) / 2 + 32px)); }
  .hero h1 { font-size: clamp(52px, 5.4vw, 80px); line-height: 1; }
  .hero__sub { font-size: 21px; max-width: 34ch; margin-top: 22px; }
  .hero__rating { margin-top: 26px; font-size: 16px; }
  .hero__cta { grid-template-columns: auto auto; justify-content: start; gap: 12px; margin-top: 18px; }
}

/* под ваш кузов */
.kuz { padding: 56px 0 64px; border-top: 1px solid var(--line); }
.kuz__grid { display: grid; gap: 16px; margin-top: 8px; }
.kuz__sw { margin-top: 20px; }
.bodysw { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.bodybtn { display: grid; justify-items: center; align-content: center; gap: 4px; min-height: 108px; padding: 12px 4px 10px; background: none; border: 1px solid var(--line); color: var(--mute); transition: background-color .2s ease, color .2s ease; }
.bodybtn svg { width: 100%; max-width: 124px; height: auto; overflow: visible; }
.bodybtn .sil { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bodybtn__t { font: 700 16px/1.3 var(--f); }
.bodybtn:hover { color: var(--fg); border-color: rgb(238 240 238 / .4); }
.bodybtn[aria-pressed="true"] { background: var(--teal); border-color: var(--teal); color: var(--ink); }
.bodybtn[aria-pressed="true"] .body-path { stroke-dasharray: 1; animation: sil-draw .26s ease-out both; }
@keyframes sil-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.bodynote { margin: 12px 0 0; max-width: 56ch; font-size: 15px; color: #c3cacd; }
.bodynote.is-on { color: var(--fg); }
.bp { position: relative; margin: 0; }
.bp__box { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg2); }
.bp__box img { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; }
.bp__box img.is-on { z-index: 1; animation: bp-in .2s ease both; }
@keyframes bp-in { from { opacity: 0; } to { opacity: 1; } }
.bp__cap { margin-top: 8px; font: 400 14px/1.4 var(--f); color: var(--mute); }
.bp__cap b { color: var(--fg); font-weight: 600; }
.pl { margin: 8px 0 0; padding: 0; list-style: none; }
.pl__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--line); }
.pl__n { font: 600 17px/1.3 var(--f); }
.pl__t { grid-column: 1; margin-top: 2px; font-size: 14px; color: var(--mute); }
.pl__p { grid-column: 2; grid-row: 1 / span 2; align-self: center; text-align: right; font: 700 26px/1 var(--serif); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pl__p small, .r__p small { font: 600 12px/1 var(--f); color: var(--mute); }
.pl__row--fix .pl__p { color: #c3cacd; }
.pl__fix { margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font: 600 13px/1.4 var(--f); color: var(--teal-hi); }
.pl__fn { margin: 14px 0 0; font-size: 14px; color: var(--mute); max-width: 62ch; }
.pr { display: inline-block; }
.pr.is-out { animation: pr-out .1s ease-in both; }
.pr.is-in { animation: pr-in .1s ease-out both; }
@keyframes pr-out { to { transform: translateY(-45%); opacity: 0; } }
@keyframes pr-in { from { transform: translateY(45%); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .bp__box img.is-on { animation: none; } .bodybtn { transition: none; }
  .bodybtn[aria-pressed="true"] .body-path { animation: none; stroke-dasharray: none; } .pr.is-out, .pr.is-in { animation: none; }
}
@media (min-width: 1024px) {
  .kuz { padding: 96px 0 104px; }
  .kuz__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-areas: "head photo" "sw photo" "note photo" "list photo"; column-gap: 72px; row-gap: 0; align-items: start; }
  .kuz__head { grid-area: head; }
  .kuz__sw { grid-area: sw; margin-top: 28px; }
  .bodynote { grid-area: note; }
  .pl { grid-area: list; margin-top: 20px; }
  .bp { grid-area: photo; position: sticky; top: 84px; }
  .pl__n { font-size: 19px; }
  .pl__p { font-size: 32px; }
}

/* до и после */
.ba { padding: 56px 0 64px; background: var(--bg2); border-top: 1px solid var(--line); }
.ba__grid { display: grid; gap: 18px; margin-top: 24px; }
.ba__cap { margin: 0; max-width: 40ch; font: 600 19px/1.35 var(--f); }
.ba__hint { margin: 8px 0 0; font-size: 14px; color: var(--mute); }
.kit-ba { --kit-ratio: 1048 / 480; }
.kit-ba__handle { width: 3px; translate: -1.5px 0; background: var(--teal); }
.kit-ba__handle::after { background-color: var(--bg); border-color: var(--teal); }
.kit-ba__tag { font: 600 13px/1.3 var(--f); background: rgb(16 20 24 / .82); }
@media (min-width: 1024px) {
  .ba { padding: 80px 0 88px; }
  .ba__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: 64px; align-items: center; margin-top: 0; }
  .ba__txt { display: grid; gap: 4px; }
}

/* слово-маска */
.wmw { padding-block: 36px 8px; overflow: clip; }
.wm { filter: drop-shadow(0 0 .7px rgb(238 240 238 / .85)); padding: .08em 0 .16em; font-family: var(--serif); font-weight: 900; font-size: clamp(64px, 22vw, 260px); line-height: .9; letter-spacing: -.01em; text-align: left; }
.wm .kit-wordmask__l { padding-inline: .005em; }

/* работы */
.works { padding: 40px 0 64px; }
.wk { margin-top: 24px; gap: 12px; }
.wk__stage { position: relative; width: min(100%, calc(74svh * 9 / 16)); aspect-ratio: 9 / 16; margin-inline: auto; overflow: hidden; background: var(--bg2); touch-action: pan-y; cursor: default; }
.wk__stage .kit-works__video { z-index: 1; }
.wk__stage video, .wk__stage img { width: 100%; height: 100%; object-fit: cover; }
.wk__stage.is-photo::before { content: ""; position: absolute; inset: -24px; background: var(--wk-bg) center / cover; filter: blur(22px) brightness(.45); }
.wk__stage.is-photo img { position: relative; object-fit: contain; }
.wk__cap { margin: 0; min-height: 3em; font: 600 16px/1.4 var(--f); }
.wk__rail { gap: 8px; }
.wk__rail .kit-works__item { width: 72px; aspect-ratio: 4 / 5; background: var(--bg2); }
@media (min-width: 1024px) {
  .works { padding: 56px 0 104px; }
  .wk { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "stage rail" "cap rail"; grid-template-rows: auto 1fr; column-gap: 56px; row-gap: 16px; margin-top: 40px; align-items: start; }
  .wk__stage { grid-area: stage; width: min(440px, calc(78vh * 9 / 16)); margin: 0; }
  .wk__cap { grid-area: cap; align-self: start; margin-top: 0; font-size: 17px; max-width: 44ch; min-height: 0; }
  .wk__rail { grid-area: rail; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; overflow: visible; scroll-snap-type: none; align-content: start; }
  .wk__rail .kit-works__item { width: auto; min-height: 0; }
}

/* услуги */
.svc { padding: 56px 0 64px; border-top: 1px solid var(--line); }
.svc__seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 20px; max-width: 520px; border: 1px solid var(--line); }
.seg { min-height: 44px; padding: 0 8px; font: 700 15px/1.3 var(--f); background: none; border: 0; color: var(--mute); }
.seg + .seg { border-left: 1px solid var(--line); }
.seg[aria-pressed="true"] { background: var(--teal); color: var(--ink); }
.sv__list { margin-top: 20px; }
.sv__h { margin: 0; border-top: 1px solid var(--line); }
.sv__btn { display: grid; grid-template-columns: 1fr 28px; grid-template-areas: "name chev" "meta chev"; align-items: center; column-gap: 12px; width: 100%; min-height: 68px; padding: 14px 0; text-align: left; background: none; border: 0; }
.sv__name { grid-area: name; font: 700 clamp(21px, 5.6vw, 28px)/1.3 var(--serif); }
.sv__meta { grid-area: meta; margin-top: 2px; font: 400 14px/1.4 var(--f); color: var(--mute); }
.sv__btn svg { grid-area: chev; width: 26px; height: 26px; transition: rotate .2s ease; color: var(--teal-hi); }
.sv__btn[aria-expanded="true"] svg { rotate: 180deg; }
.sv__in { display: grid; gap: 16px; }
.sv__in::after { content: ""; grid-column: 1 / -1; order: 9; height: 8px; }
.sv__media { display: flex; gap: 8px; margin: 0; }
.sv__media figure { margin: 0; width: min(100%, 280px); }
.sv__media video, .sv__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--bg2); }
.sv__media figcaption { margin-top: 6px; font-size: 13px; line-height: 1.4; color: var(--mute); }
.sv__sub { margin: 14px 0 0; font: 700 13px/1.3 var(--f); color: var(--teal-hi); }
.r { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; align-items: baseline; padding: 10px 0; border-top: 1px solid var(--line); }
.r:first-child { border-top: 0; }
.r__n { max-width: 52ch; }
.r__n small { display: block; font-size: 13px; line-height: 1.4; color: var(--mute); }
.r__p { text-align: right; font: 700 19px/1.3 var(--serif); font-variant-numeric: tabular-nums; white-space: nowrap; }
.r__p--txt { font: 600 15px/1.3 var(--f); color: var(--mute); white-space: normal; max-width: 12ch; }
.svc > .wrap > .sv__note { margin-top: 16px; }
.svc > .wrap > .svc__also { margin-top: 20px; }
.sv__note { margin: 10px 0 0; max-width: 60ch; font-size: 14px; color: var(--mute); }
.svc__also { margin: 0; padding-top: 18px; max-width: 70ch; color: var(--mute); border-top: 1px solid var(--line); }
@media (min-width: 900px) {
  .svc { padding: 96px 0 104px; }
  .sv__btn { grid-template-columns: minmax(0, 1fr) auto 28px; grid-template-areas: "name meta chev"; min-height: 84px; }
  .sv__meta { max-width: 40ch; text-align: right; }
  .sv__in { grid-template-columns: minmax(0, 1fr) 300px; align-items: start; gap: 48px; }
  .sv__media { order: 2; flex-direction: column; }
  .sv__in > .sv__body { order: 1; }
  .sv__media figure { width: 100%; }
}

/* отзывы */
.rev { padding: 56px 0 64px; background: var(--bg2); border-top: 1px solid var(--line); }
.rev__head small { display: block; margin-top: 8px; font: 600 15px/1.4 var(--f); color: var(--mute); }
.rev__list { display: flex; gap: 12px; margin: 28px calc(-1 * var(--gut)) 0; padding: 0 var(--gut) 8px; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.rev__list li { flex: 0 0 84%; max-width: 380px; padding: 18px 0 0; border-top: 3px solid var(--teal); scroll-snap-align: start; }
.rev__list p { margin: 0; font: 500 19px/1.4 var(--f); text-wrap: pretty; }
.rev__by { display: block; margin-top: 12px; font-size: 14px; color: var(--mute); }
@media (min-width: 900px) {
  .rev { padding: 96px 0 104px; }
  .rev__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 40px; margin-inline: 0; padding: 0; overflow: visible; }
  .rev__list li { flex: none; max-width: none; }
  .rev__list p { font-size: 21px; }
}

/* подарочный сертификат */
.gift { padding: 56px 0 64px; border-top: 1px solid var(--line); }
.gift__in { display: grid; gap: 24px; }
.fm__row { display: grid; gap: 6px; margin-bottom: 12px; }
.fm__lab { font: 600 14px/1.45 var(--f); color: #c3cacd; }
.fm input:not([type="hidden"]):not([type="radio"]):not([type="file"]), .fm select { width: 100%; min-height: 48px; padding: 0 12px; color: var(--fg); background: var(--bg2); border: 1px solid rgb(238 240 238 / .3); border-radius: 0; color-scheme: dark; }
.fm__go { width: 100%; margin-top: 4px; }
.fm__file { width: 100%; margin-bottom: 12px; cursor: pointer; }
.fm__file:has(input:focus-visible) { outline: 2px solid var(--teal-hi); outline-offset: 2px; }
.fm__kind { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid rgb(238 240 238 / .3); margin-bottom: 12px; }
.fm__kind label { position: relative; display: grid; place-items: center; min-height: 48px; font-weight: 700; cursor: pointer; }
.fm__kind label + label { border-left: 1px solid rgb(238 240 238 / .3); }
.fm__kind input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.fm__kind label:has(input:checked) { background: var(--teal); color: var(--ink); }
.fm__kind label:has(input:focus-visible) { outline: 2px solid var(--teal-hi); outline-offset: -2px; }
.fm [hidden] { display: none; }
.kit-mock__note { margin: 18px 0 8px; font: 600 13px/1.4 var(--f); letter-spacing: 0; text-transform: none; opacity: 1; color: var(--teal-hi); }
.cert { position: relative; display: grid; gap: 4px; padding: 24px 22px 20px; overflow: clip; background: var(--teal); color: var(--ink); }
.cert__tri { position: absolute; right: 16px; top: 16px; width: 96px; height: 96px; opacity: .3; }
.cert__tri path { stroke-dasharray: 1; animation: sil-draw .6s ease-out both; }
.cert__brand { position: relative; margin: 0; font: 800 28px/1.1 var(--serif); letter-spacing: -.01em; }
.cert__kind { position: relative; margin: 0 0 16px; font: 700 14px/1.4 var(--f); }
.cert__to, .cert__what { position: relative; margin: 0; font: 700 19px/1.3 var(--f); }
.cert__what { margin-block: 8px; padding-block: 10px; border-block: 1px solid rgb(6 27 25 / .35); font-weight: 600; }
.cert__sum { position: relative; margin: 0; font: 800 34px/1.1 var(--serif); font-variant-numeric: tabular-nums; }
.cert__where { position: relative; display: grid; gap: 2px; margin: 14px 0 0; font: 600 13px/1.45 var(--f); }
.kit-mock__out > a.btn { margin-top: 12px; }
@media (min-width: 1024px) {
  .gift { padding: 96px 0 104px; }
  .gift__in { grid-template-columns: 5fr 6fr; column-gap: 72px; align-items: start; }
  .gift__form { max-width: 560px; }
}

/* контакты */
.contacts { padding: 56px 0 64px; border-top: 1px solid var(--line); }
.contacts__in { display: grid; gap: 28px; }
.contacts__ph { position: relative; margin: 0; }
.contacts__ph img { width: 100%; aspect-ratio: 9 / 8; object-fit: cover; }
.contacts__ph picture { display: block; }
.contacts__ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(16 20 24 / .1), rgb(16 20 24 / .55)); pointer-events: none; }
.contacts__ph figcaption { position: absolute; z-index: 1; left: 14px; bottom: 12px; font: 600 14px/1.3 var(--f); }
.contacts__list { display: grid; margin: 20px 0 0; }
.contacts__list > div { display: grid; gap: 2px; padding: 12px 0; border-top: 1px solid var(--line); }
.contacts__list dt { font-size: 13px; line-height: 1.45; color: var(--mute); }
.contacts__list dd { margin: 0; font-size: 19px; }
.contacts__list a { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: 3px; }
.contacts__tel { font: 700 24px/1.3 var(--serif); text-decoration: none; font-variant-numeric: tabular-nums; }
.contacts__cta { display: grid; gap: 8px; margin-top: 18px; }
.contacts__map { min-height: 320px; }
@media (min-width: 560px) { .contacts__cta { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) {
  .contacts { padding: 96px 0 104px; }
  .contacts__in { grid-template-columns: minmax(0, 3fr) minmax(0, 4fr) minmax(0, 4fr); column-gap: 40px; align-items: stretch; }
  .contacts__ph img { aspect-ratio: 4 / 5; }
  .contacts__ph { align-self: start; }
  .contacts__map { aspect-ratio: auto; min-height: 100%; }
  .contacts__cta { grid-template-columns: 1fr; }
}

/* подвал */
.foot { padding-bottom: calc(88px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.foot__in { display: grid; gap: 10px; padding-top: 12px; font-size: 14px; color: var(--mute); }
.foot__in p { margin: 0; max-width: 70ch; }
.foot__in b { color: var(--fg); }
.foot__stock { display: block; margin-top: 8px; }
.foot__in a { display: inline-flex; align-items: center; min-height: 44px; }
@media (min-width: 900px) { .foot { padding-bottom: 32px; } .foot__in { grid-template-columns: 1fr auto; align-items: end; } }

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

/* листы-макеты */
.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 / .62); }
.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 8px 0; font: 800 26px/1.3 var(--serif); }
.sheet__lead { margin: 0 0 18px; color: #c3cacd; }
.ans { display: grid; gap: 10px; justify-items: start; padding: 16px; background: var(--bg); }
.ans__stat { margin: 0; font: 800 22px/1.25 var(--serif); }
.ans__txt { margin: 0; color: #c3cacd; }
.stamps { display: flex; gap: 6px; }
.stamps svg { width: 28px; height: 28px; color: var(--teal-hi); }
.ans__list { display: grid; gap: 0; width: 100%; margin: 0; padding: 0; list-style: none; }
.ans__list li { display: grid; gap: 2px; padding: 8px 0; border-top: 1px solid var(--line); min-width: 0; }
.ans__list span { font-size: 14px; color: var(--mute); }
.ans__list b { font: 700 17px/1.3 var(--serif); overflow-wrap: anywhere; }
@media (min-width: 560px) { .ans__list li { grid-template-columns: auto 1fr; gap: 12px; } .ans__list span { font-size: 17px; color: inherit; } .ans__list b { text-align: right; } }
.prev { margin: 4px 0 12px; }
.prev [data-kit-mock-preview] img { width: 96px; height: 96px; }
.sheet .kit-mock__out > a.btn { margin-top: 12px; }

/* полосы с фоном: поле по краям даёт сама секция */
.ba, .rev { padding-inline: 16px; }
@media (min-width: 400px) { .ba, .rev { padding-inline: 4vw; } }
.ba .wrap, .rev .wrap { padding-inline: 0; max-width: calc(1320px - 2 * var(--gut)); }
