/* Тема «Вода-В-Дом» (ceptik-kolodez.ru) — основные стили. Префикс .vd-, один селектор = одна строка. */

/* ===== Шрифты: IBM Plex Sans (заголовки) + Golos Text (текст), свои файлы ===== */
@font-face { font-family: "Plex"; font-weight: 500; font-display: swap; src: url(../fonts/plex-cyrillic-500.woff2) format("woff2"); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Plex"; font-weight: 500; font-display: swap; src: url(../fonts/plex-latin-500.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20BD; }
@font-face { font-family: "Plex"; font-weight: 600; font-display: swap; src: url(../fonts/plex-cyrillic-600.woff2) format("woff2"); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Plex"; font-weight: 600; font-display: swap; src: url(../fonts/plex-latin-600.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20BD; }
@font-face { font-family: "Plex"; font-weight: 700; font-display: swap; src: url(../fonts/plex-cyrillic-700.woff2) format("woff2"); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Plex"; font-weight: 700; font-display: swap; src: url(../fonts/plex-latin-700.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20BD; }
@font-face { font-family: "Golos"; font-weight: 400; font-display: swap; src: url(../fonts/golos-text-cyrillic-400.woff2) format("woff2"); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Golos"; font-weight: 400; font-display: swap; src: url(../fonts/golos-text-latin-400.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20BD; }
@font-face { font-family: "Golos"; font-weight: 500; font-display: swap; src: url(../fonts/golos-text-cyrillic-500.woff2) format("woff2"); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Golos"; font-weight: 500; font-display: swap; src: url(../fonts/golos-text-latin-500.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20BD; }
@font-face { font-family: "Golos"; font-weight: 600; font-display: swap; src: url(../fonts/golos-text-cyrillic-600.woff2) format("woff2"); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Golos"; font-weight: 600; font-display: swap; src: url(../fonts/golos-text-latin-600.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20BD; }

/* ===== Токены: хвойный зелёный + латунь на спокойном светлом ===== */
:root { --vd-ink: #0f2233; --vd-ink-2: #4a5a69; --vd-green: #1d64a6; --vd-green-2: #3a87c6; --vd-green-soft: #e3eef8; --vd-green-deep: #0d2c47; --vd-brass: #c9a25a; --vd-brass-2: #d9b877; --vd-brass-soft: #f4eddf; --vd-bg: #f3f6f9; --vd-paper: #fff; --vd-line: #d6e0ea; --vd-water: #7fa8d9; --vd-ok: #2e8a5b; --vd-r: 12px; --vd-r-s: 8px; --vd-shadow: 0 22px 50px -30px rgba(9, 32, 54, .45); --vd-wrap: 1240px; --vd-head: "Plex", "Golos", system-ui, sans-serif; --vd-text: "Golos", system-ui, -apple-system, "Segoe UI", sans-serif; }

/* ===== База ===== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--vd-bg); color: var(--vd-ink); font: 400 17px/1.6 var(--vd-text); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--vd-green-deep); }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--vd-head); font-weight: 700; line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(30px, 3.6vw, 52px); }
h2 { font-size: clamp(26px, 3.2vw, 42px); }
h3 { font-size: clamp(18px, 1.6vw, 22px); font-weight: 500; }
p { margin: 0 0 1em; }
.vd-wrap { max-width: var(--vd-wrap); margin: 0 auto; padding: 0 24px; }
.vd-sec { padding: clamp(56px, 8vw, 110px) 0; }
.vd-kicker { display: inline-flex; align-items: center; gap: 10px; font: 600 13px/1 var(--vd-head); letter-spacing: .12em; text-transform: uppercase; color: var(--vd-green-2); margin-bottom: 18px; }
.vd-kicker::before { content: ""; width: 28px; height: 2px; background: var(--vd-brass); }
.vd-lead { font-size: clamp(17px, 1.4vw, 20px); color: var(--vd-ink-2); max-width: 640px; }
.vd-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ===== Кнопки ===== */
.vd-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 26px; border-radius: 10px; border: 0; font: 600 16px/1.2 var(--vd-text); text-decoration: none; transition: transform .2s, background .2s, box-shadow .2s; }
.vd-btn:hover { transform: translateY(-2px); }
.vd-btn--brass { background: var(--vd-brass); color: var(--vd-ink); box-shadow: 0 12px 28px -12px rgba(201, 162, 90, .9); }
.vd-btn--brass:hover { background: var(--vd-brass-2); }
.vd-btn--green { background: var(--vd-green); color: #fff; }
.vd-btn--green:hover { background: var(--vd-green-deep); }
.vd-btn--ghost { background: transparent; color: var(--vd-ink); box-shadow: inset 0 0 0 2px var(--vd-line); }
.vd-btn--ghost:hover { box-shadow: inset 0 0 0 2px var(--vd-green); }

/* ===== Шапка: пункты-вкладки с ценой «от» под названием, не липкая ===== */
.vd-head { position: relative; background: var(--vd-paper); border-bottom: 1px solid var(--vd-line); z-index: 20; }
.vd-head__row { display: flex; align-items: center; gap: 18px; min-height: 84px; }
.vd-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--vd-ink); flex: none; }
.vd-logo svg { width: 40px; height: 44px; }
.vd-logo b { display: block; font: 700 17px/1 var(--vd-head); letter-spacing: -.02em; }
.vd-logo small { display: block; font-size: 12px; color: var(--vd-ink-2); margin-top: 4px; }
.vd-tabs { display: flex; gap: 4px; margin: 0 auto; padding: 0; list-style: none; }
.vd-tabs a { display: block; white-space: nowrap; padding: 10px 12px; border-radius: 6px; text-decoration: none; color: var(--vd-ink); font-weight: 500; font-size: 15px; line-height: 1.2; transition: background .2s; }
.vd-tabs a small { display: block; white-space: nowrap; font-size: 12px; font-weight: 400; color: var(--vd-green); margin-top: 3px; }
.vd-tabs a:hover, .vd-tabs a[aria-current] { background: var(--vd-green-soft); }
.vd-head__side { display: flex; align-items: center; gap: 16px; flex: none; }
.vd-city { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 6px 0; font-size: 14px; color: var(--vd-ink-2); }
.vd-city b { color: var(--vd-ink); font-weight: 600; border-bottom: 1px dashed var(--vd-green); }
.vd-phone { font: 700 18px/1 var(--vd-head); color: var(--vd-ink); text-decoration: none; white-space: nowrap; }
.vd-burger { display: none; width: 50px; height: 50px; border-radius: 8px; border: 0; background: var(--vd-green-soft); }
.vd-burger span { display: block; width: 22px; height: 2px; margin: 5px auto; background: var(--vd-ink); border-radius: 2px; }

/* ===== Мобильное меню: полноэкранная сетка плиток ===== */
.vd-grid-menu { position: fixed; inset: 0; z-index: 60; background: var(--vd-bg); padding: 18px 16px 110px; overflow-y: auto; transform: translateY(-102%); transition: transform .35s ease; }
.vd-grid-menu.is-open { transform: none; }
.vd-grid-menu__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.vd-grid-menu__close { width: 50px; height: 50px; border-radius: 8px; border: 0; background: var(--vd-paper); font-size: 26px; line-height: 1; }
.vd-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.vd-tile { display: flex; flex-direction: column; justify-content: space-between; gap: 10px; aspect-ratio: 1; padding: 12px; border-radius: 8px; background: var(--vd-paper); color: var(--vd-ink); text-decoration: none; font-size: 13px; font-weight: 600; line-height: 1.2; }
.vd-tile svg { width: 30px; height: 30px; }
.vd-tile small { display: block; font-weight: 400; color: var(--vd-green); font-size: 12px; margin-top: 3px; }
.vd-tile--accent { background: var(--vd-green); color: #fff; }
.vd-tile--accent small { color: var(--vd-green-soft); }
.vd-grid-menu__contact { margin-top: 16px; padding: 18px; border-radius: 8px; background: var(--vd-paper); }

/* ===== Первый экран: разрез участка с точками-услугами ===== */
.vd-hero { padding: clamp(36px, 5vw, 70px) 0 clamp(40px, 6vw, 80px); }
.vd-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.vd-hero h1 em { font-style: normal; color: var(--vd-green); }
.vd-hero__facts { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 30px; padding: 0; list-style: none; }
.vd-hero__facts li { padding: 10px 16px; border-radius: 10px; background: var(--vd-paper); box-shadow: inset 0 0 0 1px var(--vd-line); font-size: 15px; }
.vd-hero__facts b { color: var(--vd-green-deep); }
.vd-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-start; }
.vd-plot { position: relative; border-radius: 10px; background: linear-gradient(180deg, #eef1ff 0%, #f8f9ff 46%); box-shadow: var(--vd-shadow); overflow: hidden; }
.vd-plot svg { display: block; width: 100%; height: auto; }
.vd-plot__hint { position: absolute; left: 18px; top: 16px; font-size: 13px; color: var(--vd-ink-2); background: rgba(255, 255, 255, .85); padding: 6px 12px; border-radius: 8px; }
.vd-dot { position: absolute; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; border: 0; background: var(--vd-brass); color: var(--vd-ink); font: 700 14px/34px var(--vd-head); padding: 0; box-shadow: 0 0 0 6px rgba(201, 162, 90, .28); transition: transform .2s; }
.vd-dot::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--vd-brass); animation: vd-ping 2.4s ease-out infinite; }
.vd-dot:hover, .vd-dot[aria-expanded="true"] { transform: scale(1.12); background: var(--vd-green); color: #fff; }
.vd-dot[aria-expanded="true"]::after { border-color: var(--vd-green); }
@keyframes vd-ping { 0% { transform: scale(.8); opacity: .9; } 80%, 100% { transform: scale(1.7); opacity: 0; } }
.vd-pop { position: absolute; z-index: 3; width: min(270px, 80%); padding: 16px 18px; border-radius: 8px; background: var(--vd-paper); box-shadow: 0 20px 44px -18px rgba(9, 32, 54, .45); }
.vd-pop[hidden] { display: none; }
.vd-pop b { display: block; font: 600 16px/1.25 var(--vd-text); margin-bottom: 4px; }
.vd-pop p { font-size: 14px; color: var(--vd-ink-2); margin: 0 0 10px; }
.vd-pop__price { font: 700 18px/1 var(--vd-head); color: var(--vd-green-deep); }
.vd-pop a { display: inline-block; margin-top: 10px; font-weight: 600; font-size: 14px; }

/* ===== Раскрывающаяся на месте заявка: кнопка → телефон + способ связи ===== */
.vd-inline { position: relative; }
.vd-inline__form { display: none; flex-wrap: wrap; align-items: center; gap: 10px; padding: 10px; border-radius: 10px; background: var(--vd-paper); box-shadow: 0 0 0 2px var(--vd-brass), var(--vd-shadow); max-width: 560px; }
.vd-inline.is-open .vd-inline__btn { display: none; }
.vd-inline.is-open .vd-inline__form { display: flex; animation: vd-grow .3s ease; }
@keyframes vd-grow { from { opacity: 0; transform: scaleX(.85); transform-origin: left; } to { opacity: 1; transform: none; } }
.vd-inline__form input[type=tel] { flex: 1 1 180px; min-height: 48px; border: 0; border-radius: 8px; background: var(--vd-bg); padding: 0 18px; font: 500 17px var(--vd-text); color: var(--vd-ink); }
.vd-inline__form input[type=tel]:focus { outline: 2px solid var(--vd-green); }
.vd-via { display: flex; gap: 6px; flex: 1 1 100%; order: -1; padding: 2px 4px 0; }
.vd-via label { position: relative; }
.vd-via input { position: absolute; opacity: 0; }
.vd-via span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 8px; font-size: 14px; font-weight: 500; background: var(--vd-bg); cursor: pointer; }
.vd-via span img { width: 18px; height: 18px; }
.vd-via input:checked + span { background: var(--vd-green-soft); box-shadow: inset 0 0 0 2px var(--vd-green); }
.vd-via input:focus-visible + span { outline: 2px solid var(--vd-green); }
.vd-inline__agree { flex: 1 1 100%; font-size: 12px; color: var(--vd-ink-2); padding: 0 8px 4px; }

/* ===== Калькулятор «собери свой колодец»: ствол по центру, кольца кнопками на рисунке ===== */
.vd-calc { background: var(--vd-paper); border-radius: 10px; padding: clamp(24px, 4vw, 56px); box-shadow: var(--vd-shadow); }
.vd-calc__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 30px; }
.vd-calc__head h2 { margin: 0; }
.vd-seg { display: inline-flex; padding: 5px; border-radius: 10px; background: var(--vd-bg); }
.vd-seg button { border: 0; background: none; padding: 10px 18px; border-radius: 10px; font-size: 15px; font-weight: 500; }
.vd-seg button[aria-pressed="true"] { background: var(--vd-ink); color: #fff; }
.vd-calc__stage { display: grid; grid-template-columns: 1fr minmax(260px, 340px) 1fr; gap: 20px; align-items: center; }
.vd-calc__col { display: grid; gap: 12px; }
.vd-opt { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 8px; background: var(--vd-bg); border: 0; text-align: left; width: 100%; transition: background .2s, box-shadow .2s; }
.vd-opt:hover { box-shadow: inset 0 0 0 2px var(--vd-line); }
.vd-opt[aria-pressed="true"] { background: var(--vd-green-soft); box-shadow: inset 0 0 0 2px var(--vd-green); }
.vd-opt__ic { flex: none; width: 40px; height: 40px; border-radius: 6px; background: var(--vd-paper); display: grid; place-items: center; }
.vd-opt__ic svg { width: 24px; height: 24px; }
.vd-opt b { display: block; font-size: 15px; font-weight: 600; line-height: 1.25; }
.vd-opt small { display: block; font-size: 13px; color: var(--vd-ink-2); }
.vd-opt__mark { margin-left: auto; flex: none; width: 24px; height: 24px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--vd-line); display: grid; place-items: center; color: #fff; font-size: 14px; }
.vd-opt[aria-pressed="true"] .vd-opt__mark { background: var(--vd-green); box-shadow: none; }
.vd-opt[aria-pressed="true"] .vd-opt__mark::before { content: "✓"; }
.vd-opt__line { position: absolute; top: 50%; height: 0; border-top: 2px dashed var(--vd-green-2); width: 22px; opacity: 0; transition: opacity .2s; }
.vd-calc__col--l .vd-opt__line { right: -22px; }
.vd-calc__col--r .vd-opt__line { left: -22px; }
.vd-opt[aria-pressed="true"] .vd-opt__line { opacity: 1; }
.vd-shaft { position: relative; }
.vd-shaft svg { display: block; width: 100%; height: auto; }
.vd-rings { position: relative; width: max-content; margin: -6px auto 0; display: flex; align-items: center; gap: 8px; padding: 6px; border-radius: 10px; background: var(--vd-ink); color: #fff; box-shadow: 0 12px 30px -10px rgba(9, 32, 54, .6); }
.vd-rings button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; font-size: 24px; line-height: 1; }
.vd-rings button:hover { background: var(--vd-brass); color: var(--vd-ink); }
.vd-rings output { min-width: 96px; text-align: center; font: 600 15px/1.1 var(--vd-text); }
.vd-rings output small { display: block; font-weight: 400; font-size: 12px; opacity: .7; }
.vd-calc__sum { margin-top: 30px; display: grid; grid-template-columns: 1fr auto; gap: 18px 30px; align-items: center; padding-top: 26px; border-top: 2px dashed var(--vd-line); }
.vd-calc__lines { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; padding: 0; list-style: none; font-size: 14px; color: var(--vd-ink-2); }
.vd-calc__lines b { color: var(--vd-ink); font-weight: 600; }
.vd-calc__total { font: 700 clamp(28px, 3vw, 40px)/1 var(--vd-head); color: var(--vd-green-deep); white-space: nowrap; }
.vd-calc__total small { display: block; font: 400 13px/1.3 var(--vd-text); color: var(--vd-ink-2); margin-top: 6px; }
.vd-calc__act { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px; }

/* ===== Цены: примеры смет + прайс с поиском ===== */
.vd-deals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 34px 0 44px; }
.vd-deal { position: relative; display: flex; flex-direction: column; padding: 28px; border-radius: var(--vd-r); background: var(--vd-paper); box-shadow: inset 0 0 0 1px var(--vd-line); }
.vd-deal--hit { background: var(--vd-ink); color: #fff; box-shadow: none; }
.vd-deal__tag { position: absolute; top: -12px; left: 24px; padding: 5px 12px; border-radius: 8px; background: var(--vd-brass); color: var(--vd-ink); font-size: 12px; font-weight: 600; }
.vd-deal h3 { margin-bottom: 6px; }
.vd-deal__sum { font: 700 30px/1 var(--vd-head); margin: 14px 0 4px; }
.vd-deal--hit .vd-deal__sum { color: var(--vd-brass-2); }
.vd-deal__note { font-size: 13px; opacity: .7; margin-bottom: 18px; }
.vd-deal ul { margin: 0 0 24px; padding: 0; list-style: none; font-size: 15px; display: grid; gap: 8px; }
.vd-deal li { padding-left: 24px; position: relative; }
.vd-deal li::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 6px; border-left: 2px solid var(--vd-green-2); border-bottom: 2px solid var(--vd-green-2); transform: rotate(-45deg); }
.vd-deal .vd-btn { margin-top: auto; }
.vd-price { border-radius: var(--vd-r); background: var(--vd-paper); padding: clamp(18px, 3vw, 34px); box-shadow: inset 0 0 0 1px var(--vd-line); }
.vd-price__bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 18px; }
.vd-price__search { flex: 1 1 260px; position: relative; }
.vd-price__search input { width: 100%; min-height: 50px; border: 0; border-radius: 8px; background: var(--vd-bg); padding: 0 20px 0 46px; font: 400 16px var(--vd-text); }
.vd-price__search svg { position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: var(--vd-ink-2); }
.vd-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.vd-chips button { border: 0; padding: 9px 14px; border-radius: 8px; background: var(--vd-bg); font-size: 14px; font-weight: 500; }
.vd-chips button[aria-pressed="true"] { background: var(--vd-green); color: #fff; }
.vd-price__list { margin: 0; padding: 0; list-style: none; max-height: 460px; overflow-y: auto; }
.vd-price__list li { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding: 13px 4px; border-bottom: 1px solid var(--vd-line); font-size: 15px; }
.vd-price__list li[hidden] { display: none; }
.vd-price__list b { font-weight: 600; white-space: nowrap; }
.vd-price__list mark { background: var(--vd-brass-soft); color: inherit; border-radius: 4px; }
.vd-price__empty { padding: 20px 4px; color: var(--vd-ink-2); }

/* ===== Услуги: оглавление с номерами и фото при наведении ===== */
.vd-index { margin: 30px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--vd-line); }
.vd-index li { border-bottom: 1px solid var(--vd-line); }
.vd-index a { position: relative; display: grid; grid-template-columns: 70px 1fr auto auto; gap: 20px; align-items: center; padding: 26px 8px; text-decoration: none; color: var(--vd-ink); transition: padding .25s, background .25s; }
.vd-index a:hover { padding-left: 22px; background: var(--vd-paper); }
.vd-index__n { font: 500 15px/1 var(--vd-head); color: var(--vd-green); }
.vd-index__t { font: 500 clamp(19px, 2vw, 28px)/1.2 var(--vd-head); }
.vd-index__t small { display: block; font: 400 15px/1.4 var(--vd-text); color: var(--vd-ink-2); margin-top: 6px; }
.vd-index__term { font-size: 14px; color: var(--vd-ink-2); padding: 6px 12px; border-radius: 8px; background: var(--vd-green-soft); white-space: nowrap; }
.vd-index__p { font: 700 clamp(17px, 1.6vw, 22px)/1 var(--vd-head); white-space: nowrap; }
.vd-index__img { position: absolute; right: 26%; top: 50%; width: 200px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 8px; transform: translateY(-50%) rotate(-4deg) scale(.8); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; box-shadow: var(--vd-shadow); z-index: 2; }
.vd-index a:hover .vd-index__img { opacity: 1; transform: translateY(-50%) rotate(-4deg) scale(1); }

/* ===== Как копаем: шаги по шкале глубины ===== */
.vd-depth { display: grid; grid-template-columns: 90px 1fr; margin-top: 34px; }
.vd-depth__ruler { position: relative; border-right: 3px solid var(--vd-green); background: repeating-linear-gradient(180deg, transparent 0 39px, var(--vd-line) 39px 40px); }
.vd-depth__steps { margin: 0; padding: 0; list-style: none; }
.vd-depth__steps li { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 24px; padding: 0 0 40px 34px; }
.vd-depth__steps li::before { content: ""; position: absolute; left: -10px; top: 8px; width: 17px; height: 17px; border-radius: 50%; background: var(--vd-brass); box-shadow: 0 0 0 5px var(--vd-bg); }
.vd-depth__m { position: absolute; left: -96px; top: 4px; width: 76px; text-align: right; font: 500 14px/1.2 var(--vd-head); color: var(--vd-green-deep); }
.vd-depth__steps h3 { margin: 0; }
.vd-depth__steps p { margin: 0; color: var(--vd-ink-2); }

/* ===== Работы: лента-плёнка настоящих фото ===== */
.vd-film { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; cursor: grab; user-select: none; -webkit-user-select: none; touch-action: pan-x pan-y; padding: 8px max(24px, calc((100vw - var(--vd-wrap)) / 2 + 24px)) 22px; scroll-padding-left: max(24px, calc((100vw - var(--vd-wrap)) / 2 + 24px)); margin: 30px 0 0; scrollbar-width: none; }
.vd-film::-webkit-scrollbar { display: none; }
.vd-film.is-drag { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.vd-film img { pointer-events: none; -webkit-user-drag: none; }
.vd-film figure { flex: none; width: clamp(220px, 24vw, 300px); margin: 0; scroll-snap-align: start; }
.vd-film a { display: block; border-radius: 8px; overflow: hidden; background: var(--vd-line); }
.vd-film img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .4s; }
.vd-film a:hover img { transform: scale(1.04); }
.vd-film figcaption { font-size: 14px; color: var(--vd-ink-2); margin-top: 10px; }
.vd-film__nav { display: flex; gap: 8px; }
.vd-film__nav button { width: 50px; height: 50px; border-radius: 50%; border: 0; background: var(--vd-paper); box-shadow: inset 0 0 0 1px var(--vd-line); font-size: 20px; }
.vd-film__nav button:hover { background: var(--vd-green); color: #fff; }
.vd-sec__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px; }
.vd-sec__top h2 { margin: 0; }

/* ===== FAQ: вид переписки, открыт ровно один ответ ===== */
.vd-chat { max-width: 860px; margin: 30px auto 0; display: grid; gap: 14px; }
.vd-chat__q { justify-self: end; max-width: 85%; border: 0; text-align: left; padding: 14px 20px; border-radius: 22px 22px 6px 22px; background: var(--vd-green); color: #fff; font: 500 16px/1.4 var(--vd-text); display: flex; gap: 12px; align-items: center; }
.vd-chat__q::after { content: "+"; flex: none; width: 24px; height: 24px; border-radius: 50%; background: rgba(255, 255, 255, .2); display: grid; place-items: center; font-size: 18px; transition: transform .25s; }
.vd-chat__q[aria-expanded="true"] { background: var(--vd-ink); }
.vd-chat__q[aria-expanded="true"]::after { transform: rotate(45deg); }
.vd-chat__a { display: flex; gap: 12px; align-items: flex-end; max-width: 88%; }
.vd-chat__a[hidden] { display: none; }
.vd-chat__ava { flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--vd-brass); display: grid; place-items: center; font: 700 14px var(--vd-head); }
.vd-chat__bubble { padding: 14px 20px; border-radius: 22px 22px 22px 6px; background: var(--vd-paper); box-shadow: inset 0 0 0 1px var(--vd-line); font-size: 16px; animation: vd-in .3s ease; }
.vd-chat__bubble small { display: block; font-size: 12px; color: var(--vd-ink-2); margin-bottom: 4px; }
@keyframes vd-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ===== Города: строка поиска + ссылки на поддомены ===== */
.vd-geo { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; align-items: start; }
.vd-geo__list { display: flex; flex-wrap: wrap; gap: 8px; }
.vd-geo__list a { padding: 9px 14px; border-radius: 8px; background: var(--vd-paper); box-shadow: inset 0 0 0 1px var(--vd-line); text-decoration: none; color: var(--vd-ink); font-size: 15px; }
.vd-geo__list a:hover { box-shadow: inset 0 0 0 2px var(--vd-green); }
.vd-geo__card { padding: 34px; border-radius: 10px; background: var(--vd-brass-soft); }

/* ===== Подвал: цветной, в основном цвете бренда ===== */
.vd-foot { background: var(--vd-green); color: #fff; padding: 70px 0 90px; margin-top: 40px; }
.vd-foot a { color: #fff; text-decoration: none; }
.vd-foot a:hover { text-decoration: underline; }
.vd-foot__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 34px; }
.vd-foot h4 { font: 500 14px/1 var(--vd-head); letter-spacing: .06em; text-transform: uppercase; opacity: .75; margin: 0 0 18px; }
.vd-foot ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; font-size: 15px; }
.vd-foot__phone { font: 700 24px/1.1 var(--vd-head); display: block; margin-bottom: 14px; }
.vd-foot__msg { display: flex; gap: 8px; margin-top: 16px; }
.vd-foot__msg a { text-decoration: none !important; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: 10px; background: #fff; color: var(--vd-ink); font-size: 14px; font-weight: 600; }
.vd-foot__msg img { width: 26px; height: 26px; }
.vd-foot__low { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; margin-top: 50px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .25); font-size: 13px; opacity: .85; }
/* Подпись разработчика — неброско, отдельной строкой справа */
.vd-foot__made { flex-basis: 100%; text-align: right; font-size: 12px; opacity: .6; }
.vd-foot__made a { color: inherit; text-decoration: none; }
.vd-foot__made a:hover { text-decoration: underline; }
@media (max-width: 640px) { .vd-foot__made { text-align: left; } }

/* ===== Виджет связи: раскрытая капсула слева внизу ===== */
.vd-capsule { position: fixed; left: 18px; bottom: 18px; z-index: 50; display: flex; align-items: center; gap: 4px; padding: 6px; border-radius: 10px; background: rgba(9, 32, 54, .95); box-shadow: 0 16px 40px -14px rgba(9, 32, 54, .6); }
.vd-capsule a { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px 0 6px; border-radius: 10px; color: #fff; text-decoration: none; font-size: 14px; font-weight: 600; }
.vd-capsule a:hover { background: rgba(255, 255, 255, .12); }
.vd-capsule img { width: 32px; height: 32px; }
.vd-capsule__call { background: var(--vd-brass); color: var(--vd-ink) !important; padding: 0 16px !important; }
.vd-capsule__call:hover { background: var(--vd-brass-2) !important; }

/* ===== Просмотрщик фото ===== */
.vd-lb { position: fixed; inset: 0; z-index: 80; background: rgba(6, 18, 30, .92); display: grid; place-items: center; padding: 20px; }
.vd-lb[hidden] { display: none; }
.vd-lb img { max-height: 86vh; width: auto; border-radius: 8px; }
.vd-lb button { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff; font-size: 24px; }
.vd-lb__x { top: 18px; right: 18px; }
.vd-lb__p { left: 18px; top: 50%; }
.vd-lb__n { right: 18px; top: 50%; }

/* ===== Первый экран на фото: живой кадр во всю ширину, текст на затемнении ===== */
.vd-hero--photo { position: relative; color: #fff; padding: clamp(48px, 7vw, 110px) 0 clamp(56px, 7vw, 110px); background: var(--vd-green-deep); overflow: hidden; }
.vd-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; animation: vd-slowzoom 9s ease-out both; }
@keyframes vd-slowzoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.vd-hero--photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 28, 46, .93) 0%, rgba(8, 28, 46, .82) 38%, rgba(8, 28, 46, .35) 70%, rgba(8, 28, 46, .2) 100%); z-index: 1; }
.vd-hero--photo .vd-wrap { position: relative; z-index: 2; }
.vd-hero--photo h1 em { color: var(--vd-brass-2); }
.vd-hero--photo .vd-lead { color: rgba(255, 255, 255, .85); }
.vd-hero--photo .vd-kicker { color: var(--vd-brass-2); }
.vd-hero--photo .vd-hero__facts li { background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); color: #fff; }
.vd-hero--photo .vd-hero__facts b { color: var(--vd-brass-2); }
.vd-hero--photo .vd-btn--ghost { color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5); }
.vd-hero--photo .vd-btn--ghost:hover { box-shadow: inset 0 0 0 1px #fff; background: rgba(255, 255, 255, .08); }
.vd-hero--photo .vd-plot { background: #f4f7f4; }
.vd-crumbs { font-size: 14px; color: rgba(255, 255, 255, .7); margin-bottom: 22px; }
.vd-crumbs a { color: rgba(255, 255, 255, .85); text-decoration: none; }

/* ===== Полоса доверия под первым экраном ===== */
.vd-trust { background: var(--vd-green-deep); color: #fff; }
.vd-trust ul { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; list-style: none; }
.vd-trust li { padding: 26px 24px; border-left: 1px solid rgba(255, 255, 255, .12); font-size: 15px; color: rgba(255, 255, 255, .75); }
.vd-trust li:first-child { border-left: 0; }
.vd-trust b { display: block; font: 600 20px/1.2 var(--vd-head); color: #fff; margin-bottom: 4px; }

/* ===== Текст + фото рядом ===== */
.vd-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 70px); align-items: center; }
.vd-split--top { align-items: start; }
.vd-split__img { position: relative; margin: 0; border-radius: 10px; overflow: hidden; box-shadow: var(--vd-shadow); }
.vd-split__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.vd-split__img:hover img { transform: scale(1.03); }
.vd-split__img figcaption { position: absolute; left: 14px; bottom: 14px; padding: 6px 12px; border-radius: 6px; background: rgba(8, 28, 46, .78); color: #fff; font-size: 13px; }
.vd-prose { font-size: 17px; }
.vd-prose h3 { margin: 1.6em 0 .5em; font-weight: 600; }
.vd-prose ul, .vd-prose ol { padding-left: 1.2em; margin: 0 0 1em; }
.vd-prose li { margin-bottom: .45em; }
.vd-prose li::marker { color: var(--vd-green-2); font-weight: 600; }
.vd-note { padding: 18px 22px; border-left: 3px solid var(--vd-brass); background: var(--vd-brass-soft); border-radius: 0 8px 8px 0; font-size: 16px; margin: 1.4em 0; }
.vd-note b { display: block; margin-bottom: 4px; }

/* ===== Устройство колодца: схема с номерами + расшифровка ===== */
.vd-anatomy { display: grid; grid-template-columns: minmax(260px, 400px) 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; margin-top: 34px; }
.vd-anatomy svg { width: 100%; height: auto; display: block; }
.vd-anatomy ol { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 26px; counter-reset: an; }
.vd-anatomy li { position: relative; padding: 14px 16px 14px 58px; border-radius: 8px; background: var(--vd-paper); box-shadow: inset 0 0 0 1px var(--vd-line); counter-increment: an; transition: box-shadow .2s, transform .2s; }
.vd-anatomy li::before { content: counter(an); position: absolute; left: 14px; top: 14px; width: 30px; height: 30px; border-radius: 50%; background: var(--vd-green); color: #fff; font: 600 14px/30px var(--vd-head); text-align: center; }
.vd-anatomy li:hover, .vd-anatomy li.is-hl { box-shadow: inset 0 0 0 2px var(--vd-green-2); transform: translateX(4px); }
.vd-anatomy li b { display: block; font-weight: 600; margin-bottom: 2px; }
.vd-anatomy li span { font-size: 14px; color: var(--vd-ink-2); }
.vd-an-dot { cursor: pointer; transition: transform .2s; transform-box: fill-box; transform-origin: center; }
.vd-an-dot.is-hl { transform: scale(1.25); }

/* ===== Таблицы сравнения и цен ===== */
.vd-table-wrap { overflow-x: auto; margin: 26px 0; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--vd-line); background: var(--vd-paper); }
.vd-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 640px; }
.vd-table th, .vd-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--vd-line); vertical-align: top; }
.vd-table thead th { background: var(--vd-green); color: #fff; font: 600 14px/1.3 var(--vd-head); letter-spacing: .02em; }
.vd-table tbody tr:hover { background: var(--vd-green-soft); }
.vd-table td:first-child { font-weight: 600; }
.vd-table .is-num { white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ===== Сезоны ===== */
.vd-seasons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 30px; }
.vd-season { padding: 22px; border-radius: 10px; background: var(--vd-paper); box-shadow: inset 0 0 0 1px var(--vd-line); }
.vd-season__bar { height: 6px; border-radius: 3px; background: var(--vd-line); margin: 12px 0 14px; overflow: hidden; }
.vd-season__bar i { display: block; height: 100%; background: var(--vd-green-2); border-radius: 3px; }
.vd-season b { font: 600 18px/1.2 var(--vd-head); }
.vd-season small { display: block; font-size: 13px; color: var(--vd-ink-2); }
.vd-season p { font-size: 15px; color: var(--vd-ink-2); margin: 0; }
.vd-season--best { background: var(--vd-green); color: #fff; box-shadow: none; }
.vd-season--best small, .vd-season--best p { color: rgba(255, 255, 255, .8); }
.vd-season--best .vd-season__bar { background: rgba(255, 255, 255, .2); }
.vd-season--best .vd-season__bar i { background: var(--vd-brass-2); }

/* ===== План участка ===== */
.vd-plan svg { width: 100%; height: auto; display: block; border-radius: 10px; background: var(--vd-paper); box-shadow: inset 0 0 0 1px var(--vd-line); }

/* ===== Как заказать: 4 шага ===== */
.vd-order { display: grid; grid-template-columns: repeat(4, 1fr); margin: 34px 0 0; padding: 0; counter-reset: st; }
.vd-order li { list-style: none; position: relative; padding: 0 22px 0 0; counter-increment: st; }
.vd-order li::before { content: "0" counter(st); display: block; font: 700 40px/1 var(--vd-head); color: var(--vd-green-2); opacity: .4; margin-bottom: 14px; }
.vd-order li::after { content: ""; position: absolute; top: 20px; left: 72px; right: 18px; height: 1px; background: var(--vd-line); }
.vd-order li:last-child::after { display: none; }
.vd-order b { display: block; font: 600 18px/1.25 var(--vd-head); margin-bottom: 6px; }
.vd-order p { font-size: 15px; color: var(--vd-ink-2); margin: 0; }

/* ===== Гарантии и документы ===== */
.vd-docs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; }
.vd-doc { padding: 26px; border-radius: 10px; background: var(--vd-paper); box-shadow: inset 0 0 0 1px var(--vd-line); }
.vd-doc svg { width: 36px; height: 36px; margin-bottom: 14px; }
.vd-doc b { display: block; font: 600 19px/1.25 var(--vd-head); margin-bottom: 8px; }
.vd-doc p { font-size: 15px; color: var(--vd-ink-2); margin: 0; }

/* ===== Финальный призыв на фото бригады ===== */
.vd-cta { position: relative; color: #fff; border-radius: 14px; overflow: hidden; padding: clamp(36px, 6vw, 80px); background: var(--vd-green-deep); }
.vd-cta > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vd-cta::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 28, 46, .94) 0%, rgba(8, 28, 46, .7) 55%, rgba(8, 28, 46, .25) 100%); z-index: 1; }
.vd-cta__in { position: relative; z-index: 2; max-width: 620px; }
.vd-cta .vd-lead { color: rgba(255, 255, 255, .85); }
.vd-cta .vd-kicker { color: var(--vd-brass-2); }

/* ===== Появление блоков при прокрутке ===== */
.vd-js .vd-reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.vd-js .vd-reveal.is-in { opacity: 1; transform: none; }

@media (max-width: 1024px) {
	.vd-split, .vd-anatomy { grid-template-columns: 1fr; }
	.vd-trust ul, .vd-seasons, .vd-order { grid-template-columns: 1fr 1fr; }
	.vd-order { gap: 26px 0; }
	.vd-order li::after { display: none; }
	.vd-docs { grid-template-columns: 1fr; }
	.vd-trust li:nth-child(3) { border-left: 0; }
}
@media (max-width: 680px) {
	.vd-anatomy ol, .vd-seasons, .vd-order { grid-template-columns: 1fr; }
	.vd-trust li { padding: 18px 14px; font-size: 13px; }
	.vd-trust b { font-size: 16px; }
	.vd-hero--photo::before { background: linear-gradient(180deg, rgba(8, 28, 46, .9) 0%, rgba(8, 28, 46, .85) 60%, rgba(8, 28, 46, .7) 100%); }
}

.vd-depth--one .vd-depth__steps li { grid-template-columns: 1fr; gap: 4px; }

/* ===== Адаптив ===== */
@media (max-width: 1320px) {
	.vd-city { display: none; }
}
@media (max-width: 1180px) {
	.vd-tabs a { padding: 8px 8px; font-size: 14px; }
}
@media (max-width: 1024px) {
	.vd-tabs, .vd-head__side .vd-btn { display: none; }
	.vd-burger { display: block; }
	.vd-head__side { margin-left: auto; }
	.vd-hero__grid, .vd-geo { grid-template-columns: 1fr; }
	.vd-calc__stage { grid-template-columns: 1fr 1fr; }
	.vd-shaft { grid-column: 1 / -1; order: -1; max-width: 360px; margin: 0 auto; width: 100%; }
	.vd-opt__line { display: none; }
	.vd-deals { grid-template-columns: 1fr; }
	.vd-foot__grid { grid-template-columns: 1fr 1fr; }
	.vd-index__img { display: none; }
}
@media (max-width: 680px) {
	body { font-size: 16px; }
	.vd-wrap { padding: 0 16px; }
	.vd-head__row { min-height: 70px; gap: 12px; }
	.vd-logo small { display: none; }
	.vd-logo b { font-size: 15px; }
	.vd-logo svg { width: 32px; height: 36px; }
	.vd-head .vd-phone { width: 50px; height: 50px; border-radius: 8px; background: var(--vd-brass); font-size: 0; display: grid; place-items: center; }
	.vd-head .vd-phone::before { content: ""; width: 22px; height: 22px; background: var(--vd-ink); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.2 15.2 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.2 15.2 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E") center / contain no-repeat; }
	.vd-head__side { gap: 8px; }
	.vd-hero__facts li { font-size: 14px; padding: 8px 13px; }
	.vd-dot { width: 26px; height: 26px; margin: -13px 0 0 -13px; font-size: 12px; line-height: 26px; box-shadow: 0 0 0 4px rgba(201, 162, 90, .28); }
	.vd-plot__hint { display: none; }
	.vd-pop { width: 88%; left: 6% !important; right: auto !important; top: 6% !important; }
	.vd-calc { border-radius: 8px; padding: 22px 16px; }
	.vd-calc__stage { grid-template-columns: 1fr; gap: 10px; }
	.vd-shaft { max-width: 250px; }
	.vd-calc__sum { grid-template-columns: 1fr; }
	.vd-calc__act .vd-btn, .vd-hero__cta .vd-btn { width: 100%; }
	.vd-hero__cta .vd-inline, .vd-calc__act .vd-inline, .vd-cta .vd-inline { width: 100%; }
	.vd-cta .vd-btn { width: 100%; }
	.vd-index a { grid-template-columns: 40px 1fr; gap: 6px 14px; padding: 20px 4px; }
	.vd-index__term, .vd-index__p { grid-column: 2; justify-self: start; }
	.vd-depth { grid-template-columns: 58px 1fr; }
	.vd-depth__steps li { grid-template-columns: 1fr; gap: 6px; padding-left: 24px; }
	.vd-depth__m { left: -62px; width: 46px; font-size: 12px; }
	.vd-film { padding: 8px 16px 18px; }
	.vd-foot__grid { grid-template-columns: 1fr; }
	.vd-capsule { left: 10px; right: 10px; justify-content: space-between; bottom: 10px; }
	.vd-capsule a span { display: none; }
	.vd-capsule__call span { display: inline !important; }
	.vd-foot { padding-bottom: 100px; }
	.vd-inline__form { border-radius: 8px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
}
