/* Bundle: core - generated from site.css */
/* Master stylesheet. Bundles: run scripts/split-site-css.ps1 after edits. Loaded via _PageStyles.cshtml */
:root {
  --site-min-width: 360px;
  --header-height: 70px;
  --green-700: #1F6B36;
  --green-600: #2C7A3F;
  --green-500: #3C8B4F;
  --green-50:  #EEF5EA;
  --ink:       #14181A;
  --ink-2:     #2B3134;
  --ink-3:     #4A5256;
  --muted:     #7C868A;
  --line:      #E4E6E2;
  --line-2:    #EEF0EC;
  --page:      #FAF9F7;
  --card:      #FFFFFF;
}
* { box-sizing: border-box; }
html {
  scroll-padding-top: var(--header-height);
}
html, body {
  margin: 0; padding: 0;
  background: var(--page);
  color: var(--ink);
  font-family: 'Manrope', -apple-system, system-ui, sans-serif;
  font-size: 15px; line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  /* Минимальная ширина — ниже неё включается горизонтальный скролл страницы,
     вёрстка не сжимается дальше */
  min-width: var(--site-min-width);
}
body {
  /* Обрезаем горизонтальный overflow от декоративных элементов (hero-фото),
     чтобы не появлялся скролл всей страницы. clip — не создаёт scroll-контекст,
     не ломает sticky/fixed-элементы. */
  overflow-x: clip;
}
/* Висячее слово: одно слово, уехавшее на последнюю строку абзаца, — типографский брак.
   text-wrap: pretty просит браузер подобрать разбивку так, чтобы последняя строка не
   осталась одиночным словом. Свойство наследуется, поэтому достаточно задать его на body.
   Браузеры без поддержки просто игнорируют его — вёрстка не ломается. */
body { text-wrap: pretty; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p { margin: 0; }
[data-lucide] { width: 20px; height: 20px; stroke-width: 1.8; flex: 0 0 auto; }

/* Избранное на карточках маркетплейса */
:is(.ad-card__fav, .ad-row__fav, .order-card__fav, .order-row__fav, .contractor-card__fav, .contractor-row__fav).is-active {
  color: #e05252;
}
:is(.ad-card__fav, .ad-row__fav, .order-card__fav, .order-row__fav, .contractor-card__fav, .contractor-row__fav).is-active :is(svg, [data-lucide]) {
  color: #e05252;
}
:is(.ad-card__fav, .ad-row__fav, .order-card__fav, .order-row__fav, .contractor-card__fav, .contractor-row__fav).is-active svg,
:is(.ad-card__fav, .ad-row__fav, .order-card__fav, .order-row__fav, .contractor-card__fav, .contractor-row__fav).is-active svg path {
  stroke: #e05252;
  fill: #e05252;
}

/* Избранное на карточках маркетплейса */
:is(.ad-card__fav, .ad-row__fav, .order-card__fav, .order-row__fav, .contractor-card__fav, .contractor-row__fav).is-active {
  color: #e05252;
}
:is(.ad-card__fav, .ad-row__fav, .order-card__fav, .order-row__fav, .contractor-card__fav, .contractor-row__fav).is-active :is(svg, [data-lucide]) {
  color: #e05252;
}
:is(.ad-card__fav, .ad-row__fav, .order-card__fav, .order-row__fav, .contractor-card__fav, .contractor-row__fav).is-active svg,
:is(.ad-card__fav, .ad-row__fav, .order-card__fav, .order-row__fav, .contractor-card__fav, .contractor-row__fav).is-active svg path {
  stroke: #e05252;
  fill: #e05252;
}

/* Picture-обёртка "прозрачна" для layout — все existing-правила на img продолжают работать */
picture { display: contents; }
/* При display: contents дети picture становятся элементами сетки или флекса наравне с img.
   Браузер не прячет <source> сам, и каждый вариант формата занимал ячейку: в сетке
   «аватар | имя» подпись уезжала на другую строку. */
picture > source { display: none; }
/* Full-bleed cover внутри position:relative + aspect-ratio контейнера. */
.cover,
picture.cover > img,
[class*="__pic"] picture > img.cover,
.svc-granit-gallery__item picture > img.cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}
[class*="__pic"] picture,
.svc-granit-gallery__item picture {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
}
/* Квиз на страницах без quiz.css — удерживаем responsive-img внутри баннера */
.quiz-banner {
  position: relative;
}
.quiz-banner .image {
  position: relative;
}
.quiz-banner .image responsive-img,
.quiz-banner .image picture {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.green { color: var(--green-700); }

.margin-top-56 {margin-top: 56px;}
.shell { width: 100%; max-width: 1440px; margin: 0 auto; position: relative; }

/* ===================== HEADER ===================== */
.header-bg {
  position: fixed;
  min-width: var(--site-min-width);
  top: 0;
  left: 0;
  right: 0;
  background: var(--green-700);
  border-bottom: 1px solid rgba(255,255,255,.12);
  z-index: 50;
}
.header {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 32px;
  padding: 18px 56px;
  max-width: 1440px;
  margin: 0 auto;
  color: rgba(255,255,255,.85);
}
main { padding-top: var(--header-height); }
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}
.brand img.logo {
  height: 42px;
  width: auto;
  flex-shrink: 0;
  min-width: 120px;
  filter: brightness(0) invert(1);
}
.brand .divider { width: 1px; height: 40px; background: rgba(255,255,255,.2); flex-shrink: 0; }
.brand-tag {
  font-size: 11.5px;
  line-height: 1.38;
  color: rgba(255,255,255,.68);
  max-width: 220px;
  flex-shrink: 1;
}

.nav { display: flex; align-items: center; gap: 4px; justify-self: center; }
.nav a,
.nav .nav-catalog,
.nav .nav__current {
  font-size: 14.5px; font-weight: 600; color: rgba(255,255,255,.88);
  padding: 10px 14px; border-radius: 10px;
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.nav .nav-catalog {
  background: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}
.nav a:hover,
.nav .nav-catalog:hover { background: rgba(255,255,255,.14); color: #fff; }
.nav a.is-active,
.nav .nav__current {
  background: rgba(255,255,255,.22);
  color: #fff;
  font-weight: 700;
}

.city {
  display: grid; grid-template-columns: 22px auto;
  gap: 10px; align-items: center;
  margin-bottom: 30px;
}
.city .pin { color: var(--green-600); display: grid; place-items: center; }
.city .pin [data-lucide] { width: 22px; height: 22px; stroke-width: 2; }
.city .t1 { font-weight: 700; font-size: 14px; color: var(--ink); }
.city .t2 { font-size: 12.5px; color: var(--muted); margin-top: 2px; }

.btn-head {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 24px; border-radius: 12px;
  background: #fff; color: var(--green-700);
  font-weight: 700; font-size: 14.5px; line-height: 1;
  white-space: nowrap;
  box-shadow: none;
  transition: background .15s, transform .12s;
}
.btn-head:hover { background: var(--green-50); color: var(--green-700); }
.btn-head:active { transform: translateY(1px); }

/* Burger */
.burger {
  display: none;
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  color: #fff;
  align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .15s, border-color .15s;
}
.burger:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.34); }
.burger svg { width: 22px; height: 22px; }
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(20,24,26,.5);
  z-index: 90;
}
.nav-overlay.open { display: block; }
.nav.mobile-open {
  display: flex !important;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 280px;
  max-width: 80vw;
  background: #fff;
  z-index: 100;
  padding: 80px 24px 24px;
  box-shadow: -20px 0 40px -20px rgba(0,0,0,.2);
  overflow-y: auto;
}
.nav.mobile-open a,
.nav.mobile-open .nav-catalog,
.nav.mobile-open .nav__current {
  padding: 14px 18px;
  font-size: 15px;
  border-radius: 10px;
  text-align: left;
  width: 100%;
}
.nav-close {
  display: none;
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--page);
  border: 0;
  align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--ink);
  z-index: 101;
}
.nav.mobile-open .nav-close { display: flex; }
.nav-close svg { width: 20px; height: 20px; }

/* ===================== HERO ===================== */
.hero {
  position: relative;
  padding: 21px 56px 52px;
  isolation: isolate;
  min-height: 480px;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    var(--page) 0%,
    var(--page) 33%,
    rgba(250, 249, 247, 0.8) 48%,
    rgba(250, 249, 247, 0.6) 52%,
    rgba(250, 249, 247, 0.4) 57%,
    rgba(250, 249, 247, 0.1) 65%,
    transparent 92%
  );
  z-index: 1;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  position: relative;
  align-items: start;
}

.hero-copy {
  padding-top: 8px;
  max-width: 620px;
  position: relative;
  z-index: 2;
}
.eyebrow {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: 28px;
}

h1.hero-title {
  font-family: 'Lora', Georgia, serif;
  font-weight: 600;
  font-size: 46px;
  line-height: 1.12;
  letter-spacing: -.01em;
  color: var(--ink);
  margin-bottom: 22px;
  max-width: 566px;
}
h1.hero-title .green {
  display: inline;
  color: var(--green-700);
  font-weight: 600;
  font-style: normal;
  white-space: nowrap;
}

.lead {
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-3);
  max-width: 520px;
  margin-bottom: 28px;
}

/* Feature pills */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 36px;
  max-width: 680px;
}
.feat {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 4px 0 0;
  display: grid;
  grid-template-columns: 44px 1fr;
  column-gap: 14px;
  row-gap: 8px;
  align-items: start;
}
.feat .ico {
  background: #fff;
  color: var(--green-600);
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid; place-items: center;
  box-shadow: 0 10px 24px -10px rgba(20,24,26,.18), 0 2px 6px -2px rgba(20,24,26,.08);
  border: 1px solid var(--line-2);
}
.feat .ico [data-lucide] { width: 22px; height: 22px; stroke-width: 1.9; }
.feat .title {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
  align-self: center;
}
.feat .desc {
  grid-column: 2;
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--muted);
}

/* Hero benefits (под кнопками) */
.hero-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
  max-width: 680px;
}
.hero-benefit__ico {
  color: var(--green-600);
  margin-bottom: 8px;
}
.hero-benefit__ico [data-lucide] { width: 22px; height: 22px; stroke-width: 1.8; }
.hero-benefit__title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: 4px;
}
.hero-benefit__desc {
  font-size: 12px;
  line-height: 1.4;
  color: var(--muted);
}

/* CTA row */
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 0; }
.cta-primary .t {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.cta-primary .t [data-lucide] { width: 20px; height: 20px; stroke-width: 2; }
/* Иконка светлой кнопки — в одну строку с текстом, как у основной. Правило жило только в home.css,
   и на страницах услуг иконка «Посмотреть работы» уезжала на строку выше текста. */
.cta-ghost .t { display: inline-flex; align-items: center; gap: 8px; }
.cta-ghost .t [data-lucide] { width: 18px; height: 18px; color: var(--green-600); }
.cta {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 18px 28px;
  border-radius: 14px;
  font-weight: 700;
  text-align: left;
  transition: transform .12s, background .15s, border-color .15s;
}
.cta:active { transform: translateY(1px); }
.cta .t { font-size: 16px; line-height: 1; }
.cta .s { font-size: 12.5px; font-weight: 500; opacity: .9; line-height: 1.2; }
.cta-primary {
  background: var(--green-600); color: #fff;
  box-shadow: 0 14px 30px -14px rgba(46,140,75,.55);
}
.cta-primary:hover { background: var(--green-700); }
.cta-primary .s { color: #d8ead2; opacity: 1; }
.cta-ghost {
  background: #fff; color: var(--ink);
  border: 1.5px solid var(--line);
}
.cta-ghost:hover { border-color: var(--ink-3); }
.cta-ghost .s { color: var(--muted); }

/* ===================== STATS STRIP ===================== */
.stats {
  position: relative;
  z-index: 3;
  margin: 0 56px;
  background: #fff;
  border-radius: 18px;
  padding: 28px 36px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  box-shadow: 0 20px 40px -28px rgba(20,24,26,.18);
}
.stat {
  display: grid;
  grid-template-columns: 44px 1fr;
  column-gap: 14px;
  align-items: center;
}
.stat .ico {
  width: 44px; height: 44px;
  color: var(--green-600);
  display: grid; place-items: center;
}
.stat .ico [data-lucide] { width: 30px; height: 30px; stroke-width: 1.7; }
.stat .num {
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -.01em;
}
.stat .lab {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.35;
  margin-top: 2px;
}

/* Город внутри eyebrow — pill с иконкой, типографика как у фразы */
.hero .eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 19px;
  white-space: normal;
}
.eyebrow-city {
  position: relative;
  top: -2px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px 4px 8px;
  background: var(--line-2);
  border: 0;
  border-radius: 999px;
  color: inherit;
  font: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  line-height: 1;
  cursor: pointer;
  transition: background .15s, transform .12s;
  white-space: nowrap;
  vertical-align: middle;
}
.eyebrow-city:hover {
  background: #e8ebe6;
  transform: translateY(-1px);
}
.eyebrow-city [data-lucide] {
  width: 14px; height: 14px;
  stroke-width: 2.2;
  color: var(--green-600);
  flex-shrink: 0;
}
.eyebrow { white-space: nowrap; }

/* Hero-изображение: позиция и размеры через CSS-переменные на .hero-media */
.hero-media {
  position: relative;
  min-height: 360px;
  --hero-img-top: -12px;
  --hero-img-right: 115px;
  --hero-img-left: auto;
  --hero-img-bottom: auto;
  --hero-img-width: min(56vw, 853px);
  --hero-img-max-width: none;
  --hero-img-margin: 0;
  --hero-img-padding: 0;
  --hero-img-object-position: right center;
}
.hero-media__img {
  position: absolute;
  top: var(--hero-img-top);
  right: var(--hero-img-right);
  left: var(--hero-img-left);
  bottom: var(--hero-img-bottom);
  width: var(--hero-img-width);
  max-width: var(--hero-img-max-width);
  margin: var(--hero-img-margin);
  padding: var(--hero-img-padding);
  z-index: 0;
  pointer-events: none;
}
.hero-media__img picture,
.hero-media__img img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: var(--hero-img-object-position);
}

/* ===================== HERO TRUST CARD (overlay) ===================== */
.hero-trust {
  position: absolute;
  z-index: 3;
  width: 248px;
  top:20px;
  right: -100px;
  justify-self: end;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  padding: 18px 22px 20px;
  box-shadow: 0 20px 40px -24px rgba(20,24,26,.22), 0 2px 6px -2px rgba(20,24,26,.06);
}
.hero-trust__head {
  display: grid;
  grid-template-columns: 28px 1fr;
  column-gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}
.hero-trust__head .ico {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: var(--green-50);
  color: var(--green-700);
  display: grid; place-items: center;
}
.hero-trust__head .ico [data-lucide] { width: 18px; height: 18px; }
.hero-trust__head span:last-child {
  font-weight: 700; font-size: 14.5px; color: var(--ink); line-height: 1.25;
}
.hero-trust__list {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 10px;
}
.hero-trust__list li {
  display: grid; grid-template-columns: 18px 1fr;
  column-gap: 10px;
  align-items: center;
  font-size: 13.5px;
  color: var(--ink-2);
}
.hero-trust__list [data-lucide] {
  width: 16px; height: 16px;
  color: var(--green-600);
  stroke-width: 2.2;
}

/* Карточка основателя в hero (главная) */
.hero-founder {
  position: absolute; z-index: 3;
  width: 300px; top: 24px; right: -70px;
  justify-self: end;
  background: #fff; border: 1px solid var(--line-2);
  border-radius: 18px; padding: 22px 22px 18px;
  box-shadow: 0 24px 48px -26px rgba(20,24,26,.28), 0 2px 6px -2px rgba(20,24,26,.06);
}
.hero-founder__title { font-weight: 800; font-size: 19px; line-height: 1.2; color: var(--ink); margin-bottom: 16px; }
.hero-founder__person {
  display: grid; grid-template-columns: 64px 1fr; column-gap: 14px; align-items: center;
  margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line-2);
}
.hero-founder__avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: 50% 12%; display: block; }
.hero-founder__name { font-weight: 700; font-size: 16px; color: var(--ink); }
.hero-founder__role { font-size: 13px; color: var(--ink-2); line-height: 1.3; margin-top: 3px; }
.hero-founder__list { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 13px; }
.hero-founder__list li {
  display: grid; grid-template-columns: 22px 1fr; column-gap: 12px; align-items: center;
  font-size: 13.5px; color: var(--ink-2); line-height: 1.3;
}
.hero-founder__list [data-lucide] { width: 20px; height: 20px; color: var(--green-600); stroke-width: 2; }
.hero-founder__foot { display: grid; grid-template-columns: 22px 1fr; column-gap: 12px; align-items: center; padding-top: 16px; border-top: 1px solid var(--line-2); }
.hero-founder__foot-ico { color: var(--green-600); display: grid; place-items: center; }
.hero-founder__foot-ico [data-lucide] { width: 20px; height: 20px; }
.hero-founder__since { font-weight: 700; font-size: 14px; color: var(--ink); }
.hero-founder__since-sub { font-size: 12.5px; color: var(--ink-2); line-height: 1.3; margin-top: 2px; }

/* ===================== HERO — SERVICE PAGES (дополнения к базовому .hero) ===================== */
.hero-benefits--compact {
  display: flex;
  gap: 14px 28px;
  grid-template-columns: unset;
  margin-top: 28px;
  max-width: 680px;
}
.hero-benefits--compact .hero-benefit {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}
.hero-benefits--compact .hero-benefit__ico {
  margin-bottom: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green-50);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.hero-benefits--compact .hero-benefit__ico [data-lucide] {
  width: 26px;
  height: 26px;
  stroke-width: 2;
}
.hero-benefits--compact .hero-benefit__title {
  margin-bottom: 0;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-3);
}

.hero-lead-card {
  position: absolute;
  top: 24px;
  right: -55px;
  z-index: 3;
  width: 248px;
  background: #fff;
  border-radius: 16px;
  padding: 16px 18px 14px;
  box-shadow: 0 20px 40px -24px rgba(20,24,26,.22), 0 2px 6px -2px rgba(20,24,26,.06);
}
.hero-lead-card__tag {
  display: inline-block;
  padding: 5px 10px;
  margin-bottom: 12px;
  border-radius: 8px;
  background: var(--green-50);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--green-700);
}
.hero-lead-card__title {
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 1.25;
}
.hero-lead-card__meta {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.hero-lead-card__meta li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.3;
}
.hero-lead-card__meta [data-lucide] {
  width: 16px;
  height: 16px;
  color: var(--green-600);
  flex-shrink: 0;
}
.hero-lead-card .svc-mem-lead__foot { margin-top: 12px; }
.hero-lead-card--rotate {
  min-height: 280px;
  box-sizing: border-box;
  contain: layout style paint;
}
.hero-lead-card--rotate .hero-lead-card__title {
  min-height: 2.5em;
}
.hero-lead-card__dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
}
.hero-lead-card__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--line-2);
  transition: background .2s, transform .2s;
}
.hero-lead-card__dot.is-on {
  background: var(--green-600);
  transform: scale(1.15);
}

.hero-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.hero-stat {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 22px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 40px -28px rgba(20,24,26,.18);
}
.hero-stat__ico {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--green-50);
  color: var(--green-700);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.hero-stat__ico [data-lucide] { width: 18px; height: 18px; }
.hero-stat__num {
  font-size: 28px;
  font-weight: 800;
  color: var(--green-700);
  line-height: 1;
  letter-spacing: -.02em;
  margin-bottom: 6px;
}
.hero-stat__lab {
  font-size: 12.5px;
  line-height: 1.35;
  color: var(--muted);
}

/* ===================== SERVICE PAGE LAYOUT (ширина как у .hero) ===================== */
.service-page > section {
  padding-left: 56px !important;
  padding-right: 56px !important;
  margin-left: 0;
  margin-right: 0;
}
.service-page > section.services { padding-top: 0 !important; }
.service-page > section.svc-memorial-requests {
  padding-top: 10px !important;
  padding-bottom: 0 !important;
}
.service-page .svc-memorial-requests__inner {
  max-width: none;
  margin: 0;
}
.service-page > section.svc-page-section--compose {
  padding-top: 56px !important;
  padding-bottom: 5px !important;
}
.service-page > section.how2 {
  background: #fff;
  box-shadow: 0 20px 40px -32px rgba(20,24,26,.12);
  margin-top: 54px !important;
  margin-bottom: 54px !important;
}
.service-page > section.svc-page-section--design {
  padding-top: 56px !important;
  padding-bottom: 0px !important;
}
.service-page > section.svc-page-section--pricing {
  padding-top: 0 !important;
  padding-bottom: 56px !important;
}
.service-page > section.svc-memorial-requests + section.svc-page-section--pricing {
  padding-top: 56px !important;
}
.service-page > section.svc-ready-showcase + section.how2 {
  margin-top: 20px !important;
}
.service-page > section.service-performers {
  padding-top: 0 !important;
  padding-bottom: 48px !important;
}
.service-page > section.reviews {
  padding-top: 0 !important;
  padding-bottom: 48px !important;
}
.service-page > section.quiz.quiz--memorial {
  padding-top: 0 !important;
  padding-bottom: 25px !important;
  margin-top: 0;
}
.service-page > section.quiz.svc-page-section--quiz:not(.quiz--memorial) {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 0;
}
.service-page > section.quiz.svc-page-section--quiz:not(.quiz--memorial) .quiz-banner .text {
  padding-left: 0;
}
.service-page > section.quiz.svc-page-section--quiz:not(.quiz--memorial) .quiz-card-wrap,
.service-page > section.quiz.svc-page-section--quiz:not(.quiz--memorial) .quiz-trust-bar {
  margin-left: 0;
  margin-right: 0;
}
.service-page > section.svc-page-section--popular {
  padding-top: 0 !important;
  padding-bottom: 48px !important;
}
.service-page > section.quiz.svc-page-section--quiz + section.svc-popular-services--after-quiz {
  padding-top: 56px !important;
}
.service-page .svc-popular-services__trust {
  padding: 22px 36px;
  margin: 0 0 60px;
}
.service-page > section.seo {
  padding-top: 0 !important;
  padding-bottom: 10px !important;
}
.service-page > section.quiz + section.seo {
  padding-top: 56px !important;
}
.service-page > section.svc-page-section--types { padding-bottom: 48px !important; }
.service-page > section.svc-page-section--usp { padding-bottom: 56px !important; }
.service-page > section.svc-page-section--cta {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.service-page > section.svc-page-section--related {
  padding-top: 48px !important;
  padding-bottom: 56px !important;
}
.service-page .svc-page-section--related .quick-services {
  margin: 24px 0 0;
  padding: 0;
  grid-template-columns: repeat(4, 1fr);
}

/* —— Service landing: ритм отступов между блоками (как на граните / мемориале) —— */
.service-page > section.svc-memorial-requests + section.how2 {
  margin-top: 48px !important;
}
.service-page > section.svc-memorial-requests + section.svc-granit-gallery,
.service-page > section.svc-memorial-requests + section.svc-granit-materials,
.service-page > section.svc-memorial-requests + section.svc-ready-showcase,
.service-page > section.svc-memorial-requests + section.svc-page-section--usp,
.service-page > section.svc-memorial-requests + section.svc-page-section--related {
  padding-top: 56px !important;
}
.service-page > section:not(.svc-memorial-requests) + section.svc-page-section--compose {
  padding-top: 0 !important;
}
.service-page > section.hero + section.svc-page-section--design,
.service-page > section.svc-memorial-requests + section.svc-page-section--design {
  padding-top: 56px !important;
}
.service-page > section:not(.hero):not(.svc-memorial-requests) + section.svc-page-section--design {
  padding-top: 0 !important;
}
.service-page > section.svc-ready-showcase {
  padding-top: 0 !important;
  padding-bottom: 56px !important;
}
.service-page > section.svc-page-section--usp {
  padding-top: 0 !important;
}
.service-page > section.svc-page-section--pricing + section.svc-page-section--usp,
.service-page > section.svc-page-section--pricing + section.svc-granit-gallery,
.service-page > section.svc-page-section--pricing + section.svc-granit-materials,
.service-page > section.svc-page-section--pricing + section.svc-page-section--related {
  padding-top: 0 !important;
}
.service-page > section.how2 + section.svc-granit-gallery,
.service-page > section.how2 + section.svc-granit-materials,
.service-page > section.how2 + section.svc-page-section--usp,
.service-page > section.how2 + section.svc-page-section--design,
.service-page > section.how2 + section.svc-page-section--pricing,
.service-page > section.how2 + section.svc-ready-showcase,
.service-page > section.how2 + section.svc-page-section--compose,
.service-page > section.how2 + section.reviews {
  padding-top: 0 !important;
}
.service-page > section.svc-page-section--design + section.svc-page-section--pricing,
.service-page > section.svc-memorial-compose + section.svc-page-section--pricing,
.service-page > section.svc-granit-gallery + section.svc-page-section--pricing,
.service-page > section.svc-granit-materials + section.svc-page-section--pricing {
  padding-top: 54px !important;
}
.service-page > section.home-faq + section.svc-page-section--cta,
.service-page > section.seo + section.svc-page-section--cta {
  padding-top: 0 !important;
}

/* ===================== FOOTER (зелёный, инвертированный) ===================== */
.footer {
  padding: 64px 56px 36px;
  background: var(--green-700);
  color: rgba(255,255,255,.85);
  margin-top: 20px;
  box-shadow: 0 0 0 100vmax var(--green-700);
  clip-path: inset(0 -100vmax);
}

.footer-menu {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: -52px auto 44px;
  padding: 10px 12px;
  width: fit-content;
  max-width: 100%;
  overflow-x: auto;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(8px);
}
.footer-menu__links {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: auto;
}
.footer-menu__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 13px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  flex: none;
  color: rgba(255,255,255,.88);
  transition: background .15s, color .15s;
}
.footer-menu__link [data-lucide] { width: 16px; height: 16px; stroke-width: 2; }
.footer-menu__link:hover {
  background: rgba(255,255,255,.14);
  color: #fff;
}
.footer-menu__link.is-active {
  background: rgba(255,255,255,.22);
  color: #fff;
  font-weight: 700;
}
.footer-menu__link--catalog {
  background: #fff;
  color: var(--green-700);
}
.footer-menu__link--catalog:hover {
  background: var(--green-50);
  color: var(--green-700);
}
.footer-menu__link--catalog [data-lucide] { width: 16px; height: 16px; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(4, minmax(0, 1fr)) minmax(280px, 1.05fr);
  gap: 32px 28px;
  padding-bottom: 36px;
  margin-bottom: 0;
  border-bottom: 0;
}
.footer-brand .top {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 20px;
}
.footer-brand .top img.logo {
  height: 44px; width: auto;
  filter: brightness(0) invert(1);
}
.footer-brand .desc {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255,255,255,.68);
  margin-bottom: 22px;
  max-width: 300px;
}
.footer-brand .socials { display: flex; gap: 10px; }
.footer-brand .socials a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.12);
  color: #fff;
  display: grid; place-items: center;
  transition: background .15s, transform .15s, color .15s;
}
.footer-brand .socials a:hover { background: #fff; color: var(--green-700); transform: translateY(-2px); }

.footer-col .title,
.footer-contacts-card .title {
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  margin-bottom: 18px;
  letter-spacing: .01em;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.footer-col li { margin: 0; padding: 0; }
.footer-col a {
  font-size: 14px; color: rgba(255,255,255,.68);
  transition: color .15s;
  line-height: 1.35;
}
.footer-col a:hover { color: #fff; }
.footer-col__current {
  font-size: 14px;
  color: rgba(255,255,255,.68);
  line-height: 1.35;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: default;
}
.footer-col__current {
  font-size: 14px;
  color: rgba(255,255,255,.68);
  line-height: 1.35;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: default;
}

.footer-contacts-card {
  background: rgba(0,0,0,.18);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px;
  padding: 24px 22px;
  align-self: start;
}
.footer-contacts-card .row {
  display: grid;
  grid-template-columns: 22px 1fr;
  column-gap: 12px;
  margin-bottom: 14px;
}
.footer-contacts-card .row .ico {
  color: var(--green-50);
  display: grid; place-items: flex-start; margin-top: 2px;
}
.footer-contacts-card .title + .row .ico { margin-top: 6px; }
.footer-contacts-card .row .ico [data-lucide] { width: 18px; height: 18px; }
.footer-contacts-card .row .num {
  font-weight: 800; font-size: 19px; color: #fff;
  transition: color .15s;
  line-height: 1.2;
}
.footer-contacts-card .row .num:hover { color: var(--green-50); }
.footer-contacts-card .row .lbl {
  font-size: 13px; color: rgba(255,255,255,.58); margin-top: 4px;
}
.footer-contacts-card .row .lbl--plain { margin-top: 0; font-size: 14px; color: rgba(255,255,255,.78); }
.footer-contacts-card .row .mail { font-weight: 600; color: #fff; transition: color .15s; }
.footer-contacts-card .row .mail:hover { color: var(--green-50); }
.footer-contacts-card .callback {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%;
  margin-top: 8px;
  padding: 13px 22px;
  border-radius: 12px;
  background: #fff;
  border: 1.5px solid #fff;
  color: var(--green-700);
  font-weight: 700; font-size: 14px;
  transition: background .15s, color .15s, transform .15s;
}
.footer-contacts-card .callback [data-lucide] { width: 16px; height: 16px; }
.footer-contacts-card .callback:hover { background: transparent; color: #fff; transform: translateY(-1px); }

/* CTA-вариант карточки контактов (заявка + мессенджеры, без телефона) */
.footer-contacts-card--cta { text-align: center; }
.footer-contacts-card--cta .fcc-head { margin-bottom: 18px; }
.footer-contacts-card--cta .title { margin-bottom: 8px; font-size: 22px; }
.footer-contacts-card .fcc-sub { margin: 0; font-size: 14px; color: rgba(255,255,255,.72); line-height: 1.45; }
.footer-contacts-card .fcc-btn {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  width: 100%; margin-bottom: 12px; padding: 14px 12px;
  border-radius: 12px; font-weight: 700; font-size: 15px;
  white-space: nowrap;
  transition: background .15s, color .15s, transform .15s, border-color .15s;
}
.footer-contacts-card .fcc-btn svg,
.footer-contacts-card .fcc-btn [data-lucide] { width: 18px; height: 18px; flex: none; }
.footer-contacts-card .fcc-btn--primary { background: #fff; color: var(--green-700); border: 1.5px solid #fff; }
.footer-contacts-card .fcc-btn--primary:hover { background: rgba(255,255,255,.9); transform: translateY(-1px); }
.footer-contacts-card .fcc-btn--ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.28); }
.footer-contacts-card .fcc-btn--ghost:hover { border-color: #fff; transform: translateY(-1px); }
.footer-contacts-card .fcc-messengers { display: flex; gap: 12px; margin-bottom: 12px; }
.footer-contacts-card .fcc-msg {
  flex: 1; display: flex; align-items: center; justify-content: center;
  padding: 12px; border-radius: 12px;
  background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.28);
  transition: background .15s, border-color .15s, transform .15s;
}
.footer-contacts-card .fcc-msg:hover { border-color: #fff; background: rgba(255,255,255,.08); transform: translateY(-1px); }
.footer-contacts-card .fcc-msg svg { width: 22px; height: 22px; }
.footer-contacts-card .fcc-msg__word { font-weight: 800; font-size: 15px; letter-spacing: .04em; line-height: 22px; }
.footer-contacts-card .fcc-msg--max img { width: 24px; height: 24px; border-radius: 6px; display: block; }
.footer-contacts-card .fcc-line { height: 1px; background: rgba(255,255,255,.12); margin: 8px 0 16px; }
.footer-contacts-card--cta .row { text-align: left; align-items: center; margin-bottom: 12px; }
.footer-contacts-card--cta .row:last-child { margin-bottom: 0; }

.footer-trust {
  position: relative;
  padding: 28px 0 32px;
  margin-bottom: 24px;
  border-top: 1px solid rgba(255,255,255,.12);
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-trust__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}
.footer-trust__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 0 24px;
  border-right: 1px solid rgba(255,255,255,.12);
}
.footer-trust__item:first-child { padding-left: 0; }
.footer-trust__item:last-child { border-right: 0; padding-right: 0; }
.footer-trust__ico {
  flex: 0 0 42px;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: rgba(255,255,255,.1);
  color: var(--green-50);
  display: grid; place-items: center;
}
.footer-trust__ico [data-lucide] { width: 22px; height: 22px; stroke-width: 1.8; }
.footer-trust__title {
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  margin-bottom: 4px;
  line-height: 1.3;
}
.footer-trust__sub {
  font-size: 12.5px;
  line-height: 1.45;
  color: rgba(255,255,255,.58);
}

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  font-size: 13px; color: rgba(255,255,255,.5);
  padding-bottom: 0;
}
.footer-bottom__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
}
.footer-bottom a { color: rgba(255,255,255,.55); }
.footer-bottom a:hover { color: #fff; }
.footer-requisites { margin-top: 10px; font-size: 12px; color: rgba(255,255,255,.4); }

/* ===================== CITY MODAL ===================== */
.city-modal[hidden] { display: none; }
.city-modal {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: flex-start; justify-content: center;
  padding: 40px 20px; overflow-y: auto;
}
.city-modal__backdrop { position: fixed; inset: 0; background: rgba(20,20,20,.6); }
.city-modal__dialog {
  position: relative; width: 100%; max-width: 920px;
  background: #fff; border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,.25); overflow: hidden;
}
.city-modal__header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 24px; border-bottom: 1px solid #ececec;
}
.city-modal__title { margin: 0; font-size: 1.3rem; color: var(--ink); }
.city-modal__close {
  background: none; border: 0; cursor: pointer;
  font-size: 1.8rem; line-height: 1; color: #777; padding: 4px 8px;
}
.city-modal__close:hover { color: var(--ink); }
.city-modal__tabs {
  display: flex; gap: 4px; padding: 12px 24px 0;
  border-bottom: 1px solid #ececec;
}
.city-modal__tab {
  padding: 10px 16px; background: none; border: 0;
  border-bottom: 2px solid transparent; color: #555;
  cursor: pointer; font-size: .95rem; margin-bottom: -1px;
}
.city-modal__tab--active { color: var(--ink); border-bottom-color: var(--green-600); font-weight: 600; }
.city-modal__search { padding: 16px 24px 8px; }
.city-modal__search-input {
  width: 100%; padding: 10px 14px;
  border: 1px solid #d8d3c8; border-radius: 8px;
  font-size: .95rem; outline: none;
}
.city-modal__search-input:focus { border-color: var(--green-600); }
.city-modal__body { padding: 8px 24px 24px; }
.city-modal__panel { display: none; }
.city-modal__panel--active { display: block; }
.city-modal__section-title {
  margin: 16px 0 10px; font-size: .95rem; color: #777;
  font-weight: 600; text-transform: uppercase; letter-spacing: .04em;
}
.city-modal__grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px 24px; }
.city-modal__grid--popular { grid-template-columns: repeat(3, 1fr); }
.city-modal__grid--all     { grid-template-columns: repeat(3, 1fr); }
/* Кладбища Москвы и Подмосковья — ссылками на свои поддомены, как города (2026-10-18). */
.city-modal__grid--cemetery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 16px; }

.city-modal__count { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: var(--line-2, #eef0ec); font-size: 12px; font-weight: 700; color: var(--ink-3, #4a5256); vertical-align: 2px; }
.city-modal__grid li a { display: block; padding: 4px 0; color: var(--ink-3); font-size: 14px; }
.city-modal__grid li a:hover { color: var(--green-700); }
.city-modal__empty { color: #888; font-style: italic; margin: 12px 0; }
.cemetery-name { display: block; font-weight: 600; }
.cemetery-address { display: block; color: #777; font-size: .9rem; }

/* ===================== CATALOG MODAL ===================== */
body.modal-open { overflow: hidden; }

.catalog-modal[hidden] { display: none; }
.catalog-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow-y: auto;
  padding: 40px 20px 32px;
}
.catalog-modal__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8, 10, 12, .96);
}
.catalog-modal__inner {
  position: relative;
  width: 100%;
  max-width: 720px;
  color: #fff;
  text-align: center;
  padding-top: 8px;
}
.catalog-modal__close {
  position: absolute;
  top: 0;
  right: 0;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.85);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.catalog-modal__close:hover {
  background: rgba(255,255,255,.12);
  color: #fff;
}
.catalog-modal__close [data-lucide] { width: 22px; height: 22px; stroke-width: 2; }
.catalog-modal__title {
  margin: 0 0 20px;
  padding-right: 52px;
  font-family: 'Manrope', -apple-system, system-ui, sans-serif;
  font-size: clamp(20px, 2.8vw, 24px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
  text-transform: none;
  color: #fff;
}
.catalog-modal__title-accent {
  color: var(--green-500);
  font-style: normal;
  font-weight: 700;
}
.catalog-modal__exit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  padding: 13px 28px;
  margin-bottom: 28px;
  border: 1.5px solid rgba(255,255,255,.28);
  border-radius: 10px;
  background: transparent;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.catalog-modal__exit:hover {
  border-color: rgba(255,255,255,.5);
  background: rgba(255,255,255,.04);
}
.catalog-modal__exit--bottom { margin-top: 28px; margin-bottom: 0; }
.catalog-modal__groups {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.catalog-modal__group {
  border: 0;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255,255,255,.055);
}
.catalog-modal__row {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) 40px;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 14px 16px;
  border: 0;
  background: transparent;
  color: #fff;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: background .15s;
}
.catalog-modal__row--link:hover,
.catalog-modal__row--toggle:hover,
.catalog-modal__sub-row:hover { background: rgba(255,255,255,.08); }
.catalog-modal__row:focus:not(:focus-visible),
.catalog-modal__sub-row:focus:not(:focus-visible) { outline: none; }
.catalog-modal__row:focus-visible,
.catalog-modal__sub-row:focus-visible { outline: 2px solid var(--green-500); outline-offset: -3px; }
.catalog-modal__row--toggle .catalog-modal__go { transform: rotate(0deg); transition: transform .15s; }
.catalog-modal__row--toggle[aria-expanded="true"] .catalog-modal__go { transform: rotate(90deg); }
.catalog-modal__group.is-open > .catalog-modal__row--toggle {
  background: rgba(255,255,255,.08);
}
.catalog-modal__group.is-open > .catalog-modal__row--toggle .catalog-modal__label {
  color: var(--green-500);
}
.catalog-modal__group.has-active-child > .catalog-modal__row--toggle {
  background: rgba(46,140,75,.12);
}
.catalog-modal__row.is-active,
.catalog-modal__sub-row.is-active {
  background: rgba(46,140,75,.18);
}
.catalog-modal__row.is-active .catalog-modal__label,
.catalog-modal__sub-row.is-active .catalog-modal__label {
  color: var(--green-500);
}
.catalog-modal__row.is-active,
.catalog-modal__sub-row.is-active {
  cursor: default;
}
button.catalog-modal__row--link,
button.catalog-modal__sub-row {
  width: 100%;
  border: 0;
  background: transparent;
  font: inherit;
  color: inherit;
  text-align: inherit;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.catalog-modal__sub-row.is-active .catalog-modal__desc {
  color: rgba(255,255,255,.72);
}
.catalog-modal__thumb {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  background: #2a2f33;
  display: grid;
  place-items: center;
}
.catalog-modal__thumb--round { border-radius: 50%; }
.catalog-modal__thumb > picture { display: block; width: 100%; height: 100%; min-width: 0; }
.catalog-modal__brand { white-space: nowrap; overflow-wrap: normal; hyphens: none; }
.catalog-modal__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.catalog-modal__copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.catalog-modal__label {
  font-size: 16px;
  overflow-wrap: anywhere;
  hyphens: auto;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  line-height: 1.3;
  color: #fff;
}
.catalog-modal__desc {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  color: rgba(255,255,255,.48);
  text-transform: none;
  letter-spacing: 0;
}
.catalog-modal__go {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--green-600);
  color: #fff;
  flex-shrink: 0;
}
.catalog-modal__go [data-lucide] {
  width: 20px;
  height: 20px;
  stroke-width: 2.5;
}
.catalog-modal__sub {
  list-style: none;
  margin: 0;
  padding: 4px 16px 14px 78px;
  position: relative;
}
/* Зелёная линия второго уровня — отрезки у каждого пункта (x = 47px от края списка), у последнего — до его точки. */
.catalog-modal__sub > li { position: relative; }
.catalog-modal__sub > li::after {
  content: '';
  position: absolute;
  left: -31px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--green-600);
}
.catalog-modal__sub > li:first-child::after { top: -4px; }
.catalog-modal__sub > li:last-child::after { bottom: auto; height: 36px; }
.catalog-modal__sub-item {
  position: relative;
  padding: 2px 0;
}
.catalog-modal__sub-item::before {
  content: '';
  position: absolute;
  left: -34px;
  top: 36px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-600);
  transform: translateY(-50%);
  z-index: 1;
}
.catalog-modal__sub-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 20px;
  align-items: start;
  gap: 12px;
  padding: 10px;
  color: #fff;
  text-decoration: none;
  transition: background .15s;
  border-radius: 10px;
}
.catalog-modal__sub-head {
  padding: 14px 10px 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .62);
}
.catalog-modal__sub-head:first-child { padding-top: 6px; }
.catalog-modal__sub-row--soon {
  opacity: .55;
  cursor: default;
}
.catalog-modal__thumb--sub {
  position: relative;
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  margin-top: 0;
  border-radius: 10px;
}
.catalog-modal__thumb--sub > img {
  position: absolute;
  inset: 0;
  width: 48px;
  height: 48px;
  max-width: none;
  object-fit: contain;
  object-position: center;
}
.catalog-modal__sub--photos .catalog-modal__thumb--sub > img,
.catalog-modal__thumb--sub.catalog-modal__thumb--photo > img { object-fit: cover; }
.catalog-modal__sub .catalog-modal__label {
  font-size: 16px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
}
.catalog-modal__sub .catalog-modal__desc {
  font-size: 12.5px;
}
.catalog-modal__sub-go {
  display: grid;
  align-self: center;
  place-items: center;
  color: rgba(255,255,255,.55);
}
.catalog-modal__sub-row > .catalog-modal__copy { align-self: center; }
.catalog-modal__sub-go [data-lucide] {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

.catalog-modal__contacts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 24px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: 14px;
  color: rgba(255,255,255,.75);
}
.catalog-modal__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green-500);
  font-weight: 700;
  font-size: 15px;
}
.catalog-modal__phone [data-lucide] { width: 16px; height: 16px; }
.catalog-modal__address { color: rgba(255,255,255,.55); }
.catalog-modal__socials { display: flex; gap: 10px; }
.catalog-modal__social {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #fff;
}
.catalog-modal__social--tg { background: #2aabee; }
.catalog-modal__social--wa { background: #25d366; }
.catalog-modal__social--max { background: linear-gradient(135deg, #2d7ff9, #7b5cff); overflow: hidden; }
.catalog-modal__social--max img { width: 100%; height: 100%; object-fit: cover; }

/* ===================== LEAD FORM (shared pages) ===================== */
.lead-form {
  max-width: 420px; background: #fff;
  border: 1px solid var(--line); border-radius: 12px;
  padding: 24px; box-shadow: 0 4px 16px rgba(0,0,0,.04);
}
.lead-form__form { display: flex; flex-direction: column; gap: 14px; }
.lead-form__field { display: flex; flex-direction: column; gap: 6px; }
.lead-form__field label { font-size: .9rem; color: var(--ink-3); }
.lead-form__field input {
  padding: 10px 14px; border: 1px solid var(--line);
  border-radius: 8px; font-size: 1rem; outline: none;
  transition: border-color .15s; font-family: inherit;
}
.lead-form__field input:focus { border-color: var(--green-600); }
.lead-form__submit {
  padding: 12px 18px; background: var(--green-600); color: #fff;
  border: 0; border-radius: 8px; font-size: 1rem;
  font-weight: 600; cursor: pointer; font-family: inherit;
  transition: background .15s;
}
.lead-form__submit:hover:not(:disabled) { background: var(--green-700); }
.lead-form__submit:disabled { background: #999; cursor: not-allowed; }
.lead-form__error { color: #c0392b; font-size: .9rem; margin: 0; }
.lead-form__success {
  background: #e8f5e9; color: #2e7d32;
  padding: 16px; border-radius: 8px; text-align: center;
}
.lead-form__success p { margin: 0; }

/* ===================== BREADCRUMBS ===================== */
.breadcrumbs { padding: 14px 0; font-size: .9rem; color: #777; }
.breadcrumbs__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs__item { display: inline-flex; align-items: center; gap: 6px; }
.breadcrumbs__link { color: var(--green-700); }
.breadcrumbs__link:hover { text-decoration: underline; }
.breadcrumbs__sep { color: #bbb; }
.breadcrumbs__current { color: #555; }

/* ===================== OTHER PAGES ===================== */
.error-page { padding: 60px 0; }
.partner-hero { padding-top: 28px; }
.partner-hero__grid { display: grid; grid-template-columns: 120px 1fr 180px; gap: 32px; align-items: start; }
.partner-hero__logo img { max-width: 120px; height: auto; }
.partner-hero__logo-stub {
  width: 120px; height: 120px; border-radius: 12px;
  background: var(--ink-2); color: #d4b376;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; font-weight: 700;
}
.contractor-hero { background: #fff; padding: 40px 0; border-bottom: 1px solid var(--line); }
.contractor-hero__grid { display: grid; grid-template-columns: 120px 1fr; gap: 24px; align-items: start; }
.contractor-hero__logo img { max-width: 120px; border-radius: 8px; }
.contractor-hero__verified {
  display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 4px;
  background: #e8f5e9; color: #2e7d32; font-size: .8rem; font-weight: 600; vertical-align: middle;
}
.contractor-services { padding: 40px 0; }
.contractor-services__table { width: 100%; border-collapse: collapse; margin-top: 12px; }
.contractor-services__table th, .contractor-services__table td {
  text-align: left; padding: 10px; border-bottom: 1px solid var(--line);
}
.contractor-services__table th { color: #777; font-weight: 600; font-size: .9rem; }
.monuments { padding: 50px 0; }
.monuments__list { list-style: none; padding: 0; margin: 24px 0 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.monument-card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 16px; }
.monument-card__photo { aspect-ratio: 3/4; background: var(--line-2); border-radius: 6px; margin-bottom: 12px; overflow: hidden; }
.monument-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.about { padding: 30px 0 60px; }
.about__advantages-grid {
  list-style: none; padding: 0; margin: 16px 0 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.about__card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 20px; }
.contacts { padding: 30px 0 60px; }
.contacts__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.faq { padding: 30px 0 60px; }
.faq__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.faq__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  color: var(--ink-2);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
  transition: border-color .15s, background .15s, color .15s, box-shadow .15s;
}
.faq__tag:hover {
  border-color: rgba(44, 122, 63, 0.35);
  background: var(--green-50);
  color: var(--green-700);
}
.faq__tag--active {
  border-color: var(--green-600);
  background: var(--green-50);
  color: var(--green-700);
  font-weight: 600;
  box-shadow: 0 0 0 1px rgba(44, 122, 63, 0.12);
}
.faq__tag--active:hover {
  border-color: var(--green-600);
  background: var(--green-50);
  color: var(--green-700);
}
.faq__tag-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5em;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--line-2);
  color: var(--ink-3);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
}
.faq__tag--active .faq__tag-count {
  background: rgba(44, 122, 63, 0.14);
  color: var(--green-700);
}
.faq__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.faq__block {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.faq__block-head {
  margin-bottom: 20px;
}
.faq__block-title {
  margin: 0 0 10px;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}
.faq__block-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.faq__block-tag {
  padding: 3px 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(44, 122, 63, 0.08);
  color: var(--green-700);
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  transition: background .15s;
}
.faq__block-tag:hover { background: rgba(44, 122, 63, 0.16); }
.faq__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq__item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color .15s, background .15s;
}
.faq__item--open {
  border-color: rgba(44, 122, 63, 0.35);
  background: var(--green-50);
}
.faq__question {
  width: 100%;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 0.98rem;
  font-weight: 500;
  text-align: left;
  color: var(--ink);
}
.faq__toggle {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  line-height: 1;
  color: var(--ink-3);
  transition: background .15s, color .15s, transform .15s;
}
.faq__toggle::before { content: "+"; font-weight: 400; }
.faq__item--open .faq__toggle {
  background: var(--green-600);
  color: #fff;
  transform: rotate(180deg);
}
.faq__item--open .faq__toggle::before { content: "−"; }
.faq__answer {
  padding: 0 16px 14px;
  color: var(--ink-3);
  font-size: 0.95rem;
  line-height: 1.55;
}
.faq__answer p { margin: 0; }
.faq__answer p + p { margin-top: 10px; }

[x-cloak] { display: none !important; }

/* Видео-отзывы: модальное окно (стиль как granit-lightbox для фото) */
.granit-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}
.granit-lightbox[hidden] { display: none !important; }
.granit-lightbox__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8, 10, 12, .88);
}
.granit-lightbox__dialog--video {
  position: relative;
  width: min(96vw, 960px);
  max-width: 960px;
}
.granit-lightbox__close {
  position: absolute;
  top: -44px;
  right: 0;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}
.granit-lightbox__close:hover { background: rgba(255,255,255,.22); }
.granit-lightbox__figure--video {
  margin: 0;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
  display: flex;
  flex-direction: column;
}
.granit-lightbox__video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}
.granit-lightbox__video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.granit-lightbox__meta--video {
  padding: 18px 22px 20px;
  text-align: left;
}
.granit-lightbox__caption {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-3);
}
.granit-lightbox__caption-title {
  display: block;
  font-size: 17px;
  color: var(--ink);
  margin-bottom: 4px;
}
.granit-lightbox__transcript {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(0,0,0,.08);
  max-height: min(32vh, 260px);
  overflow-y: auto;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-3);
  white-space: pre-wrap;
}
button.video-review__link {
  border: 0;
  padding: 0;
  background: none;
  cursor: pointer;
  display: block;
  width: 100%;
}
.video-review__link--disabled {
  cursor: default;
  opacity: .7;
}

.reviews-carousel__slide--lazy {
  min-height: 280px;
}
.reviews-carousel__slide.is-loading .reviews-carousel__placeholder {
  opacity: .45;
}
.reviews-carousel__placeholder {
  min-height: 280px;
  border-radius: 16px;
  background: linear-gradient(110deg, rgba(0,0,0,.04) 8%, rgba(0,0,0,.08) 18%, rgba(0,0,0,.04) 33%);
  background-size: 200% 100%;
  animation: reviews-shimmer 1.4s linear infinite;
}
.reviews-carousel__error {
  margin: 0;
  padding: 24px;
  text-align: center;
  color: var(--ink-3);
}
@keyframes reviews-shimmer {
  to { background-position-x: -200%; }
}

/* Блок отзывов «Что говорят семьи» — общий для главной и страниц услуг
   (партиал _HomeReviewsSection). Здесь, а не в home.css, потому что блок
   рендерится и на лендингах услуг, где home.css не подключается. */
.review .avatar--sprite {
  display: block;
  background-repeat: no-repeat;
  background-color: #CDD3CA;
  color: transparent;
}
.review .head .review__meta,
.video-review__foot .video-review__meta {
  min-width: 0;
}
.video-review__link {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 1;
  color: inherit;
  text-decoration: none;
}
.reviews-carousel__slide[hidden] {
  display: none !important;
}

/* Лайтбокс галереи: базовые стили были только в service.css, из-за чего на странице
   объявления (bundles: core+obyavlenie) модалка открывалась без вёрстки.
   Держим здесь — core.css грузится всегда. */
.granit-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}

.granit-lightbox[x-cloak] { display: none !important; }

.granit-lightbox__dialog {
  position: relative;
  width: max-content;
  max-width: min(96vw, 1280px);
  display: grid;
  grid-template-columns: 48px auto 48px;
  gap: 12px;
  align-items: center;
}

/* Окно видеоотзыва — одна колонка и своя ширина. Правило стоит ПОСЛЕ общего: общее задаёт
   сетку под стрелки листания (48px auto 48px) и width: max-content, а у видео стрелок нет —
   средняя колонка схлопывалась в ноль, и окно превращалось в белую полоску 120px. */
.granit-lightbox--video .granit-lightbox__dialog,
.granit-lightbox__dialog--video {
  width: min(96vw, 960px);
  max-width: min(96vw, 960px);
  grid-template-columns: minmax(0, 1fr);
  /* Длинная расшифровка не должна выталкивать окно за экран. */
  max-height: calc(100vh - 88px);
}

.granit-lightbox__figure--video {
  max-height: calc(100vh - 88px);
  overflow-y: auto;
}

.granit-lightbox__nav {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,.14);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .15s;
}

.granit-lightbox__nav:hover { background: var(--green-600); }

.granit-lightbox__nav [data-lucide] { width: 22px; height: 22px; }

.granit-lightbox__figure {
  margin: 0;
  max-width: calc(min(96vw, 1280px) - 120px);
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  vertical-align: top;
  contain: layout style;
}

.granit-lightbox__img {
  display: block;
  width: auto;
  height: auto;
  max-width: calc(min(96vw, 1280px) - 120px);
  max-height: min(82vh, 1200px);
  margin: 0 auto;
  object-fit: contain;
  object-position: center center;
  background: #f6f7f5;
  transition: none;
}

.granit-lightbox__meta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px 24px;
  align-items: center;
  align-self: stretch;
  width: 100%;
  padding: 18px 22px 12px;
}

/* У видеоотзыва под окном идут подпись и расшифровка — в одну колонку. Общее правило выше
   раскладывает подпись и кнопку в две колонки (1fr auto), и заголовок сжимался в полоску. */
.granit-lightbox__meta--video {
  display: block;
  padding: 18px 22px 20px;
}

.granit-lightbox__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 12px;
  background: var(--green-600);
  color: #fff;
  font-size: 14.5px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 14px 30px -14px rgba(46,140,75,.45);
  transition: background .15s, transform .12s;
  flex-shrink: 0;
  justify-self: end;
}

.granit-lightbox__cta:hover {
  background: var(--green-700);
  color: #fff;
}

.granit-lightbox__cta:active { transform: translateY(1px); }

.granit-lightbox__cta [data-lucide] { width: 18px; height: 18px; }

.granit-lightbox__counter {
  margin: 0;
  align-self: stretch;
  width: 100%;
  padding: 0 22px 16px;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

/* Вертикальные фото — формы памятников */
.granit-lightbox--portrait {
  padding: 8px 6px;
}

.granit-lightbox--portrait .granit-lightbox__dialog {
  max-width: min(98vw, 920px);
  grid-template-columns: 48px auto 48px;
}

.granit-lightbox--portrait .granit-lightbox__figure {
  max-width: calc(min(98vw, 920px) - 120px);
}

.granit-lightbox--portrait .granit-lightbox__img {
  width: auto;
  max-width: calc(min(98vw, 920px) - 120px);
  height: auto;
  max-height: min(90vh, 2000px);
  object-fit: contain;
  object-position: center center;
  background: #f6f7f5;
  transition: none;
}

.granit-lightbox--portrait .granit-lightbox__meta {
  grid-template-columns: 1fr auto;
  gap: 16px 24px;
  align-items: center;
  padding: 18px 22px 12px;
}

.granit-lightbox--portrait .granit-lightbox__cta {
  width: auto;
  flex-shrink: 0;
  white-space: nowrap;
  justify-self: end;
}

/* Светлые кнопки, ссылки-плашки, чипы и вкладки: при наведении фон чуть подсвечивается (владелец 2026-10-21).
   Активное/выбранное состояние не трогаем. Список собран обходом сайта (scratchpad hoveraudit.mjs). */
.ads-dd__btn:is(:hover, :active, :focus-visible):not(.is-active):not(.active):not(.is-on):not(.is-selected):not([aria-pressed="true"]):not([aria-selected="true"]):not(:disabled),
.bc-calc__chip:is(:hover, :active, :focus-visible):not(.is-active):not(.active):not(.is-on):not(.is-selected):not([aria-pressed="true"]):not([aria-selected="true"]):not(:disabled),
.blog-card__action:is(:hover, :active, :focus-visible):not(.is-active):not(.active):not(.is-on):not(.is-selected):not([aria-pressed="true"]):not([aria-selected="true"]):not(:disabled),
.blog-tabs__item:is(:hover, :active, :focus-visible):not(.is-active):not(.active):not(.is-on):not(.is-selected):not([aria-pressed="true"]):not([aria-selected="true"]):not(:disabled),
.com-chip-link:is(:hover, :active, :focus-visible):not(.is-active):not(.active):not(.is-on):not(.is-selected):not([aria-pressed="true"]):not([aria-selected="true"]):not(:disabled),
.cta-ghost:is(:hover, :active, :focus-visible):not(.is-active):not(.active):not(.is-on):not(.is-selected):not([aria-pressed="true"]):not([aria-selected="true"]):not(:disabled),
.ek-chip:is(:hover, :active, :focus-visible):not(.is-active):not(.active):not(.is-on):not(.is-selected):not([aria-pressed="true"]):not([aria-selected="true"]):not(:disabled),
.ek-filter:is(:hover, :active, :focus-visible):not(.is-active):not(.active):not(.is-on):not(.is-selected):not([aria-pressed="true"]):not([aria-selected="true"]):not(:disabled),
.ep-card__btn:is(:hover, :active, :focus-visible):not(.is-active):not(.active):not(.is-on):not(.is-selected):not([aria-pressed="true"]):not([aria-selected="true"]):not(:disabled),
.ep-try__chip:is(:hover, :active, :focus-visible):not(.is-active):not(.active):not(.is-on):not(.is-selected):not([aria-pressed="true"]):not([aria-selected="true"]):not(:disabled),
.fchip:is(:hover, :active, :focus-visible):not(.is-active):not(.active):not(.is-on):not(.is-selected):not([aria-pressed="true"]):not([aria-selected="true"]):not(:disabled),
.fm-examples__filter:is(:hover, :active, :focus-visible):not(.is-active):not(.active):not(.is-on):not(.is-selected):not([aria-pressed="true"]):not([aria-selected="true"]):not(:disabled),
.fr-gorod__city:is(:hover, :active, :focus-visible):not(.is-active):not(.active):not(.is-on):not(.is-selected):not([aria-pressed="true"]):not([aria-selected="true"]):not(:disabled),
.free-expert__sort-btn:is(:hover, :active, :focus-visible):not(.is-active):not(.active):not(.is-on):not(.is-selected):not([aria-pressed="true"]):not([aria-selected="true"]):not(:disabled),
.fs-sizer__chip:is(:hover, :active, :focus-visible):not(.is-active):not(.active):not(.is-on):not(.is-selected):not([aria-pressed="true"]):not([aria-selected="true"]):not(:disabled),
.gc-calc__chip:is(:hover, :active, :focus-visible):not(.is-active):not(.active):not(.is-on):not(.is-selected):not([aria-pressed="true"]):not([aria-selected="true"]):not(:disabled),
.gv-config__chip:is(:hover, :active, :focus-visible):not(.is-active):not(.active):not(.is-on):not(.is-selected):not([aria-pressed="true"]):not([aria-selected="true"]):not(:disabled),
.ig-pop__btn:not(.ig-pop__btn--try):is(:hover, :active, :focus-visible):not(.is-active):not(.active):not(.is-on):not(.is-selected):not([aria-pressed="true"]):not([aria-selected="true"]):not(:disabled),
.ko-calc__chip:is(:hover, :active, :focus-visible):not(.is-active):not(.active):not(.is-on):not(.is-selected):not([aria-pressed="true"]):not([aria-selected="true"]):not(:disabled),
.kp-btn:is(:hover, :active, :focus-visible):not(.is-active):not(.active):not(.is-on):not(.is-selected):not([aria-pressed="true"]):not([aria-selected="true"]):not(:disabled),
.kp-chip:is(:hover, :active, :focus-visible):not(.is-active):not(.active):not(.is-on):not(.is-selected):not([aria-pressed="true"]):not([aria-selected="true"]):not(:disabled),
.kp-opt:is(:hover, :active, :focus-visible):not(.is-active):not(.active):not(.is-on):not(.is-selected):not([aria-pressed="true"]):not([aria-selected="true"]):not(:disabled),
.kp__dl:is(:hover, :active, :focus-visible):not(.is-active):not(.active):not(.is-on):not(.is-selected):not([aria-pressed="true"]):not([aria-selected="true"]):not(:disabled),
.kv-chip:is(:hover, :active, :focus-visible):not(.is-active):not(.active):not(.is-on):not(.is-selected):not([aria-pressed="true"]):not([aria-selected="true"]):not(:disabled),
.kv-size__h:is(:hover, :active, :focus-visible):not(.is-active):not(.active):not(.is-on):not(.is-selected):not([aria-pressed="true"]):not([aria-selected="true"]):not(:disabled),
.lp-chip:is(:hover, :active, :focus-visible):not(.is-active):not(.active):not(.is-on):not(.is-selected):not([aria-pressed="true"]):not([aria-selected="true"]):not(:disabled),
.lp-more:is(:hover, :active, :focus-visible):not(.is-active):not(.active):not(.is-on):not(.is-selected):not([aria-pressed="true"]):not([aria-selected="true"]):not(:disabled),
.np-chip:is(:hover, :active, :focus-visible):not(.is-active):not(.active):not(.is-on):not(.is-selected):not([aria-pressed="true"]):not([aria-selected="true"]):not(:disabled),
.om-calc__chip:is(:hover, :active, :focus-visible):not(.is-active):not(.active):not(.is-on):not(.is-selected):not([aria-pressed="true"]):not([aria-selected="true"]):not(:disabled),
.om-fav:is(:hover, :active, :focus-visible):not(.is-active):not(.active):not(.is-on):not(.is-selected):not([aria-pressed="true"]):not([aria-selected="true"]):not(:disabled),
.oz-layout__tab:is(:hover, :active, :focus-visible):not(.is-active):not(.active):not(.is-on):not(.is-selected):not([aria-pressed="true"]):not([aria-selected="true"]):not(:disabled),
.podat-select__btn:is(:hover, :active, :focus-visible):not(.is-active):not(.active):not(.is-on):not(.is-selected):not([aria-pressed="true"]):not([aria-selected="true"]):not(:disabled),
.pp-cases__tab:is(:hover, :active, :focus-visible):not(.is-active):not(.active):not(.is-on):not(.is-selected):not([aria-pressed="true"]):not([aria-selected="true"]):not(:disabled),
.pro-btn:not(.pro-btn--primary):is(:hover, :active, :focus-visible):not(.is-active):not(.active):not(.is-on):not(.is-selected):not([aria-pressed="true"]):not([aria-selected="true"]):not(:disabled),
.pro-chip:is(:hover, :active, :focus-visible):not(.is-active):not(.active):not(.is-on):not(.is-selected):not([aria-pressed="true"]):not([aria-selected="true"]):not(:disabled),
.ptr-tab:is(:hover, :active, :focus-visible):not(.is-active):not(.active):not(.is-on):not(.is-selected):not([aria-pressed="true"]):not([aria-selected="true"]):not(:disabled),
.sp-chip:is(:hover, :active, :focus-visible):not(.is-active):not(.active):not(.is-on):not(.is-selected):not([aria-pressed="true"]):not([aria-selected="true"]):not(:disabled),
.sp-demo__toggle:is(:hover, :active, :focus-visible):not(.is-active):not(.active):not(.is-on):not(.is-selected):not([aria-pressed="true"]):not([aria-selected="true"]):not(:disabled),
.sp-quiz-mode__btn:is(:hover, :active, :focus-visible):not(.is-active):not(.active):not(.is-on):not(.is-selected):not([aria-pressed="true"]):not([aria-selected="true"]):not(:disabled),
.st-btn:is(:hover, :active, :focus-visible):not(.is-active):not(.active):not(.is-on):not(.is-selected):not([aria-pressed="true"]):not([aria-selected="true"]):not(:disabled),
.st-contact:is(:hover, :active, :focus-visible):not(.is-active):not(.active):not(.is-on):not(.is-selected):not([aria-pressed="true"]):not([aria-selected="true"]):not(:disabled),
.st-guides__item:is(:hover, :active, :focus-visible):not(.is-active):not(.active):not(.is-on):not(.is-selected):not([aria-pressed="true"]):not([aria-selected="true"]):not(:disabled),
.st-tag:is(:hover, :active, :focus-visible):not(.is-active):not(.active):not(.is-on):not(.is-selected):not([aria-pressed="true"]):not([aria-selected="true"]):not(:disabled),
.svc-oform-filters__btn:is(:hover, :active, :focus-visible):not(.is-active):not(.active):not(.is-on):not(.is-selected):not([aria-pressed="true"]):not([aria-selected="true"]):not(:disabled),
.svc-oform-related__card:is(:hover, :active, :focus-visible):not(.is-active):not(.active):not(.is-on):not(.is-selected):not([aria-pressed="true"]):not([aria-selected="true"]):not(:disabled),
.works-tabs .tab:is(:hover, :active, :focus-visible):not(.is-active):not(.active):not(.is-on):not(.is-selected):not([aria-pressed="true"]):not([aria-selected="true"]):not(:disabled),
.us-btn:is(:hover, :active, :focus-visible):not(.is-active):not(.active):not(.is-on):not(.is-selected):not([aria-pressed="true"]):not([aria-selected="true"]):not(:disabled),
.vc-cal__nav:is(:hover, :active, :focus-visible):not(.is-active):not(.active):not(.is-on):not(.is-selected):not([aria-pressed="true"]):not([aria-selected="true"]):not(:disabled),
.vc-chip:is(:hover, :active, :focus-visible):not(.is-active):not(.active):not(.is-on):not(.is-selected):not([aria-pressed="true"]):not([aria-selected="true"]):not(:disabled),
.vk-chip:is(:hover, :active, :focus-visible):not(.is-active):not(.active):not(.is-on):not(.is-selected):not([aria-pressed="true"]):not([aria-selected="true"]):not(:disabled),
.zp-calc__chip:is(:hover, :active, :focus-visible):not(.is-active):not(.active):not(.is-on):not(.is-selected):not([aria-pressed="true"]):not([aria-selected="true"]):not(:disabled),
.hcw-outline-btn:is(:hover, :active, :focus-visible):not(.is-active):not(.active):not(.is-on):not(.is-selected):not([aria-pressed="true"]):not([aria-selected="true"]):not(:disabled) {
  background-color: var(--green-50);
  color: var(--green-700);
}
.blog-cats__item:is(:hover, :active, :focus-visible):not(.is-active):not(.active):not(.is-on):not(.is-selected):not([aria-pressed="true"]):not([aria-selected="true"]):not(:disabled),
.ek-tabs__tab:is(:hover, :active, :focus-visible):not(.is-active):not(.active):not(.is-on):not(.is-selected):not([aria-pressed="true"]):not([aria-selected="true"]):not(:disabled),
.faq__tag:is(:hover, :active, :focus-visible):not(.is-active):not(.active):not(.is-on):not(.is-selected):not([aria-pressed="true"]):not([aria-selected="true"]):not(:disabled),
.free-chat__assistant:is(:hover, :active, :focus-visible):not(.is-active):not(.active):not(.is-on):not(.is-selected):not([aria-pressed="true"]):not([aria-selected="true"]):not(:disabled),
.lp-decor__tab:is(:hover, :active, :focus-visible):not(.is-active):not(.active):not(.is-on):not(.is-selected):not([aria-pressed="true"]):not([aria-selected="true"]):not(:disabled),
.np-variants__tab:is(:hover, :active, :focus-visible):not(.is-active):not(.active):not(.is-on):not(.is-selected):not([aria-pressed="true"]):not([aria-selected="true"]):not(:disabled),
.po-calc__type:is(:hover, :active, :focus-visible):not(.is-active):not(.active):not(.is-on):not(.is-selected):not([aria-pressed="true"]):not([aria-selected="true"]):not(:disabled),
.sk-filter:is(:hover, :active, :focus-visible):not(.is-active):not(.active):not(.is-on):not(.is-selected):not([aria-pressed="true"]):not([aria-selected="true"]):not(:disabled),
.sp-demo__tab:is(:hover, :active, :focus-visible):not(.is-active):not(.active):not(.is-on):not(.is-selected):not([aria-pressed="true"]):not([aria-selected="true"]):not(:disabled),
.st-try__stone:is(:hover, :active, :focus-visible):not(.is-active):not(.active):not(.is-on):not(.is-selected):not([aria-pressed="true"]):not([aria-selected="true"]):not(:disabled),
.zt-variants__tab:is(:hover, :active, :focus-visible):not(.is-active):not(.active):not(.is-on):not(.is-selected):not([aria-pressed="true"]):not([aria-selected="true"]):not(:disabled) {
  background-color: #E2EEDB;
  color: var(--green-700);
}
.hcw-outline-btn { background: #fff; transition: background-color .15s; }

/* >>> АТЛАС КАТАЛОГА (tools/build_catalog_atlas.py) — блок генерируется, не править руками */
/* Миниатюры меню «Каталог» — клетки одного атласа. Спрайты владельца лежат в нём целиком. */
.catalog-sprite,
.catalog-subsprite {
  display: block;
  width: 100%;
  height: 100%;
  background-image: url('/assets/katalog/atlas.png?format=webp&quality=80');
  background-repeat: no-repeat;
}
.catalog-sprite--1 { background-size: 691.07% 717.79%; background-position: 0.315% 0.274%; }
.catalog-sprite--2 { background-size: 691.07% 717.79%; background-position: 18.438% 0.274%; }
.catalog-sprite--3 { background-size: 691.07% 717.79%; background-position: 36.504% 0.274%; }
.catalog-sprite--4 { background-size: 691.07% 717.79%; background-position: 54.656% 0.274%; }
.catalog-sprite--5 { background-size: 688.73% 715.36%; background-position: 0.287% 17.513%; }
.catalog-sprite--6 { background-size: 684.11% 710.56%; background-position: 18.384% 17.478%; }
.catalog-sprite--7 { background-size: 684.11% 710.56%; background-position: 36.481% 17.478%; }
.catalog-sprite--8 { background-size: 686.41% 712.95%; background-position: 54.661% 17.495%; }
.catalog-sprite--9 { background-size: 700.57% 727.65%; background-position: 0.429% 34.712%; }
.catalog-sprite--10 { background-size: 700.57% 727.65%; background-position: 18.511% 34.712%; }
.catalog-sprite--11 { background-size: 700.57% 727.65%; background-position: 36.535% 34.712%; }
.catalog-sprite--12 { background-size: 700.57% 727.65%; background-position: 54.645% 34.712%; }
.catalog-sprite--13 { background-size: 688.73% 715.36%; background-position: 0.287% 52.073%; }
.catalog-sprite--14 { background-size: 684.11% 710.56%; background-position: 18.384% 52.076%; }
.catalog-sprite--15 { background-size: 684.11% 710.56%; background-position: 36.481% 52.076%; }
.catalog-sprite--16 { background-size: 686.41% 712.95%; background-position: 54.661% 52.075%; }
.catalog-subsprite--pam-1 { background-size: 1133.14% 1176.96%; background-position: 67.991% 0.161%; }
.catalog-subsprite--pam-2 { background-size: 1126.63% 1170.19%; background-position: 78.189% 0.134%; }
.catalog-subsprite--pam-3 { background-size: 1133.14% 1176.96%; background-position: 88.356% 0.161%; }
.catalog-subsprite--pam-4 { background-size: 1136.43% 1180.37%; background-position: 98.511% 0.174%; }
.catalog-subsprite--pam-5 { background-size: 1166.87% 1211.99%; background-position: 67.940% 9.930%; }
.catalog-subsprite--pam-6 { background-size: 1166.87% 1211.99%; background-position: 78.095% 9.930%; }
.catalog-subsprite--pam-7 { background-size: 1166.87% 1211.99%; background-position: 88.249% 9.930%; }
.catalog-subsprite--pam-8 { background-size: 1166.87% 1211.99%; background-position: 98.389% 9.930%; }
.catalog-subsprite--pam-9 { background-size: 1133.14% 1176.96%; background-position: 67.991% 19.604%; }
.catalog-subsprite--pam-10 { background-size: 1126.63% 1170.19%; background-position: 78.189% 19.588%; }
.catalog-subsprite--pam-11 { background-size: 1133.14% 1176.96%; background-position: 88.356% 19.604%; }
.catalog-subsprite--pam-12 { background-size: 1136.43% 1180.37%; background-position: 98.511% 19.612%; }
.catalog-subsprite--oform-1 { background-size: 1123.31% 1166.74%; background-position: 68.056% 29.544%; }
.catalog-subsprite--oform-2 { background-size: 1131.86% 1175.63%; background-position: 78.435% 29.558%; }
.catalog-subsprite--oform-3 { background-size: 1123.31% 1166.74%; background-position: 88.868% 29.544%; }
.catalog-subsprite--oform-4 { background-size: 1129.00% 1172.65%; background-position: 68.047% 39.513%; }
.catalog-subsprite--oform-5 { background-size: 1131.86% 1175.63%; background-position: 78.435% 39.516%; }
.catalog-subsprite--oform-6 { background-size: 1129.00% 1172.65%; background-position: 88.849% 39.513%; }
.catalog-subsprite--oform-7 { background-size: 1117.68% 1160.89%; background-position: 68.065% 49.508%; }
.catalog-subsprite--oform-8 { background-size: 1131.86% 1175.63%; background-position: 78.435% 49.509%; }
.catalog-subsprite--oform-9 { background-size: 1120.49% 1163.81%; background-position: 88.878% 49.508%; }
.catalog-subsprite--ograda-1 { background-size: 1063.38% 1104.49%; background-position: 74.577% 89.571%; }
.catalog-subsprite--ograda-2 { background-size: 1063.38% 1104.49%; background-position: 85.366% 89.571%; }
.catalog-subsprite--ograda-3 { background-size: 1063.38% 1104.49%; background-position: 74.577% 99.918%; }
.catalog-subsprite--ograda-4 { background-size: 1063.38% 1104.49%; background-position: 85.366% 99.918%; }
.catalog-subsprite--blago-1 { background-size: 1097.18% 1139.61%; background-position: 0.071% 95.103%; }
.catalog-subsprite--blago-2 { background-size: 1098.74% 1141.23%; background-position: 10.454% 95.097%; }
.catalog-subsprite--blago-3 { background-size: 1095.63% 1137.99%; background-position: 20.829% 95.109%; }
.catalog-subsprite--rest-1 { background-size: 1120.49% 1163.81%; background-position: 68.048% 59.365%; }
.catalog-subsprite--rest-2 { background-size: 1117.68% 1160.89%; background-position: 78.458% 59.367%; }
.catalog-subsprite--rest-3 { background-size: 1117.68% 1160.89%; background-position: 88.875% 59.367%; }
.catalog-subsprite--rest-4 { background-size: 1149.37% 1193.80%; background-position: 68.004% 69.063%; }
.catalog-subsprite--rest-5 { background-size: 1149.37% 1193.80%; background-position: 78.381% 69.063%; }
.catalog-subsprite--rest-6 { background-size: 1149.37% 1193.80%; background-position: 88.770% 69.063%; }
.catalog-subsprite--rest-7 { background-size: 1120.49% 1163.81%; background-position: 68.048% 79.087%; }
.catalog-subsprite--rest-8 { background-size: 1101.12% 1143.69%; background-position: 78.500% 79.135%; }
.catalog-subsprite--rest-9 { background-size: 1117.68% 1160.89%; background-position: 88.875% 79.094%; }
.catalog-subsprite--tov-1 { background-size: 1123.31% 1166.74%; background-position: 0.160% 65.076%; }
.catalog-subsprite--tov-2 { background-size: 1126.15% 1169.69%; background-position: 10.557% 65.073%; }
.catalog-subsprite--tov-3 { background-size: 1123.31% 1166.74%; background-position: 20.935% 65.076%; }
.catalog-subsprite--tov-4 { background-size: 1259.76% 1308.46%; background-position: 0.682% 74.240%; }
.catalog-subsprite--tov-5 { background-size: 1259.76% 1308.46%; background-position: 10.961% 74.240%; }
.catalog-subsprite--tov-6 { background-size: 1259.76% 1308.46%; background-position: 21.240% 74.240%; }
.catalog-subsprite--tov-7 { background-size: 1114.88% 1157.99%; background-position: 0.123% 84.487%; }
.catalog-subsprite--tov-8 { background-size: 1126.15% 1169.69%; background-position: 10.557% 84.455%; }
.catalog-subsprite--tov-9 { background-size: 1114.88% 1157.99%; background-position: 20.914% 84.487%; }
.catalog-subsprite--dop-1 { background-size: 1069.51% 1110.86%; background-position: 31.528% 89.566%; }
.catalog-subsprite--dop-2 { background-size: 1069.51% 1110.86%; background-position: 42.227% 89.566%; }
.catalog-subsprite--dop-3 { background-size: 1069.51% 1110.86%; background-position: 52.926% 89.566%; }
.catalog-subsprite--dop-4 { background-size: 1072.01% 1113.46%; background-position: 63.634% 89.556%; }
.catalog-subsprite--dop-5 { background-size: 1069.51% 1110.86%; background-position: 31.528% 99.862%; }
.catalog-subsprite--dop-6 { background-size: 1069.51% 1110.86%; background-position: 42.227% 99.862%; }
.catalog-subsprite--dop-7 { background-size: 1069.51% 1110.86%; background-position: 52.926% 99.862%; }
.catalog-subsprite--dop-8 { background-size: 1072.01% 1113.46%; background-position: 63.634% 99.850%; }
.catalog-subsprite--ins-1 { background-size: 1034.55% 1074.55%; background-position: 100.000% 29.664%; }
.catalog-subsprite--ins-2 { background-size: 1034.55% 1074.55%; background-position: 100.000% 40.112%; }
.catalog-subsprite--ins-3 { background-size: 1034.55% 1074.55%; background-position: 100.000% 50.560%; }
/* <<< АТЛАС КАТАЛОГА */

/* ===== ЕДИНЫЙ ШРИФТ ЗАГОЛОВКОВ НА ВСЁМ САЙТЕ (владелец, 04.10.2026) =====
   Все h1–h4 на всех страницах — фирменный шрифт с засечками Lora, как на главной. Никаких исключений:
   шрифт заголовков не должен «прыгать» от блока к блоку. Размер и жирность задают блоки, шрифт — только здесь. */
h1, h2, h3, h4 { font-family: 'Lora', Georgia, serif !important; }

/* Текст кнопки и стрелка — всегда одной строкой (владелец, 04.10.2026): подпись с иконкой внутри <span> кнопки
   не переносит иконку на вторую строку. x-show прячет span инлайн-стилем, он сильнее этого правила. */
button > span:has(> [data-lucide]), button > span:has(> svg.lucide),
a.btn > span:has(> svg.lucide) { display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; }

/* Карточка основателя не уходит за край экрана на 1300–1520 (05.10.2026: на 1440 срезалась на 14px) */

/* Текстовые поля (владелец 2026-10-16, «базовое правило вёрстки»): тянуть можно только по вертикали и не больше
   10 строк — дальше прокрутка. Минимум 3 строки — в формах кабинетов (market.css), однострочный ввод чата не трогаем. */
textarea { resize: vertical; max-height: calc(10lh + 26px); overflow-y: auto; }
