/* ===================== ПАМЯТНИКИ: УСТАНОВКА ПАМЯТНИКОВ =====================
   /pamjatniki/ustanovka-pamjatnikov. Подключается через ViewData["CssPage"] = "ustanovka-pamjatnikov" после бандлов.
   Общие блоки — svc-memorial-*, quiz, reviews, home-faq, granit-lightbox. Здесь только новое (префикс ust-):
   ситуации, «что устанавливаем», состав и варианты, этапы, схема-разрез, участок, цена, автор, сроки, финал.
   На десктопе вертикальный ритм 56px задаёт service-page--rhythm; ниже 1025px — отступы здесь. */

.ust-page > section[id] { scroll-margin-top: calc(var(--header-height, 72px) + 16px); }
.ust-page .ust-subhead[id] { scroll-margin-top: calc(var(--header-height, 72px) + 16px); }

/* — общие мелочи — */
.ust-ico {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #EEF4EC;
  color: var(--green-600);
}
.ust-ico [data-lucide] { width: 20px; height: 20px; }
.ust-ico--warm { background: #F6ECE2; color: #A5622A; }

.ust-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--green-700);
  text-decoration: none;
}
.ust-link:hover { text-decoration: underline; }
.ust-link [data-lucide] { width: 16px; height: 16px; flex: none; }

.ust-badge {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .02em;
  background: rgba(20,24,26,.66);
  color: #fff;
  pointer-events: none;
}

.ust-subhead {
  margin: 40px 0 16px;
  font-family: 'Lora', Georgia, serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 1.25;
  color: var(--ink);
}
.ust-subhead__sub { margin: -8px 0 16px; font-size: 14.5px; line-height: 1.5; color: var(--muted); max-width: 640px; }

.ust-center { display: flex; justify-content: center; margin: 28px 0 0; }

.ust-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ust-checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.45; color: var(--ink); }
.ust-checks [data-lucide] { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--green-600); }
.ust-checks--extra [data-lucide] { color: #A5622A; }

.ust-dots { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ust-dots li { position: relative; padding-left: 16px; font-size: 15px; line-height: 1.5; color: var(--ink); }
.ust-dots li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-600);
}

.ust-points { display: grid; gap: 14px; }
.ust-points--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ust-points--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ust-point {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  min-width: 0;
}
.ust-point--compact { padding: 14px 16px; }
.ust-point__title { font-weight: 700; font-size: 15.5px; line-height: 1.3; color: var(--ink); margin-bottom: 4px; }
.ust-point__text { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink-3); }

/* — 2. ситуации — */
.ust-sit__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ust-sit__card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 18px;
  min-width: 0;
}
.ust-sit__head { display: flex; gap: 12px; align-items: center; }
.ust-sit__title { margin: 0; font-size: 17px; line-height: 1.3; color: var(--ink); }
.ust-sit__text { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--ink); }
.ust-sit__need {
  margin: auto 0 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: #F6F5F1;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--ink-3);
}
.ust-sit__need b { color: var(--ink); }
.ust-sit__more {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  margin: 20px 0 0;
  font-size: 15px;
  color: var(--ink-3);
}

/* — 3. что устанавливаем — */
.ust-types__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ust-type {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  overflow: hidden;
  min-width: 0;
}
.ust-type__pic {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: #EFEDE8;
  cursor: zoom-in;
}
.ust-type__pic--empty {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 7;
  cursor: default;
  color: var(--green-600);
  background: #F1F4EF;
}
.ust-type__pic--empty [data-lucide] { width: 34px; height: 34px; }
.ust-type__body { padding: 14px 16px 16px; }
.ust-type__name { margin: 0 0 4px; font-size: 16px; line-height: 1.3; color: var(--ink); }
.ust-type__name a { color: inherit; text-decoration: none; }
.ust-type__name a:hover { color: var(--green-700); text-decoration: underline; }
.ust-type__text { margin: 0; font-size: 14px; line-height: 1.45; color: var(--ink-3); }

/* — 4. состав и варианты — */
.ust-scope__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.ust-scope__col {
  padding: 22px 24px 24px;
  border-radius: 18px;
  border: 1px solid var(--line-2);
  background: #fff;
  min-width: 0;
}
.ust-scope__col--in { border-color: rgba(44,122,63,.4); }
.ust-scope__col--extra { background: #FBF8F4; }
.ust-scope__title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  font-size: 19px;
  line-height: 1.3;
  color: var(--ink);
}

.ust-variants { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.ust-variant {
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  min-width: 0;
}
.ust-variant__head { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.ust-variant__title { margin: 0; font-size: 16px; line-height: 1.3; color: var(--ink); }
.ust-variant__dl { margin: 0; display: grid; gap: 4px; }
.ust-variant__dl dt {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
}
.ust-variant__dl dd { margin: 0; font-size: 14px; line-height: 1.45; color: var(--ink); }
.ust-cta { margin-top: 24px; }

/* — 5. этапы — */
.ust-steps__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  counter-reset: none;
}
.ust-step {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  overflow: hidden;
  min-width: 0;
}
.ust-step__pic { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: #EFEDE8; }
.ust-step__body { padding: 16px 18px 18px; }
.ust-step__head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.ust-step__num {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 700;
  background: var(--green-600);
  color: #fff;
}
.ust-step__title { margin: 0; font-size: 16.5px; line-height: 1.3; color: var(--ink); }
.ust-step__text { margin: 0 0 8px; font-size: 14.5px; line-height: 1.5; color: var(--ink); }
.ust-step__why { margin: 0; font-size: 13.5px; line-height: 1.45; color: var(--ink-3); }
.ust-step__why b { color: var(--green-700); }

/* — 6. схема-разрез, почему основание, участок — */
.ust-build__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 20px;
}
.ust-build__figure { margin: 0; min-width: 0; }
.ust-build__svg { display: block; width: 100%; height: auto; }
.ust-build__ground { font-size: 13px; font-weight: 600; fill: #2C7A3F; font-family: inherit; }
.ust-build__marks line { stroke: #14181A; stroke-width: 1.3; }
.ust-build__marks circle { fill: #2C7A3F; stroke: #fff; stroke-width: 2; }
.ust-build__marks text {
  fill: #fff;
  font-size: 13px;
  font-weight: 700;
  font-family: inherit;
  text-anchor: middle;
  dominant-baseline: central;
}
.ust-build__caption { margin-top: 8px; font-size: 12.5px; color: var(--muted); text-align: center; }
.ust-build__legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; min-width: 0; }
.ust-build__legend li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; line-height: 1.45; color: var(--ink-3); }
.ust-build__legend b { color: var(--ink); }
.ust-build__num {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  background: #2C7A3F;
  color: #fff;
}

.ust-site {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 14px;
}
.ust-site__item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: 14px;
  background: #F6F5F1;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink-3);
  min-width: 0;
}
.ust-site__item b { color: var(--ink); }
.ust-site__ico { flex: none; color: var(--green-600); margin-top: 1px; }
.ust-site__ico [data-lucide] { width: 18px; height: 18px; }

/* — 7. кейсы «до → процесс → после» (временно — примеры) — */
.ust-cases__list { display: grid; gap: 22px; }
.ust-case {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 22px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 18px;
}
.ust-case__shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; }
.ust-case__shot { position: relative; margin: 0; aspect-ratio: 3 / 4; border-radius: 12px; overflow: hidden; background: #EFEDE8; }
.ust-case__label {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(20,24,26,.72);
  color: #fff;
}
.ust-case__label--after { background: var(--green-600); }
.ust-case__kind { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--green-700); }
.ust-case__title { margin: 4px 0 10px; font-size: 19px; line-height: 1.3; color: var(--ink); }
.ust-case__body p { margin: 0 0 8px; font-size: 14.5px; line-height: 1.5; color: var(--ink-3); }
.ust-case__body b { color: var(--ink); }
.ust-case__shot .ust-badge { left: 8px; bottom: 8px; font-size: 10.5px; padding: 2px 8px; }
/* Подпись блока, пока в кейсах сгенерированные примеры (распоряжение владельца 2026-10-02) */
.ust-example-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 16px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}
.ust-example-note [data-lucide] { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; }

/* — 8. цена и что нужно для расчёта — */
.ust-price__layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 22px; align-items: start; }
.ust-price__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 24px;
  border-radius: 20px;
  background: #F1F6EF;
  border: 1px solid rgba(44,122,63,.3);
}
.ust-price__name { font-weight: 700; font-size: 16px; line-height: 1.3; color: var(--ink); }
.ust-price__value {
  font-family: 'Lora', Georgia, serif;
  font-weight: 600;
  font-size: 40px;
  line-height: 1.05;
  color: var(--green-700);
}
.ust-price__why, .ust-price__exact { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--ink); }
.ust-price__exact { color: var(--ink-3); }
.ust-price__card .svc-memorial-compose__cta-btn { margin-top: 6px; }
.ust-price__h { margin: 0 0 14px; font-size: 19px; line-height: 1.3; color: var(--ink); }

.ust-need {
  margin-top: 22px;
  padding: 22px 24px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line-2);
}
.ust-need__title { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; font-size: 19px; color: var(--ink); }
.ust-need__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px; }
.ust-need__label { margin-bottom: 10px; font-weight: 700; font-size: 14px; color: var(--ink); }
.ust-need__note {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 16px 0 0;
  font-size: 14px;
  color: var(--ink-3);
}
.ust-need__note [data-lucide] { width: 16px; height: 16px; flex: none; color: var(--green-600); }

/* — 9. квиз — */
.ust-quiz-options { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ust-quiz-input { width: 100%; margin-bottom: 12px; }

/* — 10. автор и качество. Фото автора — целиком (fit=max), без обрезки и масок. — */
.ust-quality__layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 22px; align-items: start; }
.ust-founder {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 16px 20px;
  padding: 22px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--line-2);
}
.ust-founder__photo { width: 160px; border-radius: 14px; overflow: hidden; background: #F1F1EE; }
.ust-founder__photo img { display: block; width: 100%; height: auto; }
.ust-founder__name { font-weight: 700; font-size: 18px; color: var(--ink); }
.ust-founder__role { margin-top: 2px; font-size: 13.5px; color: var(--muted); }
.ust-founder__text { margin: 10px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--ink); }
.ust-founder__quote {
  grid-column: 1 / -1;
  margin: 0;
  padding: 14px 16px;
  border-left: 3px solid var(--green-600);
  border-radius: 0 12px 12px 0;
  background: #F6F5F1;
  font-family: 'Lora', Georgia, serif;
  font-style: italic;
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--ink);
}
/* Кадр бригады (задание 3833) — временно пример, бейдж «Пример» */
.ust-crew { margin: 18px 0 0; }
.ust-crew__pic { position: relative; aspect-ratio: 3 / 2; border-radius: 16px; overflow: hidden; background: #EFEDE8; }
.ust-crew__pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ust-crew__caption { margin-top: 8px; font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.ust-quality__book { margin-top: 16px; }

/* — 12. сроки и кладбище — */
.ust-timing__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ust-timing__card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line-2);
  min-width: 0;
}
.ust-timing__card--calm { background: #F6F5F1; }
.ust-timing__title { display: flex; gap: 12px; align-items: center; margin: 0; font-size: 18px; line-height: 1.3; color: var(--ink); }
.ust-timing__card .ust-link { margin-top: auto; }

/* — 14. финал — */
.ust-final__card {
  padding: 32px;
  border-radius: 24px;
  background: #F1F6EF;
  border: 1px solid rgba(44,122,63,.25);
}
.ust-final__title {
  margin: 0 0 22px;
  font-family: 'Lora', Georgia, serif;
  font-weight: 600;
  font-size: 34px;
  line-height: 1.1;
  color: var(--ink);
}
.ust-final__head .eyebrow { margin-bottom: 12px; }
.ust-final__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.ust-final__step { display: flex; gap: 12px; align-items: flex-start; min-width: 0; }
.ust-final__num {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  background: var(--green-600);
  color: #fff;
}
.ust-final__step-title { font-weight: 700; font-size: 15.5px; color: var(--ink); margin-bottom: 4px; }
.ust-final__step-text { margin: 0; font-size: 14px; line-height: 1.45; color: var(--ink-3); }
.ust-final__action { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 24px; }
.ust-final__note { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--ink-3); }
.ust-final__note [data-lucide] { width: 15px; height: 15px; }

/* ===================== адаптив ===================== */

