/* ===================== РЕСТАВРАЦИЯ: ПОКРАСКА ОГРАДЫ =====================
   /restavraciya/pokraska-ogrady. Подключается через ViewData["CssPage"] = "rest-pokraska" после бандлов.
   Остальные блоки — общие (svc-memorial-*, svc-oform-*, how2, quiz, seo, home-faq).
   Здесь только новое: «красить или менять», слои покрытия, калькулятор, факторы цены,
   шкала сезона, сроки и гарантия, размеры и состояние в квизе.
   Вертикальных отступов между секциями нет — их задаёт service-page--rhythm (56px). */

.po-sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.po-anchor { display: block; height: 0; }
.po-note {
  display: flex; align-items: flex-start; gap: 8px;
  margin: 18px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--ink-3);
}
.po-note [data-lucide] { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; color: var(--green-600); }

/* — 3. красить или менять — */
.po-choice__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 18px;
}
.po-choice__card {
  min-width: 0;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--line-2);
  background: #fff;
  box-shadow: 0 16px 32px -28px rgba(20,24,26,.14);
}
.po-choice__card--ok { border-color: rgba(44,122,63,.4); }
.po-choice__card--bad { border-color: rgba(176,74,48,.35); }
.po-choice__pic { position: relative; aspect-ratio: 16 / 9; background: var(--line-2); }
.po-choice__body { padding: 20px 22px 22px; }
.po-choice__title {
  display: flex; align-items: center; gap: 10px;
  margin: 0 0 10px; font-size: 20px; line-height: 1.25; color: var(--ink);
}
.po-choice__mark {
  width: 32px; height: 32px; border-radius: 999px; flex-shrink: 0;
  display: grid; place-items: center; color: #fff; background: var(--green-600);
}
.po-choice__card--bad .po-choice__mark { background: #B04A30; }
.po-choice__mark [data-lucide] { width: 18px; height: 18px; }
.po-choice__if { margin: 0 0 6px; font-size: 14px; color: var(--muted); }
.po-choice__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.po-choice__list li {
  position: relative; padding-left: 18px;
  font-size: 15px; line-height: 1.45; color: var(--ink-2);
}
.po-choice__list li::before {
  content: ""; position: absolute; left: 2px; top: .6em;
  width: 7px; height: 7px; border-radius: 999px; background: var(--green-600);
}
.po-choice__card--bad .po-choice__list li::before { background: #B04A30; }

/* — 5. до/после: кадры горизонтальные, строка работ под названием — */
.po-cases .svc-oform-pair__shot { aspect-ratio: 4 / 3; }
.po-cases__work {
  display: flex; align-items: flex-start; gap: 8px;
  margin: 0; font-size: 14.5px; line-height: 1.45; color: var(--green-700);
}
.po-cases__work [data-lucide] { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; }

/* — 6. что входит: 4 + 4 карточки, номер операции — */
/* компьютерные стили (раньше — от 1201px), теперь всегда */
  .po-compose .svc-memorial-compose__parts--bottom.po-compose__bottom {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

.po-compose__num { color: var(--green-600); margin-right: 2px; }

/* — 7. слои покрытия — */
.po-layers__card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  padding: 26px;
  border-radius: 20px;
  border: 1px solid var(--line-2);
  background: #fff;
}
.po-layers__stack {
  margin: 0; padding: 0; list-style: none;
  display: flex; flex-direction: column-reverse; gap: 6px;
}
.po-layers__layer {
  display: grid;
  grid-template-columns: 30px minmax(0, 150px) minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  color: #fff;
  font-size: 14px;
}
.po-layers__num {
  width: 26px; height: 26px; border-radius: 999px;
  display: grid; place-items: center;
  font-weight: 700; font-size: 13px; background: rgba(255,255,255,.22);
}
.po-layers__name { font-weight: 700; font-size: 15px; }
.po-layers__text { opacity: .9; }
.po-layers__layer--rust { background: linear-gradient(90deg, #7A3A1C, #A4552A 55%, #8C4622); }
.po-layers__layer--old { background: linear-gradient(90deg, #4E5A52, #6B776E); }
.po-layers__layer--clean { background: linear-gradient(90deg, #7C8288, #A6ACB1); color: #1d2124; }
.po-layers__layer--clean .po-layers__num { background: rgba(0,0,0,.12); }
.po-layers__layer--primer { background: linear-gradient(90deg, #8E4B3B, #A45C49); }
.po-layers__layer--paint { background: linear-gradient(90deg, #15181A, #2B2F33); box-shadow: 0 10px 24px -14px rgba(0,0,0,.6); }
.po-layers__errors-title { margin: 0 0 14px; font-size: 19px; line-height: 1.3; color: var(--ink); }
.po-layers__error { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line-2); }
.po-layers__error:first-of-type { border-top: 0; padding-top: 0; }
.po-layers__error-ico { color: #B04A30; flex-shrink: 0; }
.po-layers__error-ico [data-lucide] { width: 22px; height: 22px; }
.po-layers__error-title { font-weight: 700; font-size: 16px; color: var(--ink); margin-bottom: 4px; }
.po-layers__error-text { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--ink-3); }

/* — 8. шесть этапов в ряд — */
.po-steps .how-step__line { max-width: 20px; }

/* — 9. калькулятор — */
.po-calc__card {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 24px;
  padding: 26px;
  border-radius: 20px;
  border: 1px solid var(--line-2);
  background: #fff;
  box-shadow: 0 16px 32px -28px rgba(20,24,26,.14);
}
.po-calc__form { display: grid; gap: 20px; min-width: 0; }
.po-calc__sizes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.po-calc__field { display: grid; gap: 6px; min-width: 0; }
.po-calc__label {
  display: flex; align-items: center; gap: 6px;
  font-size: 13.5px; font-weight: 600; color: var(--ink-2);
}
.po-calc__label [data-lucide] { width: 16px; height: 16px; color: var(--green-600); flex-shrink: 0; }
.po-calc__input {
  width: 100%; min-width: 0; box-sizing: border-box;
  padding: 12px 14px; font-size: 16px; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: 12px; background: #fff;
}
.po-calc__input:focus { outline: none; border-color: var(--green-600); }
.po-calc__group { display: grid; gap: 10px; }
.po-calc__types { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.po-calc__type {
  display: grid; gap: 2px; text-align: left; cursor: pointer;
  padding: 12px 14px; border-radius: 12px;
  border: 1.5px solid var(--line); background: #fff; font: inherit;
}
.po-calc__type.is-on { border-color: var(--green-600); background: var(--green-50); }
.po-calc__type-name { font-weight: 700; font-size: 15px; color: var(--ink); }
.po-calc__type-note { font-size: 12.5px; color: var(--muted); }
.po-calc__extras { display: flex; flex-wrap: wrap; gap: 8px; }
.po-calc__extra {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  padding: 9px 14px; border-radius: 999px;
  border: 1.5px solid var(--line); font-size: 14px; color: var(--ink-2); background: #fff;
}
.po-calc__extra input { position: absolute; opacity: 0; pointer-events: none; }
.po-calc__extra.is-on { border-color: var(--green-600); background: var(--green-50); color: var(--ink); }
.po-calc__box {
  width: 18px; height: 18px; border-radius: 5px; flex-shrink: 0;
  display: grid; place-items: center; border: 1.5px solid var(--line); color: transparent;
}
.po-calc__extra.is-on .po-calc__box { background: var(--green-600); border-color: var(--green-600); color: #fff; }
.po-calc__box [data-lucide] { width: 12px; height: 12px; }
.po-calc__extra:focus-within { outline: 2px solid var(--green-600); outline-offset: 2px; }
.po-calc__result {
  display: flex; flex-direction: column; justify-content: center; gap: 8px;
  padding: 24px; border-radius: 16px; background: #F6FAF4; min-width: 0;
}
.po-calc__result-label { font-size: 14px; font-weight: 600; color: var(--muted); }
.po-calc__price { font-family: 'Lora', Georgia, serif; font-size: 30px; font-weight: 700; line-height: 1.2; color: var(--ink); }
.po-calc__meta { font-size: 13.5px; color: var(--muted); min-height: 1.2em; }
.po-calc__note { display: flex; gap: 8px; margin: 6px 0 4px; font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }
.po-calc__note [data-lucide] { width: 18px; height: 18px; flex-shrink: 0; color: var(--green-600); }
.po-calc__cta { align-self: flex-start; }

/* — 10. факторы цены — */
.po-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.po-card {
  display: flex; flex-direction: column; gap: 8px; min-width: 0;
  padding: 22px 22px 24px; border-radius: 16px;
  border: 1px solid var(--line-2); background: #fff;
}
.po-card__ico {
  width: 44px; height: 44px; border-radius: 12px; margin-bottom: 4px;
  display: grid; place-items: center; background: #EEF4EC; color: var(--green-600);
}
.po-card__ico [data-lucide] { width: 22px; height: 22px; }
.po-card__title { margin: 0; font-size: 17px; line-height: 1.3; color: var(--ink); }
.po-card__text { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--ink-3); }

/* — 11. шкала сезона — */
.po-season__card { padding: 26px; border-radius: 20px; border: 1px solid var(--line-2); background: #fff; }
.po-season__scale {
  margin: 0; padding: 0; list-style: none;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 6px;
}
.po-season__month { display: grid; gap: 8px; text-align: center; }
.po-season__bar { display: block; height: 14px; border-radius: 999px; background: var(--line-2); }
.po-season__month.is-on .po-season__bar { background: var(--green-600); }
.po-season__name { font-size: 13px; color: var(--muted); }
.po-season__month.is-on .po-season__name { color: var(--ink); font-weight: 700; }
.po-season__legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; }
.po-season__key { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); }
.po-season__key::before { content: ""; width: 12px; height: 12px; border-radius: 4px; background: var(--line-2); }
.po-season__key--on::before { background: var(--green-600); }

/* — 12–13. сроки и гарантия — */
.po-terms__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.po-terms__card { min-width: 0; padding: 26px; border-radius: 20px; border: 1px solid var(--line-2); background: #fff; }
.po-terms__card--accent { background: #F6FAF4; border-color: rgba(44,122,63,.35); }
.po-terms__title { margin: 6px 0 14px; font-family: 'Lora', Georgia, serif; font-size: 30px; line-height: 1.15; color: var(--ink); }
.po-terms__text { margin: 0 0 14px; font-size: 15px; line-height: 1.5; color: var(--ink-3); }
.po-terms__nums { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.po-terms__num { display: grid; gap: 4px; padding: 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line-2); }
.po-terms__big { font-family: 'Lora', Georgia, serif; font-size: 28px; font-weight: 700; color: var(--green-700); }
.po-terms__lab { font-size: 13.5px; line-height: 1.4; color: var(--ink-3); }
.po-terms__why { margin: 0 0 8px; font-weight: 600; font-size: 14.5px; color: var(--ink-2); }
.po-terms__list { margin: 0 0 14px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.po-terms__list li {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 6px 12px; border-radius: 999px; font-size: 13.5px; color: var(--ink-2); background: var(--line-2);
}
.po-terms__list [data-lucide] { width: 13px; height: 13px; }
.po-terms__summary { display: flex; gap: 8px; margin: 0; font-size: 14.5px; line-height: 1.45; font-weight: 600; color: var(--ink); }
.po-terms__summary [data-lucide] { width: 18px; height: 18px; flex-shrink: 0; color: var(--green-600); }

/* — 16. квиз: состояние картинками, размеры, галочки — */
.po-swatch--dull { background: linear-gradient(135deg, #3b3f42, #5d6266); }
.po-swatch--peeling { background: linear-gradient(135deg, #2a2d30 0%, #2a2d30 45%, #8a6a52 46%, #3a3d40 60%); }
.po-swatch--rust { background: linear-gradient(135deg, #3a3d40, #7a4a2c 55%, #a0582a); }
.po-swatch--corrosion { background: linear-gradient(135deg, #6b3316, #a4552a 50%, #4a2410); }
.po-states .quiz-mat__swatch img { position: absolute; inset: 0; }
.po-quiz-size { display: flex; align-items: flex-end; gap: 10px; margin-bottom: 12px; }
.po-quiz-size__field { display: grid; gap: 6px; flex: 1 1 0; min-width: 0; font-size: 13.5px; color: var(--muted); }
.po-quiz-size__field--wide { margin-bottom: 12px; }
.po-quiz-size__x { padding-bottom: 12px; font-size: 20px; color: var(--muted); }
.po-quiz-check {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 10px;
  font-size: 14.5px; color: var(--ink-2); cursor: pointer;
}
.po-quiz-check input { width: 18px; height: 18px; accent-color: var(--green-600); }

/* — мобильные — */

