/* «Колодец-Дом», тема WordPress (концепт 3): облик старого сайта, доведённый до ума.
   Палитра, шрифт, радиусы и раскладка взяты из старой темы SiteRussia (style.css). Mobile-first. */

/* ---------- Шрифт старого сайта ---------- */
@font-face { font-family: 'SuisseIntl'; src: url('../fonts/SuisseIntl-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'SuisseIntl'; src: url('../fonts/SuisseIntl-Medium.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }

/* ---------- Токены (коды из старой темы) ---------- */
:root { --ink: #071B2C; --blue: #0089FF; --blue-ink: #006ED0; --gray: #6C6F71; --gray-2: #545560; --yellow: #FFDE32; --black: #070707; --sky: #F1F7FF; --sky-2: #E5F3FF; --field: #ECF1F7; --line: #DEE2E6; --line-2: #DEE2EB; --card: #F5F5F5; --foot: #030D16; --white: #FFFFFF; --ok: #1B8A4B; --err: #D93025; --r-xl: 24px; --r-lg: 14px; --r-md: 12px; --r-pill: 26px; --shadow: 0 6px 20px rgba(7, 27, 44, .08); --shadow-lg: 0 14px 40px rgba(7, 27, 44, .14); --gut: 16px; --ease: cubic-bezier(.2, .7, .2, 1); }

/* ---------- База ---------- */
*, ::before, ::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-gutter: stable; }
body { margin: 0; font-family: 'SuisseIntl', Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.5; color: var(--ink); background: var(--white); overflow-x: hidden; }
img, svg { vertical-align: middle; }
img { max-width: 100%; height: auto; }
a { color: var(--ink); text-decoration: none; -webkit-tap-highlight-color: transparent; transition: color .25s ease-out, background-color .25s ease-out, border-color .25s ease-out, transform .25s ease-out; }
button, input, select, textarea { font: inherit; color: inherit; margin: 0; }
button { cursor: pointer; }
p { margin: 0 0 12px; }
h1, h2, h3 { margin: 0; font-weight: 700; line-height: 1.15; text-wrap: balance; }
h2 { font-size: clamp(26px, 6.6vw, 33px); line-height: 1.12; letter-spacing: -.01em; margin-bottom: 18px; }
h3 { font-size: 20px; margin-bottom: 8px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 6px; }
.container { width: 100%; max-width: 1260px; margin: 0 auto; padding: 0 var(--gut); }
.k-skip { position: absolute; left: 8px; top: -60px; z-index: 2000; background: var(--yellow); padding: 10px 16px; border-radius: var(--r-md); font-weight: 700; }
.k-skip:focus { top: 8px; }
[hidden] { display: none !important; }
.k-only-wide { display: none !important; }

/* ---------- Кнопки (как .button старого сайта) ---------- */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 32px; border: 0; border-radius: var(--r-pill); background: var(--yellow); color: var(--black); font-weight: 700; text-align: center; line-height: 1.2; cursor: pointer; }
.button:hover { background: var(--black); color: var(--white); }
.button:active { transform: translateY(1px); }
.button.color { background: var(--blue); color: var(--white); }
.button.color:hover { background: var(--black); }

/* ---------- Мессенджеры: ОДИН компонент на весь сайт ----------
   Лёгкая пилюля в тон бренда (MAX — сиреневый, Telegram — голубой, WhatsApp — зелёный), фирменная иконка как есть, тёмный текст.
   На фото, синей полосе и в тёмном подвале — «стекло» (.k-msg--glass). Высота = соседней кнопке телефона (--msg-h).
   Три кнопки всегда в одну строку, подписи никогда не обрезаются: размер подбирается по ширине самого ряда (container query) —
   узкий ряд (меньше 258 px) — только иконки, 258–315 — компактные подписи, от 316 — обычные, от 376 — крупнее. */
.k-msg { --msg-h: 48px; container-type: inline-size; display: flex; gap: 6px; min-width: 0; }
.k-msg__btn { --msg-bg: var(--sky); --msg-line: var(--line-2); --msg-hover: var(--sky-2); flex: 1 1 auto; display: inline-flex; align-items: center; justify-content: center; gap: 0; min-width: 0; height: var(--msg-h); padding: 0; border: 1px solid var(--msg-line); border-radius: var(--r-pill); background: var(--msg-bg); color: var(--ink); font-size: 14px; font-weight: 400; line-height: 1; white-space: nowrap; transition: background-color .25s ease-out, border-color .25s ease-out, box-shadow .25s ease-out, transform .25s ease-out; }
.k-msg__btn img { width: 24px; height: 24px; flex: none; }
.k-msg__t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@container (min-width: 258px) {
	.k-msg__btn { gap: 4px; padding: 0 5px; font-size: 12.5px; }
	.k-msg__btn img { width: 18px; height: 18px; }
	.k-msg__t { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
}
@container (min-width: 316px) {
	.k-msg__btn { gap: 6px; padding: 0 10px 0 8px; font-size: 14px; }
	.k-msg__btn img { width: 20px; height: 20px; }
}
@container (min-width: 376px) {
	.k-msg__btn { gap: 8px; padding: 0 14px 0 10px; font-size: 15px; }
	.k-msg__btn img { width: 22px; height: 22px; }
}
.k-msg__btn--max { --msg-bg: #F3F0FF; --msg-line: #E2DAFF; --msg-hover: #E8E1FF; }
.k-msg__btn--telegram { --msg-bg: #EBF6FD; --msg-line: #CFE8F8; --msg-hover: #DBEFFB; }
.k-msg__btn--whatsapp { --msg-bg: #EBF8F0; --msg-line: #CDEDD8; --msg-hover: #DCF3E4; }
.k-msg__btn:hover { background: var(--msg-hover); box-shadow: 0 4px 12px rgba(7, 27, 44, .08); transform: translateY(-1px); }
.k-msg__btn:active { transform: none; }
.k-msg--sm { --msg-h: 44px; }
.k-msg--hero { --msg-h: 52px; }
.k-msg--glass .k-msg__btn { --msg-bg: rgba(255, 255, 255, .14); --msg-line: rgba(255, 255, 255, .34); --msg-hover: rgba(255, 255, 255, .26); color: var(--white); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.k-msg--glass .k-msg__btn:hover { box-shadow: none; }

/* ---------- Шапка телефона ---------- */
#mobile { background: var(--white); }
#mobile .container { display: flex; align-items: center; gap: 8px; padding-top: 10px; padding-bottom: 10px; }
#mobile .k-logo { margin-right: auto; display: block; }
#mobile .k-logo img { width: 140px; height: auto; display: block; }
.k-mobile__call, .k-mobile__burger { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border: 0; background: transparent; color: var(--ink); border-radius: 50%; }
.k-mobile__call:hover, .k-mobile__burger:hover { background: var(--sky); }
#top, #header, #menu { display: none; }

/* ---------- Первый экран ---------- */
.ppage { padding-top: 4px; padding-bottom: 20px; }
.k-hero { position: relative; display: grid; gap: 16px; padding: 24px 18px 22px; border-radius: var(--r-xl); overflow: hidden; color: var(--white); isolation: isolate; }
.k-hero__bg { position: absolute; inset: 0; z-index: -2; }
.k-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block; }
.k-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 27, 44, .62) 0%, rgba(7, 27, 44, .50) 45%, rgba(7, 27, 44, .66) 100%); }
.k-hero__main { display: grid; gap: 14px; min-width: 0; }
.k-hero h1 { font-size: clamp(27px, 7.6vw, 34px); line-height: 1.1; letter-spacing: -.01em; }
.k-hero__price { margin: 0; font-size: 17px; line-height: 1.35; }
.k-hero__price b { display: inline-block; padding: 2px 10px; margin-right: 4px; border-radius: 10px; background: var(--yellow); color: var(--black); font-size: 20px; white-space: nowrap; }
.k-hero__call { display: grid; gap: 10px; }
.k-hero__phone { width: 100%; font-size: 19px; white-space: nowrap; }
.k-hero .text { margin: 0; font-size: 15px; color: rgba(255, 255, 255, .92); max-width: 62ch; }
.k-hero__prem { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 14px; margin: 0; padding: 0; list-style: none; font-size: 14px; line-height: 1.35; }
.k-hero__prem li { position: relative; padding-left: 16px; }
.k-hero__prem li::before { content: ""; position: absolute; left: 0; top: 6px; width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); }
.k-hero .bts { display: grid; gap: 10px; }
.k-hero .bts .button { width: 100%; }
.k-hero__right { display: grid; gap: 12px; min-width: 0; }
.glass-tile { background: rgba(255, 255, 255, .10); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .18); border-radius: 18px; padding: 16px 18px; box-shadow: 0 6px 18px rgba(0, 0, 0, .18); }
.tile-head { font-size: 24px; font-weight: 700; margin-bottom: 8px; }
.tile-head-block2 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.tile-row { display: flex; align-items: center; gap: 10px; padding: 9px 0; }
.tile-row + .tile-row { border-top: 1px dashed rgba(255, 255, 255, .22); }
.tile-row-text { font-size: 14px; line-height: 1.4; }
.tile-row-text b { white-space: nowrap; }
.glass-badge { flex: none; display: inline-flex; align-items: center; justify-content: center; min-width: 92px; height: 28px; padding: 0 10px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .35); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
.tile-list-vertical { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.tile-list-vertical li { position: relative; padding-left: 18px; font-size: 14px; line-height: 1.4; }
.tile-list-vertical li::before { content: ""; position: absolute; left: 0; top: 6px; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 2px rgba(255, 255, 255, .5); }

/* ---------- Общие блоки ---------- */
.block { padding: 36px 0 30px; }
.k-lead { color: var(--gray-2); max-width: 70ch; margin: -6px 0 20px; }
.k-note { margin: 12px 0 0; font-size: 13px; color: var(--gray); }
.k-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.k-head h2 { margin: 0; }
.k-wide { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-lg); display: block; }

/* ---------- Калькулятор ---------- */
.k-calc { display: grid; gap: 16px; min-width: 0; }
.k-calc__body { min-width: 0; }
.k-calc__label { font-weight: 700; font-size: 18px; margin: 0 0 10px; }
.k-calc__label + .k-opts { margin-top: 0; }
.k-depth { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 14px; align-items: center; padding: 14px; margin-bottom: 22px; border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--white); }
.k-depth__pic { background: var(--sky); border-radius: var(--r-lg); padding: 8px; }
.k-rings { width: 100%; height: auto; display: block; }
.k-depth__ctrl { min-width: 0; }
.k-depth__val { font-size: 22px; font-weight: 700; line-height: 1.1; margin-bottom: 8px; }
.k-depth__val output { font-size: 30px; color: var(--blue-ink); }
.k-depth__val small { display: block; font-size: 13px; font-weight: 400; color: var(--gray); margin-top: 2px; }
.k-stepper { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; gap: 8px; align-items: center; }
.k-stepper__btn { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: var(--white); font-size: 22px; line-height: 1; color: var(--ink); }
.k-stepper__btn:hover { border-color: var(--blue); color: var(--blue); }
.k-range { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; touch-action: none; cursor: grab; --p: 21%; }
.k-range:active { cursor: grabbing; }
.k-range::-webkit-slider-runnable-track { height: 8px; border-radius: 8px; background: linear-gradient(90deg, var(--blue) var(--p), var(--sky-2) var(--p)); }
.k-range::-moz-range-track { height: 8px; border-radius: 8px; background: var(--sky-2); }
.k-range::-moz-range-progress { height: 8px; border-radius: 8px; background: var(--blue); }
.k-range::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -10px; border-radius: 50%; background: var(--white); border: 3px solid var(--blue); box-shadow: 0 2px 6px rgba(7, 27, 44, .25); }
.k-range::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: var(--white); border: 3px solid var(--blue); box-shadow: 0 2px 6px rgba(7, 27, 44, .25); }
.k-depth__scale { display: flex; justify-content: space-between; padding: 0 52px; font-size: 12px; color: var(--gray); margin-top: 2px; }
.k-depth__price { margin-top: 8px; font-size: 15px; }
.k-depth__price b { white-space: nowrap; }
.k-opts { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.k-opt { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; grid-template-areas: "pic name price"; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; min-height: 76px; border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--white); cursor: pointer; transition: border-color .25s ease-out, box-shadow .25s ease-out, background-color .25s ease-out; }
.k-opt:hover { border-color: #B9D9F7; }
.k-opt input[type="checkbox"] { position: absolute; opacity: 0; width: 1px; height: 1px; }
.k-opt__pic { grid-area: pic; width: 56px; height: 56px; padding: 6px; border-radius: var(--r-lg); background: var(--sky); }
.k-opt__pic svg { width: 100%; height: 100%; display: block; }
.k-opt__name { grid-area: name; font-weight: 700; font-size: 15px; line-height: 1.25; }
.k-opt__price { grid-area: price; text-align: right; font-weight: 700; color: var(--blue-ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.k-opt__price small { display: block; font-weight: 400; font-size: 12px; color: var(--gray); white-space: normal; }
.k-opt::after { content: ""; position: absolute; top: -7px; right: -7px; width: 24px; height: 24px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; transform: scale(0); transition: transform .25s var(--ease); }
.k-opt:has(input:checked), .k-opt.is-on { border-color: var(--blue); background: #F7FBFF; box-shadow: 0 0 0 1px var(--blue) inset; }
.k-opt:has(input:checked)::after, .k-opt.is-on::after { transform: scale(1); }
.k-opt:has(input:focus-visible) { outline: 3px solid var(--blue); outline-offset: 2px; }
.k-opt--count { grid-template-columns: 56px minmax(0, 1fr) auto; grid-template-areas: "pic name price" "pic mini mini"; cursor: default; row-gap: 6px; }
.k-mini { grid-area: mini; display: inline-flex; align-items: center; gap: 4px; justify-self: start; border: 1px solid var(--line); border-radius: 999px; padding: 2px; }
.k-mini button { width: 44px; height: 40px; border: 0; border-radius: 999px; background: transparent; font-size: 20px; line-height: 1; }
.k-mini button:hover { background: var(--sky); color: var(--blue); }
.k-mini output { min-width: 28px; text-align: center; font-weight: 700; }
.k-calc__sum { align-self: start; padding: 20px 18px; border-radius: var(--r-xl); background: var(--sky); border: 1px solid var(--line-2); min-width: 0; }
.k-calc__sumhead { font-size: 15px; color: var(--gray-2); }
.k-calc__total { font-size: 44px; font-weight: 700; line-height: 1.05; letter-spacing: -.02em; margin: 2px 0 12px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.k-calc__total.is-bump { animation: k-bump .35s var(--ease); }
@keyframes k-bump { 40% { transform: scale(1.05); } }
.k-calc__lines { list-style: none; margin: 0 0 16px; padding: 12px 0 0; border-top: 1px solid var(--line-2); display: grid; gap: 6px; font-size: 14px; }
.k-calc__lines li { display: flex; justify-content: space-between; gap: 12px; }
.k-calc__lines li span:last-child { white-space: nowrap; font-weight: 700; font-variant-numeric: tabular-nums; }
.k-calc__send { width: 100%; }
.k-calc__note { font-size: 13px; color: var(--gray-2); margin: 12px 0 14px; }
.k-calc__or { font-size: 14px; font-weight: 700; margin-bottom: 8px; }

/* ---------- Наши работы: лента ---------- */
.k-arrows { display: flex; gap: 8px; flex: none; }
.k-arrow { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; }
.k-arrow:hover:not(:disabled) { border-color: var(--blue); color: var(--blue); }
.k-arrow:disabled { opacity: .35; cursor: default; }
.k-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0; scrollbar-width: none; -ms-overflow-style: none; cursor: grab; user-select: none; -webkit-user-select: none; overscroll-behavior-x: contain; margin: 0 calc(-1 * var(--gut)); padding: 2px var(--gut) 6px; scroll-padding-left: var(--gut); }
.k-track::-webkit-scrollbar { display: none; }
.k-track.is-drag { cursor: grabbing; scroll-snap-type: none; }
.k-track.is-drag a { pointer-events: none; }
.k-work { flex: 0 0 82%; max-width: 400px; margin: 0; scroll-snap-align: start; min-width: 0; }
.k-work--pair { flex-basis: 82%; }
.k-work__img { position: relative; display: block; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--card); }
.k-work__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s var(--ease); -webkit-user-drag: none; }
.k-work__img:hover img { transform: scale(1.06); }
.k-work__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.k-work__pair .k-work__img { aspect-ratio: auto; height: 100%; }
.k-work--pair .k-work__pair { aspect-ratio: 4 / 3; }
.k-work figcaption { margin-top: 10px; font-weight: 700; font-size: 15px; }
.k-tag { position: absolute; left: 8px; top: 8px; padding: 3px 10px; border-radius: 999px; background: var(--white); color: var(--ink); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.k-tag--ok { background: var(--blue); color: var(--white); }

/* ---------- Прайс ---------- */
.k-table { border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; }
.k-table table { width: 100%; border-collapse: collapse; }
.k-table th { text-align: left; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--gray-2); background: var(--sky); padding: 12px 14px; }
.k-table th:last-child, .k-table td:last-child { text-align: right; white-space: nowrap; }
.k-table td { padding: 12px 14px; border-top: 1px solid var(--line); vertical-align: top; font-size: 15px; line-height: 1.35; }
.k-table td:last-child { font-weight: 700; font-variant-numeric: tabular-nums; }
.k-table td small { display: block; font-weight: 400; font-size: 12px; color: var(--gray); }
.k-table tbody tr:nth-child(even) { background: #FAFBFC; }
.k-table tr.is-free td:last-child { color: var(--ok); }
.k-price-foot { display: grid; gap: 14px; margin-top: 16px; }
.k-price-foot p { margin: 0; color: var(--gray-2); }

/* ---------- Отзывы ---------- */
.k-reviews { display: grid; gap: 12px; }
.k-review-slot { padding: 22px 20px; border: 2px dashed #C9D6E4; border-radius: var(--r-xl); background: var(--sky); }
.k-review-slot__src { display: inline-block; margin-bottom: 8px; padding: 3px 12px; border-radius: 999px; background: var(--white); font-size: 13px; font-weight: 700; color: var(--blue-ink); }
.k-review-slot p { margin: 0; color: var(--gray-2); font-size: 15px; }

/* ---------- Синяя полоса «Напишите мастеру» (.form3 старого сайта) ---------- */
.form3 { display: grid; gap: 16px; margin: 10px 0; padding: 24px 20px; border-radius: var(--r-xl); background: var(--blue); color: var(--white); }
.form3__title { font-size: 21px; font-weight: 700; line-height: 1.25; }
.form3 .text { font-size: 15px; }
.form3 .soc { margin-top: 12px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.form3 .button { width: 100%; }

/* ---------- Когда нужно почистить (.prem2) ---------- */
.k-cards3 { display: grid; gap: 14px; }
.k-cards3 .item { border: 1px solid var(--line); border-radius: var(--r-xl); padding: 10px 10px 16px; background: var(--white); }
.k-cards3 .item img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-lg); display: block; }
.k-cards3 .item h3 { font-size: 21px; margin: 16px 8px 8px; }
.k-cards3 .item p { margin: 0 8px; color: var(--gray-2); font-size: 15px; }

/* ---------- Этапы ---------- */
.k-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.k-steps .item { display: flex; align-items: center; gap: 14px; }
.k-steps .item img { flex: none; width: 52px; height: 52px; }
.k-steps__n { display: block; font-size: 12px; color: var(--gray); text-transform: uppercase; letter-spacing: .05em; }
.k-steps .title { font-weight: 700; font-size: 16px; line-height: 1.3; }

/* ---------- Диагностика (#about) ---------- */
.k-about { display: grid; gap: 16px; margin-top: 20px; }
.k-about .title { font-size: 20px; font-weight: 700; line-height: 1.3; margin-bottom: 16px; }
.k-about p { color: var(--gray-2); }

/* ---------- Короткие преимущества (#prem) ---------- */
#prem { display: grid; gap: 14px; padding-top: 10px; }
#prem .item { display: flex; align-items: center; gap: 14px; }
#prem .item img { flex: none; }
#prem .title { font-weight: 700; font-size: 17px; }
#prem .text { color: var(--gray); font-size: 14px; }

/* ---------- 4 причины (#block7) ---------- */
.k-why { display: grid; gap: 18px; margin-top: 20px; }
.k-why h3 { font-size: 20px; }
.k-why p { margin: 0; color: var(--gray-2); }

/* ---------- Как мы выполняем заказ (#tabs) ---------- */
#tabs { border: 1px solid var(--line); border-radius: var(--r-xl); padding: 22px 16px; margin: 20px 0; }
#tabs .nav { display: flex; flex-wrap: wrap; gap: 8px; }
#tabs .nav button { min-height: 44px; padding: 8px 16px; border: 0; border-radius: 10px; background: var(--sky-2); color: var(--blue-ink); font-size: 14px; font-weight: 700; }
#tabs .nav button:hover { background: #D3EAFF; }
#tabs .nav button[aria-selected="true"] { background: var(--blue); color: var(--white); }
#tabs .tab-content { margin-top: 20px; font-size: 16px; }
#tabs .tab-pane { animation: k-fade .35s var(--ease); }
#tabs .tab-pane p { margin: 0 0 10px; color: var(--gray-2); }
@keyframes k-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.k-ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.k-ticks li { position: relative; padding-left: 30px; color: var(--gray-2); }
.k-ticks li::before { content: ""; position: absolute; left: 0; top: 1px; width: 21px; height: 21px; background: url('../icons/check.svg') center / contain no-repeat; }

/* ---------- Вопросы (стиль #voz старого сайта) ---------- */
.k-faq { display: grid; gap: 20px; }
.k-faq__img { display: none; }
.k-acc .card { border: 1px solid var(--line); border-radius: var(--r-lg); margin-bottom: 10px; background: var(--white); transition: border-color .25s ease-out, box-shadow .25s ease-out; }
.k-acc .card.is-open { border-color: #B9D9F7; box-shadow: var(--shadow); }
.k-acc h3 { margin: 0; font-size: 17px; text-wrap: pretty; }
.k-acc button { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 14px; min-height: 56px; padding: 16px 18px; border: 0; background: transparent; text-align: left; font-weight: 700; font-size: 17px; line-height: 1.3; }
.k-acc button::after { content: "+"; flex: none; width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--sky-2); color: var(--blue-ink); font-size: 22px; font-weight: 400; line-height: 1; transition: transform .3s var(--ease), background-color .3s; }
.k-acc .is-open button::after { content: "−"; background: var(--blue); color: var(--white); }
.k-acc .card__body { padding: 0 18px 16px; }
.k-acc .card__body p { margin: 0; color: var(--gray); font-size: 15px; }
.k-acc .card.is-open .card__body { animation: k-fade .35s var(--ease); }

/* ---------- Перед чисткой (#kak) ---------- */
.k-cards4 { display: grid; gap: 14px; }
.k-cards4 .item { display: flex; flex-direction: column; background: var(--card); border-radius: var(--r-md); overflow: hidden; }
.k-cards4 .item img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.k-cards4 .item > div { padding: 14px; }
.k-cards4 .title { font-weight: 700; font-size: 17px; margin-bottom: 6px; }
.k-cards4 .desc { color: var(--gray-2); font-size: 14px; }

/* ---------- Другие услуги (#tags старого сайта) ---------- */
.k-tags { display: grid; gap: 10px; }
.k-tags a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--r-lg); }
.k-tags a span { font-weight: 700; }
.k-tags a b { color: var(--blue-ink); white-space: nowrap; text-align: right; font-variant-numeric: tabular-nums; }
.k-tags a small { display: block; font-weight: 400; font-size: 12px; color: var(--gray); }
.k-tags a:hover { border-color: var(--blue); box-shadow: var(--shadow); }

/* ---------- Финальная заявка (.form4 старого сайта) ---------- */
.form4 { display: grid; gap: 22px; padding: 26px 18px; border-radius: var(--r-xl); background: var(--sky-2); }
.form4 h2 { margin-bottom: 12px; }
.form4__text p { color: var(--gray-2); }
.form4__text .k-msg { margin: 16px 0; }
.form4__phone { font-size: 24px; font-weight: 700; white-space: nowrap; }
.form4__phone:hover { color: var(--blue); }
.k-form { display: grid; gap: 12px; padding: 20px 16px; border-radius: var(--r-xl); background: var(--white); box-shadow: var(--shadow); min-width: 0; }
.k-form__title { font-size: 20px; font-weight: 700; }
.k-form__lbl { font-size: 14px; font-weight: 700; }
.k-ways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.k-ways label { position: relative; }
.k-ways input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.k-ways span { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 46px; padding: 6px 8px; border: 1px solid var(--line); border-radius: var(--r-md); font-weight: 700; font-size: 14px; cursor: pointer; background: var(--white); transition: border-color .2s, background-color .2s; }
.k-ways span img { width: 20px; height: 20px; }
.k-ways input:checked + span { border-color: var(--blue); background: #F2F8FF; box-shadow: 0 0 0 1px var(--blue) inset; }
.k-ways input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.k-field { display: grid; gap: 4px; margin: 0; }
.k-field span { font-size: 13px; color: var(--gray-2); }
.k-field input { width: 100%; min-height: 52px; padding: 12px 18px; border: 1px solid transparent; border-radius: var(--r-md); background: var(--field); font-size: 16px; }
.k-field input:focus { outline: none; border-color: var(--blue); background: var(--white); }
.k-err { margin: -4px 0 0; color: var(--err); font-size: 13px; }
.k-agree { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--gray-2); line-height: 1.4; cursor: pointer; }
.k-agree input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--blue); }
.k-agree a { color: var(--blue-ink); text-decoration: underline; text-underline-offset: 2px; }
.k-agree.is-err { color: var(--err); }
.k-form__submit { width: 100%; }
.k-form__submit:disabled { opacity: .6; cursor: default; }
.k-done { padding: 12px 14px; border-radius: var(--r-md); background: #FFF8D6; border: 1px solid #F1D96B; font-size: 14px; }
.k-done a { font-weight: 700; white-space: nowrap; }
.k-calcbox { display: grid; gap: 2px; padding: 12px 14px; border-radius: var(--r-md); background: var(--sky); font-size: 14px; }
.k-calcbox b { font-size: 18px; white-space: nowrap; }
.k-calcbox small { color: var(--gray-2); }

/* ---------- Города (#map) ---------- */
#map { background: url('../icons/map.png') center 90px / contain no-repeat; }
.k-cities { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; }
.k-cities li { position: relative; padding-left: 18px; }
.k-cities li::before { content: ""; position: absolute; left: 0; top: 5px; width: 12px; height: 14px; background: url('../icons/loc.svg') center / contain no-repeat; }
.button-map { display: flex; justify-content: center; margin-top: 28px; }

/* ---------- Подвал ---------- */
#footer { background: var(--foot); color: rgba(255, 255, 255, .6); padding: 44px 0 28px; font-size: 14px; }
#footer a { color: var(--white); }
#footer a:hover { color: var(--blue); }
.k-foot { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 16px; }
.k-foot > div:first-child, .k-foot > div:last-child { grid-column: 1 / -1; }
#footer .text { margin: 12px 0 0; max-width: 34ch; }
#footer .widget-title { text-transform: uppercase; font-size: 13px; letter-spacing: .05em; margin-bottom: 10px; }
#footer ul { list-style: none; margin: 0; padding: 0; }
#footer ul li { padding: 4px 0; }
#footer .phone { font-size: 22px; font-weight: 700; white-space: nowrap; }
#footer .time { margin-top: 2px; }
#footer .ad { margin: 8px 0; }
#footer .mail { color: var(--blue); font-weight: 700; }
.k-foot__bottom { display: grid; gap: 12px; margin-top: 32px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); }
.k-docs { display: flex; flex-wrap: wrap; gap: 4px 18px; }
#footer .k-docs li { padding: 2px 0; }


/* ---------- Модалки: меню и заявка (как у старого сайта) ---------- */
.modal { position: fixed; inset: 0; z-index: 1050; background: rgba(3, 13, 22, .45); opacity: 0; visibility: hidden; transition: opacity .3s ease-out, visibility 0s linear .3s; }
.modal.is-open { opacity: 1; visibility: visible; transition: opacity .3s ease-out; }
.modal .modal-dialog { position: absolute; inset: 0; overflow-y: auto; overscroll-behavior: contain; background: var(--white); padding: 64px 20px 28px; transform: translateX(24px); transition: transform .35s var(--ease); }
.modal.is-open .modal-dialog { transform: none; }
.modal .close { position: absolute; top: 12px; right: 12px; width: 46px; height: 46px; border: 0; border-radius: 50%; background: transparent; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; }
.modal .close:hover { background: var(--sky); }
.modal .title { font-size: 30px; font-weight: 700; line-height: 1.15; margin-bottom: 10px; }
.modal .text { color: var(--gray-2); font-size: 16px; margin-bottom: 18px; }
.k-form--modal { padding: 0; box-shadow: none; }
.mmenu__logo { position: absolute; top: 14px; left: 20px; width: 130px; }
#mmenu .nav { list-style: none; margin: 0 0 18px; padding: 0; }
#mmenu .nav li { border-bottom: 1px solid #EEF1F4; }
#mmenu .nav a { display: block; padding: 13px 0; font-size: 17px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; }
#mmenu .nav a:hover { color: var(--blue); }
#mmenu .cont { display: grid; gap: 6px; }
#mmenu .cont > span { color: var(--gray); font-size: 14px; }
#mmenu .cont .phone { font-size: 22px; font-weight: 700; }
#mmenu .cont .time { color: var(--gray); font-size: 14px; }
#mmenu .cont .mail { color: var(--blue-ink); margin-bottom: 8px; }
#mmenu .cont .k-msg { margin-bottom: 8px; }
#mmenu .but { display: flex; align-items: center; justify-content: center; min-height: 52px; margin-top: 8px; border-radius: var(--r-pill); background: var(--yellow); color: var(--black); font-weight: 700; }
#mmenu .viz { display: flex; align-items: center; justify-content: center; min-height: 52px; border-radius: var(--r-pill); background: var(--ink); color: var(--white); font-weight: 700; }


/* ---------- Появление при прокрутке ---------- */
.k-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.k-reveal.is-in { opacity: 1; transform: none; }

@media (max-width: 359px) {
	.k-cities { font-size: 15px; gap: 8px 10px; }
}

/* ==================== Планшет и шире ==================== */
@media (min-width: 560px) {
	.k-opts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.k-opt { grid-template-columns: 56px minmax(0, 1fr); grid-template-areas: "pic name" "pic price"; row-gap: 2px; }
	.k-opt__price { text-align: left; }
	.k-opt--count { grid-template-areas: "pic name" "pic price" "pic mini"; }
	.k-work { flex-basis: 46%; }
	.k-work--pair { flex-basis: 46%; }
	.k-cards4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.k-tags { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.k-cities { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 768px) {
	:root { --gut: 24px; }
	h2 { font-size: 36px; }
	.block { padding: 44px 0 36px; }
	.k-hero { padding: 36px 32px; }
	.k-only-wide { display: revert !important; }
	.k-hero .bts .k-only-wide { display: inline-flex !important; }
	.k-cards3 .item img, .k-cards4 .item img { aspect-ratio: 4 / 3; }
	.k-hero__call { grid-template-columns: auto 1fr; align-items: center; }
	.k-hero__phone { width: auto; }
	.k-hero__prem { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.k-hero .bts { display: flex; flex-wrap: wrap; }
	.k-hero .bts .button { width: auto; }
	.k-hero__right { grid-template-columns: 1fr 1fr; }
	.k-wide { aspect-ratio: 16 / 7; }
	.k-cards3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.k-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; }
	.k-about { grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }
	#prem { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.k-why { grid-template-columns: 1fr 1fr; gap: 24px 30px; }
	#tabs { padding: 32px; }
	.k-reviews { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.form3 { grid-template-columns: 1.1fr 1fr; align-items: center; padding: 30px 32px; }
	.form3 .button { grid-column: 1 / -1; width: auto; justify-self: start; }
	.k-price-foot { grid-template-columns: 1fr auto; align-items: center; }
	.k-form:not(.k-form--modal) .k-ways { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.form4 { padding: 36px 32px; }
	.k-cities { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.k-foot > div:first-child, .k-foot > div:last-child { grid-column: auto; }
	.k-foot { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.k-foot__bottom { grid-template-columns: auto 1fr auto; align-items: center; }
	.k-docs { justify-content: center; }
	.modal:not(.k-citydlg) .modal-dialog { left: auto; width: 500px; padding: 64px 40px 40px; }
}

@media (min-width: 1000px) {
	.k-calc { grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
	.k-calc__sum { position: sticky; top: 20px; padding: 26px 24px; }
	.k-depth { grid-template-columns: 110px minmax(0, 1fr); padding: 18px 22px; }
	.k-faq { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; align-items: start; }
	.k-faq__img { display: block; width: 100%; border-radius: var(--r-lg); position: sticky; top: 20px; aspect-ratio: 5 / 6; object-fit: cover; }
	.k-cards4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.k-tags { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.form4 { grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 44px 48px; }
	.k-form:not(.k-form--modal) .k-ways { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ==================== Компьютер ==================== */
@media (min-width: 1200px) {
	#mobile { display: none; }
	#top, #header, #menu { display: block; }
	#top { background: var(--sky); color: var(--gray); font-size: 14px; padding: 9px 0; }
	#top a { color: var(--gray); }
	#top a:hover { color: var(--blue); }
	#top .container { display: flex; align-items: center; justify-content: space-between; }
	#top .nav { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
	#top .ad { display: flex; gap: 30px; }
	#header { padding: 18px 0; }
	#header .container { display: flex; align-items: center; justify-content: space-between; }
	#header .logo { display: flex; align-items: center; gap: 28px; color: var(--gray); }
	#header .logo .text { font-size: 14px; line-height: 18px; }
	#header .r { display: flex; align-items: center; gap: 36px; }
	#header .zvon { color: var(--blue-ink); border-bottom: 1px dashed currentColor; }
	#header .zvon:hover { color: var(--ink); }
	#header .phone { font-size: 19px; font-weight: 700; white-space: nowrap; }
	#header .phone:hover { color: var(--blue); }
	#header .time { font-size: 12px; text-align: right; color: var(--gray); }
	#header .viz { display: inline-flex; align-items: center; min-height: 44px; padding: 0 26px; border: 1px solid var(--blue); border-radius: 23px; color: var(--blue-ink); }
	#header .viz:hover { background: var(--blue); color: var(--white); }
	#menu { padding: 12px 0; border-top: 1px solid var(--line-2); background: var(--sky); }
	#menu .nav { display: flex; justify-content: space-between; list-style: none; margin: 0; padding: 0; }
	#menu .nav a { font-weight: 700; text-transform: uppercase; font-size: 15px; letter-spacing: .01em; }
	#menu .nav a:hover, #menu .is-current a { color: var(--blue-ink); }
	.ppage { padding-top: 22px; }
	h2 { font-size: 44px; margin-bottom: 24px; }
	.block { padding: 56px 0 44px; }
	.k-hero { grid-template-columns: minmax(0, 1fr) 380px; gap: 36px; align-items: start; padding: 50px; min-height: 560px; }
	.k-hero::before { background: linear-gradient(90deg, rgba(7, 27, 44, .66) 0%, rgba(7, 27, 44, .44) 60%, rgba(7, 27, 44, .30) 100%); }
	.k-hero h1 { font-size: 46px; line-height: 1.08; }
	.k-hero__price { font-size: 19px; }
	.k-hero__price b { font-size: 22px; }
	.k-hero .text { font-size: 16px; }
	.k-hero__prem { font-size: 15px; gap: 14px 28px; }
	.k-hero__right { grid-template-columns: 1fr; }
	.k-hero__main { gap: 18px; }
	.k-opts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.k-form:not(.k-form--modal) .k-ways { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.k-cards3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
	.k-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 30px; }
	.k-about .title { font-size: 30px; line-height: 1.3; }
	.k-about { font-size: 17px; }
	.k-work { flex-basis: calc((100% - 32px) / 3); max-width: none; }
	.k-work--pair { flex-basis: calc((100% - 32px) / 3); }
	.k-track { margin: 0; padding: 2px 0 6px; scroll-padding-left: 0; }
	.form3 { grid-template-columns: 1.1fr 1fr auto; padding: 32px 40px; }
	.form3 .button { grid-column: auto; }
	.form3 .text { border-left: 1px solid rgba(255, 255, 255, .5); padding-left: 30px; }
	.form3__title { font-size: 24px; }
	.k-foot { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
	.modal .title { font-size: 40px; }
}

/* ==================== Доработки перед переключением (20.10.2026) ==================== */

/* ---------- Только для скринридера ---------- */
.k-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

@media (min-width: 768px) {
	.k-hero__call .k-msg, .form4__text .k-msg, .k-contacts__card .k-msg { max-width: 440px; }
}

/* ---------- Кнопка города в шапке ---------- */
.k-citybar { background: var(--sky); border-top: 1px solid #E3EDF8; }
.k-citybar .container { display: flex; }
.k-citybtn { display: inline-flex; align-items: center; gap: 6px; min-width: 0; max-width: 100%; min-height: 40px; color: var(--blue-ink); font-size: 14px; }
.k-citybtn > svg { flex: none; color: var(--blue); }
.k-citybtn__nm { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; color: var(--ink); }
.k-citybtn__ch { flex: none; margin-left: 4px; padding: 3px 10px; border: 1px solid #D3E5F7; border-radius: 999px; background: var(--white); color: var(--blue-ink); font-size: 13px; white-space: nowrap; transition: background-color .25s ease-out, color .25s ease-out, border-color .25s ease-out; }
.k-citybtn:hover .k-citybtn__ch { background: var(--blue); border-color: var(--blue); color: var(--white); }
@media (min-width: 1200px) {
	.k-citybar { display: none; }
	#top .city { display: inline-flex; align-items: center; gap: 6px; min-height: 0; margin: -4px 0; padding: 4px 10px 4px 8px; border-radius: 999px; color: var(--blue-ink); font-size: 14px; }
	#top .city:hover { background: var(--white); color: var(--blue-ink); }
	#top .city .k-citybtn__nm { font-weight: 400; color: var(--blue-ink); }
	#top .city > svg:last-child { opacity: .75; }
}

/* ---------- Кнопка связи: капсула справа внизу, видна всегда ----------
   Жёлтая капсула «Связаться» с синим кружком-трубкой (не круг соседних сайтов), мягкий импульс раз в 6 секунд.
   Над плашкой cookie поднимается сама (--kd-cookie-h считает main.js). */
.k-fab { position: fixed; right: max(12px, env(safe-area-inset-right)); bottom: calc(14px + env(safe-area-inset-bottom) + var(--kd-cookie-h, 0px)); z-index: 960; transition: bottom .3s var(--ease); }
.k-fab__tgl { position: relative; display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 20px 0 6px; border: 0; border-radius: 999px; background: var(--yellow); color: var(--black); font-size: 16px; font-weight: 700; box-shadow: 0 10px 26px rgba(7, 27, 44, .22), 0 2px 6px rgba(7, 27, 44, .12); animation: kd-fab-pulse 6s ease-out 3s infinite; transition: background-color .25s ease-out, color .25s ease-out, transform .25s ease-out; }
.k-fab__tgl:hover { transform: translateY(-2px); }
.k-fab__bub { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: var(--white); transition: background-color .25s ease-out; }
.k-fab__i-open { display: inline-flex; animation: kd-fab-ring 6s ease-in-out 3s infinite; }
.k-fab__i-close, .k-fab__l-close { display: none; }
.k-fab.is-open .k-fab__tgl { background: var(--ink); color: var(--white); animation: none; }
.k-fab.is-open .k-fab__bub { background: rgba(255, 255, 255, .14); }
.k-fab.is-open .k-fab__i-open, .k-fab.is-open .k-fab__l-open { display: none; }
.k-fab.is-open .k-fab__i-close { display: inline-flex; }
.k-fab.is-open .k-fab__l-close { display: inline; }
.k-fab__panel { position: absolute; right: 0; bottom: calc(100% + 10px); width: min(300px, calc(100vw - 24px)); padding: 8px; border: 1px solid #E6EDF5; border-radius: 22px; background: var(--white); box-shadow: 0 18px 50px rgba(7, 27, 44, .22), 0 2px 8px rgba(7, 27, 44, .08); transform-origin: 100% 100%; transform: translateY(8px) scale(.96); opacity: 0; visibility: hidden; transition: opacity .22s ease-out, transform .25s var(--ease), visibility 0s linear .25s; }
.k-fab.is-open .k-fab__panel { opacity: 1; visibility: visible; transform: none; transition: opacity .22s ease-out, transform .25s var(--ease); }
.k-fab__head { padding: 8px 10px 8px; line-height: 1.3; }
.k-fab__head b { display: block; font-size: 15px; }
.k-fab__head span { display: block; font-size: 13px; color: var(--gray); }
.k-fab__row { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 10px; border-radius: 14px; }
.k-fab__row:hover { background: var(--sky); }
.k-fab__ic { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 36px; height: 36px; }
.k-fab__ic img { width: 34px; height: 34px; }
.k-fab__ic--call { border-radius: 11px; background: var(--yellow); color: var(--black); }
.k-fab__tx { display: grid; min-width: 0; line-height: 1.25; }
.k-fab__tx b { font-size: 15px; }
.k-fab__tx small { font-size: 13px; color: var(--gray); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.k-fab__lead { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; margin: 6px 2px 2px; border-radius: var(--r-pill); background: var(--blue); color: var(--white); font-weight: 700; }
.k-fab__lead:hover { background: var(--ink); color: var(--white); }
@keyframes kd-fab-pulse { 0%, 78%, 100% { box-shadow: 0 10px 26px rgba(7, 27, 44, .22), 0 2px 6px rgba(7, 27, 44, .12), 0 0 0 0 rgba(0, 137, 255, 0); } 82% { box-shadow: 0 10px 26px rgba(7, 27, 44, .22), 0 2px 6px rgba(7, 27, 44, .12), 0 0 0 0 rgba(0, 137, 255, .45); } 96% { box-shadow: 0 10px 26px rgba(7, 27, 44, .22), 0 2px 6px rgba(7, 27, 44, .12), 0 0 0 16px rgba(0, 137, 255, 0); } }
@keyframes kd-fab-ring { 0%, 80%, 100% { transform: rotate(0); } 83% { transform: rotate(-14deg); } 86% { transform: rotate(14deg); } 89% { transform: rotate(-10deg); } 92% { transform: rotate(8deg); } 95% { transform: rotate(0); } }
/* Последняя строка подвала не уходит под кнопку связи */
#footer { padding-bottom: calc(90px + env(safe-area-inset-bottom)); }

/* ---------- Окно выбора города: на телефоне — весь экран, на компьютере — карта + список по центру ---------- */
.k-citydlg .modal-dialog { inset: 0; display: flex; flex-direction: column; padding: 0; overflow: hidden; transform: translateY(14px); }
.k-citydlg.is-open .modal-dialog { transform: none; }
.k-citydlg__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex: none; padding: 12px 8px 10px 16px; border-bottom: 1px solid var(--line); }
.k-citydlg__t { font-size: 22px; font-weight: 700; line-height: 1.2; }
.k-citydlg__now { margin-top: 3px; font-size: 13px; line-height: 1.35; color: var(--gray); }
.k-citydlg__now b { color: var(--ink); }
.k-citydlg .close { position: static; flex: none; }
.k-citydlg__body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }

/* ---------- Карта и список городов (окно и страница «Регионы работы») ---------- */
.k-geo__search { position: sticky; top: 0; z-index: 3; padding: 10px 16px 8px; background: var(--white); }
.k-geo__field { position: relative; display: flex; align-items: center; }
.k-geo__field > svg { position: absolute; left: 15px; color: var(--gray); pointer-events: none; }
.k-geo__field input { width: 100%; height: 52px; padding: 0 46px 0 46px; border: 2px solid var(--field); border-radius: 16px; background: var(--field); font-size: 16px; outline: none; -webkit-appearance: none; appearance: none; transition: border-color .2s ease-out, background-color .2s ease-out, box-shadow .2s ease-out; }
.k-geo__field input::placeholder { color: #8A949D; }
.k-geo__field input:focus { border-color: var(--blue); background: var(--white); }
.k-geo__field input::-webkit-search-cancel-button { -webkit-appearance: none; display: none; }
.k-geo__clr { position: absolute; right: 6px; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: var(--gray-2); }
.k-geo__clr:hover { background: var(--sky); }
.k-geo__status { margin: 6px 4px 0; font-size: 12.5px; color: var(--gray); }
.k-geo__map { position: relative; height: 240px; margin: 0 16px; overflow: hidden; border: 1px solid #E1EAF4; border-radius: 18px; background: #F7FAFE; }
.k-geo__svg { display: block; width: 100%; height: 100%; cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; }
.k-geo__svg.is-drag { cursor: grabbing; }
.k-geo__mo { fill: #E6F2FF; stroke: var(--blue); stroke-width: 1.4; stroke-dasharray: 5 4; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.k-geo__msk { fill: #C9E3FF; stroke: var(--blue); stroke-width: 1.2; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.k-geo__river { fill: none; stroke: #9DCBF4; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.k-geo__reg { font-size: calc(10px * var(--u, 1)); fill: #9AA7B4; letter-spacing: .08em; text-transform: uppercase; pointer-events: none; }
.k-geo__rname { font-size: calc(10.5px * var(--u, 1)); fill: #5FA5E3; font-style: italic; pointer-events: none; }
.k-geo__pt { cursor: pointer; outline: none; transition: opacity .25s ease-out; }
.k-geo__hit { fill: transparent; }
.k-geo__halo { fill: rgba(0, 137, 255, .2); opacity: 0; transition: opacity .2s ease-out; }
.k-geo__dot { fill: var(--white); stroke: var(--blue); stroke-width: 2.2; transition: fill .2s ease-out; }
.k-geo__pt.is-top .k-geo__dot { fill: var(--blue); stroke: var(--white); stroke-width: 2; }
.k-geo__pt.is-main .k-geo__dot { fill: var(--ink); stroke: var(--white); stroke-width: 2.4; }
.k-geo__pt.is-cur .k-geo__dot { fill: var(--yellow); stroke: var(--ink); stroke-width: 2.4; }
.k-geo__pt.is-cur .k-geo__halo { opacity: 1; fill: rgba(255, 222, 50, .5); }
.k-geo__lbl { font-size: 12.5px; font-weight: 700; fill: var(--ink); paint-order: stroke; stroke: rgba(255, 255, 255, .94); stroke-width: 4px; stroke-linejoin: round; opacity: 0; pointer-events: none; transition: opacity .2s ease-out; }
.k-geo__pt.lv1 .k-geo__lbl, .is-z2 .k-geo__pt.lv2 .k-geo__lbl, .k-geo__pt.is-cur .k-geo__lbl, .k-geo__pt:hover .k-geo__lbl, .k-geo__pt.is-hover .k-geo__lbl, .k-geo__pt.is-hit .k-geo__lbl { opacity: 1; }
.k-geo__pt:hover .k-geo__halo, .k-geo__pt.is-hover .k-geo__halo, .k-geo__pt.is-hit .k-geo__halo { opacity: 1; }
.k-geo__pt:hover .k-geo__dot, .k-geo__pt.is-hover .k-geo__dot { fill: var(--blue); stroke: var(--white); }
.k-geo__pt.is-hit .k-geo__dot { fill: var(--blue); stroke: var(--white); stroke-width: 2.4; }
.k-geo__pt.is-hit .k-geo__lbl { fill: var(--blue-ink); }
.has-q .k-geo__pt { opacity: .25; }
.has-q .k-geo__pt.is-hit, .has-q .k-geo__pt.is-cur, .has-q .k-geo__pt:hover { opacity: 1; }
.has-q .k-geo__pt.is-cur:not(.is-hit) .k-geo__lbl { opacity: 0; }
.k-geo__zoom { position: absolute; right: 10px; bottom: 10px; display: grid; overflow: hidden; border-radius: 12px; background: var(--white); box-shadow: 0 4px 14px rgba(7, 27, 44, .14); }
.k-geo__zoom button { width: 40px; height: 40px; border: 0; background: var(--white); color: var(--ink); font-size: 22px; line-height: 1; }
.k-geo__zoom button + button { border-top: 1px solid var(--line); }
.k-geo__zoom button:hover:not(:disabled) { background: var(--sky); }
.k-geo__zoom button:disabled { color: #B8C1CA; cursor: default; }
.k-geo__legend { position: absolute; left: 10px; bottom: 10px; display: none; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 10px; background: rgba(255, 255, 255, .9); color: var(--gray-2); font-size: 12px; pointer-events: none; }
.k-geo__legend span { width: 10px; height: 10px; margin-left: 6px; border: 2px solid var(--blue); border-radius: 50%; background: var(--white); }
.k-geo__legend span:first-child { margin-left: 0; }
.k-geo__legend span.is-top { background: var(--blue); }
.k-geo__legend span.is-cur { background: var(--yellow); border-color: var(--ink); }
.k-geo__list { padding: 14px 16px 24px; }
.k-geo__homea { display: grid; gap: 2px; padding: 13px 16px; border: 1px solid var(--line-2); border-radius: 16px; background: var(--sky); }
.k-geo__homea b { font-size: 16px; line-height: 1.3; }
.k-geo__homea span { font-size: 13px; color: var(--gray); }
.k-geo__homea:hover { border-color: var(--blue); }
.k-geo__homea.is-cur { border-color: #EBCB2C; background: #FFF8D1; }
.k-geo__sec { margin-top: 18px; }
.k-geo__h { margin-bottom: 8px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gray); }
.k-geo__h span { font-weight: 400; color: #9FA9B2; }
.k-geo__chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.k-geo__chip { display: inline-flex; align-items: center; min-height: 38px; padding: 6px 14px; border: 1px solid #D3E5F7; border-radius: 999px; background: var(--white); font-size: 14px; line-height: 1.2; }
.k-geo__chip:hover { border-color: var(--blue); background: var(--sky); color: var(--blue-ink); }
.k-geo__chip.is-cur { border-color: var(--yellow); background: var(--yellow); font-weight: 700; }
.k-geo__grp { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 0 6px; padding: 4px 0; border-top: 1px solid #EDF1F5; }
.k-geo__ltr { padding-top: 8px; color: var(--blue); font-size: 15px; font-weight: 700; line-height: 1.3; }
.k-geo__grp ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 8px; margin: 0; padding: 0; list-style: none; }
.k-geo__city { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 6px; min-height: 40px; padding: 8px; border-radius: 10px; font-size: 15px; line-height: 1.3; }
.k-geo__city small { font-size: 12px; color: var(--gray); }
.k-geo__city em { padding: 1px 8px; border-radius: 999px; background: var(--yellow); font-size: 11.5px; font-style: normal; font-weight: 700; }
.k-geo__city:hover, .k-geo__city.is-hover { background: var(--sky); color: var(--blue-ink); }
.k-geo__city.is-cur { font-weight: 700; }
.k-geo__empty { display: grid; justify-items: start; gap: 8px; margin-top: 14px; padding: 18px; border-radius: 16px; background: var(--sky); }
.k-geo__empty span { color: var(--gray-2); font-size: 14px; }
.k-geo__empty .button { min-height: 48px; padding: 10px 22px; }
.k-geo__far { margin: 18px 0 0; color: var(--gray); font-size: 13px; }
/* Страница «Регионы работы»: поиск не липнет, карта крупнее */
.k-geo--page .k-geo__search { position: relative; padding: 0 0 10px; }
.k-geo--page .k-geo__map { height: 320px; margin: 0; }
.k-geo--page .k-geo__list { padding: 16px 0 0; }
.k-geo--page .k-geo__svg:not(.is-z2) { touch-action: pan-y; }
@media (min-width: 560px) {
	.k-geo__legend { display: flex; }
	.k-geo__map { height: 300px; }
	.k-geo__grp ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
	.k-citydlg .modal-dialog { inset: auto; left: 50%; top: 50%; width: min(1160px, calc(100vw - 48px)); height: min(780px, calc(100vh - 48px)); border-radius: var(--r-xl); box-shadow: 0 30px 80px rgba(3, 13, 22, .35); transform: translate(-50%, calc(-50% + 14px)); }
	.k-citydlg.is-open .modal-dialog { transform: translate(-50%, -50%); }
	.k-citydlg__head { padding: 18px 16px 14px 24px; }
	.k-citydlg__t { font-size: 26px; }
	.k-citydlg__body { overflow: hidden; }
	.k-geo--dialog { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); height: 100%; }
	.k-geo--dialog .k-geo__map { grid-area: 1 / 1; height: auto; margin: 0; border: 0; border-right: 1px solid var(--line); border-radius: 0; }
	.k-geo--dialog .k-geo__search, .k-geo--page .k-geo__search { grid-area: 1 / 1; align-self: start; width: min(420px, calc(100% - 32px)); margin: 16px; padding: 0; background: none; }
	.k-geo__field input { border-color: var(--white); background: var(--white); box-shadow: 0 8px 24px rgba(7, 27, 44, .14); }
	.k-geo--dialog .k-geo__status, .k-geo--page .k-geo__status { display: inline-block; padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, .9); }
	.k-geo--dialog .k-geo__list { grid-area: 1 / 2; overflow-y: auto; overscroll-behavior: contain; padding: 18px 22px 26px; }
	.k-geo--dialog .k-geo__grp ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.k-geo--page { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 0 32px; align-items: start; }
	.k-geo--page .k-geo__map { grid-area: 1 / 1; position: sticky; top: 20px; height: min(640px, calc(100vh - 40px)); }
	.k-geo--page .k-geo__search { position: sticky; top: 20px; z-index: 3; }
	.k-geo--page .k-geo__list { grid-area: 1 / 2; padding: 0; }
	.k-geo--page .k-geo__grp ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1200px) {
	.k-geo--page .k-geo__grp ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- Просмотрщик фото ---------- */
.k-zoomable, a.k-work__img { cursor: zoom-in; }
.k-compare__zoom { position: absolute; right: 10px; bottom: 10px; z-index: 3; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--ink); box-shadow: 0 2px 10px rgba(7, 27, 44, .2); cursor: zoom-in; }
.k-compare__zoom:hover { background: var(--yellow); }
.k-lbx { position: fixed; inset: 0; z-index: 1100; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; background: rgba(3, 13, 22, .94); opacity: 0; transition: opacity .25s ease-out; }
.k-lbx.is-open { opacity: 1; }
.k-lbx__top { display: flex; align-items: center; justify-content: space-between; padding: 10px 10px 6px 18px; color: rgba(255, 255, 255, .85); font-size: 15px; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.k-lbx__stage { display: flex; align-items: center; justify-content: center; min-height: 0; padding: 4px 12px; overflow: hidden; touch-action: pan-y; }
.k-lbx__img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 12px; opacity: 0; transform: scale(.98); transition: opacity .3s ease-out, transform .3s var(--ease); user-select: none; -webkit-user-drag: none; cursor: grab; }
.k-lbx__img.is-in { opacity: 1; transform: none; }
.k-lbx__btn { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: var(--white); transition: background-color .2s ease-out; }
.k-lbx__btn:hover { background: rgba(255, 255, 255, .24); }
.k-lbx__nav { position: absolute; top: 50%; margin-top: -24px; }
.k-lbx__prev { left: 8px; }
.k-lbx__next { right: 8px; }
.k-lbx__cap { max-width: 820px; margin: 0 auto; padding: 10px 20px calc(16px + env(safe-area-inset-bottom)); color: rgba(255, 255, 255, .88); font-size: 14px; line-height: 1.45; text-align: center; }
@media (min-width: 768px) {
	.k-lbx__stage { padding: 8px 84px; }
	.k-lbx__prev { left: 20px; }
	.k-lbx__next { right: 20px; }
	.k-lbx__btn { width: 52px; height: 52px; }
	.k-lbx__nav { margin-top: -26px; }
}

/* Без импульса кнопки связи для тех, кто отключил анимации */
@media (prefers-reduced-motion: reduce) {
	.k-fab__tgl, .k-fab__i-open { animation: none !important; }
}

/* ---------- Без анимаций для тех, кто их отключил ---------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, ::before, ::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
	.k-reveal { opacity: 1; transform: none; }
}

/* ==================== Тема WordPress: блоки сверх вёрстки v3 (тот же облик) ==================== */

/* ---------- Служебное ---------- */
.k-trap { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.k-opt input[type="radio"] { position: absolute; opacity: 0; width: 1px; height: 1px; }
.k-done.is-err { background: #FDECEA; border-color: #F3B7B1; }
.k-req { display: inline-block; margin-top: 4px; font-size: 12px; color: rgba(255, 255, 255, .5); }

/* ---------- Хлебные крошки ---------- */
.k-crumbs ol { display: flex; flex-wrap: wrap; gap: 2px 0; margin: 0; padding: 0; list-style: none; font-size: 13px; line-height: 1.4; color: var(--gray); }
.k-crumbs li { display: inline-flex; align-items: center; min-width: 0; }
.k-crumbs li + li::before { content: "/"; margin: 0 8px; opacity: .6; }
.k-crumbs a { color: var(--blue-ink); }
.k-crumbs a:hover { color: var(--ink); }
.k-crumbs--light { color: rgba(255, 255, 255, .8); }
.k-crumbs--light a { color: var(--white); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .4); text-underline-offset: 3px; }
.k-crumbs--light a:hover { color: var(--yellow); }

/* ---------- Схема колодца в разрезе рядом с калькулятором ---------- */
.k-scheme { display: grid; gap: 18px; margin: 22px 0 0; padding: 18px; border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--white); }
.k-scheme__pic { max-width: 260px; margin: 0 auto; width: 100%; }
.k-scheme__pic svg { display: block; width: 100%; height: auto; }
.k-scheme__title { font-size: 20px; font-weight: 700; line-height: 1.25; margin-bottom: 12px; }
.k-scheme__list { list-style: none; counter-reset: sch; margin: 0; padding: 0; display: grid; gap: 10px; }
.k-scheme__list li { position: relative; counter-increment: sch; padding: 2px 0 2px 40px; min-height: 28px; color: var(--gray-2); font-size: 14px; line-height: 1.35; transition: color .3s ease-out; }
.k-scheme__list li::before { content: counter(sch); position: absolute; left: 0; top: 0; width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; border: 2px solid var(--blue); color: var(--blue-ink); font-weight: 700; font-size: 13px; background: var(--white); transition: background-color .3s ease-out, color .3s ease-out; }
.k-scheme__list li b { display: block; color: var(--ink); font-size: 15px; }
.k-scheme__list li span { display: block; }
.k-scheme__list li.is-on::before { background: var(--blue); color: var(--white); }

/* ---------- Шторка «до / после» в ленте работ ---------- */
.k-compare { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; background: var(--card); --pos: 50%; touch-action: pan-y; }
.k-compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; -webkit-user-drag: none; user-select: none; }
.k-compare__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.k-compare .k-tag--ok { left: auto; right: 8px; }
.k-compare__line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: var(--white); box-shadow: 0 0 0 1px rgba(7, 27, 44, .15); pointer-events: none; }
.k-compare__line span { position: absolute; top: 50%; left: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22%3E%3Cpath d=%22M9 6l-5 6 5 6M15 6l5 6-5 6%22 fill=%22none%22 stroke=%22%230089FF%22 stroke-width=%222.4%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22/%3E%3C/svg%3E") center / 22px no-repeat; box-shadow: 0 2px 8px rgba(7, 27, 44, .25); }
.k-compare__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; background: transparent; touch-action: pan-y; }
.k-compare__range::-webkit-slider-thumb { -webkit-appearance: none; width: 48px; height: 200px; }
.k-compare__range::-moz-range-thumb { width: 48px; height: 200px; border: 0; }
.k-compare:has(.k-compare__range:focus-visible) { outline: 3px solid var(--blue); outline-offset: 2px; }

/* ---------- «Какая у вас вода?» ---------- */
.k-water__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.k-water__chips button { min-height: 44px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--ink); font-size: 15px; font-weight: 700; transition: background-color .25s ease-out, border-color .25s ease-out, color .25s ease-out; }
.k-water__chips button:hover { border-color: var(--blue); color: var(--blue-ink); }
.k-water__chips button[aria-selected="true"] { background: var(--blue); border-color: var(--blue); color: var(--white); }
.k-water__pane { display: grid; gap: 16px; padding: 12px; border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--white); animation: k-fade .35s var(--ease); }
.k-water__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r-lg); display: block; }
.k-water__body { display: grid; gap: 14px; padding: 4px 6px 8px; align-content: start; }
.k-water__step { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; align-items: start; }
.k-water__n { width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--sky-2); color: var(--blue-ink); font-weight: 700; }
.k-water__step b { display: block; font-size: 16px; margin-bottom: 2px; }
.k-water__step p { margin: 0; color: var(--gray-2); font-size: 15px; }
.k-water__step--price .k-water__n { background: var(--yellow); color: var(--black); }
.k-water__step p.k-water__price { color: var(--ink); font-weight: 700; font-size: 17px; }
.k-water__body .button { justify-self: start; }

/* ---------- Текст об услуге ---------- */
.k-article { display: grid; gap: 20px; }
.k-article__text { color: var(--gray-2); max-width: 78ch; min-width: 0; }
.k-article__text h3 { color: var(--ink); margin: 18px 0 8px; }
.k-article__text ul, .k-doc ul, .k-doc ol { padding-left: 22px; margin: 0 0 12px; }
.k-article__text li { margin-bottom: 4px; }
.k-article__text strong, .k-article__text b { color: var(--ink); }
.k-article__facts { align-self: start; padding: 20px 18px; border-radius: var(--r-xl); background: var(--sky); }

/* ---------- Карточки без фото и варианты ---------- */
.k-cards3 .item--text { padding: 18px 16px; }
.k-cards3 .item--text h3 { margin: 0 0 10px; }
.k-cards3 .item--text p { margin: 0; }
.k-cards3--plain .item { background: var(--sky); border-color: var(--line-2); }
.k-cards4 .item--text > div { padding: 18px 16px; }

/* ---------- Прайс: текст вместо цены («входит в цену ямы под ключ») переносится ---------- */
.k-table tr.is-free td:last-child { white-space: normal; min-width: 96px; }

/* ---------- Калькуляторы услуг ---------- */
.k-opts.k-opts--one { grid-template-columns: minmax(0, 1fr); }
.k-opts--one .k-opt--count { grid-template-columns: 56px minmax(0, 1fr); grid-template-areas: "pic name" "pic price" "pic mini"; row-gap: 6px; }
.k-opts--one .k-opt__price { text-align: left; white-space: normal; }
.k-opt__name b { color: var(--blue-ink); }
.k-pcard { padding: 20px 18px; border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--white); display: grid; gap: 12px; }
.k-pcard__price { font-size: 32px; font-weight: 700; line-height: 1.1; color: var(--blue-ink); }
.k-pcard__price small { font-size: 16px; font-weight: 400; color: var(--gray); }
.k-pcard__text { margin: 0; color: var(--gray-2); }
.k-pcard .k-calc__label { margin: 4px 0 0; }
.k-pcard .button { justify-self: start; }

/* ---------- Другие услуги: плитка «Все цены» ---------- */
.k-tags a.k-tags__all { background: var(--sky); border-color: var(--line-2); }

/* ---------- Шапка служебной страницы ---------- */
.k-phead { display: grid; gap: 12px; padding: 22px 18px; border-radius: var(--r-xl); background: var(--sky); margin-top: 4px; }
.k-phead h1 { font-size: clamp(27px, 7.6vw, 34px); line-height: 1.12; letter-spacing: -.01em; hyphens: auto; overflow-wrap: anywhere; }
.k-phead__lead { margin: 0; color: var(--gray-2); max-width: 70ch; }
.k-phead__lead a { color: var(--blue-ink); font-weight: 700; white-space: nowrap; }
.k-phead__bts { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Документы и тексты страниц ---------- */
.k-doc { max-width: 860px; padding: 28px 0 10px; color: var(--gray-2); overflow-wrap: anywhere; }
.k-doc h2 { font-size: clamp(22px, 5.4vw, 28px); color: var(--ink); margin: 26px 0 12px; }
.k-doc h3 { color: var(--ink); margin: 20px 0 8px; }
.k-doc a { color: var(--blue-ink); text-decoration: underline; text-underline-offset: 2px; }
.k-doc strong { color: var(--ink); }
.k-doc--wide { max-width: none; }
.k-doc--in { padding: 20px 0 0; }
.kd-legal__date { font-size: 14px; color: var(--gray); }

/* ---------- Цены: разделы ---------- */
.k-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; }
.k-chips a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border-radius: 10px; background: var(--sky-2); color: var(--blue-ink); font-size: 14px; font-weight: 700; }
.k-chips a:hover { background: var(--blue); color: var(--white); }
.k-prices__item + .k-prices__item { margin-top: 22px; }
.k-prices__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; margin-bottom: 10px; }
.k-prices__head h3 { margin: 0; font-size: 20px; }
.k-prices__head h3 a:hover { color: var(--blue-ink); }
.k-prices__head b { color: var(--blue-ink); white-space: nowrap; }
.k-prices__head small { font-weight: 400; color: var(--gray); }

/* ---------- Контакты ---------- */
.k-contacts__grid { display: grid; gap: 12px; }
.k-contacts__card { display: grid; gap: 8px; align-content: start; padding: 20px 18px; border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--white); min-width: 0; }
.k-contacts__lbl { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--gray); }
.k-contacts__phone { font-size: 26px; font-weight: 700; white-space: nowrap; }
.k-contacts__phone:hover, .k-contacts__mail:hover { color: var(--blue); }
.k-contacts__mail { font-size: 18px; font-weight: 700; color: var(--blue-ink); overflow-wrap: anywhere; }
.k-contacts__muted { color: var(--gray-2); font-size: 14px; }
.k-contacts__req { margin: 14px 0 0; color: var(--gray); font-size: 14px; }

/* ---------- Регионы и города-ссылки ---------- */
.k-cities a { color: var(--ink); }
.k-cities a:hover { color: var(--blue-ink); }
.k-cities span[aria-current] { font-weight: 700; color: var(--blue-ink); }
#map.k-regions { background: none; }
.k-regions__group + .k-regions__group { margin-top: 30px; }
.k-regions h2 { font-size: clamp(22px, 5.4vw, 28px); }
.k-regions h2 small { font-size: 15px; font-weight: 400; color: var(--gray); }

/* ---------- Карта сайта ---------- */
.k-sitemap { display: grid; gap: 24px; }
.k-sitemap h2 { font-size: 22px; margin-bottom: 10px; }
.k-sitemap ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.k-sitemap a { color: var(--blue-ink); font-weight: 700; }
.k-sitemap small { color: var(--gray); }

/* ---------- Плашка cookie (Wolf Tweaks или тема) — над полосой связи, не накрывает её ---------- */
.k-cookie { position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 950; display: grid; gap: 10px; padding: 14px 16px; border-radius: var(--r-lg); background: var(--foot); color: rgba(255, 255, 255, .86); font-size: 13px; line-height: 1.45; box-shadow: var(--shadow-lg); }
.k-cookie p { margin: 0; }
.k-cookie a { color: #7FC3FF; text-decoration: underline; text-underline-offset: 2px; }
.k-cookie .button { min-height: 44px; padding: 10px 24px; justify-self: start; }
#wolf-cookie { --ck-bg: #030D16; --ck-fg: #FFFFFF; --ck-btn-bg: #FFDE32; --ck-btn-fg: #070707; z-index: 950; }

@media (max-width: 359px) {
	.k-phead { padding: 20px 14px; }
	.k-phead h1 { font-size: 23px; }
	.k-table th, .k-table td { padding: 10px 10px; }
}

@media (min-width: 560px) {
	.k-opts--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.k-contacts__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.k-sitemap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.k-cookie { left: 16px; right: auto; max-width: 520px; grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
}

@media (min-width: 768px) {
	.k-scheme { grid-template-columns: 240px minmax(0, 1fr); align-items: center; gap: 28px; padding: 24px 28px; }
	.k-scheme__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; }
	.k-water__pane { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 14px; align-items: center; }
	.k-water__img img { aspect-ratio: 4 / 3; }
	.k-phead { padding: 30px 32px; }
	.k-contacts__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.k-article--facts { grid-template-columns: minmax(0, 1fr) 300px; gap: 30px; }
}

@media (min-width: 1000px) {
	.k-tags a:last-child:nth-child(3n + 2) { grid-column: span 2; }
	.k-tags a:last-child:nth-child(3n + 1) { grid-column: 1 / -1; }
	.k-sitemap { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1200px) {
	.k-opts.k-opts--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.k-scheme { grid-template-columns: 260px minmax(0, 1fr); padding: 28px 40px; }
	.k-scheme__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.k-water__pane { grid-template-columns: 1.1fr 1fr; gap: 28px; padding: 16px 28px 16px 16px; }
	.k-phead { padding: 40px 50px; }
	.k-phead h1 { font-size: 46px; }
	.k-cookie { left: 20px; bottom: 20px; }
}
