/* =========================================================
   sushka.kz — дизайн-система
   Чёрный / белый / сигнальный жёлтый. Unbounded + Golos Text.
   ========================================================= */

@font-face {
    font-family: "Unbounded";
    src: url("../fonts/unbounded.woff") format("woff");
    font-weight: 200 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Golos Text";
    src: url("../fonts/golos-text.woff") format("woff");
    font-weight: 400 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --black: #000;
    --white: #fff;
    --yellow: #ffd100;
    --yellow-press: #f0c400;
    --grey: #ededeb;
    --line: #d6d6d2;
    --muted: #5c5c58;
    --on-black-muted: #a3a39e;
    --on-black-line: #2e2e2c;
    --danger: #c4231a;
    --ok: #1d7a3a;

    --font-display: "Unbounded", "Arial Black", system-ui, sans-serif;
    --font-text: "Golos Text", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

    --container: 1240px;
    --gutter: clamp(16px, 4vw, 40px);
    --section: clamp(64px, 9vw, 128px);
    --radius-field: 6px;
    --header-h: 76px;

    --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
    margin: 0;
    background: var(--white);
    color: var(--black);
    font: 400 17px/1.6 var(--font-text);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.section--yellow :focus-visible, .cta :focus-visible, .city-panel--yellow:focus-visible { outline-color: var(--black); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

.visually-hidden, .hp {
    position: absolute !important; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--yellow); padding: 10px 16px; font-weight: 600; }
.skip-link:focus { top: 12px; }

/* ---------- Кнопки ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 48px; padding: 12px 26px;
    border: 2px solid transparent; border-radius: 999px;
    font-weight: 600; font-size: 16px; line-height: 1.2; text-decoration: none; text-align: center;
    cursor: pointer; transition: background-color .15s, color .15s, border-color .15s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 42px; padding: 8px 20px; font-size: 15px; }
.btn--lg { min-height: 58px; padding: 14px 32px; font-size: 17px; }
.btn--block { width: 100%; }
.btn--yellow { background: var(--yellow); color: var(--black); }
.btn--yellow:hover { background: var(--yellow-press); }
.btn--black { background: var(--black); color: var(--white); }
.btn--black:hover { background: #262626; }
.btn--ghost-light { border-color: rgba(255, 255, 255, .35); color: var(--white); }
.btn--ghost-light:hover { border-color: var(--white); }
.btn--ghost { border-color: var(--black); color: var(--black); }
.btn--ghost:hover { background: var(--black); color: var(--white); }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- Логотип ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 21px/1 var(--font-display); letter-spacing: -.02em; }
.logo img { width: 36px; height: 36px; }
.logo__tld { color: var(--muted); font-weight: 500; }
.logo--light { color: var(--white); }
.logo--light .logo__tld { color: var(--on-black-muted); }

/* ---------- Шапка ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: saturate(1.4) blur(8px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header__inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }

.main-nav ul { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.main-nav a { display: block; padding: 8px 12px; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: 16px; }
.main-nav a:hover { background: var(--grey); }
.main-nav a[aria-current="page"] { background: var(--black); color: var(--white); }
.main-nav__mobile-cta { display: none; }

.site-header__actions { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.header-phone { display: flex; flex-direction: column; text-decoration: none; text-align: right; line-height: 1.25; }
.header-phone__number { font-weight: 700; font-size: 17px; white-space: nowrap; }
.header-phone__note { font-size: 13px; color: var(--muted); }

.burger { display: none; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--black); cursor: pointer; position: relative; }
.burger__line { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--white); transition: transform .2s var(--ease); }
.burger__line:first-child { top: 18px; }
.burger__line:nth-child(2) { top: 26px; }
.burger[aria-expanded="true"] .burger__line:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__line:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Герой ---------- */
.hero { background: var(--black); color: var(--white); padding: clamp(48px, 8vw, 112px) 0 clamp(56px, 8vw, 104px); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.hero__title {
    font: 800 clamp(1.9rem, 3.7vw, 3.4rem)/1.04 var(--font-display);
    letter-spacing: -.035em;
    max-width: 17ch;
    overflow-wrap: break-word;
    text-wrap: balance;
}
.hero__text { margin-top: 28px; max-width: 52ch; font-size: clamp(17px, 1.5vw, 20px); color: #d9d9d4; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 12px 40px; margin: 48px 0 0; padding: 24px 0 0; list-style: none; border-top: 1px solid var(--on-black-line); color: var(--on-black-muted); font-size: 15px; line-height: 1.4; }
.hero__facts strong { display: block; color: var(--white); font: 700 22px/1.2 var(--font-display); margin-bottom: 4px; }

/* Влагомер — главный визуальный элемент */
.meter { margin: 0; }
.meter__screen { background: var(--yellow); color: var(--black); padding: 28px 28px 24px; position: relative; }
.meter__screen::before {
    content: ""; position: absolute; left: 28px; right: 28px; top: 0; height: 6px;
    background: repeating-linear-gradient(90deg, var(--black) 0 14px, transparent 14px 28px);
}
.meter__head { display: flex; justify-content: space-between; gap: 12px; padding-top: 10px; font-weight: 600; font-size: 15px; }
.meter__day { font-variant-numeric: tabular-nums; background: var(--black); color: var(--yellow); padding: 2px 10px; border-radius: 999px; font-size: 13px; }
.meter__value { font: 800 clamp(4.5rem, 9vw, 7.2rem)/1 var(--font-display); letter-spacing: -.05em; margin: 18px 0 20px; font-variant-numeric: tabular-nums; }
.meter__value small { font-size: .38em; letter-spacing: 0; margin-left: 6px; vertical-align: .9em; }
.meter__scale { position: relative; height: 18px; background: rgba(0, 0, 0, .12); }
.meter__fill { position: absolute; inset: 0 auto 0 0; width: var(--level); background: var(--black); transition: width .2s linear; }
.meter__norm { position: absolute; top: -6px; bottom: -6px; left: var(--norm); width: 2px; background: var(--black); }
.meter__norm span { position: absolute; top: 28px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 12px; font-weight: 600; }
.meter__readings { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 44px 0 0; padding-top: 16px; border-top: 2px solid var(--black); }
.meter__readings dt { font-size: 13px; }
.meter__readings dd { margin: 0; font: 700 18px/1.3 var(--font-display); }
.meter__caption { margin-top: 14px; font-size: 14px; color: var(--on-black-muted); }
.meter__caption a { color: var(--white); }

/* ---------- Секции ---------- */
.section { padding: var(--section) 0; }
.section--grey { background: var(--grey); }
.section--black { background: var(--black); color: var(--white); }
.section--tight { padding-top: clamp(32px, 4vw, 56px); }
.section__head { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 56px); }
.section__head .section__title { margin-bottom: 0; }
.section__title { font: 700 clamp(1.8rem, 3.6vw, 3rem)/1.08 var(--font-display); letter-spacing: -.03em; margin-bottom: clamp(32px, 4vw, 56px); max-width: 20ch; text-wrap: balance; }
.section__title--spaced { margin-top: 64px; margin-bottom: 24px; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.section__lead { max-width: 60ch; margin: calc(clamp(32px, 4vw, 56px) * -0.6) 0 40px; color: var(--muted); font-size: 18px; }
.section--black .section__lead { color: var(--on-black-muted); }

.link-more { font-weight: 600; text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.link-more:hover { text-decoration-color: currentColor; }
.link-more--light { color: var(--white); }

/* ---------- Список услуг ---------- */
.service-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--black); }
.service-row a {
    display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.6fr) minmax(150px, .7fr) 40px;
    gap: 24px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--line);
    text-decoration: none; transition: background-color .15s, padding .2s var(--ease);
}
.service-row a:hover { background: var(--yellow); padding-left: 20px; padding-right: 20px; }
.service-row__title { font: 700 clamp(1.15rem, 1.8vw, 1.45rem)/1.2 var(--font-display); letter-spacing: -.02em; }
.service-row__text { color: var(--muted); font-size: 16px; }
.service-row a:hover .service-row__text { color: var(--black); }
.service-row__price { font-weight: 700; font-size: 18px; white-space: nowrap; }
.service-row__price span { display: block; font-weight: 400; font-size: 14px; color: var(--muted); }
.service-row a:hover .service-row__price span { color: var(--black); }
.service-row__arrow { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--black); position: relative; }
.service-row__arrow::before { content: ""; position: absolute; inset: 0; margin: auto; width: 10px; height: 10px; border-top: 2px solid; border-right: 2px solid; transform: translateX(-2px) rotate(45deg); }
.service-row a:hover .service-row__arrow { background: var(--black); color: var(--yellow); }

/* ---------- Шаги ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: step; }
.step { counter-increment: step; padding: 0 24px 0 0; position: relative; }
.step::before {
    content: counter(step); display: grid; place-items: center;
    width: 52px; height: 52px; border-radius: 50%; background: var(--black); color: var(--yellow);
    font: 700 20px/1 var(--font-display); margin-bottom: 24px; position: relative; z-index: 1;
}
.step::after { content: ""; position: absolute; top: 26px; left: 52px; right: 0; height: 2px; background: var(--black); }
.step:last-child::after { display: none; }
.step__title { font-weight: 700; font-size: 18px; line-height: 1.3; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 15px; }

/* ---------- Города ---------- */
.cities { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.city-panel { display: flex; flex-direction: column; min-height: 420px; padding: clamp(28px, 4vw, 52px); background: var(--black); color: var(--white); text-decoration: none; position: relative; }
.city-panel--yellow { background: var(--yellow); color: var(--black); }
.city-panel__name { font: 800 clamp(2.6rem, 6vw, 5.2rem)/1 var(--font-display); letter-spacing: -.045em; }
.city-panel__text { margin-top: 20px; max-width: 40ch; opacity: .85; }
.city-panel__facts { display: flex; gap: 40px; flex-wrap: wrap; margin: auto 0 0; padding-top: 40px; }
.city-panel__facts dt { font-size: 14px; opacity: .7; }
.city-panel__facts dd { margin: 0; font-weight: 700; font-size: 18px; }
.city-panel__more { margin-top: 28px; font-weight: 600; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.city-panel:hover .city-panel__name { text-decoration: underline; text-decoration-thickness: 4px; text-underline-offset: 10px; }

/* ---------- Карта влажности ---------- */
.mmap { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 18px; background: #141414; }
.mmap__grid { display: grid; grid-template-columns: repeat(var(--cols), 1fr); gap: 3px; }
.mmap__cell { aspect-ratio: 1; border-radius: 2px; background: #2a2a28; }
.mmap__cell.l1 { background: #4d4413; }
.mmap__cell.l2 { background: #7d6a0d; }
.mmap__cell.l3 { background: #b39500; }
.mmap__cell.l4 { background: #e3bb00; }
.mmap__cell.l5 { background: var(--yellow); }
.mmap__caption { display: flex; justify-content: space-between; align-items: baseline; margin-top: 10px; color: var(--on-black-muted); font-size: 13px; }
.mmap__caption strong { color: var(--white); font: 700 16px/1 var(--font-display); }
.mmap--lg { gap: 24px; padding: clamp(18px, 3vw, 32px); }
.mmap--lg .mmap__grid { gap: 4px; }
.mmap--lg .mmap__caption strong { font-size: 26px; }

/* ---------- Карточки проектов ---------- */
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.project-card__link { display: flex; flex-direction: column; height: 100%; text-decoration: none; background: var(--black); color: var(--white); border: 1px solid var(--on-black-line); transition: border-color .15s; }
.project-card__link:hover { border-color: var(--yellow); }
.project-card__img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.project-card__body { padding: 22px 22px 26px; display: flex; flex-direction: column; flex: 1; }
.project-card__meta { color: var(--on-black-muted); font-size: 14px; margin-bottom: 8px; }
.project-card__title { font: 700 19px/1.25 var(--font-display); letter-spacing: -.02em; margin-bottom: 20px; }
.project-card__link:hover .project-card__title { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.project-card__facts { display: flex; flex-wrap: wrap; gap: 12px 24px; margin: auto 0 0; font-size: 14px; }
.project-card__facts dt { color: var(--on-black-muted); }
.project-card__facts dd { margin: 0; font-weight: 600; }
.section:not(.section--black) .project-card__link { border-color: var(--black); }

/* ---------- Отзывы ---------- */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review { padding: 28px; border: 2px solid var(--black); display: flex; flex-direction: column; background: var(--white); }
.review__rating { display: flex; gap: 4px; margin-bottom: 16px; }
.star { width: 18px; height: 18px; background: var(--line); clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.star--on { background: var(--black); }
.review__body { margin: 0 0 24px; font-size: 16px; line-height: 1.6; flex: 1; }
.review__footer { display: flex; flex-direction: column; gap: 2px; font-size: 14px; color: var(--muted); }
.review__footer strong { color: var(--black); font-size: 16px; }
.review__answer { margin-top: 20px; padding: 16px; background: var(--grey); font-size: 15px; }
.review__answer p { margin-top: 6px; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 48px; align-items: start; }
.faq__list { border-top: 2px solid var(--black); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative; font-weight: 600; font-size: 18px; line-height: 1.4; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; margin-top: -9px; border-right: 2px solid; border-bottom: 2px solid; transform: rotate(45deg); transition: transform .2s var(--ease); }
.faq__item[open] summary::after { transform: rotate(225deg); margin-top: -3px; }
.faq__item p { padding: 0 0 24px; margin: 0; max-width: 64ch; color: #2b2b29; }

/* ---------- CTA и форма ---------- */
.cta { background: var(--yellow); padding: var(--section) 0; }
.cta__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.cta__title { font: 800 clamp(1.9rem, 4vw, 3.4rem)/1.04 var(--font-display); letter-spacing: -.035em; text-wrap: balance; }
.cta__text { margin-top: 24px; max-width: 46ch; font-size: 18px; }
.cta__phone { display: inline-block; margin-top: 36px; font: 700 clamp(1.5rem, 3vw, 2.2rem)/1.1 var(--font-display); letter-spacing: -.02em; text-decoration: none; border-bottom: 3px solid var(--black); }
.cta__hours { margin-top: 12px; font-size: 15px; }
.cta__form { background: var(--white); padding: clamp(24px, 3.5vw, 40px); }

.lead-form { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field label, .field legend { font-weight: 600; font-size: 15px; padding: 0; }
.field__opt { font-weight: 400; color: var(--muted); }
.field input, .field textarea, .field select {
    width: 100%; min-height: 52px; padding: 12px 16px;
    border: 2px solid var(--line); border-radius: var(--radius-field); background: var(--white);
    font-size: 17px; transition: border-color .15s;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:hover, .field textarea:hover, .field select:hover { border-color: #a8a8a3; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--black); box-shadow: 0 0 0 3px var(--yellow); }
.field--error input, .field--error textarea { border-color: var(--danger); }
.field__error { color: var(--danger); font-size: 14px; min-height: 0; }
.field__error:empty { display: none; }

.choice { display: flex; gap: 8px; flex-wrap: wrap; }
.choice__item { position: relative; }
.choice__item input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice__item span { display: block; padding: 10px 20px; border: 2px solid var(--line); border-radius: 999px; font-weight: 600; cursor: pointer; }
.choice__item input:checked + span { background: var(--black); border-color: var(--black); color: var(--white); }
.choice__item input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }

.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.45; color: var(--muted); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--black); flex-shrink: 0; }
.lead-form__note { font-size: 14px; color: var(--muted); margin: 0; }
.lead-form__status:empty { display: none; }
.lead-form__status { padding: 14px 16px; font-weight: 600; font-size: 15px; }
.lead-form__status.is-ok { background: var(--black); color: var(--yellow); }
.lead-form__status.is-error { background: #fdecea; color: var(--danger); }

.stars-input { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.stars-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.stars-input label { width: 34px; height: 34px; cursor: pointer; background: var(--line); clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.stars-input label:hover, .stars-input label:hover ~ label, .stars-input input:checked ~ label { background: var(--black); }
.stars-input input:focus-visible + label { outline: 3px solid var(--yellow); }

/* ---------- Модальное окно заявки ---------- */
.lead-dialog { width: min(520px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; background: var(--white); }
.lead-dialog::backdrop { background: rgba(0, 0, 0, .7); }
.lead-dialog[open] { animation: dialog-in .25s var(--ease); }
@keyframes dialog-in { from { opacity: 0; transform: translateY(16px); } }
.lead-dialog__inner { padding: 36px 32px 32px; position: relative; border-top: 8px solid var(--yellow); }
.lead-dialog__close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border: 0; background: var(--grey); border-radius: 50%; font-size: 26px; line-height: 1; cursor: pointer; }
.lead-dialog__title { font: 700 26px/1.15 var(--font-display); letter-spacing: -.02em; padding-right: 48px; }
.lead-dialog__text { margin: 12px 0 24px; color: var(--muted); font-size: 16px; }

/* ---------- Внутренние страницы ---------- */
.page-head { padding: clamp(32px, 5vw, 64px) 0 clamp(40px, 5vw, 72px); border-bottom: 2px solid var(--black); }
.page-head--black { background: var(--black); color: var(--white); border-bottom: 0; }
.page-head__title { font: 800 clamp(2.1rem, 5vw, 4.2rem)/1.02 var(--font-display); letter-spacing: -.035em; max-width: 18ch; text-wrap: balance; margin-top: 20px; }
.page-head__lead { margin-top: 24px; max-width: 60ch; font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); }
.page-head--black .page-head__lead { color: #d0d0cb; }
.page-head__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: 14px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.page-head--black .crumbs ol { color: var(--on-black-muted); }
.page-head--black .crumbs li + li::before { color: var(--on-black-line); }

.layout-aside { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(32px, 5vw, 80px); align-items: start; }
.aside-card { position: sticky; top: calc(var(--header-h) + 24px); padding: 28px; border: 2px solid var(--black); }
.aside-card--yellow { background: var(--yellow); border-color: var(--yellow); }
.aside-card__price { font: 800 34px/1.05 var(--font-display); letter-spacing: -.03em; }
.aside-card__unit { color: var(--muted); margin-top: 4px; }
.aside-card dl { margin: 24px 0; display: grid; gap: 12px; }
.aside-card dt { font-size: 14px; color: var(--muted); }
.aside-card dd { margin: 0; font-weight: 600; }
.aside-card .btn + .btn { margin-top: 10px; }

.prose { max-width: 68ch; font-size: 18px; line-height: 1.7; }
.prose h2 { font: 700 clamp(1.4rem, 2.4vw, 1.9rem)/1.2 var(--font-display); letter-spacing: -.02em; margin: 1.8em 0 .6em; }
.prose h3 { font-size: 1.2rem; margin: 1.5em 0 .5em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--yellow); }
.prose a { text-decoration-color: var(--yellow); text-decoration-thickness: 2px; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tags li, .tags a { display: inline-block; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 15px; text-decoration: none; }
.tags a:hover, .tags a[aria-current="true"] { background: var(--black); color: var(--white); border-color: var(--black); }

.city-services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 2px solid var(--black); }
.city-services a { display: flex; justify-content: space-between; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: 18px; }
.city-services a:nth-child(odd) { padding-right: 32px; }
.city-services a:nth-child(even) { padding-left: 32px; border-left: 1px solid var(--line); }
.city-services a:hover { background: var(--yellow); }
.city-services span { color: var(--muted); font-weight: 400; white-space: nowrap; }

.facts-band { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--on-black-line); margin-top: 48px; }
.facts-band div { padding: 24px 24px 0 0; }
.facts-band dt { color: var(--on-black-muted); font-size: 14px; }
.facts-band dd { margin: 4px 0 0; font: 700 22px/1.2 var(--font-display); }

.project-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.project-hero__img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }

.pagination { display: flex; gap: 8px; margin-top: 48px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 44px; height: 44px; display: grid; place-items: center; padding: 0 12px; border: 2px solid var(--black); text-decoration: none; font-weight: 600; }
.pagination span[aria-current] { background: var(--black); color: var(--white); }

.rating-summary { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 28px; }
.rating-summary__value { font: 800 56px/1 var(--font-display); letter-spacing: -.04em; }

.review-form-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); align-items: start; }

.contact-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.contact-card { padding: clamp(24px, 3vw, 40px); border: 2px solid var(--black); display: flex; flex-direction: column; gap: 18px; }
.contact-card__city { font: 800 clamp(2rem, 4vw, 3rem)/1 var(--font-display); letter-spacing: -.04em; }
.contact-card__phone { font: 700 24px/1.2 var(--font-display); text-decoration: none; }
.contact-card dl { margin: 0; display: grid; gap: 12px; }
.contact-card dt { font-size: 14px; color: var(--muted); }
.contact-card dd { margin: 0; }
.contact-card iframe { width: 100%; height: 280px; border: 0; margin-top: auto; }
.contact-card__actions { display: flex; flex-wrap: wrap; gap: 10px; }

.empty { padding: 48px; border: 2px dashed var(--line); text-align: center; color: var(--muted); }

.error-page { padding: clamp(64px, 12vw, 160px) 0; }
.error-page__code { font: 800 clamp(5rem, 18vw, 12rem)/.9 var(--font-display); letter-spacing: -.06em; color: var(--yellow); -webkit-text-stroke: 3px var(--black); }
.error-page p { max-width: 50ch; font-size: 19px; margin: 24px 0 32px; }

/* ---------- Уведомления ---------- */
.toast { position: fixed; z-index: 60; left: 50%; top: calc(var(--header-h) + 16px); transform: translateX(-50%); max-width: calc(100% - 32px); padding: 14px 22px; font-weight: 600; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); transition: opacity .3s, transform .3s; }
.toast--ok { background: var(--black); color: var(--yellow); }
.toast--error { background: var(--danger); color: var(--white); }
.toast.is-hidden { opacity: 0; transform: translate(-50%, -10px); pointer-events: none; }

/* ---------- Подвал ---------- */
.site-footer { background: var(--black); color: var(--white); padding: clamp(56px, 7vw, 96px) 0 0; font-size: 16px; }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr 1.2fr 1fr 1fr; gap: 40px; padding-bottom: 56px; }
.site-footer__brand p { margin-top: 20px; max-width: 30ch; color: #d0d0cb; }
.site-footer__title { font: 700 17px/1.3 var(--font-display); margin-bottom: 18px; }
.site-footer__title a { text-decoration: none; }
.site-footer__title a:hover { color: var(--yellow); }
.site-footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer__list a { text-decoration: none; color: #d0d0cb; }
.site-footer__list a:hover { color: var(--yellow); }
.site-footer__phone { font-weight: 700; color: var(--white) !important; font-size: 18px; }
.site-footer__muted { color: var(--on-black-muted) !important; font-size: 15px; }
.site-footer__bottom { display: flex; flex-wrap: wrap; gap: 12px 32px; padding-top: 24px; padding-bottom: 28px; border-top: 1px solid var(--on-black-line); color: var(--on-black-muted); font-size: 14px; }
.site-footer__bottom a { color: var(--on-black-muted); }

.sticky-call { display: none; }

/* ---------- Верхняя панель и выбор города ---------- */
.topbar { background: var(--black); color: #cfcfca; font-size: 14px; }
.topbar__inner { display: flex; align-items: center; gap: 24px; min-height: 40px; }
.city-switch { display: flex; align-items: center; gap: 4px; }
.city-switch__label { margin-right: 6px; }
.city-switch__item { padding: 4px 12px; border-radius: 999px; color: var(--white); text-decoration: none; font-weight: 600; }
.city-switch__item:hover { background: #262626; }
.city-switch__item[aria-current="true"] { background: var(--yellow); color: var(--black); }
.topbar__hours { margin-left: auto; }
.topbar__wa { color: var(--yellow); font-weight: 600; text-decoration: none; }

/* ---------- Мега-меню услуг ---------- */
.has-mega { position: static; }
.mega {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 24px 48px rgba(0, 0, 0, .14);
    opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s, visibility .18s;
}
.has-mega:hover > .mega, .has-mega:focus-within > .mega { opacity: 1; visibility: visible; transform: none; }
.mega__grid { max-width: var(--container); margin: 0 auto; padding: 32px var(--gutter) 36px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; }
.main-nav .mega__title { display: block; padding: 0 0 10px; margin-bottom: 8px; border-bottom: 2px solid var(--yellow); border-radius: 0; font: 700 15px/1.3 var(--font-display); }
.main-nav .mega__title:hover { background: none; text-decoration: underline; }
.mega ul { display: grid !important; gap: 2px !important; }
.main-nav .mega ul a { padding: 5px 0; border-radius: 0; font-size: 14px; font-weight: 400; color: #2b2b29; }
.main-nav .mega ul a:hover { background: none; color: var(--black); text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; }
.site-header__inner { position: relative; }

/* ---------- Герой с фото ---------- */
.hero__city { display: inline-block; margin-bottom: 20px; padding: 6px 14px; border: 1px solid var(--on-black-line); border-radius: 999px; font-size: 14px; color: #d0d0cb; }
.hero__visual { display: flex; flex-direction: column; }
.hero__photo { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }

/* Панель влагомера под иллюстрацией */
.readout { margin: 0; background: var(--yellow); color: var(--black); padding: 22px 26px 20px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px 28px; align-items: end; position: relative; }
.readout::before { content: ""; position: absolute; left: 26px; right: 26px; top: 0; height: 6px; background: repeating-linear-gradient(90deg, var(--black) 0 14px, transparent 14px 28px); }
.readout__main { display: grid; gap: 2px; padding-top: 6px; }
.readout__label { font-weight: 600; font-size: 14px; display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.readout__day { font-variant-numeric: tabular-nums; background: var(--black); color: var(--yellow); padding: 1px 9px; border-radius: 999px; font-size: 12px; }
.readout__value { font: 800 clamp(3rem, 5.4vw, 4.4rem)/1 var(--font-display); letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.readout__value small { font-size: .4em; letter-spacing: 0; margin-left: 4px; vertical-align: .9em; }
.readout__scale { padding-bottom: 6px; }
.readout__track { position: relative; height: 16px; background: rgba(0, 0, 0, .14); }
.readout__fill { position: absolute; inset: 0 auto 0 0; width: var(--level); background: var(--black); }
.readout__norm { position: absolute; top: -6px; bottom: -6px; left: var(--norm); width: 3px; background: var(--black); }
.readout__start { position: absolute; top: -8px; left: var(--start); width: 0; height: 0; border-left: 7px solid transparent; border-right: 7px solid transparent; border-top: 9px solid var(--black); transform: translateX(-7px); opacity: .5; }
.readout__ticks { position: relative; display: flex; justify-content: space-between; margin-top: 8px; font-size: 12px; font-weight: 600; }
.readout__ticks span[style] { position: absolute; left: var(--pos); transform: translateX(-2px); white-space: nowrap; padding-left: 0; }
.readout__ticks span:first-child { visibility: hidden; }
.readout__facts { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 4px 0 0; padding-top: 14px; border-top: 2px solid var(--black); }
.readout__facts dt { font-size: 13px; }
.readout__facts dd { margin: 0; font: 700 18px/1.3 var(--font-display); }
.readout__caption { grid-column: 1 / -1; font-size: 13px; }
.readout__caption a { color: var(--black); font-weight: 600; }

/* ---------- График сушки в первом экране ---------- */
.hero__visual { padding-bottom: 0; }
.dchart { margin: 0; background: var(--yellow); color: var(--black); padding: clamp(20px, 2.6vw, 30px); position: relative; }
.dchart::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: repeating-linear-gradient(90deg, var(--black) 0 16px, transparent 16px 32px); }
.dchart__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding-top: 8px; }
.dchart__label { display: block; font-weight: 700; font-size: 15px; }
.dchart__object { display: block; font-size: 14px; opacity: .75; margin-top: 2px; }
.dchart__badge { flex-shrink: 0; background: var(--black); color: var(--yellow); padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.dchart__now { display: flex; align-items: flex-end; gap: 18px; margin: 14px 0 6px; }
.dchart__value { font: 800 clamp(3.6rem, 7vw, 5.6rem)/.9 var(--font-display); letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.dchart__value small { font-size: .4em; letter-spacing: 0; margin-left: 4px; vertical-align: .95em; }
.dchart__delta { font-size: 14px; line-height: 1.35; padding-bottom: 8px; font-weight: 600; }
.dchart__svg { width: 100%; height: auto; overflow: visible; margin-top: 6px; }
.dchart__grid { stroke: rgba(0, 0, 0, .14); stroke-width: 1; }
.dchart__axis { font: 600 12px var(--font-text); fill: rgba(0, 0, 0, .6); }
.dchart__zone { fill: rgba(255, 255, 255, .45); }
.dchart__norm { stroke: var(--black); stroke-width: 2; stroke-dasharray: 6 6; }
.dchart__norm-label { font: 700 13px var(--font-text); fill: var(--black); }
.dchart__area { fill: rgba(0, 0, 0, .1); }
.dchart__line { fill: none; stroke: var(--black); stroke-width: 4; stroke-linejoin: round; stroke-linecap: round; }
.dchart__dot { fill: var(--yellow); stroke: var(--black); stroke-width: 3; }
.dchart__dot--last { fill: var(--black); stroke: var(--white); }
.dchart__first { font: 800 15px var(--font-display); fill: var(--black); }
.dchart__facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 16px 0 0; padding-top: 14px; border-top: 2px solid var(--black); }
.dchart__facts dt { font-size: 13px; }
.dchart__facts dd { margin: 0; font: 700 17px/1.3 var(--font-display); }
.dchart__caption { margin-top: 14px; font-size: 14px; }
.dchart__caption a { font-weight: 600; }
@media (prefers-reduced-motion: no-preference) {
    .dchart.is-animating .dchart__line { stroke-dasharray: 1; stroke-dashoffset: 1; animation: dchart-draw 2.4s .3s cubic-bezier(.3, .6, .2, 1) forwards; }
    .dchart.is-animating .dchart__dot { opacity: 0; animation: dchart-dot .3s forwards; animation-delay: calc(.3s + var(--i) * .22s); }
    .dchart.is-animating .dchart__area { opacity: 0; animation: dchart-dot .8s 1.8s forwards; }
}
@keyframes dchart-draw { to { stroke-dashoffset: 0; } }
@keyframes dchart-dot { to { opacity: 1; } }

/* ---------- Преимущества ---------- */
.benefits { background: var(--yellow); }
.benefits__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.benefit { padding: 26px 28px 26px 0; display: grid; gap: 4px; }
.benefit + .benefit { padding-left: 28px; border-left: 2px solid var(--black); }
.benefit strong { font: 700 clamp(1.05rem, 1.6vw, 1.3rem)/1.2 var(--font-display); letter-spacing: -.02em; }
.benefit span { font-size: 15px; }

/* ---------- Категории ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cat-tile { position: relative; display: flex; flex-direction: column; background: var(--black); color: var(--white); text-decoration: none; overflow: hidden; }
.cat-grid { grid-template-columns: repeat(6, 1fr); }
.cat-tile { grid-column: span 2; }
.cat-tile:nth-child(-n+2) { grid-column: span 3; }
.cat-tile img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; transition: transform .4s var(--ease); }
.cat-tile:hover img { transform: scale(1.03); }
.cat-tile__body { position: relative; padding: 20px 22px 22px; display: grid; gap: 6px; border-top: 4px solid var(--yellow); }
.cat-tile__title { font: 700 clamp(1.1rem, 1.7vw, 1.4rem)/1.15 var(--font-display); letter-spacing: -.02em; }
.cat-tile__text { font-size: 14px; color: #cfcfca; max-width: 52ch; }
.cat-tile__count { justify-self: start; margin-top: 6px; padding: 3px 12px; border-radius: 999px; background: var(--yellow); color: var(--black); font-size: 13px; font-weight: 700; }

/* ---------- Пакет «под ключ» ---------- */
.package { background: var(--black); color: var(--white); padding: clamp(40px, 6vw, 72px) 0; border-top: 6px solid var(--yellow); }
.package__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.package__title { font: 800 clamp(1.7rem, 3.4vw, 2.6rem)/1.05 var(--font-display); letter-spacing: -.03em; }
.package__text { margin-top: 16px; color: #d0d0cb; max-width: 52ch; }
.package__price strong { display: block; font: 800 clamp(2.2rem, 5vw, 3.8rem)/1 var(--font-display); letter-spacing: -.04em; color: var(--yellow); }
.package__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

/* ---------- Риски ---------- */
.risk-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--on-black-line); border: 1px solid var(--on-black-line); }
.risk { background: var(--black); padding: 28px; }
.risk h3 { font: 700 18px/1.3 var(--font-display); color: var(--yellow); margin-bottom: 8px; }
.risk p { color: #cfcfca; font-size: 15px; }
.risk-grid--compact .risk h3 { color: var(--white); font: 600 17px/1.4 var(--font-text); margin: 0; padding-left: 28px; position: relative; }
.risk-grid--compact .risk h3::before { content: "!"; position: absolute; left: 0; top: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--yellow); color: var(--black); font: 800 12px/18px var(--font-display); text-align: center; }

/* ---------- Карточки услуг ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.svc-card { display: flex; flex-direction: column; text-decoration: none; background: var(--white); border: 2px solid var(--black); transition: transform .15s; }
.svc-card:hover { transform: translateY(-3px); }
.svc-card:hover .svc-card__title { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.svc-card__img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.svc-card__img--empty { background: repeating-linear-gradient(135deg, var(--yellow) 0 18px, #f5c800 18px 36px); }
.svc-card__body { display: flex; flex-direction: column; gap: 10px; padding: 16px 18px 18px; flex: 1; }
.svc-card__title { font-weight: 700; font-size: 17px; line-height: 1.3; }
.svc-card__price { margin-top: auto; font-weight: 700; }
.svc-card__price small { font-weight: 400; color: var(--muted); font-size: 14px; }

/* ---------- Оборудование ---------- */
.eq-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.eq-card { background: var(--white); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.eq-card img { height: 120px; width: 100%; object-fit: contain; margin-bottom: 8px; }
.eq-card h3 { font: 700 17px/1.3 var(--font-display); letter-spacing: -.01em; }
.eq-card p { font-size: 15px; color: var(--muted); }

/* ---------- Галерея ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 12px; }
.gallery__item { position: relative; display: block; overflow: hidden; background: var(--grey); }
.gallery__item--wide { grid-column: span 2; grid-row: span 2; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.gallery__item:hover img { transform: scale(1.04); }
.gallery__caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px 14px 10px; background: linear-gradient(transparent, rgba(0, 0, 0, .75)); color: var(--white); font-size: 14px; }
.lightbox { position: fixed; inset: 0; z-index: 80; background: rgba(0, 0, 0, .92); display: grid; place-items: center; padding: 24px; }
.lightbox img { max-width: 100%; max-height: 86vh; width: auto; height: auto; }
.lightbox button { position: absolute; top: 16px; right: 16px; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--yellow); font-size: 26px; cursor: pointer; }

/* ---------- Цены ---------- */
.price-tables { display: grid; gap: 40px; }
.price-group__title { font: 700 clamp(1.3rem, 2.2vw, 1.7rem)/1.2 var(--font-display); letter-spacing: -.02em; margin-bottom: 8px; }
.price-group__note { color: var(--muted); margin-bottom: 14px; }
.price-table { width: 100%; border-collapse: collapse; font-size: 17px; }
.price-table th { text-align: left; font-size: 14px; font-weight: 600; color: var(--muted); padding: 10px 0; border-bottom: 2px solid var(--black); }
.price-table td { padding: 16px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table td:first-child { padding-right: 24px; }
.price-table a { text-decoration: none; }
.price-table a:hover { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; }
.price-table__price { text-align: right !important; white-space: nowrap; }
.price-table__price span { color: var(--muted); font-size: 15px; }
.price-table tbody tr:hover td { background: #fffbe0; }
.price-note { margin-top: 24px; color: var(--muted); font-size: 15px; max-width: 70ch; }
.price-note--list { padding-left: 18px; }
.price-note--list li { margin-bottom: 4px; }
.city-tabs { display: inline-flex; margin-top: 28px; padding: 4px; border: 2px solid var(--black); border-radius: 999px; }
.city-tabs__item { padding: 10px 24px; border-radius: 999px; text-decoration: none; font-weight: 700; }
.city-tabs__item[aria-selected="true"] { background: var(--black); color: var(--yellow); }
.cost-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.cost-card { background: var(--white); padding: 28px; border-top: 6px solid var(--yellow); }
.cost-card h3 { font: 700 19px/1.3 var(--font-display); margin-bottom: 10px; }
.cost-card p { color: #2b2b29; }

/* ---------- Списки, шапки страниц ---------- */
.check-list { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 30px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--yellow); }
.check-list li::after { content: ""; position: absolute; left: 6px; top: 8px; width: 6px; height: 8px; border: solid var(--black); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.check-list--light { margin-top: 28px; grid-template-columns: 1fr 1fr; color: #e6e6e1; }
.check-list--warn li::after { content: "!"; border: 0; transform: none; left: 0; top: 4px; width: 18px; text-align: center; font: 800 12px/18px var(--font-display); }
.aside-card__heading { font: 700 18px/1.3 var(--font-display); margin-bottom: 16px; }
.page-head__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.page-head__img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.page-head--media .facts-band { margin-top: 40px; }
.page-head__tags { margin-top: 28px; }
.steps--3 { grid-template-columns: repeat(3, 1fr); }
.steps--4 { grid-template-columns: repeat(4, 1fr); }
.steps--2 { grid-template-columns: repeat(2, 1fr); }
.timeline { list-style: none; margin: 0; padding: 0 0 0 22px; border-left: 2px solid var(--black); display: grid; gap: 18px; }
.timeline li { position: relative; display: grid; gap: 2px; }
.timeline li::before { content: ""; position: absolute; left: -30px; top: 5px; width: 14px; height: 14px; border-radius: 50%; background: var(--yellow); border: 2px solid var(--black); }
.timeline span { color: var(--muted); }
.facts-band--5 { grid-template-columns: repeat(5, 1fr); }
.section__title--sm { font-size: clamp(1.25rem, 2vw, 1.6rem); margin: 36px 0 18px; }
.section__title--sm:first-child { margin-top: 0; }
.project-hero__service { margin-top: 24px; color: var(--muted); }
.city-cat { font: 700 19px/1.3 var(--font-display); margin: 36px 0 12px; }
.city-cat:first-of-type { margin-top: 0; }
.city-cat a { text-decoration: none; }
.tags--small a { font-size: 14px; padding: 6px 14px; }
.tags__count { margin-left: 4px; opacity: .6; }
.filters + .filters { margin-top: -16px; }

/* =========================================================
   Адаптив
   ========================================================= */
@media (max-width: 1180px) {
    .header-phone__note { display: none; }
    .main-nav a { padding: 8px 9px; font-size: 15px; }
    .site-header__inner { gap: 16px; }
}

@media (max-width: 1024px) {
    :root { --header-h: 66px; }
    .burger { display: block; }
    /* backdrop-filter создаёт контейнер для fixed-потомков — на мобильных отключаем, чтобы меню было на весь экран */
    .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--white); }
    .header-cta { display: none; }
    .main-nav {
        position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
        background: var(--black); color: var(--white);
        padding: 24px var(--gutter) 32px; overflow-y: auto;
        display: flex; flex-direction: column;
        transform: translateX(100%); visibility: hidden;
        transition: transform .3s var(--ease), visibility .3s;
    }
    .main-nav.is-open { transform: none; visibility: visible; }
    .main-nav ul { flex-direction: column; gap: 0; }
    .main-nav a { padding: 16px 0; border-radius: 0; font: 700 26px/1.2 var(--font-display); border-bottom: 1px solid var(--on-black-line); }
    .main-nav a:hover { background: none; color: var(--yellow); }
    .main-nav a[aria-current="page"] { background: none; color: var(--yellow); }
    .main-nav__mobile-cta { display: grid; gap: 10px; margin-top: auto; padding-top: 32px; }
    .main-nav .main-nav__mobile-cta a { font: 600 17px/1.2 var(--font-text); padding: 14px 20px; border-radius: 999px; border-bottom-width: 2px; }
    .main-nav .main-nav__mobile-cta a.btn--yellow { color: var(--black); border-color: var(--yellow); }
    .main-nav .main-nav__mobile-cta a.btn--ghost-light { border-color: rgba(255, 255, 255, .35); }
    body.nav-open { overflow: hidden; }

    .hero__grid, .cta__grid, .layout-aside, .faq, .review-form-wrap, .project-hero, .page-head__grid, .package__grid { grid-template-columns: 1fr; }
    .topbar__hours { display: none; }
    .mega { display: none; }
    .hero__visual { max-width: 720px; }
    .cat-grid, .svc-grid, .eq-grid { grid-template-columns: repeat(2, 1fr); }
    .cat-tile, .cat-tile:nth-child(-n+2) { grid-column: auto; }
    .cat-tile:first-child { grid-column: 1 / -1; }
    .risk-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
    .steps--3, .steps--4, .steps--2 { grid-template-columns: 1fr; }
    .facts-band--5 { grid-template-columns: repeat(3, 1fr); }
    .hero__title { max-width: 16ch; }
    .meter { max-width: 520px; }
    .steps { grid-template-columns: 1fr; gap: 28px; }
    .step { display: grid; grid-template-columns: 52px 1fr; column-gap: 20px; padding: 0; }
    .step::before { grid-row: span 2; margin: 0; }
    .step::after { left: 25px; top: 52px; bottom: -28px; right: auto; width: 2px; height: auto; }
    .project-grid, .review-grid { grid-template-columns: repeat(2, 1fr); }
    .site-footer__grid { grid-template-columns: 1fr 1fr; }
    .aside-card { position: static; }
    .facts-band { grid-template-columns: repeat(2, 1fr); }
    .service-row a { grid-template-columns: minmax(0, 1fr) auto 40px; }
    .service-row__text { grid-column: 1 / -1; grid-row: 2; }
}

@media (max-width: 720px) {
    body { font-size: 16px; }
    .header-phone { display: none; }
    .logo { font-size: 19px; }
    .hero__facts { grid-template-columns: 1fr; gap: 16px; }
    .hero__actions .btn { width: 100%; }
    .cities, .contact-cards, .city-services, .cat-grid, .risk-grid, .cost-grid, .benefits__grid { grid-template-columns: 1fr; }
    .cat-tile:first-child { grid-column: auto; }
    .svc-grid, .eq-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .svc-card__body { padding: 12px; }
    .svc-card__title { font-size: 15px; }
    .eq-card { padding: 16px; }
    .eq-card img { height: 90px; }
    .gallery { grid-auto-rows: 140px; gap: 8px; }
    .benefit, .benefit + .benefit { padding: 16px 0; border-left: 0; }
    .benefit + .benefit { border-top: 2px solid var(--black); }
    .check-list--light { grid-template-columns: 1fr; }
    .city-switch__label { display: none; }
    .topbar__inner { gap: 12px; justify-content: space-between; }
    .price-table { font-size: 15px; }
    .price-table__price { white-space: normal; }
    .price-table__price span { display: block; }
    .facts-band--5 { grid-template-columns: 1fr 1fr; }
    .readout { grid-template-columns: 1fr; padding: 20px 18px 16px; }
    .readout::before { left: 18px; right: 18px; }
    .readout__facts dd { font-size: 16px; }
    .readout__ticks span[style] { display: none; }
    .city-services a:nth-child(n) { padding: 20px 0; border-left: 0; }
    .city-panel { min-height: 0; }
    .project-grid, .review-grid { grid-template-columns: 1fr; }
    .site-footer__grid { grid-template-columns: 1fr; gap: 32px; }
    .service-row a { grid-template-columns: minmax(0, 1fr) 40px; gap: 10px 16px; padding: 22px 0; }
    .service-row__title { grid-column: 1; }
    .service-row__price { grid-column: 1; grid-row: 3; }
    .service-row__arrow { grid-column: 2; grid-row: 1; }
    .service-row a:hover { padding-left: 12px; padding-right: 12px; }
    .meter__screen { padding: 22px 20px 20px; }
    .meter__screen::before { left: 20px; right: 20px; }
    .meter__readings dd { font-size: 16px; }
    .lead-dialog__inner { padding: 32px 20px 24px; }
    .facts-band { grid-template-columns: 1fr 1fr; }
    .mmap { gap: 10px; padding: 14px; }

    .sticky-call {
        display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
        padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
        background: var(--white); border-top: 1px solid var(--line);
        transform: translateY(110%); transition: transform .25s var(--ease);
    }
    .sticky-call.is-visible { transform: none; }
    .site-footer { padding-bottom: 76px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

@media print {
    .site-header, .site-footer, .sticky-call, .cta, .lead-dialog { display: none !important; }
}

/* ---------- Дополнения для внутренних страниц ---------- */
.project-hero__note { margin: 16px 0 24px; font-size: 15px; }
.contact-meta { display: flex; flex-wrap: wrap; gap: 24px 56px; margin: 48px 0 0; padding-top: 28px; border-top: 2px solid var(--black); }
.contact-meta dt { font-size: 14px; color: var(--muted); }
.contact-meta dd { margin: 4px 0 0; font-weight: 700; font-size: 18px; }
.contact-meta a { text-decoration: none; }
.review-form-wrap .cta__form { border: 2px solid var(--black); }
.aside-card .tags li { font-size: 14px; }
.prose img { margin-bottom: 1.5em; }
