/* ===================== РЕСТАВРАЦИЯ: РЕМОНТ ПАМЯТНИКОВ =====================
   /restavraciya/remont-pamjatnikov. Подключается через ViewData["CssPage"] = "rest-remont" после бандлов.
   Общие блоки — svc-memorial-*, svc-oform-*, how2, quiz, seo, home-faq. Здесь только новое:
   сравнение двух колонок (блоки 3, 12), пары «до / после» с текстовым запасным видом (5),
   карточки проблем (6), покосившийся памятник (7), элементы участка (8), схема серьёзности в квизе.
   Вертикальных отступов между секциями нет — их задаёт service-page--rhythm (56px). */

.rp-center-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 24px;
  margin: 28px 0 0;
}
.rp-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--green-700);
  text-decoration: none;
}
.rp-link [data-lucide] { width: 16px; height: 16px; }

/* — две колонки (блоки 3 и 12) — */
.rp-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.rp-option {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 18px;
  overflow: hidden;
  min-width: 0;
}
.rp-option--ok { border-color: rgba(44,122,63,.4); }
.rp-option--bad { background: #FBF8F4; }
.rp-option__pic { position: relative; aspect-ratio: 3 / 2; overflow: hidden; }
.rp-option__body { padding: 22px 24px 24px; }
.rp-option__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 6px;
  font-size: 20px;
  line-height: 1.3;
  color: var(--ink);
}
.rp-option__ico {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #EEF4EC;
  color: var(--green-600);
}
.rp-option--bad .rp-option__ico { background: #F6ECE2; color: #A5622A; }
.rp-option__ico [data-lucide] { width: 20px; height: 20px; }
.rp-option__lead { margin: 0 0 10px; font-weight: 600; color: var(--ink-3); }
.rp-option__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.rp-option__list li { display: flex; gap: 8px; align-items: flex-start; font-size: 15px; line-height: 1.45; color: var(--ink); }
.rp-option__list [data-lucide] { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--green-600); }
.rp-option--bad .rp-option__list [data-lucide] { color: #A5622A; }

/* — промо (блок 4) — */
.rp-promo__label { margin: 18px 0 8px; font-weight: 600; color: var(--ink); }

/* — до / после (блок 5) — */
.rp-cases__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.rp-case {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.rp-case__shots {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 6px;
}
.rp-case__shot {
  position: relative;
  margin: 0;
  aspect-ratio: 3 / 4;
  border-radius: 12px;
  overflow: hidden;
  background: #EFEDE8;
}
.rp-case--text .rp-case__shot { aspect-ratio: auto; min-height: 150px; padding: 34px 12px 12px; }
.rp-case--text .rp-case__shot--after { background: #EEF4EC; }
.rp-case__state { margin: 0; font-size: 13.5px; line-height: 1.4; color: var(--ink); }
.rp-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;
}
.rp-case__label--after { background: var(--green-600); }
.rp-case__arrow {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--green-600);
  box-shadow: 0 4px 12px rgba(20,24,26,.18);
  z-index: 1;
}
.rp-case__arrow [data-lucide] { width: 16px; height: 16px; }
.rp-case__title { margin: 4px 0 0; font-size: 16px; line-height: 1.3; color: var(--ink); }
.rp-case__done { margin: 0; font-size: 14px; line-height: 1.45; color: var(--ink-3); }
.rp-case__done b { color: var(--ink); }

/* — 7 проблем (блок 6) — */
.rp-problems__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.rp-problem {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 20px 22px;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
  transition: border-color .2s, box-shadow .2s;
}
.rp-problem:hover { border-color: rgba(44,122,63,.45); box-shadow: 0 16px 32px -24px rgba(20,24,26,.25); }
.rp-problem__num { position: absolute; top: 14px; right: 16px; font-size: 13px; font-weight: 700; color: var(--ink-3); }
.rp-problem__ico {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #EEF4EC;
  color: var(--green-600);
}
.rp-problem__ico [data-lucide] { width: 20px; height: 20px; }
.rp-problem__name { font-size: 16.5px; font-weight: 700; line-height: 1.3; color: var(--ink); }
.rp-problem__sol { font-size: 14.5px; line-height: 1.45; color: var(--ink-3); }
.rp-problem__sol b { color: var(--green-700); }

/* — покосившийся памятник (блок 7) — */
.rp-tilt__card {
  display: grid;
  grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
  gap: 36px;
  align-items: start;
  padding: 28px;
  background: #F7F6F2;
  border-radius: 22px;
}
.rp-tilt__card--no-pic { grid-template-columns: minmax(0, 1fr); }
.rp-tilt__pic { position: relative; aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; }
.rp-tilt__title { margin: 6px 0 10px; font-size: 32px; line-height: 1.2; color: var(--ink); }
.rp-tilt__sub { margin: 0 0 18px; font-size: 16px; line-height: 1.55; color: var(--ink-3); }
.rp-tilt__label { margin: 0 0 10px; font-weight: 700; color: var(--ink); }
.rp-tilt__checks {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.rp-tilt__checks li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: #fff;
  border-radius: 12px;
  font-size: 14.5px;
  color: var(--ink);
}
.rp-tilt__checks [data-lucide] { flex: none; width: 18px; height: 18px; color: var(--green-600); }
.rp-tilt__variants {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-bottom: 24px;
}
.rp-tilt__or { font-weight: 700; color: var(--ink-3); }
.rp-tilt__variant {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  height: 100%;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 14px;
}
.rp-tilt__variant-ico { flex: none; color: var(--green-600); }
.rp-tilt__variant-ico [data-lucide] { width: 22px; height: 22px; }
.rp-tilt__variant-name { font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.rp-tilt__variant-text { margin: 0; font-size: 14px; line-height: 1.45; color: var(--ink-3); }

/* — элементы участка (блок 8) — */
.rp-parts__layout {
  display: grid;
  grid-template-columns: minmax(0, 520px) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}
.rp-parts__layout--no-pic { grid-template-columns: minmax(0, 1fr); }
.rp-parts__visual { position: relative; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; }
.rp-parts__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.rp-part {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  min-width: 0;
}
.rp-part__ico { flex: none; color: var(--green-600); }
.rp-part__ico [data-lucide] { width: 20px; height: 20px; }
.rp-part__name { font-weight: 700; font-size: 15px; color: var(--ink); }
.rp-part__text { margin: 2px 0 0; font-size: 13.5px; line-height: 1.4; color: var(--ink-3); }

/* — стоимость (блок 10): 4 группы без кадров — */
.rp-pricing .rp-pricing__tiers { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rp-pricing__tag {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: var(--green-600);
}
.rp-pricing .svc-oform-pricing__full button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 0 2px;
  border: 0;
  border-bottom: 1px dashed currentColor;
  background: none;
  font: inherit;
  font-weight: 600;
  color: var(--green-700);
  cursor: pointer;
}
.rp-pricing .svc-oform-pricing__full button [data-lucide] { width: 16px; height: 16px; }
.rp-pricelist table { width: 100%; }

/* — поверхность, надписи (блоки 13, 14): 3 колонки — */
.rp-links .rp-links__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* — квиз: 7–8 вариантов в 4 колонки, схема серьёзности — */
.rp-quiz-options { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rp-quiz-hint { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 400; color: var(--ink-3); }
.rp-quiz-input { width: 100%; }
.quiz-opt .rp-sev {
  position: relative;
  display: block;
  width: 38px;
  height: 38px;
  background: var(--green-50);
}
.rp-sev__stela {
  position: absolute;
  left: 13px;
  bottom: 9px;
  width: 12px;
  height: 20px;
  border-radius: 3px 3px 0 0;
  background: #5B6166;
  transform-origin: 50% 100%;
}
.rp-sev__base {
  position: absolute;
  left: 8px;
  bottom: 6px;
  width: 22px;
  height: 4px;
  border-radius: 1px;
  background: #8C9196;
}
.rp-sev--1 .rp-sev__stela { transform: rotate(4deg); }
.rp-sev--2 .rp-sev__stela { transform: rotate(12deg); }
.rp-sev--3 .rp-sev__stela { transform: rotate(24deg); clip-path: polygon(0 0, 100% 0, 100% 45%, 55% 55%, 100% 70%, 100% 100%, 0 100%); }
.rp-sev--3 .rp-sev__base { transform: rotate(-6deg); }

/* ===================== адаптив ===================== */

