/* ===================== НАЗЕМНОЕ ПОКРЫТИЕ =====================
   /blagoustrojstvo/nazemnoe-pokrytie. Подключается через ViewData["CssPage"] после бандлов,
   поэтому здесь только своё (классы np-*) и точечные правки общих блоков внутри .np-page.
   Ритм 56px между блоками на десктопе даёт .service-page--rhythm (bundles/service.css). */

.np-visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* — образцы материалов: CSS-«фактура» вместо картинки (квиз, вкладки, схема участка) — */
.np-swatch { background-color: #B9B4AA; }
.np-swatch--brus {
  background-color: #6F6A66;
  background-image:
    linear-gradient(90deg, rgba(30,30,30,.35) 2px, transparent 2px),
    linear-gradient(0deg, rgba(30,30,30,.35) 2px, transparent 2px),
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.12), transparent 60%);
  background-size: 22px 14px, 22px 14px, 100% 100%;
}
.np-swatch--plitka {
  background-color: #A9A39A;
  background-image:
    linear-gradient(90deg, rgba(60,55,50,.28) 2px, transparent 2px),
    linear-gradient(0deg, rgba(60,55,50,.28) 2px, transparent 2px);
  background-size: 28px 28px;
}
.np-swatch--kroshka {
  background-color: #E7E3DA;
  background-image:
    radial-gradient(circle at 20% 30%, #CFC9BD 1.5px, transparent 2px),
    radial-gradient(circle at 70% 60%, #BDB6A8 1.5px, transparent 2px),
    radial-gradient(circle at 45% 85%, #D8D2C6 1.5px, transparent 2px);
  background-size: 9px 9px, 11px 11px, 7px 7px;
}
.np-swatch--gazon {
  background-color: #5E8F45;
  background-image:
    repeating-linear-gradient(100deg, rgba(255,255,255,.08) 0 2px, transparent 2px 5px),
    repeating-linear-gradient(80deg, rgba(0,0,0,.08) 0 1px, transparent 1px 4px);
}

/* — общие мелочи — */
.np-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 20px 0 0;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-3);
}
.np-note [data-lucide] { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; color: var(--green-600); }
.np-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--green-700);
}
.np-link [data-lucide] { width: 16px; height: 16px; }
.np-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1.5px solid var(--green-600);
  background: var(--green-600);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  transition: background .15s, color .15s;
}
.np-btn:hover { background: var(--green-700); border-color: var(--green-700); }
.np-btn--ghost { background: #fff; color: var(--green-700); }
.np-btn--ghost:hover { background: var(--green-50); color: var(--green-700); }
.np-checks {
  display: grid;
  gap: 8px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}
.np-checks li { display: flex; align-items: flex-start; gap: 8px; font-size: 15px; line-height: 1.4; color: var(--ink-2); }
.np-checks [data-lucide] { width: 17px; height: 17px; flex-shrink: 0; margin-top: 2px; color: var(--green-600); }
.np-checks--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.np-center-cta { margin: 26px 0 0; text-align: center; }

/* ——— 2. Виды покрытия ———————————————————————————————————————————— */
.np-cover { display: flex; flex-direction: column; }
.np-cover__swatch { aspect-ratio: 3 / 2; }
.np-cover__body { display: flex; flex-direction: column; gap: 10px; flex: 1 1 auto; padding: 16px 18px 18px; }
.np-cover__head { display: flex; align-items: center; gap: 12px; }
.np-cover__head .svc-mem-design-card__name { margin: 0; }
.np-cover__text { margin: 0; font-size: 14px; line-height: 1.45; color: var(--ink-3); }
.np-cover__price { font-size: 18px; font-weight: 700; color: var(--ink); margin-top: auto; }
.np-cover__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }

/* ——— 3. Сравнение ——————————————————————————————————————————————— */
.np-compare__table-wrap {
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--card);
  overflow: hidden;
}
.np-compare__table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.np-compare__table th,
.np-compare__table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line-2);
  font-size: 14.5px;
  line-height: 1.4;
  text-align: left;
  vertical-align: top;
  color: var(--ink-2);
}
.np-compare__table tbody tr:last-child th,
.np-compare__table tbody tr:last-child td { border-bottom: 0; }
.np-compare__table thead th { font-size: 15px; font-weight: 700; color: var(--ink); background: #F4F6F1; }
.np-compare__table tbody th { font-weight: 600; color: var(--ink); width: 20%; }
.np-compare__table tbody th [data-lucide] { width: 16px; height: 16px; margin-right: 6px; vertical-align: -3px; color: var(--green-600); }
.np-compare__dot {
  display: inline-block;
  width: 14px; height: 14px;
  margin-right: 8px;
  border-radius: 4px;
  vertical-align: -2px;
}
.np-compare__cards { display: none; }
.np-compare__card {
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--card);
}
.np-compare__card-title { margin: 0 0 10px; font-size: 17px; color: var(--ink); }
.np-compare__card dl { margin: 0; display: grid; gap: 6px; }
.np-compare__card dl div { display: grid; grid-template-columns: minmax(0, 110px) minmax(0, 1fr); gap: 10px; }
.np-compare__card dt { font-size: 13.5px; color: var(--muted); }
.np-compare__card dd { margin: 0; font-size: 14px; color: var(--ink-2); }

/* ——— 4. Сценарии ———————————————————————————————————————————————— */
.np-scenarios__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.np-scenario {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas: "ico title" "ico pick" "ico text";
  gap: 4px 14px;
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--card);
  color: inherit;
  transition: border-color .15s, transform .12s;
}
.np-scenario:hover { border-color: var(--green-500); transform: translateY(-2px); }
.np-scenario__ico {
  grid-area: ico;
  width: 42px; height: 42px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--green-50);
  color: var(--green-700);
}
.np-scenario__ico [data-lucide] { width: 20px; height: 20px; }
.np-scenario__title { grid-area: title; font-size: 16px; font-weight: 700; line-height: 1.3; color: var(--ink); }
.np-scenario__pick { grid-area: pick; display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 600; color: var(--green-700); }
.np-scenario__pick [data-lucide] { width: 15px; height: 15px; }
.np-scenario__text { grid-area: text; font-size: 13.5px; line-height: 1.45; color: var(--muted); }

/* ——— 5. Промо: вторая кнопка ————————————————————————————————————— */
.np-page .np-promo { padding-top: 8px; padding-bottom: 8px; }
.np-page .np-promo .svc-memorial-steps { margin-top: 16px; }
.np-promo__ghost {
  display: inline-block;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--green-700);
  border-bottom: 1px dashed rgba(44,122,63,.4);
}

/* ——— 6. До / После: горизонтальные кадры участка ——————————————————— */
.np-cases .svc-oform-pair__shot { aspect-ratio: 4 / 3; }
.np-case { display: flex; flex-direction: column; }
.np-case__meta {
  margin: 0 0 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--green-700);
}
.np-case .np-link { margin-top: auto; padding-top: 12px; }
.np-case__flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  color: var(--green-700);
}
.np-case__flow [data-lucide] { width: 18px; height: 18px; }
.np-case__stage,
.np-case__after {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
}
.np-case__stage { background: #8C7A64; color: #fff; }
.np-case__after { color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.45); }

/* ——— 7. Один участок — четыре варианта ——————————————————————————— */
.np-variants__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.np-variants__tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font: inherit;
  font-size: 14.5px;
  color: var(--ink-3);
  cursor: pointer;
}
.np-variants__tab:hover { border-color: var(--green-500); }
.np-variants__tab.is-on { border-color: var(--green-600); background: var(--green-50); color: var(--ink); font-weight: 600; }
.np-variants__tab-dot { width: 16px; height: 16px; border-radius: 5px; }
.np-variants__card {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding: 20px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--card);
}
.np-variants__stage {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  overflow: hidden;
  background: var(--line-2);
}
.np-variants__view { position: absolute; inset: 0; }
.np-variants__tag {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--green-50);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--green-700);
}
.np-variants__title { margin: 12px 0 8px; font-family: 'Lora', Georgia, serif; font-size: 28px; line-height: 1.15; color: var(--ink); }
.np-variants__text { margin: 0 0 16px; font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }

/* Схема участка, пока нет кадров: стела, цоколь и «земля» из образца материала. */
.np-plot { position: absolute; inset: 0; background: linear-gradient(180deg, #E9EEF1 0%, #F1EFE8 55%); }
.np-plot__ground {
  position: absolute;
  left: 8%; right: 8%; bottom: 8%;
  height: 42%;
  border-radius: 6px;
  transform: perspective(600px) rotateX(38deg);
  transform-origin: bottom center;
  box-shadow: inset 0 0 0 6px #8E8E8A;
}
.np-plot__stele {
  position: absolute;
  left: 50%; bottom: 44%;
  width: 22%; height: 42%;
  transform: translateX(-50%);
  border-radius: 6px 6px 0 0;
  background: linear-gradient(160deg, #3A3F42 0%, #1C1F21 100%);
  z-index: 2;
}
.np-plot__cokol {
  position: absolute;
  left: 50%; bottom: 41%;
  width: 30%; height: 4%;
  transform: translateX(-50%);
  background: #2A2D2F;
  z-index: 2;
}

/* ——— 8. Разрез основания ———————————————————————————————————————— */
.np-base__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
}
.np-base__grid--no-pic { grid-template-columns: minmax(0, 1fr); }
.np-base__pic { position: relative; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; background: var(--line-2); }
.np-layers {
  margin: 0;
  padding: 0;
  list-style: none;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--card);
}
.np-layer {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  align-items: stretch;
  border-bottom: 1px solid var(--line-2);
}
.np-layer:last-child { border-bottom: 0; }
.np-layer__band { min-height: 64px; }
.np-layer__body { display: flex; flex-direction: column; justify-content: center; gap: 3px; padding: 12px 18px; }
.np-layer__title { font-size: 15.5px; font-weight: 700; color: var(--ink); }
.np-layer__text { font-size: 13.5px; line-height: 1.45; color: var(--ink-3); }
/* Цвет полосы — как слой в разрезе: сверху покрытие, внизу грунт. */
.np-layer--cover .np-layer__band {
  background-color: #6F6A66;
  background-image: linear-gradient(90deg, rgba(30,30,30,.4) 2px, transparent 2px);
  background-size: 24px 100%;
}
.np-layer--bed .np-layer__band { background: #CBBE9E; background-image: radial-gradient(circle, rgba(120,100,70,.25) 1px, transparent 1.5px); background-size: 6px 6px; }
.np-layer--geo .np-layer__band { background: repeating-linear-gradient(45deg, #F2F2EE 0 4px, #DADAD2 4px 6px); }
.np-layer--edge .np-layer__band { background: linear-gradient(90deg, #9A9A94 0 14px, #B8B2A3 14px); }
.np-layer--compact .np-layer__band { background: #A08A6A; background-image: repeating-linear-gradient(0deg, rgba(0,0,0,.08) 0 2px, transparent 2px 7px); }
.np-layer--soil .np-layer__band { background: #6B5440; background-image: radial-gradient(circle, rgba(0,0,0,.18) 1.5px, transparent 2px); background-size: 9px 9px; }

/* ——— 10. Сорняки ————————————————————————————————————————————————— */
.np-weeds__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.np-weeds__list li { display: flex; align-items: flex-start; gap: 12px; }
.np-weeds__list li > span:last-child { display: flex; flex-direction: column; gap: 2px; font-size: 13.5px; line-height: 1.45; color: var(--ink-3); }
.np-weeds__list b { font-size: 15px; color: var(--ink); }
.np-weeds__ico {
  width: 36px; height: 36px;
  flex-shrink: 0;
  border-radius: 10px;
  display: grid; place-items: center;
  background: #fff;
  color: var(--green-700);
}
.np-weeds__ico [data-lucide] { width: 18px; height: 18px; }

/* ——— 11. Технология ————————————————————————————————————————————— */
.np-tech__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.np-tech__card { border-radius: 16px; border: 1px solid var(--line-2); background: var(--card); overflow: hidden; }
.np-tech__pic { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--line-2); }
.np-tech__body { padding: 16px 18px 18px; }
.np-tech__title { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 16px; color: var(--ink); }
.np-tech__title [data-lucide] { width: 18px; height: 18px; color: var(--green-600); }
.np-tech__steps { margin: 0 0 12px; padding: 0; list-style: none; counter-reset: np-step; display: grid; gap: 6px; }
.np-tech__steps li { counter-increment: np-step; display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); }
.np-tech__steps li::before {
  content: counter(np-step);
  width: 22px; height: 22px;
  flex-shrink: 0;
  border-radius: 999px;
  display: grid; place-items: center;
  font-size: 12px; font-weight: 700;
  color: var(--green-700);
  background: var(--green-50);
}
.np-tech__note { margin: 0; font-size: 13px; line-height: 1.45; color: var(--muted); }

/* ——— 12. Новый участок / готовый памятник ————————————————————————— */
.np-sides__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.np-side { border-radius: 20px; border: 1px solid var(--line); background: var(--card); overflow: hidden; }
.np-side--accent { border-color: rgba(46,140,75,.3); background: #F4F8F1; }
.np-side__pic { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--line-2); }
.np-side__body { padding: 20px 22px 6px; }
.np-side__title { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; font-size: 20px; color: var(--ink); }
.np-side__ico {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: grid; place-items: center;
  background: var(--green-50);
  color: var(--green-700);
}
.np-side__ico [data-lucide] { width: 18px; height: 18px; }
.np-side__lead { margin: 0 0 14px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }

/* ——— 13. Дозахоронение ——————————————————————————————————————————— */
.np-reopen__row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}
.np-reopen__item { display: flex; flex-direction: column; gap: 4px; }
.np-reopen__pic {
  position: relative;
  aspect-ratio: 4 / 3;
  margin-bottom: 8px;
  border-radius: 14px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: var(--green-50);
}
.np-reopen__ico [data-lucide] { width: 34px; height: 34px; color: var(--green-600); }
.np-reopen__name { font-size: 15.5px; font-weight: 700; color: var(--ink); }
.np-reopen__text { font-size: 13.5px; line-height: 1.45; color: var(--ink-3); }

/* ——— 14. Цены: четыре карточки без кадров ———————————————————————— */
.np-page .np-prices .svc-memorial-pricing__tiers { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 0; }

/* ——— 15. Калькулятор ————————————————————————————————————————————— */
.np-calc__card {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 28px;
  padding: 28px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--card);
}
.np-calc__form { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.np-calc__label { display: block; margin-bottom: 8px; padding: 0; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.np-calc__sizes {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) minmax(0, 1fr);
  align-items: end;
  gap: 12px;
}
.np-calc__field input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: #fff;
  font: inherit;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
}
.np-calc__field input:focus { outline: none; border-color: var(--green-600); }
.np-calc__times { padding-bottom: 12px; font-size: 20px; color: var(--muted); }
.np-calc__area b {
  display: block;
  padding: 11px 14px;
  border-radius: 12px;
  background: var(--green-50);
  font-size: 18px;
  color: var(--green-700);
  white-space: nowrap;
}
.np-calc__group { margin: 0; padding: 0; border: 0; min-width: 0; }
.np-calc__pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.np-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.np-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font: inherit;
  font-size: 14.5px;
  color: var(--ink-3);
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.np-chip:hover { border-color: var(--green-500); color: var(--green-700); }
.np-chip.is-on { background: var(--green-600); border-color: var(--green-600); color: #fff; }
.np-chip__dot { width: 14px; height: 14px; border-radius: 4px; box-shadow: 0 0 0 1px rgba(255,255,255,.6); }
.np-calc__result {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  border-radius: 18px;
  background: #EEF2EA;
  border: 1px solid rgba(46,140,75,.14);
  min-width: 0;
}
.np-calc__result-label { font-size: 14px; font-weight: 600; color: var(--ink-3); }
.np-calc__sum { font-family: 'Lora', Georgia, serif; font-size: 30px; font-weight: 600; line-height: 1.15; color: var(--ink); }
.np-calc__lines { display: grid; gap: 6px; margin: 4px 0; padding: 0; list-style: none; }
.np-calc__lines li { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; color: var(--ink-3); }
.np-calc__lines b { font-weight: 600; color: var(--ink-2); text-align: right; }
.np-calc__hint { display: flex; align-items: flex-start; gap: 8px; margin: 0; font-size: 13.5px; line-height: 1.45; color: #8A5A1C; }
.np-calc__hint [data-lucide] { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; }
.np-calc__cta { align-self: flex-start; margin-top: 6px; }
.np-calc__note { margin: 0; font-size: 12.5px; line-height: 1.45; color: var(--muted); }

/* ——— 17. Через годы ——————————————————————————————————————————————— */
.np-years__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.np-year__media {
  position: relative;
  aspect-ratio: 4 / 3;
  margin-bottom: 12px;
  border-radius: 16px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: var(--green-50);
}
.np-year__ico [data-lucide] { width: 40px; height: 40px; color: var(--green-600); }
.np-year__label {
  position: absolute;
  left: 12px; top: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  font-size: 13px;
  font-weight: 700;
  color: var(--green-700);
  box-shadow: 0 4px 12px rgba(20,24,26,.12);
}
.np-year__play {
  position: absolute;
  left: 50%; top: 50%;
  width: 60px; height: 60px;
  transform: translate(-50%, -50%);
  border: 0;
  border-radius: 999px;
  display: grid; place-items: center;
  background: rgba(0,0,0,.55);
  color: #fff;
  cursor: pointer;
}
.np-year__play svg { width: 26px; height: 26px; margin-left: 3px; }
.np-year__play:hover { background: var(--green-600); }
.np-year__title { margin: 0 0 4px; font-size: 17px; color: var(--ink); }
.np-year__text { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink-3); }

/* ——— 18. Квиз: покрытие «картинками» ——————————————————————————————— */
.np-quiz-covers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.np-quiz-cover__swatch { box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }

/* ——— мобильные ——— */

/* На ≤1024 ритм 56px не действует — свои блоки получают вертикальные отступы сами. */

