/* ===================== КОМБИНИРОВАННЫЕ ОГРАДЫ =====================
   /ograda/kombinirovannaya. Подключается через ViewData["CssPage"] после бандлов,
   поэтому здесь только своё (классы ko-*) и точечные правки общих блоков внутри .ko-page.
   Отступы между блоками — service-page--rhythm (56px, service.css), своих здесь нет. */

.ko-center-cta { margin: 24px 0 0; text-align: center; }

/* ——— 3. Каталог вариантов ————————————————————————————————————————— */
.ko-catalog__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.ko-variant {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
  transition: box-shadow .2s ease, transform .2s ease;
}
.ko-variant:hover { box-shadow: 0 18px 40px -28px rgba(15, 23, 42, .35); transform: translateY(-2px); }
.ko-variant__pic {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  padding: 0;
  border: 0;
  background: #eef0ee;
  cursor: zoom-in;
  overflow: hidden;
}
.ko-variant__body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 16px 18px 18px; }
.ko-variant__title { margin: 0; font-size: 17px; font-weight: 700; line-height: 1.3; color: var(--ink); }
.ko-variant__specs { display: grid; gap: 6px; margin: 0; font-size: 14px; }
.ko-variant__specs > div { display: flex; justify-content: space-between; gap: 12px; }
.ko-variant__specs dt { color: var(--ink-3); }
.ko-variant__specs dd { margin: 0; text-align: right; color: var(--ink-2); font-weight: 500; }
.ko-variant__price { margin-top: auto; font-size: 20px; font-weight: 700; color: var(--green-700); }
.ko-variant__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid var(--green-600);
  color: var(--green-700);
  font-weight: 600;
  font-size: 14.5px;
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.ko-variant__btn:hover { background: var(--green-50); }   /* наведение — лёгкая подсветка фона (владелец 2026-10-21) */
.ko-variant__btn [data-lucide] { width: 16px; height: 16px; }

/* ——— 5–6. Промо и примеры проектов ——————————————————————————————— */
.ko-page .ko-requests .svc-memorial-steps { margin-top: 16px; }
.ko-page .ko-requests__head { margin-top: 40px; }
.ko-promo__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14.5px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px dashed rgba(255, 255, 255, .55);
}
/* Ссылка стоит на зелёной плашке — тёмно-зелёный текст на ней не читался. */
.ko-promo__link:hover { border-bottom-color: #fff; }
.ko-promo__link [data-lucide] { width: 16px; height: 16px; }

/* ——— 7. Зачем комбинировать ———————————————————————————————————————— */
.ko-why__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ko-why__card {
  padding: 22px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #fff;
  min-width: 0;
}
.ko-why__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.ko-why__ico {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--green-50, #eef6f0);
  color: var(--green-700);
}
.ko-why__ico [data-lucide] { width: 22px; height: 22px; }
.ko-why__num { font-family: 'Lora', Georgia, serif; font-size: 28px; font-weight: 600; color: rgba(44, 122, 63, .25); }
.ko-why__title { margin: 0 0 8px; font-size: 17px; font-weight: 700; line-height: 1.3; color: var(--ink); }
.ko-why__text { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--ink-3); }

/* ——— 8. Сравнение трёх типов ——————————————————————————————————————— */
.ko-compare__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.ko-compare__col {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
}
.ko-compare__col--current { border-color: var(--green-500); box-shadow: 0 0 0 1px var(--green-500); }
.ko-compare__pic { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #eef0ee; }
.ko-compare__head { padding: 18px 20px 6px; }
.ko-compare__name { margin: 0 0 4px; font-size: 19px; font-weight: 700; color: var(--ink); }
.ko-compare__tag { margin: 0; font-size: 14px; color: var(--ink-3); }
.ko-compare__rows { margin: 0; padding: 6px 20px 8px; flex: 1; }
.ko-compare__row { padding: 10px 0; border-top: 1px solid var(--line); }
.ko-compare__row dt {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 3px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.ko-compare__row dt [data-lucide] { width: 14px; height: 14px; color: var(--green-600); }
.ko-compare__row dd { margin: 0; font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }
.ko-compare__link,
.ko-compare__here {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 4px 20px 20px;
  font-size: 14.5px;
  font-weight: 600;
}
.ko-compare__link { color: var(--green-700); text-decoration: none; }
.ko-compare__link [data-lucide] { width: 16px; height: 16px; }
.ko-compare__here { color: var(--ink-3); }

/* ——— 10. Основание ——————————————————————————————————————————————— */
.ko-base__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.ko-base__stack { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; list-style: none; }
.ko-base__layer {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
}
/* Снизу вверх светлее: грунт — тёмный, пролёты — светлые. */
.ko-base__layer--1 { background: #5b4a3a; border-color: #5b4a3a; color: #fff; }
.ko-base__layer--2 { background: #8d8a84; border-color: #8d8a84; color: #fff; }
.ko-base__layer--3 { background: #3c3f44; border-color: #3c3f44; color: #fff; }
.ko-base__layer--4 { background: #eef1f3; }
.ko-base__layer--5 { background: #fff; }
.ko-base__layer-ico {
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .16);
  color: inherit;
}
.ko-base__layer--4 .ko-base__layer-ico,
.ko-base__layer--5 .ko-base__layer-ico { background: var(--green-50, #eef6f0); color: var(--green-700); }
.ko-base__layer-ico [data-lucide] { width: 20px; height: 20px; }
.ko-base__layer-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ko-base__layer-name { font-weight: 700; font-size: 15.5px; }
.ko-base__layer-text { font-size: 13.5px; opacity: .85; }
.ko-base__side { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.ko-base__pic { position: relative; aspect-ratio: 3 / 2; border-radius: 18px; overflow: hidden; background: #eef0ee; }
.ko-base__points { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ko-base__points li { display: flex; gap: 10px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.ko-base__points [data-lucide] { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 2px; color: var(--green-600); }

/* ——— 12. Цвет металла и камня ———————————————————————————————————— */
.ko-colors__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.ko-color {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
}
.ko-color__pic { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #eef0ee; }
.ko-color__swatch { display: grid; grid-template-rows: 3fr 1fr; aspect-ratio: 4 / 3; }
.ko-color__stone,
.ko-color__metal { display: block; }
.ko-color__body { padding: 14px 16px 16px; }
.ko-color__title { margin: 0 0 6px; font-size: 15.5px; font-weight: 700; line-height: 1.3; color: var(--ink); }
.ko-color__text { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink-3); }

/* ——— 13. Стоимость: четыре тарифа ——————————————————————————————— */
.ko-page .svc-memorial-pricing__tiers.ko-pricing__tiers { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ko-pricing__note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  font-size: 15px;
  color: var(--ink-2);
  text-align: center;
}
.ko-pricing__note [data-lucide] { width: 18px; height: 18px; color: var(--green-600); }

/* ——— 14. Калькулятор ————————————————————————————————————————————— */
.ko-calc__card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 360px);
  gap: 28px;
  padding: 28px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: #fff;
}
.ko-calc__form { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.ko-calc__label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
}
.ko-calc__label [data-lucide] { width: 17px; height: 17px; color: var(--green-600); }
.ko-calc__size { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; }
.ko-calc__field { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--ink-3); }
.ko-calc__field input {
  width: 110px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  font: inherit;
  font-size: 16px;
  color: var(--ink);
}
.ko-calc__field input:focus { outline: none; border-color: var(--green-500); box-shadow: 0 0 0 3px rgba(44, 122, 63, .15); }
.ko-calc__x { padding-bottom: 10px; color: var(--ink-3); }
.ko-calc__perimeter {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-left: 8px;
  padding: 8px 14px;
  border-radius: 12px;
  background: var(--green-50, #eef6f0);
  font-size: 13px;
  color: var(--ink-3);
}
.ko-calc__perimeter b { font-size: 17px; color: var(--green-700); }
.ko-calc__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ko-calc__chip {
  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 .18s ease, color .18s ease, border-color .18s ease;
}
.ko-calc__chip:hover { border-color: var(--green-500); color: var(--green-700); }
.ko-calc__chip.is-on { background: var(--green-600); border-color: var(--green-600); color: #fff; }
.ko-calc__row3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ko-calc__result {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
  border-radius: 18px;
  background: #f5f8f5;
  min-width: 0;
}
.ko-calc__result-label { font-size: 13px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; color: var(--ink-3); }
.ko-calc__total { font-family: 'Lora', Georgia, serif; font-size: 26px; font-weight: 600; line-height: 1.25; color: var(--green-700); }
.ko-calc__lines { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: 14px; }
.ko-calc__lines li { display: flex; justify-content: space-between; gap: 12px; color: var(--ink-2); }
.ko-calc__lines b { white-space: nowrap; font-weight: 600; }
.ko-calc__note { margin: 0; font-size: 13px; line-height: 1.5; color: var(--ink-3); }
.ko-calc__cta { justify-content: center; margin-top: auto; }

/* ——— 16. Эскиз перед производством ————————————————————————————— */
.ko-sketch {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 820px;
  margin: 28px auto 0;
  padding: 16px 20px;
  border-radius: 16px;
  border: 1px dashed rgba(44, 122, 63, .45);
  background: #fff;
}
.ko-sketch p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.ko-sketch__ico { flex: 0 0 auto; color: var(--green-600); }
.ko-sketch__ico [data-lucide] { width: 24px; height: 24px; }

/* ——— 17. Участки без кадров — списком ———————————————————————————— */
.ko-plots__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.ko-plots__item {
  display: flex;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  min-width: 0;
}
.ko-plots__ico { color: var(--green-600); }
.ko-plots__ico [data-lucide] { width: 20px; height: 20px; }
.ko-plots__name { display: block; margin-bottom: 4px; color: var(--ink); }
.ko-plots__meta { font-size: 14px; color: var(--ink-3); }

/* ——— Адаптив ——————————————————————————————————————————————————— */

/* ——— Телефон: второй круг (2026-10-19) ——————————————————————————— */

