/* === Внутренние страницы: /cases/, /biznes-centry/, /contacts/ ===============
   Подключается через extraCss. Опирается на палитру и .container из style.css
   и на золотой градиент из office.css.
   Первая часть — общая шапка страницы, дальше блоки по разделам. */

/* --- Шапка страницы --------------------------------------------------------
   Тёмная, как первый экран статьи: сразу отделяет раздел от светлой главной. */
.page-hero {
  background: var(--bg-dark);
  color: var(--text-light);
  padding-top: 132px;
  padding-bottom: 72px;
}

/* Крошки повторяют стиль статьи — раздел и разбор объекта читаются как одно целое. */
.page-hero .breadcrumbs {
  font-size: 12px;
  color: rgba(245, 243, 239, 0.6);
  margin-bottom: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.page-hero .breadcrumbs a {
  color: rgba(245, 243, 239, 0.6);
  text-decoration: none;
  transition: color 0.2s;
}
.page-hero .breadcrumbs a:hover { color: var(--accent-bright); }
.page-hero .breadcrumbs .sep { opacity: 0.4; }

.page-hero .section-tag { color: var(--accent-bright); }

.page-hero h1 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 46px;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 22px;
  max-width: 18ch;
}
.page-hero h1 em { font-style: normal; color: var(--accent-bright); }

.page-lead {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-light-muted);
  max-width: 68ch;
}

.page-stats {
  list-style: none;
  margin: 42px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 56px;
}
.page-stats li { display: flex; flex-direction: column; gap: 6px; }
.page-stat-num {
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 700;
  line-height: 1;
  color: var(--accent-bright);
}
.page-stat-num sup {
  font-size: 14px;
  font-weight: 600;
  margin-left: 3px;
  vertical-align: super;
}
.page-stat-label {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light-muted);
}

/* --- Сетка карточек --------------------------------------------------------
   Две колонки на десктопе, одна на планшете и мобильном. */
.cases-list-section { background: var(--bg-cream); }

.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

/* Нечётная последняя карточка осталась в ряду одна — тянем её на всю ширину
   и раскладываем в строку (фото слева, описание справа). Иначе рядом зияет
   пустая ячейка. Работает и когда кейс на витрине всего один. */
.cases-grid > .case-card:nth-child(odd):last-child {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: stretch;
}
.cases-grid > .case-card:nth-child(odd):last-child .case-card-media { flex: 0 0 46%; aspect-ratio: auto; }
.cases-grid > .case-card:nth-child(odd):last-child .case-card-body { padding: 34px 38px 30px; }

.case-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.case-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.case-card[id] { scroll-margin-top: 104px; }

.case-card-media { position: relative; aspect-ratio: 3 / 2; background: var(--bg-paper); }
.case-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Метраж поверх фото — главный признак, по которому объекты сравнивают. */
.case-card-area {
  position: absolute;
  left: 18px;
  bottom: 18px;
  background: var(--grad-y);
  color: #1a1a1a;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
  padding: 10px 16px;
  border-radius: 100px;
}
.case-card-area sup { font-size: 12px; font-weight: 700; margin-left: 2px; }
/* объект в работе — плашка в углу снимка, чтобы карточку не приняли за сданный */
.case-card-status {
  position: absolute;
  top: 18px;
  left: 18px;
  background: rgba(15,13,11,.72);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 100px;
}

.case-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 28px 30px 24px;
  gap: 18px;
}

.case-card-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
}
.case-card-name {
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
  margin: 0 0 8px;
}
.case-card-meta {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0;
}

.case-card-lead {
  font-size: 15px;
  line-height: 1.62;
  color: var(--text-body);
  margin: 0;
}

.case-card-zones {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.case-card-zones li {
  font-size: 12.5px;
  color: var(--text-body);
  background: var(--bg-paper);
  border-radius: 100px;
  padding: 6px 14px;
}

/* Подвал карточки прижат к низу — у карточек разной высоты кнопки в одну линию. */
.case-card-foot {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.case-card-term {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.case-card-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  text-decoration: none;
  background: var(--grad-y);
  padding: 11px 12px 11px 20px;
  border-radius: 100px;
  transition: box-shadow 0.25s ease;
}
.case-card-link:hover { box-shadow: 0 10px 26px rgba(240, 165, 0, 0.34); }
/* «Хочу такой же» — второстепенное действие у кейсов без своей страницы. */
.case-card-link--quiz {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-body);
}
.case-card-link--quiz:hover {
  border-color: var(--accent-soft);
  color: var(--text-dark);
  box-shadow: none;
}
.case-card-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(26, 26, 26, 0.1);
  font-size: 14px;
  transition: transform 0.2s ease;
}
.case-card-link:hover .case-card-arrow { transform: translateX(3px); }

/* --- Замыкающий призыв ----------------------------------------------------- */
.page-cta { background: var(--bg-cream); padding-top: 0; }
.page-cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 44px 48px;
  background: var(--bg-dark);
  color: var(--text-light);
  border-radius: 4px;
}
.page-cta-text { min-width: 0; }
.page-cta h2 {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 10px;
}
.page-cta p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-light-muted);
  max-width: 56ch;
}

@media (max-width: 1024px) {
  .page-hero { padding-top: 108px; }
  .page-hero h1 { font-size: 36px; }
  .cases-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  /* В одну колонку строчная раскладка не нужна — карточка снова вертикальная. */
  .cases-grid > .case-card:nth-child(odd):last-child { flex-direction: column; }
  .cases-grid > .case-card:nth-child(odd):last-child .case-card-media { flex: none; aspect-ratio: 3 / 2; }
  .cases-grid > .case-card:nth-child(odd):last-child .case-card-body { padding: 28px 30px 24px; }
}

@media (max-width: 768px) {
  /* Под шапкой на мобильном ещё строка контактов — крошкам нужен запас. */
  .page-hero { padding-top: 118px; padding-bottom: 52px; }
  .page-hero h1 { font-size: 30px; }
  .page-lead { font-size: 15px; }
  .page-stats { gap: 18px 32px; margin-top: 32px; }
  .page-stat-num { font-size: 30px; }
  .case-card-body { padding: 22px 20px 20px; gap: 14px; }
  .case-card-name { font-size: 21px; }
  .case-card-area { font-size: 22px; padding: 8px 14px; left: 14px; bottom: 14px; }
  .case-card-foot { flex-direction: column; align-items: flex-start; }
  .case-card-link { width: 100%; justify-content: space-between; }
  .page-cta-inner { padding: 28px 22px; }
  .page-cta h2 { font-size: 24px; }
}

/* === /biznes-centry/ — список площадок ===================================== */
.bclist-section { background: var(--bg-cream); }
.bclist-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 28px; margin-bottom: 28px; }
.bclist-heading h2 { margin: 0; font-size: 32px; font-weight: 700; line-height: 1.2; }
.bclist-developers { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; color: var(--text-body); font-size: 14px; }
.bclist-developers a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding-inline: 17px;
  border: 1px solid #777268;
  border-radius: 40px;
  color: var(--text-dark);
  font-weight: 800;
  line-height: 1.25;
  text-decoration: none;
}
.bclist-developers a span { font-size: 17px; line-height: 1; }
.bclist-developers a:hover { background: var(--bg-white); }
.bclist-developers a:focus-visible { outline: 2px solid var(--text-dark); outline-offset: 4px; }
@media (max-width: 600px) {
  .bclist-heading { align-items: flex-start; flex-direction: column; margin-bottom: 24px; }
  .bclist-heading h2 { font-size: 26px; }
}

.bclist-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

/* Одна карточка в двухколоночной сетке оставляла бы пустую половину строки. */
.bclist-grid > .bclist-card:nth-child(odd):last-child { grid-column: 1 / -1; }

.bclist-card {
  position: relative;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px 34px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 4px;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.bclist-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }

.bclist-card-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.bclist-card-logo { flex: 0 1 auto; min-width: 0; max-width: 60%; }
.bclist-card-logo img { max-height: 30px; height: auto; width: auto; max-width: 100%; display: block; object-fit: contain; object-position: left center; }
.bclist-card-status {
  flex: 0 0 auto; white-space: nowrap; line-height: 1.3;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-bg);
  border-radius: 100px;
  padding: 6px 12px;
}

.bclist-card-name {
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-dark);
  margin: 0;
}
.bclist-card-lead {
  font-size: 15px;
  line-height: 1.62;
  color: var(--text-body);
  margin: 0;
}

/* Площадки девелопера: у STONE их несколько под одним брендом. */
.bclist-card-objects {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.bclist-card-objects li {
  font-size: 12.5px;
  color: var(--text-body);
  background: var(--bg-paper);
  border-radius: 100px;
  padding: 6px 14px;
}

.bclist-card-facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  font-size: 13px;
  color: var(--text-muted);
}
.bclist-card-facts li { display: flex; align-items: center; gap: 8px; }
.bclist-card-facts li + li::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent-soft);
}

.bclist-card-link {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  text-decoration: none;
}
.bclist-card-arrow {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--grad-y);
  color: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  transition: transform 0.2s ease;
}
/* Кликабельна вся карточка, а не только нижняя строка: ссылка одна, её слой
   растянут псевдоэлементом на карточку. Второй ссылки на ту же страницу нет —
   для поисковика и скринридера это по-прежнему один переход с понятным текстом. */
.bclist-card-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.bclist-card-link:focus-visible { outline: none; }
.bclist-card:has(.bclist-card-link:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }
.bclist-card:hover .bclist-card-link { color: var(--accent); }
.bclist-card:hover .bclist-card-arrow { transform: translateX(3px); }

.bclist-note {
  margin: 32px 0 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 76ch;
}

/* === /contacts/ ============================================================ */
.contacts-section { background: var(--bg-cream); }

.contacts-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: start;
}

.contacts-info { display: flex; flex-direction: column; gap: 26px; }
.contacts-block { display: flex; flex-direction: column; gap: 6px; }
.contacts-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent);
}
.contacts-value {
  font-size: 19px;
  font-weight: 600;
  color: var(--text-dark);
  text-decoration: none;
}
a.contacts-value:hover { color: var(--accent); }
.contacts-value--lg { font-family: var(--serif); font-size: 30px; font-weight: 700; }
.contacts-note { font-size: 14px; line-height: 1.55; color: var(--text-muted); }

.contacts-messengers { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.contacts-messengers a {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-body);
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 7px 15px;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.contacts-messengers a:hover { border-color: var(--accent-soft); color: var(--text-dark); }

.contacts-map-link {
  margin-top: 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}
.contacts-map-link:hover { text-decoration: underline; }

.contacts-cta { align-self: flex-start; margin-top: 6px; }

/* Карту подгружает main.js по data-map-src — до этого работает фон-плейсхолдер. */
.contacts-map {
  min-height: 520px;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.contacts-map iframe { width: 100%; height: 100%; min-height: 520px; border: 0; display: block; }

.contacts-requisites-section { background: var(--bg-cream); padding-top: 0; }
.contacts-requisites-title {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 22px;
  padding-top: 44px;
  border-top: 1px solid var(--border);
}
.contacts-requisites {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 32px;
  margin: 0;
}
.contacts-requisite { display: flex; flex-direction: column; gap: 4px; }
.contacts-requisite dt {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.contacts-requisite dd { margin: 0; font-size: 15px; color: var(--text-dark); }
.contacts-requisite--wide { grid-column: span 3; }

@media (max-width: 1024px) {
  .bclist-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .contacts-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .contacts-map, .contacts-map iframe { min-height: 380px; }
  .contacts-requisites { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contacts-requisite--wide { grid-column: span 2; }
}

@media (max-width: 768px) {
  .bclist-card { padding: 24px 20px; }
  .bclist-card-name { font-size: 23px; }
  .bclist-card-top { flex-direction: column; align-items: flex-start; gap: 12px; }
  .bclist-card-link { font-size: 14px; }
  .contacts-value--lg { font-size: 26px; }
  .contacts-map, .contacts-map iframe { min-height: 300px; }
  .contacts-requisites { grid-template-columns: minmax(0, 1fr); }
  .contacts-requisite--wide { grid-column: span 1; }
  .contacts-requisites-title { font-size: 21px; padding-top: 32px; }
}

/* === Текстовый блок внутренних страниц ======================================
   Читаемая колонка под списком: объясняет услугу словами, которыми её ищут. */
.page-text { background: var(--bg-cream); padding-top: 0; }
.page-text-inner {
  max-width: 74ch;
  padding-top: 44px;
  border-top: 1px solid var(--border);
}
.page-text h2 {
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
  margin: 0 0 16px;
}
.page-text h2 + p { margin-top: 0; }
.page-text h2:not(:first-child) { margin-top: 36px; }
.page-text p {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.68;
  color: var(--text-body);
}
.page-text p:last-child { margin-bottom: 0; }

@media (max-width: 768px) {
  .page-text-inner { padding-top: 32px; }
  .page-text h2 { font-size: 22px; }
  .page-text h2:not(:first-child) { margin-top: 28px; }
  .page-text p { font-size: 15px; }
}

/* === Посадочные услуг: /remont-kabineta/ =====================================
   Шапка — общая .page-hero, витрина объектов — .cases-grid с /cases/,
   FAQ и форма — блок FaqCalc с главной. Здесь только свои секции. */
.svc-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
  margin-top: 30px;
}
.svc-hero-link {
  color: var(--text-light);
  font-size: 15px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(245, 243, 239, 0.35);
}
.svc-hero-link:hover { color: var(--accent-bright); }

.svc-section--cream { background: var(--bg-cream); }
.svc-section--white { background: var(--bg-white); }
.svc-section--dark { background: var(--bg-dark); color: var(--text-light); }
.svc-section--dark .section-tag { color: var(--accent-bright); }

.svc-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 38px;
  line-height: 1.15;
  max-width: 24ch;
  margin: 0 0 20px;
  color: var(--text-dark);
}
.svc-section--dark .svc-title { color: var(--text-light); }
.svc-lead {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-body);
  max-width: 68ch;
  margin: 0 0 40px;
}
.svc-section--dark .svc-lead { color: var(--text-light-muted); }
.svc-lead a, .svc-price-text a { color: inherit; text-decoration-color: var(--accent); text-underline-offset: 3px; }
/* Ссылки внутри карточек .svc-scope (форматы ремонта на «Стоимости»): без
   правила браузер красит их в синий, из палитры сайта выпадают. */
.svc-scope p a { color: inherit; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.svc-title + .svc-rooms { margin-top: 32px; }

/* Типы кабинетов: фото + короткий текст, две колонки. */
.svc-rooms {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
.svc-room {
  display: flex;
  flex-direction: column;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.svc-room-media { aspect-ratio: 3 / 2; background: var(--bg-paper); }
.svc-room-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.svc-room-body { padding: 26px 28px 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.svc-room-h { font-family: var(--serif); font-size: 22px; font-weight: 700; line-height: 1.25; margin: 0; color: var(--text-dark); }
.svc-room-p { margin: 0; font-size: 15px; line-height: 1.62; color: var(--text-body); }
.svc-room-link {
  margin-top: auto;
  padding-top: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 4px;
}
.svc-room-link:hover { color: var(--accent); }

/* Без остановки офиса — три шага на тёмном фоне. */
.svc-steps {
  list-style: none;
  counter-reset: svc-step;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.svc-steps li {
  counter-increment: svc-step;
  padding: 28px 26px;
  border: 1px solid var(--border-dark);
  border-radius: 4px;
}
.svc-steps li::before {
  content: counter(svc-step, decimal-leading-zero);
  display: block;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 800;
  color: var(--accent-bright);
  margin-bottom: 14px;
}
.svc-step-h { font-size: 19px; font-weight: 700; line-height: 1.3; margin: 0 0 10px; color: var(--text-light); }
.svc-steps p { margin: 0; font-size: 15px; line-height: 1.62; color: var(--text-light-muted); }

/* Состав работ — сетка из шести пунктов. */
.svc-scope {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.svc-scope li { background: var(--bg-white); padding: 26px 26px 28px; }
.svc-scope-num { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; color: var(--accent); margin-bottom: 12px; }
.svc-scope-h { font-size: 18px; font-weight: 700; line-height: 1.3; margin: 0 0 8px; color: var(--text-dark); }
.svc-scope p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--text-body); }

/* Цена: текст слева, таблица нижних границ справа. */
.svc-price {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}
.svc-price-text p { margin: 0 0 16px; font-size: 16px; line-height: 1.68; color: var(--text-body); }
.svc-price-text p:last-child { margin-bottom: 0; }
.svc-price-table {
  background: var(--bg-cream);
  border-radius: 4px;
  padding: 28px 30px 30px;
}
.svc-price-table table { width: 100%; border-collapse: collapse; margin-bottom: 24px; font-size: 16px; }
.svc-price-table th {
  text-align: left;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  padding: 0 0 12px;
}
.svc-price-table td { padding: 14px 0; border-top: 1px solid var(--border); color: var(--text-body); }
.svc-price-table td:last-child, .svc-price-table th:last-child { text-align: right; }
.svc-price-table strong { font-family: var(--serif); font-size: 20px; color: var(--text-dark); }
/* Таблица цены по площади на три колонки: площадь, средняя цена, цена «от»
   (посадочная «Стоимость ремонта офиса за м²»). В двухколоночной таблице
   разделители не нужны, здесь без них числа слипаются. */
.price-3col { font-variant-numeric: tabular-nums; }
.price-3col th, .price-3col td { padding-right: 14px; }
.price-3col th:last-child, .price-3col td:last-child { padding-right: 0; white-space: nowrap; }
.price-3col td:nth-child(2) { white-space: nowrap; }
.svc-price-note { margin: 0 0 22px; font-size: 14px; line-height: 1.55; color: var(--text-muted); }

.svc-cases .svc-lead { margin-bottom: 36px; }

@media (max-width: 1024px) {
  .svc-title { font-size: 32px; }
  .svc-steps { grid-template-columns: minmax(0, 1fr); }
  .svc-scope { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-price { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}
@media (max-width: 768px) {
  .svc-title { font-size: 26px; }
  .svc-lead { font-size: 15px; margin-bottom: 28px; }
  .svc-rooms { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .svc-room-body { padding: 20px 20px 22px; }
  .svc-room-h { font-size: 20px; }
  .svc-scope { grid-template-columns: minmax(0, 1fr); }
  .svc-price-table { padding: 22px 20px 24px; }
  .svc-price-table .price-3col { font-size: 14px; }
  .price-3col th { font-size: 10px; letter-spacing: 0.08em; }
  .price-3col td:first-child { white-space: nowrap; }
  .price-3col strong { font-size: 17px; }
  .svc-hero-actions .btn { width: 100%; justify-content: center; }
}

/* === /biznes-centry/: класс здания и цена ====================================
   Сетка отличий — .svc-scope (в четыре пункта две колонки), таблица классов
   на телефоне превращается в карточки по data-label. */
.bccls-diffs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bccls-table-wrap { margin-top: 40px; }
.bccls-table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.55; }
.bccls-table caption {
  caption-side: top;
  text-align: left;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
}
.bccls-table thead th {
  text-align: left;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  padding: 0 16px 12px 0;
}
.bccls-table tbody th,
.bccls-table td {
  text-align: left;
  vertical-align: top;
  padding: 16px 16px 16px 0;
  border-top: 1px solid var(--border);
  color: var(--text-body);
}
.bccls-table tbody th { font-family: var(--serif); font-size: 18px; font-weight: 700; color: var(--text-dark); white-space: nowrap; width: 16%; }
.bccls-table td { width: 42%; }
.bccls-links { margin: 32px 0 0; max-width: 72ch; font-size: 16px; line-height: 1.68; color: var(--text-body); }
.bccls-links a { color: var(--text-dark); text-decoration-color: var(--accent); text-underline-offset: 3px; }
.bccls-factors { margin: 0 0 16px; padding: 0; list-style: none; }
.bccls-factors li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-body);
}
.bccls-factors li::before { content: ''; position: absolute; left: 0; top: 0.7em; width: 8px; height: 2px; background: var(--accent); }

@media (max-width: 768px) {
  .bccls-diffs { grid-template-columns: minmax(0, 1fr); }
  .bccls-table caption { font-size: 19px; }
  .bccls-table thead { display: none; }
  .bccls-table, .bccls-table tbody, .bccls-table tr, .bccls-table th, .bccls-table td { display: block; width: auto; }
  .bccls-table tr { border-top: 1px solid var(--border); padding: 14px 0; }
  .bccls-table tbody th, .bccls-table td { border-top: 0; padding: 4px 0; white-space: normal; }
  .bccls-table td::before {
    content: attr(data-label);
    display: block;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 2px;
  }
}

/* === /cases/: группы по площади, сводная таблица, блок услуг ==================
   Таблица — .bccls-table с /biznes-centry/ (на телефоне — карточки по data-label),
   услуги — .svc-scope в две колонки. */
.page-hero .page-lead + .page-lead { margin-top: 14px; }
.page-lead a { color: var(--text-light); text-decoration-color: var(--accent-bright); text-underline-offset: 3px; }
.cases-groups-nav a { color: var(--text-dark); text-decoration-color: var(--accent); text-underline-offset: 3px; }
.cases-group + .cases-group { margin-top: 56px; }
.cases-group-title { font-family: var(--serif); font-size: 26px; font-weight: 700; line-height: 1.2; margin: 0 0 8px; color: var(--text-dark); }
.cases-group-note { margin: 0 0 24px; max-width: 68ch; font-size: 16px; line-height: 1.6; color: var(--text-body); }
.cases-list-section .bccls-table-wrap { margin-top: 64px; background: var(--bg-white); border: 1px solid var(--border); border-radius: 4px; padding: 28px 30px 12px; }
.cases-table tbody th a { color: var(--text-dark); text-decoration-color: var(--accent); text-underline-offset: 3px; }
.cases-table td { width: auto; }
.cases-table td:last-child { white-space: nowrap; }
.cases-services li { display: flex; flex-direction: column; gap: 0; }
.cases-services .svc-room-link { margin-top: 16px; align-self: flex-start; }

@media (max-width: 768px) {
  .cases-group + .cases-group { margin-top: 40px; }
  .cases-group-title { font-size: 22px; }
  .cases-list-section .bccls-table-wrap { padding: 22px 18px 8px; margin-top: 48px; }
  .cases-table td:last-child { white-space: normal; }
}

/* Блог: общая сетка раздела, палитра и шрифты сайта. */
.blog-list { padding: 64px 0; background: var(--bg-cream); }
.blog-list h2 { font-size: 30px; margin-bottom: 24px; }
.blog-list h3 { font-size: 22px; margin: 24px 0; }
.blog-rubrics { display: flex; flex-wrap: wrap; gap: 12px; }
.blog-rubrics a { padding: 10px 18px; border: 1px solid var(--border); border-radius: 24px; }
.blog-list a:not(.btn) { color: var(--text-dark); text-decoration: underline; text-underline-offset: 3px; }
.blog-list a:hover:not(.btn) { color: var(--accent); }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 24px; }
.blog-entry { padding: 28px; background: var(--bg-white); border-radius: 16px; max-width: 740px; }
.blog-entry h4 { font-size: 25px; line-height: 1.3; margin: 16px 0; }
.blog-entry p, .blog-service p { line-height: 1.7; margin-bottom: 20px; }
.blog-service { margin-top: 64px; max-width: 740px; }
