/* Monza · демо. Характер A «Бокс»: чёрная плашка вывески, белый, графит линий; акцент — белая плашка; гранёная рамка со срезанными углами — из их прайс-слайдов.
   Mobile first: база 390 px, расширение через min-width. Кит (kit.css) даёт механику, оформление — здесь. */
:root {
  --bg: #0c0c0d; --bg2: #141416; --graph: #1b1c1e; --fg: #f1f1f1; --mute: #c6c5c2; --ink: #0c0c0d;
  --line: rgb(241 241 241 / .16); --line2: rgb(241 241 241 / .5);
  --f: "Montserrat", "Arial", system-ui, sans-serif;
  --t: "Golos Text", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gut: max(16px, 4vw);
  --c: 10px;
  --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, textarea { 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; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { width: 100%; max-width: 1320px; margin-inline: auto; padding-inline: var(--gut); }
.h2 { margin: 0; font-family: var(--f); font-weight: 800; font-size: clamp(26px, 7vw, 54px); line-height: 1.1; letter-spacing: 0; text-wrap: balance; }
section { scroll-margin-top: 56px; }

/* гранёная рамка со срезанными углами (слева сверху и справа снизу) — как плашки цены на их слайдах */
.cut { clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c)); }

/* кнопки */
.btn { position: relative; isolation: isolate; display: inline-grid; place-items: center; min-height: 48px; padding: 0 22px; font: 700 15px/1 var(--f); text-decoration: none; border: 0; text-align: center; }
.btn--lg { min-height: 52px; }
.btn--acc { background: var(--fg); color: var(--ink); }
.btn--acc:hover { background: #fff; }
.btn--line, .bar__call { background: var(--line2); color: var(--fg); }
.btn--line::before, .bar__call::before { content: ""; position: absolute; inset: 1px; z-index: -1; background: var(--bg);
  clip-path: polygon(calc(var(--c) - .6px) 0, 100% 0, 100% calc(100% - var(--c) + .6px), calc(100% - var(--c) + .6px) 100%, 0 100%, 0 calc(var(--c) - .6px)); }
.btn--line:hover::before { background: #1d1d20; }
.more { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; margin-top: 12px; font: 700 15px/1.2 var(--f); 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; padding-inline: 2px; text-decoration: none; }
.logo { display: block; fill: #fff; overflow: visible; }
.logo--head { height: 36px; width: auto; aspect-ratio: 948 / 726; flex: none; }
.top__demo { padding: 4px 8px; font: 600 11px/1.4 var(--f); 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; }
  .logo--head { height: 40px; }
  .top__tel { display: block; margin-left: auto; font: 600 14px/1.45 var(--f); text-decoration: none; white-space: nowrap; }
  .top__book { display: inline-grid; min-height: 40px; padding-inline: 18px; }
  .top__menu { margin-left: 0; }
}
@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), 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(12 12 13 / .35) 0, rgb(12 12 13 / 0) 22%, rgb(12 12 13 / .55) 58%, rgb(12 12 13 / .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(12 12 13 / .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-family: var(--f); font-weight: 800; font-size: clamp(32px, 9.4vw, 46px); line-height: 1.1; text-transform: uppercase; text-wrap: balance; }
.hero__sub { margin: 12px 0 0; max-width: 34ch; color: #dcdcda; }
.hero__cta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.hero__in { display: none; }
@media (min-width: 1024px) {
  .hero { grid-template-columns: 1fr 1fr; align-items: stretch; height: min(calc(100svh - 56px), 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(46px, 4.8vw, 72px); line-height: 1.05; }
  .hero__sub { font-size: 20px; max-width: 32ch; margin-top: 20px; }
  .hero__cta { grid-template-columns: auto auto; justify-content: start; gap: 12px; margin-top: 24px; }
  .hero__in { display: grid; margin: 32px 0 0; padding: 0; list-style: none; max-width: 460px; }
  .hero__in a { display: flex; align-items: center; justify-content: space-between; min-height: 48px; text-decoration: none; font: 700 15px/1.2 var(--f); border-top: 1px solid var(--line); }
  .hero__in a::after { content: ""; width: 14px; height: 14px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M12 4v16M5 13l7 7 7-7'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M12 4v16M5 13l7 7 7-7'/%3E%3C/svg%3E") center / contain no-repeat; }
}

/* «Полный комплекс»: фирменная секция */
.cx { padding: 14px 0 14px; border-top: 1px solid var(--line); }
.cx__grid { display: grid; gap: 6px; margin-top: 8px; }
.cx__frame { position: relative; margin: 0; aspect-ratio: 16 / 11; overflow: hidden; background: var(--bg2); }
.cx__layer { position: absolute; inset: 0; opacity: 0; transition: opacity .2s ease; }
.cx__layer.is-on { opacity: 1; z-index: 1; }
.cx__layer img, .cx__layer video { width: 100%; height: 100%; object-fit: cover; }
.cx__layer[data-k="def"] img { object-position: 50% 60%; }
.cx__layer[data-k="pol"] video { object-position: 50% 45%; }
.cx__layer[data-k="plenka"] video { object-position: 50% 50%; }
.cx__layer[data-k="ton"] video { object-position: 50% 52%; }
.cx__layer[data-k="fary"] video { object-position: 50% 50%; }
.cx__layer[data-k="him"] img { object-position: 50% 60%; }
.cx__layer[data-k="chrom"] video { object-position: 50% 62%; }
.cx__layer[data-k="pdr"] video { object-position: 50% 45%; }
.cx__tag { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 22px 12px 10px; background: linear-gradient(0deg, rgb(12 12 13 / .88), rgb(12 12 13 / 0)); font: 700 14px/1.25 var(--f); }
.cx__tag[hidden] { display: none; }
.cx__tag-p { white-space: nowrap; font-weight: 600; }
.cx__list { display: grid; gap: 2px; }
.cx__row { --pad: 10px; position: relative; isolation: isolate; display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; column-gap: 10px; min-height: 44px; padding: 4px var(--pad); text-align: left; color: var(--fg); background: var(--graph); border: 0; clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c)); transition: color .24s ease; }
.cx__row::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--fg); transform: scaleX(0); transform-origin: left; transition: transform .24s ease; }
.cx__row[aria-pressed="true"] { color: var(--ink); }
.cx__row[aria-pressed="true"]::before { transform: scaleX(1); }
.cx__row--sub { min-height: 52px; row-gap: 0; }
.cx__tick { grid-row: 1; width: 20px; height: 20px; display: grid; place-items: center; position: relative; isolation: isolate; background: var(--line2);
  clip-path: polygon(5px 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%, 0 5px); transition: background .24s ease; }
.cx__tick::before { content: ""; position: absolute; inset: 1px; z-index: -1; background: var(--graph); clip-path: polygon(4.4px 0, 100% 0, 100% calc(100% - 4.4px), calc(100% - 4.4px) 100%, 0 100%, 0 4.4px); transition: background .24s ease; }
.cx__tick svg { width: 14px; height: 14px; opacity: 0; transition: opacity .24s ease; }
.cx__row[aria-pressed="true"] .cx__tick { background: var(--ink); }
.cx__row[aria-pressed="true"] .cx__tick::before { background: var(--fg); }
.cx__row[aria-pressed="true"] .cx__tick svg { opacity: 1; }
.cx__n { grid-row: 1; font: 600 13px/1.3 var(--f); }
.cx__p { grid-row: 1; font: 500 12.5px/1.3 var(--f); white-space: nowrap; text-align: right; }
.cx__s { grid-column: 2 / -1; grid-row: 2; font: 400 12px/1.3 var(--t); opacity: .75; }
.cx__go { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; align-items: center; margin-top: 4px; }
.cx__sum { margin: 0; font: 500 13px/1.35 var(--t); color: var(--mute); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cx__sum[hidden] { display: none; }
.cx__go:has(.cx__sum:not([hidden])) { grid-template-columns: minmax(0, 1fr) auto; }
.cx__book { min-height: 48px; }
@media (min-width: 900px) {
  .cx { padding: 88px 0 96px; }
  .cx__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 520px); column-gap: clamp(32px, 5vw, 80px); align-items: start; margin-top: 40px; }
  .cx__frame { grid-column: 2; grid-row: 1; aspect-ratio: 4 / 5; }
  .cx__side { grid-column: 1; grid-row: 1; }
  .cx__list { gap: 4px; }
  .cx__row { --pad: 18px; --c: 14px; min-height: 60px; column-gap: 16px; grid-template-columns: 26px minmax(0, 1fr) auto; }
  .cx__row--sub { min-height: 72px; }
  .cx__tick { width: 26px; height: 26px; clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px); }
  .cx__tick::before { clip-path: polygon(6.4px 0, 100% 0, 100% calc(100% - 6.4px), calc(100% - 6.4px) 100%, 0 100%, 0 6.4px); }
  .cx__tick svg { width: 18px; height: 18px; }
  .cx__n { font-size: 20px; }
  .cx__p { font-size: 16px; }
  .cx__s { font-size: 14px; }
  .cx__go { margin-top: 20px; gap: 16px; }
  .cx__sum { font-size: 15px; }
  .cx__tag { font-size: 18px; padding: 40px 20px 16px; }
  .cx__book { min-height: 56px; min-width: 220px; }
}

/* до и после */
.ba { padding: 14px 0 16px; border-top: 1px solid var(--line); }
.ba__grid { display: grid; gap: 8px; margin-top: 10px; }
.ba__frame { width: 100%; background: var(--bg2); }
.ba__frame .kit-ba__before video, .ba__frame .kit-ba__after video, .ba__frame .kit-ba__before img, .ba__frame .kit-ba__after img { width: 100%; height: 100%; object-fit: cover; }
.ba__frame .kit-ba__handle { width: 2px; background: var(--fg); }
.ba__frame .kit-ba__handle::after { width: 44px; height: 44px; border: 0; border-radius: 0; background-color: var(--fg); background-size: 24px; clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230c0c0d' stroke-width='2.4'%3E%3Cpath d='M9 7l-5 5 5 5M15 7l5 5-5 5'/%3E%3C/svg%3E"); }
.ba__frame .kit-ba__tag { top: 12px; padding: 4px 10px; font: 700 12px/1.3 var(--f); background: var(--fg); color: var(--ink); }
.bapairs { display: flex; gap: 8px; }
.bap { position: relative; flex: 0 0 auto; width: 64px; height: 64px; padding: 0; overflow: hidden; background: var(--bg2); border: 0; opacity: .6; clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); transition: opacity .2s ease; }
.bap img { width: 100%; height: 100%; object-fit: cover; }
.bap[aria-pressed="true"] { opacity: 1; outline: 0; box-shadow: none; }
.bap[aria-pressed="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--fg); }
@media (min-width: 900px) {
  .ba { padding: 88px 0 96px; }
  .ba__grid { grid-template-columns: 560px 170px; column-gap: 32px; align-items: start; margin-top: 40px; }
  .ba__frame { --kit-ratio: 4 / 5; }
  .bapairs { flex-direction: column; gap: 12px; }
  .bap { width: 170px; height: 212px; }
}

/* работы: мозаика встык */
.works { padding: 14px 0 20px; border-top: 1px solid var(--line); }
.mos { container-type: inline-size; margin-top: 10px; }
.mos__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: calc((100cqw - 4px) / 2); grid-auto-flow: dense; gap: 4px; }
.w { position: relative; display: block; padding: 0; overflow: hidden; background: var(--bg2); border: 0; }
.w img, .w video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .7, .1, 1); }
.w:hover img, .w:hover video { transform: scale(1.035); }
.w:focus-visible { outline-offset: -3px; }
.w--b { grid-column: span 2; grid-row: span 2; }
.w--h { grid-row: span 2; }
.w--w { grid-column: span 2; }
.w--w img { object-position: 50% 62%; }
.w--h video { object-position: 50% 55%; }
@media (min-width: 900px) {
  .works { padding: 88px 0 96px; }
  .mos { margin-top: 40px; }
  .mos__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: calc((100cqw - 12px) / 4); }
}
@media (prefers-reduced-motion: reduce) { .w img, .w video { transition: none; } .w:hover img, .w:hover video { transform: none; } }

/* услуги */
.svc { padding: 14px 0 14px; border-top: 1px solid var(--line); }
.sv__list { margin-top: 8px; }
.sv__h { margin: 0; border-top: 1px solid var(--line); }
.sv__btn { display: grid; grid-template-columns: 1fr 26px; align-items: center; column-gap: 12px; width: 100%; min-height: 50px; padding: 6px 0; text-align: left; background: none; border: 0; }
.sv__name { font: 700 clamp(17px, 4.6vw, 28px)/1.2 var(--f); }
.sv__btn svg { width: 24px; height: 24px; transition: rotate .2s ease; }
.sv__btn[aria-expanded="true"] svg { rotate: 180deg; }
.sv__in { display: grid; gap: 10px; }
.sv__in::after { content: ""; order: 9; height: 6px; }
.sv__media { margin: 0; width: 100%; aspect-ratio: 3 / 2; overflow: hidden; background: var(--bg2); }
.sv__media video, .sv__media img { width: 100%; height: 100%; object-fit: cover; }
.sv__t { margin: 0; color: var(--mute); }
.sv__more { display: grid; margin: 0; padding: 0; list-style: none; border-bottom: 1px solid var(--line); }
.sv__more li { padding: 8px 0; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.3; }
.sv__gar { margin: 12px 0 0; font: 700 15px/1.3 var(--f); }
@media (min-width: 900px) {
  .svc { padding: 88px 0 96px; }
  .svc__cols { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(32px, 5vw, 80px); align-items: start; margin-top: 32px; }
  .sv__list { margin-top: 0; }
  .sv__list > .sv:first-child .sv__h { border-top: 0; }
  .sv__btn { min-height: 84px; }
  .sv__in { grid-template-columns: 300px minmax(0, 1fr); align-items: start; gap: 32px; }
  .sv__media { aspect-ratio: 4 / 5; }
  .sv__t { font-size: 18px; }
  .sv__more { margin-top: 0; }
  .sv__more li { padding: 14px 0; font-size: 17px; }
  .sv__more li:first-child { border-top: 0; }
  .sv__gar { margin-top: 20px; font-size: 17px; }
}

/* отзывы: светлая пауза на цвете их слайдов */
.rev { padding: 20px var(--gut) 14px; color: var(--ink); background: var(--fg); }
.rev .wrap { padding-inline: 0; }
.rev__head small { display: block; margin-top: 6px; font: 600 14px/1.4 var(--t); color: #4a4a48; }
.rev__list { display: flex; gap: 10px; margin: 12px 0 0; padding: 0 0 4px; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.rev__list::-webkit-scrollbar { display: none; }
.rev__list li { display: flex; flex-direction: column; justify-content: space-between; gap: 12px; flex: 0 0 82%; padding: 14px 16px; border-top: 2px solid var(--ink); background: #e6e6e4; scroll-snap-align: start; }
.rev__list p { margin: 0; font: 500 clamp(15px, 4.1vw, 19px)/1.35 var(--t); text-wrap: pretty; }
.rev__by { display: block; font: 600 12.5px/1.4 var(--t); color: #4a4a48; }
.more--ink { margin-top: 4px; }
@media (min-width: 900px) {
  .rev { padding: 88px 0 96px; }
  .rev .wrap { padding-inline: var(--gut); }
  .rev__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 40px 0 0; overflow: visible; padding: 0; }
  .rev__list li { flex: none; padding: 20px; }
  .rev__list p { font-size: 18px; }
  .more--ink { margin-top: 24px; }
}

/* бонусная карта: рабочий макет */
.bonus { padding: 14px 0 16px; border-top: 1px solid var(--line); }
.bonus__in { display: grid; gap: 10px; }
.fm { display: grid; grid-template-columns: 1fr; gap: 8px; }
.fm__row { display: grid; gap: 4px; min-width: 0; }
.fm__lab { font: 600 12px/1.45 var(--f); color: var(--mute); }
.fm input:not([type="hidden"]), .fm select, .fm textarea { width: 100%; min-height: 48px; padding: 0 12px; color: var(--fg); background: var(--graph); border: 1px solid var(--line2); border-radius: 0; color-scheme: dark; }
.fm textarea { padding: 10px 12px; resize: vertical; line-height: 1.4; }
.fm__pair { display: grid; grid-template-columns: 120px 1fr; gap: 8px; }
.fm__go { width: 100%; margin-top: 4px; }
.kit-mock__note { margin: 12px 0 8px; font: 600 12px/1.4 var(--f); letter-spacing: 0; text-transform: none; opacity: 1; color: var(--mute); }
.ans { display: grid; gap: 8px; justify-items: start; padding: 16px; background: var(--graph); border: 1px solid var(--line); }
.ans__stat { margin: 0; font: 800 20px/1.25 var(--f); }
.ans__txt { margin: 0; color: var(--mute); }
@media (min-width: 900px) {
  .bonus { padding: 88px 0 96px; }
  .bonus__in { grid-template-columns: 5fr 6fr; column-gap: 72px; align-items: start; }
  .bonus__form { max-width: 520px; }
}

/* контакты */
.contacts { padding: 14px 0 14px; border-top: 1px solid var(--line); }
.contacts__in { display: grid; gap: 10px; }
.contacts__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo--ct { height: 52px; width: auto; aspect-ratio: 948 / 810; flex: none; }
.contacts__list { display: grid; margin: 4px 0 0; }
.contacts__list > div { display: grid; grid-template-columns: 82px minmax(0, 1fr); align-items: center; gap: 2px 12px; padding: 0; border-top: 1px solid var(--line); }
.contacts__list dt { font: 600 12px/1.45 var(--f); color: var(--mute); }
.contacts__list dd { margin: 0; font-size: 15px; line-height: 1.35; }
.contacts__list a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; text-underline-offset: 3px; }
.contacts__ms { display: inline-flex; gap: 14px; margin-left: 10px; color: var(--mute); }
.contacts__cta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.contacts__map { min-height: 0; width: 100%; height: 180px; 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; }
  .logo--ct { height: 104px; }
  .contacts__cta { grid-template-columns: auto auto; justify-content: start; margin-top: 20px; }
  .contacts__list > div { grid-template-columns: 120px 1fr; padding: 10px 0; }
  .contacts__list dd { font-size: 17px; }
  .contacts__map { height: auto; min-height: 460px; }
}

/* подвал */
.foot { padding-bottom: calc(88px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.foot .kit-foot-split__wm { padding-top: 24px; }
.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; }
  .foot__in { gap: 16px; align-content: center; }
  .kit-foot-split__wm .wm { font-size: calc(100cqw / 4.4); }
  .foot .kit-foot-split__wm { padding-top: 0; }
  .foot > .kit-foot-split { padding-block: 40px 8px; }
}

/* липкая панель */
.bar { background: var(--bg); }
.bar a { font: 700 15px var(--f); text-decoration: none; position: relative; isolation: isolate; }
.bar__book { background: var(--fg); 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 / .7); }
.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: 800 24px/1.15 var(--f); }
.cert { display: grid; gap: 4px; padding: 22px 20px; background: var(--ink); color: var(--fg); border: 1px solid var(--line2); }
.cert__logo { height: 64px; width: auto; aspect-ratio: 948 / 810; margin-bottom: 8px; }
.cert__kind { margin: 0 0 14px; font: 600 13px/1.45 var(--f); color: var(--mute); }
.cert__to, .cert__svc, .cert__from { margin: 0; font: 700 18px/1.3 var(--t); }
.cert__svc { margin-block: 6px; padding-block: 8px; border-block: 1px solid var(--line2); font-weight: 500; }
.cert__where { display: grid; gap: 2px; margin: 12px 0 0; font: 400 12.5px/1.45 var(--t); color: var(--mute); }
.sheet .kit-mock__out > a.btn, .sheet .kit-mock__out + a.btn { margin-top: 12px; }
.sheet .kit-mock__out a.btn { margin-top: 12px; }
