/* ============================================================
   Сайт «Ремонт квартир» — стили новых блоков.
   Подключается после style.css и использует его токены (--accent, --bg-cream…).
   ============================================================ */

:root {
  --kv-dark: #15120f;
  --kv-dark-2: #1f1b17;
  --kv-dark-3: #2a251f;
  --kv-line-dark: rgba(245, 243, 239, 0.12);
  --kv-live: #e0b25e;
}

/* ---------- Общие элементы ---------- */
.kv-dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--kv-live); box-shadow: 0 0 0 0 rgba(224, 178, 94, 0.6);
  animation: kv-pulse 1.8s ease-out infinite; flex: 0 0 auto;
}
@keyframes kv-pulse {
  0% { box-shadow: 0 0 0 0 rgba(224, 178, 94, 0.6); }
  70% { box-shadow: 0 0 0 9px rgba(224, 178, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(224, 178, 94, 0); }
}
.kv-todo {
  display: inline-block; font-size: 10.5px; font-weight: 600; letter-spacing: 0.04em;
  color: #9a5b1c; background: #fff4e0; border: 1px dashed #d9a35a;
  padding: 3px 8px; border-radius: 6px; line-height: 1.35; vertical-align: middle;
}
.kv-todo--inline { margin-left: 4px; }
.kv-note { margin-top: 18px; font-size: 14px; color: var(--text-muted); border-left: 3px solid var(--border); padding-left: 14px; }
.kv-center { text-align: center; margin-top: 40px; }
.kv-row-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.kv-row-head .section-title { margin-bottom: 0; }
.kv-count { font-size: 14px; color: var(--text-muted); padding-bottom: 10px; }
.kv-empty { padding: 40px 24px; text-align: center; color: var(--text-light-muted); border: 1px dashed var(--kv-line-dark); border-radius: 14px; }
.kv-empty--sm { padding: 20px; font-size: 14px; }
.kv-empty--light { color: var(--text-muted); border-color: var(--border); grid-column: 1 / -1; }

.kv-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.kv-chips--inline { margin: 0; }
.kv-chip {
  font: 600 14px/1 var(--sans); padding: 12px 20px; border-radius: 100px; cursor: pointer;
  border: 1px solid rgba(26, 26, 26, 0.18); background: transparent; color: var(--text-dark);
  transition: background .2s, color .2s, border-color .2s;
}
.kv-chip:hover { border-color: var(--text-dark); }
.kv-chip.is-active { background: var(--text-dark); color: var(--bg-cream); border-color: var(--text-dark); }
.kv-chips--dark .kv-chip { color: var(--text-light); border-color: var(--kv-line-dark); }
.kv-chips--dark .kv-chip:hover { border-color: rgba(245, 243, 239, 0.4); }
.kv-chips--dark .kv-chip.is-active { background: var(--accent); color: #1a1a1a; border-color: var(--accent); }

.kv-btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 14px/1.2 var(--sans); padding: 14px 22px; border-radius: 100px; cursor: pointer;
  border: 1.5px solid var(--accent); color: var(--text-light); background: transparent; text-decoration: none;
  transition: background .2s, color .2s;
}
.kv-btn-outline:hover { background: var(--accent); color: #1a1a1a; }
.kv-btn-outline--dark { border-color: var(--text-dark); color: var(--text-dark); }
.kv-btn-outline--dark:hover { background: var(--text-dark); color: var(--bg-cream); }
.kv-btn-outline--dark.is-filled { background: var(--text-dark); color: var(--bg-cream); }
.kv-btn-light {
  font: 600 14px/1 var(--sans); padding: 15px 26px; border-radius: 100px; cursor: pointer;
  background: rgba(245, 243, 239, 0.08); color: var(--text-light); border: 1px solid var(--kv-line-dark);
}
.kv-btn-light:hover { background: rgba(245, 243, 239, 0.16); }

.kv-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 2;
  width: 64px; height: 64px; border-radius: 50%; background: rgba(255, 255, 255, 0.94); color: #1a1a1a;
  display: flex; align-items: center; justify-content: center; font-size: 20px; padding-left: 4px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3); transition: transform .25s;
}
.kv-play--sm { width: 46px; height: 46px; font-size: 15px; }
[data-video]:hover > .kv-play, [data-video]:hover .kv-card-img .kv-play { transform: translate(-50%, -50%) scale(1.08); }

/* ---------- Навигация: пункт «Лента объектов» ---------- */
.nav-link-live { display: inline-flex !important; align-items: center; gap: 8px; }

/* ---------- 01 HERO ---------- */
.kv-hero { padding-bottom: 110px; }
.kv-hero .hero-bg-overlay {
  background: linear-gradient(100deg, rgba(18,16,13,0.92) 0%, rgba(18,16,13,0.74) 42%, rgba(18,16,13,0.3) 75%, rgba(18,16,13,0.12) 100%);
}
.kv-hero h1 { font-size: 64px; }
.kv-hero .hero-media { background-position: 60% 55%; }
.kv-hero .hero-grid { margin-bottom: 40px; }
.kv-hero-tag {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 26px;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600; color: var(--accent);
}
.kv-hero .hero-cta { align-items: center; gap: 22px; }
.kv-hero-feedlink {
  display: inline-flex; align-items: center; gap: 10px; color: var(--text-light); font-weight: 600; font-size: 15px;
  text-decoration: none; border-bottom: 1px solid rgba(245, 243, 239, 0.35); padding-bottom: 4px;
}
.kv-hero-feedlink:hover { border-color: var(--accent); color: var(--accent); }
.kv-hero .hero-teaser { bottom: 104px; }

.kv-ticker {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; display: flex; align-items: stretch;
  height: 56px; background: rgba(15, 13, 11, 0.82); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid var(--kv-line-dark); color: var(--text-light); text-decoration: none; overflow: hidden;
}
.kv-ticker-label {
  flex: 0 0 auto; display: flex; align-items: center; gap: 10px; padding: 0 22px 0 48px;
  background: var(--accent); color: #1a1a1a; font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
}
.kv-ticker-label .kv-dot { background: #1a1a1a; animation: none; }
.kv-ticker-track { flex: 1 1 auto; overflow: hidden; display: flex; align-items: center; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.kv-ticker-run { display: inline-flex; white-space: nowrap; animation: kv-run 60s linear infinite; }
.kv-ticker:hover .kv-ticker-run { animation-play-state: paused; }
.kv-ticker-item { padding: 0 34px; font-size: 14px; color: rgba(245, 243, 239, 0.86); position: relative; }
.kv-ticker-item::after { content: '•'; position: absolute; right: -3px; color: var(--accent); }
.kv-ticker-item b { color: var(--accent); font-weight: 700; }
@keyframes kv-run { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- 03 ЛОГОТИПЫ ЖК ---------- */
.kv-logos { padding: 40px 0 70px; background: var(--bg-cream); overflow: hidden; }
.kv-logos .container { padding: 0 48px; }
.kv-logos-head { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; }
.kv-marquee { display: flex; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.kv-marquee-track { display: flex; gap: 14px; padding-right: 14px; flex: 0 0 auto; animation: kv-marq 50s linear infinite; }
.kv-marquee:hover .kv-marquee-track { animation-play-state: paused; }
.kv-marquee-track span {
  flex: 0 0 auto; padding: 18px 28px; border-radius: 14px; background: var(--bg-white); box-shadow: var(--shadow-card);
  font-size: 13px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: #6f685e; white-space: nowrap;
}
@keyframes kv-marq { from { transform: translateX(0); } to { transform: translateX(-100%); } }

/* ---------- 04 ЛЕНТА ОБЪЕКТОВ ---------- */
.kv-feed { background: var(--kv-dark); color: var(--text-light); padding-top: 110px; padding-bottom: 110px; overflow: hidden; }
.kv-feed::after {
  content: ''; position: absolute; top: -200px; right: -200px; width: 640px; height: 640px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(184, 149, 106, 0.16), transparent); z-index: 0;
}
.kv-feed .container { position: relative; z-index: 1; }
.kv-feed-head { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 56px; align-items: end; margin-bottom: 44px; }
.kv-feed-title { font-size: 56px; line-height: 1.06; font-weight: 800; margin-bottom: 22px; }
.kv-feed-title em { font-style: normal; color: var(--accent); }
.kv-feed-lead { font-size: 17px; line-height: 1.6; color: rgba(245, 243, 239, 0.74); max-width: 640px; }

.kv-live {
  background: linear-gradient(160deg, var(--kv-dark-3), var(--kv-dark-2)); border: 1px solid var(--kv-line-dark);
  border-radius: 20px; padding: 26px 26px 24px;
}
.kv-live-top { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.kv-live-pulse { width: 14px; height: 14px; border-radius: 50%; background: var(--kv-live); animation: kv-pulse 1.8s ease-out infinite; }
.kv-live-title { font-size: 22px; font-weight: 700; }
.kv-live-title b { color: var(--accent); }
.kv-live-stats { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 12px; padding: 16px 0; border-top: 1px solid var(--kv-line-dark); border-bottom: 1px solid var(--kv-line-dark); }
.kv-live-stats b { display: block; font-size: 30px; font-weight: 800; line-height: 1; margin-bottom: 6px; }
.kv-live-stats span { font-size: 12px; color: var(--text-light-muted); line-height: 1.3; display: block; }
.kv-live-week { font-size: 13px; color: var(--text-light-muted); margin: 14px 0 18px; }
.kv-live-week b { color: var(--text-light); }
.kv-live .kv-btn-outline { width: 100%; }

.kv-feed-body { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.kv-post-main { background: var(--kv-dark-2); border: 1px solid var(--kv-line-dark); border-radius: 22px; overflow: hidden; }
.kv-post-media { position: relative; }
.kv-post-photo { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; cursor: zoom-in; background: #000; position: relative; }
.kv-post-photo img { width: 100%; height: 100%; object-fit: cover; }
.kv-post-new {
  position: absolute; top: 16px; left: 16px; background: var(--accent); color: #1a1a1a;
  font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; padding: 7px 12px; border-radius: 100px;
}
.kv-post-count { position: absolute; bottom: 14px; left: 16px; font-size: 12px; font-weight: 600; background: rgba(0,0,0,0.6); color: #fff; padding: 5px 10px; border-radius: 100px; }
.kv-post-thumbs { position: absolute; right: 14px; bottom: 14px; display: flex; gap: 8px; }
.kv-post-thumb { width: 92px; height: 64px; border-radius: 10px; overflow: hidden; border: 2px solid rgba(255,255,255,0.85); padding: 0; cursor: pointer; background: #000; }
.kv-post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.kv-post-body { padding: 26px 30px 26px; }
.kv-post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px; }
.kv-obj-link, .kv-obj-static {
  font: 700 13px/1 var(--sans); color: var(--text-light); background: rgba(245,243,239,0.08); border: 0;
  padding: 8px 12px; border-radius: 8px; cursor: pointer;
}
.kv-obj-link:hover { background: rgba(245,243,239,0.16); }
.kv-phase { font-size: 12px; font-weight: 600; color: var(--accent); border: 1px solid rgba(184,149,106,0.45); padding: 6px 10px; border-radius: 8px; }
.kv-phase--sm { padding: 3px 7px; font-size: 11px; }
.kv-point { font-size: 12px; font-weight: 600; color: var(--text-light-muted); padding: 6px 4px; }
.kv-point.is-key { color: var(--kv-live); }
.kv-post-title { font-size: 26px; line-height: 1.22; font-weight: 700; margin-bottom: 12px; color: var(--text-light); }
.kv-post-text { font-size: 15.5px; line-height: 1.62; color: rgba(245,243,239,0.78); }
.kv-post-doc {
  display: flex; align-items: center; gap: 12px; margin-top: 18px; padding: 12px 14px; border-radius: 12px;
  background: rgba(184,149,106,0.1); border: 1px solid rgba(184,149,106,0.28); font-size: 14px; font-weight: 600;
}
.kv-post-doc svg { width: 26px; height: 26px; color: var(--accent); flex: 0 0 auto; }
.kv-post-doc small { display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-light-muted); margin-bottom: 2px; }
.kv-post-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.kv-post-author { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-light-muted); }
.kv-post-author-ic { width: 34px; height: 34px; border-radius: 50%; background: var(--kv-dark-3); border: 1px solid var(--kv-line-dark); display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; color: var(--accent); }
.kv-post-open { font: 700 14px/1 var(--sans); color: var(--accent); background: none; border: 0; cursor: pointer; padding: 8px 0; }
.kv-post-open:hover { color: var(--text-light); }

.kv-post-list { display: flex; flex-direction: column; gap: 12px; }
.kv-post-item {
  display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; text-align: left; width: 100%;
  background: var(--kv-dark-2); border: 1px solid var(--kv-line-dark); border-radius: 16px; padding: 12px; cursor: pointer; color: inherit;
  font-family: var(--sans); transition: border-color .2s, transform .2s;
}
.kv-post-item:hover { border-color: rgba(184,149,106,0.55); transform: translateX(3px); }
.kv-post-item-img { display: block; border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 3; background: #000; }
.kv-post-item-img img { width: 100%; height: 100%; object-fit: cover; }
.kv-post-item-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; padding-top: 2px; }
.kv-post-item-meta { font-size: 12px; color: var(--text-light-muted); }
.kv-post-item-meta b { color: var(--text-light); font-weight: 700; }
.kv-post-item-title { font-size: 15px; line-height: 1.32; font-weight: 600; color: var(--text-light); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.kv-post-item-tags { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.kv-post-item-tags .kv-point { padding: 0; font-size: 11px; }

.kv-progress { margin-top: 56px; }
.kv-progress-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.kv-progress-head h3 { font-size: 22px; font-weight: 700; }
.kv-progress-head span { font-size: 13px; color: var(--text-light-muted); }
.kv-progress-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.kv-prog {
  display: flex; flex-direction: column; gap: 10px; text-align: left; cursor: pointer; color: inherit; font-family: var(--sans);
  background: rgba(245,243,239,0.03); border: 1px solid var(--kv-line-dark); border-radius: 16px; padding: 18px 18px 16px;
  transition: border-color .2s, background .2s;
}
.kv-prog:hover { border-color: rgba(184,149,106,0.55); }
.kv-prog.is-active { border-color: var(--accent); background: rgba(184,149,106,0.08); }
.kv-prog-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.kv-prog-top b { font-size: 17px; }
.kv-prog-top span { font-size: 12px; color: var(--text-light-muted); text-align: right; }
.kv-prog-bar { display: grid; grid-template-columns: repeat(9, 1fr); gap: 4px; }
.kv-prog-bar i { height: 6px; border-radius: 3px; background: rgba(245,243,239,0.12); }
.kv-prog-bar i.is-done { background: rgba(184,149,106,0.75); }
.kv-prog-bar i.is-now { background: var(--kv-live); box-shadow: 0 0 10px rgba(224,178,94,0.7); animation: kv-blink 1.6s ease-in-out infinite; }
@keyframes kv-blink { 50% { opacity: .45; } }
.kv-prog-stage { font-size: 13px; color: var(--text-light-muted); }
.kv-prog-stage b { color: var(--text-light); }
.kv-prog-point { font-size: 13px; color: var(--kv-live); font-weight: 600; }
.kv-prog-foot { font-size: 12px; color: var(--text-light-muted); border-top: 1px solid var(--kv-line-dark); padding-top: 10px; }

.kv-post-side { display: flex; flex-direction: column; gap: 12px; }
.kv-feed-more { width: 100%; }
.kv-feed-more[hidden] { display: none; }
.kv-feed-sub { margin-top: 6px; padding: 20px; border-radius: 16px; border: 1px dashed var(--kv-line-dark); display: flex; flex-direction: column; gap: 6px; }
.kv-feed-sub b { font-size: 16px; }
.kv-feed-sub span { font-size: 13.5px; color: var(--text-light-muted); margin-bottom: 8px; }
.kv-feed-sub .kv-feed-tg { justify-content: center; }
.kv-feed-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 36px; }
.kv-feed-tg { display: inline-flex; align-items: center; gap: 10px; color: var(--text-light); font-weight: 600; text-decoration: none; padding: 14px 22px; border-radius: 100px; background: #2aabee; }
.kv-feed-tg svg { width: 18px; height: 18px; }
.kv-feed-tg:hover { filter: brightness(1.08); }

/* модалка записи */
.kv-post-modal { position: fixed; inset: 0; z-index: 1600; display: none; align-items: center; justify-content: center; padding: 20px; }
.kv-post-modal.is-open { display: flex; }
.kv-post-modal-backdrop { position: absolute; inset: 0; background: rgba(10,9,8,0.82); }
.kv-post-modal-box {
  position: relative; z-index: 1; width: 100%; max-width: 980px; max-height: calc(100vh - 40px); overflow-y: auto;
  background: var(--kv-dark-2); color: var(--text-light); border: 1px solid var(--kv-line-dark); border-radius: 20px;
}
.kv-post-modal-close {
  position: absolute; top: 14px; right: 14px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; cursor: pointer;
  background: rgba(0,0,0,0.55); border: 1px solid rgba(255,255,255,0.25); color: #fff; font-size: 22px; line-height: 1;
}
.kv-pm-gallery { position: relative; background: #000; aspect-ratio: 16 / 9; }
.kv-pm-gallery img { width: 100%; height: 100%; object-fit: contain; }
.kv-pm-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,0.9); font-size: 18px; cursor: pointer; }
.kv-pm-prev { left: 14px; } .kv-pm-next { right: 14px; }
.kv-pm-counter { position: absolute; bottom: 12px; right: 14px; font-size: 12px; background: rgba(0,0,0,0.6); padding: 4px 10px; border-radius: 100px; }
.kv-pm-body { padding: 28px 32px 30px; }
.kv-pm-foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 22px; font-size: 13px; color: var(--text-light-muted); }
.kv-pm-foot .kv-btn-outline--dark { color: var(--text-light); border-color: var(--accent); }
.kv-pm-foot .kv-btn-outline--dark:hover { background: var(--accent); color: #1a1a1a; }

/* ---------- 05/07/12 БОЛЬШОЙ КЕЙС (06-C) ---------- */
.kv-case { background: var(--bg-cream); }
.kv-case + .kv-case, .kv-case--reverse { background: var(--bg-white); }
.kv-case-gallery { display: grid; grid-template-columns: 1.9fr 1fr 1fr; grid-template-rows: repeat(2, 1fr); gap: 12px; height: 540px; margin-bottom: 40px; }
.kv-case-tile { position: relative; border-radius: 16px; overflow: hidden; background: var(--bg-paper); }
.kv-case-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.kv-case-tile:hover img { transform: scale(1.03); }
.kv-case-tile[data-video] { cursor: pointer; }
.kv-case-tile--main { grid-row: span 2; }
.kv-case-tile:nth-child(2) { grid-column: 2; grid-row: 1; }
.kv-case-tile:nth-child(3) { grid-column: 2; grid-row: 2; }
.kv-case-tile:nth-child(4) { grid-column: 3; grid-row: 1 / span 2; }
.kv-case-tile:nth-child(5) { display: none; }
.kv-tile-label {
  position: absolute; left: 12px; bottom: 12px; z-index: 2; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  background: rgba(15,13,11,0.72); color: #fff; padding: 6px 10px; border-radius: 100px;
}
.kv-case-tile .kv-todo { position: absolute; top: 10px; left: 10px; z-index: 2; }
.kv-case--reverse .kv-case-gallery { grid-template-columns: 1fr 1fr 1.9fr; }
.kv-case--reverse .kv-case-tile--main { grid-column: 3; grid-row: 1 / span 2; }
.kv-case--reverse .kv-case-tile:nth-child(2) { grid-column: 2; grid-row: 1; }
.kv-case--reverse .kv-case-tile:nth-child(3) { grid-column: 2; grid-row: 2; }
.kv-case--reverse .kv-case-tile:nth-child(4) { grid-column: 1; grid-row: 1 / span 2; }
.kv-case-body { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.kv-case-meta { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); font-weight: 700; margin-bottom: 16px; }
.kv-case-title { font-size: 40px; line-height: 1.14; font-weight: 800; margin-bottom: 20px; }
.kv-case-title em { font-style: normal; color: var(--accent); }
.kv-case-text p { font-size: 16px; line-height: 1.65; color: var(--text-body); margin-bottom: 12px; }
.kv-case-nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--border); }
.kv-case-nums b { display: block; font-size: 26px; font-weight: 800; line-height: 1.1; }
.kv-case-nums span { font-size: 13px; color: var(--text-muted); }
.kv-case-side { background: var(--bg-paper); border-radius: 18px; padding: 26px; }
.kv-case--reverse .kv-case-side, .kv-case + .kv-case .kv-case-side { background: var(--bg-cream); }
.kv-case-side-title { font-weight: 700; font-size: 15px; margin-bottom: 14px; }
.kv-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.kv-tags span { font-size: 13px; font-weight: 600; padding: 8px 12px; border-radius: 100px; background: var(--bg-white); border: 1px solid var(--border); }
.kv-case-person { display: flex; align-items: center; gap: 14px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--border); }
.kv-case-person b { display: block; font-size: 15px; }
.kv-case-person small { font-size: 13px; color: var(--text-muted); }
.kv-case-avatar { width: 54px; height: 54px; border-radius: 50%; overflow: hidden; flex: 0 0 auto; background: var(--bg-white); }
.kv-case-avatar img { width: 100%; height: 100%; object-fit: cover; }
.kv-case-avatar--empty { display: inline-flex; align-items: center; justify-content: center; font-weight: 800; color: var(--accent); border: 1px solid var(--border); }
.kv-case-video { display: flex; align-items: center; gap: 12px; margin-top: 18px; font-size: 14px; font-weight: 600; color: var(--text-dark); text-decoration: none; }
.kv-case-video span { width: 38px; height: 38px; border-radius: 50%; background: var(--text-dark); color: var(--bg-cream); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; padding-left: 2px; flex: 0 0 auto; }
.kv-case-video:hover { color: var(--accent); }

/* ---------- 06 СЛАЙДЕР «ВИЗУАЛИЗАЦИЯ ↔ ФОТО» ---------- */
.kv-ba-section { background: var(--bg-white); }
.kv-ba-stage { position: relative; aspect-ratio: 16 / 7; border-radius: 20px; overflow: hidden; background: #111; cursor: ew-resize; touch-action: pan-y; user-select: none; }
.kv-ba-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.kv-ba-before-wrap { position: absolute; inset: 0; clip-path: inset(0 50% 0 0); }
.kv-ba.is-demo .kv-ba-before { filter: grayscale(1) contrast(1.15) brightness(1.15) sepia(.15); }
.kv-ba-demo { position: absolute; top: 16px; left: 50%; transform: translateX(-50%); z-index: 3; display: none; }
.kv-ba.is-demo .kv-ba-demo { display: inline-block; }
.kv-ba-label { position: absolute; bottom: 18px; z-index: 2; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; background: rgba(15,13,11,0.72); color: #fff; padding: 8px 12px; border-radius: 100px; pointer-events: none; }
.kv-ba-label--l { left: 18px; } .kv-ba-label--r { right: 18px; }
.kv-ba-handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; margin-left: -1.5px; background: #fff; z-index: 3; }
.kv-ba-handle span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 58px; height: 58px; border-radius: 50%; background: #fff; color: #1a1a1a; display: flex; align-items: center; justify-content: center; font-size: 22px; box-shadow: 0 6px 20px rgba(0,0,0,0.35); }
.kv-ba-handle:focus-visible span { outline: 3px solid var(--accent); }
.kv-ba-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 18px; }
.kv-ba-caption { font-size: 15px; color: var(--text-muted); }
.kv-arrows { display: flex; gap: 10px; }
.kv-arrow { width: 54px; height: 44px; border-radius: 100px; border: 1.5px solid var(--text-dark); background: transparent; font-size: 18px; cursor: pointer; }
.kv-arrow:hover { background: var(--text-dark); color: var(--bg-cream); }

/* ---------- 08 СЕТКА КЕЙСОВ ---------- */
.kv-grid-section { background: var(--bg-cream); }
.kv-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 24px; }
.kv-card { cursor: default; }
.kv-card[data-video], .kv-card[data-anchor] { cursor: pointer; }
.kv-card-img { position: relative; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; background: var(--bg-paper); margin-bottom: 16px; }
.kv-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.kv-card:hover .kv-card-img img { transform: scale(1.04); }
.kv-card-ph {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; padding: 20px;
  background: repeating-linear-gradient(135deg, #ecebe7 0 14px, #e6e4df 14px 28px); color: var(--text-muted); font-size: 13px;
}
.kv-card-ph b { font-size: 17px; color: var(--text-dark); }
.kv-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.kv-card-nums { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 10px; }
.kv-card-nums b { display: block; font-size: 22px; font-weight: 800; line-height: 1.15; }
.kv-card-nums span { font-size: 12.5px; color: var(--text-muted); }
.kv-card-meta { margin-top: 10px; font-size: 13px; color: var(--text-muted); }

/* ---------- 09 ПОДБОР ПО ПЛОЩАДИ ---------- */
.kv-finder { background: var(--bg-white); }
.kv-finder-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.kv-finder .section-lead { margin-bottom: 26px; }
.kv-finder-form { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.kv-finder-input { display: inline-flex; align-items: baseline; gap: 6px; border: 1.5px solid var(--border); border-radius: 14px; padding: 12px 20px; background: var(--bg-cream); }
.kv-finder-input:focus-within { border-color: var(--text-dark); }
.kv-finder-input input { width: 110px; border: 0; background: transparent; font: 800 32px/1 var(--sans); color: var(--text-dark); outline: none; }
.kv-finder-input span { font-size: 22px; font-weight: 700; }
.kv-finder-results { display: flex; flex-direction: column; gap: 14px; }
.kv-finder-card { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: 18px; align-items: center; border: 1px solid var(--border); border-radius: 18px; padding: 14px; background: var(--bg-cream); }
.kv-finder-img { display: block; aspect-ratio: 3 / 2; border-radius: 12px; overflow: hidden; background: repeating-linear-gradient(135deg, #ecebe7 0 10px, #e6e4df 10px 20px); }
.kv-finder-img img { width: 100%; height: 100%; object-fit: cover; }
.kv-finder-info b { display: block; font-size: 17px; margin-bottom: 4px; }
.kv-finder-info small { font-size: 13px; color: var(--text-muted); line-height: 1.45; }
.kv-finder-info .is-match { color: #2f7a3e; font-weight: 700; }
.kv-finder-card .kv-btn-outline { padding: 11px 18px; }
.kv-finder-none { border: 1px dashed var(--border); border-radius: 18px; padding: 28px; background: var(--bg-cream); }
.kv-finder-none b { font-size: 18px; display: block; margin-bottom: 8px; }
.kv-finder-none p { color: var(--text-muted); margin-bottom: 18px; }

/* ---------- 10 КАРТА ---------- */
.kv-map-section { background: var(--bg-cream); }
.kv-map-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 40px; align-items: stretch; }
.kv-map { min-height: 560px; border-radius: 20px; overflow: hidden; background: #e9e7e2; position: relative; z-index: 0; }
.kv-map-ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.kv-map-side { display: flex; flex-direction: column; min-height: 0; }
.kv-map-title { font-size: 40px; line-height: 1.12; font-weight: 800; margin-bottom: 16px; }
.kv-map-title em { font-style: normal; color: var(--accent); }
.kv-map-legend { display: flex; gap: 18px; font-size: 13px; color: var(--text-muted); margin-bottom: 18px; }
.kv-map-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: var(--text-dark); margin-right: 7px; vertical-align: -1px; }
.kv-map-legend i.is-progress { background: var(--kv-live); }
.kv-map-search { width: 100%; padding: 16px 20px; border-radius: 14px; border: 1.5px solid var(--border); background: var(--bg-white); font: 500 15px var(--sans); margin-bottom: 14px; outline: none; }
.kv-map-search:focus { border-color: var(--text-dark); }
.kv-map-list { display: flex; flex-direction: column; gap: 8px; max-height: 380px; overflow-y: auto; padding-right: 4px; }
.kv-map-item { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; align-items: center; text-align: left; width: 100%; padding: 10px; border-radius: 14px; border: 1px solid var(--border); background: var(--bg-white); cursor: pointer; font-family: var(--sans); color: var(--text-dark); }
.kv-map-item:hover { border-color: var(--text-dark); }
.kv-map-item-img { width: 64px; height: 48px; border-radius: 8px; overflow: hidden; background: var(--bg-paper); display: flex; align-items: center; justify-content: center; }
.kv-map-item-img img { width: 100%; height: 100%; object-fit: cover; }
.kv-map-item-img i { width: 12px; height: 12px; border-radius: 50%; background: var(--text-dark); }
.kv-map-item-img i.is-progress { background: var(--kv-live); }
.kv-map-item b { display: block; font-size: 15px; }
.kv-map-item small { font-size: 12.5px; color: var(--text-muted); }
.kv-map .leaflet-tile-pane { filter: grayscale(1) contrast(0.92) brightness(1.04); }
.kv-pin i { display: block; width: 16px; height: 16px; margin: 3px; border-radius: 50%; background: #1a1a1a; border: 3px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.35); }
.kv-pin--progress i { background: var(--kv-live); animation: kv-pulse 1.8s ease-out infinite; }
.kv-pop { font-family: var(--sans); min-width: 180px; }
.kv-pop b { display: block; font-size: 15px; margin-bottom: 2px; }
.kv-pop span { display: block; font-size: 12.5px; color: #6f685e; }
.kv-pop em { display: block; font-style: normal; font-size: 12.5px; color: #9a6a1c; font-weight: 600; margin-top: 4px; }
.kv-pop button { margin-top: 10px; font: 700 13px var(--sans); border: 0; background: #1a1a1a; color: #fff; padding: 8px 12px; border-radius: 100px; cursor: pointer; }

/* ---------- 11 ПЕРЕКЛЮЧАТЕЛЬ «ЕСТЬ ПРОЕКТ» ---------- */
.kv-switch { background: var(--bg-cream); }
.kv-switch-tabs { margin-bottom: 44px; }
.kv-switch-tabs .kv-chip { font-size: 16px; padding: 16px 26px; }
.kv-switch-panel { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.kv-switch-panel[hidden] { display: none; }
.kv-switch-panel.is-active { animation: kv-fade .35s ease; }
@keyframes kv-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.kv-switch-title { font-size: 44px; line-height: 1.12; font-weight: 800; margin-bottom: 26px; }
.kv-switch-title em { font-style: normal; color: var(--accent); }
.kv-checks { list-style: none; margin-bottom: 30px; }
.kv-checks li { position: relative; padding: 14px 0 14px 34px; border-bottom: 1px dashed var(--border); font-size: 16px; line-height: 1.5; }
.kv-checks li::before { content: '✓'; position: absolute; left: 4px; top: 13px; font-weight: 800; color: var(--accent); }
.kv-switch-media { border-radius: 20px; overflow: hidden; position: relative; aspect-ratio: 4 / 3; background: var(--bg-paper); }
.kv-switch-media img { width: 100%; height: 100%; object-fit: cover; }
.kv-switch-media figcaption { position: absolute; left: 14px; right: 14px; bottom: 14px; font-size: 13px; font-weight: 600; color: #fff; background: rgba(15,13,11,0.7); padding: 10px 14px; border-radius: 12px; }

/* ---------- 15 УСЛУГИ «В СМЕТУ» ---------- */
.kv-svc { background: var(--bg-white); }
.kv-svc-lead { margin-bottom: 0 !important; }
.kv-svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.kv-svc-card { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 26px 24px 24px; border-radius: 20px; border: 1.5px solid var(--border); background: var(--bg-cream); transition: border-color .2s, box-shadow .2s, transform .2s; }
.kv-svc-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.kv-svc-card.is-in { border-color: var(--text-dark); background: var(--bg-white); }
.kv-svc-ic { width: 52px; height: 52px; border-radius: 14px; background: var(--bg-white); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--accent); margin-bottom: 14px; }
.kv-svc-ic svg { width: 26px; height: 26px; }
.kv-svc-card h3 { font-size: 19px; line-height: 1.25; font-weight: 700; }
.kv-svc-card p { font-size: 13.5px; color: var(--text-muted); line-height: 1.45; }
.kv-svc-price { font-size: 14px; font-weight: 700; color: var(--text-body); margin: 8px 0 18px; }
.kv-svc-btn { margin-top: auto; font: 700 14px/1 var(--sans); padding: 13px 20px; border-radius: 100px; cursor: pointer; border: 1.5px solid var(--text-dark); background: var(--text-dark); color: var(--bg-cream); transition: background .2s, color .2s; }
.kv-svc-btn:hover { background: var(--accent); border-color: var(--accent); color: #1a1a1a; }
.kv-svc-card.is-in .kv-svc-btn { background: transparent; color: var(--text-dark); }

/* ---------- 16 КАЛЬКУЛЯТОР ---------- */
.kv-calc { background: var(--bg-cream); }
.kv-calc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.kv-calc-area { font-size: 18px; font-weight: 600; margin: 10px 0 18px; }
.kv-calc-area b { font-size: 34px; font-weight: 800; margin-left: 6px; }
.kv-range { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 4px; margin-bottom: 26px; cursor: pointer;
  background: linear-gradient(90deg, var(--text-dark) var(--p, 25%), #dcdad5 var(--p, 25%)); }
.kv-range::-webkit-slider-thumb { -webkit-appearance: none; width: 34px; height: 34px; border-radius: 50%; background: var(--bg-white); border: 3px solid var(--text-dark); box-shadow: 0 2px 8px rgba(0,0,0,.18); }
.kv-range::-moz-range-thumb { width: 28px; height: 28px; border-radius: 50%; background: var(--bg-white); border: 3px solid var(--text-dark); }
.kv-calc-hint { margin-top: 18px; font-size: 14px; color: var(--text-muted); }
.kv-calc-card { background: var(--bg-white); border-radius: 24px; padding: 36px; box-shadow: var(--shadow-card); position: relative; }
.kv-calc-label { font-size: 14px; color: var(--text-muted); }
.kv-calc-total { font-size: 54px; font-weight: 800; line-height: 1.1; margin: 4px 0 20px; }
.kv-calc-nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding-bottom: 22px; border-bottom: 1px solid var(--border); }
.kv-calc-nums b { display: block; font-size: 22px; font-weight: 800; }
.kv-calc-nums span { font-size: 13px; color: var(--text-muted); }
.kv-calc-factors { padding: 20px 0 24px; }
.kv-calc-factors-title { font-weight: 700; font-size: 16px; margin-bottom: 8px; }
.kv-calc-factors ul { list-style: none; }
.kv-calc-factors li { padding: 9px 0 9px 22px; position: relative; border-bottom: 1px dashed var(--border); font-size: 15px; }
.kv-calc-factors li::before { content: '—'; position: absolute; left: 0; color: var(--text-muted); }
.kv-calc-card .kv-todo { display: block; width: fit-content; margin-top: 14px; }

/* ---------- 17 ГРАФИК И ЭТАПЫ ---------- */
.kv-route { background: var(--bg-white); }
.kv-gantt { background: var(--bg-cream); border-radius: 22px; padding: 30px 32px 26px; margin-bottom: 36px; }
.kv-gantt-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.kv-gantt-head h3 { font-size: 22px; font-weight: 700; }
.kv-gantt-scale { display: flex; justify-content: space-between; margin-left: 180px; font-size: 12px; color: var(--text-muted); margin-bottom: 12px; }
.kv-gantt-row { display: grid; grid-template-columns: 180px minmax(0, 1fr); align-items: center; gap: 0; padding: 7px 0; }
.kv-gantt-name { font-size: 14px; font-weight: 600; }
.kv-gantt-track { position: relative; height: 14px; border-radius: 7px; background: #e4e2dd; }
.kv-gantt-track i { position: absolute; top: 0; bottom: 0; border-radius: 7px; background: var(--text-dark); }
.kv-gantt-row:nth-child(5) .kv-gantt-track i, .kv-gantt-row:nth-child(6) .kv-gantt-track i { background: var(--accent); }
.kv-route-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; align-items: start; }
.kv-route-item { border: 1px solid var(--border); border-radius: 16px; background: var(--bg-cream); overflow: hidden; }
.kv-route-item[open] { background: var(--bg-white); box-shadow: var(--shadow-card); }
.kv-route-item summary { list-style: none; display: grid; grid-template-columns: 42px minmax(0, 1fr) auto 24px; gap: 12px; align-items: center; padding: 16px 18px; cursor: pointer; }
.kv-route-item summary::-webkit-details-marker { display: none; }
.kv-route-num { width: 42px; height: 42px; border-radius: 12px; background: var(--text-dark); color: var(--bg-cream); display: flex; align-items: center; justify-content: center; font-weight: 800; }
.kv-route-title { font-weight: 700; font-size: 15.5px; line-height: 1.3; }
.kv-route-count { font-size: 12.5px; color: var(--text-muted); white-space: nowrap; }
.kv-route-arrow svg { width: 22px; height: 22px; transition: transform .25s; }
.kv-route-item[open] .kv-route-arrow svg { transform: rotate(180deg); }
.kv-route-body { padding: 0 18px 18px 72px; }
.kv-route-body p { font-size: 14px; color: var(--text-muted); line-height: 1.55; margin-bottom: 10px; }
.kv-route-body ul { list-style: none; }
.kv-route-body li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 8px; padding: 9px 0; border-top: 1px dashed var(--border); font-size: 14px; }
.kv-route-body li b { font-weight: 600; }
.kv-route-body li small { display: block; font-size: 12.5px; color: var(--text-muted); margin-top: 2px; }
.kv-route-id { font-weight: 700; color: var(--text-muted); }
.kv-route-body li.is-key .kv-route-id { color: var(--accent); }

/* ---------- Без фонового видео в блоке «Ошибка» ---------- */
.mistake { background: var(--kv-dark); }

/* ============================================================
   АДАПТИВ
   ============================================================ */
@media (max-width: 1200px) {
  .kv-feed-head { grid-template-columns: 1fr; gap: 32px; }
  .kv-live { max-width: 560px; }
  .kv-svc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
  .kv-hero h1 { font-size: 48px; }
  .kv-feed-title { font-size: 44px; }
  .kv-feed-body { grid-template-columns: 1fr; }
  .kv-case-gallery { height: 440px; }
  .kv-case-body, .kv-finder-grid, .kv-calc-grid, .kv-switch-panel, .kv-map-grid { grid-template-columns: 1fr; gap: 32px; }
  .kv-cards { grid-template-columns: repeat(2, 1fr); }
  .kv-route-list { grid-template-columns: 1fr; }
  .kv-map { min-height: 440px; }
  .kv-switch-media { order: -1; }
}
@media (max-width: 900px) {
  .kv-hero { padding-bottom: 40px; }
  .kv-hero .hero-cta { order: 4; }
  .kv-hero-tag { order: 0; }
  .kv-ticker { position: relative; order: 5; margin: 24px -20px 0; width: auto; }
  .kv-ticker-label { padding-left: 20px; }
  .kv-hero .hero-teaser { bottom: auto; }
}
@media (max-width: 600px) {
  .kv-hero h1 { font-size: 34px !important; }
  .kv-hero-tag { margin-top: 26px; margin-bottom: 0; color: var(--accent); letter-spacing: .14em; }
  .kv-hero-feedlink { color: var(--text-dark); border-color: rgba(26,26,26,0.3); }
  .kv-ticker-label { font-size: 0; gap: 0; padding: 0 16px; }
  .kv-ticker-label .kv-dot { width: 10px; height: 10px; }
  .kv-logos { padding: 28px 0 44px; }
  .kv-logos .container { padding: 0 20px; }
  .kv-feed { padding-top: 72px; padding-bottom: 72px; }
  .kv-feed-title { font-size: 34px; }
  .kv-feed-lead { font-size: 15.5px; }
  .kv-live { padding: 20px; }
  .kv-live-title { font-size: 19px; }
  .kv-live-stats b { font-size: 24px; }
  .kv-chips { flex-wrap: nowrap; overflow-x: auto; margin-left: -20px; margin-right: -20px; padding: 0 20px 4px; scrollbar-width: none; }
  .kv-chips::-webkit-scrollbar { display: none; }
  .kv-chips--inline { margin: 0; padding: 0; flex-wrap: wrap; overflow: visible; }
  .kv-chip { white-space: nowrap; padding: 11px 16px; font-size: 13.5px; }
  .kv-post-body { padding: 20px; }
  .kv-post-title { font-size: 21px; }
  .kv-post-thumbs { display: none; }
  .kv-post-item { grid-template-columns: 88px minmax(0, 1fr); gap: 12px; }
  .kv-progress-grid { grid-template-columns: 1fr; }
  .kv-feed-foot { flex-direction: column; align-items: stretch; }
  .kv-feed-foot > * { justify-content: center; text-align: center; }
  .kv-case-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: auto; height: auto; }
  .kv-case-gallery .kv-case-tile { grid-column: auto !important; grid-row: auto !important; }
  .kv-case-gallery .kv-case-tile:nth-child(4) { display: none; }
  .kv-case-tile { aspect-ratio: 4 / 3; }
  .kv-case-gallery .kv-case-tile--main { grid-column: 1 / -1 !important; aspect-ratio: 16 / 10; }
  .kv-case--reverse .kv-case-gallery { grid-template-columns: 1fr 1fr; }
  .kv-case--reverse .kv-case-tile--main { order: -1; }
  .kv-case-title { font-size: 28px; }
  .kv-case-nums b { font-size: 20px; }
  .kv-case-side { padding: 20px; }
  .kv-ba-stage { aspect-ratio: 4 / 3; }
  .kv-ba-label { font-size: 9.5px; padding: 6px 9px; bottom: 12px; }
  .kv-ba-label--l { left: 10px; } .kv-ba-label--r { right: 10px; }
  .kv-ba-foot { flex-direction: column; align-items: flex-start; }
  .kv-cards { grid-template-columns: 1fr; }
  .kv-finder-card { grid-template-columns: 96px minmax(0, 1fr); }
  .kv-finder-card > :last-child { grid-column: 1 / -1; }
  .kv-map { min-height: 360px; }
  .kv-map-title { font-size: 30px; }
  .kv-switch-tabs .kv-chip { font-size: 14px; padding: 13px 18px; }
  .kv-switch-title { font-size: 30px; }
  .kv-svc-grid { grid-template-columns: 1fr; }
  .kv-calc-total { font-size: 40px; }
  .kv-calc-card { padding: 24px 20px; }
  .kv-calc-nums b { font-size: 18px; }
  .kv-gantt { padding: 20px 16px; }
  .kv-gantt-scale { margin-left: 104px; font-size: 10px; }
  .kv-gantt-row { grid-template-columns: 104px minmax(0, 1fr); }
  .kv-gantt-name { font-size: 12.5px; }
  .kv-route-item summary { grid-template-columns: 36px minmax(0, 1fr) 20px; padding: 14px; }
  .kv-route-num { width: 36px; height: 36px; }
  .kv-route-count { display: none; }
  .kv-route-body { padding: 0 14px 14px; }
  .kv-pm-body { padding: 20px; }
  .kv-row-head .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .kv-ticker-run, .kv-marquee-track, .kv-dot, .kv-live-pulse, .kv-prog-bar i.is-now, .kv-pin--progress i { animation: none !important; }
}

/* Виджет отзывов: на первом экране не перекрывает кнопку и бегущую строку — появляется после прокрутки */
.review-fab { transition: opacity .3s ease, transform .3s ease; }
.review-fab.is-away { animation: none; opacity: 0; transform: translateY(24px); pointer-events: none; }
.kv-row-head .section-title + .section-lead { margin-top: 14px; }
body.estimate-active .review-fab { bottom: 96px; }

/* ============================================================
   05 — РАЗВЁРНУТЫЙ КЕЙС «КАШИРСКИЙ»: умная плитка, два видео, итоги
   ============================================================ */
.kv-kash { background: var(--bg-white); padding-top: 110px; }
.kv-kash-head { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 56px; align-items: end; margin-bottom: 40px; }
.kv-kash-title { font-size: 46px; line-height: 1.1; font-weight: 800; margin-bottom: 18px; }
.kv-kash-title em { font-style: normal; color: var(--accent); }
.kv-kash-lead { font-size: 17px; line-height: 1.6; color: var(--text-body); max-width: 640px; }
.kv-kash-facts { display: flex; flex-wrap: wrap; gap: 28px 48px; align-self: end; }
.kv-kash-facts > div { position: relative; padding-top: 18px; min-width: 0; max-width: 220px; }
.kv-kash-facts > div::before { content: ''; position: absolute; top: 0; left: 0; width: 32px; height: 2px; background: var(--accent); }
.kv-kash-facts b { display: block; font-size: 52px; font-weight: 800; line-height: 1; letter-spacing: -.02em; color: var(--text-dark); margin-bottom: 10px; white-space: nowrap; }
.kv-kash-facts span { display: block; font-size: 14px; line-height: 1.4; color: var(--text-muted); }

/* умная плитка: 12 колонок, плотная упаковка */
.kv-mosaic { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 88px; grid-auto-flow: dense; gap: 10px; }
.kv-m { position: relative; margin: 0; border-radius: 14px; overflow: hidden; background: var(--bg-paper); cursor: zoom-in; grid-column: span 4; grid-row: span 2; }
.kv-m img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.kv-m:hover img { transform: scale(1.04); }
.kv-m figcaption {
  position: absolute; left: 12px; bottom: 12px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: #fff; background: rgba(15,13,11,.62); padding: 6px 10px; border-radius: 100px; opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s;
}
.kv-m:hover figcaption, .kv-m--hero figcaption { opacity: 1; transform: none; }
.kv-m--hero { grid-column: span 7; grid-row: span 4; }
.kv-m--w5 { grid-column: span 5; }
.kv-m--w4 { grid-column: span 4; }
.kv-m--w2 { grid-column: span 2; }
.kv-m--tall { grid-column: span 3; grid-row: span 4; }
.kv-m--big2 { grid-column: span 5; grid-row: span 4; }

/* два видео */
.kv-kash-videos { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.kv-vcard { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #111; cursor: pointer; }
.kv-vcard img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.kv-vcard:hover img { transform: scale(1.03); }
.kv-vcard::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,9,8,.82) 0%, rgba(10,9,8,.15) 55%, rgba(10,9,8,.25) 100%); pointer-events: none; }
.kv-vcard .kv-play { z-index: 3; width: 76px; height: 76px; font-size: 24px; }
.kv-vcard-badge { position: absolute; top: 16px; left: 16px; z-index: 3; background: var(--accent); color: #1a1a1a; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 7px 12px; border-radius: 100px; }
.kv-vcard-text { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 3; color: #fff; }
.kv-vcard-text b { display: block; font-size: 22px; line-height: 1.2; margin-bottom: 4px; }
.kv-vcard-text small { font-size: 14px; color: rgba(255,255,255,.78); }
.kv-vcard-soon { position: absolute; top: 16px; right: 16px; z-index: 3; font-size: 11px; font-weight: 700; color: #fff; background: rgba(0,0,0,.55); border: 1px dashed rgba(255,255,255,.5); padding: 6px 10px; border-radius: 8px; display: none; }
.kv-vcard.is-pending .kv-vcard-soon { display: block; }
.kv-vcard.is-pending { cursor: default; }
.kv-vcard.is-pending.is-poked .kv-vcard-soon { background: var(--accent); color: #1a1a1a; border-color: var(--accent); }

/* что сделали */
.kv-kash-done { margin-top: 64px; }
.kv-kash-sub { font-size: 30px; font-weight: 800; margin-bottom: 22px; }
.kv-kash-sub em { font-style: normal; color: var(--accent); }
.kv-kash-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.kv-kash-item { background: var(--bg-cream); border-radius: 16px; padding: 22px 22px 20px; }
.kv-kash-item span { display: inline-block; font-size: 12px; font-weight: 800; color: var(--accent); letter-spacing: .08em; margin-bottom: 10px; }
.kv-kash-item b { display: block; font-size: 17px; line-height: 1.3; margin-bottom: 6px; }
.kv-kash-item p { font-size: 14px; line-height: 1.5; color: var(--text-muted); }

/* отзыв и честно о сложностях */
.kv-kash-bottom { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px; margin-top: 20px; }
.kv-kash-quote { position: relative; background: var(--kv-dark); color: var(--text-light); border-radius: 20px; padding: 36px 36px 30px; overflow: hidden; }
.kv-kash-qmark { position: absolute; top: -18px; right: 24px; font-size: 180px; line-height: 1; color: rgba(184,149,106,.22); font-weight: 800; }
.kv-kash-quote > p { position: relative; font-size: 21px; line-height: 1.5; font-weight: 500; margin-bottom: 22px; }
.kv-kash-person { display: flex; align-items: center; gap: 14px; }
.kv-kash-person b { display: block; }
.kv-kash-person small { color: var(--text-light-muted); font-size: 13px; }
.kv-kash-quote .kv-case-avatar--empty { background: var(--kv-dark-3); border-color: var(--kv-line-dark); }
.kv-kash-why { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--kv-line-dark); }
.kv-kash-why b { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.kv-kash-why p { font-size: 15px; line-height: 1.55; color: rgba(245,243,239,.8); margin: 8px 0 12px; }
.kv-kash-why a { color: var(--accent); font-weight: 700; text-decoration: none; }
.kv-kash-why a:hover { color: var(--text-light); }
.kv-kash-honest { background: var(--bg-cream); border-radius: 20px; padding: 30px 30px 28px; display: flex; flex-direction: column; gap: 18px; }
.kv-kash-honest-tag { font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.kv-kash-honest-item b { display: block; font-size: 17px; margin-bottom: 4px; }
.kv-kash-honest-item p { font-size: 14px; line-height: 1.5; color: var(--text-body); }
.kv-kash-lesson { margin-top: 8px; padding: 10px 12px; background: var(--bg-white); border-radius: 10px; }
.kv-kash-lesson span { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-right: 8px; }
.kv-kash-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: auto; padding-top: 6px; }

/* просмотр фото во весь экран */
.kv-lb { position: fixed; inset: 0; z-index: 1700; background: rgba(8,7,6,.94); display: none; align-items: center; justify-content: center; padding: 30px 80px; }
.kv-lb.is-open { display: flex; }
.kv-lb-fig { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.kv-lb-fig img { max-width: 100%; max-height: calc(100vh - 110px); object-fit: contain; border-radius: 8px; }
.kv-lb-fig figcaption { color: rgba(255,255,255,.8); font-size: 14px; }
.kv-lb-nav, .kv-lb-close { position: absolute; border: 0; cursor: pointer; background: rgba(255,255,255,.12); color: #fff; border-radius: 50%; }
.kv-lb-nav { top: 50%; transform: translateY(-50%); width: 54px; height: 54px; font-size: 20px; }
.kv-lb-nav:hover, .kv-lb-close:hover { background: rgba(255,255,255,.24); }
.kv-lb-prev { left: 18px; } .kv-lb-next { right: 18px; }
.kv-lb-close { top: 18px; right: 18px; width: 46px; height: 46px; font-size: 24px; }

@media (max-width: 1024px) {
  .kv-kash-head, .kv-kash-bottom { grid-template-columns: 1fr; gap: 28px; }
  .kv-kash-title { font-size: 38px; }
  .kv-mosaic { grid-auto-rows: 70px; }
  .kv-kash-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .kv-kash { padding-top: 72px; }
  .kv-kash-title { font-size: 28px; }
  .kv-kash-lead { font-size: 15.5px; }
  .kv-kash-facts b { font-size: 38px; }
  .kv-kash-facts { gap: 20px 32px; }
  .kv-mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 120px; gap: 8px; }
  .kv-mosaic .kv-m { grid-column: span 1; grid-row: span 1; }
  .kv-mosaic .kv-m--hero, .kv-mosaic .kv-m--big2 { grid-column: span 2; grid-row: span 2; }
  .kv-mosaic .kv-m--tall { grid-row: span 2; }
  .kv-mosaic .kv-m--w2 { display: none; }
  .kv-m figcaption { opacity: 1; transform: none; font-size: 9.5px; padding: 4px 8px; left: 8px; bottom: 8px; }
  .kv-kash-videos { grid-template-columns: 1fr; }
  .kv-vcard-text b { font-size: 18px; }
  .kv-vcard-text small { font-size: 12.5px; }
  .kv-vcard .kv-play { width: 58px; height: 58px; font-size: 19px; }
  .kv-kash-sub { font-size: 24px; }
  .kv-kash-grid { grid-template-columns: 1fr; }
  .kv-kash-quote { padding: 26px 22px; }
  .kv-kash-quote > p { font-size: 18px; }
  .kv-kash-honest { padding: 22px; }
  .kv-lb { padding: 60px 8px; }
  .kv-lb-nav { top: auto; bottom: 14px; transform: none; }
}

/* 05-Б — второй развёрнутый кейс: светлый фон, видео + совет */
.kv-kash--alt { background: var(--bg-cream); }
.kv-kash--alt .kv-kash-item, .kv-kash--alt .kv-kash-honest { background: var(--bg-white); }
.kv-kash--alt .kv-kash-lesson { background: var(--bg-cream); }
.kv-kash-videos--tip { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); }
.kv-tips { background: var(--bg-white); border-radius: 18px; padding: 28px 28px 24px; display: flex; flex-direction: column; }
.kv-tips-tag { font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.kv-tips h3 { font-size: 26px; line-height: 1.15; font-weight: 800; margin-bottom: 14px; }
.kv-tips h3 em { font-style: normal; color: var(--accent); }
.kv-tips ul { list-style: none; display: flex; flex-direction: column; flex: 1; justify-content: space-between; }
.kv-tips li { padding: 11px 0 11px 26px; border-top: 1px dashed var(--border); font-size: 14.5px; line-height: 1.45; color: var(--text-body); position: relative; }
.kv-tips li::before { content: '✓'; position: absolute; left: 2px; top: 11px; color: var(--accent); font-weight: 800; }
.kv-tips li b { color: var(--text-dark); }
@media (max-width: 1024px) { .kv-kash-videos--tip { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .kv-tips { padding: 22px 20px; } .kv-tips h3 { font-size: 22px; } }

/* ============================================================
   ЛЕНТА НА ГЛАВНОЙ v2: только карточки-миниатюры → страница ЖК
   ============================================================ */
.kv-feed-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.kv-feed-grid .kv-post-item { grid-template-columns: 168px minmax(0, 1fr); gap: 18px; padding: 14px; text-decoration: none; color: inherit; align-items: center; }
.kv-feed-grid .kv-post-item-img { position: relative; aspect-ratio: 4 / 3; }
.kv-post-item-new { position: absolute; top: 8px; left: 8px; background: var(--accent); color: #1a1a1a; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 4px 8px; border-radius: 100px; }
.kv-feed-grid .kv-post-item-title { font-size: 16.5px; }
.kv-feed-grid .kv-post-item .kv-todo { font-size: 9.5px; padding: 1px 6px; }
.kv-feed-grid .kv-empty { grid-column: 1 / -1; }
.kv-feed-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 20px; }
.kv-feed-foot .kv-feed-more { width: auto; }
.kv-feed-foot .kv-feed-sub { margin: 0; flex-direction: row; align-items: center; gap: 18px; padding: 12px 12px 12px 22px; border-style: solid; }
.kv-feed-foot .kv-feed-sub span { margin: 0; font-size: 14px; color: var(--text-light-muted); }
.kv-feed-foot .kv-feed-sub span b { color: var(--text-light); font-size: 14px; margin-right: 4px; }
.kv-feed-foot .kv-feed-tg { padding: 12px 18px; white-space: nowrap; }
a.kv-prog { text-decoration: none; color: inherit; }
.kv-prog-foot { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.kv-prog-go { color: var(--accent); font-weight: 700; }
a.kv-ticker-item { text-decoration: none; color: rgba(245, 243, 239, 0.86); }
a.kv-ticker-item:hover { color: #fff; }
a.kv-ticker-label { text-decoration: none; }
.kv-pop-link { display: inline-block; margin-top: 10px; font: 700 13px var(--sans); background: #1a1a1a; color: #fff !important; padding: 8px 12px; border-radius: 100px; text-decoration: none; }
@media (max-width: 1024px) { .kv-feed-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .kv-feed-grid .kv-post-item { grid-template-columns: 104px minmax(0, 1fr); gap: 12px; padding: 10px; }
  .kv-feed-grid .kv-post-item-title { font-size: 15px; }
  .kv-feed-foot { flex-direction: column; align-items: stretch; }
  .kv-feed-foot .kv-feed-more { width: 100%; }
  .kv-feed-foot .kv-feed-sub { flex-direction: column; align-items: stretch; padding: 16px; }
}

/* ============================================================
   СТРАНИЦА ЖК (obekty/<id>/) — хронология ремонта
   ============================================================ */
.obj-page { background: var(--bg-cream); }
.obj-hero { background: var(--kv-dark); color: var(--text-light); padding: 150px 48px 64px; }
.obj-crumbs { font-size: 13px; color: var(--text-light-muted); margin-bottom: 22px; display: flex; gap: 8px; flex-wrap: wrap; }
.obj-crumbs a { color: var(--text-light-muted); text-decoration: none; }
.obj-crumbs a:hover { color: var(--accent); }
.obj-hero-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 48px; align-items: end; }
.obj-tag { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.obj-hero h1 { font-size: 52px; line-height: 1.08; font-weight: 800; margin-bottom: 18px; }
.obj-hero h1 em { font-style: normal; color: var(--accent); }
.obj-hero-lead { font-size: 17px; line-height: 1.6; color: rgba(245,243,239,.74); max-width: 620px; }
.obj-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--kv-line-dark); border: 1px solid var(--kv-line-dark); border-radius: 18px; overflow: hidden; }
.obj-facts > div { background: var(--kv-dark-2); padding: 18px 20px; }
.obj-facts b { display: block; font-size: 22px; font-weight: 800; margin-bottom: 4px; }
.obj-facts span { font-size: 12.5px; color: var(--text-light-muted); }
.obj-route { margin-top: 44px; }
.obj-route-bar { display: grid; grid-template-columns: repeat(9, 1fr); gap: 6px; }
.obj-route-step { display: flex; flex-direction: column; gap: 8px; }
.obj-route-step i { height: 8px; border-radius: 4px; background: rgba(245,243,239,.12); }
.obj-route-step.is-done i { background: rgba(184,149,106,.75); }
.obj-route-step.is-now i { background: var(--kv-live); box-shadow: 0 0 12px rgba(224,178,94,.7); }
.obj-route-step span { font-size: 11.5px; color: var(--text-light-muted); line-height: 1.3; }
.obj-route-step.is-now span { color: var(--kv-live); font-weight: 700; }

.obj-body { padding: 64px 48px 100px; }
.obj-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
.obj-timeline { position: relative; display: flex; flex-direction: column; gap: 28px; }
.obj-timeline::before { content: ''; position: absolute; left: 11px; top: 10px; bottom: 10px; width: 2px; background: var(--border); }
.obj-post { position: relative; padding-left: 44px; scroll-margin-top: 110px; }
.obj-post::before { content: ''; position: absolute; left: 4px; top: 8px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg-cream); border: 3px solid var(--text-muted); }
.obj-post.is-key::before { border-color: var(--accent); background: var(--accent); }
.obj-post-card { background: var(--bg-white); border-radius: 20px; padding: 26px 28px; box-shadow: var(--shadow-card); transition: box-shadow .4s, outline-color .4s; outline: 2px solid transparent; }
.obj-post.is-target .obj-post-card { outline-color: var(--accent); box-shadow: var(--shadow-hover); }
.obj-post-date { font-size: 13px; font-weight: 700; color: var(--text-muted); margin-bottom: 10px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.obj-post .kv-phase { color: #8a6a3f; }
.obj-post .kv-point { color: var(--text-muted); }
.obj-post .kv-point.is-key { color: #a9772a; }
.obj-post h2 { font-size: 24px; line-height: 1.25; font-weight: 700; margin-bottom: 10px; }
.obj-post p { font-size: 16px; line-height: 1.65; color: var(--text-body); }
.obj-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
.obj-photos figure { margin: 0; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: var(--bg-paper); cursor: zoom-in; }
.obj-photos img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.obj-photos figure:hover img { transform: scale(1.04); }
.obj-post .kv-post-doc { background: var(--bg-cream); border-color: var(--border); color: var(--text-dark); }
.obj-post .kv-post-doc small { color: var(--text-muted); }
.obj-post-author { margin-top: 14px; font-size: 13px; color: var(--text-muted); }
.obj-side { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 14px; }
.obj-side-card { background: var(--bg-white); border-radius: 20px; padding: 24px; box-shadow: var(--shadow-card); }
.obj-side-card h3 { font-size: 20px; line-height: 1.25; font-weight: 800; margin-bottom: 8px; }
.obj-side-card p { font-size: 14px; color: var(--text-muted); line-height: 1.5; margin-bottom: 16px; }
.obj-side-card .btn, .obj-side-card .kv-btn-outline { width: 100%; margin-top: 8px; }
.obj-side-card--dark { background: var(--kv-dark); color: var(--text-light); }
.obj-side-card--dark p { color: var(--text-light-muted); }
.obj-others { display: flex; flex-direction: column; gap: 8px; }
.obj-others a { display: flex; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--bg-cream); color: var(--text-dark); text-decoration: none; font-size: 14px; font-weight: 600; }
.obj-others a span { color: var(--text-muted); font-weight: 500; font-size: 12.5px; }
.obj-others a:hover { background: var(--bg-paper); }
@media (max-width: 1024px) {
  .obj-hero-grid, .obj-layout { grid-template-columns: 1fr; }
  .obj-side { position: static; }
  .obj-hero h1 { font-size: 40px; }
}
@media (max-width: 600px) {
  .obj-hero { padding: 120px 20px 44px; }
  .obj-hero h1 { font-size: 30px; }
  .obj-body { padding: 40px 20px 80px; }
  .obj-route-bar { gap: 3px; }
  .obj-route-step span { display: none; }
  .obj-route-step.is-now span { display: block; position: absolute; margin-top: 16px; white-space: nowrap; }
  .obj-route-step { position: relative; }
  .obj-route { margin-bottom: 20px; }
  .obj-post { padding-left: 30px; }
  .obj-timeline::before { left: 7px; }
  .obj-post::before { left: 0; width: 14px; height: 14px; }
  .obj-post-card { padding: 20px; }
  .obj-post h2 { font-size: 20px; }
  .obj-photos { grid-template-columns: repeat(2, 1fr); }
}

/* Подписи-факты прямо на фото кейса (вместо текстовой сетки «Что сделали») */
.kv-m figcaption.kv-m-note {
  opacity: 1; transform: none; left: 12px; right: 12px; bottom: 12px; max-width: 440px;
  display: flex; flex-direction: column; gap: 3px;
  padding: 11px 14px; border-radius: 12px; text-transform: none; letter-spacing: 0;
  background: rgba(15, 13, 11, 0.66); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.kv-m-note b { font-size: 14.5px; font-weight: 700; line-height: 1.25; }
.kv-m-note span { font-size: 12.5px; font-weight: 500; line-height: 1.4; color: rgba(255, 255, 255, 0.82); }
.kv-m--hero .kv-m-note { left: 18px; bottom: 18px; padding: 14px 18px; }
.kv-m--hero .kv-m-note b { font-size: 17px; }
.kv-m--hero .kv-m-note span { font-size: 13.5px; }
@media (max-width: 1100px) { .kv-m:not(.kv-m--hero) .kv-m-note span { display: none; } }
@media (max-width: 600px) {
  .kv-m figcaption.kv-m-note { left: 8px; right: 8px; bottom: 8px; padding: 7px 9px; border-radius: 9px; }
  .kv-m-note b { font-size: 11.5px; }
  .kv-m--hero .kv-m-note b { font-size: 13.5px; }
  .kv-m--hero .kv-m-note span { display: block; font-size: 11.5px; }
}

/* ============================================================
   ЦЕНА ПО УСТАВУ: состав вместо одной цифры, год на виду
   ============================================================ */
.kv-calc-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.kv-calc-year { font-size: 12px; font-weight: 700; color: var(--accent); background: var(--accent-bg); padding: 5px 10px; border-radius: 100px; }
.kv-calc-rows { border-top: 1px solid var(--border); }
.kv-calc-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 16px; align-items: baseline; padding: 13px 0; border-bottom: 1px dashed var(--border); }
.kv-calc-row span { font-size: 15px; }
.kv-calc-row b { font-size: 15px; font-weight: 700; }
.kv-calc-row em { font-style: normal; font-size: 13px; color: var(--text-muted); min-width: 90px; text-align: right; }
.kv-calc-sum { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; padding: 18px 0 6px; }
.kv-calc-sum span { display: block; font-size: 13px; color: var(--text-muted); margin-bottom: 4px; }
.kv-calc-sum b { font-size: 28px; font-weight: 800; line-height: 1.1; }
.kv-calc-note { font-size: 13.5px; line-height: 1.5; color: var(--text-muted); padding: 12px 14px; background: var(--bg-cream); border-radius: 12px; margin: 12px 0 18px; }
.kv-card-img .kv-card-year { position: absolute; top: 12px; left: 12px; z-index: 2; font-size: 12px; font-weight: 800; color: #1a1a1a; background: rgba(255,255,255,.92); padding: 5px 10px; border-radius: 100px; }
@media (max-width: 600px) {
  .kv-calc-row { grid-template-columns: minmax(0, 1fr) auto; }
  .kv-calc-row em { grid-column: 2; min-width: 0; }
  .kv-calc-sum b { font-size: 22px; }
}

/* ============================================================
   СТРАНИЦА ЖК (zhk/<id>/) И СТРАНИЦА ЭТАПА (zhk/<id>/<этап>/)
   ============================================================ */
.zhk-hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.zhk-hero-cta .kv-btn-outline { color: var(--text-light); }
.zhk-body { padding-top: 56px; }
.zhk-block { margin-bottom: 56px; }
.zhk-h2 { font-size: 34px; line-height: 1.15; font-weight: 800; margin-bottom: 20px; }
.zhk-h2-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.zhk-h2-row .zhk-h2 { margin-bottom: 0; }
.zhk-h2-row > span:not(.kv-todo) { font-size: 13px; color: var(--text-muted); }
.zhk-h3 { font-size: 22px; line-height: 1.2; font-weight: 800; margin-bottom: 12px; }
.zhk-lead { font-size: 15px; color: var(--text-muted); margin: -8px 0 18px; }
.zhk-apts { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 16px; }
.zhk-apt { background: var(--kv-dark); color: var(--text-light); border-radius: 20px; padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.zhk-apt-top { display: flex; justify-content: space-between; align-items: baseline; }
.zhk-apt-top b { font-size: 19px; }
.zhk-apt-top span { font-size: 13px; color: var(--text-light-muted); }
.zhk-apt .obj-route-step span { display: none; }
.zhk-apt-stage { font-size: 14px; color: var(--text-light-muted); }
.zhk-apt-stage b { color: var(--kv-live); }
.zhk-apt .zhk-rp { border-top: 1px solid var(--kv-line-dark); padding-top: 14px; }
.zhk-apt .zhk-rp small { color: var(--text-light-muted); }
.zhk-rp { display: flex; align-items: center; gap: 12px; }
.zhk-rp + .zhk-rp { margin-top: 12px; }
.zhk-rp-photo { width: 48px; height: 48px; border-radius: 50%; overflow: hidden; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; background: var(--bg-paper); color: var(--accent); font-weight: 800; font-size: 13px; }
.zhk-rp-photo img { width: 100%; height: 100%; object-fit: cover; }
.zhk-rp b { display: block; font-size: 15px; }
.zhk-rp small { font-size: 12.5px; color: var(--text-muted); }
.zhk-stages { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.zhk-stage { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; align-items: center; background: var(--bg-white); border-radius: 16px; padding: 12px; text-decoration: none; color: inherit; box-shadow: var(--shadow-card); transition: transform .2s, box-shadow .2s; }
.zhk-stage:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.zhk-stage-img { aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: var(--bg-paper); }
.zhk-stage-img img { width: 100%; height: 100%; object-fit: cover; }
.zhk-stage-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.zhk-stage-body small { font-size: 12px; color: var(--text-muted); }
.zhk-stage-body b { font-size: 17px; line-height: 1.25; }
.zhk-stage-body > span { font-size: 13.5px; color: var(--text-body); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.zhk-stage-body em { font-style: normal; font-size: 12.5px; font-weight: 700; color: var(--accent); }
.zhk-layouts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.zhk-layout { background: var(--bg-white); border-radius: 18px; padding: 20px; box-shadow: var(--shadow-card); }
.zhk-layout-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.zhk-layout-head b { font-size: 18px; }
.zhk-layout-head span { font-size: 14px; color: var(--text-muted); font-weight: 600; }
.zhk-layout-plan { aspect-ratio: 4 / 3; border-radius: 12px; background: repeating-linear-gradient(135deg, #ecebe7 0 12px, #e6e4df 12px 24px); display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; overflow: hidden; margin-bottom: 12px; }
.zhk-layout-plan img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.zhk-layout-rows { list-style: none; }
.zhk-layout-rows li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--border); font-size: 14px; }
.zhk-layout-rows b { font-weight: 700; }
.zhk-layout-year { margin-top: 10px; font-size: 12px; font-weight: 700; color: var(--accent); }
.zhk-two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.zhk-card { background: var(--bg-white); border-radius: 20px; padding: 26px; box-shadow: var(--shadow-card); display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.zhk-card p { font-size: 15px; line-height: 1.6; color: var(--text-body); }
.zhk-card--dark { background: var(--kv-dark); color: var(--text-light); }
.zhk-card--dark p { color: var(--text-light-muted); }
.zhk-card--dark .kv-btn-outline { color: var(--text-light); }
.zhk-subs { display: flex; gap: 8px; flex-wrap: wrap; }
.zhk-subs a { padding: 11px 18px; border-radius: 100px; font-weight: 700; font-size: 14px; text-decoration: none; color: #fff; }
.zhk-subs a:nth-child(1) { background: #2aabee; }
.zhk-subs a:nth-child(2) { background: #25d366; }
.zhk-subs a:nth-child(3) { background: #3d3dff; }
.zhk-features { list-style: none; width: 100%; }
.zhk-features li { padding: 10px 0; border-bottom: 1px dashed var(--border); }
.zhk-features b { display: block; }
.zhk-features span { font-size: 14px; color: var(--text-muted); }
.zhk-empty { padding: 14px; border: 1px dashed var(--border); border-radius: 12px; width: 100%; }
.zhk-ref { background: var(--bg-white); border-radius: 20px; padding: 24px 26px; }
.zhk-ref dl { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 12px; }
.zhk-ref dt { font-size: 12.5px; color: var(--text-muted); }
.zhk-ref dd { font-size: 16px; font-weight: 700; }

.obj-hero--stage h1 { font-size: 46px; }
.stage-meta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.stage-meta > span { background: var(--kv-dark-2); border: 1px solid var(--kv-line-dark); border-radius: 14px; padding: 12px 16px; font-size: 12.5px; color: var(--text-light-muted); }
.stage-meta b { display: block; font-size: 17px; color: var(--text-light); margin-bottom: 2px; }
.stage-main { display: flex; flex-direction: column; gap: 16px; }
.stage-text { font-size: 17px; line-height: 1.7; color: var(--text-body); }
.stage-rp { display: flex; align-items: center; gap: 18px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--border); }
.stage-circle { width: 96px; height: 96px; border-radius: 50%; overflow: hidden; flex: 0 0 auto; background: var(--kv-dark); }
.stage-circle iframe { width: 100%; height: 100%; border: 0; }
.stage-circle--empty { display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--accent); font-size: 20px; }
.stage-circle--empty small { font-size: 9.5px; color: var(--text-light-muted); margin-top: 2px; }
.stage-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stage-nav a { background: var(--bg-white); border-radius: 14px; padding: 14px 16px; text-decoration: none; color: inherit; box-shadow: var(--shadow-card); }
.stage-nav a.is-next { text-align: right; }
.stage-nav small { display: block; font-size: 12px; color: var(--text-muted); margin-bottom: 2px; }
.stage-nav b { font-size: 15px; }

@media (max-width: 1024px) {
  .zhk-stages, .zhk-two { grid-template-columns: 1fr; }
  .zhk-layouts { grid-template-columns: 1fr 1fr; }
  .zhk-ref dl { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .zhk-h2 { font-size: 26px; }
  .zhk-apts { grid-template-columns: 1fr; }
  .zhk-stage { grid-template-columns: 104px minmax(0, 1fr); gap: 12px; padding: 10px; }
  .zhk-stage-body b { font-size: 15px; }
  .zhk-layouts { grid-template-columns: 1fr; }
  .zhk-card { padding: 20px; }
  .obj-hero--stage h1 { font-size: 30px; }
  .stage-nav { grid-template-columns: 1fr; }
  .stage-nav a.is-next { text-align: left; }
}

/* ============================================================
   ПЕРВЫЙ ЭКРАН ПО «КРАСНЫМ САПОГАМ»: оффер, Алексей, «Найти свой ЖК», «Разбор планировки», полоса доверия
   ============================================================ */
.kv-hero .kv-hero-grid { grid-template-columns: minmax(0, 1fr) 330px; gap: 56px; align-items: end; max-width: 1280px; }
.kv-hero h1 { font-size: 72px; margin-bottom: 22px; }
.kv-hero p.lead { font-size: 19px; max-width: 620px; margin-bottom: 30px; }
.kv-hero-actions { align-items: stretch; gap: 14px; position: relative; }
.kv-hero-actions .btn-calc { font-family: var(--sans); }
.kv-hero-plan {
  font: 700 16px/1.2 var(--sans); color: var(--text-light); background: rgba(245,243,239,0.08);
  border: 1.5px solid rgba(245,243,239,0.45); border-radius: 16px; padding: 0 26px; cursor: pointer; transition: background .2s, border-color .2s;
}
.kv-hero-plan:hover { background: rgba(245,243,239,0.16); border-color: var(--accent); }

.kv-zhk-finder { margin-top: 14px; max-width: 600px; background: var(--bg-white); color: var(--text-dark); border-radius: 18px; padding: 14px; box-shadow: 0 24px 60px rgba(0,0,0,.45); position: relative; z-index: 6; }
.kv-zhk-finder[hidden] { display: none; }
.kv-zhk-input { display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--border); border-radius: 12px; padding: 0 14px; background: var(--bg-cream); }
.kv-zhk-input:focus-within { border-color: var(--text-dark); }
.kv-zhk-input svg { width: 20px; height: 20px; color: var(--text-muted); flex: 0 0 auto; }
.kv-zhk-input input { flex: 1; border: 0; background: transparent; font: 600 16px var(--sans); padding: 14px 0; outline: none; color: var(--text-dark); }
.kv-zhk-results { max-height: 320px; overflow-y: auto; margin-top: 8px; }
.kv-zhk-head { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); padding: 10px 6px 6px; }
.kv-zhk-item { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 11px 10px; border-radius: 10px; text-decoration: none; color: var(--text-dark); }
.kv-zhk-item:hover, .kv-zhk-item:focus { background: var(--bg-cream); outline: none; }
.kv-zhk-item b { display: inline-flex; align-items: center; gap: 8px; font-size: 15.5px; }
.kv-zhk-item small { font-size: 12.5px; color: var(--text-muted); text-align: right; }
.kv-zhk-item.is-live small { color: #9a6a1c; font-weight: 600; }
.kv-zhk-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 2px 4px 6px; }
.kv-zhk-chips a { font-size: 13px; font-weight: 600; padding: 7px 11px; border-radius: 100px; background: var(--bg-cream); color: var(--text-dark); text-decoration: none; }
.kv-zhk-chips a:hover { background: var(--bg-paper); }
.kv-zhk-none { display: flex; flex-direction: column; gap: 6px; padding: 12px 8px; }
.kv-zhk-none span { font-size: 14px; color: var(--text-muted); }
.kv-zhk-none a { font-weight: 700; color: #1e9e4f; text-decoration: none; }

.kv-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 30px; padding-top: 18px; border-top: 1px solid rgba(245,243,239,0.16); max-width: 680px; }
.kv-trust li { font-size: 13.5px; color: rgba(245,243,239,0.7); }
.kv-trust b { color: var(--text-light); font-weight: 700; }

.kv-hero-face { position: relative; margin: 0; border-radius: 22px; overflow: hidden; aspect-ratio: 3 / 4; box-shadow: 0 24px 60px rgba(0,0,0,.45); border: 1px solid rgba(245,243,239,0.14); }
.kv-hero-face img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 30%; }
.kv-hero-face figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 20px 18px; background: linear-gradient(to top, rgba(10,9,8,.92), rgba(10,9,8,0)); color: #fff; display: flex; flex-direction: column; gap: 3px; }
.kv-hero-face b { font-size: 18px; }
.kv-hero-face span { font-size: 12.5px; color: rgba(255,255,255,.75); }
.kv-hero-face q { margin-top: 8px; font-size: 14px; line-height: 1.4; font-style: normal; color: var(--accent); quotes: '«' '»'; }

@media (max-width: 1100px) {
  .kv-hero .kv-hero-grid { grid-template-columns: minmax(0, 1fr) 260px; gap: 36px; }
  .kv-hero h1 { font-size: 56px; }
}
@media (max-width: 900px) {
  /* мобильный порядок: тег → заголовок → текст → Алексей → кнопки → поиск → доверие → бегущая строка */
  .kv-hero .kv-hero-tag { order: 0; }
  .kv-hero .kv-hero-face { order: 3; aspect-ratio: auto; display: grid; grid-template-columns: 88px minmax(0, 1fr); align-items: center; gap: 14px; margin: 4px 0 22px; border-radius: 16px; box-shadow: none; }
  .kv-hero .kv-hero-face img { width: 88px; height: 104px; border-radius: 12px; }
  .kv-hero .kv-hero-face figcaption { position: static; padding: 0; background: none; color: inherit; }
  .kv-hero .kv-hero-face span { color: var(--text-muted); }
  .kv-hero .kv-hero-face q { margin-top: 4px; font-size: 13px; color: #9a6a1c; }
  .kv-hero .kv-hero-actions { order: 4; flex-direction: column; }
  .kv-hero .kv-hero-plan { padding: 16px; color: var(--text-dark); border-color: rgba(26,26,26,.3); background: transparent; }
  .kv-hero .kv-zhk-finder { order: 5; box-shadow: var(--shadow-hover); }
  .kv-hero .kv-trust { order: 6; border-top-color: var(--border); }
  .kv-hero .kv-trust li { color: var(--text-muted); }
  .kv-hero .kv-trust b { color: var(--text-dark); }
  .kv-ticker { order: 7; }
}
@media (max-width: 600px) {
  .kv-hero h1 { font-size: 38px !important; }
  .kv-hero p.lead { font-size: 16px; }
  .kv-hero .kv-hero-face { border: 1px solid var(--border); padding: 8px; background: var(--bg-white); }
  .kv-trust { gap: 6px 16px; margin-top: 22px; }
  .kv-trust li { font-size: 12.5px; }
}
.kv-plan-msgr { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 20px 0 16px; }
.kv-plan-msgr a { text-align: center; padding: 14px 10px; border-radius: 12px; font-weight: 700; color: #fff; text-decoration: none; }
.kv-plan-wa { background: #25d366; } .kv-plan-tg { background: #2aabee; } .kv-plan-max { background: #3d3dff; }
.kv-plan-msgr a:hover { filter: brightness(1.08); }
.kv-plan-alt { font-size: 13.5px; color: var(--text-light-muted); line-height: 1.5; }
.kv-plan-alt a { color: var(--accent); }
@media (max-width: 420px) { .kv-plan-msgr { grid-template-columns: 1fr; } }
.kv-hero .hero-cta.kv-hero-actions { align-items: stretch; gap: 14px; }
@media (min-width: 901px) {
  .kv-hero .kv-hero-grid > div:first-child { position: relative; }
  .kv-hero .kv-zhk-finder { position: absolute; left: 0; width: min(600px, 100%); }
}

/* Служебная страница «Блоки на согласовании» */
.kv-review-intro { background: var(--kv-dark); color: var(--text-light); padding: 150px 48px 56px; }
.kv-review-tag { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #1a1a1a; background: var(--accent); padding: 6px 12px; border-radius: 100px; margin-bottom: 18px; }
.kv-review-intro h1 { font-size: 52px; font-weight: 800; line-height: 1.1; margin-bottom: 14px; }
.kv-review-intro p { font-size: 17px; color: var(--text-light-muted); max-width: 680px; margin-bottom: 22px; }
.kv-review-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.kv-review-list a { display: inline-block; padding: 10px 16px; border-radius: 100px; border: 1px solid var(--kv-line-dark); color: var(--text-light); text-decoration: none; font-size: 14px; font-weight: 600; }
.kv-review-list a:hover { border-color: var(--accent); color: var(--accent); }
.kv-review-back { color: var(--accent); font-weight: 700; text-decoration: none; }
@media (max-width: 600px) { .kv-review-intro { padding: 120px 20px 40px; } .kv-review-intro h1 { font-size: 32px; } }

/* Отзывы в кейсах: две карточки с круглыми фото (слева клиент/дизайнер, справа Алексей) */
.kv-quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.kv-q { margin: 0; display: grid; grid-template-columns: 72px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 20px; row-gap: 14px; align-items: start; background: var(--bg-cream); border-radius: 20px; padding: 28px; }
.kv-kash--alt .kv-q { background: var(--bg-white); }
.kv-q-photo { grid-row: 1 / span 2; width: 72px; height: 72px; border-radius: 50%; overflow: hidden; background: var(--bg-paper); display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 800; color: var(--accent); }
.kv-q-photo img { width: 100%; height: 100%; object-fit: cover; }
.kv-q blockquote { font-size: 18px; line-height: 1.5; font-weight: 500; color: var(--text-dark); }
.kv-q figcaption { display: flex; flex-direction: column; gap: 2px; }
.kv-q figcaption b { font-size: 15px; }
.kv-q figcaption span { font-size: 13px; color: var(--text-muted); }
.kv-q figcaption .kv-todo { margin-top: 6px; width: fit-content; }
@media (max-width: 900px) { .kv-quotes { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .kv-q { grid-template-columns: 52px minmax(0, 1fr); column-gap: 14px; padding: 20px; }
  .kv-q-photo { width: 52px; height: 52px; font-size: 18px; }
  .kv-q blockquote { font-size: 16px; }
}
/* Карточка Алексея — светлая, тёплый песочный фон вместо тёмного */

/* 03 — Наши ЖК: карточки с фото объекта → страница ЖК */
.kv-zhks { background: var(--bg-cream); padding-top: 80px; padding-bottom: 80px; }
.kv-zhk-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.kv-zhk-card { display: flex; flex-direction: column; background: var(--bg-white); border-radius: 18px; overflow: hidden; text-decoration: none; color: inherit; box-shadow: var(--shadow-card); transition: transform .25s, box-shadow .25s; }
.kv-zhk-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.kv-zhk-card-img { position: relative; aspect-ratio: 4 / 3; background: var(--bg-paper); overflow: hidden; }
.kv-zhk-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.kv-zhk-card:hover .kv-zhk-card-img img { transform: scale(1.05); }
.kv-zhk-card-badge { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 6px 10px; border-radius: 100px; background: var(--kv-dark); color: var(--text-light); }
.kv-zhk-card-badge.is-done { background: rgba(255,255,255,.92); color: var(--text-dark); }
.kv-zhk-card-todo { position: absolute; bottom: 10px; left: 10px; }
.kv-zhk-card-body { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px 18px; }
.kv-zhk-card-body b { font-size: 18px; line-height: 1.25; }
.kv-zhk-card-body small { font-size: 13px; color: var(--text-muted); }
.kv-zhk-card.is-live .kv-zhk-card-body small { color: #9a6a1c; font-weight: 600; }
.kv-zhk-card-body em { font-style: normal; font-size: 13px; font-weight: 700; color: var(--accent); margin-top: 6px; }
@media (max-width: 1100px) { .kv-zhk-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 800px) { .kv-zhk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .kv-zhks { padding-top: 56px; padding-bottom: 56px; }
  .kv-zhk-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 -20px; padding: 0 20px 8px; scrollbar-width: none; }
  .kv-zhk-grid::-webkit-scrollbar { display: none; }
  .kv-zhk-card { flex: 0 0 74%; scroll-snap-align: start; }
}

/* Страница сданного ЖК: карточка квартиры с фото */
.zhk-apt--done { background: var(--bg-white); color: var(--text-dark); box-shadow: var(--shadow-card); padding: 0; overflow: hidden; gap: 0; }
.zhk-apt-photo { aspect-ratio: 16 / 9; background: var(--bg-paper); }
.zhk-apt-photo img { width: 100%; height: 100%; object-fit: cover; }
.zhk-apt--done .zhk-apt-in { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; }
.zhk-apt--done .zhk-apt-top span { color: var(--text-muted); }
.zhk-apt-facts { font-size: 14px; color: var(--text-body); }
.zhk-apt-link { font-weight: 700; color: var(--accent); text-decoration: none; font-size: 14px; }

/* Наши ЖК v2 — карточки без фото */
.kv-zhk-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.kv-zhk-card { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 20px 52px 20px 22px; border-radius: 16px; background: var(--bg-white); border: 1px solid var(--border); box-shadow: none; min-height: 132px; }
.kv-zhk-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); border-color: rgba(184,149,106,.45); }
.kv-zhk-card-status { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 4px; }
.kv-zhk-card.is-live .kv-zhk-card-status { color: #9a6a1c; }
.kv-zhk-card b { font-size: 18px; line-height: 1.25; }
.kv-zhk-card small { font-size: 13px; color: var(--text-muted); line-height: 1.4; }
.kv-zhk-card-go { position: absolute; right: 18px; bottom: 18px; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--bg-cream); color: var(--text-dark); font-size: 15px; transition: background .2s, color .2s; }
.kv-zhk-card:hover .kv-zhk-card-go { background: var(--accent); color: #1a1a1a; }
.kv-zhk-card.is-live { background: var(--kv-dark); border-color: var(--kv-dark); color: var(--text-light); }
.kv-zhk-card.is-live small { color: var(--text-light-muted); }
.kv-zhk-card.is-live .kv-zhk-card-status { color: var(--kv-live); }
.kv-zhk-card.is-live .kv-zhk-card-go { background: rgba(245,243,239,.1); color: var(--text-light); }
@media (max-width: 1100px) { .kv-zhk-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 800px) { .kv-zhk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .kv-zhk-grid { display: grid; grid-template-columns: 1fr 1fr; overflow: visible; margin: 0; padding: 0; gap: 10px; }
  .kv-zhk-card { flex: none; padding: 16px 16px 44px; min-height: 0; }
  .kv-zhk-card b { font-size: 15.5px; }
  .kv-zhk-card small { font-size: 12px; }
  .kv-zhk-card-go { right: 12px; bottom: 12px; width: 28px; height: 28px; }
}
/* ЖК в работе — светлый тёплый фон вместо тёмного */
.kv-zhk-card.is-live { background: #f6efe4; border-color: rgba(184,149,106,.35); color: var(--text-dark); }
.kv-zhk-card.is-live small { color: var(--text-muted); }
.kv-zhk-card.is-live .kv-zhk-card-status { color: #9a6a1c; }
.kv-zhk-card.is-live .kv-zhk-card-go { background: var(--bg-white); color: var(--text-dark); }
/* пометка на временных фото в плитке кейса */
.kv-m .kv-todo { position: absolute; top: 10px; left: 10px; z-index: 2; font-size: 10px; }
.kv-m--w6 { grid-column: span 6; }
@media (max-width: 600px) { .kv-mosaic .kv-m--w6 { grid-column: span 1; } }

/* ============================================================
   05-В — ДОРОГИЕ МАТЕРИАЛЫ: фото-карточка (~450 px) + текст
   ============================================================ */
.kv-premium { background: var(--bg-white); }
.kv-premium-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.kv-premium-photo { position: relative; margin: 0; height: 450px; border-radius: 20px; overflow: hidden; background: #0d0b0a; }
.kv-premium-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 55%; }
.kv-premium-photo figcaption { position: absolute; left: 16px; bottom: 16px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; background: rgba(15,13,11,.62); padding: 7px 12px; border-radius: 100px; }
.kv-premium-title { font-size: 36px; line-height: 1.15; font-weight: 800; margin-bottom: 16px; }
.kv-premium-title em { font-style: normal; color: var(--accent); }
.kv-premium-lead { font-size: 15.5px; line-height: 1.6; color: var(--text-body); margin-bottom: 18px; }
.kv-premium-list { list-style: none; border-top: 1px solid var(--border); }
.kv-premium-list li { position: relative; padding: 11px 0 11px 26px; border-bottom: 1px dashed var(--border); font-size: 14.5px; line-height: 1.5; color: var(--text-body); }
.kv-premium-list li::before { content: '✓'; position: absolute; left: 2px; top: 11px; font-weight: 800; color: var(--accent); }
.kv-premium-list b { color: var(--text-dark); }
@media (max-width: 1024px) {
  .kv-premium-grid { grid-template-columns: 1fr; gap: 28px; }
  .kv-premium-photo { height: 380px; }
}
@media (max-width: 600px) {
  .kv-premium-photo { height: 260px; border-radius: 16px; }
  .kv-premium-photo img { object-position: 60% 55%; }
  .kv-premium-title { font-size: 26px; }
}

/* ============================================================
   ПЕРВЫЙ ЭКРАН v3: фон — Алексей на объекте (кухня Valcucine, ЖК «Вишнёвый сад»),
   подпись тонким текстом без плашки
   ============================================================ */
.kv-hero .kv-hero-grid { grid-template-columns: minmax(0, 760px); }
.kv-hero .kv-hero-media { background-position: 50% 50%; }
.kv-hero .hero-bg-overlay {
  background:
    linear-gradient(95deg, rgba(10,9,8,.9) 0%, rgba(10,9,8,.72) 34%, rgba(10,9,8,.2) 58%, rgba(10,9,8,.1) 72%, rgba(10,9,8,.45) 100%),
    linear-gradient(0deg, rgba(10,9,8,.55) 0%, rgba(10,9,8,0) 30%);
}
.kv-hero-sign {
  position: absolute; right: 48px; bottom: 96px; z-index: 1; max-width: 300px; margin: 0;
  display: flex; flex-direction: column; gap: 6px; text-align: left;
  padding-left: 16px; border-left: 1px solid rgba(245,243,239,.4);
}
.kv-hero-sign-name { font-size: 14px; font-weight: 700; color: #fff; }
.kv-hero-sign-quote { font-size: 14px; line-height: 1.45; font-weight: 400; color: rgba(245,243,239,.82); }
.kv-hero-sign-place { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-top: 2px; }
@media (max-width: 1100px) { .kv-hero-sign { right: 28px; max-width: 250px; } }
@media (max-width: 900px) {
  .kv-hero .kv-hero-media { background-position: 62% 50%; }
  .kv-hero-sign { right: auto; left: 20px; bottom: 14px; max-width: 70%; padding-left: 10px; gap: 2px; }
  .kv-hero-sign-name { font-size: 12px; }
  .kv-hero-sign-quote { display: none; }
  .kv-hero-sign-place { font-size: 9.5px; }
}
.kv-hero .kv-hero-media { background-position: 15% 50%; }
@media (max-width: 900px) { .kv-hero .kv-hero-media { background-position: 62% 50%; } }
/* заголовок первого экрана длиннее — чуть меньше кегль, чтобы уложиться в 3 строки */
.kv-hero h1 { font-size: 60px; }
@media (max-width: 1100px) { .kv-hero h1 { font-size: 50px; } }
.kv-hero .kv-hero-grid { grid-template-columns: minmax(0, 860px); }
.kv-hero h1 { font-size: 58px; }
.kv-hero h1 em { white-space: nowrap; }
@media (max-width: 1100px) { .kv-hero h1 { font-size: 48px; } }
@media (max-width: 600px) { .kv-hero h1 br { display: none; } .kv-hero h1 em { white-space: normal; } }
.kv-hero-sign-regalia { font-size: 13px; color: rgba(245,243,239,.6); margin-top: -2px; }
.kv-hero-sign-regalia b { color: #fff; font-weight: 600; }
@media (max-width: 900px) { .kv-hero-sign-regalia { font-size: 11px; } }
/* подписка на ленту: Telegram + MAX */
.kv-feed-max { background: linear-gradient(135deg, #3d7bff 0%, #6c3dff 100%); }
.kv-feed-foot .kv-feed-sub span { flex: 1 1 auto; }
@media (max-width: 600px) { .kv-feed-foot .kv-feed-sub { gap: 10px; } }
.kv-zhks-head { margin-bottom: 32px; }
.kv-zhks-head .section-title { max-width: 980px; margin-bottom: 14px; }
.kv-zhks-head .section-lead { margin-bottom: 0; }

/* ---------- Страница ЖК: несколько квартир в доме — каждая отдельно ---------- */
.zhk-apt-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 12px; color: var(--text-light-muted); }
.zhk-apt-meta span { display: flex; flex-direction: column; gap: 2px; }
.zhk-apt-meta b { font-size: 17px; color: var(--text-light); }
.zhk-apt .zhk-apt-link { margin-top: auto; }
.zhk-hod-apt + .zhk-hod-apt { margin-top: 36px; }
.zhk-hod-apt { scroll-margin-top: 90px; }
.zhk-hod-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--kv-line, rgba(0,0,0,.1)); }
.zhk-hod-head h3 { font-size: 20px; margin: 0; }
.zhk-hod-head span { font-size: 13px; color: var(--text-muted); }
.zhk-apts--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) { .zhk-apts--two { grid-template-columns: 1fr; } }

/* Блок «Команда»: список «Что входит в зону ответственности» и стрелка к нему сняты — нижний отступ плашки как верхний */
.scope-umbrella { padding-bottom: 36px; }
@media (max-width: 1024px) { .scope-umbrella { padding-bottom: 28px; } }

/* ============ 23 · ЛЕНТА «ЖИВЫХ КЛИЕНТОВ» — только видеоотзывы ============ */
.kv-rvs { background: var(--kv-dark, #15120f); color: var(--text-light, #f5f3ef); padding-top: 96px; padding-bottom: 72px; overflow: hidden; }
.kv-rvs .section-tag { color: var(--accent); }
.kv-rvs .section-title { color: #fff; margin-bottom: 0; }
.kv-rvs-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 48px; align-items: end; margin-bottom: 40px; }
.kv-rvs-quote { margin: 0; display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 18px; row-gap: 6px; align-items: center; padding-left: 22px; border-left: 2px solid var(--accent); }
.kv-rvs-quote-ava { grid-row: span 2; width: 64px; height: 64px; border-radius: 50%; overflow: hidden; background: #2a2520; }
.kv-rvs-quote-ava img { width: 100%; height: 100%; object-fit: cover; }
.kv-rvs-quote blockquote { margin: 0; font-size: 17px; line-height: 1.45; color: #fff; font-weight: 500; }
.kv-rvs-quote figcaption { font-size: 13px; color: rgba(245, 243, 239, .55); }

.kv-rvs-all { color: var(--accent); font-weight: 600; font-size: 15px; text-decoration: none; }
.kv-rvs-all:hover { color: #fff; }

@media (max-width: 900px) {
  .kv-rvs { padding-top: 64px; padding-bottom: 52px; }
  .kv-rvs-head { grid-template-columns: minmax(0, 1fr); gap: 24px; margin-bottom: 28px; }
  .kv-rvs-quote blockquote { font-size: 15px; }
}

/* ---------- «Сейчас на объектах» — стикеры вместо текстовой строки (как карточки РСЯ) ---------- */
.kv-hero { padding-bottom: 142px; }
.kv-hero-sign { bottom: 124px; }
.kv-ticker { height: 88px; }
.kv-ticker-run { align-items: center; gap: 12px; padding-left: 12px; }
.kv-sticker {
  flex: 0 0 auto; width: 300px; display: flex; align-items: center; gap: 12px; padding: 8px 14px 8px 8px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 12px;
  text-decoration: none; color: var(--text-light); white-space: normal; transition: background .2s, border-color .2s;
}
.kv-sticker:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(184, 149, 106, 0.6); }
.kv-sticker-img { position: relative; flex: none; width: 64px; height: 56px; border-radius: 8px; overflow: hidden; background: #2a2520; }
.kv-sticker-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.kv-sticker-date { position: absolute; left: 4px; bottom: 4px; font-size: 10px; font-weight: 700; line-height: 1; color: #1a1a1a; background: var(--accent); padding: 3px 5px; border-radius: 4px; }
.kv-sticker-body { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.kv-sticker-body b { font-size: 13px; font-weight: 700; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kv-sticker-body span { font-size: 12.5px; line-height: 1.3; color: rgba(245, 243, 239, 0.7); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 900px) {
  .kv-hero { padding-bottom: 40px; }
  .kv-hero-sign { bottom: 14px; }
  .kv-ticker { height: 80px; }
  .kv-sticker { width: 260px; }
  .kv-sticker-img { width: 56px; height: 52px; }
}

/* ---------- Страница ЖК: укрупнённый график (6 этапов) + раскрывающийся список ---------- */
.zhk-plan-bar { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.zhk-plan-step { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.zhk-plan-step i { height: 8px; border-radius: 4px; background: rgba(245, 243, 239, .12); }
.zhk-plan-step.is-done i { background: rgba(184, 149, 106, .75); }
.zhk-plan-step.is-now i { background: var(--kv-live); box-shadow: 0 0 12px rgba(224, 178, 94, .7); }
.zhk-plan-step span { font-size: 11.5px; line-height: 1.25; color: var(--text-light-muted); }
.zhk-plan-step.is-done span { color: rgba(245, 243, 239, .75); }
.zhk-plan-step.is-now span { color: var(--kv-live); font-weight: 700; }
.zhk-apt-stage b { color: var(--kv-live); }

.zhk-plan { border-top: 1px solid var(--kv-line-dark); padding-top: 12px; }
.zhk-plan summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: #fff; user-select: none; }
.zhk-plan summary::-webkit-details-marker { display: none; }
.zhk-plan summary::after { content: ''; width: 7px; height: 7px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.zhk-plan[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.zhk-plan summary:hover { color: var(--accent); }
.zhk-plan-list { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; }
.zhk-plan-list li { position: relative; display: grid; grid-template-columns: 14px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 10px 0; }
.zhk-plan-list li + li { border-top: 1px solid rgba(245, 243, 239, .07); }
.zhk-plan-list li > i { width: 10px; height: 10px; margin-top: 4px; border-radius: 50%; border: 2px solid rgba(245, 243, 239, .25); }
.zhk-plan-list li.is-done > i { background: var(--accent); border-color: var(--accent); }
.zhk-plan-list li.is-now > i { background: var(--kv-live); border-color: var(--kv-live); box-shadow: 0 0 10px rgba(224, 178, 94, .7); }
.zhk-plan-name b { display: block; font-size: 14px; font-weight: 600; color: rgba(245, 243, 239, .55); }
.zhk-plan-name small { display: block; margin-top: 2px; font-size: 12.5px; line-height: 1.35; color: rgba(245, 243, 239, .45); }
.zhk-plan-list li.is-done .zhk-plan-name b, .zhk-plan-list li.is-now .zhk-plan-name b { color: #fff; }
.zhk-plan-st { text-align: right; display: flex; flex-direction: column; gap: 2px; }
.zhk-plan-st em { font-style: normal; font-size: 12px; font-weight: 700; letter-spacing: .04em; color: rgba(245, 243, 239, .4); }
.zhk-plan-list li.is-done .zhk-plan-st em { color: var(--accent); }
.zhk-plan-list li.is-now .zhk-plan-st em { color: var(--kv-live); }
.zhk-plan-st small { font-size: 12px; color: rgba(245, 243, 239, .5); white-space: nowrap; }
@media (max-width: 600px) {
  .zhk-plan-step span { display: none; }
  .zhk-plan-step.is-now span { display: block; white-space: nowrap; }
  .zhk-plan-list li { grid-template-columns: 14px minmax(0, 1fr); }
  .zhk-plan-st { grid-column: 2; text-align: left; flex-direction: row; gap: 10px; }
}
.zhk-plan-step.is-partial i { background: repeating-linear-gradient(135deg, rgba(184,149,106,.75) 0 6px, rgba(184,149,106,.3) 6px 12px); }
.zhk-plan-step.is-partial span { color: rgba(245, 243, 239, .75); }
.zhk-plan-list li.is-partial > i { background: linear-gradient(90deg, var(--accent) 50%, transparent 50%); border-color: var(--accent); }
.zhk-plan-list li.is-partial .zhk-plan-name b { color: #fff; }
.zhk-plan-list li.is-partial .zhk-plan-st em { color: var(--accent); }
.zhk-apts--two { align-items: start; }
/* стикер: ЖК / квартира «2-комн., 87 м²» / этап */
.kv-sticker-body { gap: 2px; }
.kv-sticker-body small { font-size: 11.5px; font-weight: 600; color: var(--accent); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kv-sticker-body span { -webkit-line-clamp: 1; }

/* ---------- Страница ЖК: видео с объекта (3-й блок, после квартир и графика) ---------- */
.zhk-videos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.zhk-video { display: flex; flex-direction: column; gap: 6px; cursor: pointer; }
.zhk-video:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 16px; }
.zhk-video-media { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: var(--kv-dark, #15120f); margin-bottom: 6px; }
.zhk-video-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.zhk-video:hover .zhk-video-media img { transform: scale(1.04); }
.zhk-video-play { position: absolute; left: 50%; top: 50%; width: 60px; height: 60px; margin: -30px 0 0 -30px; border-radius: 50%; background: rgba(255,255,255,.92); color: #15120f; display: flex; align-items: center; justify-content: center; transition: transform .25s, background .25s; }
.zhk-video-play svg { width: 22px; height: 22px; margin-left: 3px; }
.zhk-video:hover .zhk-video-play { transform: scale(1.08); background: var(--accent); }
.zhk-video-dur { position: absolute; right: 10px; bottom: 10px; font-size: 12px; font-weight: 600; color: #fff; background: rgba(0,0,0,.55); padding: 3px 8px; border-radius: 6px; }
.zhk-video b { font-size: 16px; font-weight: 700; color: var(--text-dark); }
.zhk-video small { font-size: 13px; color: var(--text-muted); }
.zhk-video--stub { cursor: default; }
.zhk-video--stub .zhk-video-media { background: #e9e5df; border: 1px dashed rgba(26, 26, 26, .18); }
.zhk-video--stub .zhk-video-play { background: rgba(26, 26, 26, .08); color: rgba(26, 26, 26, .3); }
.zhk-video--stub:hover .zhk-video-play { transform: none; background: rgba(26, 26, 26, .08); }
@media (max-width: 900px) { .zhk-videos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .zhk-videos { grid-template-columns: 1fr; } }
.zhk-apt-top .kv-todo { color: #9a5b1c; font-size: 10.5px; flex: none; }

/* ---------- Страница этапа: фото сеткой миниатюр, без увеличения ---------- */
.stage-thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
.stage-thumbs figure { margin: 0; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: var(--bg-paper); }
.stage-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 600px) { .stage-thumbs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } }
/* контрольная точка на белой карточке этапа была почти не видна */
.obj-post-card .kv-point { color: var(--text-muted); padding-left: 0; }
.obj-post-card .kv-point.is-key { color: #a9772a; }

/* 06 · Визуализация ↔ фото: пропорция кадра задаётся из данных пары (kv.js), сцена по центру */
.kv-ba-stage { margin: 0 auto; width: 100%; }
.kv-ba-stage img { object-fit: cover; }
@media (max-width: 900px) { .kv-ba-stage { max-width: 100% !important; } }

/* ---------- 23 · Видеоотзывы: основной плеер слева, плейлист справа ---------- */
.kv-pl { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 20px; align-items: start; }
.kv-pl-screen { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #000; }
.kv-pl-screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.kv-pl-poster { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.kv-pl-poster img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.kv-pl-poster:hover img { transform: scale(1.02); }
.kv-pl-play { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; background: rgba(255,255,255,.94); color: #15120f; display: flex; align-items: center; justify-content: center; transition: transform .25s, background .25s; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.kv-pl-play svg { width: 30px; height: 30px; margin-left: 4px; }
.kv-pl-poster:hover .kv-pl-play { transform: scale(1.06); background: var(--accent); }
.kv-pl-poster:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.kv-pl-now { display: flex; align-items: center; gap: 14px; margin-top: 16px; }
.kv-pl-now-ava { flex: none; width: 48px; height: 48px; border-radius: 50%; overflow: hidden; background: #2a2520; }
.kv-pl-now-ava[hidden] { display: none; }
.kv-pl-now-ava img { width: 100%; height: 100%; object-fit: cover; }
.kv-pl-now-title { display: block; font-size: 20px; font-weight: 700; color: #fff; line-height: 1.25; }
.kv-pl-now-who { display: block; margin-top: 3px; font-size: 14px; color: rgba(245, 243, 239, .6); }

/* правая колонка — той же высоты, что и плеер, список прокручивается */
.kv-pl-side { position: relative; align-self: stretch; min-height: 420px; border: 1px solid rgba(245, 243, 239, .14); border-radius: 18px; background: rgba(255, 255, 255, .03); display: flex; flex-direction: column; overflow: hidden; }
.kv-pl-head { padding: 18px 20px 14px; border-bottom: 1px solid rgba(245, 243, 239, .1); }
.kv-pl-head b { display: block; font-size: 20px; color: #fff; }
.kv-pl-head span { font-size: 13px; color: rgba(245, 243, 239, .55); }
.kv-pl-list { list-style: none; margin: 0; padding: 6px 0; overflow-y: auto; flex: 1 1 0; min-height: 0; scrollbar-width: thin; scrollbar-color: rgba(245,243,239,.25) transparent; }
.kv-pl-item { width: 100%; display: grid; grid-template-columns: 18px 128px minmax(0, 1fr); gap: 12px; align-items: center; padding: 8px 16px 8px 10px; border: 0; background: none; text-align: left; color: inherit; font: inherit; cursor: pointer; transition: background .2s; }
.kv-pl-item:hover { background: rgba(255, 255, 255, .06); }
.kv-pl-item.is-active { background: rgba(184, 149, 106, .18); }
.kv-pl-item:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.kv-pl-num { font-size: 13px; color: rgba(245, 243, 239, .5); text-align: center; }
.kv-pl-item.is-active .kv-pl-num { font-size: 0; }
.kv-pl-item.is-active .kv-pl-num::before { content: '▶'; font-size: 11px; color: var(--accent); }
.kv-pl-thumb { position: relative; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: #24201b; }
.kv-pl-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.kv-pl-dur { position: absolute; right: 5px; bottom: 5px; font-size: 11px; font-weight: 600; color: #fff; background: rgba(0, 0, 0, .7); padding: 2px 5px; border-radius: 4px; }
.kv-pl-text { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.kv-pl-text b { font-size: 14px; font-weight: 600; line-height: 1.3; color: #fff; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.kv-pl-text small { font-size: 12.5px; color: rgba(245, 243, 239, .55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kv-pl-item.is-active .kv-pl-text small { color: var(--accent); }
.kv-rvs .kv-rvs-all { display: inline-block; margin-top: 24px; }
@media (max-width: 1100px) { .kv-pl { grid-template-columns: minmax(0, 1fr) 340px; } .kv-pl-item { grid-template-columns: 16px 104px minmax(0, 1fr); } }
@media (max-width: 900px) {
  .kv-pl { grid-template-columns: minmax(0, 1fr); }
  .kv-pl-side { min-height: 0; }
  .kv-pl-list { flex: none; max-height: 340px; }
  .kv-pl-now-title { font-size: 17px; }
  .kv-pl-play { width: 64px; height: 64px; margin: -32px 0 0 -32px; }
}

/* Дизайнеры-партнёры: аватары, отступы и подписи — как в блоке «Команда» */
.partners-people { gap: 14px 6px; justify-items: center; }
.partners-person { gap: 10px; }
.partners-person-photo { width: 115px; height: 115px; }
.partners-person:hover .partners-person-photo { transform: none; }
.partners-person { transition: transform .25s; }
.partners-person:hover { transform: translateY(-3px); }
.partners-person-name { font-weight: 700; font-size: 14px; }
@media (max-width: 1024px) { .partners-person-photo { width: 90px; height: 90px; } }
/* планшет: в правой колонке помещается 3 аватара в ряд, иначе блок вылезает за край */
@media (max-width: 1024px) and (min-width: 601px) { .partners-people { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } }
@media (max-width: 600px) {
  .partners-people { grid-template-columns: repeat(3, 1fr) !important; gap: 14px 8px !important; }
  .partners-person-photo { width: 86px !important; height: 86px !important; }
}

/* 23 · фраза «Главный страх заказчика…» — перенесена из блока дизайнеров, вводит к видеоотзывам */
.kv-rvs-bridge { margin: -8px 0 32px; padding: 26px 36px; border-left: 3px solid var(--accent); background: rgba(255, 255, 255, .04); border-radius: 4px;
  font-family: var(--serif); font-weight: 600; font-size: 28px; line-height: 1.3; color: #fff; }
.kv-rvs-bridge em { font-style: italic; color: var(--accent); }
@media (max-width: 900px) { .kv-rvs-bridge { margin: 0 0 24px; padding: 20px 22px; font-size: 21px; } }

/* 18 · Команда: цифры доверия под текстом слева (перенесены с первого экрана) */
.kv-facts { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.kv-facts li { padding: 22px 0 20px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 6px; }
.kv-facts b { font-family: var(--serif); font-size: 44px; line-height: 1; font-weight: 800; color: var(--text-dark); letter-spacing: -0.01em; }
.kv-facts li:first-child b, .kv-facts li:last-child b { color: var(--accent); }
.kv-facts span { font-size: 14px; line-height: 1.4; color: var(--text-muted); max-width: 230px; }
@media (max-width: 1024px) { .kv-facts { margin-top: 28px; } .kv-facts b { font-size: 36px; } }
@media (max-width: 600px) { .kv-facts { gap: 0 18px; } .kv-facts li { padding: 16px 0 14px; } .kv-facts b { font-size: 30px; } .kv-facts span { font-size: 13px; } }

/* Первый экран: цифры доверия сразу под описанием, над кнопками */
.kv-trust--lead { margin: -6px 0 28px; padding-top: 0; border-top: 0; }
.kv-trust--lead li { font-size: 14px; }
@media (max-width: 900px) { .kv-hero .kv-trust--lead { order: 3; margin: 0 0 20px; } }

/* ============ 04-Б · ЖК, где мы работаем — умная плитка с фильтрами ============ */
.kv-zl { background: var(--bg-white); padding-top: 96px; padding-bottom: 96px; }
.kv-zl-head .section-title { margin-bottom: 14px; }
.kv-zl-head .section-lead { margin-bottom: 0; max-width: 760px; }
.kv-zl-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin: 28px 0 24px; }
.kv-zl-filters .kv-chips { margin-bottom: 0; gap: 8px; }
.kv-zl-filters .kv-chip { padding: 9px 15px; font-size: 13.5px; }
.kv-zl-tiers { flex-basis: 100%; }
.kv-zl-filters #kvZhkArea2 { padding-left: 20px; border-left: 1px solid var(--border); }
.kv-chip-n { display: inline-block; min-width: 18px; margin-left: 4px; font-size: 11.5px; font-weight: 700; opacity: .6; }
.kv-chip.is-active .kv-chip-n { opacity: .85; }

.kv-zt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); grid-auto-rows: 58px; grid-auto-flow: dense; gap: 8px; }
.kv-zt { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 2px; min-width: 0; padding: 8px 26px 8px 12px; border-radius: 12px; text-decoration: none; color: var(--text-dark); background: var(--bg-white); border: 1px solid var(--border); transition: transform .2s, box-shadow .2s, border-color .2s; }
a.kv-zt:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); border-color: transparent; }
.kv-zt b { font-size: 13.5px; line-height: 1.2; font-weight: 700; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; }
.kv-zt small { font-size: 11.5px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kv-zt-go { position: absolute; right: 10px; top: 8px; font-size: 13px; color: var(--accent); transition: transform .2s; }
a.kv-zt:hover .kv-zt-go { transform: translateX(2px); }
/* реализованный объект — шире, кремовый, со ссылкой */
.kv-zt--case { grid-column: span 2; background: var(--bg-cream); border-color: transparent; padding: 8px 30px 8px 14px; }
.kv-zt--case b { font-size: 14.5px; }
.kv-zt--case small { font-size: 12px; }
/* идёт ремонт — крупная тёмная плитка 2×2 */
.kv-zt--live { grid-column: span 2; grid-row: span 2; justify-content: flex-start; gap: 4px; padding: 12px 32px 12px 14px; background: var(--kv-dark); border-color: transparent; color: var(--text-light); }
.kv-zt--live b { font-size: 16px; color: #fff; margin-top: 2px; -webkit-line-clamp: 2; }
.kv-zt--live small { color: var(--text-light-muted); font-size: 12px; }
.kv-zt-status { display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--kv-live); }
.kv-zt-sub { margin-top: auto; font-size: 12px; font-weight: 600; color: var(--kv-live); }
.kv-zt--live .kv-zt-go { top: 12px; right: 12px; }
.kv-zt.is-static { cursor: default; }
.kv-zl-list .kv-zl-more { margin-top: 16px; padding: 10px 18px; border: 1px dashed var(--accent); border-radius: 100px; background: transparent; color: var(--accent); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.kv-zl-list .kv-zl-more:hover { background: var(--accent); color: #1a1a1a; border-style: solid; }
@media (max-width: 900px) {
  .kv-zl { padding-top: 64px; padding-bottom: 64px; }
  .kv-zl-filters { flex-direction: column; align-items: stretch; gap: 10px; margin: 22px 0 18px; }
  .kv-zl-filters #kvZhkArea2 { padding-left: 20px; border-left: 0; }
  /* ряды фильтров прокручиваются внутри себя и не раздвигают страницу */
  .kv-zl-filters { min-width: 0; max-width: 100%; }
  .kv-zl-filters .kv-chips { min-width: 0; max-width: calc(100% + 40px); }
}
@media (max-width: 600px) {
  .kv-zt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 56px; }
  .kv-zt--case { grid-column: span 2; }
  .kv-zt--live { grid-column: span 1; padding: 10px 24px 10px 12px; }
  .kv-zt--live b { font-size: 14px; }
  .kv-zt--live small { white-space: normal; }
  .kv-zt-status { font-size: 9.5px; letter-spacing: .08em; }
  .kv-zt-sub { font-size: 11px; }
}

/* 23 · три плейлиста: звёзды / дизайнеры и архитекторы / клиенты */
.kv-pl-tabs { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 10px; }
.kv-pl-tab { padding: 6px 10px; white-space: nowrap; border: 1px solid rgba(245, 243, 239, .2); border-radius: 100px; background: transparent; color: rgba(245, 243, 239, .8); font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.kv-pl-tab:hover { border-color: var(--accent); color: #fff; }
.kv-pl-tab.is-active { background: var(--accent); border-color: var(--accent); color: #1a1a1a; }
.kv-pl-list li[hidden] { display: none; }

/* Благодарность Алексея: команде и строителям (блок «Команда»), дизайнерам (блок дизайнеров) — лаконичная цитата без плашки */
.kv-thanks { position: relative; margin: 0; padding: 2px 0 2px 24px; border-left: 2px solid var(--accent); max-width: 640px; }
.kv-thanks blockquote { margin: 0; font-size: 16px; line-height: 1.65; font-style: italic; color: var(--text-body); }
.kv-thanks figcaption { display: flex; align-items: center; gap: 10px; margin-top: 16px; }
.kv-thanks figcaption img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.kv-thanks figcaption b { font-size: 14px; font-weight: 700; color: var(--text-dark); }
.kv-thanks--team { margin-top: 40px; }
.kv-thanks--design { margin: 32px 0 48px; }
@media (max-width: 600px) { .kv-thanks { padding-left: 18px; } .kv-thanks blockquote { font-size: 15px; } }

/* Страница отчёта: видео с объекта (вертикальное) и SEO-статья */
.stage-video { max-width: 400px; margin: 0 0 16px; border-radius: 16px; overflow: hidden; background: #000; }
.stage-video video { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; }
.stage-article { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--border); }
.stage-article h2 { font-size: 21px; line-height: 1.3; font-weight: 700; margin: 18px 0 10px; }
.stage-article h2:first-child { margin-top: 0; }
.stage-article p { font-size: 15.5px; line-height: 1.65; color: var(--text-body); margin: 0 0 10px; }
/* ЖК: видео из отчётов — вертикальные карточки */
.zhk-video--v { text-decoration: none; color: inherit; }
.zhk-video--v .zhk-video-media { aspect-ratio: 9 / 16; max-height: 420px; }
.zhk-videos:has(.zhk-video--v) { grid-template-columns: repeat(auto-fill, minmax(180px, 220px)); }
@media (max-width: 600px) { .zhk-videos:has(.zhk-video--v) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* видео слева, текст отчёта и статья — справа от него */
.stage-main:has(> .stage-video) { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 20px; align-items: start; }
.stage-main:has(> .stage-video) .stage-video { margin: 0; position: sticky; top: 100px; }
/* навигация «предыдущий / следующий этап» — в правой колонке под текстом, чтобы прилипающее видео её не закрывало */
.stage-main:has(> .stage-video) .stage-nav { grid-column: 2; grid-template-columns: minmax(0, 1fr); }
@media (max-width: 900px) {
  .stage-main:has(> .stage-video) { grid-template-columns: minmax(0, 1fr); }
  .stage-main:has(> .stage-video) .stage-video { position: static; max-width: 360px; }
}

/* 23 · одна лента видеоотзывов: метка типа отзыва на миниатюре и под плеером */
.kv-pl-tag { align-self: flex-start; font-size: 9.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #1a1a1a; background: rgba(255, 255, 255, .92); padding: 2px 6px; border-radius: 4px; line-height: 1.4; }
.kv-pl-tag--designer { background: var(--accent); }
.kv-pl-tag--actor { background: #e8c873; }
.kv-pl-tag--mix { background: rgba(255, 255, 255, .7); }
.kv-pl-now-tag { display: inline-block; margin-bottom: 6px; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.kv-pl-now-tag:empty { display: none; }

/* Династия: презентация Forcemontage × Geometrium (PDF открывается в браузере) */
.kv-pdf { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 28px; align-items: center; margin: 20px 0; padding: 18px; border-radius: 18px; background: var(--kv-dark); color: var(--text-light); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.kv-pdf:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(0, 0, 0, .18); }
.kv-pdf-cover { border-radius: 10px; overflow: hidden; box-shadow: 0 8px 24px rgba(0, 0, 0, .35); }
.kv-pdf-cover img { display: block; width: 100%; height: auto; }
.kv-pdf-text { display: flex; flex-direction: column; gap: 8px; }
.kv-pdf-text small { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.kv-pdf-text b { font-size: 22px; line-height: 1.25; color: #fff; }
.kv-pdf-text span { font-size: 14.5px; line-height: 1.55; color: var(--text-light-muted); max-width: 640px; }
.kv-pdf-text em { margin-top: 4px; font-style: normal; font-weight: 700; color: var(--accent); }
.kv-pdf:hover .kv-pdf-text em { color: #fff; }
@media (max-width: 760px) { .kv-pdf { grid-template-columns: minmax(0, 1fr); gap: 16px; } .kv-pdf-text b { font-size: 19px; } }
.kv-quotes--solo { grid-template-columns: minmax(0, 1fr); max-width: 760px; }

/* 08 · карусель фото в карточке сданного объекта (стрелки появляются при наведении) */
.kv-cs { position: absolute; inset: 0; }
.kv-cs img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.kv-cs img[hidden] { display: none; }
.kv-cs-btn { position: absolute; top: 50%; z-index: 2; width: 40px; height: 40px; margin-top: -20px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: #1a1a1a; font-size: 24px; line-height: 1; cursor: pointer; opacity: 0; transition: opacity .2s, background .2s; box-shadow: 0 4px 14px rgba(0, 0, 0, .2); }
.kv-cs-prev { left: 10px; } .kv-cs-next { right: 10px; }
.kv-card:hover .kv-cs-btn, .kv-cs-btn:focus-visible { opacity: 1; }
.kv-cs-btn:hover { background: var(--accent); }
.kv-cs-info { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 8px; pointer-events: none; }
.kv-cs-cap, .kv-cs-n { font-size: 12px; font-weight: 600; color: #fff; background: rgba(0, 0, 0, .5); padding: 4px 9px; border-radius: 100px; }
.kv-cs-cap:empty { display: none; }
.kv-card:hover .kv-cs img { transform: none; }
@media (hover: none) { .kv-cs-btn { opacity: 1; } }
/* 08 · пустое место под следующий реализованный объект */
.kv-card--slot .kv-card-img { border: 1px dashed var(--border); background: transparent; }
.kv-card--slot .kv-card-ph { color: var(--text-muted); }

/* 08 · видеостикер под каруселью карточки (ширина карточки, высота ~150 px) */
.kv-vs { width: 100%; height: 128px; margin: -6px 0 16px; display: grid; grid-template-columns: 46% minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 0 18px 0 0; border: 1px solid #cfccc6; border-radius: 16px; overflow: hidden; background: transparent; color: var(--text-dark); text-align: left; font: inherit; cursor: pointer; transition: transform .2s, box-shadow .2s, border-color .2s; }
.kv-vs:hover { transform: translateY(-2px); border-color: #a8a49e; box-shadow: 0 10px 24px rgba(0, 0, 0, .06); }
.kv-vs-img { position: relative; height: 100%; }
.kv-vs-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.kv-vs-play { position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: #15120f; display: flex; align-items: center; justify-content: center; font-size: 15px; padding-left: 3px; transition: background .2s; }
.kv-vs:hover .kv-vs-play { background: var(--accent); }
.kv-vs-dur { position: absolute; right: 8px; bottom: 8px; font-size: 11px; font-weight: 700; color: #fff; background: rgba(0, 0, 0, .6); padding: 2px 7px; border-radius: 4px; }
.kv-vs-text { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.kv-vs-text small { font-size: 10.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.kv-vs-text b { font-size: 17px; color: var(--text-dark); }
.kv-vs-text span { font-size: 12.5px; line-height: 1.35; color: var(--text-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.kv-vs-go { font-size: 18px; color: var(--accent); transition: transform .2s; }
.kv-vs:hover .kv-vs-go { transform: translateX(3px); }
@media (max-width: 600px) { .kv-vs { height: 102px; gap: 12px; padding-right: 12px; } .kv-vs-text b { font-size: 15px; } }
/* Трибека: видеостикер слева, цитата Алексея справа */
.kv-quotes--video { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
.kv-quotes--video .kv-vs { margin: 0; }
@media (max-width: 900px) { .kv-quotes--video { grid-template-columns: minmax(0, 1fr); } }
/* видеостикер: строка ровно по высоте стикера, превью не растягивает его */
.kv-vs { grid-template-rows: 100%; }
.kv-vs-img { overflow: hidden; min-height: 0; }
/* 08 · в карточке только площадь и год */
#kvGrid .kv-card-nums { grid-template-columns: 1.2fr 1fr 1fr; }

/* Плитка-видео в умной плитке: кнопка ▶ с пульсом, клик — Kinescope в поп-апе (#videoModal) */
.kv-m--video { cursor: pointer; }
.kv-m-play { position: absolute; left: 50%; top: 50%; z-index: 2; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: rgba(255, 255, 255, .94); color: #15120f; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .3); transition: transform .25s, background .25s; }
.kv-m-play svg { width: 24px; height: 24px; margin-left: 3px; }
.kv-m-play::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .85); animation: kv-play-pulse 2s ease-out infinite; }
.kv-m--video:hover .kv-m-play { transform: scale(1.08); background: var(--accent); }
.kv-m--video:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.kv-m--video figcaption { opacity: 1; transform: none; }
@keyframes kv-play-pulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .kv-m-play::before { animation: none; } }
.kv-m--video .kv-m-play { top: 42%; }
.kv-m--video figcaption.kv-m-note { right: auto; max-width: calc(100% - 24px); }

/* 03 · реализованные объекты — фотостикеры: фото слева, текст справа, светлый фон с тонкой обводкой */
.kv-zt--photo { grid-column: span 2; grid-row: span 2; display: grid; grid-template-columns: 44% minmax(0, 1fr); grid-template-rows: 100%; align-items: center; gap: 12px; padding: 0 28px 0 0; overflow: hidden; background: transparent; border: 1px solid #cfccc6; }
a.kv-zt--photo:hover { border-color: #a8a49e; }
.kv-zt-ph { height: 100%; overflow: hidden; }
.kv-zt-ph img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
a.kv-zt--photo:hover .kv-zt-ph img { transform: scale(1.05); }
.kv-zt-cap { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.kv-zt--photo .kv-zt-tag { font-size: 9.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); white-space: normal; }
.kv-zt--photo b { font-size: 14.5px; -webkit-line-clamp: 2; }
.kv-zt--photo .kv-zt-go { top: 50%; margin-top: -9px; right: 12px; }
@media (max-width: 600px) { .kv-zt--photo { grid-column: span 2; } }
/* первая итерация: готовые ЖК без перехода */
.kv-zhk-chips span { font-size: 13px; font-weight: 600; padding: 7px 11px; border-radius: 100px; background: var(--bg-cream); color: var(--text-dark); }
.kv-zhk-item.is-static { cursor: default; }
.kv-zhk-item.is-static:hover { background: transparent; }
a.kv-zt--photo:hover, .kv-zt--photo.is-static:hover { border-color: #cfccc6; }
.kv-zt--photo.is-static { padding-right: 14px; }
@media (max-width: 900px) { .stage-main:has(> .stage-video) .stage-nav { grid-column: 1; } }

.kv-live-stats > [hidden] { display: none; }

/* Обзорное видео ЖК: видео слева, статья справа */
.zhk-overview-grid { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 24px; align-items: start; }
.zhk-overview-grid .stage-video { margin: 0; }
.zhk-overview-grid .stage-article { margin-top: 0; padding-top: 0; border-top: 0; }
.zhk-overview-grid .stage-article h3 { font-size: 19px; line-height: 1.3; font-weight: 700; margin: 18px 0 8px; }
.zhk-overview-grid .stage-article h3:first-child { margin-top: 0; }
.zhk-overview-date { font-size: 13px !important; color: var(--text-muted, #8a8580) !important; margin-top: 14px !important; }
@media (max-width: 760px) { .zhk-overview-grid { grid-template-columns: minmax(0, 1fr); } .zhk-overview-grid .stage-video { max-width: 360px; } }

/* Цитата Алексея рядом с видео (блок «Династия») */
.kv-q--side { align-content: center; height: 100%; background: var(--bg-white); }

/* Первый экран — без навигационного бейджа «01 · Первый экран» (наезжал на верхнюю строку с адресом) */
#hero.annotation::before { content: none; display: none; }

/* Якоря меню: отступ под шапку задаёт html { scroll-padding-top }, второй отступ у секций его удваивал (176px) */
section[id] { scroll-margin-top: 0; }
