/* Страница «Кейсы» (case-hub) */

.design-root--case-hub .page-main--case-hub {
  width: 1440px;
  max-width: 100%;
  margin: 0 auto;
  padding: 32px 20px 80px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 80px;
}

/* ---------- Hero (как на press) ---------- */
.case-hub-hero {
  width: 100%;
}

.case-hub-hero__surface {
  position: relative;
  width: 100%;
  height: 356px;
  min-height: 356px;
  border-radius: 12px;
  background: linear-gradient(102.67deg, #22344d 0.17%, #294366 97.72%);
  overflow: hidden;
  box-sizing: border-box;
}

.case-hub-hero__top-bar {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 110px;
  background-color: transparent;
  background-image: url("assets/press-hero-top-bar.svg");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100% 100%;
  pointer-events: none;
}

.case-hub-hero__top-bar-img {
  display: none;
}

.case-hub-hero__breadcrumbs {
  position: absolute;
  z-index: 2;
  left: 60px;
  top: 26px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  margin: 0;
  padding: 0;
}

.case-hub-hero__crumb {
  font-family: Inter, system-ui, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 18px;
  color: #fff;
  text-decoration: none;
}

.case-hub-hero__crumb--muted {
  opacity: 0.4;
}


.case-hub-hero__crumb--current {
  opacity: 1;
}

.case-hub-hero__crumb-sep {
  pointer-events: none;
}

.case-hub-hero__icon {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 54px;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-hub-hero__icon-img {
  display: block;
  width: 32px;
  height: 32px;
}

.case-hub-hero__title-row {
  position: absolute;
  z-index: 2;
  left: 81px;
  right: 81px;
  top: 142px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 32px;
  box-sizing: border-box;
  min-height: 80px;
}

.case-hub-hero__title-line {
  flex: 1 1 0;
  min-width: 0;
  height: 1px;
  margin-top: 0;
}

.case-hub-hero__title-line--left {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.15) 100%);
}

.case-hub-hero__title-line--right {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 100%);
}

#design-root .case-hub-hero__title {
  flex: none;
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  font-size: 80px;
  font-weight: 480;
  line-height: 1;
  letter-spacing: -0.04em;
  text-align: center;
  color: #fff;
  font-variation-settings: "slnt" 0;
}

#design-root.design-root--case-hub .case-hub-hero__lead {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: calc(142px + 80px * 0.9 + 32px);
  transform: translateX(-50%);
  max-width: 624px;
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 140%;
  text-align: center;
  color: #fff;
}

.case-hub-filters {
  display: flex;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
}

.case-hub-filters__list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  align-content: center;
  gap: 16px 12px;
  width: 100%;
  margin: 0;
  padding: 0;
}

.case-hub-filters__btn {
  box-sizing: border-box;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin: 0;
  padding: 12px 16px;
  border: 1px solid #eaeaea;
  border-radius: 6px;
  background: #fff;
  font-family: Inter, system-ui, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 18px;
  color: #44474f;
  white-space: nowrap;
  cursor: pointer;
  position: relative;
  z-index: 0;
  transition:
    transform 0.45s cubic-bezier(0.25, 0.1, 0.25, 1),
    border-color 0.45s cubic-bezier(0.25, 0.1, 0.25, 1),
    border-radius 0.45s cubic-bezier(0.25, 0.1, 0.25, 1),
    background 0.45s cubic-bezier(0.25, 0.1, 0.25, 1),
    color 0.45s cubic-bezier(0.25, 0.1, 0.25, 1),
    box-shadow 0.45s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.case-hub-filters__btn:hover:not(.case-hub-filters__btn--active),
.case-hub-filters__btn:focus-visible:not(.case-hub-filters__btn--active) {
  z-index: 1;
  transform: scale(1.05);
  border-color: #7c9abf;
  border-radius: 10px;
  background: #fff;
  color: #44474f;
  box-shadow: 0 4px 14px rgba(55, 81, 114, 0.12);
}

.case-hub-filters__btn--active,
.case-hub-filters__btn[aria-selected="true"] {
  border-color: #7c9abf;
  background: #7c9abf;
  color: #fff;
}

/* ---------- Сетка кейсов (Group 177528) ---------- */
.case-hub-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 42px 32px;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  box-sizing: border-box;
  align-items: stretch;
}

.case-hub-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100%;
}

.case-hub-card[hidden] {
  display: none;
}

.case-hub-card__inner {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  flex: 1 1 auto;
  gap: 12px;
  height: 100%;
  min-height: 100%;
  padding: 12px;
  box-sizing: border-box;
  background: linear-gradient(101.48deg, #f3f3f3 0%, #eaeaea 100%);
  border-radius: 12px;
  transform-origin: center center;
  transition:
    transform var(--cta-duration, 0.45s) var(--cta-ease, cubic-bezier(0.25, 0.1, 0.25, 1)),
    border-radius var(--cta-duration, 0.45s) var(--cta-ease, cubic-bezier(0.25, 0.1, 0.25, 1)),
    box-shadow var(--cta-duration, 0.45s) var(--cta-ease, cubic-bezier(0.25, 0.1, 0.25, 1));
}

.case-hub-card--stretch .case-hub-card__inner {
  min-height: 100%;
}

.case-hub-card__head {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 24px;
  padding: 32px;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 6px;
}

.case-hub-card__tags {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  position: relative;
  z-index: 6;
  pointer-events: auto;
}

.case-hub-card__tag-item {
  display: inline-flex;
  list-style: none;
}

.case-hub-card__tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: Inter, system-ui, sans-serif;
  font-size: 13px;
  line-height: 16px;
  font-weight: 400;
  color: rgba(68, 71, 79, 0.8);
  text-decoration: none;
  position: relative;
  z-index: 6;
  pointer-events: auto;
  cursor: pointer;
}

.case-hub-card__tag-hash {
  font-weight: 600;
}

.case-hub-card__title-row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 24px;
  width: 100%;
  position: relative;
  z-index: 1;
}

#design-root .case-hub-card__title {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  font-size: 20px;
  line-height: 100%;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: #2f323b;
}

.case-hub-card__title-link {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  z-index: 1;
}

.case-hub-card__title-link:hover,
.case-hub-card__title-link:focus-visible {
  color: #375172;
  -webkit-text-fill-color: #375172;
}

.case-hub-card__icon {
  flex: none;
  width: 64px;
  height: 64px;
  object-fit: contain;
  display: block;
}

.case-hub-card__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1 1 auto;
  gap: 32px;
  width: 100%;
  min-height: 0;
  padding: 32px;
  box-sizing: border-box;
  border-radius: 6px;
}

.case-hub-card__body--between {
  /* базово gap 32px до кнопки; лишняя высота — margin-top: auto у .case-hub-card__cta */
}

.case-hub-card__cols {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  flex: 0 0 auto;
  gap: 32px;
  width: 100%;
}

.case-hub-card__col {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-self: stretch;
  gap: 16px;
}

.case-hub-card__col-title {
  margin: 0;
  width: 100%;
  font-family: Inter, system-ui, sans-serif;
  font-size: 15px;
  line-height: 18px;
  font-weight: 600;
  color: #44474f;
}

.case-hub-card__list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.case-hub-card__item {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
}

.case-hub-card__item-mark {
  flex: none;
  margin-top: 5px;
}

.case-hub-card__item-mark--dot {
  width: 8px;
  height: 8px;
  border-radius: 100px;
  background: #7c9abf;
}

.case-hub-card__item-mark--check {
  display: block;
  width: 12px;
  height: 9px;
  object-fit: contain;
}

.case-hub-card__item-text {
  flex: 1 1 auto;
  min-width: 0;
  font-family: Inter, system-ui, sans-serif;
  font-size: 15px;
  line-height: 18px;
  font-weight: 400;
  color: #44474f;
}

.case-hub-card__divider {
  flex: none;
  align-self: stretch;
  width: 1px;
  background: #d9d9d9;
}

.case-hub-card__cta {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  flex: 0 0 auto;
  gap: 6px;
  width: 100%;
  min-height: 64px;
  margin-top: auto;
  padding: 22px 26px;
  box-sizing: border-box;
  border-radius: 8px;
  background: linear-gradient(180deg, #4a658a 0%, #375172 100%);
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.case-hub-card__cta-label {
  font-family: Manrope, Inter, system-ui, sans-serif;
  font-size: 16px;
  line-height: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
  text-box-trim: trim-both;
  text-box-edge: cap alphabetic;
}

.case-hub-card__cta-orb {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  padding: 5px;
  box-sizing: border-box;
  background: #e1871f;
  border-radius: 83.33px;
}

.case-hub-card__cta-orb img {
  display: block;
  width: 5px;
  height: 8px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

@media (max-width: 1200px) {
  .case-hub-hero__title-row {
    left: 40px;
    right: 40px;
  }

  .case-hub-hero__breadcrumbs {
    left: 40px;
  }

  #design-root .case-hub-hero__title {
    font-size: clamp(40px, 8vw, 80px);
  }
}

@media (max-width: 900px) {
  .design-root--case-hub .page-main--case-hub {
    width: 100%;
    max-width: 100%;
    padding: 20px 5px 60px;
    gap: 60px;
    align-items: stretch;
    box-sizing: border-box;
  }

  .design-root--case-hub .page-main--case-hub > .case-hub-filters,
  .design-root--case-hub .page-main--case-hub > .case-hub-grid {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
  }

  .case-hub-hero {
    width: calc(100vw - 10px);
    max-width: none;
    margin-left: calc(5px + 50% - 50vw);
    margin-right: 0;
    box-sizing: border-box;
  }

  /* Hero: min 212px, снизу всегда 20px после текста lead */
  .case-hub-hero__surface {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 212px;
    max-height: none;
    padding: 0 0 20px;
    border-radius: 10px;
    background: linear-gradient(102.67deg, #22344d 0.17%, #294366 97.72%);
    -webkit-backdrop-filter: blur(85px);
    backdrop-filter: blur(85px);
    overflow: hidden;
    box-sizing: border-box;
  }

  /* Union — top: 0, 76px */
  .case-hub-hero__top-bar {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 76px;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background: none;
    line-height: 0;
    overflow: hidden;
    pointer-events: none;
  }

  .case-hub-hero__top-bar-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: fill;
  }

  /* Breadcrumbs — top: 88px → 14px, left: 25px */
  .case-hub-hero__breadcrumbs {
    position: absolute;
    z-index: 3;
    top: 14px;
    left: 25px;
    right: auto;
    bottom: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    width: auto;
    height: 12px;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  .case-hub-hero__crumb {
    font-size: 10px;
    line-height: 12px;
  }

  /* Icon — top: 112px → 38px, center (left 148px @ 310) */
  .case-hub-hero__icon {
    position: absolute;
    z-index: 2;
    top: 38px;
    left: 50%;
    width: 24px;
    height: 24px;
    margin: 0;
    transform: translateX(-50%);
  }

  .case-hub-hero__icon-img {
    width: 24px;
    height: 24px;
  }

  /* Title — top: 170px → 96px, 270px centered */
  .case-hub-hero__title-row {
    position: absolute;
    z-index: 2;
    top: 96px;
    left: 50%;
    right: auto;
    width: min(270px, calc(100% - 40px));
    margin: 0;
    padding: 0;
    transform: translateX(-50%);
    gap: 12px;
    box-sizing: border-box;
    min-height: 0;
  }

  .case-hub-hero__title-line {
    flex: 1 1 0;
    min-width: 0;
    height: 1px;
    max-height: 1px;
    margin-top: 6px;
    padding: 0;
    align-self: center;
    box-sizing: content-box;
    background-clip: content-box;
  }

  #design-root .case-hub-hero__title {
    font-size: 30px;
    line-height: 105%;
    letter-spacing: -0.03em;
    font-variation-settings: "slnt" 0, "wght" 480;
  }

  /* Lead — в потоке: перебиваем desktop position:absolute (выше специфичность) */
  #design-root.design-root--case-hub .case-hub-hero__lead {
    position: relative;
    z-index: 2;
    top: auto;
    left: auto;
    width: min(270px, calc(100% - 40px));
    max-width: none;
    height: auto;
    margin: calc(96px + 30px * 1.05 + 32px) auto 0;
    padding: 0;
    transform: none;
    font-size: 12px;
    line-height: 15px;
    text-align: center;
    color: #fff;
    box-sizing: border-box;
  }

  /* Фильтры — Frame 177626: wrap, center, gap 12px 8px */
  .case-hub-filters {
    width: 100%;
    max-width: 100%;
    margin-top: 0;
    margin-bottom: 0;
    justify-content: center;
    padding: 0 15px;
    overflow: visible;
    box-sizing: border-box;
  }

  .case-hub-filters__list {
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
    align-items: flex-start;
    gap: 12px 8px;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  .case-hub-filters__btn {
    min-height: 28px;
    height: 28px;
    padding: 8px 12px;
    font-size: 10px;
    line-height: 12px;
    border-radius: 6px;
  }

  /* Сетка кейсов — Frame 177629 */
  .case-hub-grid {
    width: 100%;
    max-width: 100%;
    grid-template-columns: 1fr;
    gap: 24px;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  .case-hub-card {
    width: 100%;
    min-width: 0;
  }

  .case-hub-card__inner {
    gap: 0;
    padding: 8px;
    border-radius: 12px;
  }

  .case-hub-card--stretch .case-hub-card__inner {
    min-height: 100%;
  }

  .case-hub-card__head {
    padding: 24px;
    gap: 24px;
    border-radius: 6px;
  }

  .case-hub-card__tags {
    gap: 16px;
  }

  .case-hub-card__tag {
    font-size: 10px;
    line-height: 12px;
  }

  .case-hub-card__title-row {
    flex-direction: row;
    align-items: flex-start;
    gap: 24px;
    width: 100%;
  }

  #design-root .case-hub-card__title {
    font-size: 15px;
    line-height: 100%;
    letter-spacing: -0.02em;
  }

  .case-hub-card__icon {
    display: none;
  }

  .case-hub-card__body {
    padding: 24px;
    gap: 32px;
    border-radius: 6px;
  }

  .case-hub-card__body--between {
    justify-content: flex-start;
  }

  .case-hub-card__cols {
    flex-direction: column;
    gap: 24px;
    width: 100%;
  }

  .case-hub-card__col {
    gap: 12px;
    width: 100%;
  }

  .case-hub-card__col-title {
    font-size: 12px;
    line-height: 15px;
  }

  .case-hub-card__list {
    gap: 12px;
  }

  .case-hub-card__item {
    gap: 6px;
  }

  .case-hub-card__item-mark {
    margin-top: 5px;
  }

  .case-hub-card__item-mark--dot {
    width: 6px;
    height: 6px;
  }

  .case-hub-card__item-text {
    font-size: 12px;
    line-height: 15px;
  }

  .case-hub-card__divider {
    width: 100%;
    height: 1px;
    align-self: stretch;
  }

  .case-hub-card__cta {
    width: 100%;
    min-height: 52px;
    height: 52px;
    padding: 18px 20px;
    box-sizing: border-box;
  }

  .case-hub-card__cta-label {
    font-size: 13px;
    line-height: 18px;
    color: #fff;
  }

  .case-hub-card__cta-orb {
    width: 16px;
    height: 16px;
    padding: 4px;
    border-radius: 66.6667px;
  }

  .case-hub-card__cta-orb img {
    width: 4.4px;
    height: 5.72px;
  }
}
/* FAQ — Ответы на частые вопросы (home.html) */
.design-root--case-hub .page-main--case-hub > .home-faq {
  width: 100%;
  max-width: 1280px;
  /* 80px gap у main + 60px = 140px от case-hub-grid */
  margin: 60px auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  box-sizing: border-box;
}

.design-root--case-hub .page-main--case-hub .home-faq__title {
  margin: 0;
  align-self: stretch;
  text-align: center;
  color: #2f323b;
  font-family: Inter, system-ui, sans-serif;
  font-size: 46px;
  font-weight: 480;
  line-height: 105%;
  letter-spacing: -0.03em;
}

.design-root--case-hub .page-main--case-hub .home-faq__list {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
}

.design-root--case-hub .page-main--case-hub .home-faq__item {
  width: 100%;
  border-radius: 6px;
  background: linear-gradient(101.48deg, #f3f3f3 0%, #eaeaea 100%);
  box-sizing: border-box;
  padding: 22px 32px;
}

.design-root--case-hub .page-main--case-hub .home-faq__item[open] {
  padding-bottom: 32px;
}

.design-root--case-hub .page-main--case-hub .home-faq__summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  list-style: none;
  cursor: pointer;
}

.design-root--case-hub .page-main--case-hub .home-faq__summary::marker {
  content: "";
}

.design-root--case-hub .page-main--case-hub .home-faq__summary::-webkit-details-marker {
  display: none;
}

.design-root--case-hub .page-main--case-hub .home-faq__question {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  color: #2f323b;
  font-family: Inter, system-ui, sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
  text-align: left;
}

.design-root--case-hub .page-main--case-hub .home-faq__toggle {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  background: #dbe0e8;
  display: flex;
  align-items: center;
  justify-content: center;
}

.design-root--case-hub .page-main--case-hub .home-faq__chev {
  position: relative;
  width: 12px;
  height: 12px;
  display: block;
}

.design-root--case-hub .page-main--case-hub .home-faq__chev::before,
.design-root--case-hub .page-main--case-hub .home-faq__chev::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: #44474f;
}

.design-root--case-hub .page-main--case-hub .home-faq__chev::before {
  width: 12px;
  height: 2px;
}

.design-root--case-hub .page-main--case-hub .home-faq__chev::after {
  width: 2px;
  height: 12px;
  transition: opacity 0.15s ease;
}

.design-root--case-hub .page-main--case-hub .home-faq__item[open] .home-faq__chev::after {
  opacity: 0;
}

.design-root--case-hub .page-main--case-hub .home-faq__panel {
  margin-top: 22px;
  border-radius: 6px;
  background: #fff;
  padding: 60px;
  box-sizing: border-box;
}

.design-root--case-hub .page-main--case-hub .home-faq__inner {
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.design-root--case-hub .page-main--case-hub .home-faq__lead {
  margin: 0;
  color: #44474f;
  font-family: Inter, system-ui, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 18px;
}

.design-root--case-hub .page-main--case-hub .home-faq__subheading {
  margin: 0;
  color: #2f323b;
  font-family: Inter, system-ui, sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
}

.design-root--case-hub .page-main--case-hub .home-faq__bullets {
  margin: 0;
  padding: 0;
  list-style: none;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.design-root--case-hub .page-main--case-hub .home-faq__bullet {
  display: flex;
  align-items: center;
  gap: 12px;
}

.design-root--case-hub .page-main--case-hub .home-faq__bullet-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.design-root--case-hub .page-main--case-hub .home-faq__bullet-icon img {
  display: block;
  width: 20px;
  height: 20px;
}

.design-root--case-hub .page-main--case-hub .home-faq__bullet-text {
  flex: 1 1 auto;
  min-width: 0;
  color: #44474f;
  font-family: Inter, system-ui, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 18px;
}

@media (max-width: 900px) {
  /* FAQ — на всю ширину, 5px до края экрана (как decision-invite) */
  .design-root--case-hub .page-main--case-hub > .home-faq {
    width: calc(100vw - 10px);
    max-width: none;
    margin-top: 0;
    margin-bottom: 0;
    margin-left: calc(5px + 50% - 50vw);
    margin-right: 0;
    padding: 0;
    gap: 32px;
    box-sizing: border-box;
    align-items: center;
  }

  .design-root--case-hub .page-main--case-hub .home-faq__title {
    margin: 0;
    width: 100%;
    padding: 0 25px;
    max-width: 100%;
    align-self: stretch;
    text-align: center;
    color: #2f323b;
    font-family: Inter, system-ui, sans-serif;
    font-size: 24px;
    font-weight: 480;
    line-height: 105%;
    letter-spacing: -0.03em;
    font-variation-settings: "slnt" 0;
    box-sizing: border-box;
  }

  .design-root--case-hub .page-main--case-hub .home-faq__list {
    width: 100%;
    max-width: 100%;
    gap: 16px;
  }

  .design-root--case-hub .page-main--case-hub .home-faq__item {
    width: 100%;
    max-width: 100%;
    padding: 10px;
    box-sizing: border-box;
    border-radius: 6px;
    isolation: isolate;
  }

  .design-root--case-hub .page-main--case-hub .home-faq__item[open] {
    padding-bottom: 10px;
  }

  .design-root--case-hub .page-main--case-hub .home-faq__summary {
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
    padding: 22px;
    min-height: 0;
  }

  .design-root--case-hub .page-main--case-hub .home-faq__question {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 100%;
    letter-spacing: -0.02em;
    text-align: left;
  }

  .design-root--case-hub .page-main--case-hub .home-faq__toggle {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    background: #dbe0e8;
    padding: 0;
    box-sizing: border-box;
  }

  .design-root--case-hub .page-main--case-hub .home-faq__chev {
    width: 12px;
    height: 12px;
  }

  .design-root--case-hub .page-main--case-hub .home-faq__chev::before {
    width: 12px;
  }

  .design-root--case-hub .page-main--case-hub .home-faq__chev::after {
    height: 12px;
  }

  .design-root--case-hub .page-main--case-hub .home-faq__panel {
    margin-top: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    border-radius: 6px;
    background: #fff;
    padding: 22px;
  }

  .design-root--case-hub .page-main--case-hub .home-faq__inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    max-width: none;
    width: 100%;
    box-sizing: border-box;
  }

  .design-root--case-hub .page-main--case-hub .home-faq__lead {
    display: block;
    margin: 0;
    padding: 0;
    max-width: 100%;
    box-sizing: border-box;
    font-family: Inter, system-ui, sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 15px;
    letter-spacing: 0;
    color: #44474f;
    font-variation-settings: "slnt" 0;
  }

  /* 16px + column gap 24px = 40px до следующего блока (Frame 439) */
  .design-root--case-hub .page-main--case-hub .home-faq__lead:not(:last-child) {
    margin-bottom: 16px;
  }

  .design-root--case-hub .page-main--case-hub .home-faq__subheading {
    display: block;
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    font-family: Inter, system-ui, sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 15px;
    letter-spacing: -0.02em;
    color: #2f323b;
    font-variation-settings: "slnt" 0;
  }

  .design-root--case-hub .page-main--case-hub .home-faq__bullets {
    gap: 16px;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  .design-root--case-hub .page-main--case-hub .home-faq__bullet {
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .design-root--case-hub .page-main--case-hub .home-faq__bullet-icon {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
    margin-top: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .design-root--case-hub .page-main--case-hub .home-faq__bullet-icon img {
    width: 12px;
    height: 12px;
    display: block;
    object-fit: contain;
  }

  .design-root--case-hub .page-main--case-hub .home-faq__bullet-text {
    display: block;
    flex: 0 1 auto;
    align-self: stretch;
    min-width: 0;
    margin: 0;
    padding: 0;
    max-width: none;
    box-sizing: border-box;
    font-family: Inter, system-ui, sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 15px;
    letter-spacing: 0;
    color: #44474f;
    font-variation-settings: "slnt" 0;
  }
}

/* ---------- «Задать вопрос» (с press) ---------- */
.design-root--case-hub .page-main--case-hub > .home-faq + .press-invite {
  margin-top: 60px; /* gap 80px + 60px = 140px */
}
.press-invite {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.press-invite__surface {
  position: relative;
  width: 100%;
  min-height: 282px;
  border-radius: 12px;
  background: var(--grad-invite-surface);
  overflow: hidden;
}

.press-invite__deco {
  position: absolute;
  width: 488px;
  height: 316px;
  right: 99px;
  bottom: 0;
  display: block;
  object-fit: contain;
  object-position: right bottom;
  pointer-events: none;
}

.press-invite__content {
  position: relative;
  z-index: 1;
  width: 1160px;
  max-width: calc(100% - 120px);
  margin: 60px auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  box-sizing: border-box;
}

.press-invite__title {
  margin: 0;
  max-width: 484px;
  font-family: Inter, system-ui, sans-serif;
  font-size: 28px;
  font-weight: 480;
  line-height: 108%;
  letter-spacing: -0.02em;
  color: #fff;
  font-variation-settings: "slnt" 0;
}

.press-invite__form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.press-invite__row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.press-invite__fields {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1 auto;
  min-width: 0;
}

.press-invite__field {
  flex: 1 1 0;
  min-width: 0;
}

.press-invite__field input {
  width: 100%;
  height: 64px;
  padding: 22px;
  border: 1px solid #c5d0de;
  border-radius: 8px;
  background: #fff;
  box-sizing: border-box;
  font-family: Inter, system-ui, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 18px;
  color: #2f323b;
  -webkit-text-fill-color: #2f323b;
}

.press-invite__field input::placeholder,
.press-invite__field input::-webkit-input-placeholder {
  color: #5c6570;
  -webkit-text-fill-color: #5c6570;
  opacity: 1;
}

.press-invite__field input::-moz-placeholder {
  color: #5c6570;
  opacity: 1;
}

.press-invite__field input:focus {
  outline: 2px solid rgba(74, 101, 138, 0.45);
  outline-offset: 0;
}

.press-invite__submit {
  flex: none;
  width: 260px;
  height: 64px;
  margin: 0;
  padding: 22px 26px;
  border: 0;
  border-radius: 8px;
  box-sizing: border-box;
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  background: linear-gradient(90deg, #e6e9ed 0%, #edeef2 100%);
}

.press-invite__submit-label {
  font-family: Manrope, Inter, system-ui, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 22px;
  letter-spacing: -0.01em;
  color: #2f323b;
}

.press-invite__submit-orb {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  padding: 5px;
  box-sizing: border-box;
  background: #e1871f;
  border-radius: 83.33px;
}

.press-invite__submit-orb img {
  display: block;
  width: 5px;
  height: 8px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.press-invite__consent {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  min-height: 20px;
  margin: 0;
  padding: 0;
  cursor: pointer;
}

.press-invite__consent input {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 0;
  padding: 0;
  border: 1px solid #fff;
  border-radius: 4px;
  background: transparent;
  appearance: none;
  -webkit-appearance: none;
  box-sizing: border-box;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.press-invite__consent input:checked {
  border-color: #fff;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='10' viewBox='0 0 12 10' fill='none'%3E%3Cpath d='M1 5.2L4.4 8.6L11 1.9' stroke='%237C9ABF' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 10px;
}

.press-invite__consent input:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.65);
  outline-offset: 2px;
}

.press-invite__consent span {
  flex: 1 1 auto;
  min-width: 0;
  display: block;
  font-family: Inter, system-ui, sans-serif;
  font-size: 13px;
  line-height: 16px;
  font-weight: 400;
  color: #fff;
}

.press-invite__consent span a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
  margin-left: 0.25em;
}

.press-invite__sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 900px) {
  .design-root--press .page-main--press > .press-articles + .press-invite {
    margin-top: 92px; /* gap 48px + 92px = 140px */
  }

  .design-root--press .page-main--press > .press-invite + .expert-hub-intro {
    margin-top: 60px;
  }

  .press-intro {
    padding: 0 20px;
    box-sizing: border-box;
  }

  #design-root .press-intro__text {
    margin-left: auto;
    margin-right: auto;
    max-width: none;
    font-size: 12px;
    line-height: 15px;
    text-align: center;
  }

  .press-invite {
    width: calc(100vw - 10px);
    max-width: none;
    margin-left: calc(5px + 50% - 50vw);
    margin-right: 0;
  }

  .press-invite__surface {
    min-height: 0;
    padding: 20px;
    box-sizing: border-box;
  }

  .press-invite__deco {
    display: none;
  }

  .press-invite__content {
    width: 100%;
    max-width: none;
    margin: 0;
    gap: 16px;
    align-items: stretch;
  }

  .press-invite__title {
    max-width: none;
    font-size: 18px;
    line-height: 108%;
    letter-spacing: -0.02em;
    text-align: center;
    align-self: stretch;
  }

  .press-invite__row {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .press-invite__fields {
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }

  .press-invite__field {
    flex: none;
    width: 100%;
  }

  .press-invite__field input,
  .press-invite__submit {
    width: 100%;
    height: 52px;
  }

  .press-invite__field input {
    padding: 22px 20px;
    font-size: 12px;
    line-height: 15px;
    border-color: #96adcb;
    background: #839fc2;
  }

  .press-invite__submit {
    padding: 14px 20px;
  }

  .press-invite__submit-label {
    font-size: 14px;
    line-height: 18px;
  }

  .press-invite__consent {
    align-items: flex-start;
  }

  .press-invite__consent span {
    font-size: 13px;
    line-height: 16px;
  }

  .design-root--case-hub .page-main--case-hub > .home-faq + .press-invite {
    margin-top: 0;
  }

  /* Mobile: gap у main = 60px — отступ SEO от invite через flex gap */
  .design-root--case-hub .page-main--case-hub > .press-invite + .expert-hub-intro,
  #design-root.design-root--case-hub .page-main--case-hub > .expert-hub-intro {
    margin-top: 0;
    margin-bottom: 0;
  }

  #design-root.design-root--case-hub .expert-hub-intro__text {
    max-width: 290px;
    margin-left: auto;
    margin-right: auto;
    font-size: 12px;
    line-height: 15px;
    font-weight: 400;
    text-align: center;
    color: #44474f;
  }

  /* Задать вопрос — Rectangle 867, контент 270px */
  .design-root--case-hub .press-invite__surface {
    border-radius: 12px;
    padding: 20px;
  }

  .design-root--case-hub .press-invite__content {
    width: 100%;
    max-width: 270px;
    margin-left: auto;
    margin-right: auto;
  }

  .design-root--case-hub .press-invite__form {
    gap: 16px;
  }

  .design-root--case-hub .press-invite__fields {
    gap: 12px;
  }

  .design-root--case-hub .press-invite__consent input {
    width: 16px;
    height: 16px;
    border-radius: 4px;
  }

  .design-root--case-hub .press-invite__consent span {
    font-size: 10px;
    line-height: 12px;
  }

  .design-root--case-hub .press-invite__submit-label {
    font-size: 13px;
    line-height: 18px;
    color: #4a5b73;
  }

  /* Вводный текст — 290px по центру */
  .design-root--case-hub .page-main--case-hub > .press-intro {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding: 0 10px;
    box-sizing: border-box;
  }

  .design-root--case-hub .press-intro__text,
  #design-root.design-root--case-hub .press-intro__text {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    font-size: 12px;
    line-height: 15px;
    text-align: center;
    color: #44474f;
  }
}

/* ---------- Вводный текст (после формы, как на press) ---------- */
/* Desktop: gap 80px у main уже даёт отступ; mobile — margin в @media выше */
@media (min-width: 901px) {
  .design-root--case-hub .page-main--case-hub > .press-invite + .expert-hub-intro {
    margin-top: 0;
  }
}

.press-intro {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

#design-root .press-intro__text {
  margin: 0 auto;
  max-width: 1062px;
  font-family: Inter, system-ui, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 18px;
  text-align: center;
  color: #44474f;
}

#design-root .press-intro__text p {
  margin: 0 0 12px;
}

#design-root .press-intro__text p:last-child {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .case-hub-filters {
    margin-top: 0;
    margin-bottom: 0;
    padding: 0 15px;
  }
}
