/* ПрофМастер. Стили сайта. */

@font-face { font-family: "Golos"; src: url("../fonts/golos-cyrillic-400.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Golos"; src: url("../fonts/golos-latin-400.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Golos"; src: url("../fonts/golos-cyrillic-500.woff2") format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Golos"; src: url("../fonts/golos-latin-500.woff2") format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Golos"; src: url("../fonts/golos-cyrillic-700.woff2") format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Golos"; src: url("../fonts/golos-latin-700.woff2") format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plex Mono"; src: url("../fonts/plex-mono-cyrillic-500.woff2") format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Plex Mono"; src: url("../fonts/plex-mono-latin-500.woff2") format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+20BD, U+2116, U+2212; }

/* Система оформления. Всё на сайте собирается из этих токенов и компонентов; лист системы: /styleguide/.
   Цвет: фон, поверхность, текст, вторичный текст, линия, акцент, тёмный и его пары. Серых вне токенов нет.
   Форма: отдельные предметы скруглены на 8px, мелкие метки на 4px, полосы во всю ширину без скругления.
   Карточка это заливка поверхностью без рамки. Между карточками зазор 24px. Линия одна: 1px цвета линии.
   Кегли: 14, 16, 20, 24, 28, 32, 40, 48, 64, 96. Отступы кратны 8. Кнопки, поля и вкладки высотой 48, метки 40.
   Поле формы залито фоном страницы, рамка в цвет линии появляется при наведении. Подчёркивание-акцент при наведении 2px. */
:root {
	--bg: #f4f4f0;
	--surface: #ffffff;
	--text: #0f1419;
	--text-2: #5b6168;
	--line: #d9d9d3;
	--accent: #ffb800;
	--accent-hover: #e6a600;
	--accent-text: #1a1400;
	--dark: #0f1419;
	--dark-surface: #1c232b;
	--dark-text-2: #a7adb4;
	--dark-line: #2c343d;
	--ok: #1f7a3a;
	--error: #b3261e;
	--r: 8px;
	--r-s: 4px;
	--s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 48px; --s6: 64px; --s7: 96px;
	--font: "Golos", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--mono: "Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
	--wrap: 1248px;
	--gutter: clamp(16px, 4vw, 40px);
	--header-h: 72px;
	--shadow: 0 16px 40px color-mix(in srgb, var(--dark) 16%, transparent);
}

/* Основа */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/24px var(--font); font-feature-settings: "kern"; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
:focus-visible, .is-focus:not(input) { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: var(--r-s); }
h1, h2, h3, h4 { margin: 0 0 var(--s2); font-weight: 700; letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: 48px; line-height: 56px; letter-spacing: -.03em; }
h2 { font-size: 32px; line-height: 40px; }
h3 { font-size: 20px; line-height: 28px; letter-spacing: -.01em; }
p { margin: 0 0 var(--s2); text-wrap: pretty; }
ul, ol { margin: 0 0 var(--s2); padding-left: 20px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 8px; top: -64px; z-index: 100; background: var(--accent); color: var(--accent-text); padding: 8px 16px; font-weight: 700; border-radius: var(--r); }
.skip-link:focus { top: 8px; }
.mono { font-family: var(--mono); font-weight: 500; }
.nowrap { white-space: nowrap; }
.on-dark { color: #fff; }
@media (max-width: 760px) { h1, .hero h1 { font-size: 28px; line-height: 32px; } h2 { font-size: 24px; line-height: 32px; } }

/* Кнопка: 48px, главная на акценте, вторая на поверхности */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s1); min-height: 48px; padding: 0 var(--s3); border: 0; border-radius: var(--r); background: var(--surface); color: var(--text); font: 700 16px/24px var(--font); text-decoration: none; cursor: pointer; transition: background .15s, color .15s; }
.btn:hover, .btn.is-hover { background: var(--dark); color: #fff; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--signal { background: var(--accent); color: var(--accent-text); }
.btn--signal:hover, .btn--signal.is-hover { background: var(--accent-hover); color: var(--accent-text); }
.card .btn:not(.btn--signal), .form .btn:not(.btn--signal), .aside-card .btn:not(.btn--signal) { background: var(--bg); }
.card .btn:not(.btn--signal):hover, .form .btn:not(.btn--signal):hover, .aside-card .btn:not(.btn--signal):hover { background: var(--dark); }
.on-dark .btn:not(.btn--signal) { background: var(--dark-surface); color: #fff; }
.on-dark .btn:not(.btn--signal):hover, .on-dark .btn:not(.btn--signal).is-hover { background: #fff; color: var(--text); }

/* Ссылка со стрелкой и подписи */
.link-arrow { display: inline-flex; align-items: center; gap: var(--s1); font-weight: 500; text-decoration: underline; text-decoration-color: var(--line); white-space: nowrap; }
.link-arrow svg { width: 20px; height: 20px; transition: transform .2s; }
.link-arrow:hover, .link-arrow.is-hover { text-decoration-color: var(--accent); }
.link-arrow:hover svg { transform: translateX(4px); }
.on-dark .link-arrow { text-decoration-color: var(--dark-line); }
.kicker { font-size: 14px; line-height: 20px; color: var(--text-2); margin: 0 0 var(--s1); }
.kicker a { color: inherit; }
.h-small { font-size: 20px; line-height: 28px; margin-bottom: var(--s2); }

/* Карточка: заливка поверхностью, без рамки */
.card, .svc, .step, .stat, .contact, .license, .aside-card, .price-chip, .svc-row, .logos, .review, .form, .prices-card { background: var(--surface); border-radius: var(--r); }
.on-dark .card { background: var(--dark-surface); }

/* Верхняя полоса и шапка */
.topbar { background: var(--dark); color: var(--dark-text-2); font-size: 14px; line-height: 20px; }
.topbar__in { display: flex; align-items: center; gap: var(--s1) var(--s3); min-height: 40px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.topbar__addr { display: inline-flex; align-items: center; gap: var(--s1); }
.topbar__addr svg { width: 16px; height: 16px; color: var(--accent); }
.topbar__phones { margin-left: auto; display: flex; gap: var(--s3); font: 500 14px/20px var(--mono); }
.site-header { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--line); }
.site-header__in { display: flex; align-items: center; gap: var(--s3); min-height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: var(--s2); text-decoration: none; margin-right: auto; }
.logo__mark { width: 40px; height: 40px; flex: none; margin: -4px; }
.logo__text { display: flex; flex-direction: column; }
.logo__name { font-weight: 700; font-size: 20px; line-height: 24px; letter-spacing: .06em; text-transform: uppercase; }
.logo__sub { font-size: 14px; line-height: 16px; color: var(--text-2); }
.nav { display: flex; gap: var(--s1); }
.nav a { display: block; padding: 8px 16px; font-weight: 500; text-decoration: none; border-radius: var(--r); }
.nav a:hover, .nav a[aria-current="page"] { background: var(--surface); }
.header-cta { min-height: 48px; }
.menu-toggle { display: none; width: 48px; height: 48px; border: 0; border-radius: var(--r); background: var(--surface); align-items: center; justify-content: center; cursor: pointer; color: var(--text); }
.menu-toggle:hover { background: var(--dark); color: #fff; }
.menu-toggle svg { width: 24px; height: 24px; }
@media (max-width: 1080px) {
	.nav, .header-cta { display: none; }
	.menu-toggle { display: inline-flex; }
	.nav.is-open { display: flex; flex-direction: column; gap: 0; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: var(--s1) var(--gutter) var(--s3); }
	.nav.is-open a { padding: 16px 0; font-size: 20px; line-height: 24px; border-bottom: 1px solid var(--line); border-radius: 0; background: none; }
}
@media (max-width: 1000px) { .topbar__mail, .topbar__hours { display: none; } }
@media (max-width: 760px) {
	:root { --header-h: 64px; }
	.logo__sub, .topbar__addr { display: none; }
	.topbar__phones { margin: 0 auto; gap: var(--s2); }
	.topbar__in { justify-content: center; }
}

/* Секция и её заголовок */
.section { padding: var(--s7) 0; }
.section--tight { padding: var(--s6) 0; }
.section + .section:not(.section--ink):not(.works-section) { padding-top: 0; }
.page-hero + .section { padding-top: 0; }
.section--ink { background: var(--dark); color: #fff; padding-top: var(--s7) !important; }
.section--ink + .section { padding-top: var(--s7) !important; }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--s1) var(--s5); margin-bottom: var(--s4); }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; color: var(--text-2); }
@media (max-width: 760px) { .section { padding: var(--s6) 0; } .section--tight { padding: var(--s5) 0; } .section--ink, .section--ink + .section { padding-top: var(--s6) !important; } .section-head { flex-direction: column; align-items: flex-start; margin-bottom: var(--s3); } }

/* Первый экран: целиком во вьюпорте, схема по высоте экрана */
.hero { --hero-pad: clamp(24px, 5vh, 48px); padding: var(--hero-pad) 0; }
.hero__grid { --plan: min(520px, 40vw, calc(100vh - 40px - var(--header-h) - 2 * var(--hero-pad))); display: grid; grid-template-columns: minmax(0, 1fr) var(--plan); gap: var(--s5); align-items: center; }
@supports (height: 100svh) { .hero__grid { --plan: min(520px, 40vw, calc(100svh - 40px - var(--header-h) - 2 * var(--hero-pad))); } }
.hero h1 { margin: 0 0 var(--s3); font-size: 40px; line-height: 48px; }
.hero__lead { font-size: 20px; line-height: 28px; color: var(--text-2); max-width: 28em; margin: 0 0 var(--s4); }
.hero__actions, .page-hero__actions { display: flex; flex-wrap: wrap; gap: var(--s2); }
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; gap: var(--s4); } .hero .plan { width: 100%; max-width: 520px; justify-self: center; } }
@media (max-width: 760px) { .hero h1 { font-size: 28px; line-height: 32px; } .hero__lead { font-size: 16px; line-height: 24px; } .hero__actions .btn, .page-hero__actions .btn { flex: 1 1 auto; } .crumbs li:last-child { display: none; } }

/* Схема помещения на первом экране */
.plan { position: relative; width: var(--plan, 100%); justify-self: end; }
.plan__svg { display: block; width: 100%; height: auto; }
.plan-grid { stroke: var(--line); stroke-width: 1; }
.plan-wall { fill: none; stroke: var(--text); stroke-width: 3; stroke-linecap: square; }
.plan-thin { fill: none; stroke: var(--line); stroke-width: 1; }
.plan-rooms { font: 400 14px var(--font); fill: var(--text-2); }
.plan-zone { fill: var(--accent); opacity: .16; transition: opacity .25s ease; }
.plan-zone circle { fill: var(--accent); }
.plan-zone[data-zone="rack"] { opacity: 0; }
.plan.is-active .plan-zone { opacity: .06; }
.plan.is-active .plan-zone.is-on { opacity: .42; }
.plan-zone.is-on > * { stroke: var(--text); stroke-width: 1.5; stroke-dasharray: 4 4; }
.plan-dev { cursor: pointer; outline: none; -webkit-tap-highlight-color: transparent; }
.plan-dev rect, .plan-dev circle:not(.plan-hit) { fill: var(--text); transition: fill .2s; }
.plan-dev--fire circle:not(.plan-hit), .plan-dev--acs rect, .plan-dev--dom rect { fill: var(--accent); stroke: var(--text); stroke-width: 1.5; }
.plan-dev--rack rect { fill: var(--bg); stroke: var(--text); stroke-width: 1.5; }
.plan-hit { fill: transparent; }
.plan-dev text { font: 500 14px var(--mono); letter-spacing: .06em; fill: var(--text-2); transition: fill .2s; }
.plan.is-active .plan-dev:not(.is-on) { opacity: .55; }
.plan-dev.is-on text { fill: var(--text); font-weight: 700; }
.plan-dev.is-on rect, .plan-dev.is-on circle:not(.plan-hit) { stroke: var(--text); stroke-width: 3; }
.plan-dev--rack.is-on rect { fill: var(--accent); }
.plan-dev:focus-visible text { text-decoration: underline; text-decoration-thickness: 2px; }
.plan-dev:focus-visible .plan-hit { stroke: var(--accent); stroke-width: 3; }
@media (max-width: 600px) { .plan-dev text { font-size: 14px; } .plan-rooms { font-size: 14px; } }

/* Пояснение лежит на самой схеме: сверху или снизу, в половине без выбранного устройства */
.plan__cap { position: absolute; left: 3%; right: 3%; bottom: 2.5%; pointer-events: none; font-size: 14px; line-height: 20px; }
.plan__cap[data-pos="top"] { top: 2.5%; bottom: auto; }
.plan__cap[data-pos="hint"] { top: 1%; bottom: auto; text-align: center; }
.plan__hint { display: inline-block; padding: 4px 16px; border-radius: var(--r-s); background: var(--surface); color: var(--text-2); font-size: 14px; line-height: 20px; }
.plan__hint-touch { display: none; }
@media (hover: none) { .plan__hint-mouse { display: none; } .plan__hint-touch { display: inline; } }
.plan__item { display: grid; gap: 4px; padding: 12px 16px; border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow); pointer-events: auto; animation: plan-cap .18s ease-out; }
.plan__item[hidden], .plan__hint[hidden] { display: none; }
.plan__name { font-size: 16px; }
.plan__text { color: var(--text-2); }
.plan__link { display: inline-flex; align-items: center; gap: 8px; justify-self: start; margin-top: 4px; font-weight: 500; text-underline-offset: 4px; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.plan__link svg { width: 16px; height: 16px; }
/* На касании подпись не перехватывает палец: устройство под ней можно выбрать сразу. Ссылка в подписи нажимается. */
@media (hover: none) { .plan__item { pointer-events: none; } .plan__link { pointer-events: auto; } }
@keyframes plan-cap { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (max-width: 600px) { .plan__cap { left: 2%; right: 2%; font-size: 14px; } .plan__item { padding: 12px 14px; } .plan__hint { padding: 4px 8px; } }

/* Полоса фактов под первым экраном */
.trust { background: var(--dark); color: #fff; }
.trust__list { list-style: none; margin: 0; padding: var(--s5) 0; display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: var(--s3); }
.trust__item { display: flex; flex-direction: column; gap: var(--s1); }
.trust__item::before { content: ""; width: 8px; height: 8px; margin-bottom: var(--s1); border-radius: var(--r-s); background: var(--accent); }
.trust__k { font-weight: 700; font-size: 20px; line-height: 28px; letter-spacing: -.01em; text-wrap: balance; }
.trust__v { font-size: 14px; line-height: 20px; color: var(--dark-text-2); font-variant-numeric: tabular-nums; text-wrap: balance; }
.trust + .section { padding-top: var(--s7); }
@media (max-width: 1000px) { .trust__list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .trust__list { grid-template-columns: 1fr; padding: var(--s4) 0; } .trust + .section { padding-top: var(--s6); } }

/* Сетки карточек: зазор 24 */
.services, .steps, .stats__list, .contacts, .works, .reqs-solo, .svc-list { display: grid; gap: var(--s3); margin: 0; padding: 0; list-style: none; }
.services { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.stats__list, .contacts, .works { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.reqs-solo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.works--lead { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.works--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.works--1 { grid-template-columns: 1fr; }
@media (max-width: 1000px) { .services, .works, .works--lead { grid-template-columns: repeat(2, minmax(0, 1fr)); } .works--1, .contacts { grid-template-columns: 1fr; } .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .services, .works, .works--lead, .works--2, .steps, .stats__list, .contacts, .reqs-solo { grid-template-columns: 1fr; gap: var(--s2); } }

/* Карточка услуги */
.svc { display: flex; flex-direction: column; padding: var(--s3); text-decoration: none; }
.svc__icon { width: 32px; height: 32px; margin-bottom: var(--s3); }
.svc h3 { margin-bottom: var(--s1); }
.svc p { color: var(--text-2); margin: 0 0 var(--s3); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.svc__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: var(--s2); }
.svc__price, .svc-row__price { font: 500 16px/24px var(--mono); white-space: nowrap; }
.svc__price small { font: inherit; color: var(--text-2); }
.svc__arrow, .svc-row__arrow { width: 24px; height: 24px; transition: transform .2s; }
a.svc:hover h3, .svc-row:hover h2, .work:hover .work__title { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
a.svc:hover .svc__arrow, .svc-row:hover .svc-row__arrow { transform: translateX(4px); }
.svc--ask { background: var(--dark); color: #fff; flex-direction: row; align-items: center; justify-content: space-between; gap: var(--s3); padding: var(--s4) var(--s5); }
.svc--ask h3 { font-size: 32px; line-height: 40px; letter-spacing: -.02em; }
.svc--ask p { display: block; -webkit-line-clamp: unset; color: var(--dark-text-2); margin: 0; max-width: 28em; }
.svc--ask .btn { flex: none; }
@media (min-width: 1001px) { .svc--wide { grid-column: span 2; } }
@media (max-width: 1000px) { .svc--ask { flex-direction: column; align-items: flex-start; justify-content: center; padding: var(--s4) var(--s3); } .svc--ask h3 { font-size: 24px; line-height: 32px; } }

/* Строка услуги на странице «Услуги и цены» */

.svc-row { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto 24px; gap: var(--s3); align-items: center; padding: var(--s3); text-decoration: none; }
.svc-row__icon { width: 48px; height: 48px; }
.svc-row h2 { font-size: 24px; line-height: 32px; margin: 0 0 var(--s1); }
.svc-row p { margin: 0; color: var(--text-2); max-width: 44em; }
@media (max-width: 760px) { .svc-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s3) var(--s2); } .svc-row__icon { width: 32px; height: 32px; flex: 0 0 32px; margin-right: calc(100% - 32px); } .svc-row > :nth-child(2) { flex: 0 0 100%; } .svc-row h2 { font-size: 20px; line-height: 28px; } }

/* Шаг */
.step { padding: var(--s3); }
.step__n { display: block; font: 500 14px/20px var(--mono); color: var(--text-2); margin-bottom: var(--s3); }
.step h3 { margin-bottom: var(--s1); }
.step p { color: var(--text-2); margin: 0; }

/* Цифра */
.stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: var(--s2); padding: var(--s4); }
.stat__value { margin: 0; font-weight: 700; font-size: 96px; line-height: 96px; letter-spacing: -.045em; font-variant-numeric: tabular-nums lining-nums; }
.stat__label { font-size: 20px; line-height: 28px; color: var(--text-2); max-width: 14em; }
@media (max-width: 1000px) { .stat__value { font-size: 64px; line-height: 64px; } .stat { padding: var(--s3); } .stat__label { font-size: 16px; line-height: 24px; } }

/* Отзыв */
.reviews { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: var(--s3); align-items: start; }
.reviews__head h2 { margin: 0; }
.reviews__list { display: grid; gap: var(--s3); }
.review { margin: 0; padding: var(--s5); }
.review__text { margin: 0 0 var(--s3); font-weight: 500; font-size: 32px; line-height: 40px; letter-spacing: -.02em; }
.review__text p { margin: 0 0 var(--s1); }
.review__text p:last-child { margin-bottom: 0; }
.review__by { color: var(--text-2); }
@media (max-width: 860px) { .reviews { grid-template-columns: 1fr; } .review { padding: var(--s3); } .review__text { font-size: 24px; line-height: 32px; } }

/* Логотипы: одна карточка на группу, знаки одной высоты, серые, цветные при наведении */
.logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s3); padding: var(--s4); }
.logos__item { display: grid; place-items: center; height: 48px; }
.logos__img { height: 32px; width: auto; max-width: 104px; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .25s, opacity .25s; }
.logos--client .logos__img { height: 40px; max-width: 184px; }
.logos__item:hover .logos__img { filter: none; opacity: 1; }
@media (max-width: 1000px) { .logos { justify-content: center; gap: var(--s3) var(--s4); } }
@media (max-width: 760px) { .logos { padding: var(--s3); } .logos--client .logos__img { height: 32px; max-width: 136px; } }

/* Работа: фото и подпись */
.work { display: block; text-decoration: none; }
.work[hidden] { display: none; }
.work__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--line); border-radius: var(--r); margin-bottom: var(--s2); }
.on-dark .work__img { background: var(--dark-surface); }
.work__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.work:hover .work__img img { transform: scale(1.03); }
.work__title { margin: 0 0 4px; }
.work__cats { font-size: 14px; line-height: 20px; color: var(--text-2); margin: 0; }
.on-dark .work__cats { color: var(--dark-text-2); }

.works--2 .work__img, .works--1 .work__img { aspect-ratio: 16 / 10; }
.works--1 .work { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: var(--s3); align-items: center; }
.works--1 .work__img { margin: 0; }
.works--1 .work__title { font-size: 32px; line-height: 40px; letter-spacing: -.02em; margin-bottom: var(--s1); }
.works--lead:not(.is-filtered) .work--lead { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: var(--s3); align-items: end; }
.works--lead:not(.is-filtered) .work--lead .work__img { aspect-ratio: 16 / 9; margin: 0; }
.works--lead:not(.is-filtered) .work--lead .work__title { font-size: 48px; line-height: 56px; letter-spacing: -.03em; margin-bottom: var(--s1); }
.works--lead:not(.is-filtered) .work--lead .work__cats { font-size: 16px; line-height: 24px; }
@media (max-width: 1000px) { .works--lead:not(.is-filtered) .work--lead .work__title { font-size: 32px; line-height: 40px; } }
@media (max-width: 760px) { .works--1 .work, .works--lead:not(.is-filtered) .work--lead { grid-template-columns: 1fr; gap: var(--s2); } .works--1 .work__title, .works--lead:not(.is-filtered) .work--lead .work__title { font-size: 24px; line-height: 32px; } .works--2 { grid-template-columns: 1fr; } }

/* Вкладки */
.tabs { display: flex; flex-wrap: wrap; gap: var(--s1); margin: 0 0 var(--s4); }
.tabs__tab { display: inline-flex; align-items: center; gap: var(--s1); min-height: 48px; padding: 0 var(--s2); border-radius: var(--r); background: var(--surface); font-weight: 500; text-decoration: none; white-space: nowrap; transition: background .15s, color .15s; }
.tabs__n { font: 500 14px/20px var(--mono); color: var(--text-2); }
.tabs__tab:hover, .tabs__tab.is-hover { background: var(--line); }
.tabs__tab[aria-current] { background: var(--dark); color: #fff; }
.tabs__tab[aria-current] .tabs__n { color: var(--dark-text-2); }
.on-dark .tabs__tab { background: var(--dark-surface); color: #fff; }
.on-dark .tabs__tab .tabs__n { color: var(--dark-text-2); }
.on-dark .tabs__tab:hover, .on-dark .tabs__tab.is-hover { background: var(--dark-line); }
.on-dark .tabs__tab[aria-current] { background: var(--accent); color: var(--accent-text); }
.on-dark .tabs__tab[aria-current] .tabs__n { color: var(--accent-text); }
@media (max-width: 760px) { .tabs { margin-bottom: var(--s3); } .tabs__tab { min-height: 40px; } }

/* О компании на главной, лицензия, реквизиты */
.about-band { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s3) var(--s5); align-items: start; }
.about-band__text { font-size: 20px; line-height: 28px; color: var(--text-2); margin-bottom: var(--s3); }
.license { padding: var(--s4); }
.license__k { font-size: 14px; line-height: 20px; color: var(--text-2); margin: 0 0 var(--s1); }
.license__v { font-weight: 500; font-size: 20px; line-height: 28px; margin: 0 0 var(--s3); }
.license__v--last { margin-bottom: 0; }
.reqs { display: grid; grid-template-columns: auto 1fr; gap: var(--s1) var(--s2); margin: 0; }
.reqs dt { font-size: 14px; line-height: 24px; color: var(--text-2); }
.reqs dd { margin: 0; font-weight: 500; font-variant-numeric: tabular-nums; }
@media (max-width: 860px) { .about-band { grid-template-columns: 1fr; } }

/* Форма заявки: поля на фоне страницы внутри белой карточки */
.lead { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s3) var(--s5); align-items: start; }
.lead__text p { color: var(--dark-text-2); font-size: 20px; line-height: 28px; max-width: 22em; }
.messengers { display: flex; flex-wrap: wrap; gap: var(--s1); margin-top: var(--s3); }
.form { color: var(--text); padding: var(--s4); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); }
.field { margin-bottom: var(--s2); }
.field label { display: block; font-weight: 500; font-size: 14px; line-height: 20px; margin-bottom: var(--s1); }
.field__opt { font-weight: 400; color: var(--text-2); margin-left: 4px; }
.field input, .field select, .field textarea { width: 100%; height: 48px; padding: 11px 16px; border: 1px solid var(--bg); border-radius: var(--r); background: var(--bg); color: var(--text); font: 400 16px/24px var(--font); transition: border-color .15s; }
.field textarea { height: auto; min-height: 96px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f1419' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 16px; padding-right: 48px; }
.field input:hover, .field input.is-hover, .field select:hover, .field textarea:hover { border-color: var(--line); }
.field input:focus, .field input.is-focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--text); box-shadow: 0 0 0 3px var(--accent); }
.field.has-error input, .field.has-error textarea { border-color: var(--error); }
.field__err { display: block; color: var(--error); font-size: 14px; line-height: 20px; margin-top: var(--s1); }
.consent { display: flex; flex-wrap: wrap; gap: var(--s2); align-items: flex-start; font-size: 14px; line-height: 20px; color: var(--text-2); margin: 0 0 var(--s3); }
.consent input { appearance: none; -webkit-appearance: none; width: 24px; height: 24px; margin: 0; flex: none; border: 1px solid var(--line); border-radius: var(--r-s); background: var(--bg) center / 16px no-repeat; cursor: pointer; }
.consent input:hover { border-color: var(--text-2); }
.consent input:checked { border-color: var(--dark); background-color: var(--dark); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E"); }
.consent input:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.consent a { color: var(--text); }
.consent > span { flex: 1; min-width: 0; }
.consent .field__err { flex-basis: 100%; margin: 0 0 0 40px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form .btn { width: 100%; }
.form__msg { margin: var(--s2) 0 0; padding: var(--s2); border-radius: var(--r); background: var(--bg); font-weight: 500; }
.form__msg--ok { background: var(--ok); color: var(--surface); }
.form__msg--error { color: var(--error); }
.form.is-sending .btn { opacity: .6; pointer-events: none; }
@media (max-width: 860px) { .lead { grid-template-columns: 1fr; } .form { padding: var(--s3); } }
@media (max-width: 520px) { .form__row { grid-template-columns: 1fr; gap: 0; } }

/* Окно звонка */
.callback { width: min(448px, calc(100vw - 32px)); padding: 0; border: 0; border-radius: var(--r); background: transparent; color: var(--text); box-shadow: var(--shadow); }
.callback::backdrop { background: color-mix(in srgb, var(--dark) 60%, transparent); }
.callback .form { position: relative; margin: 0; }
.callback h2 { font-size: 24px; line-height: 32px; margin-bottom: var(--s1); padding-right: var(--s5); }
.callback__text { color: var(--text-2); margin-bottom: var(--s3); }
.callback__close { position: absolute; top: var(--s2); right: var(--s2); width: 48px; height: 48px; display: grid; place-items: center; border: 0; border-radius: var(--r); background: var(--bg); color: var(--text); cursor: pointer; }
.callback__close:hover { background: var(--line); }
.callback__close svg { width: 24px; height: 24px; }

/* Шапка внутренней страницы */
.page-hero { padding: var(--s4) 0 var(--s6); }
.crumbs { list-style: none; padding: 0; margin: 0 0 var(--s4); display: flex; flex-wrap: wrap; gap: var(--s1); font-size: 14px; line-height: 20px; color: var(--text-2); }
.crumbs li + li::before { content: "/"; margin-right: var(--s1); color: var(--line); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--text); text-decoration: underline; }
.page-hero h1 { max-width: 20em; margin-bottom: var(--s2); }
.page-hero__lead { font-size: 20px; line-height: 28px; color: var(--text-2); max-width: 36em; margin: 0; }
.page-hero__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s4); align-items: end; }
.price-chip { display: inline-flex; flex-direction: column; gap: var(--s1); padding: var(--s3); min-width: 224px; }
.price-chip__k { font-size: 14px; line-height: 20px; color: var(--text-2); }
.price-chip__v { font: 500 24px/32px var(--mono); }
.page-hero__actions { margin-top: var(--s4); }
@media (max-width: 760px) { .page-hero { padding: var(--s3) 0 var(--s5); } .page-hero__row { grid-template-columns: 1fr; } .price-chip { min-width: 0; } .page-hero__lead { font-size: 16px; line-height: 24px; } }

/* Колонка текста и боковая карточка */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 352px; gap: var(--s5); align-items: start; }
.aside-card { position: sticky; top: calc(var(--header-h) + 24px); padding: var(--s3); }
.aside-card h2 { font-size: 20px; line-height: 28px; margin-bottom: var(--s1); }
.aside-card p { color: var(--text-2); }
.aside-card .btn { width: 100%; }
.aside-card .chips { margin: var(--s2) 0; }
@media (max-width: 960px) { .layout { grid-template-columns: 1fr; } .aside-card { position: static; } }

/* Текст из редактора */
.prose { max-width: 44em; }
.prose-wide { max-width: none; }
.prose > * + h2 { margin-top: var(--s5); }
.prose > * + h3 { margin-top: var(--s4); }
.prose h2 { font-size: 24px; line-height: 32px; }
.prose li { margin-bottom: var(--s1); }
.prose ul { list-style: none; padding-left: 0; }
.prose ul > li { position: relative; padding-left: 24px; }
.prose ul > li::before { content: ""; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; border-radius: var(--r-s); background: var(--accent); }
.prose ol { padding-left: 32px; }
.prose ol > li::marker { font: 500 14px var(--mono); color: var(--text-2); }
.prose a { color: var(--text); }
.prose blockquote { margin: var(--s3) 0; padding: var(--s3); border-radius: var(--r); background: var(--surface); font-size: 20px; line-height: 28px; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: var(--s4) 0; }
.prose figure { margin: var(--s3) 0; }
.prose figure img, .work-photo img { border-radius: var(--r); }
.prose figcaption { font-size: 14px; line-height: 20px; color: var(--text-2); margin-top: var(--s1); }
.prose table, .wp-block-table table { width: 100%; border-collapse: collapse; }
.prose th, .prose td { text-align: left; padding: 12px 16px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose details { border-radius: var(--r); padding: var(--s2) var(--s3); margin: 0 0 var(--s1); background: var(--surface); }
.prose summary { font-weight: 700; cursor: pointer; }
.wp-block-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s3); margin: var(--s3) 0; padding: 0; max-width: none; }
.wp-block-gallery.columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.work-gallery { grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); }
.wp-block-gallery .wp-block-image { margin: 0; aspect-ratio: 1 / 1; overflow: hidden; border-radius: var(--r); background: var(--line); }
.wp-block-gallery .wp-block-image img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.work-photo { margin: 0 0 var(--s3); }
.work-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
@media (max-width: 760px) { .wp-block-gallery, .work-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s2); } }

/* Таблица цен: строки через линию, внутри карточки */
.prices-card { padding: var(--s1) var(--s3); }
.prices { width: 100%; border-collapse: collapse; }
.prices caption { text-align: left; }
.prices th, .prices td { padding: 16px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: baseline; }
.prices tbody tr:last-child td { border-bottom: 0; }
.prices thead th { font-weight: 500; font-size: 14px; line-height: 20px; color: var(--text-2); }
.prices td:last-child, .prices th:last-child { text-align: right; padding-left: var(--s3); white-space: nowrap; }
.prices td:last-child { font: 500 16px/24px var(--mono); }
.prices__note { color: var(--text-2); font-size: 14px; line-height: 20px; margin-top: var(--s2); }
@media (max-width: 560px) { .prices td:last-child { white-space: normal; min-width: 96px; } }

/* Ссылки строкой и метки */
.inline-links { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s3); list-style: none; padding: 0; margin: 0; font-weight: 500; }
.inline-links a { text-decoration: underline; text-decoration-color: var(--line); }
.inline-links a:hover { text-decoration-color: var(--accent); }
.chips { display: flex; flex-wrap: wrap; gap: var(--s1); list-style: none; padding: 0; margin: 0; }
.chips a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 var(--s2); border-radius: var(--r-s); text-decoration: none; font-weight: 500; background: var(--surface); transition: background .15s, color .15s; }
.aside-card .chips a, .card .chips a { background: var(--bg); }
.chips a:hover, .chips a.is-hover { background: var(--dark); color: #fff; }

/* Контакты */
.contact { padding: var(--s3); }
.contact__k { font-size: 14px; line-height: 20px; color: var(--text-2); margin-bottom: var(--s1); }
.contact__v { font-size: 20px; line-height: 28px; font-weight: 500; overflow-wrap: anywhere; }
.contact__v a { text-decoration: none; }
.contact__v a:hover { text-decoration: underline; }
.contact__v .contact__map { display: inline-block; margin-top: var(--s1); font-size: 16px; line-height: 24px; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.contacts + .about-band, .contacts + .reqs-solo { margin-top: var(--s3); }

/* Подвал */
.site-footer { background: var(--dark); color: var(--dark-text-2); padding: var(--s6) 0 calc(var(--s3) + env(safe-area-inset-bottom)); border-top: 1px solid var(--dark-line); }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.footer-grid { display: grid; grid-template-columns: 4fr 3fr 3fr 2fr; gap: var(--s5) var(--s3); }
.footer-grid h2 { font-weight: 500; font-size: 14px; line-height: 20px; letter-spacing: 0; color: var(--dark-text-2); margin: 0 0 var(--s2); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li + li { margin-top: var(--s1); }
.footer-brand .logo__name { color: #fff; }
.footer-brand p { margin-top: var(--s2); max-width: 20em; }
.footer-phone { font: 500 20px/28px var(--mono); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s4); justify-content: space-between; margin-top: var(--s6); padding-top: var(--s3); border-top: 1px solid var(--dark-line); font-size: 14px; line-height: 20px; }
.footer-bottom a { color: var(--dark-text-2); }
.reqs--footer dt { color: var(--dark-text-2); }
.reqs--footer dd { color: #fff; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* Нижняя панель на телефоне */
.callbar { display: none; }
@media (max-width: 760px) {
	.callbar { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s1); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: var(--s1) var(--s2) calc(var(--s1) + env(safe-area-inset-bottom)); background: var(--bg); border-top: 1px solid var(--line); }
	.callbar .btn { padding: 0 var(--s2); }
	body { padding-bottom: 64px; }
}

/* Место под фото, если его ещё не загрузили */
.ph-img { display: grid; place-items: center; width: 100%; height: 100%; color: var(--text-2); font-size: 14px; line-height: 20px; text-align: center; padding: var(--s2); background: var(--line); }

/* 404 */
.notfound { padding: var(--s7) 0; }
.notfound__code { font: 500 14px/20px var(--mono); color: var(--text-2); margin-bottom: var(--s2); }
.notfound .page-hero__lead { margin-bottom: var(--s3); }
.notfound .chips { margin-top: var(--s3); }

/* Уведомление о cookie */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 70; max-width: 560px; margin: 0 auto; display: flex; gap: var(--s2); align-items: center; padding: var(--s2); background: var(--dark); color: #fff; border-radius: var(--r); font-size: 14px; line-height: 20px; box-shadow: var(--shadow); }
.cookie a { color: #fff; }
.cookie .btn { flex: none; }
.cookie[hidden] { display: none; }
@media (max-width: 760px) { .cookie { bottom: 80px; } }

/* Лист системы */
.sg { display: grid; gap: var(--s6); }
.sg__row { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: flex-start; }
.sg__sw { width: 152px; }
.sg__sw i { display: block; height: 64px; border-radius: var(--r); border: 1px solid var(--line); margin-bottom: var(--s1); }
.sg__note { font-size: 14px; line-height: 20px; color: var(--text-2); }
.sg__dark { background: var(--dark); color: #fff; padding: var(--s4); border-radius: var(--r); }
