html.orbit[data-orbit-page]:not([data-orbit-page="home"]) {
  --site-gutter: clamp(16px, 4vw, 56px);
  --site-section-space: clamp(34px, 5vw, 72px);
}

html.orbit[data-orbit-page]:not([data-orbit-page="home"]) main > section > :is(div.mx-auto, .faq-hub-shell),
html.orbit[data-orbit-page]:not([data-orbit-page="home"]) main > :is(
  .orbit-content, .focus-directory-hero, .focus-directory-catalogue,
  .article-list, .orbit-section.mx-auto, .focus-lead-compact
) {
  max-width: none !important;
  padding-inline: var(--site-gutter) !important;
}

html.orbit[data-orbit-page]:not([data-orbit-page="home"]) main > section.orbit-section > div.mx-auto,
html.orbit[data-orbit-page]:not([data-orbit-page="home"]) main > :is(.orbit-section.mx-auto, .orbit-content) {
  padding-block: var(--site-section-space);
}

html.orbit[data-orbit-page]:not([data-orbit-page="home"]) main.bp-page {
  max-width: none;
  padding-inline: var(--site-gutter);
}

html.orbit[data-orbit-page]:not([data-orbit-page="home"]) main .article-wrap {
  max-width: 100%;
  padding-inline: var(--site-gutter);
  padding-block: var(--site-section-space);
}

html.orbit[data-orbit-page]:not([data-orbit-page="home"]) main .holgo-article {
  max-inline-size: 760px;
  min-width: 0;
  overflow-wrap: anywhere;
}

@media (min-width: 1024px) {
  html.orbit[data-orbit-page]:not([data-orbit-page="home"]) main .article-wrap {
    grid-template-columns: minmax(200px, 16rem) minmax(0, 760px);
    gap: clamp(32px, 4vw, 56px);
  }
}

html.orbit[data-orbit-page]:not([data-orbit-page="home"]) main .faq-hub-shell {
  width: 100%;
}

html.orbit[data-orbit-page]:not([data-orbit-page="home"]) main .remont-container {
  max-width: none;
  padding-inline: var(--site-gutter);
}

html.orbit[data-orbit-page]:not([data-orbit-page="home"]) main > .bp-synergy {
  width: auto;
  max-width: none;
  margin-inline: var(--site-gutter) !important;
}
/* 21.11 Иван: на странице «Команда» без разделительной полосы под карточками экспертов. */
html.orbit[data-orbit-page="team"] main section.orbit-hero {
  border-bottom: 0 !important;
}

/* 21.11 Иван: страница «Услуги» — без «книжечек», цвета как в образце v3 (фон #ebe8e3, карточки белые). */
html.orbit[data-orbit-page="services"] .focus-directory-hero .hv-fan {
  display: none !important;
}

html.orbit[data-orbit-page="services"]:not([data-orbit-theme="dark"]) {
  --background: #ebe8e3;
}

html.orbit[data-orbit-page="services"]:not([data-orbit-theme="dark"]) body,
html.orbit[data-orbit-page="services"]:not([data-orbit-theme="dark"]) main {
  background: #ebe8e3 !important;
}

html.orbit[data-orbit-page="services"]:not([data-orbit-theme="dark"]) .focus-directory-catalogue .focus-directory-row::before {
  background: #fff;
}

/* 21.11 Иван: «Услуги» — шрифты, скругление, отступы и наведение как у карточек v3 (.gcard). */
html.orbit[data-orbit-page="services"]:not([data-orbit-theme="dark"]) main .focus-directory-row {
  margin-bottom: 14px;
  border: 0 !important;
}

html.orbit[data-orbit-page="services"]:not([data-orbit-theme="dark"]) main .focus-directory-row::before {
  border: 0 !important;
  bottom: 0 !important;
  border-radius: 24px !important;
  background: #fff;
  transition: background-color var(--holgo-brand-fade);
}

html.orbit[data-orbit-page="services"] main .focus-directory-row:is(:hover, :focus-visible, .is-current)::before {
  background: var(--holgo-brand) !important;
}

html.orbit[data-orbit-page="services"] main .focus-directory-row :is(.focus-directory-number, .focus-directory-label, h2, p, .focus-directory-entry-type, .focus-directory-price, .focus-directory-arrow) {
  transition: color var(--holgo-brand-fade), border-color var(--holgo-brand-fade);
}

html.orbit[data-orbit-page="services"] main .focus-directory-row .focus-directory-number {
  font: 500 12px "JetBrains Mono", monospace !important;
  color: var(--holgo-brand) !important;
}

html.orbit[data-orbit-page="services"] main .focus-directory-row .focus-directory-name h2 {
  font-family: "Inter Tight", system-ui, sans-serif !important;
  font-size: 22px !important;
  font-weight: 600 !important;
  letter-spacing: -0.03em !important;
  line-height: 1.15 !important;
  color: #121214 !important;
}

html.orbit[data-orbit-page="services"] main .focus-directory-row :is(.focus-directory-label, p, .focus-directory-entry-type) {
  font-family: "Inter Tight", system-ui, sans-serif !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.45 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  color: #5f5e66 !important;
}

html.orbit[data-orbit-page="services"] main .focus-directory-row .focus-directory-price {
  font-family: "Inter Tight", system-ui, sans-serif !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  color: #121214 !important;
}

html.orbit[data-orbit-page="services"] main .focus-directory-row .focus-directory-arrow {
  font-size: 17px !important;
  color: #121214 !important;
}

html.orbit[data-orbit-page="services"] main .focus-directory-row:is(:hover, :focus-visible, .is-current) :is(h2, .focus-directory-price, .focus-directory-arrow) {
  color: #fff !important;
}

html.orbit[data-orbit-page="services"] main .focus-directory-row:is(:hover, :focus-visible, .is-current) :is(.focus-directory-number, .focus-directory-label, p, .focus-directory-entry-type) {
  color: var(--holgo-brand-highlight-text) !important;
}

html.orbit[data-orbit-page="services"]:not([data-orbit-theme="dark"]) main .focus-directory-row:is(:hover, :focus-visible) .focus-directory-arrow {
  border-color: rgba(255, 255, 255, 0.5) !important;
}

/* Подписи «Подходит, когда» — как текст карточки v3 (общий моно-стиль подписей site-type.css сильнее). */
html.orbit.orbit[data-orbit-page="services"] main .focus-directory-row.focus-directory-row .focus-directory-label.focus-directory-label {
  font-family: "Inter Tight", system-ui, sans-serif !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
}

@media (max-width: 760px) {
  html.orbit[data-orbit-page="services"] main .focus-directory-row::before {
    left: -10px !important;
    right: -10px !important;
  }

  html.orbit[data-orbit-page="services"] main .focus-directory-name {
    display: contents;
  }

  html.orbit[data-orbit-page="services"] main .focus-directory-name h2 {
    grid-area: 1 / 1;
  }

  html.orbit[data-orbit-page="services"] main .focus-directory-row .focus-directory-number {
    grid-area: 1 / 2;
    justify-self: end;
    margin-bottom: 0;
  }

  html.orbit[data-orbit-page="services"] main .focus-directory-outcome {
    grid-row: 2;
    margin-top: 16px;
  }

  html.orbit[data-orbit-page="services"] main .focus-directory-fit {
    grid-area: 3 / 1 / auto / -1;
    margin-top: 16px;
  }

  html.orbit[data-orbit-page="services"] main .focus-directory-entry {
    grid-row: 4;
  }

  html.orbit.orbit[data-orbit-page="services"] main .focus-directory-row.focus-directory-row .focus-directory-label.focus-directory-label {
    font-weight: 700 !important;
    text-decoration-line: underline;
    text-underline-offset: 0.2em;
  }
}

/* 21.11 Иван: чёрные кнопки при наведении не меняют цвет — остаются чёрными, внутри только белый кружок курсора. */
html.orbit.orbit.orbit header:not(.orbit-header-dark) > div > div .cursor-pointer button:is(:hover, :focus-visible) {
  background: #000 !important;
}

html.orbit.orbit.orbit header.orbit-header-dark > div > div .cursor-pointer button:is(:hover, :focus-visible) {
  background: var(--header-audit-background) !important;
}

html.orbit[data-orbit-page="home"]:not([data-orbit-theme="dark"]) main#main-content .orbit-hero .cursor-pointer button:is(:hover, :focus-visible) {
  background: #000 !important;
}

html.orbit[data-orbit-page="home"]:not([data-orbit-theme="dark"]) main#main-content #first-meeting .cursor-pointer > button:is(:hover, :focus-visible) {
  background: #000 !important;
}

/* Чистый чёрный под кружком — кружок (difference) получается чисто белым; общий hover-filter не трогает чёрные кнопки. */
html.orbit:not([data-orbit-theme="dark"]) :is(header > div > div, main .orbit-hero, main #first-meeting) .cursor-pointer button:hover {
  filter: none !important;
}

/* 21.11 Иван: в каталоге услуг без кружка со стрелкой. */
html.orbit[data-orbit-page="services"] main .focus-directory-row .focus-directory-arrow {
  display: none !important;
}

/* 21.11 Иван: на «Услугах» убрать подпись «11 направлений для бизнеса: …» под заголовком. */
html.orbit[data-orbit-page="services"] .focus-directory-hero .focus-directory-top > p {
  display: none !important;
}

/* 21.11 Иван: «почему можно кликнуть вне кнопки?» — обёртка-открывашка формы (Radix trigger) шире кнопки.
   Нажимается только сама кнопка; вид не меняется. */
html.orbit [aria-haspopup="dialog"].cursor-pointer:has(> button:only-child) { pointer-events: none; }
html.orbit [aria-haspopup="dialog"].cursor-pointer:has(> button:only-child) > button { pointer-events: auto; }
/* То же в «Начнём с вашей задачи»: вся строка была открывашкой — нажимается только круглая кнопка. */
html.orbit .home-close-cta [aria-haspopup="dialog"]:not(.home-close-button) { pointer-events: none; }
html.orbit .home-close-cta .home-close-button { pointer-events: auto; }

/* 22.11 Иван: в кейсах пункты списков («Что сделали» и т. п.) тем же шрифтом, что абзац «Контекст и проблема»
   (Inter Tight 17px / 1.55, #5f5e66). Точка-маркер по центру первой строки. */
html.orbit[data-orbit-page="case"] .space-y-10 section div.flex.gap-3 > span:last-child {
  font-size: 17px !important; line-height: 1.55 !important; font-weight: 400 !important;
}
html.orbit[data-orbit-page="case"] .space-y-10 section div.flex.gap-3 > span:first-child:empty { margin-top: 10px !important; }
/* 22.11 Иван: «Параметры проекта» — тот же шрифт (17px/1.55) и без линий-таблицы. */
html.orbit[data-orbit-page="case"] .space-y-10 section dl,
html.orbit[data-orbit-page="case"] .space-y-10 section dl > div { border: 0 !important; }
html.orbit[data-orbit-page="case"] .space-y-10 section dl > div { padding-block: 6px !important; }
html.orbit[data-orbit-page="case"] .space-y-10 section dl :is(dt, dd) { font-size: 17px !important; line-height: 1.55 !important; }
html.orbit[data-orbit-page="case"] .space-y-10 section dl dd { font-weight: 400 !important; }
/* 22.11 Иван: в кейсах под шапкой кейса лишние просвет и вторая полоска — оставляем одну линию (у первого раздела). */
html.orbit[data-orbit-page="case"] main > section:has(+ .orbit-case-story) { border-bottom: 0 !important; }
html.orbit[data-orbit-page="case"] main > .orbit-case-story { padding-top: 0 !important; }
